@esri/calcite-components 6.0.0-next.1 → 6.0.0-next.10
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/{WDQSZOG4.js → 24V7EEW7.js} +1 -1
- package/dist/cdn/{XPBRB3GD.js → 2DYI3ZOO.js} +1 -1
- package/dist/cdn/{ECXCRW5C.js → 2LLSZFOA.js} +1 -1
- package/dist/cdn/2QPSBLJK.js +2 -0
- package/dist/cdn/{IRTFE23M.js → 3NLRYSGR.js} +1 -1
- package/dist/cdn/{RKCCKR6X.js → 47IPIYJM.js} +1 -1
- package/dist/cdn/{EPWLK62I.js → 4F4XFALV.js} +1 -1
- package/dist/cdn/4OUHHWKP.js +2 -0
- package/dist/cdn/{TWY2OKHH.js → 5LODLGNB.js} +1 -1
- package/dist/cdn/{ZQ4OJ3TB.js → 5Q5PVZDC.js} +1 -1
- package/dist/cdn/5WWBBO2Z.js +2 -0
- package/dist/cdn/6GU5XOTF.js +2 -0
- package/dist/cdn/6LLPN7IC.js +2 -0
- package/dist/cdn/{2T66HULJ.js → 7UZGBGS6.js} +1 -1
- package/dist/cdn/{ZNMLNRTR.js → A3GBKICU.js} +1 -1
- package/dist/cdn/{SYCYUG5E.js → AE5SQJER.js} +1 -1
- package/dist/cdn/AOS2RWLA.js +2 -0
- package/dist/cdn/{JDC4NGIZ.js → AR5BD5C7.js} +1 -1
- package/dist/cdn/AV7S2ETC.js +2 -0
- package/dist/cdn/{NEMZEKEI.js → AVH2GLIJ.js} +1 -1
- package/dist/cdn/{3L6SIADT.js → B7B4574X.js} +1 -1
- package/dist/cdn/{4MCKDZC2.js → BFY5CRE7.js} +1 -1
- package/dist/cdn/BGS4CESC.js +2 -0
- package/dist/cdn/BH4WCMLM.js +2 -0
- package/dist/cdn/{LSHC7RLD.js → BLJRH4JX.js} +1 -1
- package/dist/cdn/BR6V5PC6.js +2 -0
- package/dist/cdn/{WXXM3QW7.js → BSXYHNKX.js} +1 -1
- package/dist/cdn/{LVFOVDHP.js → BV74PYW6.js} +1 -1
- package/dist/cdn/{Y3DN4DI3.js → CR3OABPG.js} +1 -1
- package/dist/cdn/{ITINQ72E.js → CRHEJ6LF.js} +1 -1
- package/dist/cdn/{ASO5N7PH.js → CZTM3VLX.js} +1 -1
- package/dist/cdn/DBQONO22.js +2 -0
- package/dist/cdn/DG2DLQZ3.js +2 -0
- package/dist/cdn/{R7DA4HDR.js → DT6QG7P2.js} +1 -1
- package/dist/cdn/{A4DOK6NM.js → E6R4P2IP.js} +1 -1
- package/dist/cdn/ECXSX2FK.js +2 -0
- package/dist/cdn/EXI7ELTX.js +2 -0
- package/dist/cdn/F4RP2ND6.js +4 -0
- package/dist/cdn/FDNCZYCA.js +2 -0
- package/dist/cdn/{6AMCCGQF.js → FGU2SEUG.js} +1 -1
- package/dist/cdn/{SUKPOBHP.js → FLWEPRFJ.js} +1 -1
- package/dist/cdn/FQMKO5S5.js +2 -0
- package/dist/cdn/{VO5AJW7E.js → FUYQS7XA.js} +1 -1
- package/dist/cdn/{TYL6DZLE.js → G26MQPXR.js} +1 -1
- package/dist/cdn/{CZAABKL5.js → GCDLUAO6.js} +1 -1
- package/dist/cdn/{WHLIZAJ4.js → GJZC6Q65.js} +1 -1
- package/dist/cdn/{OQZPA4TW.js → GO2LNKXI.js} +1 -1
- package/dist/cdn/{SMB4VPVK.js → GOY7IE2L.js} +1 -1
- package/dist/cdn/H3QR5SVM.js +2 -0
- package/dist/cdn/{7PBEXYE5.js → HA62DGAW.js} +1 -1
- package/dist/cdn/{YVC2GI2R.js → HEQFTWZQ.js} +1 -1
- package/dist/cdn/{ACEVU2DX.js → HGL6LFV3.js} +1 -1
- package/dist/cdn/HSVBLPNO.js +2 -0
- package/dist/cdn/{V2AILWX5.js → HVKGDIC6.js} +1 -1
- package/dist/cdn/{4FLY37DS.js → HZ3ICUYC.js} +1 -1
- package/dist/cdn/{PX7POLG4.js → I3MYU7MH.js} +1 -1
- package/dist/cdn/{RGAWT7EN.js → I4QQBNDN.js} +1 -1
- package/dist/cdn/IA6L5W5G.js +2 -0
- package/dist/cdn/{MKWW25JO.js → ICC52M3R.js} +1 -1
- package/dist/cdn/IDU5IKSY.js +2 -0
- package/dist/cdn/J2DF6TFE.js +2 -0
- package/dist/cdn/J6WQRNGK.js +2 -0
- package/dist/cdn/{UJQIARKQ.js → JQNBQUSQ.js} +1 -1
- package/dist/cdn/{V5TEVQGL.js → JTKQ73J3.js} +1 -1
- package/dist/cdn/JUNQWK55.js +2 -0
- package/dist/cdn/{HS66ECFP.js → KN7VGE4M.js} +1 -1
- package/dist/cdn/{H3DAT6EW.js → KPX3XYVF.js} +1 -1
- package/dist/cdn/{YYLJHCTL.js → KV7EOUBA.js} +1 -1
- package/dist/cdn/LHW5NOEF.js +2 -0
- package/dist/cdn/{WG5GMIWE.js → LUR2SFPA.js} +1 -1
- package/dist/cdn/{PJGO2WFB.js → LWBWYQYI.js} +1 -1
- package/dist/cdn/{K4CQQSR3.js → LXQ7KXAO.js} +1 -1
- package/dist/cdn/{FWMBLSBZ.js → MDANCG4K.js} +1 -1
- package/dist/cdn/MN7KXS6N.js +2 -0
- package/dist/cdn/MNPMK2VZ.js +2 -0
- package/dist/cdn/{UMEPEAVS.js → MUYSSY6B.js} +1 -1
- package/dist/cdn/{3PWIPOO3.js → N7LVAE5F.js} +1 -1
- package/dist/cdn/NBFMGYL3.js +2 -0
- package/dist/cdn/NJTCDXS3.js +2 -0
- package/dist/cdn/O3AKMRDF.js +2 -0
- package/dist/cdn/{SAHTJ6E6.js → ODUVV4RV.js} +1 -1
- package/dist/cdn/{YBZJPDCZ.js → OEGGT3SY.js} +1 -1
- package/dist/cdn/{A3R6ZW46.js → OFUCNWOU.js} +1 -1
- package/dist/cdn/{UO4I2EH3.js → OHJAAX23.js} +1 -1
- package/dist/cdn/OI45VN55.js +2 -0
- package/dist/cdn/{N5ZO4Q6R.js → OMYCQSYW.js} +1 -1
- package/dist/cdn/{BFHM6VVJ.js → P33C5YDO.js} +1 -1
- package/dist/cdn/{4MISAGES.js → PQDCYIRQ.js} +1 -1
- package/dist/cdn/PRVLFQFM.js +2 -0
- package/dist/cdn/QAV6GDX3.js +2 -0
- package/dist/cdn/QHM3SD4N.js +2 -0
- package/dist/cdn/{HD3O4MZC.js → QKYP3FDQ.js} +1 -1
- package/dist/cdn/{PQ2UKTOY.js → QOIBLQSX.js} +1 -1
- package/dist/cdn/{3NSCGO53.js → QORDO5V7.js} +1 -1
- package/dist/cdn/QQMFZZYL.js +2 -0
- package/dist/cdn/{MFS45EQF.js → QU6G4FRY.js} +1 -1
- package/dist/cdn/QUYFCN2U.js +2 -0
- package/dist/cdn/{N62IB75L.js → QWOKSAOO.js} +1 -1
- package/dist/cdn/{BWQEQMPE.js → RFDPXMN6.js} +1 -1
- package/dist/cdn/{UMFLWNX4.js → RK3VIAGP.js} +1 -1
- package/dist/cdn/RUAP7OBS.js +2 -0
- package/dist/cdn/{UT2YYWTT.js → RUSF77X2.js} +1 -1
- package/dist/cdn/RWLYEGDO.js +2 -0
- package/dist/cdn/{DB5E4RIJ.js → SCJPENKN.js} +1 -1
- package/dist/cdn/SDCATIYT.js +2 -0
- package/dist/cdn/SMBKXVJ2.js +2 -0
- package/dist/cdn/{ZLFF2S3N.js → SSI6AFMX.js} +1 -1
- package/dist/cdn/{V53ZO6O2.js → SYZQCRBZ.js} +1 -1
- package/dist/cdn/{WCLE6G2R.js → SZCB4RZQ.js} +1 -1
- package/dist/cdn/TH2A4VCV.js +2 -0
- package/dist/cdn/{Z2HZKD54.js → TWF4JPZ7.js} +1 -1
- package/dist/cdn/{COV2WELR.js → TWXH5VXN.js} +1 -1
- package/dist/cdn/{SFBT7DUM.js → UHTCLLS7.js} +1 -1
- package/dist/cdn/{MSX7OM2U.js → UIR57PA4.js} +1 -1
- package/dist/cdn/UOHV4OCJ.js +2 -0
- package/dist/cdn/UTGZR5D4.js +2 -0
- package/dist/cdn/{WPFFKGKO.js → UTVK3QTU.js} +1 -1
- package/dist/cdn/UUZX5IV6.js +2 -0
- package/dist/cdn/{OBCDL7IH.js → UWMXWWUQ.js} +1 -1
- package/dist/cdn/{SK3O7KCF.js → UZ4YOAB7.js} +1 -1
- package/dist/cdn/{NVFSFAXN.js → V7WKX4JH.js} +1 -1
- package/dist/cdn/VGKCONVX.js +2 -0
- package/dist/cdn/{EGM4UQEQ.js → VLUDXF5U.js} +1 -1
- package/dist/cdn/{DDDWQR7D.js → VVJMAE2C.js} +1 -1
- package/dist/cdn/VZBFIS6O.js +2 -0
- package/dist/cdn/{4RX2N2D5.js → W2GIONKE.js} +1 -1
- package/dist/cdn/{OZOMMOC3.js → W464Z7ND.js} +1 -1
- package/dist/cdn/{YW4L3SES.js → WAOVLW25.js} +1 -1
- package/dist/cdn/WEXS244S.js +2 -0
- package/dist/cdn/{DEOKQGMM.js → WLZEUH7L.js} +1 -1
- package/dist/cdn/XA3GRBCW.js +2 -0
- package/dist/cdn/XB5DK76Y.js +2 -0
- package/dist/cdn/XCTHKYG4.js +2 -0
- package/dist/cdn/{GTWSXT7S.js → XDJ5YVTY.js} +1 -1
- package/dist/cdn/{T6YGXV52.js → XL7GKUY2.js} +1 -1
- package/dist/cdn/Y5SNQ4NS.js +2 -0
- package/dist/cdn/{VEQURGQQ.js → Y5WKXUWK.js} +1 -1
- package/dist/cdn/YDVTQN6C.js +2 -0
- package/dist/cdn/{ZQS7OQMV.js → YPSIGZXJ.js} +1 -1
- package/dist/cdn/{RKXNURVD.js → ZABC5BI2.js} +1 -1
- package/dist/cdn/ZQMKXZ7A.js +20 -0
- package/dist/cdn/{N646XDYP.js → ZU4RLDHT.js} +1 -1
- package/dist/cdn/assets/icon/spaceBetweenHorizontal16.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/resources15.js +1 -2
- package/dist/chunks/runtime.js +4 -4
- package/dist/chunks/sortable.js +1 -1
- package/dist/components/calcite-accordion/customElement.js +1 -1
- package/dist/components/calcite-accordion-item/customElement.js +1 -1
- package/dist/components/calcite-action/customElement.js +1 -1
- package/dist/components/calcite-action-bar/customElement.js +3 -5
- package/dist/components/calcite-alert/customElement.js +1 -1
- package/dist/components/calcite-autocomplete/customElement.js +39 -12
- package/dist/components/calcite-autocomplete-item/customElement.js +1 -1
- package/dist/components/calcite-block/customElement.d.ts +0 -35
- package/dist/components/calcite-block/customElement.js +0 -24
- package/dist/components/calcite-block-group/customElement.d.ts +0 -7
- package/dist/components/calcite-block-group/customElement.js +0 -1
- package/dist/components/calcite-checkbox/customElement.js +1 -1
- package/dist/components/calcite-combobox/customElement.js +1 -1
- package/dist/components/calcite-date-picker/customElement.js +1 -1
- package/dist/components/calcite-date-picker-day/customElement.js +1 -1
- package/dist/components/calcite-date-picker-month/customElement.js +1 -1
- package/dist/components/calcite-date-picker-month-header/customElement.js +1 -1
- package/dist/components/calcite-dialog/customElement.js +5 -4
- package/dist/components/calcite-dropdown/customElement.d.ts +2 -4
- package/dist/components/calcite-dropdown/customElement.js +1 -1
- package/dist/components/calcite-dropdown-group/customElement.js +1 -1
- package/dist/components/calcite-dropdown-item/customElement.js +1 -1
- package/dist/components/calcite-filter/customElement.js +1 -1
- package/dist/components/calcite-flow/customElement.js +1 -1
- package/dist/components/calcite-flow-item/customElement.d.ts +1 -0
- package/dist/components/calcite-graph/customElement.js +1 -1
- package/dist/components/calcite-input/customElement.js +6 -6
- package/dist/components/calcite-input-date-picker/customElement.js +1 -1
- package/dist/components/calcite-input-number/customElement.js +1 -1
- package/dist/components/calcite-input-text/customElement.js +1 -1
- package/dist/components/calcite-input-time-picker/customElement.js +2 -2
- package/dist/components/calcite-link/customElement.js +1 -1
- package/dist/components/calcite-list/customElement.d.ts +0 -7
- package/dist/components/calcite-list/customElement.js +0 -1
- package/dist/components/calcite-list-item/customElement.js +1 -1
- package/dist/components/calcite-menu-item/customElement.js +1 -1
- package/dist/components/calcite-navigation-logo/customElement.js +1 -1
- package/dist/components/calcite-navigation-user/customElement.js +1 -1
- package/dist/components/calcite-notice/customElement.js +1 -1
- package/dist/components/calcite-pagination/customElement.js +1 -1
- package/dist/components/calcite-panel/customElement.d.ts +1 -0
- package/dist/components/calcite-panel/customElement.js +1 -1
- package/dist/components/calcite-popover/customElement.d.ts +2 -4
- package/dist/components/calcite-popover/customElement.js +1 -1
- package/dist/components/calcite-radio-button/customElement.js +1 -1
- package/dist/components/calcite-rating/customElement.js +1 -1
- package/dist/components/calcite-segmented-control/customElement.js +1 -1
- package/dist/components/calcite-segmented-control-item/customElement.js +1 -1
- package/dist/components/calcite-select/customElement.js +1 -1
- package/dist/components/calcite-shell/customElement.js +1 -1
- package/dist/components/calcite-slider/customElement.js +1 -1
- package/dist/components/calcite-stack/customElement.js +1 -1
- package/dist/components/calcite-stepper-item/customElement.js +1 -1
- package/dist/components/calcite-swatch/customElement.js +1 -1
- package/dist/components/calcite-switch/customElement.js +1 -1
- package/dist/components/calcite-text-area/customElement.js +1 -1
- package/dist/components/calcite-tooltip/customElement.d.ts +2 -4
- package/dist/components/calcite-tooltip/customElement.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/translations.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/dist/index.d.ts +0 -20
- package/dist/loader.js +1 -3
- package/dist/types/lumina.d.ts +0 -20
- package/dist/types/preact.d.ts +0 -22
- package/dist/types/react.d.ts +0 -24
- package/dist/types/stencil.d.ts +0 -20
- package/package.json +9 -9
- package/dist/cdn/2JEBIPUA.js +0 -2
- package/dist/cdn/2OP2BIGK.js +0 -2
- package/dist/cdn/2YIVCB4X.js +0 -2
- package/dist/cdn/3AJDVAY4.js +0 -2
- package/dist/cdn/4GH6FRUQ.js +0 -2
- package/dist/cdn/5N3K3SLO.js +0 -2
- package/dist/cdn/5S2QPRVM.js +0 -2
- package/dist/cdn/5V7FC2LE.js +0 -2
- package/dist/cdn/6CT47S5A.js +0 -2
- package/dist/cdn/6GI4XRMT.js +0 -2
- package/dist/cdn/6X6AR6D4.js +0 -2
- package/dist/cdn/AOKIBI4B.js +0 -2
- package/dist/cdn/BORRZTZR.js +0 -2
- package/dist/cdn/CWJVWT2O.js +0 -2
- package/dist/cdn/DLRDAWPK.js +0 -2
- package/dist/cdn/EAPRTWPR.js +0 -2
- package/dist/cdn/EOTHKCC5.js +0 -2
- package/dist/cdn/EUE2AIDH.js +0 -2
- package/dist/cdn/EVG46BQY.js +0 -2
- package/dist/cdn/HRPTAZBV.js +0 -2
- package/dist/cdn/HZPQ4ZCT.js +0 -2
- package/dist/cdn/IOWEE5B3.js +0 -2
- package/dist/cdn/IPCKOFJ3.js +0 -2
- package/dist/cdn/KTAAVUH5.js +0 -2
- package/dist/cdn/LIRWNKCG.js +0 -2
- package/dist/cdn/LLBIORN7.js +0 -2
- package/dist/cdn/MH5MLWTH.js +0 -2
- package/dist/cdn/MPMXGFRG.js +0 -2
- package/dist/cdn/NAMFU2X7.js +0 -2
- package/dist/cdn/NG4HWG2M.js +0 -2
- package/dist/cdn/OBENHUVK.js +0 -2
- package/dist/cdn/OLJQYHX6.js +0 -2
- package/dist/cdn/OSCPYSYO.js +0 -2
- package/dist/cdn/PDLIR643.js +0 -2
- package/dist/cdn/PIR5JDMA.js +0 -2
- package/dist/cdn/PN462NJ7.js +0 -2
- package/dist/cdn/PNPLVJIB.js +0 -2
- package/dist/cdn/PYZU4W2S.js +0 -2
- package/dist/cdn/QCLWZCBQ.js +0 -2
- package/dist/cdn/QPTC3KSU.js +0 -2
- package/dist/cdn/QSPPZ5GE.js +0 -2
- package/dist/cdn/R3EXCUGK.js +0 -2
- package/dist/cdn/RDXJ5SE5.js +0 -20
- package/dist/cdn/TGEHK7RM.js +0 -2
- package/dist/cdn/TLLWKRNX.js +0 -2
- package/dist/cdn/TU7232CD.js +0 -2
- package/dist/cdn/TW422TK6.js +0 -2
- package/dist/cdn/TXLVSZDX.js +0 -2
- package/dist/cdn/UVU4JATX.js +0 -2
- package/dist/cdn/VL7QTJSE.js +0 -2
- package/dist/cdn/VMT523SA.js +0 -4
- package/dist/cdn/WAODZ6LQ.js +0 -2
- package/dist/cdn/WTOK4RFI.js +0 -2
- package/dist/cdn/YOVBS6JZ.js +0 -2
- package/dist/cdn/ZQPKFNX6.js +0 -2
- package/dist/cdn/assets/handle/t9n/messages.ar.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.bg.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.bs.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.ca.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.cs.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.da.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.de.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.el.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.en.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.es.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.et.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.fi.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.fr.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.he.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.hr.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.hu.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.id.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.it.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.ja.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.ko.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.lt.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.lv.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.nl.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.no.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.pl.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.pt-BR.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.pt-PT.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.ro.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.ru.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.sk.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.sl.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.sr.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.sv.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.th.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.tr.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.uk.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.vi.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.zh-CN.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.zh-HK.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.zh-TW.json +0 -1
- package/dist/components/calcite-handle/customElement.d.ts +0 -66
- package/dist/components/calcite-handle/customElement.js +0 -128
- package/dist/components/calcite-handle/index.d.ts +0 -1
- package/dist/components/calcite-handle/index.js +0 -2
- package/dist/components/calcite-handle/types.d.ts +0 -3
- package/dist/components/calcite-sortable-list/customElement.d.ts +0 -52
- package/dist/components/calcite-sortable-list/customElement.js +0 -133
- package/dist/components/calcite-sortable-list/index.d.ts +0 -1
- package/dist/components/calcite-sortable-list/index.js +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -82,7 +82,6 @@ import type { Flow } from "./components/calcite-flow/customElement.js";
|
|
|
82
82
|
import type { FlowItem } from "./components/calcite-flow-item/customElement.js";
|
|
83
83
|
import type { FocusTrap } from "./components/calcite-focus-trap/customElement.js";
|
|
84
84
|
import type { Graph } from "./components/calcite-graph/customElement.js";
|
|
85
|
-
import type { Handle } from "./components/calcite-handle/customElement.js";
|
|
86
85
|
import type { Icon } from "./components/calcite-icon/customElement.js";
|
|
87
86
|
import type { InlineEditable } from "./components/calcite-inline-editable/customElement.js";
|
|
88
87
|
import type { Input } from "./components/calcite-input/customElement.js";
|
|
@@ -123,7 +122,6 @@ import type { Shell } from "./components/calcite-shell/customElement.js";
|
|
|
123
122
|
import type { ShellPanel } from "./components/calcite-shell-panel/customElement.js";
|
|
124
123
|
import type { Slider } from "./components/calcite-slider/customElement.js";
|
|
125
124
|
import type { SortHandle } from "./components/calcite-sort-handle/customElement.js";
|
|
126
|
-
import type { SortableList } from "./components/calcite-sortable-list/customElement.js";
|
|
127
125
|
import type { SplitButton } from "./components/calcite-split-button/customElement.js";
|
|
128
126
|
import type { Stack } from "./components/calcite-stack/customElement.js";
|
|
129
127
|
import type { Stepper } from "./components/calcite-stepper/customElement.js";
|
|
@@ -290,11 +288,6 @@ export interface CalciteFocusTrapCustomEvent<T> extends CustomEvent<T> {
|
|
|
290
288
|
target: FocusTrap;
|
|
291
289
|
currentTarget: FocusTrap;
|
|
292
290
|
}
|
|
293
|
-
export interface CalciteHandleCustomEvent<T> extends CustomEvent<T> {
|
|
294
|
-
detail: T;
|
|
295
|
-
target: Handle;
|
|
296
|
-
currentTarget: Handle;
|
|
297
|
-
}
|
|
298
291
|
export interface CalciteInlineEditableCustomEvent<T> extends CustomEvent<T> {
|
|
299
292
|
detail: T;
|
|
300
293
|
target: InlineEditable;
|
|
@@ -415,11 +408,6 @@ export interface CalciteSortHandleCustomEvent<T> extends CustomEvent<T> {
|
|
|
415
408
|
target: SortHandle;
|
|
416
409
|
currentTarget: SortHandle;
|
|
417
410
|
}
|
|
418
|
-
export interface CalciteSortableListCustomEvent<T> extends CustomEvent<T> {
|
|
419
|
-
detail: T;
|
|
420
|
-
target: SortableList;
|
|
421
|
-
currentTarget: SortableList;
|
|
422
|
-
}
|
|
423
411
|
export interface CalciteSplitButtonCustomEvent<T> extends CustomEvent<T> {
|
|
424
412
|
detail: T;
|
|
425
413
|
target: SplitButton;
|
|
@@ -551,7 +539,6 @@ declare global {
|
|
|
551
539
|
"calcite-flow-item": FlowItem;
|
|
552
540
|
"calcite-focus-trap": FocusTrap;
|
|
553
541
|
"calcite-graph": Graph;
|
|
554
|
-
"calcite-handle": Handle;
|
|
555
542
|
"calcite-icon": Icon;
|
|
556
543
|
"calcite-inline-editable": InlineEditable;
|
|
557
544
|
"calcite-input": Input;
|
|
@@ -592,7 +579,6 @@ declare global {
|
|
|
592
579
|
"calcite-shell-panel": ShellPanel;
|
|
593
580
|
"calcite-slider": Slider;
|
|
594
581
|
"calcite-sort-handle": SortHandle;
|
|
595
|
-
"calcite-sortable-list": SortableList;
|
|
596
582
|
"calcite-split-button": SplitButton;
|
|
597
583
|
"calcite-stack": Stack;
|
|
598
584
|
"calcite-stepper": Stepper;
|
|
@@ -731,9 +717,6 @@ declare global {
|
|
|
731
717
|
|
|
732
718
|
type HTMLCalciteGraphElement = Graph;
|
|
733
719
|
|
|
734
|
-
type HTMLCalciteHandleElementEventMap = Handle["@eventTypes"];
|
|
735
|
-
type HTMLCalciteHandleElement = Handle;
|
|
736
|
-
|
|
737
720
|
type HTMLCalciteIconElement = Icon;
|
|
738
721
|
|
|
739
722
|
type HTMLCalciteInlineEditableElementEventMap = InlineEditable["@eventTypes"];
|
|
@@ -838,9 +821,6 @@ declare global {
|
|
|
838
821
|
type HTMLCalciteSortHandleElementEventMap = SortHandle["@eventTypes"];
|
|
839
822
|
type HTMLCalciteSortHandleElement = SortHandle;
|
|
840
823
|
|
|
841
|
-
type HTMLCalciteSortableListElementEventMap = SortableList["@eventTypes"];
|
|
842
|
-
type HTMLCalciteSortableListElement = SortableList;
|
|
843
|
-
|
|
844
824
|
type HTMLCalciteSplitButtonElementEventMap = SplitButton["@eventTypes"];
|
|
845
825
|
type HTMLCalciteSplitButtonElement = SplitButton;
|
|
846
826
|
|
package/dist/loader.js
CHANGED
|
@@ -45,10 +45,9 @@ const defineCustomElements = makeDefineCustomElements(runtime, {
|
|
|
45
45
|
"calcite-flow-item": [() => import("./components/calcite-flow-item/customElement.js"), "beforeBack:,beforeClose:,closable,closed,collapsed,collapseDirection,collapsible,description,disabled,focusTrapDisabled,focusTrapOptions:,heading,headingLevel,icon,iconFlipRtl,loading,menuOpen,messageOverrides:,overlayPositioning,scale,selected,showBackButton,topLayerDisabled;scrollContentTo,setFocus,updateFocusTrapElements"],
|
|
46
46
|
"calcite-focus-trap": [() => import("./components/calcite-focus-trap/customElement.js"), "active:,focusTrapDisabled,focusTrapDisabledOverride:,focusTrapOptions:;activate,deactivate,setFocus,updateFocusTrapElements"],
|
|
47
47
|
"calcite-graph": [() => import("./components/calcite-graph/customElement.js"), "colorStops:,data:,highlightMax,highlightMin,max,min"],
|
|
48
|
-
"calcite-handle": [() => import("./components/calcite-handle/customElement.js"), "blurUnselectDisabled,disabled,dragHandle,label,messageOverrides:,selected,setPosition,setSize;setFocus"],
|
|
49
48
|
"calcite-icon": [() => import("./components/calcite-icon/customElement.js"), "flipRtl,icon,preload,scale,textLabel"],
|
|
50
49
|
"calcite-inline-editable": [() => import("./components/calcite-inline-editable/customElement.js"), "afterConfirm:,controls,disabled,editingEnabled,loading,messageOverrides:,scale;setFocus"],
|
|
51
|
-
"calcite-input": [() => import("./components/calcite-input/customElement.js"), "accept,alignment,autocomplete,clearable,disabled,files:,form,groupSeparator,icon,iconFlipRtl,inlineEdit,inlineEditing,inlineEditingBeforeConfirm:,label,labelText,loading,localeFormat,max,maxLength,messageOverrides:,min,minLength,multiple,name,numberButtonType,numberingSystem,pattern,placeholder,prefixText,readOnly,required,scale,status,step,suffixText,type,validationIcon,validationMessage,validity:,value;selectText,setFocus", 1],
|
|
50
|
+
"calcite-input": [() => import("./components/calcite-input/customElement.js"), "accept,alignment,aria:,autocomplete,clearable,disabled,files:,form,groupSeparator,icon,iconFlipRtl,inlineEdit,inlineEditing,inlineEditingBeforeConfirm:,inputRole,label,labelText,loading,localeFormat,max,maxLength,messageOverrides:,min,minLength,multiple,name,numberButtonType,numberingSystem,pattern,placeholder,prefixText,readOnly,required,scale,status,step,suffixText,type,validationIcon,validationMessage,validity:,value;selectText,setFocus", 1],
|
|
52
51
|
"calcite-input-date-picker": [() => import("./components/calcite-input-date-picker/customElement.js"), "calendars,clearable,disabled,flipPlacements:,focusTrapDisabled,form,headingLevel,label,labelText,layout,max,maxAsDate:,messageOverrides:,min,minAsDate:,monthStyle,name,numberingSystem,open,overlayPositioning,placeholder,placement,proximitySelectionDisabled,range,readOnly,required,scale,status,topLayerDisabled,validationIcon,validationMessage,validity:,value,valueAsDate:;reposition,setFocus", 1],
|
|
53
52
|
"calcite-input-message": [() => import("./components/calcite-input-message/customElement.js"), "icon,iconFlipRtl,scale,status"],
|
|
54
53
|
"calcite-input-number": [() => import("./components/calcite-input-number/customElement.js"), "alignment,autocomplete,clearable,disabled,form,groupSeparator,icon,iconFlipRtl,inlineEdit,inlineEditing,inlineEditingBeforeConfirm:,integer,label,labelText,loading,localeFormat,max,maxLength,messageOverrides:,min,minLength,name,numberButtonType,numberingSystem,placeholder,prefixText,readOnly,required,scale,status,step,suffixText,validationIcon,validationMessage,validity:,value;selectText,setFocus", 1],
|
|
@@ -86,7 +85,6 @@ const defineCustomElements = makeDefineCustomElements(runtime, {
|
|
|
86
85
|
"calcite-shell-panel": [() => import("./components/calcite-shell-panel/customElement.js"), "collapsed,displayMode,height,heightScale,layout,messageOverrides:,position,resizable,shellSizingDataProvider:,width,widthScale;updateSize"],
|
|
87
86
|
"calcite-slider": [() => import("./components/calcite-slider/customElement.js"), "disabled,fillPlacement,form,groupSeparator,hasHistogram,histogram:,histogramStops:,label,labelFormatter:,labelHandles,labelText,labelTicks,max,maxLabel,maxValue,messageOverrides:,min,minLabel,minValue,mirrored,name,numberingSystem,pageStep,precise,required,scale,snap,status,step,ticks,validationIcon,validationMessage,validity:,value;setFocus", 1],
|
|
88
87
|
"calcite-sort-handle": [() => import("./components/calcite-sort-handle/customElement.js"), "addToItems:,disabled,flipPlacements:,label,messageOverrides:,messages:,moveToItems:,open,overlayPositioning,placement,scale,setPosition,setSize,sortDisabled,topLayerDisabled,widthScale;setFocus"],
|
|
89
|
-
"calcite-sortable-list": [() => import("./components/calcite-sortable-list/customElement.js"), "canPull:,canPut:,disabled,dragSelector,group,handleSelector,layout,loading"],
|
|
90
88
|
"calcite-split-button": [() => import("./components/calcite-split-button/customElement.js"), "active,appearance,disabled,download,dropdownIconType,dropdownLabel,flipPlacements:,href,kind,loading,overlayPositioning,placement,primaryIconEnd,primaryIconFlipRtl,primaryIconStart,primaryLabel,primaryText,rel,scale,target,topLayerDisabled,width;setFocus"],
|
|
91
89
|
"calcite-stack": [() => import("./components/calcite-stack/customElement.js"), "disabled"],
|
|
92
90
|
"calcite-stepper": [() => import("./components/calcite-stepper/customElement.js"), "icon,layout,messageOverrides:,numbered,numberingSystem,scale,selectedItem:;endStep,goToStep,nextStep,prevStep,startStep"],
|
package/dist/types/lumina.d.ts
CHANGED
|
@@ -41,7 +41,6 @@ import type { Flow } from "../components/calcite-flow/customElement.js";
|
|
|
41
41
|
import type { FlowItem } from "../components/calcite-flow-item/customElement.js";
|
|
42
42
|
import type { FocusTrap } from "../components/calcite-focus-trap/customElement.js";
|
|
43
43
|
import type { Graph } from "../components/calcite-graph/customElement.js";
|
|
44
|
-
import type { Handle } from "../components/calcite-handle/customElement.js";
|
|
45
44
|
import type { Icon } from "../components/calcite-icon/customElement.js";
|
|
46
45
|
import type { InlineEditable } from "../components/calcite-inline-editable/customElement.js";
|
|
47
46
|
import type { Input } from "../components/calcite-input/customElement.js";
|
|
@@ -82,7 +81,6 @@ import type { Shell } from "../components/calcite-shell/customElement.js";
|
|
|
82
81
|
import type { ShellPanel } from "../components/calcite-shell-panel/customElement.js";
|
|
83
82
|
import type { Slider } from "../components/calcite-slider/customElement.js";
|
|
84
83
|
import type { SortHandle } from "../components/calcite-sort-handle/customElement.js";
|
|
85
|
-
import type { SortableList } from "../components/calcite-sortable-list/customElement.js";
|
|
86
84
|
import type { SplitButton } from "../components/calcite-split-button/customElement.js";
|
|
87
85
|
import type { Stack } from "../components/calcite-stack/customElement.js";
|
|
88
86
|
import type { Stepper } from "../components/calcite-stepper/customElement.js";
|
|
@@ -173,23 +171,17 @@ interface LuminaCalciteAvatar extends Partial<Pick<Avatar, "fullName" | "label"
|
|
|
173
171
|
}
|
|
174
172
|
|
|
175
173
|
interface LuminaCalciteBlock extends Partial<Pick<Block, "collapsible" | "description" | "disabled" | "dragDisabled" | "dragHandle" | "expandable" | "expanded" | "heading" | "headingLevel" | "iconEnd" | "iconFlipRtl" | "iconStart" | "label" | "loading" | "menuFlipPlacements" | "menuPlacement" | "messageOverrides" | "open" | "overlayPositioning" | "scale" | "sortHandleOpen" | "status" | "toggleDisplay" | "topLayerDisabled">>, h.JSX.HTMLAttributes<Block> {
|
|
176
|
-
oncalciteBlockBeforeClose?: EventHandler<Block["calciteBlockBeforeClose"]>;
|
|
177
|
-
oncalciteBlockBeforeOpen?: EventHandler<Block["calciteBlockBeforeOpen"]>;
|
|
178
|
-
oncalciteBlockClose?: EventHandler<Block["calciteBlockClose"]>;
|
|
179
174
|
oncalciteBlockCollapse?: EventHandler<Block["calciteBlockCollapse"]>;
|
|
180
175
|
oncalciteBlockExpand?: EventHandler<Block["calciteBlockExpand"]>;
|
|
181
|
-
oncalciteBlockOpen?: EventHandler<Block["calciteBlockOpen"]>;
|
|
182
176
|
oncalciteBlockSortHandleBeforeClose?: EventHandler<Block["calciteBlockSortHandleBeforeClose"]>;
|
|
183
177
|
oncalciteBlockSortHandleBeforeOpen?: EventHandler<Block["calciteBlockSortHandleBeforeOpen"]>;
|
|
184
178
|
oncalciteBlockSortHandleClose?: EventHandler<Block["calciteBlockSortHandleClose"]>;
|
|
185
179
|
oncalciteBlockSortHandleOpen?: EventHandler<Block["calciteBlockSortHandleOpen"]>;
|
|
186
|
-
oncalciteBlockToggle?: EventHandler<Block["calciteBlockToggle"]>;
|
|
187
180
|
}
|
|
188
181
|
|
|
189
182
|
interface LuminaCalciteBlockGroup extends Required<Pick<BlockGroup, "label">>, Partial<Pick<BlockGroup, "canPull" | "canPut" | "disabled" | "dragEnabled" | "expandMode" | "group" | "loading" | "scale" | "sortDisabled">>, h.JSX.HTMLAttributes<BlockGroup> {
|
|
190
183
|
oncalciteBlockGroupDragEnd?: EventHandler<BlockGroup["calciteBlockGroupDragEnd"]>;
|
|
191
184
|
oncalciteBlockGroupDragStart?: EventHandler<BlockGroup["calciteBlockGroupDragStart"]>;
|
|
192
|
-
oncalciteBlockGroupMoveHalt?: EventHandler<BlockGroup["calciteBlockGroupMoveHalt"]>;
|
|
193
185
|
oncalciteBlockGroupOrderChange?: EventHandler<BlockGroup["calciteBlockGroupOrderChange"]>;
|
|
194
186
|
}
|
|
195
187
|
|
|
@@ -323,11 +315,6 @@ interface LuminaCalciteFocusTrap extends Partial<Pick<FocusTrap, "focusTrapDisab
|
|
|
323
315
|
interface LuminaCalciteGraph extends Required<Pick<Graph, "max" | "min">>, Partial<Pick<Graph, "colorStops" | "data" | "highlightMax" | "highlightMin">>, h.JSX.HTMLAttributes<Graph> {
|
|
324
316
|
}
|
|
325
317
|
|
|
326
|
-
interface LuminaCalciteHandle extends Partial<Pick<Handle, "disabled" | "dragHandle" | "messageOverrides" | "selected">>, h.JSX.HTMLAttributes<Handle> {
|
|
327
|
-
oncalciteHandleChange?: EventHandler<Handle["calciteHandleChange"]>;
|
|
328
|
-
oncalciteHandleNudge?: EventHandler<Handle["calciteHandleNudge"]>;
|
|
329
|
-
}
|
|
330
|
-
|
|
331
318
|
interface LuminaCalciteIcon extends Partial<Pick<Icon, "flipRtl" | "icon" | "preload" | "scale" | "textLabel">>, h.JSX.HTMLAttributes<Icon> {
|
|
332
319
|
}
|
|
333
320
|
|
|
@@ -398,7 +385,6 @@ interface LuminaCalciteList extends Required<Pick<List, "label">>, Partial<Pick<
|
|
|
398
385
|
oncalciteListDragEnd?: EventHandler<List["calciteListDragEnd"]>;
|
|
399
386
|
oncalciteListDragStart?: EventHandler<List["calciteListDragStart"]>;
|
|
400
387
|
oncalciteListFilter?: EventHandler<List["calciteListFilter"]>;
|
|
401
|
-
oncalciteListMoveHalt?: EventHandler<List["calciteListMoveHalt"]>;
|
|
402
388
|
oncalciteListOrderChange?: EventHandler<List["calciteListOrderChange"]>;
|
|
403
389
|
}
|
|
404
390
|
|
|
@@ -531,10 +517,6 @@ interface LuminaCalciteSortHandle extends Partial<Pick<SortHandle, "addToItems"
|
|
|
531
517
|
oncalciteSortHandleReorder?: EventHandler<SortHandle["calciteSortHandleReorder"]>;
|
|
532
518
|
}
|
|
533
519
|
|
|
534
|
-
interface LuminaCalciteSortableList extends Partial<Pick<SortableList, "canPull" | "canPut" | "disabled" | "dragSelector" | "group" | "handleSelector" | "layout" | "loading">>, h.JSX.HTMLAttributes<SortableList> {
|
|
535
|
-
oncalciteListOrderChange?: EventHandler<SortableList["calciteListOrderChange"]>;
|
|
536
|
-
}
|
|
537
|
-
|
|
538
520
|
interface LuminaCalciteSplitButton extends Partial<Pick<SplitButton, "appearance" | "disabled" | "download" | "dropdownIconType" | "dropdownLabel" | "flipPlacements" | "href" | "kind" | "loading" | "overlayPositioning" | "placement" | "primaryIconEnd" | "primaryIconFlipRtl" | "primaryIconStart" | "primaryLabel" | "primaryText" | "rel" | "scale" | "target" | "topLayerDisabled" | "width">>, h.JSX.HTMLAttributes<SplitButton> {
|
|
539
521
|
oncalciteSplitButtonPrimaryClick?: EventHandler<SplitButton["calciteSplitButtonPrimaryClick"]>;
|
|
540
522
|
oncalciteSplitButtonSecondaryClick?: EventHandler<SplitButton["calciteSplitButtonSecondaryClick"]>;
|
|
@@ -675,7 +657,6 @@ declare module "@arcgis/lumina" {
|
|
|
675
657
|
"calcite-flow-item": LuminaCalciteFlowItem;
|
|
676
658
|
"calcite-focus-trap": LuminaCalciteFocusTrap;
|
|
677
659
|
"calcite-graph": LuminaCalciteGraph;
|
|
678
|
-
"calcite-handle": LuminaCalciteHandle;
|
|
679
660
|
"calcite-icon": LuminaCalciteIcon;
|
|
680
661
|
"calcite-inline-editable": LuminaCalciteInlineEditable;
|
|
681
662
|
"calcite-input": LuminaCalciteInput;
|
|
@@ -716,7 +697,6 @@ declare module "@arcgis/lumina" {
|
|
|
716
697
|
"calcite-shell-panel": LuminaCalciteShellPanel;
|
|
717
698
|
"calcite-slider": LuminaCalciteSlider;
|
|
718
699
|
"calcite-sort-handle": LuminaCalciteSortHandle;
|
|
719
|
-
"calcite-sortable-list": LuminaCalciteSortableList;
|
|
720
700
|
"calcite-split-button": LuminaCalciteSplitButton;
|
|
721
701
|
"calcite-stack": LuminaCalciteStack;
|
|
722
702
|
"calcite-stepper": LuminaCalciteStepper;
|
package/dist/types/preact.d.ts
CHANGED
|
@@ -41,7 +41,6 @@ import type { Flow } from "../components/calcite-flow/customElement.js";
|
|
|
41
41
|
import type { FlowItem } from "../components/calcite-flow-item/customElement.js";
|
|
42
42
|
import type { FocusTrap } from "../components/calcite-focus-trap/customElement.js";
|
|
43
43
|
import type { Graph } from "../components/calcite-graph/customElement.js";
|
|
44
|
-
import type { Handle } from "../components/calcite-handle/customElement.js";
|
|
45
44
|
import type { Icon } from "../components/calcite-icon/customElement.js";
|
|
46
45
|
import type { InlineEditable } from "../components/calcite-inline-editable/customElement.js";
|
|
47
46
|
import type { Input } from "../components/calcite-input/customElement.js";
|
|
@@ -82,7 +81,6 @@ import type { Shell } from "../components/calcite-shell/customElement.js";
|
|
|
82
81
|
import type { ShellPanel } from "../components/calcite-shell-panel/customElement.js";
|
|
83
82
|
import type { Slider } from "../components/calcite-slider/customElement.js";
|
|
84
83
|
import type { SortHandle } from "../components/calcite-sort-handle/customElement.js";
|
|
85
|
-
import type { SortableList } from "../components/calcite-sortable-list/customElement.js";
|
|
86
84
|
import type { SplitButton } from "../components/calcite-split-button/customElement.js";
|
|
87
85
|
import type { Stack } from "../components/calcite-stack/customElement.js";
|
|
88
86
|
import type { Stepper } from "../components/calcite-stepper/customElement.js";
|
|
@@ -174,23 +172,17 @@ interface PreactCalciteAvatar extends Partial<Pick<Avatar, "fullName" | "label"
|
|
|
174
172
|
}
|
|
175
173
|
|
|
176
174
|
interface PreactCalciteBlock extends Partial<Pick<Block, "collapsible" | "description" | "disabled" | "dragDisabled" | "dragHandle" | "expandable" | "expanded" | "heading" | "headingLevel" | "iconEnd" | "iconFlipRtl" | "iconStart" | "label" | "loading" | "menuFlipPlacements" | "menuPlacement" | "messageOverrides" | "open" | "overlayPositioning" | "scale" | "sortHandleOpen" | "status" | "toggleDisplay" | "topLayerDisabled">>, HTMLAttributes<Block> {
|
|
177
|
-
oncalciteBlockBeforeClose?: EventHandler<Block["calciteBlockBeforeClose"]>;
|
|
178
|
-
oncalciteBlockBeforeOpen?: EventHandler<Block["calciteBlockBeforeOpen"]>;
|
|
179
|
-
oncalciteBlockClose?: EventHandler<Block["calciteBlockClose"]>;
|
|
180
175
|
oncalciteBlockCollapse?: EventHandler<Block["calciteBlockCollapse"]>;
|
|
181
176
|
oncalciteBlockExpand?: EventHandler<Block["calciteBlockExpand"]>;
|
|
182
|
-
oncalciteBlockOpen?: EventHandler<Block["calciteBlockOpen"]>;
|
|
183
177
|
oncalciteBlockSortHandleBeforeClose?: EventHandler<Block["calciteBlockSortHandleBeforeClose"]>;
|
|
184
178
|
oncalciteBlockSortHandleBeforeOpen?: EventHandler<Block["calciteBlockSortHandleBeforeOpen"]>;
|
|
185
179
|
oncalciteBlockSortHandleClose?: EventHandler<Block["calciteBlockSortHandleClose"]>;
|
|
186
180
|
oncalciteBlockSortHandleOpen?: EventHandler<Block["calciteBlockSortHandleOpen"]>;
|
|
187
|
-
oncalciteBlockToggle?: EventHandler<Block["calciteBlockToggle"]>;
|
|
188
181
|
}
|
|
189
182
|
|
|
190
183
|
interface PreactCalciteBlockGroup extends Required<Pick<BlockGroup, "label">>, Partial<Pick<BlockGroup, "canPull" | "canPut" | "disabled" | "dragEnabled" | "expandMode" | "group" | "loading" | "scale" | "sortDisabled">>, HTMLAttributes<BlockGroup> {
|
|
191
184
|
oncalciteBlockGroupDragEnd?: EventHandler<BlockGroup["calciteBlockGroupDragEnd"]>;
|
|
192
185
|
oncalciteBlockGroupDragStart?: EventHandler<BlockGroup["calciteBlockGroupDragStart"]>;
|
|
193
|
-
oncalciteBlockGroupMoveHalt?: EventHandler<BlockGroup["calciteBlockGroupMoveHalt"]>;
|
|
194
186
|
oncalciteBlockGroupOrderChange?: EventHandler<BlockGroup["calciteBlockGroupOrderChange"]>;
|
|
195
187
|
}
|
|
196
188
|
|
|
@@ -324,11 +316,6 @@ interface PreactCalciteFocusTrap extends Partial<Pick<FocusTrap, "focusTrapDisab
|
|
|
324
316
|
interface PreactCalciteGraph extends Required<Pick<Graph, "max" | "min">>, Partial<Pick<Graph, "colorStops" | "data" | "highlightMax" | "highlightMin">>, HTMLAttributes<Graph> {
|
|
325
317
|
}
|
|
326
318
|
|
|
327
|
-
interface PreactCalciteHandle extends Partial<Pick<Handle, "disabled" | "dragHandle" | "messageOverrides" | "selected">>, HTMLAttributes<Handle> {
|
|
328
|
-
oncalciteHandleChange?: EventHandler<Handle["calciteHandleChange"]>;
|
|
329
|
-
oncalciteHandleNudge?: EventHandler<Handle["calciteHandleNudge"]>;
|
|
330
|
-
}
|
|
331
|
-
|
|
332
319
|
interface PreactCalciteIcon extends Partial<Pick<Icon, "flipRtl" | "icon" | "preload" | "scale" | "textLabel">>, HTMLAttributes<Icon> {
|
|
333
320
|
}
|
|
334
321
|
|
|
@@ -399,7 +386,6 @@ interface PreactCalciteList extends Required<Pick<List, "label">>, Partial<Pick<
|
|
|
399
386
|
oncalciteListDragEnd?: EventHandler<List["calciteListDragEnd"]>;
|
|
400
387
|
oncalciteListDragStart?: EventHandler<List["calciteListDragStart"]>;
|
|
401
388
|
oncalciteListFilter?: EventHandler<List["calciteListFilter"]>;
|
|
402
|
-
oncalciteListMoveHalt?: EventHandler<List["calciteListMoveHalt"]>;
|
|
403
389
|
oncalciteListOrderChange?: EventHandler<List["calciteListOrderChange"]>;
|
|
404
390
|
}
|
|
405
391
|
|
|
@@ -532,10 +518,6 @@ interface PreactCalciteSortHandle extends Partial<Pick<SortHandle, "addToItems"
|
|
|
532
518
|
oncalciteSortHandleReorder?: EventHandler<SortHandle["calciteSortHandleReorder"]>;
|
|
533
519
|
}
|
|
534
520
|
|
|
535
|
-
interface PreactCalciteSortableList extends Partial<Pick<SortableList, "canPull" | "canPut" | "disabled" | "dragSelector" | "group" | "handleSelector" | "layout" | "loading">>, HTMLAttributes<SortableList> {
|
|
536
|
-
oncalciteListOrderChange?: EventHandler<SortableList["calciteListOrderChange"]>;
|
|
537
|
-
}
|
|
538
|
-
|
|
539
521
|
interface PreactCalciteSplitButton extends Partial<Pick<SplitButton, "appearance" | "disabled" | "download" | "dropdownIconType" | "dropdownLabel" | "flipPlacements" | "href" | "kind" | "loading" | "overlayPositioning" | "placement" | "primaryIconEnd" | "primaryIconFlipRtl" | "primaryIconStart" | "primaryLabel" | "primaryText" | "rel" | "scale" | "target" | "topLayerDisabled" | "width">>, HTMLAttributes<SplitButton> {
|
|
540
522
|
oncalciteSplitButtonPrimaryClick?: EventHandler<SplitButton["calciteSplitButtonPrimaryClick"]>;
|
|
541
523
|
oncalciteSplitButtonSecondaryClick?: EventHandler<SplitButton["calciteSplitButtonSecondaryClick"]>;
|
|
@@ -676,7 +658,6 @@ declare module 'preact' {
|
|
|
676
658
|
"calcite-flow-item": PreactCalciteFlowItem;
|
|
677
659
|
"calcite-focus-trap": PreactCalciteFocusTrap;
|
|
678
660
|
"calcite-graph": PreactCalciteGraph;
|
|
679
|
-
"calcite-handle": PreactCalciteHandle;
|
|
680
661
|
"calcite-icon": PreactCalciteIcon;
|
|
681
662
|
"calcite-inline-editable": PreactCalciteInlineEditable;
|
|
682
663
|
"calcite-input": PreactCalciteInput;
|
|
@@ -717,7 +698,6 @@ declare module 'preact' {
|
|
|
717
698
|
"calcite-shell-panel": PreactCalciteShellPanel;
|
|
718
699
|
"calcite-slider": PreactCalciteSlider;
|
|
719
700
|
"calcite-sort-handle": PreactCalciteSortHandle;
|
|
720
|
-
"calcite-sortable-list": PreactCalciteSortableList;
|
|
721
701
|
"calcite-split-button": PreactCalciteSplitButton;
|
|
722
702
|
"calcite-stack": PreactCalciteStack;
|
|
723
703
|
"calcite-stepper": PreactCalciteStepper;
|
|
@@ -787,7 +767,6 @@ declare module 'preact' {
|
|
|
787
767
|
"calcite-flow-item": PreactCalciteFlowItem;
|
|
788
768
|
"calcite-focus-trap": PreactCalciteFocusTrap;
|
|
789
769
|
"calcite-graph": PreactCalciteGraph;
|
|
790
|
-
"calcite-handle": PreactCalciteHandle;
|
|
791
770
|
"calcite-icon": PreactCalciteIcon;
|
|
792
771
|
"calcite-inline-editable": PreactCalciteInlineEditable;
|
|
793
772
|
"calcite-input": PreactCalciteInput;
|
|
@@ -828,7 +807,6 @@ declare module 'preact' {
|
|
|
828
807
|
"calcite-shell-panel": PreactCalciteShellPanel;
|
|
829
808
|
"calcite-slider": PreactCalciteSlider;
|
|
830
809
|
"calcite-sort-handle": PreactCalciteSortHandle;
|
|
831
|
-
"calcite-sortable-list": PreactCalciteSortableList;
|
|
832
810
|
"calcite-split-button": PreactCalciteSplitButton;
|
|
833
811
|
"calcite-stack": PreactCalciteStack;
|
|
834
812
|
"calcite-stepper": PreactCalciteStepper;
|
package/dist/types/react.d.ts
CHANGED
|
@@ -41,7 +41,6 @@ import type { Flow } from "../components/calcite-flow/customElement.js";
|
|
|
41
41
|
import type { FlowItem } from "../components/calcite-flow-item/customElement.js";
|
|
42
42
|
import type { FocusTrap } from "../components/calcite-focus-trap/customElement.js";
|
|
43
43
|
import type { Graph } from "../components/calcite-graph/customElement.js";
|
|
44
|
-
import type { Handle } from "../components/calcite-handle/customElement.js";
|
|
45
44
|
import type { Icon } from "../components/calcite-icon/customElement.js";
|
|
46
45
|
import type { InlineEditable } from "../components/calcite-inline-editable/customElement.js";
|
|
47
46
|
import type { Input } from "../components/calcite-input/customElement.js";
|
|
@@ -82,7 +81,6 @@ import type { Shell } from "../components/calcite-shell/customElement.js";
|
|
|
82
81
|
import type { ShellPanel } from "../components/calcite-shell-panel/customElement.js";
|
|
83
82
|
import type { Slider } from "../components/calcite-slider/customElement.js";
|
|
84
83
|
import type { SortHandle } from "../components/calcite-sort-handle/customElement.js";
|
|
85
|
-
import type { SortableList } from "../components/calcite-sortable-list/customElement.js";
|
|
86
84
|
import type { SplitButton } from "../components/calcite-split-button/customElement.js";
|
|
87
85
|
import type { Stack } from "../components/calcite-stack/customElement.js";
|
|
88
86
|
import type { Stepper } from "../components/calcite-stepper/customElement.js";
|
|
@@ -174,23 +172,17 @@ interface ReactCalciteAvatar extends Partial<Pick<Avatar, "fullName" | "label" |
|
|
|
174
172
|
}
|
|
175
173
|
|
|
176
174
|
interface ReactCalciteBlock extends Partial<Pick<Block, "collapsible" | "description" | "disabled" | "dragDisabled" | "dragHandle" | "expandable" | "expanded" | "heading" | "headingLevel" | "iconEnd" | "iconFlipRtl" | "iconStart" | "label" | "loading" | "menuFlipPlacements" | "menuPlacement" | "messageOverrides" | "open" | "overlayPositioning" | "scale" | "sortHandleOpen" | "status" | "toggleDisplay" | "topLayerDisabled">>, HTMLProps<Block> {
|
|
177
|
-
oncalciteBlockBeforeClose?: EventHandler<Block["calciteBlockBeforeClose"]>;
|
|
178
|
-
oncalciteBlockBeforeOpen?: EventHandler<Block["calciteBlockBeforeOpen"]>;
|
|
179
|
-
oncalciteBlockClose?: EventHandler<Block["calciteBlockClose"]>;
|
|
180
175
|
oncalciteBlockCollapse?: EventHandler<Block["calciteBlockCollapse"]>;
|
|
181
176
|
oncalciteBlockExpand?: EventHandler<Block["calciteBlockExpand"]>;
|
|
182
|
-
oncalciteBlockOpen?: EventHandler<Block["calciteBlockOpen"]>;
|
|
183
177
|
oncalciteBlockSortHandleBeforeClose?: EventHandler<Block["calciteBlockSortHandleBeforeClose"]>;
|
|
184
178
|
oncalciteBlockSortHandleBeforeOpen?: EventHandler<Block["calciteBlockSortHandleBeforeOpen"]>;
|
|
185
179
|
oncalciteBlockSortHandleClose?: EventHandler<Block["calciteBlockSortHandleClose"]>;
|
|
186
180
|
oncalciteBlockSortHandleOpen?: EventHandler<Block["calciteBlockSortHandleOpen"]>;
|
|
187
|
-
oncalciteBlockToggle?: EventHandler<Block["calciteBlockToggle"]>;
|
|
188
181
|
}
|
|
189
182
|
|
|
190
183
|
interface ReactCalciteBlockGroup extends Required<Pick<BlockGroup, "label">>, Partial<Pick<BlockGroup, "canPull" | "canPut" | "disabled" | "dragEnabled" | "expandMode" | "group" | "loading" | "scale" | "sortDisabled">>, HTMLProps<BlockGroup> {
|
|
191
184
|
oncalciteBlockGroupDragEnd?: EventHandler<BlockGroup["calciteBlockGroupDragEnd"]>;
|
|
192
185
|
oncalciteBlockGroupDragStart?: EventHandler<BlockGroup["calciteBlockGroupDragStart"]>;
|
|
193
|
-
oncalciteBlockGroupMoveHalt?: EventHandler<BlockGroup["calciteBlockGroupMoveHalt"]>;
|
|
194
186
|
oncalciteBlockGroupOrderChange?: EventHandler<BlockGroup["calciteBlockGroupOrderChange"]>;
|
|
195
187
|
}
|
|
196
188
|
|
|
@@ -324,11 +316,6 @@ interface ReactCalciteFocusTrap extends Partial<Pick<FocusTrap, "focusTrapDisabl
|
|
|
324
316
|
interface ReactCalciteGraph extends Required<Pick<Graph, "max" | "min">>, Partial<Pick<Graph, "colorStops" | "data" | "highlightMax" | "highlightMin">>, HTMLProps<Graph> {
|
|
325
317
|
}
|
|
326
318
|
|
|
327
|
-
interface ReactCalciteHandle extends Partial<Pick<Handle, "disabled" | "dragHandle" | "messageOverrides" | "selected">>, HTMLProps<Handle> {
|
|
328
|
-
oncalciteHandleChange?: EventHandler<Handle["calciteHandleChange"]>;
|
|
329
|
-
oncalciteHandleNudge?: EventHandler<Handle["calciteHandleNudge"]>;
|
|
330
|
-
}
|
|
331
|
-
|
|
332
319
|
interface ReactCalciteIcon extends Partial<Pick<Icon, "flipRtl" | "icon" | "preload" | "scale" | "textLabel">>, HTMLProps<Icon> {
|
|
333
320
|
}
|
|
334
321
|
|
|
@@ -399,7 +386,6 @@ interface ReactCalciteList extends Required<Pick<List, "label">>, Partial<Pick<L
|
|
|
399
386
|
oncalciteListDragEnd?: EventHandler<List["calciteListDragEnd"]>;
|
|
400
387
|
oncalciteListDragStart?: EventHandler<List["calciteListDragStart"]>;
|
|
401
388
|
oncalciteListFilter?: EventHandler<List["calciteListFilter"]>;
|
|
402
|
-
oncalciteListMoveHalt?: EventHandler<List["calciteListMoveHalt"]>;
|
|
403
389
|
oncalciteListOrderChange?: EventHandler<List["calciteListOrderChange"]>;
|
|
404
390
|
}
|
|
405
391
|
|
|
@@ -532,10 +518,6 @@ interface ReactCalciteSortHandle extends Partial<Pick<SortHandle, "addToItems" |
|
|
|
532
518
|
oncalciteSortHandleReorder?: EventHandler<SortHandle["calciteSortHandleReorder"]>;
|
|
533
519
|
}
|
|
534
520
|
|
|
535
|
-
interface ReactCalciteSortableList extends Partial<Pick<SortableList, "canPull" | "canPut" | "disabled" | "dragSelector" | "group" | "handleSelector" | "layout" | "loading">>, HTMLProps<SortableList> {
|
|
536
|
-
oncalciteListOrderChange?: EventHandler<SortableList["calciteListOrderChange"]>;
|
|
537
|
-
}
|
|
538
|
-
|
|
539
521
|
interface ReactCalciteSplitButton extends Partial<Pick<SplitButton, "appearance" | "disabled" | "download" | "dropdownIconType" | "dropdownLabel" | "flipPlacements" | "href" | "kind" | "loading" | "overlayPositioning" | "placement" | "primaryIconEnd" | "primaryIconFlipRtl" | "primaryIconStart" | "primaryLabel" | "primaryText" | "rel" | "scale" | "target" | "topLayerDisabled" | "width">>, HTMLProps<SplitButton> {
|
|
540
522
|
oncalciteSplitButtonPrimaryClick?: EventHandler<SplitButton["calciteSplitButtonPrimaryClick"]>;
|
|
541
523
|
oncalciteSplitButtonSecondaryClick?: EventHandler<SplitButton["calciteSplitButtonSecondaryClick"]>;
|
|
@@ -676,7 +658,6 @@ declare module "react" {
|
|
|
676
658
|
"calcite-flow-item": ReactCalciteFlowItem;
|
|
677
659
|
"calcite-focus-trap": ReactCalciteFocusTrap;
|
|
678
660
|
"calcite-graph": ReactCalciteGraph;
|
|
679
|
-
"calcite-handle": ReactCalciteHandle;
|
|
680
661
|
"calcite-icon": ReactCalciteIcon;
|
|
681
662
|
"calcite-inline-editable": ReactCalciteInlineEditable;
|
|
682
663
|
"calcite-input": ReactCalciteInput;
|
|
@@ -717,7 +698,6 @@ declare module "react" {
|
|
|
717
698
|
"calcite-shell-panel": ReactCalciteShellPanel;
|
|
718
699
|
"calcite-slider": ReactCalciteSlider;
|
|
719
700
|
"calcite-sort-handle": ReactCalciteSortHandle;
|
|
720
|
-
"calcite-sortable-list": ReactCalciteSortableList;
|
|
721
701
|
"calcite-split-button": ReactCalciteSplitButton;
|
|
722
702
|
"calcite-stack": ReactCalciteStack;
|
|
723
703
|
"calcite-stepper": ReactCalciteStepper;
|
|
@@ -789,7 +769,6 @@ declare module "react/jsx-runtime" {
|
|
|
789
769
|
"calcite-flow-item": ReactCalciteFlowItem;
|
|
790
770
|
"calcite-focus-trap": ReactCalciteFocusTrap;
|
|
791
771
|
"calcite-graph": ReactCalciteGraph;
|
|
792
|
-
"calcite-handle": ReactCalciteHandle;
|
|
793
772
|
"calcite-icon": ReactCalciteIcon;
|
|
794
773
|
"calcite-inline-editable": ReactCalciteInlineEditable;
|
|
795
774
|
"calcite-input": ReactCalciteInput;
|
|
@@ -830,7 +809,6 @@ declare module "react/jsx-runtime" {
|
|
|
830
809
|
"calcite-shell-panel": ReactCalciteShellPanel;
|
|
831
810
|
"calcite-slider": ReactCalciteSlider;
|
|
832
811
|
"calcite-sort-handle": ReactCalciteSortHandle;
|
|
833
|
-
"calcite-sortable-list": ReactCalciteSortableList;
|
|
834
812
|
"calcite-split-button": ReactCalciteSplitButton;
|
|
835
813
|
"calcite-stack": ReactCalciteStack;
|
|
836
814
|
"calcite-stepper": ReactCalciteStepper;
|
|
@@ -902,7 +880,6 @@ declare module "react/jsx-dev-runtime" {
|
|
|
902
880
|
"calcite-flow-item": ReactCalciteFlowItem;
|
|
903
881
|
"calcite-focus-trap": ReactCalciteFocusTrap;
|
|
904
882
|
"calcite-graph": ReactCalciteGraph;
|
|
905
|
-
"calcite-handle": ReactCalciteHandle;
|
|
906
883
|
"calcite-icon": ReactCalciteIcon;
|
|
907
884
|
"calcite-inline-editable": ReactCalciteInlineEditable;
|
|
908
885
|
"calcite-input": ReactCalciteInput;
|
|
@@ -943,7 +920,6 @@ declare module "react/jsx-dev-runtime" {
|
|
|
943
920
|
"calcite-shell-panel": ReactCalciteShellPanel;
|
|
944
921
|
"calcite-slider": ReactCalciteSlider;
|
|
945
922
|
"calcite-sort-handle": ReactCalciteSortHandle;
|
|
946
|
-
"calcite-sortable-list": ReactCalciteSortableList;
|
|
947
923
|
"calcite-split-button": ReactCalciteSplitButton;
|
|
948
924
|
"calcite-stack": ReactCalciteStack;
|
|
949
925
|
"calcite-stepper": ReactCalciteStepper;
|
package/dist/types/stencil.d.ts
CHANGED
|
@@ -41,7 +41,6 @@ import type { Flow } from "../components/calcite-flow/customElement.js";
|
|
|
41
41
|
import type { FlowItem } from "../components/calcite-flow-item/customElement.js";
|
|
42
42
|
import type { FocusTrap } from "../components/calcite-focus-trap/customElement.js";
|
|
43
43
|
import type { Graph } from "../components/calcite-graph/customElement.js";
|
|
44
|
-
import type { Handle } from "../components/calcite-handle/customElement.js";
|
|
45
44
|
import type { Icon } from "../components/calcite-icon/customElement.js";
|
|
46
45
|
import type { InlineEditable } from "../components/calcite-inline-editable/customElement.js";
|
|
47
46
|
import type { Input } from "../components/calcite-input/customElement.js";
|
|
@@ -82,7 +81,6 @@ import type { Shell } from "../components/calcite-shell/customElement.js";
|
|
|
82
81
|
import type { ShellPanel } from "../components/calcite-shell-panel/customElement.js";
|
|
83
82
|
import type { Slider } from "../components/calcite-slider/customElement.js";
|
|
84
83
|
import type { SortHandle } from "../components/calcite-sort-handle/customElement.js";
|
|
85
|
-
import type { SortableList } from "../components/calcite-sortable-list/customElement.js";
|
|
86
84
|
import type { SplitButton } from "../components/calcite-split-button/customElement.js";
|
|
87
85
|
import type { Stack } from "../components/calcite-stack/customElement.js";
|
|
88
86
|
import type { Stepper } from "../components/calcite-stepper/customElement.js";
|
|
@@ -174,23 +172,17 @@ interface StencilCalciteAvatar extends Partial<Pick<Avatar, "fullName" | "label"
|
|
|
174
172
|
}
|
|
175
173
|
|
|
176
174
|
interface StencilCalciteBlock extends Partial<Pick<Block, "collapsible" | "description" | "disabled" | "dragDisabled" | "dragHandle" | "expandable" | "expanded" | "heading" | "headingLevel" | "iconEnd" | "iconFlipRtl" | "iconStart" | "label" | "loading" | "menuFlipPlacements" | "menuPlacement" | "messageOverrides" | "open" | "overlayPositioning" | "scale" | "sortHandleOpen" | "status" | "toggleDisplay" | "topLayerDisabled">>, StencilJsx.HTMLAttributes<Block> {
|
|
177
|
-
onCalciteBlockBeforeClose?: EventHandler<Block["calciteBlockBeforeClose"]>;
|
|
178
|
-
onCalciteBlockBeforeOpen?: EventHandler<Block["calciteBlockBeforeOpen"]>;
|
|
179
|
-
onCalciteBlockClose?: EventHandler<Block["calciteBlockClose"]>;
|
|
180
175
|
onCalciteBlockCollapse?: EventHandler<Block["calciteBlockCollapse"]>;
|
|
181
176
|
onCalciteBlockExpand?: EventHandler<Block["calciteBlockExpand"]>;
|
|
182
|
-
onCalciteBlockOpen?: EventHandler<Block["calciteBlockOpen"]>;
|
|
183
177
|
onCalciteBlockSortHandleBeforeClose?: EventHandler<Block["calciteBlockSortHandleBeforeClose"]>;
|
|
184
178
|
onCalciteBlockSortHandleBeforeOpen?: EventHandler<Block["calciteBlockSortHandleBeforeOpen"]>;
|
|
185
179
|
onCalciteBlockSortHandleClose?: EventHandler<Block["calciteBlockSortHandleClose"]>;
|
|
186
180
|
onCalciteBlockSortHandleOpen?: EventHandler<Block["calciteBlockSortHandleOpen"]>;
|
|
187
|
-
onCalciteBlockToggle?: EventHandler<Block["calciteBlockToggle"]>;
|
|
188
181
|
}
|
|
189
182
|
|
|
190
183
|
interface StencilCalciteBlockGroup extends Required<Pick<BlockGroup, "label">>, Partial<Pick<BlockGroup, "canPull" | "canPut" | "disabled" | "dragEnabled" | "expandMode" | "group" | "loading" | "scale" | "sortDisabled">>, StencilJsx.HTMLAttributes<BlockGroup> {
|
|
191
184
|
onCalciteBlockGroupDragEnd?: EventHandler<BlockGroup["calciteBlockGroupDragEnd"]>;
|
|
192
185
|
onCalciteBlockGroupDragStart?: EventHandler<BlockGroup["calciteBlockGroupDragStart"]>;
|
|
193
|
-
onCalciteBlockGroupMoveHalt?: EventHandler<BlockGroup["calciteBlockGroupMoveHalt"]>;
|
|
194
186
|
onCalciteBlockGroupOrderChange?: EventHandler<BlockGroup["calciteBlockGroupOrderChange"]>;
|
|
195
187
|
}
|
|
196
188
|
|
|
@@ -324,11 +316,6 @@ interface StencilCalciteFocusTrap extends Partial<Pick<FocusTrap, "focusTrapDisa
|
|
|
324
316
|
interface StencilCalciteGraph extends Required<Pick<Graph, "max" | "min">>, Partial<Pick<Graph, "colorStops" | "data" | "highlightMax" | "highlightMin">>, StencilJsx.HTMLAttributes<Graph> {
|
|
325
317
|
}
|
|
326
318
|
|
|
327
|
-
interface StencilCalciteHandle extends Partial<Pick<Handle, "disabled" | "dragHandle" | "messageOverrides" | "selected">>, StencilJsx.HTMLAttributes<Handle> {
|
|
328
|
-
onCalciteHandleChange?: EventHandler<Handle["calciteHandleChange"]>;
|
|
329
|
-
onCalciteHandleNudge?: EventHandler<Handle["calciteHandleNudge"]>;
|
|
330
|
-
}
|
|
331
|
-
|
|
332
319
|
interface StencilCalciteIcon extends Partial<Pick<Icon, "flipRtl" | "icon" | "preload" | "scale" | "textLabel">>, StencilJsx.HTMLAttributes<Icon> {
|
|
333
320
|
}
|
|
334
321
|
|
|
@@ -399,7 +386,6 @@ interface StencilCalciteList extends Required<Pick<List, "label">>, Partial<Pick
|
|
|
399
386
|
onCalciteListDragEnd?: EventHandler<List["calciteListDragEnd"]>;
|
|
400
387
|
onCalciteListDragStart?: EventHandler<List["calciteListDragStart"]>;
|
|
401
388
|
onCalciteListFilter?: EventHandler<List["calciteListFilter"]>;
|
|
402
|
-
onCalciteListMoveHalt?: EventHandler<List["calciteListMoveHalt"]>;
|
|
403
389
|
onCalciteListOrderChange?: EventHandler<List["calciteListOrderChange"]>;
|
|
404
390
|
}
|
|
405
391
|
|
|
@@ -532,10 +518,6 @@ interface StencilCalciteSortHandle extends Partial<Pick<SortHandle, "addToItems"
|
|
|
532
518
|
onCalciteSortHandleReorder?: EventHandler<SortHandle["calciteSortHandleReorder"]>;
|
|
533
519
|
}
|
|
534
520
|
|
|
535
|
-
interface StencilCalciteSortableList extends Partial<Pick<SortableList, "canPull" | "canPut" | "disabled" | "dragSelector" | "group" | "handleSelector" | "layout" | "loading">>, StencilJsx.HTMLAttributes<SortableList> {
|
|
536
|
-
onCalciteListOrderChange?: EventHandler<SortableList["calciteListOrderChange"]>;
|
|
537
|
-
}
|
|
538
|
-
|
|
539
521
|
interface StencilCalciteSplitButton extends Partial<Pick<SplitButton, "appearance" | "disabled" | "download" | "dropdownIconType" | "dropdownLabel" | "flipPlacements" | "href" | "kind" | "loading" | "overlayPositioning" | "placement" | "primaryIconEnd" | "primaryIconFlipRtl" | "primaryIconStart" | "primaryLabel" | "primaryText" | "rel" | "scale" | "target" | "topLayerDisabled" | "width">>, StencilJsx.HTMLAttributes<SplitButton> {
|
|
540
522
|
onCalciteSplitButtonPrimaryClick?: EventHandler<SplitButton["calciteSplitButtonPrimaryClick"]>;
|
|
541
523
|
onCalciteSplitButtonSecondaryClick?: EventHandler<SplitButton["calciteSplitButtonSecondaryClick"]>;
|
|
@@ -674,7 +656,6 @@ interface ExposedElements {
|
|
|
674
656
|
"calcite-flow-item": StencilCalciteFlowItem;
|
|
675
657
|
"calcite-focus-trap": StencilCalciteFocusTrap;
|
|
676
658
|
"calcite-graph": StencilCalciteGraph;
|
|
677
|
-
"calcite-handle": StencilCalciteHandle;
|
|
678
659
|
"calcite-icon": StencilCalciteIcon;
|
|
679
660
|
"calcite-inline-editable": StencilCalciteInlineEditable;
|
|
680
661
|
"calcite-input": StencilCalciteInput;
|
|
@@ -715,7 +696,6 @@ interface ExposedElements {
|
|
|
715
696
|
"calcite-shell-panel": StencilCalciteShellPanel;
|
|
716
697
|
"calcite-slider": StencilCalciteSlider;
|
|
717
698
|
"calcite-sort-handle": StencilCalciteSortHandle;
|
|
718
|
-
"calcite-sortable-list": StencilCalciteSortableList;
|
|
719
699
|
"calcite-split-button": StencilCalciteSplitButton;
|
|
720
700
|
"calcite-stack": StencilCalciteStack;
|
|
721
701
|
"calcite-stepper": StencilCalciteStepper;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@esri/calcite-components",
|
|
3
|
-
"version": "6.0.0-next.
|
|
3
|
+
"version": "6.0.0-next.10",
|
|
4
4
|
"description": "Web Components for Esri's Calcite Design System.",
|
|
5
5
|
"homepage": "https://developers.arcgis.com/calcite-design-system/",
|
|
6
6
|
"repository": {
|
|
@@ -33,10 +33,10 @@
|
|
|
33
33
|
"THIRD-PARTY-NOTICES.md"
|
|
34
34
|
],
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@arcgis/lumina": ">=
|
|
37
|
-
"@arcgis/toolkit": ">=
|
|
38
|
-
"@esri/calcite-design-tokens": "4.2.1-next.
|
|
39
|
-
"@esri/calcite-ui-icons": "4.7.0-next.
|
|
36
|
+
"@arcgis/lumina": ">=6.0.0-next.16 <7.0.0",
|
|
37
|
+
"@arcgis/toolkit": ">=6.0.0-next.16 <7.0.0",
|
|
38
|
+
"@esri/calcite-design-tokens": "4.2.1-next.1",
|
|
39
|
+
"@esri/calcite-ui-icons": "4.7.0-next.1",
|
|
40
40
|
"@floating-ui/dom": "^1.8.0",
|
|
41
41
|
"@floating-ui/utils": "^0.2.8",
|
|
42
42
|
"@interactjs/types": "^1.10.27",
|
|
@@ -53,11 +53,11 @@
|
|
|
53
53
|
"type-fest": "^4.30.1"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@arcgis/api-extractor": ">=
|
|
57
|
-
"@arcgis/eslint-config": ">=
|
|
58
|
-
"@arcgis/lumina-compiler": ">=
|
|
56
|
+
"@arcgis/api-extractor": ">=6.0.0-next.16 <7.0.0",
|
|
57
|
+
"@arcgis/eslint-config": ">=6.0.0-next.16 <7.0.0",
|
|
58
|
+
"@arcgis/lumina-compiler": ">=6.0.0-next.16 <7.0.0",
|
|
59
59
|
"@cloudfour/simple-svg-placeholder": "1.2.0",
|
|
60
|
-
"@esri/calcite-tailwind-preset": "1.
|
|
60
|
+
"@esri/calcite-tailwind-preset": "1.2.0-next.0",
|
|
61
61
|
"@esri/calcite-typescript-config": "0.0.1-next.7",
|
|
62
62
|
"@esri/eslint-config-calcite": "0.0.1-next.14",
|
|
63
63
|
"@esri/eslint-plugin-calcite-components": "2.0.5-next.0",
|
package/dist/cdn/2JEBIPUA.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{a as W}from"./ITINQ72E.js";import{b as R}from"./G2G5ELGL.js";import{a as F}from"./UT2YYWTT.js";import{a as G}from"./LVFOVDHP.js";import{c as K}from"./BWQEQMPE.js";import{a as V}from"./XN5GTOTE.js";import{a as N}from"./SYCYUG5E.js";import{a as P}from"./4MISAGES.js";import{b as q}from"./ECJJHTCC.js";import{d as I}from"./YWJV2ZJH.js";import{a as x,c as y,e as U,g as h,h as M}from"./CZAABKL5.js";import{a as H}from"./KAADRWY5.js";import{a as L}from"./SAHTJ6E6.js";import"./5K4OZJAZ.js";import{a as D}from"./CASNTUXN.js";import{a as T,b as w}from"./FDHY2TZA.js";import{a as B}from"./HS66ECFP.js";import"./ZZDNIBT7.js";import{a as O}from"./YW4L3SES.js";import"./VMHJHFFS.js";import{c as E,e as z}from"./UVU4JATX.js";import"./2OP2BIGK.js";import{A as b,y as v}from"./2M4ETWZU.js";import{E as f,F as p,G as A,H as r,L as g,T as S,g as k,h as m,l as s,p as c}from"./VMT523SA.js";var Q=k`: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:block}.input-container{position:relative;display:flex;flex:1 1 auto;flex-wrap:nowrap}.input{width:100%;--calcite-input-prefix-size: var(--calcite-autocomplete-input-prefix-size);--calcite-input-suffix-size: var(--calcite-autocomplete-input-suffix-size);--calcite-input-background-color: var(--calcite-autocomplete-input-background-color);--calcite-input-border-color: var(--calcite-autocomplete-input-border-color);--calcite-input-corner-radius: var(--calcite-autocomplete-input-corner-radius, var(--calcite-corner-radius));--calcite-input-shadow: var(--calcite-autocomplete-input-shadow);--calcite-input-icon-color: var(--calcite-autocomplete-input-icon-color);--calcite-input-text-color: var(--calcite-autocomplete-input-text-color);--calcite-input-placeholder-text-color: var(--calcite-autocomplete-input-placeholder-text-color);--calcite-input-actions-background-color: var(--calcite-autocomplete-input-actions-background-color);--calcite-input-actions-background-color-hover: var(--calcite-autocomplete-input-actions-background-color-hover);--calcite-input-actions-background-color-press: var(--calcite-autocomplete-input-actions-background-color-press);--calcite-input-actions-icon-color: var(--calcite-autocomplete-input-actions-icon-color);--calcite-input-actions-icon-color-hover: var(--calcite-autocomplete-input-actions-icon-color-hover);--calcite-input-actions-icon-color-press: var(--calcite-autocomplete-input-actions-icon-color-press);--calcite-input-loading-background-color: var(--calcite-autocomplete-input-loading-background-color);--calcite-input-loading-fill-color: var(--calcite-autocomplete-input-loading-fill-color);--calcite-input-prefix-text-color: var(--calcite-autocomplete-input-prefix-text-color);--calcite-input-suffix-text-color: var(--calcite-autocomplete-input-suffix-text-color)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.content-container{box-sizing:border-box;width:100%}.floating-ui-container{inline-size:max-content;display:none;max-inline-size:100vw;max-block-size:100vh;inset-block-start:0;left:0;z-index:var(--calcite-floating-ui-z-index)}@starting-style{.floating-ui-container{opacity:0;inset-block-start:0;left:0}}:host([top-layer-disabled]) .floating-ui-container{--calcite-floating-ui-z-index: var(--calcite-z-index-dropdown)}.floating-ui-container[popover]{padding:0;margin:0;border:none;background-color:transparent;overflow:visible;display:none}.floating-ui-container:popover-open{display:block}.floating-ui-container .calcite-floating-ui-anim{position:relative;transition-duration:var(--calcite-floating-ui-transition);transition-property:inset-block-start,left,opacity,display;transition-behavior:allow-discrete;opacity:0;box-shadow:0 0 16px #00000029;z-index:var(--calcite-z-index);border-radius:.25rem}.floating-ui-container[data-placement^=bottom] .calcite-floating-ui-anim{inset-block-start:-5px}.floating-ui-container[data-placement^=top] .calcite-floating-ui-anim{inset-block-start:5px}.floating-ui-container[data-placement^=left] .calcite-floating-ui-anim{left:5px}.floating-ui-container[data-placement^=right] .calcite-floating-ui-anim{left:-5px}.floating-ui-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;inset-block-start:0;left:0}@starting-style{.floating-ui-container[data-placement] .calcite-floating-ui-anim--active{opacity:0}}.content-container .calcite-floating-ui-anim{width:100%;overflow-y:auto;box-shadow:var(--calcite-shadow-md);max-block-size:var(--calcite-autocomplete-menu-max-size-y, 45vh);color:var(--calcite-autocomplete-text-color, var(--calcite-color-text-1));background-color:var(--calcite-autocomplete-background-color, var(--calcite-theme-color-surface-2, var(--calcite-color-foreground-1)));border-radius:var(--calcite-autocomplete-corner-radius, var(--calcite-theme-corner-radius-sm, var(--calcite-corner-radius-round)))}.content--hidden{display:none}@media(forced-colors:active){.floating-ui-container--active{border:1px solid canvasText}}.screen-readers-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.internal-label-alignment--center{align-items:center}.internal-label-alignment--end{align-items:end}.internal-label--container{display:flex;justify-content:space-between;color:var(--calcite-color-text-1)}.internal-label-required--indicator{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-status-danger);padding-inline:var(--calcite-theme-space-base, var(--calcite-spacing-base))}.internal-label-required--indicator:hover{cursor:help}.internal-label--text{line-height:1}:host([scale=s]) .internal-label-spacing--bottom{margin-block-end:var(--calcite-theme-space-2xs, var(--calcite-spacing-xxs))}:host([scale=s]) .internal-label-spacing-inline--end{margin-inline-end:var(--calcite-theme-space-sm, var(--calcite-spacing-sm))}:host([scale=s]) .internal-label-spacing-inline--start{margin-inline-start:var(--calcite-theme-space-sm, var(--calcite-spacing-sm))}:host([scale=s]) .internal-label--text{font-size:var(--calcite-font-size--2)}:host([scale=m]) .internal-label-spacing--bottom{margin-block-end:var(--calcite-theme-space-sm, var(--calcite-spacing-sm))}:host([scale=m]) .internal-label-spacing-inline--end{margin-inline-end:var(--calcite-theme-space-sm, var(--calcite-spacing-sm))}:host([scale=m]) .internal-label-spacing-inline--start{margin-inline-start:var(--calcite-theme-space-sm, var(--calcite-spacing-sm))}:host([scale=m]) .internal-label--text{font-size:var(--calcite-font-size--1)}:host([scale=l]) .internal-label-spacing--bottom{margin-block-end:var(--calcite-theme-space-sm, var(--calcite-spacing-sm))}:host([scale=l]) .internal-label-spacing-inline--end{margin-inline-end:var(--calcite-theme-space-md, var(--calcite-spacing-md))}:host([scale=l]) .internal-label-spacing-inline--start{margin-inline-start:var(--calcite-theme-space-md, var(--calcite-spacing-md))}:host([scale=l]) .internal-label--text{font-size:var(--calcite-font-size-0)}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:.5rem}:host([scale=s]) .validation-container{padding-block-start:.25rem}:host([hidden]){display:none}[hidden]{display:none}`,j={contentBottom:"content-bottom",contentTop:"content-top"},o={inputContainer:"input-container",input:"input",contentContainer:"content-container",contentAnimation:"content-animation",content:"content",contentHidden:"content--hidden",floatingUIContainer:"floating-ui-container",floatingUIContainerActive:"floating-ui-container--active",screenReadersOnly:"screen-readers-only"},J="autocomplete",C={validationMessage:"autocompleteValidationMessage",input:u=>`${J}-input-${u}`,list:u=>`${J}-list-${u}`},X="calcite-autocomplete-item-group",Y="calcite-autocomplete-item",$=class extends A{constructor(){super(),this.guid=D(),this.attributeWatch=E(["autofocus","enterkeyhint","inputmode"],this.handleGlobalAttributesChanged),this.direction=z(),this.formSupport=K({inputType:"text"})(this),this.inputId=C.input(this.guid),this.listId=C.list(this.guid),this.messages=B(),this.transitionProp="opacity",this.transitionRef=f(),this.defaultSlotRef=f(),this.focusSetter=O()(this),this.resizeObserver=T("resize",()=>{this.setFloatingElSize()}),this.interactiveContainer=L(this),this.topLayer=P({target:()=>this.floatingEl})(this),this.activeDescendant="",this.activeIndex=-1,this.hasContentBottom=!1,this.hasContentTop=!1,this.items=[],this.groups=[],this.alignment="start",this.disabled=!1,this.iconFlipRtl=!1,this.loading=!1,this.open=!1,this.overlayPositioning="absolute",this.placement=x,this.readOnly=!1,this.required=!1,this.scale="m",this.status="idle",this.topLayerDisabled=!1,this.value="",this.calciteAutocompleteBeforeClose=c({cancelable:!1}),this.calciteAutocompleteBeforeOpen=c({cancelable:!1}),this.calciteAutocompleteChange=c({cancelable:!1}),this.calciteAutocompleteClose=c({cancelable:!1}),this.calciteAutocompleteOpen=c({cancelable:!1}),this.calciteAutocompleteTextChange=c({cancelable:!1}),this.calciteAutocompleteTextInput=c({cancelable:!1}),N(this),this.listen("calciteAutocompleteItemSelect",this.handleAutocompleteItemSelect),this.listen("calciteInternalAutocompleteItemChange",this.handleAutocompleteItemChange),this.listen("calciteInternalAutocompleteItemGroupItemsChange",this.handleAutocompleteItemGroupItemsChange)}static{this.properties={activeDescendant:[16,{},{state:!0}],activeIndex:[16,{},{state:!0}],hasContentBottom:[16,{},{state:!0}],hasContentTop:[16,{},{state:!0}],items:[16,{},{state:!0}],groups:[16,{},{state:!0}],alignment:[3,{},{reflect:!0}],autocomplete:1,disabled:[7,{},{reflect:!0,type:Boolean}],flipPlacements:[0,{},{attribute:!1}],form:[3,{},{reflect:!0}],icon:[3,{converter:g},{reflect:!0}],iconFlipRtl:[7,{},{reflect:!0,type:Boolean}],inputValue:1,label:1,labelText:1,loading:[7,{},{reflect:!0,type:Boolean}],maxLength:[11,{},{reflect:!0,type:Number}],messageOverrides:[0,{},{attribute:!1}],minLength:[11,{},{reflect:!0,type:Number}],name:[3,{},{reflect:!0}],open:[7,{},{reflect:!0,type:Boolean}],overlayPositioning:[3,{},{reflect:!0}],pattern:1,placeholder:1,placement:[3,{},{reflect:!0}],prefixText:1,readOnly:[7,{},{reflect:!0,type:Boolean}],required:[7,{},{reflect:!0,type:Boolean}],scale:[3,{},{reflect:!0}],status:[3,{},{reflect:!0}],suffixText:1,topLayerDisabled:[7,{},{reflect:!0,type:Boolean}],validationIcon:[3,{converter:g},{reflect:!0}],validationMessage:1,validity:[32,{},{readOnly:!0,attribute:!1}],value:1}}static{this.formAssociated=!0}static{this.styles=Q}get isOpen(){return this.open&&(this.hasContentTop||this.hasContentBottom||this.items.length>0)}get enabledItems(){return this.items.filter(t=>!t.disabled)}async reposition(t=!1){let{floatingEl:e,referenceEl:l,placement:i,overlayPositioning:n,flipPlacements:a}=this;return U(this,{direction:this.direction,floatingEl:e,referenceEl:l,overlayPositioning:n,placement:i,flipPlacements:a,type:"menu"},t)}async scrollContentTo(t){this.transitionRef.value?.scrollTo(t)}async selectText(){return this.referenceEl?.selectText()}async setFocus(t){return this.focusSetter(()=>this.referenceEl,t)}connectedCallback(){super.connectedCallback(),h(this)}load(){this.listenOn(document,"click",this.documentClickHandler)}willUpdate(t){t.has("disabled")&&(this.hasUpdated||this.disabled!==!1)&&this.handleDisabledChange(this.disabled),t.has("open")&&(this.hasUpdated||this.open!==!1)&&this.openHandler(),t.has("value")&&this.hasUpdated&&this.selectedItemsHandler(),(t.has("flipPlacements")||t.has("overlayPositioning")&&(this.hasUpdated||this.overlayPositioning!=="absolute")||t.has("placement")&&(this.hasUpdated||this.placement!==x))&&this.reposition(!0);let e=!1;t.has("inputValue")&&(this.hasUpdated||this.inputValue)&&(this.inputValueMatchPattern=this.inputValue?new RegExp(`(${R(this.inputValue)})`,"i"):void 0,this.updateItems(),this.updateGroups(),e=!0),!e&&t.has("scale")&&(this.hasUpdated||this.scale!=="m")&&(this.updateItems(),this.updateGroups(),e=!0),!e&&t.has("activeIndex")&&(this.hasUpdated||this.activeIndex!==-1)&&this.updateItems()}loaded(){this.getAllItems(),h(this)}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver?.disconnect(),M(this)}setFloatingElSize(){let{referenceEl:t,floatingEl:e}=this;!t||!e||(e.style.inlineSize=`${t.clientWidth}px`)}handleGlobalAttributesChanged(){this.requestUpdate()}handleDisabledChange(t){t||(this.open=!1)}selectedItemsHandler(){this.items.forEach(t=>t.selected=t.value===this.value)}openHandler(){if(this.disabled){this.open=!1;return}this.open||(this.activeIndex=-1),H(this),this.setFloatingElSize(),this.reposition(!0)}async documentClickHandler(t){this.disabled||t.composedPath().includes(this.el)||(this.open=!1)}async handleAutocompleteItemSelect(t){this.value=t.target.value,this.selectedItemsHandler(),this.emitChange(),await this.setFocus(),this.open=!1}handleAutocompleteItemChange(t){t.stopPropagation(),this.items.length&&(this.updateItems(),this.requestUpdate())}onLabelClick(){this.setFocus()}onBeforeOpen(){this.calciteAutocompleteBeforeOpen.emit(),this.topLayer.show()}onOpen(){this.calciteAutocompleteOpen.emit()}onBeforeClose(){this.calciteAutocompleteBeforeClose.emit()}onClose(){this.calciteAutocompleteClose.emit(),this.topLayer.hide()}emitChange(){this.calciteAutocompleteChange.emit()}updateGroups(){this.groups.forEach((t,e,l)=>{t.scale=this.scale,t.position=e,e===0&&(t.disableSpacing=!0);let i=l[e+1];i&&(i.disableSpacing=t.children.length===0)})}updateItems(){let t="";this.value&&this.selectedItemsHandler(),this.items.forEach(e=>{e.scale=this.scale,e.inputValueMatchPattern=this.inputValueMatchPattern}),this.enabledItems.forEach((e,l)=>{let i=l===this.activeIndex;i&&(t=e.guid),e.active=i}),this.activeDescendant=t}handleInputFocus(){this.open=!0}handleContentTopSlotChange(t){this.hasContentTop=v(t)}handleContentBottomSlotChange(t){this.hasContentBottom=v(t)}handleDefaultSlotChange(){this.getAllItems()}handleAutocompleteItemGroupItemsChange(t){t.stopPropagation(),this.getAllItems()}getAllItems(){let t=this.defaultSlotRef.value?b(this.defaultSlotRef.value,X):Array.from(this.el.children).filter(q),e=this.defaultSlotRef.value?b(this.defaultSlotRef.value,Y):Array.from(this.el.children).filter(I),l=t.flatMap(n=>n.items??[]),i=Array.from(new Set([...e,...l].filter(I)));this.groups=t,this.items=i,this.updateItems(),this.updateGroups()}setReferenceEl(t){w(this.resizeObserver,this.referenceEl,t),this.referenceEl=t,h(this)}keyDownHandler(t){let{defaultPrevented:e,key:l}=t;if(e)return;let{open:i,activeIndex:n,enabledItems:a}=this,d=a.length&&n>-1?a[n]:null;switch(l){case"Escape":i&&(this.open=!1,t.preventDefault());break;case"Tab":this.open=!1;break;case"Enter":i&&d?(d.requestSelection(),this.open=!1,t.preventDefault()):!t.defaultPrevented&&this.formSupport.active&&(t.preventDefault(),this.formSupport.requestSubmit());break;case"ArrowDown":a.length&&(this.open=!0,this.activeIndex=n!==-1?Math.min(n+1,a.length-1):0,this.scrollToActiveItem(),t.preventDefault());break;case"ArrowUp":a.length&&(this.open=!0,this.activeIndex=n!==-1?Math.max(n-1,0):a.length-1,this.scrollToActiveItem(),t.preventDefault());break;case"Home":a.length&&(this.open=!0,this.activeIndex=0,this.scrollToActiveItem(),t.preventDefault());break;case"End":a.length&&(this.open=!0,this.activeIndex=a.length-1,this.scrollToActiveItem(),t.preventDefault());break}}scrollToActiveItem(){this.enabledItems[this.activeIndex]?.scrollIntoView({block:"nearest"})}changeHandler(t){t.stopPropagation(),this.inputValue=t.target.value,this.calciteAutocompleteTextChange.emit()}inputClickHandler(t){t.defaultPrevented||(this.open=!0)}inputHandler(t){t.stopPropagation(),this.inputValue=t.target.value,this.open=this.inputValue?.length>0,this.calciteAutocompleteTextInput.emit()}setFloatingEl(t){this.floatingEl=t,h(this)}render(){let{disabled:t,listId:e,inputId:l,isOpen:i}=this,n=this.el.autofocus,a=this.el.enterKeyHint,d=this.el.inputMode;return this.interactiveContainer({disabled:t,children:m`${this.labelText&&G({labelText:this.labelText,onClick:this.onLabelClick,required:this.required,tooltipText:this.messages.required})||""}<div class=${r(o.inputContainer)}><calcite-input .alignment=${this.alignment} aria-activedescendant=${this.activeDescendant??s} aria-controls=${e??s} aria-label=${V(this)??s} aria-owns=${e??s} aria-autocomplete=list .ariaExpanded=${i} aria-haspopup=listbox .autocomplete=${this.autocomplete} .autofocus=${n} class=${r(o.input)} clearable .disabled=${t} enterkeyhint=${a??s} .form=${this.form} .icon=${this.icon??!0} .iconFlipRtl=${this.iconFlipRtl} id=${l??s} inputmode=${d??s} .label=${this.label} .loading=${this.loading} .maxLength=${this.maxLength} .messageOverrides=${this.messages} .minLength=${this.minLength} .name=${this.name} @calciteInputChange=${this.changeHandler} @calciteInputInput=${this.inputHandler} @calciteInternalInputFocus=${this.handleInputFocus} @click=${this.inputClickHandler} @keydown=${this.keyDownHandler} .pattern=${this.pattern} .placeholder=${this.placeholder} .prefixText=${this.prefixText} .readOnly=${this.readOnly} .required=${this.required} role=combobox .scale=${this.scale} .status=${this.status} .suffixText=${this.suffixText} type=search .value=${this.inputValue} ${p(this.setReferenceEl)}></calcite-input>${this.renderListBox()}<div class=${r({[o.contentContainer]:!0,[o.floatingUIContainer]:!0,[o.floatingUIContainerActive]:i})} popover=manual ${p(this.setFloatingEl)}><div class=${r({[o.contentAnimation]:!0,[y.animation]:!0,[y.animationActive]:i})} ${p(this.transitionRef)}><div class=${r({[o.content]:!0,[o.contentHidden]:!i})}><slot name=${j.contentTop} @slotchange=${this.handleContentTopSlotChange}></slot><slot aria-hidden=true @slotchange=${this.handleDefaultSlotChange} ${p(this.defaultSlotRef)}></slot><slot name=${j.contentBottom} @slotchange=${this.handleContentBottomSlotChange}></slot></div></div></div></div>${this.validationMessage&&this.status==="invalid"?W({icon:this.validationIcon,id:C.validationMessage,message:this.validationMessage,scale:this.scale,status:this.status}):null}`})}renderListBox(){return m`<ul aria-labelledby=${this.inputId??s} aria-live=polite class=${r(o.screenReadersOnly)} id=${this.listId??s} role=listbox tabindex=-1>${this.renderListBoxOptions()}</ul>`}renderListBoxOptions(){return F(this.items.filter(t=>!!(t.label||t.heading)),t=>t.guid,t=>m`<li .ariaDisabled=${t.disabled} .ariaLabel=${t.label} .ariaSelected=${t.selected} id=${t.guid??s} role=option tabindex=-1>${t.heading}${t.description}</li>`)}};S("calcite-autocomplete",$);export{$ as Autocomplete};
|
package/dist/cdn/2OP2BIGK.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{n as l}from"./VMT523SA.js";var p=(t,s)=>{let e=t;for(;e;){if(e===s)return!0;if(!e.parentNode)return!1;e.parentNode instanceof ShadowRoot?e=e.parentNode.host:e=e.parentNode}return!1},u=(t,s,e)=>{let n=E(s).subscribe;return n(o=>{o.some(r=>p(t,r.target))&&e()})},d={},E=t=>{let s=t.join(","),e=d[s];if(e!==void 0)return e;let n=new Set,o=new MutationObserver(r=>n.forEach(i=>i(r)));globalThis.document&&o.observe(document.documentElement,{attributes:!0,attributeFilter:t,subtree:!0});let a={subscribe:r=>(n.add(r),()=>{n.delete(r),n.size===0&&(o.disconnect(),d[s]=void 0)})};return d[s]=a,a},C=(t,s)=>{let e=t;for(;e;){let n=e.closest?.(s);if(n)return n;let o=e.getRootNode?.();if(o===globalThis.document)return;e=o?.host}};var g=(t,s,e)=>C(t,`[${s}]`)?.getAttribute(s)??e;var b=t=>{let s=g(t,"lang",globalThis.navigator?.language||c);return{lang:s,t9nLocale:m(s)}},k=(t,s,e,n)=>{let o,a=()=>v(t,s(),n).then(r=>{(o?.lang!==r.lang||o.t9nLocale!==r.t9nLocale||o.t9nStrings!==r.t9nStrings)&&e(r),o=r}).catch(r=>{l("error","intl","Error updating component locale state",{detail:{error:r}})});return queueMicrotask(a),u(t,["lang"],a)},v=async(t,s,e=t.localName.split("-").slice(1).join("-"))=>{let{lang:n,t9nLocale:o}=b(t),a=`${s}/${e}/t9n`,i=e===null?{}:await w(o,a,"messages.");return{lang:n,t9nLocale:o,t9nStrings:i}};var $="ar,bg,bs,ca,cs,da,de,el,en,es,et,fi,fr,he,hr,hu,id,it,ja,ko,lt,lv,nl,nb,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sr,sv,th,tr,uk,vi,zh-CN,zh-HK,zh-TW".split(","),A=new Set($),c="en",N={pt:"pt-BR",nb:"no",nn:"no",zh:"zh-CN"},w=async(t,s,e="")=>{let n=`${s}/${e}`,o=`${n}${t}.json`;return h[o]??=f(t,n),await h[o]},h={},f=async(t,s)=>{let e=`${s}${t}.json`;try{let n=await fetch(e);if(n.ok)return await n.json()}catch(n){return l("error","intl",`An unknown error occurred while fetching localization strings at ${e}`,{detail:{error:n}}),{}}return t===c?{}:await f(c,s)},m=t=>{let[s,e]=t.split("-"),n=s.toLowerCase(),o=n;return e&&(o=`${n}-${e.toUpperCase()}`),o=N[o]??o,A.has(o)?o:e?m(n):c};export{u as a,g as b,b as c,k as d,A as e,c as f,m as g};
|
package/dist/cdn/2YIVCB4X.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{a as t,b as D}from"./AFEHLM2Q.js";import{a as $}from"./SAHTJ6E6.js";import{b as y}from"./A5OQTYIZ.js";import{a as I}from"./YW4L3SES.js";import{a as s}from"./VMHJHFFS.js";import"./UVU4JATX.js";import"./2OP2BIGK.js";import"./2M4ETWZU.js";import{E as g,F as b,G as w,H as o,J as l,K as x,T as k,g as f,h as i,p as r}from"./VMT523SA.js";var R=f`: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;flex-grow:1;align-items:center;outline:2px solid transparent;outline-offset:2px}.container{position:relative;display:flex;flex-grow:1;cursor:pointer;align-items:center;text-decoration-line:none;color:var(--calcite-dropdown-item-text-color, var(--calcite-color-text-1));text-align:start}.container a{outline:none;position:relative;display:flex;flex-grow:1;cursor:pointer;align-items:center;text-decoration-line:none;color:var(--calcite-dropdown-item-text-color, var(--calcite-color-text-1))}.content{flex:1 1 auto}.icon{position:relative;opacity:0;transition-timing-function:cubic-bezier(.4,0,.2,1);transform:scale(.9)}.icon--start,.icon--end{--calcite-icon-color: var(--calcite-dropdown-item-text-color, var(--calcite-color-text-3))}:host([scale=s]) .container{padding-block:.25rem;padding-inline:.5rem;font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-sm)}:host([scale=s]) .icon,:host([scale=s]) .icon--start{padding-inline-end:var(--calcite-theme-space-sm, var(--calcite-spacing-sm))}:host([scale=s]) .icon--end{padding-inline-start:var(--calcite-theme-space-sm, var(--calcite-spacing-sm))}:host([scale=m]) .container{padding-block:.5rem;padding-inline:.75rem;font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-base)}:host([scale=m]) .icon,:host([scale=m]) .icon--start{padding-inline-end:var(--calcite-theme-space-md, var(--calcite-spacing-md))}:host([scale=m]) .icon--end{padding-inline-start:var(--calcite-theme-space-md, var(--calcite-spacing-md))}:host([scale=l]) .container{padding-block:var(--calcite-space-sm-plus);padding-inline:1rem;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md)}:host([scale=l]) .icon,:host([scale=l]) .icon--start{padding-inline-end:var(--calcite-theme-space-lg, var(--calcite-spacing-lg))}:host([scale=l]) .icon--end{padding-inline-start:var(--calcite-theme-space-lg, var(--calcite-spacing-lg))}:host(:focus) .container,:host([active-descendant]) .container{text-decoration-line:none;outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host(:hover:not([disabled])) .container{background-color:var(--calcite-dropdown-item-background-color-hover, var(--calcite-theme-color-surface-3, var(--calcite-color-foreground-2)))}:host(:active:not([disabled])) .container{background-color:var(--calcite-dropdown-item-background-color-press, var(--calcite-theme-color-surface-4, var(--calcite-color-foreground-3)))}:host(:hover:not([disabled])) .container,:host(:active:not([disabled])) .container{text-decoration-line:none;color:var(--calcite-dropdown-item-text-color-press, var(--calcite-color-text-1))}:host(:hover:not([disabled])) .icon--start,:host(:hover:not([disabled])) .icon--end,:host(:active:not([disabled])) .icon--start,:host(:active:not([disabled])) .icon--end{--calcite-icon-color: var(--calcite-dropdown-item-text-color-press, var(--calcite-color-text-1))}:host(:hover:not([disabled])) .link,:host(:active:not([disabled])) .link{color:var(--calcite-dropdown-item-text-color-press, var(--calcite-color-text-1))}:host([selected]) .container:not(.container--none-selection),:host([selected]) .link{font-weight:var(--calcite-font-weight-medium);--calcite-internal-dropdown-item-text-color: var( --calcite-dropdown-item-text-color-press, var(--calcite-color-text-1) );color:var(--calcite-internal-dropdown-item-text-color)}:host([selected]) .container:not(.container--none-selection) .icon,:host([selected]) .link .icon{--calcite-icon-color: var(--calcite-dropdown-item-icon-color-press, var(--calcite-color-brand))}:host([selected]) .container:not(.container--none-selection) .icon--start,:host([selected]) .container:not(.container--none-selection) .icon--end,:host([selected]) .link .icon--start,:host([selected]) .link .icon--end{--calcite-icon-color: var(--calcite-internal-dropdown-item-text-color)}:host(:hover:not([disabled])) .icon{--calcite-icon-color: var(--calcite-dropdown-item-icon-color-hover)}:host([selected]) .icon{opacity:1}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}`,d=class extends w{constructor(){super(),this.childLinkRef=g(),this.focusSetter=I()(this),this.interactiveContainer=$(this),this.disabled=!1,this.activeDescendant=!1,this.scale="m",this.selected=!1,this.selectionMode="single",this.calciteDropdownItemSelect=r({cancelable:!1}),this.calciteInternalDropdownItemSelect=r({cancelable:!1}),this.listen("click",this.onClick),this.listenOn(document.body,"calciteInternalDropdownItemChange",this.updateActiveItemOnChange)}static{this.properties={disabled:[7,{},{reflect:!0,type:Boolean}],activeDescendant:[7,{},{reflect:!0,type:Boolean}],href:[3,{},{reflect:!0}],iconEnd:[3,{},{reflect:!0}],iconFlipRtl:[3,{},{reflect:!0}],iconStart:[3,{},{reflect:!0}],label:1,rel:[3,{},{reflect:!0}],scale:[3,{},{reflect:!0}],selected:[7,{},{reflect:!0,type:Boolean}],selectionMode:1,target:[3,{},{reflect:!0}]}}static{this.styles=R}async activateItem(){if(!this.disabled){if(this.href){this.childLinkRef.value?.click();return}this.emitRequestedItem()}}async setFocus(e){return this.focusSetter(()=>this.el,e)}connectedCallback(){super.connectedCallback(),this.initialize()}load(){this.initialize()}onClick(){this.emitRequestedItem()}updateActiveItemOnChange(e){this.parentDropdownGroupEl&&e.composedPath().includes(this.parentDropdownGroupEl)&&(this.requestedDropdownGroup=e.detail.requestedDropdownGroup,this.requestedDropdownItem=e.detail.requestedDropdownItem,this.determineActiveItem()),e.stopPropagation()}initialize(){this.parentDropdownGroupEl=this.el.closest("calcite-dropdown-group")??void 0,this.selectionMode==="none"&&(this.selected=!1)}determineActiveItem(){switch(this.selectionMode){case"multiple":this.el===this.requestedDropdownItem&&(this.selected=!this.selected);break;case"single":this.el===this.requestedDropdownItem?this.selected=!0:this.requestedDropdownGroup===this.parentDropdownGroupEl&&(this.selected=!1);break;case"none":this.selected=!1;break}}emitRequestedItem(){this.calciteDropdownItemSelect.emit(),this.calciteInternalDropdownItemSelect.emit({requestedDropdownItem:this.el,requestedDropdownGroup:this.parentDropdownGroupEl})}render(){let{href:e,selectionMode:c,label:h,iconFlipRtl:n}=this,p=i`<calcite-icon class=${o(t.iconStart)} .flipRtl=${n==="start"||n==="both"} .icon=${this.iconStart} .scale=${s(this.scale)}></calcite-icon>`,a=i`<span class=${o(t.itemContent)}><slot></slot></span>`,m=i`<calcite-icon class=${o(t.iconEnd)} .flipRtl=${n==="end"||n==="both"} .icon=${this.iconEnd} .scale=${s(this.scale)}></calcite-icon>`,u=this.iconStart&&this.iconEnd?[p,a,m]:this.iconStart?[p,a]:this.iconEnd?[a,m]:a,E=e?i`<a .ariaLabel=${h} class=${o(t.link)} href=${e??l} rel=${this.rel??l} tabindex=-1 target=${this.target??l} ${b(this.childLinkRef)}>${u}</a>`:u,C=e?null:c==="single"?"menuitemradio":c==="multiple"?"menuitemcheckbox":"menuitem",v=c!=="none",S=y(v&&this.selected,v?"false":null),{disabled:q}=this;return this.el.ariaChecked=S,this.el.ariaLabel=e?"":h??null,this.el.role=C,x(this.el,"tabIndex",-1),this.interactiveContainer({disabled:q,children:i`<div class=${o({[t.container]:!0,[t.containerNone]:c==="none"})}>${c!=="none"?i`<calcite-icon class=${o(t.icon)} .icon=${D.check} .scale=${s(this.scale)}></calcite-icon>`:null}${E}</div>`})}};k("calcite-dropdown-item",d);export{d as DropdownItem};
|