@esri/calcite-components 1.7.0-next.16 → 1.7.0-next.17

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 (1550) hide show
  1. package/dist/calcite/assets/table/t9n/index.d.ts +7 -0
  2. package/dist/calcite/assets/table/t9n/messages.json +7 -0
  3. package/dist/calcite/assets/table/t9n/messages_ar.json +7 -0
  4. package/dist/calcite/assets/table/t9n/messages_bg.json +7 -0
  5. package/dist/calcite/assets/table/t9n/messages_bs.json +7 -0
  6. package/dist/calcite/assets/table/t9n/messages_ca.json +7 -0
  7. package/dist/calcite/assets/table/t9n/messages_cs.json +7 -0
  8. package/dist/calcite/assets/table/t9n/messages_da.json +7 -0
  9. package/dist/calcite/assets/table/t9n/messages_de.json +7 -0
  10. package/dist/calcite/assets/table/t9n/messages_el.json +7 -0
  11. package/dist/calcite/assets/table/t9n/messages_en.json +7 -0
  12. package/dist/calcite/assets/table/t9n/messages_es.json +7 -0
  13. package/dist/calcite/assets/table/t9n/messages_et.json +7 -0
  14. package/dist/calcite/assets/table/t9n/messages_fi.json +7 -0
  15. package/dist/calcite/assets/table/t9n/messages_fr.json +7 -0
  16. package/dist/calcite/assets/table/t9n/messages_he.json +7 -0
  17. package/dist/calcite/assets/table/t9n/messages_hr.json +7 -0
  18. package/dist/calcite/assets/table/t9n/messages_hu.json +7 -0
  19. package/dist/calcite/assets/table/t9n/messages_id.json +7 -0
  20. package/dist/calcite/assets/table/t9n/messages_it.json +7 -0
  21. package/dist/calcite/assets/table/t9n/messages_ja.json +7 -0
  22. package/dist/calcite/assets/table/t9n/messages_ko.json +7 -0
  23. package/dist/calcite/assets/table/t9n/messages_lt.json +7 -0
  24. package/dist/calcite/assets/table/t9n/messages_lv.json +7 -0
  25. package/dist/calcite/assets/table/t9n/messages_nl.json +7 -0
  26. package/dist/calcite/assets/table/t9n/messages_no.json +7 -0
  27. package/dist/calcite/assets/table/t9n/messages_pl.json +7 -0
  28. package/dist/calcite/assets/table/t9n/messages_pt-BR.json +7 -0
  29. package/dist/calcite/assets/table/t9n/messages_pt-PT.json +7 -0
  30. package/dist/calcite/assets/table/t9n/messages_ro.json +7 -0
  31. package/dist/calcite/assets/table/t9n/messages_ru.json +7 -0
  32. package/dist/calcite/assets/table/t9n/messages_sk.json +7 -0
  33. package/dist/calcite/assets/table/t9n/messages_sl.json +7 -0
  34. package/dist/calcite/assets/table/t9n/messages_sr.json +7 -0
  35. package/dist/calcite/assets/table/t9n/messages_sv.json +7 -0
  36. package/dist/calcite/assets/table/t9n/messages_th.json +7 -0
  37. package/dist/calcite/assets/table/t9n/messages_tr.json +7 -0
  38. package/dist/calcite/assets/table/t9n/messages_uk.json +7 -0
  39. package/dist/calcite/assets/table/t9n/messages_vi.json +7 -0
  40. package/dist/calcite/assets/table/t9n/messages_zh-CN.json +7 -0
  41. package/dist/calcite/assets/table/t9n/messages_zh-HK.json +7 -0
  42. package/dist/calcite/assets/table/t9n/messages_zh-TW.json +7 -0
  43. package/dist/calcite/assets/table-cell/t9n/index.d.ts +7 -0
  44. package/dist/calcite/assets/table-cell/t9n/messages.json +7 -0
  45. package/dist/calcite/assets/table-cell/t9n/messages_ar.json +7 -0
  46. package/dist/calcite/assets/table-cell/t9n/messages_bg.json +7 -0
  47. package/dist/calcite/assets/table-cell/t9n/messages_bs.json +7 -0
  48. package/dist/calcite/assets/table-cell/t9n/messages_ca.json +7 -0
  49. package/dist/calcite/assets/table-cell/t9n/messages_cs.json +7 -0
  50. package/dist/calcite/assets/table-cell/t9n/messages_da.json +7 -0
  51. package/dist/calcite/assets/table-cell/t9n/messages_de.json +7 -0
  52. package/dist/calcite/assets/table-cell/t9n/messages_el.json +7 -0
  53. package/dist/calcite/assets/table-cell/t9n/messages_en.json +7 -0
  54. package/dist/calcite/assets/table-cell/t9n/messages_es.json +7 -0
  55. package/dist/calcite/assets/table-cell/t9n/messages_et.json +7 -0
  56. package/dist/calcite/assets/table-cell/t9n/messages_fi.json +7 -0
  57. package/dist/calcite/assets/table-cell/t9n/messages_fr.json +7 -0
  58. package/dist/calcite/assets/table-cell/t9n/messages_he.json +7 -0
  59. package/dist/calcite/assets/table-cell/t9n/messages_hr.json +7 -0
  60. package/dist/calcite/assets/table-cell/t9n/messages_hu.json +7 -0
  61. package/dist/calcite/assets/table-cell/t9n/messages_id.json +7 -0
  62. package/dist/calcite/assets/table-cell/t9n/messages_it.json +7 -0
  63. package/dist/calcite/assets/table-cell/t9n/messages_ja.json +7 -0
  64. package/dist/calcite/assets/table-cell/t9n/messages_ko.json +7 -0
  65. package/dist/calcite/assets/table-cell/t9n/messages_lt.json +7 -0
  66. package/dist/calcite/assets/table-cell/t9n/messages_lv.json +7 -0
  67. package/dist/calcite/assets/table-cell/t9n/messages_nl.json +7 -0
  68. package/dist/calcite/assets/table-cell/t9n/messages_no.json +7 -0
  69. package/dist/calcite/assets/table-cell/t9n/messages_pl.json +7 -0
  70. package/dist/calcite/assets/table-cell/t9n/messages_pt-BR.json +7 -0
  71. package/dist/calcite/assets/table-cell/t9n/messages_pt-PT.json +7 -0
  72. package/dist/calcite/assets/table-cell/t9n/messages_ro.json +7 -0
  73. package/dist/calcite/assets/table-cell/t9n/messages_ru.json +7 -0
  74. package/dist/calcite/assets/table-cell/t9n/messages_sk.json +7 -0
  75. package/dist/calcite/assets/table-cell/t9n/messages_sl.json +7 -0
  76. package/dist/calcite/assets/table-cell/t9n/messages_sr.json +7 -0
  77. package/dist/calcite/assets/table-cell/t9n/messages_sv.json +7 -0
  78. package/dist/calcite/assets/table-cell/t9n/messages_th.json +7 -0
  79. package/dist/calcite/assets/table-cell/t9n/messages_tr.json +7 -0
  80. package/dist/calcite/assets/table-cell/t9n/messages_uk.json +7 -0
  81. package/dist/calcite/assets/table-cell/t9n/messages_vi.json +7 -0
  82. package/dist/calcite/assets/table-cell/t9n/messages_zh-CN.json +7 -0
  83. package/dist/calcite/assets/table-cell/t9n/messages_zh-HK.json +7 -0
  84. package/dist/calcite/assets/table-cell/t9n/messages_zh-TW.json +7 -0
  85. package/dist/calcite/assets/table-header/t9n/index.d.ts +8 -0
  86. package/dist/calcite/assets/table-header/t9n/messages.json +8 -0
  87. package/dist/calcite/assets/table-header/t9n/messages_ar.json +8 -0
  88. package/dist/calcite/assets/table-header/t9n/messages_bg.json +8 -0
  89. package/dist/calcite/assets/table-header/t9n/messages_bs.json +8 -0
  90. package/dist/calcite/assets/table-header/t9n/messages_ca.json +8 -0
  91. package/dist/calcite/assets/table-header/t9n/messages_cs.json +8 -0
  92. package/dist/calcite/assets/table-header/t9n/messages_da.json +8 -0
  93. package/dist/calcite/assets/table-header/t9n/messages_de.json +8 -0
  94. package/dist/calcite/assets/table-header/t9n/messages_el.json +8 -0
  95. package/dist/calcite/assets/table-header/t9n/messages_en.json +8 -0
  96. package/dist/calcite/assets/table-header/t9n/messages_es.json +8 -0
  97. package/dist/calcite/assets/table-header/t9n/messages_et.json +8 -0
  98. package/dist/calcite/assets/table-header/t9n/messages_fi.json +8 -0
  99. package/dist/calcite/assets/table-header/t9n/messages_fr.json +8 -0
  100. package/dist/calcite/assets/table-header/t9n/messages_he.json +8 -0
  101. package/dist/calcite/assets/table-header/t9n/messages_hr.json +8 -0
  102. package/dist/calcite/assets/table-header/t9n/messages_hu.json +8 -0
  103. package/dist/calcite/assets/table-header/t9n/messages_id.json +8 -0
  104. package/dist/calcite/assets/table-header/t9n/messages_it.json +8 -0
  105. package/dist/calcite/assets/table-header/t9n/messages_ja.json +8 -0
  106. package/dist/calcite/assets/table-header/t9n/messages_ko.json +8 -0
  107. package/dist/calcite/assets/table-header/t9n/messages_lt.json +8 -0
  108. package/dist/calcite/assets/table-header/t9n/messages_lv.json +8 -0
  109. package/dist/calcite/assets/table-header/t9n/messages_nl.json +8 -0
  110. package/dist/calcite/assets/table-header/t9n/messages_no.json +8 -0
  111. package/dist/calcite/assets/table-header/t9n/messages_pl.json +8 -0
  112. package/dist/calcite/assets/table-header/t9n/messages_pt-BR.json +8 -0
  113. package/dist/calcite/assets/table-header/t9n/messages_pt-PT.json +8 -0
  114. package/dist/calcite/assets/table-header/t9n/messages_ro.json +8 -0
  115. package/dist/calcite/assets/table-header/t9n/messages_ru.json +8 -0
  116. package/dist/calcite/assets/table-header/t9n/messages_sk.json +8 -0
  117. package/dist/calcite/assets/table-header/t9n/messages_sl.json +8 -0
  118. package/dist/calcite/assets/table-header/t9n/messages_sr.json +8 -0
  119. package/dist/calcite/assets/table-header/t9n/messages_sv.json +8 -0
  120. package/dist/calcite/assets/table-header/t9n/messages_th.json +8 -0
  121. package/dist/calcite/assets/table-header/t9n/messages_tr.json +8 -0
  122. package/dist/calcite/assets/table-header/t9n/messages_uk.json +8 -0
  123. package/dist/calcite/assets/table-header/t9n/messages_vi.json +8 -0
  124. package/dist/calcite/assets/table-header/t9n/messages_zh-CN.json +8 -0
  125. package/dist/calcite/assets/table-header/t9n/messages_zh-HK.json +8 -0
  126. package/dist/calcite/assets/table-header/t9n/messages_zh-TW.json +8 -0
  127. package/dist/calcite/calcite.esm.js +2 -2
  128. package/dist/calcite/index.esm.js +2 -2
  129. package/dist/calcite/p-02ffea42.entry.js +6 -0
  130. package/dist/calcite/p-0671d350.js +6 -0
  131. package/dist/calcite/p-097135c4.js +7 -0
  132. package/dist/calcite/p-0b812538.entry.js +6 -0
  133. package/dist/calcite/p-0f6b183c.js +6 -0
  134. package/dist/calcite/p-0fb3b20e.entry.js +6 -0
  135. package/dist/calcite/p-13b5990a.js +6 -0
  136. package/dist/calcite/p-1707e155.js +6 -0
  137. package/dist/calcite/p-17ede011.js +6 -0
  138. package/dist/calcite/p-1811fd36.js +6 -0
  139. package/dist/calcite/p-1c8962c4.entry.js +6 -0
  140. package/dist/calcite/p-1e702809.js +6 -0
  141. package/dist/calcite/p-1fc90548.js +6 -0
  142. package/dist/calcite/p-222beb73.js +6 -0
  143. package/dist/calcite/p-22363d44.js +6 -0
  144. package/dist/calcite/p-2273d064.js +6 -0
  145. package/dist/calcite/p-2372be2e.entry.js +6 -0
  146. package/dist/calcite/p-24d121bf.js +6 -0
  147. package/dist/calcite/p-2530f8ac.js +6 -0
  148. package/dist/calcite/p-25b1d76a.js +6 -0
  149. package/dist/calcite/p-272c5bed.entry.js +6 -0
  150. package/dist/calcite/p-27ad3f12.entry.js +6 -0
  151. package/dist/calcite/p-27cbf1a4.entry.js +6 -0
  152. package/dist/calcite/p-2a48d634.entry.js +6 -0
  153. package/dist/calcite/p-2b6a09e6.js +6 -0
  154. package/dist/calcite/p-2e240cdb.entry.js +6 -0
  155. package/dist/calcite/p-2f78a808.js +6 -0
  156. package/dist/calcite/p-337b1135.entry.js +6 -0
  157. package/dist/calcite/p-34c5c4fe.entry.js +6 -0
  158. package/dist/calcite/p-361b0e6e.js +6 -0
  159. package/dist/calcite/p-36260d4e.js +6 -0
  160. package/dist/calcite/p-37403e16.js +6 -0
  161. package/dist/calcite/p-377c22c3.entry.js +6 -0
  162. package/dist/calcite/p-39dd49cf.js +10 -0
  163. package/dist/calcite/p-3b435340.entry.js +6 -0
  164. package/dist/calcite/p-3c76739d.js +12 -0
  165. package/dist/calcite/p-3f076cf9.entry.js +6 -0
  166. package/dist/calcite/p-41acfce2.entry.js +6 -0
  167. package/dist/calcite/p-444c47da.js +6 -0
  168. package/dist/calcite/p-45bf4a19.entry.js +6 -0
  169. package/dist/calcite/p-477dc54e.js +6 -0
  170. package/dist/calcite/p-47f9f3b5.js +6 -0
  171. package/dist/calcite/p-49b67c70.entry.js +6 -0
  172. package/dist/calcite/p-4ce791e7.js +6 -0
  173. package/dist/calcite/p-4da64c86.js +6 -0
  174. package/dist/calcite/p-4f2ebe69.entry.js +6 -0
  175. package/dist/calcite/p-4fee9dc6.entry.js +6 -0
  176. package/dist/calcite/p-50b2ff1a.js +6 -0
  177. package/dist/calcite/p-554c0b34.js +6 -0
  178. package/dist/calcite/p-55e614f6.entry.js +6 -0
  179. package/dist/calcite/p-56317464.js +6 -0
  180. package/dist/calcite/p-5709aab2.entry.js +6 -0
  181. package/dist/calcite/p-576ec810.js +6 -0
  182. package/dist/calcite/p-5a36bc27.entry.js +6 -0
  183. package/dist/calcite/p-5b082756.entry.js +6 -0
  184. package/dist/calcite/p-5c9e4d27.entry.js +6 -0
  185. package/dist/calcite/p-5e43d2da.entry.js +6 -0
  186. package/dist/calcite/p-61438d6f.js +6 -0
  187. package/dist/calcite/p-658a356f.entry.js +6 -0
  188. package/dist/calcite/p-65be87f1.js +6 -0
  189. package/dist/calcite/p-686cf487.js +6 -0
  190. package/dist/calcite/p-6a52269c.entry.js +6 -0
  191. package/dist/calcite/p-6c1efce9.js +6 -0
  192. package/dist/calcite/p-6dd676a4.js +6 -0
  193. package/dist/calcite/p-6e8baae4.entry.js +6 -0
  194. package/dist/calcite/p-6ea637bb.js +6 -0
  195. package/dist/calcite/p-6ec6a881.js +6 -0
  196. package/dist/calcite/p-767e03c5.js +6 -0
  197. package/dist/calcite/p-79606642.entry.js +6 -0
  198. package/dist/calcite/p-7b329832.entry.js +6 -0
  199. package/dist/calcite/p-7cd7bfb2.entry.js +6 -0
  200. package/dist/calcite/p-7d6b89b0.js +6 -0
  201. package/dist/calcite/p-7ffbb9cd.entry.js +6 -0
  202. package/dist/calcite/p-8031130e.js +6 -0
  203. package/dist/calcite/p-804aaf8e.entry.js +6 -0
  204. package/dist/calcite/p-823d0849.js +6 -0
  205. package/dist/calcite/p-83053964.js +6 -0
  206. package/dist/calcite/p-8517aeea.entry.js +6 -0
  207. package/dist/calcite/p-8959b901.js +6 -0
  208. package/dist/calcite/p-8a5243c3.js +6 -0
  209. package/dist/calcite/p-8a965b77.entry.js +6 -0
  210. package/dist/calcite/p-8c92524d.entry.js +6 -0
  211. package/dist/calcite/p-909ace66.js +6 -0
  212. package/dist/calcite/p-915ff1b7.entry.js +6 -0
  213. package/dist/calcite/p-9391cf60.js +6 -0
  214. package/dist/calcite/p-94192aca.js +6 -0
  215. package/dist/calcite/p-94be6a04.entry.js +6 -0
  216. package/dist/calcite/p-97d26409.entry.js +6 -0
  217. package/dist/calcite/p-98810dc4.js +6 -0
  218. package/dist/calcite/p-999f617b.entry.js +6 -0
  219. package/dist/calcite/p-9e919997.js +6 -0
  220. package/dist/calcite/p-a023f677.js +11 -0
  221. package/dist/calcite/p-a02fc70b.entry.js +6 -0
  222. package/dist/calcite/p-a25ff3f3.entry.js +6 -0
  223. package/dist/calcite/p-a282f999.js +6 -0
  224. package/dist/calcite/p-a3e6ad4d.js +6 -0
  225. package/dist/calcite/p-a62aec14.entry.js +6 -0
  226. package/dist/calcite/p-a7437151.js +6 -0
  227. package/dist/calcite/p-a8a275e3.entry.js +6 -0
  228. package/dist/calcite/p-a99b7a6e.entry.js +6 -0
  229. package/dist/calcite/p-aa3ccef2.entry.js +6 -0
  230. package/dist/calcite/p-ac7c8322.js +6 -0
  231. package/dist/calcite/p-ad085842.js +6 -0
  232. package/dist/calcite/p-ad0e1a81.entry.js +6 -0
  233. package/dist/calcite/p-adf074f6.js +6 -0
  234. package/dist/calcite/p-ae0394bd.js +6 -0
  235. package/dist/calcite/p-ae8aef0c.entry.js +6 -0
  236. package/dist/calcite/p-aedf9daa.js +6 -0
  237. package/dist/calcite/p-af570690.js +6 -0
  238. package/dist/calcite/p-af66df52.entry.js +6 -0
  239. package/dist/calcite/p-b2ba068f.js +6 -0
  240. package/dist/calcite/p-b2f9cb5d.js +6 -0
  241. package/dist/calcite/p-b3863301.js +6 -0
  242. package/dist/calcite/p-b464d393.js +6 -0
  243. package/dist/calcite/p-b698c6d7.js +6 -0
  244. package/dist/calcite/p-bc403d2d.js +6 -0
  245. package/dist/calcite/p-bc4b9c89.entry.js +6 -0
  246. package/dist/calcite/p-bc6a9d3b.entry.js +6 -0
  247. package/dist/calcite/p-bd807a06.js +6 -0
  248. package/dist/calcite/p-be5be4d2.js +6 -0
  249. package/dist/calcite/p-c2799be3.js +6 -0
  250. package/dist/calcite/p-c9525878.entry.js +6 -0
  251. package/dist/calcite/p-ccb569a8.js +6 -0
  252. package/dist/calcite/p-ce8dc48f.js +6 -0
  253. package/dist/calcite/p-cfcf9eeb.entry.js +6 -0
  254. package/dist/calcite/p-d0e893d5.entry.js +6 -0
  255. package/dist/calcite/p-d2cb5de5.entry.js +6 -0
  256. package/dist/calcite/p-d2fcaba3.entry.js +6 -0
  257. package/dist/calcite/p-d469d0c1.entry.js +6 -0
  258. package/dist/calcite/p-d6a8916c.js +6 -0
  259. package/dist/calcite/p-da969cc6.entry.js +6 -0
  260. package/dist/calcite/p-db158a77.entry.js +6 -0
  261. package/dist/calcite/p-dcc173b7.entry.js +6 -0
  262. package/dist/calcite/p-e5172342.js +6 -0
  263. package/dist/calcite/p-e755a984.js +6 -0
  264. package/dist/calcite/p-e9457d6a.js +6 -0
  265. package/dist/calcite/p-ec7e22a7.entry.js +6 -0
  266. package/dist/calcite/p-ec90ebf3.js +6 -0
  267. package/dist/calcite/p-ed3b2c5d.entry.js +6 -0
  268. package/dist/calcite/p-f11f14c7.entry.js +6 -0
  269. package/dist/calcite/p-f18ca3b8.js +6 -0
  270. package/dist/calcite/p-f211c0e7.entry.js +6 -0
  271. package/dist/calcite/p-f3a04f66.js +6 -0
  272. package/dist/calcite/p-f4f74f8c.entry.js +6 -0
  273. package/dist/calcite/p-f598d949.js +6 -0
  274. package/dist/calcite/p-f6d25277.entry.js +6 -0
  275. package/dist/calcite/p-f71ac574.js +6 -0
  276. package/dist/calcite/p-f88aeaed.js +6 -0
  277. package/dist/calcite/p-f8e28381.entry.js +6 -0
  278. package/dist/calcite/p-f9927374.js +6 -0
  279. package/dist/calcite/p-fbfb9644.js +6 -0
  280. package/dist/calcite/p-fd99af34.js +6 -0
  281. package/dist/calcite/p-fe2a6014.entry.js +6 -0
  282. package/dist/calcite/p-fe2af1ec.js +6 -0
  283. package/dist/calcite/p-feaca3ef.entry.js +6 -0
  284. package/dist/calcite/p-feccc2ea.entry.js +6 -0
  285. package/dist/cjs/ExpandToggle-1d6b0af5.js +107 -0
  286. package/dist/cjs/FloatingArrow-874140c1.js +45 -0
  287. package/dist/cjs/Heading-463035a8.js +20 -0
  288. package/dist/cjs/app-globals-d9f3e424.js +59 -0
  289. package/dist/cjs/ar-514a5742.js +98 -0
  290. package/dist/cjs/array-49760407.js +12 -0
  291. package/dist/cjs/bg-a4915250.js +79 -0
  292. package/dist/cjs/browser-c5494765.js +18 -0
  293. package/dist/cjs/bs-6002d2dc.js +48 -0
  294. package/dist/cjs/ca-fa6e53e8.js +68 -0
  295. package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
  296. package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
  297. package/dist/cjs/calcite-action-group.cjs.entry.js +13 -13
  298. package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
  299. package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
  300. package/dist/cjs/calcite-action.cjs.entry.js +12 -11
  301. package/dist/cjs/calcite-alert.cjs.entry.js +12 -12
  302. package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
  303. package/dist/cjs/calcite-block_2.cjs.entry.js +14 -13
  304. package/dist/cjs/calcite-button.cjs.entry.js +14 -13
  305. package/dist/cjs/calcite-card.cjs.entry.js +10 -10
  306. package/dist/cjs/calcite-checkbox.cjs.entry.js +11 -10
  307. package/dist/cjs/calcite-chip-group.cjs.entry.js +9 -8
  308. package/dist/cjs/calcite-chip.cjs.entry.js +13 -12
  309. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +16 -15
  310. package/dist/cjs/calcite-combobox_3.cjs.entry.js +19 -18
  311. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +14 -13
  312. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +13 -12
  313. package/dist/cjs/calcite-fab.cjs.entry.js +8 -7
  314. package/dist/cjs/calcite-filter.cjs.entry.js +14 -13
  315. package/dist/cjs/calcite-flow-item.cjs.entry.js +13 -12
  316. package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
  317. package/dist/cjs/calcite-graph_2.cjs.entry.js +14 -13
  318. package/dist/cjs/calcite-handle.cjs.entry.js +10 -10
  319. package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
  320. package/dist/cjs/calcite-inline-editable.cjs.entry.js +13 -12
  321. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +23 -41
  322. package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
  323. package/dist/cjs/calcite-input-number.cjs.entry.js +14 -13
  324. package/dist/cjs/calcite-input-text.cjs.entry.js +14 -13
  325. package/dist/cjs/calcite-input-time-picker.calcite-time-picker-4c6c855a.js +2823 -0
  326. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +17 -16
  327. package/dist/cjs/calcite-input-time-zone.cjs.entry.js +14 -13
  328. package/dist/cjs/calcite-input.cjs.entry.js +14 -13
  329. package/dist/cjs/calcite-label.cjs.entry.js +6 -6
  330. package/dist/cjs/calcite-link.cjs.entry.js +8 -7
  331. package/dist/cjs/calcite-list_3.cjs.entry.js +15 -14
  332. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  333. package/dist/cjs/calcite-menu_2.cjs.entry.js +10 -10
  334. package/dist/cjs/calcite-meter.cjs.entry.js +10 -10
  335. package/dist/cjs/calcite-modal.cjs.entry.js +13 -13
  336. package/dist/cjs/calcite-navigation_3.cjs.entry.js +6 -6
  337. package/dist/cjs/calcite-notice.cjs.entry.js +12 -12
  338. package/dist/cjs/calcite-option_3.cjs.entry.js +11 -10
  339. package/dist/cjs/calcite-pagination.cjs.entry.js +10 -10
  340. package/dist/cjs/calcite-panel.cjs.entry.js +15 -14
  341. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +17 -16
  342. package/dist/cjs/calcite-popover.cjs.entry.js +16 -16
  343. package/dist/cjs/calcite-progress.cjs.entry.js +5 -5
  344. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
  345. package/dist/cjs/calcite-radio-button.cjs.entry.js +11 -10
  346. package/dist/cjs/calcite-rating.cjs.entry.js +14 -13
  347. package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
  348. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +11 -10
  349. package/dist/cjs/calcite-sheet.cjs.entry.js +9 -9
  350. package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
  351. package/dist/cjs/calcite-sortable-list.cjs.entry.js +9 -8
  352. package/dist/cjs/calcite-split-button.cjs.entry.js +5 -4
  353. package/dist/cjs/calcite-stack.cjs.entry.js +6 -6
  354. package/dist/cjs/calcite-stepper_2.cjs.entry.js +11 -10
  355. package/dist/cjs/calcite-switch.cjs.entry.js +11 -10
  356. package/dist/cjs/calcite-tab_4.cjs.entry.js +11 -10
  357. package/dist/cjs/calcite-table-cell_2.cjs.entry.js +282 -0
  358. package/dist/cjs/calcite-table-row.cjs.entry.js +235 -0
  359. package/dist/cjs/calcite-table.cjs.entry.js +299 -0
  360. package/dist/cjs/calcite-text-area.cjs.entry.js +16 -15
  361. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +6 -5
  362. package/dist/cjs/calcite-tile.cjs.entry.js +9 -8
  363. package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
  364. package/dist/cjs/calcite-tooltip.cjs.entry.js +9 -9
  365. package/dist/cjs/calcite-tree_2.cjs.entry.js +9 -8
  366. package/dist/cjs/calcite-value-list_2.cjs.entry.js +17 -16
  367. package/dist/cjs/calcite.cjs.js +5 -5
  368. package/dist/cjs/conditionalSlot-4b033773.js +58 -0
  369. package/dist/cjs/cs-15a12e01.js +144 -0
  370. package/dist/cjs/da-e13e1f52.js +63 -0
  371. package/dist/cjs/de-at-15dc244e.js +87 -0
  372. package/dist/cjs/de-ch-ff28d9e8.js +87 -0
  373. package/dist/cjs/de-dd9dccdd.js +88 -0
  374. package/dist/cjs/debounce-7a852ee1.js +496 -0
  375. package/dist/cjs/dom-ea0bb304.js +1056 -0
  376. package/dist/cjs/el-83749216.js +63 -0
  377. package/dist/cjs/en-au-ad58e9d1.js +63 -0
  378. package/dist/cjs/en-ca-a6686349.js +62 -0
  379. package/dist/cjs/en-gb-eab173b8.js +66 -0
  380. package/dist/cjs/es-fdfb457d.js +63 -0
  381. package/dist/cjs/es-mx-addeb4fe.js +62 -0
  382. package/dist/cjs/et-870c4a2e.js +89 -0
  383. package/dist/cjs/fi-0464f62e.js +112 -0
  384. package/dist/cjs/filter-4d2c1e89.js +760 -0
  385. package/dist/cjs/floating-ui-cda0e6e8.js +1883 -0
  386. package/dist/cjs/focusTrapComponent-39f45689.js +999 -0
  387. package/dist/cjs/form-5db341dd.js +283 -0
  388. package/dist/cjs/fr-545c7bb9.js +65 -0
  389. package/dist/cjs/fr-ch-e0e7786d.js +63 -0
  390. package/dist/cjs/guid-e9616580.js +21 -0
  391. package/dist/cjs/he-ab6813f7.js +102 -0
  392. package/dist/cjs/hi-c0aa717d.js +62 -0
  393. package/dist/cjs/hr-a32a418d.js +77 -0
  394. package/dist/cjs/hu-3930a9b4.js +85 -0
  395. package/dist/cjs/id-99e82723.js +63 -0
  396. package/dist/cjs/index-27680056.js +2327 -0
  397. package/dist/cjs/index.cjs.js +2 -2
  398. package/dist/cjs/interactive-486f5dea.js +142 -0
  399. package/dist/cjs/it-a485d1c0.js +63 -0
  400. package/dist/cjs/it-ch-9e137ea8.js +63 -0
  401. package/dist/cjs/ja-9e24f043.js +69 -0
  402. package/dist/cjs/key-2dc1cce5.js +14 -0
  403. package/dist/cjs/ko-09d15e16.js +69 -0
  404. package/dist/cjs/label-69736362.js +149 -0
  405. package/dist/cjs/loadable-14c9679e.js +89 -0
  406. package/dist/cjs/loader.cjs.js +5 -5
  407. package/dist/cjs/locale-251d00f4.js +594 -0
  408. package/dist/cjs/lt-f09dc473.js +94 -0
  409. package/dist/cjs/lv-33900432.js +63 -0
  410. package/dist/cjs/math-51ecbcbb.js +55 -0
  411. package/dist/cjs/mk-821bfc0b.js +63 -0
  412. package/dist/cjs/nb-85a288f3.js +64 -0
  413. package/dist/cjs/nl-e41301f5.js +64 -0
  414. package/dist/cjs/observers-9a8529c5.js +48 -0
  415. package/dist/cjs/openCloseComponent-5675db12.js +84 -0
  416. package/dist/cjs/pl-9df5fdb6.js +111 -0
  417. package/dist/cjs/pt-448f437b.js +64 -0
  418. package/dist/cjs/pt-br-d0f74cf1.js +62 -0
  419. package/dist/cjs/resources-015e0632.js +45 -0
  420. package/dist/cjs/resources-62652321.js +22 -0
  421. package/dist/cjs/resources-7220131c.js +24 -0
  422. package/dist/cjs/resources-8f715b22.js +410 -0
  423. package/dist/cjs/resources-b32e1ff0.js +27 -0
  424. package/dist/cjs/resources-b79ae61a.js +21 -0
  425. package/dist/cjs/resources-f55b8763.js +15 -0
  426. package/dist/cjs/ro-1704d5b7.js +63 -0
  427. package/dist/cjs/ru-325338ca.js +123 -0
  428. package/dist/cjs/sk-0b4d5d38.js +145 -0
  429. package/dist/cjs/sl-ed1345c9.js +63 -0
  430. package/dist/cjs/sortableComponent-765cf4f4.js +3107 -0
  431. package/dist/cjs/sr-08b334b9.js +98 -0
  432. package/dist/cjs/sv-b1d47816.js +68 -0
  433. package/dist/cjs/t9n-220a1c81.js +95 -0
  434. package/dist/cjs/th-8823c841.js +62 -0
  435. package/dist/cjs/throttle-07aa9840.js +75 -0
  436. package/dist/cjs/tr-7fc10d5c.js +63 -0
  437. package/dist/cjs/uk-2f738a79.js +101 -0
  438. package/dist/cjs/utils-58d8bf15.js +305 -0
  439. package/dist/cjs/utils-8d6c0881.js +216 -0
  440. package/dist/cjs/vi-668b169e.js +67 -0
  441. package/dist/cjs/zh-cn-800db98e.js +91 -0
  442. package/dist/cjs/zh-hk-b1632838.js +68 -0
  443. package/dist/cjs/zh-tw-5ef701f8.js +89 -0
  444. package/dist/collection/collection-manifest.json +4 -0
  445. package/dist/collection/components/accordion/accordion.js +1 -1
  446. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  447. package/dist/collection/components/accordion-item/resources.js +1 -1
  448. package/dist/collection/components/action/action.js +1 -1
  449. package/dist/collection/components/action/resources.js +1 -1
  450. package/dist/collection/components/action-bar/action-bar.js +1 -1
  451. package/dist/collection/components/action-bar/resources.js +1 -1
  452. package/dist/collection/components/action-bar/utils.js +1 -1
  453. package/dist/collection/components/action-group/action-group.js +1 -1
  454. package/dist/collection/components/action-group/resources.js +1 -1
  455. package/dist/collection/components/action-menu/action-menu.js +1 -1
  456. package/dist/collection/components/action-menu/resources.js +1 -1
  457. package/dist/collection/components/action-pad/action-pad.js +1 -1
  458. package/dist/collection/components/action-pad/resources.js +1 -1
  459. package/dist/collection/components/alert/alert.js +1 -1
  460. package/dist/collection/components/alert/resources.js +1 -1
  461. package/dist/collection/components/avatar/avatar.js +1 -1
  462. package/dist/collection/components/avatar/utils.js +1 -1
  463. package/dist/collection/components/block/block.js +1 -1
  464. package/dist/collection/components/block/resources.js +1 -1
  465. package/dist/collection/components/block-section/block-section.js +1 -1
  466. package/dist/collection/components/block-section/resources.js +1 -1
  467. package/dist/collection/components/button/button.js +1 -1
  468. package/dist/collection/components/button/resources.js +1 -1
  469. package/dist/collection/components/card/card.js +1 -1
  470. package/dist/collection/components/card/resources.js +1 -1
  471. package/dist/collection/components/checkbox/checkbox.js +1 -1
  472. package/dist/collection/components/chip/chip.js +1 -1
  473. package/dist/collection/components/chip/resources.js +1 -1
  474. package/dist/collection/components/chip-group/chip-group.js +1 -1
  475. package/dist/collection/components/color-picker/color-picker.js +1 -1
  476. package/dist/collection/components/color-picker/resources.js +1 -1
  477. package/dist/collection/components/color-picker/utils.js +1 -1
  478. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  479. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  480. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  481. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  482. package/dist/collection/components/combobox/combobox.js +1 -1
  483. package/dist/collection/components/combobox/resources.js +1 -1
  484. package/dist/collection/components/combobox/utils.js +1 -1
  485. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  486. package/dist/collection/components/combobox-item/resources.js +1 -1
  487. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  488. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  489. package/dist/collection/components/date-picker/date-picker.js +1 -1
  490. package/dist/collection/components/date-picker/resources.js +1 -1
  491. package/dist/collection/components/date-picker/utils.js +1 -1
  492. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  493. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  494. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  495. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  496. package/dist/collection/components/dropdown/dropdown.js +1 -1
  497. package/dist/collection/components/dropdown/resources.js +1 -1
  498. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  499. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  500. package/dist/collection/components/dropdown-item/resources.js +1 -1
  501. package/dist/collection/components/fab/fab.js +1 -1
  502. package/dist/collection/components/fab/resources.js +1 -1
  503. package/dist/collection/components/filter/filter.js +1 -1
  504. package/dist/collection/components/filter/resources.js +1 -1
  505. package/dist/collection/components/flow/flow.js +1 -1
  506. package/dist/collection/components/flow/resources.js +1 -1
  507. package/dist/collection/components/flow-item/flow-item.js +1 -1
  508. package/dist/collection/components/flow-item/resources.js +1 -1
  509. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  510. package/dist/collection/components/functional/FloatingArrow.js +1 -1
  511. package/dist/collection/components/functional/Heading.js +1 -1
  512. package/dist/collection/components/functional/XButton.js +1 -1
  513. package/dist/collection/components/graph/graph.js +1 -1
  514. package/dist/collection/components/graph/util.js +1 -1
  515. package/dist/collection/components/handle/handle.js +1 -1
  516. package/dist/collection/components/handle/resources.js +1 -1
  517. package/dist/collection/components/icon/icon.js +1 -1
  518. package/dist/collection/components/icon/resources.js +1 -1
  519. package/dist/collection/components/icon/utils.js +1 -1
  520. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  521. package/dist/collection/components/inline-editable/resources.js +1 -1
  522. package/dist/collection/components/input/input.js +1 -1
  523. package/dist/collection/components/input/resources.js +1 -1
  524. package/dist/collection/components/input-date-picker/input-date-picker.js +5 -42
  525. package/dist/collection/components/input-date-picker/resources.js +1 -1
  526. package/dist/collection/components/input-date-picker/utils.js +1 -1
  527. package/dist/collection/components/input-message/input-message.js +1 -1
  528. package/dist/collection/components/input-message/interfaces.js +1 -1
  529. package/dist/collection/components/input-number/input-number.js +1 -1
  530. package/dist/collection/components/input-number/resources.js +1 -1
  531. package/dist/collection/components/input-text/input-text.js +1 -1
  532. package/dist/collection/components/input-text/resources.js +1 -1
  533. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  534. package/dist/collection/components/input-time-picker/resources.js +1 -1
  535. package/dist/collection/components/input-time-zone/input-time-zone.js +1 -1
  536. package/dist/collection/components/input-time-zone/utils.js +1 -1
  537. package/dist/collection/components/label/label.js +1 -1
  538. package/dist/collection/components/label/resources.js +1 -1
  539. package/dist/collection/components/link/link.js +1 -1
  540. package/dist/collection/components/list/list.js +1 -1
  541. package/dist/collection/components/list/resources.js +1 -1
  542. package/dist/collection/components/list-item/list-item.js +1 -1
  543. package/dist/collection/components/list-item/resources.js +1 -1
  544. package/dist/collection/components/list-item/utils.js +1 -1
  545. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  546. package/dist/collection/components/list-item-group/resources.js +1 -1
  547. package/dist/collection/components/loader/loader.js +1 -1
  548. package/dist/collection/components/menu/menu.js +1 -1
  549. package/dist/collection/components/menu-item/menu-item.js +1 -1
  550. package/dist/collection/components/menu-item/resources.js +1 -1
  551. package/dist/collection/components/meter/meter.js +1 -1
  552. package/dist/collection/components/meter/resources.js +1 -1
  553. package/dist/collection/components/modal/modal.js +1 -1
  554. package/dist/collection/components/modal/resources.js +1 -1
  555. package/dist/collection/components/navigation/navigation.js +1 -1
  556. package/dist/collection/components/navigation/resources.js +1 -1
  557. package/dist/collection/components/navigation-logo/navigation-logo.js +1 -1
  558. package/dist/collection/components/navigation-logo/resources.js +1 -1
  559. package/dist/collection/components/navigation-user/navigation-user.js +1 -1
  560. package/dist/collection/components/navigation-user/resources.js +1 -1
  561. package/dist/collection/components/notice/notice.js +1 -1
  562. package/dist/collection/components/notice/resources.js +1 -1
  563. package/dist/collection/components/option/option.js +1 -1
  564. package/dist/collection/components/option-group/option-group.js +1 -1
  565. package/dist/collection/components/pagination/pagination.js +1 -1
  566. package/dist/collection/components/pagination/resources.js +1 -1
  567. package/dist/collection/components/panel/panel.js +1 -1
  568. package/dist/collection/components/panel/resources.js +1 -1
  569. package/dist/collection/components/pick-list/pick-list.js +1 -1
  570. package/dist/collection/components/pick-list/resources.js +1 -1
  571. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  572. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  573. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  574. package/dist/collection/components/pick-list-group/resources.js +1 -1
  575. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  576. package/dist/collection/components/pick-list-item/resources.js +1 -1
  577. package/dist/collection/components/popover/PopoverManager.js +1 -1
  578. package/dist/collection/components/popover/popover.js +1 -1
  579. package/dist/collection/components/popover/resources.js +1 -1
  580. package/dist/collection/components/progress/progress.js +1 -1
  581. package/dist/collection/components/radio-button/radio-button.js +1 -1
  582. package/dist/collection/components/radio-button/resources.js +1 -1
  583. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  584. package/dist/collection/components/rating/function/star.js +1 -1
  585. package/dist/collection/components/rating/rating.js +1 -1
  586. package/dist/collection/components/resources.js +1 -1
  587. package/dist/collection/components/scrim/resources.js +1 -1
  588. package/dist/collection/components/scrim/scrim.js +1 -1
  589. package/dist/collection/components/segmented-control/segmented-control.js +1 -1
  590. package/dist/collection/components/segmented-control-item/resources.js +1 -1
  591. package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
  592. package/dist/collection/components/select/resources.js +1 -1
  593. package/dist/collection/components/select/select.js +1 -1
  594. package/dist/collection/components/sheet/resources.js +1 -1
  595. package/dist/collection/components/sheet/sheet.js +1 -1
  596. package/dist/collection/components/shell/resources.js +1 -1
  597. package/dist/collection/components/shell/shell.js +1 -1
  598. package/dist/collection/components/shell-center-row/resources.js +1 -1
  599. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  600. package/dist/collection/components/shell-panel/resources.js +1 -1
  601. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  602. package/dist/collection/components/slider/resources.js +1 -1
  603. package/dist/collection/components/slider/slider.js +1 -1
  604. package/dist/collection/components/sortable-list/resources.js +1 -1
  605. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  606. package/dist/collection/components/split-button/resources.js +1 -1
  607. package/dist/collection/components/split-button/split-button.js +1 -1
  608. package/dist/collection/components/stack/resources.js +1 -1
  609. package/dist/collection/components/stack/stack.js +1 -1
  610. package/dist/collection/components/stepper/stepper.js +1 -1
  611. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  612. package/dist/collection/components/switch/switch.js +1 -1
  613. package/dist/collection/components/tab/tab.js +1 -1
  614. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  615. package/dist/collection/components/tab-title/resources.js +1 -1
  616. package/dist/collection/components/tab-title/tab-title.js +1 -1
  617. package/dist/collection/components/table/assets/table/t9n/index.d.ts +7 -0
  618. package/dist/collection/components/table/assets/table/t9n/messages.json +7 -0
  619. package/dist/collection/components/table/assets/table/t9n/messages_ar.json +7 -0
  620. package/dist/collection/components/table/assets/table/t9n/messages_bg.json +7 -0
  621. package/dist/collection/components/table/assets/table/t9n/messages_bs.json +7 -0
  622. package/dist/collection/components/table/assets/table/t9n/messages_ca.json +7 -0
  623. package/dist/collection/components/table/assets/table/t9n/messages_cs.json +7 -0
  624. package/dist/collection/components/table/assets/table/t9n/messages_da.json +7 -0
  625. package/dist/collection/components/table/assets/table/t9n/messages_de.json +7 -0
  626. package/dist/collection/components/table/assets/table/t9n/messages_el.json +7 -0
  627. package/dist/collection/components/table/assets/table/t9n/messages_en.json +7 -0
  628. package/dist/collection/components/table/assets/table/t9n/messages_es.json +7 -0
  629. package/dist/collection/components/table/assets/table/t9n/messages_et.json +7 -0
  630. package/dist/collection/components/table/assets/table/t9n/messages_fi.json +7 -0
  631. package/dist/collection/components/table/assets/table/t9n/messages_fr.json +7 -0
  632. package/dist/collection/components/table/assets/table/t9n/messages_he.json +7 -0
  633. package/dist/collection/components/table/assets/table/t9n/messages_hr.json +7 -0
  634. package/dist/collection/components/table/assets/table/t9n/messages_hu.json +7 -0
  635. package/dist/collection/components/table/assets/table/t9n/messages_id.json +7 -0
  636. package/dist/collection/components/table/assets/table/t9n/messages_it.json +7 -0
  637. package/dist/collection/components/table/assets/table/t9n/messages_ja.json +7 -0
  638. package/dist/collection/components/table/assets/table/t9n/messages_ko.json +7 -0
  639. package/dist/collection/components/table/assets/table/t9n/messages_lt.json +7 -0
  640. package/dist/collection/components/table/assets/table/t9n/messages_lv.json +7 -0
  641. package/dist/collection/components/table/assets/table/t9n/messages_nl.json +7 -0
  642. package/dist/collection/components/table/assets/table/t9n/messages_no.json +7 -0
  643. package/dist/collection/components/table/assets/table/t9n/messages_pl.json +7 -0
  644. package/dist/collection/components/table/assets/table/t9n/messages_pt-BR.json +7 -0
  645. package/dist/collection/components/table/assets/table/t9n/messages_pt-PT.json +7 -0
  646. package/dist/collection/components/table/assets/table/t9n/messages_ro.json +7 -0
  647. package/dist/collection/components/table/assets/table/t9n/messages_ru.json +7 -0
  648. package/dist/collection/components/table/assets/table/t9n/messages_sk.json +7 -0
  649. package/dist/collection/components/table/assets/table/t9n/messages_sl.json +7 -0
  650. package/dist/collection/components/table/assets/table/t9n/messages_sr.json +7 -0
  651. package/dist/collection/components/table/assets/table/t9n/messages_sv.json +7 -0
  652. package/dist/collection/components/table/assets/table/t9n/messages_th.json +7 -0
  653. package/dist/collection/components/table/assets/table/t9n/messages_tr.json +7 -0
  654. package/dist/collection/components/table/assets/table/t9n/messages_uk.json +7 -0
  655. package/dist/collection/components/table/assets/table/t9n/messages_vi.json +7 -0
  656. package/dist/collection/components/table/assets/table/t9n/messages_zh-CN.json +7 -0
  657. package/dist/collection/components/table/assets/table/t9n/messages_zh-HK.json +7 -0
  658. package/dist/collection/components/table/assets/table/t9n/messages_zh-TW.json +7 -0
  659. package/dist/collection/components/table/interfaces.js +1 -0
  660. package/dist/collection/components/table/resources.js +21 -0
  661. package/dist/collection/components/table/table.css +118 -0
  662. package/dist/collection/components/table/table.js +654 -0
  663. package/dist/collection/components/table-cell/assets/table-cell/t9n/index.d.ts +7 -0
  664. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages.json +7 -0
  665. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_ar.json +7 -0
  666. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_bg.json +7 -0
  667. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_bs.json +7 -0
  668. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_ca.json +7 -0
  669. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_cs.json +7 -0
  670. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_da.json +7 -0
  671. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_de.json +7 -0
  672. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_el.json +7 -0
  673. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_en.json +7 -0
  674. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_es.json +7 -0
  675. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_et.json +7 -0
  676. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_fi.json +7 -0
  677. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_fr.json +7 -0
  678. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_he.json +7 -0
  679. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_hr.json +7 -0
  680. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_hu.json +7 -0
  681. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_id.json +7 -0
  682. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_it.json +7 -0
  683. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_ja.json +7 -0
  684. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_ko.json +7 -0
  685. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_lt.json +7 -0
  686. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_lv.json +7 -0
  687. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_nl.json +7 -0
  688. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_no.json +7 -0
  689. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_pl.json +7 -0
  690. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_pt-BR.json +7 -0
  691. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_pt-PT.json +7 -0
  692. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_ro.json +7 -0
  693. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_ru.json +7 -0
  694. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_sk.json +7 -0
  695. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_sl.json +7 -0
  696. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_sr.json +7 -0
  697. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_sv.json +7 -0
  698. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_th.json +7 -0
  699. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_tr.json +7 -0
  700. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_uk.json +7 -0
  701. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_vi.json +7 -0
  702. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_zh-CN.json +7 -0
  703. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_zh-HK.json +7 -0
  704. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_zh-TW.json +7 -0
  705. package/dist/collection/components/table-cell/resources.js +12 -0
  706. package/dist/collection/components/table-cell/table-cell.css +108 -0
  707. package/dist/collection/components/table-cell/table-cell.js +470 -0
  708. package/dist/collection/components/table-header/assets/table-header/t9n/index.d.ts +8 -0
  709. package/dist/collection/components/table-header/assets/table-header/t9n/messages.json +8 -0
  710. package/dist/collection/components/table-header/assets/table-header/t9n/messages_ar.json +8 -0
  711. package/dist/collection/components/table-header/assets/table-header/t9n/messages_bg.json +8 -0
  712. package/dist/collection/components/table-header/assets/table-header/t9n/messages_bs.json +8 -0
  713. package/dist/collection/components/table-header/assets/table-header/t9n/messages_ca.json +8 -0
  714. package/dist/collection/components/table-header/assets/table-header/t9n/messages_cs.json +8 -0
  715. package/dist/collection/components/table-header/assets/table-header/t9n/messages_da.json +8 -0
  716. package/dist/collection/components/table-header/assets/table-header/t9n/messages_de.json +8 -0
  717. package/dist/collection/components/table-header/assets/table-header/t9n/messages_el.json +8 -0
  718. package/dist/collection/components/table-header/assets/table-header/t9n/messages_en.json +8 -0
  719. package/dist/collection/components/table-header/assets/table-header/t9n/messages_es.json +8 -0
  720. package/dist/collection/components/table-header/assets/table-header/t9n/messages_et.json +8 -0
  721. package/dist/collection/components/table-header/assets/table-header/t9n/messages_fi.json +8 -0
  722. package/dist/collection/components/table-header/assets/table-header/t9n/messages_fr.json +8 -0
  723. package/dist/collection/components/table-header/assets/table-header/t9n/messages_he.json +8 -0
  724. package/dist/collection/components/table-header/assets/table-header/t9n/messages_hr.json +8 -0
  725. package/dist/collection/components/table-header/assets/table-header/t9n/messages_hu.json +8 -0
  726. package/dist/collection/components/table-header/assets/table-header/t9n/messages_id.json +8 -0
  727. package/dist/collection/components/table-header/assets/table-header/t9n/messages_it.json +8 -0
  728. package/dist/collection/components/table-header/assets/table-header/t9n/messages_ja.json +8 -0
  729. package/dist/collection/components/table-header/assets/table-header/t9n/messages_ko.json +8 -0
  730. package/dist/collection/components/table-header/assets/table-header/t9n/messages_lt.json +8 -0
  731. package/dist/collection/components/table-header/assets/table-header/t9n/messages_lv.json +8 -0
  732. package/dist/collection/components/table-header/assets/table-header/t9n/messages_nl.json +8 -0
  733. package/dist/collection/components/table-header/assets/table-header/t9n/messages_no.json +8 -0
  734. package/dist/collection/components/table-header/assets/table-header/t9n/messages_pl.json +8 -0
  735. package/dist/collection/components/table-header/assets/table-header/t9n/messages_pt-BR.json +8 -0
  736. package/dist/collection/components/table-header/assets/table-header/t9n/messages_pt-PT.json +8 -0
  737. package/dist/collection/components/table-header/assets/table-header/t9n/messages_ro.json +8 -0
  738. package/dist/collection/components/table-header/assets/table-header/t9n/messages_ru.json +8 -0
  739. package/dist/collection/components/table-header/assets/table-header/t9n/messages_sk.json +8 -0
  740. package/dist/collection/components/table-header/assets/table-header/t9n/messages_sl.json +8 -0
  741. package/dist/collection/components/table-header/assets/table-header/t9n/messages_sr.json +8 -0
  742. package/dist/collection/components/table-header/assets/table-header/t9n/messages_sv.json +8 -0
  743. package/dist/collection/components/table-header/assets/table-header/t9n/messages_th.json +8 -0
  744. package/dist/collection/components/table-header/assets/table-header/t9n/messages_tr.json +8 -0
  745. package/dist/collection/components/table-header/assets/table-header/t9n/messages_uk.json +8 -0
  746. package/dist/collection/components/table-header/assets/table-header/t9n/messages_vi.json +8 -0
  747. package/dist/collection/components/table-header/assets/table-header/t9n/messages_zh-CN.json +8 -0
  748. package/dist/collection/components/table-header/assets/table-header/t9n/messages_zh-HK.json +8 -0
  749. package/dist/collection/components/table-header/assets/table-header/t9n/messages_zh-TW.json +8 -0
  750. package/dist/collection/components/table-header/resources.js +16 -0
  751. package/dist/collection/components/table-header/table-header.css +109 -0
  752. package/dist/collection/components/table-header/table-header.js +535 -0
  753. package/dist/collection/components/table-row/table-row.css +53 -0
  754. package/dist/collection/components/table-row/table-row.js +602 -0
  755. package/dist/collection/components/tabs/resources.js +1 -1
  756. package/dist/collection/components/tabs/tabs.js +1 -1
  757. package/dist/collection/components/text-area/resources.js +1 -1
  758. package/dist/collection/components/text-area/text-area.js +1 -1
  759. package/dist/collection/components/tile/resources.js +1 -1
  760. package/dist/collection/components/tile/tile.js +1 -1
  761. package/dist/collection/components/tile-select/resources.js +1 -1
  762. package/dist/collection/components/tile-select/tile-select.js +1 -1
  763. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  764. package/dist/collection/components/time-picker/resources.js +1 -1
  765. package/dist/collection/components/time-picker/time-picker.js +1 -1
  766. package/dist/collection/components/tip/resources.js +1 -1
  767. package/dist/collection/components/tip/tip.js +1 -1
  768. package/dist/collection/components/tip-group/tip-group.js +1 -1
  769. package/dist/collection/components/tip-manager/resources.js +1 -1
  770. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  771. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  772. package/dist/collection/components/tooltip/resources.js +1 -1
  773. package/dist/collection/components/tooltip/tooltip.js +1 -1
  774. package/dist/collection/components/tooltip/utils.js +1 -1
  775. package/dist/collection/components/tree/tree.js +1 -1
  776. package/dist/collection/components/tree/utils.js +1 -1
  777. package/dist/collection/components/tree-item/resources.js +1 -1
  778. package/dist/collection/components/tree-item/tree-item.js +1 -1
  779. package/dist/collection/components/value-list/resources.js +1 -1
  780. package/dist/collection/components/value-list/utils.js +1 -1
  781. package/dist/collection/components/value-list/value-list.js +1 -1
  782. package/dist/collection/components/value-list-item/resources.js +1 -1
  783. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  784. package/dist/collection/index.js +1 -1
  785. package/dist/collection/utils/array.js +1 -1
  786. package/dist/collection/utils/browser.js +1 -1
  787. package/dist/collection/utils/conditionalSlot.js +1 -1
  788. package/dist/collection/utils/config.js +1 -1
  789. package/dist/collection/utils/date.js +1 -1
  790. package/dist/collection/utils/dom.js +1 -1
  791. package/dist/collection/utils/filter.js +1 -1
  792. package/dist/collection/utils/floating-ui.js +1 -1
  793. package/dist/collection/utils/focusTrapComponent.js +1 -1
  794. package/dist/collection/utils/form.js +1 -1
  795. package/dist/collection/utils/globalAttributes.js +1 -1
  796. package/dist/collection/utils/globalScript.js +1 -1
  797. package/dist/collection/utils/guid.js +1 -1
  798. package/dist/collection/utils/interactive.js +1 -1
  799. package/dist/collection/utils/key.js +1 -1
  800. package/dist/collection/utils/label.js +1 -1
  801. package/dist/collection/utils/loadable.js +1 -1
  802. package/dist/collection/utils/locale.js +1 -1
  803. package/dist/collection/utils/math.js +1 -1
  804. package/dist/collection/utils/mode.js +1 -1
  805. package/dist/collection/utils/number.js +1 -1
  806. package/dist/collection/utils/observers.js +1 -1
  807. package/dist/collection/utils/openCloseComponent.js +1 -1
  808. package/dist/collection/utils/resources.js +1 -1
  809. package/dist/collection/utils/sortableComponent.js +1 -1
  810. package/dist/collection/utils/t9n.js +1 -1
  811. package/dist/collection/utils/time.js +1 -1
  812. package/dist/components/ExpandToggle.js +1 -1
  813. package/dist/components/FloatingArrow.js +1 -1
  814. package/dist/components/Heading.js +1 -1
  815. package/dist/components/action-group.js +1 -1
  816. package/dist/components/action-menu.js +1 -1
  817. package/dist/components/action.js +1 -1
  818. package/dist/components/ar.js +1 -1
  819. package/dist/components/array.js +1 -1
  820. package/dist/components/avatar.js +1 -1
  821. package/dist/components/bg.js +1 -1
  822. package/dist/components/bs.js +1 -1
  823. package/dist/components/button.js +1 -1
  824. package/dist/components/ca.js +1 -1
  825. package/dist/components/calcite-accordion-item.js +1 -1
  826. package/dist/components/calcite-accordion.js +1 -1
  827. package/dist/components/calcite-action-bar.js +1 -1
  828. package/dist/components/calcite-action-group.js +1 -1
  829. package/dist/components/calcite-action-menu.js +1 -1
  830. package/dist/components/calcite-action-pad.js +1 -1
  831. package/dist/components/calcite-action.js +1 -1
  832. package/dist/components/calcite-alert.js +1 -1
  833. package/dist/components/calcite-avatar.js +1 -1
  834. package/dist/components/calcite-block-section.js +1 -1
  835. package/dist/components/calcite-block.js +1 -1
  836. package/dist/components/calcite-button.js +1 -1
  837. package/dist/components/calcite-card.js +1 -1
  838. package/dist/components/calcite-checkbox.js +1 -1
  839. package/dist/components/calcite-chip-group.js +1 -1
  840. package/dist/components/calcite-chip.js +1 -1
  841. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  842. package/dist/components/calcite-color-picker-swatch.js +1 -1
  843. package/dist/components/calcite-color-picker.js +1 -1
  844. package/dist/components/calcite-combobox-item-group.js +1 -1
  845. package/dist/components/calcite-combobox-item.js +1 -1
  846. package/dist/components/calcite-combobox.js +1 -1
  847. package/dist/components/calcite-date-picker-day.js +1 -1
  848. package/dist/components/calcite-date-picker-month-header.js +1 -1
  849. package/dist/components/calcite-date-picker-month.js +1 -1
  850. package/dist/components/calcite-date-picker.js +1 -1
  851. package/dist/components/calcite-dropdown-group.js +1 -1
  852. package/dist/components/calcite-dropdown-item.js +1 -1
  853. package/dist/components/calcite-dropdown.js +1 -1
  854. package/dist/components/calcite-fab.js +1 -1
  855. package/dist/components/calcite-filter.js +1 -1
  856. package/dist/components/calcite-flow-item.js +1 -1
  857. package/dist/components/calcite-flow.js +1 -1
  858. package/dist/components/calcite-graph.js +1 -1
  859. package/dist/components/calcite-handle.js +1 -1
  860. package/dist/components/calcite-icon.js +1 -1
  861. package/dist/components/calcite-inline-editable.js +1 -1
  862. package/dist/components/calcite-input-date-picker.js +5 -25
  863. package/dist/components/calcite-input-message.js +1 -1
  864. package/dist/components/calcite-input-number.js +1 -1
  865. package/dist/components/calcite-input-text.js +1 -1
  866. package/dist/components/calcite-input-time-picker.js +1 -1
  867. package/dist/components/calcite-input-time-zone.js +1 -1
  868. package/dist/components/calcite-input.js +1 -1
  869. package/dist/components/calcite-label.js +1 -1
  870. package/dist/components/calcite-link.js +1 -1
  871. package/dist/components/calcite-list-item-group.js +1 -1
  872. package/dist/components/calcite-list-item.js +1 -1
  873. package/dist/components/calcite-list.js +1 -1
  874. package/dist/components/calcite-loader.js +1 -1
  875. package/dist/components/calcite-menu-item.js +1 -1
  876. package/dist/components/calcite-menu.js +1 -1
  877. package/dist/components/calcite-meter.js +1 -1
  878. package/dist/components/calcite-modal.js +1 -1
  879. package/dist/components/calcite-navigation-logo.js +1 -1
  880. package/dist/components/calcite-navigation-user.js +1 -1
  881. package/dist/components/calcite-navigation.js +1 -1
  882. package/dist/components/calcite-notice.js +1 -1
  883. package/dist/components/calcite-option-group.js +1 -1
  884. package/dist/components/calcite-option.js +1 -1
  885. package/dist/components/calcite-pagination.js +2 -238
  886. package/dist/components/calcite-panel.js +1 -1
  887. package/dist/components/calcite-pick-list-group.js +1 -1
  888. package/dist/components/calcite-pick-list-item.js +1 -1
  889. package/dist/components/calcite-pick-list.js +1 -1
  890. package/dist/components/calcite-popover.js +1 -1
  891. package/dist/components/calcite-progress.js +1 -1
  892. package/dist/components/calcite-radio-button-group.js +1 -1
  893. package/dist/components/calcite-radio-button.js +1 -1
  894. package/dist/components/calcite-rating.js +1 -1
  895. package/dist/components/calcite-scrim.js +1 -1
  896. package/dist/components/calcite-segmented-control-item.js +1 -1
  897. package/dist/components/calcite-segmented-control.js +1 -1
  898. package/dist/components/calcite-select.js +1 -1
  899. package/dist/components/calcite-sheet.js +1 -1
  900. package/dist/components/calcite-shell-center-row.js +1 -1
  901. package/dist/components/calcite-shell-panel.js +1 -1
  902. package/dist/components/calcite-shell.js +1 -1
  903. package/dist/components/calcite-slider.js +1 -1
  904. package/dist/components/calcite-sortable-list.js +1 -1
  905. package/dist/components/calcite-split-button.js +1 -1
  906. package/dist/components/calcite-stack.js +1 -1
  907. package/dist/components/calcite-stepper-item.js +1 -1
  908. package/dist/components/calcite-stepper.js +1 -1
  909. package/dist/components/calcite-switch.js +1 -1
  910. package/dist/components/calcite-tab-nav.js +1 -1
  911. package/dist/components/calcite-tab-title.js +1 -1
  912. package/dist/components/calcite-tab.js +1 -1
  913. package/dist/components/calcite-table-cell.d.ts +11 -0
  914. package/dist/components/calcite-table-cell.js +11 -0
  915. package/dist/components/calcite-table-header.d.ts +11 -0
  916. package/dist/components/calcite-table-header.js +11 -0
  917. package/dist/components/calcite-table-row.d.ts +11 -0
  918. package/dist/components/calcite-table-row.js +281 -0
  919. package/dist/components/calcite-table.d.ts +11 -0
  920. package/dist/components/calcite-table.js +359 -0
  921. package/dist/components/calcite-tabs.js +1 -1
  922. package/dist/components/calcite-text-area.js +1 -1
  923. package/dist/components/calcite-tile-select-group.js +1 -1
  924. package/dist/components/calcite-tile-select.js +1 -1
  925. package/dist/components/calcite-tile.js +1 -1
  926. package/dist/components/calcite-time-picker.js +1 -1
  927. package/dist/components/calcite-tip-group.js +1 -1
  928. package/dist/components/calcite-tip-manager.js +1 -1
  929. package/dist/components/calcite-tip.js +1 -1
  930. package/dist/components/calcite-tooltip.js +1 -1
  931. package/dist/components/calcite-tree-item.js +1 -1
  932. package/dist/components/calcite-tree.js +1 -1
  933. package/dist/components/calcite-value-list-item.js +1 -1
  934. package/dist/components/calcite-value-list.js +1 -1
  935. package/dist/components/checkbox.js +1 -1
  936. package/dist/components/chip.js +1 -1
  937. package/dist/components/color-picker-hex-input.js +1 -1
  938. package/dist/components/color-picker-swatch.js +1 -1
  939. package/dist/components/combobox-item.js +1 -1
  940. package/dist/components/combobox.js +1 -1
  941. package/dist/components/conditionalSlot.js +1 -1
  942. package/dist/components/cs.js +1 -1
  943. package/dist/components/da.js +1 -1
  944. package/dist/components/date-picker-day.js +1 -1
  945. package/dist/components/date-picker-month-header.js +1 -1
  946. package/dist/components/date-picker-month.js +1 -1
  947. package/dist/components/date-picker.js +1 -1
  948. package/dist/components/date.js +1 -1
  949. package/dist/components/de-at.js +1 -1
  950. package/dist/components/de-ch.js +1 -1
  951. package/dist/components/de.js +1 -1
  952. package/dist/components/debounce.js +1 -1
  953. package/dist/components/dom.js +1 -1
  954. package/dist/components/dropdown.js +1 -1
  955. package/dist/components/el.js +1 -1
  956. package/dist/components/en-au.js +1 -1
  957. package/dist/components/en-ca.js +1 -1
  958. package/dist/components/en-gb.js +1 -1
  959. package/dist/components/es-mx.js +1 -1
  960. package/dist/components/es.js +1 -1
  961. package/dist/components/et.js +1 -1
  962. package/dist/components/fi.js +1 -1
  963. package/dist/components/filter.js +1 -1
  964. package/dist/components/filter2.js +1 -1
  965. package/dist/components/floating-ui.js +1 -1
  966. package/dist/components/focusTrapComponent.js +1 -1
  967. package/dist/components/form.js +1 -1
  968. package/dist/components/fr-ch.js +1 -1
  969. package/dist/components/fr.js +1 -1
  970. package/dist/components/graph.js +1 -1
  971. package/dist/components/guid.js +1 -1
  972. package/dist/components/handle.js +1 -1
  973. package/dist/components/he.js +1 -1
  974. package/dist/components/hi.js +1 -1
  975. package/dist/components/hr.js +1 -1
  976. package/dist/components/hu.js +1 -1
  977. package/dist/components/icon.js +1 -1
  978. package/dist/components/id.js +1 -1
  979. package/dist/components/index.d.ts +4 -0
  980. package/dist/components/index.js +1 -1
  981. package/dist/components/index2.js +1 -1
  982. package/dist/components/input-number.js +1 -1
  983. package/dist/components/input-text.js +1 -1
  984. package/dist/components/input.js +1 -1
  985. package/dist/components/interactive.js +2 -2
  986. package/dist/components/it-ch.js +1 -1
  987. package/dist/components/it.js +1 -1
  988. package/dist/components/ja.js +1 -1
  989. package/dist/components/key.js +1 -1
  990. package/dist/components/ko.js +1 -1
  991. package/dist/components/label.js +1 -1
  992. package/dist/components/label2.js +1 -1
  993. package/dist/components/link.js +1 -1
  994. package/dist/components/loadable.js +1 -1
  995. package/dist/components/loader.js +1 -1
  996. package/dist/components/locale.js +1 -1
  997. package/dist/components/lt.js +1 -1
  998. package/dist/components/lv.js +1 -1
  999. package/dist/components/math.js +1 -1
  1000. package/dist/components/menu.js +1 -1
  1001. package/dist/components/mk.js +1 -1
  1002. package/dist/components/nb.js +1 -1
  1003. package/dist/components/nl.js +1 -1
  1004. package/dist/components/observers.js +1 -1
  1005. package/dist/components/openCloseComponent.js +1 -1
  1006. package/dist/components/pagination.js +244 -0
  1007. package/dist/components/panel.js +1 -1
  1008. package/dist/components/pick-list-item.js +1 -1
  1009. package/dist/components/pl.js +1 -1
  1010. package/dist/components/popover.js +1 -1
  1011. package/dist/components/progress.js +1 -1
  1012. package/dist/components/pt-br.js +1 -1
  1013. package/dist/components/pt.js +1 -1
  1014. package/dist/components/resources.js +1 -1
  1015. package/dist/components/resources2.js +1 -1
  1016. package/dist/components/resources3.js +1 -1
  1017. package/dist/components/resources4.js +1 -1
  1018. package/dist/components/ro.js +1 -1
  1019. package/dist/components/ru.js +1 -1
  1020. package/dist/components/scrim.js +1 -1
  1021. package/dist/components/shared-list-render.js +1 -1
  1022. package/dist/components/sk.js +1 -1
  1023. package/dist/components/sl.js +1 -1
  1024. package/dist/components/sortableComponent.js +1 -1
  1025. package/dist/components/sr.js +1 -1
  1026. package/dist/components/stack.js +1 -1
  1027. package/dist/components/sv.js +1 -1
  1028. package/dist/components/switch.js +1 -1
  1029. package/dist/components/t9n.js +1 -1
  1030. package/dist/components/tab-nav.js +1 -1
  1031. package/dist/components/tab-title.js +1 -1
  1032. package/dist/components/tab.js +1 -1
  1033. package/dist/components/table-cell.js +172 -0
  1034. package/dist/components/table-header.js +191 -0
  1035. package/dist/components/tabs.js +1 -1
  1036. package/dist/components/th.js +1 -1
  1037. package/dist/components/throttle.js +1 -1
  1038. package/dist/components/tile.js +1 -1
  1039. package/dist/components/time-picker.js +1 -1
  1040. package/dist/components/tr.js +1 -1
  1041. package/dist/components/uk.js +1 -1
  1042. package/dist/components/utils.js +1 -1
  1043. package/dist/components/utils2.js +1 -1
  1044. package/dist/components/utils3.js +1 -1
  1045. package/dist/components/vi.js +1 -1
  1046. package/dist/components/zh-cn.js +1 -1
  1047. package/dist/components/zh-hk.js +1 -1
  1048. package/dist/components/zh-tw.js +1 -1
  1049. package/dist/esm/ExpandToggle-681aef6d.js +99 -0
  1050. package/dist/esm/FloatingArrow-f8c85286.js +43 -0
  1051. package/dist/esm/Heading-5b1b03e8.js +17 -0
  1052. package/dist/esm/app-globals-49c73a91.js +57 -0
  1053. package/dist/esm/ar-30a33ee8.js +96 -0
  1054. package/dist/esm/array-f8bbe0a3.js +10 -0
  1055. package/dist/esm/bg-fc94160e.js +77 -0
  1056. package/dist/esm/browser-342337a9.js +16 -0
  1057. package/dist/esm/bs-9bf92f4e.js +46 -0
  1058. package/dist/esm/ca-9b2066c3.js +66 -0
  1059. package/dist/esm/calcite-accordion_2.entry.js +7 -7
  1060. package/dist/esm/calcite-action-bar.entry.js +15 -15
  1061. package/dist/esm/calcite-action-group.entry.js +13 -13
  1062. package/dist/esm/calcite-action-menu.entry.js +9 -9
  1063. package/dist/esm/calcite-action-pad.entry.js +14 -14
  1064. package/dist/esm/calcite-action.entry.js +12 -11
  1065. package/dist/esm/calcite-alert.entry.js +12 -12
  1066. package/dist/esm/calcite-avatar.entry.js +6 -6
  1067. package/dist/esm/calcite-block_2.entry.js +14 -13
  1068. package/dist/esm/calcite-button.entry.js +14 -13
  1069. package/dist/esm/calcite-card.entry.js +10 -10
  1070. package/dist/esm/calcite-checkbox.entry.js +11 -10
  1071. package/dist/esm/calcite-chip-group.entry.js +9 -8
  1072. package/dist/esm/calcite-chip.entry.js +13 -12
  1073. package/dist/esm/calcite-color-picker_3.entry.js +16 -15
  1074. package/dist/esm/calcite-combobox_3.entry.js +19 -18
  1075. package/dist/esm/calcite-date-picker_4.entry.js +14 -13
  1076. package/dist/esm/calcite-dropdown_3.entry.js +13 -12
  1077. package/dist/esm/calcite-fab.entry.js +8 -7
  1078. package/dist/esm/calcite-filter.entry.js +14 -13
  1079. package/dist/esm/calcite-flow-item.entry.js +13 -12
  1080. package/dist/esm/calcite-flow.entry.js +4 -4
  1081. package/dist/esm/calcite-graph_2.entry.js +14 -13
  1082. package/dist/esm/calcite-handle.entry.js +10 -10
  1083. package/dist/esm/calcite-icon.entry.js +6 -6
  1084. package/dist/esm/calcite-inline-editable.entry.js +13 -12
  1085. package/dist/esm/calcite-input-date-picker.entry.js +23 -41
  1086. package/dist/esm/calcite-input-message.entry.js +5 -5
  1087. package/dist/esm/calcite-input-number.entry.js +14 -13
  1088. package/dist/esm/calcite-input-text.entry.js +14 -13
  1089. package/dist/esm/calcite-input-time-picker.calcite-time-picker-453c17c8.js +2819 -0
  1090. package/dist/esm/calcite-input-time-picker_2.entry.js +17 -16
  1091. package/dist/esm/calcite-input-time-zone.entry.js +14 -13
  1092. package/dist/esm/calcite-input.entry.js +14 -13
  1093. package/dist/esm/calcite-label.entry.js +6 -6
  1094. package/dist/esm/calcite-link.entry.js +8 -7
  1095. package/dist/esm/calcite-list_3.entry.js +15 -14
  1096. package/dist/esm/calcite-loader.entry.js +3 -3
  1097. package/dist/esm/calcite-menu_2.entry.js +10 -10
  1098. package/dist/esm/calcite-meter.entry.js +10 -10
  1099. package/dist/esm/calcite-modal.entry.js +13 -13
  1100. package/dist/esm/calcite-navigation_3.entry.js +6 -6
  1101. package/dist/esm/calcite-notice.entry.js +12 -12
  1102. package/dist/esm/calcite-option_3.entry.js +11 -10
  1103. package/dist/esm/calcite-pagination.entry.js +10 -10
  1104. package/dist/esm/calcite-panel.entry.js +15 -14
  1105. package/dist/esm/calcite-pick-list_3.entry.js +17 -16
  1106. package/dist/esm/calcite-popover.entry.js +16 -16
  1107. package/dist/esm/calcite-progress.entry.js +5 -5
  1108. package/dist/esm/calcite-radio-button-group.entry.js +4 -4
  1109. package/dist/esm/calcite-radio-button.entry.js +11 -10
  1110. package/dist/esm/calcite-rating.entry.js +14 -13
  1111. package/dist/esm/calcite-scrim.entry.js +9 -9
  1112. package/dist/esm/calcite-segmented-control_2.entry.js +11 -10
  1113. package/dist/esm/calcite-sheet.entry.js +9 -9
  1114. package/dist/esm/calcite-shell_3.entry.js +11 -11
  1115. package/dist/esm/calcite-sortable-list.entry.js +9 -8
  1116. package/dist/esm/calcite-split-button.entry.js +5 -4
  1117. package/dist/esm/calcite-stack.entry.js +6 -6
  1118. package/dist/esm/calcite-stepper_2.entry.js +11 -10
  1119. package/dist/esm/calcite-switch.entry.js +11 -10
  1120. package/dist/esm/calcite-tab_4.entry.js +11 -10
  1121. package/dist/esm/calcite-table-cell_2.entry.js +277 -0
  1122. package/dist/esm/calcite-table-row.entry.js +231 -0
  1123. package/dist/esm/calcite-table.entry.js +295 -0
  1124. package/dist/esm/calcite-text-area.entry.js +16 -15
  1125. package/dist/esm/calcite-tile-select_2.entry.js +6 -5
  1126. package/dist/esm/calcite-tile.entry.js +9 -8
  1127. package/dist/esm/calcite-tip_3.entry.js +11 -11
  1128. package/dist/esm/calcite-tooltip.entry.js +9 -9
  1129. package/dist/esm/calcite-tree_2.entry.js +9 -8
  1130. package/dist/esm/calcite-value-list_2.entry.js +17 -16
  1131. package/dist/esm/calcite.js +6 -6
  1132. package/dist/esm/conditionalSlot-9639587a.js +55 -0
  1133. package/dist/esm/cs-0aa7e0c2.js +142 -0
  1134. package/dist/esm/da-5b78b390.js +61 -0
  1135. package/dist/esm/de-at-0f58b1e0.js +85 -0
  1136. package/dist/esm/de-c8a584f5.js +86 -0
  1137. package/dist/esm/de-ch-7d578832.js +85 -0
  1138. package/dist/esm/debounce-ee2506b2.js +487 -0
  1139. package/dist/esm/dom-412dd260.js +1027 -0
  1140. package/dist/esm/el-d08a477a.js +61 -0
  1141. package/dist/esm/en-au-b652e863.js +61 -0
  1142. package/dist/esm/en-ca-043dd95c.js +60 -0
  1143. package/dist/esm/en-gb-6609ba7d.js +64 -0
  1144. package/dist/esm/es-0b6c198d.js +61 -0
  1145. package/dist/esm/es-mx-5f55d85b.js +60 -0
  1146. package/dist/esm/et-8e9b448e.js +87 -0
  1147. package/dist/esm/fi-9fca64de.js +110 -0
  1148. package/dist/esm/filter-1881740b.js +758 -0
  1149. package/dist/esm/floating-ui-43e4f414.js +1875 -0
  1150. package/dist/esm/focusTrapComponent-b796f196.js +994 -0
  1151. package/dist/esm/form-6f86424f.js +275 -0
  1152. package/dist/esm/fr-be6a5993.js +63 -0
  1153. package/dist/esm/fr-ch-dcbb8195.js +61 -0
  1154. package/dist/esm/guid-0490f9f0.js +19 -0
  1155. package/dist/esm/he-4d374a2f.js +100 -0
  1156. package/dist/esm/hi-896a033c.js +60 -0
  1157. package/dist/esm/hr-163b0c9e.js +75 -0
  1158. package/dist/esm/hu-68f7f7bb.js +83 -0
  1159. package/dist/esm/id-a7ecd61f.js +61 -0
  1160. package/dist/esm/index-dafb95bd.js +2292 -0
  1161. package/dist/esm/index.js +2 -2
  1162. package/dist/esm/interactive-6bcbd567.js +138 -0
  1163. package/dist/esm/it-2c13dace.js +61 -0
  1164. package/dist/esm/it-ch-73d3f5d8.js +61 -0
  1165. package/dist/esm/ja-07b1c56f.js +67 -0
  1166. package/dist/esm/key-86423110.js +11 -0
  1167. package/dist/esm/ko-455cb62f.js +67 -0
  1168. package/dist/esm/label-00366d68.js +143 -0
  1169. package/dist/esm/loadable-2ff657df.js +84 -0
  1170. package/dist/esm/loader.js +6 -6
  1171. package/dist/esm/locale-294b6440.js +582 -0
  1172. package/dist/esm/lt-200c52ea.js +92 -0
  1173. package/dist/esm/lv-507769ff.js +61 -0
  1174. package/dist/esm/math-a2e82859.js +49 -0
  1175. package/dist/esm/mk-921cb268.js +61 -0
  1176. package/dist/esm/nb-0f5a8c92.js +62 -0
  1177. package/dist/esm/nl-5f691c7e.js +62 -0
  1178. package/dist/esm/observers-b898b95d.js +46 -0
  1179. package/dist/esm/openCloseComponent-d1a940bc.js +82 -0
  1180. package/dist/esm/pl-5e211b79.js +109 -0
  1181. package/dist/esm/pt-39ca3f07.js +62 -0
  1182. package/dist/esm/pt-br-a6313e65.js +60 -0
  1183. package/dist/esm/resources-2f2498f1.js +41 -0
  1184. package/dist/esm/resources-6147a442.js +18 -0
  1185. package/dist/esm/resources-adfa9502.js +383 -0
  1186. package/dist/esm/resources-bab7828c.js +21 -0
  1187. package/dist/esm/resources-bfdb1d14.js +23 -0
  1188. package/dist/esm/resources-cfa3feb8.js +15 -0
  1189. package/dist/esm/resources-ec927aad.js +17 -0
  1190. package/dist/esm/ro-ded4537b.js +61 -0
  1191. package/dist/esm/ru-bf65d5e7.js +121 -0
  1192. package/dist/esm/sk-50ac8bd3.js +143 -0
  1193. package/dist/esm/sl-f0413b4c.js +61 -0
  1194. package/dist/esm/sortableComponent-bf052fa2.js +3104 -0
  1195. package/dist/esm/sr-015fca6d.js +96 -0
  1196. package/dist/esm/sv-b4b7fd0a.js +66 -0
  1197. package/dist/esm/t9n-493993f8.js +90 -0
  1198. package/dist/esm/th-053e9044.js +60 -0
  1199. package/dist/esm/throttle-ff32f2ff.js +73 -0
  1200. package/dist/esm/tr-432b0387.js +61 -0
  1201. package/dist/esm/uk-be1f9b1c.js +99 -0
  1202. package/dist/esm/utils-9bdf375c.js +287 -0
  1203. package/dist/esm/utils-d42b0a00.js +198 -0
  1204. package/dist/esm/vi-1b94de79.js +65 -0
  1205. package/dist/esm/zh-cn-871bb0d0.js +89 -0
  1206. package/dist/esm/zh-hk-dc1d08f4.js +66 -0
  1207. package/dist/esm/zh-tw-9f7e668b.js +87 -0
  1208. package/dist/extras/docs-json.json +839 -21
  1209. package/dist/extras/translations-json.json +1 -1
  1210. package/dist/extras/vscode-data.json +236 -4
  1211. package/dist/loader/cdn.js +1 -1
  1212. package/dist/loader/index.cjs.js +1 -1
  1213. package/dist/loader/index.es2017.js +1 -1
  1214. package/dist/loader/index.js +1 -1
  1215. package/dist/types/components/input-date-picker/input-date-picker.d.ts +0 -4
  1216. package/dist/types/components/table/assets/table/t9n/index.d.ts +7 -0
  1217. package/dist/types/components/table/interfaces.d.ts +10 -0
  1218. package/dist/types/components/table/resources.d.ts +16 -0
  1219. package/dist/types/components/table/table.d.ts +95 -0
  1220. package/dist/types/components/table-cell/assets/table-cell/t9n/index.d.ts +7 -0
  1221. package/dist/types/components/table-cell/resources.d.ts +7 -0
  1222. package/dist/types/components/table-cell/table-cell.d.ts +69 -0
  1223. package/dist/types/components/table-header/assets/table-header/t9n/index.d.ts +8 -0
  1224. package/dist/types/components/table-header/resources.d.ts +11 -0
  1225. package/dist/types/components/table-header/table-header.d.ts +65 -0
  1226. package/dist/types/components/table-row/table-row.d.ts +65 -0
  1227. package/dist/types/components.d.ts +324 -8
  1228. package/dist/types/preact.d.ts +15 -0
  1229. package/hydrate/index.js +1382 -521
  1230. package/package.json +2 -2
  1231. package/dist/calcite/p-009a9e4d.entry.js +0 -6
  1232. package/dist/calcite/p-0289d360.js +0 -6
  1233. package/dist/calcite/p-032c74b0.js +0 -6
  1234. package/dist/calcite/p-03f36cb4.js +0 -6
  1235. package/dist/calcite/p-05dce065.entry.js +0 -6
  1236. package/dist/calcite/p-07a44abe.js +0 -6
  1237. package/dist/calcite/p-07eb7ee4.entry.js +0 -6
  1238. package/dist/calcite/p-0a3ad43c.js +0 -6
  1239. package/dist/calcite/p-0a83b7d0.entry.js +0 -6
  1240. package/dist/calcite/p-0b5fb69b.js +0 -6
  1241. package/dist/calcite/p-0cc393fd.js +0 -6
  1242. package/dist/calcite/p-10000e68.js +0 -6
  1243. package/dist/calcite/p-117ef212.entry.js +0 -6
  1244. package/dist/calcite/p-1193cc91.entry.js +0 -6
  1245. package/dist/calcite/p-1300c6db.entry.js +0 -6
  1246. package/dist/calcite/p-1524d699.entry.js +0 -6
  1247. package/dist/calcite/p-155e38a4.js +0 -6
  1248. package/dist/calcite/p-16648cac.entry.js +0 -6
  1249. package/dist/calcite/p-17d97bd1.js +0 -6
  1250. package/dist/calcite/p-1a14590b.entry.js +0 -6
  1251. package/dist/calcite/p-1aac061d.entry.js +0 -6
  1252. package/dist/calcite/p-1d58387e.js +0 -6
  1253. package/dist/calcite/p-1d6463d5.js +0 -6
  1254. package/dist/calcite/p-1d686cbf.js +0 -6
  1255. package/dist/calcite/p-1fdb7ff1.js +0 -6
  1256. package/dist/calcite/p-21668bae.js +0 -6
  1257. package/dist/calcite/p-251c53bb.entry.js +0 -6
  1258. package/dist/calcite/p-2a08f6f7.js +0 -6
  1259. package/dist/calcite/p-2d1690b4.entry.js +0 -6
  1260. package/dist/calcite/p-2d44f61c.js +0 -6
  1261. package/dist/calcite/p-329abc24.entry.js +0 -6
  1262. package/dist/calcite/p-33bfc2f3.js +0 -6
  1263. package/dist/calcite/p-36b78288.entry.js +0 -6
  1264. package/dist/calcite/p-37329b24.entry.js +0 -6
  1265. package/dist/calcite/p-3ba4155c.js +0 -6
  1266. package/dist/calcite/p-3c293a80.js +0 -6
  1267. package/dist/calcite/p-42db6152.js +0 -6
  1268. package/dist/calcite/p-4320ff11.entry.js +0 -6
  1269. package/dist/calcite/p-43767ea5.js +0 -6
  1270. package/dist/calcite/p-45dbd80f.entry.js +0 -6
  1271. package/dist/calcite/p-467db5b5.entry.js +0 -6
  1272. package/dist/calcite/p-47422e07.js +0 -6
  1273. package/dist/calcite/p-4778fb42.entry.js +0 -6
  1274. package/dist/calcite/p-48b048a9.js +0 -6
  1275. package/dist/calcite/p-4d8e1770.js +0 -6
  1276. package/dist/calcite/p-50f4502c.js +0 -6
  1277. package/dist/calcite/p-5586c15a.js +0 -6
  1278. package/dist/calcite/p-559692fc.entry.js +0 -6
  1279. package/dist/calcite/p-5ac5c620.entry.js +0 -6
  1280. package/dist/calcite/p-5aca6c33.entry.js +0 -6
  1281. package/dist/calcite/p-5b69a316.js +0 -6
  1282. package/dist/calcite/p-5ebef59b.js +0 -6
  1283. package/dist/calcite/p-5ecb91e5.entry.js +0 -6
  1284. package/dist/calcite/p-5fbcf797.entry.js +0 -6
  1285. package/dist/calcite/p-621ed537.js +0 -6
  1286. package/dist/calcite/p-62732722.entry.js +0 -6
  1287. package/dist/calcite/p-6502839f.js +0 -6
  1288. package/dist/calcite/p-65a2cdeb.js +0 -6
  1289. package/dist/calcite/p-6751bd6d.entry.js +0 -6
  1290. package/dist/calcite/p-6c9b926c.js +0 -6
  1291. package/dist/calcite/p-70cd4b8d.entry.js +0 -6
  1292. package/dist/calcite/p-71306bd6.js +0 -6
  1293. package/dist/calcite/p-71584cd9.js +0 -6
  1294. package/dist/calcite/p-72fb517d.js +0 -6
  1295. package/dist/calcite/p-7381dd82.entry.js +0 -6
  1296. package/dist/calcite/p-750df042.entry.js +0 -6
  1297. package/dist/calcite/p-753896ab.entry.js +0 -6
  1298. package/dist/calcite/p-7559e0a4.js +0 -6
  1299. package/dist/calcite/p-75d3027f.js +0 -6
  1300. package/dist/calcite/p-75f36def.entry.js +0 -6
  1301. package/dist/calcite/p-76ad4b2d.entry.js +0 -6
  1302. package/dist/calcite/p-7cf75d26.entry.js +0 -6
  1303. package/dist/calcite/p-7e2a94f2.js +0 -6
  1304. package/dist/calcite/p-7e86eff6.js +0 -6
  1305. package/dist/calcite/p-7e8fe0f7.entry.js +0 -6
  1306. package/dist/calcite/p-7ebc8fdb.js +0 -6
  1307. package/dist/calcite/p-810ff4f7.entry.js +0 -6
  1308. package/dist/calcite/p-825a79d2.js +0 -6
  1309. package/dist/calcite/p-82d656f0.js +0 -6
  1310. package/dist/calcite/p-84feddff.js +0 -6
  1311. package/dist/calcite/p-86315c20.js +0 -6
  1312. package/dist/calcite/p-879868d6.entry.js +0 -6
  1313. package/dist/calcite/p-8816f7ec.js +0 -6
  1314. package/dist/calcite/p-8a9af48c.entry.js +0 -6
  1315. package/dist/calcite/p-8e0551d6.js +0 -6
  1316. package/dist/calcite/p-8e7697b5.entry.js +0 -6
  1317. package/dist/calcite/p-8e898b99.js +0 -6
  1318. package/dist/calcite/p-905e309d.entry.js +0 -6
  1319. package/dist/calcite/p-9437dd05.js +0 -10
  1320. package/dist/calcite/p-961ecae7.js +0 -6
  1321. package/dist/calcite/p-998c3972.entry.js +0 -6
  1322. package/dist/calcite/p-9d478ce3.entry.js +0 -6
  1323. package/dist/calcite/p-a3661938.entry.js +0 -6
  1324. package/dist/calcite/p-a4180fb6.entry.js +0 -6
  1325. package/dist/calcite/p-a4b1d381.js +0 -6
  1326. package/dist/calcite/p-a803db79.entry.js +0 -6
  1327. package/dist/calcite/p-a97d4e23.js +0 -6
  1328. package/dist/calcite/p-aa862e73.entry.js +0 -6
  1329. package/dist/calcite/p-aac8bab5.entry.js +0 -6
  1330. package/dist/calcite/p-abaf46ba.js +0 -6
  1331. package/dist/calcite/p-ad2faf5c.js +0 -6
  1332. package/dist/calcite/p-b6a9b76a.entry.js +0 -6
  1333. package/dist/calcite/p-b6db378a.entry.js +0 -6
  1334. package/dist/calcite/p-b8109464.js +0 -6
  1335. package/dist/calcite/p-b9a646ef.js +0 -6
  1336. package/dist/calcite/p-baec6a2d.js +0 -6
  1337. package/dist/calcite/p-bbcfbf31.js +0 -6
  1338. package/dist/calcite/p-bc62acf3.entry.js +0 -6
  1339. package/dist/calcite/p-be39c8aa.entry.js +0 -6
  1340. package/dist/calcite/p-c0206dbe.js +0 -6
  1341. package/dist/calcite/p-c33c63c3.js +0 -6
  1342. package/dist/calcite/p-c4599d09.entry.js +0 -6
  1343. package/dist/calcite/p-c8ce1516.js +0 -6
  1344. package/dist/calcite/p-c9839846.entry.js +0 -6
  1345. package/dist/calcite/p-cc02228a.entry.js +0 -6
  1346. package/dist/calcite/p-ccbc0c90.js +0 -6
  1347. package/dist/calcite/p-cd372d0f.entry.js +0 -6
  1348. package/dist/calcite/p-ce84b494.js +0 -6
  1349. package/dist/calcite/p-cefe8f2b.js +0 -7
  1350. package/dist/calcite/p-d08f1207.js +0 -11
  1351. package/dist/calcite/p-d4e01037.js +0 -12
  1352. package/dist/calcite/p-d61cf78d.entry.js +0 -6
  1353. package/dist/calcite/p-d65ec3bd.js +0 -6
  1354. package/dist/calcite/p-d728e928.js +0 -6
  1355. package/dist/calcite/p-d8fc2b98.js +0 -6
  1356. package/dist/calcite/p-d92c76d6.js +0 -6
  1357. package/dist/calcite/p-dabd022b.entry.js +0 -6
  1358. package/dist/calcite/p-de95843e.entry.js +0 -6
  1359. package/dist/calcite/p-df766fef.js +0 -6
  1360. package/dist/calcite/p-e082978e.entry.js +0 -6
  1361. package/dist/calcite/p-e13bdd77.entry.js +0 -6
  1362. package/dist/calcite/p-e17f2f84.entry.js +0 -6
  1363. package/dist/calcite/p-e3df2acd.js +0 -6
  1364. package/dist/calcite/p-e5f48609.js +0 -6
  1365. package/dist/calcite/p-e60c1918.js +0 -6
  1366. package/dist/calcite/p-e8d86fad.js +0 -6
  1367. package/dist/calcite/p-e9fbf490.js +0 -6
  1368. package/dist/calcite/p-ea6ffca6.js +0 -6
  1369. package/dist/calcite/p-ea73c9fc.js +0 -6
  1370. package/dist/calcite/p-eb0106b0.entry.js +0 -6
  1371. package/dist/calcite/p-edbc45e8.js +0 -6
  1372. package/dist/calcite/p-f1a9294a.entry.js +0 -6
  1373. package/dist/calcite/p-f322860b.entry.js +0 -6
  1374. package/dist/calcite/p-f4dafcbf.entry.js +0 -6
  1375. package/dist/calcite/p-f508d41c.entry.js +0 -6
  1376. package/dist/calcite/p-f6b395e1.entry.js +0 -6
  1377. package/dist/calcite/p-f7bcdc8d.js +0 -6
  1378. package/dist/calcite/p-f874005b.js +0 -6
  1379. package/dist/calcite/p-fac965ea.entry.js +0 -6
  1380. package/dist/calcite/p-fc0e732a.js +0 -6
  1381. package/dist/calcite/p-fe0daebb.js +0 -6
  1382. package/dist/calcite/p-fe228829.js +0 -6
  1383. package/dist/cjs/ExpandToggle-68f73570.js +0 -107
  1384. package/dist/cjs/FloatingArrow-513ea71e.js +0 -45
  1385. package/dist/cjs/Heading-30cd5f48.js +0 -20
  1386. package/dist/cjs/app-globals-eb54ddf6.js +0 -59
  1387. package/dist/cjs/ar-13f4acaf.js +0 -97
  1388. package/dist/cjs/array-3e79ec78.js +0 -12
  1389. package/dist/cjs/bg-a653c8c1.js +0 -78
  1390. package/dist/cjs/bs-8f91e30f.js +0 -47
  1391. package/dist/cjs/ca-403ddad6.js +0 -67
  1392. package/dist/cjs/calcite-input-time-picker.calcite-time-picker-07468368.js +0 -2823
  1393. package/dist/cjs/conditionalSlot-ee7a649a.js +0 -58
  1394. package/dist/cjs/cs-edff7e02.js +0 -143
  1395. package/dist/cjs/da-7ca28741.js +0 -62
  1396. package/dist/cjs/de-5da2d5f4.js +0 -87
  1397. package/dist/cjs/de-at-a3c3758c.js +0 -86
  1398. package/dist/cjs/de-ch-ba29f3a0.js +0 -86
  1399. package/dist/cjs/debounce-a084c5d5.js +0 -496
  1400. package/dist/cjs/dom-24dbae52.js +0 -1056
  1401. package/dist/cjs/el-fdac48c2.js +0 -62
  1402. package/dist/cjs/en-au-aaa7ef21.js +0 -62
  1403. package/dist/cjs/en-ca-f46b1c17.js +0 -61
  1404. package/dist/cjs/en-gb-5b1c2558.js +0 -65
  1405. package/dist/cjs/es-cb50ba07.js +0 -62
  1406. package/dist/cjs/es-mx-d8af76c1.js +0 -61
  1407. package/dist/cjs/et-9ab74b53.js +0 -88
  1408. package/dist/cjs/fi-4c9cb374.js +0 -111
  1409. package/dist/cjs/filter-8be40b18.js +0 -760
  1410. package/dist/cjs/floating-ui-1d02bb12.js +0 -1883
  1411. package/dist/cjs/focusTrapComponent-b70ff299.js +0 -999
  1412. package/dist/cjs/form-edf52f09.js +0 -283
  1413. package/dist/cjs/fr-97d3e65f.js +0 -64
  1414. package/dist/cjs/fr-ch-35dcbb00.js +0 -62
  1415. package/dist/cjs/guid-a424359b.js +0 -21
  1416. package/dist/cjs/he-33997ee3.js +0 -101
  1417. package/dist/cjs/hi-ddaa033c.js +0 -61
  1418. package/dist/cjs/hr-d7d00ce6.js +0 -76
  1419. package/dist/cjs/hu-fc9b25ad.js +0 -84
  1420. package/dist/cjs/id-bc4232c9.js +0 -62
  1421. package/dist/cjs/index-c06121c7.js +0 -2315
  1422. package/dist/cjs/interactive-9b8921be.js +0 -150
  1423. package/dist/cjs/it-559897e3.js +0 -62
  1424. package/dist/cjs/it-ch-b9bba77f.js +0 -62
  1425. package/dist/cjs/ja-1a041bdb.js +0 -68
  1426. package/dist/cjs/key-e83ae952.js +0 -14
  1427. package/dist/cjs/ko-57565c44.js +0 -68
  1428. package/dist/cjs/label-f74dd5b1.js +0 -149
  1429. package/dist/cjs/loadable-9eac6355.js +0 -89
  1430. package/dist/cjs/locale-5a3b9156.js +0 -594
  1431. package/dist/cjs/lt-e3131883.js +0 -93
  1432. package/dist/cjs/lv-6beaf43d.js +0 -62
  1433. package/dist/cjs/math-f90ae930.js +0 -55
  1434. package/dist/cjs/mk-7c2e3620.js +0 -62
  1435. package/dist/cjs/nb-5cb72b8d.js +0 -63
  1436. package/dist/cjs/nl-eec76db9.js +0 -63
  1437. package/dist/cjs/observers-4aff91d1.js +0 -48
  1438. package/dist/cjs/openCloseComponent-d14bdb68.js +0 -84
  1439. package/dist/cjs/pl-3a64124d.js +0 -110
  1440. package/dist/cjs/pt-br-97783149.js +0 -61
  1441. package/dist/cjs/pt-dcdc9a7a.js +0 -63
  1442. package/dist/cjs/resources-0bf0c1bc.js +0 -22
  1443. package/dist/cjs/resources-2ce24a35.js +0 -21
  1444. package/dist/cjs/resources-6a9b5b27.js +0 -410
  1445. package/dist/cjs/resources-9b963607.js +0 -27
  1446. package/dist/cjs/resources-a07f5391.js +0 -24
  1447. package/dist/cjs/resources-c304d959.js +0 -45
  1448. package/dist/cjs/resources-c761e322.js +0 -15
  1449. package/dist/cjs/ro-72d5ab19.js +0 -62
  1450. package/dist/cjs/ru-1ca51d97.js +0 -122
  1451. package/dist/cjs/sk-41ca4cd5.js +0 -144
  1452. package/dist/cjs/sl-96d9b762.js +0 -62
  1453. package/dist/cjs/sortableComponent-7358bdf1.js +0 -3107
  1454. package/dist/cjs/sr-c2eb8a7a.js +0 -97
  1455. package/dist/cjs/sv-dd728bdd.js +0 -67
  1456. package/dist/cjs/t9n-2f2747fe.js +0 -95
  1457. package/dist/cjs/th-e56f729d.js +0 -61
  1458. package/dist/cjs/throttle-f751ffec.js +0 -75
  1459. package/dist/cjs/tr-a4f2b545.js +0 -62
  1460. package/dist/cjs/uk-162e86e7.js +0 -100
  1461. package/dist/cjs/utils-3857ea71.js +0 -216
  1462. package/dist/cjs/utils-53a16819.js +0 -305
  1463. package/dist/cjs/vi-ada2ae00.js +0 -66
  1464. package/dist/cjs/zh-cn-79036fe5.js +0 -90
  1465. package/dist/cjs/zh-hk-283d15a8.js +0 -67
  1466. package/dist/cjs/zh-tw-912106df.js +0 -88
  1467. package/dist/esm/ExpandToggle-34747a7e.js +0 -99
  1468. package/dist/esm/FloatingArrow-f909ccc6.js +0 -43
  1469. package/dist/esm/Heading-d2a0f551.js +0 -17
  1470. package/dist/esm/app-globals-8455ebd0.js +0 -57
  1471. package/dist/esm/ar-a6dfa8aa.js +0 -95
  1472. package/dist/esm/array-3e269331.js +0 -10
  1473. package/dist/esm/bg-53e39987.js +0 -76
  1474. package/dist/esm/bs-d54aa11b.js +0 -45
  1475. package/dist/esm/ca-26d0f4f9.js +0 -65
  1476. package/dist/esm/calcite-input-time-picker.calcite-time-picker-68c4b75b.js +0 -2819
  1477. package/dist/esm/conditionalSlot-0e7ac0f9.js +0 -55
  1478. package/dist/esm/cs-22daa2a9.js +0 -141
  1479. package/dist/esm/da-784a4856.js +0 -60
  1480. package/dist/esm/de-7799399b.js +0 -85
  1481. package/dist/esm/de-at-5dbd261c.js +0 -84
  1482. package/dist/esm/de-ch-f275b0c0.js +0 -84
  1483. package/dist/esm/debounce-4763833d.js +0 -487
  1484. package/dist/esm/dom-a55a6285.js +0 -1027
  1485. package/dist/esm/el-31db4fe2.js +0 -60
  1486. package/dist/esm/en-au-2e7a2bf4.js +0 -60
  1487. package/dist/esm/en-ca-1d937970.js +0 -59
  1488. package/dist/esm/en-gb-c67e29f1.js +0 -63
  1489. package/dist/esm/es-2c3426f8.js +0 -60
  1490. package/dist/esm/es-mx-2257e6a5.js +0 -59
  1491. package/dist/esm/et-2a3de187.js +0 -86
  1492. package/dist/esm/fi-5068573b.js +0 -109
  1493. package/dist/esm/filter-2f7f48e4.js +0 -758
  1494. package/dist/esm/floating-ui-63cbd95c.js +0 -1875
  1495. package/dist/esm/focusTrapComponent-f8681781.js +0 -994
  1496. package/dist/esm/form-47f49d1d.js +0 -275
  1497. package/dist/esm/fr-922fc5f6.js +0 -62
  1498. package/dist/esm/fr-ch-5aed9648.js +0 -60
  1499. package/dist/esm/guid-65accb1d.js +0 -19
  1500. package/dist/esm/he-2e9f8c9d.js +0 -99
  1501. package/dist/esm/hi-e182a600.js +0 -59
  1502. package/dist/esm/hr-0d7b7c28.js +0 -74
  1503. package/dist/esm/hu-f46cfbef.js +0 -82
  1504. package/dist/esm/id-0d722dc1.js +0 -60
  1505. package/dist/esm/index-6d1478d1.js +0 -2280
  1506. package/dist/esm/interactive-34b3a4bf.js +0 -146
  1507. package/dist/esm/it-993cf4a0.js +0 -60
  1508. package/dist/esm/it-ch-dc024326.js +0 -60
  1509. package/dist/esm/ja-f0949e9e.js +0 -66
  1510. package/dist/esm/key-e60ef957.js +0 -11
  1511. package/dist/esm/ko-047803f5.js +0 -66
  1512. package/dist/esm/label-b4b6eab5.js +0 -143
  1513. package/dist/esm/loadable-b3b05489.js +0 -84
  1514. package/dist/esm/locale-cab3dfeb.js +0 -582
  1515. package/dist/esm/lt-db317159.js +0 -91
  1516. package/dist/esm/lv-c034250a.js +0 -60
  1517. package/dist/esm/math-ce3a419f.js +0 -49
  1518. package/dist/esm/mk-8e80c6e2.js +0 -60
  1519. package/dist/esm/nb-712fd989.js +0 -61
  1520. package/dist/esm/nl-bd5e8541.js +0 -61
  1521. package/dist/esm/observers-adb86418.js +0 -46
  1522. package/dist/esm/openCloseComponent-3dec562a.js +0 -82
  1523. package/dist/esm/pl-757d96a6.js +0 -108
  1524. package/dist/esm/pt-76c48f5f.js +0 -61
  1525. package/dist/esm/pt-br-c1f951a0.js +0 -59
  1526. package/dist/esm/resources-0baf1752.js +0 -17
  1527. package/dist/esm/resources-58cb3b95.js +0 -383
  1528. package/dist/esm/resources-73f7cf47.js +0 -18
  1529. package/dist/esm/resources-9045062d.js +0 -21
  1530. package/dist/esm/resources-bf6e17a7.js +0 -15
  1531. package/dist/esm/resources-eb1e3dd1.js +0 -23
  1532. package/dist/esm/resources-efba9e55.js +0 -41
  1533. package/dist/esm/ro-4d823274.js +0 -60
  1534. package/dist/esm/ru-0bc23637.js +0 -120
  1535. package/dist/esm/sk-2cfc4640.js +0 -142
  1536. package/dist/esm/sl-6100e69f.js +0 -60
  1537. package/dist/esm/sortableComponent-1300bcd6.js +0 -3104
  1538. package/dist/esm/sr-fbf87438.js +0 -95
  1539. package/dist/esm/sv-6df9a49f.js +0 -65
  1540. package/dist/esm/t9n-e9267ae7.js +0 -90
  1541. package/dist/esm/th-c11c3249.js +0 -59
  1542. package/dist/esm/throttle-a76c13c2.js +0 -73
  1543. package/dist/esm/tr-257a6cb3.js +0 -60
  1544. package/dist/esm/uk-c7422687.js +0 -98
  1545. package/dist/esm/utils-4e8d0b09.js +0 -198
  1546. package/dist/esm/utils-b6fc08ed.js +0 -287
  1547. package/dist/esm/vi-f4b323c7.js +0 -64
  1548. package/dist/esm/zh-cn-63d4b701.js +0 -88
  1549. package/dist/esm/zh-hk-bcbf6c17.js +0 -65
  1550. package/dist/esm/zh-tw-705c7667.js +0 -86
