@esri/calcite-components 6.0.0-next.1 → 6.0.0-next.11
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/{KE3GJVSQ.js → 22NLVRMQ.js} +1 -1
- package/dist/cdn/2C677XOQ.js +4 -0
- package/dist/cdn/{OZOMMOC3.js → 2S5IEARK.js} +1 -1
- package/dist/cdn/{UMFLWNX4.js → 2ZVI5D2F.js} +1 -1
- package/dist/cdn/{3PWIPOO3.js → 3AJYILOJ.js} +1 -1
- package/dist/cdn/3GCTS7TK.js +2 -0
- package/dist/cdn/{JI5RWOTK.js → 3HYHA4OF.js} +1 -1
- package/dist/cdn/{ASO5N7PH.js → 3NQAIIHX.js} +1 -1
- package/dist/cdn/{2T66HULJ.js → 3ZGDL7CM.js} +1 -1
- package/dist/cdn/{273FNCX2.js → 4F4R7KYO.js} +1 -1
- package/dist/cdn/{PQ2UKTOY.js → 4KLUF2XI.js} +1 -1
- package/dist/cdn/{GTWSXT7S.js → 4ZIP4QSM.js} +1 -1
- package/dist/cdn/{4MCKDZC2.js → 5B5QNGAG.js} +1 -1
- package/dist/cdn/5MU4KFJP.js +2 -0
- package/dist/cdn/5NKPO7CK.js +2 -0
- package/dist/cdn/{A4DOK6NM.js → 5VXMQ6DN.js} +1 -1
- package/dist/cdn/{XDGVGNRC.js → 6FZVJGKC.js} +1 -1
- package/dist/cdn/6HT2CTFJ.js +2 -0
- package/dist/cdn/{7YEZVXC4.js → 6RCNPDD6.js} +1 -1
- package/dist/cdn/{SAHTJ6E6.js → 7235Z7Q6.js} +1 -1
- package/dist/cdn/{G7RVPH4C.js → 72Q3454I.js} +1 -1
- package/dist/cdn/{MSX7OM2U.js → 77HN7RDZ.js} +1 -1
- package/dist/cdn/{SMB4VPVK.js → 7JIBASTT.js} +1 -1
- package/dist/cdn/{EGM4UQEQ.js → 7RW33PAY.js} +1 -1
- package/dist/cdn/{DPRLR4WC.js → 7XS2SBMV.js} +1 -1
- package/dist/cdn/{TYL6DZLE.js → 7YDOJPTG.js} +1 -1
- package/dist/cdn/7ZLCN4OR.js +2 -0
- package/dist/cdn/{DEOKQGMM.js → A2JZMCJR.js} +1 -1
- package/dist/cdn/A33WOUFY.js +2 -0
- package/dist/cdn/{4RX2N2D5.js → A3GKBR34.js} +1 -1
- package/dist/cdn/{NEMZEKEI.js → ADDYXN36.js} +1 -1
- package/dist/cdn/AG54BMT7.js +2 -0
- package/dist/cdn/{NBOTH5XL.js → ASXRP7XI.js} +1 -1
- package/dist/cdn/ATSQHGM4.js +2 -0
- package/dist/cdn/{KRVMZWGR.js → AU5A2EFG.js} +1 -1
- package/dist/cdn/{N646XDYP.js → AWCFCAHJ.js} +1 -1
- package/dist/cdn/{ACEVU2DX.js → AZRYWXF2.js} +1 -1
- package/dist/cdn/B2B4K2SR.js +2 -0
- package/dist/cdn/{NY4HO46K.js → BBSSYLOF.js} +1 -1
- package/dist/cdn/{3L6SIADT.js → BCE72WLM.js} +1 -1
- package/dist/cdn/{WPFFKGKO.js → BIV2IIE7.js} +1 -1
- package/dist/cdn/{U7YCVXZ3.js → BJAWDVEF.js} +1 -1
- package/dist/cdn/BM5RCN6S.js +2 -0
- package/dist/cdn/{N62IB75L.js → BNMRQ2VK.js} +1 -1
- package/dist/cdn/{UO4I2EH3.js → BOR3QCTX.js} +1 -1
- package/dist/cdn/{H3DAT6EW.js → BTF6YFRK.js} +1 -1
- package/dist/cdn/{R7DA4HDR.js → C2EL3ITN.js} +1 -1
- package/dist/cdn/C5QTLDCU.js +2 -0
- package/dist/cdn/{QQJAAD4D.js → C75XSIWC.js} +1 -1
- package/dist/cdn/{WXXM3QW7.js → CI322RY4.js} +1 -1
- package/dist/cdn/CKSEAT5O.js +2 -0
- package/dist/cdn/CNL2XWGH.js +2 -0
- package/dist/cdn/{6AMCCGQF.js → CR4NUST3.js} +1 -1
- package/dist/cdn/CSXQJZEL.js +2 -0
- package/dist/cdn/{V53ZO6O2.js → CTEHP75R.js} +1 -1
- package/dist/cdn/CZ7GAGEJ.js +2 -0
- package/dist/cdn/CZP724EL.js +20 -0
- package/dist/cdn/D47QLMSE.js +2 -0
- package/dist/cdn/{LVFOVDHP.js → D4HRXS4E.js} +1 -1
- package/dist/cdn/{LSHC7RLD.js → DH4YOHMH.js} +1 -1
- package/dist/cdn/DIFQPNFB.js +2 -0
- package/dist/cdn/{UE76JFYY.js → DOIHMBBW.js} +1 -1
- package/dist/cdn/DPKQFZ63.js +2 -0
- package/dist/cdn/{BWQEQMPE.js → DQADORUS.js} +1 -1
- package/dist/cdn/DQIQKIDG.js +2 -0
- package/dist/cdn/{737AN2CX.js → DQIUIZK3.js} +1 -1
- package/dist/cdn/{ZQS7OQMV.js → DWXODW3D.js} +1 -1
- package/dist/cdn/{NVFSFAXN.js → DYUHRMVD.js} +1 -1
- package/dist/cdn/EFDHGXCK.js +2 -0
- package/dist/cdn/{YV4JKSOA.js → ET243IG2.js} +1 -1
- package/dist/cdn/{YW4L3SES.js → EV2BLP2M.js} +1 -1
- package/dist/cdn/{UJQIARKQ.js → EX5IXZL6.js} +1 -1
- package/dist/cdn/{DDDWQR7D.js → EZWCNW5M.js} +1 -1
- package/dist/cdn/{CZAABKL5.js → FAW6HCZE.js} +1 -1
- package/dist/cdn/FE2JAX5D.js +2 -0
- package/dist/cdn/{SXAW7MNS.js → FR6PIDS2.js} +1 -1
- package/dist/cdn/G4EENJPP.js +2 -0
- package/dist/cdn/G6XTP7VM.js +2 -0
- package/dist/cdn/{SFBT7DUM.js → GY2EZ3FB.js} +1 -1
- package/dist/cdn/{XKHMRAUY.js → HBWRRDGG.js} +1 -1
- package/dist/cdn/{ZDSVHHRM.js → HJHRSII7.js} +1 -1
- package/dist/cdn/{RGAWT7EN.js → HZF6EPZ3.js} +1 -1
- package/dist/cdn/{SUKPOBHP.js → ILASMNOD.js} +1 -1
- package/dist/cdn/{A3R6ZW46.js → IOESPC3K.js} +1 -1
- package/dist/cdn/{HS66ECFP.js → IQ5PDJZT.js} +1 -1
- package/dist/cdn/{WCLE6G2R.js → IQRWVDGY.js} +1 -1
- package/dist/cdn/{2ZGOGJF6.js → IR2A2F5H.js} +1 -1
- package/dist/cdn/{7PBEXYE5.js → IR2V5547.js} +1 -1
- package/dist/cdn/{RKXNURVD.js → IVELW3IC.js} +1 -1
- package/dist/cdn/{L52YMQCF.js → J2OH4U4P.js} +1 -1
- package/dist/cdn/{V2AILWX5.js → JFOHL6M6.js} +1 -1
- package/dist/cdn/{Y3DN4DI3.js → JHAK7Y4E.js} +1 -1
- package/dist/cdn/{N5ZO4Q6R.js → JKGQEGYT.js} +1 -1
- package/dist/cdn/JLKKNEX5.js +2 -0
- package/dist/cdn/{YVC2GI2R.js → JUAYHBAX.js} +1 -1
- package/dist/cdn/{WHLIZAJ4.js → JUJMRIPL.js} +1 -1
- package/dist/cdn/JXZTPWEI.js +2 -0
- package/dist/cdn/{YWJV2ZJH.js → K4N2EM4F.js} +1 -1
- package/dist/cdn/KA36OY4J.js +2 -0
- package/dist/cdn/KAYPDW25.js +2 -0
- package/dist/cdn/{VO5AJW7E.js → KJ5X5JQ2.js} +1 -1
- package/dist/cdn/KPTJTPBQ.js +2 -0
- package/dist/cdn/LPE5WKMF.js +2 -0
- package/dist/cdn/{4FLY37DS.js → LW2W54GS.js} +1 -1
- package/dist/cdn/{T6YGXV52.js → M3IAYV6K.js} +1 -1
- package/dist/cdn/M4RGPK4P.js +2 -0
- package/dist/cdn/{HD3O4MZC.js → M6L42LD5.js} +1 -1
- package/dist/cdn/{V5TEVQGL.js → MGUAW2MN.js} +1 -1
- package/dist/cdn/{XPBRB3GD.js → MKOYBNHN.js} +1 -1
- package/dist/cdn/N6CONYT7.js +2 -0
- package/dist/cdn/{4MISAGES.js → NC6GXJRL.js} +1 -1
- package/dist/cdn/NDICGBNV.js +2 -0
- package/dist/cdn/{VEQURGQQ.js → NHEFZRKK.js} +1 -1
- package/dist/cdn/NMLH456H.js +2 -0
- package/dist/cdn/{YF7W5TNY.js → NO3H5PAJ.js} +1 -1
- package/dist/cdn/{ECXCRW5C.js → O5R6HMDZ.js} +1 -1
- package/dist/cdn/{BFHM6VVJ.js → OAB226QL.js} +1 -1
- package/dist/cdn/{LHJS25PA.js → ODU6JYNH.js} +1 -1
- package/dist/cdn/OE3QOF5V.js +2 -0
- package/dist/cdn/{DB5E4RIJ.js → OGTOSWWU.js} +1 -1
- package/dist/cdn/OMQ7WOPQ.js +2 -0
- package/dist/cdn/{CTFG7BKR.js → OS5XNQXP.js} +1 -1
- package/dist/cdn/{FWMBLSBZ.js → OSEH2NR3.js} +1 -1
- package/dist/cdn/OUGIMZJ3.js +2 -0
- package/dist/cdn/P4COLKFN.js +2 -0
- package/dist/cdn/{Z2HZKD54.js → PUBTIJIU.js} +1 -1
- package/dist/cdn/PYR4KQWG.js +2 -0
- package/dist/cdn/Q4VHTJKT.js +2 -0
- package/dist/cdn/Q6VH6KBT.js +2 -0
- package/dist/cdn/{JDC4NGIZ.js → QAXF4UPJ.js} +1 -1
- package/dist/cdn/RI4JK6O2.js +2 -0
- package/dist/cdn/RIDD2XKE.js +2 -0
- package/dist/cdn/RPDLVOMK.js +2 -0
- package/dist/cdn/{XWKUAYS3.js → SDU4R5MI.js} +1 -1
- package/dist/cdn/{EPWLK62I.js → SEG7ZWJV.js} +1 -1
- package/dist/cdn/SKEOVYI3.js +2 -0
- package/dist/cdn/{YKOI3XVI.js → SRUYXOUG.js} +1 -1
- package/dist/cdn/SSCGJSIX.js +2 -0
- package/dist/cdn/{YBZJPDCZ.js → T5UHOSA2.js} +1 -1
- package/dist/cdn/{AYRJ7NYC.js → TJGNWJF6.js} +1 -1
- package/dist/cdn/{ZQ4OJ3TB.js → TUXGJBDC.js} +1 -1
- package/dist/cdn/{MKWW25JO.js → UAXV5QU2.js} +1 -1
- package/dist/cdn/{YSW3EMMW.js → UTXN6YZB.js} +1 -1
- package/dist/cdn/{ZLFF2S3N.js → UWKL3MMP.js} +1 -1
- package/dist/cdn/{K4CQQSR3.js → V3JWWLRL.js} +1 -1
- package/dist/cdn/{UT2YYWTT.js → V53VO7TG.js} +1 -1
- package/dist/cdn/{3NSCGO53.js → V7TWPLUL.js} +1 -1
- package/dist/cdn/{SYCYUG5E.js → VITY2ZWH.js} +1 -1
- package/dist/cdn/{RKCCKR6X.js → WCIKADAE.js} +1 -1
- package/dist/cdn/WIB6QS4N.js +2 -0
- package/dist/cdn/{SK3O7KCF.js → WICQMZUZ.js} +1 -1
- package/dist/cdn/{WDQSZOG4.js → WYCH4Z2A.js} +1 -1
- package/dist/cdn/{ECJJHTCC.js → XIERF7M3.js} +1 -1
- package/dist/cdn/{YYLJHCTL.js → XIV422LP.js} +1 -1
- package/dist/cdn/{TWY2OKHH.js → XRU35TLK.js} +1 -1
- package/dist/cdn/{RUGBI54D.js → XY2NGASJ.js} +1 -1
- package/dist/cdn/Y664PBYS.js +2 -0
- package/dist/cdn/{ITINQ72E.js → YC33WRPJ.js} +1 -1
- package/dist/cdn/{MFS45EQF.js → YDPZAW5A.js} +1 -1
- package/dist/cdn/{OBCDL7IH.js → YRDE6L4T.js} +1 -1
- package/dist/cdn/YSVKKDJF.js +2 -0
- package/dist/cdn/{ZNMLNRTR.js → YUU5WSIS.js} +1 -1
- package/dist/cdn/YV4UJTWH.js +2 -0
- package/dist/cdn/YVL7L5VZ.js +2 -0
- package/dist/cdn/{COV2WELR.js → Z2UWNG35.js} +1 -1
- package/dist/cdn/{OQZPA4TW.js → Z3PSNA4F.js} +1 -1
- package/dist/cdn/{IRTFE23M.js → ZDKXHZNU.js} +1 -1
- package/dist/cdn/{PX7POLG4.js → ZPXEKSRI.js} +1 -1
- package/dist/cdn/{WG5GMIWE.js → ZRMDVPEA.js} +1 -1
- package/dist/cdn/ZUR4NUA5.js +2 -0
- 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/resources.js +1 -1
- package/dist/chunks/resources10.js +6 -56
- package/dist/chunks/resources11.js +21 -5
- package/dist/chunks/resources12.js +1 -1
- package/dist/chunks/resources13.js +1 -1
- package/dist/chunks/resources15.js +2 -3
- package/dist/chunks/resources17.js +1 -1
- package/dist/chunks/resources18.js +1 -1
- package/dist/chunks/resources2.js +18 -22
- package/dist/chunks/resources20.js +1 -1
- package/dist/chunks/resources21.js +1 -1
- package/dist/chunks/resources22.js +1 -1
- package/dist/chunks/resources23.js +1 -1
- package/dist/chunks/resources24.js +1 -1
- package/dist/chunks/resources25.js +1 -1
- package/dist/chunks/resources26.js +1 -1
- package/dist/chunks/resources27.js +1 -1
- package/dist/chunks/resources28.js +1 -1
- package/dist/chunks/resources29.js +1 -1
- package/dist/chunks/resources3.js +20 -18
- package/dist/chunks/resources30.js +1 -1
- package/dist/chunks/resources31.js +1 -1
- package/dist/chunks/resources32.js +1 -1
- package/dist/chunks/resources33.js +1 -1
- package/dist/chunks/resources34.js +1 -1
- package/dist/chunks/resources4.js +9 -19
- package/dist/chunks/resources5.js +19 -7
- package/dist/chunks/resources6.js +38 -13
- package/dist/chunks/resources7.js +20 -38
- package/dist/chunks/resources8.js +23 -21
- package/dist/chunks/resources9.js +52 -27
- package/dist/chunks/runtime.js +4 -4
- package/dist/chunks/sortable.js +1 -1
- package/dist/chunks/utils.js +1 -1
- package/dist/chunks/utils4.js +1 -1
- package/dist/components/calcite-accordion/customElement.js +1 -1
- package/dist/components/calcite-accordion-item/customElement.js +1 -1
- package/dist/components/calcite-action/customElement.js +2 -2
- package/dist/components/calcite-action-bar/customElement.js +43 -12
- package/dist/components/calcite-action-group/customElement.js +2 -2
- package/dist/components/calcite-action-menu/customElement.js +3 -3
- package/dist/components/calcite-alert/customElement.js +2 -2
- package/dist/components/calcite-autocomplete/customElement.js +41 -14
- package/dist/components/calcite-autocomplete-item/customElement.js +2 -2
- package/dist/components/calcite-autocomplete-item-group/customElement.js +2 -2
- package/dist/components/calcite-block/customElement.d.ts +0 -35
- package/dist/components/calcite-block/customElement.js +1 -25
- package/dist/components/calcite-block-group/customElement.d.ts +0 -7
- package/dist/components/calcite-block-group/customElement.js +2 -3
- package/dist/components/calcite-card/customElement.js +1 -1
- package/dist/components/calcite-card-group/customElement.js +1 -1
- package/dist/components/calcite-checkbox/customElement.js +1 -1
- package/dist/components/calcite-chip/customElement.js +1 -1
- package/dist/components/calcite-chip-group/customElement.js +1 -1
- package/dist/components/calcite-combobox/customElement.js +3 -3
- 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-input-time-zone/customElement.js +1 -1
- 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/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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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-tab/customElement.js +1 -1
- package/dist/components/calcite-tab-title/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 +2 -2
- package/dist/components/calcite-tree-item/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 -30
- package/dist/loader.js +1 -4
- package/dist/types/lumina.d.ts +0 -28
- package/dist/types/preact.d.ts +0 -31
- package/dist/types/react.d.ts +0 -34
- package/dist/types/stencil.d.ts +0 -28
- 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/PJGO2WFB.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/UMEPEAVS.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/action-pad/t9n/messages.ar.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.bg.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.bs.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.ca.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.cs.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.da.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.de.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.el.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.en.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.es.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.et.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.fi.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.fr.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.he.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.hr.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.hu.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.id.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.it.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.ja.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.ko.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.lt.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.lv.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.nl.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.no.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.pl.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.pt-BR.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.pt-PT.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.ro.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.ru.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.sk.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.sl.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.sr.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.sv.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.th.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.tr.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.uk.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.vi.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.zh-CN.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.zh-HK.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.zh-TW.json +0 -1
- 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/chunks/ExpandToggle.js +0 -48
- package/dist/components/calcite-action-pad/customElement.d.ts +0 -96
- package/dist/components/calcite-action-pad/customElement.js +0 -185
- package/dist/components/calcite-action-pad/index.d.ts +0 -1
- package/dist/components/calcite-action-pad/index.js +0 -3
- 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/cdn/{ZZDNIBT7.js → 2IM7ZZ7U.js} +0 -0
- /package/dist/cdn/{NYT7VOUO.js → TIIRIEHJ.js} +0 -0
|
@@ -1,185 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import { l as logger, c as customElement } from "../../chunks/runtime.js";
|
|
3
|
-
import { css, html } from "lit";
|
|
4
|
-
import { LitElement, createEvent, safeClassMap } from "@arcgis/lumina";
|
|
5
|
-
import { useDirection } from "@arcgis/lumina/controllers";
|
|
6
|
-
import { b as slotChangeGetAssignedElements, e as focusElementInGroup } from "../../chunks/dom.js";
|
|
7
|
-
import { l as legacyToggleChildActionText, E as ExpandToggle } from "../../chunks/ExpandToggle.js";
|
|
8
|
-
import { c as createObserver } from "../../chunks/observers.js";
|
|
9
|
-
import { u as useT9n } from "../../chunks/useT9n.js";
|
|
10
|
-
import { i as isTooltip } from "../../chunks/resources11.js";
|
|
11
|
-
import { i as isAction } from "../../chunks/resources4.js";
|
|
12
|
-
import { u as useFocusable } from "../../chunks/useFocusable.js";
|
|
13
|
-
const CSS = {
|
|
14
|
-
actionGroupEnd: "action-group--end",
|
|
15
|
-
container: "container"
|
|
16
|
-
};
|
|
17
|
-
const SLOTS = {
|
|
18
|
-
expandTooltip: "expand-tooltip"
|
|
19
|
-
};
|
|
20
|
-
const styles = css`:host{box-sizing:border-box;background-color:var(--calcite-theme-color-surface-2, var(--calcite-color-foreground-1));color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host([scale=s]){--calcite-internal-action-pad-gap: var( --calcite-action-pad-items-space, var(--calcite-theme-space-2xs, var(--calcite-spacing-xxs)) );--calcite-internal-action-pad-padding: var(--calcite-theme-space-2xs, var(--calcite-spacing-xxs))}:host([scale=m]){--calcite-internal-action-pad-gap: var( --calcite-action-pad-items-space, var(--calcite-theme-space-sm, var(--calcite-spacing-sm)) );--calcite-internal-action-pad-padding: var(--calcite-theme-space-sm, var(--calcite-spacing-sm))}:host([scale=l]){--calcite-internal-action-pad-gap: var(--calcite-action-pad-items-space, var(--calcite-space-sm-plus));--calcite-internal-action-pad-padding: var(--calcite-theme-space-sm-plus, var(--calcite-spacing-sm-plus))}:host{display:block}@keyframes in{0%{opacity:0}to{opacity:1}}:host{animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:var(--calcite-action-pad-corner-radius, .125rem);background:transparent}:host([expanded][layout=vertical]) .container{max-inline-size:var(--calcite-action-pad-expanded-max-width, auto)}:host([layout=vertical]) ::slotted(calcite-action-group:not(:last-of-type)){border-block-end-width:1px;padding-block-end:var(--calcite-internal-action-pad-padding)}.container{display:inline-flex;flex-direction:column;overflow:hidden;box-shadow:var(--calcite-shadow-md);border-radius:calc(var(--calcite-action-pad-corner-radius, .125rem) * 2);background-color:var(--calcite-action-background-color, var(--calcite-theme-color-surface-2, var(--calcite-color-foreground-1)));gap:var(--calcite-internal-action-pad-gap);padding:var(--calcite-internal-action-pad-padding)}.action-group--bottom{flex-grow:1;justify-content:flex-end;padding-block-end:0px}:host([layout=horizontal]) .container{flex-direction:row}:host([layout=horizontal]) .container .action-group--bottom{padding:0}:host([layout=horizontal]) .container ::slotted(calcite-action-group:not(:last-of-type)){border-inline-end-width:1px;padding-inline-end:var(--calcite-internal-action-pad-padding)}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
21
|
-
class ActionPad extends LitElement {
|
|
22
|
-
constructor() {
|
|
23
|
-
super();
|
|
24
|
-
this.actions = [];
|
|
25
|
-
this.direction = useDirection();
|
|
26
|
-
this.mutationObserver = createObserver("mutation", () => this.mutationObserverHandler());
|
|
27
|
-
this.toggleExpand = () => {
|
|
28
|
-
this.expanded = !this.expanded;
|
|
29
|
-
this.calciteActionPadToggle.emit();
|
|
30
|
-
};
|
|
31
|
-
this.messages = useT9n({ blocking: true });
|
|
32
|
-
this.focusSetter = useFocusable()(this);
|
|
33
|
-
this.expandDisabled = false;
|
|
34
|
-
this.expanded = false;
|
|
35
|
-
this.layout = "vertical";
|
|
36
|
-
this.overlayPositioning = "absolute";
|
|
37
|
-
this.scale = "m";
|
|
38
|
-
this.selectionAppearance = "neutral";
|
|
39
|
-
this.calciteActionPadCollapse = createEvent({ cancelable: false });
|
|
40
|
-
this.calciteActionPadExpand = createEvent({ cancelable: false });
|
|
41
|
-
this.calciteActionPadToggle = createEvent({ cancelable: false });
|
|
42
|
-
this.listen("calciteActionMenuOpen", this.actionMenuOpenHandler);
|
|
43
|
-
this.listen("keydown", this.handleKeyDown);
|
|
44
|
-
}
|
|
45
|
-
static {
|
|
46
|
-
this.properties = { expandTooltip: [16, {}, { state: true }], actionsEndGroupLabel: 1, expandDisabled: [7, {}, { reflect: true, type: Boolean }], expanded: [7, {}, { reflect: true, type: Boolean }], layout: [3, {}, { reflect: true }], messageOverrides: [0, {}, { attribute: false }], overlayPositioning: [3, {}, { reflect: true }], position: [3, {}, { reflect: true }], scale: [3, {}, { reflect: true }], selectionAppearance: [3, {}, { reflect: true }] };
|
|
47
|
-
}
|
|
48
|
-
static {
|
|
49
|
-
this.shadowRootOptions = { mode: "open", delegatesFocus: true };
|
|
50
|
-
}
|
|
51
|
-
static {
|
|
52
|
-
this.styles = styles;
|
|
53
|
-
}
|
|
54
|
-
async setFocus(options) {
|
|
55
|
-
return this.focusSetter(() => this.el, options);
|
|
56
|
-
}
|
|
57
|
-
connectedCallback() {
|
|
58
|
-
super.connectedCallback();
|
|
59
|
-
this.updateActions();
|
|
60
|
-
this.mutationObserver?.observe(this.el, { childList: true, subtree: true });
|
|
61
|
-
}
|
|
62
|
-
async load() {
|
|
63
|
-
logger.deprecated("component", {
|
|
64
|
-
component: this,
|
|
65
|
-
name: "action-pad",
|
|
66
|
-
removalVersion: 5,
|
|
67
|
-
suggested: "action-bar"
|
|
68
|
-
});
|
|
69
|
-
}
|
|
70
|
-
willUpdate(changes) {
|
|
71
|
-
if (changes.has("expanded") && this.hasUpdated) {
|
|
72
|
-
legacyToggleChildActionText({ el: this.el, expanded: this.expanded });
|
|
73
|
-
}
|
|
74
|
-
if (changes.has("layout") && (this.hasUpdated || this.layout !== "vertical")) {
|
|
75
|
-
this.updateGroups();
|
|
76
|
-
}
|
|
77
|
-
if (changes.has("expanded") && this.hasUpdated) {
|
|
78
|
-
if (this.expanded) {
|
|
79
|
-
this.calciteActionPadExpand.emit();
|
|
80
|
-
} else {
|
|
81
|
-
this.calciteActionPadCollapse.emit();
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
if (changes.has("selectionAppearance") && (this.hasUpdated || this.selectionAppearance !== "neutral")) {
|
|
85
|
-
this.updateActions();
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
disconnectedCallback() {
|
|
89
|
-
super.disconnectedCallback();
|
|
90
|
-
this.mutationObserver?.disconnect();
|
|
91
|
-
}
|
|
92
|
-
actionMenuOpenHandler(event) {
|
|
93
|
-
if (event.target.menuOpen) {
|
|
94
|
-
const composedPath = event.composedPath();
|
|
95
|
-
this.actionGroups?.forEach((group) => {
|
|
96
|
-
if (!composedPath.includes(group)) {
|
|
97
|
-
group.menuOpen = false;
|
|
98
|
-
}
|
|
99
|
-
});
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
updateGroups() {
|
|
103
|
-
const groups = Array.from(this.el.querySelectorAll("calcite-action-group"));
|
|
104
|
-
this.actionGroups = groups;
|
|
105
|
-
this.setGroupLayout(groups);
|
|
106
|
-
}
|
|
107
|
-
setGroupLayout(groups) {
|
|
108
|
-
groups.forEach((group) => group.layout = this.layout);
|
|
109
|
-
}
|
|
110
|
-
handleDefaultSlotChange() {
|
|
111
|
-
this.updateGroups();
|
|
112
|
-
this.queryAndStoreActions();
|
|
113
|
-
this.updateActions();
|
|
114
|
-
}
|
|
115
|
-
handleTooltipSlotChange(event) {
|
|
116
|
-
const tooltips = slotChangeGetAssignedElements(event).filter(isTooltip);
|
|
117
|
-
this.expandTooltip = tooltips[0];
|
|
118
|
-
}
|
|
119
|
-
handleKeyDown(event) {
|
|
120
|
-
this.queryAndStoreActions();
|
|
121
|
-
const actions = this.actions.filter((action) => !action.disabled);
|
|
122
|
-
const current = document.activeElement;
|
|
123
|
-
if (!isAction(current) || !actions.includes(current)) {
|
|
124
|
-
return;
|
|
125
|
-
}
|
|
126
|
-
switch (event.key) {
|
|
127
|
-
case "ArrowRight":
|
|
128
|
-
case "ArrowDown":
|
|
129
|
-
focusElementInGroup(actions, current, "next", true);
|
|
130
|
-
event.preventDefault();
|
|
131
|
-
break;
|
|
132
|
-
case "ArrowLeft":
|
|
133
|
-
case "ArrowUp":
|
|
134
|
-
focusElementInGroup(actions, current, "previous", true);
|
|
135
|
-
event.preventDefault();
|
|
136
|
-
break;
|
|
137
|
-
case "Home":
|
|
138
|
-
focusElementInGroup(actions, current, "first", true);
|
|
139
|
-
event.preventDefault();
|
|
140
|
-
break;
|
|
141
|
-
case "End":
|
|
142
|
-
focusElementInGroup(actions, current, "last", true);
|
|
143
|
-
event.preventDefault();
|
|
144
|
-
break;
|
|
145
|
-
case "Tab":
|
|
146
|
-
this.updateTabIndexOfItems(current);
|
|
147
|
-
break;
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
updateActions() {
|
|
151
|
-
this.actions.forEach((action) => {
|
|
152
|
-
action.selectionAppearance = this.selectionAppearance;
|
|
153
|
-
});
|
|
154
|
-
}
|
|
155
|
-
updateTabIndexOfItems(active) {
|
|
156
|
-
this.actions.forEach((action) => {
|
|
157
|
-
const tabIndex = !action.disabled && action === active ? 0 : -1;
|
|
158
|
-
if (tabIndex === 0) {
|
|
159
|
-
action.removeAttribute("tabindex");
|
|
160
|
-
} else {
|
|
161
|
-
action.tabIndex = tabIndex;
|
|
162
|
-
}
|
|
163
|
-
});
|
|
164
|
-
}
|
|
165
|
-
queryAndStoreActions() {
|
|
166
|
-
this.actions = Array.from(this.el.querySelectorAll("calcite-action"));
|
|
167
|
-
}
|
|
168
|
-
mutationObserverHandler() {
|
|
169
|
-
this.updateGroups();
|
|
170
|
-
this.queryAndStoreActions();
|
|
171
|
-
this.updateActions();
|
|
172
|
-
}
|
|
173
|
-
renderBottomActionGroup() {
|
|
174
|
-
const { expanded, expandDisabled, messages, el, position, toggleExpand, scale, layout, actionsEndGroupLabel, overlayPositioning } = this;
|
|
175
|
-
const expandToggleNode = !expandDisabled ? ExpandToggle({ collapseLabel: messages.collapseLabel, collapseText: messages.collapse, direction: this.direction, el, expanded, expandLabel: messages.expandLabel, expandText: messages.expand, position, scale, toggle: toggleExpand, tooltip: this.expandTooltip }) : null;
|
|
176
|
-
return expandToggleNode ? html`<calcite-action-group class=${safeClassMap(CSS.actionGroupEnd)} .label=${actionsEndGroupLabel} .layout=${layout} .overlayPositioning=${overlayPositioning} .scale=${scale}><slot name=${SLOTS.expandTooltip} @slotchange=${this.handleTooltipSlotChange}></slot>${expandToggleNode}</calcite-action-group>` : null;
|
|
177
|
-
}
|
|
178
|
-
render() {
|
|
179
|
-
return html`<div class=${safeClassMap(CSS.container)}><slot @slotchange=${this.handleDefaultSlotChange}></slot>${this.renderBottomActionGroup()}</div>`;
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
customElement("calcite-action-pad", ActionPad);
|
|
183
|
-
export {
|
|
184
|
-
ActionPad
|
|
185
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./customElement.js";
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
|
-
import type { HandleNudge } from "./types.js";
|
|
4
|
-
|
|
5
|
-
declare module "@arcgis/lumina" {
|
|
6
|
-
export interface DeclareCssProperties {
|
|
7
|
-
/** Specifies the component's background color. */
|
|
8
|
-
"--calcite-handle-background-color": "*";
|
|
9
|
-
/** Specifies the component's background color on hover. */
|
|
10
|
-
"--calcite-handle-background-color-hover": "*";
|
|
11
|
-
/** Specifies the component's background color when selected. */
|
|
12
|
-
"--calcite-handle-background-color-selected": "*";
|
|
13
|
-
/** Specifies the component's icon color. */
|
|
14
|
-
"--calcite-handle-icon-color": "*";
|
|
15
|
-
/** Specifies the component's icon color on hover. */
|
|
16
|
-
"--calcite-handle-icon-color-hover": "*";
|
|
17
|
-
/** Specifies the component's icon color when selected. */
|
|
18
|
-
"--calcite-handle-icon-color-selected": "*";
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
/** @deprecated in v3.0.0, removal target v6.0.0. Use the `calcite-sort-handle` component instead. */
|
|
23
|
-
export abstract class Handle extends LitElement {
|
|
24
|
-
/**
|
|
25
|
-
* When `true`, interaction is prevented and the component is displayed with lower opacity.
|
|
26
|
-
*
|
|
27
|
-
* @default false
|
|
28
|
-
*/
|
|
29
|
-
accessor disabled: boolean;
|
|
30
|
-
/** Value for the button title attribute. */
|
|
31
|
-
accessor dragHandle: string | undefined;
|
|
32
|
-
/**
|
|
33
|
-
* Replace localized message strings with your own strings.
|
|
34
|
-
*
|
|
35
|
-
* _**Note**: Individual message keys may change between releases._
|
|
36
|
-
*/
|
|
37
|
-
accessor messageOverrides: {
|
|
38
|
-
dragHandle?: string | undefined;
|
|
39
|
-
dragHandleUntitled?: string | undefined;
|
|
40
|
-
dragHandleActive?: string | undefined;
|
|
41
|
-
dragHandleChange?: string | undefined;
|
|
42
|
-
dragHandleCommit?: string | undefined;
|
|
43
|
-
dragHandleIdle?: string | undefined;
|
|
44
|
-
};
|
|
45
|
-
/**
|
|
46
|
-
* When `true`, the component is selected.
|
|
47
|
-
*
|
|
48
|
-
* @default false
|
|
49
|
-
*/
|
|
50
|
-
accessor selected: boolean;
|
|
51
|
-
/**
|
|
52
|
-
* Sets focus on the component.
|
|
53
|
-
*
|
|
54
|
-
* @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
|
|
55
|
-
* @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
|
|
56
|
-
*/
|
|
57
|
-
setFocus(options?: FocusOptions): Promise<void>;
|
|
58
|
-
/** Fires whenever the component is selected or unselected. */
|
|
59
|
-
readonly calciteHandleChange: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
60
|
-
/** Fires when the handle is selected and the up or down arrow key is pressed. */
|
|
61
|
-
readonly calciteHandleNudge: import("@arcgis/lumina").TargetedEvent<this, HandleNudge>;
|
|
62
|
-
readonly "@eventTypes": {
|
|
63
|
-
calciteHandleChange: Handle["calciteHandleChange"]["detail"];
|
|
64
|
-
calciteHandleNudge: Handle["calciteHandleNudge"]["detail"];
|
|
65
|
-
};
|
|
66
|
-
}
|
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import { l as logger, c as customElement } from "../../chunks/runtime.js";
|
|
3
|
-
import { css, nothing, html } from "lit";
|
|
4
|
-
import { createRef, ref } from "lit/directives/ref.js";
|
|
5
|
-
import { LitElement, createEvent, safeClassMap } from "@arcgis/lumina";
|
|
6
|
-
import { u as useT9n } from "../../chunks/useT9n.js";
|
|
7
|
-
import { u as useFocusable } from "../../chunks/useFocusable.js";
|
|
8
|
-
import { u as useInteractive } from "../../chunks/useInteractive.js";
|
|
9
|
-
const CSS = {
|
|
10
|
-
handle: "handle",
|
|
11
|
-
handleSelected: "handle--selected"
|
|
12
|
-
};
|
|
13
|
-
const ICONS = {
|
|
14
|
-
drag: "drag"
|
|
15
|
-
};
|
|
16
|
-
const SUBSTITUTIONS = {
|
|
17
|
-
itemLabel: "{itemLabel}",
|
|
18
|
-
position: "{position}",
|
|
19
|
-
total: "{total}"
|
|
20
|
-
};
|
|
21
|
-
const styles = css`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex}.handle{display:flex;align-items:center;justify-content:center;align-self:stretch;border-style:none;outline-color:transparent;color:var(--calcite-handle-icon-color, var(--calcite-color-border-input));background-color:var(--calcite-handle-background-color, transparent);padding-block:.75rem;padding-inline:.25rem;line-height:0}.handle calcite-icon{color:inherit}:host(:not([disabled])) .handle{cursor:move}:host(:not([disabled])) .handle:hover{color:var(--calcite-handle-icon-color-hover, var(--calcite-color-text-1));background-color:var(--calcite-handle-background-color-hover, var(--calcite-theme-color-surface-3, var(--calcite-color-foreground-2)))}:host(:not([disabled])) .handle:focus{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))));color:var(--calcite-handle-icon-color-hover, var(--calcite-color-text-1))}:host(:not([disabled])) .handle--selected{color:var(--calcite-handle-icon-color-selected, var(--calcite-color-text-1));background-color:var(--calcite-handle-background-color-selected, var(--calcite-theme-color-surface-4, var(--calcite-color-foreground-3)))}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
22
|
-
class Handle extends LitElement {
|
|
23
|
-
constructor() {
|
|
24
|
-
super(...arguments);
|
|
25
|
-
this.handleButtonRef = createRef();
|
|
26
|
-
this.messages = useT9n({ blocking: true });
|
|
27
|
-
this.focusSetter = useFocusable()(this);
|
|
28
|
-
this.interactiveContainer = useInteractive(this);
|
|
29
|
-
this.blurUnselectDisabled = false;
|
|
30
|
-
this.disabled = false;
|
|
31
|
-
this.selected = false;
|
|
32
|
-
this.calciteHandleChange = createEvent({ cancelable: false });
|
|
33
|
-
this.calciteHandleNudge = createEvent({ cancelable: false });
|
|
34
|
-
this.calciteInternalAssistiveTextChange = createEvent({ cancelable: false });
|
|
35
|
-
}
|
|
36
|
-
static {
|
|
37
|
-
this.properties = { blurUnselectDisabled: [5, {}, { type: Boolean }], disabled: [7, {}, { reflect: true, type: Boolean }], dragHandle: [3, {}, { reflect: true }], label: 1, messageOverrides: [0, {}, { attribute: false }], selected: [7, {}, { reflect: true, type: Boolean }], setPosition: [9, {}, { type: Number }], setSize: [9, {}, { type: Number }] };
|
|
38
|
-
}
|
|
39
|
-
static {
|
|
40
|
-
this.styles = styles;
|
|
41
|
-
}
|
|
42
|
-
async setFocus(options) {
|
|
43
|
-
return this.focusSetter(() => this.handleButtonRef.value, options);
|
|
44
|
-
}
|
|
45
|
-
willUpdate(changes) {
|
|
46
|
-
if (changes.has("messages") || changes.has("label") || changes.has("selected") && (this.hasUpdated || this.selected !== false) || changes.has("setPosition") || changes.has("setSize")) {
|
|
47
|
-
this.handleAriaTextChange();
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
loaded() {
|
|
51
|
-
logger.deprecated("component", {
|
|
52
|
-
component: this,
|
|
53
|
-
name: "handle",
|
|
54
|
-
removalVersion: 5,
|
|
55
|
-
suggested: "sort-handle"
|
|
56
|
-
});
|
|
57
|
-
}
|
|
58
|
-
handleAriaTextChange() {
|
|
59
|
-
const message = this.getAriaText("live");
|
|
60
|
-
if (message) {
|
|
61
|
-
this.calciteInternalAssistiveTextChange.emit({
|
|
62
|
-
message
|
|
63
|
-
});
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
getTooltip() {
|
|
67
|
-
const { label, messages } = this;
|
|
68
|
-
if (!messages) {
|
|
69
|
-
return "";
|
|
70
|
-
}
|
|
71
|
-
if (!label) {
|
|
72
|
-
return messages.dragHandleUntitled;
|
|
73
|
-
}
|
|
74
|
-
return messages.dragHandle.replace(SUBSTITUTIONS.itemLabel, label);
|
|
75
|
-
}
|
|
76
|
-
getAriaText(type) {
|
|
77
|
-
const { setPosition, setSize, label, messages, selected } = this;
|
|
78
|
-
if (!messages || !label || typeof setSize !== "number" || typeof setPosition !== "number") {
|
|
79
|
-
return void 0;
|
|
80
|
-
}
|
|
81
|
-
const text = type === "label" ? selected ? messages.dragHandleChange : messages.dragHandleIdle : selected ? messages.dragHandleActive : messages.dragHandleCommit;
|
|
82
|
-
const replacePosition = text.replace(SUBSTITUTIONS.position, setPosition.toString());
|
|
83
|
-
const replaceLabel = replacePosition.replace(SUBSTITUTIONS.itemLabel, label);
|
|
84
|
-
return replaceLabel.replace(SUBSTITUTIONS.total, setSize.toString());
|
|
85
|
-
}
|
|
86
|
-
handleKeyDown(event) {
|
|
87
|
-
if (this.disabled) {
|
|
88
|
-
return;
|
|
89
|
-
}
|
|
90
|
-
switch (event.key) {
|
|
91
|
-
case " ":
|
|
92
|
-
this.selected = !this.selected;
|
|
93
|
-
this.calciteHandleChange.emit();
|
|
94
|
-
event.preventDefault();
|
|
95
|
-
break;
|
|
96
|
-
case "ArrowUp":
|
|
97
|
-
if (!this.selected) {
|
|
98
|
-
return;
|
|
99
|
-
}
|
|
100
|
-
event.preventDefault();
|
|
101
|
-
this.calciteHandleNudge.emit({ direction: "up" });
|
|
102
|
-
break;
|
|
103
|
-
case "ArrowDown":
|
|
104
|
-
if (!this.selected) {
|
|
105
|
-
return;
|
|
106
|
-
}
|
|
107
|
-
event.preventDefault();
|
|
108
|
-
this.calciteHandleNudge.emit({ direction: "down" });
|
|
109
|
-
break;
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
handleBlur() {
|
|
113
|
-
if (this.blurUnselectDisabled || this.disabled) {
|
|
114
|
-
return;
|
|
115
|
-
}
|
|
116
|
-
if (this.selected) {
|
|
117
|
-
this.selected = false;
|
|
118
|
-
this.calciteHandleChange.emit();
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
render() {
|
|
122
|
-
return this.interactiveContainer({ disabled: this.disabled, children: html`<span .ariaChecked=${this.disabled ? void 0 : this.selected} .ariaDisabled=${this.disabled ? this.disabled : void 0} .ariaLabel=${this.disabled ? void 0 : this.getAriaText("label")} class=${safeClassMap({ [CSS.handle]: true, [CSS.handleSelected]: !this.disabled && this.selected })} @blur=${this.handleBlur} @keydown=${this.handleKeyDown} role=radio tabindex=${(this.disabled ? void 0 : 0) ?? nothing} title=${this.getTooltip() ?? nothing} ${ref(this.handleButtonRef)}><calcite-icon .icon=${ICONS.drag} scale=s></calcite-icon></span>` });
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
customElement("calcite-handle", Handle);
|
|
126
|
-
export {
|
|
127
|
-
Handle
|
|
128
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./customElement.js";
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
|
-
import type { Layout } from "../types.js";
|
|
4
|
-
import type { DragDetail } from "../../controllers/useSortable.js";
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* @deprecated in v3.0.0, removal target v6.0.0. Use the `calcite-block-group` component instead.
|
|
8
|
-
* @slot - A slot for adding sortable items.
|
|
9
|
-
*/
|
|
10
|
-
export abstract class SortableList extends LitElement {
|
|
11
|
-
/** When provided, the method will be called to determine whether the element can move from the list. */
|
|
12
|
-
accessor canPull: ((detail: DragDetail) => boolean) | undefined;
|
|
13
|
-
/** When provided, the method will be called to determine whether the element can be added from another list. */
|
|
14
|
-
accessor canPut: ((detail: DragDetail) => boolean) | undefined;
|
|
15
|
-
/**
|
|
16
|
-
* When `true`, disabled prevents interaction. This state shows items with lower opacity/grayed.
|
|
17
|
-
*
|
|
18
|
-
* @default false
|
|
19
|
-
*/
|
|
20
|
-
accessor disabled: boolean;
|
|
21
|
-
/** Specifies which items inside the element should be draggable. */
|
|
22
|
-
accessor dragSelector: string | undefined;
|
|
23
|
-
/**
|
|
24
|
-
* Specifies the list's group.
|
|
25
|
-
*
|
|
26
|
-
* To drag elements from one list into another, both lists must have the same group value.
|
|
27
|
-
*/
|
|
28
|
-
accessor group: string | undefined;
|
|
29
|
-
/**
|
|
30
|
-
* Specifies the selector for the handle elements.
|
|
31
|
-
*
|
|
32
|
-
* @default "calcite-handle"
|
|
33
|
-
*/
|
|
34
|
-
accessor handleSelector: string;
|
|
35
|
-
/**
|
|
36
|
-
* Indicates the horizontal or vertical orientation of the component.
|
|
37
|
-
*
|
|
38
|
-
* @default "vertical"
|
|
39
|
-
*/
|
|
40
|
-
accessor layout: Extract<"horizontal" | "vertical" | "grid", Layout>;
|
|
41
|
-
/**
|
|
42
|
-
* When `true`, content is waiting to be loaded. This state shows a busy indicator.
|
|
43
|
-
*
|
|
44
|
-
* @default false
|
|
45
|
-
*/
|
|
46
|
-
accessor loading: boolean;
|
|
47
|
-
/** Fires when the order of the list changes. */
|
|
48
|
-
readonly calciteListOrderChange: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
49
|
-
readonly "@eventTypes": {
|
|
50
|
-
calciteListOrderChange: SortableList["calciteListOrderChange"]["detail"];
|
|
51
|
-
};
|
|
52
|
-
}
|
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import { l as logger, c as customElement } from "../../chunks/runtime.js";
|
|
3
|
-
import { css, html } from "lit";
|
|
4
|
-
import { LitElement, createEvent, safeClassMap } from "@arcgis/lumina";
|
|
5
|
-
import { c as createObserver } from "../../chunks/observers.js";
|
|
6
|
-
import { f as focusElement } from "../../chunks/dom.js";
|
|
7
|
-
import { u as useInteractive } from "../../chunks/useInteractive.js";
|
|
8
|
-
import { u as useSortable } from "../../chunks/useSortable.js";
|
|
9
|
-
const CSS = {
|
|
10
|
-
container: "container",
|
|
11
|
-
containerHorizontal: "container--horizontal",
|
|
12
|
-
containerVertical: "container--vertical"
|
|
13
|
-
};
|
|
14
|
-
const styles = css`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.container{display:flex;flex:1 1 auto}.container--vertical{flex-direction:column}.container--horizontal{flex-direction:row}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
15
|
-
class SortableList extends LitElement {
|
|
16
|
-
constructor() {
|
|
17
|
-
super();
|
|
18
|
-
this.dragEnabled = true;
|
|
19
|
-
this.items = [];
|
|
20
|
-
this.mutationObserver = createObserver("mutation", () => {
|
|
21
|
-
this.setUpSorting();
|
|
22
|
-
});
|
|
23
|
-
this.sortable = useSortable()(this);
|
|
24
|
-
this.interactiveContainer = useInteractive(this);
|
|
25
|
-
this.disabled = false;
|
|
26
|
-
this.handleSelector = "calcite-handle";
|
|
27
|
-
this.layout = "vertical";
|
|
28
|
-
this.loading = false;
|
|
29
|
-
this.calciteListOrderChange = createEvent({ cancelable: false });
|
|
30
|
-
this.listen("calciteHandleNudge", this.calciteHandleNudgeNextHandler);
|
|
31
|
-
}
|
|
32
|
-
static {
|
|
33
|
-
this.properties = { canPull: [0, {}, { attribute: false }], canPut: [0, {}, { attribute: false }], disabled: [7, {}, { reflect: true, type: Boolean }], dragSelector: [3, {}, { reflect: true }], group: [3, {}, { reflect: true }], handleSelector: [3, {}, { reflect: true }], layout: [3, {}, { reflect: true }], loading: [7, {}, { reflect: true, type: Boolean }] };
|
|
34
|
-
}
|
|
35
|
-
static {
|
|
36
|
-
this.styles = styles;
|
|
37
|
-
}
|
|
38
|
-
connectedCallback() {
|
|
39
|
-
super.connectedCallback();
|
|
40
|
-
this.setUpSorting();
|
|
41
|
-
this.beginObserving();
|
|
42
|
-
}
|
|
43
|
-
load() {
|
|
44
|
-
logger.deprecated("component", {
|
|
45
|
-
component: this,
|
|
46
|
-
name: "sortable-list",
|
|
47
|
-
removalVersion: 5,
|
|
48
|
-
suggested: "block-group"
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
disconnectedCallback() {
|
|
52
|
-
super.disconnectedCallback();
|
|
53
|
-
this.endObserving();
|
|
54
|
-
}
|
|
55
|
-
calciteHandleNudgeNextHandler(event) {
|
|
56
|
-
this.handleNudgeEvent(event);
|
|
57
|
-
}
|
|
58
|
-
onGlobalDragStart() {
|
|
59
|
-
this.endObserving();
|
|
60
|
-
}
|
|
61
|
-
onGlobalDragEnd() {
|
|
62
|
-
this.beginObserving();
|
|
63
|
-
}
|
|
64
|
-
onDragEnd() {
|
|
65
|
-
}
|
|
66
|
-
onDragStart() {
|
|
67
|
-
}
|
|
68
|
-
onDragSort() {
|
|
69
|
-
this.items = Array.from(this.el.children);
|
|
70
|
-
this.calciteListOrderChange.emit();
|
|
71
|
-
}
|
|
72
|
-
handleNudgeEvent(event) {
|
|
73
|
-
const { direction } = event.detail;
|
|
74
|
-
const handle = event.composedPath().find((el) => el.matches(this.handleSelector));
|
|
75
|
-
const sortItem = this.items.find((item) => {
|
|
76
|
-
return handle && item.contains(handle) || event.composedPath().includes(item);
|
|
77
|
-
});
|
|
78
|
-
const lastIndex = this.items.length - 1;
|
|
79
|
-
const startingIndex = sortItem ? this.items.indexOf(sortItem) : -1;
|
|
80
|
-
let appendInstead = false;
|
|
81
|
-
let buddyIndex;
|
|
82
|
-
if (direction === "up") {
|
|
83
|
-
if (startingIndex === 0) {
|
|
84
|
-
appendInstead = true;
|
|
85
|
-
} else {
|
|
86
|
-
buddyIndex = startingIndex - 1;
|
|
87
|
-
}
|
|
88
|
-
} else {
|
|
89
|
-
if (startingIndex === lastIndex) {
|
|
90
|
-
buddyIndex = 0;
|
|
91
|
-
} else if (startingIndex === lastIndex - 1) {
|
|
92
|
-
appendInstead = true;
|
|
93
|
-
} else {
|
|
94
|
-
buddyIndex = startingIndex + 2;
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
this.endObserving();
|
|
98
|
-
if (appendInstead) {
|
|
99
|
-
sortItem.parentElement.appendChild(sortItem);
|
|
100
|
-
} else {
|
|
101
|
-
sortItem.parentElement.insertBefore(sortItem, this.items[buddyIndex]);
|
|
102
|
-
}
|
|
103
|
-
this.items = Array.from(this.el.children);
|
|
104
|
-
this.beginObserving();
|
|
105
|
-
requestAnimationFrame(() => focusElement(handle));
|
|
106
|
-
if (handle && "selected" in handle) {
|
|
107
|
-
handle.selected = true;
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
setUpSorting() {
|
|
111
|
-
this.items = Array.from(this.el.children);
|
|
112
|
-
this.sortable.reset();
|
|
113
|
-
}
|
|
114
|
-
beginObserving() {
|
|
115
|
-
this.mutationObserver?.observe(this.el, { childList: true, subtree: true });
|
|
116
|
-
}
|
|
117
|
-
endObserving() {
|
|
118
|
-
this.mutationObserver?.disconnect();
|
|
119
|
-
}
|
|
120
|
-
render() {
|
|
121
|
-
const { disabled, layout } = this;
|
|
122
|
-
const horizontal = layout === "horizontal" || false;
|
|
123
|
-
return this.interactiveContainer({ disabled, children: html`<div class=${safeClassMap({
|
|
124
|
-
[CSS.container]: true,
|
|
125
|
-
[CSS.containerVertical]: !horizontal,
|
|
126
|
-
[CSS.containerHorizontal]: horizontal
|
|
127
|
-
})}><slot></slot></div>` });
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
customElement("calcite-sortable-list", SortableList);
|
|
131
|
-
export {
|
|
132
|
-
SortableList
|
|
133
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./customElement.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./customElement.js";
|
|
File without changes
|
|
File without changes
|