@esri/calcite-components 5.2.0-next.87 → 5.2.0-next.88

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 (256) hide show
  1. package/dist/cdn/{LYX2PVBO.js → 2BW2CRM4.js} +1 -1
  2. package/dist/cdn/2OA54OV5.js +2 -0
  3. package/dist/cdn/{WO4YIR3U.js → 2S3QKETS.js} +1 -1
  4. package/dist/cdn/{SP7JFCNJ.js → 2WTB2PQC.js} +1 -1
  5. package/dist/cdn/{YU5XC4MR.js → 37GD5FJU.js} +1 -1
  6. package/dist/cdn/{YPZFT4IE.js → 3AAWUXOI.js} +1 -1
  7. package/dist/cdn/{2GQG7U7C.js → 3GJ5ATBS.js} +1 -1
  8. package/dist/cdn/{UFNGOAJQ.js → 3Q5U5ACF.js} +1 -1
  9. package/dist/cdn/{CJINEN2F.js → 45CZ22T4.js} +1 -1
  10. package/dist/cdn/{6XFJJRVM.js → 4D4YQCVD.js} +1 -1
  11. package/dist/cdn/{UYJY4BI3.js → 4GDRV6KC.js} +1 -1
  12. package/dist/cdn/{DFLZN3GV.js → 4HTOHPIN.js} +1 -1
  13. package/dist/cdn/{D7RPVHG7.js → 4QF37NYL.js} +1 -1
  14. package/dist/cdn/{D57IJD77.js → 4ZOK2ANW.js} +1 -1
  15. package/dist/cdn/{252COOIA.js → 5HZGCBM5.js} +1 -1
  16. package/dist/cdn/{7RPZNSJQ.js → 5KX65DG2.js} +1 -1
  17. package/dist/cdn/{FR2TCZOI.js → 6BTCDIJQ.js} +1 -1
  18. package/dist/cdn/{HLZXNSSM.js → 6IAIFL7S.js} +1 -1
  19. package/dist/cdn/{BEO5MDAJ.js → 7C4ITPIU.js} +1 -1
  20. package/dist/cdn/{3DO6XONU.js → 7KSMSOAN.js} +3 -3
  21. package/dist/cdn/{ETO6NLPI.js → 7M3T3TPQ.js} +1 -1
  22. package/dist/cdn/{IW3M2WVP.js → A57PB5XN.js} +1 -1
  23. package/dist/cdn/{W6KEATGH.js → ABWWXFCW.js} +1 -1
  24. package/dist/cdn/{ZMK465AW.js → B2GQLYH4.js} +1 -1
  25. package/dist/cdn/{ZLRJUXIO.js → BJC53Q2N.js} +1 -1
  26. package/dist/cdn/{QVOR7U7S.js → BKYYU6OZ.js} +1 -1
  27. package/dist/cdn/{4BXM7HRC.js → BU4QBMXL.js} +1 -1
  28. package/dist/cdn/{VW2NPHDP.js → CBP4ZUNC.js} +1 -1
  29. package/dist/cdn/{F3EK5MH2.js → CEJEIB4V.js} +1 -1
  30. package/dist/cdn/{GCDYN4UF.js → CUUAEFQL.js} +1 -1
  31. package/dist/cdn/{MSZZ6AUV.js → DJPEAP6P.js} +1 -1
  32. package/dist/cdn/{3KRRCZM2.js → EBPJ26FZ.js} +1 -1
  33. package/dist/cdn/{XOEHEYXH.js → EGAZA6FR.js} +1 -1
  34. package/dist/cdn/{XTQ7GT6M.js → EL2EBB3G.js} +1 -1
  35. package/dist/cdn/{T353MAH7.js → ELZWGOJ3.js} +1 -1
  36. package/dist/cdn/{MME4SYFJ.js → EP7S2S2U.js} +1 -1
  37. package/dist/cdn/{TGIRT532.js → F3G5MV4M.js} +1 -1
  38. package/dist/cdn/{SNPJ7D2G.js → FCUQ7CBG.js} +1 -1
  39. package/dist/cdn/{72RCHIWX.js → FCZKLBQI.js} +1 -1
  40. package/dist/cdn/{VJFLGFIP.js → FIKYEKEY.js} +1 -1
  41. package/dist/cdn/{3XWFB6SQ.js → FK63HAWB.js} +1 -1
  42. package/dist/cdn/{EI3XE3RW.js → FPJFG726.js} +1 -1
  43. package/dist/cdn/{J2ON6JBP.js → FPUN6WL5.js} +1 -1
  44. package/dist/cdn/{ADZIDL6S.js → G24XNMSR.js} +1 -1
  45. package/dist/cdn/{AWFCHCE2.js → G3OHTVEH.js} +1 -1
  46. package/dist/cdn/{5QGEH2ZE.js → GD5YHHU4.js} +1 -1
  47. package/dist/cdn/{VZVUABC7.js → GPD32EB3.js} +1 -1
  48. package/dist/cdn/{LRZENKUA.js → GSWO4O2X.js} +1 -1
  49. package/dist/cdn/{6ZLRMD27.js → GZLXFZAV.js} +1 -1
  50. package/dist/cdn/{3645VQKZ.js → HDIVC2AK.js} +1 -1
  51. package/dist/cdn/{APNR7FLN.js → HOUN3ANT.js} +1 -1
  52. package/dist/cdn/{YDNKGFXB.js → HVBI2O37.js} +1 -1
  53. package/dist/cdn/{7F5JW6XI.js → I3PUWCC6.js} +1 -1
  54. package/dist/cdn/{KUFAJTJ4.js → IGNZBZRZ.js} +1 -1
  55. package/dist/cdn/{HTXB4R3O.js → ITZPJALD.js} +1 -1
  56. package/dist/cdn/{FIYRBQXH.js → IU67HZG4.js} +1 -1
  57. package/dist/cdn/{LOQF44XL.js → JAEP27ND.js} +1 -1
  58. package/dist/cdn/{4D53A53I.js → JMYUNUOG.js} +1 -1
  59. package/dist/cdn/{OYBCTSNB.js → K72OUV7Q.js} +1 -1
  60. package/dist/cdn/{M43QUBLO.js → KR4SKOQ6.js} +1 -1
  61. package/dist/cdn/{6Z4CMKRB.js → LCJXKCJR.js} +1 -1
  62. package/dist/cdn/{WCY4HV7K.js → LI7W2KN5.js} +1 -1
  63. package/dist/cdn/{25WPUAQ6.js → LWKWSLOL.js} +1 -1
  64. package/dist/cdn/{QKNVMRYD.js → LXL2ZXIE.js} +1 -1
  65. package/dist/cdn/{56RJ6S2D.js → LZ3KOWWS.js} +1 -1
  66. package/dist/cdn/{4XCCOIFK.js → LZT3LLA2.js} +1 -1
  67. package/dist/cdn/{J7PEFKO5.js → M2MQF4UT.js} +1 -1
  68. package/dist/cdn/{GOJITCV7.js → M2NE3JRC.js} +1 -1
  69. package/dist/cdn/{BENKWDGL.js → ML2WJ7I6.js} +1 -1
  70. package/dist/cdn/{3LVRJOWC.js → MUN4CUMW.js} +1 -1
  71. package/dist/cdn/{ZUCYH7GT.js → N6OI5G5M.js} +1 -1
  72. package/dist/cdn/{INGWAWHR.js → NDGLHCGT.js} +1 -1
  73. package/dist/cdn/{VCAQG5PF.js → NSH332VL.js} +1 -1
  74. package/dist/cdn/{AEHLNK4E.js → NTFFVEYS.js} +1 -1
  75. package/dist/cdn/{P4WBM2GV.js → NUDG3S4V.js} +1 -1
  76. package/dist/cdn/{W5YEZ4UA.js → NVIPFFIH.js} +1 -1
  77. package/dist/cdn/{E3QUZM4Y.js → NYZWSM2U.js} +1 -1
  78. package/dist/cdn/{HRK2Y4U2.js → O65HIR7E.js} +1 -1
  79. package/dist/cdn/{BU6CQ5WG.js → OB2W6TSP.js} +1 -1
  80. package/dist/cdn/{PWGN22BW.js → OIXQR6RZ.js} +1 -1
  81. package/dist/cdn/{5PK6MLR3.js → OMUQY556.js} +1 -1
  82. package/dist/cdn/{BKFCUZYW.js → OS4GMCBF.js} +1 -1
  83. package/dist/cdn/{GOQNHOUH.js → P54YUKEE.js} +1 -1
  84. package/dist/cdn/{KFJT2YPH.js → PB6JZXJB.js} +1 -1
  85. package/dist/cdn/{AEIKQVQH.js → PRH7WW7H.js} +1 -1
  86. package/dist/cdn/{WY7D2KFR.js → PRVCMG7Y.js} +1 -1
  87. package/dist/cdn/{K3GUYONM.js → PY7ZJV4Q.js} +1 -1
  88. package/dist/cdn/{NOC4QG5S.js → QCP4LJ7F.js} +1 -1
  89. package/dist/cdn/{ZH64QMM6.js → QWMXCHBQ.js} +1 -1
  90. package/dist/cdn/{U5WQPEJF.js → QXQWFZUK.js} +1 -1
  91. package/dist/cdn/{SGPAMMD2.js → QYNHKKOO.js} +1 -1
  92. package/dist/cdn/{BRKFQRHS.js → RB6KXRO3.js} +1 -1
  93. package/dist/cdn/{3FJIQBGX.js → RC674EFC.js} +1 -1
  94. package/dist/cdn/{4AXX5R3P.js → REDEWBQW.js} +1 -1
  95. package/dist/cdn/{PPQPKSNR.js → RUZ4WNKX.js} +1 -1
  96. package/dist/cdn/{2S7BOFLH.js → S5SMA5FZ.js} +1 -1
  97. package/dist/cdn/{IFV7R5OL.js → SRBZV7HB.js} +1 -1
  98. package/dist/cdn/{CHBHRWMB.js → STMIKUO5.js} +1 -1
  99. package/dist/cdn/{SHFY54TN.js → TADE64S4.js} +1 -1
  100. package/dist/cdn/{RACJFL3V.js → TDKXP2ZZ.js} +1 -1
  101. package/dist/cdn/{GYVJRAVU.js → TEGQ54NY.js} +1 -1
  102. package/dist/cdn/{SK5MOAPI.js → TNCOZIKZ.js} +1 -1
  103. package/dist/cdn/{RMSWXC6O.js → TWLMWXIA.js} +1 -1
  104. package/dist/cdn/{2XLH4MRQ.js → U4KWPTTB.js} +1 -1
  105. package/dist/cdn/{VRYDL5Z7.js → U5WSVLY4.js} +1 -1
  106. package/dist/cdn/{YJ4CPIT5.js → UBSBXRZ6.js} +1 -1
  107. package/dist/cdn/{FEZSX6ND.js → UN3FSESM.js} +1 -1
  108. package/dist/cdn/{67L7W6CI.js → UO5Y7VDE.js} +1 -1
  109. package/dist/cdn/{YKBXSS7D.js → UPXKV2SB.js} +1 -1
  110. package/dist/cdn/{CW2LSYVS.js → USXQOCE2.js} +1 -1
  111. package/dist/cdn/{O7Z4ZY7U.js → UYTOCF66.js} +1 -1
  112. package/dist/cdn/{3P7WOKE4.js → V24KTE2M.js} +1 -1
  113. package/dist/cdn/{BLGG65NV.js → V3TWSAZX.js} +1 -1
  114. package/dist/cdn/{JG7BFGDP.js → V7HFI7J2.js} +1 -1
  115. package/dist/cdn/{VJ6B4D2J.js → VGRHAVQX.js} +1 -1
  116. package/dist/cdn/{WBMDWPSH.js → VGVLLMHG.js} +1 -1
  117. package/dist/cdn/{JUU3TFXT.js → VQ5JTPTB.js} +1 -1
  118. package/dist/cdn/{XGIWKEEB.js → VRSWSA6L.js} +1 -1
  119. package/dist/cdn/{YGOUBZ72.js → VRXUOECR.js} +1 -1
  120. package/dist/cdn/{AI6PUPW4.js → WBQLSNZV.js} +1 -1
  121. package/dist/cdn/{R7T2HW7H.js → WHXP5EFB.js} +1 -1
  122. package/dist/cdn/{Q46U2MOZ.js → WMGCP3RR.js} +1 -1
  123. package/dist/cdn/{ZKZU3J4P.js → WNKI5JYW.js} +1 -1
  124. package/dist/cdn/{ROWZX6Q2.js → X4536J6D.js} +1 -1
  125. package/dist/cdn/{YGVHZJHO.js → X75GJZJ4.js} +1 -1
  126. package/dist/cdn/{IUFUHWRF.js → XB4VJHKJ.js} +1 -1
  127. package/dist/cdn/{BA7QWESV.js → XEU7AJJS.js} +1 -1
  128. package/dist/cdn/{PJGNFGZM.js → XG7HAAJQ.js} +1 -1
  129. package/dist/cdn/{UQA4NM7C.js → XGDKPMQY.js} +1 -1
  130. package/dist/cdn/{Z775ZU7G.js → XID46KE4.js} +1 -1
  131. package/dist/cdn/{UOQDCLGD.js → XMQW43TR.js} +1 -1
  132. package/dist/cdn/{P5CK4AXE.js → Y7F3REWL.js} +1 -1
  133. package/dist/cdn/{DMKG2CHE.js → YDCQGX3T.js} +1 -1
  134. package/dist/cdn/{A6BETFHC.js → YENPOOAM.js} +1 -1
  135. package/dist/cdn/{GYRB7IXS.js → YMK3XEPV.js} +1 -1
  136. package/dist/cdn/{NUVSBIFZ.js → YSHMJKJI.js} +1 -1
  137. package/dist/cdn/{4EGLAP6O.js → ZA5KNLZQ.js} +1 -1
  138. package/dist/cdn/{4K4HUHYE.js → ZJQTJLI2.js} +1 -1
  139. package/dist/cdn/{YJ4WWFPC.js → ZMAMVD6K.js} +1 -1
  140. package/dist/cdn/{JF5T57HX.js → ZONNJRZB.js} +1 -1
  141. package/dist/cdn/{WYCVFSCE.js → ZYBZQKG7.js} +1 -1
  142. package/dist/cdn/{7CCX34HI.js → ZYZTOWBL.js} +1 -1
  143. package/dist/cdn/index.js +1 -1
  144. package/dist/chunks/runtime.js +4 -4
  145. package/dist/components/calcite-accordion/customElement.d.ts +15 -0
  146. package/dist/components/calcite-accordion/customElement.js +3 -3
  147. package/dist/components/calcite-accordion-item/customElement.d.ts +61 -0
  148. package/dist/components/calcite-action/customElement.d.ts +57 -0
  149. package/dist/components/calcite-action-bar/customElement.d.ts +15 -0
  150. package/dist/components/calcite-action-bar/customElement.js +8 -8
  151. package/dist/components/calcite-action-group/customElement.d.ts +13 -0
  152. package/dist/components/calcite-action-group/customElement.js +1 -1
  153. package/dist/components/calcite-action-menu/customElement.d.ts +7 -0
  154. package/dist/components/calcite-action-pad/customElement.d.ts +11 -0
  155. package/dist/components/calcite-alert/customElement.d.ts +15 -0
  156. package/dist/components/calcite-autocomplete/customElement.d.ts +51 -0
  157. package/dist/components/calcite-autocomplete/customElement.js +3 -3
  158. package/dist/components/calcite-autocomplete-item/customElement.d.ts +13 -0
  159. package/dist/components/calcite-autocomplete-item-group/customElement.d.ts +11 -0
  160. package/dist/components/calcite-avatar/customElement.d.ts +11 -0
  161. package/dist/components/calcite-block/customElement.d.ts +75 -0
  162. package/dist/components/calcite-block/customElement.js +1 -1
  163. package/dist/components/calcite-block-section/customElement.d.ts +17 -0
  164. package/dist/components/calcite-button/customElement.d.ts +19 -0
  165. package/dist/components/calcite-card/customElement.d.ts +41 -0
  166. package/dist/components/calcite-card-group/customElement.d.ts +13 -0
  167. package/dist/components/calcite-carousel/customElement.d.ts +27 -0
  168. package/dist/components/calcite-carousel/customElement.js +23 -13
  169. package/dist/components/calcite-checkbox/customElement.d.ts +15 -0
  170. package/dist/components/calcite-chip/customElement.d.ts +27 -0
  171. package/dist/components/calcite-color-picker/customElement.d.ts +39 -0
  172. package/dist/components/calcite-combobox/customElement.d.ts +23 -0
  173. package/dist/components/calcite-combobox-item/customElement.d.ts +29 -0
  174. package/dist/components/calcite-combobox-item-group/customElement.d.ts +9 -0
  175. package/dist/components/calcite-date-picker/customElement.d.ts +55 -0
  176. package/dist/components/calcite-dialog/customElement.d.ts +67 -0
  177. package/dist/components/calcite-dropdown/customElement.d.ts +12 -1
  178. package/dist/components/calcite-dropdown/customElement.js +4 -4
  179. package/dist/components/calcite-dropdown-group/customElement.d.ts +9 -0
  180. package/dist/components/calcite-dropdown-item/customElement.d.ts +21 -0
  181. package/dist/components/calcite-dropdown-item/customElement.js +3 -3
  182. package/dist/components/calcite-fab/customElement.d.ts +17 -0
  183. package/dist/components/calcite-filter/customElement.d.ts +33 -0
  184. package/dist/components/calcite-flow/customElement.d.ts +7 -0
  185. package/dist/components/calcite-flow-item/customElement.d.ts +69 -0
  186. package/dist/components/calcite-graph/customElement.d.ts +7 -0
  187. package/dist/components/calcite-handle/customElement.d.ts +17 -0
  188. package/dist/components/calcite-icon/customElement.d.ts +13 -0
  189. package/dist/components/calcite-inline-editable/customElement.d.ts +59 -0
  190. package/dist/components/calcite-input/customElement.d.ts +59 -0
  191. package/dist/components/calcite-input-date-picker/customElement.d.ts +91 -0
  192. package/dist/components/calcite-input-message/customElement.d.ts +15 -0
  193. package/dist/components/calcite-input-number/customElement.d.ts +61 -0
  194. package/dist/components/calcite-input-text/customElement.d.ts +59 -0
  195. package/dist/components/calcite-input-time-picker/customElement.d.ts +51 -0
  196. package/dist/components/calcite-input-time-zone/customElement.d.ts +7 -0
  197. package/dist/components/calcite-label/customElement.d.ts +9 -0
  198. package/dist/components/calcite-link/customElement.d.ts +7 -0
  199. package/dist/components/calcite-list/customElement.d.ts +7 -0
  200. package/dist/components/calcite-list-item/customElement.d.ts +23 -0
  201. package/dist/components/calcite-list-item-group/customElement.d.ts +9 -0
  202. package/dist/components/calcite-list-item-group/customElement.js +1 -1
  203. package/dist/components/calcite-loader/customElement.d.ts +29 -0
  204. package/dist/components/calcite-menu-item/customElement.d.ts +15 -0
  205. package/dist/components/calcite-meter/customElement.d.ts +19 -0
  206. package/dist/components/calcite-navigation/customElement.d.ts +17 -0
  207. package/dist/components/calcite-navigation-logo/customElement.d.ts +13 -0
  208. package/dist/components/calcite-navigation-user/customElement.d.ts +17 -0
  209. package/dist/components/calcite-notice/customElement.d.ts +39 -0
  210. package/dist/components/calcite-pagination/customElement.d.ts +17 -0
  211. package/dist/components/calcite-panel/customElement.d.ts +63 -0
  212. package/dist/components/calcite-panel/customElement.js +3 -3
  213. package/dist/components/calcite-popover/customElement.d.ts +15 -0
  214. package/dist/components/calcite-progress/customElement.d.ts +11 -0
  215. package/dist/components/calcite-radio-button/customElement.d.ts +13 -0
  216. package/dist/components/calcite-radio-button-group/customElement.d.ts +9 -0
  217. package/dist/components/calcite-rating/customElement.d.ts +19 -0
  218. package/dist/components/calcite-scrim/customElement.d.ts +7 -0
  219. package/dist/components/calcite-segmented-control/customElement.d.ts +9 -0
  220. package/dist/components/calcite-segmented-control-item/customElement.d.ts +13 -0
  221. package/dist/components/calcite-select/customElement.d.ts +21 -0
  222. package/dist/components/calcite-sheet/customElement.d.ts +31 -0
  223. package/dist/components/calcite-shell/customElement.d.ts +11 -0
  224. package/dist/components/calcite-shell-panel/customElement.d.ts +29 -0
  225. package/dist/components/calcite-slider/customElement.d.ts +25 -0
  226. package/dist/components/calcite-split-button/customElement.d.ts +33 -0
  227. package/dist/components/calcite-stack/customElement.d.ts +9 -0
  228. package/dist/components/calcite-stepper/customElement.d.ts +23 -0
  229. package/dist/components/calcite-stepper-item/customElement.d.ts +41 -0
  230. package/dist/components/calcite-stepper-item/customElement.js +1 -1
  231. package/dist/components/calcite-swatch/customElement.d.ts +7 -0
  232. package/dist/components/calcite-swatch-group/customElement.d.ts +7 -0
  233. package/dist/components/calcite-switch/customElement.d.ts +31 -0
  234. package/dist/components/calcite-tab/customElement.d.ts +13 -0
  235. package/dist/components/calcite-tab-nav/customElement.d.ts +11 -0
  236. package/dist/components/calcite-tab-nav/customElement.js +6 -6
  237. package/dist/components/calcite-tab-title/customElement.d.ts +35 -0
  238. package/dist/components/calcite-tab-title/customElement.js +1 -1
  239. package/dist/components/calcite-table/customElement.d.ts +85 -0
  240. package/dist/components/calcite-table/customElement.js +8 -8
  241. package/dist/components/calcite-table-cell/customElement.d.ts +17 -0
  242. package/dist/components/calcite-table-header/customElement.d.ts +19 -0
  243. package/dist/components/calcite-table-row/customElement.d.ts +21 -0
  244. package/dist/components/calcite-tabs/customElement.d.ts +9 -0
  245. package/dist/components/calcite-text-area/customElement.d.ts +33 -0
  246. package/dist/components/calcite-tile/customElement.d.ts +23 -0
  247. package/dist/components/calcite-time-picker/customElement.d.ts +23 -0
  248. package/dist/components/calcite-tooltip/customElement.d.ts +15 -0
  249. package/dist/components/calcite-tree-item/customElement.d.ts +11 -0
  250. package/dist/docs/api.json +1 -1
  251. package/dist/docs/docs.json +1 -1
  252. package/dist/docs/vscode.css-custom-data.json +1 -1
  253. package/dist/docs/vscode.html-custom-data.json +1 -1
  254. package/dist/docs/web-types.json +1 -1
  255. package/package.json +7 -7
  256. package/dist/cdn/Y3INDLM2.js +0 -2
