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

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 (462) hide show
  1. package/dist/cdn/2I24Q6HG.js +2 -0
  2. package/dist/cdn/2LUMWQZY.js +2 -0
  3. package/dist/cdn/{QOXTJ7PA.js → 34WUOWO6.js} +1 -1
  4. package/dist/cdn/{6C5JMRKM.js → 3FXLCXEF.js} +1 -1
  5. package/dist/cdn/3LVPP52S.js +2 -0
  6. package/dist/cdn/3UU6PUEZ.js +2 -0
  7. package/dist/cdn/{RHJW4CXA.js → 46XYBXSA.js} +1 -1
  8. package/dist/cdn/{LCPYWUGK.js → 47ZWM6SP.js} +1 -1
  9. package/dist/cdn/4CGPBRFI.js +2 -0
  10. package/dist/cdn/{EQ4Z4LBA.js → 4RP3OGCP.js} +1 -1
  11. package/dist/cdn/{X6LSQXQT.js → 57CIL36H.js} +1 -1
  12. package/dist/cdn/{SQLDNSI6.js → 5DEP6UL7.js} +1 -1
  13. package/dist/cdn/5DEXYRFH.js +2 -0
  14. package/dist/cdn/66BQUAEF.js +2 -0
  15. package/dist/cdn/6742QPEE.js +2 -0
  16. package/dist/cdn/6FSL67XJ.js +2 -0
  17. package/dist/cdn/{IZBELXZC.js → 6KMNIG3H.js} +1 -1
  18. package/dist/cdn/{B4VMCAZI.js → 6LODJ26H.js} +1 -1
  19. package/dist/cdn/74EOXSPH.js +2 -0
  20. package/dist/cdn/7GTG7SUF.js +2 -0
  21. package/dist/cdn/7I5EKIDO.js +2 -0
  22. package/dist/cdn/7Q6FVOSE.js +2 -0
  23. package/dist/cdn/7WMQKIBY.js +2 -0
  24. package/dist/cdn/7YQW7B7E.js +2 -0
  25. package/dist/cdn/7ZBXJRPO.js +2 -0
  26. package/dist/cdn/{ECURCDZ2.js → A7RILTOO.js} +1 -1
  27. package/dist/cdn/AFGHAQUQ.js +2 -0
  28. package/dist/cdn/{QGBPRJIT.js → AHEDZHQ2.js} +1 -1
  29. package/dist/cdn/AJTOSFDH.js +2 -0
  30. package/dist/cdn/AOP3NH2U.js +2 -0
  31. package/dist/cdn/{D3ZA3ZSE.js → AOQ34WQ6.js} +1 -1
  32. package/dist/cdn/AQNYPIPX.js +2 -0
  33. package/dist/cdn/ARNANVZZ.js +2 -0
  34. package/dist/cdn/AVYPI52K.js +2 -0
  35. package/dist/cdn/B3EBGYCI.js +2 -0
  36. package/dist/cdn/{2EN543JD.js → BS547LGW.js} +1 -1
  37. package/dist/cdn/{KHE57SV3.js → BXIBMOE6.js} +1 -1
  38. package/dist/cdn/BYS4GNCX.js +2 -0
  39. package/dist/cdn/{YX5LYAIV.js → C32S4HGX.js} +1 -1
  40. package/dist/cdn/CBWGCOIO.js +2 -0
  41. package/dist/cdn/{XLOC3L55.js → CJQWESQ2.js} +3 -3
  42. package/dist/cdn/CJTB2G5O.js +2 -0
  43. package/dist/cdn/CNQVNMR7.js +2 -0
  44. package/dist/cdn/CPIWY5GX.js +2 -0
  45. package/dist/cdn/D3G4KNL4.js +2 -0
  46. package/dist/cdn/{EHIAXJAL.js → DCWL5FUH.js} +1 -1
  47. package/dist/cdn/DDDUIVNA.js +2 -0
  48. package/dist/cdn/{I5LZP3DC.js → DJ5TODX7.js} +1 -1
  49. package/dist/cdn/{IF5AIFNS.js → DQJ3PS72.js} +1 -1
  50. package/dist/cdn/DSY7BOJJ.js +2 -0
  51. package/dist/cdn/{VZDUTHQS.js → DUYCNBSR.js} +1 -1
  52. package/dist/cdn/DWIB4FVP.js +2 -0
  53. package/dist/cdn/E3OAYCPO.js +2 -0
  54. package/dist/cdn/{EYR3DX5M.js → EHTWHFIN.js} +1 -1
  55. package/dist/cdn/EUJFL2WJ.js +2 -0
  56. package/dist/cdn/{NPTVRXRO.js → F6O2MDAB.js} +1 -1
  57. package/dist/cdn/FBBEDCIC.js +2 -0
  58. package/dist/cdn/{N5SFF63Q.js → FIGNBXC4.js} +1 -1
  59. package/dist/cdn/{R265ZYQR.js → FS3FIZQ7.js} +1 -1
  60. package/dist/cdn/G5IYZRZD.js +2 -0
  61. package/dist/cdn/GBL55CBG.js +2 -0
  62. package/dist/cdn/GEWRKDNT.js +2 -0
  63. package/dist/cdn/{RTSHUMUI.js → GLYCZM27.js} +1 -1
  64. package/dist/cdn/{ULGKAMEK.js → GNUO7A4Y.js} +1 -1
  65. package/dist/cdn/H43C4DT4.js +2 -0
  66. package/dist/cdn/H4ESHMLA.js +2 -0
  67. package/dist/cdn/H5G45SF4.js +2 -0
  68. package/dist/cdn/{WUW46I4S.js → HDQ72ZNE.js} +1 -1
  69. package/dist/cdn/HIHNC2W6.js +2 -0
  70. package/dist/cdn/HKSMMZUW.js +2 -0
  71. package/dist/cdn/{TG6MK4QD.js → HWBVGZHG.js} +1 -1
  72. package/dist/cdn/HXIVUHZU.js +2 -0
  73. package/dist/cdn/ICNEOIAY.js +2 -0
  74. package/dist/cdn/{4ILCK5CI.js → IDJOHYLJ.js} +1 -1
  75. package/dist/cdn/{GIV3RH7X.js → ITD5YGM3.js} +1 -1
  76. package/dist/cdn/J3P6S2E2.js +2 -0
  77. package/dist/cdn/JEALIYFT.js +2 -0
  78. package/dist/cdn/JPDWZDO2.js +2 -0
  79. package/dist/cdn/JPE6LVAD.js +2 -0
  80. package/dist/cdn/{YKP66AQ5.js → JWEKZH6L.js} +1 -1
  81. package/dist/cdn/KI33EXTI.js +2 -0
  82. package/dist/cdn/{LJIHBKNI.js → KJIYAJA4.js} +1 -1
  83. package/dist/cdn/KW4BHBBW.js +2 -0
  84. package/dist/cdn/{4ZGFXXYL.js → L7DEPZAJ.js} +1 -1
  85. package/dist/cdn/{4NDBPQOW.js → L7TOPWGR.js} +1 -1
  86. package/dist/cdn/LK7OAPDO.js +2 -0
  87. package/dist/cdn/{KBSNJSUL.js → LOJGQFL6.js} +1 -1
  88. package/dist/cdn/{HFPBP7XA.js → LTDQ3KMS.js} +1 -1
  89. package/dist/cdn/{732QLUKT.js → LVZ24HEK.js} +1 -1
  90. package/dist/cdn/{QQYOGIVS.js → M6TXECYZ.js} +1 -1
  91. package/dist/cdn/MORUF5PU.js +2 -0
  92. package/dist/cdn/{RMERVJA5.js → MPGZXCBO.js} +1 -1
  93. package/dist/cdn/{XGISY6QA.js → MWS2HEQR.js} +1 -1
  94. package/dist/cdn/{3ZYN3227.js → MXDC3OC2.js} +1 -1
  95. package/dist/cdn/{3GV45XL7.js → MYDCGCGV.js} +1 -1
  96. package/dist/cdn/{HJ45IHRA.js → NWCFNDM2.js} +1 -1
  97. package/dist/cdn/{RRN6YM7F.js → NWIU5L4M.js} +1 -1
  98. package/dist/cdn/NYL2Z7AD.js +2 -0
  99. package/dist/cdn/{LKHFQ3U6.js → O5WPS55F.js} +1 -1
  100. package/dist/cdn/{FXFRKJEJ.js → ODAV2DWN.js} +1 -1
  101. package/dist/cdn/OGQ6UAE2.js +2 -0
  102. package/dist/cdn/OLXLHWGL.js +2 -0
  103. package/dist/cdn/{RBGGE65K.js → P2ZPFKR7.js} +1 -1
  104. package/dist/cdn/{LDLJRK76.js → P32KQQAD.js} +1 -1
  105. package/dist/cdn/{ZJ34LWXC.js → QAG6VFG2.js} +1 -1
  106. package/dist/cdn/QRH3LFLT.js +2 -0
  107. package/dist/cdn/{MSGQMPT6.js → QVMVZTAX.js} +1 -1
  108. package/dist/cdn/QXFX3OAF.js +2 -0
  109. package/dist/cdn/{YQST67WD.js → R2DCCWBB.js} +1 -1
  110. package/dist/cdn/R3Z5LCK3.js +2 -0
  111. package/dist/cdn/RFQSI4MJ.js +2 -0
  112. package/dist/cdn/RNFEU4JP.js +2 -0
  113. package/dist/cdn/{DKD23HP3.js → RRVD3RYN.js} +1 -1
  114. package/dist/cdn/{N234JPQQ.js → S6WMWFN7.js} +1 -1
  115. package/dist/cdn/{6KLHDA5V.js → SAK5TSCY.js} +1 -1
  116. package/dist/cdn/SMHE5GTR.js +2 -0
  117. package/dist/cdn/{2HPKL5UL.js → STISOSDG.js} +1 -1
  118. package/dist/cdn/TRMTKJYB.js +2 -0
  119. package/dist/cdn/TTFYMTZC.js +2 -0
  120. package/dist/cdn/{XRVUSKBQ.js → TWHGJHW2.js} +1 -1
  121. package/dist/cdn/TXRNHBI5.js +2 -0
  122. package/dist/cdn/{WTL6TTVY.js → TZAUE2UM.js} +1 -1
  123. package/dist/cdn/UESKV37D.js +2 -0
  124. package/dist/cdn/UQC63ORI.js +2 -0
  125. package/dist/cdn/{SDDDIVHA.js → UYAS53RY.js} +1 -1
  126. package/dist/cdn/{ILHS3TD7.js → V4RO7LWG.js} +1 -1
  127. package/dist/cdn/VE3ULCBL.js +2 -0
  128. package/dist/cdn/{EPKWV7TT.js → VIB4WBRW.js} +1 -1
  129. package/dist/cdn/{7CVLFVE5.js → VL7C7DUX.js} +1 -1
  130. package/dist/cdn/{MTIRRGHA.js → WMWPUGOP.js} +1 -1
  131. package/dist/cdn/{4PZDI5YW.js → WN6LIOTB.js} +1 -1
  132. package/dist/cdn/{UQBN3Z6H.js → WQOYAKXN.js} +1 -1
  133. package/dist/cdn/{UG6FM2IU.js → WUPDOPI3.js} +1 -1
  134. package/dist/cdn/{PNBC2B77.js → X4CROIR6.js} +1 -1
  135. package/dist/cdn/X62QRK2A.js +2 -0
  136. package/dist/cdn/{A26SXPLB.js → XOT64MSN.js} +1 -1
  137. package/dist/cdn/{SK7CWKMU.js → XS5BO3QC.js} +1 -1
  138. package/dist/cdn/XWGKICAS.js +2 -0
  139. package/dist/cdn/{FUL4JV2P.js → YRHSBDX4.js} +1 -1
  140. package/dist/cdn/{GY6M2LPM.js → YSWTVICN.js} +1 -1
  141. package/dist/cdn/Z445ZVWS.js +2 -0
  142. package/dist/cdn/{U63GYZ74.js → Z5FNOUD3.js} +2 -2
  143. package/dist/cdn/ZC6A5OHK.js +2 -0
  144. package/dist/cdn/{Z2R5VRT7.js → ZHZF3WW4.js} +1 -1
  145. package/dist/cdn/assets/combobox/t9n/messages.ar.json +1 -1
  146. package/dist/cdn/assets/combobox/t9n/messages.bg.json +1 -1
  147. package/dist/cdn/assets/combobox/t9n/messages.bs.json +1 -1
  148. package/dist/cdn/assets/combobox/t9n/messages.ca.json +1 -1
  149. package/dist/cdn/assets/combobox/t9n/messages.cs.json +1 -1
  150. package/dist/cdn/assets/combobox/t9n/messages.da.json +1 -1
  151. package/dist/cdn/assets/combobox/t9n/messages.de.json +1 -1
  152. package/dist/cdn/assets/combobox/t9n/messages.el.json +1 -1
  153. package/dist/cdn/assets/combobox/t9n/messages.en.json +1 -1
  154. package/dist/cdn/assets/combobox/t9n/messages.es.json +1 -1
  155. package/dist/cdn/assets/combobox/t9n/messages.et.json +1 -1
  156. package/dist/cdn/assets/combobox/t9n/messages.fi.json +1 -1
  157. package/dist/cdn/assets/combobox/t9n/messages.fr.json +1 -1
  158. package/dist/cdn/assets/combobox/t9n/messages.he.json +1 -1
  159. package/dist/cdn/assets/combobox/t9n/messages.hr.json +1 -1
  160. package/dist/cdn/assets/combobox/t9n/messages.hu.json +1 -1
  161. package/dist/cdn/assets/combobox/t9n/messages.id.json +1 -1
  162. package/dist/cdn/assets/combobox/t9n/messages.it.json +1 -1
  163. package/dist/cdn/assets/combobox/t9n/messages.ja.json +1 -1
  164. package/dist/cdn/assets/combobox/t9n/messages.json +1 -1
  165. package/dist/cdn/assets/combobox/t9n/messages.ko.json +1 -1
  166. package/dist/cdn/assets/combobox/t9n/messages.lt.json +1 -1
  167. package/dist/cdn/assets/combobox/t9n/messages.lv.json +1 -1
  168. package/dist/cdn/assets/combobox/t9n/messages.nl.json +1 -1
  169. package/dist/cdn/assets/combobox/t9n/messages.no.json +1 -1
  170. package/dist/cdn/assets/combobox/t9n/messages.pl.json +1 -1
  171. package/dist/cdn/assets/combobox/t9n/messages.pt-BR.json +1 -1
  172. package/dist/cdn/assets/combobox/t9n/messages.pt-PT.json +1 -1
  173. package/dist/cdn/assets/combobox/t9n/messages.ro.json +1 -1
  174. package/dist/cdn/assets/combobox/t9n/messages.ru.json +1 -1
  175. package/dist/cdn/assets/combobox/t9n/messages.sk.json +1 -1
  176. package/dist/cdn/assets/combobox/t9n/messages.sl.json +1 -1
  177. package/dist/cdn/assets/combobox/t9n/messages.sr.json +1 -1
  178. package/dist/cdn/assets/combobox/t9n/messages.sv.json +1 -1
  179. package/dist/cdn/assets/combobox/t9n/messages.th.json +1 -1
  180. package/dist/cdn/assets/combobox/t9n/messages.tr.json +1 -1
  181. package/dist/cdn/assets/combobox/t9n/messages.uk.json +1 -1
  182. package/dist/cdn/assets/combobox/t9n/messages.vi.json +1 -1
  183. package/dist/cdn/assets/combobox/t9n/messages.zh-CN.json +1 -1
  184. package/dist/cdn/assets/combobox/t9n/messages.zh-HK.json +1 -1
  185. package/dist/cdn/assets/combobox/t9n/messages.zh-TW.json +1 -1
  186. package/dist/cdn/assets/icon/arcgisQuickcapture16.json +1 -0
  187. package/dist/cdn/assets/icon/arcgisQuickcapture24.json +1 -0
  188. package/dist/cdn/assets/icon/arcgisQuickcapture32.json +1 -0
  189. package/dist/cdn/assets/icon/arcgisSurvey12316.json +1 -0
  190. package/dist/cdn/assets/icon/arcgisSurvey12324.json +1 -0
  191. package/dist/cdn/assets/icon/arcgisSurvey12332.json +1 -0
  192. package/dist/cdn/assets/icon/layerStreamSetting16.json +1 -0
  193. package/dist/cdn/assets/icon/layerStreamSetting24.json +1 -0
  194. package/dist/cdn/assets/icon/layerStreamSetting32.json +1 -0
  195. package/dist/cdn/assets/icon/publish16.json +1 -0
  196. package/dist/cdn/assets/icon/publish24.json +1 -0
  197. package/dist/cdn/assets/icon/publish32.json +1 -0
  198. package/dist/cdn/assets/icon/velocityServer16.json +1 -0
  199. package/dist/cdn/assets/icon/velocityServer24.json +1 -0
  200. package/dist/cdn/assets/icon/velocityServer32.json +1 -0
  201. package/dist/cdn/index.js +1 -1
  202. package/dist/chunks/ExpandToggle.js +4 -5
  203. package/dist/chunks/Heading.js +3 -3
  204. package/dist/chunks/dom.js +23 -28
  205. package/dist/chunks/floating-ui.js +3 -6
  206. package/dist/chunks/label.js +1 -1
  207. package/dist/chunks/locale.js +29 -12
  208. package/dist/chunks/manager.js +505 -0
  209. package/dist/chunks/openCloseComponent.js +1 -1
  210. package/dist/chunks/resources5.js +2 -1
  211. package/dist/chunks/resources6.js +2 -0
  212. package/dist/chunks/runtime.js +4 -4
  213. package/dist/chunks/useFocusTrap.js +1 -1
  214. package/dist/chunks/useForm.js +294 -0
  215. package/dist/chunks/useFormTrigger.js +25 -0
  216. package/dist/chunks/useSetFocus.js +1 -1
  217. package/dist/chunks/{sortableComponent.js → useSortable.js} +67 -44
  218. package/dist/chunks/utils2.js +1 -1
  219. package/dist/components/calcite-accordion-item/customElement.d.ts +6 -6
  220. package/dist/components/calcite-accordion-item/customElement.js +4 -3
  221. package/dist/components/calcite-action/customElement.d.ts +12 -12
  222. package/dist/components/calcite-action/customElement.js +7 -13
  223. package/dist/components/calcite-action-bar/customElement.d.ts +20 -4
  224. package/dist/components/calcite-action-bar/customElement.js +43 -15
  225. package/dist/components/calcite-action-group/customElement.d.ts +6 -6
  226. package/dist/components/calcite-action-menu/customElement.d.ts +2 -2
  227. package/dist/components/calcite-action-pad/customElement.d.ts +3 -3
  228. package/dist/components/calcite-action-pad/customElement.js +5 -3
  229. package/dist/components/calcite-alert/customElement.d.ts +2 -2
  230. package/dist/components/calcite-alert/customElement.js +2 -2
  231. package/dist/components/calcite-autocomplete/customElement.d.ts +11 -12
  232. package/dist/components/calcite-autocomplete/customElement.js +23 -32
  233. package/dist/components/calcite-autocomplete-item/customElement.d.ts +6 -0
  234. package/dist/components/calcite-autocomplete-item/customElement.js +9 -4
  235. package/dist/components/calcite-avatar/customElement.js +1 -1
  236. package/dist/components/calcite-block/customElement.d.ts +5 -5
  237. package/dist/components/calcite-block/customElement.js +2 -2
  238. package/dist/components/calcite-block-group/customElement.d.ts +1 -1
  239. package/dist/components/calcite-block-group/customElement.js +4 -4
  240. package/dist/components/calcite-block-group/interfaces.d.ts +2 -6
  241. package/dist/components/calcite-block-section/customElement.d.ts +1 -1
  242. package/dist/components/calcite-button/customElement.d.ts +5 -5
  243. package/dist/components/calcite-button/customElement.js +11 -23
  244. package/dist/components/calcite-card/customElement.d.ts +4 -4
  245. package/dist/components/calcite-card-group/customElement.d.ts +2 -2
  246. package/dist/components/calcite-carousel/customElement.d.ts +1 -1
  247. package/dist/components/calcite-carousel/customElement.js +27 -25
  248. package/dist/components/calcite-checkbox/customElement.d.ts +4 -5
  249. package/dist/components/calcite-checkbox/customElement.js +10 -23
  250. package/dist/components/calcite-chip/customElement.d.ts +2 -2
  251. package/dist/components/calcite-chip/customElement.js +1 -1
  252. package/dist/components/calcite-chip-group/customElement.d.ts +1 -1
  253. package/dist/components/calcite-chip-group/customElement.js +1 -1
  254. package/dist/components/calcite-color-picker/customElement.d.ts +2 -2
  255. package/dist/components/calcite-color-picker/customElement.js +4 -2
  256. package/dist/components/calcite-color-picker-hex-input/customElement.d.ts +1 -1
  257. package/dist/components/calcite-color-picker-swatch/customElement.d.ts +1 -1
  258. package/dist/components/calcite-color-picker-swatch/customElement.js +1 -1
  259. package/dist/components/calcite-combobox/customElement.d.ts +16 -6
  260. package/dist/components/calcite-combobox/customElement.js +151 -60
  261. package/dist/components/calcite-combobox-item/customElement.d.ts +1 -1
  262. package/dist/components/calcite-combobox-item/customElement.js +10 -4
  263. package/dist/components/calcite-date-picker/customElement.d.ts +1 -1
  264. package/dist/components/calcite-date-picker-day/customElement.d.ts +1 -1
  265. package/dist/components/calcite-date-picker-month/customElement.js +1 -1
  266. package/dist/components/calcite-date-picker-month-header/customElement.js +1 -1
  267. package/dist/components/calcite-dialog/customElement.d.ts +7 -3
  268. package/dist/components/calcite-dialog/customElement.js +5 -3
  269. package/dist/components/calcite-dropdown/customElement.d.ts +15 -5
  270. package/dist/components/calcite-dropdown/customElement.js +168 -90
  271. package/dist/components/calcite-dropdown-item/customElement.d.ts +2 -2
  272. package/dist/components/calcite-dropdown-item/customElement.js +14 -32
  273. package/dist/components/calcite-fab/customElement.d.ts +1 -1
  274. package/dist/components/calcite-filter/customElement.d.ts +1 -1
  275. package/dist/components/calcite-flow/customElement.d.ts +1 -1
  276. package/dist/components/calcite-flow-item/customElement.d.ts +9 -5
  277. package/dist/components/calcite-flow-item/customElement.js +7 -5
  278. package/dist/components/calcite-handle/customElement.d.ts +1 -1
  279. package/dist/components/calcite-icon/customElement.d.ts +1 -1
  280. package/dist/components/calcite-icon/customElement.js +4 -3
  281. package/dist/components/calcite-inline-editable/customElement.d.ts +1 -1
  282. package/dist/components/calcite-inline-editable/customElement.js +1 -1
  283. package/dist/components/calcite-input/customElement.d.ts +17 -18
  284. package/dist/components/calcite-input/customElement.js +20 -42
  285. package/dist/components/calcite-input-date-picker/customElement.d.ts +6 -7
  286. package/dist/components/calcite-input-date-picker/customElement.js +34 -28
  287. package/dist/components/calcite-input-message/customElement.d.ts +1 -1
  288. package/dist/components/calcite-input-message/customElement.js +1 -1
  289. package/dist/components/calcite-input-number/customElement.d.ts +13 -14
  290. package/dist/components/calcite-input-number/customElement.js +17 -42
  291. package/dist/components/calcite-input-text/customElement.d.ts +11 -12
  292. package/dist/components/calcite-input-text/customElement.js +16 -41
  293. package/dist/components/calcite-input-time-picker/customElement.d.ts +6 -7
  294. package/dist/components/calcite-input-time-picker/customElement.js +14 -25
  295. package/dist/components/calcite-input-time-zone/customElement.d.ts +5 -6
  296. package/dist/components/calcite-input-time-zone/customElement.js +21 -19
  297. package/dist/components/calcite-link/customElement.d.ts +2 -2
  298. package/dist/components/calcite-link/customElement.js +4 -3
  299. package/dist/components/calcite-list/customElement.d.ts +1 -1
  300. package/dist/components/calcite-list/customElement.js +29 -7
  301. package/dist/components/calcite-list/interfaces.d.ts +2 -6
  302. package/dist/components/calcite-list-item/customElement.d.ts +2 -2
  303. package/dist/components/calcite-list-item/customElement.js +6 -4
  304. package/dist/components/calcite-list-item-group/customElement.js +1 -1
  305. package/dist/components/calcite-loader/customElement.d.ts +1 -1
  306. package/dist/components/calcite-menu/customElement.d.ts +1 -1
  307. package/dist/components/calcite-menu/customElement.js +1 -1
  308. package/dist/components/calcite-menu-item/customElement.d.ts +3 -3
  309. package/dist/components/calcite-menu-item/customElement.js +4 -2
  310. package/dist/components/calcite-meter/customElement.d.ts +7 -1
  311. package/dist/components/calcite-meter/customElement.js +4 -8
  312. package/dist/components/calcite-navigation/customElement.d.ts +2 -2
  313. package/dist/components/calcite-navigation-logo/customElement.d.ts +3 -3
  314. package/dist/components/calcite-navigation-user/customElement.d.ts +1 -1
  315. package/dist/components/calcite-notice/customElement.d.ts +3 -3
  316. package/dist/components/calcite-notice/customElement.js +1 -1
  317. package/dist/components/calcite-pagination/customElement.d.ts +1 -1
  318. package/dist/components/calcite-pagination/customElement.js +1 -1
  319. package/dist/components/calcite-panel/customElement.d.ts +11 -7
  320. package/dist/components/calcite-panel/customElement.js +21 -9
  321. package/dist/components/calcite-popover/customElement.d.ts +2 -2
  322. package/dist/components/calcite-popover/customElement.js +14 -175
  323. package/dist/components/calcite-progress/customElement.js +3 -2
  324. package/dist/components/calcite-radio-button/customElement.d.ts +1 -1
  325. package/dist/components/calcite-radio-button/customElement.js +173 -5
  326. package/dist/components/calcite-radio-button-group/customElement.d.ts +1 -1
  327. package/dist/components/calcite-rating/customElement.d.ts +3 -4
  328. package/dist/components/calcite-rating/customElement.js +12 -18
  329. package/dist/components/calcite-scrim/customElement.js +1 -1
  330. package/dist/components/calcite-segmented-control/customElement.d.ts +3 -4
  331. package/dist/components/calcite-segmented-control/customElement.js +13 -22
  332. package/dist/components/calcite-segmented-control-item/customElement.js +2 -2
  333. package/dist/components/calcite-select/customElement.d.ts +3 -4
  334. package/dist/components/calcite-select/customElement.js +8 -19
  335. package/dist/components/calcite-sheet/customElement.d.ts +2 -2
  336. package/dist/components/calcite-sheet/customElement.js +9 -6
  337. package/dist/components/calcite-shell/customElement.js +1 -1
  338. package/dist/components/calcite-shell-panel/customElement.js +7 -5
  339. package/dist/components/calcite-slider/customElement.d.ts +3 -4
  340. package/dist/components/calcite-slider/customElement.js +12 -22
  341. package/dist/components/calcite-sort-handle/customElement.d.ts +4 -4
  342. package/dist/components/calcite-sort-handle/customElement.js +44 -17
  343. package/dist/components/calcite-sortable-list/customElement.d.ts +1 -1
  344. package/dist/components/calcite-sortable-list/customElement.js +4 -4
  345. package/dist/components/calcite-split-button/customElement.d.ts +8 -8
  346. package/dist/components/calcite-stepper/customElement.d.ts +2 -2
  347. package/dist/components/calcite-stepper/customElement.js +30 -43
  348. package/dist/components/calcite-stepper-item/customElement.d.ts +1 -1
  349. package/dist/components/calcite-stepper-item/customElement.js +4 -10
  350. package/dist/components/calcite-swatch/customElement.d.ts +1 -1
  351. package/dist/components/calcite-swatch-group/customElement.js +1 -1
  352. package/dist/components/calcite-switch/customElement.d.ts +4 -4
  353. package/dist/components/calcite-switch/customElement.js +9 -8
  354. package/dist/components/calcite-tab/customElement.d.ts +1 -1
  355. package/dist/components/calcite-tab/customElement.js +2 -2
  356. package/dist/components/calcite-tab-nav/customElement.js +4 -2
  357. package/dist/components/calcite-tab-title/customElement.js +6 -4
  358. package/dist/components/calcite-table/customElement.js +1 -1
  359. package/dist/components/calcite-table-cell/customElement.d.ts +2 -2
  360. package/dist/components/calcite-table-cell/customElement.js +3 -2
  361. package/dist/components/calcite-table-header/customElement.d.ts +2 -2
  362. package/dist/components/calcite-table-row/customElement.d.ts +1 -1
  363. package/dist/components/calcite-tabs/customElement.js +1 -1
  364. package/dist/components/calcite-text-area/customElement.d.ts +13 -14
  365. package/dist/components/calcite-text-area/customElement.js +32 -37
  366. package/dist/components/calcite-tile/customElement.d.ts +1 -1
  367. package/dist/components/calcite-time-picker/customElement.d.ts +1 -1
  368. package/dist/components/calcite-time-picker/customElement.js +4 -3
  369. package/dist/components/calcite-tooltip/customElement.d.ts +15 -2
  370. package/dist/components/calcite-tooltip/customElement.js +27 -315
  371. package/dist/components/calcite-tree/customElement.js +1 -1
  372. package/dist/components/calcite-tree-item/customElement.js +5 -4
  373. package/dist/controllers/useSortable.d.ts +7 -0
  374. package/dist/docs/api.json +1 -1
  375. package/dist/docs/docs.json +1 -1
  376. package/dist/docs/supported-browsers.json +1 -1
  377. package/dist/docs/translations.json +1 -1
  378. package/dist/docs/vscode.css-custom-data.json +1 -1
  379. package/dist/docs/vscode.html-custom-data.json +1 -1
  380. package/dist/docs/web-types.json +1 -1
  381. package/dist/loader.js +23 -23
  382. package/dist/types/lumina.d.ts +5 -5
  383. package/dist/types/preact.d.ts +5 -5
  384. package/dist/types/react.d.ts +5 -5
  385. package/dist/types/stencil.d.ts +5 -5
  386. package/package.json +13 -12
  387. package/dist/cdn/2CCRLQOV.js +0 -2
  388. package/dist/cdn/2SXQFDOQ.js +0 -2
  389. package/dist/cdn/2UXQ7FQU.js +0 -2
  390. package/dist/cdn/32TBZZTY.js +0 -2
  391. package/dist/cdn/3KAMTN22.js +0 -2
  392. package/dist/cdn/3TLJ5JOP.js +0 -2
  393. package/dist/cdn/46F46R3T.js +0 -2
  394. package/dist/cdn/4DX77VVY.js +0 -2
  395. package/dist/cdn/4ET37OQN.js +0 -2
  396. package/dist/cdn/4I67VFAN.js +0 -2
  397. package/dist/cdn/5XFHSV4Z.js +0 -2
  398. package/dist/cdn/66NDMEG2.js +0 -2
  399. package/dist/cdn/76VE6QGI.js +0 -2
  400. package/dist/cdn/7AJLMSNL.js +0 -2
  401. package/dist/cdn/7J3JDTWK.js +0 -2
  402. package/dist/cdn/7PFEVHWG.js +0 -2
  403. package/dist/cdn/ALRQOPMQ.js +0 -2
  404. package/dist/cdn/AO7ZTAVY.js +0 -2
  405. package/dist/cdn/BEHKDUR6.js +0 -2
  406. package/dist/cdn/BKAZFAPN.js +0 -2
  407. package/dist/cdn/C7TED56N.js +0 -2
  408. package/dist/cdn/CSRCARFW.js +0 -2
  409. package/dist/cdn/DADGP3DW.js +0 -2
  410. package/dist/cdn/EC3GCET5.js +0 -2
  411. package/dist/cdn/EREDWMAC.js +0 -2
  412. package/dist/cdn/ETXIJA2R.js +0 -2
  413. package/dist/cdn/EVZEXLBF.js +0 -2
  414. package/dist/cdn/FH7GL6DM.js +0 -2
  415. package/dist/cdn/GETIWK4G.js +0 -2
  416. package/dist/cdn/GJ5VSZCN.js +0 -2
  417. package/dist/cdn/HSNJW6OM.js +0 -2
  418. package/dist/cdn/I6XABN6A.js +0 -2
  419. package/dist/cdn/IQ23RSWK.js +0 -2
  420. package/dist/cdn/JC2AVKOO.js +0 -2
  421. package/dist/cdn/JLJULYTE.js +0 -2
  422. package/dist/cdn/JRAIIHMU.js +0 -2
  423. package/dist/cdn/JZWQZ5BO.js +0 -2
  424. package/dist/cdn/KFPRUCQK.js +0 -2
  425. package/dist/cdn/LFGU3E4X.js +0 -2
  426. package/dist/cdn/LGDOYO5J.js +0 -2
  427. package/dist/cdn/MHSIIKU2.js +0 -2
  428. package/dist/cdn/MOZ5AAJM.js +0 -2
  429. package/dist/cdn/MTQHRNJW.js +0 -2
  430. package/dist/cdn/N6YVNJ3O.js +0 -2
  431. package/dist/cdn/NB3LG2PS.js +0 -2
  432. package/dist/cdn/NNVU3JV4.js +0 -2
  433. package/dist/cdn/O5XHZCXZ.js +0 -2
  434. package/dist/cdn/OXJIN4W5.js +0 -2
  435. package/dist/cdn/OXZJMSLQ.js +0 -2
  436. package/dist/cdn/P2745LUP.js +0 -2
  437. package/dist/cdn/QHUMJCWK.js +0 -2
  438. package/dist/cdn/QJ2FRJRU.js +0 -2
  439. package/dist/cdn/QUJE6MIQ.js +0 -2
  440. package/dist/cdn/REAIBS67.js +0 -2
  441. package/dist/cdn/RKSFMXT4.js +0 -2
  442. package/dist/cdn/RMKYCARB.js +0 -2
  443. package/dist/cdn/S5KQDAMG.js +0 -2
  444. package/dist/cdn/SUIJIBLR.js +0 -2
  445. package/dist/cdn/TDDLSMO5.js +0 -2
  446. package/dist/cdn/TQQTV5HV.js +0 -2
  447. package/dist/cdn/UMLQ6PVE.js +0 -2
  448. package/dist/cdn/UODBUSON.js +0 -2
  449. package/dist/cdn/WJXZ7BPV.js +0 -2
  450. package/dist/cdn/X2HWVZ5U.js +0 -2
  451. package/dist/cdn/XPGAQQQC.js +0 -2
  452. package/dist/cdn/XSMU7S2O.js +0 -2
  453. package/dist/cdn/YT6UJRLT.js +0 -2
  454. package/dist/cdn/YUZXLNNW.js +0 -2
  455. package/dist/cdn/YZ4W6DFR.js +0 -2
  456. package/dist/cdn/Z2BYWKFB.js +0 -2
  457. package/dist/cdn/ZCBRPKAV.js +0 -2
  458. package/dist/cdn/ZQLGBHLZ.js +0 -2
  459. package/dist/chunks/form.js +0 -268
  460. package/dist/chunks/input.js +0 -30
  461. package/dist/utils/form.d.ts +0 -3
  462. package/dist/utils/sortableComponent.d.ts +0 -7
