@esri/calcite-components 3.3.1-next.3 → 3.3.2
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/README.md +1 -1
- package/dist/calcite/{SCRSMXLT.js → 27KNRSR2.js} +2 -2
- package/dist/calcite/{GCTILJ26.js → 2LFDW4DI.js} +2 -2
- package/dist/calcite/{4PVDKT7F.js → 2M7OLASS.js} +2 -2
- package/dist/calcite/{VCFR2S2S.js → 2PHU7IKB.js} +2 -2
- package/dist/calcite/{CTMAVUAC.js → 2WIMUEPX.js} +2 -2
- package/dist/calcite/{GTZ34TLH.js → 2XFLFPAO.js} +1 -1
- package/dist/calcite/{5OYSJJGG.js → 2XI2AAA2.js} +2 -2
- package/dist/calcite/{AVA2GRPH.js → 35CWAMEK.js} +1 -1
- package/dist/calcite/{2R36X4UK.js → 3HXHPF5E.js} +2 -2
- package/dist/calcite/{PJ5AKGXK.js → 43VJZQHO.js} +2 -2
- package/dist/calcite/{WRK3VW4J.js → 44FLKK2Z.js} +2 -2
- package/dist/calcite/{AR4YNEVO.js → 4OO23UMP.js} +2 -2
- package/dist/calcite/{TY7332UP.js → 4S5JOWOF.js} +1 -1
- package/dist/calcite/{NOXASI5L.js → 4U465N24.js} +2 -2
- package/dist/calcite/55GKV4M4.js +4 -0
- package/dist/calcite/{MSDJU5UA.js → 5BVLESXH.js} +2 -2
- package/dist/calcite/{QRC6T7X4.js → 5HOAP7MP.js} +2 -2
- package/dist/calcite/{THONZSOX.js → 5IGT3AAH.js} +2 -2
- package/dist/calcite/{CDR5MOEN.js → 62O7AKSE.js} +2 -2
- package/dist/calcite/{S37PQSE3.js → 6A4ECI3N.js} +2 -2
- package/dist/calcite/{2Q2VA3TB.js → 6COPJSLR.js} +2 -2
- package/dist/calcite/{OBSBQ3ZE.js → 6JRCFM3X.js} +1 -1
- package/dist/calcite/6KTJYFBE.js +4 -0
- package/dist/calcite/{KSD7O6PU.js → 6MV75PQ3.js} +2 -2
- package/dist/calcite/6XOL7KYA.js +4 -0
- package/dist/calcite/{ZGTALRB3.js → 6ZQ4U5A7.js} +2 -2
- package/dist/calcite/{NC7IWXBY.js → 7FIUVRUG.js} +2 -2
- package/dist/calcite/{PK3WEFD2.js → 7LN5UW7A.js} +1 -1
- package/dist/calcite/{P35DFGTL.js → 7OWYG7K6.js} +2 -2
- package/dist/calcite/{5BZ2TBJF.js → 7UU33HEM.js} +2 -2
- package/dist/calcite/7YWJ2RS7.js +4 -0
- package/dist/calcite/{HBOK5S7H.js → AAFHRQRJ.js} +2 -2
- package/dist/calcite/{V7YPIFC5.js → ABI4KTTI.js} +1 -1
- package/dist/calcite/ADDQWW6Y.js +4 -0
- package/dist/calcite/{SY4BYACV.js → ALUEI4GM.js} +1 -1
- package/dist/calcite/{6RSJGDS4.js → AXA6W6NI.js} +2 -2
- package/dist/calcite/{3DVEWXON.js → AY3TGLFZ.js} +2 -2
- package/dist/calcite/{U3E5JPIT.js → BAQWS3EN.js} +2 -2
- package/dist/calcite/{YC4PCQFT.js → BHC3XDAL.js} +2 -2
- package/dist/calcite/{7U4REJCD.js → BJAFOADW.js} +2 -2
- package/dist/calcite/{CPK3NOOL.js → BPH43BGS.js} +2 -2
- package/dist/calcite/{SG5ZAFON.js → BR2XWH4P.js} +2 -2
- package/dist/calcite/{QLTJ3YCX.js → BWYNBKWW.js} +2 -2
- package/dist/calcite/BYWHJVS3.js +4 -0
- package/dist/calcite/{NXMESICX.js → C72SBDOH.js} +2 -2
- package/dist/calcite/{MYAAZC5E.js → CFCN4QCW.js} +2 -2
- package/dist/calcite/{6DX5DUEV.js → CGDJOLZ5.js} +2 -2
- package/dist/calcite/{L77WKAYW.js → CVTVIHNO.js} +2 -2
- package/dist/calcite/{U6E3W7Z6.js → DME4KICT.js} +2 -2
- package/dist/calcite/{SWCRI2DF.js → DOFGMYQ7.js} +2 -2
- package/dist/calcite/{2TBX2SSU.js → DTYPKOIG.js} +2 -2
- package/dist/calcite/{A3WKKCOP.js → DZ2Q4CVO.js} +1 -1
- package/dist/calcite/{4JWZLXUJ.js → EAMIZWRI.js} +2 -2
- package/dist/calcite/{NRSMYP26.js → EHRFRE2Z.js} +2 -2
- package/dist/calcite/{5RAK4A27.js → EMSPZLAT.js} +2 -2
- package/dist/calcite/{G27QOUQ5.js → EVS6AZXN.js} +2 -2
- package/dist/calcite/{6C5AD67Q.js → FHVE3ZOV.js} +2 -2
- package/dist/calcite/{IP5PHZOE.js → FM7TLX5N.js} +2 -2
- package/dist/calcite/{ALTRC234.js → FU4G7NTW.js} +2 -2
- package/dist/calcite/{27P37PVN.js → G3UFI5JI.js} +2 -2
- package/dist/calcite/{TPNCCFIX.js → G4XARQU6.js} +2 -2
- package/dist/calcite/{ODXUMF3X.js → GBDL7XGB.js} +2 -2
- package/dist/calcite/{IDTVP5QH.js → GG3JXJLK.js} +2 -2
- package/dist/calcite/{TAZEKZWH.js → GHGETSQK.js} +2 -2
- package/dist/calcite/{GHE4THSA.js → GTDMFUZV.js} +2 -2
- package/dist/calcite/{GGWFR36T.js → GW2RCOUK.js} +1 -1
- package/dist/calcite/{ELFROX7A.js → H3JO3MZN.js} +2 -2
- package/dist/calcite/{HFBQWAF5.js → HC6HMGHC.js} +1 -1
- package/dist/calcite/{6J2A324N.js → HEJGOB6K.js} +2 -2
- package/dist/calcite/{YPOW2364.js → HQWMOWBT.js} +2 -2
- package/dist/calcite/{4TEAQAWC.js → HSN25776.js} +1 -1
- package/dist/calcite/{SRYAFHN7.js → HVKGLWNE.js} +2 -2
- package/dist/calcite/I3HXZJUY.js +4 -0
- package/dist/calcite/{EEFJEGMF.js → I4NZ22ZH.js} +2 -2
- package/dist/calcite/{IJUUNLHT.js → I6XSXSPG.js} +2 -2
- package/dist/calcite/{QXDFJIYI.js → IHMBJTVV.js} +2 -2
- package/dist/calcite/{MKXN6A35.js → IJK5BXFM.js} +2 -2
- package/dist/calcite/{2AK6BWN3.js → ILYZXZCR.js} +2 -2
- package/dist/calcite/{FSLTB2F4.js → IPKRXKI3.js} +2 -2
- package/dist/calcite/{DN3H3YP2.js → IZ3WBCUN.js} +2 -2
- package/dist/calcite/{B7BVIIGW.js → J2AFCFON.js} +2 -2
- package/dist/calcite/{RSALXOGH.js → J3YVHAUQ.js} +1 -1
- package/dist/calcite/{2QY7Z5C5.js → JCNRA7L7.js} +2 -2
- package/dist/calcite/{GO4NSK6A.js → JNDWDVLT.js} +1 -1
- package/dist/calcite/{PLXH4KRF.js → JORKUDQB.js} +2 -2
- package/dist/calcite/{HU6UGZR2.js → JPELSYXQ.js} +2 -2
- package/dist/calcite/{ZT5DA3KQ.js → K2CAW7RQ.js} +2 -2
- package/dist/calcite/{RS3WPXVR.js → K4X5JCG7.js} +2 -2
- package/dist/calcite/{GMDXCIWU.js → KFA3JWJG.js} +1 -1
- package/dist/calcite/{VPYEYC5B.js → KSELOPEB.js} +2 -2
- package/dist/calcite/LBJZED6O.js +4 -0
- package/dist/calcite/{JDAOTLPD.js → LBXAN7TL.js} +2 -2
- package/dist/calcite/{W5RT7BA3.js → LBXNRNBW.js} +2 -2
- package/dist/calcite/{VMKF75F7.js → LLT64PA2.js} +2 -2
- package/dist/calcite/{4H762H3N.js → LM5ERQ7O.js} +2 -2
- package/dist/calcite/LWR32DNS.js +5 -0
- package/dist/calcite/{K3FGGR35.js → LYUDVBFN.js} +2 -2
- package/dist/calcite/{JTIPBP24.js → M2JZA3NR.js} +2 -2
- package/dist/calcite/{ZRYXIFOI.js → MFIXMPDJ.js} +2 -2
- package/dist/calcite/{M3PD4AMS.js → MFSZ4TUK.js} +2 -2
- package/dist/calcite/{HOU4N232.js → MHKDIXTA.js} +2 -2
- package/dist/calcite/{RFIGBZ3G.js → MPGEFRJV.js} +2 -2
- package/dist/calcite/{2CVDVJHN.js → MSG3TDYX.js} +1 -1
- package/dist/calcite/{EWIQ7YC7.js → MUWKU3CD.js} +2 -2
- package/dist/calcite/{H6CGC3U5.js → NIMIQBJU.js} +2 -2
- package/dist/calcite/{EPFC6PQY.js → NZ4NJ77O.js} +2 -2
- package/dist/calcite/O3OTR6LZ.js +4 -0
- package/dist/calcite/{OPF4I36S.js → O5UCUPXB.js} +2 -2
- package/dist/calcite/O7BQMYQJ.js +4 -0
- package/dist/calcite/{CJAJR4YY.js → OAPCNBH4.js} +2 -2
- package/dist/calcite/{E7E2FEYN.js → OQQ7CKNT.js} +2 -2
- package/dist/calcite/{QKSP5PWA.js → OVSXWOX2.js} +2 -2
- package/dist/calcite/{342FTXRR.js → P5VZFP2D.js} +2 -2
- package/dist/calcite/{A54TRM2M.js → PIDLDTKV.js} +2 -2
- package/dist/calcite/{G56BO4CF.js → PULYNC3O.js} +2 -2
- package/dist/calcite/{EXTVSNEP.js → PWSIDIJK.js} +2 -2
- package/dist/calcite/{2KXMAJVC.js → QANFYYOT.js} +2 -2
- package/dist/calcite/{D62PWPXS.js → QK5VQ6O2.js} +1 -1
- package/dist/calcite/{HB5YY3NV.js → QMZAM3HL.js} +2 -2
- package/dist/calcite/{B4PGE7AH.js → QX6FELAL.js} +2 -2
- package/dist/calcite/R3XHHOCA.js +4 -0
- package/dist/calcite/{TNMBOX5X.js → RUZ4LGG6.js} +2 -2
- package/dist/calcite/{LIM2MCPR.js → S4XORSXW.js} +2 -2
- package/dist/calcite/{OTU5N45Y.js → SCGDOFSO.js} +2 -2
- package/dist/calcite/{QKB6DJHC.js → SJ3R7CCV.js} +2 -2
- package/dist/calcite/{T7G4Q6K4.js → SQZIWHBF.js} +2 -2
- package/dist/calcite/{Z4L5XYLB.js → TFCXXDKE.js} +2 -2
- package/dist/calcite/{UODE2O5U.js → TFM2YHV3.js} +1 -1
- package/dist/calcite/TQUW6XVZ.js +4 -0
- package/dist/calcite/{D5JAXVMN.js → TUI5G2M4.js} +2 -2
- package/dist/calcite/{IH3OFZCD.js → TUIJ7XHK.js} +2 -2
- package/dist/calcite/{M6XLJZN4.js → TULIDOVV.js} +2 -2
- package/dist/calcite/{GOT2R7S4.js → TXUTDGHG.js} +2 -2
- package/dist/calcite/{3CY3FUCE.js → TZJP5AKL.js} +2 -2
- package/dist/calcite/{TEOG7SBE.js → U3NMEB6C.js} +2 -2
- package/dist/calcite/{LQSYPUWA.js → U6YFXWCQ.js} +2 -2
- package/dist/calcite/UGVRZA2Q.js +4 -0
- package/dist/calcite/UKK6342Y.js +4 -0
- package/dist/calcite/{BXCXCAJ7.js → UO2RYA7M.js} +1 -1
- package/dist/calcite/{ETZXNOD5.js → UOFC6M4P.js} +2 -2
- package/dist/calcite/{CRLBVKPX.js → UUIRL3K6.js} +2 -2
- package/dist/calcite/{VWV6US2T.js → UVIQ63EC.js} +2 -2
- package/dist/calcite/{BBXVCVAX.js → UXP6B62X.js} +2 -2
- package/dist/calcite/VAUYTHNU.js +4 -0
- package/dist/calcite/{4WERZVVK.js → VKCJ4AGE.js} +2 -2
- package/dist/calcite/{A7DAPZ53.js → VU7HA5TU.js} +2 -2
- package/dist/calcite/{SS4MIDGR.js → VXPDRLLA.js} +2 -2
- package/dist/calcite/{IC7QYMS3.js → VZLSFF3R.js} +2 -2
- package/dist/calcite/{JA6WHZNS.js → WDUHOTZW.js} +2 -2
- package/dist/calcite/{NJKI2M4Z.js → WJ4FWS52.js} +2 -2
- package/dist/calcite/{RIU3W2XH.js → WK52M5OS.js} +1 -1
- package/dist/calcite/{OULRIAJX.js → WLNJCK6Y.js} +2 -2
- package/dist/calcite/{AJGBEU62.js → WOA6VC3Y.js} +2 -2
- package/dist/calcite/{M4HUC32O.js → WOOHPT2H.js} +2 -2
- package/dist/calcite/{4G74ZLAQ.js → WSUKIWCP.js} +2 -2
- package/dist/calcite/{TRR32SGW.js → WX47VBUG.js} +2 -2
- package/dist/calcite/{SPWR2SD2.js → WYYWBGVA.js} +2 -2
- package/dist/calcite/{HQYYWNMQ.js → X5CYPE3Z.js} +2 -2
- package/dist/calcite/{5UPCI2RP.js → XFVIIGHX.js} +1 -1
- package/dist/calcite/XIUNAAY4.js +4 -0
- package/dist/calcite/{SISQNBLT.js → XJ3OUIVF.js} +2 -2
- package/dist/calcite/{A5GU5VYR.js → XKKUBDZV.js} +2 -2
- package/dist/calcite/{LZO7E44B.js → XNEODBTL.js} +2 -2
- package/dist/calcite/{4QSB75EI.js → XOL2AHCV.js} +1 -1
- package/dist/calcite/{MH5B7HU4.js → XSWJDZHS.js} +1 -1
- package/dist/calcite/{UAS45MTE.js → XZS4EDVX.js} +2 -2
- package/dist/calcite/Y4MBKL4Y.js +4 -0
- package/dist/calcite/{PEVHLYRQ.js → YBWQZHOR.js} +2 -2
- package/dist/calcite/{WAGPCS2U.js → YG6CTKEG.js} +2 -2
- package/dist/calcite/{OUVK4MWH.js → YHJ43FS2.js} +2 -2
- package/dist/calcite/{I4TWEUXB.js → YKWEDAUY.js} +2 -2
- package/dist/calcite/{XVFVSAJP.js → YVYTT3DA.js} +2 -2
- package/dist/calcite/{SCMVBPIB.js → YZ3BSDRN.js} +2 -2
- package/dist/calcite/{FO44Z3Z3.js → Z4WYDSRI.js} +2 -2
- package/dist/calcite/{Z2LAVZ52.js → Z4YSXMEL.js} +2 -2
- package/dist/calcite/{BZ3KIKGO.js → Z6T7QNDJ.js} +2 -2
- package/dist/calcite/{FBFGQ7A3.js → ZRRV7NIL.js} +1 -1
- package/dist/calcite/{KPVLQ2BO.js → ZXMLNJSJ.js} +2 -2
- package/dist/calcite/assets/sort-handle/t9n/messages.uk.json +1 -1
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/chunks/ExpandToggle.js +1 -1
- package/dist/chunks/FloatingArrow.js +1 -1
- package/dist/chunks/Heading.js +1 -1
- package/dist/chunks/InternalLabel.js +1 -1
- package/dist/chunks/Validation.js +1 -1
- package/dist/chunks/XButton.js +1 -1
- package/dist/chunks/_sortable.js +1 -1
- package/dist/chunks/array.js +1 -1
- package/dist/chunks/component.js +1 -1
- package/dist/chunks/core.js +1 -1
- package/dist/chunks/date.js +1 -1
- package/dist/chunks/dom.js +8 -7
- package/dist/chunks/dynamicClasses.js +1 -1
- package/dist/chunks/filter.js +2 -6
- package/dist/chunks/floating-ui.js +1 -1
- package/dist/chunks/form.js +1 -1
- package/dist/chunks/global.js +1 -1
- package/dist/chunks/guid.js +1 -1
- package/dist/chunks/input.js +1 -1
- package/dist/chunks/interact.min.js +1 -1
- package/dist/chunks/interactive.js +1 -1
- package/dist/chunks/key.js +1 -1
- package/dist/chunks/label.js +1 -1
- package/dist/chunks/locale.js +1 -1
- package/dist/chunks/logger.js +1 -1
- package/dist/chunks/math.js +1 -1
- package/dist/chunks/observers.js +1 -1
- package/dist/chunks/openCloseComponent.js +1 -1
- package/dist/chunks/resources.js +1 -1
- package/dist/chunks/resources2.js +1 -1
- package/dist/chunks/resources3.js +1 -1
- package/dist/chunks/resources4.js +1 -1
- package/dist/chunks/resources5.js +1 -1
- package/dist/chunks/resources6.js +1 -1
- package/dist/chunks/resources7.js +1 -1
- package/dist/chunks/resources8.js +1 -1
- package/dist/chunks/responsive.js +1 -1
- package/dist/chunks/runtime.js +5 -5
- package/dist/chunks/sortableComponent.js +1 -1
- package/dist/chunks/text.js +1 -1
- package/dist/chunks/useCancelable.js +1 -1
- package/dist/chunks/useFocusTrap.js +1 -1
- package/dist/chunks/usePreventDocumentScroll.js +1 -1
- package/dist/chunks/useSetFocus.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/useTime.js +1 -1
- package/dist/chunks/utils.js +1 -1
- package/dist/chunks/utils2.js +1 -1
- package/dist/chunks/utils3.js +1 -1
- package/dist/chunks/utils4.js +1 -1
- package/dist/components/calcite-accordion/customElement.js +1 -1
- package/dist/components/calcite-accordion-item/customElement.d.ts +1 -1
- package/dist/components/calcite-accordion-item/customElement.js +1 -1
- package/dist/components/calcite-action/customElement.d.ts +7 -7
- package/dist/components/calcite-action/customElement.js +8 -6
- package/dist/components/calcite-action-bar/customElement.d.ts +4 -4
- package/dist/components/calcite-action-bar/customElement.js +4 -2
- package/dist/components/calcite-action-group/customElement.d.ts +2 -2
- package/dist/components/calcite-action-group/customElement.js +4 -2
- package/dist/components/calcite-action-menu/customElement.d.ts +2 -2
- package/dist/components/calcite-action-menu/customElement.js +1 -1
- package/dist/components/calcite-action-pad/customElement.d.ts +2 -2
- package/dist/components/calcite-action-pad/customElement.js +4 -2
- package/dist/components/calcite-alert/customElement.d.ts +4 -4
- package/dist/components/calcite-alert/customElement.js +4 -2
- package/dist/components/calcite-autocomplete/customElement.d.ts +7 -7
- package/dist/components/calcite-autocomplete/customElement.js +1 -1
- package/dist/components/calcite-autocomplete-item/customElement.d.ts +1 -1
- package/dist/components/calcite-autocomplete-item/customElement.js +1 -1
- package/dist/components/calcite-autocomplete-item-group/customElement.js +1 -1
- package/dist/components/calcite-avatar/customElement.js +2 -2
- package/dist/components/calcite-block/customElement.d.ts +8 -8
- package/dist/components/calcite-block/customElement.js +4 -2
- package/dist/components/calcite-block-group/customElement.d.ts +4 -4
- package/dist/components/calcite-block-group/customElement.js +4 -2
- package/dist/components/calcite-block-section/customElement.d.ts +2 -2
- package/dist/components/calcite-block-section/customElement.js +4 -2
- package/dist/components/calcite-button/customElement.d.ts +3 -3
- package/dist/components/calcite-button/customElement.js +3 -3
- package/dist/components/calcite-card/customElement.d.ts +4 -4
- package/dist/components/calcite-card/customElement.js +6 -6
- package/dist/components/calcite-card-group/customElement.d.ts +1 -1
- package/dist/components/calcite-card-group/customElement.js +1 -1
- package/dist/components/calcite-carousel/customElement.d.ts +4 -4
- package/dist/components/calcite-carousel/customElement.js +2 -2
- package/dist/components/calcite-carousel-item/customElement.d.ts +1 -1
- package/dist/components/calcite-carousel-item/customElement.js +1 -1
- package/dist/components/calcite-checkbox/customElement.d.ts +4 -4
- package/dist/components/calcite-checkbox/customElement.js +6 -4
- package/dist/components/calcite-chip/customElement.d.ts +6 -6
- package/dist/components/calcite-chip/customElement.js +1 -1
- package/dist/components/calcite-chip-group/customElement.d.ts +1 -1
- package/dist/components/calcite-chip-group/customElement.js +7 -5
- package/dist/components/calcite-color-picker/customElement.d.ts +10 -10
- package/dist/components/calcite-color-picker/customElement.js +1 -1
- package/dist/components/calcite-color-picker-hex-input/customElement.d.ts +3 -3
- package/dist/components/calcite-color-picker-hex-input/customElement.js +1 -1
- package/dist/components/calcite-color-picker-swatch/customElement.d.ts +1 -1
- package/dist/components/calcite-color-picker-swatch/customElement.js +2 -2
- package/dist/components/calcite-combobox/customElement.d.ts +8 -8
- package/dist/components/calcite-combobox/customElement.js +2 -2
- package/dist/components/calcite-combobox-item/customElement.d.ts +5 -5
- package/dist/components/calcite-combobox-item/customElement.js +1 -1
- package/dist/components/calcite-combobox-item-group/customElement.js +1 -1
- package/dist/components/calcite-date-picker/customElement.d.ts +2 -2
- package/dist/components/calcite-date-picker/customElement.js +4 -2
- package/dist/components/calcite-date-picker-day/customElement.d.ts +4 -4
- package/dist/components/calcite-date-picker-day/customElement.js +5 -3
- package/dist/components/calcite-date-picker-month/customElement.d.ts +1 -1
- package/dist/components/calcite-date-picker-month/customElement.js +1 -1
- package/dist/components/calcite-date-picker-month-header/customElement.js +2 -2
- package/dist/components/calcite-dialog/customElement.d.ts +11 -11
- package/dist/components/calcite-dialog/customElement.js +9 -7
- package/dist/components/calcite-dropdown/customElement.d.ts +3 -3
- package/dist/components/calcite-dropdown/customElement.js +15 -11
- package/dist/components/calcite-dropdown-group/customElement.js +1 -1
- package/dist/components/calcite-dropdown-item/customElement.d.ts +2 -2
- package/dist/components/calcite-dropdown-item/customElement.js +7 -5
- package/dist/components/calcite-fab/customElement.d.ts +4 -4
- package/dist/components/calcite-fab/customElement.js +6 -4
- package/dist/components/calcite-filter/customElement.d.ts +1 -1
- package/dist/components/calcite-filter/customElement.js +6 -4
- package/dist/components/calcite-flow/customElement.js +1 -1
- package/dist/components/calcite-flow-item/customElement.d.ts +10 -10
- package/dist/components/calcite-flow-item/customElement.js +1 -1
- package/dist/components/calcite-graph/customElement.js +1 -1
- package/dist/components/calcite-handle/customElement.d.ts +2 -2
- package/dist/components/calcite-handle/customElement.js +6 -4
- package/dist/components/calcite-icon/customElement.d.ts +2 -2
- package/dist/components/calcite-icon/customElement.js +1 -1
- package/dist/components/calcite-inline-editable/customElement.d.ts +4 -4
- package/dist/components/calcite-inline-editable/customElement.js +1 -1
- package/dist/components/calcite-input/customElement.d.ts +9 -9
- package/dist/components/calcite-input/customElement.js +1 -1
- package/dist/components/calcite-input-date-picker/customElement.d.ts +7 -7
- package/dist/components/calcite-input-date-picker/customElement.js +1 -1
- package/dist/components/calcite-input-message/customElement.d.ts +1 -1
- package/dist/components/calcite-input-message/customElement.js +1 -1
- package/dist/components/calcite-input-number/customElement.d.ts +8 -8
- package/dist/components/calcite-input-number/customElement.js +1 -1
- package/dist/components/calcite-input-text/customElement.d.ts +6 -6
- package/dist/components/calcite-input-text/customElement.js +1 -1
- package/dist/components/calcite-input-time-picker/customElement.d.ts +5 -5
- package/dist/components/calcite-input-time-picker/customElement.js +1 -1
- package/dist/components/calcite-input-time-zone/customElement.d.ts +5 -5
- package/dist/components/calcite-input-time-zone/customElement.js +1 -1
- package/dist/components/calcite-label/customElement.js +1 -1
- package/dist/components/calcite-link/customElement.d.ts +1 -1
- package/dist/components/calcite-link/customElement.js +1 -1
- package/dist/components/calcite-list/customElement.d.ts +5 -5
- package/dist/components/calcite-list/customElement.js +2 -2
- package/dist/components/calcite-list-item/customElement.d.ts +9 -9
- package/dist/components/calcite-list-item/customElement.js +5 -1
- package/dist/components/calcite-list-item-group/customElement.d.ts +1 -1
- package/dist/components/calcite-list-item-group/customElement.js +1 -1
- package/dist/components/calcite-loader/customElement.d.ts +1 -1
- package/dist/components/calcite-loader/customElement.js +1 -1
- package/dist/components/calcite-menu/customElement.js +4 -2
- package/dist/components/calcite-menu-item/customElement.d.ts +3 -3
- package/dist/components/calcite-menu-item/customElement.js +11 -9
- package/dist/components/calcite-meter/customElement.d.ts +4 -4
- package/dist/components/calcite-meter/customElement.js +16 -16
- package/dist/components/calcite-modal/customElement.d.ts +7 -7
- package/dist/components/calcite-modal/customElement.js +1 -1
- package/dist/components/calcite-navigation/customElement.d.ts +1 -1
- package/dist/components/calcite-navigation/customElement.js +6 -4
- package/dist/components/calcite-navigation-logo/customElement.d.ts +2 -2
- package/dist/components/calcite-navigation-logo/customElement.js +6 -2
- package/dist/components/calcite-navigation-user/customElement.d.ts +2 -2
- package/dist/components/calcite-navigation-user/customElement.js +4 -2
- package/dist/components/calcite-notice/customElement.d.ts +4 -4
- package/dist/components/calcite-notice/customElement.js +4 -4
- package/dist/components/calcite-option/customElement.d.ts +2 -2
- package/dist/components/calcite-option/customElement.js +1 -1
- package/dist/components/calcite-option-group/customElement.d.ts +1 -1
- package/dist/components/calcite-option-group/customElement.js +1 -1
- package/dist/components/calcite-pagination/customElement.d.ts +1 -1
- package/dist/components/calcite-pagination/customElement.js +6 -5
- package/dist/components/calcite-panel/customElement.d.ts +8 -8
- package/dist/components/calcite-panel/customElement.js +5 -5
- package/dist/components/calcite-popover/customElement.d.ts +7 -7
- package/dist/components/calcite-popover/customElement.js +1 -1
- package/dist/components/calcite-progress/customElement.d.ts +1 -1
- package/dist/components/calcite-progress/customElement.js +1 -1
- package/dist/components/calcite-radio-button/customElement.d.ts +3 -3
- package/dist/components/calcite-radio-button/customElement.js +1 -1
- package/dist/components/calcite-radio-button-group/customElement.d.ts +2 -2
- package/dist/components/calcite-radio-button-group/customElement.js +7 -2
- package/dist/components/calcite-rating/customElement.d.ts +3 -3
- package/dist/components/calcite-rating/customElement.js +4 -2
- package/dist/components/calcite-scrim/customElement.d.ts +1 -1
- package/dist/components/calcite-scrim/customElement.js +1 -1
- package/dist/components/calcite-segmented-control/customElement.d.ts +2 -2
- package/dist/components/calcite-segmented-control/customElement.js +4 -2
- package/dist/components/calcite-segmented-control-item/customElement.d.ts +2 -2
- package/dist/components/calcite-segmented-control-item/customElement.js +1 -1
- package/dist/components/calcite-select/customElement.d.ts +2 -2
- package/dist/components/calcite-select/customElement.js +4 -2
- package/dist/components/calcite-sheet/customElement.d.ts +5 -5
- package/dist/components/calcite-sheet/customElement.js +4 -2
- package/dist/components/calcite-shell/customElement.js +1 -1
- package/dist/components/calcite-shell-center-row/customElement.d.ts +1 -1
- package/dist/components/calcite-shell-center-row/customElement.js +1 -1
- package/dist/components/calcite-shell-panel/customElement.d.ts +1 -1
- package/dist/components/calcite-shell-panel/customElement.js +1 -1
- package/dist/components/calcite-slider/customElement.d.ts +9 -9
- package/dist/components/calcite-slider/customElement.js +2 -2
- package/dist/components/calcite-sort-handle/customElement.d.ts +3 -3
- package/dist/components/calcite-sort-handle/customElement.js +4 -2
- package/dist/components/calcite-sortable-list/customElement.d.ts +2 -2
- package/dist/components/calcite-sortable-list/customElement.js +1 -1
- package/dist/components/calcite-split-button/customElement.d.ts +2 -2
- package/dist/components/calcite-split-button/customElement.js +4 -2
- package/dist/components/calcite-stack/customElement.d.ts +1 -1
- package/dist/components/calcite-stack/customElement.js +1 -1
- package/dist/components/calcite-stepper/customElement.d.ts +2 -2
- package/dist/components/calcite-stepper/customElement.js +1 -1
- package/dist/components/calcite-stepper-item/customElement.d.ts +5 -5
- package/dist/components/calcite-stepper-item/customElement.js +6 -4
- package/dist/components/calcite-swatch/customElement.d.ts +2 -2
- package/dist/components/calcite-swatch/customElement.js +6 -4
- package/dist/components/calcite-swatch-group/customElement.d.ts +1 -1
- package/dist/components/calcite-swatch-group/customElement.js +7 -5
- package/dist/components/calcite-switch/customElement.d.ts +2 -2
- package/dist/components/calcite-switch/customElement.js +1 -1
- package/dist/components/calcite-tab/customElement.d.ts +1 -1
- package/dist/components/calcite-tab/customElement.js +1 -1
- package/dist/components/calcite-tab-nav/customElement.js +1 -1
- package/dist/components/calcite-tab-title/customElement.d.ts +4 -4
- package/dist/components/calcite-tab-title/customElement.js +1 -1
- package/dist/components/calcite-table/customElement.d.ts +4 -10
- package/dist/components/calcite-table/customElement.js +15 -28
- package/dist/components/calcite-table-cell/customElement.js +7 -5
- package/dist/components/calcite-table-header/customElement.js +6 -4
- package/dist/components/calcite-table-row/customElement.d.ts +2 -2
- package/dist/components/calcite-table-row/customElement.js +5 -5
- package/dist/components/calcite-tabs/customElement.d.ts +1 -1
- package/dist/components/calcite-tabs/customElement.js +1 -1
- package/dist/components/calcite-text-area/customElement.d.ts +5 -5
- package/dist/components/calcite-text-area/customElement.js +1 -1
- package/dist/components/calcite-tile/customElement.d.ts +5 -5
- package/dist/components/calcite-tile/customElement.js +6 -2
- package/dist/components/calcite-tile-group/customElement.d.ts +1 -1
- package/dist/components/calcite-tile-group/customElement.js +1 -1
- package/dist/components/calcite-tile-select/customElement.d.ts +4 -4
- package/dist/components/calcite-tile-select/customElement.js +4 -2
- package/dist/components/calcite-tile-select-group/customElement.d.ts +1 -1
- package/dist/components/calcite-tile-select-group/customElement.js +1 -1
- package/dist/components/calcite-time-picker/customElement.js +1 -1
- package/dist/components/calcite-tip/customElement.d.ts +3 -3
- package/dist/components/calcite-tip/customElement.js +1 -1
- package/dist/components/calcite-tip-group/customElement.js +1 -1
- package/dist/components/calcite-tip-manager/customElement.d.ts +1 -1
- package/dist/components/calcite-tip-manager/customElement.js +1 -1
- package/dist/components/calcite-tooltip/customElement.d.ts +1 -1
- package/dist/components/calcite-tooltip/customElement.js +1 -1
- package/dist/components/calcite-tree/customElement.d.ts +1 -1
- package/dist/components/calcite-tree/customElement.js +1 -1
- package/dist/components/calcite-tree-item/customElement.d.ts +4 -4
- package/dist/components/calcite-tree-item/customElement.js +4 -4
- package/dist/controllers/useFocusTrap.d.ts +1 -1
- package/dist/docs/api.json +656 -686
- package/dist/docs/docs.json +329 -351
- package/dist/docs/supported-browsers.json +1 -1
- package/dist/docs/translations.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +327 -332
- package/dist/docs/web-types.json +655 -668
- package/dist/extras/vscode-data.json +327 -332
- package/dist/index.js +1 -1
- package/dist/loader.js +2 -2
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +116 -116
- package/dist/types/preact10.d.ts +1000 -0
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/dist/utils/dom.d.ts +4 -0
- package/dist/utils/focusTrapComponent.d.ts +2 -2
- package/dist/utils/sortableComponent.d.ts +3 -3
- package/package.json +9 -9
- package/dist/calcite/2TLIR5MU.js +0 -4
- package/dist/calcite/43L3KYPG.js +0 -4
- package/dist/calcite/4R2VF5LB.js +0 -4
- package/dist/calcite/7KQCKP2O.js +0 -4
- package/dist/calcite/AEIQN34Q.js +0 -4
- package/dist/calcite/B5R5QBUW.js +0 -4
- package/dist/calcite/BNPZDIQB.js +0 -4
- package/dist/calcite/GSR74YD4.js +0 -4
- package/dist/calcite/J2MWSK3B.js +0 -4
- package/dist/calcite/L45UUDBW.js +0 -4
- package/dist/calcite/LVWOPSUU.js +0 -4
- package/dist/calcite/NCO77WGN.js +0 -4
- package/dist/calcite/NSBHWYAY.js +0 -4
- package/dist/calcite/OPJ22TFX.js +0 -4
- package/dist/calcite/Q5HXJU6U.js +0 -4
- package/dist/calcite/STRBGN2L.js +0 -4
- package/dist/calcite/UXBMJBWX.js +0 -5
- package/dist/calcite/ZMLAJ7ZG.js +0 -4
- package/dist/calcite/assets/icon/integerSet16.json +0 -1
- package/dist/calcite/assets/icon/integerSet24.json +0 -1
- package/dist/calcite/assets/icon/integerSet32.json +0 -1
- package/dist/calcite/assets/icon/missionSystemMessage16.json +0 -1
- package/dist/calcite/assets/icon/missionSystemMessage24.json +0 -1
- package/dist/calcite/assets/icon/missionSystemMessage32.json +0 -1
- package/dist/calcite/assets/icon/numberSet16.json +0 -1
- package/dist/calcite/assets/icon/numberSet24.json +0 -1
- package/dist/calcite/assets/icon/numberSet32.json +0 -1
|
@@ -8,13 +8,13 @@ import { Label } from '../calcite-label/customElement.js';
|
|
|
8
8
|
|
|
9
9
|
export declare class Checkbox extends LitElement {
|
|
10
10
|
/**
|
|
11
|
-
* When
|
|
11
|
+
* When `true`, the component is checked.
|
|
12
12
|
*
|
|
13
13
|
* @default false
|
|
14
14
|
*/
|
|
15
15
|
checked: boolean;
|
|
16
16
|
/**
|
|
17
|
-
* When
|
|
17
|
+
* When `true`, interaction is prevented and the component is displayed with lower opacity.
|
|
18
18
|
*
|
|
19
19
|
* @default false
|
|
20
20
|
*/
|
|
@@ -26,7 +26,7 @@ export declare class Checkbox extends LitElement {
|
|
|
26
26
|
*/
|
|
27
27
|
form: string;
|
|
28
28
|
/**
|
|
29
|
-
* When
|
|
29
|
+
* When `true`, the component is initially indeterminate, which is independent from its `checked` value.
|
|
30
30
|
*
|
|
31
31
|
* The state is visual only, and can look different across browsers.
|
|
32
32
|
*
|
|
@@ -47,7 +47,7 @@ export declare class Checkbox extends LitElement {
|
|
|
47
47
|
*/
|
|
48
48
|
name: string;
|
|
49
49
|
/**
|
|
50
|
-
* When
|
|
50
|
+
* When `true` and the component resides in a form,
|
|
51
51
|
* the component must have a value in order for the form to submit.
|
|
52
52
|
*
|
|
53
53
|
* @default false
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.3.
|
|
3
|
+
v3.3.2 */
|
|
4
4
|
import { C as CSS_UTILITY, c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, svg, html } from "lit";
|
|
6
6
|
import { createRef, ref } from "lit-html/directives/ref.js";
|
|
@@ -26,7 +26,7 @@ class Checkbox extends LitElement {
|
|
|
26
26
|
this.onLabelClick = () => {
|
|
27
27
|
this.toggle();
|
|
28
28
|
};
|
|
29
|
-
this.
|
|
29
|
+
this.toggleEl = createRef();
|
|
30
30
|
this.messages = useT9n();
|
|
31
31
|
this.focusSetter = useSetFocus()(this);
|
|
32
32
|
this.checked = false;
|
|
@@ -62,7 +62,9 @@ class Checkbox extends LitElement {
|
|
|
62
62
|
this.styles = styles;
|
|
63
63
|
}
|
|
64
64
|
async setFocus(options) {
|
|
65
|
-
return this.focusSetter(() =>
|
|
65
|
+
return this.focusSetter(() => {
|
|
66
|
+
return this.toggleEl.value;
|
|
67
|
+
}, options);
|
|
66
68
|
}
|
|
67
69
|
connectedCallback() {
|
|
68
70
|
super.connectedCallback();
|
|
@@ -111,7 +113,7 @@ class Checkbox extends LitElement {
|
|
|
111
113
|
return InteractiveContainer({ disabled: this.disabled, children: html`<div .ariaChecked=${this.checked} .ariaLabel=${getLabelText(this)} .ariaRequired=${this.required} class=${safeClassMap({
|
|
112
114
|
[CSS.toggle]: true,
|
|
113
115
|
[CSS_UTILITY.rtl]: rtl
|
|
114
|
-
})} @blur=${this.onToggleBlur} @focus=${this.onToggleFocus} role=checkbox tabindex=${this.disabled ? void 0 : 0} ${ref(this.
|
|
116
|
+
})} @blur=${this.onToggleBlur} @focus=${this.onToggleFocus} role=checkbox tabindex=${this.disabled ? void 0 : 0} ${ref(this.toggleEl)}><svg aria-hidden=true class=${safeClassMap(CSS.check)} viewBox="0 0 16 16">${svg`<path d=${this.getPath() ?? nothing} />`}</svg><slot></slot></div>${this.labelText && InternalLabel({ bottomSpacingDisabled: true, labelText: this.labelText, required: this.required, spacingInlineStart: true, tooltipText: this.messages.required }) || ""}${HiddenFormInputSlot({ component: this })}` });
|
|
115
117
|
}
|
|
116
118
|
}
|
|
117
119
|
customElement("calcite-checkbox", Checkbox);
|
|
@@ -18,25 +18,25 @@ export declare class Chip extends LitElement {
|
|
|
18
18
|
*/
|
|
19
19
|
appearance: Extract<"outline" | "outline-fill" | "solid", Appearance>;
|
|
20
20
|
/**
|
|
21
|
-
* When
|
|
21
|
+
* When `true`, a close button is added to the component.
|
|
22
22
|
*
|
|
23
23
|
* @default false
|
|
24
24
|
*/
|
|
25
25
|
closable: boolean;
|
|
26
26
|
/**
|
|
27
|
-
* When
|
|
27
|
+
* When `true`, hides the component.
|
|
28
28
|
*
|
|
29
29
|
* @default false
|
|
30
30
|
*/
|
|
31
31
|
closed: boolean;
|
|
32
32
|
/**
|
|
33
|
-
* When
|
|
33
|
+
* When `true`, the component closes when the Delete or Backspace key is pressed while focused.
|
|
34
34
|
*
|
|
35
35
|
* @default false
|
|
36
36
|
*/
|
|
37
37
|
closeOnDelete: boolean;
|
|
38
38
|
/**
|
|
39
|
-
* When
|
|
39
|
+
* When `true`, interaction is prevented and the component is displayed with lower opacity.
|
|
40
40
|
*
|
|
41
41
|
* @default false
|
|
42
42
|
*/
|
|
@@ -44,7 +44,7 @@ export declare class Chip extends LitElement {
|
|
|
44
44
|
/** Specifies an icon to display. */
|
|
45
45
|
icon: IconNameOrString;
|
|
46
46
|
/**
|
|
47
|
-
* When
|
|
47
|
+
* When `true`, the icon will be flipped when the element direction is right-to-left (`"rtl"`).
|
|
48
48
|
*
|
|
49
49
|
* @default false
|
|
50
50
|
*/
|
|
@@ -70,7 +70,7 @@ export declare class Chip extends LitElement {
|
|
|
70
70
|
*/
|
|
71
71
|
scale: Scale;
|
|
72
72
|
/**
|
|
73
|
-
* When
|
|
73
|
+
* When `true`, the component is selected.
|
|
74
74
|
*
|
|
75
75
|
* @default false
|
|
76
76
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.3.
|
|
3
|
+
v3.3.2 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, isServer, html } from "lit";
|
|
6
6
|
import { createRef, ref } from "lit-html/directives/ref.js";
|
|
@@ -8,7 +8,7 @@ import { Chip } from '../calcite-chip/customElement.js';
|
|
|
8
8
|
/** @slot - A slot for adding one or more `calcite-chip`s. */
|
|
9
9
|
export declare class ChipGroup extends LitElement {
|
|
10
10
|
/**
|
|
11
|
-
* When
|
|
11
|
+
* When `true`, interaction is prevented and the component is displayed with lower opacity.
|
|
12
12
|
*
|
|
13
13
|
* @default false
|
|
14
14
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.3.
|
|
3
|
+
v3.3.2 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, html } from "lit";
|
|
6
6
|
import { createRef, ref } from "lit-html/directives/ref.js";
|
|
@@ -13,7 +13,7 @@ class ChipGroup extends LitElement {
|
|
|
13
13
|
constructor() {
|
|
14
14
|
super();
|
|
15
15
|
this.items = [];
|
|
16
|
-
this.
|
|
16
|
+
this.slotRefEl = createRef();
|
|
17
17
|
this.focusSetter = useSetFocus()(this);
|
|
18
18
|
this.disabled = false;
|
|
19
19
|
this.scale = "m";
|
|
@@ -33,7 +33,9 @@ class ChipGroup extends LitElement {
|
|
|
33
33
|
this.styles = styles;
|
|
34
34
|
}
|
|
35
35
|
async setFocus(options) {
|
|
36
|
-
return this.focusSetter(() =>
|
|
36
|
+
return this.focusSetter(() => {
|
|
37
|
+
return this.selectedItems[0] || this.items[0];
|
|
38
|
+
}, options);
|
|
37
39
|
}
|
|
38
40
|
willUpdate(changes) {
|
|
39
41
|
if (changes.has("selectionMode") && (this.hasUpdated || this.selectionMode !== "none")) {
|
|
@@ -95,7 +97,7 @@ class ChipGroup extends LitElement {
|
|
|
95
97
|
event.stopPropagation();
|
|
96
98
|
}
|
|
97
99
|
updateItems(event) {
|
|
98
|
-
const itemsFromSlot = this.
|
|
100
|
+
const itemsFromSlot = this.slotRefEl.value?.assignedElements({ flatten: true }).filter((el) => el?.matches("calcite-chip"));
|
|
99
101
|
this.items = !event ? itemsFromSlot : slotChangeGetAssignedElements(event);
|
|
100
102
|
if (this.items?.length < 1) {
|
|
101
103
|
return;
|
|
@@ -138,7 +140,7 @@ class ChipGroup extends LitElement {
|
|
|
138
140
|
render() {
|
|
139
141
|
const role = this.selectionMode === "none" || this.selectionMode === "multiple" ? "group" : "radiogroup";
|
|
140
142
|
const { disabled } = this;
|
|
141
|
-
return InteractiveContainer({ disabled, children: html`<div .ariaLabel=${this.label} class="container" .role=${role}><slot @slotchange=${this.updateItems} ${ref(this.
|
|
143
|
+
return InteractiveContainer({ disabled, children: html`<div .ariaLabel=${this.label} class="container" .role=${role}><slot @slotchange=${this.updateItems} ${ref(this.slotRefEl)}></slot></div>` });
|
|
142
144
|
}
|
|
143
145
|
}
|
|
144
146
|
customElement("calcite-chip-group", ChipGroup);
|
|
@@ -9,42 +9,42 @@ import { Channels, ColorMode, ColorValue, InternalColor } from './interfaces';
|
|
|
9
9
|
|
|
10
10
|
export declare class ColorPicker extends LitElement {
|
|
11
11
|
/**
|
|
12
|
-
* When
|
|
12
|
+
* When `true`, an empty color (`null`) will be allowed as a `value`.
|
|
13
13
|
*
|
|
14
|
-
* When
|
|
14
|
+
* When `false`, a color value is enforced, and clearing the input or blurring will restore the last valid `value`.
|
|
15
15
|
*
|
|
16
16
|
* @deprecated Use `clearable` instead
|
|
17
17
|
* @default false
|
|
18
18
|
*/
|
|
19
19
|
allowEmpty: boolean;
|
|
20
20
|
/**
|
|
21
|
-
* When
|
|
21
|
+
* When `true`, the component will allow updates to the color's alpha value.
|
|
22
22
|
*
|
|
23
23
|
* @default false
|
|
24
24
|
*/
|
|
25
25
|
alphaChannel: boolean;
|
|
26
26
|
/**
|
|
27
|
-
* When
|
|
27
|
+
* When `true`, hides the RGB/HSV channel inputs.
|
|
28
28
|
*
|
|
29
29
|
* @default false
|
|
30
30
|
*/
|
|
31
31
|
channelsDisabled: boolean;
|
|
32
32
|
/**
|
|
33
|
-
* When
|
|
33
|
+
* When `true`, an empty color (`null`) will be allowed as a `value`.
|
|
34
34
|
*
|
|
35
|
-
* When
|
|
35
|
+
* When `false`, a color value is enforced, and clearing the input or blurring will restore the last valid `value`.
|
|
36
36
|
*
|
|
37
37
|
* @default false
|
|
38
38
|
*/
|
|
39
39
|
clearable: boolean;
|
|
40
40
|
/**
|
|
41
|
-
* When
|
|
41
|
+
* When `true`, interaction is prevented and the component is displayed with lower opacity.
|
|
42
42
|
*
|
|
43
43
|
* @default false
|
|
44
44
|
*/
|
|
45
45
|
disabled: boolean;
|
|
46
46
|
/**
|
|
47
|
-
* When
|
|
47
|
+
* When `true`, hides the color field.
|
|
48
48
|
*
|
|
49
49
|
* @default false
|
|
50
50
|
*/
|
|
@@ -58,7 +58,7 @@ export declare class ColorPicker extends LitElement {
|
|
|
58
58
|
*/
|
|
59
59
|
format: Format;
|
|
60
60
|
/**
|
|
61
|
-
* When
|
|
61
|
+
* When `true`, hides the hex input.
|
|
62
62
|
*
|
|
63
63
|
* @default false
|
|
64
64
|
*/
|
|
@@ -68,7 +68,7 @@ export declare class ColorPicker extends LitElement {
|
|
|
68
68
|
/** Specifies the Unicode numeral system used by the component for localization. */
|
|
69
69
|
numberingSystem: NumberingSystem;
|
|
70
70
|
/**
|
|
71
|
-
* When
|
|
71
|
+
* When `true`, hides the saved colors section.
|
|
72
72
|
*
|
|
73
73
|
* @default false
|
|
74
74
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.3.
|
|
3
|
+
v3.3.2 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { repeat } from "lit/directives/repeat.js";
|
|
6
6
|
import { keyed } from "lit/directives/keyed.js";
|
|
@@ -8,15 +8,15 @@ import { ColorPicker } from '../calcite-color-picker/customElement.js';
|
|
|
8
8
|
|
|
9
9
|
export declare class ColorPickerHexInput extends LitElement {
|
|
10
10
|
/**
|
|
11
|
-
* When
|
|
11
|
+
* When `true`, the component will allow updates to the color's alpha value.
|
|
12
12
|
*
|
|
13
13
|
* @default false
|
|
14
14
|
*/
|
|
15
15
|
alphaChannel: boolean;
|
|
16
16
|
/**
|
|
17
|
-
* When
|
|
17
|
+
* When `true`, an empty color (`undefined`) will be allowed as a `value`.
|
|
18
18
|
*
|
|
19
|
-
* When
|
|
19
|
+
* When `false`, a color value is enforced, and clearing the input or blurring will restore the last valid `value`.
|
|
20
20
|
*
|
|
21
21
|
* @default false
|
|
22
22
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.3.
|
|
3
|
+
v3.3.2 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { keyed } from "lit/directives/keyed.js";
|
|
6
6
|
import Color from "color";
|
|
@@ -6,7 +6,7 @@ import { Scale } from '../interfaces';
|
|
|
6
6
|
/** @deprecated Use the `calcite-swatch-group` and `calcite-swatch` components instead. */
|
|
7
7
|
export declare class ColorPickerSwatch extends LitElement {
|
|
8
8
|
/**
|
|
9
|
-
* When
|
|
9
|
+
* When `true`, the component is active.
|
|
10
10
|
*
|
|
11
11
|
* @default false
|
|
12
12
|
*/
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.3.
|
|
3
|
+
v3.3.2 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { keyed } from "lit/directives/keyed.js";
|
|
6
6
|
import Color from "color";
|
|
7
7
|
import { css, html, svg, nothing } from "lit";
|
|
8
8
|
import { LitElement, safeClassMap } from "@arcgis/lumina";
|
|
9
|
-
import {
|
|
9
|
+
import { C as getModeName } from "../../chunks/dom.js";
|
|
10
10
|
import { h as hexify } from "../../chunks/utils.js";
|
|
11
11
|
const CSS = {
|
|
12
12
|
swatch: "swatch",
|
|
@@ -18,19 +18,19 @@ import { SelectionDisplay } from './interfaces';
|
|
|
18
18
|
*/
|
|
19
19
|
export declare class Combobox extends LitElement {
|
|
20
20
|
/**
|
|
21
|
-
* When
|
|
21
|
+
* When `true`, allows entry of custom values, which are not in the original set of items.
|
|
22
22
|
*
|
|
23
23
|
* @default false
|
|
24
24
|
*/
|
|
25
25
|
allowCustomValues: boolean;
|
|
26
26
|
/**
|
|
27
|
-
* When
|
|
27
|
+
* When `true`, the value-clearing will be disabled.
|
|
28
28
|
*
|
|
29
29
|
* @default false
|
|
30
30
|
*/
|
|
31
31
|
clearDisabled: boolean;
|
|
32
32
|
/**
|
|
33
|
-
* When
|
|
33
|
+
* When `true`, interaction is prevented and the component is displayed with lower opacity.
|
|
34
34
|
*
|
|
35
35
|
* @default false
|
|
36
36
|
*/
|
|
@@ -73,7 +73,7 @@ export declare class Combobox extends LitElement {
|
|
|
73
73
|
*/
|
|
74
74
|
name: string;
|
|
75
75
|
/**
|
|
76
|
-
* When
|
|
76
|
+
* When `true`, displays and positions the component.
|
|
77
77
|
*
|
|
78
78
|
* @default false
|
|
79
79
|
*/
|
|
@@ -93,19 +93,19 @@ export declare class Combobox extends LitElement {
|
|
|
93
93
|
/** Specifies the placeholder icon for the input. */
|
|
94
94
|
placeholderIcon: IconNameOrString;
|
|
95
95
|
/**
|
|
96
|
-
* When
|
|
96
|
+
* When `true`, the icon will be flipped when the element direction is right-to-left (`"rtl"`).
|
|
97
97
|
*
|
|
98
98
|
* @default false
|
|
99
99
|
*/
|
|
100
100
|
placeholderIconFlipRtl: boolean;
|
|
101
101
|
/**
|
|
102
|
-
* When
|
|
102
|
+
* When `true`, the component's value can be read, but controls are not accessible and the value cannot be modified.
|
|
103
103
|
*
|
|
104
104
|
* @default false
|
|
105
105
|
*/
|
|
106
106
|
readOnly: boolean;
|
|
107
107
|
/**
|
|
108
|
-
* When
|
|
108
|
+
* When `true` and the component resides in a form,
|
|
109
109
|
* the component must have a value in order for the form to submit.
|
|
110
110
|
*
|
|
111
111
|
* @default false
|
|
@@ -118,7 +118,7 @@ export declare class Combobox extends LitElement {
|
|
|
118
118
|
*/
|
|
119
119
|
scale: Scale;
|
|
120
120
|
/**
|
|
121
|
-
* When
|
|
121
|
+
* When `true` and `selectionMode` is `"multiple"` or `"ancestors"`, provides a checkbox for selecting all `calcite-combobox-item`s.
|
|
122
122
|
*
|
|
123
123
|
* @default false
|
|
124
124
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.3.
|
|
3
|
+
v3.3.2 */
|
|
4
4
|
import { D as DEBOUNCE, c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { keyed } from "lit/directives/keyed.js";
|
|
6
6
|
import { live } from "lit/directives/live.js";
|
|
@@ -11,7 +11,7 @@ import { css, nothing, html } from "lit";
|
|
|
11
11
|
import { createRef, ref } from "lit-html/directives/ref.js";
|
|
12
12
|
import { LitElement, createEvent, stringOrBoolean, safeClassMap } from "@arcgis/lumina";
|
|
13
13
|
import { f as filter } from "../../chunks/filter.js";
|
|
14
|
-
import {
|
|
14
|
+
import { B as getElementWidth, A as getTextWidth, b as focusElement } from "../../chunks/dom.js";
|
|
15
15
|
import { b as defaultMenuPlacement, r as reposition, c as connectFloatingUI, a as disconnectFloatingUI, f as filterValidFlipPlacements, h as hideFloatingUI, F as FloatingCSS } from "../../chunks/floating-ui.js";
|
|
16
16
|
import { c as connectForm, a as afterConnectDefaultValueSet, d as disconnectForm, s as submitForm, H as HiddenFormInputSlot } from "../../chunks/form.js";
|
|
17
17
|
import { g as guid } from "../../chunks/guid.js";
|
|
@@ -13,7 +13,7 @@ import { IconNameOrString } from '../calcite-icon/interfaces';
|
|
|
13
13
|
*/
|
|
14
14
|
export declare class ComboboxItem extends LitElement {
|
|
15
15
|
/**
|
|
16
|
-
* When
|
|
16
|
+
* When `true`, the component is active.
|
|
17
17
|
*
|
|
18
18
|
* @default false
|
|
19
19
|
*/
|
|
@@ -23,13 +23,13 @@ export declare class ComboboxItem extends LitElement {
|
|
|
23
23
|
/** A description for the component, which displays below the heading. */
|
|
24
24
|
description: string;
|
|
25
25
|
/**
|
|
26
|
-
* When
|
|
26
|
+
* When `true`, interaction is prevented and the component is displayed with lower opacity.
|
|
27
27
|
*
|
|
28
28
|
* @default false
|
|
29
29
|
*/
|
|
30
30
|
disabled: boolean;
|
|
31
31
|
/**
|
|
32
|
-
* When
|
|
32
|
+
* When `true`, omits the component from the `calcite-combobox` filtered search results.
|
|
33
33
|
*
|
|
34
34
|
* @default false
|
|
35
35
|
*/
|
|
@@ -41,7 +41,7 @@ export declare class ComboboxItem extends LitElement {
|
|
|
41
41
|
/** Specifies an icon to display. */
|
|
42
42
|
icon: IconNameOrString;
|
|
43
43
|
/**
|
|
44
|
-
* When
|
|
44
|
+
* When `true`, the icon will be flipped when the element direction is right-to-left (`"rtl"`).
|
|
45
45
|
*
|
|
46
46
|
* @default false
|
|
47
47
|
*/
|
|
@@ -51,7 +51,7 @@ export declare class ComboboxItem extends LitElement {
|
|
|
51
51
|
/** Provides additional metadata to the component used in filtering. */
|
|
52
52
|
metadata: Record<string, unknown>;
|
|
53
53
|
/**
|
|
54
|
-
* When
|
|
54
|
+
* When `true`, the component is selected.
|
|
55
55
|
*
|
|
56
56
|
* @default false
|
|
57
57
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.3.
|
|
3
|
+
v3.3.2 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { keyed } from "lit/directives/keyed.js";
|
|
6
6
|
import { css, html, nothing } from "lit";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.3.
|
|
3
|
+
v3.3.2 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, html } from "lit";
|
|
6
6
|
import { LitElement, nothing, safeClassMap, safeStyleMap } from "@arcgis/lumina";
|
|
@@ -48,13 +48,13 @@ export declare class DatePicker extends LitElement {
|
|
|
48
48
|
/** Specifies the Unicode numeral system used by the component for localization. This property cannot be dynamically changed. */
|
|
49
49
|
numberingSystem: NumberingSystem;
|
|
50
50
|
/**
|
|
51
|
-
* When
|
|
51
|
+
* When `true`, disables the default behavior on the third click of narrowing or extending the range and instead starts a new range.
|
|
52
52
|
*
|
|
53
53
|
* @default false
|
|
54
54
|
*/
|
|
55
55
|
proximitySelectionDisabled: boolean;
|
|
56
56
|
/**
|
|
57
|
-
* When
|
|
57
|
+
* When `true`, activates the component's range mode to allow a start and end date.
|
|
58
58
|
*
|
|
59
59
|
* @default false
|
|
60
60
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.3.
|
|
3
|
+
v3.3.2 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, isServer, html } from "lit";
|
|
6
6
|
import { LitElement, createEvent, safeClassMap } from "@arcgis/lumina";
|
|
@@ -42,7 +42,9 @@ class DatePicker extends LitElement {
|
|
|
42
42
|
this.rangeValueChangedByUser = false;
|
|
43
43
|
}
|
|
44
44
|
async setFocus(options) {
|
|
45
|
-
return this.focusSetter(() =>
|
|
45
|
+
return this.focusSetter(() => {
|
|
46
|
+
return this.el;
|
|
47
|
+
}, options);
|
|
46
48
|
}
|
|
47
49
|
async load() {
|
|
48
50
|
await this.loadLocaleData();
|
|
@@ -5,7 +5,7 @@ import { Scale } from '../interfaces';
|
|
|
5
5
|
|
|
6
6
|
export declare class DatePickerDay extends LitElement {
|
|
7
7
|
/**
|
|
8
|
-
* When
|
|
8
|
+
* When `true`, the component is active.
|
|
9
9
|
*
|
|
10
10
|
* @default false
|
|
11
11
|
*/
|
|
@@ -23,7 +23,7 @@ export declare class DatePickerDay extends LitElement {
|
|
|
23
23
|
*/
|
|
24
24
|
day: number;
|
|
25
25
|
/**
|
|
26
|
-
* When
|
|
26
|
+
* When `true`, interaction is prevented and the component is displayed with lower opacity.
|
|
27
27
|
*
|
|
28
28
|
* @default false
|
|
29
29
|
*/
|
|
@@ -41,7 +41,7 @@ export declare class DatePickerDay extends LitElement {
|
|
|
41
41
|
*/
|
|
42
42
|
highlighted: boolean;
|
|
43
43
|
/**
|
|
44
|
-
* When
|
|
44
|
+
* When `true`, activates the component's range mode to allow a start and end date.
|
|
45
45
|
*
|
|
46
46
|
* @default false
|
|
47
47
|
*/
|
|
@@ -55,7 +55,7 @@ export declare class DatePickerDay extends LitElement {
|
|
|
55
55
|
/** Specifies the size of the component. */
|
|
56
56
|
scale: Scale;
|
|
57
57
|
/**
|
|
58
|
-
* When
|
|
58
|
+
* When `true`, the component is selected.
|
|
59
59
|
*
|
|
60
60
|
* @default false
|
|
61
61
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.3.
|
|
3
|
+
v3.3.2 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, html } from "lit";
|
|
6
6
|
import { LitElement, createEvent, setAttribute, safeClassMap } from "@arcgis/lumina";
|
|
@@ -10,7 +10,7 @@ import { u as updateHostInteraction, I as InteractiveContainer } from "../../chu
|
|
|
10
10
|
import { i as isActivationKey } from "../../chunks/key.js";
|
|
11
11
|
import { n as numberStringFormatter } from "../../chunks/locale.js";
|
|
12
12
|
import { u as useSetFocus } from "../../chunks/useSetFocus.js";
|
|
13
|
-
const styles = css`:host{--calcite-internal-color-focus: var( --calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)) )}: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{position:relative;display:flex;cursor:pointer;outline:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.day-wrapper{position:relative;display:flex;inline-size:100%;flex-direction:column;align-items:center;justify-content:center}.day{position:relative;display:flex;inline-size:100%;align-items:center;justify-content:center;font-size:var(--calcite-font-size--2);line-height:1rem;line-height:1;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;line-height:var(--calcite-font-line-height-fixed-base);block-size:var(--calcite-internal-day-size);outline-color:var(--calcite-color-transparent);background-color:var(--calcite-date-picker-day-background-color);color:var(--calcite-date-picker-day-text-color, var(--calcite-color-text-1))}.text{margin-block:1px 0px;margin-inline-start:0px}:host([scale=s]){--calcite-internal-day-size: 32px}:host([scale=s]) .day{font-size:var(--calcite-font-size--2)}:host([scale=m]){--calcite-internal-day-size: 40px}:host([scale=m]) .day{font-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-internal-day-size: 44px}:host([scale=l]) .day{font-size:var(--calcite-font-size-0)}:host(:not([current-month])) .day{opacity:var(--calcite-opacity-full);color:var(--calcite-color-text-3)}:host(:focus:not([disabled]):not([selected]):not([current-month])) .day{color:var(--calcite-color-text-1)}:host(:hover:not([disabled]):not([selected])) .day{background-color:var(--calcite-date-picker-day-background-color-hover, var(--calcite-color-foreground-2));color:var(--calcite-date-picker-day-text-color-hover, var(--calcite-color-text-1))}:host(:not([range]):not([selected]).current-day) .day{color:var(--calcite-date-picker-current-day-text-color, var(--calcite-color-brand));font-weight:var(--calcite-font-weight-bold)}:host(:focus[selected]) .day{z-index:var(--calcite-z-index);outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline:var(--calcite-border-width-md) solid var(--calcite-internal-color-focus);outline-offset:calc(var(--calcite-spacing-base) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))));box-shadow:0 0 0 2px var(--calcite-color-foreground-1)}:host(:focus:not([disabled]):not([selected])) .day{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline:var(--calcite-border-width-md) solid var(--calcite-internal-color-focus);outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host(:hover:not([disabled]):not([selected])) .day{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline:var(--calcite-border-width-md) solid var(--calcite-internal-color-focus);outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host([selected]) .day{font-weight:var(--calcite-font-weight-medium);background-color:var(--calcite-date-picker-day-background-color-selected, var(--calcite-color-brand));color:var(--calcite-date-picker-day-text-color-selected, var(--calcite-color-foreground-1))}:host([range-hover]:not([selected])) .day{background-color:var(--calcite-date-picker-day-outside-range-background-color-hover, var(--calcite-color-foreground-2));color:var(--calcite-date-picker-day-outside-range-text-color-hover, var(--calcite-color-text-1))}:host([highlighted]:not([selected])) .day,:host(:hover[highlighted]:not([selected])) .day{color:var(--calcite-date-picker-day-range-text-color, var(--calcite-color-
|
|
13
|
+
const styles = css`:host{--calcite-internal-color-focus: var( --calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)) )}: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{position:relative;display:flex;cursor:pointer;outline:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.day-wrapper{position:relative;display:flex;inline-size:100%;flex-direction:column;align-items:center;justify-content:center}.day{position:relative;display:flex;inline-size:100%;align-items:center;justify-content:center;font-size:var(--calcite-font-size--2);line-height:1rem;line-height:1;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;line-height:var(--calcite-font-line-height-fixed-base);block-size:var(--calcite-internal-day-size);outline-color:var(--calcite-color-transparent);background-color:var(--calcite-date-picker-day-background-color);color:var(--calcite-date-picker-day-text-color, var(--calcite-color-text-1))}.text{margin-block:1px 0px;margin-inline-start:0px}:host([scale=s]){--calcite-internal-day-size: 32px}:host([scale=s]) .day{font-size:var(--calcite-font-size--2)}:host([scale=m]){--calcite-internal-day-size: 40px}:host([scale=m]) .day{font-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-internal-day-size: 44px}:host([scale=l]) .day{font-size:var(--calcite-font-size-0)}:host(:not([current-month])) .day{opacity:var(--calcite-opacity-full);color:var(--calcite-color-text-3)}:host(:focus:not([disabled]):not([selected]):not([current-month])) .day{color:var(--calcite-color-text-1)}:host(:hover:not([disabled]):not([selected])) .day{background-color:var(--calcite-date-picker-day-background-color-hover, var(--calcite-color-foreground-2));color:var(--calcite-date-picker-day-text-color-hover, var(--calcite-color-text-1))}:host(:not([range]):not([selected]).current-day) .day{color:var(--calcite-date-picker-current-day-text-color, var(--calcite-color-brand));font-weight:var(--calcite-font-weight-bold)}:host(:focus[selected]) .day{z-index:var(--calcite-z-index);outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline:var(--calcite-border-width-md) solid var(--calcite-internal-color-focus);outline-offset:calc(var(--calcite-spacing-base) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))));box-shadow:0 0 0 2px var(--calcite-color-foreground-1)}:host(:focus:not([disabled]):not([selected])) .day{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline:var(--calcite-border-width-md) solid var(--calcite-internal-color-focus);outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host(:hover:not([disabled]):not([selected])) .day{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline:var(--calcite-border-width-md) solid var(--calcite-internal-color-focus);outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host([selected]) .day{font-weight:var(--calcite-font-weight-medium);background-color:var(--calcite-date-picker-day-background-color-selected, var(--calcite-color-brand));color:var(--calcite-date-picker-day-text-color-selected, var(--calcite-color-foreground-1))}:host([range-hover]:not([selected])) .day{background-color:var(--calcite-date-picker-day-outside-range-background-color-hover, var(--calcite-color-foreground-2));color:var(--calcite-date-picker-day-outside-range-text-color-hover, var(--calcite-color-text-1))}:host([highlighted]:not([selected])) .day,:host(:hover[highlighted]:not([selected])) .day{color:var(--calcite-date-picker-day-range-text-color, var(--calcite-color-brand));background-color:var(--calcite-date-picker-day-range-background-color, var(--calcite-color-foreground-current))}:host([disabled]) .day{color:var(--calcite-color-text-2);text-decoration-line:line-through;opacity:var(--calcite-opacity-disabled)}@media (forced-colors: active){.day{border-radius:0}:host([selected]){outline:2px solid canvasText}:host(:hover:not([selected])) .day{border-radius:50%}:host([range][selected]) .day,:host([highlighted]) .day,:host([range-hover]:not([selected])) .day{background-color:highlight}:host([range-hover]) .day,:host([range][selected][start-of-range]) .day,:host([range][selected][end-of-range]) .day{background-color:canvas}}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
14
14
|
const CSS = {
|
|
15
15
|
dayWrapper: "day-wrapper",
|
|
16
16
|
day: "day",
|
|
@@ -42,7 +42,9 @@ class DatePickerDay extends LitElement {
|
|
|
42
42
|
this.styles = styles;
|
|
43
43
|
}
|
|
44
44
|
async setFocus(options) {
|
|
45
|
-
return this.focusSetter(() =>
|
|
45
|
+
return this.focusSetter(() => {
|
|
46
|
+
return this.el;
|
|
47
|
+
}, options);
|
|
46
48
|
}
|
|
47
49
|
load() {
|
|
48
50
|
this.parentDatePickerEl = closestElementCrossShadowBoundary(this.el, "calcite-date-picker");
|
|
@@ -29,7 +29,7 @@ export declare class DatePickerMonth extends LitElement {
|
|
|
29
29
|
/** Specifies the monthStyle used by the component. */
|
|
30
30
|
monthStyle: "abbreviated" | "wide";
|
|
31
31
|
/**
|
|
32
|
-
* When
|
|
32
|
+
* When `true`, activates the component's range mode which renders two calendars for selecting ranges of dates.
|
|
33
33
|
*
|
|
34
34
|
* @default false
|
|
35
35
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.3.
|
|
3
|
+
v3.3.2 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { ref } from "lit/directives/ref.js";
|
|
6
6
|
import { keyed } from "lit/directives/keyed.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.3.
|
|
3
|
+
v3.3.2 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { live } from "lit/directives/live.js";
|
|
6
6
|
import { h as calciteSpacingXxs, i as calciteSpacingBase, j as calciteSpacingSm } from "../../chunks/global.js";
|
|
@@ -8,7 +8,7 @@ import { css, html, nothing } from "lit";
|
|
|
8
8
|
import { createRef, ref } from "lit-html/directives/ref.js";
|
|
9
9
|
import { LitElement, createEvent, safeClassMap } from "@arcgis/lumina";
|
|
10
10
|
import { b as dateFromRange, n as nextMonth, p as prevMonth, g as formatCalendarYear, h as parseCalendarYear, j as getDateInMonth, i as inRange, k as hasSameMonthAndYear, l as getOrder } from "../../chunks/date.js";
|
|
11
|
-
import { l as closestElementCrossShadowBoundary,
|
|
11
|
+
import { l as closestElementCrossShadowBoundary, A as getTextWidth } from "../../chunks/dom.js";
|
|
12
12
|
import { i as isActivationKey } from "../../chunks/key.js";
|
|
13
13
|
import { n as numberStringFormatter } from "../../chunks/locale.js";
|
|
14
14
|
const styles = css`:host{--calcite-internal-color-focus: var( --calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)) )}:host{display:block}.header{display:flex;block-size:100%;align-items:center;justify-content:space-between}.chevron-container{display:flex;align-items:center}:host([scale=s]){block-size:24px;margin:var(--calcite-spacing-xs);margin-inline-start:var(--calcite-spacing-sm)}:host([scale=s]) .chevron-container,:host([scale=s]) .chevron{min-inline-size:24px;block-size:24px}:host([scale=m]){block-size:32px;margin:var(--calcite-spacing-sm);margin-inline-start:var(--calcite-spacing-sm-plus)}:host([scale=m]) .chevron-container,:host([scale=m]) .chevron{min-inline-size:32px;block-size:32px;--calcite-internal-action-padding-block: var(--calcite-spacing-xxs)}:host([scale=l]){block-size:44px;margin:var(--calcite-spacing-xs);margin-inline-start:var(--calcite-spacing-sm)}:host([scale=l]) .chevron-container,:host([scale=l]) .chevron{min-inline-size:44px;block-size:44px;--calcite-internal-action-padding-block: var(--calcite-spacing-sm-plus)}.chevron{box-sizing:content-box;display:flex;block-size:100%;inline-size:100%;flex-grow:0;cursor:pointer;align-items:center;justify-content:center;border-style:none;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;--calcite-internal-action-padding-block: 0;--calcite-action-background-color: var(--calcite-date-picker-header-action-background-color);--calcite-action-background-color-hover: var(--calcite-date-picker-header-action-background-color-hover);--calcite-action-background-color-press: var(--calcite-date-picker-header-action-background-color-press);--calcite-action-text-color: var(--calcite-date-picker-header-action-text-color);--calcite-action-text-color-press: var(--calcite-date-picker-header-action-text-color-press)}.chevron:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline:var(--calcite-border-width-md) solid var(--calcite-internal-color-focus);outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.chevron[aria-disabled=true]{pointer-events:none}.month-year-container{display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;align-items:center;justify-content:flex-start;text-align:center;line-height:1;gap:var(--calcite-spacing-xxs)}.month-year-container.range-calendar{justify-content:center}.year-container{position:relative;display:flex;block-size:100%}.suffix{display:flex;align-items:center}.year,.suffix{margin-inline:var(--calcite-spacing-xxs);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-date-picker-year-text-color, var(--calcite-color-text-1));font-size:var(--calcite-font-size-md);line-height:var(--calcite-font-line-height-fixed-lg)}.year{position:relative;display:inline-block;border-style:none;background-color:transparent;text-align:center;font-family:inherit;outline-color:transparent;inline-size:44px}.year:hover{transition-timing-function:cubic-bezier(.4,0,.2,1);transition-property:outline-color;outline:2px solid var(--calcite-color-border-2);outline-offset:-2px}.year:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline:var(--calcite-border-width-md) solid var(--calcite-internal-color-focus);outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.month-select{--calcite-select-internal-border-width: 0;--calcite-select-internal-icon-border-inline-end-width: 0;--calcite-select-spacing-inline: var(--calcite-spacing-xxs);--calcite-select-font-size: var(--calcite-date-picker-month-select-font-size, var(--calcite-font-size-md));--calcite-select-text-color: var(--calcite-date-picker-month-select-text-color, var(--calcite-color-text-1));--calcite-select-icon-color: var(--calcite-date-picker-month-select-icon-color);--calcite-select-icon-color-hover: var(--calcite-date-picker-month-select-icon-color-hover);--calcite-internal-select-spacing-block: var(--calcite-spacing-xxs);--calcite-internal-select-icon-container-padding-inline: var(--calcite-spacing-xxs);--calcite-internal-select-line-height: var(--calcite-font-line-height-fixed-lg);--calcite-internal-select-font-weight: var(--calcite-font-weight-medium)}:host([scale=s]) .month-year-container .month-select{--calcite-select-spacing-inline: var(--calcite-spacing-base);--calcite-select-font-size: var(--calcite-date-picker-month-select-font-size, var(--calcite-font-size));--calcite-internal-select-spacing-block: var(--calcite-spacing-base);--calcite-internal-select-icon-container-padding-inline: var(--calcite-spacing-base);--calcite-internal-select-block-size: 24px;--calcite-internal-select-line-height: var(--calcite-font-line-height-fixed-base)}:host([scale=s]) .month-year-container .year{inline-size:40px}:host([scale=s]) .month-year-container .year,:host([scale=s]) .month-year-container .suffix{font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-fixed-base)}:host([scale=l]) .month-year-container .month-select{--calcite-select-spacing-inline: var(--calcite-spacing-sm);--calcite-select-font-size: var(--calcite-date-picker-month-select-font-size, var(--calcite-font-size-lg));--calcite-internal-select-spacing-block: var(--calcite-spacing-sm);--calcite-internal-select-icon-container-padding-inline: var(--calcite-spacing-sm);--calcite-internal-select-block-size: 44px;--calcite-internal-select-line-height: var(--calcite-font-line-height-fixed-xl)}:host([scale=l]) .month-year-container .year{inline-size:48px}:host([scale=l]) .month-year-container .year,:host([scale=l]) .month-year-container .suffix{font-size:var(--calcite-font-size-lg);line-height:var(--calcite-font-line-height-fixed-xl)}:host([hidden]){display:none}[hidden]{display:none}`;
|