@@ -4,6 +4,13 @@ import type { FlipPlacement, LogicalPlacement, OverlayPositioning } from "../../
4
4
  import type { Appearance, Scale } from "../types.js";
5
5
  import type { Action } from "../calcite-action/customElement.js";
6
6
 
7
+ declare module "@arcgis/lumina" {
8
+ export interface DeclareCssProperties {
9
+ /** Specifies the space between actions in the menu. */
10
+ "--calcite-action-menu-items-space": "*";
11
+ }
12
+ }
13
+
7
14
  /**
8
15
  * @slot - A slot for adding `calcite-action`s.
9
16
  * @slot [trigger] - A slot for adding a `calcite-action` to trigger opening the menu.
@@ -3,6 +3,17 @@ import type { PublicLitElement as LitElement } from "@arcgis/lumina";
3
3
  import type { Layout, Position, Scale, SelectionAppearance } from "../types.js";
4
4
  import type { OverlayPositioning } from "../../utils/floating-ui.js";
5
5
 
6
+ declare module "@arcgis/lumina" {
7
+ export interface DeclareCssProperties {
8
+ /** Specifies the component's border radius. */
9
+ "--calcite-action-pad-corner-radius": "*";
10
+ /** When `expanded` and `layout` is `"vertical"`, specifies the component's maximum width. */
11
+ "--calcite-action-pad-expanded-max-width": "*";
12
+ /** Specifies the component's space between slotted components. */
13
+ "--calcite-action-pad-items-space": "*";
14
+ }
15
+ }
16
+
6
17
  /**
7
18
  * @deprecated in v5.0.0, removal target v6.0.0 - Use the `calcite-action-bar` component instead.
8
19
  * @slot - A slot for adding `calcite-action`s to the component.
@@ -6,6 +6,21 @@ import type { Kind, Scale } from "../types.js";
6
6
  import type { IconName } from "../calcite-icon/types.js";
7
7
  import type { AlertDuration, AlertQueue } from "./types.js";
8
8
 
9
+ declare module "@arcgis/lumina" {
10
+ export interface DeclareCssProperties {
11
+ /** Specifies the component's width. */
12
+ "--calcite-alert-width": "*";
13
+ /** Specifies the component's background color. */
14
+ "--calcite-alert-background-color": "*";
15
+ /** Specifies the component's corner radius. */
16
+ "--calcite-alert-corner-radius": "*";
17
+ /** Specifies the component's shadow. */
18
+ "--calcite-alert-shadow": "*";
19
+ /** Specifies the component's `placement` offset. */
20
+ "--calcite-alert-offset-size": "*";
21
+ }
22
+ }
23
+
9
24
  /**
10
25
  * Alerts are meant to provide a way to communicate urgent or important information to users, frequently as a result of an action they took in your app. Alerts are positioned
11
26
  * at the bottom of the page. Multiple opened alerts will be added to a queue, allowing users to dismiss them in the order they are provided.
@@ -4,6 +4,57 @@ import type { FlipPlacement, MenuPlacement, OverlayPositioning } from "../../uti
4
4
  import type { Alignment, Scale, Status } from "../types.js";
5
5
  import type { IconName } from "../calcite-icon/types.js";
6
6
 
7
+ declare module "@arcgis/lumina" {
8
+ export interface DeclareCssProperties {
9
+ /** Specifies the component's background color. */
10
+ "--calcite-autocomplete-background-color": "*";
11
+ /** Specifies the component's corner radius. */
12
+ "--calcite-autocomplete-corner-radius": "*";
13
+ /** Specifies the component's text color. */
14
+ "--calcite-autocomplete-text-color": "*";
15
+ /** Specifies the maximum height of the component's menu. */
16
+ "--calcite-autocomplete-menu-max-size-y": "*";
17
+ /** Specifies the input's prefix width, when present. */
18
+ "--calcite-autocomplete-input-prefix-size": "*";
19
+ /** Specifies the input's suffix width, when present. */
20
+ "--calcite-autocomplete-input-suffix-size": "*";
21
+ /** Specifies the background color of the component's input. */
22
+ "--calcite-autocomplete-input-background-color": "*";
23
+ /** Specifies the border color of the component's input. */
24
+ "--calcite-autocomplete-input-border-color": "*";
25
+ /** Specifies the corner radius of the component's input. */
26
+ "--calcite-autocomplete-input-corner-radius": "*";
27
+ /** Specifies the shadow of the component's input. */
28
+ "--calcite-autocomplete-input-shadow": "*";
29
+ /** Specifies the icon color of the component's input. */
30
+ "--calcite-autocomplete-input-icon-color": "*";
31
+ /** Specifies the text color of the component's input. */
32
+ "--calcite-autocomplete-input-text-color": "*";
33
+ /** Specifies the placeholder text color of the component's input. */
34
+ "--calcite-autocomplete-input-placeholder-text-color": "*";
35
+ /** Specifies the background color of the input's `clearable` element. */
36
+ "--calcite-autocomplete-input-actions-background-color": "*";
37
+ /** Specifies the background color of the input's `clearable` element when hovered. */
38
+ "--calcite-autocomplete-input-actions-background-color-hover": "*";
39
+ /** Specifies the background color of the input's `clearable` element when pressed. */
40
+ "--calcite-autocomplete-input-actions-background-color-press": "*";
41
+ /** Specifies the icon color of the input's `clearable` element. */
42
+ "--calcite-autocomplete-input-actions-icon-color": "*";
43
+ /** Specifies the icon color of the input's `clearable` element when hovered. */
44
+ "--calcite-autocomplete-input-actions-icon-color-hover": "*";
45
+ /** Specifies the icon color of the input's `clearable` element when pressed. */
46
+ "--calcite-autocomplete-input-actions-icon-color-press": "*";
47
+ /** Specifies the background color of the Input's `loading` element, when present. */
48
+ "--calcite-autocomplete-input-loading-background-color": "*";
49
+ /** Specifies the fill color of the Input's `loading` element, when present. */
50
+ "--calcite-autocomplete-input-loading-fill-color": "*";
51
+ /** Specifies the text color of the Input's prefix, when present. */
52
+ "--calcite-autocomplete-input-prefix-text-color": "*";
53
+ /** Specifies the text color of the Input's suffix, when present. */
54
+ "--calcite-autocomplete-input-suffix-text-color": "*";
55
+ }
56
+ }
57
+
7
58
  /**
8
59
  * @slot - A slot for adding `calcite-autocomplete-item` elements.
9
60
  * @slot [content-bottom] - A slot for adding content below `calcite-autocomplete-item` elements.
@@ -136,13 +136,13 @@ class Autocomplete extends LitElement {
136
136
  async setFocus(options) {
137
137
  return this.focusSetter(() => this.referenceEl, options);
138
138
  }
139
- load() {
140
- this.listenOn(document, "click", this.documentClickHandler);
141
- }
142
139
  connectedCallback() {
143
140
  super.connectedCallback();
144
141
  connectFloatingUI(this);
145
142
  }
143
+ load() {
144
+ this.listenOn(document, "click", this.documentClickHandler);
145
+ }
146
146
  willUpdate(changes) {
147
147
  if (changes.has("disabled") && (this.hasUpdated || this.disabled !== false)) {
148
148
  this.handleDisabledChange(this.disabled);
@@ -3,6 +3,19 @@ import type { PublicLitElement as LitElement } from "@arcgis/lumina";
3
3
  import type { FlipContext } from "../types.js";
4
4
  import type { IconName } from "../calcite-icon/types.js";
5
5
 
6
+ declare module "@arcgis/lumina" {
7
+ export interface DeclareCssProperties {
8
+ /** Specifies the component's background color. */
9
+ "--calcite-autocomplete-background-color": "*";
10
+ /** Specifies the text color of the component's `description`. */
11
+ "--calcite-autocomplete-description-text-color": "*";
12
+ /** Specifies the text color of the component's `heading`. */
13
+ "--calcite-autocomplete-heading-text-color": "*";
14
+ /** Specifies the component's text color. */
15
+ "--calcite-autocomplete-text-color": "*";
16
+ }
17
+ }
18
+
6
19
  /**
7
20
  * @slot [content-end] - A slot for adding non-actionable elements after content of the component.
8
21
  * @slot [content-start] - A slot for adding non-actionable elements before content of the component.
@@ -2,6 +2,17 @@
2
2
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
3
3
  import type { AutocompleteItem } from "../calcite-autocomplete-item/customElement.js";
4
4
 
5
+ declare module "@arcgis/lumina" {
6
+ export interface DeclareCssProperties {
7
+ /** Specifies the component's background color. */
8
+ "--calcite-autocomplete-background-color": "*";
9
+ /** Specifies the component's border color. */
10
+ "--calcite-autocomplete-border-color": "*";
11
+ /** Specifies the component's text color. */
12
+ "--calcite-autocomplete-text-color": "*";
13
+ }
14
+ }
15
+
5
16
  /** @slot - A slot for adding `calcite-autocomplete-item`s. */