@@ -1,18 +1,18 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
2
  import { c as customElement } from "../../chunks/runtime.js";
3
- import { css, isServer, html, nothing } from "lit";
3
+ import { css, html } from "lit";
4
4
  import { createRef, ref } from "lit/directives/ref.js";
5
5
  import { literal, html as html$1 } from "lit/static-html.js";
6
- import { LitElement, stringOrBoolean, safeClassMap } from "@arcgis/lumina";
6
+ import { LitElement, stringOrBoolean, safeClassMap, nothing } from "@arcgis/lumina";
7
7
  import { useWatchAttributes } from "@arcgis/lumina/controllers";
8
- import { f as findAssociatedForm, s as submitForm, r as resetForm } from "../../chunks/form.js";
9
8
  import { c as connectLabel, d as disconnectLabel, g as getLabelText } from "../../chunks/label.js";
10
9
  import { c as createObserver, u as updateRefObserver } from "../../chunks/observers.js";
11
10
  import { g as getIconScale } from "../../chunks/component.js";
12
11
  import { u as useT9n } from "../../chunks/useT9n.js";
13
- import { i as hasVisibleContent } from "../../chunks/dom.js";
12
+ import { h as hasVisibleContent } from "../../chunks/dom.js";
14
13
  import { u as useSetFocus } from "../../chunks/useSetFocus.js";
