@esri/calcite-components 5.2.0-next.16 → 5.2.0-next.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/cdn/2BDJEZ3F.js +2 -0
- package/dist/cdn/{Y5JJBAGO.js → 2IRIX4UH.js} +1 -1
- package/dist/cdn/34234YZM.js +2 -0
- package/dist/cdn/{NY44QG3Z.js → 367STRZD.js} +1 -1
- package/dist/cdn/{7TXXRTD6.js → 36ETDJFE.js} +1 -1
- package/dist/cdn/{TQOSF3DK.js → 3A2D44GI.js} +1 -1
- package/dist/cdn/{ADXJH4JG.js → 3FJBW7LA.js} +1 -1
- package/dist/cdn/3NLSUPAD.js +2 -0
- package/dist/cdn/3WZCRHHD.js +2 -0
- package/dist/cdn/3XZ4FF4Q.js +2 -0
- package/dist/cdn/45VYLWAC.js +2 -0
- package/dist/cdn/4GVDMYJN.js +2 -0
- package/dist/cdn/5ATFSL2L.js +2 -0
- package/dist/cdn/{BKBRE6BE.js → 5BV56WCR.js} +1 -1
- package/dist/cdn/5LJM4O3X.js +2 -0
- package/dist/cdn/5MKKWX5Z.js +2 -0
- package/dist/cdn/{6OZPUPKW.js → 5PAKXXKV.js} +1 -1
- package/dist/cdn/{F5OYYX7P.js → 64NR5NEK.js} +1 -1
- package/dist/cdn/{YFT3HJ6C.js → 654OZJQ3.js} +1 -1
- package/dist/cdn/677N6IUU.js +2 -0
- package/dist/cdn/6BHCC4VJ.js +3 -0
- package/dist/cdn/73BXX24Z.js +2 -0
- package/dist/cdn/{4EHBKF47.js → 76STSXXP.js} +1 -1
- package/dist/cdn/{W5QIPFSJ.js → 7BW3CY3E.js} +1 -1
- package/dist/cdn/7DSQHCHA.js +2 -0
- package/dist/cdn/7FVI23LU.js +2 -0
- package/dist/cdn/7GVQIXCD.js +2 -0
- package/dist/cdn/7KX7WQZ4.js +2 -0
- package/dist/cdn/{3N5FOQAL.js → 7MAIEZLN.js} +1 -1
- package/dist/cdn/{FQ6VKBCC.js → 7OZ7MXFK.js} +1 -1
- package/dist/cdn/{6P5O53FC.js → 7QW5LPZZ.js} +1 -1
- package/dist/cdn/{BCQDFCKN.js → 7REGSUXZ.js} +1 -1
- package/dist/cdn/AEZMXC2S.js +2 -0
- package/dist/cdn/ANL4K4DM.js +2 -0
- package/dist/cdn/AOI55AWB.js +2 -0
- package/dist/cdn/BBDVUDTN.js +2 -0
- package/dist/cdn/{NRGZYLHS.js → BCUE5FHB.js} +1 -1
- package/dist/cdn/BJS5AEMO.js +2 -0
- package/dist/cdn/BOUQJ3BW.js +2 -0
- package/dist/cdn/{ZFHW7RUW.js → BPSWYOQL.js} +1 -1
- package/dist/cdn/{MPBEGHZK.js → BPXV2VDC.js} +1 -1
- package/dist/cdn/{OZWW4O5S.js → C7B5GFW5.js} +1 -1
- package/dist/cdn/CE4FNU6Z.js +2 -0
- package/dist/cdn/CFRM4F52.js +2 -0
- package/dist/cdn/{QDCCLW4T.js → CIKI7AXH.js} +1 -1
- package/dist/cdn/{G6FR4KMK.js → CQ3KVIFW.js} +1 -1
- package/dist/cdn/CSWUXFCB.js +2 -0
- package/dist/cdn/CUDXQGIO.js +2 -0
- package/dist/cdn/{25ZVWCQX.js → CWDBQMIA.js} +1 -1
- package/dist/cdn/D5Y6RLCN.js +2 -0
- package/dist/cdn/{4IFN3JAF.js → DBTZOU2P.js} +1 -1
- package/dist/cdn/DSLECMDW.js +2 -0
- package/dist/cdn/{LMNS42HV.js → DUSUNWRS.js} +1 -1
- package/dist/cdn/{23CKFJJ3.js → E723C35S.js} +1 -1
- package/dist/cdn/{SDUVQU3B.js → EB5NKMY6.js} +1 -1
- package/dist/cdn/EER45EKV.js +2 -0
- package/dist/cdn/EGPPM26Y.js +2 -0
- package/dist/cdn/ELHIFBHK.js +2 -0
- package/dist/cdn/{OD4W6GP7.js → ELP6C45P.js} +1 -1
- package/dist/cdn/EMMLARLA.js +2 -0
- package/dist/cdn/F66VSYXO.js +2 -0
- package/dist/cdn/{CULRGSU4.js → F6Z4TBKY.js} +1 -1
- package/dist/cdn/FGR6NI4M.js +2 -0
- package/dist/cdn/{5R66KNRS.js → FW2BB5Y7.js} +1 -1
- package/dist/cdn/GF2T2XU7.js +2 -0
- package/dist/cdn/{B2ORCPWA.js → GGQFU6WE.js} +1 -1
- package/dist/cdn/{MZ7UQKEU.js → GKAOCO5H.js} +1 -1
- package/dist/cdn/{Q54HXE6A.js → GQH2FDTT.js} +1 -1
- package/dist/cdn/H6L5XOSR.js +2 -0
- package/dist/cdn/{Z3VY5WT2.js → HJFVIUHJ.js} +1 -1
- package/dist/cdn/{5RU4WRDH.js → HWGRHVFI.js} +1 -1
- package/dist/cdn/{IMNESPYO.js → I2KUWMX6.js} +1 -1
- package/dist/cdn/{E7IC4K6C.js → I6HNVB5Y.js} +1 -1
- package/dist/cdn/{5UODEL4J.js → IAXDKCYV.js} +1 -1
- package/dist/cdn/ICT2OTDT.js +2 -0
- package/dist/cdn/{HLSREAGB.js → IYB424MK.js} +1 -1
- package/dist/cdn/IZQQFOTA.js +2 -0
- package/dist/cdn/JCPB7I26.js +2 -0
- package/dist/cdn/JT4IZ2SU.js +2 -0
- package/dist/cdn/{SI2JU5OQ.js → K4IO36N6.js} +1 -1
- package/dist/cdn/{7NECG5PK.js → KBPDBBUL.js} +1 -1
- package/dist/cdn/{QQEZNIQC.js → KGABULBM.js} +1 -1
- package/dist/cdn/KGYWKVVZ.js +2 -0
- package/dist/cdn/{SHDZO7WL.js → KLOF4XZW.js} +1 -1
- package/dist/cdn/KWQWYKSV.js +2 -0
- package/dist/cdn/KXI6FYNR.js +2 -0
- package/dist/cdn/LO5PTMZD.js +2 -0
- package/dist/cdn/{H37WKFXM.js → LWNAODSM.js} +1 -1
- package/dist/cdn/LWW3TQKN.js +2 -0
- package/dist/cdn/LY2FHKJ5.js +2 -0
- package/dist/cdn/M55AUJC4.js +2 -0
- package/dist/cdn/N6AJ2FRX.js +2 -0
- package/dist/cdn/N6U5TZUC.js +2 -0
- package/dist/cdn/{2YBRZFRA.js → NH6YWOMD.js} +1 -1
- package/dist/cdn/{ZT2T23RU.js → NLFF7RZ7.js} +1 -1
- package/dist/cdn/OLBN2UAL.js +2 -0
- package/dist/cdn/{WL2UZNLW.js → OMBKMTKY.js} +1 -1
- package/dist/cdn/ONKOIGVX.js +2 -0
- package/dist/cdn/{B3UUKGE4.js → OXKZYYJK.js} +1 -1
- package/dist/cdn/OZIJ3JGA.js +2 -0
- package/dist/cdn/{UHDMAQIY.js → PNKPFIJP.js} +1 -1
- package/dist/cdn/{4NVF6ZE7.js → Q4CIUUZS.js} +1 -1
- package/dist/cdn/QJQY5FIR.js +2 -0
- package/dist/cdn/{XVNOPWL3.js → QRCAE2XL.js} +1 -1
- package/dist/cdn/{SBGFZIL5.js → RW2BWYAB.js} +1 -1
- package/dist/cdn/S245IVJN.js +2 -0
- package/dist/cdn/SOWLJ4DN.js +2 -0
- package/dist/cdn/{HXJ3PWDD.js → TDGODFHR.js} +1 -1
- package/dist/cdn/TIZDHFTY.js +2 -0
- package/dist/cdn/{YGO2VHM5.js → TP55BDZC.js} +1 -1
- package/dist/cdn/TSEZY2MW.js +2 -0
- package/dist/cdn/TYIB4UTP.js +2 -0
- package/dist/cdn/U2MOA3F2.js +2 -0
- package/dist/cdn/U2OS5NTH.js +2 -0
- package/dist/cdn/U5DW5C53.js +2 -0
- package/dist/cdn/UG7S7BH7.js +2 -0
- package/dist/cdn/UNKIAH6C.js +2 -0
- package/dist/cdn/{67UZPLTH.js → UPA5N45N.js} +1 -1
- package/dist/cdn/{DEJB6LKH.js → UV37MWMN.js} +1 -1
- package/dist/cdn/UW4R2EXH.js +2 -0
- package/dist/cdn/VHOPRVTM.js +2 -0
- package/dist/cdn/VJNSEDYB.js +2 -0
- package/dist/cdn/{IWV3N5DN.js → VTS5GOWG.js} +1 -1
- package/dist/cdn/VWLIQOUI.js +2 -0
- package/dist/cdn/VZJV3PXP.js +2 -0
- package/dist/cdn/{KVCFGTZC.js → WANIZUTU.js} +1 -1
- package/dist/cdn/WFBWU2IP.js +2 -0
- package/dist/cdn/{B5Q7JLP5.js → WKUSUY5E.js} +1 -1
- package/dist/cdn/WL7URIVP.js +2 -0
- package/dist/cdn/{UJXHOMUC.js → WRYX47Z6.js} +1 -1
- package/dist/cdn/WVKACXVF.js +2 -0
- package/dist/cdn/WVZ5BHAF.js +2 -0
- package/dist/cdn/XRS34VVN.js +2 -0
- package/dist/cdn/{PQYNJXHD.js → Y3TE2DRT.js} +1 -1
- package/dist/cdn/Y54FADII.js +2 -0
- package/dist/cdn/YG3K5C3W.js +2 -0
- package/dist/cdn/YHYMMCMD.js +2 -0
- package/dist/cdn/YR6WACJS.js +2 -0
- package/dist/cdn/{CMSVRAIL.js → YSGAYSX5.js} +1 -1
- package/dist/cdn/ZBJP73DC.js +2 -0
- package/dist/cdn/ZFN5YA32.js +2 -0
- package/dist/cdn/ZH77INWB.js +2 -0
- package/dist/cdn/ZKB2VV5N.js +2 -0
- package/dist/cdn/ZL24HKB7.js +2 -0
- package/dist/cdn/assets/icon/arcgisEnterprise16.json +1 -0
- package/dist/cdn/assets/icon/arcgisEnterprise24.json +1 -0
- package/dist/cdn/assets/icon/arcgisEnterprise32.json +1 -0
- package/dist/cdn/assets/input-date-picker/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/ExpandToggle.js +1 -1
- package/dist/chunks/dom.js +6 -12
- package/dist/chunks/locale.js +1 -1
- package/dist/chunks/logger.js +1 -1
- package/dist/chunks/manager.js +5 -5
- package/dist/chunks/runtime.js +4 -4
- package/dist/chunks/useForm.js +8 -6
- package/dist/chunks/useTime.js +1 -0
- package/dist/components/calcite-accordion-item/customElement.d.ts +2 -2
- package/dist/components/calcite-action/customElement.d.ts +3 -3
- package/dist/components/calcite-action-bar/customElement.d.ts +4 -4
- package/dist/components/calcite-action-group/customElement.d.ts +1 -1
- package/dist/components/calcite-action-menu/customElement.d.ts +1 -1
- package/dist/components/calcite-action-menu/customElement.js +3 -3
- package/dist/components/calcite-action-pad/customElement.d.ts +4 -4
- package/dist/components/calcite-alert/customElement.d.ts +1 -1
- package/dist/components/calcite-autocomplete/customElement.d.ts +3 -3
- package/dist/components/calcite-block/customElement.d.ts +4 -4
- package/dist/components/calcite-block-group/customElement.d.ts +2 -2
- package/dist/components/calcite-block-section/customElement.d.ts +2 -2
- package/dist/components/calcite-button/customElement.d.ts +1 -1
- package/dist/components/calcite-card/customElement.d.ts +2 -2
- package/dist/components/calcite-carousel/customElement.d.ts +7 -7
- package/dist/components/calcite-checkbox/customElement.d.ts +1 -1
- package/dist/components/calcite-chip/customElement.d.ts +1 -1
- package/dist/components/calcite-chip/customElement.js +2 -1
- package/dist/components/calcite-color-picker/customElement.d.ts +20 -20
- package/dist/components/calcite-color-picker/customElement.js +6 -2
- package/dist/components/calcite-combobox/customElement.d.ts +11 -11
- package/dist/components/calcite-date-picker/customElement.d.ts +5 -5
- package/dist/components/calcite-dialog/customElement.d.ts +3 -3
- package/dist/components/calcite-filter/customElement.d.ts +2 -2
- package/dist/components/calcite-flow-item/customElement.d.ts +8 -8
- package/dist/components/calcite-handle/customElement.d.ts +7 -7
- package/dist/components/calcite-handle/customElement.js +2 -2
- package/dist/components/calcite-inline-editable/customElement.d.ts +3 -3
- package/dist/components/calcite-input/customElement.d.ts +6 -6
- package/dist/components/calcite-input-date-picker/customElement.d.ts +7 -6
- package/dist/components/calcite-input-message/customElement.js +1 -3
- package/dist/components/calcite-input-number/customElement.d.ts +6 -6
- package/dist/components/calcite-input-text/customElement.d.ts +6 -6
- package/dist/components/calcite-input-time-picker/customElement.d.ts +18 -17
- package/dist/components/calcite-input-time-zone/customElement.d.ts +606 -606
- package/dist/components/calcite-list/customElement.d.ts +4 -4
- package/dist/components/calcite-list-item/customElement.d.ts +3 -3
- package/dist/components/calcite-list-item/interfaces.d.ts +3 -3
- package/dist/components/calcite-menu/customElement.d.ts +1 -1
- package/dist/components/calcite-menu-item/customElement.d.ts +2 -2
- package/dist/components/calcite-meter/customElement.js +9 -9
- package/dist/components/calcite-navigation/customElement.d.ts +1 -1
- package/dist/components/calcite-navigation/customElement.js +9 -0
- package/dist/components/calcite-navigation-logo/customElement.d.ts +9 -9
- package/dist/components/calcite-navigation-logo/customElement.js +1 -0
- package/dist/components/calcite-navigation-user/customElement.d.ts +5 -5
- package/dist/components/calcite-navigation-user/customElement.js +1 -0
- package/dist/components/calcite-notice/customElement.d.ts +2 -2
- package/dist/components/calcite-option/customElement.d.ts +1 -1
- package/dist/components/calcite-option/customElement.js +1 -0
- package/dist/components/calcite-pagination/customElement.d.ts +4 -4
- package/dist/components/calcite-panel/customElement.d.ts +4 -4
- package/dist/components/calcite-popover/customElement.d.ts +1 -1
- package/dist/components/calcite-radio-button/customElement.js +1 -0
- package/dist/components/calcite-radio-button-group/customElement.d.ts +1 -1
- package/dist/components/calcite-rating/customElement.d.ts +3 -3
- package/dist/components/calcite-scrim/customElement.d.ts +1 -1
- package/dist/components/calcite-segmented-control/customElement.d.ts +6 -6
- package/dist/components/calcite-segmented-control/customElement.js +1 -1
- package/dist/components/calcite-select/customElement.d.ts +6 -6
- package/dist/components/calcite-sheet/customElement.d.ts +5 -5
- package/dist/components/calcite-sheet/customElement.js +7 -22
- package/dist/components/calcite-shell/customElement.js +2 -13
- package/dist/components/calcite-shell-panel/customElement.d.ts +4 -4
- package/dist/components/calcite-shell-panel/customElement.js +4 -16
- package/dist/components/calcite-slider/customElement.d.ts +1 -1
- package/dist/components/calcite-sort-handle/customElement.d.ts +14 -14
- package/dist/components/calcite-sort-handle/customElement.js +2 -2
- package/dist/components/calcite-sortable-list/customElement.d.ts +2 -2
- package/dist/components/calcite-sortable-list/customElement.js +3 -3
- package/dist/components/calcite-stepper/customElement.d.ts +3 -3
- package/dist/components/calcite-stepper-item/customElement.d.ts +3 -3
- package/dist/components/calcite-tab-nav/customElement.d.ts +2 -2
- package/dist/components/calcite-tab-nav/customElement.js +1 -1
- package/dist/components/calcite-tab-title/customElement.d.ts +1 -1
- package/dist/components/calcite-table/customElement.d.ts +5 -5
- package/dist/components/calcite-table-cell/customElement.d.ts +5 -5
- package/dist/components/calcite-table-header/customElement.d.ts +6 -6
- package/dist/components/calcite-table-row/customElement.js +1 -1
- package/dist/components/calcite-tabs/customElement.js +2 -2
- package/dist/components/calcite-text-area/customElement.d.ts +5 -5
- package/dist/components/calcite-text-area/customElement.js +1 -1
- package/dist/components/calcite-time-picker/customElement.d.ts +15 -15
- package/dist/components/calcite-tooltip/customElement.d.ts +1 -1
- 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/supported-browsers.json +1 -1
- package/dist/docs/translations.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/package.json +4 -4
- package/dist/cdn/2BPEKIT3.js +0 -2
- package/dist/cdn/34JHLJ3H.js +0 -2
- package/dist/cdn/3I5BTEEC.js +0 -2
- package/dist/cdn/3U4ZWJVW.js +0 -2
- package/dist/cdn/44MSN4BY.js +0 -2
- package/dist/cdn/44P2MJGD.js +0 -2
- package/dist/cdn/4GEVIBLZ.js +0 -2
- package/dist/cdn/4IMOW4XR.js +0 -2
- package/dist/cdn/4TIEXZFH.js +0 -2
- package/dist/cdn/62H6YWOD.js +0 -2
- package/dist/cdn/667BX6C2.js +0 -2
- package/dist/cdn/6AK6KZDQ.js +0 -2
- package/dist/cdn/6MFBNGHM.js +0 -2
- package/dist/cdn/6UUG7BR5.js +0 -2
- package/dist/cdn/743PCCPR.js +0 -2
- package/dist/cdn/7KHQNJUK.js +0 -2
- package/dist/cdn/AOXRDXK3.js +0 -2
- package/dist/cdn/B2Z2OFXW.js +0 -2
- package/dist/cdn/B3QZ2XNQ.js +0 -2
- package/dist/cdn/B6AJO7QQ.js +0 -2
- package/dist/cdn/BLVQHZ6I.js +0 -2
- package/dist/cdn/BQLQFRQU.js +0 -2
- package/dist/cdn/BWYJRS53.js +0 -2
- package/dist/cdn/D2HKARC2.js +0 -2
- package/dist/cdn/D52NOMC4.js +0 -2
- package/dist/cdn/D7VHKSBM.js +0 -2
- package/dist/cdn/E622Q2TQ.js +0 -2
- package/dist/cdn/EZQKTHH3.js +0 -2
- package/dist/cdn/FNJIBEB2.js +0 -2
- package/dist/cdn/FP434YLN.js +0 -2
- package/dist/cdn/GW747T3W.js +0 -2
- package/dist/cdn/GWUTSOHK.js +0 -2
- package/dist/cdn/H4L4EHB2.js +0 -2
- package/dist/cdn/H5TXFZSO.js +0 -2
- package/dist/cdn/H7AVJRRT.js +0 -2
- package/dist/cdn/HA3LHNRC.js +0 -2
- package/dist/cdn/HHWIABV7.js +0 -2
- package/dist/cdn/IEV3ZJGY.js +0 -2
- package/dist/cdn/IK2ZWLKD.js +0 -2
- package/dist/cdn/JSWUC46W.js +0 -2
- package/dist/cdn/JTOHCGX2.js +0 -2
- package/dist/cdn/KG6IVYF4.js +0 -2
- package/dist/cdn/KNTHSCWX.js +0 -2
- package/dist/cdn/KSGT4GRV.js +0 -2
- package/dist/cdn/LDIOQBSI.js +0 -2
- package/dist/cdn/LF6MQ6HF.js +0 -2
- package/dist/cdn/LHPCIKUI.js +0 -2
- package/dist/cdn/MDEHQJED.js +0 -2
- package/dist/cdn/MDWQVFCB.js +0 -2
- package/dist/cdn/MGSMKR2I.js +0 -2
- package/dist/cdn/NMTRXY5U.js +0 -2
- package/dist/cdn/NR7I7ABN.js +0 -2
- package/dist/cdn/NVMXMJKA.js +0 -2
- package/dist/cdn/PBNAZWZY.js +0 -2
- package/dist/cdn/PDEJLZ3D.js +0 -2
- package/dist/cdn/Q4ZZN7TG.js +0 -2
- package/dist/cdn/Q7GAT2DB.js +0 -2
- package/dist/cdn/QLNZXK7M.js +0 -2
- package/dist/cdn/QZUGIHZN.js +0 -2
- package/dist/cdn/RF7K7DTZ.js +0 -2
- package/dist/cdn/RJUGARBU.js +0 -2
- package/dist/cdn/RZULQ2JP.js +0 -2
- package/dist/cdn/TQ3C46K7.js +0 -2
- package/dist/cdn/TR56RG7Q.js +0 -2
- package/dist/cdn/TTNGUCIA.js +0 -2
- package/dist/cdn/TVX7XVJC.js +0 -2
- package/dist/cdn/UFJCW5EG.js +0 -2
- package/dist/cdn/UI2Y2KED.js +0 -2
- package/dist/cdn/UTSULH62.js +0 -2
- package/dist/cdn/VRNR72VI.js +0 -2
- package/dist/cdn/WHGBMNS4.js +0 -2
- package/dist/cdn/X3TBQXF6.js +0 -2
- package/dist/cdn/XJMNQRUJ.js +0 -2
- package/dist/cdn/XLHTNALK.js +0 -2
- package/dist/cdn/Y6JHEDKL.js +0 -2
- package/dist/cdn/YPCHV7D7.js +0 -2
- package/dist/cdn/Z5X6I2G7.js +0 -2
- package/dist/cdn/ZD7I7RV6.js +0 -3
- package/dist/cdn/ZHNSJJ4O.js +0 -2
- package/dist/cdn/ZOAYIZNY.js +0 -2
- package/dist/cdn/ZS6DTRJ2.js +0 -2
- package/dist/cdn/ZSX6UO57.js +0 -2
- package/dist/cdn/ZUIIHKJP.js +0 -2
|
@@ -53,6 +53,7 @@ class Chip extends LitElement {
|
|
|
53
53
|
} else if (this.closable) {
|
|
54
54
|
return this.closeButtonRef.value;
|
|
55
55
|
}
|
|
56
|
+
return;
|
|
56
57
|
}, options);
|
|
57
58
|
}
|
|
58
59
|
async load() {
|
|
@@ -135,7 +136,7 @@ class Chip extends LitElement {
|
|
|
135
136
|
if (this.selectionMode === "single") {
|
|
136
137
|
this.calciteInternalSyncSelectedChips.emit();
|
|
137
138
|
}
|
|
138
|
-
const selectedInParent = this.parentChipGroup
|
|
139
|
+
const selectedInParent = this.parentChipGroup?.selectedItems.includes(this.el);
|
|
139
140
|
if (!selectedInParent && selected && this.selectionMode !== "multiple") {
|
|
140
141
|
this.calciteInternalChipSelect.emit();
|
|
141
142
|
}
|
|
@@ -73,26 +73,26 @@ export abstract class ColorPicker extends LitElement {
|
|
|
73
73
|
accessor hexDisabled: boolean;
|
|
74
74
|
/** Overrides individual strings used by the component. */
|
|
75
75
|
accessor messageOverrides: {
|
|
76
|
-
b?: string;
|
|
77
|
-
blue?: string;
|
|
78
|
-
deleteColor?: string;
|
|
79
|
-
g?: string;
|
|
80
|
-
green?: string;
|
|
81
|
-
h?: string;
|
|
82
|
-
hsv?: string;
|
|
83
|
-
hex?: string;
|
|
84
|
-
hue?: string;
|
|
85
|
-
noColor?: string;
|
|
86
|
-
opacity?: string;
|
|
87
|
-
r?: string;
|
|
88
|
-
red?: string;
|
|
89
|
-
rgb?: string;
|
|
90
|
-
s?: string;
|
|
91
|
-
saturation?: string;
|
|
92
|
-
saveColor?: string;
|
|
93
|
-
saved?: string;
|
|
94
|
-
v?: string;
|
|
95
|
-
value?: string;
|
|
76
|
+
b?: string | undefined;
|
|
77
|
+
blue?: string | undefined;
|
|
78
|
+
deleteColor?: string | undefined;
|
|
79
|
+
g?: string | undefined;
|
|
80
|
+
green?: string | undefined;
|
|
81
|
+
h?: string | undefined;
|
|
82
|
+
hsv?: string | undefined;
|
|
83
|
+
hex?: string | undefined;
|
|
84
|
+
hue?: string | undefined;
|
|
85
|
+
noColor?: string | undefined;
|
|
86
|
+
opacity?: string | undefined;
|
|
87
|
+
r?: string | undefined;
|
|
88
|
+
red?: string | undefined;
|
|
89
|
+
rgb?: string | undefined;
|
|
90
|
+
s?: string | undefined;
|
|
91
|
+
saturation?: string | undefined;
|
|
92
|
+
saveColor?: string | undefined;
|
|
93
|
+
saved?: string | undefined;
|
|
94
|
+
v?: string | undefined;
|
|
95
|
+
value?: string | undefined;
|
|
96
96
|
};
|
|
97
97
|
/** Specifies the Unicode numeral system used by the component for localization. */
|
|
98
98
|
accessor numberingSystem: NumberingSystem | undefined;
|
|
@@ -828,7 +828,10 @@ class ColorPicker extends LitElement {
|
|
|
828
828
|
return channels;
|
|
829
829
|
}
|
|
830
830
|
getAdjustedScopePosition(left, top) {
|
|
831
|
-
return [
|
|
831
|
+
return [
|
|
832
|
+
left === void 0 ? NaN : left - SCOPE_SIZE / 2,
|
|
833
|
+
top === void 0 ? NaN : top - SCOPE_SIZE / 2
|
|
834
|
+
];
|
|
832
835
|
}
|
|
833
836
|
render() {
|
|
834
837
|
const { channelsDisabled, color, colorFieldScopeLeft, colorFieldScopeTop, staticDimensions: { thumb: { radius: thumbRadius } }, fieldDisabled, hexDisabled, hueScopeLeft, messages, alphaChannel, opacityScopeLeft, savedColors, savedDisabled, scale, scopeOrientation } = this;
|
|
@@ -876,7 +879,8 @@ class ColorPicker extends LitElement {
|
|
|
876
879
|
return keyed(channelMode, html`<calcite-tab class=${safeClassMap(CSS.control)} .selected=${selected}><div class=${safeClassMap(CSS.channels)} dir=ltr>${channelsToRender.map((channelValue, index) => {
|
|
877
880
|
const isAlphaChannel = index === 3;
|
|
878
881
|
if (isAlphaChannel) {
|
|
879
|
-
channelValue =
|
|
882
|
+
channelValue = // channels can only be undefined when clearable
|
|
883
|
+
clearable && !channelValue ? channelValue : alphaToOpacity(channelValue);
|
|
880
884
|
}
|
|
881
885
|
return this.renderChannel(channelValue, index, channelAriaLabels[index], direction, isAlphaChannel ? "%" : "");
|
|
882
886
|
})}</div></calcite-tab>`);
|
|
@@ -64,17 +64,17 @@ export abstract class Combobox extends LitElement {
|
|
|
64
64
|
accessor maxItems: number;
|
|
65
65
|
/** Overrides individual strings used by the component. */
|
|
66
66
|
accessor messageOverrides: {
|
|
67
|
-
add?: string;
|
|
68
|
-
all?: string;
|
|
69
|
-
allSelected?: string;
|
|
70
|
-
clear?: string;
|
|
71
|
-
noMatches?: string;
|
|
72
|
-
removeTag?: string;
|
|
73
|
-
required?: string;
|
|
74
|
-
selectAll?: string;
|
|
75
|
-
selected?: string;
|
|
76
|
-
nonEditable?: string;
|
|
77
|
-
disabledSelectedCount?: string;
|
|
67
|
+
add?: string | undefined;
|
|
68
|
+
all?: string | undefined;
|
|
69
|
+
allSelected?: string | undefined;
|
|
70
|
+
clear?: string | undefined;
|
|
71
|
+
noMatches?: string | undefined;
|
|
72
|
+
removeTag?: string | undefined;
|
|
73
|
+
required?: string | undefined;
|
|
74
|
+
selectAll?: string | undefined;
|
|
75
|
+
selected?: string | undefined;
|
|
76
|
+
nonEditable?: string | undefined;
|
|
77
|
+
disabledSelectedCount?: string | undefined;
|
|
78
78
|
};
|
|
79
79
|
/** Specifies the name of the component. Required to pass the component's `value` on form submission. */
|
|
80
80
|
accessor name: string | undefined;
|
|
@@ -58,11 +58,11 @@ export abstract class DatePicker extends LitElement {
|
|
|
58
58
|
accessor maxAsDate: Date | undefined;
|
|
59
59
|
/** Overrides individual strings used by the component. */
|
|
60
60
|
accessor messageOverrides: {
|
|
61
|
-
nextMonth?: string;
|
|
62
|
-
prevMonth?: string;
|
|
63
|
-
monthMenu?: string;
|
|
64
|
-
yearMenu?: string;
|
|
65
|
-
year?: string;
|
|
61
|
+
nextMonth?: string | undefined;
|
|
62
|
+
prevMonth?: string | undefined;
|
|
63
|
+
monthMenu?: string | undefined;
|
|
64
|
+
yearMenu?: string | undefined;
|
|
65
|
+
year?: string | undefined;
|
|
66
66
|
};
|
|
67
67
|
/**
|
|
68
68
|
* When the component resides in a form,
|
|
@@ -131,9 +131,9 @@ export abstract class Dialog extends LitElement {
|
|
|
131
131
|
accessor menuOpen: boolean;
|
|
132
132
|
/** Overrides individual strings used by the component. */
|
|
133
133
|
accessor messageOverrides: {
|
|
134
|
-
close?: string;
|
|
135
|
-
resizeEnabled?: string;
|
|
136
|
-
dragEnabled?: string;
|
|
134
|
+
close?: string | undefined;
|
|
135
|
+
resizeEnabled?: string | undefined;
|
|
136
|
+
dragEnabled?: string | undefined;
|
|
137
137
|
};
|
|
138
138
|
/**
|
|
139
139
|
* When `true`, displays a scrim blocking interaction underneath the component.
|
|
@@ -41,8 +41,8 @@ export abstract class Filter extends LitElement {
|
|
|
41
41
|
accessor label: string | undefined;
|
|
42
42
|
/** Overrides individual strings used by the component. */
|
|
43
43
|
accessor messageOverrides: {
|
|
44
|
-
label?: string;
|
|
45
|
-
clear?: string;
|
|
44
|
+
label?: string | undefined;
|
|
45
|
+
clear?: string | undefined;
|
|
46
46
|
};
|
|
47
47
|
/** Specifies the component's input placeholder text. */
|
|
48
48
|
accessor placeholder: string | undefined;
|
|
@@ -54,7 +54,7 @@ export abstract class FlowItem extends LitElement {
|
|
|
54
54
|
/** Specifies a function to run before the component is removed from its parent `calcite-flow`. */
|
|
55
55
|
accessor beforeBack: (() => Promise<void>) | undefined;
|
|
56
56
|
/** Specifies a function to run before the component closes. */
|
|
57
|
-
accessor beforeClose: () => Promise<void
|
|
57
|
+
accessor beforeClose: (() => Promise<void>) | undefined;
|
|
58
58
|
/**
|
|
59
59
|
* When `true`, displays a close button in the trailing side of the component's header.
|
|
60
60
|
*
|
|
@@ -86,7 +86,7 @@ export abstract class FlowItem extends LitElement {
|
|
|
86
86
|
*/
|
|
87
87
|
accessor collapsible: boolean;
|
|
88
88
|
/** Specifies a description for the component. */
|
|
89
|
-
accessor description: string;
|
|
89
|
+
accessor description: string | undefined;
|
|
90
90
|
/**
|
|
91
91
|
* When `true`, prevents interaction and decreases the component's opacity.
|
|
92
92
|
*
|
|
@@ -94,11 +94,11 @@ export abstract class FlowItem extends LitElement {
|
|
|
94
94
|
*/
|
|
95
95
|
accessor disabled: boolean;
|
|
96
96
|
/** Specifies the component's heading text. */
|
|
97
|
-
accessor heading: string;
|
|
97
|
+
accessor heading: string | undefined;
|
|
98
98
|
/** Specifies the heading level number of the component's `heading` for proper document structure, without affecting visual styling. */
|
|
99
|
-
accessor headingLevel: HeadingLevel;
|
|
99
|
+
accessor headingLevel: HeadingLevel | undefined;
|
|
100
100
|
/** Specifies an icon to display. */
|
|
101
|
-
accessor icon: IconName;
|
|
101
|
+
accessor icon: IconName | undefined;
|
|
102
102
|
/**
|
|
103
103
|
* When `true` and the element direction is right-to-left (`"rtl"`), flips the component`s `icon`.
|
|
104
104
|
*
|
|
@@ -119,9 +119,9 @@ export abstract class FlowItem extends LitElement {
|
|
|
119
119
|
accessor menuOpen: boolean;
|
|
120
120
|
/** Overrides individual strings used by the component. */
|
|
121
121
|
accessor messageOverrides: {
|
|
122
|
-
back?: string;
|
|
123
|
-
close?: string;
|
|
124
|
-
options?: string;
|
|
122
|
+
back?: string | undefined;
|
|
123
|
+
close?: string | undefined;
|
|
124
|
+
options?: string | undefined;
|
|
125
125
|
} & Panel["messageOverrides"];
|
|
126
126
|
/**
|
|
127
127
|
* Specifies the type of positioning to use for overlaid content, where:
|
|
@@ -19,15 +19,15 @@ export abstract class Handle extends LitElement {
|
|
|
19
19
|
*/
|
|
20
20
|
accessor disabled: boolean;
|
|
21
21
|
/** Value for the button title attribute. */
|
|
22
|
-
accessor dragHandle: string;
|
|
22
|
+
accessor dragHandle: string | undefined;
|
|
23
23
|
/** Overrides individual strings used by the component. */
|
|
24
24
|
accessor messageOverrides: {
|
|
25
|
-
dragHandle?: string;
|
|
26
|
-
dragHandleUntitled?: string;
|
|
27
|
-
dragHandleActive?: string;
|
|
28
|
-
dragHandleChange?: string;
|
|
29
|
-
dragHandleCommit?: string;
|
|
30
|
-
dragHandleIdle?: string;
|
|
25
|
+
dragHandle?: string | undefined;
|
|
26
|
+
dragHandleUntitled?: string | undefined;
|
|
27
|
+
dragHandleActive?: string | undefined;
|
|
28
|
+
dragHandleChange?: string | undefined;
|
|
29
|
+
dragHandleCommit?: string | undefined;
|
|
30
|
+
dragHandleIdle?: string | undefined;
|
|
31
31
|
};
|
|
32
32
|
/**
|
|
33
33
|
* When `true`, the component is selected.
|
|
@@ -77,7 +77,7 @@ class Handle extends LitElement {
|
|
|
77
77
|
getAriaText(type) {
|
|
78
78
|
const { setPosition, setSize, label, messages, selected } = this;
|
|
79
79
|
if (!messages || !label || typeof setSize !== "number" || typeof setPosition !== "number") {
|
|
80
|
-
return
|
|
80
|
+
return void 0;
|
|
81
81
|
}
|
|
82
82
|
const text = type === "label" ? selected ? messages.dragHandleChange : messages.dragHandleIdle : selected ? messages.dragHandleActive : messages.dragHandleCommit;
|
|
83
83
|
const replacePosition = text.replace(SUBSTITUTIONS.position, setPosition.toString());
|
|
@@ -120,7 +120,7 @@ class Handle extends LitElement {
|
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
122
|
render() {
|
|
123
|
-
return this.interactiveContainer({ disabled: this.disabled, children: html`<span .ariaChecked=${this.disabled ?
|
|
123
|
+
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>` });
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
126
|
customElement("calcite-handle", Handle);
|
|
@@ -40,9 +40,9 @@ export abstract class InlineEditable extends LitElement {
|
|
|
40
40
|
accessor loading: boolean;
|
|
41
41
|
/** Overrides individual strings used by the component. */
|
|
42
42
|
accessor messageOverrides: {
|
|
43
|
-
enableEditing?: string;
|
|
44
|
-
cancelEditing?: string;
|
|
45
|
-
confirmChanges?: string;
|
|
43
|
+
enableEditing?: string | undefined;
|
|
44
|
+
cancelEditing?: string | undefined;
|
|
45
|
+
confirmChanges?: string | undefined;
|
|
46
46
|
};
|
|
47
47
|
/**
|
|
48
48
|
* Specifies the size of the component.
|
|
@@ -110,12 +110,12 @@ export abstract class Input extends LitElement {
|
|
|
110
110
|
accessor maxLength: number | undefined;
|
|
111
111
|
/** Overrides individual strings used by the component. */
|
|
112
112
|
accessor messageOverrides: {
|
|
113
|
-
cancelInlineEditing?: string;
|
|
114
|
-
clear?: string;
|
|
115
|
-
confirmInlineEditingChanges?: string;
|
|
116
|
-
enableInlineEditing?: string;
|
|
117
|
-
loading?: string;
|
|
118
|
-
required?: string;
|
|
113
|
+
cancelInlineEditing?: string | undefined;
|
|
114
|
+
clear?: string | undefined;
|
|
115
|
+
confirmInlineEditingChanges?: string | undefined;
|
|
116
|
+
enableInlineEditing?: string | undefined;
|
|
117
|
+
loading?: string | undefined;
|
|
118
|
+
required?: string | undefined;
|
|
119
119
|
};
|
|
120
120
|
/**
|
|
121
121
|
* When the component resides in a form,
|
|
@@ -89,12 +89,13 @@ export abstract class InputDatePicker extends LitElement {
|
|
|
89
89
|
accessor maxAsDate: Date | undefined;
|
|
90
90
|
/** Overrides individual strings used by the component. */
|
|
91
91
|
accessor messageOverrides: {
|
|
92
|
-
chooseDate?: string;
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
92
|
+
chooseDate?: string | undefined;
|
|
93
|
+
clear?: string | undefined;
|
|
94
|
+
date?: string | undefined;
|
|
95
|
+
dateFormat?: string | undefined;
|
|
96
|
+
endDate?: string | undefined;
|
|
97
|
+
required?: string | undefined;
|
|
98
|
+
startDate?: string | undefined;
|
|
98
99
|
} & DatePicker["messageOverrides"];
|
|
99
100
|
/**
|
|
100
101
|
* When the component resides in a form,
|
|
@@ -40,9 +40,7 @@ class InputMessage extends LitElement {
|
|
|
40
40
|
return html`${this.renderIcon(this.requestedIcon)}<slot></slot>`;
|
|
41
41
|
}
|
|
42
42
|
renderIcon(iconName) {
|
|
43
|
-
|
|
44
|
-
return html`<calcite-icon class=${safeClassMap(CSS.inputMessageIcon)} .flipRtl=${this.iconFlipRtl} .icon=${iconName} scale=s></calcite-icon>`;
|
|
45
|
-
}
|
|
43
|
+
return iconName ? html`<calcite-icon class=${safeClassMap(CSS.inputMessageIcon)} .flipRtl=${this.iconFlipRtl} .icon=${iconName} scale=s></calcite-icon>` : iconName;
|
|
46
44
|
}
|
|
47
45
|
}
|
|
48
46
|
customElement("calcite-input-message", InputMessage);
|
|
@@ -109,12 +109,12 @@ export abstract class InputNumber extends LitElement {
|
|
|
109
109
|
accessor maxLength: number | undefined;
|
|
110
110
|
/** Overrides individual strings used by the component. */
|
|
111
111
|
accessor messageOverrides: {
|
|
112
|
-
cancelInlineEditing?: string;
|
|
113
|
-
clear?: string;
|
|
114
|
-
confirmInlineEditingChanges?: string;
|
|
115
|
-
enableInlineEditing?: string;
|
|
116
|
-
loading?: string;
|
|
117
|
-
required?: string;
|
|
112
|
+
cancelInlineEditing?: string | undefined;
|
|
113
|
+
clear?: string | undefined;
|
|
114
|
+
confirmInlineEditingChanges?: string | undefined;
|
|
115
|
+
enableInlineEditing?: string | undefined;
|
|
116
|
+
loading?: string | undefined;
|
|
117
|
+
required?: string | undefined;
|
|
118
118
|
};
|
|
119
119
|
/**
|
|
120
120
|
* When the component resides in a form,
|
|
@@ -86,12 +86,12 @@ export abstract class InputText extends LitElement {
|
|
|
86
86
|
accessor maxLength: number | undefined;
|
|
87
87
|
/** Overrides individual strings used by the component. */
|
|
88
88
|
accessor messageOverrides: {
|
|
89
|
-
cancelInlineEditing?: string;
|
|
90
|
-
clear?: string;
|
|
91
|
-
confirmInlineEditingChanges?: string;
|
|
92
|
-
enableInlineEditing?: string;
|
|
93
|
-
loading?: string;
|
|
94
|
-
required?: string;
|
|
89
|
+
cancelInlineEditing?: string | undefined;
|
|
90
|
+
clear?: string | undefined;
|
|
91
|
+
confirmInlineEditingChanges?: string | undefined;
|
|
92
|
+
enableInlineEditing?: string | undefined;
|
|
93
|
+
loading?: string | undefined;
|
|
94
|
+
required?: string | undefined;
|
|
95
95
|
};
|
|
96
96
|
/**
|
|
97
97
|
* When the component resides in a form,
|
|
@@ -65,23 +65,24 @@ export abstract class InputTimePicker extends LitElement {
|
|
|
65
65
|
accessor max: string | undefined;
|
|
66
66
|
/** Overrides individual strings used by the component. */
|
|
67
67
|
accessor messageOverrides: {
|
|
68
|
-
chooseTime?: string;
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
68
|
+
chooseTime?: string | undefined;
|
|
69
|
+
clear?: string | undefined;
|
|
70
|
+
fractionalSecond?: string | undefined;
|
|
71
|
+
fractionalSecondDown?: string | undefined;
|
|
72
|
+
fractionalSecondUp?: string | undefined;
|
|
73
|
+
hour?: string | undefined;
|
|
74
|
+
hourDown?: string | undefined;
|
|
75
|
+
hourUp?: string | undefined;
|
|
76
|
+
meridiem?: string | undefined;
|
|
77
|
+
meridiemDown?: string | undefined;
|
|
78
|
+
meridiemUp?: string | undefined;
|
|
79
|
+
minute?: string | undefined;
|
|
80
|
+
minuteDown?: string | undefined;
|
|
81
|
+
minuteUp?: string | undefined;
|
|
82
|
+
required?: string | undefined;
|
|
83
|
+
second?: string | undefined;
|
|
84
|
+
secondDown?: string | undefined;
|
|
85
|
+
secondUp?: string | undefined;
|
|
85
86
|
} & TimePicker["messageOverrides"];
|
|
86
87
|
/**
|
|
87
88
|
* When the component resides in a form,
|