6
17
  export abstract class AutocompleteItemGroup extends LitElement {
7
18
  /**
@@ -2,6 +2,17 @@
2
2
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
3
3
  import type { Scale } from "../types.js";
4
4
 
5
+ declare module "@arcgis/lumina" {
6
+ export interface DeclareCssProperties {
7
+ /** Specifies the component's corner radius. */
8
+ "--calcite-avatar-corner-radius": "*";
9
+ /** Specifies the component's icon or initial color. */
10
+ "--calcite-avatar-color": "*";
11
+ /** Specifies the component's background color. */
12
+ "--calcite-avatar-background-color": "*";
13
+ }
14
+ }
15
+
5
16
  export abstract class Avatar extends LitElement {
6
17
  /** Specifies the full name of the user. When `label` and `thumbnail` are not defined, specifies the accessible name for the component. */
7
18
  accessor fullName: string | undefined;
@@ -6,6 +6,81 @@ import type { FlipPlacement, LogicalPlacement, OverlayPositioning } from "../../
6
6
  import type { IconName } from "../calcite-icon/types.js";
7
7
  import type { BlockToggleDisplay } from "./types.js";
8
8
 
9
+ declare module "@arcgis/lumina" {
10
+ export interface DeclareCssProperties {
11
+ /** Specifies the component's border color. */
12
+ "--calcite-block-border-color": "*";
13
+ /** Specifies the space of the component's `default` slot. */
14
+ "--calcite-block-content-space": "*";
15
+ /** Specifies the component's background color. */
16
+ "--calcite-block-background-color": "*";
17
+ /**
18
+ * Specifies the component's `heading` background color.
19
+ *
20
+ * @deprecated in v5.2.0, removal target v7.0.0 - Use `--calcite-block-background-color` instead.
21
+ */
22
+ "--calcite-block-header-background-color": "*";
23
+ /** Specifies the component's `heading` background color when hovered. */
24
+ "--calcite-block-header-background-color-hover": "*";
25
+ /** Specifies the component's `heading` background color when pressed. */
26
+ "--calcite-block-header-background-color-press": "*";
27
+ /** Specifies the component's `heading` text color. */
28
+ "--calcite-block-heading-text-color": "*";
29
+ /**
30
+ * When the component is `expanded`, specifies the `heading` text color.
31
+ *
32
+ * @deprecated in v3.3.0, removal target v6.0.0 - Use `--calcite-block-heading-text-color` instead.
33
+ */
34
+ "--calcite-block-heading-text-color-press": "*";
35
+ /**
36
+ * Specifies the padding of the component's `default` slot.
37
+ *
38
+ * @deprecated in v3.3.0, removal target v6.0.0 - Use `--calcite-block-content-space` instead.
39
+ */
40
+ "--calcite-block-padding": "*";
41
+ /**
42
+ * Specifies the component's text color.
43
+ *
44
+ * @deprecated in v3.3.0, removal target v6.0.0.
45
+ */
46
+ "--calcite-block-text-color": "*";
47
+ /** Specifies the component's `description` text color. */
48
+ "--calcite-block-description-text-color": "*";
49
+ /**
50
+ * Specifies the component's `expandable` icon, `iconStart` and `iconEnd` color.
51
+ *
52
+ * @deprecated in v5.1.0, removal target v7.0.0 - Use `--calcite-block-expandable-icon-color`, `--calcite-block-icon-start-color` and `--calcite-block-icon-end-color` instead.
53
+ */
54
+ "--calcite-block-icon-color": "*";
55
+ /**
56
+ * Specifies the component's `expandable` icon color when hovered.
57
+ *
58
+ * @deprecated in v5.1.0, removal target v7.0.0 - Use `--calcite-block-expandable-icon-color-hover` instead.
59
+ */
60
+ "--calcite-block-icon-color-hover": "*";
61
+ /** Specifies the component's `iconStart` color. */
62
+ "--calcite-block-icon-start-color": "*";
63
+ /** Specifies the component's `iconEnd` color. */
64
+ "--calcite-block-icon-end-color": "*";
65
+ /** Specifies the component's `expandable` icon color. */
66
+ "--calcite-block-expandable-icon-color": "*";
67
+ /** Specifies the component's `expandable` icon color when hovered. */
68
+ "--calcite-block-expandable-icon-color-hover": "*";
69
+ /**
70
+ * Specifies the component's `expandable` or `collapsible` (deprecated) icon color.
71
+ *
72
+ * @deprecated in v5.2.0, removal target v7.0.0 - Use `--calcite-block-expandable-icon-color` instead.
73
+ */
74
+ "--calcite-block-collapsible-icon-color": "*";
75
+ /**
76
+ * Specifies the component's `expandable` or `collapsible` (deprecated) icon color when hovered.
77
+ *
78
+ * @deprecated in v5.2.0, removal target v7.0.0 - Use `--calcite-block-expandable-icon-color-hover` instead.
79
+ */
80
+ "--calcite-block-collapsible-icon-color-hover": "*";
81
+ }
82
+ }
83
+
9
84
  /**
10
85
  * @slot - A slot for adding custom content.
11
86
  * @slot [actions-end] - A slot for adding actionable `calcite-action` elements after the content of the component. It is recommended to use two or fewer actions.
@@ -56,10 +56,10 @@ class Block extends LitElement {
56
56
  this.calciteBlockSortHandleClose = createEvent({ cancelable: false });
57
57
  this.calciteBlockSortHandleOpen = createEvent({ cancelable: false });
58
58
  this.calciteBlockToggle = createEvent({ cancelable: false });
59
- this.calciteInternalBlockUpdateSortMenuItems = createEvent({ cancelable: false });
60
59
  this.calciteInternalBlockChange = createEvent({
61
60
  cancelable: false
62
61
  });
62
+ this.calciteInternalBlockUpdateSortMenuItems = createEvent({ cancelable: false });
63
63
  }
64
64
  static {
65
65
  this.properties = { hasContentEnd: [16, {}, { state: true }], hasContentStart: [16, {}, { state: true }], hasEndActions: [16, {}, { state: true }], hasMenuActions: [16, {}, { state: true }], hasContent: [16, {}, { state: true }], description: 1, disabled: [7, {}, { reflect: true, type: Boolean }], dragDisabled: [7, {}, { reflect: true, type: Boolean }], dragHandle: [7, {}, { reflect: true, type: Boolean }], expanded: [7, {}, { reflect: true, type: Boolean }], expandable: [7, {}, { reflect: true, type: Boolean }], collapsible: [7, {}, { reflect: true, type: Boolean }], heading: 1, headingLevel: [11, {}, { type: Number, reflect: true }], iconEnd: [3, {}, { reflect: true }], iconFlipRtl: [3, {}, { reflect: true }], iconStart: [3, {}, { reflect: true }], loading: [7, {}, { reflect: true, type: Boolean }], label: 1, menuFlipPlacements: [0, {}, { attribute: false }], menuPlacement: [3, {}, { reflect: true }], messageOverrides: [0, {}, { attribute: false }], addToItems: [0, {}, { attribute: false }], moveToItems: [0, {}, { attribute: false }], sortDisabled: [5, {}, { type: Boolean }], open: [7, {}, { reflect: true, type: Boolean }], overlayPositioning: [3, {}, { reflect: true }], scale: [3, {}, { reflect: true }], setPosition: [9, {}, { type: Number }], setSize: [9, {}, { type: Number }], sortHandleOpen: [7, {}, { reflect: true, type: Boolean }], status: [3, {}, { reflect: true }], toggleDisplay: [3, {}, { reflect: true }], topLayerDisabled: [7, {}, { reflect: true, type: Boolean }] };
@@ -4,6 +4,23 @@ import type { FlipContext, Scale, Status } from "../types.js";
4
4
  import type { IconName } from "../calcite-icon/types.js";
5
5
  import type { BlockSectionToggleDisplay } from "./types.js";
6
6
 
7
+ declare module "@arcgis/lumina" {
8
+ export interface DeclareCssProperties {
9
+ /** Specifies the component's background color. */
10
+ "--calcite-block-section-background-color": "*";
11
+ /** Specifies the component's border color. When `expanded`, applies to the component's bottom border. */
12
+ "--calcite-block-section-border-color": "*";
13
+ /** Specifies the component's header text color. */
14
+ "--calcite-block-section-header-text-color": "*";
15
+ /** Specifies the component's text color. */
16
+ "--calcite-block-section-text-color": "*";
17
+ /** Specifies the component's text color on hover. */
18
+ "--calcite-block-section-text-color-hover": "*";
19
+ /** Specifies the padding of the component's content in `default` slot. */
20
+ "--calcite-block-section-content-space": "*";
21
+ }
22
+ }
23
+
7
24
  /**
8
25
  * @deprecated in v5.2.0, removal target v7.0.0 - Use the `calcite-block` component instead.
9
26
  * @slot - A slot for adding custom content.
@@ -4,6 +4,25 @@ import type { Appearance, FlipContext, Kind, Scale, Width } from "../types.js";
4
4
  import type { IconName } from "../calcite-icon/types.js";
5
5
  import type { ButtonAlignment } from "./types.js";
6
6
 
7
+ declare module "@arcgis/lumina" {
8
+ export interface DeclareCssProperties {
9
+ /** Specifies the component's background color. */
10
+ "--calcite-button-background-color": "*";
11
+ /** Specifies the component's border color. */
12
+ "--calcite-button-border-color": "*";
13
+ /** Specifies the component's corner radius. */
14
+ "--calcite-button-corner-radius": "*";
15
+ /** Specifies the component's `iconStart` and `iconEnd` color. */
16
+ "--calcite-button-icon-color": "*";
17
+ /** Specifies the component's loader color. */
18
+ "--calcite-button-loader-color": "*";
19
+ /** Specifies the component's text color. */
20
+ "--calcite-button-text-color": "*";
21
+ /** Specifies the component's shadow. */
22
+ "--calcite-button-shadow": "*";
23
+ }
24
+ }
25
+
7
26
  /**
8
27
  * Passing a 'href' will render an anchor link, instead of a button. Role will be set to link, or button, depending on this.
9
28
  *
@@ -2,6 +2,47 @@
2
2
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
3
3
  import type { LogicalFlowPosition, Scale } from "../types.js";
4
4
 
5
+ declare module "@arcgis/lumina" {
6
+ export interface DeclareCssProperties {
7
+ /** Specifies the component's accent color when `selected`. */
8
+ "--calcite-card-accent-color-selected": "*";
9
+ /** Specifies the component's background color. */
10
+ "--calcite-card-background-color": "*";
11
+ /** Specifies the component's border color. */
12
+ "--calcite-card-border-color": "*";
13
+ /** Specifies the component's corner radius. */
14
+ "--calcite-card-corner-radius": "*";
15
+ /** Specifies the component's selection element background color when hovered. */
16
+ "--calcite-card-selection-background-color-hover": "*";
17
+ /** Specifies the component's selection element background color when active. */
18
+ "--calcite-card-selection-background-color-press": "*";
19
+ /**
20
+ * Specifies the component's selection element background color.
21
+ *
22
+ * @deprecated in v2.13.0, removal target v6.0.0 - Use `--calcite-card-background-color` instead.
23
+ */
24
+ "--calcite-card-selection-background-color": "*";
25
+ /** Specifies the component's selection element color when hovered or focused. */
26
+ "--calcite-card-selection-color-hover": "*";
27
+ /** Specifies the component's selection element color. */
28
+ "--calcite-card-selection-color": "*";
29
+ /**
30
+ * Specifies the component's selection element icon color when hovered.
31
+ *
32
+ * @deprecated in v2.13.0, removal target v6.0.0 - Use `--calcite-card-selection-color-hover` instead.
33
+ */
34
+ "--calcite-card-selection-icon-color-hover": "*";
35
+ /**
36
+ * Specifies the component's selection element icon color when `selected`.
37
+ *
38
+ * @deprecated in v2.13.0, removal target v6.0.0 - Use `--calcite-card-accent-color-selected` instead.
39
+ */
40
+ "--calcite-card-selection-icon-color-selected": "*";
41
+ /** Specifies the component's shadow. */
42
+ "--calcite-card-shadow": "*";
43
+ }
44
+ }
45
+
5
46
  /**
6
47
  * @slot - A slot for adding content.
7
48
  * @slot [thumbnail] - A slot for adding a thumbnail.
@@ -3,6 +3,19 @@ import type { PublicLitElement as LitElement } from "@arcgis/lumina";
3
3
  import type { Scale, SelectionMode } from "../types.js";
4
4
  import type { Card } from "../calcite-card/customElement.js";
5
5
 
6
+ declare module "@arcgis/lumina" {
7
+ export interface DeclareCssProperties {
8
+ /**
9
+ * Specifies the gap between slotted elements.
10
+ *
11
+ * @deprecated in v2.13.0, removal target v6.0.0 - Use `--calcite-card-group-space` instead.
12
+ */
13
+ "--calcite-card-group-gap": "*";
14
+ /** Specifies the space between slotted elements. */
15
+ "--calcite-card-group-space": "*";
16
+ }
17
+ }
18
+
6
19
  /** @slot - A slot for adding one or more `calcite-card`s. */
