@esri/calcite-components 6.0.0-next.0 → 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/{6W7AVYQ2.js → 24V7EEW7.js} +1 -1
- package/dist/cdn/{4LJ4YRWA.js → 2DYI3ZOO.js} +1 -1
- package/dist/cdn/{WNE6BNTY.js → 2LLSZFOA.js} +1 -1
- package/dist/cdn/2QPSBLJK.js +2 -0
- package/dist/cdn/{3L2HJTSA.js → 3NLRYSGR.js} +1 -1
- package/dist/cdn/{TDNXEIYC.js → 47IPIYJM.js} +1 -1
- package/dist/cdn/{5ZKUS2EK.js → 4F4XFALV.js} +1 -1
- package/dist/cdn/4OUHHWKP.js +2 -0
- package/dist/cdn/{YXZD5RHB.js → 5LODLGNB.js} +1 -1
- package/dist/cdn/{KHWUZSG3.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/{MBXVKOLJ.js → 7UZGBGS6.js} +1 -1
- package/dist/cdn/{5JXO4GIE.js → A3GBKICU.js} +1 -1
- package/dist/cdn/{JWLJNX6R.js → AE5SQJER.js} +1 -1
- package/dist/cdn/AOS2RWLA.js +2 -0
- package/dist/cdn/{F3MEZJCC.js → AR5BD5C7.js} +1 -1
- package/dist/cdn/AV7S2ETC.js +2 -0
- package/dist/cdn/{UTNPDEGH.js → AVH2GLIJ.js} +1 -1
- package/dist/cdn/{SOJKX3IL.js → B7B4574X.js} +1 -1
- package/dist/cdn/{ZCOKAKTW.js → BFY5CRE7.js} +1 -1
- package/dist/cdn/BGS4CESC.js +2 -0
- package/dist/cdn/BH4WCMLM.js +2 -0
- package/dist/cdn/{BZSD3BAZ.js → BLJRH4JX.js} +1 -1
- package/dist/cdn/BR6V5PC6.js +2 -0
- package/dist/cdn/{ELU6JEKJ.js → BSXYHNKX.js} +1 -1
- package/dist/cdn/{JYQXE5IZ.js → BV74PYW6.js} +1 -1
- package/dist/cdn/{RUEFRGEV.js → CR3OABPG.js} +1 -1
- package/dist/cdn/{ZSOJW473.js → CRHEJ6LF.js} +1 -1
- package/dist/cdn/{M554BU76.js → CZTM3VLX.js} +1 -1
- package/dist/cdn/DBQONO22.js +2 -0
- package/dist/cdn/DG2DLQZ3.js +2 -0
- package/dist/cdn/{LPCR5N3P.js → DT6QG7P2.js} +1 -1
- package/dist/cdn/{Z532KA5H.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/{ODEIAQFX.js → FGU2SEUG.js} +1 -1
- package/dist/cdn/{5PAQUSOG.js → FLWEPRFJ.js} +1 -1
- package/dist/cdn/FQMKO5S5.js +2 -0
- package/dist/cdn/{MLVRZOSK.js → FUYQS7XA.js} +1 -1
- package/dist/cdn/{BDPUTZQ6.js → G26MQPXR.js} +1 -1
- package/dist/cdn/{Z4RMWRSA.js → GCDLUAO6.js} +1 -1
- package/dist/cdn/{MDBD25IA.js → GJZC6Q65.js} +1 -1
- package/dist/cdn/{V2RJRWA3.js → GO2LNKXI.js} +1 -1
- package/dist/cdn/{LRI2EOBO.js → GOY7IE2L.js} +1 -1
- package/dist/cdn/H3QR5SVM.js +2 -0
- package/dist/cdn/{PVJQV22U.js → HA62DGAW.js} +1 -1
- package/dist/cdn/{BRQHCXEE.js → HEQFTWZQ.js} +1 -1
- package/dist/cdn/{KV2GNMSW.js → HGL6LFV3.js} +1 -1
- package/dist/cdn/HSVBLPNO.js +2 -0
- package/dist/cdn/{VQ23AV6Z.js → HVKGDIC6.js} +1 -1
- package/dist/cdn/{ONWXDG3T.js → HZ3ICUYC.js} +1 -1
- package/dist/cdn/{CD46QBPH.js → I3MYU7MH.js} +1 -1
- package/dist/cdn/{K3VKVBTB.js → I4QQBNDN.js} +1 -1
- package/dist/cdn/IA6L5W5G.js +2 -0
- package/dist/cdn/{OKPZSMGT.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/{JNZZVE7Z.js → JQNBQUSQ.js} +1 -1
- package/dist/cdn/{YS2XVRCQ.js → JTKQ73J3.js} +1 -1
- package/dist/cdn/JUNQWK55.js +2 -0
- package/dist/cdn/{LI7YAEGJ.js → KN7VGE4M.js} +1 -1
- package/dist/cdn/{6U7BFBJU.js → KPX3XYVF.js} +1 -1
- package/dist/cdn/{DCFH4DKF.js → KV7EOUBA.js} +1 -1
- package/dist/cdn/LHW5NOEF.js +2 -0
- package/dist/cdn/{YANEORNU.js → LUR2SFPA.js} +1 -1
- package/dist/cdn/{IBKE2WNB.js → LWBWYQYI.js} +1 -1
- package/dist/cdn/{IPXIPYFA.js → LXQ7KXAO.js} +1 -1
- package/dist/cdn/{OWXDZPJY.js → MDANCG4K.js} +1 -1
- package/dist/cdn/MN7KXS6N.js +2 -0
- package/dist/cdn/MNPMK2VZ.js +2 -0
- package/dist/cdn/{QEFDI53A.js → MUYSSY6B.js} +1 -1
- package/dist/cdn/{PPLBRWMG.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/{PE4VKPFG.js → ODUVV4RV.js} +1 -1
- package/dist/cdn/{S2H2X5V5.js → OEGGT3SY.js} +1 -1
- package/dist/cdn/{Y5RNPZZ7.js → OFUCNWOU.js} +1 -1
- package/dist/cdn/{D4DNT6A2.js → OHJAAX23.js} +1 -1
- package/dist/cdn/OI45VN55.js +2 -0
- package/dist/cdn/{UTIZ32CJ.js → OMYCQSYW.js} +1 -1
- package/dist/cdn/{26WAWQWZ.js → P33C5YDO.js} +1 -1
- package/dist/cdn/{HJDFUZ6E.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/{WDEURBVQ.js → QKYP3FDQ.js} +1 -1
- package/dist/cdn/{WH7RAE3H.js → QOIBLQSX.js} +1 -1
- package/dist/cdn/{SHOBO7NA.js → QORDO5V7.js} +1 -1
- package/dist/cdn/QQMFZZYL.js +2 -0
- package/dist/cdn/{ZX4CQFPK.js → QU6G4FRY.js} +1 -1
- package/dist/cdn/QUYFCN2U.js +2 -0
- package/dist/cdn/{F7JHMN2M.js → QWOKSAOO.js} +1 -1
- package/dist/cdn/{OL73GMPU.js → RFDPXMN6.js} +1 -1
- package/dist/cdn/{DYG4HUVL.js → RK3VIAGP.js} +1 -1
- package/dist/cdn/RUAP7OBS.js +2 -0
- package/dist/cdn/{PIQZMQFS.js → RUSF77X2.js} +1 -1
- package/dist/cdn/RWLYEGDO.js +2 -0
- package/dist/cdn/{7ITLKM6R.js → SCJPENKN.js} +1 -1
- package/dist/cdn/SDCATIYT.js +2 -0
- package/dist/cdn/SMBKXVJ2.js +2 -0
- package/dist/cdn/{4DUC53VX.js → SSI6AFMX.js} +1 -1
- package/dist/cdn/{PEZ6PCHT.js → SYZQCRBZ.js} +1 -1
- package/dist/cdn/{AYOK5YDM.js → SZCB4RZQ.js} +1 -1
- package/dist/cdn/TH2A4VCV.js +2 -0
- package/dist/cdn/{T7Y63LLJ.js → TWF4JPZ7.js} +1 -1
- package/dist/cdn/{HPM5IYW4.js → TWXH5VXN.js} +1 -1
- package/dist/cdn/{APV7ZJWJ.js → UHTCLLS7.js} +1 -1
- package/dist/cdn/{CB2TLQYJ.js → UIR57PA4.js} +1 -1
- package/dist/cdn/UOHV4OCJ.js +2 -0
- package/dist/cdn/UTGZR5D4.js +2 -0
- package/dist/cdn/{SN4IQODX.js → UTVK3QTU.js} +1 -1
- package/dist/cdn/UUZX5IV6.js +2 -0
- package/dist/cdn/{APWYRYEG.js → UWMXWWUQ.js} +1 -1
- package/dist/cdn/{Z6SQR7YX.js → UZ4YOAB7.js} +1 -1
- package/dist/cdn/{3GFKSLXP.js → V7WKX4JH.js} +1 -1
- package/dist/cdn/VGKCONVX.js +2 -0
- package/dist/cdn/{5GIS6JLX.js → VLUDXF5U.js} +1 -1
- package/dist/cdn/{7P6CT7YC.js → VVJMAE2C.js} +1 -1
- package/dist/cdn/VZBFIS6O.js +2 -0
- package/dist/cdn/{VUXNVU7N.js → W2GIONKE.js} +1 -1
- package/dist/cdn/{EUG3Q7A2.js → W464Z7ND.js} +1 -1
- package/dist/cdn/{FJPXMNQ2.js → WAOVLW25.js} +1 -1
- package/dist/cdn/WEXS244S.js +2 -0
- package/dist/cdn/{UJU56FIX.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/{O23PC6UT.js → XDJ5YVTY.js} +1 -1
- package/dist/cdn/{F32ANDHZ.js → XL7GKUY2.js} +1 -1
- package/dist/cdn/Y5SNQ4NS.js +2 -0
- package/dist/cdn/{HGVVBPPI.js → Y5WKXUWK.js} +1 -1
- package/dist/cdn/YDVTQN6C.js +2 -0
- package/dist/cdn/{63H3MO32.js → YPSIGZXJ.js} +1 -1
- package/dist/cdn/{7M23LV2A.js → ZABC5BI2.js} +1 -1
- package/dist/cdn/ZQMKXZ7A.js +20 -0
- package/dist/cdn/{7ILAFTI6.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 +10 -2
- 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/2BCFUGI5.js +0 -2
- package/dist/cdn/2DHRYJXP.js +0 -2
- package/dist/cdn/33LITPBT.js +0 -2
- package/dist/cdn/3K7TUML3.js +0 -2
- package/dist/cdn/4RD5TMZF.js +0 -2
- package/dist/cdn/54US3OZQ.js +0 -2
- package/dist/cdn/5ZFE3XFB.js +0 -2
- package/dist/cdn/6VEPOTTL.js +0 -2
- package/dist/cdn/6VHGCTFC.js +0 -4
- package/dist/cdn/B4WITAVL.js +0 -2
- package/dist/cdn/BC257HYG.js +0 -2
- package/dist/cdn/BGLJMW7J.js +0 -2
- package/dist/cdn/BITF34M3.js +0 -2
- package/dist/cdn/CSGQC57U.js +0 -2
- package/dist/cdn/DFOPPGLQ.js +0 -2
- package/dist/cdn/DYNEDOZJ.js +0 -2
- package/dist/cdn/ESR7XEDS.js +0 -2
- package/dist/cdn/GAEUGS5O.js +0 -2
- package/dist/cdn/GDILJ5EI.js +0 -2
- package/dist/cdn/GG4A4EOL.js +0 -2
- package/dist/cdn/HER5P2RT.js +0 -2
- package/dist/cdn/I45Q373H.js +0 -2
- package/dist/cdn/I4OYB7MM.js +0 -2
- package/dist/cdn/IDNRZC6D.js +0 -2
- package/dist/cdn/JKJI32TK.js +0 -2
- package/dist/cdn/JO4W2HFM.js +0 -2
- package/dist/cdn/K5YPHMI2.js +0 -2
- package/dist/cdn/KCCDMJ5G.js +0 -2
- package/dist/cdn/KKIPEW4C.js +0 -2
- package/dist/cdn/LCAKLGEA.js +0 -2
- package/dist/cdn/MSISM3OX.js +0 -2
- package/dist/cdn/N22GNCUO.js +0 -2
- package/dist/cdn/NGGON6XW.js +0 -2
- package/dist/cdn/NYYTYOHI.js +0 -2
- package/dist/cdn/O6CZHRJR.js +0 -2
- package/dist/cdn/PD7F7JSL.js +0 -2
- package/dist/cdn/PMD6VEX2.js +0 -2
- package/dist/cdn/QCS6S5X7.js +0 -2
- package/dist/cdn/RHTSOGXY.js +0 -2
- package/dist/cdn/RSH7H5EV.js +0 -2
- package/dist/cdn/S4E5NFDQ.js +0 -2
- package/dist/cdn/SC76QGMX.js +0 -2
- package/dist/cdn/STLHPFP7.js +0 -20
- package/dist/cdn/TT6AXQDZ.js +0 -2
- package/dist/cdn/U25DPXVL.js +0 -2
- package/dist/cdn/UNQ3GWXZ.js +0 -2
- package/dist/cdn/UZFYAG6S.js +0 -2
- package/dist/cdn/V5UPXLRS.js +0 -2
- package/dist/cdn/VFNSIHEV.js +0 -2
- package/dist/cdn/VL7QTJSE.js +0 -2
- package/dist/cdn/W5HFPM3L.js +0 -2
- package/dist/cdn/WU2W24OH.js +0 -2
- package/dist/cdn/YCHIS6AK.js +0 -2
- package/dist/cdn/YWIL2ETW.js +0 -2
- package/dist/cdn/ZDZXGO27.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/2BCFUGI5.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{a as O}from"./ZSOJW473.js";import{a as S}from"./JYQXE5IZ.js";import{c as R}from"./OL73GMPU.js";import{a as F}from"./XN5GTOTE.js";import{a as T}from"./JWLJNX6R.js";import{a as q}from"./PE4VKPFG.js";import{a as z}from"./CASNTUXN.js";import{a as C}from"./LI7YAEGJ.js";import{a as I}from"./FJPXMNQ2.js";import"./VMHJHFFS.js";import{e as L}from"./I45Q373H.js";import"./RHTSOGXY.js";import"./2M4ETWZU.js";import{D as $,G as x,H as s,I as w,J as h,L as k,T as V,g as f,h as r,p as y}from"./6VHGCTFC.js";var E=({full:v,scale:e,partial:t})=>r`<calcite-icon class=${s(t?void 0:"icon")} .icon=${v?"star-f":"star"} .scale=${e}></calcite-icon>`,l={fieldSet:"fieldset",star:"star",fraction:"fraction",numberAverage:"number--average",numberCount:"number--count",wrapper:"wrapper",visuallyHidden:"visually-hidden"},D="calcite-ratings",m={validationMessage:"validationMessage",host:v=>`${D}-${v}`},K=f`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([read-only]) *,:host([disabled]) *,:host([read-only]) ::slotted(*),:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:flex;align-items:center;inline-size:fit-content}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([scale=s]){min-block-size:var(--calcite-space-2xl);--calcite-internal-rating-spacing: .25rem}:host([scale=m]){min-block-size:var(--calcite-space-3xl);--calcite-internal-rating-spacing: .5rem}:host([scale=l]){min-block-size:var(--calcite-space-4xl);--calcite-internal-rating-spacing: .75rem}.fieldset{margin:0;display:flex;border-width:0;padding:0;align-items:center;gap:var(--calcite-rating-spacing, var(--calcite-internal-rating-spacing))}.wrapper{display:inline-block}.star{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;position:relative;display:flex;flex-direction:column;cursor:pointer;color:var(--calcite-rating-color, var(--calcite-color-border-input))}.star:hover{color:var(--calcite-rating-color-hover, var(--calcite-color-brand-hover))}.star:active{color:var(--calcite-rating-color-press, var(--calcite-color-brand-press))}.star:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(var(--calcite-spacing-base) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.average,.fraction{color:var(--calcite-rating-average-color, var(--calcite-color-status-warning))}.hovered,.selected{color:var(--calcite-rating-color, var(--calcite-color-brand))}.fraction{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;position:absolute;pointer-events:none;inset-block-start:0;overflow:hidden;inset-inline-start:0}calcite-chip{pointer-events:none;cursor:default}.number--average{font-weight:700;color:var(--calcite-rating-average-text-color)}.number--count{color:var(--calcite-rating-count-text-color, var(--calcite-color-text-2));font-style:italic}.number--count:not(:first-child){margin-inline-start:var(--calcite-rating-spacing, var(--calcite-internal-rating-spacing))}.visually-hidden{position:absolute;inline-size:1px;block-size: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}`,g=class extends x{constructor(){super(),this.direction=L(),this.emit=!1,this.formSupport=R({inputType:"number",getValue:()=>this.value===0?"":this.value})(this),this.guid=m.host(z()),this.isKeyboardInteraction=!0,this.labelElements=[],this.max=5,this._value=0,this.messages=C({blocking:!0}),this.focusSetter=I()(this),this.interactiveContainer=q(this),this.disabled=!1,this.readOnly=!1,this.required=!1,this.scale="m",this.showChip=!1,this.status="idle",this.calciteRatingChange=y({cancelable:!1}),T(this),this.listen("keydown",this.handleHostKeyDown),this.listen("pointerout",this.handleRatingPointerOut),this.listen("pointerover",this.handleRatingPointerOver)}static{this.properties={hoverValue:[16,{},{state:!0}],average:[11,{},{reflect:!0,type:Number}],count:[11,{},{reflect:!0,type:Number}],disabled:[7,{},{reflect:!0,type:Boolean}],form:[3,{},{reflect:!0}],labelText:1,messageOverrides:[0,{},{attribute:!1}],name:[3,{},{reflect:!0}],readOnly:[7,{},{reflect:!0,type:Boolean}],required:[7,{},{reflect:!0,type:Boolean}],scale:[3,{},{reflect:!0}],showChip:[7,{},{reflect:!0,type:Boolean}],status:[3,{},{reflect:!0}],validationIcon:[3,{converter:k},{reflect:!0}],validationMessage:1,validity:[32,{},{readOnly:!0,attribute:!1}],value:[11,{},{reflect:!0,type:Number}]}}static{this.formAssociated=!0}static{this.styles=K}get value(){return this._value}set value(e){let t=this._value;e!==t&&(this._value=e,this.hasUpdated&&this.handleValueUpdate(e))}async setFocus(e){return this.focusSetter(()=>this.el,e)}async load(){this.requestUpdate("value")}willUpdate(){this.starsMap=Array.from({length:this.max},(e,t)=>{let a=t+1,i=this.hoverValue??0,n=i>0,o=this.average!=null,c=this.average??0,p=!n&&o&&!this.value&&a<=c,d=a===this.value,u=o?c+1-a:0,b=n&&a<=i,N=`${this.guid}-${a}`,A=!n&&!this.value&&o&&!b&&u>0&&u<1,M=this.value>=a,P=this.getTabIndex(a);return{average:p,checked:d,fraction:u,hovered:b,id:N,partial:A,selected:M,value:a,tabIndex:P}})}loaded(){this.labelElements=Array.from(this.renderRoot.querySelectorAll("label"))}handleValueUpdate(e){this.hoverValue=e,this.emit&&this.calciteRatingChange.emit(),this.emit=!1}onLabelClick(){this.setFocus()}handleRatingPointerOver(){this.isKeyboardInteraction=!1}handleRatingPointerOut(){this.isKeyboardInteraction=!0,this.hoverValue=void 0}handleHostKeyDown(){this.isKeyboardInteraction=!0}handleLabelKeyDown(e){let t=this.getValueFromLabelEvent(e),a=e.key,i=a==" "?NaN:Number(a),n=this.direction==="rtl";if(this.emit=!0,isNaN(i))switch(a){case"Enter":case" ":this.value=!this.required&&this.value===t?0:t;break;case"ArrowLeft":case"ArrowRight":{let c=a==="ArrowLeft"===n;this.value=c?this.getNextRatingValue(t):this.getPreviousRatingValue(t),this.updateFocus(),e.preventDefault();break}case"Tab":this.hoverValue=void 0;break}else!this.required&&i>=0&&i<=this.max?this.value=i:this.required&&i>0&&i<=this.max&&(this.value=i),this.updateFocus()}handleInputChange(e){if(this.isKeyboardInteraction===!0){let t=Number(e.target.value);this.hoverValue=t,this.value=t}}handleLabelPointerOver(e){this.hoverValue=this.getValueFromLabelEvent(e)}handleLabelPointerDown(e){let t=e.currentTarget,a=this.getValueFromLabelEvent(e);this.hoverValue=a,this.emit=!0,this.value=!this.required&&this.value===a?0:a,t.focus()}handleLabelClick(e){e.preventDefault()}handleLabelFocus(e){let t=this.getValueFromLabelEvent(e);this.hoverValue=t}updateFocus(){this.hoverValue=this.value,this.labelElements[this.value-1]?.focus()}getTabIndex(e){return this.readOnly||this.value!==e&&(this.value||e!==1)?-1:0}getValueFromLabelEvent(e){let t=e.currentTarget;return Number(t.getAttribute("data-value"))}getNextRatingValue(e){return e===5?1:e+1}getPreviousRatingValue(e){return e===1?5:e-1}render(){let e=this.count?.toString();return this.interactiveContainer({disabled:this.disabled,children:r`<span class=${s(l.wrapper)}>${this.labelText&&S({labelText:this.labelText,onClick:this.onLabelClick,required:this.required,tooltipText:this.messages.required})||""}<fieldset class=${s(l.fieldSet)} .disabled=${this.disabled}><legend class=${s(l.visuallyHidden)}>${this.messages.rating}</legend>${this.starsMap.map(({average:t,checked:a,fraction:i,hovered:n,id:o,partial:c,selected:p,value:d,tabIndex:u})=>r`<label class=${s({[l.star]:!0,selected:p,hovered:n,average:t,partial:c})} data-value=${d??h} for=${o??h} @click=${this.handleLabelClick} @focus=${this.handleLabelFocus} @keydown=${this.handleLabelKeyDown} @pointerdown=${this.handleLabelPointerDown} @pointerover=${this.handleLabelPointerOver} tabindex=${u??h}><input aria-errormessage=${m.validationMessage} .ariaInvalid=${this.status==="invalid"} .ariaLabel=${F(this)} .ariaRequired=${this.required} .checked=${a} class=${s(l.visuallyHidden)} .disabled=${this.disabled||this.readOnly} id=${o??h} name=${this.guid??h} @change=${this.handleInputChange} tabindex=-1 type=radio .value=${$(d??"")}>${E({full:p||t||n,scale:this.scale})}${c&&r`<div class=${s(l.fraction)} style=${w({width:`${i*100}%`})}>${E({full:!0,partial:!0,scale:this.scale})}</div>`||""}<span class=${s(l.visuallyHidden)}>${this.messages.stars.replace("{num}",`${d}`)}</span></label>`)}${(this.count||this.average)&&this.showChip?r`<calcite-chip .label=${e} .scale=${this.scale} .value=${e}>${!!this.average&&r`<span class=${s(l.numberAverage)}>${this.average.toString()}</span>`||""}${!!this.count&&r`<span class=${s(l.numberCount)}>(${e})</span>`||""}</calcite-chip>`:null}</fieldset>${this.validationMessage&&this.status==="invalid"?O({icon:this.validationIcon,id:m.validationMessage,message:this.validationMessage,scale:this.scale,status:this.status}):null}</span>`})}};V("calcite-rating",g);export{g as Rating};
|
package/dist/cdn/2DHRYJXP.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{a as t,b as E,c as n,d}from"./RUGBI54D.js";import{a as M,t as m}from"./4XVKHJ2X.js";import"./B3OV6FHO.js";import{a as k}from"./PE4VKPFG.js";import{a as C}from"./3L2HJTSA.js";import"./5K4OZJAZ.js";import{a as I}from"./JN6YLTUP.js";import"./ZZDNIBT7.js";import{a as z}from"./FJPXMNQ2.js";import"./VMHJHFFS.js";import"./I45Q373H.js";import"./RHTSOGXY.js";import{y as b}from"./2M4ETWZU.js";import{E as S,F as $,G as x,H as s,T as y,g as u,h as l,i as o,l as i,p as v}from"./6VHGCTFC.js";var P=u`:host{display:block;--calcite-internal-swatch-inset: var(--calcite-theme-space-2xs, var(--calcite-spacing-xxs))}:host([scale=s]) .container{--calcite-internal-swatch-size: var(--calcite-theme-space-xl, var(--calcite-spacing-xl))}:host([scale=m]) .container{--calcite-internal-swatch-size: var(--calcite-theme-space-2xl, var(--calcite-spacing-xxl))}:host([scale=l]) .container{--calcite-internal-swatch-size: var(--calcite-theme-space-3xl, var(--calcite-spacing-xxxl))}.container{position:relative;box-sizing:border-box;justify-content:center;overflow:hidden;outline-color:transparent;font-size:var(--calcite-internal-swatch-font-size, var(--calcite-font-size));block-size:var(--calcite-internal-swatch-size, auto);inline-size:var(--calcite-internal-swatch-size, auto);min-inline-size:var(--calcite-internal-swatch-size, auto);border-radius:var(--calcite-swatch-corner-radius, 0)}.container:not(.non-interactive):hover{cursor:pointer;box-shadow:0 0 0 var(--calcite-border-width-md) var(--calcite-color-border-1)}.container.selectable{cursor:pointer}.container:not(.non-interactive):focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(var(--calcite-spacing-base) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.swatch{position:relative;display:inline-flex;overflow:hidden;z-index:calc(var(--calcite-z-index) + 1);block-size:var(--calcite-internal-swatch-size, auto);inline-size:var(--calcite-internal-swatch-size, auto);min-inline-size:var(--calcite-internal-swatch-size, auto);border-radius:var(--calcite-swatch-corner-radius, 0)}:host([selected]) .swatch{inset:var(--calcite-internal-swatch-inset);block-size:calc(var(--calcite-internal-swatch-size, auto) - 2 * var(--calcite-internal-swatch-inset));inline-size:calc(var(--calcite-internal-swatch-size, auto) - 2 * var(--calcite-internal-swatch-inset));min-inline-size:calc(var(--calcite-internal-swatch-size, auto) - 2 * var(--calcite-internal-swatch-inset))}:host([selected]) .container{box-shadow:inset 0 0 0 var(--calcite-border-width-md) var(--calcite-color-text-1),inset 0 0 0 var(--calcite-border-width-lg) var(--calcite-theme-color-surface-2, var(--calcite-color-foreground-1))}:host([selected]) .image-container{inset:var(--calcite-internal-swatch-inset)}.image-container{position:absolute;display:inline-flex;overflow:hidden;z-index:calc(var(--calcite-z-index) + 2);inset:var(--calcite-theme-space-px, var(--calcite-spacing-px));display:flex;align-items:center;justify-content:center;pointer-events:none;border-radius:var(--calcite-swatch-corner-radius, 0)}.internal-svg-container{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;z-index:calc(var(--calcite-z-index) + 2)}.swatch{overflow:hidden;block-size:inherit;inline-size:inherit}.swatch--no-color rect{fill:var(--calcite-theme-color-surface-2, var(--calcite-color-foreground-1))}:host([selected]) #swatch-rect,:host([selected]) #swatch-solid,:host([selected]) #swatch-transparent{stroke-width:0}#swatch-rect,#swatch-solid,#swatch-transparent{stroke:var(--calcite-color-text-1);stroke-width:var(--calcite-border-width-md);stroke-opacity:.3;rx:var(--calcite-swatch-corner-radius)}.internal-svg-disabled{stroke:#6a6a6a;fill:#fff}.internal-svg-empty{stroke:var(--calcite-color-status-danger);stroke-width:3}.checker{fill:#cacaca}:host([hidden]){display:none}[hidden]{display:none}`,f=class extends x{constructor(){super(),this.containerRef=S(),this.focusSetter=z()(this),this.interactiveContainer=k(this),this.hasImage=!1,this.disabled=!1,this.interactive=!1,this.scale="m",this.selected=!1,this.selectionMode="none",this.calciteInternalSwatchSelect=v({cancelable:!1}),this.calciteInternalSyncSelectedSwatches=v({cancelable:!1}),this.calciteSwatchSelect=v({cancelable:!1}),this.listen("keydown",this.keyDownHandler)}static{this.properties={hasImage:[16,{},{state:!0}],color:1,disabled:[7,{},{reflect:!0,type:Boolean}],interactive:[5,{},{type:Boolean}],label:1,parentSwatchGroup:[0,{},{attribute:!1}],scale:[3,{},{reflect:!0}],selected:[7,{},{reflect:!0,type:Boolean}],selectionMode:1,value:1}}static{this.styles=P}async setFocus(e){return this.focusSetter(()=>this.el,e)}async load(){this.handleColorChange(this.color)}willUpdate(e){e.has("selected")&&this.hasUpdated&&this.watchSelected(this.selected),e.has("color")&&this.handleColorChange(this.color)}loaded(){this.selectionMode!=="none"&&this.interactive&&this.selected&&this.handleSelectionPropertyChange(this.selected)}watchSelected(e){this.selectionMode!=="none"&&this.handleSelectionPropertyChange(e)}keyDownHandler(e){e.target===this.el&&I(e.key)&&(this.handleEmittingEvent(),e.preventDefault())}handleSlotImageChange(e){this.hasImage=b(e)}handleEmittingEvent(){this.interactive&&this.calciteSwatchSelect.emit()}handleSelectionPropertyChange(e){this.selectionMode==="single"&&this.calciteInternalSyncSelectedSwatches.emit(),!this.parentSwatchGroup?.selectedItems.includes(this.el)&&e&&this.selectionMode!=="multiple"&&this.calciteInternalSwatchSelect.emit(),this.selectionMode!=="single"&&this.calciteInternalSyncSelectedSwatches.emit()}handleColorChange(e){this.internalColor=e?M(e):void 0}renderSwatchImage(){return l`<div class=${s(t.imageContainer)}><slot name=${E.image} @slotchange=${this.handleSlotImageChange}></slot></div>`}renderEmptyDisplay(){let e=this.scale==="s"?"12":this.scale==="m"?"16":"20";return l`<div class=${s(t.internalSvgContainer)}><svg fill=none height=${e??i} viewBox=${`0 0 ${e} ${e}`} width=${e??i} xmlns=http://www.w3.org/2000/svg>${o`<path class=${s(t.internalSvgEmpty)} d=${`M${e} 0L0 ${e}`} />`}</svg></div>`}renderDisabledDisplay(){let e=l`<svg fill=none height=14 viewBox="0 0 14 14" width=14 xmlns=http://www.w3.org/2000/svg>${o`<path class=${s(t.internalSvgDisabled)} d="M7 0.5C10.5899 0.5 13.5 3.41015 13.5 7C13.5 10.5899 10.5899 13.5 7 13.5C3.41015 13.5 0.5 10.5899 0.5 7C0.5 3.41015 3.41015 0.5 7 0.5ZM4.78906 10.917C5.44221 11.2866 6.19529 11.5 7 11.5C9.48528 11.5 11.5 9.48528 11.5 7C11.5 6.19529 11.2866 5.44221 10.917 4.78906L4.78906 10.917ZM7 2.5C4.51472 2.5 2.5 4.51472 2.5 7C2.5 7.95644 2.79808 8.84235 3.30664 9.57129L9.57129 3.30664C8.84235 2.79808 7.95644 2.5 7 2.5Z" />`}</svg>`,a=l`<svg fill=none height=18 viewBox="0 0 18 18" width=18 xmlns=http://www.w3.org/2000/svg>${o`<path class=${s(t.internalSvgDisabled)} d="M9 0.5C13.6944 0.5 17.5 4.30558 17.5 9C17.5 13.6944 13.6944 17.5 9 17.5C4.30558 17.5 0.5 13.6944 0.5 9C0.5 4.30558 4.30558 0.5 9 0.5ZM5.78125 14.2588C6.71828 14.8337 7.81941 15.167 9 15.167C12.4058 15.167 15.167 12.4058 15.167 9C15.167 7.81941 14.8337 6.71828 14.2588 5.78125L5.78125 14.2588ZM9 2.83301C5.59424 2.83301 2.83301 5.59424 2.83301 9C2.83301 10.3817 3.28731 11.6565 4.05469 12.6846L12.6846 4.05469C11.6565 3.28731 10.3817 2.83301 9 2.83301Z" />`}</svg>`;return l`<div class=${s(t.internalSvgContainer)}>${this.scale==="l"?a:e}</div>`}renderSwatch(){let{internalColor:e}=this,a="0",h=!e,c={height:"100%",rx:a,width:"100%"};if(h)return o`<clipPath id=${d.shape}><rect height=100% rx=${a} width=100% /></clipPath>${this.renderSwatchRect({clipPath:`inset(0 round "${a}")`,...c})}<line clip-path=url(#shape) x1=100% x2=0 y1=0 y2=100% />`;let r=e.alpha(),w=m(e),p=m(e,r<1);return o`<defs><pattern height=${n.size} id=${d.checker} patternUnits=userSpaceOnUse width=${n.size} x=0 y=0><rect class=${s(t.checker)} height=${n.squareSize} width=${n.squareSize} x=0 y=0 /><rect class=${s(t.checker)} height=${n.squareSize} width=${n.squareSize} x=${n.squareSize} y=${n.squareSize} /></pattern></defs>${this.renderSwatchRect({fill:"url(#checker)",rx:c.rx,height:c.height,width:c.width})}${this.renderSwatchRect({clipPath:r<1?"polygon(100% 0, 0 0, 0 100%)":`inset(0 round "${a}")`,fill:w,id:d.swatchSolid,...c})}${r<1?this.renderSwatchRect({clipPath:"polygon(100% 0, 100% 100%, 0 100%)",fill:p,id:d.swatchTransparent,key:"opacity-fill",...c}):null}`}renderSwatchRect({clipPath:e,fill:a,height:h,key:c,rx:r,stroke:w,strokeWidth:p,width:D,id:g}){return C(c,o`<rect clip-path=${e??i} fill=${a??i} height=${h??i} id=${(g||d.swatchRect)??i} rx=${r??i} stroke=${w??i} stroke-width=${p??i} width=${D??i} />`)}render(){let{disabled:e}=this,a=e||!e&&!this.interactive,h=this.selectionMode==="multiple"&&this.interactive?"checkbox":this.selectionMode!=="none"&&this.interactive?"radio":this.interactive?"button":"presentation",c=!this.internalColor,r={[t.swatch]:!0,[t.noColorSwatch]:c||this.hasImage&&!this.internalColor};return this.interactiveContainer({disabled:e,children:l`<div .ariaChecked=${this.selectionMode!=="none"&&this.interactive?this.selected:void 0} .ariaLabel=${h!=="presentation"?this.label:""} class=${s({[t.container]:!0,[t.selectable]:this.selectionMode!=="none",[t.selected]:this.selected,[t.nonInteractive]:!this.interactive})} @click=${this.handleEmittingEvent} .role=${h} .tabIndex=${a?-1:0} title=${this.label??i} ${$(this.containerRef)}>${this.renderSwatchImage()}${!this.internalColor&&!this.hasImage&&this.renderEmptyDisplay()||""}${this.disabled&&this.renderDisabledDisplay()||""}<svg class=${s(r)} role=presentation xmlns=http://www.w3.org/2000/svg>${this.renderSwatch()}</svg></div>`})}};y("calcite-swatch",f);export{f as Swatch};
|
package/dist/cdn/33LITPBT.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{a}from"./JYQXE5IZ.js";import{c as v}from"./OL73GMPU.js";import{a as u}from"./XN5GTOTE.js";import{a as g}from"./JWLJNX6R.js";import{a as m}from"./PE4VKPFG.js";import{a as p}from"./JN6YLTUP.js";import{a as b}from"./FJPXMNQ2.js";import"./VMHJHFFS.js";import"./I45Q373H.js";import"./RHTSOGXY.js";import"./2M4ETWZU.js";import{E as n,F as o,G as d,H as t,T as h,g as l,h as s,p as r}from"./6VHGCTFC.js";var i={container:"container",track:"track",handle:"handle"},f=l`: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([scale=s]) .container{block-size:.75rem}:host([scale=s]) .track{block-size:.75rem;inline-size:1.5rem}:host([scale=s]) .handle{block-size:.5rem;inline-size:.5rem}:host([scale=m]) .container{block-size:1rem}:host([scale=m]) .track{block-size:1rem;inline-size:2rem}:host([scale=m]) .handle{block-size:.75rem;inline-size:.75rem}:host([scale=l]) .container{block-size:1.5rem}:host([scale=l]) .track{block-size:1.5rem;inline-size:3rem}:host([scale=l]) .handle{block-size:1.25rem;inline-size:1.25rem}:host{position:relative;display:inline-block;inline-size:auto;cursor:pointer;-webkit-user-select:none;user-select:none;vertical-align:middle;tap-highlight-color:transparent}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.container{outline:none;display:flex}.track{pointer-events:none;position:relative;box-sizing:border-box;display:inline-block;vertical-align:top;outline-color:transparent;border-radius:var(--calcite-switch-corner-radius, 9999px);border-color:var(--calcite-switch-border-color);background-color:var(--calcite-switch-background-color, var(--calcite-color-border-input))}.container:focus .track{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(var(--calcite-spacing-base) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.container:hover .track{background-color:var(--calcite-switch-background-color-hover, var(--calcite-color-text-3))}.handle{pointer-events:none;position:absolute;display:block;transition-property:all;transition-duration:var(--calcite-animation-timing);transition-timing-function:cubic-bezier(.4,0,.2,1);inset-block-start:var(--calcite-theme-space-base, var(--calcite-spacing-base));inset-inline:var(--calcite-theme-space-base, var(--calcite-spacing-base)) auto;background-color:var(--calcite-switch-handle-background-color, var(--calcite-theme-color-surface-2, var(--calcite-color-foreground-1)));border-color:var(--calcite-switch-handle-border-color);border-radius:var(--calcite-switch-corner-radius, 9999px);box-shadow:var(--calcite-switch-handle-shadow)}:host([checked]) .track{background-color:var(--calcite-switch-background-color, var(--calcite-color-brand))}:host([checked]) .handle{inset-inline:auto var(--calcite-theme-space-base, var(--calcite-spacing-base))}:host([checked]):host(:hover:not([disabled])) .track{background-color:var(--calcite-switch-background-color-hover, var(--calcite-color-brand-hover))}@media(forced-colors:active){.container:focus-visible{outline:2px solid transparent;outline-offset:2px}.track,.handle{outline:2px solid transparent;outline-offset:2px}:host([checked]) .track{background-color:canvasText}:host([checked]) .handle{outline:none}:host([checked]):host(:hover:not([disabled])) .track{background-color:canvasText}}.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)}:host([hidden]){display:none}[hidden]{display:none}`,c=class extends d{constructor(){super(),this.formSupport=v({inputType:"checkbox"})(this),this.switchRef=n(),this.focusSetter=b()(this),this.interactiveContainer=m(this),this.checked=!1,this.disabled=!1,this.required=!1,this.scale="m",this.calciteSwitchChange=r({cancelable:!1}),g(this),this.listen("click",this.clickHandler),this.listen("keydown",this.keyDownHandler)}static{this.properties={checked:[7,{},{reflect:!0,type:Boolean}],disabled:[7,{},{reflect:!0,type:Boolean}],form:[3,{},{reflect:!0}],label:1,labelTextEnd:1,labelTextStart:1,name:[3,{},{reflect:!0}],required:[7,{},{reflect:!0,type:Boolean}],scale:[3,{},{reflect:!0}],validity:[32,{},{readOnly:!0,attribute:!1}],value:1}}static{this.formAssociated=!0}static{this.styles=f}async setFocus(e){return this.focusSetter(()=>this.switchRef.value,e)}keyDownHandler(e){!this.disabled&&p(e.key)&&(this.toggle(),e.preventDefault())}onLabelClick(){this.disabled||(this.toggle(),this.setFocus())}toggle(){this.checked=!this.checked,this.calciteSwitchChange.emit()}clickHandler(){this.disabled||this.toggle()}render(){return this.interactiveContainer({disabled:this.disabled,children:s`<div .ariaChecked=${this.checked} .ariaLabel=${u(this)} class=${t(i.container)} role=switch tabindex=0 ${o(this.switchRef)}>${this.labelTextStart&&a({alignmentCenter:!0,bottomSpacingDisabled:!0,labelText:this.labelTextStart,spacingInlineEnd:!0})||""}<div class=${t(i.track)}><div class=${t(i.handle)}></div></div>${this.labelTextEnd&&a({alignmentCenter:!0,bottomSpacingDisabled:!0,labelText:this.labelTextEnd,spacingInlineStart:!0})||""}</div>`})}};h("calcite-switch",c);export{c as Switch};
|