@esri/calcite-components 5.1.1 → 5.1.2-next.0
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/{WQCT4VLB.js → 22ZEEBHY.js} +1 -1
- package/dist/cdn/{Q56UST3A.js → 2E5VWP5F.js} +1 -1
- package/dist/cdn/{W57IL7KF.js → 2IH3A7XP.js} +1 -1
- package/dist/cdn/{G2G6FHMB.js → 35O6UEOL.js} +1 -1
- package/dist/cdn/{CM45J66U.js → 3DHLIYTZ.js} +1 -1
- package/dist/cdn/{Q4V5DVKS.js → 3LBQM6E5.js} +1 -1
- package/dist/cdn/{PM5MZR4Z.js → 3OUO73FE.js} +1 -1
- package/dist/cdn/3UQ52WEC.js +2 -0
- package/dist/cdn/{EQKCU4NC.js → 46QVRBZQ.js} +1 -1
- package/dist/cdn/{LKYA2H2B.js → 4DEE5DJG.js} +1 -1
- package/dist/cdn/{ID2LCYSN.js → 4ESXF6CD.js} +1 -1
- package/dist/cdn/4GINWH77.js +2 -0
- package/dist/cdn/{KJCVGOXF.js → 4GLWWIFB.js} +1 -1
- package/dist/cdn/55B3DHRL.js +2 -0
- package/dist/cdn/{TYQB2FN4.js → 5AIYVBUE.js} +1 -1
- package/dist/cdn/{KXD6O3ZI.js → 5GSQDOTM.js} +1 -1
- package/dist/cdn/{ECVX7SVS.js → 5JMEGSKG.js} +1 -1
- package/dist/cdn/{V3X47NBI.js → 5P6PZGTL.js} +1 -1
- package/dist/cdn/{TWVXE232.js → 5RKV22NY.js} +1 -1
- package/dist/cdn/{SW5TNX5V.js → 5XBX6MS4.js} +1 -1
- package/dist/cdn/{LOJBKHVF.js → 65AE3WDH.js} +1 -1
- package/dist/cdn/{ALLL4LZ4.js → 6DMJVTU7.js} +1 -1
- package/dist/cdn/7CPR7ZY6.js +2 -0
- package/dist/cdn/{U7OJQ4EC.js → 7LJPLUHO.js} +1 -1
- package/dist/cdn/{COXLBEPM.js → 7Q7ZAE37.js} +1 -1
- package/dist/cdn/{VDJMOKVP.js → 7S7I3ZX6.js} +1 -1
- package/dist/cdn/{47Q2AE5B.js → 7TIC7MWH.js} +1 -1
- package/dist/cdn/{ND7KY7GE.js → AE6WIDBA.js} +1 -1
- package/dist/cdn/ANR6MBC5.js +2 -0
- package/dist/cdn/AQZ7H27V.js +2 -0
- package/dist/cdn/AUY3K2CK.js +2 -0
- package/dist/cdn/B2ZOCHY5.js +2 -0
- package/dist/cdn/{KCN4PBFZ.js → B74ZW4VM.js} +1 -1
- package/dist/cdn/BSFLNK3G.js +2 -0
- package/dist/cdn/BX7JMSW4.js +2 -0
- package/dist/cdn/{TTCZVBEF.js → BXUDOEEY.js} +1 -1
- package/dist/cdn/{KLNQGCK2.js → BZW75APA.js} +1 -1
- package/dist/cdn/CCMLFJRX.js +2 -0
- package/dist/cdn/{TVYIJRI2.js → CHVYZBJP.js} +1 -1
- package/dist/cdn/{5X2CR2NN.js → CQMH7FNX.js} +1 -1
- package/dist/cdn/{MW5MGBT4.js → D5RB7ITG.js} +1 -1
- package/dist/cdn/{YHAJICJ2.js → D7WOEWO3.js} +1 -1
- package/dist/cdn/DAUDD3TU.js +2 -0
- package/dist/cdn/{PB3LTBSS.js → DH7CVA3S.js} +1 -1
- package/dist/cdn/{IEWVQCQW.js → DIVK7SUE.js} +1 -1
- package/dist/cdn/{4NUFBGFK.js → DUFMSJ4N.js} +1 -1
- package/dist/cdn/{CDNETLLO.js → DVG3NA3H.js} +1 -1
- package/dist/cdn/{34ENIUR5.js → DZ2ML6RL.js} +1 -1
- package/dist/cdn/{S2BIRHQ7.js → E274U5KY.js} +1 -1
- package/dist/cdn/{NBAYHB3K.js → E5KOELX6.js} +1 -1
- package/dist/cdn/{E7GXKIIO.js → EBDWLL34.js} +1 -1
- package/dist/cdn/{3KWJQXAT.js → EH5Y2TRK.js} +1 -1
- package/dist/cdn/{HA65OOQD.js → FA5NVFJF.js} +1 -1
- package/dist/cdn/{IMUM436K.js → FPSAFKXP.js} +1 -1
- package/dist/cdn/{NTD2BJWG.js → FQTCAXYA.js} +1 -1
- package/dist/cdn/{3RRY5HHA.js → FQZZCTBU.js} +1 -1
- package/dist/cdn/FR5GKBKS.js +2 -0
- package/dist/cdn/{GTH6QFMV.js → FTH3OHTR.js} +1 -1
- package/dist/cdn/{QEJBAQOY.js → GA2SRL7F.js} +1 -1
- package/dist/cdn/{SNY2QKQJ.js → GCCKUDLZ.js} +1 -1
- package/dist/cdn/{2J4U5E4U.js → GFJSIQAL.js} +1 -1
- package/dist/cdn/{WER7FADP.js → GQV6EPVW.js} +1 -1
- package/dist/cdn/{5O6YGOJE.js → GUYWR6OU.js} +1 -1
- package/dist/cdn/{4UHTWXNV.js → GVPG6GL6.js} +1 -1
- package/dist/cdn/{ST6WRTR2.js → H5OQUUCS.js} +1 -1
- package/dist/cdn/{JDVSVNSE.js → HNFN5XI4.js} +1 -1
- package/dist/cdn/{MHE72N53.js → HOZFU3MX.js} +1 -1
- package/dist/cdn/{OXCL3M4W.js → HS67EN4X.js} +1 -1
- package/dist/cdn/{QC5NB4VL.js → I5FHLUKC.js} +1 -1
- package/dist/cdn/{OWIJSXYV.js → IDT2SXTU.js} +1 -1
- package/dist/cdn/{2P3LOGHK.js → IIK67UVJ.js} +1 -1
- package/dist/cdn/J4NTIVMX.js +2 -0
- package/dist/cdn/{GCAYSD7G.js → JBJREVM7.js} +1 -1
- package/dist/cdn/{7B4FOF3S.js → JGIGYWX4.js} +1 -1
- package/dist/cdn/JKB2GJ3L.js +2 -0
- package/dist/cdn/{UTVGUMUM.js → KJ3CYYKH.js} +1 -1
- package/dist/cdn/{YYAYEKGB.js → KRJOJQ44.js} +1 -1
- package/dist/cdn/KZAI3CI3.js +2 -0
- package/dist/cdn/{ELXBBUY5.js → LBE47OKH.js} +1 -1
- package/dist/cdn/{7QS3Z4ZJ.js → LELOCWEB.js} +1 -1
- package/dist/cdn/{44VCOKJX.js → LWJGPTE6.js} +1 -1
- package/dist/cdn/{WCUO6JQN.js → M3FXEHEJ.js} +1 -1
- package/dist/cdn/{VEZBAZZG.js → MOFJZGJJ.js} +1 -1
- package/dist/cdn/{5D7IEY6J.js → MSMAWAGB.js} +1 -1
- package/dist/cdn/{V7YPIVAX.js → NFJSGECW.js} +1 -1
- package/dist/cdn/{QGF4JJQO.js → NFSJVK6S.js} +1 -1
- package/dist/cdn/NV73Q6Y3.js +2 -0
- package/dist/cdn/{ODGJXDZK.js → NWCJZZUP.js} +1 -1
- package/dist/cdn/{XRUJ4D7O.js → NXXNNPTZ.js} +1 -1
- package/dist/cdn/OAHYAUPC.js +2 -0
- package/dist/cdn/{CEWOZ7LP.js → OJOSD3I3.js} +1 -1
- package/dist/cdn/{3TYJSBP3.js → OKEUM3YZ.js} +1 -1
- package/dist/cdn/ON5SZ43I.js +2 -0
- package/dist/cdn/{XT4GLBAQ.js → OO4DL46D.js} +1 -1
- package/dist/cdn/{6V3FX2W2.js → OXAULX56.js} +1 -1
- package/dist/cdn/{E6X6BQLH.js → OYI5HS2H.js} +1 -1
- package/dist/cdn/{NCSMOKFP.js → PF2E72GP.js} +1 -1
- package/dist/cdn/{NG7BG3QY.js → PGOMURMZ.js} +1 -1
- package/dist/cdn/PTENM6H3.js +2 -0
- package/dist/cdn/PZBMDHWQ.js +2 -0
- package/dist/cdn/{GDYGEN45.js → QEET4SDM.js} +1 -1
- package/dist/cdn/QEJPO65G.js +2 -0
- package/dist/cdn/{ZRMTOZ3B.js → QU4Q7ONO.js} +1 -1
- package/dist/cdn/{Z3IP3JBL.js → QUBOBRBE.js} +1 -1
- package/dist/cdn/{GDFQSWZ7.js → QUFMR3GW.js} +1 -1
- package/dist/cdn/{6X3QWKZL.js → R6QHGRLY.js} +1 -1
- package/dist/cdn/{6VP3K6WL.js → RAPPDCJC.js} +1 -1
- package/dist/cdn/RCKGNXG5.js +2 -0
- package/dist/cdn/{ICGT7C6U.js → ROD7LNFF.js} +1 -1
- package/dist/cdn/{YKL7MIG5.js → RRG7YZBV.js} +1 -1
- package/dist/cdn/{VZ2YR2UG.js → RUFVN26P.js} +1 -1
- package/dist/cdn/SNI7EAIB.js +2 -0
- package/dist/cdn/{JGCJVDJA.js → T3FWIMHQ.js} +1 -1
- package/dist/cdn/{IRANNKJ2.js → THKF3UIU.js} +1 -1
- package/dist/cdn/{6XMUSNRS.js → TLYY3J5P.js} +1 -1
- package/dist/cdn/{BSMPD6VA.js → TMJJBLP6.js} +1 -1
- package/dist/cdn/{RUUD543Z.js → TNK2ZMWI.js} +1 -1
- package/dist/cdn/{L3D2OBOR.js → TO7Y5WZH.js} +1 -1
- package/dist/cdn/{PHEMAFCT.js → TPA4W766.js} +1 -1
- package/dist/cdn/{CENYPZ3Y.js → TPACOVOQ.js} +1 -1
- package/dist/cdn/{ETEMG44R.js → TQ5ZBZVK.js} +1 -1
- package/dist/cdn/{TKK3AWQJ.js → UANLRLKZ.js} +1 -1
- package/dist/cdn/{LI2CATYC.js → UILRTNAY.js} +1 -1
- package/dist/cdn/{DP2TY4KH.js → UJSGNQNS.js} +1 -1
- package/dist/cdn/{7SDGC2RW.js → UMNCTZMZ.js} +1 -1
- package/dist/cdn/{I4IDQ735.js → UQADROG7.js} +1 -1
- package/dist/cdn/{6HRHKHF5.js → UU6TKA7Y.js} +1 -1
- package/dist/cdn/{LJSR66HF.js → V7X5QMP5.js} +1 -1
- package/dist/cdn/{6VDGKXTH.js → VKOMYCKU.js} +1 -1
- package/dist/cdn/{JCVLN6XL.js → VL5MBQLU.js} +1 -1
- package/dist/cdn/VLTH6OI4.js +2 -0
- package/dist/cdn/{2JJ5YBBT.js → VTIIXIO2.js} +1 -1
- package/dist/cdn/VVLIBG27.js +2 -0
- package/dist/cdn/{SJCWFQNF.js → W776TYSB.js} +1 -1
- package/dist/cdn/WBG5KGIT.js +2 -0
- package/dist/cdn/{TVU7KEKM.js → WE6LDLUR.js} +1 -1
- package/dist/cdn/{ROJYTRK6.js → WJLDQOSL.js} +1 -1
- package/dist/cdn/{DK3SDSZL.js → WMAINNWS.js} +1 -1
- package/dist/cdn/{DDUIHGBF.js → WMRHH4QJ.js} +1 -1
- package/dist/cdn/{SNJLHXVG.js → WYWBO53V.js} +1 -1
- package/dist/cdn/XPV23QFC.js +2 -0
- package/dist/cdn/{NL77UDLL.js → XXOHZXFG.js} +1 -1
- package/dist/cdn/{V7PYDILT.js → Y7HCDFPY.js} +1 -1
- package/dist/cdn/{U4GRIQVY.js → YCBJZOJS.js} +1 -1
- package/dist/cdn/{IHYNJVS4.js → YETMUH7M.js} +1 -1
- package/dist/cdn/YPGTWYGF.js +2 -0
- package/dist/cdn/{PIR7PWBO.js → YVT2GP5U.js} +1 -1
- package/dist/cdn/{JPPCKAMD.js → ZAWIMU5V.js} +1 -1
- package/dist/cdn/{524MMG22.js → ZU6VN5T5.js} +1 -1
- package/dist/cdn/assets/icon/buildingIndex16.json +1 -0
- package/dist/cdn/assets/icon/buildingIndex24.json +1 -0
- package/dist/cdn/assets/icon/buildingIndex32.json +1 -0
- package/dist/cdn/assets/icon/fireIndex16.json +1 -0
- package/dist/cdn/assets/icon/fireIndex24.json +1 -0
- package/dist/cdn/assets/icon/fireIndex32.json +1 -0
- package/dist/cdn/assets/icon/geologyIndex16.json +1 -0
- package/dist/cdn/assets/icon/geologyIndex24.json +1 -0
- package/dist/cdn/assets/icon/geologyIndex32.json +1 -0
- package/dist/cdn/assets/icon/orientedImageryFullSuperimpose16.json +1 -0
- package/dist/cdn/assets/icon/orientedImageryFullSuperimpose24.json +1 -0
- package/dist/cdn/assets/icon/orientedImageryFullSuperimpose32.json +1 -0
- package/dist/cdn/assets/icon/orientedImageryHalfSuperimpose16.json +1 -0
- package/dist/cdn/assets/icon/orientedImageryHalfSuperimpose24.json +1 -0
- package/dist/cdn/assets/icon/orientedImageryHalfSuperimpose32.json +1 -0
- package/dist/cdn/assets/icon/orientedImagerySceneOnly16.json +1 -0
- package/dist/cdn/assets/icon/orientedImagerySceneOnly24.json +1 -0
- package/dist/cdn/assets/icon/orientedImagerySceneOnly32.json +1 -0
- package/dist/cdn/assets/icon/parquetFeatureLayer16.json +1 -0
- package/dist/cdn/assets/icon/parquetFeatureLayer24.json +1 -0
- package/dist/cdn/assets/icon/parquetFeatureLayer32.json +1 -0
- package/dist/cdn/assets/icon/snowIndex16.json +1 -0
- package/dist/cdn/assets/icon/snowIndex24.json +1 -0
- package/dist/cdn/assets/icon/snowIndex32.json +1 -0
- package/dist/cdn/assets/icon/soilAdjustedVegetationIndex16.json +1 -0
- package/dist/cdn/assets/icon/soilAdjustedVegetationIndex24.json +1 -0
- package/dist/cdn/assets/icon/soilAdjustedVegetationIndex32.json +1 -0
- package/dist/cdn/assets/icon/vegetationIndex16.json +1 -0
- package/dist/cdn/assets/icon/vegetationIndex24.json +1 -0
- package/dist/cdn/assets/icon/vegetationIndex32.json +1 -0
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/ExpandToggle.js +1 -1
- package/dist/chunks/date.js +3 -3
- package/dist/chunks/dom.js +15 -3
- package/dist/chunks/floating-ui.js +1 -1
- package/dist/chunks/label.js +6 -6
- package/dist/chunks/locale.js +3 -6
- package/dist/chunks/manager.js +5 -5
- package/dist/chunks/openCloseComponent.js +1 -1
- package/dist/chunks/resources10.js +4 -48
- package/dist/chunks/resources11.js +63 -0
- package/dist/chunks/resources5.js +37 -23
- package/dist/chunks/resources6.js +27 -52
- package/dist/chunks/resources7.js +48 -45
- package/dist/chunks/resources8.js +49 -7
- package/dist/chunks/resources9.js +9 -11
- package/dist/chunks/runtime.js +3 -3
- package/dist/chunks/useTime.js +40 -45
- package/dist/chunks/utils.js +9 -15
- package/dist/chunks/utils2.js +1 -1
- package/dist/components/calcite-accordion-item/customElement.d.ts +6 -6
- package/dist/components/calcite-accordion-item/customElement.js +1 -1
- package/dist/components/calcite-alert/customElement.d.ts +2 -2
- package/dist/components/calcite-alert/customElement.js +6 -4
- package/dist/components/calcite-autocomplete/customElement.d.ts +16 -16
- package/dist/components/calcite-autocomplete/customElement.js +4 -4
- package/dist/components/calcite-autocomplete-item/customElement.d.ts +5 -5
- package/dist/components/calcite-avatar/customElement.d.ts +5 -5
- package/dist/components/calcite-block/customElement.d.ts +9 -9
- package/dist/components/calcite-block/customElement.js +8 -49
- package/dist/components/calcite-block-group/customElement.js +3 -5
- package/dist/components/calcite-block-section/customElement.d.ts +5 -5
- package/dist/components/calcite-block-section/customElement.js +1 -1
- package/dist/components/calcite-button/customElement.d.ts +8 -8
- package/dist/components/calcite-button/customElement.js +3 -3
- package/dist/components/calcite-card/customElement.d.ts +1 -1
- package/dist/components/calcite-carousel/customElement.js +5 -6
- package/dist/components/calcite-checkbox/customElement.d.ts +4 -4
- package/dist/components/calcite-chip/customElement.js +1 -1
- package/dist/components/calcite-chip-group/customElement.js +1 -1
- package/dist/components/calcite-color-picker/customElement.d.ts +3 -3
- package/dist/components/calcite-color-picker/customElement.js +24 -21
- package/dist/components/calcite-color-picker-hex-input/customElement.d.ts +1 -1
- package/dist/components/calcite-color-picker-hex-input/customElement.js +5 -5
- package/dist/components/calcite-color-picker-swatch/customElement.d.ts +1 -1
- package/dist/components/calcite-color-picker-swatch/customElement.js +1 -1
- package/dist/components/calcite-combobox/customElement.js +13 -8
- 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 +2 -11
- package/dist/components/calcite-dialog/customElement.js +8 -8
- package/dist/components/calcite-dropdown-group/customElement.js +1 -1
- package/dist/components/calcite-dropdown-item/customElement.js +1 -1
- package/dist/components/calcite-flow/customElement.d.ts +2 -2
- package/dist/components/calcite-flow/customElement.js +1 -1
- package/dist/components/calcite-flow-item/customElement.d.ts +7 -1
- package/dist/components/calcite-flow-item/customElement.js +2 -2
- package/dist/components/calcite-input/customElement.js +2 -5
- 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-zone/customElement.js +1 -1
- package/dist/components/calcite-list/customElement.d.ts +4 -4
- package/dist/components/calcite-list/customElement.js +5 -6
- package/dist/components/calcite-list-item/customElement.d.ts +6 -6
- package/dist/components/calcite-list-item/customElement.js +13 -16
- package/dist/components/calcite-list-item-group/customElement.d.ts +1 -1
- package/dist/components/calcite-list-item-group/customElement.js +1 -1
- package/dist/components/calcite-loader/customElement.js +3 -3
- package/dist/components/calcite-menu-item/customElement.d.ts +7 -7
- package/dist/components/calcite-menu-item/customElement.js +3 -0
- package/dist/components/calcite-meter/customElement.d.ts +6 -6
- package/dist/components/calcite-meter/customElement.js +14 -7
- package/dist/components/calcite-pagination/customElement.d.ts +1 -1
- package/dist/components/calcite-pagination/customElement.js +3 -0
- package/dist/components/calcite-panel/customElement.d.ts +6 -6
- package/dist/components/calcite-panel/customElement.js +1 -1
- package/dist/components/calcite-popover/customElement.d.ts +4 -4
- package/dist/components/calcite-popover/customElement.js +1 -1
- package/dist/components/calcite-progress/customElement.d.ts +2 -2
- package/dist/components/calcite-radio-button/customElement.d.ts +5 -5
- package/dist/components/calcite-radio-button/customElement.js +1 -1
- package/dist/components/calcite-radio-button-group/customElement.d.ts +4 -4
- package/dist/components/calcite-radio-button-group/customElement.js +3 -3
- package/dist/components/calcite-rating/customElement.d.ts +7 -7
- package/dist/components/calcite-rating/customElement.js +13 -9
- package/dist/components/calcite-sheet/customElement.js +32 -27
- package/dist/components/calcite-stack/customElement.js +1 -1
- package/dist/components/calcite-tab/customElement.d.ts +1 -1
- package/dist/components/calcite-tab/customElement.js +2 -1
- package/dist/components/calcite-tab-nav/customElement.d.ts +3 -3
- package/dist/components/calcite-tab-nav/customElement.js +12 -7
- package/dist/components/calcite-tab-title/customElement.d.ts +3 -3
- package/dist/components/calcite-tab-title/customElement.js +2 -0
- package/dist/components/calcite-table/customElement.js +22 -14
- package/dist/components/calcite-table-cell/customElement.d.ts +2 -2
- package/dist/components/calcite-table-cell/customElement.js +6 -0
- package/dist/components/calcite-table-header/customElement.d.ts +4 -4
- package/dist/components/calcite-table-header/customElement.js +2 -0
- package/dist/components/calcite-table-row/customElement.js +5 -3
- package/dist/components/calcite-tabs/customElement.js +3 -2
- package/dist/components/calcite-text-area/customElement.d.ts +12 -12
- package/dist/components/calcite-text-area/customElement.js +5 -3
- package/dist/components/calcite-tile/customElement.d.ts +6 -6
- package/dist/components/calcite-time-picker/customElement.d.ts +1 -1
- package/dist/components/calcite-time-picker/customElement.js +35 -15
- package/dist/components/calcite-tooltip/customElement.d.ts +2 -2
- package/dist/components/calcite-tooltip/customElement.js +1 -1
- package/dist/components/calcite-tree/customElement.js +7 -6
- package/dist/components/calcite-tree-item/customElement.d.ts +3 -3
- package/dist/components/calcite-tree-item/customElement.js +12 -6
- package/dist/controllers/useSortable.d.ts +2 -2
- package/dist/controllers/useTime.d.ts +20 -20
- 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/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/loader.js +2 -2
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/dist/utils/dom.d.ts +1 -1
- package/package.json +8 -9
- package/dist/cdn/25SUELBY.js +0 -2
- package/dist/cdn/44HFP2I6.js +0 -2
- package/dist/cdn/5VAPN2S2.js +0 -2
- package/dist/cdn/6S3G75WP.js +0 -2
- package/dist/cdn/6SZY5PY7.js +0 -2
- package/dist/cdn/A6V4I2J3.js +0 -2
- package/dist/cdn/BCRYMNH7.js +0 -2
- package/dist/cdn/C462ZIJD.js +0 -2
- package/dist/cdn/C4DW27AP.js +0 -2
- package/dist/cdn/C4OX3FC4.js +0 -2
- package/dist/cdn/CVJBK7K3.js +0 -2
- package/dist/cdn/DSQ47C3C.js +0 -2
- package/dist/cdn/HYIVUAZU.js +0 -2
- package/dist/cdn/JSXQ6NFN.js +0 -2
- package/dist/cdn/KOWFGIAY.js +0 -2
- package/dist/cdn/L5IKT3WY.js +0 -2
- package/dist/cdn/LGB6OAXT.js +0 -2
- package/dist/cdn/ORIGVFX7.js +0 -2
- package/dist/cdn/QZJ7GLQ3.js +0 -2
- package/dist/cdn/RK2LH73E.js +0 -2
- package/dist/cdn/RRKFBHMW.js +0 -2
- package/dist/cdn/SXXFODM6.js +0 -2
- package/dist/cdn/TV47CRME.js +0 -2
- package/dist/cdn/UCWB5EGV.js +0 -2
- package/dist/cdn/X3HV2NYH.js +0 -2
- package/dist/cdn/Y7O6UR4T.js +0 -2
- package/dist/cdn/ZK2W2KJX.js +0 -2
- package/dist/cdn/ZOEJDQXA.js +0 -2
- /package/dist/cdn/{72YUATHS.js → 2G2ZTAXT.js} +0 -0
- /package/dist/cdn/{MO64UYDH.js → 5ZULUIQ5.js} +0 -0
- /package/dist/cdn/{IIA2H2SU.js → EWIZKNXQ.js} +0 -0
- /package/dist/cdn/{LKL63VXR.js → EZQV6OUW.js} +0 -0
- /package/dist/cdn/{Q55YTOMB.js → SXELOWJI.js} +0 -0
- /package/dist/cdn/{VXBJOP6X.js → U5CB5AOH.js} +0 -0
|
@@ -14,7 +14,7 @@ import { u as useT9n } from "../../chunks/useT9n.js";
|
|
|
14
14
|
import { u as useSetFocus } from "../../chunks/useSetFocus.js";
|
|
15
15
|
import { s as styles$1 } from "../../chunks/header.js";
|
|
16
16
|
import { u as useInteractive } from "../../chunks/useInteractive.js";
|
|
17
|
-
import { C as CSS, S as SLOTS, I as ICONS, a as IDS } from "../../chunks/
|
|
17
|
+
import { C as CSS, S as SLOTS, I as ICONS, a as IDS } from "../../chunks/resources8.js";
|
|
18
18
|
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{position:relative;box-sizing:border-box;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;overflow:hidden;border-radius:var(--calcite-panel-corner-radius, var(--calcite-corner-radius-sharp))}slot[name=alerts]::slotted(calcite-alert){block-size:0}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([scale=s]){--calcite-internal-panel-default-space: var(--calcite-spacing-sm);--calcite-internal-panel-header-vertical-padding: var(--calcite-spacing-sm-plus)}:host([scale=s]) .header-content .heading{font-size:var(--calcite-font-size--1)}:host([scale=s]) .header-content .description{font-size:var(--calcite-font-size--2)}:host([scale=s]) .header-content .icon{margin-inline-end:var(--calcite-spacing-sm)}:host([scale=m]){--calcite-internal-panel-default-space: var(--calcite-spacing-md);--calcite-internal-panel-header-vertical-padding: var(--calcite-spacing-md-plus)}:host([scale=m]) .header-content .heading{font-size:var(--calcite-font-size-0)}:host([scale=m]) .header-content .description{font-size:var(--calcite-font-size--1)}:host([scale=m]) .header-content .icon{margin-inline-end:var(--calcite-spacing-md)}:host(:is([scale=s],[scale=m])){--calcite-internal-panel-action-spacing: var(--calcite-spacing-xxs)}:host([scale=l]){--calcite-internal-panel-action-spacing: var(--calcite-spacing-xs);--calcite-internal-panel-default-space: var(--calcite-spacing-lg);--calcite-internal-panel-header-vertical-padding: var(--calcite-spacing-xl)}:host([scale=l]) .header-content .heading{font-size:var(--calcite-font-size-1)}:host([scale=l]) .header-content .description{font-size:var(--calcite-font-size-0)}:host([scale=l]) .header-content .icon{margin-inline-end:var(--calcite-spacing-lg)}.content-top,.content-bottom{display:flex;align-items:flex-start;align-self:stretch;border-block-start:1px solid var(--calcite-panel-border-color, var(--calcite-color-border-3));background-color:var(--calcite-panel-background-color, var(--calcite-color-foreground-1))}.content-top{padding:var(--calcite-panel-content-top-space, var(--calcite-internal-panel-default-space))}.content-bottom{padding:var(--calcite-panel-content-bottom-space, var(--calcite-internal-panel-default-space))}.container{position:relative;margin:0;display:flex;inline-size:100%;flex:1 1 auto;flex-direction:column;align-items:stretch;overflow:hidden;background-color:var(--calcite-color-background);padding:0;font-size:var(--calcite-font-size-relative-base);color:var(--calcite-color-text-2);transition:max-block-size var(--calcite-animation-timing),inline-size var(--calcite-animation-timing);box-sizing:border-box;font-size:var(--calcite-font-size--1)}.container *{box-sizing:border-box}.header{z-index:var(--calcite-z-index-header);display:flex;flex-direction:column;background-color:var(--calcite-panel-header-background-color, var(--calcite-color-foreground-1));border-block-end:1px solid var(--calcite-panel-border-color, var(--calcite-panel-header-border-block-end, var(--calcite-color-border-3)))}.header-container{display:flex;inline-size:100%;flex-direction:row;align-items:stretch;justify-content:flex-start;flex:0 0 auto}.header-container--border-end{border-block-end:1px solid var(--calcite-panel-border-color, var(--calcite-color-border-3))}.action-bar-container{inline-size:100%}.action-bar-container ::slotted(calcite-action-bar){inline-size:100%}.header-content{display:flex;flex-direction:column;overflow:hidden;padding-inline:.75rem;padding-block:.875rem;margin-inline-end:auto;justify-content:center}.header-content .heading-text-content{flex:1 1 auto;overflow:hidden}.header-content .heading,.header-content .description{display:block;flex:none;overflow-wrap:break-word;padding:0;line-height:var(--calcite-font-line-height-relative-snug)}.header-content .heading{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-panel-heading-text-color, var(--calcite-color-text-1))}.header-content .heading:only-child{margin-block-end:0px}.header-content .description{color:var(--calcite-panel-description-text-color, var(--calcite-color-text-2))}#close,#collapse,calcite-action-menu{--calcite-action-background-color: var(--calcite-panel-header-action-background-color);--calcite-action-background-color-hover: var(--calcite-panel-header-action-background-color-hover);--calcite-action-background-color-press: var(--calcite-panel-header-action-background-color-press);--calcite-action-text-color: var(--calcite-panel-header-action-text-color);--calcite-action-text-color-press: var(--calcite-panel-header-action-text-color-press)}.header-actions{display:flex;flex-direction:row;flex-wrap:nowrap;margin:auto;gap:var(--calcite-internal-panel-action-spacing)}.header-actions--start{margin-inline-start:var(--calcite-internal-panel-action-spacing)}.header-actions--end{margin-inline-end:var(--calcite-internal-panel-action-spacing)}.content-wrapper{position:relative;display:flex;block-size:100%;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch;overflow:auto;color:var(--calcite-color-text-2);outline-color:transparent;padding:var(--calcite-panel-space, var(--calcite-panel-content-space, 0));background:var(--calcite-panel-background-color, var(--calcite-color-background))}.content-wrapper:focus-visible{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))))}.header-content{flex:1 1 auto;justify-content:center;padding-block:var(--calcite-internal-panel-header-vertical-padding);padding-inline:var(--calcite-internal-panel-default-space)}.header-content.header--slotted-content{padding:var(--calcite-panel-header-content-space, var(--calcite-internal-panel-header-vertical-padding) var(--calcite-internal-panel-default-space))}.header-content.header--non-slotted-content{align-items:center;flex-direction:row}.footer{margin-block-start:auto;display:flex;flex-direction:row;align-content:space-between;align-items:center;justify-content:center;font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-relative-snug);border-block-start:1px solid var(--calcite-panel-border-color, var(--calcite-color-border-3));padding:var(--calcite-panel-footer-space, var(--calcite-panel-footer-padding, var(--calcite-internal-panel-default-space)));background-color:var(--calcite-panel-footer-background-color, var(--calcite-color-foreground-1))}.footer-content{display:flex;flex:1 1 0%;flex-direction:row;align-items:center;justify-content:center}.footer-start{display:flex;flex:1 1 0%;flex-direction:row;align-items:center;justify-content:flex-start;margin-inline-end:auto;gap:var(--calcite-internal-panel-default-space)}.footer-end{display:flex;flex:1 1 0%;flex-direction:row;align-items:center;justify-content:flex-end;margin-inline-start:auto;gap:var(--calcite-internal-panel-default-space)}.fab-container{position:sticky;inset-block-end:0px;z-index:var(--calcite-z-index-sticky);margin-block:0px;margin-inline:auto;display:block;padding:.5rem;inset-inline:0;inline-size:fit-content}calcite-icon{--calcite-icon-color: var(--calcite-panel-icon-color, var(--calcite-ui-icon-color, var(--calcite-color-text-1)))}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
19
19
|
class Panel extends LitElement {
|
|
20
20
|
constructor() {
|
|
@@ -33,7 +33,7 @@ export abstract class Popover extends LitElement {
|
|
|
33
33
|
*/
|
|
34
34
|
accessor flipDisabled: boolean;
|
|
35
35
|
/** Specifies the component's fallback `placement` for slotted content when it's initial or specified `placement` has insufficient space available. */
|
|
36
|
-
accessor flipPlacements: FlipPlacement[];
|
|
36
|
+
accessor flipPlacements: FlipPlacement[] | undefined;
|
|
37
37
|
/**
|
|
38
38
|
* When `true`, prevents focus trapping.
|
|
39
39
|
*
|
|
@@ -49,11 +49,11 @@ export abstract class Popover extends LitElement {
|
|
|
49
49
|
* `"extraContainers"` specifies additional focusable elements external to the trap, such as 3rd-party components appending elements to the document body, and
|
|
50
50
|
* `"setReturnFocus"` customizes the element to which focus is returned when the trap is deactivated. Return `false` to prevent focus return, or `undefined` to use the default behavior (returning focus to the element focused before activation).
|
|
51
51
|
*/
|
|
52
|
-
accessor focusTrapOptions: Partial<FocusTrapOptions
|
|
52
|
+
accessor focusTrapOptions: Partial<FocusTrapOptions> | undefined;
|
|
53
53
|
/** Specifies the component's heading text. */
|
|
54
|
-
accessor heading: string;
|
|
54
|
+
accessor heading: string | undefined;
|
|
55
55
|
/** Specifies the heading level number of the component's `heading` for proper document structure, without affecting visual styling. */
|
|
56
|
-
accessor headingLevel: HeadingLevel;
|
|
56
|
+
accessor headingLevel: HeadingLevel | undefined;
|
|
57
57
|
/**
|
|
58
58
|
* Specifies an accessible label for the component.
|
|
59
59
|
*
|
|
@@ -147,7 +147,7 @@ class Popover extends LitElement {
|
|
|
147
147
|
}
|
|
148
148
|
setFilteredPlacements() {
|
|
149
149
|
const { el, flipPlacements } = this;
|
|
150
|
-
this.filteredFlipPlacements = flipPlacements ? filterValidFlipPlacements(flipPlacements, el) :
|
|
150
|
+
this.filteredFlipPlacements = flipPlacements ? filterValidFlipPlacements(flipPlacements, el) : void 0;
|
|
151
151
|
}
|
|
152
152
|
hide() {
|
|
153
153
|
this.open = false;
|
|
@@ -8,7 +8,7 @@ import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
|
8
8
|
*/
|
|
9
9
|
export abstract class Progress extends LitElement {
|
|
10
10
|
/** Specifies an accessible label for the component. */
|
|
11
|
-
accessor label: string;
|
|
11
|
+
accessor label: string | undefined;
|
|
12
12
|
/**
|
|
13
13
|
* When `true` and type is `"indeterminate"`, reverses the animation direction.
|
|
14
14
|
*
|
|
@@ -16,7 +16,7 @@ export abstract class Progress extends LitElement {
|
|
|
16
16
|
*/
|
|
17
17
|
accessor reversed: boolean;
|
|
18
18
|
/** Text that displays under the component's indicator. */
|
|
19
|
-
accessor text: string;
|
|
19
|
+
accessor text: string | undefined;
|
|
20
20
|
/**
|
|
21
21
|
* Specifies the component type.
|
|
22
22
|
*
|
|
@@ -26,11 +26,11 @@ export abstract class RadioButton extends LitElement {
|
|
|
26
26
|
*
|
|
27
27
|
* When not set, the component is associated with its ancestor form element, if one exists.
|
|
28
28
|
*/
|
|
29
|
-
accessor form: string;
|
|
29
|
+
accessor form: string | undefined;
|
|
30
30
|
/** Specifies the component's label text. */
|
|
31
|
-
accessor labelText: string;
|
|
31
|
+
accessor labelText: string | undefined;
|
|
32
32
|
/** Specifies the name of the component. Required to pass the component's `value` on form submission. */
|
|
33
|
-
accessor name: string;
|
|
33
|
+
accessor name: string | undefined;
|
|
34
34
|
/**
|
|
35
35
|
* When `true` and the component resides in a form,
|
|
36
36
|
* the component must have a value selected from the `calcite-radio-button-group` in order for the form to submit.
|
|
@@ -56,7 +56,7 @@ export abstract class RadioButton extends LitElement {
|
|
|
56
56
|
* @internal
|
|
57
57
|
* @mdn [validationMessage](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/validationMessage)
|
|
58
58
|
*/
|
|
59
|
-
accessor validationMessage: string;
|
|
59
|
+
accessor validationMessage: string | undefined;
|
|
60
60
|
/**
|
|
61
61
|
* The component's current validation state.
|
|
62
62
|
*
|
|
@@ -84,7 +84,7 @@ export abstract class RadioButton extends LitElement {
|
|
|
84
84
|
* @param validationMessage
|
|
85
85
|
* @internal
|
|
86
86
|
*/
|
|
87
|
-
setValidity(validity: ValidityStateFlags, validationMessage?: string): Promise<void>;
|
|
87
|
+
setValidity(validity: ValidityStateFlags, validationMessage?: string | undefined): Promise<void>;
|
|
88
88
|
/**
|
|
89
89
|
* Fires only when the radio button is checked. This behavior is identical to the native HTML input element.
|
|
90
90
|
* Since this event does not fire when the radio button is unchecked, it's not recommended to attach a listener for this event
|
|
@@ -55,7 +55,7 @@ class RadioButton extends LitElement {
|
|
|
55
55
|
return this.focusSetter(() => this.containerRef.value, options);
|
|
56
56
|
}
|
|
57
57
|
async setValidity(validity, validationMessage = this.validationMessage) {
|
|
58
|
-
this.elementInternals.setValidity(validity, validationMessage);
|
|
58
|
+
this.elementInternals.setValidity(validity, validationMessage || "");
|
|
59
59
|
}
|
|
60
60
|
connectedCallback() {
|
|
61
61
|
this.rootNode = this.el.getRootNode();
|
|
@@ -18,7 +18,7 @@ export abstract class RadioButtonGroup extends LitElement {
|
|
|
18
18
|
*/
|
|
19
19
|
accessor disabled: boolean;
|
|
20
20
|
/** Specifies the component's label text. */
|
|
21
|
-
accessor labelText: string;
|
|
21
|
+
accessor labelText: string | undefined;
|
|
22
22
|
/**
|
|
23
23
|
* Specifies the layout of the component.
|
|
24
24
|
*
|
|
@@ -47,7 +47,7 @@ export abstract class RadioButtonGroup extends LitElement {
|
|
|
47
47
|
*/
|
|
48
48
|
accessor scale: Scale;
|
|
49
49
|
/** Specifies the component's selected item. */
|
|
50
|
-
get selectedItem(): RadioButton;
|
|
50
|
+
get selectedItem(): RadioButton | null;
|
|
51
51
|
/**
|
|
52
52
|
* Specifies the status of the validation message.
|
|
53
53
|
*
|
|
@@ -55,9 +55,9 @@ export abstract class RadioButtonGroup extends LitElement {
|
|
|
55
55
|
*/
|
|
56
56
|
accessor status: Status;
|
|
57
57
|
/** Specifies the validation icon to display under the component. */
|
|
58
|
-
accessor validationIcon: IconName | boolean;
|
|
58
|
+
accessor validationIcon: IconName | boolean | undefined;
|
|
59
59
|
/** Specifies the validation message to display under the component. */
|
|
60
|
-
accessor validationMessage: string;
|
|
60
|
+
accessor validationMessage: string | undefined;
|
|
61
61
|
/**
|
|
62
62
|
* Sets focus on the fist focusable `calcite-radio-button` element in the component.
|
|
63
63
|
*
|
|
@@ -64,7 +64,7 @@ class RadioButtonGroup extends LitElement {
|
|
|
64
64
|
this.mutationObserver?.disconnect();
|
|
65
65
|
}
|
|
66
66
|
handleInvalidFormEvent(event) {
|
|
67
|
-
const message = this.validationMessage || event.target.validationMessage;
|
|
67
|
+
const message = this.validationMessage || event.target.validationMessage || "";
|
|
68
68
|
displayValidationMessage(this, {
|
|
69
69
|
message,
|
|
70
70
|
icon: true,
|
|
@@ -73,7 +73,7 @@ class RadioButtonGroup extends LitElement {
|
|
|
73
73
|
}
|
|
74
74
|
passPropsToRadioButtons() {
|
|
75
75
|
this.radioButtons = Array.from(this.el.querySelectorAll("calcite-radio-button"));
|
|
76
|
-
this.selectedItem = Array.from(this.radioButtons).reverse().find((radioButton) => radioButton.checked)
|
|
76
|
+
this.selectedItem = Array.from(this.radioButtons).reverse().find((radioButton) => radioButton.checked) ?? null;
|
|
77
77
|
if (this.radioButtons.length > 0) {
|
|
78
78
|
this.radioButtons.forEach((radioButton) => {
|
|
79
79
|
if (this.hasUpdated) {
|
|
@@ -87,7 +87,7 @@ class RadioButtonGroup extends LitElement {
|
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
getFocusableRadioButton() {
|
|
90
|
-
return this.radioButtons.find((radiobutton) => !radiobutton.disabled)
|
|
90
|
+
return this.radioButtons.find((radiobutton) => !radiobutton.disabled);
|
|
91
91
|
}
|
|
92
92
|
radioButtonChangeHandler(event) {
|
|
93
93
|
this.selectedItem = event.target;
|
|
@@ -15,9 +15,9 @@ import type { IconName } from "../calcite-icon/interfaces.js";
|
|
|
15
15
|
*/
|
|
16
16
|
export abstract class Rating extends LitElement {
|
|
17
17
|
/** Specifies a cumulative average from previous ratings to display. */
|
|
18
|
-
accessor average: number;
|
|
18
|
+
accessor average: number | undefined;
|
|
19
19
|
/** Specifies the number of previous ratings to display. */
|
|
20
|
-
accessor count: number;
|
|
20
|
+
accessor count: number | undefined;
|
|
21
21
|
/**
|
|
22
22
|
* When `true`, interaction is prevented and the component is displayed with lower opacity.
|
|
23
23
|
*
|
|
@@ -29,9 +29,9 @@ export abstract class Rating extends LitElement {
|
|
|
29
29
|
*
|
|
30
30
|
* When not set, the component is associated with its ancestor form element, if one exists.
|
|
31
31
|
*/
|
|
32
|
-
accessor form: string;
|
|
32
|
+
accessor form: string | undefined;
|
|
33
33
|
/** Specifies the component's label text. */
|
|
34
|
-
accessor labelText: string;
|
|
34
|
+
accessor labelText: string | undefined;
|
|
35
35
|
/** Overrides individual strings used by the component. */
|
|
36
36
|
accessor messageOverrides: {
|
|
37
37
|
rating?: string;
|
|
@@ -39,7 +39,7 @@ export abstract class Rating extends LitElement {
|
|
|
39
39
|
stars?: string;
|
|
40
40
|
};
|
|
41
41
|
/** Specifies the name of the component. Required to pass the component's `value` on form submission. */
|
|
42
|
-
accessor name: string;
|
|
42
|
+
accessor name: string | undefined;
|
|
43
43
|
/**
|
|
44
44
|
* When `true`, the component's value can be read, but cannot be modified.
|
|
45
45
|
*
|
|
@@ -65,9 +65,9 @@ export abstract class Rating extends LitElement {
|
|
|
65
65
|
*/
|
|
66
66
|
accessor status: Status;
|
|
67
67
|
/** Specifies the validation icon to display under the component. */
|
|
68
|
-
accessor validationIcon: IconName | boolean;
|
|
68
|
+
accessor validationIcon: IconName | boolean | undefined;
|
|
69
69
|
/** Specifies the validation message to display under the component. */
|
|
70
|
-
accessor validationMessage: string;
|
|
70
|
+
accessor validationMessage: string | undefined;
|
|
71
71
|
/**
|
|
72
72
|
* The component's current validation state.
|
|
73
73
|
*
|
|
@@ -90,12 +90,16 @@ class Rating extends LitElement {
|
|
|
90
90
|
willUpdate() {
|
|
91
91
|
this.starsMap = Array.from({ length: this.max }, (_, i) => {
|
|
92
92
|
const value = i + 1;
|
|
93
|
-
const
|
|
93
|
+
const hoverValue = this.hoverValue ?? 0;
|
|
94
|
+
const hasHoverValue = hoverValue > 0;
|
|
95
|
+
const hasAverage = this.average != null;
|
|
96
|
+
const averageValue = this.average ?? 0;
|
|
97
|
+
const average = !hasHoverValue && hasAverage && !this.value && value <= averageValue;
|
|
94
98
|
const checked = value === this.value;
|
|
95
|
-
const fraction =
|
|
96
|
-
const hovered = value <=
|
|
99
|
+
const fraction = hasAverage ? averageValue + 1 - value : 0;
|
|
100
|
+
const hovered = hasHoverValue && value <= hoverValue;
|
|
97
101
|
const id = `${this.guid}-${value}`;
|
|
98
|
-
const partial = !
|
|
102
|
+
const partial = !hasHoverValue && !this.value && hasAverage && !hovered && fraction > 0 && fraction < 1;
|
|
99
103
|
const selected = this.value >= value;
|
|
100
104
|
const tabIndex = this.getTabIndex(value);
|
|
101
105
|
return {
|
|
@@ -133,7 +137,7 @@ class Rating extends LitElement {
|
|
|
133
137
|
}
|
|
134
138
|
handleRatingPointerOut() {
|
|
135
139
|
this.isKeyboardInteraction = true;
|
|
136
|
-
this.hoverValue =
|
|
140
|
+
this.hoverValue = void 0;
|
|
137
141
|
}
|
|
138
142
|
handleHostKeyDown() {
|
|
139
143
|
this.isKeyboardInteraction = true;
|
|
@@ -141,7 +145,7 @@ class Rating extends LitElement {
|
|
|
141
145
|
handleLabelKeyDown(event) {
|
|
142
146
|
const inputValue = this.getValueFromLabelEvent(event);
|
|
143
147
|
const key = event.key;
|
|
144
|
-
const numberKey = key == " " ?
|
|
148
|
+
const numberKey = key == " " ? NaN : Number(key);
|
|
145
149
|
this.emit = true;
|
|
146
150
|
if (isNaN(numberKey)) {
|
|
147
151
|
switch (key) {
|
|
@@ -160,7 +164,7 @@ class Rating extends LitElement {
|
|
|
160
164
|
event.preventDefault();
|
|
161
165
|
break;
|
|
162
166
|
case "Tab":
|
|
163
|
-
this.hoverValue =
|
|
167
|
+
this.hoverValue = void 0;
|
|
164
168
|
break;
|
|
165
169
|
}
|
|
166
170
|
} else {
|
|
@@ -174,7 +178,7 @@ class Rating extends LitElement {
|
|
|
174
178
|
}
|
|
175
179
|
handleInputChange(event) {
|
|
176
180
|
if (this.isKeyboardInteraction === true) {
|
|
177
|
-
const inputVal = Number(event.target
|
|
181
|
+
const inputVal = Number(event.target.value);
|
|
178
182
|
this.hoverValue = inputVal;
|
|
179
183
|
this.value = inputVal;
|
|
180
184
|
}
|
|
@@ -199,7 +203,7 @@ class Rating extends LitElement {
|
|
|
199
203
|
}
|
|
200
204
|
updateFocus() {
|
|
201
205
|
this.hoverValue = this.value;
|
|
202
|
-
this.labelElements[this.value - 1]
|
|
206
|
+
this.labelElements[this.value - 1]?.focus();
|
|
203
207
|
}
|
|
204
208
|
getTabIndex(value) {
|
|
205
209
|
if (this.readOnly || this.value !== value && (this.value || value !== 1)) {
|
|
@@ -138,14 +138,16 @@ class Sheet extends LitElement {
|
|
|
138
138
|
connectedCallback() {
|
|
139
139
|
super.connectedCallback();
|
|
140
140
|
this.mutationObserver?.observe(this.el, { childList: true, subtree: true });
|
|
141
|
-
this.
|
|
141
|
+
if (this.hasUpdated) {
|
|
142
|
+
this.refreshResize();
|
|
143
|
+
}
|
|
142
144
|
}
|
|
143
145
|
willUpdate(changes) {
|
|
144
146
|
if (changes.has("opened") && (this.hasUpdated || this.opened !== false) && this.transitionRef.value) {
|
|
145
147
|
toggleOpenClose(this);
|
|
146
148
|
}
|
|
147
149
|
if (changes.has("open") && (this.hasUpdated || this.open !== false) || changes.has("position") && (this.hasUpdated || this.position !== "inline-start") || changes.has("resizable") && (this.hasUpdated || this.resizable !== false) || changes.has("direction")) {
|
|
148
|
-
this.
|
|
150
|
+
this.refreshResize();
|
|
149
151
|
}
|
|
150
152
|
if (this.contentRef.value) {
|
|
151
153
|
this.contentId = ensureId(this.contentRef.value);
|
|
@@ -155,7 +157,7 @@ class Sheet extends LitElement {
|
|
|
155
157
|
super.disconnectedCallback();
|
|
156
158
|
this.mutationObserver?.disconnect();
|
|
157
159
|
this.embedded = false;
|
|
158
|
-
this.
|
|
160
|
+
this.cleanUpInteractions();
|
|
159
161
|
}
|
|
160
162
|
async setOpenState(value) {
|
|
161
163
|
if (this.beforeClose && !value) {
|
|
@@ -230,31 +232,34 @@ class Sheet extends LitElement {
|
|
|
230
232
|
}
|
|
231
233
|
this.sizeOverride.resize(size);
|
|
232
234
|
}
|
|
233
|
-
|
|
235
|
+
cleanUpInteractions() {
|
|
234
236
|
this.interaction?.unset();
|
|
235
237
|
}
|
|
236
|
-
|
|
237
|
-
this
|
|
238
|
-
|
|
239
|
-
if (!contentRef.value || !open || !resizable || !resizeHandleEl) {
|
|
238
|
+
updateResizeValues() {
|
|
239
|
+
const { contentRef } = this;
|
|
240
|
+
if (!contentRef.value) {
|
|
240
241
|
return;
|
|
241
242
|
}
|
|
242
|
-
await this.el.componentOnReady();
|
|
243
243
|
const computedStyle = window.getComputedStyle(contentRef.value);
|
|
244
|
-
this.resizeValues
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
blockSize: getStylePixelValue(blockSize),
|
|
252
|
-
minInlineSize: getStylePixelValue(minInlineSize),
|
|
253
|
-
minBlockSize: getStylePixelValue(minBlockSize),
|
|
254
|
-
maxInlineSize: getStylePixelValue(maxInlineSize) || window.innerWidth,
|
|
255
|
-
maxBlockSize: getStylePixelValue(maxBlockSize) || window.innerHeight
|
|
244
|
+
this.resizeValues = {
|
|
245
|
+
inlineSize: getStylePixelValue(computedStyle.inlineSize),
|
|
246
|
+
blockSize: getStylePixelValue(computedStyle.blockSize),
|
|
247
|
+
minInlineSize: getStylePixelValue(computedStyle.minInlineSize),
|
|
248
|
+
minBlockSize: getStylePixelValue(computedStyle.minBlockSize),
|
|
249
|
+
maxInlineSize: getStylePixelValue(computedStyle.maxInlineSize) || window.innerWidth,
|
|
250
|
+
maxBlockSize: getStylePixelValue(computedStyle.maxBlockSize) || window.innerHeight
|
|
256
251
|
};
|
|
257
|
-
|
|
252
|
+
}
|
|
253
|
+
refreshResize() {
|
|
254
|
+
this.updateResizeValues();
|
|
255
|
+
this.setUpResizeInteractions();
|
|
256
|
+
}
|
|
257
|
+
setUpResizeInteractions() {
|
|
258
|
+
this.cleanUpInteractions();
|
|
259
|
+
const { contentRef, el, resizable, position, open, resizeHandleEl } = this;
|
|
260
|
+
if (!contentRef.value || !open || !resizable || !resizeHandleEl) {
|
|
261
|
+
return;
|
|
262
|
+
}
|
|
258
263
|
const rtl = this.direction === "rtl";
|
|
259
264
|
this.interaction = interact(contentRef.value, { context: el.ownerDocument }).resizable({
|
|
260
265
|
edges: {
|
|
@@ -266,12 +271,12 @@ class Sheet extends LitElement {
|
|
|
266
271
|
modifiers: [
|
|
267
272
|
interact.modifiers.restrictSize({
|
|
268
273
|
min: {
|
|
269
|
-
width:
|
|
270
|
-
height:
|
|
274
|
+
width: this.resizeValues.minInlineSize,
|
|
275
|
+
height: this.resizeValues.minBlockSize
|
|
271
276
|
},
|
|
272
277
|
max: {
|
|
273
|
-
width:
|
|
274
|
-
height:
|
|
278
|
+
width: this.resizeValues.maxInlineSize,
|
|
279
|
+
height: this.resizeValues.maxBlockSize
|
|
275
280
|
}
|
|
276
281
|
})
|
|
277
282
|
],
|
|
@@ -304,7 +309,7 @@ class Sheet extends LitElement {
|
|
|
304
309
|
}
|
|
305
310
|
setResizeHandleEl(el) {
|
|
306
311
|
this.resizeHandleEl = el;
|
|
307
|
-
this.
|
|
312
|
+
this.refreshResize();
|
|
308
313
|
}
|
|
309
314
|
handleOutsideClose() {
|
|
310
315
|
if (this.outsideCloseDisabled) {
|
|
@@ -4,7 +4,7 @@ import { css, html } from "lit";
|
|
|
4
4
|
import { keyed } from "lit/directives/keyed.js";
|
|
5
5
|
import { LitElement, safeClassMap } from "@arcgis/lumina";
|
|
6
6
|
import { s as slotChangeHasAssignedElement } from "../../chunks/dom.js";
|
|
7
|
-
import { S as SLOTS, C as CSS } from "../../chunks/
|
|
7
|
+
import { S as SLOTS, C as CSS } from "../../chunks/resources10.js";
|
|
8
8
|
const styles = css`:host([disabled]) .content{cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) .content *,:host([disabled]) .content ::slotted(*){pointer-events:none}:host{display:flex;flex:1 1 0%;flex-direction:column}.container{display:flex;flex:1 1 auto;align-items:stretch;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2)}.content{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-relative-snug);padding-inline:var(--calcite-stack-padding-inline, .75rem);padding-block:var(--calcite-stack-padding-block, .5rem)}.content-start{justify-content:flex-start}.content-end{justify-content:flex-end}.content-start,.content-end{flex:0 1 auto}.content-start ::slotted(calcite-icon),.content-end ::slotted(calcite-icon){margin-inline:.75rem;align-self:center}.actions-start,.actions-end,.content-start,.content-end{display:flex;align-items:center}.actions-start ::slotted(calcite-action),.actions-start ::slotted(calcite-action-menu),.actions-start ::slotted(calcite-handle),.actions-start ::slotted(calcite-dropdown),.actions-end ::slotted(calcite-action),.actions-end ::slotted(calcite-action-menu),.actions-end ::slotted(calcite-handle),.actions-end ::slotted(calcite-dropdown){align-self:stretch;color:inherit}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
9
9
|
class Stack extends LitElement {
|
|
10
10
|
constructor() {
|
|
@@ -20,7 +20,7 @@ export abstract class Tab extends LitElement {
|
|
|
20
20
|
*
|
|
21
21
|
* When specified, use the same value on the `calcite-tab-title`.
|
|
22
22
|
*/
|
|
23
|
-
accessor tab: string;
|
|
23
|
+
accessor tab: string | undefined;
|
|
24
24
|
/** Returns the index of the component item within the tab array. */
|
|
25
25
|
getTabIndex(): Promise<number>;
|
|
26
26
|
}
|
|
@@ -17,6 +17,7 @@ class Tab extends LitElement {
|
|
|
17
17
|
constructor() {
|
|
18
18
|
super();
|
|
19
19
|
this.guid = IDS.tabTitleId(guid());
|
|
20
|
+
this.parentTabsEl = null;
|
|
20
21
|
this.scale = "m";
|
|
21
22
|
this.selected = false;
|
|
22
23
|
this.listenOn(document.body, "calciteInternalTabChange", this.internalTabChangeHandler);
|
|
@@ -31,7 +32,7 @@ class Tab extends LitElement {
|
|
|
31
32
|
return Array.prototype.indexOf.call(nodeListToArray(this.el.parentElement.children).filter((el) => el.matches("calcite-tab")), this.el);
|
|
32
33
|
}
|
|
33
34
|
_updateAriaInfo(tabIds = [], titleIds = []) {
|
|
34
|
-
this.labeledBy = titleIds[tabIds.indexOf(this.el.id)] ||
|
|
35
|
+
this.labeledBy = titleIds[tabIds.indexOf(this.el.id)] || void 0;
|
|
35
36
|
}
|
|
36
37
|
connectedCallback() {
|
|
37
38
|
super.connectedCallback();
|
|
@@ -24,11 +24,11 @@ export abstract class TabNav extends LitElement {
|
|
|
24
24
|
*/
|
|
25
25
|
accessor position: TabPosition;
|
|
26
26
|
/** Specifies the component's selected `calcite-tab-title`. */
|
|
27
|
-
get selectedTitle(): TabTitle;
|
|
27
|
+
get selectedTitle(): TabTitle | null;
|
|
28
28
|
/** Specifies the name when saving selected `calcite-tab` data to `localStorage`. */
|
|
29
|
-
accessor storageId: string;
|
|
29
|
+
accessor storageId: string | undefined;
|
|
30
30
|
/** Specifies text to update multiple components to keep in sync if one changes. */
|
|
31
|
-
accessor syncId: string;
|
|
31
|
+
accessor syncId: string | undefined;
|
|
32
32
|
/** Emits when the selected `calcite-tab` changes. */
|
|
33
33
|
readonly calciteTabChange: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
34
34
|
readonly "@eventTypes": {
|
|
@@ -49,9 +49,9 @@ class TabNav extends LitElement {
|
|
|
49
49
|
this.listen("calciteInternalTabsFocusNext", this.focusNextTabHandler);
|
|
50
50
|
this.listen("calciteInternalTabsFocusFirst", this.focusFirstTabHandler);
|
|
51
51
|
this.listen("calciteInternalTabsFocusLast", this.focusLastTabHandler);
|
|
52
|
+
this.listen("calciteInternalTabTitleRegister", this.updateTabTitles);
|
|
52
53
|
this.listen("calciteInternalTabsActivate", this.internalActivateTabHandler);
|
|
53
54
|
this.listen("calciteInternalTabsClose", this.internalCloseTabHandler);
|
|
54
|
-
this.listen("calciteInternalTabTitleRegister", this.updateTabTitles);
|
|
55
55
|
this.listenOn(document.body, "calciteInternalTabChange", this.globalInternalTabChangeHandler);
|
|
56
56
|
}
|
|
57
57
|
static {
|
|
@@ -62,14 +62,17 @@ class TabNav extends LitElement {
|
|
|
62
62
|
}
|
|
63
63
|
connectedCallback() {
|
|
64
64
|
super.connectedCallback();
|
|
65
|
-
this.parentTabsEl = this.el.closest("calcite-tabs");
|
|
65
|
+
this.parentTabsEl = this.el.closest("calcite-tabs") ?? void 0;
|
|
66
66
|
this.resizeObserver?.observe(this.el);
|
|
67
67
|
}
|
|
68
68
|
async load() {
|
|
69
69
|
const storageKey = `calcite-tab-nav-${this.storageId}`;
|
|
70
|
-
if (localStorage && this.storageId
|
|
71
|
-
const
|
|
72
|
-
|
|
70
|
+
if (localStorage && this.storageId) {
|
|
71
|
+
const storageItem = localStorage.getItem(storageKey);
|
|
72
|
+
if (storageItem) {
|
|
73
|
+
const storedTab = JSON.parse(storageItem);
|
|
74
|
+
this.selectedTabId = storedTab;
|
|
75
|
+
}
|
|
73
76
|
}
|
|
74
77
|
}
|
|
75
78
|
willUpdate(changes) {
|
|
@@ -82,8 +85,10 @@ class TabNav extends LitElement {
|
|
|
82
85
|
this.selectedTabIdChanged();
|
|
83
86
|
}
|
|
84
87
|
const { parentTabsEl } = this;
|
|
85
|
-
|
|
86
|
-
|
|
88
|
+
if (parentTabsEl) {
|
|
89
|
+
this.layout = parentTabsEl.layout;
|
|
90
|
+
this.bordered = parentTabsEl.bordered;
|
|
91
|
+
}
|
|
87
92
|
this.effectiveDir = this.direction;
|
|
88
93
|
}
|
|
89
94
|
loaded() {
|
|
@@ -44,11 +44,11 @@ export abstract class TabTitle extends LitElement {
|
|
|
44
44
|
*/
|
|
45
45
|
accessor disabled: boolean;
|
|
46
46
|
/** Specifies an icon to display at the end of the component. */
|
|
47
|
-
accessor iconEnd: IconName;
|
|
47
|
+
accessor iconEnd: IconName | undefined;
|
|
48
48
|
/** Displays the `iconStart` and/or `iconEnd` as flipped when the element direction is right-to-left (`"rtl"`). */
|
|
49
|
-
accessor iconFlipRtl: FlipContext;
|
|
49
|
+
accessor iconFlipRtl: FlipContext | undefined;
|
|
50
50
|
/** Specifies an icon to display at the start of the component. */
|
|
51
|
-
accessor iconStart: IconName;
|
|
51
|
+
accessor iconStart: IconName | undefined;
|
|
52
52
|
/** Overrides individual strings used by the component. */
|
|
53
53
|
accessor messageOverrides: { close?: string; };
|
|
54
54
|
/**
|
|
@@ -37,11 +37,13 @@ class TabTitle extends LitElement {
|
|
|
37
37
|
this.direction = useDirection();
|
|
38
38
|
this.guid = IDS.host(guid());
|
|
39
39
|
this.mutationObserver = createObserver("mutation", () => this.updateHasText());
|
|
40
|
+
this.parentTabsEl = null;
|
|
40
41
|
this.resizeObserver = createObserver("resize", () => {
|
|
41
42
|
this.calciteInternalTabIconChanged.emit();
|
|
42
43
|
});
|
|
43
44
|
this.messages = useT9n();
|
|
44
45
|
this.interactiveContainer = useInteractive(this);
|
|
46
|
+
this.controls = null;
|
|
45
47
|
this.hasText = false;
|
|
46
48
|
this.bordered = false;
|
|
47
49
|
this.closable = false;
|
|
@@ -44,6 +44,10 @@ const styles = css`@charset "UTF-8";:host([scale=s]){--calcite-internal-table-ce
|
|
|
44
44
|
class Table extends LitElement {
|
|
45
45
|
constructor() {
|
|
46
46
|
super();
|
|
47
|
+
this.allRows = [];
|
|
48
|
+
this.bodyRows = [];
|
|
49
|
+
this.footRows = [];
|
|
50
|
+
this.headRows = [];
|
|
47
51
|
this.paginationRef = createRef();
|
|
48
52
|
this.tableBodySlotRef = createRef();
|
|
49
53
|
this.tableFootSlotRef = createRef();
|
|
@@ -51,6 +55,7 @@ class Table extends LitElement {
|
|
|
51
55
|
this.messages = useT9n({ blocking: true });
|
|
52
56
|
this.colCount = 0;
|
|
53
57
|
this.pageStartRow = 1;
|
|
58
|
+
this.readCellContentsToAT = false;
|
|
54
59
|
this.selectedCount = 0;
|
|
55
60
|
this._selectedItems = [];
|
|
56
61
|
this.bordered = false;
|
|
@@ -135,8 +140,8 @@ class Table extends LitElement {
|
|
|
135
140
|
rowPosition = leavingFooter ? lastBodyRow : enteringHeader ? lastHeadRow : rowPos - 1;
|
|
136
141
|
break;
|
|
137
142
|
}
|
|
138
|
-
const destinationCount = this.allRows
|
|
139
|
-
const adjustedPos = cellPosition > destinationCount ? destinationCount : cellPosition;
|
|
143
|
+
const destinationCount = this.allRows.find((row) => row.positionAll === rowPosition)?.cellCount;
|
|
144
|
+
const adjustedPos = destinationCount && cellPosition > destinationCount ? destinationCount : cellPosition;
|
|
140
145
|
if (rowPosition !== void 0) {
|
|
141
146
|
this.calciteInternalTableRowFocusChange.emit({
|
|
142
147
|
cellPosition: adjustedPos,
|
|
@@ -147,32 +152,35 @@ class Table extends LitElement {
|
|
|
147
152
|
}
|
|
148
153
|
}
|
|
149
154
|
getSlottedRows(el) {
|
|
150
|
-
|
|
155
|
+
if (!el) {
|
|
156
|
+
return [];
|
|
157
|
+
}
|
|
158
|
+
return el.assignedElements({ flatten: true }).filter((el2) => el2.matches("calcite-table-row"));
|
|
151
159
|
}
|
|
152
160
|
updateRows() {
|
|
153
|
-
const headRows = this.getSlottedRows(this.tableHeadSlotRef.value)
|
|
154
|
-
const bodyRows = this.getSlottedRows(this.tableBodySlotRef.value)
|
|
155
|
-
const footRows = this.getSlottedRows(this.tableFootSlotRef.value)
|
|
161
|
+
const headRows = this.getSlottedRows(this.tableHeadSlotRef.value);
|
|
162
|
+
const bodyRows = this.getSlottedRows(this.tableBodySlotRef.value);
|
|
163
|
+
const footRows = this.getSlottedRows(this.tableFootSlotRef.value);
|
|
156
164
|
const allRows = [...headRows, ...bodyRows, ...footRows];
|
|
157
|
-
headRows
|
|
158
|
-
const position = headRows
|
|
165
|
+
headRows.forEach((row) => {
|
|
166
|
+
const position = headRows.indexOf(row);
|
|
159
167
|
row.rowType = "head";
|
|
160
168
|
row.positionSection = position;
|
|
161
169
|
row.positionSectionLocalized = this.localizeNumber((position + 1).toString());
|
|
162
170
|
});
|
|
163
|
-
bodyRows
|
|
164
|
-
const position = bodyRows
|
|
171
|
+
bodyRows.forEach((row) => {
|
|
172
|
+
const position = bodyRows.indexOf(row);
|
|
165
173
|
row.rowType = "body";
|
|
166
174
|
row.positionSection = position;
|
|
167
175
|
row.positionSectionLocalized = this.localizeNumber((position + 1).toString());
|
|
168
176
|
});
|
|
169
|
-
footRows
|
|
170
|
-
const position = footRows
|
|
177
|
+
footRows.forEach((row) => {
|
|
178
|
+
const position = footRows.indexOf(row);
|
|
171
179
|
row.rowType = "foot";
|
|
172
180
|
row.positionSection = position;
|
|
173
181
|
row.positionSectionLocalized = this.localizeNumber((position + 1).toString());
|
|
174
182
|
});
|
|
175
|
-
allRows
|
|
183
|
+
allRows.forEach((row) => {
|
|
176
184
|
row.interactionMode = this.interactionMode;
|
|
177
185
|
row.selectionMode = this.selectionMode;
|
|
178
186
|
row.bodyRowCount = bodyRows?.length;
|
|
@@ -282,7 +290,7 @@ class Table extends LitElement {
|
|
|
282
290
|
[CSS.striped]: this.striped,
|
|
283
291
|
[CSS.tableContainer]: true
|
|
284
292
|
})}><table .ariaColCount=${this.colCount} .ariaMultiSelectable=${/* workaround to ensure the attr gets removed; we should be able to avoid the ternary when fixed */
|
|
285
|
-
this.selectionMode === "multiple" ? "true" :
|
|
293
|
+
this.selectionMode === "multiple" ? "true" : void 0} .ariaRowCount=${this.allRows?.length} class=${safeClassMap({ [CSS.tableFixed]: this.layout === "fixed" })} .role=${this.interactionMode === "interactive" ? "grid" : "table"} ${ref((el) => {
|
|
286
294
|
if (!el) {
|
|
287
295
|
return;
|
|
288
296
|
}
|
|
@@ -20,7 +20,7 @@ export abstract class TableCell extends LitElement {
|
|
|
20
20
|
*/
|
|
21
21
|
accessor alignment: Alignment;
|
|
22
22
|
/** Specifies the number of columns the component should span. */
|
|
23
|
-
accessor colSpan: number;
|
|
23
|
+
accessor colSpan: number | undefined;
|
|
24
24
|
/** Overrides individual strings used by the component. */
|
|
25
25
|
accessor messageOverrides: {
|
|
26
26
|
keyboardDeselect?: string;
|
|
@@ -30,7 +30,7 @@ export abstract class TableCell extends LitElement {
|
|
|
30
30
|
unselected?: string;
|
|
31
31
|
};
|
|
32
32
|
/** Specifies the number of rows the component should span. */
|
|
33
|
-
accessor rowSpan: number;
|
|
33
|
+
accessor rowSpan: number | undefined;
|
|
34
34
|
/**
|
|
35
35
|
* Sets focus on the component.
|
|
36
36
|
*
|