7
20
  export abstract class CardGroup extends LitElement {
8
21
  /**
@@ -3,6 +3,33 @@ import type { PublicLitElement as LitElement } from "@arcgis/lumina";
3
3
  import type { CarouselItem } from "../calcite-carousel-item/customElement.js";
4
4
  import type { ArrowType, AutoplayType, PaginationPosition } from "./types.js";
5
5
 
6
+ declare module "@arcgis/lumina" {
7
+ export interface DeclareCssProperties {
8
+ /** Specifies the background color of the component's pagination items, navigation arrows, and autoplay controls. */
9
+ "--calcite-carousel-pagination-background-color": "*";
10
+ /** Specifies the background color of the component's pagination items, navigation arrows, and autoplay controls when hovered. */
11
+ "--calcite-carousel-pagination-background-color-hover": "*";
12
+ /** Specifies the background color of the component's pagination items, navigation arrows, and autoplay controls when pressed. */
13
+ "--calcite-carousel-pagination-background-color-press": "*";
14
+ /** Specifies the background color of the component's pagination items, navigation arrows, and autoplay controls when selected. */
15
+ "--calcite-carousel-pagination-background-color-selected": "*";
16
+ /** Specifies the icon color of the component's pagination items and autoplay controls. */
17
+ "--calcite-carousel-pagination-icon-color": "*";
18
+ /** Specifies the icon color of the component's pagination items when hovered or pressed. */
19
+ "--calcite-carousel-pagination-icon-color-hover": "*";
20
+ /** Specifies the icon color of the component's pagination items when selected. */
21
+ "--calcite-carousel-pagination-icon-color-selected": "*";
22
+ /** Specifies the icon color of the component's navigation arrow controls. */
23
+ "--calcite-carousel-control-icon-color": "*";
24
+ /** Specifies the icon color of the component's navigation arrow controls when hovered or pressed. */
25
+ "--calcite-carousel-control-icon-color-hover": "*";
26
+ /** Specifies the background color of the component's autoplay progress when `autoplay` is specified. */
27
+ "--calcite-carousel-autoplay-progress-background-color": "*";
28
+ /** Specifies the fill color of the component's autoplay progress when `autoplay` is specified. */
29
+ "--calcite-carousel-autoplay-progress-fill-color": "*";
30
+ }
31
+ }
32
+
6
33
  /** @slot - A slot for adding `calcite-carousel-item`s. */