@@ -1,1883 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.7.0-next.16
5
- */
6
- 'use strict';
7
-
8
- const dom = require('./dom-24dbae52.js');
9
- const debounce = require('./debounce-a084c5d5.js');
10
-
11
- const sides = ['top', 'right', 'bottom', 'left'];
12
- const alignments = ['start', 'end'];
13
- const placements = /*#__PURE__*/sides.reduce((acc, side) => acc.concat(side, side + "-" + alignments[0], side + "-" + alignments[1]), []);
14
- const min = Math.min;
15
- const max = Math.max;
16
- const round = Math.round;
17
- const floor = Math.floor;
18
- const createCoords = v => ({
19
- x: v,
20
- y: v
21
- });
22
- const oppositeSideMap = {
23
- left: 'right',
24
- right: 'left',
25
- bottom: 'top',
26
- top: 'bottom'
27
- };
28
- const oppositeAlignmentMap = {
29
- start: 'end',
30
- end: 'start'
31
- };
32
- function clamp(start, value, end) {
33
- return max(start, min(value, end));
34
- }
35
- function evaluate(value, param) {
36
- return typeof value === 'function' ? value(param) : value;
37
- }
38
- function getSide(placement) {
39
- return placement.split('-')[0];
40
- }
41
- function getAlignment(placement) {
42
- return placement.split('-')[1];
43
- }
44
- function getOppositeAxis(axis) {
45
- return axis === 'x' ? 'y' : 'x';
46
- }
47
- function getAxisLength(axis) {
48
- return axis === 'y' ? 'height' : 'width';
49
- }
50
- function getSideAxis(placement) {
51
- return ['top', 'bottom'].includes(getSide(placement)) ? 'y' : 'x';
52
- }
53
- function getAlignmentAxis(placement) {
54
- return getOppositeAxis(getSideAxis(placement));
55
- }
56
- function getAlignmentSides(placement, rects, rtl) {
57
- if (rtl === void 0) {
58
- rtl = false;
59
- }
60
- const alignment = getAlignment(placement);
61
- const alignmentAxis = getAlignmentAxis(placement);
62
- const length = getAxisLength(alignmentAxis);
63
- let mainAlignmentSide = alignmentAxis === 'x' ? alignment === (rtl ? 'end' : 'start') ? 'right' : 'left' : alignment === 'start' ? 'bottom' : 'top';
64
- if (rects.reference[length] > rects.floating[length]) {
65
- mainAlignmentSide = getOppositePlacement(mainAlignmentSide);
66
- }
67
- return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];
68
- }
69
- function getExpandedPlacements(placement) {
70
- const oppositePlacement = getOppositePlacement(placement);
71
- return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];
72
- }
73
- function getOppositeAlignmentPlacement(placement) {
74
- return placement.replace(/start|end/g, alignment => oppositeAlignmentMap[alignment]);
75
- }
76
- function getSideList(side, isStart, rtl) {
77
- const lr = ['left', 'right'];
78
- const rl = ['right', 'left'];
79
- const tb = ['top', 'bottom'];
80
- const bt = ['bottom', 'top'];
81
- switch (side) {
82
- case 'top':
83
- case 'bottom':
84
- if (rtl) return isStart ? rl : lr;
85
- return isStart ? lr : rl;
86
- case 'left':
87
- case 'right':
88
- return isStart ? tb : bt;
89
- default:
90
- return [];
91
- }
92
- }
93
- function getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {
94
- const alignment = getAlignment(placement);
95
- let list = getSideList(getSide(placement), direction === 'start', rtl);
96
- if (alignment) {
97
- list = list.map(side => side + "-" + alignment);
98
- if (flipAlignment) {
99
- list = list.concat(list.map(getOppositeAlignmentPlacement));
100
- }
101
- }
102
- return list;
103
- }
104
- function getOppositePlacement(placement) {
105
- return placement.replace(/left|right|bottom|top/g, side => oppositeSideMap[side]);
106
- }
107
- function expandPaddingObject(padding) {
108
- return {
109
- top: 0,
110
- right: 0,
111
- bottom: 0,
112
- left: 0,
113
- ...padding
114
- };
115
- }
116
- function getPaddingObject(padding) {
117
- return typeof padding !== 'number' ? expandPaddingObject(padding) : {
118
- top: padding,
119
- right: padding,
120
- bottom: padding,
121
- left: padding
122
- };
123
- }
124
- function rectToClientRect(rect) {
125
- return {
126
- ...rect,
127
- top: rect.y,
128
- left: rect.x,
129
- right: rect.x + rect.width,
130
- bottom: rect.y + rect.height
131
- };
132
- }
133
-
134
- function computeCoordsFromPlacement(_ref, placement, rtl) {
135
- let {
136
- reference,
137
- floating
138
- } = _ref;
139
- const sideAxis = getSideAxis(placement);
140
- const alignmentAxis = getAlignmentAxis(placement);
141
- const alignLength = getAxisLength(alignmentAxis);
142
- const side = getSide(placement);
143
- const isVertical = sideAxis === 'y';
144
- const commonX = reference.x + reference.width / 2 - floating.width / 2;
145
- const commonY = reference.y + reference.height / 2 - floating.height / 2;
146
- const commonAlign = reference[alignLength] / 2 - floating[alignLength] / 2;
147
- let coords;
148
- switch (side) {
149
- case 'top':
150
- coords = {
151
- x: commonX,
152
- y: reference.y - floating.height
153
- };
154
- break;
155
- case 'bottom':
156
- coords = {
157
- x: commonX,
158
- y: reference.y + reference.height
159
- };
160
- break;
161
- case 'right':
162
- coords = {
163
- x: reference.x + reference.width,
164
- y: commonY
165
- };
166
- break;
167
- case 'left':
168
- coords = {
169
- x: reference.x - floating.width,
170
- y: commonY
171
- };
172
- break;
173
- default:
174
- coords = {
175
- x: reference.x,
176
- y: reference.y
177
- };
178
- }
179
- switch (getAlignment(placement)) {
180
- case 'start':
181
- coords[alignmentAxis] -= commonAlign * (rtl && isVertical ? -1 : 1);
182
- break;
183
- case 'end':
184
- coords[alignmentAxis] += commonAlign * (rtl && isVertical ? -1 : 1);
185
- break;
186
- }
187
- return coords;
188
- }
189
-
190
- /**
191
- * Computes the `x` and `y` coordinates that will place the floating element
192
- * next to a reference element when it is given a certain positioning strategy.
193
- *
194
- * This export does not have any `platform` interface logic. You will need to
195
- * write one for the platform you are using Floating UI with.
196
- */
197
- const computePosition$1 = async (reference, floating, config) => {
198
- const {
199
- placement = 'bottom',
200
- strategy = 'absolute',
201
- middleware = [],
202
- platform
203
- } = config;
204
- const validMiddleware = middleware.filter(Boolean);
205
- const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(floating));
206
- let rects = await platform.getElementRects({
207
- reference,
208
- floating,
209
- strategy
210
- });
211
- let {
212
- x,
213
- y
214
- } = computeCoordsFromPlacement(rects, placement, rtl);
215
- let statefulPlacement = placement;
216
- let middlewareData = {};
217
- let resetCount = 0;
218
- for (let i = 0; i < validMiddleware.length; i++) {
219
- const {
220
- name,
221
- fn
222
- } = validMiddleware[i];
223
- const {
224
- x: nextX,
225
- y: nextY,
226
- data,
227
- reset
228
- } = await fn({
229
- x,
230
- y,
231
- initialPlacement: placement,
232
- placement: statefulPlacement,
233
- strategy,
234
- middlewareData,
235
- rects,
236
- platform,
237
- elements: {
238
- reference,
239
- floating
240
- }
241
- });
242
- x = nextX != null ? nextX : x;
243
- y = nextY != null ? nextY : y;
244
- middlewareData = {
245
- ...middlewareData,
246
- [name]: {
247
- ...middlewareData[name],
248
- ...data
249
- }
250
- };
251
- if (reset && resetCount <= 50) {
252
- resetCount++;
253
- if (typeof reset === 'object') {
254
- if (reset.placement) {
255
- statefulPlacement = reset.placement;
256
- }
257
- if (reset.rects) {
258
- rects = reset.rects === true ? await platform.getElementRects({
259
- reference,
260
- floating,
261
- strategy
262
- }) : reset.rects;
263
- }
264
- ({
265
- x,
266
- y
267
- } = computeCoordsFromPlacement(rects, statefulPlacement, rtl));
268
- }
269
- i = -1;
270
- continue;
271
- }
272
- }
273
- return {
274
- x,
275
- y,
276
- placement: statefulPlacement,
277
- strategy,
278
- middlewareData
279
- };
280
- };
281
-
282
- /**
283
- * Resolves with an object of overflow side offsets that determine how much the
284
- * element is overflowing a given clipping boundary on each side.
285
- * - positive = overflowing the boundary by that number of pixels
286
- * - negative = how many pixels left before it will overflow
287
- * - 0 = lies flush with the boundary
288
- * @see https://floating-ui.com/docs/detectOverflow
289
- */
290
- async function detectOverflow(state, options) {
291
- var _await$platform$isEle;
292
- if (options === void 0) {
293
- options = {};
294
- }
295
- const {
296
- x,
297
- y,
298
- platform,
299
- rects,
300
- elements,
301
- strategy
302
- } = state;
303
- const {
304
- boundary = 'clippingAncestors',
305
- rootBoundary = 'viewport',
306
- elementContext = 'floating',
307
- altBoundary = false,
308
- padding = 0
309
- } = evaluate(options, state);
310
- const paddingObject = getPaddingObject(padding);
311
- const altContext = elementContext === 'floating' ? 'reference' : 'floating';
312
- const element = elements[altBoundary ? altContext : elementContext];
313
- const clippingClientRect = rectToClientRect(await platform.getClippingRect({
314
- element: ((_await$platform$isEle = await (platform.isElement == null ? void 0 : platform.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || (await (platform.getDocumentElement == null ? void 0 : platform.getDocumentElement(elements.floating))),
315
- boundary,
316
- rootBoundary,
317
- strategy
318
- }));
319
- const rect = elementContext === 'floating' ? {
320
- ...rects.floating,
321
- x,
322
- y
323
- } : rects.reference;
324
- const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));
325
- const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent))) ? (await (platform.getScale == null ? void 0 : platform.getScale(offsetParent))) || {
326
- x: 1,
327
- y: 1
328
- } : {
329
- x: 1,
330
- y: 1
331
- };
332
- const elementClientRect = rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({
333
- rect,
334
- offsetParent,
335
- strategy
336
- }) : rect);
337
- return {
338
- top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,
339
- bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,
340
- left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,
341
- right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x
342
- };
343
- }
344
-
345
- /**
346
- * Provides data to position an inner element of the floating element so that it
347
- * appears centered to the reference element.
348
- * @see https://floating-ui.com/docs/arrow
349
- */
350
- const arrow = options => ({
351
- name: 'arrow',
352
- options,
353
- async fn(state) {
354
- const {
355
- x,
356
- y,
357
- placement,
358
- rects,
359
- platform,
360
- elements
361
- } = state;
362
- // Since `element` is required, we don't Partial<> the type.
363
- const {
364
- element,
365
- padding = 0
366
- } = evaluate(options, state) || {};
367
- if (element == null) {
368
- return {};
369
- }
370
- const paddingObject = getPaddingObject(padding);
371
- const coords = {
372
- x,
373
- y
374
- };
375
- const axis = getAlignmentAxis(placement);
376
- const length = getAxisLength(axis);
377
- const arrowDimensions = await platform.getDimensions(element);
378
- const isYAxis = axis === 'y';
379
- const minProp = isYAxis ? 'top' : 'left';
380
- const maxProp = isYAxis ? 'bottom' : 'right';
381
- const clientProp = isYAxis ? 'clientHeight' : 'clientWidth';
382
- const endDiff = rects.reference[length] + rects.reference[axis] - coords[axis] - rects.floating[length];
383
- const startDiff = coords[axis] - rects.reference[axis];
384
- const arrowOffsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(element));
385
- let clientSize = arrowOffsetParent ? arrowOffsetParent[clientProp] : 0;
386
-
387
- // DOM platform can return `window` as the `offsetParent`.
388
- if (!clientSize || !(await (platform.isElement == null ? void 0 : platform.isElement(arrowOffsetParent)))) {
389
- clientSize = elements.floating[clientProp] || rects.floating[length];
390
- }
391
- const centerToReference = endDiff / 2 - startDiff / 2;
392
-
393
- // If the padding is large enough that it causes the arrow to no longer be
394
- // centered, modify the padding so that it is centered.
395
- const largestPossiblePadding = clientSize / 2 - arrowDimensions[length] / 2 - 1;
396
- const minPadding = min(paddingObject[minProp], largestPossiblePadding);
397
- const maxPadding = min(paddingObject[maxProp], largestPossiblePadding);
398
-
399
- // Make sure the arrow doesn't overflow the floating element if the center
400
- // point is outside the floating element's bounds.
401
- const min$1 = minPadding;
402
- const max = clientSize - arrowDimensions[length] - maxPadding;
403
- const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;
404
- const offset = clamp(min$1, center, max);
405
-
406
- // If the reference is small enough that the arrow's padding causes it to
407
- // to point to nothing for an aligned placement, adjust the offset of the
408
- // floating element itself. This stops `shift()` from taking action, but can
409
- // be worked around by calling it again after the `arrow()` if desired.
410
- const shouldAddOffset = getAlignment(placement) != null && center != offset && rects.reference[length] / 2 - (center < min$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
411
- const alignmentOffset = shouldAddOffset ? center < min$1 ? min$1 - center : max - center : 0;
412
- return {
413
- [axis]: coords[axis] - alignmentOffset,
414
- data: {
415
- [axis]: offset,
416
- centerOffset: center - offset + alignmentOffset
417
- }
418
- };
419
- }
420
- });
421
-
422
- function getPlacementList(alignment, autoAlignment, allowedPlacements) {
423
- const allowedPlacementsSortedByAlignment = alignment ? [...allowedPlacements.filter(placement => getAlignment(placement) === alignment), ...allowedPlacements.filter(placement => getAlignment(placement) !== alignment)] : allowedPlacements.filter(placement => getSide(placement) === placement);
424
- return allowedPlacementsSortedByAlignment.filter(placement => {
425
- if (alignment) {
426
- return getAlignment(placement) === alignment || (autoAlignment ? getOppositeAlignmentPlacement(placement) !== placement : false);
427
- }
428
- return true;
429
- });
430
- }
431
- /**
432
- * Optimizes the visibility of the floating element by choosing the placement
433
- * that has the most space available automatically, without needing to specify a
434
- * preferred placement. Alternative to `flip`.
435
- * @see https://floating-ui.com/docs/autoPlacement
436
- */
437
- const autoPlacement = function (options) {
438
- if (options === void 0) {
439
- options = {};
440
- }
441
- return {
442
- name: 'autoPlacement',
443
- options,
444
- async fn(state) {
445
- var _middlewareData$autoP, _middlewareData$autoP2, _placementsThatFitOnE;
446
- const {
447
- rects,
448
- middlewareData,
449
- placement,
450
- platform,
451
- elements
452
- } = state;
453
- const {
454
- crossAxis = false,
455
- alignment,
456
- allowedPlacements = placements,
457
- autoAlignment = true,
458
- ...detectOverflowOptions
459
- } = evaluate(options, state);
460
- const placements$1 = alignment !== undefined || allowedPlacements === placements ? getPlacementList(alignment || null, autoAlignment, allowedPlacements) : allowedPlacements;
461
- const overflow = await detectOverflow(state, detectOverflowOptions);
462
- const currentIndex = ((_middlewareData$autoP = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP.index) || 0;
463
- const currentPlacement = placements$1[currentIndex];
464
- if (currentPlacement == null) {
465
- return {};
466
- }
467
- const alignmentSides = getAlignmentSides(currentPlacement, rects, await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating)));
468
-
469
- // Make `computeCoords` start from the right place.
470
- if (placement !== currentPlacement) {
471
- return {
472
- reset: {
473
- placement: placements$1[0]
474
- }
475
- };
476
- }
477
- const currentOverflows = [overflow[getSide(currentPlacement)], overflow[alignmentSides[0]], overflow[alignmentSides[1]]];
478
- const allOverflows = [...(((_middlewareData$autoP2 = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP2.overflows) || []), {
479
- placement: currentPlacement,
480
- overflows: currentOverflows
481
- }];
482
- const nextPlacement = placements$1[currentIndex + 1];
483
-
484
- // There are more placements to check.
485
- if (nextPlacement) {
486
- return {
487
- data: {
488
- index: currentIndex + 1,
489
- overflows: allOverflows
490
- },
491
- reset: {
492
- placement: nextPlacement
493
- }
494
- };
495
- }
496
- const placementsSortedByMostSpace = allOverflows.map(d => {
497
- const alignment = getAlignment(d.placement);
498
- return [d.placement, alignment && crossAxis ?
499
- // Check along the mainAxis and main crossAxis side.
500
- d.overflows.slice(0, 2).reduce((acc, v) => acc + v, 0) :
501
- // Check only the mainAxis.
502
- d.overflows[0], d.overflows];
503
- }).sort((a, b) => a[1] - b[1]);
504
- const placementsThatFitOnEachSide = placementsSortedByMostSpace.filter(d => d[2].slice(0,
505
- // Aligned placements should not check their opposite crossAxis
506
- // side.
507
- getAlignment(d[0]) ? 2 : 3).every(v => v <= 0));
508
- const resetPlacement = ((_placementsThatFitOnE = placementsThatFitOnEachSide[0]) == null ? void 0 : _placementsThatFitOnE[0]) || placementsSortedByMostSpace[0][0];
509
- if (resetPlacement !== placement) {
510
- return {
511
- data: {
512
- index: currentIndex + 1,
513
- overflows: allOverflows
514
- },
515
- reset: {
516
- placement: resetPlacement
517
- }
518
- };
519
- }
520
- return {};
521
- }
522
- };
523
- };
524
-
525
- /**
526
- * Optimizes the visibility of the floating element by flipping the `placement`
527
- * in order to keep it in view when the preferred placement(s) will overflow the
528
- * clipping boundary. Alternative to `autoPlacement`.
529
- * @see https://floating-ui.com/docs/flip
530
- */
531
- const flip = function (options) {
532
- if (options === void 0) {
533
- options = {};
534
- }
535
- return {
536
- name: 'flip',
537
- options,
538
- async fn(state) {
539
- var _middlewareData$flip;
540
- const {
541
- placement,
542
- middlewareData,
543
- rects,
544
- initialPlacement,
545
- platform,
546
- elements
547
- } = state;
548
- const {
549
- mainAxis: checkMainAxis = true,
550
- crossAxis: checkCrossAxis = true,
551
- fallbackPlacements: specifiedFallbackPlacements,
552
- fallbackStrategy = 'bestFit',
553
- fallbackAxisSideDirection = 'none',
554
- flipAlignment = true,
555
- ...detectOverflowOptions
556
- } = evaluate(options, state);
557
- const side = getSide(placement);
558
- const isBasePlacement = getSide(initialPlacement) === initialPlacement;
559
- const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
560
- const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));
561
- if (!specifiedFallbackPlacements && fallbackAxisSideDirection !== 'none') {
562
- fallbackPlacements.push(...getOppositeAxisPlacements(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl));
563
- }
564
- const placements = [initialPlacement, ...fallbackPlacements];
565
- const overflow = await detectOverflow(state, detectOverflowOptions);
566
- const overflows = [];
567
- let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];
568
- if (checkMainAxis) {
569
- overflows.push(overflow[side]);
570
- }
571
- if (checkCrossAxis) {
572
- const sides = getAlignmentSides(placement, rects, rtl);
573
- overflows.push(overflow[sides[0]], overflow[sides[1]]);
574
- }
575
- overflowsData = [...overflowsData, {
576
- placement,
577
- overflows
578
- }];
579
-
580
- // One or more sides is overflowing.
581
- if (!overflows.every(side => side <= 0)) {
582
- var _middlewareData$flip2, _overflowsData$filter;
583
- const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
584
- const nextPlacement = placements[nextIndex];
585
- if (nextPlacement) {
586
- // Try next placement and re-run the lifecycle.
587
- return {
588
- data: {
589
- index: nextIndex,
590
- overflows: overflowsData
591
- },
592
- reset: {
593
- placement: nextPlacement
594
- }
595
- };
596
- }
597
-
598
- // First, find the candidates that fit on the mainAxis side of overflow,
599
- // then find the placement that fits the best on the main crossAxis side.
600
- let resetPlacement = (_overflowsData$filter = overflowsData.filter(d => d.overflows[0] <= 0).sort((a, b) => a.overflows[1] - b.overflows[1])[0]) == null ? void 0 : _overflowsData$filter.placement;
601
-
602
- // Otherwise fallback.
603
- if (!resetPlacement) {
604
- switch (fallbackStrategy) {
605
- case 'bestFit':
606
- {
607
- var _overflowsData$map$so;
608
- const placement = (_overflowsData$map$so = overflowsData.map(d => [d.placement, d.overflows.filter(overflow => overflow > 0).reduce((acc, overflow) => acc + overflow, 0)]).sort((a, b) => a[1] - b[1])[0]) == null ? void 0 : _overflowsData$map$so[0];
609
- if (placement) {
610
- resetPlacement = placement;
611
- }
612
- break;
613
- }
614
- case 'initialPlacement':
615
- resetPlacement = initialPlacement;
616
- break;
617
- }
618
- }
619
- if (placement !== resetPlacement) {
620
- return {
621
- reset: {
622
- placement: resetPlacement
623
- }
624
- };
625
- }
626
- }
627
- return {};
628
- }
629
- };
630
- };
631
-
632
- function getSideOffsets(overflow, rect) {
633
- return {
634
- top: overflow.top - rect.height,
635
- right: overflow.right - rect.width,
636
- bottom: overflow.bottom - rect.height,
637
- left: overflow.left - rect.width
638
- };
639
- }
640
- function isAnySideFullyClipped(overflow) {
641
- return sides.some(side => overflow[side] >= 0);
642
- }
643
- /**
644
- * Provides data to hide the floating element in applicable situations, such as
645
- * when it is not in the same clipping context as the reference element.
646
- * @see https://floating-ui.com/docs/hide
647
- */
648
- const hide = function (options) {
649
- if (options === void 0) {
650
- options = {};
651
- }
652
- return {
653
- name: 'hide',
654
- options,
655
- async fn(state) {
656
- const {
657
- rects
658
- } = state;
659
- const {
660
- strategy = 'referenceHidden',
661
- ...detectOverflowOptions
662
- } = evaluate(options, state);
663
- switch (strategy) {
664
- case 'referenceHidden':
665
- {
666
- const overflow = await detectOverflow(state, {
667
- ...detectOverflowOptions,
668
- elementContext: 'reference'
669
- });
670
- const offsets = getSideOffsets(overflow, rects.reference);
671
- return {
672
- data: {
673
- referenceHiddenOffsets: offsets,
674
- referenceHidden: isAnySideFullyClipped(offsets)
675
- }
676
- };
677
- }
678
- case 'escaped':
679
- {
680
- const overflow = await detectOverflow(state, {
681
- ...detectOverflowOptions,
682
- altBoundary: true
683
- });
684
- const offsets = getSideOffsets(overflow, rects.floating);
685
- return {
686
- data: {
687
- escapedOffsets: offsets,
688
- escaped: isAnySideFullyClipped(offsets)
689
- }
690
- };
691
- }
692
- default:
693
- {
694
- return {};
695
- }
696
- }
697
- }
698
- };
699
- };
700
-
701
- // For type backwards-compatibility, the `OffsetOptions` type was also
702
- // Derivable.
703
- async function convertValueToCoords(state, options) {
704
- const {
705
- placement,
706
- platform,
707
- elements
708
- } = state;
709
- const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
710
- const side = getSide(placement);
711
- const alignment = getAlignment(placement);
712
- const isVertical = getSideAxis(placement) === 'y';
713
- const mainAxisMulti = ['left', 'top'].includes(side) ? -1 : 1;
714
- const crossAxisMulti = rtl && isVertical ? -1 : 1;
715
- const rawValue = evaluate(options, state);
716
-
717
- // eslint-disable-next-line prefer-const
718
- let {
719
- mainAxis,
720
- crossAxis,
721
- alignmentAxis
722
- } = typeof rawValue === 'number' ? {
723
- mainAxis: rawValue,
724
- crossAxis: 0,
725
- alignmentAxis: null
726
- } : {
727
- mainAxis: 0,
728
- crossAxis: 0,
729
- alignmentAxis: null,
730
- ...rawValue
731
- };
732
- if (alignment && typeof alignmentAxis === 'number') {
733
- crossAxis = alignment === 'end' ? alignmentAxis * -1 : alignmentAxis;
734
- }
735
- return isVertical ? {
736
- x: crossAxis * crossAxisMulti,
737
- y: mainAxis * mainAxisMulti
738
- } : {
739
- x: mainAxis * mainAxisMulti,
740
- y: crossAxis * crossAxisMulti
741
- };
742
- }
743
-
744
- /**
745
- * Modifies the placement by translating the floating element along the
746
- * specified axes.
747
- * A number (shorthand for `mainAxis` or distance), or an axes configuration
748
- * object may be passed.
749
- * @see https://floating-ui.com/docs/offset
750
- */
751
- const offset = function (options) {
752
- if (options === void 0) {
753
- options = 0;
754
- }
755
- return {
756
- name: 'offset',
757
- options,
758
- async fn(state) {
759
- const {
760
- x,
761
- y
762
- } = state;
763
- const diffCoords = await convertValueToCoords(state, options);
764
- return {
765
- x: x + diffCoords.x,
766
- y: y + diffCoords.y,
767
- data: diffCoords
768
- };
769
- }
770
- };
771
- };
772
-
773
- /**
774
- * Optimizes the visibility of the floating element by shifting it in order to
775
- * keep it in view when it will overflow the clipping boundary.
776
- * @see https://floating-ui.com/docs/shift
777
- */
778
- const shift = function (options) {
779
- if (options === void 0) {
780
- options = {};
781
- }
782
- return {
783
- name: 'shift',
784
- options,
785
- async fn(state) {
786
- const {
787
- x,
788
- y,
789
- placement
790
- } = state;
791
- const {
792
- mainAxis: checkMainAxis = true,
793
- crossAxis: checkCrossAxis = false,
794
- limiter = {
795
- fn: _ref => {
796
- let {
797
- x,
798
- y
799
- } = _ref;
800
- return {
801
- x,
802
- y
803
- };
804
- }
805
- },
806
- ...detectOverflowOptions
807
- } = evaluate(options, state);
808
- const coords = {
809
- x,
810
- y
811
- };
812
- const overflow = await detectOverflow(state, detectOverflowOptions);
813
- const crossAxis = getSideAxis(getSide(placement));
814
- const mainAxis = getOppositeAxis(crossAxis);
815
- let mainAxisCoord = coords[mainAxis];
816
- let crossAxisCoord = coords[crossAxis];
817
- if (checkMainAxis) {
818
- const minSide = mainAxis === 'y' ? 'top' : 'left';
819
- const maxSide = mainAxis === 'y' ? 'bottom' : 'right';
820
- const min = mainAxisCoord + overflow[minSide];
821
- const max = mainAxisCoord - overflow[maxSide];
822
- mainAxisCoord = clamp(min, mainAxisCoord, max);
823
- }
824
- if (checkCrossAxis) {
825
- const minSide = crossAxis === 'y' ? 'top' : 'left';
826
- const maxSide = crossAxis === 'y' ? 'bottom' : 'right';
827
- const min = crossAxisCoord + overflow[minSide];
828
- const max = crossAxisCoord - overflow[maxSide];
829
- crossAxisCoord = clamp(min, crossAxisCoord, max);
830
- }
831
- const limitedCoords = limiter.fn({
832
- ...state,
833
- [mainAxis]: mainAxisCoord,
834
- [crossAxis]: crossAxisCoord
835
- });
836
- return {
837
- ...limitedCoords,
838
- data: {
839
- x: limitedCoords.x - x,
840
- y: limitedCoords.y - y
841
- }
842
- };
843
- }
844
- };
845
- };
846
-
847
- function getNodeName(node) {
848
- if (isNode(node)) {
849
- return (node.nodeName || '').toLowerCase();
850
- }
851
- // Mocked nodes in testing environments may not be instances of Node. By
852
- // returning `#document` an infinite loop won't occur.
853
- // https://github.com/floating-ui/floating-ui/issues/2317
854
- return '#document';
855
- }
856
- function getWindow(node) {
857
- var _node$ownerDocument;
858
- return (node == null ? void 0 : (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
859
- }
860
- function getDocumentElement(node) {
861
- var _ref;
862
- return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;
863
- }
864
- function isNode(value) {
865
- return value instanceof Node || value instanceof getWindow(value).Node;
866
- }
867
- function isElement(value) {
868
- return value instanceof Element || value instanceof getWindow(value).Element;
869
- }
870
- function isHTMLElement(value) {
871
- return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;
872
- }
873
- function isShadowRoot(value) {
874
- // Browsers without `ShadowRoot` support.
875
- if (typeof ShadowRoot === 'undefined') {
876
- return false;
877
- }
878
- return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;
879
- }
880
- function isOverflowElement(element) {
881
- const {
882
- overflow,
883
- overflowX,
884
- overflowY,
885
- display
886
- } = getComputedStyle$1(element);
887
- return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !['inline', 'contents'].includes(display);
888
- }
889
- function isTableElement(element) {
890
- return ['table', 'td', 'th'].includes(getNodeName(element));
891
- }
892
- function isContainingBlock(element) {
893
- const webkit = isWebKit();
894
- const css = getComputedStyle$1(element);
895
-
896
- // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
897
- return css.transform !== 'none' || css.perspective !== 'none' || (css.containerType ? css.containerType !== 'normal' : false) || !webkit && (css.backdropFilter ? css.backdropFilter !== 'none' : false) || !webkit && (css.filter ? css.filter !== 'none' : false) || ['transform', 'perspective', 'filter'].some(value => (css.willChange || '').includes(value)) || ['paint', 'layout', 'strict', 'content'].some(value => (css.contain || '').includes(value));
898
- }
899
- function getContainingBlock(element) {
900
- let currentNode = getParentNode(element);
901
- while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {
902
- if (isContainingBlock(currentNode)) {
903
- return currentNode;
904
- } else {
905
- currentNode = getParentNode(currentNode);
906
- }
907
- }
908
- return null;
909
- }
910
- function isWebKit() {
911
- if (typeof CSS === 'undefined' || !CSS.supports) return false;
912
- return CSS.supports('-webkit-backdrop-filter', 'none');
913
- }
914
- function isLastTraversableNode(node) {
915
- return ['html', 'body', '#document'].includes(getNodeName(node));
916
- }
917
- function getComputedStyle$1(element) {
918
- return getWindow(element).getComputedStyle(element);
919
- }
920
- function getNodeScroll(element) {
921
- if (isElement(element)) {
922
- return {
923
- scrollLeft: element.scrollLeft,
924
- scrollTop: element.scrollTop
925
- };
926
- }
927
- return {
928
- scrollLeft: element.pageXOffset,
929
- scrollTop: element.pageYOffset
930
- };
931
- }
932
- function getParentNode(node) {
933
- if (getNodeName(node) === 'html') {
934
- return node;
935
- }
936
- const result =
937
- // Step into the shadow DOM of the parent of a slotted node.
938
- node.assignedSlot ||
939
- // DOM Element detected.
940
- node.parentNode ||
941
- // ShadowRoot detected.
942
- isShadowRoot(node) && node.host ||
943
- // Fallback.
944
- getDocumentElement(node);
945
- return isShadowRoot(result) ? result.host : result;
946
- }
947
- function getNearestOverflowAncestor(node) {
948
- const parentNode = getParentNode(node);
949
- if (isLastTraversableNode(parentNode)) {
950
- return node.ownerDocument ? node.ownerDocument.body : node.body;
951
- }
952
- if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {
953
- return parentNode;
954
- }
955
- return getNearestOverflowAncestor(parentNode);
956
- }
957
- function getOverflowAncestors(node, list) {
958
- var _node$ownerDocument2;
959
- if (list === void 0) {
960
- list = [];
961
- }
962
- const scrollableAncestor = getNearestOverflowAncestor(node);
963
- const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
964
- const win = getWindow(scrollableAncestor);
965
- if (isBody) {
966
- return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : []);
967
- }
968
- return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor));
969
- }
970
-
971
- function getCssDimensions(element) {
972
- const css = getComputedStyle$1(element);
973
- // In testing environments, the `width` and `height` properties are empty
974
- // strings for SVG elements, returning NaN. Fallback to `0` in this case.
975
- let width = parseFloat(css.width) || 0;
976
- let height = parseFloat(css.height) || 0;
977
- const hasOffset = isHTMLElement(element);
978
- const offsetWidth = hasOffset ? element.offsetWidth : width;
979
- const offsetHeight = hasOffset ? element.offsetHeight : height;
980
- const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;
981
- if (shouldFallback) {
982
- width = offsetWidth;
983
- height = offsetHeight;
984
- }
985
- return {
986
- width,
987
- height,
988
- $: shouldFallback
989
- };
990
- }
991
-
992
- function unwrapElement(element) {
993
- return !isElement(element) ? element.contextElement : element;
994
- }
995
-
996
- function getScale(element) {
997
- const domElement = unwrapElement(element);
998
- if (!isHTMLElement(domElement)) {
999
- return createCoords(1);
1000
- }
1001
- const rect = domElement.getBoundingClientRect();
1002
- const {
1003
- width,
1004
- height,
1005
- $
1006
- } = getCssDimensions(domElement);
1007
- let x = ($ ? round(rect.width) : rect.width) / width;
1008
- let y = ($ ? round(rect.height) : rect.height) / height;
1009
-
1010
- // 0, NaN, or Infinity should always fallback to 1.
1011
-
1012
- if (!x || !Number.isFinite(x)) {
1013
- x = 1;
1014
- }
1015
- if (!y || !Number.isFinite(y)) {
1016
- y = 1;
1017
- }
1018
- return {
1019
- x,
1020
- y
1021
- };
1022
- }
1023
-
1024
- const noOffsets = /*#__PURE__*/createCoords(0);
1025
- function getVisualOffsets(element) {
1026
- const win = getWindow(element);
1027
- if (!isWebKit() || !win.visualViewport) {
1028
- return noOffsets;
1029
- }
1030
- return {
1031
- x: win.visualViewport.offsetLeft,
1032
- y: win.visualViewport.offsetTop
1033
- };
1034
- }
1035
- function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
1036
- if (isFixed === void 0) {
1037
- isFixed = false;
1038
- }
1039
- if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow(element)) {
1040
- return false;
1041
- }
1042
- return isFixed;
1043
- }
1044
-
1045
- function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {
1046
- if (includeScale === void 0) {
1047
- includeScale = false;
1048
- }
1049
- if (isFixedStrategy === void 0) {
1050
- isFixedStrategy = false;
1051
- }
1052
- const clientRect = element.getBoundingClientRect();
1053
- const domElement = unwrapElement(element);
1054
- let scale = createCoords(1);
1055
- if (includeScale) {
1056
- if (offsetParent) {
1057
- if (isElement(offsetParent)) {
1058
- scale = getScale(offsetParent);
1059
- }
1060
- } else {
1061
- scale = getScale(element);
1062
- }
1063
- }
1064
- const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);
1065
- let x = (clientRect.left + visualOffsets.x) / scale.x;
1066
- let y = (clientRect.top + visualOffsets.y) / scale.y;
1067
- let width = clientRect.width / scale.x;
1068
- let height = clientRect.height / scale.y;
1069
- if (domElement) {
1070
- const win = getWindow(domElement);
1071
- const offsetWin = offsetParent && isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;
1072
- let currentIFrame = win.frameElement;
1073
- while (currentIFrame && offsetParent && offsetWin !== win) {
1074
- const iframeScale = getScale(currentIFrame);
1075
- const iframeRect = currentIFrame.getBoundingClientRect();
1076
- const css = getComputedStyle$1(currentIFrame);
1077
- const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;
1078
- const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;
1079
- x *= iframeScale.x;
1080
- y *= iframeScale.y;
1081
- width *= iframeScale.x;
1082
- height *= iframeScale.y;
1083
- x += left;
1084
- y += top;
1085
- currentIFrame = getWindow(currentIFrame).frameElement;
1086
- }
1087
- }
1088
- return rectToClientRect({
1089
- width,
1090
- height,
1091
- x,
1092
- y
1093
- });
1094
- }
1095
-
1096
- function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
1097
- let {
1098
- rect,
1099
- offsetParent,
1100
- strategy
1101
- } = _ref;
1102
- const isOffsetParentAnElement = isHTMLElement(offsetParent);
1103
- const documentElement = getDocumentElement(offsetParent);
1104
- if (offsetParent === documentElement) {
1105
- return rect;
1106
- }
1107
- let scroll = {
1108
- scrollLeft: 0,
1109
- scrollTop: 0
1110
- };
1111
- let scale = createCoords(1);
1112
- const offsets = createCoords(0);
1113
- if (isOffsetParentAnElement || !isOffsetParentAnElement && strategy !== 'fixed') {
1114
- if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
1115
- scroll = getNodeScroll(offsetParent);
1116
- }
1117
- if (isHTMLElement(offsetParent)) {
1118
- const offsetRect = getBoundingClientRect(offsetParent);
1119
- scale = getScale(offsetParent);
1120
- offsets.x = offsetRect.x + offsetParent.clientLeft;
1121
- offsets.y = offsetRect.y + offsetParent.clientTop;
1122
- }
1123
- }
1124
- return {
1125
- width: rect.width * scale.x,
1126
- height: rect.height * scale.y,
1127
- x: rect.x * scale.x - scroll.scrollLeft * scale.x + offsets.x,
1128
- y: rect.y * scale.y - scroll.scrollTop * scale.y + offsets.y
1129
- };
1130
- }
1131
-
1132
- function getClientRects(element) {
1133
- return Array.from(element.getClientRects());
1134
- }
1135
-
1136
- function getWindowScrollBarX(element) {
1137
- // If <html> has a CSS width greater than the viewport, then this will be
1138
- // incorrect for RTL.
1139
- return getBoundingClientRect(getDocumentElement(element)).left + getNodeScroll(element).scrollLeft;
1140
- }
1141
-
1142
- // Gets the entire size of the scrollable document area, even extending outside
1143
- // of the `<html>` and `<body>` rect bounds if horizontally scrollable.
1144
- function getDocumentRect(element) {
1145
- const html = getDocumentElement(element);
1146
- const scroll = getNodeScroll(element);
1147
- const body = element.ownerDocument.body;
1148
- const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);
1149
- const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);
1150
- let x = -scroll.scrollLeft + getWindowScrollBarX(element);
1151
- const y = -scroll.scrollTop;
1152
- if (getComputedStyle$1(body).direction === 'rtl') {
1153
- x += max(html.clientWidth, body.clientWidth) - width;
1154
- }
1155
- return {
1156
- width,
1157
- height,
1158
- x,
1159
- y
1160
- };
1161
- }
1162
-
1163
- function getViewportRect(element, strategy) {
1164
- const win = getWindow(element);
1165
- const html = getDocumentElement(element);
1166
- const visualViewport = win.visualViewport;
1167
- let width = html.clientWidth;
1168
- let height = html.clientHeight;
1169
- let x = 0;
1170
- let y = 0;
1171
- if (visualViewport) {
1172
- width = visualViewport.width;
1173
- height = visualViewport.height;
1174
- const visualViewportBased = isWebKit();
1175
- if (!visualViewportBased || visualViewportBased && strategy === 'fixed') {
1176
- x = visualViewport.offsetLeft;
1177
- y = visualViewport.offsetTop;
1178
- }
1179
- }
1180
- return {
1181
- width,
1182
- height,
1183
- x,
1184
- y
1185
- };
1186
- }
1187
-
1188
- // Returns the inner client rect, subtracting scrollbars if present.
1189
- function getInnerBoundingClientRect(element, strategy) {
1190
- const clientRect = getBoundingClientRect(element, true, strategy === 'fixed');
1191
- const top = clientRect.top + element.clientTop;
1192
- const left = clientRect.left + element.clientLeft;
1193
- const scale = isHTMLElement(element) ? getScale(element) : createCoords(1);
1194
- const width = element.clientWidth * scale.x;
1195
- const height = element.clientHeight * scale.y;
1196
- const x = left * scale.x;
1197
- const y = top * scale.y;
1198
- return {
1199
- width,
1200
- height,
1201
- x,
1202
- y
1203
- };
1204
- }
1205
- function getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {
1206
- let rect;
1207
- if (clippingAncestor === 'viewport') {
1208
- rect = getViewportRect(element, strategy);
1209
- } else if (clippingAncestor === 'document') {
1210
- rect = getDocumentRect(getDocumentElement(element));
1211
- } else if (isElement(clippingAncestor)) {
1212
- rect = getInnerBoundingClientRect(clippingAncestor, strategy);
1213
- } else {
1214
- const visualOffsets = getVisualOffsets(element);
1215
- rect = {
1216
- ...clippingAncestor,
1217
- x: clippingAncestor.x - visualOffsets.x,
1218
- y: clippingAncestor.y - visualOffsets.y
1219
- };
1220
- }
1221
- return rectToClientRect(rect);
1222
- }
1223
- function hasFixedPositionAncestor(element, stopNode) {
1224
- const parentNode = getParentNode(element);
1225
- if (parentNode === stopNode || !isElement(parentNode) || isLastTraversableNode(parentNode)) {
1226
- return false;
1227
- }
1228
- return getComputedStyle$1(parentNode).position === 'fixed' || hasFixedPositionAncestor(parentNode, stopNode);
1229
- }
1230
-
1231
- // A "clipping ancestor" is an `overflow` element with the characteristic of
1232
- // clipping (or hiding) child elements. This returns all clipping ancestors
1233
- // of the given element up the tree.
1234
- function getClippingElementAncestors(element, cache) {
1235
- const cachedResult = cache.get(element);
1236
- if (cachedResult) {
1237
- return cachedResult;
1238
- }
1239
- let result = getOverflowAncestors(element).filter(el => isElement(el) && getNodeName(el) !== 'body');
1240
- let currentContainingBlockComputedStyle = null;
1241
- const elementIsFixed = getComputedStyle$1(element).position === 'fixed';
1242
- let currentNode = elementIsFixed ? getParentNode(element) : element;
1243
-
1244
- // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
1245
- while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {
1246
- const computedStyle = getComputedStyle$1(currentNode);
1247
- const currentNodeIsContaining = isContainingBlock(currentNode);
1248
- if (!currentNodeIsContaining && computedStyle.position === 'fixed') {
1249
- currentContainingBlockComputedStyle = null;
1250
- }
1251
- const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle && ['absolute', 'fixed'].includes(currentContainingBlockComputedStyle.position) || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);
1252
- if (shouldDropCurrentNode) {
1253
- // Drop non-containing blocks.
1254
- result = result.filter(ancestor => ancestor !== currentNode);
1255
- } else {
1256
- // Record last containing block for next iteration.
1257
- currentContainingBlockComputedStyle = computedStyle;
1258
- }
1259
- currentNode = getParentNode(currentNode);
1260
- }
1261
- cache.set(element, result);
1262
- return result;
1263
- }
1264
-
1265
- // Gets the maximum area that the element is visible in due to any number of
1266
- // clipping ancestors.
1267
- function getClippingRect(_ref) {
1268
- let {
1269
- element,
1270
- boundary,
1271
- rootBoundary,
1272
- strategy
1273
- } = _ref;
1274
- const elementClippingAncestors = boundary === 'clippingAncestors' ? getClippingElementAncestors(element, this._c) : [].concat(boundary);
1275
- const clippingAncestors = [...elementClippingAncestors, rootBoundary];
1276
- const firstClippingAncestor = clippingAncestors[0];
1277
- const clippingRect = clippingAncestors.reduce((accRect, clippingAncestor) => {
1278
- const rect = getClientRectFromClippingAncestor(element, clippingAncestor, strategy);
1279
- accRect.top = max(rect.top, accRect.top);
1280
- accRect.right = min(rect.right, accRect.right);
1281
- accRect.bottom = min(rect.bottom, accRect.bottom);
1282
- accRect.left = max(rect.left, accRect.left);
1283
- return accRect;
1284
- }, getClientRectFromClippingAncestor(element, firstClippingAncestor, strategy));
1285
- return {
1286
- width: clippingRect.right - clippingRect.left,
1287
- height: clippingRect.bottom - clippingRect.top,
1288
- x: clippingRect.left,
1289
- y: clippingRect.top
1290
- };
1291
- }
1292
-
1293
- function getDimensions(element) {
1294
- return getCssDimensions(element);
1295
- }
1296
-
1297
- function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
1298
- const isOffsetParentAnElement = isHTMLElement(offsetParent);
1299
- const documentElement = getDocumentElement(offsetParent);
1300
- const isFixed = strategy === 'fixed';
1301
- const rect = getBoundingClientRect(element, true, isFixed, offsetParent);
1302
- let scroll = {
1303
- scrollLeft: 0,
1304
- scrollTop: 0
1305
- };
1306
- const offsets = createCoords(0);
1307
- if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
1308
- if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
1309
- scroll = getNodeScroll(offsetParent);
1310
- }
1311
- if (isOffsetParentAnElement) {
1312
- const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);
1313
- offsets.x = offsetRect.x + offsetParent.clientLeft;
1314
- offsets.y = offsetRect.y + offsetParent.clientTop;
1315
- } else if (documentElement) {
1316
- offsets.x = getWindowScrollBarX(documentElement);
1317
- }
1318
- }
1319
- return {
1320
- x: rect.left + scroll.scrollLeft - offsets.x,
1321
- y: rect.top + scroll.scrollTop - offsets.y,
1322
- width: rect.width,
1323
- height: rect.height
1324
- };
1325
- }
1326
-
1327
- function getTrueOffsetParent(element, polyfill) {
1328
- if (!isHTMLElement(element) || getComputedStyle$1(element).position === 'fixed') {
1329
- return null;
1330
- }
1331
- if (polyfill) {
1332
- return polyfill(element);
1333
- }
1334
- return element.offsetParent;
1335
- }
1336
-
1337
- // Gets the closest ancestor positioned element. Handles some edge cases,
1338
- // such as table ancestors and cross browser bugs.
1339
- function getOffsetParent(element, polyfill) {
1340
- const window = getWindow(element);
1341
- if (!isHTMLElement(element)) {
1342
- return window;
1343
- }
1344
- let offsetParent = getTrueOffsetParent(element, polyfill);
1345
- while (offsetParent && isTableElement(offsetParent) && getComputedStyle$1(offsetParent).position === 'static') {
1346
- offsetParent = getTrueOffsetParent(offsetParent, polyfill);
1347
- }
1348
- if (offsetParent && (getNodeName(offsetParent) === 'html' || getNodeName(offsetParent) === 'body' && getComputedStyle$1(offsetParent).position === 'static' && !isContainingBlock(offsetParent))) {
1349
- return window;
1350
- }
1351
- return offsetParent || getContainingBlock(element) || window;
1352
- }
1353
-
1354
- const getElementRects = async function (_ref) {
1355
- let {
1356
- reference,
1357
- floating,
1358
- strategy
1359
- } = _ref;
1360
- const getOffsetParentFn = this.getOffsetParent || getOffsetParent;
1361
- const getDimensionsFn = this.getDimensions;
1362
- return {
1363
- reference: getRectRelativeToOffsetParent(reference, await getOffsetParentFn(floating), strategy),
1364
- floating: {
1365
- x: 0,
1366
- y: 0,
1367
- ...(await getDimensionsFn(floating))
1368
- }
1369
- };
1370
- };
1371
-
1372
- function isRTL(element) {
1373
- return getComputedStyle$1(element).direction === 'rtl';
1374
- }
1375
-
1376
- const platform = {
1377
- convertOffsetParentRelativeRectToViewportRelativeRect,
1378
- getDocumentElement,
1379
- getClippingRect,
1380
- getOffsetParent,
1381
- getElementRects,
1382
- getClientRects,
1383
- getDimensions,
1384
- getScale,
1385
- isElement,
1386
- isRTL
1387
- };
1388
-
1389
- // https://samthor.au/2021/observing-dom/
1390
- function observeMove(element, onMove) {
1391
- let io = null;
1392
- let timeoutId;
1393
- const root = getDocumentElement(element);
1394
- function cleanup() {
1395
- clearTimeout(timeoutId);
1396
- io && io.disconnect();
1397
- io = null;
1398
- }
1399
- function refresh(skip, threshold) {
1400
- if (skip === void 0) {
1401
- skip = false;
1402
- }
1403
- if (threshold === void 0) {
1404
- threshold = 1;
1405
- }
1406
- cleanup();
1407
- const {
1408
- left,
1409
- top,
1410
- width,
1411
- height
1412
- } = element.getBoundingClientRect();
1413
- if (!skip) {
1414
- onMove();
1415
- }
1416
- if (!width || !height) {
1417
- return;
1418
- }
1419
- const insetTop = floor(top);
1420
- const insetRight = floor(root.clientWidth - (left + width));
1421
- const insetBottom = floor(root.clientHeight - (top + height));
1422
- const insetLeft = floor(left);
1423
- const rootMargin = -insetTop + "px " + -insetRight + "px " + -insetBottom + "px " + -insetLeft + "px";
1424
- const options = {
1425
- rootMargin,
1426
- threshold: max(0, min(1, threshold)) || 1
1427
- };
1428
- let isFirstUpdate = true;
1429
- function handleObserve(entries) {
1430
- const ratio = entries[0].intersectionRatio;
1431
- if (ratio !== threshold) {
1432
- if (!isFirstUpdate) {
1433
- return refresh();
1434
- }
1435
- if (!ratio) {
1436
- timeoutId = setTimeout(() => {
1437
- refresh(false, 1e-7);
1438
- }, 100);
1439
- } else {
1440
- refresh(false, ratio);
1441
- }
1442
- }
1443
- isFirstUpdate = false;
1444
- }
1445
-
1446
- // Older browsers don't support a `document` as the root and will throw an
1447
- // error.
1448
- try {
1449
- io = new IntersectionObserver(handleObserve, {
1450
- ...options,
1451
- // Handle <iframe>s
1452
- root: root.ownerDocument
1453
- });
1454
- } catch (e) {
1455
- io = new IntersectionObserver(handleObserve, options);
1456
- }
1457
- io.observe(element);
1458
- }
1459
- refresh(true);
1460
- return cleanup;
1461
- }
1462
-
1463
- /**
1464
- * Automatically updates the position of the floating element when necessary.
1465
- * Should only be called when the floating element is mounted on the DOM or
1466
- * visible on the screen.
1467
- * @returns cleanup function that should be invoked when the floating element is
1468
- * removed from the DOM or hidden from the screen.
1469
- * @see https://floating-ui.com/docs/autoUpdate
1470
- */
1471
- function autoUpdate(reference, floating, update, options) {
1472
- if (options === void 0) {
1473
- options = {};
1474
- }
1475
- const {
1476
- ancestorScroll = true,
1477
- ancestorResize = true,
1478
- elementResize = typeof ResizeObserver === 'function',
1479
- layoutShift = typeof IntersectionObserver === 'function',
1480
- animationFrame = false
1481
- } = options;
1482
- const referenceEl = unwrapElement(reference);
1483
- const ancestors = ancestorScroll || ancestorResize ? [...(referenceEl ? getOverflowAncestors(referenceEl) : []), ...getOverflowAncestors(floating)] : [];
1484
- ancestors.forEach(ancestor => {
1485
- ancestorScroll && ancestor.addEventListener('scroll', update, {
1486
- passive: true
1487
- });
1488
- ancestorResize && ancestor.addEventListener('resize', update);
1489
- });
1490
- const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update) : null;
1491
- let reobserveFrame = -1;
1492
- let resizeObserver = null;
1493
- if (elementResize) {
1494
- resizeObserver = new ResizeObserver(_ref => {
1495
- let [firstEntry] = _ref;
1496
- if (firstEntry && firstEntry.target === referenceEl && resizeObserver) {
1497
- // Prevent update loops when using the `size` middleware.
1498
- // https://github.com/floating-ui/floating-ui/issues/1740
1499
- resizeObserver.unobserve(floating);
1500
- cancelAnimationFrame(reobserveFrame);
1501
- reobserveFrame = requestAnimationFrame(() => {
1502
- resizeObserver && resizeObserver.observe(floating);
1503
- });
1504
- }
1505
- update();
1506
- });
1507
- if (referenceEl && !animationFrame) {
1508
- resizeObserver.observe(referenceEl);
1509
- }
1510
- resizeObserver.observe(floating);
1511
- }
1512
- let frameId;
1513
- let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;
1514
- if (animationFrame) {
1515
- frameLoop();
1516
- }
1517
- function frameLoop() {
1518
- const nextRefRect = getBoundingClientRect(reference);
1519
- if (prevRefRect && (nextRefRect.x !== prevRefRect.x || nextRefRect.y !== prevRefRect.y || nextRefRect.width !== prevRefRect.width || nextRefRect.height !== prevRefRect.height)) {
1520
- update();
1521
- }
1522
- prevRefRect = nextRefRect;
1523
- frameId = requestAnimationFrame(frameLoop);
1524
- }
1525
- update();
1526
- return () => {
1527
- ancestors.forEach(ancestor => {
1528
- ancestorScroll && ancestor.removeEventListener('scroll', update);
1529
- ancestorResize && ancestor.removeEventListener('resize', update);
1530
- });
1531
- cleanupIo && cleanupIo();
1532
- resizeObserver && resizeObserver.disconnect();
1533
- resizeObserver = null;
1534
- if (animationFrame) {
1535
- cancelAnimationFrame(frameId);
1536
- }
1537
- };
1538
- }
1539
-
1540
- /**
1541
- * Computes the `x` and `y` coordinates that will place the floating element
1542
- * next to a reference element when it is given a certain CSS positioning
1543
- * strategy.
1544
- */
1545
- const computePosition = (reference, floating, options) => {
1546
- // This caches the expensive `getClippingElementAncestors` function so that
1547
- // multiple lifecycle resets re-use the same result. It only lives for a
1548
- // single call. If other functions become expensive, we can add them as well.
1549
- const cache = new Map();
1550
- const mergedOptions = {
1551
- platform,
1552
- ...options
1553
- };
1554
- const platformWithCache = {
1555
- ...mergedOptions.platform,
1556
- _c: cache
1557
- };
1558
- return computePosition$1(reference, floating, {
1559
- ...mergedOptions,
1560
- platform: platformWithCache
1561
- });
1562
- };
1563
-
1564
- /* eslint-disable @typescript-eslint/ban-types */
1565
- function offsetParent(element) {
1566
- return offsetParentPolyfill(element);
1567
- }
1568
- function flatTreeParent(element) {
1569
- if (element.assignedSlot) {
1570
- return element.assignedSlot;
1571
- }
1572
- if (element.parentNode instanceof ShadowRoot) {
1573
- return element.parentNode.host;
1574
- }
1575
- return element.parentNode;
1576
- }
1577
- function offsetParentPolyfill(element) {
1578
- // Do an initial walk to check for display:none ancestors.
1579
- for (let ancestor = element; ancestor; ancestor = flatTreeParent(ancestor)) {
1580
- if (!(ancestor instanceof Element)) {
1581
- continue;
1582
- }
1583
- if (getComputedStyle(ancestor).display === 'none') {
1584
- return null;
1585
- }
1586
- }
1587
- for (let ancestor = flatTreeParent(element); ancestor; ancestor = flatTreeParent(ancestor)) {
1588
- if (!(ancestor instanceof Element)) {
1589
- continue;
1590
- }
1591
- const style = getComputedStyle(ancestor);
1592
- // Display:contents nodes aren't in the layout tree so they should be skipped.
1593
- if (style.display === 'contents') {
1594
- continue;
1595
- }
1596
- if (style.position !== 'static' || style.filter !== 'none') {
1597
- return ancestor;
1598
- }
1599
- if (ancestor.tagName === 'BODY') {
1600
- return ancestor;
1601
- }
1602
- }
1603
- return null;
1604
- }
1605
-
1606
- (function setUpFloatingUiForShadowDomPositioning() {
1607
- {
1608
- const originalGetOffsetParent = platform.getOffsetParent;
1609
- platform.getOffsetParent = (element) => originalGetOffsetParent(element, offsetParent);
1610
- }
1611
- })();
1612
- /**
1613
- * Positions the floating element relative to the reference element.
1614
- *
1615
- * **Note:** exported for testing purposes only
1616
- *
1617
- * @param root0
1618
- * @param root0.referenceEl
1619
- * @param root0.floatingEl
1620
- * @param root0.overlayPositioning
1621
- * @param root0.placement
1622
- * @param root0.flipDisabled
1623
- * @param root0.flipPlacements
1624
- * @param root0.offsetDistance
1625
- * @param root0.offsetSkidding
1626
- * @param root0.arrowEl
1627
- * @param root0.type
1628
- * @param component
1629
- * @param root0.referenceEl.referenceEl
1630
- * @param root0.referenceEl.floatingEl
1631
- * @param root0.referenceEl.overlayPositioning
1632
- * @param root0.referenceEl.placement
1633
- * @param root0.referenceEl.flipDisabled
1634
- * @param root0.referenceEl.flipPlacements
1635
- * @param root0.referenceEl.offsetDistance
1636
- * @param root0.referenceEl.offsetSkidding
1637
- * @param root0.referenceEl.arrowEl
1638
- * @param root0.referenceEl.type
1639
- * @param component.referenceEl
1640
- * @param component.floatingEl
1641
- * @param component.overlayPositioning
1642
- * @param component.placement
1643
- * @param component.flipDisabled
1644
- * @param component.flipPlacements
1645
- * @param component.offsetDistance
1646
- * @param component.offsetSkidding
1647
- * @param component.arrowEl
1648
- * @param component.type
1649
- */
1650
- const positionFloatingUI =
1651
- /* we export arrow function to allow us to spy on it during testing */
1652
- async (component, { referenceEl, floatingEl, overlayPositioning = "absolute", placement, flipDisabled, flipPlacements, offsetDistance, offsetSkidding, arrowEl, type, }) => {
1653
- if (!referenceEl || !floatingEl) {
1654
- return null;
1655
- }
1656
- const { x, y, placement: effectivePlacement, strategy: position, middlewareData, } = await computePosition(referenceEl, floatingEl, {
1657
- strategy: overlayPositioning,
1658
- placement: placement === "auto" || placement === "auto-start" || placement === "auto-end"
1659
- ? undefined
1660
- : getEffectivePlacement(floatingEl, placement),
1661
- middleware: getMiddleware({
1662
- placement,
1663
- flipDisabled,
1664
- flipPlacements,
1665
- offsetDistance,
1666
- offsetSkidding,
1667
- arrowEl,
1668
- type,
1669
- }),
1670
- });
1671
- if (arrowEl && middlewareData.arrow) {
1672
- const { x, y } = middlewareData.arrow;
1673
- const side = effectivePlacement.split("-")[0];
1674
- const alignment = x != null ? "left" : "top";
1675
- const transform = ARROW_CSS_TRANSFORM[side];
1676
- const reset = { left: "", top: "", bottom: "", right: "" };
1677
- if ("floatingLayout" in component) {
1678
- component.floatingLayout = side === "left" || side === "right" ? "horizontal" : "vertical";
1679
- }
1680
- Object.assign(arrowEl.style, {
1681
- ...reset,
1682
- [alignment]: `${alignment == "left" ? x : y}px`,
1683
- [side]: "100%",
1684
- transform,
1685
- });
1686
- }
1687
- const referenceHidden = middlewareData.hide?.referenceHidden;
1688
- const visibility = referenceHidden ? "hidden" : null;
1689
- const pointerEvents = visibility ? "none" : null;
1690
- floatingEl.setAttribute(placementDataAttribute, effectivePlacement);
1691
- const transform = `translate(${Math.round(x)}px,${Math.round(y)}px)`;
1692
- Object.assign(floatingEl.style, {
1693
- visibility,
1694
- pointerEvents,
1695
- position,
1696
- top: "0",
1697
- left: "0",
1698
- transform,
1699
- });
1700
- };
1701
- /**
1702
- * Exported for testing purposes only
1703
- */
1704
- const placementDataAttribute = "data-placement";
1705
- /**
1706
- * Exported for testing purposes only
1707
- */
1708
- const repositionDebounceTimeout = 100;
1709
- const effectivePlacements = [
1710
- "top",
1711
- "bottom",
1712
- "right",
1713
- "left",
1714
- "top-start",
1715
- "top-end",
1716
- "bottom-start",
1717
- "bottom-end",
1718
- "right-start",
1719
- "right-end",
1720
- "left-start",
1721
- "left-end",
1722
- ];
1723
- const defaultMenuPlacement = "bottom-start";
1724
- const FloatingCSS = {
1725
- animation: "calcite-floating-ui-anim",
1726
- animationActive: "calcite-floating-ui-anim--active",
1727
- };
1728
- function getMiddleware({ placement, flipDisabled, flipPlacements, offsetDistance, offsetSkidding, arrowEl, type, }) {
1729
- const defaultMiddleware = [shift(), hide()];
1730
- if (type === "menu") {
1731
- return [
1732
- ...defaultMiddleware,
1733
- flip({
1734
- fallbackPlacements: flipPlacements || ["top-start", "top", "top-end", "bottom-start", "bottom", "bottom-end"],
1735
- }),
1736
- ];
1737
- }
1738
- if (type === "popover" || type === "tooltip") {
1739
- const middleware = [
1740
- ...defaultMiddleware,
1741
- offset({
1742
- mainAxis: typeof offsetDistance === "number" ? offsetDistance : 0,
1743
- crossAxis: typeof offsetSkidding === "number" ? offsetSkidding : 0,
1744
- }),
1745
- ];
1746
- if (placement === "auto" || placement === "auto-start" || placement === "auto-end") {
1747
- middleware.push(autoPlacement({ alignment: placement === "auto-start" ? "start" : placement === "auto-end" ? "end" : null }));
1748
- }
1749
- else if (!flipDisabled) {
1750
- middleware.push(flip(flipPlacements ? { fallbackPlacements: flipPlacements } : {}));
1751
- }
1752
- if (arrowEl) {
1753
- middleware.push(arrow({
1754
- element: arrowEl,
1755
- }));
1756
- }
1757
- return middleware;
1758
- }
1759
- return [];
1760
- }
1761
- function filterComputedPlacements(placements, el) {
1762
- const filteredPlacements = placements.filter((placement) => effectivePlacements.includes(placement));
1763
- if (filteredPlacements.length !== placements.length) {
1764
- console.warn(`${el.tagName}: Invalid value found in: flipPlacements. Try any of these: ${effectivePlacements
1765
- .map((placement) => `"${placement}"`)
1766
- .join(", ")
1767
- .trim()}`, { el });
1768
- }
1769
- return filteredPlacements;
1770
- }
1771
- function getEffectivePlacement(floatingEl, placement) {
1772
- const placements = ["left", "right"];
1773
- if (dom.getElementDir(floatingEl) === "rtl") {
1774
- placements.reverse();
1775
- }
1776
- return placement.replace(/leading/gi, placements[0]).replace(/trailing/gi, placements[1]);
1777
- }
1778
- /**
1779
- * Convenience function to manage `reposition` calls for FloatingUIComponents that use `positionFloatingUI.
1780
- *
1781
- * Note: this is not needed for components that use `calcite-popover`.
1782
- *
1783
- * @param component
1784
- * @param options
1785
- * @param options.referenceEl
1786
- * @param options.floatingEl
1787
- * @param options.overlayPositioning
1788
- * @param options.placement
1789
- * @param options.flipDisabled
1790
- * @param options.flipPlacements
1791
- * @param options.offsetDistance
1792
- * @param options.offsetSkidding
1793
- * @param options.arrowEl
1794
- * @param options.type
1795
- * @param delayed
1796
- */
1797
- async function reposition(component, options, delayed = false) {
1798
- if (!component.open) {
1799
- return;
1800
- }
1801
- const positionFunction = delayed ? getDebouncedReposition(component) : positionFloatingUI;
1802
- return positionFunction(component, options);
1803
- }
1804
- function getDebouncedReposition(component) {
1805
- let debounced = componentToDebouncedRepositionMap.get(component);
1806
- if (debounced) {
1807
- return debounced;
1808
- }
1809
- debounced = debounce.debounce(positionFloatingUI, repositionDebounceTimeout, {
1810
- leading: true,
1811
- maxWait: repositionDebounceTimeout,
1812
- });
1813
- componentToDebouncedRepositionMap.set(component, debounced);
1814
- return debounced;
1815
- }
1816
- const ARROW_CSS_TRANSFORM = {
1817
- top: "",
1818
- left: "rotate(-90deg)",
1819
- bottom: "rotate(180deg)",
1820
- right: "rotate(90deg)",
1821
- };
1822
- /**
1823
- * Exported for testing purposes only
1824
- *
1825
- * @internal
1826
- */
1827
- const cleanupMap = new WeakMap();
1828
- const componentToDebouncedRepositionMap = new WeakMap();
1829
- /**
1830
- * Helper to set up floating element interactions on connectedCallback.
1831
- *
1832
- * @param component
1833
- * @param referenceEl
1834
- * @param floatingEl
1835
- */
1836
- function connectFloatingUI(component, referenceEl, floatingEl) {
1837
- if (!floatingEl || !referenceEl) {
1838
- return;
1839
- }
1840
- disconnectFloatingUI(component, referenceEl, floatingEl);
1841
- Object.assign(floatingEl.style, {
1842
- visibility: "hidden",
1843
- pointerEvents: "none",
1844
- // initial positioning based on https://floating-ui.com/docs/computePosition#initial-layout
1845
- position: component.overlayPositioning,
1846
- top: "0",
1847
- left: "0",
1848
- });
1849
- const runAutoUpdate = autoUpdate
1850
- ;
1851
- cleanupMap.set(component, runAutoUpdate(referenceEl, floatingEl, () => component.reposition()));
1852
- }
1853
- /**
1854
- * Helper to tear down floating element interactions on disconnectedCallback.
1855
- *
1856
- * @param component
1857
- * @param referenceEl
1858
- * @param floatingEl
1859
- */
1860
- function disconnectFloatingUI(component, referenceEl, floatingEl) {
1861
- if (!floatingEl || !referenceEl) {
1862
- return;
1863
- }
1864
- cleanupMap.get(component)?.();
1865
- cleanupMap.delete(component);
1866
- componentToDebouncedRepositionMap.get(component)?.cancel();
1867
- componentToDebouncedRepositionMap.delete(component);
1868
- }
1869
- const visiblePointerSize = 4;
1870
- /**
1871
- * Default offset the position of the floating element away from the reference element.
1872
- *
1873
- * @default 6
1874
- */
1875
- const defaultOffsetDistance = Math.ceil(Math.hypot(visiblePointerSize, visiblePointerSize));
1876
-
1877
- exports.FloatingCSS = FloatingCSS;
1878
- exports.connectFloatingUI = connectFloatingUI;
1879
- exports.defaultMenuPlacement = defaultMenuPlacement;
1880
- exports.defaultOffsetDistance = defaultOffsetDistance;
1881
- exports.disconnectFloatingUI = disconnectFloatingUI;
1882
- exports.filterComputedPlacements = filterComputedPlacements;
1883
- exports.reposition = reposition;