@esri/calcite-components 5.1.0-next.3 → 5.1.0-next.31

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 (471) hide show
  1. package/dist/cdn/{ILHS3TD7.js → 2FY6Y3KB.js} +1 -1
  2. package/dist/cdn/{4PZDI5YW.js → 2HLG7UV4.js} +1 -1
  3. package/dist/cdn/2WJZN3SE.js +2 -0
  4. package/dist/cdn/3CSPQFYG.js +2 -0
  5. package/dist/cdn/3D37MG6S.js +2 -0
  6. package/dist/cdn/{VZDUTHQS.js → 3J23LBKG.js} +1 -1
  7. package/dist/cdn/{ZJ34LWXC.js → 3OJOZM7O.js} +1 -1
  8. package/dist/cdn/{RMERVJA5.js → 4DSWDYTW.js} +1 -1
  9. package/dist/cdn/{A26SXPLB.js → 4GDNWSBT.js} +1 -1
  10. package/dist/cdn/4LICFI5E.js +2 -0
  11. package/dist/cdn/4TQMO6XE.js +2 -0
  12. package/dist/cdn/{4NDBPQOW.js → 4XU5DIJP.js} +1 -1
  13. package/dist/cdn/56JSGQ7R.js +2 -0
  14. package/dist/cdn/5KWGBEQK.js +2 -0
  15. package/dist/cdn/5PG6XVN5.js +2 -0
  16. package/dist/cdn/{MTIRRGHA.js → 5XQF5HT3.js} +1 -1
  17. package/dist/cdn/6APLHKV4.js +2 -0
  18. package/dist/cdn/6X2G45YI.js +2 -0
  19. package/dist/cdn/76VYSGOM.js +2 -0
  20. package/dist/cdn/7B3CSEFX.js +2 -0
  21. package/dist/cdn/7QQ3ZHWE.js +2 -0
  22. package/dist/cdn/A6KBEIHP.js +2 -0
  23. package/dist/cdn/{TG6MK4QD.js → A6NA5UEM.js} +1 -1
  24. package/dist/cdn/{EPKWV7TT.js → ALVHCKBH.js} +1 -1
  25. package/dist/cdn/AZ3SJIEO.js +2 -0
  26. package/dist/cdn/B3TQROHD.js +2 -0
  27. package/dist/cdn/B4MOL677.js +2 -0
  28. package/dist/cdn/{SK7CWKMU.js → BOIBM27V.js} +1 -1
  29. package/dist/cdn/BSY77NDG.js +2 -0
  30. package/dist/cdn/BYK5NZWZ.js +2 -0
  31. package/dist/cdn/C5JSSYMS.js +2 -0
  32. package/dist/cdn/CLPDI4AD.js +2 -0
  33. package/dist/cdn/{LJIHBKNI.js → CMY5JTRJ.js} +1 -1
  34. package/dist/cdn/{4ILCK5CI.js → CPBEJ7PE.js} +1 -1
  35. package/dist/cdn/{PNBC2B77.js → CT3KT5N6.js} +1 -1
  36. package/dist/cdn/DCWCREQB.js +2 -0
  37. package/dist/cdn/{EHIAXJAL.js → DCWL5FUH.js} +1 -1
  38. package/dist/cdn/{HJ45IHRA.js → DPYLSPFO.js} +1 -1
  39. package/dist/cdn/DYUJ6M6W.js +2 -0
  40. package/dist/cdn/EWOKHGGQ.js +2 -0
  41. package/dist/cdn/F6PPIHC3.js +2 -0
  42. package/dist/cdn/FL4R3VI3.js +2 -0
  43. package/dist/cdn/FMRVUJNK.js +2 -0
  44. package/dist/cdn/{UG6FM2IU.js → FX3JCGKM.js} +1 -1
  45. package/dist/cdn/FZ2DQJMS.js +2 -0
  46. package/dist/cdn/{NPTVRXRO.js → G2FHJH4X.js} +1 -1
  47. package/dist/cdn/GCA7VP5J.js +2 -0
  48. package/dist/cdn/GECXZAED.js +2 -0
  49. package/dist/cdn/{R265ZYQR.js → GPFAPIMQ.js} +1 -1
  50. package/dist/cdn/GUYCL365.js +2 -0
  51. package/dist/cdn/GXG2HXM2.js +2 -0
  52. package/dist/cdn/HEIAHUGO.js +2 -0
  53. package/dist/cdn/HHNY5BVB.js +2 -0
  54. package/dist/cdn/HIZYPAHR.js +2 -0
  55. package/dist/cdn/{FXFRKJEJ.js → HR6HUVUN.js} +1 -1
  56. package/dist/cdn/HSU7RHQU.js +2 -0
  57. package/dist/cdn/HUOEEJPS.js +2 -0
  58. package/dist/cdn/{RRN6YM7F.js → I73M4QTE.js} +1 -1
  59. package/dist/cdn/{EYR3DX5M.js → IBPR4B6K.js} +1 -1
  60. package/dist/cdn/IV2LYB4K.js +2 -0
  61. package/dist/cdn/JC3W3VFU.js +2 -0
  62. package/dist/cdn/{B4VMCAZI.js → JFHDMXCV.js} +1 -1
  63. package/dist/cdn/JFJZUDWN.js +2 -0
  64. package/dist/cdn/JGVQCJAB.js +2 -0
  65. package/dist/cdn/{XGISY6QA.js → JJHBNLQZ.js} +1 -1
  66. package/dist/cdn/JMWTP3WJ.js +2 -0
  67. package/dist/cdn/{KHE57SV3.js → JOUNLCUT.js} +1 -1
  68. package/dist/cdn/{SQLDNSI6.js → K33MRKAV.js} +1 -1
  69. package/dist/cdn/K3SMZG5Y.js +2 -0
  70. package/dist/cdn/KDLF67DG.js +2 -0
  71. package/dist/cdn/{QOXTJ7PA.js → KFLMJM55.js} +1 -1
  72. package/dist/cdn/KIJOD4RX.js +2 -0
  73. package/dist/cdn/{HFPBP7XA.js → KOMEPMEI.js} +1 -1
  74. package/dist/cdn/{7CVLFVE5.js → KS3FZP6L.js} +1 -1
  75. package/dist/cdn/{GIV3RH7X.js → LALMVDHP.js} +1 -1
  76. package/dist/cdn/{RTSHUMUI.js → LRMKTDPG.js} +1 -1
  77. package/dist/cdn/{3ZYN3227.js → LVCGEXFP.js} +1 -1
  78. package/dist/cdn/LWLBGCPP.js +2 -0
  79. package/dist/cdn/M435GHQH.js +2 -0
  80. package/dist/cdn/MFLHUJKN.js +2 -0
  81. package/dist/cdn/{Z2R5VRT7.js → MJPA63EU.js} +1 -1
  82. package/dist/cdn/{D3ZA3ZSE.js → MMNZTRN2.js} +1 -1
  83. package/dist/cdn/{3GV45XL7.js → MYDCGCGV.js} +1 -1
  84. package/dist/cdn/{UQBN3Z6H.js → NG74XAQM.js} +1 -1
  85. package/dist/cdn/{QGBPRJIT.js → NGQAR6ST.js} +1 -1
  86. package/dist/cdn/{XRVUSKBQ.js → NI4C5BIY.js} +1 -1
  87. package/dist/cdn/NKC2SKDB.js +4 -0
  88. package/dist/cdn/{WUW46I4S.js → NM2VFNZK.js} +1 -1
  89. package/dist/cdn/NPGVLUJ6.js +2 -0
  90. package/dist/cdn/NX3OJH3O.js +2 -0
  91. package/dist/cdn/OKFVTSL6.js +2 -0
  92. package/dist/cdn/{FUL4JV2P.js → OTQIG2DS.js} +1 -1
  93. package/dist/cdn/OZ3GVTFW.js +2 -0
  94. package/dist/cdn/PELPACWP.js +2 -0
  95. package/dist/cdn/{LDLJRK76.js → PHS5IFBP.js} +1 -1
  96. package/dist/cdn/{ECURCDZ2.js → PKHNR6BT.js} +1 -1
  97. package/dist/cdn/{MSGQMPT6.js → PWGEOPVK.js} +1 -1
  98. package/dist/cdn/PX2BIXVR.js +2 -0
  99. package/dist/cdn/{WTL6TTVY.js → PYRGK5TY.js} +1 -1
  100. package/dist/cdn/{RBGGE65K.js → Q3QP362C.js} +1 -1
  101. package/dist/cdn/QDAHA6T4.js +2 -0
  102. package/dist/cdn/QENXILW4.js +2 -0
  103. package/dist/cdn/{SDDDIVHA.js → QODNYMC7.js} +1 -1
  104. package/dist/cdn/QUJ6B5X4.js +2 -0
  105. package/dist/cdn/{LKHFQ3U6.js → R62MT5IC.js} +1 -1
  106. package/dist/cdn/{ULGKAMEK.js → S356JGI4.js} +1 -1
  107. package/dist/cdn/{6C5JMRKM.js → S44DA5E6.js} +1 -1
  108. package/dist/cdn/S5QUU5FC.js +2 -0
  109. package/dist/cdn/SGGYGV2T.js +2 -0
  110. package/dist/cdn/SMBWLEQN.js +2 -0
  111. package/dist/cdn/SZ27TJP7.js +2 -0
  112. package/dist/cdn/TBVMNBBK.js +2 -0
  113. package/dist/cdn/{2EN543JD.js → TRJVOPN7.js} +1 -1
  114. package/dist/cdn/{732QLUKT.js → TS5IUUAT.js} +1 -1
  115. package/dist/cdn/{I5LZP3DC.js → TSKV4757.js} +1 -1
  116. package/dist/cdn/TTPB5GTW.js +2 -0
  117. package/dist/cdn/{GY6M2LPM.js → U6EAR7KV.js} +1 -1
  118. package/dist/cdn/{KBSNJSUL.js → UJMG5BRX.js} +1 -1
  119. package/dist/cdn/UT5VEP6F.js +2 -0
  120. package/dist/cdn/UVJECVUP.js +2 -0
  121. package/dist/cdn/UVXKGIP2.js +2 -0
  122. package/dist/cdn/{2HPKL5UL.js → UYOP4WLK.js} +1 -1
  123. package/dist/cdn/{RHJW4CXA.js → V6BSWWNB.js} +1 -1
  124. package/dist/cdn/{N234JPQQ.js → VBUQ2CKN.js} +1 -1
  125. package/dist/cdn/{QQYOGIVS.js → VDJUQ5EV.js} +1 -1
  126. package/dist/cdn/{N5SFF63Q.js → VNF3BHV2.js} +1 -1
  127. package/dist/cdn/VOPQXYVP.js +2 -0
  128. package/dist/cdn/W2QJJNHF.js +2 -0
  129. package/dist/cdn/WEBZCJOE.js +2 -0
  130. package/dist/cdn/WRGTNJJX.js +2 -0
  131. package/dist/cdn/{DKD23HP3.js → WZ3Y5NR5.js} +1 -1
  132. package/dist/cdn/X3ULSSUX.js +2 -0
  133. package/dist/cdn/{IF5AIFNS.js → XCAJQEDD.js} +1 -1
  134. package/dist/cdn/{XLOC3L55.js → XLVTX3C7.js} +3 -3
  135. package/dist/cdn/{6KLHDA5V.js → XW6LMJ7U.js} +1 -1
  136. package/dist/cdn/{EQ4Z4LBA.js → Y755YA7A.js} +1 -1
  137. package/dist/cdn/{IZBELXZC.js → YCERO4N4.js} +1 -1
  138. package/dist/cdn/{4ZGFXXYL.js → YEM55U5Y.js} +1 -1
  139. package/dist/cdn/YFOBRLUX.js +2 -0
  140. package/dist/cdn/YVBTJEOB.js +2 -0
  141. package/dist/cdn/{YKP66AQ5.js → Z2UQ42VA.js} +1 -1
  142. package/dist/cdn/{YX5LYAIV.js → ZP5GIML7.js} +1 -1
  143. package/dist/cdn/ZSXEVWWM.js +2 -0
  144. package/dist/cdn/{YQST67WD.js → ZWYD2BVT.js} +1 -1
  145. package/dist/cdn/{LCPYWUGK.js → ZY7OKDXI.js} +1 -1
  146. package/dist/cdn/assets/combobox/t9n/messages.ar.json +1 -1
  147. package/dist/cdn/assets/combobox/t9n/messages.bg.json +1 -1
  148. package/dist/cdn/assets/combobox/t9n/messages.bs.json +1 -1
  149. package/dist/cdn/assets/combobox/t9n/messages.ca.json +1 -1
  150. package/dist/cdn/assets/combobox/t9n/messages.cs.json +1 -1
  151. package/dist/cdn/assets/combobox/t9n/messages.da.json +1 -1
  152. package/dist/cdn/assets/combobox/t9n/messages.de.json +1 -1
  153. package/dist/cdn/assets/combobox/t9n/messages.el.json +1 -1
  154. package/dist/cdn/assets/combobox/t9n/messages.en.json +1 -1
  155. package/dist/cdn/assets/combobox/t9n/messages.es.json +1 -1
  156. package/dist/cdn/assets/combobox/t9n/messages.et.json +1 -1
  157. package/dist/cdn/assets/combobox/t9n/messages.fi.json +1 -1
  158. package/dist/cdn/assets/combobox/t9n/messages.fr.json +1 -1
  159. package/dist/cdn/assets/combobox/t9n/messages.he.json +1 -1
  160. package/dist/cdn/assets/combobox/t9n/messages.hr.json +1 -1
  161. package/dist/cdn/assets/combobox/t9n/messages.hu.json +1 -1
  162. package/dist/cdn/assets/combobox/t9n/messages.id.json +1 -1
  163. package/dist/cdn/assets/combobox/t9n/messages.it.json +1 -1
  164. package/dist/cdn/assets/combobox/t9n/messages.ja.json +1 -1
  165. package/dist/cdn/assets/combobox/t9n/messages.json +1 -1
  166. package/dist/cdn/assets/combobox/t9n/messages.ko.json +1 -1
  167. package/dist/cdn/assets/combobox/t9n/messages.lt.json +1 -1
  168. package/dist/cdn/assets/combobox/t9n/messages.lv.json +1 -1
  169. package/dist/cdn/assets/combobox/t9n/messages.nl.json +1 -1
  170. package/dist/cdn/assets/combobox/t9n/messages.no.json +1 -1
  171. package/dist/cdn/assets/combobox/t9n/messages.pl.json +1 -1
  172. package/dist/cdn/assets/combobox/t9n/messages.pt-BR.json +1 -1
  173. package/dist/cdn/assets/combobox/t9n/messages.pt-PT.json +1 -1
  174. package/dist/cdn/assets/combobox/t9n/messages.ro.json +1 -1
  175. package/dist/cdn/assets/combobox/t9n/messages.ru.json +1 -1
  176. package/dist/cdn/assets/combobox/t9n/messages.sk.json +1 -1
  177. package/dist/cdn/assets/combobox/t9n/messages.sl.json +1 -1
  178. package/dist/cdn/assets/combobox/t9n/messages.sr.json +1 -1
  179. package/dist/cdn/assets/combobox/t9n/messages.sv.json +1 -1
  180. package/dist/cdn/assets/combobox/t9n/messages.th.json +1 -1
  181. package/dist/cdn/assets/combobox/t9n/messages.tr.json +1 -1
  182. package/dist/cdn/assets/combobox/t9n/messages.uk.json +1 -1
  183. package/dist/cdn/assets/combobox/t9n/messages.vi.json +1 -1
  184. package/dist/cdn/assets/combobox/t9n/messages.zh-CN.json +1 -1
  185. package/dist/cdn/assets/combobox/t9n/messages.zh-HK.json +1 -1
  186. package/dist/cdn/assets/combobox/t9n/messages.zh-TW.json +1 -1
  187. package/dist/cdn/assets/icon/arcgisQuickcapture16.json +1 -0
  188. package/dist/cdn/assets/icon/arcgisQuickcapture24.json +1 -0
  189. package/dist/cdn/assets/icon/arcgisQuickcapture32.json +1 -0
  190. package/dist/cdn/assets/icon/arcgisSurvey12316.json +1 -0
  191. package/dist/cdn/assets/icon/arcgisSurvey12324.json +1 -0
  192. package/dist/cdn/assets/icon/arcgisSurvey12332.json +1 -0
  193. package/dist/cdn/assets/icon/layerStreamSetting16.json +1 -0
  194. package/dist/cdn/assets/icon/layerStreamSetting24.json +1 -0
  195. package/dist/cdn/assets/icon/layerStreamSetting32.json +1 -0
  196. package/dist/cdn/assets/icon/publish16.json +1 -0
  197. package/dist/cdn/assets/icon/publish24.json +1 -0
  198. package/dist/cdn/assets/icon/publish32.json +1 -0
  199. package/dist/cdn/assets/icon/velocityServer16.json +1 -0
  200. package/dist/cdn/assets/icon/velocityServer24.json +1 -0
  201. package/dist/cdn/assets/icon/velocityServer32.json +1 -0
  202. package/dist/cdn/index.js +1 -1
  203. package/dist/chunks/ClearButton.js +16 -0
  204. package/dist/chunks/ExpandToggle.js +4 -5
  205. package/dist/chunks/Heading.js +3 -3
  206. package/dist/chunks/dom.js +63 -49
  207. package/dist/chunks/floating-ui.js +3 -6
  208. package/dist/chunks/label.js +1 -1
  209. package/dist/chunks/locale.js +29 -12
  210. package/dist/chunks/manager.js +505 -0
  211. package/dist/chunks/openCloseComponent.js +1 -1
  212. package/dist/chunks/resources5.js +2 -1
  213. package/dist/chunks/resources6.js +2 -0
  214. package/dist/chunks/runtime.js +4 -4
  215. package/dist/chunks/useFocusTrap.js +1 -1
  216. package/dist/chunks/useForm.js +294 -0
  217. package/dist/chunks/useFormTrigger.js +25 -0
  218. package/dist/chunks/useSetFocus.js +1 -1
  219. package/dist/chunks/{sortableComponent.js → useSortable.js} +67 -44
  220. package/dist/chunks/utils2.js +1 -1
  221. package/dist/components/calcite-accordion-item/customElement.d.ts +6 -6
  222. package/dist/components/calcite-accordion-item/customElement.js +4 -3
  223. package/dist/components/calcite-action/customElement.d.ts +12 -12
  224. package/dist/components/calcite-action/customElement.js +8 -14
  225. package/dist/components/calcite-action-bar/customElement.d.ts +20 -4
  226. package/dist/components/calcite-action-bar/customElement.js +43 -15
  227. package/dist/components/calcite-action-group/customElement.d.ts +6 -6
  228. package/dist/components/calcite-action-menu/customElement.d.ts +2 -2
  229. package/dist/components/calcite-action-pad/customElement.d.ts +3 -3
  230. package/dist/components/calcite-action-pad/customElement.js +5 -3
  231. package/dist/components/calcite-alert/customElement.d.ts +2 -2
  232. package/dist/components/calcite-alert/customElement.js +2 -2
  233. package/dist/components/calcite-autocomplete/customElement.d.ts +11 -12
  234. package/dist/components/calcite-autocomplete/customElement.js +23 -32
  235. package/dist/components/calcite-autocomplete-item/customElement.d.ts +6 -0
  236. package/dist/components/calcite-autocomplete-item/customElement.js +9 -4
  237. package/dist/components/calcite-avatar/customElement.js +1 -1
  238. package/dist/components/calcite-block/customElement.d.ts +5 -5
  239. package/dist/components/calcite-block/customElement.js +2 -2
  240. package/dist/components/calcite-block-group/customElement.d.ts +1 -1
  241. package/dist/components/calcite-block-group/customElement.js +4 -4
  242. package/dist/components/calcite-block-group/interfaces.d.ts +2 -6
  243. package/dist/components/calcite-block-section/customElement.d.ts +1 -1
  244. package/dist/components/calcite-button/customElement.d.ts +5 -5
  245. package/dist/components/calcite-button/customElement.js +11 -23
  246. package/dist/components/calcite-card/customElement.d.ts +4 -4
  247. package/dist/components/calcite-card-group/customElement.d.ts +2 -2
  248. package/dist/components/calcite-carousel/customElement.d.ts +1 -1
  249. package/dist/components/calcite-carousel/customElement.js +27 -25
  250. package/dist/components/calcite-checkbox/customElement.d.ts +4 -5
  251. package/dist/components/calcite-checkbox/customElement.js +10 -23
  252. package/dist/components/calcite-chip/customElement.d.ts +2 -2
  253. package/dist/components/calcite-chip/customElement.js +2 -2
  254. package/dist/components/calcite-chip-group/customElement.d.ts +1 -1
  255. package/dist/components/calcite-chip-group/customElement.js +1 -1
  256. package/dist/components/calcite-color-picker/customElement.d.ts +2 -2
  257. package/dist/components/calcite-color-picker/customElement.js +4 -2
  258. package/dist/components/calcite-color-picker-hex-input/customElement.d.ts +1 -1
  259. package/dist/components/calcite-color-picker-swatch/customElement.d.ts +1 -1
  260. package/dist/components/calcite-color-picker-swatch/customElement.js +1 -1
  261. package/dist/components/calcite-combobox/customElement.d.ts +16 -6
  262. package/dist/components/calcite-combobox/customElement.js +189 -106
  263. package/dist/components/calcite-combobox/index.js +2 -1
  264. package/dist/components/calcite-combobox-item/customElement.d.ts +1 -1
  265. package/dist/components/calcite-combobox-item/customElement.js +10 -4
  266. package/dist/components/calcite-date-picker/customElement.d.ts +1 -1
  267. package/dist/components/calcite-date-picker-day/customElement.d.ts +1 -1
  268. package/dist/components/calcite-date-picker-month/customElement.js +1 -1
  269. package/dist/components/calcite-date-picker-month-header/customElement.js +1 -1
  270. package/dist/components/calcite-dialog/customElement.d.ts +7 -3
  271. package/dist/components/calcite-dialog/customElement.js +5 -3
  272. package/dist/components/calcite-dropdown/customElement.d.ts +15 -5
  273. package/dist/components/calcite-dropdown/customElement.js +168 -90
  274. package/dist/components/calcite-dropdown-item/customElement.d.ts +2 -2
  275. package/dist/components/calcite-dropdown-item/customElement.js +14 -32
  276. package/dist/components/calcite-fab/customElement.d.ts +1 -1
  277. package/dist/components/calcite-filter/customElement.d.ts +1 -1
  278. package/dist/components/calcite-flow/customElement.d.ts +1 -1
  279. package/dist/components/calcite-flow-item/customElement.d.ts +9 -5
  280. package/dist/components/calcite-flow-item/customElement.js +7 -5
  281. package/dist/components/calcite-handle/customElement.d.ts +1 -1
  282. package/dist/components/calcite-icon/customElement.d.ts +1 -1
  283. package/dist/components/calcite-icon/customElement.js +4 -3
  284. package/dist/components/calcite-inline-editable/customElement.d.ts +1 -1
  285. package/dist/components/calcite-inline-editable/customElement.js +1 -1
  286. package/dist/components/calcite-input/customElement.d.ts +17 -18
  287. package/dist/components/calcite-input/customElement.js +30 -52
  288. package/dist/components/calcite-input/index.js +1 -0
  289. package/dist/components/calcite-input-date-picker/customElement.d.ts +6 -7
  290. package/dist/components/calcite-input-date-picker/customElement.js +34 -28
  291. package/dist/components/calcite-input-message/customElement.d.ts +1 -1
  292. package/dist/components/calcite-input-message/customElement.js +1 -1
  293. package/dist/components/calcite-input-number/customElement.d.ts +13 -14
  294. package/dist/components/calcite-input-number/customElement.js +26 -51
  295. package/dist/components/calcite-input-number/index.js +1 -0
  296. package/dist/components/calcite-input-text/customElement.d.ts +11 -12
  297. package/dist/components/calcite-input-text/customElement.js +20 -44
  298. package/dist/components/calcite-input-text/index.js +1 -0
  299. package/dist/components/calcite-input-time-picker/customElement.d.ts +6 -7
  300. package/dist/components/calcite-input-time-picker/customElement.js +14 -25
  301. package/dist/components/calcite-input-time-zone/customElement.d.ts +5 -6
  302. package/dist/components/calcite-input-time-zone/customElement.js +21 -19
  303. package/dist/components/calcite-link/customElement.d.ts +2 -2
  304. package/dist/components/calcite-link/customElement.js +4 -3
  305. package/dist/components/calcite-list/customElement.d.ts +1 -1
  306. package/dist/components/calcite-list/customElement.js +29 -7
  307. package/dist/components/calcite-list/interfaces.d.ts +2 -6
  308. package/dist/components/calcite-list-item/customElement.d.ts +2 -2
  309. package/dist/components/calcite-list-item/customElement.js +6 -4
  310. package/dist/components/calcite-list-item-group/customElement.js +1 -1
  311. package/dist/components/calcite-loader/customElement.d.ts +1 -1
  312. package/dist/components/calcite-menu/customElement.d.ts +1 -1
  313. package/dist/components/calcite-menu/customElement.js +2 -2
  314. package/dist/components/calcite-menu-item/customElement.d.ts +3 -3
  315. package/dist/components/calcite-menu-item/customElement.js +4 -2
  316. package/dist/components/calcite-meter/customElement.d.ts +7 -1
  317. package/dist/components/calcite-meter/customElement.js +4 -8
  318. package/dist/components/calcite-navigation/customElement.d.ts +2 -2
  319. package/dist/components/calcite-navigation-logo/customElement.d.ts +3 -3
  320. package/dist/components/calcite-navigation-user/customElement.d.ts +1 -1
  321. package/dist/components/calcite-notice/customElement.d.ts +3 -3
  322. package/dist/components/calcite-notice/customElement.js +1 -1
  323. package/dist/components/calcite-pagination/customElement.d.ts +1 -1
  324. package/dist/components/calcite-pagination/customElement.js +1 -1
  325. package/dist/components/calcite-panel/customElement.d.ts +11 -7
  326. package/dist/components/calcite-panel/customElement.js +21 -9
  327. package/dist/components/calcite-popover/customElement.d.ts +2 -2
  328. package/dist/components/calcite-popover/customElement.js +14 -175
  329. package/dist/components/calcite-progress/customElement.js +3 -2
  330. package/dist/components/calcite-radio-button/customElement.d.ts +1 -1
  331. package/dist/components/calcite-radio-button/customElement.js +173 -5
  332. package/dist/components/calcite-radio-button-group/customElement.d.ts +1 -1
  333. package/dist/components/calcite-rating/customElement.d.ts +3 -4
  334. package/dist/components/calcite-rating/customElement.js +12 -18
  335. package/dist/components/calcite-scrim/customElement.js +1 -1
  336. package/dist/components/calcite-segmented-control/customElement.d.ts +3 -4
  337. package/dist/components/calcite-segmented-control/customElement.js +13 -22
  338. package/dist/components/calcite-segmented-control-item/customElement.js +2 -2
  339. package/dist/components/calcite-select/customElement.d.ts +3 -4
  340. package/dist/components/calcite-select/customElement.js +8 -19
  341. package/dist/components/calcite-sheet/customElement.d.ts +2 -2
  342. package/dist/components/calcite-sheet/customElement.js +9 -6
  343. package/dist/components/calcite-shell/customElement.js +1 -1
  344. package/dist/components/calcite-shell-panel/customElement.d.ts +2 -2
  345. package/dist/components/calcite-shell-panel/customElement.js +7 -5
  346. package/dist/components/calcite-slider/customElement.d.ts +3 -4
  347. package/dist/components/calcite-slider/customElement.js +12 -22
  348. package/dist/components/calcite-sort-handle/customElement.d.ts +4 -4
  349. package/dist/components/calcite-sort-handle/customElement.js +44 -17
  350. package/dist/components/calcite-sortable-list/customElement.d.ts +1 -1
  351. package/dist/components/calcite-sortable-list/customElement.js +4 -4
  352. package/dist/components/calcite-split-button/customElement.d.ts +8 -8
  353. package/dist/components/calcite-stepper/customElement.d.ts +2 -2
  354. package/dist/components/calcite-stepper/customElement.js +30 -43
  355. package/dist/components/calcite-stepper-item/customElement.d.ts +1 -1
  356. package/dist/components/calcite-stepper-item/customElement.js +4 -10
  357. package/dist/components/calcite-swatch/customElement.d.ts +1 -1
  358. package/dist/components/calcite-swatch-group/customElement.js +1 -1
  359. package/dist/components/calcite-switch/customElement.d.ts +4 -4
  360. package/dist/components/calcite-switch/customElement.js +9 -8
  361. package/dist/components/calcite-tab/customElement.d.ts +1 -1
  362. package/dist/components/calcite-tab/customElement.js +2 -2
  363. package/dist/components/calcite-tab-nav/customElement.js +4 -2
  364. package/dist/components/calcite-tab-title/customElement.js +6 -4
  365. package/dist/components/calcite-table/customElement.js +1 -1
  366. package/dist/components/calcite-table-cell/customElement.d.ts +2 -2
  367. package/dist/components/calcite-table-cell/customElement.js +3 -2
  368. package/dist/components/calcite-table-header/customElement.d.ts +2 -2
  369. package/dist/components/calcite-table-row/customElement.d.ts +1 -1
  370. package/dist/components/calcite-tabs/customElement.js +1 -1
  371. package/dist/components/calcite-text-area/customElement.d.ts +13 -14
  372. package/dist/components/calcite-text-area/customElement.js +32 -37
  373. package/dist/components/calcite-tile/customElement.d.ts +1 -1
  374. package/dist/components/calcite-time-picker/customElement.d.ts +1 -1
  375. package/dist/components/calcite-time-picker/customElement.js +4 -3
  376. package/dist/components/calcite-tooltip/customElement.d.ts +15 -2
  377. package/dist/components/calcite-tooltip/customElement.js +27 -315
  378. package/dist/components/calcite-tree/customElement.js +1 -1
  379. package/dist/components/calcite-tree-item/customElement.js +5 -4
  380. package/dist/controllers/useSortable.d.ts +7 -0
  381. package/dist/docs/api.json +1 -1
  382. package/dist/docs/docs.json +1 -1
  383. package/dist/docs/supported-browsers.json +1 -1
  384. package/dist/docs/translations.json +1 -1
  385. package/dist/docs/vscode.css-custom-data.json +1 -1
  386. package/dist/docs/vscode.html-custom-data.json +1 -1
  387. package/dist/docs/web-types.json +1 -1
  388. package/dist/loader.js +23 -23
  389. package/dist/types/lumina.d.ts +5 -5
  390. package/dist/types/preact.d.ts +5 -5
  391. package/dist/types/react.d.ts +5 -5
  392. package/dist/types/stencil.d.ts +5 -5
  393. package/package.json +14 -13
  394. package/dist/cdn/2CCRLQOV.js +0 -2
  395. package/dist/cdn/2SXQFDOQ.js +0 -2
  396. package/dist/cdn/2UXQ7FQU.js +0 -2
  397. package/dist/cdn/32TBZZTY.js +0 -2
  398. package/dist/cdn/3KAMTN22.js +0 -2
  399. package/dist/cdn/3TLJ5JOP.js +0 -2
  400. package/dist/cdn/46F46R3T.js +0 -2
  401. package/dist/cdn/4DX77VVY.js +0 -2
  402. package/dist/cdn/4ET37OQN.js +0 -2
  403. package/dist/cdn/4I67VFAN.js +0 -2
  404. package/dist/cdn/5XFHSV4Z.js +0 -2
  405. package/dist/cdn/66NDMEG2.js +0 -2
  406. package/dist/cdn/76VE6QGI.js +0 -2
  407. package/dist/cdn/7AJLMSNL.js +0 -2
  408. package/dist/cdn/7J3JDTWK.js +0 -2
  409. package/dist/cdn/7PFEVHWG.js +0 -2
  410. package/dist/cdn/ALRQOPMQ.js +0 -2
  411. package/dist/cdn/AO7ZTAVY.js +0 -2
  412. package/dist/cdn/BEHKDUR6.js +0 -2
  413. package/dist/cdn/BKAZFAPN.js +0 -2
  414. package/dist/cdn/C7TED56N.js +0 -2
  415. package/dist/cdn/CSRCARFW.js +0 -2
  416. package/dist/cdn/DADGP3DW.js +0 -2
  417. package/dist/cdn/EC3GCET5.js +0 -2
  418. package/dist/cdn/EREDWMAC.js +0 -2
  419. package/dist/cdn/ETXIJA2R.js +0 -2
  420. package/dist/cdn/EVZEXLBF.js +0 -2
  421. package/dist/cdn/FH7GL6DM.js +0 -2
  422. package/dist/cdn/GETIWK4G.js +0 -2
  423. package/dist/cdn/GJ5VSZCN.js +0 -2
  424. package/dist/cdn/HSNJW6OM.js +0 -2
  425. package/dist/cdn/I6XABN6A.js +0 -2
  426. package/dist/cdn/IQ23RSWK.js +0 -2
  427. package/dist/cdn/JC2AVKOO.js +0 -2
  428. package/dist/cdn/JLJULYTE.js +0 -2
  429. package/dist/cdn/JRAIIHMU.js +0 -2
  430. package/dist/cdn/JZWQZ5BO.js +0 -2
  431. package/dist/cdn/KFPRUCQK.js +0 -2
  432. package/dist/cdn/LFGU3E4X.js +0 -2
  433. package/dist/cdn/LGDOYO5J.js +0 -2
  434. package/dist/cdn/MHSIIKU2.js +0 -2
  435. package/dist/cdn/MOZ5AAJM.js +0 -2
  436. package/dist/cdn/MTQHRNJW.js +0 -2
  437. package/dist/cdn/N6YVNJ3O.js +0 -2
  438. package/dist/cdn/NB3LG2PS.js +0 -2
  439. package/dist/cdn/NNVU3JV4.js +0 -2
  440. package/dist/cdn/O5XHZCXZ.js +0 -2
  441. package/dist/cdn/OXJIN4W5.js +0 -2
  442. package/dist/cdn/OXZJMSLQ.js +0 -2
  443. package/dist/cdn/P2745LUP.js +0 -2
  444. package/dist/cdn/QHUMJCWK.js +0 -2
  445. package/dist/cdn/QJ2FRJRU.js +0 -2
  446. package/dist/cdn/QUJE6MIQ.js +0 -2
  447. package/dist/cdn/REAIBS67.js +0 -2
  448. package/dist/cdn/RKSFMXT4.js +0 -2
  449. package/dist/cdn/RMKYCARB.js +0 -2
  450. package/dist/cdn/S5KQDAMG.js +0 -2
  451. package/dist/cdn/SUIJIBLR.js +0 -2
  452. package/dist/cdn/TDDLSMO5.js +0 -2
  453. package/dist/cdn/TQQTV5HV.js +0 -2
  454. package/dist/cdn/U63GYZ74.js +0 -3
  455. package/dist/cdn/UMLQ6PVE.js +0 -2
  456. package/dist/cdn/UODBUSON.js +0 -2
  457. package/dist/cdn/WJXZ7BPV.js +0 -2
  458. package/dist/cdn/X2HWVZ5U.js +0 -2
  459. package/dist/cdn/X6LSQXQT.js +0 -2
  460. package/dist/cdn/XPGAQQQC.js +0 -2
  461. package/dist/cdn/XSMU7S2O.js +0 -2
  462. package/dist/cdn/YT6UJRLT.js +0 -2
  463. package/dist/cdn/YUZXLNNW.js +0 -2
  464. package/dist/cdn/YZ4W6DFR.js +0 -2
  465. package/dist/cdn/Z2BYWKFB.js +0 -2
  466. package/dist/cdn/ZCBRPKAV.js +0 -2
  467. package/dist/cdn/ZQLGBHLZ.js +0 -2
  468. package/dist/chunks/form.js +0 -268
  469. package/dist/chunks/input.js +0 -30
  470. package/dist/utils/form.d.ts +0 -3
  471. package/dist/utils/sortableComponent.d.ts +0 -7
