@esri/calcite-components 5.2.0-next.87 → 5.2.0-next.89
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.
- package/dist/cdn/{25WPUAQ6.js → 26LFYYFK.js} +1 -1
- package/dist/cdn/{WCY4HV7K.js → 2BNRRQOM.js} +1 -1
- package/dist/cdn/{CW2LSYVS.js → 2JKVTJMF.js} +1 -1
- package/dist/cdn/{2XLH4MRQ.js → 2KKKLKLS.js} +1 -1
- package/dist/cdn/{GYRB7IXS.js → 2WL5RWTS.js} +1 -1
- package/dist/cdn/{GOQNHOUH.js → 2YC6C6DV.js} +1 -1
- package/dist/cdn/{A6BETFHC.js → 32YSNEMV.js} +1 -1
- package/dist/cdn/{NUVSBIFZ.js → 3AQABKUH.js} +1 -1
- package/dist/cdn/{6ZLRMD27.js → 3FIQGT53.js} +1 -1
- package/dist/cdn/{ZMK465AW.js → 3MJUD5DK.js} +1 -1
- package/dist/cdn/{YU5XC4MR.js → 3N4CB3JF.js} +1 -1
- package/dist/cdn/{P4WBM2GV.js → 46RJGA37.js} +1 -1
- package/dist/cdn/{ZKZU3J4P.js → 4A4ELKGI.js} +1 -1
- package/dist/cdn/{IFV7R5OL.js → 4MLD7GED.js} +1 -1
- package/dist/cdn/{UFNGOAJQ.js → 4OJIHGWI.js} +1 -1
- package/dist/cdn/{M43QUBLO.js → 4ONAIXN6.js} +1 -1
- package/dist/cdn/{WO4YIR3U.js → 4SDMPRCV.js} +1 -1
- package/dist/cdn/{CHBHRWMB.js → 4YLLJSV5.js} +1 -1
- package/dist/cdn/{INGWAWHR.js → 4Z52O3ZU.js} +1 -1
- package/dist/cdn/{ROWZX6Q2.js → 5EFYAUXZ.js} +1 -1
- package/dist/cdn/{PJGNFGZM.js → 5JXLGXFB.js} +1 -1
- package/dist/cdn/{5PK6MLR3.js → 5OBZN5DY.js} +1 -1
- package/dist/cdn/{DFLZN3GV.js → 5QPGH3VE.js} +1 -1
- package/dist/cdn/{GOJITCV7.js → 5R66SDIW.js} +1 -1
- package/dist/cdn/{4AXX5R3P.js → 5SUB6LD5.js} +1 -1
- package/dist/cdn/{7CCX34HI.js → 5VIKMMR7.js} +1 -1
- package/dist/cdn/{UOQDCLGD.js → 627DG4WA.js} +1 -1
- package/dist/cdn/{MME4SYFJ.js → 62UX6F4M.js} +1 -1
- package/dist/cdn/{LRZENKUA.js → 6GZMSPRK.js} +1 -1
- package/dist/cdn/{BA7QWESV.js → 6HFE4F5X.js} +1 -1
- package/dist/cdn/{VRYDL5Z7.js → 6NAQTGPW.js} +1 -1
- package/dist/cdn/{6Z4CMKRB.js → 6VDNFDPN.js} +1 -1
- package/dist/cdn/{PPQPKSNR.js → 7DHCRQFB.js} +1 -1
- package/dist/cdn/{TGIRT532.js → 7UDLVZXL.js} +1 -1
- package/dist/cdn/{W5YEZ4UA.js → 7Y4FQ2I7.js} +1 -1
- package/dist/cdn/{VJFLGFIP.js → A2IKBYZS.js} +1 -1
- package/dist/cdn/{JF5T57HX.js → A4DMMTBY.js} +1 -1
- package/dist/cdn/{GYVJRAVU.js → AEWVLZKY.js} +1 -1
- package/dist/cdn/{D57IJD77.js → APMXUV5R.js} +1 -1
- package/dist/cdn/{72RCHIWX.js → AWROROOF.js} +1 -1
- package/dist/cdn/{IUFUHWRF.js → AXJPT3JP.js} +1 -1
- package/dist/cdn/{UYJY4BI3.js → AY76L4BR.js} +1 -1
- package/dist/cdn/{HRK2Y4U2.js → B6QS5FML.js} +1 -1
- package/dist/cdn/{ETO6NLPI.js → BIJZHMJI.js} +1 -1
- package/dist/cdn/{DMKG2CHE.js → BKAUO5NQ.js} +1 -1
- package/dist/cdn/{APNR7FLN.js → BWUSL74F.js} +1 -1
- package/dist/cdn/{GCDYN4UF.js → CFISKSOC.js} +1 -1
- package/dist/cdn/{WYCVFSCE.js → CIEXQXMT.js} +1 -1
- package/dist/cdn/{4D53A53I.js → CQPEF7LH.js} +1 -1
- package/dist/cdn/{3P7WOKE4.js → CWMXA6W6.js} +1 -1
- package/dist/cdn/{LYX2PVBO.js → D237EYZG.js} +1 -1
- package/dist/cdn/{HLZXNSSM.js → D72GZFJ4.js} +1 -1
- package/dist/cdn/{BENKWDGL.js → D7L3SKCG.js} +1 -1
- package/dist/cdn/{HTXB4R3O.js → DJIJWOST.js} +1 -1
- package/dist/cdn/{EI3XE3RW.js → DZWHEL5T.js} +1 -1
- package/dist/cdn/{YGOUBZ72.js → ELLCEQPW.js} +1 -1
- package/dist/cdn/{67L7W6CI.js → EOI7MXE5.js} +1 -1
- package/dist/cdn/{3LVRJOWC.js → G6EK753X.js} +1 -1
- package/dist/cdn/{XGIWKEEB.js → GT4XOEQF.js} +1 -1
- package/dist/cdn/{RACJFL3V.js → H2NKPQR6.js} +1 -1
- package/dist/cdn/{VCAQG5PF.js → HL2P2LHA.js} +1 -1
- package/dist/cdn/{WBMDWPSH.js → HZ2YWVP5.js} +1 -1
- package/dist/cdn/{YDNKGFXB.js → HZ5HCW62.js} +1 -1
- package/dist/cdn/{WY7D2KFR.js → IGNWGFRZ.js} +1 -1
- package/dist/cdn/{P5CK4AXE.js → INBPCXOL.js} +1 -1
- package/dist/cdn/{SHFY54TN.js → IR4MWUWE.js} +1 -1
- package/dist/cdn/{MSZZ6AUV.js → ITZJJT2W.js} +1 -1
- package/dist/cdn/{YJ4WWFPC.js → IUQ7BRH6.js} +1 -1
- package/dist/cdn/{AEHLNK4E.js → J4OWDBDV.js} +1 -1
- package/dist/cdn/{OYBCTSNB.js → JOL7FBJL.js} +1 -1
- package/dist/cdn/{RMSWXC6O.js → K5ZY2HGT.js} +1 -1
- package/dist/cdn/{FEZSX6ND.js → KND6NXX5.js} +1 -1
- package/dist/cdn/{QVOR7U7S.js → KNMGQWQA.js} +1 -1
- package/dist/cdn/{4EGLAP6O.js → KQ57G3ID.js} +1 -1
- package/dist/cdn/{U5WQPEJF.js → KR7QO7LA.js} +1 -1
- package/dist/cdn/{XTQ7GT6M.js → LEREUFUP.js} +1 -1
- package/dist/cdn/{XOEHEYXH.js → LFDRYRW3.js} +1 -1
- package/dist/cdn/{UQA4NM7C.js → LGO3TCAO.js} +1 -1
- package/dist/cdn/{VW2NPHDP.js → MG5KEVZ3.js} +1 -1
- package/dist/cdn/{SK5MOAPI.js → MPU5OGOV.js} +1 -1
- package/dist/cdn/{4BXM7HRC.js → MQJ4SXXG.js} +1 -1
- package/dist/cdn/{J2ON6JBP.js → MR4PDGYT.js} +1 -1
- package/dist/cdn/{FR2TCZOI.js → MXOE5AI6.js} +1 -1
- package/dist/cdn/{AI6PUPW4.js → N4XJ4OSG.js} +1 -1
- package/dist/cdn/{BRKFQRHS.js → ND7N7SZG.js} +1 -1
- package/dist/cdn/{3XWFB6SQ.js → NGZS5LXK.js} +1 -1
- package/dist/cdn/{2S7BOFLH.js → NJB26RSN.js} +1 -1
- package/dist/cdn/{4K4HUHYE.js → NPB47ODT.js} +1 -1
- package/dist/cdn/{6XFJJRVM.js → NPMXOTYG.js} +1 -1
- package/dist/cdn/{3645VQKZ.js → NUNR3S2C.js} +1 -1
- package/dist/cdn/{LOQF44XL.js → NVSQVYCR.js} +1 -1
- package/dist/cdn/{Q46U2MOZ.js → NYD3V53R.js} +1 -1
- package/dist/cdn/{7RPZNSJQ.js → O7G57ZIN.js} +1 -1
- package/dist/cdn/{3FJIQBGX.js → OCC67JRE.js} +1 -1
- package/dist/cdn/{VZVUABC7.js → OQ66BXKY.js} +1 -1
- package/dist/cdn/{56RJ6S2D.js → P3GVFMJT.js} +1 -1
- package/dist/cdn/{7F5JW6XI.js → P54KTU3K.js} +1 -1
- package/dist/cdn/{3DO6XONU.js → PA2BHIBQ.js} +3 -3
- package/dist/cdn/{BKFCUZYW.js → PADKOLRD.js} +1 -1
- package/dist/cdn/{NOC4QG5S.js → PCG3SIHG.js} +1 -1
- package/dist/cdn/{YJ4CPIT5.js → PVH27IB6.js} +1 -1
- package/dist/cdn/{AWFCHCE2.js → PW4CWXX5.js} +1 -1
- package/dist/cdn/{KFJT2YPH.js → Q6A7JJCH.js} +1 -1
- package/dist/cdn/{BU6CQ5WG.js → QEAQHUU5.js} +1 -1
- package/dist/cdn/{252COOIA.js → QM4T6NGO.js} +1 -1
- package/dist/cdn/{5QGEH2ZE.js → QMH5PWW5.js} +1 -1
- package/dist/cdn/{D7RPVHG7.js → QST22GTE.js} +1 -1
- package/dist/cdn/{4XCCOIFK.js → QU5TMZP7.js} +1 -1
- package/dist/cdn/{KUFAJTJ4.js → R2DPIOBF.js} +1 -1
- package/dist/cdn/{SNPJ7D2G.js → R6EW4636.js} +1 -1
- package/dist/cdn/{BEO5MDAJ.js → RB36HJW6.js} +1 -1
- package/dist/cdn/{T353MAH7.js → RKX3C5P4.js} +1 -1
- package/dist/cdn/{JUU3TFXT.js → S2FXQFW4.js} +1 -1
- package/dist/cdn/{O7Z4ZY7U.js → S3KI2KML.js} +1 -1
- package/dist/cdn/{R7T2HW7H.js → S4EGOEXA.js} +1 -1
- package/dist/cdn/{F3EK5MH2.js → S57DUWOX.js} +1 -1
- package/dist/cdn/{IW3M2WVP.js → SAFNBLHT.js} +1 -1
- package/dist/cdn/{ZLRJUXIO.js → SYTHB6CH.js} +1 -1
- package/dist/cdn/{YPZFT4IE.js → TAGX6ZWL.js} +1 -1
- package/dist/cdn/{CJINEN2F.js → TS6MVFYP.js} +1 -1
- package/dist/cdn/{3KRRCZM2.js → TU3E75CG.js} +1 -1
- package/dist/cdn/{BLGG65NV.js → TXVJB5BY.js} +1 -1
- package/dist/cdn/{K3GUYONM.js → UAXAA4KP.js} +1 -1
- package/dist/cdn/{W6KEATGH.js → UONWDKTV.js} +1 -1
- package/dist/cdn/{AEIKQVQH.js → VLX5ZWLQ.js} +1 -1
- package/dist/cdn/{VJ6B4D2J.js → VPEECFEV.js} +1 -1
- package/dist/cdn/{ADZIDL6S.js → VQ4XFBQC.js} +1 -1
- package/dist/cdn/{ZH64QMM6.js → VTD7T3J2.js} +1 -1
- package/dist/cdn/{FIYRBQXH.js → W4WNNUUC.js} +1 -1
- package/dist/cdn/WGHVM5XS.js +2 -0
- package/dist/cdn/{JG7BFGDP.js → X74QVZEV.js} +1 -1
- package/dist/cdn/{YKBXSS7D.js → XLFPFT4D.js} +1 -1
- package/dist/cdn/{SP7JFCNJ.js → XW67LSGZ.js} +1 -1
- package/dist/cdn/{Z775ZU7G.js → YBDSMRAI.js} +1 -1
- package/dist/cdn/{YGVHZJHO.js → YOBETSXI.js} +1 -1
- package/dist/cdn/{PWGN22BW.js → Z6P2B2Q6.js} +1 -1
- package/dist/cdn/{QKNVMRYD.js → ZDDD6PWQ.js} +1 -1
- package/dist/cdn/{E3QUZM4Y.js → ZMQDEPUR.js} +1 -1
- package/dist/cdn/{2GQG7U7C.js → ZNZ6CRNT.js} +1 -1
- package/dist/cdn/{ZUCYH7GT.js → ZP2V3H3Q.js} +1 -1
- package/dist/cdn/{J7PEFKO5.js → ZPFLVRNJ.js} +1 -1
- package/dist/cdn/{SGPAMMD2.js → ZPIWGXU2.js} +1 -1
- package/dist/cdn/assets/icon/blockHeightMedium16.json +1 -0
- package/dist/cdn/assets/icon/blockHeightMedium24.json +1 -0
- package/dist/cdn/assets/icon/blockHeightMedium32.json +1 -0
- package/dist/cdn/assets/icon/blockHeightShort16.json +1 -0
- package/dist/cdn/assets/icon/blockHeightShort24.json +1 -0
- package/dist/cdn/assets/icon/blockHeightShort32.json +1 -0
- package/dist/cdn/assets/icon/blockHeightTall16.json +1 -0
- package/dist/cdn/assets/icon/blockHeightTall24.json +1 -0
- package/dist/cdn/assets/icon/blockHeightTall32.json +1 -0
- package/dist/cdn/assets/icon/cursorCircle16.json +1 -0
- package/dist/cdn/assets/icon/cursorCircle24.json +1 -0
- package/dist/cdn/assets/icon/cursorCircle32.json +1 -0
- package/dist/cdn/assets/icon/dictionary16.json +1 -0
- package/dist/cdn/assets/icon/dictionary24.json +1 -0
- package/dist/cdn/assets/icon/dictionary32.json +1 -0
- package/dist/cdn/assets/icon/jobDependency16.json +1 -0
- package/dist/cdn/assets/icon/jobDependency24.json +1 -0
- package/dist/cdn/assets/icon/jobDependency32.json +1 -0
- package/dist/cdn/assets/icon/referenceChip16.json +1 -0
- package/dist/cdn/assets/icon/referenceChip24.json +1 -0
- package/dist/cdn/assets/icon/referenceChip32.json +1 -0
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/runtime.js +4 -4
- package/dist/components/calcite-accordion/customElement.d.ts +15 -0
- package/dist/components/calcite-accordion/customElement.js +3 -3
- package/dist/components/calcite-accordion-item/customElement.d.ts +61 -0
- package/dist/components/calcite-action/customElement.d.ts +57 -0
- package/dist/components/calcite-action-bar/customElement.d.ts +15 -0
- package/dist/components/calcite-action-bar/customElement.js +8 -8
- package/dist/components/calcite-action-group/customElement.d.ts +13 -0
- package/dist/components/calcite-action-group/customElement.js +1 -1
- package/dist/components/calcite-action-menu/customElement.d.ts +7 -0
- package/dist/components/calcite-action-pad/customElement.d.ts +11 -0
- package/dist/components/calcite-alert/customElement.d.ts +15 -0
- package/dist/components/calcite-autocomplete/customElement.d.ts +51 -0
- package/dist/components/calcite-autocomplete/customElement.js +3 -3
- package/dist/components/calcite-autocomplete-item/customElement.d.ts +13 -0
- package/dist/components/calcite-autocomplete-item-group/customElement.d.ts +11 -0
- package/dist/components/calcite-avatar/customElement.d.ts +11 -0
- package/dist/components/calcite-block/customElement.d.ts +75 -0
- package/dist/components/calcite-block/customElement.js +1 -1
- package/dist/components/calcite-block-section/customElement.d.ts +17 -0
- package/dist/components/calcite-button/customElement.d.ts +19 -0
- package/dist/components/calcite-card/customElement.d.ts +41 -0
- package/dist/components/calcite-card-group/customElement.d.ts +13 -0
- package/dist/components/calcite-carousel/customElement.d.ts +27 -0
- package/dist/components/calcite-carousel/customElement.js +23 -13
- package/dist/components/calcite-checkbox/customElement.d.ts +15 -0
- package/dist/components/calcite-chip/customElement.d.ts +27 -0
- package/dist/components/calcite-color-picker/customElement.d.ts +39 -0
- package/dist/components/calcite-combobox/customElement.d.ts +23 -0
- package/dist/components/calcite-combobox-item/customElement.d.ts +29 -0
- package/dist/components/calcite-combobox-item-group/customElement.d.ts +9 -0
- package/dist/components/calcite-date-picker/customElement.d.ts +55 -0
- package/dist/components/calcite-dialog/customElement.d.ts +67 -0
- package/dist/components/calcite-dropdown/customElement.d.ts +12 -1
- package/dist/components/calcite-dropdown/customElement.js +4 -4
- package/dist/components/calcite-dropdown-group/customElement.d.ts +9 -0
- package/dist/components/calcite-dropdown-item/customElement.d.ts +21 -0
- package/dist/components/calcite-dropdown-item/customElement.js +3 -3
- package/dist/components/calcite-fab/customElement.d.ts +17 -0
- package/dist/components/calcite-filter/customElement.d.ts +33 -0
- package/dist/components/calcite-flow/customElement.d.ts +7 -0
- package/dist/components/calcite-flow-item/customElement.d.ts +69 -0
- package/dist/components/calcite-graph/customElement.d.ts +7 -0
- package/dist/components/calcite-handle/customElement.d.ts +17 -0
- package/dist/components/calcite-icon/customElement.d.ts +13 -0
- package/dist/components/calcite-inline-editable/customElement.d.ts +59 -0
- package/dist/components/calcite-input/customElement.d.ts +59 -0
- package/dist/components/calcite-input-date-picker/customElement.d.ts +91 -0
- package/dist/components/calcite-input-message/customElement.d.ts +15 -0
- package/dist/components/calcite-input-number/customElement.d.ts +61 -0
- package/dist/components/calcite-input-text/customElement.d.ts +59 -0
- package/dist/components/calcite-input-time-picker/customElement.d.ts +51 -0
- package/dist/components/calcite-input-time-zone/customElement.d.ts +7 -0
- package/dist/components/calcite-label/customElement.d.ts +9 -0
- package/dist/components/calcite-link/customElement.d.ts +7 -0
- package/dist/components/calcite-list/customElement.d.ts +7 -0
- package/dist/components/calcite-list-item/customElement.d.ts +23 -0
- package/dist/components/calcite-list-item-group/customElement.d.ts +9 -0
- package/dist/components/calcite-list-item-group/customElement.js +1 -1
- package/dist/components/calcite-loader/customElement.d.ts +29 -0
- package/dist/components/calcite-menu-item/customElement.d.ts +15 -0
- package/dist/components/calcite-meter/customElement.d.ts +19 -0
- package/dist/components/calcite-navigation/customElement.d.ts +17 -0
- package/dist/components/calcite-navigation-logo/customElement.d.ts +13 -0
- package/dist/components/calcite-navigation-user/customElement.d.ts +17 -0
- package/dist/components/calcite-notice/customElement.d.ts +39 -0
- package/dist/components/calcite-pagination/customElement.d.ts +17 -0
- package/dist/components/calcite-panel/customElement.d.ts +63 -0
- package/dist/components/calcite-panel/customElement.js +3 -3
- package/dist/components/calcite-popover/customElement.d.ts +15 -0
- package/dist/components/calcite-progress/customElement.d.ts +11 -0
- package/dist/components/calcite-radio-button/customElement.d.ts +13 -0
- package/dist/components/calcite-radio-button-group/customElement.d.ts +9 -0
- package/dist/components/calcite-rating/customElement.d.ts +19 -0
- package/dist/components/calcite-scrim/customElement.d.ts +7 -0
- package/dist/components/calcite-segmented-control/customElement.d.ts +9 -0
- package/dist/components/calcite-segmented-control-item/customElement.d.ts +13 -0
- package/dist/components/calcite-select/customElement.d.ts +21 -0
- package/dist/components/calcite-sheet/customElement.d.ts +31 -0
- package/dist/components/calcite-shell/customElement.d.ts +11 -0
- package/dist/components/calcite-shell-panel/customElement.d.ts +29 -0
- package/dist/components/calcite-slider/customElement.d.ts +25 -0
- package/dist/components/calcite-split-button/customElement.d.ts +33 -0
- package/dist/components/calcite-stack/customElement.d.ts +9 -0
- package/dist/components/calcite-stepper/customElement.d.ts +23 -0
- package/dist/components/calcite-stepper-item/customElement.d.ts +41 -0
- package/dist/components/calcite-stepper-item/customElement.js +1 -1
- package/dist/components/calcite-swatch/customElement.d.ts +7 -0
- package/dist/components/calcite-swatch-group/customElement.d.ts +7 -0
- package/dist/components/calcite-switch/customElement.d.ts +31 -0
- package/dist/components/calcite-tab/customElement.d.ts +13 -0
- package/dist/components/calcite-tab-nav/customElement.d.ts +11 -0
- package/dist/components/calcite-tab-nav/customElement.js +6 -6
- package/dist/components/calcite-tab-title/customElement.d.ts +35 -0
- package/dist/components/calcite-tab-title/customElement.js +1 -1
- package/dist/components/calcite-table/customElement.d.ts +85 -0
- package/dist/components/calcite-table/customElement.js +8 -8
- package/dist/components/calcite-table-cell/customElement.d.ts +17 -0
- package/dist/components/calcite-table-header/customElement.d.ts +19 -0
- package/dist/components/calcite-table-row/customElement.d.ts +21 -0
- package/dist/components/calcite-tabs/customElement.d.ts +9 -0
- package/dist/components/calcite-text-area/customElement.d.ts +33 -0
- package/dist/components/calcite-tile/customElement.d.ts +23 -0
- package/dist/components/calcite-time-picker/customElement.d.ts +23 -0
- package/dist/components/calcite-tooltip/customElement.d.ts +15 -0
- package/dist/components/calcite-tree-item/customElement.d.ts +11 -0
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.css-custom-data.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/package.json +9 -9
- package/dist/cdn/Y3INDLM2.js +0 -2
|
@@ -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}.
|
|
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
|
-
|
|
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.
|
|
426
|
-
|
|
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
|
|
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]:
|
|
488
|
-
})} @focusin=${this.handleFocusIn} @focusout=${this.handleFocusOut} @keydown=${this.containerKeyDownHandler} @mouseenter=${this.handleMouseIn} @mouseleave=${this.handleMouseOut} role=group tabindex=0 ${ref(this.containerRef)}>${
|
|
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.
|
|
@@ -5,6 +5,45 @@ import type { NumberingSystem } from "../../utils/locale.js";
|
|
|
5
5
|
import type { Format } from "./utils.js";
|
|
6
6
|
import type { ColorValue } from "./types.js";
|
|
7
7
|
|
|
8
|
+
declare module "@arcgis/lumina" {
|
|
9
|
+
export interface DeclareCssProperties {
|
|
10
|
+
/** Specifies the component's background color. */
|
|
11
|
+
"--calcite-color-picker-background-color": "*";
|
|
12
|
+
/** Specifies the component's border color. */
|
|
13
|
+
"--calcite-color-picker-border-color": "*";
|
|
14
|
+
/** Specifies the component's corner radius. */
|
|
15
|
+
"--calcite-color-picker-corner-radius": "*";
|
|
16
|
+
/** Specifies the component's shadow. */
|
|
17
|
+
"--calcite-color-picker-shadow": "*";
|
|
18
|
+
/** Specifies the component's text color. */
|
|
19
|
+
"--calcite-color-picker-text-color": "*";
|
|
20
|
+
/** Specifies the component's input background color. */
|
|
21
|
+
"--calcite-color-picker-input-background-color": "*";
|
|
22
|
+
/** Specifies the component's input border color. */
|
|
23
|
+
"--calcite-color-picker-input-border-color": "*";
|
|
24
|
+
/** Specifies the component's input text color. */
|
|
25
|
+
"--calcite-color-picker-input-text-color": "*";
|
|
26
|
+
/** When `hexDisabled` is not `true`, specifies the component's input prefix text color. */
|
|
27
|
+
"--calcite-color-picker-input-prefix-text-color": "*";
|
|
28
|
+
/** When `alphaChannel` is `true`, specifies the component's input suffix text color. */
|
|
29
|
+
"--calcite-color-picker-input-suffix-text-color": "*";
|
|
30
|
+
/** Specifies the component's tab border color. */
|
|
31
|
+
"--calcite-color-picker-tab-border-color": "*";
|
|
32
|
+
/** Specifies the component's tab text color. */
|
|
33
|
+
"--calcite-color-picker-tab-text-color": "*";
|
|
34
|
+
/** Specifies the component's tab accent color when selected or active. */
|
|
35
|
+
"--calcite-color-picker-tab-accent-color-press": "*";
|
|
36
|
+
/** Specifies the component's swatch corner radius. */
|
|
37
|
+
"--calcite-color-picker-swatch-corner-radius": "*";
|
|
38
|
+
/** Specifies the component's `savedColors` action text color when pressed. */
|
|
39
|
+
"--calcite-color-picker-action-text-color-press": "*";
|
|
40
|
+
/** Specifies the component's `savedColors` action text color when hovered. */
|
|
41
|
+
"--calcite-color-picker-action-text-color-hover": "*";
|
|
42
|
+
/** Specifies the component's `savedColors` action text color. */
|
|
43
|
+
"--calcite-color-picker-action-text-color": "*";
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
8
47
|
export abstract class ColorPicker extends LitElement {
|
|
9
48
|
/**
|
|
10
49
|
* When `true`, the component will allow updates to the color's alpha value.
|
|
@@ -6,6 +6,29 @@ import type { IconName } from "../calcite-icon/types.js";
|
|
|
6
6
|
import type { ComboboxItem as HTMLCalciteComboboxItemElement } from "../calcite-combobox-item/customElement.js";
|
|
7
7
|
import type { SelectionDisplay } from "./types.js";
|
|
8
8
|
|
|
9
|
+
declare module "@arcgis/lumina" {
|
|
10
|
+
export interface DeclareCssProperties {
|
|
11
|
+
/** Specifies the component's divider color. */
|
|
12
|
+
"--calcite-combobox-divider-color": "*";
|
|
13
|
+
/** Specifies the component's icon color. */
|
|
14
|
+
"--calcite-combobox-icon-color": "*";
|
|
15
|
+
/** Specifies the component's icon color when hovered. */
|
|
16
|
+
"--calcite-combobox-icon-color-hover": "*";
|
|
17
|
+
/** Specifies the component's corner radius. */
|
|
18
|
+
"--calcite-combobox-corner-radius": "*";
|
|
19
|
+
/** Specifies the background color of the component's listbox. */
|
|
20
|
+
"--calcite-combobox-background-color": "*";
|
|
21
|
+
/** Specifies the border color of the component's input. */
|
|
22
|
+
"--calcite-combobox-input-border-color": "*";
|
|
23
|
+
/** Specifies the background color of the component's input. */
|
|
24
|
+
"--calcite-combobox-input-background-color": "*";
|
|
25
|
+
/** Specifies the height of the component's input. */
|
|
26
|
+
"--calcite-combobox-input-height": "*";
|
|
27
|
+
/** When `selectionDisplay` is `"single"`, specifies the text color of the component's input. */
|
|
28
|
+
"--calcite-combobox-input-text-color": "*";
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
9
32
|
/**
|
|
10
33
|
* @slot - A slot for adding `calcite-combobox-item`s.
|
|
11
34
|
* @slot [label-content] - A slot for rendering content next to the component's `labelText`.
|
|
@@ -3,6 +3,35 @@ import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
|
3
3
|
import type { ComboboxChildElement } from "../calcite-combobox/types.js";
|
|
4
4
|
import type { IconName } from "../calcite-icon/types.js";
|
|
5
5
|
|
|
6
|
+
declare module "@arcgis/lumina" {
|
|
7
|
+
export interface DeclareCssProperties {
|
|
8
|
+
/**
|
|
9
|
+
* Specifies the component's border color.
|
|
10
|
+
*
|
|
11
|
+
* @deprecated in v3.3.0, removal target v6.0.0.
|
|
12
|
+
*/
|
|
13
|
+
"--calcite-combobox-item-border-color": "*";
|
|
14
|
+
/** Specifies the component's text and `icon` color. */
|
|
15
|
+
"--calcite-combobox-text-color": "*";
|
|
16
|
+
/** Specifies the component's text and `icon` color when hovered. */
|
|
17
|
+
"--calcite-combobox-text-color-hover": "*";
|
|
18
|
+
/** When `active`, specifies the component's background color. */
|
|
19
|
+
"--calcite-combobox-item-background-color-active": "*";
|
|
20
|
+
/** Specifies the component's background color when hovered. */
|
|
21
|
+
"--calcite-combobox-item-background-color-hover": "*";
|
|
22
|
+
/** Specifies the component's shadow. */
|
|
23
|
+
"--calcite-combobox-item-shadow": "*";
|
|
24
|
+
/** Specifies the component's `selected` indicator icon color. */
|
|
25
|
+
"--calcite-combobox-selected-icon-color": "*";
|
|
26
|
+
/** Specifies the component's `description` and `shortHeading` text color. */
|
|
27
|
+
"--calcite-combobox-description-text-color": "*";
|
|
28
|
+
/** Specifies the component's `description` and `shortHeading` text color when hovered. */
|
|
29
|
+
"--calcite-combobox-description-text-color-press": "*";
|
|
30
|
+
/** Specifies the component's `heading` text color. */
|
|
31
|
+
"--calcite-combobox-heading-text-color": "*";
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
6
35
|
/**
|
|
7
36
|
* @slot - A slot for adding nested `calcite-combobox-item`s.
|
|
8
37
|
* @slot [content-end] - A slot for adding non-actionable elements after the component's content.
|
|
@@ -2,6 +2,15 @@
|
|
|
2
2
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
3
|
import type { ComboboxChildElement } from "../calcite-combobox/types.js";
|
|
4
4
|
|
|
5
|
+
declare module "@arcgis/lumina" {
|
|
6
|
+
export interface DeclareCssProperties {
|
|
7
|
+
/** Specifies the component's text color. */
|
|
8
|
+
"--calcite-combobox-item-group-text-color": "*";
|
|
9
|
+
/** Specifies the component's border color. */
|
|
10
|
+
"--calcite-combobox-item-group-border-color": "*";
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
5
14
|
/** @slot - A slot for adding `calcite-combobox-item`s. */
|
|
6
15
|
export abstract class ComboboxItemGroup extends LitElement {
|
|
7
16
|
/** Specifies the parent and grandparent `calcite-combobox-item`s, which are set on `calcite-combobox`. */
|
|
@@ -3,6 +3,61 @@ import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
|
3
3
|
import type { NumberingSystem } from "../../utils/locale.js";
|
|
4
4
|
import type { HeadingLevel } from "../functional/Heading.js";
|
|
5
5
|
|
|
6
|
+
declare module "@arcgis/lumina" {
|
|
7
|
+
export interface DeclareCssProperties {
|
|
8
|
+
/** Specifies the component's border color. */
|
|
9
|
+
"--calcite-date-picker-border-color": "*";
|
|
10
|
+
/** Specifies the component's border radius. */
|
|
11
|
+
"--calcite-date-picker-corner-radius": "*";
|
|
12
|
+
/** When `range` is `true`, specifies the divider color between the component's calendars. */
|
|
13
|
+
"--calcite-date-picker-range-calendar-divider-color": "*";
|
|
14
|
+
/** Specifies the text color of the component's week header. */
|
|
15
|
+
"--calcite-date-picker-week-header-text-color": "*";
|
|
16
|
+
/** Specifies the background color of component`s header actions. */
|
|
17
|
+
"--calcite-date-picker-header-action-background-color": "*";
|
|
18
|
+
/** Specifies the background color of component`s header actions when hovered. */
|
|
19
|
+
"--calcite-date-picker-header-action-background-color-hover": "*";
|
|
20
|
+
/** Specifies the background color of component`s header actions when pressed. */
|
|
21
|
+
"--calcite-date-picker-header-action-background-color-press": "*";
|
|
22
|
+
/** Specifies the text color of the component's header actions. */
|
|
23
|
+
"--calcite-date-picker-header-action-text-color": "*";
|
|
24
|
+
/** Specifies the text color of the component's header actions when pressed. */
|
|
25
|
+
"--calcite-date-picker-header-action-text-color-press": "*";
|
|
26
|
+
/** Specifies the text color of the component's year and suffix. */
|
|
27
|
+
"--calcite-date-picker-year-text-color": "*";
|
|
28
|
+
/** Specifies the font size of the component's month selector. */
|
|
29
|
+
"--calcite-date-picker-month-select-font-size": "*";
|
|
30
|
+
/** Specifies the text color of the component's month selector. */
|
|
31
|
+
"--calcite-date-picker-month-select-text-color": "*";
|
|
32
|
+
/** Specifies the icon color of the component's month selector. */
|
|
33
|
+
"--calcite-date-picker-month-select-icon-color": "*";
|
|
34
|
+
/** Specifies the icon color of the component's month selector when hovered. */
|
|
35
|
+
"--calcite-date-picker-month-select-icon-color-hover": "*";
|
|
36
|
+
/** Specifies the background color of the component's day elements. */
|
|
37
|
+
"--calcite-date-picker-day-background-color": "*";
|
|
38
|
+
/** Specifies the background color of the component's day elements when hovered. */
|
|
39
|
+
"--calcite-date-picker-day-background-color-hover": "*";
|
|
40
|
+
/** Specifies the text color of the component's day elements. */
|
|
41
|
+
"--calcite-date-picker-day-text-color": "*";
|
|
42
|
+
/** Specifies the text color of the component's day elements when hovered. */
|
|
43
|
+
"--calcite-date-picker-day-text-color-hover": "*";
|
|
44
|
+
/** Specifies the text color of the component's current day. */
|
|
45
|
+
"--calcite-date-picker-current-day-text-color": "*";
|
|
46
|
+
/** Specifies the background color of the component's selected day. */
|
|
47
|
+
"--calcite-date-picker-day-background-color-selected": "*";
|
|
48
|
+
/** Specifies the text color of the component's selected day elements. */
|
|
49
|
+
"--calcite-date-picker-day-text-color-selected": "*";
|
|
50
|
+
/** Specifies the text color of component's selected day range. */
|
|
51
|
+
"--calcite-date-picker-day-range-text-color": "*";
|
|
52
|
+
/** Specifies the background color the component's selected day range. */
|
|
53
|
+
"--calcite-date-picker-day-range-background-color": "*";
|
|
54
|
+
/** Specifies the background color of the component's day elements outside the current range when hovered. */
|
|
55
|
+
"--calcite-date-picker-day-outside-range-background-color-hover": "*";
|
|
56
|
+
/** Specifies the text color of the component's day elements outside the current range when hovered. */
|
|
57
|
+
"--calcite-date-picker-day-outside-range-text-color-hover": "*";
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
6
61
|
export abstract class DatePicker extends LitElement {
|
|
7
62
|
/** Specifies the component's active date. */
|
|
8
63
|
accessor activeDate: Date | undefined;
|
|
@@ -7,6 +7,73 @@ import type { FocusTrapOptions } from "../../controllers/useFocusTrap.js";
|
|
|
7
7
|
import type { IconName } from "../calcite-icon/types.js";
|
|
8
8
|
import type { DialogPlacement } from "./types.js";
|
|
9
9
|
|
|
10
|
+
declare module "@arcgis/lumina" {
|
|
11
|
+
export interface DeclareCssProperties {
|
|
12
|
+
/** Specifies the background color of the component's scrim. */
|
|
13
|
+
"--calcite-dialog-scrim-background-color": "*";
|
|
14
|
+
/** When `placement` is `"cover"`, specifies the component's width, using `px`, `em`, `rem`, `vw`, or `%`. Does not exceed the viewport's width. */
|
|
15
|
+
"--calcite-dialog-size-x": "*";
|
|
16
|
+
/** Specifies the component's minimum width, using `px`, `em`, `rem`, `vw`, or `%`. */
|
|
17
|
+
"--calcite-dialog-min-size-x": "*";
|
|
18
|
+
/** Specifies the component's maximum width, using `px`, `em`, `rem`, `vw`, or `%`. */
|
|
19
|
+
"--calcite-dialog-max-size-x": "*";
|
|
20
|
+
/** When `placement` is `"cover"`, specifies the component's height, using `px`, `em`, `rem`, `vh`, or `%`. Does not exceed the viewport's height. */
|
|
21
|
+
"--calcite-dialog-size-y": "*";
|
|
22
|
+
/** Specifies the component's minimum height, using `px`, `em`, `rem`, `vh`, or `%`. */
|
|
23
|
+
"--calcite-dialog-min-size-y": "*";
|
|
24
|
+
/** Specifies the component's maximum height, using `px`, `em`, `rem`, `vh`, or `%`. */
|
|
25
|
+
"--calcite-dialog-max-size-y": "*";
|
|
26
|
+
/** Specifies the padding of the component's content. */
|
|
27
|
+
"--calcite-dialog-content-space": "*";
|
|
28
|
+
/** Specifies the padding of the component's `content-top` slot. */
|
|
29
|
+
"--calcite-dialog-content-top-space": "*";
|
|
30
|
+
/** Specifies the padding of the component's `content-bottom` slot. */
|
|
31
|
+
"--calcite-dialog-content-bottom-space": "*";
|
|
32
|
+
/** Specifies the padding of the component's `header-top` slot. */
|
|
33
|
+
"--calcite-dialog-header-top-space": "*";
|
|
34
|
+
/** Specifies the padding of the component's footer. */
|
|
35
|
+
"--calcite-dialog-footer-space": "*";
|
|
36
|
+
/** Specifies the component's border color. */
|
|
37
|
+
"--calcite-dialog-border-color": "*";
|
|
38
|
+
/** Specifies the component's horizontal offset. */
|
|
39
|
+
"--calcite-dialog-offset-x": "*";
|
|
40
|
+
/** Specifies the component's vertical offset. */
|
|
41
|
+
"--calcite-dialog-offset-y": "*";
|
|
42
|
+
/** Specifies the component's background color. */
|
|
43
|
+
"--calcite-dialog-background-color": "*";
|
|
44
|
+
/** Specifies the color of the component's icon. */
|
|
45
|
+
"--calcite-dialog-icon-color": "*";
|
|
46
|
+
/** When `kind` is specified, specifies the component's accent color. */
|
|
47
|
+
"--calcite-dialog-accent-color": "*";
|
|
48
|
+
/** Specifies the component's corner radius. */
|
|
49
|
+
"--calcite-dialog-corner-radius": "*";
|
|
50
|
+
/** Specifies the text color of the component's `heading`. */
|
|
51
|
+
"--calcite-dialog-heading-text-color": "*";
|
|
52
|
+
/** Specifies the text color of the component's `description`. */
|
|
53
|
+
"--calcite-dialog-description-text-color": "*";
|
|
54
|
+
/** Specifies the background color of the component's header. */
|
|
55
|
+
"--calcite-dialog-header-background-color": "*";
|
|
56
|
+
/** Specifies the background color of the component's `closable`, `collapsible`, and slotted `header-menu-actions` `calcite-action`s. */
|
|
57
|
+
"--calcite-dialog-header-action-background-color": "*";
|
|
58
|
+
/** Specifies the background color of the component's `closable`, `collapsible`, and slotted `header-menu-actions` `calcite-action`s when hovered. */
|
|
59
|
+
"--calcite-dialog-header-action-background-color-hover": "*";
|
|
60
|
+
/** Specifies the background color of the component's `closable`, `collapsible`, and slotted `header-menu-actions` `calcite-action`s when pressed. */
|
|
61
|
+
"--calcite-dialog-header-action-background-color-press": "*";
|
|
62
|
+
/** Specifies the text color of the component's `closable`, `collapsible`, and slotted `header-menu-actions` `calcite-action`s. */
|
|
63
|
+
"--calcite-dialog-header-action-text-color": "*";
|
|
64
|
+
/** Specifies the text color of the component's `closable`, `collapsible`, and slotted `header-menu-actions` `calcite-action`s when pressed or hovered. */
|
|
65
|
+
"--calcite-dialog-header-action-text-color-press": "*";
|
|
66
|
+
/** Specifies the background color of the component's footer. */
|
|
67
|
+
"--calcite-dialog-footer-background-color": "*";
|
|
68
|
+
/** Specifies the padding of the component's `unnamed (default)` slot. */
|
|
69
|
+
"--calcite-dialog-space": "*";
|
|
70
|
+
/** Specifies the padding of the component's `header-content` slot. */
|
|
71
|
+
"--calcite-dialog-header-content-space": "*";
|
|
72
|
+
/** Specifies the border color of the component's internally rendered `calcite-popover`, which is rendered within a `calcite-action` menu when slotted `calcite-action`s are present in the `header-actions-end` slot. Applies to any slotted `calcite-popover`s. */
|
|
73
|
+
"--calcite-dialog-action-menu-border-color": "*";
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
10
77
|
/**
|
|
11
78
|
* @slot - A slot for adding content.
|
|
12
79
|
* @slot [custom-content] - A slot for displaying custom content. Will prevent the rendering of any default component UI, except for `box-shadow` and `corner-radius`.
|
|
@@ -4,9 +4,20 @@ import type { FlipPlacement, LogicalPlacement, OverlayPositioning, ReferenceElem
|
|
|
4
4
|
import type { Scale, Width } from "../types.js";
|
|
5
5
|
import type { DropdownItem } from "../calcite-dropdown-item/customElement.js";
|
|
6
6
|
|
|
7
|
+
declare module "@arcgis/lumina" {
|
|
8
|
+
export interface DeclareCssProperties {
|
|
9
|
+
/** Specifies the width of the component's wrapper. */
|
|
10
|
+
"--calcite-dropdown-width": "*";
|
|
11
|
+
/** Specifies the component's background color. */
|
|
12
|
+
"--calcite-dropdown-background-color": "*";
|
|
13
|
+
/** Specifies the maximum height of the component's wrapper. */
|
|
14
|
+
"--calcite-dropdown-max-height": "*";
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
7
18
|
/**
|
|
8
19
|
* @slot - A slot for adding `calcite-dropdown-group` elements. Every `calcite-dropdown-item` must have a parent `calcite-dropdown-group`, even if the `groupTitle` property is not set.
|
|
9
|
-
* @slot [trigger] -
|
|
20
|
+
* @slot [trigger] - DEPRECATED in v5.1.0, removal target v7.0.0 - Use the `referenceElement` property instead.
|
|
10
21
|
*/
|
|
11
22
|
export abstract class Dropdown extends LitElement {
|
|
12
23
|
/**
|
|
@@ -97,10 +97,6 @@ class Dropdown extends LitElement {
|
|
|
97
97
|
async setFocus(options) {
|
|
98
98
|
return this.focusSetter(() => this.referenceEl instanceof HTMLElement ? this.referenceEl : this.floatingEl, options);
|
|
99
99
|
}
|
|
100
|
-
load() {
|
|
101
|
-
this.listenOn(document, "click", this.closeCalciteDropdownOnClick);
|
|
102
|
-
this.listenOn(document, "calciteDropdownOpen", this.closeCalciteDropdownOnOpenEvent);
|
|
103
|
-
}
|
|
104
100
|
connectedCallback() {
|
|
105
101
|
super.connectedCallback();
|
|
106
102
|
this.mutationObserver?.observe(this.el, { childList: true, subtree: true });
|
|
@@ -108,6 +104,10 @@ class Dropdown extends LitElement {
|
|
|
108
104
|
this.updateItems();
|
|
109
105
|
connectFloatingUI(this);
|
|
110
106
|
}
|
|
107
|
+
load() {
|
|
108
|
+
this.listenOn(document, "click", this.closeCalciteDropdownOnClick);
|
|
109
|
+
this.listenOn(document, "calciteDropdownOpen", this.closeCalciteDropdownOnOpenEvent);
|
|
110
|
+
}
|
|
111
111
|
willUpdate(changes) {
|
|
112
112
|
if (changes.has("open") && (this.hasUpdated || this.open !== false)) {
|
|
113
113
|
this.openHandler();
|
|
@@ -2,6 +2,15 @@
|
|
|
2
2
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
3
|
import type { SelectionMode } from "../types.js";
|
|
4
4
|
|
|
5
|
+
declare module "@arcgis/lumina" {
|
|
6
|
+
export interface DeclareCssProperties {
|
|
7
|
+
/** Specifies the component's border color. */
|
|
8
|
+
"--calcite-dropdown-group-border-color": "*";
|
|
9
|
+
/** Specifies the component's `groupTitle` color. */
|
|
10
|
+
"--calcite-dropdown-group-title-text-color": "*";
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
5
14
|
/** @slot - A slot for adding `calcite-dropdown-item`s. */
|
|
6
15
|
export abstract class DropdownGroup extends LitElement {
|
|
7
16
|
/** When specified, displays a group title. */
|
|
@@ -3,6 +3,27 @@ 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 when hovered. */
|
|
9
|
+
"--calcite-dropdown-item-background-color-hover": "*";
|
|
10
|
+
/** Specifies the component's background color when `selected` or active. */
|
|
11
|
+
"--calcite-dropdown-item-background-color-press": "*";
|
|
12
|
+
/**
|
|
13
|
+
* Specifies the color of the component's selection icon when hovered.
|
|
14
|
+
*
|
|
15
|
+
* @deprecated in v5.0.0, removal target v6.0.0.
|
|
16
|
+
*/
|
|
17
|
+
"--calcite-dropdown-item-icon-color-hover": "*";
|
|
18
|
+
/** Specifies the color of the component's selection icon when `selected` or active. */
|
|
19
|
+
"--calcite-dropdown-item-icon-color-press": "*";
|
|
20
|
+
/** Specifies the component's text color when `selected` or active. */
|
|
21
|
+
"--calcite-dropdown-item-text-color-press": "*";
|
|
22
|
+
/** Specifies the component's text color. */
|
|
23
|
+
"--calcite-dropdown-item-text-color": "*";
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
6
27
|
/** @slot - A slot for adding text. */
|
|
7
28
|
export abstract class DropdownItem extends LitElement {
|
|
8
29
|
/**
|
|
@@ -31,9 +31,6 @@ class DropdownItem extends LitElement {
|
|
|
31
31
|
static {
|
|
32
32
|
this.styles = styles;
|
|
33
33
|
}
|
|
34
|
-
async setFocus(options) {
|
|
35
|
-
return this.focusSetter(() => this.el, options);
|
|
36
|
-
}
|
|
37
34
|
async activateItem() {
|
|
38
35
|
if (this.disabled) {
|
|
39
36
|
return;
|
|
@@ -44,6 +41,9 @@ class DropdownItem extends LitElement {
|
|
|
44
41
|
}
|
|
45
42
|
this.emitRequestedItem();
|
|
46
43
|
}
|
|
44
|
+
async setFocus(options) {
|
|
45
|
+
return this.focusSetter(() => this.el, options);
|
|
46
|
+
}
|
|
47
47
|
connectedCallback() {
|
|
48
48
|
super.connectedCallback();
|
|
49
49
|
this.initialize();
|
|
@@ -3,6 +3,23 @@ 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-fab-background-color": "*";
|
|
10
|
+
/** Specifies the component's border color. */
|
|
11
|
+
"--calcite-fab-border-color": "*";
|
|
12
|
+
/** Specifies the component's corner radius. */
|
|
13
|
+
"--calcite-fab-corner-radius": "*";
|
|
14
|
+
/** Specifies the component's text color. */
|
|
15
|
+
"--calcite-fab-text-color": "*";
|
|
16
|
+
/** Specifies the component's loader color. */
|
|
17
|
+
"--calcite-fab-loader-color": "*";
|
|
18
|
+
/** Specifies the component's shadow. */
|
|
19
|
+
"--calcite-fab-shadow": "*";
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
6
23
|
export abstract class Fab extends LitElement {
|
|
7
24
|
/**
|
|
8
25
|
* Specifies the component's appearance style.
|