7
34
  export abstract class Carousel extends LitElement {
8
35
  /**
@@ -23,6 +23,7 @@ const CSS = {
23
23
  itemContainer: "item-container",
24
24
  itemContainerForward: "item-container--forward",
25
25
  itemContainerBackward: "item-container--backward",
26
+ controlsArea: "controls-area",
26
27
  pagination: "pagination",
27
28
  paginationItems: "pagination-items",
28
29
  paginationItem: "pagination-item",
@@ -54,7 +55,7 @@ const idPrefix = "calcite-carousel-container";
54
55
  const IDS = {
55
56
  host: (id) => `${idPrefix}-${id}`
56
57
  };
57
- 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;inline-size:100%;--calcite-internal-carousel-pagination-space: 1.5rem;--calcite-internal-carousel-pagination-space-wide: 3.5rem;--calcite-internal-carousel-pagination-background-color: var( --calcite-carousel-pagination-background-color, transparent );--calcite-internal-carousel-pagination-background-color-hover: var( --calcite-carousel-pagination-background-color-hover, transparent );--calcite-internal-carousel-pagination-background-color-press: var( --calcite-carousel-pagination-background-color-press, transparent );--calcite-internal-carousel-pagination-background-color-selected: var( --calcite-carousel-pagination-background-color-selected, transparent );--calcite-internal-carousel-pagination-overlay-background-color: var( --calcite-carousel-pagination-background-color, var(--calcite-color-foreground-1) );--calcite-internal-carousel-pagination-overlay-background-color-hover: var( --calcite-carousel-pagination-background-color-hover, var(--calcite-color-foreground-2) );--calcite-internal-carousel-pagination-overlay-background-color-active: var( --calcite-carousel-pagination-background-color-press, var(--calcite-color-foreground-2) );--calcite-internal-carousel-pagination-overlay-background-color-selected: var( --calcite-carousel-pagination-background-color-selected, var(--calcite-color-foreground-1) );--calcite-internal-carousel-pagination-icon-color-hover: var( --calcite-carousel-pagination-icon-color-hover, var(--calcite-color-text-1) );--calcite-internal-carousel-pagination-icon-color: var( --calcite-carousel-pagination-icon-color, var(--calcite-color-border-1) );--calcite-internal-carousel-pagination-icon-color-selected: var( --calcite-carousel-pagination-icon-color-selected, var(--calcite-color-brand) );--calcite-internal-carousel-control-icon-color-hover: var( --calcite-carousel-control-icon-color-hover, var(--calcite-internal-carousel-pagination-icon-color-hover) );--calcite-internal-carousel-control-icon-color: var( --calcite-carousel-control-icon-color, var(--calcite-carousel-pagination-icon-color, var(--calcite-color-text-3)) );--calcite-internal-carousel-autoplay-progress-background-color: var( --calcite-carousel-autoplay-progress-background-color, var(--calcite-color-border-3) );--calcite-internal-carousel-autoplay-progress-fill-color: var( --calcite-carousel-autoplay-progress-fill-color, var(--calcite-color-brand) );--calcite-internal-carousel-autoplay-control-color: var( --calcite-carousel-pagination-icon-color, var(--calcite-color-text-3) )}.container{outline-color:transparent;position:relative;display:flex;flex-direction:column;overflow:hidden;color:var(--calcite-color-text-2);inline-size:100%;font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-base)}.container:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-1 * var(--calcite-space-base) * (1 - 2 * clamp(0,var(--calcite-offset-invert-focus),1)))}.container--edged:not(.container--overlaid){padding-inline:var(--calcite-internal-carousel-pagination-space-wide);inline-size:calc(100% - var(--calcite-internal-carousel-pagination-space-wide) * 2)}.item-container{display:flex;align-items:flex-start;justify-content:center;overflow:auto;flex:1 1 auto;padding:var(--calcite-space-2xs);animation-name:none;animation-duration:var(--calcite-animation-timing)}.container--overlaid .item-container{padding:0}.item-container--forward{animation-name:item-forward}.item-container--backward{animation-name:item-backward}calcite-carousel-item:not([selected]){opacity:0}.pagination{display:flex;flex-direction:row;align-items:center;justify-content:center;margin:var(--calcite-space-md);inline-size:auto}.pagination-items{display:flex;flex-direction:row;align-items:center}.container--overlaid .pagination{position:absolute}.pagination-item.page-next,.pagination-item.page-previous{color:var(--calcite-internal-carousel-control-icon-color);--calcite-icon-color: var(--calcite-internal-carousel-control-icon-color)}.pagination-item.page-next:hover,.pagination-item.page-previous:hover{color:var(--calcite-internal-carousel-control-icon-color-hover);--calcite-icon-color: var(--calcite-internal-carousel-control-icon-color-hover)}.container--edged .page-next,.container--edged .page-previous{block-size:var(--calcite-size-xl);inline-size:var(--calcite-size-xl);position:absolute;inset-block-start:50%;transform:translateY(-50%)}.container--edged .page-next{inset-inline-end:0}.container--edged .page-previous{inset-inline-start:0}.container--overlaid .pagination{inset-block-start:unset;inset-block-end:0;inset-inline:0}:host([pagination-position=top]) .container--overlaid .pagination{inset-block-start:0;inset-block-end:unset}.pagination-item.autoplay-control{position:relative;color:var(--calcite-internal-carousel-autoplay-control-color);--calcite-progress-fill-color: var(--calcite-internal-carousel-autoplay-progress-fill-color);--calcite-progress-background-color: var(--calcite-internal-carousel-autoplay-progress-background-color)}.autoplay-control:focus .autoplay-progress{inset-block-end:4px;inset-inline:2px;inline-size:calc(100% - 4px)}.autoplay-progress{position:absolute;inset-block-end:2px;inset-inline:0;inline-size:100%}.pagination-item{transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;outline-color:transparent;margin:0;block-size:var(--calcite-space-3xl);inline-size:var(--calcite-space-3xl);cursor:pointer;align-items:center;border-style:none;-webkit-appearance:none;display:flex;align-content:center;justify-content:center;background-color:var(--calcite-internal-carousel-pagination-background-color);color:var(--calcite-internal-carousel-pagination-icon-color)}.pagination-item:hover{background-color:var(--calcite-internal-carousel-pagination-background-color-hover);color:var(--calcite-internal-carousel-pagination-icon-color-hover)}.pagination-item:focus{background-color:var(--calcite-internal-carousel-pagination-background-color-press);outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-1 * var(--calcite-space-base) * (1 - 2 * clamp(0,var(--calcite-offset-invert-focus),1)))}.pagination-item:active{background-color:var(--calcite-internal-carousel-pagination-background-color-press);color:var(--calcite-internal-carousel-pagination-icon-color-hover)}.pagination-item calcite-icon{color:inherit;pointer-events:none}.pagination-item.pagination-item--selected{background-color:var(--calcite-internal-carousel-pagination-background-color-selected);color:var(--calcite-internal-carousel-pagination-icon-color-selected)}.pagination-item--individual{inline-size:0;padding:0;opacity:0;pointer-events:none;visibility:hidden;transition:var(--calcite-animation-timing) ease-in-out inline-size,var(--calcite-animation-timing) ease-in-out padding,var(--calcite-animation-timing) ease-in-out opacity}.pagination-item--individual.pagination-item--visible{inline-size:var(--calcite-space-3xl);opacity:1;pointer-events:auto;visibility:visible}.pagination-item--range-edge calcite-icon{scale:.75;transition:var(--calcite-animation-timing) ease-in-out scale}.container--overlaid .pagination-item{background-color:var(--calcite-internal-carousel-pagination-overlay-background-color)}.container--overlaid .pagination-item:hover{background-color:var(--calcite-internal-carousel-pagination-overlay-background-color-hover)}.container--overlaid .pagination-item:focus{background-color:var(--calcite-internal-carousel-pagination-overlay-background-color-active)}.container--overlaid .pagination-item:active{background-color:var(--calcite-internal-carousel-pagination-overlay-background-color-active)}.container--overlaid .pagination-item.pagination-item--selected{background-color:var(--calcite-internal-carousel-pagination-overlay-background-color-selected);color:var(--calcite-internal-carousel-pagination-icon-color-selected)}@keyframes item-forward{0%{transform:translate3d(100px,0,0)}to{transform:translateZ(0)}}@keyframes item-backward{0%{transform:translate3d(-100px,0,0)}to{transform:translateZ(0)}}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`;
58
+ 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;inline-size:100%;--calcite-internal-carousel-pagination-space: 1.5rem;--calcite-internal-carousel-pagination-space-wide: 3.5rem;--calcite-internal-carousel-pagination-background-color: var( --calcite-carousel-pagination-background-color, transparent );--calcite-internal-carousel-pagination-background-color-hover: var( --calcite-carousel-pagination-background-color-hover, transparent );--calcite-internal-carousel-pagination-background-color-press: var( --calcite-carousel-pagination-background-color-press, transparent );--calcite-internal-carousel-pagination-background-color-selected: var( --calcite-carousel-pagination-background-color-selected, transparent );--calcite-internal-carousel-pagination-overlay-background-color: var( --calcite-carousel-pagination-background-color, var(--calcite-color-foreground-1) );--calcite-internal-carousel-pagination-overlay-background-color-hover: var( --calcite-carousel-pagination-background-color-hover, var(--calcite-color-foreground-2) );--calcite-internal-carousel-pagination-overlay-background-color-active: var( --calcite-carousel-pagination-background-color-press, var(--calcite-color-foreground-2) );--calcite-internal-carousel-pagination-overlay-background-color-selected: var( --calcite-carousel-pagination-background-color-selected, var(--calcite-color-foreground-1) );--calcite-internal-carousel-pagination-icon-color-hover: var( --calcite-carousel-pagination-icon-color-hover, var(--calcite-color-text-1) );--calcite-internal-carousel-pagination-icon-color: var( --calcite-carousel-pagination-icon-color, var(--calcite-color-border-1) );--calcite-internal-carousel-pagination-icon-color-selected: var( --calcite-carousel-pagination-icon-color-selected, var(--calcite-color-brand) );--calcite-internal-carousel-control-icon-color-hover: var( --calcite-carousel-control-icon-color-hover, var(--calcite-internal-carousel-pagination-icon-color-hover) );--calcite-internal-carousel-control-icon-color: var( --calcite-carousel-control-icon-color, var(--calcite-carousel-pagination-icon-color, var(--calcite-color-text-3)) );--calcite-internal-carousel-autoplay-progress-background-color: var( --calcite-carousel-autoplay-progress-background-color, var(--calcite-color-border-3) );--calcite-internal-carousel-autoplay-progress-fill-color: var( --calcite-carousel-autoplay-progress-fill-color, var(--calcite-color-brand) );--calcite-internal-carousel-autoplay-control-color: var( --calcite-carousel-pagination-icon-color, var(--calcite-color-text-3) )}.container{outline-color:transparent;position:relative;display:flex;flex-direction:column;overflow:hidden;color:var(--calcite-color-text-2);inline-size:100%;font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-base)}.container:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-1 * var(--calcite-space-base) * (1 - 2 * clamp(0,var(--calcite-offset-invert-focus),1)))}.container--edged:not(.container--overlaid){padding-inline:var(--calcite-internal-carousel-pagination-space-wide);inline-size:calc(100% - var(--calcite-internal-carousel-pagination-space-wide) * 2)}.item-container{display:flex;align-items:flex-start;justify-content:center;overflow:auto;flex:1 1 auto;padding:var(--calcite-space-2xs);animation-name:none;animation-duration:var(--calcite-animation-timing)}.container--overlaid .item-container{padding:0}.item-container--forward{animation-name:item-forward}.item-container--backward{animation-name:item-backward}calcite-carousel-item:not([selected]){opacity:0}.controls-area{display:flex;flex-direction:row;align-items:center;justify-content:center;margin:var(--calcite-space-md);inline-size:auto}.pagination{display:flex;flex-direction:row;align-items:center;justify-content:center}.pagination-items{display:flex;flex-direction:row;align-items:center}.container--overlaid .controls-area{position:absolute}.pagination-item.page-next,.pagination-item.page-previous{color:var(--calcite-internal-carousel-control-icon-color);--calcite-icon-color: var(--calcite-internal-carousel-control-icon-color)}.pagination-item.page-next:hover,.pagination-item.page-previous:hover{color:var(--calcite-internal-carousel-control-icon-color-hover);--calcite-icon-color: var(--calcite-internal-carousel-control-icon-color-hover)}.container--edged .page-next,.container--edged .page-previous{block-size:var(--calcite-size-xl);inline-size:var(--calcite-size-xl);position:absolute;inset-block-start:50%;transform:translateY(-50%)}.container--edged .page-next{inset-inline-end:0}.container--edged .page-previous{inset-inline-start:0}.container--overlaid .controls-area{inset-block-start:unset;inset-block-end:0;inset-inline:0}:host([pagination-position=top]) .container--overlaid .controls-area{inset-block-start:0;inset-block-end:unset}.pagination-item.autoplay-control{position:relative;color:var(--calcite-internal-carousel-autoplay-control-color);--calcite-progress-fill-color: var(--calcite-internal-carousel-autoplay-progress-fill-color);--calcite-progress-background-color: var(--calcite-internal-carousel-autoplay-progress-background-color)}.autoplay-control:focus .autoplay-progress{inset-block-end:4px;inset-inline:2px;inline-size:calc(100% - 4px)}.autoplay-progress{position:absolute;inset-block-end:2px;inset-inline:0;inline-size:100%}.pagination-item{transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;outline-color:transparent;margin:0;block-size:var(--calcite-space-3xl);inline-size:var(--calcite-space-3xl);cursor:pointer;align-items:center;border-style:none;-webkit-appearance:none;display:flex;align-content:center;justify-content:center;background-color:var(--calcite-internal-carousel-pagination-background-color);color:var(--calcite-internal-carousel-pagination-icon-color)}.pagination-item:hover{background-color:var(--calcite-internal-carousel-pagination-background-color-hover);color:var(--calcite-internal-carousel-pagination-icon-color-hover)}.pagination-item:focus{background-color:var(--calcite-internal-carousel-pagination-background-color-press);outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-1 * var(--calcite-space-base) * (1 - 2 * clamp(0,var(--calcite-offset-invert-focus),1)))}.pagination-item:active{background-color:var(--calcite-internal-carousel-pagination-background-color-press);color:var(--calcite-internal-carousel-pagination-icon-color-hover)}.pagination-item calcite-icon{color:inherit;pointer-events:none}.pagination-item.pagination-item--selected{background-color:var(--calcite-internal-carousel-pagination-background-color-selected);color:var(--calcite-internal-carousel-pagination-icon-color-selected)}.pagination-item--individual{inline-size:0;padding:0;opacity:0;pointer-events:none;visibility:hidden;transition:var(--calcite-animation-timing) ease-in-out inline-size,var(--calcite-animation-timing) ease-in-out padding,var(--calcite-animation-timing) ease-in-out opacity}.pagination-item--individual.pagination-item--visible{inline-size:var(--calcite-space-3xl);opacity:1;pointer-events:auto;visibility:visible}.pagination-item--range-edge calcite-icon{scale:.75;transition:var(--calcite-animation-timing) ease-in-out scale}.container--overlaid .pagination-item{background-color:var(--calcite-internal-carousel-pagination-overlay-background-color)}.container--overlaid .pagination-item:hover{background-color:var(--calcite-internal-carousel-pagination-overlay-background-color-hover)}.container--overlaid .pagination-item:focus{background-color:var(--calcite-internal-carousel-pagination-overlay-background-color-active)}.container--overlaid .pagination-item:active{background-color:var(--calcite-internal-carousel-pagination-overlay-background-color-active)}.container--overlaid .pagination-item.pagination-item--selected{background-color:var(--calcite-internal-carousel-pagination-overlay-background-color-selected);color:var(--calcite-internal-carousel-pagination-icon-color-selected)}@keyframes item-forward{0%{transform:translate3d(100px,0,0)}to{transform:translateZ(0)}}@keyframes item-backward{0%{transform:translate3d(-100px,0,0)}to{transform:translateZ(0)}}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`;
58
59
  class Carousel extends LitElement {
59
60
  constructor() {
60
61
  super(...arguments);
@@ -246,9 +247,6 @@ class Carousel extends LitElement {
246
247
  }
247
248
  handleSlotChange(event) {
248
249
  const items = slotChangeGetAssignedElements(event);
249
- if (items.length < 1) {
250
- return;
251
- }
252
250
  const activeItemIndex = items.findIndex((item) => item.selected);
253
251
  const requestedSelectedIndex = activeItemIndex > -1 ? activeItemIndex : 0;
254
252
  this.items = items;
@@ -420,15 +418,19 @@ class Carousel extends LitElement {
420
418
  [CSS.autoplayControl]: true
421
419
  })} @click=${this.toggleRotation} title=${text ?? nothing}><calcite-icon .icon=${this.playing ? ICONS.pause : ICONS.play} scale=s></calcite-icon>${this.playing && html`<calcite-progress class=${safeClassMap(CSS.autoplayProgress)} .label=${this.messages.carouselItemProgress} .value=${formattedValue}></calcite-progress>` || ""}</button>`;
422
420
  }
423
- renderPaginationArea() {
421
+ renderControlsArea() {
422
+ const showRotationControl = (this.playing || this.autoplay === "" || this.autoplay === true || this.autoplay === "paused") && this.hasMultiple;
423
+ const showInlineArrows = this.arrowType === "inline" && this.hasMultiple;
424
+ if (this.paginationDisabled && !showRotationControl && !showInlineArrows) {
425
+ return;
426
+ }
424
427
  return html`<div class=${safeClassMap({
425
- [CSS.pagination]: true,
426
- [CSS.containerOverlaid]: this.controlOverlay
427
- })} @keydown=${this.tabListKeyDownHandler} ${ref(this.tabListRef)}>${(this.playing || this.autoplay === "" || this.autoplay === true || this.autoplay === "paused") && this.hasMultiple && this.renderRotationControl() || ""}${this.arrowType === "inline" && this.hasMultiple && this.renderArrow("previous") || ""}${this.paginationDisabled ? this.renderPaginationAriaLive() : this.renderPaginationItems()}${this.arrowType === "inline" && this.hasMultiple && this.renderArrow("next") || ""}</div>`;
428
+ [CSS.controlsArea]: true
429
+ })}>${showRotationControl && this.renderRotationControl() || ""}${showInlineArrows && this.renderArrow("previous") || ""}${!this.paginationDisabled && html`<div class=${safeClassMap(CSS.pagination)}>${this.renderPaginationItems()}</div>` || ""}${showInlineArrows && this.renderArrow("next") || ""}</div>`;
428
430
  }
429
431
  renderPaginationItems() {
430
432
  const { selectedIndex, maxItems, items, label, handleItemSelection } = this;
431
- return html`<div .ariaLabel=${label} class=${safeClassMap(CSS.paginationItems)} role=tablist>${repeat(items, (item) => item.id, (item, index) => {
433
+ return html`<div .ariaLabel=${label} class=${safeClassMap(CSS.paginationItems)} @keydown=${this.tabListKeyDownHandler} role=tablist ${ref(this.tabListRef)}>${repeat(items, (item) => item.id, (item, index) => {
432
434
  const itemCount = items.length;
433
435
  const match = index === selectedIndex;
434
436
  const first = index === 0;
@@ -474,18 +476,26 @@ class Carousel extends LitElement {
474
476
  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>`;
475
477
  }
476
478
  render() {
477
- const { itemDirection, paginationPosition } = this;
478
- const paginationArea = this.renderPaginationArea();
479
+ const { arrowType, hasMultiple, itemDirection, items, paginationDisabled, paginationPosition } = this;
480
+ const controlsArea = items.length > 0 ? this.renderControlsArea() : void 0;
481
+ const paginationStatus = paginationDisabled && items.length > 0 ? this.renderPaginationAriaLive() : void 0;
479
482
  const itemContainer = html`<section class=${safeClassMap({
480
483
  [CSS.itemContainer]: true,
481
484
  [CSS.itemContainerForward]: itemDirection === "forward",
482
485
  [CSS.itemContainerBackward]: itemDirection === "backward"
483
486
  })} id=${this.containerId ?? nothing} ${ref(this.itemContainerRef)}><slot @slotchange=${this.handleSlotChange}></slot></section>`;
487
+ const content = [itemContainer, controlsArea, paginationStatus];
488
+ if (paginationPosition === "top") {
489
+ content.reverse();
490
+ }
491
+ if (arrowType === "edge" && hasMultiple) {
492
+ content.push(this.renderArrow("previous"), this.renderArrow("next"));
493
+ }
484
494
  return this.interactiveContainer({ disabled: this.disabled, children: html`<div .ariaLabel=${this.label} .ariaLive=${this.playing ? "off" : "polite"} .ariaRoleDescription=${this.messages.carousel} class=${safeClassMap({
485
495
  [CSS.container]: true,
486
496
  [CSS.containerOverlaid]: this.controlOverlay,
487
- [CSS.containerEdged]: this.arrowType === "edge"
488
- })} @focusin=${this.handleFocusIn} @focusout=${this.handleFocusOut} @keydown=${this.containerKeyDownHandler} @mouseenter=${this.handleMouseIn} @mouseleave=${this.handleMouseOut} role=group tabindex=0 ${ref(this.containerRef)}>${paginationPosition === "top" ? paginationArea : itemContainer}${paginationPosition === "top" ? itemContainer : paginationArea}${this.arrowType === "edge" && this.hasMultiple && this.renderArrow("previous") || ""}${this.arrowType === "edge" && this.hasMultiple && this.renderArrow("next") || ""}</div>` });
497
+ [CSS.containerEdged]: arrowType === "edge"
498
+ })} @focusin=${this.handleFocusIn} @focusout=${this.handleFocusOut} @keydown=${this.containerKeyDownHandler} @mouseenter=${this.handleMouseIn} @mouseleave=${this.handleMouseOut} role=group tabindex=0 ${ref(this.containerRef)}>${content}</div>` });
489
499
  }
490
500
  }
491
501
  customElement("calcite-carousel", Carousel);
@@ -2,6 +2,21 @@
2
2
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
3
3
  import type { Scale, Status } from "../types.js";
4
4
 
5
+ declare module "@arcgis/lumina" {
6
+ export interface DeclareCssProperties {
7
+ /** Specifies the component's height and width. */
8
+ "--calcite-checkbox-size": "*";
9
+ /** Specifies the component's color. */
10
+ "--calcite-checkbox-border-color": "*";
11
+ /** Specifies the component's color when hovered. */
12
+ "--calcite-checkbox-border-color-hover": "*";
13
+ /** Specifies the component's color when pressed. */
14
+ "--calcite-checkbox-border-color-press": "*";
15
+ /** Specifies the component's icon color. */
16
+ "--calcite-checkbox-icon-color": "*";
17
+ }
18
+ }
19
+
5
20
  export abstract class Checkbox extends LitElement {
6
21
  /**
7
22
  * When `true`, the component is checked.
@@ -3,6 +3,33 @@ import type { PublicLitElement as LitElement } from "@arcgis/lumina";
3
3
  import type { Appearance, Kind, Scale } from "../types.js";
4
4
  import type { IconName } from "../calcite-icon/types.js";
5
5
 
6
+ declare module "@arcgis/lumina" {
7
+ export interface DeclareCssProperties {
8
+ /** Specifies the component's background color. */
9
+ "--calcite-chip-background-color": "*";
10
+ /** Specifies the component's border color. */
11
+ "--calcite-chip-border-color": "*";
12
+ /** Specifies the component's close element icon color. */
13
+ "--calcite-chip-close-icon-color": "*";
14
+ /** Specifies the component's corner radius. */
15
+ "--calcite-chip-corner-radius": "*";
16
+ /** Specifies the component's icon color. */
17
+ "--calcite-chip-icon-color": "*";
18
+ /** Specifies the component's selection element icon color when active. */
19
+ "--calcite-chip-select-icon-color-press": "*";
20
+ /**
21
+ * Specifies the component's selection element icon color when active.
22
+ *
23
+ * @deprecated in v3.1.0, removal target v6.0.0 - Use `--calcite-chip-select-icon-color-press` instead.
24
+ */
25
+ "--calcite-chip-select-icon-color-pressed": "*";
26
+ /** Specifies the component's selection element icon color. */
27
+ "--calcite-chip-select-icon-color": "*";
28
+ /** Specifies the component's text color. */
29
+ "--calcite-chip-text-color": "*";
30
+ }
31
+ }
32
+
6
33
  /**
7
34
  * @slot - A slot for adding text.
8
35
  * @slot [image] - A slot for adding an image.