@@ -7,7 +7,7 @@ import { n as numberStringFormatter } from "../../chunks/locale.js";
7
7
  import { u as useT9n } from "../../chunks/useT9n.js";
8
8
  import { i as isHidden } from "../../chunks/component.js";
9
9
  import { u as useSetFocus } from "../../chunks/useSetFocus.js";
10
- import { n as slotChangeHasContent } from "../../chunks/dom.js";
10
+ import { m as slotChangeHasContent } from "../../chunks/dom.js";
11
11
  import { u as useInteractive } from "../../chunks/useInteractive.js";
12
12
  const CSS = {
13
13
  container: "container",
@@ -27,7 +27,7 @@ const ICONS = {
27
27
  exclamationMarkCircleF: "exclamationMarkCircleF",
28
28
  checkCircleF: "checkCircleF"
29
29
  };
30
- const styles = css`:host([disabled]),:host([layout=horizontal][disabled]) .stepper-item-header,:host([layout=horizontal-single][disabled]) .stepper-item-header{cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([layout=horizontal][disabled]) .stepper-item-header *,:host([layout=horizontal-single][disabled]) .stepper-item-header *,:host([disabled]) ::slotted(*),:host([layout=horizontal][disabled]) .stepper-item-header ::slotted(*),:host([layout=horizontal-single][disabled]) .stepper-item-header ::slotted(*){pointer-events:none}:host([scale=s]){--calcite-internal-stepper-item-spacing-unit-s: .25rem;--calcite-internal-stepper-item-spacing-unit-m: .75rem;--calcite-internal-stepper-item-spacing-unit-l: 1rem;--calcite-internal-stepper-item-header-padding: var(--calcite-spacing-md);--calcite-internal-stepper-action-inline-size: 2rem;font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-base);margin-inline-end:.25rem}:host([scale=s]) .stepper-item-description{font-size:var(--calcite-font-size-relative-sm)}:host([scale=m]){--calcite-internal-stepper-item-spacing-unit-s: .5rem;--calcite-internal-stepper-item-spacing-unit-m: 1rem;--calcite-internal-stepper-item-spacing-unit-l: 1.25rem;--calcite-internal-stepper-item-header-padding: var(--calcite-spacing-lg);--calcite-internal-stepper-action-inline-size: 2.5rem;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md);margin-inline-end:.5rem}:host([scale=m]) .stepper-item-description{font-size:var(--calcite-font-size-relative-base)}:host([scale=l]){--calcite-internal-stepper-item-spacing-unit-s: .75rem;--calcite-internal-stepper-item-spacing-unit-m: 1.25rem;--calcite-internal-stepper-item-spacing-unit-l: 1.5rem;--calcite-internal-stepper-item-header-padding: var(--calcite-spacing-xl);--calcite-internal-stepper-action-inline-size: 3rem;font-size:var(--calcite-font-size-relative-lg);line-height:var(--calcite-font-line-height-lg);margin-inline-end:.75rem}:host([scale=l]) .stepper-item-description{font-size:var(--calcite-font-size-relative-md)}:host{position:relative;display:flex;flex-grow:1;flex-direction:column;align-self:flex-start;margin-block-end:var(--calcite-stepper-bar-gap, var(--calcite-internal-stepper-item-spacing-unit-s))}:host .container{position:relative;display:flex;flex-grow:1;cursor:pointer;flex-direction:column;border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-color-border-3);color:var(--calcite-color-text-3);text-decoration-line:none;outline:2px solid transparent;outline-offset:2px}:host .container:active{background-color:var(--calcite-stepper-item-background-color-press, var(--calcite-color-foreground-3))}:host{outline-color:transparent}:host(:focus){outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(var(--calcite-spacing-base) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host .stepper-item-content,:host .stepper-item-header{padding-block:var(--calcite-internal-stepper-item-spacing-unit-l);padding-inline-end:var(--calcite-internal-stepper-item-spacing-unit-m);text-align:start}:host .stepper-item-header{display:flex;cursor:pointer;align-items:flex-start;padding-block:var(--calcite-internal-stepper-item-header-padding)}:host .stepper-item-header:active{background-color:var(--calcite-stepper-item-background-color-press, var(--calcite-color-foreground-3))}:host .stepper-item-header *{display:inline-flex;align-items:center}:host .stepper-item-content{display:none;inline-size:100%;flex-direction:column;font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-relative-snug)}:host .stepper-item-icon{margin-inline-end:var(--calcite-internal-stepper-item-spacing-unit-m);display:inline-flex;block-size:.75rem;flex-shrink:0;align-self:flex-start;margin-block-start:var(--calcite-spacing-base);color:var(--calcite-stepper-item-icon-color, var(--calcite-color-border-input))}:host([complete]) .stepper-item-icon{opacity:var(--calcite-opacity-disabled)}:host .stepper-item-header-text{flex-direction:column;text-align:initial;margin-inline-end:auto}:host .stepper-item-heading,:host .stepper-item-description{display:flex;inline-size:100%}.stepper-item-heading,.stepper-item-description,.stepper-item-number{line-height:var(--calcite-font-line-height-relative-snug)}:host .stepper-item-heading{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-stepper-item-header-text-color, var(--calcite-color-text-1))}:host .stepper-item-description{color:var(--calcite-stepper-item-description-text-color, var(--calcite-color-text-3))}:host .stepper-item-number{font-weight:var(--calcite-font-weight-normal);margin-inline-end:var(--calcite-internal-stepper-item-spacing-unit-m);color:var(--calcite-stepper-item-description-text-color, var(--calcite-color-text-1))}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([complete]) .container{border-color:#007ac280}:host([complete]) .container .stepper-item-icon{color:var(--calcite-stepper-item-complete-icon-color, var(--calcite-color-brand))}:host([error]) .container{border-block-start-color:var(--calcite-color-status-danger)}:host([error]) .container .stepper-item-number{color:var(--calcite-stepper-item-error-icon-color, var(--calcite-color-status-danger))}:host([error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-stepper-item-error-icon-color, var(--calcite-color-status-danger))}:host(:hover:not([disabled]):not([selected])) .container,:host(:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-color-brand)}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-heading,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-heading{color:var(--calcite-stepper-item-header-text-color-hover, var(--calcite-color-text-1))}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-description,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-description{color:var(--calcite-stepper-item-description-text-color-hover, var(--calcite-color-text-2))}:host([error]:hover:not([disabled]):not([selected])) .container,:host([error]:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-color-status-danger-hover)}:host([selected]) .container{border-block-start-color:var(--calcite-color-brand)}:host([selected]) .container .stepper-item-heading{color:var(--calcite-stepper-item-selected-header-text-color, var(--calcite-color-text-1));font-weight:var(--calcite-font-weight-medium)}:host([selected]) .container .stepper-item-description{color:var(--calcite-stepper-item-description-text-color-hover, var(--calcite-color-text-2))}:host([selected]) .container .stepper-item-number{color:var(--calcite-stepper-item-selected-icon-color, var(--calcite-color-brand));font-weight:var(--calcite-font-weight-medium)}:host([selected]) .container .stepper-item-icon{color:var(--calcite-stepper-item-selected-icon-color, var(--calcite-color-brand));opacity:1}:host([selected]) .container .stepper-item-content{display:flex}:host([layout=vertical]){inline-size:100%}:host([layout=vertical]) .container{margin-inline:0px;margin-block-start:0px;flex:1 1 auto;border-block-start-width:0px;border-style:solid;padding-block:0px;border-inline-start-width:2px;padding-inline-start:var(--calcite-internal-stepper-item-spacing-unit-l);border-color:var(--calcite-stepper-bar-fill-color, var(--calcite-color-border-2))}:host([layout=vertical]) .container .stepper-item-icon{order:3;margin-block:1px 0px;padding-inline-start:var(--calcite-internal-stepper-item-spacing-unit-s);margin-inline-start:auto}:host([layout=vertical]) .container .stepper-item-header{padding-inline-end:0px}:host([layout=vertical]) .container .stepper-item-content{padding:0}:host([layout=vertical][complete]) .container{border-color:var(--calcite-stepper-bar-complete-fill-color, rgba(0, 122, 194, .5))}:host([layout=vertical][complete]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][complete]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-stepper-bar-complete-fill-color-hover, var(--calcite-color-brand))}:host([layout=vertical][error]) .container{border-color:var(--calcite-stepper-bar-error-fill-color, var(--calcite-color-status-danger))}:host([layout=vertical][selected]) .container{border-color:var(--calcite-stepper-bar-selected-fill-color, var(--calcite-color-brand))}:host([layout=vertical][selected]) .container .stepper-item-content.has-slotted-content{margin-block-end:var(--calcite-internal-stepper-item-spacing-unit-l)}:host([layout=vertical]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-stepper-bar-fill-color-hover, rgba(0, 122, 194, .5))}:host([layout=vertical][error]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][error]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-stepper-bar-error-fill-color-hover, var(--calcite-color-status-danger-hover))}:host([layout=horizontal]),:host([layout=horizontal-single]){display:contents}:host([layout=horizontal]) .container,:host([layout=horizontal-single]) .container{display:contents}:host([layout=horizontal]) .stepper-item-header,:host([layout=horizontal-single]) .stepper-item-header{border-width:0px;border-block-start-width:2px;border-style:solid;outline-color:transparent;grid-row:items;border-color:var(--calcite-stepper-bar-fill-color, var(--calcite-color-border-2))}:host([layout=horizontal]) .stepper-item-header:focus,:host([layout=horizontal-single]) .stepper-item-header:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(var(--calcite-spacing-base) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host([layout=horizontal]) .stepper-item-content,:host([layout=horizontal-single]) .stepper-item-content{cursor:auto;transition-timing-function:cubic-bezier(.4,0,.2,1);padding-block:0;padding-inline-end:var(--calcite-internal-stepper-item-spacing-unit-m);text-align:start}:host([layout=horizontal-single]) .stepper-item-header{grid-area:1/1/1/-1}:host([layout=horizontal]) .stepper-item-content,:host([layout=horizontal-single]) .stepper-item-content{grid-area:2/1/2/-1}:host([layout=horizontal][complete]) .stepper-item-header,:host([layout=horizontal-single][complete]) .stepper-item-header{border-color:var(--calcite-stepper-bar-complete-fill-color, rgba(0, 122, 194, .5))}:host([layout=horizontal][complete]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][complete]:focus:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single][complete]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single][complete]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-stepper-bar-complete-fill-color-hover, var(--calcite-color-brand))}:host([layout=horizontal][error]) .stepper-item-header,:host([layout=horizontal-single][error]) .stepper-item-header{border-color:var(--calcite-stepper-bar-error-fill-color, var(--calcite-color-status-danger))}:host([layout=horizontal][selected]) .stepper-item-header,:host([layout=horizontal-single][selected]) .stepper-item-header{border-color:var(--calcite-stepper-bar-selected-fill-color, var(--calcite-color-brand))}:host([layout=horizontal]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal]:focus:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-stepper-bar-fill-color-hover, rgba(0, 122, 194, .5))}:host([layout=horizontal][error]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][error]:focus:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single][error]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single][error]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-stepper-bar-error-fill-color-hover, var(--calcite-color-status-danger-hover))}@media(forced-colors:active){:host .container{outline-width:0;outline-offset:0}:host(:focus),:host(:focus-visible){outline-color:canvasText}:host([selected]) .container{border-block-start-color:highlight}:host([selected]) .container .stepper-item-number{color:highlight}:host([selected]) .container .stepper-item-icon{color:highlight}:host([layout=vertical][selected]) .container{border-color:highlight}}:host([layout=horizontal-single]) .stepper-item-header{margin-inline-end:0px;box-sizing:border-box;border-style:none;inline-size:100%;padding-inline:calc(var(--calcite-internal-stepper-action-inline-size) + .5rem)}:host([layout=horizontal-single][error]) .container .stepper-item-number{color:var(--calcite-stepper-item-error-icon-color, var(--calcite-color-status-danger))}:host([layout=horizontal-single][error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-stepper-item-error-icon-color, var(--calcite-color-status-danger))}:host([layout=horizontal-single][error][selected]),:host([layout=horizontal-single][complete][selected]) .container{color:var(--calcite-color-text-3)}:host([layout=horizontal-single][error][selected]) .stepper-item-heading,:host([layout=horizontal-single][complete][selected]) .container .stepper-item-heading{color:var(--calcite-stepper-item-header-text-color, var(--calcite-color-text-2))}:host([layout=horizontal-single][complete][selected]) .container .stepper-item-icon{opacity:var(--calcite-opacity-disabled)}:host([layout=horizontal-single][complete][selected]) .container .stepper-item-number{color:var(--calcite-stepper-item-selected-icon-color, var(--calcite-color-text-3))}.visually-hidden{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}:host([hidden]){display:none}[hidden]{display:none}:host([item-hidden]){display:none}`;
30
+ const styles = css`:host([disabled]),:host([layout=horizontal][disabled]) .stepper-item-header,:host([layout=horizontal-single][disabled]) .stepper-item-header{cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([layout=horizontal][disabled]) .stepper-item-header *,:host([layout=horizontal-single][disabled]) .stepper-item-header *,:host([disabled]) ::slotted(*),:host([layout=horizontal][disabled]) .stepper-item-header ::slotted(*),:host([layout=horizontal-single][disabled]) .stepper-item-header ::slotted(*){pointer-events:none}:host([scale=s]){--calcite-internal-stepper-item-spacing-unit-s: .25rem;--calcite-internal-stepper-item-spacing-unit-m: .75rem;--calcite-internal-stepper-item-spacing-unit-l: 1rem;--calcite-internal-stepper-item-header-padding: var(--calcite-spacing-md);--calcite-internal-stepper-action-inline-size: 2rem;font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-base);margin-inline-end:.25rem}:host([scale=s]) .stepper-item-description{font-size:var(--calcite-font-size-relative-sm)}:host([scale=m]){--calcite-internal-stepper-item-spacing-unit-s: .5rem;--calcite-internal-stepper-item-spacing-unit-m: 1rem;--calcite-internal-stepper-item-spacing-unit-l: 1.25rem;--calcite-internal-stepper-item-header-padding: var(--calcite-spacing-lg);--calcite-internal-stepper-action-inline-size: 2.5rem;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md);margin-inline-end:.5rem}:host([scale=m]) .stepper-item-description{font-size:var(--calcite-font-size-relative-base)}:host([scale=l]){--calcite-internal-stepper-item-spacing-unit-s: .75rem;--calcite-internal-stepper-item-spacing-unit-m: 1.25rem;--calcite-internal-stepper-item-spacing-unit-l: 1.5rem;--calcite-internal-stepper-item-header-padding: var(--calcite-spacing-xl);--calcite-internal-stepper-action-inline-size: 3rem;font-size:var(--calcite-font-size-relative-lg);line-height:var(--calcite-font-line-height-lg);margin-inline-end:.75rem}:host([scale=l]) .stepper-item-description{font-size:var(--calcite-font-size-relative-md)}:host{position:relative;display:flex;flex-grow:1;flex-direction:column;align-self:flex-start;margin-block-end:var(--calcite-stepper-bar-gap, var(--calcite-internal-stepper-item-spacing-unit-s))}:host .container{position:relative;display:flex;flex-grow:1;cursor:pointer;flex-direction:column;border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-color-border-3);color:var(--calcite-color-text-3);text-decoration-line:none;outline:2px solid transparent;outline-offset:2px}:host .container:active{background-color:var(--calcite-stepper-item-background-color-press, var(--calcite-color-foreground-3))}:host{outline-color:transparent}:host(:focus){outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(var(--calcite-spacing-base) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host .stepper-item-content,:host .stepper-item-header{box-sizing:border-box;padding-block:var(--calcite-internal-stepper-item-spacing-unit-l);padding-inline-end:var(--calcite-internal-stepper-item-spacing-unit-m);text-align:start}:host .stepper-item-header{display:flex;cursor:pointer;align-items:flex-start;padding-block:var(--calcite-internal-stepper-item-header-padding)}:host .stepper-item-header:active{background-color:var(--calcite-stepper-item-background-color-press, var(--calcite-color-foreground-3))}:host .stepper-item-header *{display:inline-flex;align-items:center}:host .stepper-item-content{display:none;inline-size:100%;flex-direction:column;font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-relative-snug)}:host .stepper-item-icon{margin-inline-end:var(--calcite-internal-stepper-item-spacing-unit-m);display:inline-flex;block-size:.75rem;flex-shrink:0;align-self:flex-start;margin-block-start:var(--calcite-spacing-base);color:var(--calcite-stepper-item-icon-color, var(--calcite-color-border-input))}:host([complete]) .stepper-item-icon{opacity:var(--calcite-opacity-disabled)}:host .stepper-item-header-text{flex-direction:column;text-align:initial;margin-inline-end:auto}:host .stepper-item-heading,:host .stepper-item-description{display:flex;inline-size:100%}.stepper-item-heading,.stepper-item-description,.stepper-item-number{line-height:var(--calcite-font-line-height-relative-snug)}:host .stepper-item-heading{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-stepper-item-header-text-color, var(--calcite-color-text-1))}:host .stepper-item-description{color:var(--calcite-stepper-item-description-text-color, var(--calcite-color-text-3))}:host .stepper-item-number{font-weight:var(--calcite-font-weight-normal);margin-inline-end:var(--calcite-internal-stepper-item-spacing-unit-m);color:var(--calcite-stepper-item-description-text-color, var(--calcite-color-text-1))}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([complete]) .container{border-color:#007ac280}:host([complete]) .container .stepper-item-icon{color:var(--calcite-stepper-item-complete-icon-color, var(--calcite-color-brand))}:host([error]) .container{border-block-start-color:var(--calcite-color-status-danger)}:host([error]) .container .stepper-item-number{color:var(--calcite-stepper-item-error-icon-color, var(--calcite-color-status-danger))}:host([error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-stepper-item-error-icon-color, var(--calcite-color-status-danger))}:host(:hover:not([disabled]):not([selected])) .container,:host(:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-color-brand)}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-heading,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-heading{color:var(--calcite-stepper-item-header-text-color-hover, var(--calcite-color-text-1))}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-description,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-description{color:var(--calcite-stepper-item-description-text-color-hover, var(--calcite-color-text-2))}:host([error]:hover:not([disabled]):not([selected])) .container,:host([error]:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-color-status-danger-hover)}:host([selected]) .container{border-block-start-color:var(--calcite-color-brand)}:host([selected]) .container .stepper-item-heading{color:var(--calcite-stepper-item-selected-header-text-color, var(--calcite-color-text-1));font-weight:var(--calcite-font-weight-medium)}:host([selected]) .container .stepper-item-description{color:var(--calcite-stepper-item-description-text-color-hover, var(--calcite-color-text-2))}:host([selected]) .container .stepper-item-number{color:var(--calcite-stepper-item-selected-icon-color, var(--calcite-color-brand));font-weight:var(--calcite-font-weight-medium)}:host([selected]) .container .stepper-item-icon{color:var(--calcite-stepper-item-selected-icon-color, var(--calcite-color-brand));opacity:1}:host([selected]) .container .stepper-item-content{display:flex}:host([layout=vertical]){inline-size:100%}:host([layout=vertical]) .container{margin-inline:0px;margin-block-start:0px;flex:1 1 auto;border-block-start-width:0px;border-style:solid;padding-block:0px;border-inline-start-width:2px;padding-inline-start:var(--calcite-internal-stepper-item-spacing-unit-l);border-color:var(--calcite-stepper-bar-fill-color, var(--calcite-color-border-2))}:host([layout=vertical]) .container .stepper-item-icon{order:3;margin-block:1px 0px;padding-inline-start:var(--calcite-internal-stepper-item-spacing-unit-s);margin-inline-start:auto}:host([layout=vertical]) .container .stepper-item-header{padding-inline-end:0px}:host([layout=vertical]) .container .stepper-item-content{padding:0}:host([layout=vertical][complete]) .container{border-color:var(--calcite-stepper-bar-complete-fill-color, rgba(0, 122, 194, .5))}:host([layout=vertical][complete]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][complete]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-stepper-bar-complete-fill-color-hover, var(--calcite-color-brand))}:host([layout=vertical][error]) .container{border-color:var(--calcite-stepper-bar-error-fill-color, var(--calcite-color-status-danger))}:host([layout=vertical][selected]) .container{border-color:var(--calcite-stepper-bar-selected-fill-color, var(--calcite-color-brand))}:host([layout=vertical][selected]) .container .stepper-item-content.has-slotted-content{margin-block-end:var(--calcite-internal-stepper-item-spacing-unit-l)}:host([layout=vertical]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-stepper-bar-fill-color-hover, rgba(0, 122, 194, .5))}:host([layout=vertical][error]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][error]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-stepper-bar-error-fill-color-hover, var(--calcite-color-status-danger-hover))}:host([layout=horizontal]),:host([layout=horizontal-single]){display:contents}:host([layout=horizontal]) .container,:host([layout=horizontal-single]) .container{display:contents}:host([layout=horizontal]) .stepper-item-header,:host([layout=horizontal-single]) .stepper-item-header{border-width:0px;border-block-start-width:2px;border-style:solid;outline-color:transparent;grid-row:items;border-color:var(--calcite-stepper-bar-fill-color, var(--calcite-color-border-2))}:host([layout=horizontal]) .stepper-item-header:focus,:host([layout=horizontal-single]) .stepper-item-header:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(var(--calcite-spacing-base) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host([layout=horizontal]) .stepper-item-content,:host([layout=horizontal-single]) .stepper-item-content{cursor:auto;transition-timing-function:cubic-bezier(.4,0,.2,1);padding-block:0;padding-inline-end:var(--calcite-internal-stepper-item-spacing-unit-m);text-align:start}:host([layout=horizontal-single]) .stepper-item-header{grid-area:1/1/1/-1}:host([layout=horizontal]) .stepper-item-content,:host([layout=horizontal-single]) .stepper-item-content{grid-area:2/1/2/-1}:host([layout=horizontal][complete]) .stepper-item-header,:host([layout=horizontal-single][complete]) .stepper-item-header{border-color:var(--calcite-stepper-bar-complete-fill-color, rgba(0, 122, 194, .5))}:host([layout=horizontal][complete]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][complete]:focus:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single][complete]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single][complete]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-stepper-bar-complete-fill-color-hover, var(--calcite-color-brand))}:host([layout=horizontal][error]) .stepper-item-header,:host([layout=horizontal-single][error]) .stepper-item-header{border-color:var(--calcite-stepper-bar-error-fill-color, var(--calcite-color-status-danger))}:host([layout=horizontal][selected]) .stepper-item-header,:host([layout=horizontal-single][selected]) .stepper-item-header{border-color:var(--calcite-stepper-bar-selected-fill-color, var(--calcite-color-brand))}:host([layout=horizontal]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal]:focus:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-stepper-bar-fill-color-hover, rgba(0, 122, 194, .5))}:host([layout=horizontal][error]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][error]:focus:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single][error]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single][error]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-stepper-bar-error-fill-color-hover, var(--calcite-color-status-danger-hover))}@media(forced-colors:active){:host .container{outline-width:0;outline-offset:0}:host(:focus),:host(:focus-visible){outline-color:canvasText}:host([selected]) .container{border-block-start-color:highlight}:host([selected]) .container .stepper-item-number{color:highlight}:host([selected]) .container .stepper-item-icon{color:highlight}:host([layout=vertical][selected]) .container{border-color:highlight}}:host([layout=horizontal-single]) .stepper-item-header{margin-inline-end:0px;border-style:none;inline-size:100%;padding-inline:calc(var(--calcite-internal-stepper-action-inline-size) + .5rem)}:host([layout=horizontal-single][error]) .container .stepper-item-number{color:var(--calcite-stepper-item-error-icon-color, var(--calcite-color-status-danger))}:host([layout=horizontal-single][error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-stepper-item-error-icon-color, var(--calcite-color-status-danger))}:host([layout=horizontal-single][error][selected]),:host([layout=horizontal-single][complete][selected]) .container{color:var(--calcite-color-text-3)}:host([layout=horizontal-single][error][selected]) .stepper-item-heading,:host([layout=horizontal-single][complete][selected]) .container .stepper-item-heading{color:var(--calcite-stepper-item-header-text-color, var(--calcite-color-text-2))}:host([layout=horizontal-single][complete][selected]) .container .stepper-item-icon{opacity:var(--calcite-opacity-disabled)}:host([layout=horizontal-single][complete][selected]) .container .stepper-item-number{color:var(--calcite-stepper-item-selected-icon-color, var(--calcite-color-text-3))}.visually-hidden{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}:host([hidden]){display:none}[hidden]{display:none}:host([item-hidden]){display:none}`;
31
31
  class StepperItem extends LitElement {
32
32
  constructor() {
33
33
  super();
@@ -47,7 +47,7 @@ class StepperItem extends LitElement {
47
47
  this.calciteInternalStepperItemKeyEvent = createEvent({
48
48
  cancelable: false
49
49
  });
50
- this.calciteInternalStepperItemRegister = createEvent({ cancelable: false });
50
+ this.calciteInternalStepperItemUpdate = createEvent({ cancelable: false });
51
51
  this.calciteInternalStepperItemSelect = createEvent({ cancelable: false });
52
52
  this.calciteStepperItemSelect = createEvent({ cancelable: false });
53
53
  this.listenOn(document.body, "calciteInternalStepperItemChange", this.updateActiveItemOnChange);
@@ -66,7 +66,6 @@ class StepperItem extends LitElement {
66
66
  async load() {
67
67
  this.parentStepperEl = this.el.parentElement;
68
68
  this.itemPosition = this.getItemPosition();
69
- this.registerStepperItem();
70
69
  if (this.selected) {
71
70
  this.emitRequestedItem();
72
71
  }
@@ -76,7 +75,7 @@ class StepperItem extends LitElement {
76
75
  this.selectedHandler();
77
76
  }
78
77
  if (changes.has("disabled") && (this.hasUpdated || this.disabled !== false)) {
79
- this.registerStepperItem();
78
+ this.calciteInternalStepperItemUpdate.emit();
80
79
  }
81
80
  if (changes.has("messages")) {
82
81
  this.effectiveLocaleWatcher(this.messages._lang);
@@ -126,11 +125,6 @@ class StepperItem extends LitElement {
126
125
  determineSelectedItem() {
127
126
  this.selected = !this.disabled && this.itemPosition === this.selectedPosition;
128
127
  }
129
- registerStepperItem() {
130
- this.calciteInternalStepperItemRegister.emit({
131
- position: this.itemPosition
132
- });
133
- }
134
128
  handleItemClick(event) {
135
129
  if (this.disabled || isHidden(this.el) || this.layout === "horizontal" && event.composedPath().some((el) => el.classList?.contains("stepper-item-content"))) {
136
130
  return;
@@ -10,7 +10,7 @@ export abstract class Swatch extends LitElement {
10
10
  /**
11
11
  * Specifies the component's color
12
12
  *
13
- * @see https://developer.mozilla.org/en-US/docs/Web/CSS/color_value
13
+ * @see [MDN - CSS color value](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value)
14
14
  */
15
15
  accessor color: string;
16
16
  /**
@@ -3,7 +3,7 @@ import { c as customElement } from "../../chunks/runtime.js";
3
3
  import { css, html } from "lit";
4
4
  import { createRef, ref } from "lit/directives/ref.js";
5
5
  import { LitElement, createEvent, safeClassMap } from "@arcgis/lumina";
6
- import { f as focusElementInGroup, b as slotChangeGetAssignedElements } from "../../chunks/dom.js";
6
+ import { f as focusElementInGroup, a as slotChangeGetAssignedElements } from "../../chunks/dom.js";
7
7
  import { u as useSetFocus } from "../../chunks/useSetFocus.js";
8
8
  import { u as useInteractive } from "../../chunks/useInteractive.js";
9
9
  const CSS = {
@@ -5,11 +5,11 @@ import type { Scale } from "../interfaces.js";
5
5
  /**
6
6
  * @cssproperty [--calcite-switch-background-color] - Specifies the component's background color.
7
7
  * @cssproperty [--calcite-switch-background-color-hover] - Specifies the component's background color when hovered or pressed.
8
- * @cssproperty [--calcite-switch-border-color] - [Deprecated] No longer necessary. Specifies the component's border color.
8
+ * @cssproperty [--calcite-switch-border-color] - [Deprecated] in v3.2.0, removal target v6.0.0 - No longer necessary. Specifies the component's border color.
9
9
  * @cssproperty [--calcite-switch-corner-radius] - Specifies the component's corner radius.
10
10
  * @cssproperty [--calcite-switch-handle-background-color] - Specifies the handle's background color.
11
- * @cssproperty [--calcite-switch-handle-border-color] - [Deprecated] No longer necessary. Specifies the handle's border color.
12
- * @cssproperty [--calcite-switch-handle-shadow] - [Deprecated] No longer necessary. Specifies the handle's shadow.
11
+ * @cssproperty [--calcite-switch-handle-border-color] - [Deprecated] in v3.2.0, removal target v6.0.0 - No longer necessary. Specifies the handle's border color.
12
+ * @cssproperty [--calcite-switch-handle-shadow] - [Deprecated] in v3.2.0, removal target v6.0.0 - No longer necessary. Specifies the handle's shadow.
13
13
  */
14
14
  export abstract class Switch extends LitElement {
15
15
  /**
@@ -50,7 +50,7 @@ export abstract class Switch extends LitElement {
50
50
  * Sets focus on the component.
51
51
  *
52
52
  * @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
53
- * @mdn [focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
53
+ * @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
54
54
  */
55
55
  setFocus(options?: FocusOptions): Promise<void>;
56
56
  /** Fires when the `checked` value has changed. */
@@ -3,21 +3,24 @@ import { c as customElement } from "../../chunks/runtime.js";
3
3
  import { css, html } from "lit";
4
4
  import { LitElement, createEvent, safeClassMap } from "@arcgis/lumina";
5
5
  import { createRef, ref } from "lit/directives/ref.js";
6
- import { c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from "../../chunks/form.js";
7
6
  import { i as isActivationKey } from "../../chunks/key.js";
8
7
  import { c as connectLabel, d as disconnectLabel, g as getLabelText } from "../../chunks/label.js";
9
8
  import { I as InternalLabel } from "../../chunks/InternalLabel.js";
10
9
  import { u as useSetFocus } from "../../chunks/useSetFocus.js";
11
10
  import { u as useInteractive } from "../../chunks/useInteractive.js";
11
+ import { u as useForm } from "../../chunks/useForm.js";
12
12
  const CSS = {
13
13
  container: "container",
14
14
  track: "track",
15
15
  handle: "handle"
16
16
  };
17
- const styles = css`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host([scale=s]) .container{block-size:.75rem}:host([scale=s]) .track{block-size:.75rem;inline-size:1.5rem}:host([scale=s]) .handle{block-size:.5rem;inline-size:.5rem}:host([scale=m]) .container{block-size:1rem}:host([scale=m]) .track{block-size:1rem;inline-size:2rem}:host([scale=m]) .handle{block-size:.75rem;inline-size:.75rem}:host([scale=l]) .container{block-size:1.5rem}:host([scale=l]) .track{block-size:1.5rem;inline-size:3rem}:host([scale=l]) .handle{block-size:1.25rem;inline-size:1.25rem}:host{position:relative;display:inline-block;inline-size:auto;cursor:pointer;-webkit-user-select:none;user-select:none;vertical-align:middle;tap-highlight-color:transparent}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.container{outline-width:0px;display:flex}.track{pointer-events:none;position:relative;box-sizing:border-box;display:inline-block;vertical-align:top;outline-color:transparent;border-radius:var(--calcite-switch-corner-radius, 9999px);border-color:var(--calcite-switch-border-color);background-color:var(--calcite-switch-background-color, var(--calcite-color-border-input))}.container:focus .track{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(var(--calcite-spacing-base) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.container:hover .track{background-color:var(--calcite-switch-background-color-hover, var(--calcite-color-text-3))}.handle{pointer-events:none;position:absolute;display:block;transition-property:all;transition-duration:var(--calcite-animation-timing);transition-timing-function:cubic-bezier(.4,0,.2,1);inset-block-start:var(--calcite-spacing-base);inset-inline:var(--calcite-spacing-base) auto;background-color:var(--calcite-switch-handle-background-color, var(--calcite-color-foreground-1));border-color:var(--calcite-switch-handle-border-color);border-radius:var(--calcite-switch-corner-radius, 9999px);box-shadow:var(--calcite-switch-handle-shadow)}:host([checked]) .track{background-color:var(--calcite-switch-background-color, var(--calcite-color-brand))}:host([checked]) .handle{inset-inline:auto var(--calcite-spacing-base)}:host([checked]):host(:hover:not([disabled])) .track{background-color:var(--calcite-switch-background-color-hover, var(--calcite-color-brand-hover))}@media(forced-colors:active){:host([checked]) .track{background-color:canvasText}}.internal-label-alignment--center{align-items:center}.internal-label-alignment--end{align-items:end}.internal-label--container{display:flex;justify-content:space-between;color:var(--calcite-color-text-1)}.internal-label-required--indicator{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-status-danger);padding-inline:var(--calcite-spacing-base)}.internal-label-required--indicator:hover{cursor:help}.internal-label--text{line-height:1}:host([scale=s]) .internal-label-spacing--bottom{margin-block-end:var(--calcite-spacing-xxs)}:host([scale=s]) .internal-label-spacing-inline--end{margin-inline-end:var(--calcite-spacing-sm)}:host([scale=s]) .internal-label-spacing-inline--start{margin-inline-start:var(--calcite-spacing-sm)}:host([scale=s]) .internal-label--text{font-size:var(--calcite-font-size--2)}:host([scale=m]) .internal-label-spacing--bottom{margin-block-end:var(--calcite-spacing-sm)}:host([scale=m]) .internal-label-spacing-inline--end{margin-inline-end:var(--calcite-spacing-sm)}:host([scale=m]) .internal-label-spacing-inline--start{margin-inline-start:var(--calcite-spacing-sm)}:host([scale=m]) .internal-label--text{font-size:var(--calcite-font-size--1)}:host([scale=l]) .internal-label-spacing--bottom{margin-block-end:var(--calcite-spacing-sm)}:host([scale=l]) .internal-label-spacing-inline--end{margin-inline-end:var(--calcite-spacing-md)}:host([scale=l]) .internal-label-spacing-inline--start{margin-inline-start:var(--calcite-spacing-md)}:host([scale=l]) .internal-label--text{font-size:var(--calcite-font-size-0)}::slotted(input[slot=hidden-form-input]){margin:0!important;opacity:0!important;outline:none!important;padding:0!important;position:absolute!important;inset:0!important;transform:none!important;-webkit-appearance:none!important;z-index:-1!important}:host([hidden]){display:none}[hidden]{display:none}`;
17
+ const styles = css`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host([scale=s]) .container{block-size:.75rem}:host([scale=s]) .track{block-size:.75rem;inline-size:1.5rem}:host([scale=s]) .handle{block-size:.5rem;inline-size:.5rem}:host([scale=m]) .container{block-size:1rem}:host([scale=m]) .track{block-size:1rem;inline-size:2rem}:host([scale=m]) .handle{block-size:.75rem;inline-size:.75rem}:host([scale=l]) .container{block-size:1.5rem}:host([scale=l]) .track{block-size:1.5rem;inline-size:3rem}:host([scale=l]) .handle{block-size:1.25rem;inline-size:1.25rem}:host{position:relative;display:inline-block;inline-size:auto;cursor:pointer;-webkit-user-select:none;user-select:none;vertical-align:middle;tap-highlight-color:transparent}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.container{outline:none;display:flex}.track{pointer-events:none;position:relative;box-sizing:border-box;display:inline-block;vertical-align:top;outline-color:transparent;border-radius:var(--calcite-switch-corner-radius, 9999px);border-color:var(--calcite-switch-border-color);background-color:var(--calcite-switch-background-color, var(--calcite-color-border-input))}.container:focus .track{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(var(--calcite-spacing-base) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.container:hover .track{background-color:var(--calcite-switch-background-color-hover, var(--calcite-color-text-3))}.handle{pointer-events:none;position:absolute;display:block;transition-property:all;transition-duration:var(--calcite-animation-timing);transition-timing-function:cubic-bezier(.4,0,.2,1);inset-block-start:var(--calcite-spacing-base);inset-inline:var(--calcite-spacing-base) auto;background-color:var(--calcite-switch-handle-background-color, var(--calcite-color-foreground-1));border-color:var(--calcite-switch-handle-border-color);border-radius:var(--calcite-switch-corner-radius, 9999px);box-shadow:var(--calcite-switch-handle-shadow)}:host([checked]) .track{background-color:var(--calcite-switch-background-color, var(--calcite-color-brand))}:host([checked]) .handle{inset-inline:auto var(--calcite-spacing-base)}:host([checked]):host(:hover:not([disabled])) .track{background-color:var(--calcite-switch-background-color-hover, var(--calcite-color-brand-hover))}@media(forced-colors:active){:host([checked]) .track{background-color:canvasText}}.internal-label-alignment--center{align-items:center}.internal-label-alignment--end{align-items:end}.internal-label--container{display:flex;justify-content:space-between;color:var(--calcite-color-text-1)}.internal-label-required--indicator{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-status-danger);padding-inline:var(--calcite-spacing-base)}.internal-label-required--indicator:hover{cursor:help}.internal-label--text{line-height:1}:host([scale=s]) .internal-label-spacing--bottom{margin-block-end:var(--calcite-spacing-xxs)}:host([scale=s]) .internal-label-spacing-inline--end{margin-inline-end:var(--calcite-spacing-sm)}:host([scale=s]) .internal-label-spacing-inline--start{margin-inline-start:var(--calcite-spacing-sm)}:host([scale=s]) .internal-label--text{font-size:var(--calcite-font-size--2)}:host([scale=m]) .internal-label-spacing--bottom{margin-block-end:var(--calcite-spacing-sm)}:host([scale=m]) .internal-label-spacing-inline--end{margin-inline-end:var(--calcite-spacing-sm)}:host([scale=m]) .internal-label-spacing-inline--start{margin-inline-start:var(--calcite-spacing-sm)}:host([scale=m]) .internal-label--text{font-size:var(--calcite-font-size--1)}:host([scale=l]) .internal-label-spacing--bottom{margin-block-end:var(--calcite-spacing-sm)}:host([scale=l]) .internal-label-spacing-inline--end{margin-inline-end:var(--calcite-spacing-md)}:host([scale=l]) .internal-label-spacing-inline--start{margin-inline-start:var(--calcite-spacing-md)}:host([scale=l]) .internal-label--text{font-size:var(--calcite-font-size-0)}::slotted(input[slot=hidden-form-input]){margin:0!important;opacity:0!important;outline:none!important;padding:0!important;position:absolute!important;inset:0!important;transform:none!important;-webkit-appearance:none!important;z-index:-1!important}:host([hidden]){display:none}[hidden]{display:none}`;
18
18
  class Switch extends LitElement {
19
19
  constructor() {
20
20
  super();
21
+ this.formSupport = useForm({
22
+ inputType: "checkbox"
23
+ })(this);
21
24
  this.switchRef = createRef();
22
25
  this.focusSetter = useSetFocus()(this);
23
26
  this.interactiveContainer = useInteractive(this);
@@ -31,6 +34,9 @@ class Switch extends LitElement {
31
34
  static {
32
35
  this.properties = { checked: [7, {}, { reflect: true, type: Boolean }], disabled: [7, {}, { reflect: true, type: Boolean }], form: [3, {}, { reflect: true }], label: 1, labelTextEnd: 1, labelTextStart: 1, name: [3, {}, { reflect: true }], scale: [3, {}, { reflect: true }], value: 1 };
33
36
  }
37
+ static {
38
+ this.formAssociated = true;
39
+ }
34
40
  static {
35
41
  this.styles = styles;
36
42
  }
@@ -40,15 +46,10 @@ class Switch extends LitElement {
40
46
  connectedCallback() {
41
47
  super.connectedCallback();
42
48
  connectLabel(this);
43
- connectForm(this);
44
49
  }
45
50
  disconnectedCallback() {
46
51
  super.disconnectedCallback();
47
52
  disconnectLabel(this);
48
- disconnectForm(this);
49
- }
50
- syncHiddenFormInput(input) {
51
- input.type = "checkbox";
52
53
  }
53
54
  keyDownHandler(event) {
54
55
  if (!this.disabled && isActivationKey(event.key)) {
@@ -73,7 +74,7 @@ class Switch extends LitElement {
73
74
  this.toggle();
74
75
  }
75
76
  render() {
76
- return this.interactiveContainer({ disabled: this.disabled, children: html`<div .ariaChecked=${this.checked} .ariaLabel=${getLabelText(this)} class=${safeClassMap(CSS.container)} role=switch tabindex=0 ${ref(this.switchRef)}>${this.labelTextStart && InternalLabel({ alignmentCenter: true, bottomSpacingDisabled: true, labelText: this.labelTextStart, spacingInlineEnd: true }) || ""}<div class=${safeClassMap(CSS.track)}><div class=${safeClassMap(CSS.handle)}></div></div>${this.labelTextEnd && InternalLabel({ alignmentCenter: true, bottomSpacingDisabled: true, labelText: this.labelTextEnd, spacingInlineStart: true }) || ""}${HiddenFormInputSlot({ component: this })}</div>` });
77
+ return this.interactiveContainer({ disabled: this.disabled, children: html`<div .ariaChecked=${this.checked} .ariaLabel=${getLabelText(this)} class=${safeClassMap(CSS.container)} role=switch tabindex=0 ${ref(this.switchRef)}>${this.labelTextStart && InternalLabel({ alignmentCenter: true, bottomSpacingDisabled: true, labelText: this.labelTextStart, spacingInlineEnd: true }) || ""}<div class=${safeClassMap(CSS.track)}><div class=${safeClassMap(CSS.handle)}></div></div>${this.labelTextEnd && InternalLabel({ alignmentCenter: true, bottomSpacingDisabled: true, labelText: this.labelTextEnd, spacingInlineStart: true }) || ""}</div>` });
77
78
  }
78
79
  }
79
80
  customElement("calcite-switch", Switch);
@@ -3,7 +3,7 @@ import type { PublicLitElement as LitElement } from "@arcgis/lumina";
3
3
 
4
4
  /**
5
5
  * @cssproperty [--calcite-tab-content-space-y] - Specifies the vertical space between the component's content in the `default` slot.
6
- * @cssproperty [--calcite-tab-content-block-padding] - [Deprecated] Use `--calcite-tab-content-space-y` instead. Specifies the block padding of the component's content in the `default` slot.
6
+ * @cssproperty [--calcite-tab-content-block-padding] - [Deprecated] in v3.2.0, removal target v6.0.0 - Use `--calcite-tab-content-space-y` instead. Specifies the block padding of the component's content in the `default` slot.
7
7
  * @slot - A slot for adding custom content.
8
8
  */
9
9
  export abstract class Tab extends LitElement {
@@ -2,7 +2,7 @@
2
2
  import { c as customElement } from "../../chunks/runtime.js";
3
3
  import { css, html } from "lit";
4
4
  import { LitElement, setAttribute, safeClassMap } from "@arcgis/lumina";
5
- import { o as nodeListToArray } from "../../chunks/dom.js";
5
+ import { n as nodeListToArray } from "../../chunks/dom.js";
6
6
  import { g as guid } from "../../chunks/guid.js";
7
7
  const CSS = {
8
8
  container: "container",
@@ -12,7 +12,7 @@ const CSS = {
12
12
  const IDS = {
13
13
  tabTitleId: (id) => `calcite-tab-title-${id}`
14
14
  };
15
- const styles = css`:host{display:none}:host,.container,.content{block-size:100%;inline-size:100%}:host([selected]),:host([selected]) .container{display:flex;flex-direction:column}.content{box-sizing:border-box;padding-block:var(--calcite-tab-content-space-y, var(--calcite-tab-content-block-padding, var(--calcite-internal-tab-content-space-y)))}.scale-s{--calcite-internal-tab-content-space-y: .25rem;font-size:var(--calcite-font-size-sm);line-height:1rem}.scale-m{--calcite-internal-tab-content-space-y: .5rem;font-size:var(--calcite-font-size);line-height:1rem}.scale-l{--calcite-internal-tab-content-space-y: .625rem;font-size:var(--calcite-font-size-md);line-height:1.25rem}.container{display:none;block-size:100%;inline-size:100%;overflow:auto;outline-color:transparent}.container:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host([hidden]){display:none}[hidden]{display:none}`;
15
+ const styles = css`:host{display:none}:host,.container,.content{block-size:100%;inline-size:100%}:host([selected]),:host([selected]) .container{display:flex;flex-direction:column}.content{box-sizing:border-box;padding-block:var(--calcite-tab-content-space-y, var(--calcite-tab-content-block-padding, var(--calcite-internal-tab-content-space-y)))}.scale-s{--calcite-internal-tab-content-space-y: .25rem;font-size:var(--calcite-font-size-sm);line-height:1rem}.scale-m{--calcite-internal-tab-content-space-y: .5rem;font-size:var(--calcite-font-size);line-height:1rem}.scale-l{--calcite-internal-tab-content-space-y: var(--calcite-space-sm-plus);font-size:var(--calcite-font-size-md);line-height:1.25rem}.container{display:none;block-size:100%;inline-size:100%;overflow:auto;outline-color:transparent}.container:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host([hidden]){display:none}[hidden]{display:none}`;
16
16
  class Tab extends LitElement {
17
17
  constructor() {
18
18
  super();
@@ -5,7 +5,8 @@ import { keyed } from "lit/directives/keyed.js";
5
5
  import { a as calciteSize24, b as calciteSize32, d as calciteSize44 } from "../../chunks/core.js";
6
6
  import { css, html } from "lit";
7
7
  import { LitElement, createEvent, safeClassMap } from "@arcgis/lumina";
8
- import { g as getElementDir, A as filterDirectChildren, f as focusElementInGroup, j as focusElement } from "../../chunks/dom.js";
8
+ import { useDirection } from "@arcgis/lumina/controllers";
9
+ import { C as filterDirectChildren, f as focusElementInGroup, i as focusElement } from "../../chunks/dom.js";
9
10
  import { c as createObserver } from "../../chunks/observers.js";
10
11
  import { u as useT9n } from "../../chunks/useT9n.js";
11
12
  const ICON = {
@@ -26,6 +27,7 @@ const styles = css`:host{position:relative;display:flex}:host([bordered]) .scrol
26
27
  class TabNav extends LitElement {
27
28
  constructor() {
28
29
  super();
30
+ this.direction = useDirection();
29
31
  this.effectiveDir = "ltr";
30
32
  this.lastScrollWheelAxis = "x";
31
33
  this.resizeObserver = createObserver("resize", () => {
@@ -82,7 +84,7 @@ class TabNav extends LitElement {
82
84
  const { parentTabsEl } = this;
83
85
  this.layout = parentTabsEl?.layout;
84
86
  this.bordered = parentTabsEl?.bordered;
85
- this.effectiveDir = getElementDir(this.el);
87
+ this.effectiveDir = this.direction;
86
88
  }
87
89
  loaded() {
88
90
  this.scrollTabTitleIntoView(this.selectedTitle, "instant");
@@ -4,7 +4,8 @@ import { keyed } from "lit/directives/keyed.js";
4
4
  import { css, isServer, html } from "lit";
5
5
  import { createRef, ref } from "lit/directives/ref.js";
6
6
  import { LitElement, createEvent, safeClassMap, setAttribute } from "@arcgis/lumina";
7
- import { o as nodeListToArray, g as getElementDir } from "../../chunks/dom.js";
7
+ import { useDirection } from "@arcgis/lumina/controllers";
8
+ import { n as nodeListToArray } from "../../chunks/dom.js";
8
9
  import { t as toAriaBoolean } from "../../chunks/aria.js";
9
10
  import { g as guid } from "../../chunks/guid.js";
10
11
  import { c as createObserver, u as updateRefObserver } from "../../chunks/observers.js";
@@ -28,11 +29,12 @@ const idPrefix = "calcite-tab-title";
28
29
  const IDS = {
29
30
  host: (id) => `${idPrefix}-${id}`
30
31
  };
31
- const styles = css`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block;outline:2px solid transparent;outline-offset:2px;margin-inline-start:0px}:host([layout=inline]){flex:0 1 auto}:host([layout=center]){flex:1 1 auto}.content{position:relative;margin-block-end:.125rem;box-sizing:border-box;display:flex;block-size:100%;align-items:center;justify-content:center}.scale-s{--calcite-internal-tab-title-close-padding: var(--calcite-spacing-none);--calcite-internal-tab-title-close-margin-start: var(--calcite-spacing-xxs)}.scale-s .content{padding-block:.25rem;font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-sm)}.scale-m{--calcite-internal-tab-title-close-padding: var(--calcite-spacing-xxs);--calcite-internal-tab-title-close-margin-start: var(--calcite-spacing-xxs)}.scale-m .content{padding-block:.5rem;font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-base)}.scale-l{--calcite-internal-tab-title-close-padding: var(--calcite-spacing-xxs);--calcite-internal-tab-title-close-margin-start: var(--calcite-spacing-xs)}.scale-l .content{padding-block:.625rem;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md)}:host([closable]) .content{border-block-end-color:transparent}:host([layout=inline]) .content,:host([layout=center]) .content{padding-inline:.25rem}:host([layout=center]) .scale-s,:host([layout=center]) .scale-m,:host([layout=center]) .scale-l{margin-block:0px;justify-content:center;text-align:center}:host([layout=center]) .scale-s .content,:host([layout=center]) .scale-m .content,:host([layout=center]) .scale-l .content{flex:1 1 auto;flex-grow:1}.container{position:relative;box-sizing:border-box;display:flex;block-size:100%;inline-size:100%;cursor:pointer;align-content:center;justify-content:space-between;padding-inline:0px;font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-base);outline-color:transparent;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;color:var(--calcite-tab-text-color, var(--calcite-color-text-3));background-color:var(--calcite-tab-background-color, transparent)}.selected-indicator{position:absolute;display:block;block-size:.125rem;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;inset-block-end:0;inset-inline-start:0;inset-inline-end:0;inline-size:100%}:host([bordered][selected]) .container:after{position:absolute;display:block;block-size:.125rem;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;inset-block-end:-1px;inset-inline-start:0;inset-inline-end:0;inline-size:100%;content:""}:host([bordered][selected]) .container.container--bottom:after{inset-block-start:-1px}:host([bordered][selected]:focus) .container:after{background:transparent}.container--bottom .selected-indicator{inset-block-end:unset;inset-block-start:0}:host([bordered]:not([selected]):hover:not(:focus)) .selected-indicator{background-color:var(--calcite-color-foreground-2)}:host([bordered]:not([selected]):hover:not(:focus)) .container:not(.container--bottom) .selected-indicator{box-shadow:inset 0 1px var(--calcite-color-border-1)}:host([bordered]:not([selected]):hover:not(:focus)) .container.container--bottom .selected-indicator{box-shadow:inset 0 -1px var(--calcite-color-border-1)}:host([selected]:focus) .selected-indicator{block-size:4px}.calcite-tab-title--icon{position:relative;margin:0;display:inline-flex;align-self:center}.calcite-tab-title--icon svg{transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out}.container{color:var(--calcite-tab-text-color, var(--calcite-color-text-3))}.container .icon-start{color:var(--calcite-tab-icon-color-start, var(--calcite-icon-color, var(--calcite-ui-icon-color)))}.container .icon-end{color:var(--calcite-tab-icon-color-end, var(--calcite-icon-color, var(--calcite-ui-icon-color)))}.container:hover,.container:active,:host([selected]) .container{color:var(--calcite-tab-text-color-press, var(--calcite-color-text-1))}.container:hover .icon-start,.container:active .icon-start,:host([selected]) .container .icon-start{color:var(--calcite-tab-icon-color-start-press, var(--calcite-icon-color, var(--calcite-ui-icon-color)))}.container:hover .icon-end,.container:active .icon-end,:host([selected]) .container .icon-end{color:var(--calcite-tab-icon-color-end-press, var(--calcite-icon-color, var(--calcite-ui-icon-color)))}.content--has-text{padding:.25rem}.content--has-text .calcite-tab-title--icon.icon-start{margin-inline-end:var(--calcite-spacing-sm)}.content--has-text .calcite-tab-title--icon.icon-end{margin-inline-start:var(--calcite-spacing-sm)}:host([bordered]) .container{border-color:transparent;border-inline-width:var(--calcite-spacing-px);border-inline-style:solid}:host([bordered]) .container .x-button calcite-icon{margin-block-start:var(--calcite-spacing-px)}:host([bordered]) .container .x-button:focus,:host([bordered]) .container .x-button:hover,:host([bordered]) .container .x-button:active{box-shadow:0 2px 0 0 var(--calcite-tab-close-icon-background-color-press, var(--calcite-color-foreground-3))}:host([bordered]) .container.container--bottom{border-block-start-style:solid;border-block-start-width:1px}:host([bordered]) .container.container--bottom .selected-indicator{inset-block-start:unset;inset-block-end:0}:host([bordered]) .container.container--bottom .x-button{box-shadow:0 -2px 0 0 var(--calcite-tab-close-icon-background-color, var(--calcite-color-transparent))}:host([bordered]) .container.container--bottom .x-button:focus,:host([bordered]) .container.container--bottom .x-button:hover,:host([bordered]) .container.container--bottom .x-button:active{box-shadow:0 -2px 0 0 var(--calcite-tab-close-icon-background-color-press, var(--calcite-color-foreground-3))}:host([bordered]) .container.container--bottom .x-button calcite-icon{margin-block-end:var(--calcite-spacing-px)}:host([bordered]) .container:not(.container--bottom){border-block-end-style:solid;border-block-end-width:1px}:host([bordered]) .container:not(.container--bottom) .x-button{block-size:calc(100% - var(--calcite-spacing-px));margin-block-start:-1px}:host([bordered]) .container .selected-indicator{inset-block-start:0;inset-block-end:unset;inset-inline-start:-1px;inset-inline-end:0;inline-size:calc(100% + var(--calcite-spacing-base))}:host([bordered]) .container:host(:not([selected])) .container .x-button{box-shadow:0 2px 0 0 transparent}:host([bordered]) .container:host(:not([selected])):host(:hover) .container:not(.container--bottom){border-block-end-color:var(--calcite-tab-border-color, var(--calcite-color-border-1))}:host([bordered]) .container:host(:not([selected])):host(:hover):host(:not(:focus)) .selected-indicator{box-shadow:inset 0 var(--calcite-internal-tab-shadow-length) var(--calcite-tab-border-color, var(--calcite-color-border-1))}:host([bordered]) .container:host(:not([selected])):host(:hover):host(:not(:focus)) :not(.container--bottom){--calcite-internal-tab-shadow-length: 1px}:host([bordered]) .container:host(:not([selected])):host(:hover):host(:not(:focus)) .container--bottom{--calcite-internal-tab-shadow-length: -1px}:host([bordered]) .container:hover{background-color:var(--calcite-tab-background-color-hover, var(--calcite-color-foreground-2));border-block-end-color:var(--calcite-color-border-1)}:host(:hover) .selected-indicator{background-color:var(--calcite-color-border-3)}:host([selected]) .selected-indicator,:host([selected]:hover) .selected-indicator,:host(:focus) .selected-indicator,:host(:active) .selected-indicator{background-color:var(--calcite-tab-accent-color-press, var(--calcite-color-brand))}:host([closed]){display:none}:host([selected][bordered]) .container{border-inline-color:var(--calcite-tab-border-color, var(--calcite-color-border-1))}:host([selected][bordered]) .container:after{background-color:var(--calcite-tab-background-color, var(--calcite-color-foreground-1))}:host([selected][bordered]) .container:hover,:host([selected][bordered]) .container:active{background:transparent}:host(:focus) .container{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host(:focus) .container:focus-within{outline-color:transparent}:host([icon-start][icon-end]) .calcite-tab-title--icon:first-child{margin-inline-end:var(--calcite-spacing-sm)}:host([layout=inline][bordered]) .scale-m .content,:host([layout=center][bordered]) .scale-m .content{padding-inline:.75rem}:host([layout=inline][bordered]) .scale-s .content,:host([layout=center][bordered]) .scale-s .content{padding-inline:.5rem}:host([layout=inline][bordered]) .scale-l .content,:host([layout=center][bordered]) .scale-l .content{padding-inline:1rem}:host([layout=inline][closable]) .scale-s .content,:host([layout=inline][closable]) .scale-m .content,:host([layout=inline][closable]) .scale-l .content{padding-inline-end:0}.close{--calcite-internal-action-spacing: var(--calcite-internal-tab-title-close-padding);--calcite-internal-action-height: unset;--calcite-action-text-color: var(--calcite-tab-close-icon-color);--calcite-action-text-color-press: var(--calcite-tab-close-icon-color-press);--calcite-action-background-color: var(--calcite-tab-close-icon-background-color);--calcite-action-background-color-press: var(--calcite-tab-close-icon-background-color-press);--calcite-action-background-color-hover: var(--calcite-tab-close-icon-background-color-hover);margin:auto;margin-inline:var(--calcite-spacing-sm) var(--calcite-internal-tab-title-close-margin-start)}@media(forced-colors:active){:host{outline-width:0;outline-offset:0}:host(:focus) .container{outline-color:highlight}:host([bordered][selected]) .container{border-block-end-style:none}:host([bordered][selected]) .container--bottom{border-block-start-style:none}.selected-indicator{background-color:highlight}}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) .container{pointer-events:none;opacity:.5}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}`;
32
+ const styles = css`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block;outline:2px solid transparent;outline-offset:2px;margin-inline-start:0px}:host([layout=inline]){flex:0 1 auto}:host([layout=center]){flex:1 1 auto}.content{position:relative;margin-block-end:.125rem;box-sizing:border-box;display:flex;block-size:100%;align-items:center;justify-content:center}.scale-s{--calcite-internal-tab-title-close-padding: var(--calcite-spacing-none);--calcite-internal-tab-title-close-margin-start: var(--calcite-spacing-xxs)}.scale-s .content{padding-block:.25rem;font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-sm)}.scale-m{--calcite-internal-tab-title-close-padding: var(--calcite-spacing-xxs);--calcite-internal-tab-title-close-margin-start: var(--calcite-spacing-xxs)}.scale-m .content{padding-block:.5rem;font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-base)}.scale-l{--calcite-internal-tab-title-close-padding: var(--calcite-spacing-xxs);--calcite-internal-tab-title-close-margin-start: var(--calcite-spacing-xs)}.scale-l .content{padding-block:var(--calcite-space-sm-plus);font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md)}:host([closable]) .content{border-block-end-color:transparent}:host([layout=inline]) .content,:host([layout=center]) .content{padding-inline:.25rem}:host([layout=center]) .scale-s,:host([layout=center]) .scale-m,:host([layout=center]) .scale-l{margin-block:0px;justify-content:center;text-align:center}:host([layout=center]) .scale-s .content,:host([layout=center]) .scale-m .content,:host([layout=center]) .scale-l .content{flex:1 1 auto;flex-grow:1}.container{position:relative;box-sizing:border-box;display:flex;block-size:100%;inline-size:100%;cursor:pointer;align-content:center;justify-content:space-between;padding-inline:0px;font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-base);outline-color:transparent;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;color:var(--calcite-tab-text-color, var(--calcite-color-text-3));background-color:var(--calcite-tab-background-color, transparent)}.selected-indicator{position:absolute;display:block;block-size:.125rem;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;inset-block-end:0;inset-inline-start:0;inset-inline-end:0;inline-size:100%}:host([bordered][selected]) .container:after{position:absolute;display:block;block-size:.125rem;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;inset-block-end:-1px;inset-inline-start:0;inset-inline-end:0;inline-size:100%;content:""}:host([bordered][selected]) .container.container--bottom:after{inset-block-start:-1px}:host([bordered][selected]:focus) .container:after{background:transparent}.container--bottom .selected-indicator{inset-block-end:unset;inset-block-start:0}:host([bordered]:not([selected]):hover:not(:focus)) .selected-indicator{background-color:var(--calcite-color-foreground-2)}:host([bordered]:not([selected]):hover:not(:focus)) .container:not(.container--bottom) .selected-indicator{box-shadow:inset 0 1px var(--calcite-color-border-1)}:host([bordered]:not([selected]):hover:not(:focus)) .container.container--bottom .selected-indicator{box-shadow:inset 0 -1px var(--calcite-color-border-1)}:host([selected]:focus) .selected-indicator{block-size:4px}.calcite-tab-title--icon{position:relative;margin:0;display:inline-flex;align-self:center}.calcite-tab-title--icon svg{transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out}.container{color:var(--calcite-tab-text-color, var(--calcite-color-text-3))}.container .icon-start{color:var(--calcite-tab-icon-color-start, var(--calcite-icon-color, var(--calcite-ui-icon-color)))}.container .icon-end{color:var(--calcite-tab-icon-color-end, var(--calcite-icon-color, var(--calcite-ui-icon-color)))}.container:hover,.container:active,:host([selected]) .container{color:var(--calcite-tab-text-color-press, var(--calcite-color-text-1))}.container:hover .icon-start,.container:active .icon-start,:host([selected]) .container .icon-start{color:var(--calcite-tab-icon-color-start-press, var(--calcite-icon-color, var(--calcite-ui-icon-color)))}.container:hover .icon-end,.container:active .icon-end,:host([selected]) .container .icon-end{color:var(--calcite-tab-icon-color-end-press, var(--calcite-icon-color, var(--calcite-ui-icon-color)))}.content--has-text{padding:.25rem}.content--has-text .calcite-tab-title--icon.icon-start{margin-inline-end:var(--calcite-spacing-sm)}.content--has-text .calcite-tab-title--icon.icon-end{margin-inline-start:var(--calcite-spacing-sm)}:host([bordered]) .container{border-color:transparent;border-inline-width:var(--calcite-spacing-px);border-inline-style:solid}:host([bordered]) .container.container--bottom{border-block-start-style:solid;border-block-start-width:1px}:host([bordered]) .container.container--bottom .selected-indicator{inset-block-start:unset;inset-block-end:0}:host([bordered]) .container:not(.container--bottom){border-block-end-style:solid;border-block-end-width:1px}:host([bordered]) .container .selected-indicator{inset-block-start:0;inset-block-end:unset;inset-inline-start:-1px;inset-inline-end:0;inline-size:calc(100% + var(--calcite-spacing-base))}:host([bordered]) .container:host(:not([selected])) .container{box-shadow:0 2px 0 0 transparent}:host([bordered]) .container:host(:not([selected])):host(:hover) .container:not(.container--bottom){border-block-end-color:var(--calcite-tab-border-color, var(--calcite-color-border-1))}:host([bordered]) .container:host(:not([selected])):host(:hover):host(:not(:focus)) .selected-indicator{box-shadow:inset 0 var(--calcite-internal-tab-shadow-length) var(--calcite-tab-border-color, var(--calcite-color-border-1))}:host([bordered]) .container:host(:not([selected])):host(:hover):host(:not(:focus)) :not(.container--bottom){--calcite-internal-tab-shadow-length: 1px}:host([bordered]) .container:host(:not([selected])):host(:hover):host(:not(:focus)) .container--bottom{--calcite-internal-tab-shadow-length: -1px}:host([bordered]) .container:hover{background-color:var(--calcite-tab-background-color-hover, var(--calcite-color-foreground-2));border-block-end-color:var(--calcite-color-border-1)}:host(:hover) .selected-indicator{background-color:var(--calcite-color-border-3)}:host([selected]) .selected-indicator,:host([selected]:hover) .selected-indicator,:host(:focus) .selected-indicator,:host(:active) .selected-indicator{background-color:var(--calcite-tab-accent-color-press, var(--calcite-color-brand))}:host([closed]){display:none}:host([selected][bordered]) .container{border-inline-color:var(--calcite-tab-border-color, var(--calcite-color-border-1))}:host([selected][bordered]) .container:after{background-color:var(--calcite-tab-background-color, var(--calcite-color-foreground-1))}:host([selected][bordered]) .container:hover,:host([selected][bordered]) .container:active{background:transparent}:host(:focus) .container{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host(:focus) .container:focus-within{outline-color:transparent}:host([icon-start][icon-end]) .calcite-tab-title--icon:first-child{margin-inline-end:var(--calcite-spacing-sm)}:host([layout=inline][bordered]) .scale-m .content,:host([layout=center][bordered]) .scale-m .content{padding-inline:.75rem}:host([layout=inline][bordered]) .scale-s .content,:host([layout=center][bordered]) .scale-s .content{padding-inline:.5rem}:host([layout=inline][bordered]) .scale-l .content,:host([layout=center][bordered]) .scale-l .content{padding-inline:1rem}:host([layout=inline][closable]) .scale-s .content,:host([layout=inline][closable]) .scale-m .content,:host([layout=inline][closable]) .scale-l .content{padding-inline-end:0}.close{--calcite-internal-action-spacing: var(--calcite-internal-tab-title-close-padding);--calcite-internal-action-min-height: unset;--calcite-action-text-color: var(--calcite-tab-close-icon-color);--calcite-action-text-color-press: var(--calcite-tab-close-icon-color-press);--calcite-action-background-color: var(--calcite-tab-close-icon-background-color);--calcite-action-background-color-press: var(--calcite-tab-close-icon-background-color-press);--calcite-action-background-color-hover: var(--calcite-tab-close-icon-background-color-hover);margin:auto;margin-inline:var(--calcite-spacing-sm) var(--calcite-internal-tab-title-close-margin-start)}@media(forced-colors:active){:host{outline-width:0;outline-offset:0}:host(:focus) .container{outline-color:highlight}:host([bordered][selected]) .container{border-block-end-style:none}:host([bordered][selected]) .container--bottom{border-block-start-style:none}.selected-indicator{background-color:highlight}}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) .container{pointer-events:none;opacity:.5}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}`;
32
33
  class TabTitle extends LitElement {
33
34
  constructor() {
34
35
  super();
35
36
  this.closeButtonRef = createRef();
37
+ this.direction = useDirection();
36
38
  this.guid = IDS.host(guid());
37
39
  this.mutationObserver = createObserver("mutation", () => this.updateHasText());
38
40
  this.resizeObserver = createObserver("resize", () => {
@@ -153,7 +155,7 @@ class TabTitle extends LitElement {
153
155
  break;
154
156
  case "ArrowRight":
155
157
  event.preventDefault();
156
- if (getElementDir(this.el) === "ltr") {
158
+ if (this.direction === "ltr") {
157
159
  this.calciteInternalTabsFocusNext.emit();
158
160
  } else {
159
161
  this.calciteInternalTabsFocusPrevious.emit();
@@ -161,7 +163,7 @@ class TabTitle extends LitElement {
161
163
  break;
162
164
  case "ArrowLeft":
163
165
  event.preventDefault();
164
- if (getElementDir(this.el) === "ltr") {
166
+ if (this.direction === "ltr") {
165
167
  this.calciteInternalTabsFocusPrevious.emit();
166
168
  } else {
167
169
  this.calciteInternalTabsFocusNext.emit();
@@ -40,7 +40,7 @@ const ICONS = {
40
40
  hideEmpty: "hide-empty",
41
41
  clear: "x"
42
42
  };
43
- const styles = css`@charset "UTF-8";:host([scale=s]){--calcite-internal-table-cell-padding: .25rem;--calcite-internal-table-cell-font-size: var(--calcite-font-size--2);--calcite-internal-table-cell-font-size-secondary: var(--calcite-font-size--3)}:host([scale=m]){--calcite-internal-table-cell-padding: .5rem;--calcite-internal-table-cell-font-size: var(--calcite-font-size--1);--calcite-internal-table-cell-font-size-secondary: var(--calcite-font-size--2)}:host(:is([scale=s],[scale=m])){--calcite-internal-table-selection-action-spacing: var(--calcite-spacing-xxs)}:host([scale=l]){--calcite-internal-table-selection-action-spacing: var(--calcite-spacing-xs);--calcite-internal-table-cell-padding: 1rem;--calcite-internal-table-cell-font-size: var(--calcite-font-size-0);--calcite-internal-table-cell-font-size-secondary: var(--calcite-font-size--1)}:host{display:flex}.container{display:flex;flex-direction:column;inline-size:var(--calcite-container-size-content-fluid);block-size:var(--calcite-container-size-content-fluid)}.table-container{overflow:auto;white-space:nowrap;border:var(--calcite-border-width-sm) solid var(--calcite-table-border-color, var(--calcite-color-border-2));border-radius:var(--calcite-table-corner-radius, var(--calcite-corner-radius-sharp));box-shadow:var(--calcite-table-shadow, var(--calcite-shadow-none))}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}table{border-collapse:collapse;overflow-x:scroll;inline-size:var(--calcite-container-size-content-fluid)}@-moz-document url-prefix(){table{border-collapse:separate;border-spacing:0}}.table--fixed{table-layout:fixed}.bordered ::slotted(calcite-table-row){--calcite-table-row-border-color: var(--calcite-table-border-color, var(--calcite-color-border-2))}.striped ::slotted(calcite-table-row:nth-child(2n+1)){--calcite-table-row-background-color: var( --calcite-table-row-background-color-striped, var(--calcite-color-foreground-2) )}.selection-actions{display:flex;flex-direction:row;gap:var(--calcite-internal-table-selection-action-spacing);margin-inline-start:auto}.selection-area{display:flex;flex-direction:row;align-items:center;padding-block:var(--calcite-internal-table-cell-padding)}.selection-area calcite-chip:last-of-type{margin-inline-end:.5rem}.selection-area calcite-chip:last-of-type:not(:first-of-type){margin-inline-start:.5rem}.selection-area calcite-button{margin-inline-end:1rem}.selection-chip{--calcite-chip-background-color: var(--calcite-table-selection-chip-background-color);--calcite-chip-border-color: var(--calcite-table-selection-chip-border-color);--calcite-chip-corner-radius: var(--calcite-table-selection-chip-corner-radius);--calcite-chip-shadow: var(--calcite-table-selection-chip-shadow);--calcite-chip-text-color: var(--calcite-table-selection-chip-text-color)}.selection-chip.selection-chip--active{--calcite-chip-background-color: var(--calcite-table-selection-chip-background-color-selected);--calcite-chip-border-color: var(--calcite-table-selection-chip-border-color-selected);--calcite-chip-text-color: var(--calcite-table-selection-chip-text-color-selected)}.selection-chip--out-of-view{--calcite-chip-background-color: var(--calcite-table-selection-out-of-view-chip-background-color);--calcite-chip-border-color: var(--calcite-table-selection-out-of-view-chip-border-color);--calcite-chip-corner-radius: var(--calcite-table-selection-out-of-view-chip-corner-radius);--calcite-chip-shadow: var(--calcite-table-selection-out-of-view-chip-shadow);--calcite-chip-text-color: var(--calcite-table-selection-out-of-view-chip-text-color);--calcite-chip-icon-color: var(--calcite-table-selection-out-of-view-chip-icon-color)}.pagination-area{display:flex;inline-size:100%;flex-direction:row;justify-content:center;padding-block:var(--calcite-internal-table-cell-padding)}calcite-pagination{flex:1;justify-content:center;--calcite-pagination-color: var(--calcite-table-pagination-color);--calcite-pagination-color-hover: var(--calcite-table-pagination-color-hover);--calcite-pagination-color-border-hover: var(--calcite-table-pagination-color-border-hover);--calcite-pagination-color-border-active: var(--calcite-table-pagination-color-border-active);--calcite-pagination-background-color: var(--calcite-table-pagination-background-color);--calcite-pagination-icon-color-background-hover: var(--calcite-table-pagination-icon-color-background-hover)}.dismiss-button{margin-inline-end:1rem;--calcite-button-background-color: var(--calcite-table-selection-dismiss-button-background-color);--calcite-button-border-color: var(--calcite-table-selection-dismiss-button-border-color);--calcite-button-corner-radius: var(--calcite-table-selection-dismiss-button-corner-radius);--calcite-button-shadow: var(--calcite-table-selection-dismiss-button-shadow);--calcite-button-text-color: var(--calcite-table-selection-dismiss-button-text-color)}.dismiss-button:hover{--calcite-button-background-color: var(--calcite-table-selection-dismiss-button-background-color-hover);--calcite-button-border-color: var(--calcite-table-selection-dismiss-button-border-color-hover);--calcite-button-text-color: var(--calcite-table-selection-dismiss-button-text-color-hover)}.dismiss-button:active{--calcite-button-background-color: var(--calcite-table-selection-dismiss-button-background-color-active);--calcite-button-border-color: var(--calcite-table-selection-dismiss-button-border-color-active);--calcite-button-text-color: var(--calcite-table-selection-dismiss-button-text-color-active)}:host([hidden]){display:none}[hidden]{display:none}`;
43
+ const styles = css`@charset "UTF-8";:host([scale=s]){--calcite-internal-table-cell-padding: .25rem;--calcite-internal-table-cell-font-size: var(--calcite-font-size--2);--calcite-internal-table-cell-font-size-secondary: var(--calcite-font-size--3)}:host([scale=m]){--calcite-internal-table-cell-padding: .5rem;--calcite-internal-table-cell-font-size: var(--calcite-font-size--1);--calcite-internal-table-cell-font-size-secondary: var(--calcite-font-size--2)}:host(:is([scale=s],[scale=m])){--calcite-internal-table-selection-action-spacing: var(--calcite-spacing-xxs)}:host([scale=l]){--calcite-internal-table-selection-action-spacing: var(--calcite-spacing-xs);--calcite-internal-table-cell-padding: 1rem;--calcite-internal-table-cell-font-size: var(--calcite-font-size-0);--calcite-internal-table-cell-font-size-secondary: var(--calcite-font-size--1)}:host{display:flex}.container{display:flex;flex-direction:column;inline-size:var(--calcite-container-size-content-fluid);block-size:var(--calcite-container-size-content-fluid)}.table-container{overflow:auto;white-space:nowrap;line-height:var(--calcite-font-line-height-relative-tight);border:var(--calcite-border-width-sm) solid var(--calcite-table-border-color, var(--calcite-color-border-2));border-radius:var(--calcite-table-corner-radius, var(--calcite-corner-radius-sharp));box-shadow:var(--calcite-table-shadow, var(--calcite-shadow-none))}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}table{border-collapse:collapse;overflow-x:scroll;inline-size:var(--calcite-container-size-content-fluid)}@-moz-document url-prefix(){table{border-collapse:separate;border-spacing:0}}.table--fixed{table-layout:fixed}.bordered ::slotted(calcite-table-row){--calcite-table-row-border-color: var(--calcite-table-border-color, var(--calcite-color-border-2))}.striped ::slotted(calcite-table-row:nth-child(2n+1)){--calcite-table-row-background-color: var( --calcite-table-row-background-color-striped, var(--calcite-color-foreground-2) )}.selection-actions{display:flex;flex-direction:row;gap:var(--calcite-internal-table-selection-action-spacing);margin-inline-start:auto}.selection-area{display:flex;flex-direction:row;align-items:center;padding-block:var(--calcite-internal-table-cell-padding)}.selection-area calcite-chip:last-of-type{margin-inline-end:.5rem}.selection-area calcite-chip:last-of-type:not(:first-of-type){margin-inline-start:.5rem}.selection-area calcite-button{margin-inline-end:1rem}.selection-chip{--calcite-chip-background-color: var(--calcite-table-selection-chip-background-color);--calcite-chip-border-color: var(--calcite-table-selection-chip-border-color);--calcite-chip-corner-radius: var(--calcite-table-selection-chip-corner-radius);--calcite-chip-shadow: var(--calcite-table-selection-chip-shadow);--calcite-chip-text-color: var(--calcite-table-selection-chip-text-color)}.selection-chip.selection-chip--active{--calcite-chip-background-color: var(--calcite-table-selection-chip-background-color-selected);--calcite-chip-border-color: var(--calcite-table-selection-chip-border-color-selected);--calcite-chip-text-color: var(--calcite-table-selection-chip-text-color-selected)}.selection-chip--out-of-view{--calcite-chip-background-color: var(--calcite-table-selection-out-of-view-chip-background-color);--calcite-chip-border-color: var(--calcite-table-selection-out-of-view-chip-border-color);--calcite-chip-corner-radius: var(--calcite-table-selection-out-of-view-chip-corner-radius);--calcite-chip-shadow: var(--calcite-table-selection-out-of-view-chip-shadow);--calcite-chip-text-color: var(--calcite-table-selection-out-of-view-chip-text-color);--calcite-chip-icon-color: var(--calcite-table-selection-out-of-view-chip-icon-color)}.pagination-area{display:flex;inline-size:100%;flex-direction:row;justify-content:center;padding-block:var(--calcite-internal-table-cell-padding)}calcite-pagination{flex:1;justify-content:center;--calcite-pagination-color: var(--calcite-table-pagination-color);--calcite-pagination-color-hover: var(--calcite-table-pagination-color-hover);--calcite-pagination-color-border-hover: var(--calcite-table-pagination-color-border-hover);--calcite-pagination-color-border-active: var(--calcite-table-pagination-color-border-active);--calcite-pagination-background-color: var(--calcite-table-pagination-background-color);--calcite-pagination-icon-color-background-hover: var(--calcite-table-pagination-icon-color-background-hover)}.dismiss-button{margin-inline-end:1rem;--calcite-button-background-color: var(--calcite-table-selection-dismiss-button-background-color);--calcite-button-border-color: var(--calcite-table-selection-dismiss-button-border-color);--calcite-button-corner-radius: var(--calcite-table-selection-dismiss-button-corner-radius);--calcite-button-shadow: var(--calcite-table-selection-dismiss-button-shadow);--calcite-button-text-color: var(--calcite-table-selection-dismiss-button-text-color)}.dismiss-button:hover{--calcite-button-background-color: var(--calcite-table-selection-dismiss-button-background-color-hover);--calcite-button-border-color: var(--calcite-table-selection-dismiss-button-border-color-hover);--calcite-button-text-color: var(--calcite-table-selection-dismiss-button-text-color-hover)}.dismiss-button:active{--calcite-button-background-color: var(--calcite-table-selection-dismiss-button-background-color-active);--calcite-button-border-color: var(--calcite-table-selection-dismiss-button-border-color-active);--calcite-button-text-color: var(--calcite-table-selection-dismiss-button-text-color-active)}:host([hidden]){display:none}[hidden]{display:none}`;
44
44
  class Table extends LitElement {
45
45
  constructor() {
46
46
  super();
@@ -3,7 +3,7 @@ import type { PublicLitElement as LitElement } from "@arcgis/lumina";
3
3
  import type { Alignment } from "../interfaces.js";
4
4
 
5
5
  /**
6
- * @cssproperty [--calcite-table-cell-background] - [Deprecated] Use `--calcite-table-cell-background-color` instead. Specifies the component's background color.
6
+ * @cssproperty [--calcite-table-cell-background] - [Deprecated] in v3.3.0, removal target v6.0.0 - Use `--calcite-table-cell-background-color` instead. Specifies the component's background color.
7
7
  * @cssproperty [--calcite-table-cell-background-color] - Specifies the component's background color.
8
8
  * @cssproperty [--calcite-table-cell-border-color] - Specifies the component's border color.
9
9
  * @cssproperty [--calcite-table-cell-text-color] - Specifies the component's text color.
@@ -35,7 +35,7 @@ export abstract class TableCell extends LitElement {
35
35
  * Sets focus on the component.
36
36
  *
37
37
  * @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
38
- * @mdn [focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
38
+ * @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
39
39
  */
40
40
  setFocus(options?: FocusOptions): Promise<void>;
41
41
  }
@@ -3,7 +3,7 @@ import { C as CSS_UTILITY, c as customElement } from "../../chunks/runtime.js";
3
3
  import { css, nothing, html } from "lit";
4
4
  import { createRef, ref } from "lit/directives/ref.js";
5
5
  import { LitElement, safeClassMap } from "@arcgis/lumina";
6
- import { g as getElementDir } from "../../chunks/dom.js";
6
+ import { useDirection } from "@arcgis/lumina/controllers";
7
7
  import { u as useT9n } from "../../chunks/useT9n.js";
8
8
  import { u as useSetFocus } from "../../chunks/useSetFocus.js";
9
9
  import { u as useInteractive } from "../../chunks/useInteractive.js";
@@ -22,6 +22,7 @@ class TableCell extends LitElement {
22
22
  constructor() {
23
23
  super(...arguments);
24
24
  this.containerRef = createRef();
25
+ this.direction = useDirection();
25
26
  this.messages = useT9n();
26
27
  this.focusSetter = useSetFocus()(this);
27
28
  this.interactiveContainer = useInteractive(this);
@@ -66,7 +67,7 @@ class TableCell extends LitElement {
66
67
  this.focused = true;
67
68
  }
68
69
  render() {
69
- const dir = getElementDir(this.el);
70
+ const dir = this.direction;
70
71
  const staticCell = this.disabled || this.interactionMode === "static" && (!this.selectionCell || this.selectionCell && this.parentRowType === "foot");
71
72
  return this.interactiveContainer({ disabled: this.disabled, children: html`<td class=${safeClassMap({
72
73
  [CSS.footerCell]: this.parentRowType === "foot",
@@ -3,7 +3,7 @@ import type { PublicLitElement as LitElement } from "@arcgis/lumina";
3
3
  import type { Alignment } from "../interfaces.js";
4
4
 
5
5
  /**
6
- * @cssproperty [--calcite-table-header-background] - [Deprecated] Use the `--calcite-table-header-background-color` property instead. Specifies the component's background color.
6
+ * @cssproperty [--calcite-table-header-background] - [Deprecated] in v3.3.0, removal target v6.0.0 - Use `--calcite-table-header-background-color` instead. Specifies the component's background color.
7
7
  * @cssproperty [--calcite-table-header-background-color] - Specifies the component's background color.
8
8
  * @cssproperty [--calcite-table-header-border-color] - Specifies the component's border color.
9
9
  * @cssproperty [--calcite-table-header-heading-text-color] - Specifies the component's `heading` text color.
@@ -37,7 +37,7 @@ export abstract class TableHeader extends LitElement {
37
37
  * Sets focus on the component.
38
38
  *
39
39
  * @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
40
- * @mdn [focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
40
+ * @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
41
41
  */
42
42
  setFocus(options?: FocusOptions): Promise<void>;
43
43
  }
@@ -3,7 +3,7 @@ import type { PublicLitElement as LitElement } from "@arcgis/lumina";
3
3
  import type { Alignment } from "../interfaces.js";
4
4
 
5
5
  /**
6
- * @cssproperty [--calcite-table-row-background] - [Deprecated] Use `--calcite-table-row-background-color` instead. Specifies the background color of the component.
6
+ * @cssproperty [--calcite-table-row-background] - [Deprecated] in v3.3.0, removal target v6.0.0 - Use `--calcite-table-row-background-color` instead. Specifies the background color of the component.
7
7
  * @cssproperty [--calcite-table-row-background-color] - Specifies the component's background color.
8
8
  * @cssproperty [--calcite-table-row-background-color-striped] - When `striped` is `true` on `calcite-table`, specifies the background color of the component's `striped` rows.
9
9
  * @cssproperty [--calcite-table-row-background-color-selected] - When `selected`, specifies the background color of the component's `selected` rows.
@@ -3,7 +3,7 @@ import { c as customElement } from "../../chunks/runtime.js";
3
3
  import { css, html } from "lit";
4
4
  import { LitElement, safeClassMap } from "@arcgis/lumina";
5
5
  import { createRef, ref } from "lit/directives/ref.js";
6
- import { b as slotChangeGetAssignedElements, B as getSlotAssignedElements } from "../../chunks/dom.js";
6
+ import { a as slotChangeGetAssignedElements, D as getSlotAssignedElements } from "../../chunks/dom.js";
7
7
  const CSS = {
8
8
  section: "section"
9
9
  };