15
14
  import { u as useInteractive } from "../../chunks/useInteractive.js";
15
+ import { u as useFormTrigger } from "../../chunks/useFormTrigger.js";
16
16
  const CSS = {
17
17
  buttonLoader: "calcite-button--loader",
18
18
  content: "content",
@@ -27,12 +27,13 @@ const CSS = {
27
27
  buttonPadding: "button-padding",
28
28
  buttonPaddingShrunk: "button-padding--shrunk"
29
29
  };
30
- 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:inline-block;inline-size:auto;vertical-align:middle;border-radius:var(--calcite-button-corner-radius, var(--calcite-internal-button-corner-radius, 0))}:host a,:host button{--calcite-internal-button-content-margin: .5rem;--calcite-internal-button-padding-x: 7px;--calcite-internal-button-padding-y: 3px;position:relative;box-sizing:border-box;display:flex;block-size:100%;inline-size:100%;cursor:pointer;-webkit-user-select:none;user-select:none;appearance:none;align-items:center;justify-content:center;border-style:none;text-align:center;font-family:inherit;font-weight:var(--calcite-font-weight-normal);text-decoration-line:none;outline-color:transparent;box-shadow:var(--calcite-button-shadow, var(--calcite-shadow-none));background-color:var(--calcite-button-background-color, var(--calcite-internal-button-background-color, var(--calcite-color-transparent)));border-block-start-color:var(--calcite-button-border-color, var(--calcite-internal-button-border-block-start-color, var(--calcite-internal-button-border-color, var(--calcite-color-transparent))));border-block-end-color:var(--calcite-button-border-color, var(--calcite-internal-button-border-block-end-color, var(--calcite-internal-button-border-color, var(--calcite-color-transparent))));border-inline-start-color:var(--calcite-button-border-color, var(--calcite-internal-button-border-inline-start-color, var(--calcite-internal-button-border-color, var(--calcite-color-transparent))));border-inline-end-color:var(--calcite-button-border-color, var(--calcite-internal-button-border-inline-end-color, var(--calcite-internal-button-border-color, var(--calcite-color-transparent))));border-style:solid;border-width:var(--calcite-border-width-sm);border-radius:var(--calcite-button-corner-radius, var(--calcite-internal-button-corner-radius, 0));color:var(--calcite-button-text-color, var(--calcite-internal-button-text-color, currentColor));padding-block:var(--calcite-internal-button-padding-y);padding-inline:var(--calcite-internal-button-padding-x);transition:color var(--calcite-animation-timing) ease-in-out,background-color var(--calcite-animation-timing) ease-in-out,box-shadow var(--calcite-animation-timing) ease-in-out,outline-color var(--calcite-internal-animation-timing-fast) ease-in-out}:host a:hover,:host button:hover{text-decoration-line:none;background-color:var(--calcite-button-background-color, var(--calcite-internal-button-background-color-hover, var(--calcite-color-transparent)))}:host a:focus,:host button: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))));background-color:var(--calcite-button-background-color, var(--calcite-internal-button-background-color))}:host a:active,:host button:active{background-color:var(--calcite-button-background-color, var(--calcite-internal-button-background-color-press, var(--calcite-color-transparent)))}:host a span,:host button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host a calcite-loader,:host button calcite-loader{color:var(--calcite-button-loader-color, var(--calcite-internal-button-loader-color, var(--calcite-button-text-color, var(--calcite-internal-button-text-color))))}:host([round]){--calcite-internal-button-corner-radius: 50px}.content{margin-inline:var(--calcite-internal-button-content-margin)}.icon-start-empty .content{margin-inline-start:unset}.icon-end-empty .content{margin-inline-end:unset}:host([scale=m]) button,:host([scale=m]) a{--calcite-internal-button-content-margin: .75rem}:host([scale=l]) button,:host([scale=l]) a{--calcite-internal-button-content-margin: 1rem}:host([width=auto]){inline-size:auto}:host([width=half]){inline-size:50%}:host([width=full]){inline-size:100%}:host([alignment=center]:not([width=auto])) a,:host([alignment=center]:not([width=auto])) button{justify-content:center}:host([alignment=start]:not([width=auto])) a,:host([alignment=start]:not([width=auto])) button{justify-content:flex-start}:host([alignment=end]:not([width=auto])) a,:host([alignment=end]:not([width=auto])) button{justify-content:flex-end}:host([alignment*=space-between]:not([width=auto])) a,:host([alignment*=space-between]:not([width=auto])) button{justify-content:space-between}:host([alignment=icon-start-space-between]:not([width=auto])) .icon--start{margin-inline-end:auto}:host([alignment=icon-start-space-between]:not([width=auto])) a,:host([alignment=icon-start-space-between]:not([width=auto])) button{text-align:unset}:host([alignment=icon-end-space-between]:not([width=auto])) .icon--end{margin-inline-start:auto}:host([alignment=icon-end-space-between]:not([width=auto])) a,:host([alignment=icon-end-space-between]:not([width=auto])) button{text-align:unset}:host([alignment=center]) a:not(.content--slotted) .icon--start+.icon--end,:host([alignment=center]) button:not(.content--slotted) .icon--start+.icon--end{margin-inline-start:var(--calcite-internal-button-content-margin)}.icon--start,.icon--end{color:var(--calcite-button-icon-color, var(--calcite-icon-color, var(--calcite-ui-icon-color)))}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}@keyframes loader-in{0%{inline-size:0;opacity:0;transform:scale(.5)}to{inline-size:1em;opacity:1;transform:scale(1)}}@keyframes loader-out{0%{inline-size:1em;opacity:1;transform:scale(1)}to{inline-size:0;opacity:0;transform:scale(.5)}}.calcite-button--loader{display:flex}.calcite-button--loader calcite-loader{margin:0}:host([loading]) button.content--slotted .calcite-button--loader calcite-loader,:host([loading]) a.content--slotted .calcite-button--loader calcite-loader{margin-inline-end:var(--calcite-internal-button-content-margin)}:host([loading]) button:not(.content--slotted) .icon--start,:host([loading]) button:not(.content--slotted) .icon--end,:host([loading]) a:not(.content--slotted) .icon--start,:host([loading]) a:not(.content--slotted) .icon--end{display:none}:host([appearance]) button,:host([appearance]) a{--calcite-internal-button-border-color: var(--calcite-color-transparent);border-style:solid;border-width:var(--calcite-button-border-size, 1px)}:host([kind=brand]){--calcite-internal-button-background-color: var(--calcite-color-brand);--calcite-internal-button-background-color-hover: var(--calcite-color-brand-hover);--calcite-internal-button-background-color-press: var(--calcite-color-brand-press);--calcite-internal-button-loader-color: var(--calcite-color-text-inverse);--calcite-internal-button-text-color: var(--calcite-color-text-inverse)}:host([kind=danger]){--calcite-internal-button-background-color: var(--calcite-color-status-danger);--calcite-internal-button-background-color-hover: var(--calcite-color-status-danger-hover);--calcite-internal-button-background-color-press: var(--calcite-color-status-danger-press);--calcite-internal-button-loader-color: var(--calcite-color-text-inverse);--calcite-internal-button-text-color: var(--calcite-color-text-inverse)}:host([kind=neutral]){--calcite-internal-button-background-color: var(--calcite-color-foreground-3);--calcite-internal-button-background-color-hover: var(--calcite-color-foreground-2);--calcite-internal-button-background-color-press: var(--calcite-color-foreground-1);--calcite-internal-button-loader-color: var(--calcite-color-text-1);--calcite-internal-button-text-color: var(--calcite-color-text-1)}:host([kind=inverse]){--calcite-internal-button-background-color: var(--calcite-color-inverse);--calcite-internal-button-background-color-hover: var(--calcite-color-inverse-hover);--calcite-internal-button-background-color-press: var(--calcite-color-inverse-press);--calcite-internal-button-loader-color: var(--calcite-color-text-inverse);--calcite-internal-button-text-color: var(--calcite-color-text-inverse)}:host([appearance=outline-fill]){--calcite-internal-button-background-color: var(--calcite-color-foreground-1);--calcite-internal-button-background-color-hover: var(--calcite-color-foreground-2);--calcite-internal-button-background-color-press: var(--calcite-color-foreground-3)}:host([appearance=outline-fill]) button,:host([appearance=outline-fill]) a{border-style:solid;border-width:var(--calcite-button-border-size, 1px)}:host([appearance=outline-fill][kind=brand]) button,:host([appearance=outline-fill][kind=brand]) a{--calcite-internal-button-border-color: var(--calcite-color-brand);--calcite-internal-button-text-color: var(--calcite-color-brand);--calcite-internal-button-loader-color: var(--calcite-color-brand)}:host([appearance=outline-fill][kind=brand]) button:hover,:host([appearance=outline-fill][kind=brand]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-brand-hover);--calcite-internal-button-text-color: var(--calcite-color-brand-hover)}:host([appearance=outline-fill][kind=brand]) button:focus,:host([appearance=outline-fill][kind=brand]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-brand);--calcite-internal-button-text-color: var(--calcite-color-brand)}:host([appearance=outline-fill][kind=brand]) button:active,:host([appearance=outline-fill][kind=brand]) a:active{--calcite-internal-button-border-color: var(--calcite-color-brand-press);--calcite-internal-button-text-color: var(--calcite-color-brand-press)}:host([appearance=outline-fill][kind=brand]) button calcite-loader,:host([appearance=outline-fill][kind=brand]) a calcite-loader{--calcite-internal-button-loader-color: var(--calcite-color-brand)}:host([appearance=outline-fill][kind=danger]) button,:host([appearance=outline-fill][kind=danger]) a{--calcite-internal-button-border-color: var(--calcite-color-status-danger);--calcite-internal-button-text-color: var(--calcite-color-status-danger);--calcite-internal-button-loader-color: var(--calcite-color-status-danger)}:host([appearance=outline-fill][kind=danger]) button:hover,:host([appearance=outline-fill][kind=danger]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-status-danger-hover);--calcite-internal-button-text-color: var(--calcite-color-status-danger-hover)}:host([appearance=outline-fill][kind=danger]) button:focus,:host([appearance=outline-fill][kind=danger]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-status-danger);--calcite-internal-button-text-color: var(--calcite-color-status-danger)}:host([appearance=outline-fill][kind=danger]) button:active,:host([appearance=outline-fill][kind=danger]) a:active{--calcite-internal-button-border-color: var(--calcite-color-status-danger-press);--calcite-internal-button-text-color: var(--calcite-color-status-danger-press)}:host([appearance=outline-fill][kind=danger]) button calcite-loader,:host([appearance=outline-fill][kind=danger]) a calcite-loader{--calcite-internal-button-loader-color: var(--calcite-color-status-danger)}:host([appearance=outline-fill][kind=neutral]) button,:host([appearance=outline-fill][kind=neutral]) a{--calcite-internal-button-border-color: var(--calcite-color-border-1);--calcite-internal-button-text-color: var(--calcite-color-text-1);--calcite-internal-button-loader-color: var(--calcite-color-text-1)}:host([appearance=outline-fill][kind=neutral]) button:hover,:host([appearance=outline-fill][kind=neutral]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-border-input)}:host([appearance=outline-fill][kind=neutral]) button:focus,:host([appearance=outline-fill][kind=neutral]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-foreground-3)}:host([appearance=outline-fill][kind=neutral]) button:active,:host([appearance=outline-fill][kind=neutral]) a:active{--calcite-internal-button-border-color: var(--calcite-color-text-3)}:host([appearance=solid][kind=neutral]){--calcite-internal-button-background-color-hover: var(--calcite-color-border-2);--calcite-internal-button-background-color-press: var(--calcite-color-border-1)}:host([appearance=outline-fill][kind=inverse]) button,:host([appearance=outline-fill][kind=inverse]) a{--calcite-internal-button-text-color: var(--calcite-color-text-1);--calcite-internal-button-border-color: var(--calcite-color-inverse);--calcite-internal-button-loader-color: var(--calcite-color-text-1)}:host([appearance=outline-fill][kind=inverse]) button:hover,:host([appearance=outline-fill][kind=inverse]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-inverse-hover)}:host([appearance=outline-fill][kind=inverse]) button:focus,:host([appearance=outline-fill][kind=inverse]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-inverse)}:host([appearance=outline-fill][kind=inverse]) button:active,:host([appearance=outline-fill][kind=inverse]) a:active{--calcite-internal-button-border-color: var(--calcite-color-inverse-press)}:host([appearance=outline]){--calcite-internal-button-background-color: var(--calcite-color-transparent);--calcite-internal-button-background-color-hover: var(--calcite-color-transparent-hover);--calcite-internal-button-background-color-press: var(--calcite-color-transparent-press)}:host([appearance=outline]) button,:host([appearance=outline]) a{border-style:solid;border-width:var(--calcite-button-border-size, 1px)}:host([appearance=outline][kind=brand]) button,:host([appearance=outline][kind=brand]) a{--calcite-internal-button-border-color: var(--calcite-color-brand);--calcite-internal-button-text-color: var(--calcite-color-brand);--calcite-internal-button-loader-color: var(--calcite-color-brand)}:host([appearance=outline][kind=brand]) button:hover,:host([appearance=outline][kind=brand]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-brand-hover);--calcite-internal-button-text-color: var(--calcite-color-brand-hover)}:host([appearance=outline][kind=brand]) button:focus,:host([appearance=outline][kind=brand]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-brand);--calcite-internal-button-text-color: var(--calcite-color-brand)}:host([appearance=outline][kind=brand]) button:active,:host([appearance=outline][kind=brand]) a:active{--calcite-internal-button-border-color: var(--calcite-color-brand-press);--calcite-internal-button-text-color: var(--calcite-color-brand-press)}:host([appearance=outline][kind=brand]) button calcite-loader,:host([appearance=outline][kind=brand]) a calcite-loader{--calcite-internal-button-loader-color: var(--calcite-color-brand)}:host([appearance=outline][kind=danger]) button,:host([appearance=outline][kind=danger]) a{--calcite-internal-button-border-color: var(--calcite-color-status-danger);--calcite-internal-button-text-color: var(--calcite-color-status-danger);--calcite-internal-button-loader-color: var(--calcite-color-status-danger)}:host([appearance=outline][kind=danger]) button:hover,:host([appearance=outline][kind=danger]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-status-danger-hover);--calcite-internal-button-text-color: var(--calcite-color-status-danger-hover)}:host([appearance=outline][kind=danger]) button:focus,:host([appearance=outline][kind=danger]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-status-danger);--calcite-internal-button-text-color: var(--calcite-color-status-danger)}:host([appearance=outline][kind=danger]) button:active,:host([appearance=outline][kind=danger]) a:active{--calcite-internal-button-border-color: var(--calcite-color-status-danger-press);--calcite-internal-button-text-color: var(--calcite-color-status-danger-press)}:host([appearance=outline][kind=danger]) button calcite-loader,:host([appearance=outline][kind=danger]) a calcite-loader{--calcite-internal-button-loader-color: var(--calcite-color-status-danger)}:host([appearance=outline][kind=neutral]) button,:host([appearance=outline][kind=neutral]) a{--calcite-internal-button-text-color: var(--calcite-color-text-1);--calcite-internal-button-border-color: var(--calcite-color-border-1);--calcite-internal-button-loader-color: var(--calcite-color-text-1)}:host([appearance=outline][kind=neutral]) button:hover,:host([appearance=outline][kind=neutral]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-border-input)}:host([appearance=outline][kind=neutral]) button:focus,:host([appearance=outline][kind=neutral]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-foreground-3)}:host([appearance=outline][kind=neutral]) button:active,:host([appearance=outline][kind=neutral]) a:active{--calcite-internal-button-border-color: var(--calcite-color-text-3)}:host([appearance=outline][kind=inverse]) button,:host([appearance=outline][kind=inverse]) a{--calcite-internal-button-text-color: var(--calcite-color-text-1);--calcite-internal-button-border-color: var(--calcite-color-inverse);--calcite-internal-button-loader-color: var(--calcite-color-text-1)}:host([appearance=outline][kind=inverse]) button:hover,:host([appearance=outline][kind=inverse]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-inverse-hover)}:host([appearance=outline][kind=inverse]) button:focus,:host([appearance=outline][kind=inverse]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-inverse)}:host([appearance=outline][kind=inverse]) button:active,:host([appearance=outline][kind=inverse]) a:active{--calcite-internal-button-border-color: var(--calcite-color-inverse-press)}:host([appearance=outline-fill][split-child=primary]) button,:host([appearance=outline][split-child=primary]) button,:host([appearance=outline-fill][split-child=primary]) a,:host([appearance=outline][split-child=primary]) a{border-inline-end-width:0;border-inline-start-width:1px}:host([appearance=outline-fill][split-child=secondary]) button,:host([appearance=outline][split-child=secondary]) button,:host([appearance=outline-fill][split-child=secondary]) a,:host([appearance=outline][split-child=secondary]) a{border-inline-start-width:0;border-inline-end-width:1px}:host([appearance=transparent]){--calcite-internal-button-background-color: var(--calcite-color-transparent);--calcite-internal-button-background-color-hover: var(--calcite-color-transparent-hover);--calcite-internal-button-background-color-press: var(--calcite-color-transparent-press)}:host([appearance=transparent]:not(.enable-editing-button)){--calcite-internal-button-background-color-hover: var(--calcite-color-transparent-hover);--calcite-internal-button-background-color-press: var(--calcite-color-transparent-press)}:host([appearance=transparent][kind=brand]) button,:host([appearance=transparent][kind=brand]) a{--calcite-internal-button-text-color: var(--calcite-color-brand);--calcite-internal-button-loader-color: var(--calcite-color-brand)}:host([appearance=transparent][kind=brand]) button:hover,:host([appearance=transparent][kind=brand]) a:hover{--calcite-internal-button-text-color: var(--calcite-color-brand-hover)}:host([appearance=transparent][kind=brand]) button:focus,:host([appearance=transparent][kind=brand]) a:focus{--calcite-internal-button-text-color: var(--calcite-color-brand)}:host([appearance=transparent][kind=brand]) button:active,:host([appearance=transparent][kind=brand]) a:active{--calcite-internal-button-text-color: var(--calcite-color-brand-press)}:host([appearance=transparent][kind=brand]) button calcite-loader,:host([appearance=transparent][kind=brand]) a calcite-loader{--calcite-internal-button-loader-color: var(--calcite-color-brand)}:host([appearance=transparent][kind=danger]) button,:host([appearance=transparent][kind=danger]) a{--calcite-internal-button-text-color: var(--calcite-color-status-danger);--calcite-internal-button-loader-color: var(--calcite-color-status-danger)}:host([appearance=transparent][kind=danger]) button:hover,:host([appearance=transparent][kind=danger]) a:hover{--calcite-internal-button-text-color: var(--calcite-color-status-danger-hover)}:host([appearance=transparent][kind=danger]) button:focus,:host([appearance=transparent][kind=danger]) a:focus{--calcite-internal-button-text-color: var(--calcite-color-status-danger)}:host([appearance=transparent][kind=danger]) button:active,:host([appearance=transparent][kind=danger]) a:active{--calcite-internal-button-text-color: var(--calcite-color-status-danger-press)}:host([appearance=transparent][kind=danger]) button calcite-loader,:host([appearance=transparent][kind=danger]) a calcite-loader{--calcite-internal-button-loader-color: var(--calcite-color-status-danger)}:host([appearance=transparent][kind=neutral]:not(.cancel-editing-button)) button,:host([appearance=transparent][kind=neutral]:not(.cancel-editing-button)) a,:host([appearance=transparent][kind=neutral]:not(.cancel-editing-button)) calcite-loader{--calcite-internal-button-text-color: var(--calcite-color-text-1)}:host([appearance=transparent][kind=neutral].cancel-editing-button) button{--calcite-internal-button-text-color: var(--calcite-color-text-3)}:host([appearance=transparent][kind=neutral].cancel-editing-button) button:hover{--calcite-internal-button-text-color: var(--calcite-color-text-1);--calcite-internal-button-padding-y: 0}:host(.confirm-changes-button) button:focus,:host(.cancel-editing-button) button:focus,:host(.enable-editing-button) button:focus{outline-offset:-2px}:host([appearance=transparent][kind=inverse]){--calcite-internal-button-background-color-hover: var(--calcite-color-transparent-hover);--calcite-internal-button-background-color-press: var(--calcite-color-transparent-press)}:host([appearance=transparent][kind=inverse]) button calcite-loader,:host([appearance=transparent][kind=inverse]) a calcite-loader{--calcite-internal-button-text-color: var(--calcite-color-text-inverse)}:host([scale=s]) button.content--slotted,:host([scale=s]) a.content--slotted{font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-sm)}:host([scale=s][appearance=transparent]) button.content--slotted,:host([scale=s][appearance=transparent]) a.content--slotted{--calcite-internal-button-padding-x: .5rem}:host([scale=s]) button,:host([scale=s]) a{--calcite-internal-button-padding-y: 3px}:host([scale=m]) button.content--slotted,:host([scale=m]) a.content--slotted{--calcite-internal-button-padding-x: 11px;font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-base)}:host([scale=m]) button,:host([scale=m]) a{--calcite-internal-button-padding-y: 7px}:host([scale=m][appearance=transparent]) button.content--slotted,:host([scale=m][appearance=transparent]) a.content--slotted{--calcite-internal-button-padding-x: .75rem}:host([scale=l]) button.content--slotted,:host([scale=l]) a.content--slotted{--calcite-internal-button-padding-x: 15px;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md)}:host([scale=l]) .button-padding{--calcite-internal-button-padding-x: 1rem;--calcite-internal-button-padding-y: 11px}:host([scale=l]) .button-padding--shrunk{--calcite-internal-button-padding-y: 9px}:host([scale=s]) button:not(.content--slotted),:host([scale=s]) a:not(.content--slotted){--calcite-internal-button-padding-x: .125rem;--calcite-internal-button-padding-y: 3px;inline-size:1.5rem;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md);min-block-size:1.5rem}:host([scale=m]) button:not(.content--slotted),:host([scale=m]) a:not(.content--slotted){--calcite-internal-button-padding-x: .125rem;--calcite-internal-button-padding-y: 7px;inline-size:2rem;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md);min-block-size:2rem}:host([scale=l]) button:not(.content--slotted),:host([scale=l]) a:not(.content--slotted){--calcite-internal-button-padding-x: .125rem;--calcite-internal-button-padding-y: 9px;inline-size:2.75rem;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md);min-block-size:2.75rem}:host(:is([scale=s],[scale=m],[scale=l])[width=full]) a:not(.content--slotted),:host(:is([scale=s],[scale=m],[scale=l])[width=full]) button:not(.content--slotted){inline-size:var(--calcite-container-size-content-fluid)}:host([scale=l][appearance=transparent]) button:not(.content--slotted),:host([scale=l][appearance=transparent]) a:not(.content--slotted){--calcite-internal-button-padding-y: .625rem}:host([scale=s][icon-start][icon-end]) button:not(.content--slotted),:host([scale=s][icon-start][icon-end]) a:not(.content--slotted){--calcite-internal-button-padding-x: 23px;block-size:1.5rem;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md)}:host([scale=s][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=s][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-internal-button-padding-x: 1.5rem}:host([scale=m][icon-start][icon-end]) button:not(.content--slotted),:host([scale=m][icon-start][icon-end]) a:not(.content--slotted){--calcite-internal-button-padding-x: 2rem;block-size:2rem;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md)}:host([scale=m][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=m][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-internal-button-padding-x: 33px}:host([scale=l][icon-start][icon-end]) button:not(.content--slotted),:host([scale=l][icon-start][icon-end]) a:not(.content--slotted){--calcite-internal-button-padding-x: 43px;block-size:2.75rem;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md)}:host([scale=l][icon-start][icon-end]) button:not(.content--slotted) .icon--start+.icon--end,:host([scale=l][icon-start][icon-end]) a:not(.content--slotted) .icon--start+.icon--end{margin-inline-start:1rem}:host([scale=l][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=l][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-internal-button-padding-x: 2.75rem}:host([hidden]){display:none}[hidden]{display:none}`;
30
+ 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:inline-block;inline-size:auto;vertical-align:middle;border-radius:var(--calcite-button-corner-radius, var(--calcite-internal-button-corner-radius, 0))}:host a,:host button{--calcite-internal-button-content-margin: .5rem;--calcite-internal-button-padding-x: 7px;--calcite-internal-button-padding-y: 3px;position:relative;box-sizing:border-box;display:flex;block-size:100%;inline-size:100%;cursor:pointer;-webkit-user-select:none;user-select:none;appearance:none;align-items:center;justify-content:center;border-style:none;text-align:center;font-family:inherit;font-weight:var(--calcite-font-weight-normal);text-decoration-line:none;outline-color:transparent;box-shadow:var(--calcite-button-shadow, var(--calcite-shadow-none));background-color:var(--calcite-button-background-color, var(--calcite-internal-button-background-color, var(--calcite-color-transparent)));border-block-start-color:var(--calcite-button-border-color, var(--calcite-internal-button-border-block-start-color, var(--calcite-internal-button-border-color, var(--calcite-color-transparent))));border-block-end-color:var(--calcite-button-border-color, var(--calcite-internal-button-border-block-end-color, var(--calcite-internal-button-border-color, var(--calcite-color-transparent))));border-inline-start-color:var(--calcite-button-border-color, var(--calcite-internal-button-border-inline-start-color, var(--calcite-internal-button-border-color, var(--calcite-color-transparent))));border-inline-end-color:var(--calcite-button-border-color, var(--calcite-internal-button-border-inline-end-color, var(--calcite-internal-button-border-color, var(--calcite-color-transparent))));border-style:solid;border-width:var(--calcite-border-width-sm);border-radius:var(--calcite-button-corner-radius, var(--calcite-internal-button-corner-radius, 0));color:var(--calcite-button-text-color, var(--calcite-internal-button-text-color, currentColor));padding-block:var(--calcite-internal-button-padding-y);padding-inline:var(--calcite-internal-button-padding-x);transition:color var(--calcite-animation-timing) ease-in-out,background-color var(--calcite-animation-timing) ease-in-out,box-shadow var(--calcite-animation-timing) ease-in-out,outline-color var(--calcite-internal-animation-timing-fast) ease-in-out}:host a:hover,:host button:hover{text-decoration-line:none;background-color:var(--calcite-button-background-color, var(--calcite-internal-button-background-color-hover, var(--calcite-color-transparent)))}:host a:focus,:host button: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))));background-color:var(--calcite-button-background-color, var(--calcite-internal-button-background-color))}:host a:active,:host button:active{background-color:var(--calcite-button-background-color, var(--calcite-internal-button-background-color-press, var(--calcite-color-transparent)))}:host a span,:host button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host a calcite-loader,:host button calcite-loader{color:var(--calcite-button-loader-color, var(--calcite-internal-button-loader-color, var(--calcite-button-text-color, var(--calcite-internal-button-text-color))))}:host([round]){--calcite-internal-button-corner-radius: 50px}.content{margin-inline:var(--calcite-internal-button-content-margin)}.icon-start-empty .content{margin-inline-start:unset}.icon-end-empty .content{margin-inline-end:unset}:host([scale=m]) button,:host([scale=m]) a{--calcite-internal-button-content-margin: .75rem}:host([scale=l]) button,:host([scale=l]) a{--calcite-internal-button-content-margin: 1rem}:host([width=auto]){inline-size:auto}:host([width=half]){inline-size:50%}:host([width=full]){inline-size:100%}:host([alignment=center]:not([width=auto])) a,:host([alignment=center]:not([width=auto])) button{justify-content:center}:host([alignment=start]:not([width=auto])) a,:host([alignment=start]:not([width=auto])) button{justify-content:flex-start}:host([alignment=end]:not([width=auto])) a,:host([alignment=end]:not([width=auto])) button{justify-content:flex-end}:host([alignment*=space-between]:not([width=auto])) a,:host([alignment*=space-between]:not([width=auto])) button{justify-content:space-between}:host([alignment=icon-start-space-between]:not([width=auto])) .icon--start{margin-inline-end:auto}:host([alignment=icon-start-space-between]:not([width=auto])) a,:host([alignment=icon-start-space-between]:not([width=auto])) button{text-align:unset}:host([alignment=icon-end-space-between]:not([width=auto])) .icon--end{margin-inline-start:auto}:host([alignment=icon-end-space-between]:not([width=auto])) a,:host([alignment=icon-end-space-between]:not([width=auto])) button{text-align:unset}:host([alignment=center]) a:not(.content--slotted) .icon--start+.icon--end,:host([alignment=center]) button:not(.content--slotted) .icon--start+.icon--end{margin-inline-start:var(--calcite-internal-button-content-margin)}.icon--start,.icon--end{color:var(--calcite-button-icon-color, var(--calcite-icon-color, var(--calcite-ui-icon-color)))}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}@keyframes loader-in{0%{inline-size:0;opacity:0;transform:scale(.5)}to{inline-size:1em;opacity:1;transform:scale(1)}}@keyframes loader-out{0%{inline-size:1em;opacity:1;transform:scale(1)}to{inline-size:0;opacity:0;transform:scale(.5)}}.calcite-button--loader{display:flex}.calcite-button--loader calcite-loader{margin:0}:host([loading]) button.content--slotted .calcite-button--loader calcite-loader,:host([loading]) a.content--slotted .calcite-button--loader calcite-loader{margin-inline-end:var(--calcite-internal-button-content-margin)}:host([loading]) button:not(.content--slotted) .icon--start,:host([loading]) button:not(.content--slotted) .icon--end,:host([loading]) a:not(.content--slotted) .icon--start,:host([loading]) a:not(.content--slotted) .icon--end{display:none}:host([appearance]) button,:host([appearance]) a{--calcite-internal-button-border-color: var(--calcite-color-transparent);border-style:solid;border-width:var(--calcite-button-border-size, 1px)}:host([kind=brand]){--calcite-internal-button-background-color: var(--calcite-color-brand);--calcite-internal-button-background-color-hover: var(--calcite-color-brand-hover);--calcite-internal-button-background-color-press: var(--calcite-color-brand-press);--calcite-internal-button-loader-color: var(--calcite-color-text-inverse);--calcite-internal-button-text-color: var(--calcite-color-text-inverse)}:host([kind=danger]){--calcite-internal-button-background-color: var(--calcite-color-status-danger);--calcite-internal-button-background-color-hover: var(--calcite-color-status-danger-hover);--calcite-internal-button-background-color-press: var(--calcite-color-status-danger-press);--calcite-internal-button-loader-color: var(--calcite-color-text-inverse);--calcite-internal-button-text-color: var(--calcite-color-text-inverse)}:host([kind=neutral]){--calcite-internal-button-background-color: var(--calcite-color-foreground-3);--calcite-internal-button-background-color-hover: var(--calcite-color-foreground-2);--calcite-internal-button-background-color-press: var(--calcite-color-foreground-1);--calcite-internal-button-loader-color: var(--calcite-color-text-1);--calcite-internal-button-text-color: var(--calcite-color-text-1)}:host([kind=inverse]){--calcite-internal-button-background-color: var(--calcite-color-inverse);--calcite-internal-button-background-color-hover: var(--calcite-color-inverse-hover);--calcite-internal-button-background-color-press: var(--calcite-color-inverse-press);--calcite-internal-button-loader-color: var(--calcite-color-text-inverse);--calcite-internal-button-text-color: var(--calcite-color-text-inverse)}:host([appearance=outline-fill]){--calcite-internal-button-background-color: var(--calcite-color-foreground-1);--calcite-internal-button-background-color-hover: var(--calcite-color-foreground-2);--calcite-internal-button-background-color-press: var(--calcite-color-foreground-3)}:host([appearance=outline-fill]) button,:host([appearance=outline-fill]) a{border-style:solid;border-width:var(--calcite-button-border-size, 1px)}:host([appearance=outline-fill][kind=brand]) button,:host([appearance=outline-fill][kind=brand]) a{--calcite-internal-button-border-color: var(--calcite-color-brand);--calcite-internal-button-text-color: var(--calcite-color-brand);--calcite-internal-button-loader-color: var(--calcite-color-brand)}:host([appearance=outline-fill][kind=brand]) button:hover,:host([appearance=outline-fill][kind=brand]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-brand-hover);--calcite-internal-button-text-color: var(--calcite-color-brand-hover)}:host([appearance=outline-fill][kind=brand]) button:focus,:host([appearance=outline-fill][kind=brand]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-brand);--calcite-internal-button-text-color: var(--calcite-color-brand)}:host([appearance=outline-fill][kind=brand]) button:active,:host([appearance=outline-fill][kind=brand]) a:active{--calcite-internal-button-border-color: var(--calcite-color-brand-press);--calcite-internal-button-text-color: var(--calcite-color-brand-press)}:host([appearance=outline-fill][kind=brand]) button calcite-loader,:host([appearance=outline-fill][kind=brand]) a calcite-loader{--calcite-internal-button-loader-color: var(--calcite-color-brand)}:host([appearance=outline-fill][kind=danger]) button,:host([appearance=outline-fill][kind=danger]) a{--calcite-internal-button-border-color: var(--calcite-color-status-danger);--calcite-internal-button-text-color: var(--calcite-color-status-danger);--calcite-internal-button-loader-color: var(--calcite-color-status-danger)}:host([appearance=outline-fill][kind=danger]) button:hover,:host([appearance=outline-fill][kind=danger]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-status-danger-hover);--calcite-internal-button-text-color: var(--calcite-color-status-danger-hover)}:host([appearance=outline-fill][kind=danger]) button:focus,:host([appearance=outline-fill][kind=danger]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-status-danger);--calcite-internal-button-text-color: var(--calcite-color-status-danger)}:host([appearance=outline-fill][kind=danger]) button:active,:host([appearance=outline-fill][kind=danger]) a:active{--calcite-internal-button-border-color: var(--calcite-color-status-danger-press);--calcite-internal-button-text-color: var(--calcite-color-status-danger-press)}:host([appearance=outline-fill][kind=danger]) button calcite-loader,:host([appearance=outline-fill][kind=danger]) a calcite-loader{--calcite-internal-button-loader-color: var(--calcite-color-status-danger)}:host([appearance=outline-fill][kind=neutral]) button,:host([appearance=outline-fill][kind=neutral]) a{--calcite-internal-button-border-color: var(--calcite-color-border-1);--calcite-internal-button-text-color: var(--calcite-color-text-1);--calcite-internal-button-loader-color: var(--calcite-color-text-1)}:host([appearance=outline-fill][kind=neutral]) button:hover,:host([appearance=outline-fill][kind=neutral]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-border-input)}:host([appearance=outline-fill][kind=neutral]) button:focus,:host([appearance=outline-fill][kind=neutral]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-foreground-3)}:host([appearance=outline-fill][kind=neutral]) button:active,:host([appearance=outline-fill][kind=neutral]) a:active{--calcite-internal-button-border-color: var(--calcite-color-text-3)}:host([appearance=solid][kind=neutral]){--calcite-internal-button-background-color-hover: var(--calcite-color-border-2);--calcite-internal-button-background-color-press: var(--calcite-color-border-1)}:host([appearance=outline-fill][kind=inverse]) button,:host([appearance=outline-fill][kind=inverse]) a{--calcite-internal-button-text-color: var(--calcite-color-text-1);--calcite-internal-button-border-color: var(--calcite-color-inverse);--calcite-internal-button-loader-color: var(--calcite-color-text-1)}:host([appearance=outline-fill][kind=inverse]) button:hover,:host([appearance=outline-fill][kind=inverse]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-inverse-hover)}:host([appearance=outline-fill][kind=inverse]) button:focus,:host([appearance=outline-fill][kind=inverse]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-inverse)}:host([appearance=outline-fill][kind=inverse]) button:active,:host([appearance=outline-fill][kind=inverse]) a:active{--calcite-internal-button-border-color: var(--calcite-color-inverse-press)}:host([appearance=outline]){--calcite-internal-button-background-color: var(--calcite-color-transparent);--calcite-internal-button-background-color-hover: var(--calcite-color-transparent-hover);--calcite-internal-button-background-color-press: var(--calcite-color-transparent-press)}:host([appearance=outline]) button,:host([appearance=outline]) a{border-style:solid;border-width:var(--calcite-button-border-size, 1px)}:host([appearance=outline][kind=brand]) button,:host([appearance=outline][kind=brand]) a{--calcite-internal-button-border-color: var(--calcite-color-brand);--calcite-internal-button-text-color: var(--calcite-color-brand);--calcite-internal-button-loader-color: var(--calcite-color-brand)}:host([appearance=outline][kind=brand]) button:hover,:host([appearance=outline][kind=brand]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-brand-hover);--calcite-internal-button-text-color: var(--calcite-color-brand-hover)}:host([appearance=outline][kind=brand]) button:focus,:host([appearance=outline][kind=brand]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-brand);--calcite-internal-button-text-color: var(--calcite-color-brand)}:host([appearance=outline][kind=brand]) button:active,:host([appearance=outline][kind=brand]) a:active{--calcite-internal-button-border-color: var(--calcite-color-brand-press);--calcite-internal-button-text-color: var(--calcite-color-brand-press)}:host([appearance=outline][kind=brand]) button calcite-loader,:host([appearance=outline][kind=brand]) a calcite-loader{--calcite-internal-button-loader-color: var(--calcite-color-brand)}:host([appearance=outline][kind=danger]) button,:host([appearance=outline][kind=danger]) a{--calcite-internal-button-border-color: var(--calcite-color-status-danger);--calcite-internal-button-text-color: var(--calcite-color-status-danger);--calcite-internal-button-loader-color: var(--calcite-color-status-danger)}:host([appearance=outline][kind=danger]) button:hover,:host([appearance=outline][kind=danger]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-status-danger-hover);--calcite-internal-button-text-color: var(--calcite-color-status-danger-hover)}:host([appearance=outline][kind=danger]) button:focus,:host([appearance=outline][kind=danger]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-status-danger);--calcite-internal-button-text-color: var(--calcite-color-status-danger)}:host([appearance=outline][kind=danger]) button:active,:host([appearance=outline][kind=danger]) a:active{--calcite-internal-button-border-color: var(--calcite-color-status-danger-press);--calcite-internal-button-text-color: var(--calcite-color-status-danger-press)}:host([appearance=outline][kind=danger]) button calcite-loader,:host([appearance=outline][kind=danger]) a calcite-loader{--calcite-internal-button-loader-color: var(--calcite-color-status-danger)}:host([appearance=outline][kind=neutral]) button,:host([appearance=outline][kind=neutral]) a{--calcite-internal-button-text-color: var(--calcite-color-text-1);--calcite-internal-button-border-color: var(--calcite-color-border-1);--calcite-internal-button-loader-color: var(--calcite-color-text-1)}:host([appearance=outline][kind=neutral]) button:hover,:host([appearance=outline][kind=neutral]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-border-input)}:host([appearance=outline][kind=neutral]) button:focus,:host([appearance=outline][kind=neutral]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-foreground-3)}:host([appearance=outline][kind=neutral]) button:active,:host([appearance=outline][kind=neutral]) a:active{--calcite-internal-button-border-color: var(--calcite-color-text-3)}:host([appearance=outline][kind=inverse]) button,:host([appearance=outline][kind=inverse]) a{--calcite-internal-button-text-color: var(--calcite-color-text-1);--calcite-internal-button-border-color: var(--calcite-color-inverse);--calcite-internal-button-loader-color: var(--calcite-color-text-1)}:host([appearance=outline][kind=inverse]) button:hover,:host([appearance=outline][kind=inverse]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-inverse-hover)}:host([appearance=outline][kind=inverse]) button:focus,:host([appearance=outline][kind=inverse]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-inverse)}:host([appearance=outline][kind=inverse]) button:active,:host([appearance=outline][kind=inverse]) a:active{--calcite-internal-button-border-color: var(--calcite-color-inverse-press)}:host([appearance=outline-fill][split-child=primary]) button,:host([appearance=outline][split-child=primary]) button,:host([appearance=outline-fill][split-child=primary]) a,:host([appearance=outline][split-child=primary]) a{border-inline-end-width:0;border-inline-start-width:1px}:host([appearance=outline-fill][split-child=secondary]) button,:host([appearance=outline][split-child=secondary]) button,:host([appearance=outline-fill][split-child=secondary]) a,:host([appearance=outline][split-child=secondary]) a{border-inline-start-width:0;border-inline-end-width:1px}:host([appearance=transparent]){--calcite-internal-button-background-color: var(--calcite-color-transparent);--calcite-internal-button-background-color-hover: var(--calcite-color-transparent-hover);--calcite-internal-button-background-color-press: var(--calcite-color-transparent-press)}:host([appearance=transparent]:not(.enable-editing-button)){--calcite-internal-button-background-color-hover: var(--calcite-color-transparent-hover);--calcite-internal-button-background-color-press: var(--calcite-color-transparent-press)}:host([appearance=transparent][kind=brand]) button,:host([appearance=transparent][kind=brand]) a{--calcite-internal-button-text-color: var(--calcite-color-brand);--calcite-internal-button-loader-color: var(--calcite-color-brand)}:host([appearance=transparent][kind=brand]) button:hover,:host([appearance=transparent][kind=brand]) a:hover{--calcite-internal-button-text-color: var(--calcite-color-brand-hover)}:host([appearance=transparent][kind=brand]) button:focus,:host([appearance=transparent][kind=brand]) a:focus{--calcite-internal-button-text-color: var(--calcite-color-brand)}:host([appearance=transparent][kind=brand]) button:active,:host([appearance=transparent][kind=brand]) a:active{--calcite-internal-button-text-color: var(--calcite-color-brand-press)}:host([appearance=transparent][kind=brand]) button calcite-loader,:host([appearance=transparent][kind=brand]) a calcite-loader{--calcite-internal-button-loader-color: var(--calcite-color-brand)}:host([appearance=transparent][kind=danger]) button,:host([appearance=transparent][kind=danger]) a{--calcite-internal-button-text-color: var(--calcite-color-status-danger);--calcite-internal-button-loader-color: var(--calcite-color-status-danger)}:host([appearance=transparent][kind=danger]) button:hover,:host([appearance=transparent][kind=danger]) a:hover{--calcite-internal-button-text-color: var(--calcite-color-status-danger-hover)}:host([appearance=transparent][kind=danger]) button:focus,:host([appearance=transparent][kind=danger]) a:focus{--calcite-internal-button-text-color: var(--calcite-color-status-danger)}:host([appearance=transparent][kind=danger]) button:active,:host([appearance=transparent][kind=danger]) a:active{--calcite-internal-button-text-color: var(--calcite-color-status-danger-press)}:host([appearance=transparent][kind=danger]) button calcite-loader,:host([appearance=transparent][kind=danger]) a calcite-loader{--calcite-internal-button-loader-color: var(--calcite-color-status-danger)}:host([appearance=transparent][kind=neutral]:not(.cancel-editing-button)) button,:host([appearance=transparent][kind=neutral]:not(.cancel-editing-button)) a,:host([appearance=transparent][kind=neutral]:not(.cancel-editing-button)) calcite-loader{--calcite-internal-button-text-color: var(--calcite-color-text-1)}:host([appearance=transparent][kind=neutral].cancel-editing-button) button{--calcite-internal-button-text-color: var(--calcite-color-text-3)}:host([appearance=transparent][kind=neutral].cancel-editing-button) button:hover{--calcite-internal-button-text-color: var(--calcite-color-text-1);--calcite-internal-button-padding-y: 0}:host(.confirm-changes-button) button:focus,:host(.cancel-editing-button) button:focus,:host(.enable-editing-button) button:focus{outline-offset:-2px}:host([appearance=transparent][kind=inverse]){--calcite-internal-button-background-color-hover: var(--calcite-color-transparent-hover);--calcite-internal-button-background-color-press: var(--calcite-color-transparent-press)}:host([appearance=transparent][kind=inverse]) button calcite-loader,:host([appearance=transparent][kind=inverse]) a calcite-loader{--calcite-internal-button-text-color: var(--calcite-color-text-inverse)}:host([scale=s]) button.content--slotted,:host([scale=s]) a.content--slotted{font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-sm)}:host([scale=s][appearance=transparent]) button.content--slotted,:host([scale=s][appearance=transparent]) a.content--slotted{--calcite-internal-button-padding-x: .5rem}:host([scale=s]) button,:host([scale=s]) a{--calcite-internal-button-padding-y: 3px}:host([scale=m]) button.content--slotted,:host([scale=m]) a.content--slotted{--calcite-internal-button-padding-x: 11px;font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-base)}:host([scale=m]) button,:host([scale=m]) a{--calcite-internal-button-padding-y: 7px}:host([scale=m][appearance=transparent]) button.content--slotted,:host([scale=m][appearance=transparent]) a.content--slotted{--calcite-internal-button-padding-x: .75rem}:host([scale=l]) button.content--slotted,:host([scale=l]) a.content--slotted{--calcite-internal-button-padding-x: 15px;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md)}:host([scale=l]) .button-padding{--calcite-internal-button-padding-x: 1rem;--calcite-internal-button-padding-y: 11px}:host([scale=l]) .button-padding--shrunk{--calcite-internal-button-padding-y: 9px}:host([scale=s]) button:not(.content--slotted),:host([scale=s]) a:not(.content--slotted){--calcite-internal-button-padding-x: .125rem;--calcite-internal-button-padding-y: 3px;inline-size:1.5rem;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md);min-block-size:1.5rem}:host([scale=m]) button:not(.content--slotted),:host([scale=m]) a:not(.content--slotted){--calcite-internal-button-padding-x: .125rem;--calcite-internal-button-padding-y: 7px;inline-size:2rem;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md);min-block-size:2rem}:host([scale=l]) button:not(.content--slotted),:host([scale=l]) a:not(.content--slotted){--calcite-internal-button-padding-x: .125rem;--calcite-internal-button-padding-y: 9px;inline-size:2.75rem;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md);min-block-size:2.75rem}:host(:is([scale=s],[scale=m],[scale=l])[width=full]) a:not(.content--slotted),:host(:is([scale=s],[scale=m],[scale=l])[width=full]) button:not(.content--slotted){inline-size:var(--calcite-container-size-content-fluid)}:host([scale=l][appearance=transparent]) button:not(.content--slotted),:host([scale=l][appearance=transparent]) a:not(.content--slotted){--calcite-internal-button-padding-y: var(--calcite-space-sm-plus)}:host([scale=s][icon-start][icon-end]) button:not(.content--slotted),:host([scale=s][icon-start][icon-end]) a:not(.content--slotted){--calcite-internal-button-padding-x: 23px;block-size:1.5rem;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md)}:host([scale=s][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=s][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-internal-button-padding-x: 1.5rem}:host([scale=m][icon-start][icon-end]) button:not(.content--slotted),:host([scale=m][icon-start][icon-end]) a:not(.content--slotted){--calcite-internal-button-padding-x: 2rem;block-size:2rem;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md)}:host([scale=m][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=m][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-internal-button-padding-x: 33px}:host([scale=l][icon-start][icon-end]) button:not(.content--slotted),:host([scale=l][icon-start][icon-end]) a:not(.content--slotted){--calcite-internal-button-padding-x: 43px;block-size:2.75rem;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md)}:host([scale=l][icon-start][icon-end]) button:not(.content--slotted) .icon--start+.icon--end,:host([scale=l][icon-start][icon-end]) a:not(.content--slotted) .icon--start+.icon--end{margin-inline-start:1rem}:host([scale=l][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=l][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-internal-button-padding-x: 2.75rem}:host([hidden]){display:none}[hidden]{display:none}`;
31
31
  class Button extends LitElement {
32
32
  constructor() {
33
33
  super(...arguments);
34
34
  this.attributeWatch = useWatchAttributes(["aria-expanded"], this.handleGlobalAttributesChanged);
35
35
  this.contentRef = createRef();
36
+ this.formTrigger = useFormTrigger({ disabled: () => !!this.href })(this);
36
37
  this.mutationObserver = createObserver("mutation", () => this.updateHasContent());
37
38
  this.resizeObserver = createObserver("resize", () => this.setTooltipText());
38
39
  this.focusSetter = useSetFocus()(this);
@@ -54,6 +55,9 @@ class Button extends LitElement {
54
55
  static {
55
56
  this.properties = { hasContent: [16, {}, { state: true }], tooltipText: [16, {}, { state: true }], alignment: [3, {}, { reflect: true }], appearance: [3, {}, { reflect: true }], disabled: [7, {}, { reflect: true, type: Boolean }], download: [3, { converter: stringOrBoolean }, { reflect: true }], form: [3, {}, { reflect: true }], href: [3, {}, { reflect: true }], iconEnd: [3, { type: String }, { reflect: true }], iconFlipRtl: [3, {}, { reflect: true }], iconStart: [3, { type: String }, { reflect: true }], kind: [3, {}, { reflect: true }], label: 1, loading: [7, {}, { reflect: true, type: Boolean }], messageOverrides: [0, {}, { attribute: false }], name: [3, {}, { reflect: true }], rel: [3, {}, { reflect: true }], round: [7, {}, { reflect: true, type: Boolean }], scale: [3, {}, { reflect: true }], splitChild: [3, {}, { reflect: true }], target: [3, {}, { reflect: true }], type: [3, {}, { reflect: true }], width: [3, {}, { reflect: true }] };
56
57
  }
58
+ static {
59
+ this.formAssociated = true;
60
+ }
57
61
  static {
58
62
  this.styles = styles;
59
63
  }
@@ -64,12 +68,9 @@ class Button extends LitElement {
64
68
  super.connectedCallback();
65
69
  this.setupTextContentObserver();
66
70
  connectLabel(this);
67
- this.formEl = findAssociatedForm(this);
68
71
  }
69
72
  async load() {
70
- if (!isServer) {
71
- this.updateHasContent();
72
- }
73
+ this.updateHasContent();
73
74
  }
74
75
  loaded() {
75
76
  this.setTooltipText();
@@ -79,7 +80,6 @@ class Button extends LitElement {
79
80
  this.mutationObserver?.disconnect();
80
81
  disconnectLabel(this);
81
82
  this.resizeObserver?.disconnect();
82
- this.formEl = null;
83
83
  }
84
84
  handleGlobalAttributesChanged() {
85
85
  this.requestUpdate();
@@ -91,20 +91,8 @@ class Button extends LitElement {
91
91
  this.mutationObserver?.observe(this.el, { childList: true, subtree: true });
92
92
  }
93
93
  onLabelClick() {
94
- this.handleClick();
95
94
  this.setFocus();
96
95
  }
97
- handleClick() {
98
- const { type } = this;
99
- if (this.href) {
100
- return;
101
- }
102
- if (type === "submit") {
103
- submitForm(this);
104
- } else if (type === "reset") {
105
- resetForm(this);
106
- }
107
- }
108
96
  setTooltipText() {
109
97
  const { contentRef: { value: contentEl } } = this;
110
98
  if (contentEl) {
@@ -129,7 +117,7 @@ class Button extends LitElement {
129
117
  [CSS.contentSlotted]: this.hasContent,
130
118
  [CSS.iconStartEmpty]: !this.iconStart,
131
119
  [CSS.iconEndEmpty]: !this.iconEnd
132
- })} .disabled=${childElType === "button" ? this.disabled : null} download=${(childElType === "a" ? this.download === true || this.download === "" ? "" : this.download || null : null) ?? nothing} href=${(childElType === "a" && this.href) ?? nothing} name=${(childElType === "button" && this.name) ?? nothing} @click=${this.handleClick} rel=${(childElType === "a" && this.rel) ?? nothing} tabindex=${(this.disabled ? -1 : null) ?? nothing} target=${(childElType === "a" && this.target) ?? nothing} title=${this.tooltipText ?? nothing} type=${(childElType === "button" ? this.type : null) ?? nothing} ${ref(this.setChildEl)}>${loaderNode}${this.iconStart ? iconStartEl : null}${this.hasContent ? contentEl : null}${this.iconEnd ? iconEndEl : null}</${DynamicHtmlTag}>` });
120
+ })} .disabled=${childElType === "button" ? this.disabled : null} download=${(childElType === "a" ? this.download === true || this.download === "" ? "" : this.download || null : null) ?? nothing} href=${(childElType === "a" && this.href) ?? nothing} name=${(childElType === "button" && this.name) ?? nothing} rel=${(childElType === "a" && this.rel) ?? nothing} tabindex=${(this.disabled ? -1 : null) ?? nothing} target=${(childElType === "a" && this.target) ?? nothing} title=${this.tooltipText ?? nothing} type=${(childElType === "button" ? this.type : null) ?? nothing} ${ref(this.setChildEl)}>${loaderNode}${this.iconStart ? iconStartEl : null}${this.hasContent ? contentEl : null}${this.iconEnd ? iconEndEl : null}</${DynamicHtmlTag}>` });
133
121
  }
134
122
  }
135
123
  customElement("calcite-button", Button);
@@ -9,11 +9,11 @@ import type { LogicalFlowPosition } from "../interfaces.js";
9
9
  * @cssproperty [--calcite-card-corner-radius] - Specifies the component's corner radius.
10
10
  * @cssproperty [--calcite-card-selection-background-color-hover] - Specifies the component's selection element background color when hovered.
11
11
  * @cssproperty [--calcite-card-selection-background-color-press] - Specifies the component's selection element background color when active.
12
- * @cssproperty [--calcite-card-selection-background-color] - [Deprecated] Use `--calcite-card-background-color`. Specifies the component's selection element background color.
12
+ * @cssproperty [--calcite-card-selection-background-color] - [Deprecated] in v2.13.0, removal target v6.0.0 - Use `--calcite-card-background-color` instead. Specifies the component's selection element background color.
13
13
  * @cssproperty [--calcite-card-selection-color-hover] - Specifies the component's selection element color when hovered or focused.
14
14
  * @cssproperty [--calcite-card-selection-color] - Specifies the component's selection element color.
15
- * @cssproperty [--calcite-card-selection-icon-color-hover] - [Deprecated] Use `--calcite-card-selection-color-hover`. Specifies the component's selection element icon color when hovered.
16
- * @cssproperty [--calcite-card-selection-icon-color-selected] - [Deprecated] Use `--calcite-card-accent-color-selected`. Specifies the component's selection element icon color when `selected`.
15
+ * @cssproperty [--calcite-card-selection-icon-color-hover] - [Deprecated] in v2.13.0, removal target v6.0.0 - Use `--calcite-card-selection-color-hover` instead. Specifies the component's selection element icon color when hovered.
16
+ * @cssproperty [--calcite-card-selection-icon-color-selected] - [Deprecated] in v2.13.0, removal target v6.0.0 - Use `--calcite-card-accent-color-selected` instead. Specifies the component's selection element icon color when `selected`.
17
17
  * @cssproperty [--calcite-card-shadow] - Specifies the component's shadow.
18
18
  * @slot - A slot for adding content.
19
19
  * @slot [thumbnail] - A slot for adding a thumbnail.
@@ -65,7 +65,7 @@ export abstract class Card extends LitElement {
65
65
  * Sets focus on the component.
66
66
  *
67
67
  * @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
68
- * @mdn [focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
68
+ * @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
69
69
  */
70
70
  setFocus(options?: FocusOptions): Promise<void>;
71
71
  /** Fires when the deprecated `selectable` is true, or `selectionMode` set on parent `calcite-card-group` is not `none` and the component is selected. */
@@ -4,7 +4,7 @@ import type { SelectionMode } from "../interfaces.js";
4
4
  import type { Card } from "../calcite-card/customElement.js";
5
5
 
6
6
  /**
7
- * @cssproperty [--calcite-card-group-gap] - [Deprecated] Use `--calcite-card-group-space`. Specifies the gap between slotted elements.
7
+ * @cssproperty [--calcite-card-group-gap] - [Deprecated] in v2.13.0, removal target v6.0.0 - Use `--calcite-card-group-space` instead. Specifies the gap between slotted elements.
8
8
  * @cssproperty [--calcite-card-group-space] - Specifies the space between slotted elements.
9
9
  * @slot - A slot for adding one or more `calcite-card`s.
10
10
  */
@@ -33,7 +33,7 @@ export abstract class CardGroup extends LitElement {
33
33
  * Sets focus on the component's first focusable element.
34
34
  *
35
35
  * @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
36
- * @mdn [focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
36
+ * @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
37
37
  */
38
38
  setFocus(options?: FocusOptions): Promise<void>;
39
39
  /** Fires when the component's selection changes and the `selectionMode` is not `none`. */
@@ -78,7 +78,7 @@ export abstract class Carousel extends LitElement {
78
78
  * Sets focus on the component.
79
79
  *
80
80
  * @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
81
- * @mdn [focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
81
+ * @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
82
82
  */
83
83
  setFocus(options?: FocusOptions): Promise<void>;
84
84
  /** Stops the carousel. If `autoplay` is not enabled (initialized either to `true` or `"paused"`), these methods will have no effect. */
@@ -4,7 +4,8 @@ import { repeat } from "lit/directives/repeat.js";
4
4
  import { css, nothing, html } from "lit";
5
5
  import { LitElement, createEvent, safeClassMap } from "@arcgis/lumina";
6
6
  import { createRef, ref } from "lit/directives/ref.js";
7
- import { w as whenAnimationDone, b as slotChangeGetAssignedElements, f as focusElementInGroup, g as getElementDir } from "../../chunks/dom.js";
7
+ import { useDirection } from "@arcgis/lumina/controllers";
8
+ import { w as whenAnimationDone, a as slotChangeGetAssignedElements, f as focusElementInGroup } from "../../chunks/dom.js";
8
9
  import { g as guid } from "../../chunks/guid.js";
9
10
  import { c as createObserver } from "../../chunks/observers.js";
10
11
  import { b as breakpoints } from "../../chunks/responsive.js";
@@ -63,6 +64,7 @@ class Carousel extends LitElement {
63
64
  };
64
65
  this.containerRef = createRef();
65
66
  this.containerId = IDS.host(guid());
67
+ this.direction = useDirection();
66
68
  this.itemContainerRef = createRef();
67
69
  this.resizeHandler = ({ contentRect: { width } }) => {
68
70
  this.setMaxItemsToBreakpoint(width);
@@ -77,7 +79,7 @@ class Carousel extends LitElement {
77
79
  if (notSuspended) {
78
80
  if (time <= 0.01) {
79
81
  time = 1;
80
- this.direction = "forward";
82
+ this.itemDirection = "forward";
81
83
  this.nextItem(false);
82
84
  } else {
83
85
  time = time - 0.01;
@@ -90,7 +92,7 @@ class Carousel extends LitElement {
90
92
  this.messages = useT9n();
91
93
  this.focusSetter = useSetFocus()(this);
92
94
  this.interactiveContainer = useInteractive(this);
93
- this.direction = "standby";
95
+ this.itemDirection = "standby";
94
96
  this.hasMultiple = false;
95
97
  this.items = [];
96
98
  this.maxItems = centerItemsByBreakpoint.xxsmall;
@@ -113,7 +115,7 @@ class Carousel extends LitElement {
113
115
  this.calciteCarouselStop = createEvent({ cancelable: false });
114
116
  }
115
117
  static {
116
- this.properties = { direction: [16, {}, { state: true }], hasMultiple: [16, {}, { state: true }], items: [16, {}, { state: true }], maxItems: [16, {}, { state: true }], playing: [16, {}, { state: true }], selectedIndex: [16, {}, { state: true }], slideDurationRemaining: [16, {}, { state: true }], suspendedDueToFocus: [16, {}, { state: true }], suspendedDueToHover: [16, {}, { state: true }], suspendedSlideDurationRemaining: [16, {}, { state: true }], userPreventsSuspend: [16, {}, { state: true }], arrowType: [3, {}, { reflect: true }], autoplay: [3, {}, { reflect: true }], autoplayDuration: [11, {}, { type: Number, reflect: true }], controlOverlay: [7, {}, { reflect: true, type: Boolean }], disabled: [7, {}, { reflect: true, type: Boolean }], label: 1, messageOverrides: [0, {}, { attribute: false }], paginationDisabled: [5, {}, { type: Boolean }], paused: [5, {}, { type: Boolean }], selectedItem: [0, {}, { attribute: false }] };
118
+ this.properties = { itemDirection: [16, {}, { state: true }], hasMultiple: [16, {}, { state: true }], items: [16, {}, { state: true }], maxItems: [16, {}, { state: true }], playing: [16, {}, { state: true }], selectedIndex: [16, {}, { state: true }], slideDurationRemaining: [16, {}, { state: true }], suspendedDueToFocus: [16, {}, { state: true }], suspendedDueToHover: [16, {}, { state: true }], suspendedSlideDurationRemaining: [16, {}, { state: true }], userPreventsSuspend: [16, {}, { state: true }], arrowType: [3, {}, { reflect: true }], autoplay: [3, {}, { reflect: true }], autoplayDuration: [11, {}, { type: Number, reflect: true }], controlOverlay: [7, {}, { reflect: true, type: Boolean }], disabled: [7, {}, { reflect: true, type: Boolean }], label: 1, messageOverrides: [0, {}, { attribute: false }], paginationDisabled: [5, {}, { type: Boolean }], paused: [5, {}, { type: Boolean }], selectedItem: [0, {}, { attribute: false }] };
117
119
  }
118
120
  static {
119
121
  this.styles = styles;
@@ -151,8 +153,8 @@ class Carousel extends LitElement {
151
153
  if (changes.has("autoplay") && this.hasUpdated) {
152
154
  this.autoplayWatcher(this.autoplay);
153
155
  }
154
- if (changes.has("direction") && (this.hasUpdated || this.direction !== "standby")) {
155
- this.directionWatcher(this.direction);
156
+ if (changes.has("itemDirection") && (this.hasUpdated || this.itemDirection !== "standby")) {
157
+ this.itemDirectionWatcher(this.itemDirection);
156
158
  }
157
159
  if (changes.has("playing") && (this.hasUpdated || this.playing !== false)) {
158
160
  this.paused = !this.playing;
@@ -171,12 +173,12 @@ class Carousel extends LitElement {
171
173
  this.handlePause(false);
172
174
  }
173
175
  }
174
- async directionWatcher(direction) {
175
- if (direction === "standby" || !this.itemContainerRef.value) {
176
+ async itemDirectionWatcher(itemDirection) {
177
+ if (itemDirection === "standby" || !this.itemContainerRef.value) {
176
178
  return;
177
179
  }
178
- await whenAnimationDone(this.itemContainerRef.value, direction === "forward" ? "item-forward" : "item-backward");
179
- this.direction = "standby";
180
+ await whenAnimationDone(this.itemContainerRef.value, itemDirection === "forward" ? "item-forward" : "item-backward");
181
+ this.itemDirection = "standby";
180
182
  }
181
183
  suspendWatcher() {
182
184
  if (!this.suspendedDueToFocus && !this.suspendedDueToHover) {
@@ -271,15 +273,15 @@ class Carousel extends LitElement {
271
273
  }
272
274
  }
273
275
  handleArrowClick(event) {
274
- const direction = event.target.dataset.direction;
276
+ const direction = event.target.dataset.itemDirection;
275
277
  if (this.playing) {
276
278
  this.handlePause(true);
277
279
  }
278
280
  if (direction === "next") {
279
- this.direction = "forward";
281
+ this.itemDirection = "forward";
280
282
  this.nextItem(true);
281
283
  } else if (direction === "previous") {
282
- this.direction = "backward";
284
+ this.itemDirection = "backward";
283
285
  this.previousItem();
284
286
  }
285
287
  }
@@ -292,7 +294,7 @@ class Carousel extends LitElement {
292
294
  if (this.playing) {
293
295
  this.handlePause(true);
294
296
  }
295
- this.direction = requestedPosition > this.selectedIndex ? "forward" : "backward";
297
+ this.itemDirection = requestedPosition > this.selectedIndex ? "forward" : "backward";
296
298
  this.setSelectedItem(requestedPosition, true);
297
299
  }
298
300
  toggleRotation() {
@@ -361,7 +363,7 @@ class Carousel extends LitElement {
361
363
  if (!this.hasMultiple) {
362
364
  return;
363
365
  }
364
- this.direction = "forward";
366
+ this.itemDirection = "forward";
365
367
  this.nextItem(true);
366
368
  break;
367
369
  case "ArrowLeft":
@@ -369,7 +371,7 @@ class Carousel extends LitElement {
369
371
  if (!this.hasMultiple) {
370
372
  return;
371
373
  }
372
- this.direction = "backward";
374
+ this.itemDirection = "backward";
373
375
  this.previousItem();
374
376
  break;
375
377
  case "Home":
@@ -377,7 +379,7 @@ class Carousel extends LitElement {
377
379
  if (this.selectedIndex === 0) {
378
380
  return;
379
381
  }
380
- this.direction = "backward";
382
+ this.itemDirection = "backward";
381
383
  this.setSelectedItem(0, true);
382
384
  break;
383
385
  case "End":
@@ -385,7 +387,7 @@ class Carousel extends LitElement {
385
387
  if (this.selectedIndex === lastItem) {
386
388
  return;
387
389
  }
388
- this.direction = "forward";
390
+ this.itemDirection = "forward";
389
391
  this.setSelectedItem(lastItem, true);
390
392
  break;
391
393
  }
@@ -462,25 +464,25 @@ class Carousel extends LitElement {
462
464
  };
463
465
  return html`<div aria-live=off class=${safeClassMap(CSS.paginationAriaLive)} role=status>${messages.paginationStatus.replace("{current}", numberStringFormatter.localize(`${selectedIndex + 1}`)).replace("{total}", numberStringFormatter.localize(`${items.length}`))}</div>`;
464
466
  }
465
- renderArrow(direction) {
466
- const isPrev = direction === "previous";
467
- const dir = getElementDir(this.el);
467
+ renderArrow(itemDirection) {
468
+ const isPrev = itemDirection === "previous";
469
+ const dir = this.direction;
468
470
  const scale = this.arrowType === "edge" ? "m" : "s";
469
471
  const css2 = isPrev ? CSS.pagePrevious : CSS.pageNext;
470
472
  const title = isPrev ? this.messages.previous : this.messages.next;
471
473
  const icon = isPrev ? ICONS.chevronLeft : ICONS.chevronRight;
472
- return html`<button aria-controls=${this.containerId ?? nothing} class=${safeClassMap({ [CSS.paginationItem]: true, [css2]: true })} data-direction=${direction ?? nothing} @click=${this.handleArrowClick} title=${title ?? nothing}><calcite-icon .flipRtl=${dir === "rtl"} .icon=${icon} .scale=${scale}></calcite-icon></button>`;
474
+ return html`<button aria-controls=${this.containerId ?? nothing} class=${safeClassMap({ [CSS.paginationItem]: true, [css2]: true })} data-item-direction=${itemDirection ?? nothing} @click=${this.handleArrowClick} title=${title ?? nothing}><calcite-icon .flipRtl=${dir === "rtl"} .icon=${icon} .scale=${scale}></calcite-icon></button>`;
473
475
  }
474
476
  render() {
475
- const { direction } = this;
477
+ const { itemDirection } = this;
476
478
  return this.interactiveContainer({ disabled: this.disabled, children: html`<div .ariaLabel=${this.label} .ariaLive=${this.playing ? "off" : "polite"} .ariaRoleDescription=${this.messages.carousel} class=${safeClassMap({
477
479
  [CSS.container]: true,
478
480
  [CSS.containerOverlaid]: this.controlOverlay,
479
481
  [CSS.containerEdged]: this.arrowType === "edge"
480
482
  })} @focusin=${this.handleFocusIn} @focusout=${this.handleFocusOut} @keydown=${this.containerKeyDownHandler} @mouseenter=${this.handleMouseIn} @mouseleave=${this.handleMouseOut} role=group tabindex=0 ${ref(this.containerRef)}><section class=${safeClassMap({
481
483
  [CSS.itemContainer]: true,
482
- [CSS.itemContainerForward]: direction === "forward",
483
- [CSS.itemContainerBackward]: direction === "backward"
484
+ [CSS.itemContainerForward]: itemDirection === "forward",
485
+ [CSS.itemContainerBackward]: itemDirection === "backward"
484
486
  })} id=${this.containerId ?? nothing} ${ref(this.itemContainerRef)}><slot @slotchange=${this.handleSlotChange}></slot></section>${this.renderPaginationArea()}${this.arrowType === "edge" && this.hasMultiple && this.renderArrow("previous") || ""}${this.arrowType === "edge" && this.hasMultiple && this.renderArrow("next") || ""}</div>` });
485
487
  }
486
488
  }
@@ -1,6 +1,5 @@
1
1
  /// <reference path="../../index.d.ts" />
2
2
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
3
- import type { MutableValidityState } from "../../utils/form.js";
4
3
  import type { Scale, Status } from "../interfaces.js";
5
4
 
6
5
  /**
@@ -35,7 +34,7 @@ export abstract class Checkbox extends LitElement {
35
34
  * The state is visual only, and can look different across browsers.
36
35
  *
37
36
  * @default false
38
- * @mdn [indeterminate](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#indeterminate_state_checkboxes)
37
+ * @see [MDN - indeterminate](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#indeterminate_state_checkboxes)
39
38
  */
40
39
  accessor indeterminate: boolean;
41
40
  /** Specifies an accessible label for the component. */
@@ -68,16 +67,16 @@ export abstract class Checkbox extends LitElement {
68
67
  /**
69
68
  * The component's current validation state.
70
69
  *
71
- * @mdn [ValidityState](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState)
70
+ * @see [MDN - ValidityState](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState)
72
71
  */
73
- get validity(): MutableValidityState;
72
+ get validity(): ValidityState;
74
73
  /** The component's value. */
75
74
  accessor value: any;
76
75
  /**
77
76
  * Sets focus on the component.
78
77
  *
79
78
  * @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
80
- * @mdn [focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
79
+ * @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
81
80
  */
82
81
  setFocus(options?: FocusOptions): Promise<void>;
83
82
  /** Fires when the component's `checked` status changes. */
@@ -3,14 +3,14 @@ import { C as CSS_UTILITY, c as customElement } from "../../chunks/runtime.js";
3
3
  import { css, svg, html } from "lit";
4
4
  import { createRef, ref } from "lit/directives/ref.js";
5
5
  import { LitElement, createEvent, safeClassMap, nothing } from "@arcgis/lumina";
6
- import { g as getElementDir } from "../../chunks/dom.js";
7
- import { c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from "../../chunks/form.js";
6
+ import { useDirection } from "@arcgis/lumina/controllers";
8
7
  import { i as isActivationKey } from "../../chunks/key.js";
9
8
  import { c as connectLabel, d as disconnectLabel, g as getLabelText } from "../../chunks/label.js";
10
9
  import { I as InternalLabel } from "../../chunks/InternalLabel.js";
11
10
  import { u as useT9n } from "../../chunks/useT9n.js";
12
11
  import { u as useSetFocus } from "../../chunks/useSetFocus.js";
13
12
  import { u as useInteractive } from "../../chunks/useInteractive.js";
13
+ import { u as useForm } from "../../chunks/useForm.js";
14
14
  const CSS = {
15
15
  toggle: "toggle",
16
16
  check: "check-svg"
@@ -20,6 +20,8 @@ class Checkbox extends LitElement {
20
20
  constructor() {
21
21
  super();
22
22
  this.checkedPath = "M5.5 12L2 8.689l.637-.636L5.5 10.727l8.022-7.87.637.637z";
23
+ this.direction = useDirection();
24
+ this.formSupport = useForm({ inputType: "checkbox" })(this);
23
25
  this.indeterminatePath = "M13 8v1H3V8z";
24
26
  this.onLabelClick = () => {
25
27
  this.toggle();
@@ -35,19 +37,6 @@ class Checkbox extends LitElement {
35
37
  this.required = false;
36
38
  this.scale = "m";
37
39
  this.status = "idle";
38
- this.validity = {
39
- valid: false,
40
- badInput: false,
41
- customError: false,
42
- patternMismatch: false,
43
- rangeOverflow: false,
44
- rangeUnderflow: false,
45
- stepMismatch: false,
46
- tooLong: false,
47
- tooShort: false,
48
- typeMismatch: false,
49
- valueMissing: false
50
- };
51
40
  this.calciteCheckboxChange = createEvent({ cancelable: false });
52
41
  this.calciteInternalCheckboxBlur = createEvent({ cancelable: false });
53
42
  this.calciteInternalCheckboxFocus = createEvent({ cancelable: false });
@@ -55,7 +44,10 @@ class Checkbox extends LitElement {
55
44
  this.listen("keydown", this.keyDownHandler);
56
45
  }
57
46
  static {
58
- this.properties = { checked: [7, {}, { reflect: true, type: Boolean }], disabled: [7, {}, { reflect: true, type: Boolean }], form: [3, {}, { reflect: true }], hovered: [7, {}, { reflect: true, type: Boolean }], indeterminate: [7, {}, { reflect: true, type: Boolean }], label: 1, labelText: 1, messageOverrides: [0, {}, { attribute: false }], name: [3, {}, { reflect: true }], required: [7, {}, { reflect: true, type: Boolean }], scale: [3, {}, { reflect: true }], status: [3, {}, { reflect: true }], validity: [0, {}, { attribute: false }], value: 1 };
47
+ this.properties = { checked: [7, {}, { reflect: true, type: Boolean }], disabled: [7, {}, { reflect: true, type: Boolean }], form: [3, {}, { reflect: true }], hovered: [7, {}, { reflect: true, type: Boolean }], indeterminate: [7, {}, { reflect: true, type: Boolean }], label: 1, labelText: 1, messageOverrides: [0, {}, { attribute: false }], name: [3, {}, { reflect: true }], required: [7, {}, { reflect: true, type: Boolean }], scale: [3, {}, { reflect: true }], status: [3, {}, { reflect: true }], validity: [32, {}, { readOnly: true, attribute: false }], value: 1 };
48
+ }
49
+ static {
50
+ this.formAssociated = true;
59
51
  }
60
52
  static {
61
53
  this.styles = styles;
@@ -66,15 +58,10 @@ class Checkbox extends LitElement {
66
58
  connectedCallback() {
67
59
  super.connectedCallback();
68
60
  connectLabel(this);
69
- connectForm(this);
70
61
  }
71
62
  disconnectedCallback() {
72
63
  super.disconnectedCallback();
73
64
  disconnectLabel(this);
74
- disconnectForm(this);
75
- }
76
- syncHiddenFormInput(input) {
77
- input.type = "checkbox";
78
65
  }
79
66
  getPath() {
80
67
  return this.indeterminate ? this.indeterminatePath : this.checked ? this.checkedPath : "";
@@ -103,11 +90,11 @@ class Checkbox extends LitElement {
103
90
  this.calciteInternalCheckboxFocus.emit(true);
104
91
  }
105
92
  render() {
106
- const rtl = getElementDir(this.el) === "rtl";
93
+ const rtl = this.direction === "rtl";
107
94
  return this.interactiveContainer({ disabled: this.disabled, children: html`<div .ariaChecked=${this.checked} .ariaLabel=${getLabelText(this)} .ariaRequired=${this.required} class=${safeClassMap({
108
95
  [CSS.toggle]: true,
109
96
  [CSS_UTILITY.rtl]: rtl
110
- })} @blur=${this.onToggleBlur} @focus=${this.onToggleFocus} role=checkbox tabindex=${(this.disabled ? void 0 : 0) ?? nothing} ${ref(this.toggleRef)}><svg aria-hidden=true class=${safeClassMap(CSS.check)} viewBox="0 0 16 16">${svg`<path d=${this.getPath() ?? nothing} />`}</svg><slot></slot></div>${this.labelText && InternalLabel({ bottomSpacingDisabled: true, labelText: this.labelText, required: this.required, spacingInlineStart: true, tooltipText: this.messages.required }) || ""}${HiddenFormInputSlot({ component: this })}` });
97
+ })} @blur=${this.onToggleBlur} @focus=${this.onToggleFocus} role=checkbox tabindex=${(this.disabled ? void 0 : 0) ?? nothing} ${ref(this.toggleRef)}><svg aria-hidden=true class=${safeClassMap(CSS.check)} viewBox="0 0 16 16">${svg`<path d=${this.getPath() ?? nothing} />`}</svg><slot></slot></div>${this.labelText && InternalLabel({ bottomSpacingDisabled: true, labelText: this.labelText, required: this.required, spacingInlineStart: true, tooltipText: this.messages.required }) || ""}` });
111
98
  }
112
99
  }
113
100
  customElement("calcite-checkbox", Checkbox);
@@ -10,7 +10,7 @@ import type { IconName } from "../calcite-icon/interfaces.js";
10
10
  * @cssproperty [--calcite-chip-corner-radius] - Specifies the component's corner radius.
11
11
  * @cssproperty [--calcite-chip-icon-color] - Specifies the component's icon color.
12
12
  * @cssproperty [--calcite-chip-select-icon-color-press] - Specifies the component's selection element icon color when active.
13
- * @cssproperty [--calcite-chip-select-icon-color-pressed] - [Deprecated] Use `--calcite-chip-select-icon-color-press`. Specifies the component's selection element icon color when active.
13
+ * @cssproperty [--calcite-chip-select-icon-color-pressed] - [Deprecated] in v3.1.0, removal target v6.0.0 - Use `--calcite-chip-select-icon-color-press` instead. Specifies the component's selection element icon color when active.
14
14
  * @cssproperty [--calcite-chip-select-icon-color] - Specifies the component's selection element icon color.
15
15
  * @cssproperty [--calcite-chip-text-color] - Specifies the component's text color.
16
16
  * @slot - A slot for adding text.
@@ -89,7 +89,7 @@ export abstract class Chip extends LitElement {
89
89
  * Sets focus on the component.
90
90
  *
91
91
  * @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
92
- * @mdn [focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
92
+ * @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
93
93
  */
94
94
  setFocus(options?: FocusOptions): Promise<void>;
95
95
  /** Fires when the component's close button is selected. */
@@ -3,7 +3,7 @@ import { c as customElement } from "../../chunks/runtime.js";
3
3
  import { css, isServer, html } from "lit";
4
4
  import { createRef, ref } from "lit/directives/ref.js";
5
5
  import { LitElement, createEvent, safeClassMap } from "@arcgis/lumina";
6
- import { j as focusElement, s as slotChangeHasAssignedElement } from "../../chunks/dom.js";
6
+ import { i as focusElement, s as slotChangeHasAssignedElement } from "../../chunks/dom.js";
7
7
  import { i as isActivationKey } from "../../chunks/key.js";
8
8
  import { g as getIconScale } from "../../chunks/component.js";
9
9
  import { u as useT9n } from "../../chunks/useT9n.js";
@@ -43,7 +43,7 @@ export abstract class ChipGroup extends LitElement {
43
43
  * Sets focus on the component's first focusable element.
44
44
  *
45
45
  * @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
46
- * @mdn [focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
46
+ * @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
47
47
  */
48
48
  setFocus(options?: FocusOptions): Promise<void>;
49
49
  /** Fires when the component's selection changes. */
@@ -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 } 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 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:flex}.container{display:flex;inline-size:100%;flex-wrap:wrap;gap:.5rem}::slotted(calcite-chip){flex:none}:host([scale=s]) .container{gap:.25rem}:host([scale=l]) .container{gap:.75rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`;