@esri/calcite-components 5.0.0-next.72 → 5.0.0-next.74
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/2375XCVM.js +4 -0
- package/dist/cdn/2AEK7A73.js +4 -0
- package/dist/cdn/{EID2ZC7N.js → 2ETOPUPD.js} +2 -2
- package/dist/cdn/{GY47FWQF.js → 2HAU5LNZ.js} +2 -2
- package/dist/cdn/2KD2QFKM.js +4 -0
- package/dist/cdn/{SAQKQA5U.js → 2Z24AWM5.js} +2 -2
- package/dist/cdn/3AN2BNRL.js +4 -0
- package/dist/cdn/3EH5XJU3.js +4 -0
- package/dist/cdn/3GSW4KV5.js +4 -0
- package/dist/cdn/3S63UZD3.js +4 -0
- package/dist/cdn/46KRA7KH.js +4 -0
- package/dist/cdn/{KE6ELQXD.js → 4XN5N6E3.js} +1 -1
- package/dist/cdn/53SC4Y3Y.js +4 -0
- package/dist/cdn/5PUWT7LQ.js +4 -0
- package/dist/cdn/{CPMHW3N5.js → 5R4JXODK.js} +2 -2
- package/dist/cdn/6BA2VBEJ.js +4 -0
- package/dist/cdn/{IWF6MXCG.js → 6CJMMAA7.js} +2 -2
- package/dist/cdn/6U5AZSSY.js +4 -0
- package/dist/cdn/6XP7FPSQ.js +4 -0
- package/dist/cdn/72BXKWG2.js +4 -0
- package/dist/cdn/{SUBZDCLT.js → 777QJZF5.js} +2 -2
- package/dist/cdn/7AYID5PU.js +4 -0
- package/dist/cdn/{RHALB54E.js → 7IBUU5CJ.js} +2 -2
- package/dist/cdn/{TKN3QOT7.js → 7PCD7FV7.js} +1 -1
- package/dist/cdn/7R4S3W2C.js +4 -0
- package/dist/cdn/7R54WSCE.js +4 -0
- package/dist/cdn/{W27IVKQB.js → 7US6JSMJ.js} +2 -2
- package/dist/cdn/{JMBRVULG.js → 7WAXYRSU.js} +1 -1
- package/dist/cdn/{TD6AD5EI.js → 7WL4SE5M.js} +2 -2
- package/dist/cdn/7WLAV6HY.js +4 -0
- package/dist/cdn/7XXOSP75.js +4 -0
- package/dist/cdn/{G2GOVHN3.js → A3A6X2NL.js} +2 -2
- package/dist/cdn/A6ZPQJXM.js +4 -0
- package/dist/cdn/AHTGIE6G.js +4 -0
- package/dist/cdn/ATKGH7IS.js +4 -0
- package/dist/cdn/{2AGC2E2A.js → AV5IOBRP.js} +1 -1
- package/dist/cdn/AV7L4UBA.js +6 -0
- package/dist/cdn/B5NY2355.js +4 -0
- package/dist/cdn/B7CHYGOH.js +4 -0
- package/dist/cdn/BBXTYAEW.js +4 -0
- package/dist/cdn/BJUYGTFX.js +4 -0
- package/dist/cdn/{ZO47J4SF.js → BLF7FOZ4.js} +2 -2
- package/dist/cdn/{FJRLFAV3.js → BMO4PIO3.js} +2 -2
- package/dist/cdn/{RSXQODLF.js → BO7RWDLN.js} +1 -1
- package/dist/cdn/{HHPE3V3P.js → BQ7EQMVM.js} +1 -1
- package/dist/cdn/BXGAAXJB.js +4 -0
- package/dist/cdn/C4GRY2N6.js +4 -0
- package/dist/cdn/C7Z5ZNS7.js +4 -0
- package/dist/cdn/CFC6PZBD.js +4 -0
- package/dist/cdn/{SIZHEZFC.js → CFRBGPKS.js} +2 -2
- package/dist/cdn/CIYA6RIS.js +4 -0
- package/dist/cdn/CKBBO7T6.js +4 -0
- package/dist/cdn/{ZECN3PBJ.js → CYEJP7UZ.js} +2 -2
- package/dist/cdn/{DQPHOZVE.js → DLRNBAYK.js} +2 -2
- package/dist/cdn/{BUCELS63.js → DNFHD6RZ.js} +2 -2
- package/dist/cdn/DYIFNCUK.js +4 -0
- package/dist/cdn/E53IBBUJ.js +4 -0
- package/dist/cdn/{YF2DZVME.js → E5YKMDDQ.js} +2 -2
- package/dist/cdn/EKW7L242.js +4 -0
- package/dist/cdn/{A34NQHKK.js → EPSNP35N.js} +2 -2
- package/dist/cdn/EXBDPRCM.js +4 -0
- package/dist/cdn/{27Z62B4S.js → EYVRD7GH.js} +2 -2
- package/dist/cdn/{GGTQSQWQ.js → EZR4TKVZ.js} +2 -2
- package/dist/cdn/{5FQE2VT2.js → F3R6TNQ5.js} +2 -2
- package/dist/cdn/{DR6OKLYZ.js → FII3JHOO.js} +1 -1
- package/dist/cdn/FQT5FGEM.js +4 -0
- package/dist/cdn/{VCL4ZW5N.js → FR2Y7QS2.js} +2 -2
- package/dist/cdn/FWOTIYFT.js +4 -0
- package/dist/cdn/{H67BYVJX.js → FY5CJC2S.js} +2 -2
- package/dist/cdn/{OD4IQAQI.js → G67UBCZK.js} +2 -2
- package/dist/cdn/GH6XBUDA.js +4 -0
- package/dist/cdn/GI4VYRCL.js +4 -0
- package/dist/cdn/GOFCATWL.js +4 -0
- package/dist/cdn/{6WB75II3.js → GRTFNVPD.js} +1 -1
- package/dist/cdn/{ZJ74HVOR.js → H4IEAPAT.js} +1 -1
- package/dist/cdn/HA3RMWDQ.js +4 -0
- package/dist/cdn/HHB32MLL.js +4 -0
- package/dist/cdn/HI2VSF7D.js +4 -0
- package/dist/cdn/HK3UQAHO.js +4 -0
- package/dist/cdn/HKFJSU6X.js +4 -0
- package/dist/cdn/HLKC3UY7.js +4 -0
- package/dist/cdn/HN7Z2GYY.js +4 -0
- package/dist/cdn/HSEB47OH.js +4 -0
- package/dist/cdn/IFNJXEWZ.js +4 -0
- package/dist/cdn/IGFUJDST.js +4 -0
- package/dist/cdn/{WNUZQLQE.js → IH3LZYK3.js} +2 -2
- package/dist/cdn/IO2ES6KG.js +4 -0
- package/dist/cdn/{4IZLBEPM.js → IPHCBICP.js} +2 -2
- package/dist/cdn/IREUAMPO.js +4 -0
- package/dist/cdn/ITNTZ2CQ.js +4 -0
- package/dist/cdn/IXB3ZPET.js +4 -0
- package/dist/cdn/{W5M5BHTY.js → JFQFCJXD.js} +2 -2
- package/dist/cdn/JGNQYPTC.js +4 -0
- package/dist/cdn/JJ5UTXC6.js +4 -0
- package/dist/cdn/{SHP6HZ4F.js → JU4MG3HE.js} +1 -1
- package/dist/cdn/JUGRG2UF.js +4 -0
- package/dist/cdn/{3W5ZYWHT.js → JUR3KAZU.js} +2 -2
- package/dist/cdn/{WEYLGWSU.js → KS7DYOBQ.js} +1 -1
- package/dist/cdn/{ZRJLSGHU.js → LB4O7HLK.js} +2 -2
- package/dist/cdn/{N3RKNEND.js → LQDGQWTS.js} +1 -1
- package/dist/cdn/{44JXDBEE.js → LUFIZ6IH.js} +2 -2
- package/dist/cdn/{N567VRAS.js → M2UD6ERG.js} +2 -2
- package/dist/cdn/{3VH4T3EI.js → M5C3MGYN.js} +2 -2
- package/dist/cdn/MB3DZZDW.js +4 -0
- package/dist/cdn/{WRAGXN7Q.js → MCMBJPA6.js} +2 -2
- package/dist/cdn/MJ4AOQMM.js +4 -0
- package/dist/cdn/{OHLCQBIC.js → MJR6BSS4.js} +2 -2
- package/dist/cdn/MTM45MBT.js +4 -0
- package/dist/cdn/MZMUXQOC.js +4 -0
- package/dist/cdn/{UQRII527.js → NBVWN7EK.js} +2 -2
- package/dist/cdn/{443RUJPF.js → NCFS6SSA.js} +2 -2
- package/dist/cdn/NTJ6PBIH.js +4 -0
- package/dist/cdn/{5VIWACFF.js → O42TMGJK.js} +2 -2
- package/dist/cdn/O55TIJ53.js +4 -0
- package/dist/cdn/{RSOLGJJV.js → OHVOYE6U.js} +2 -2
- package/dist/cdn/PHCANMRC.js +4 -0
- package/dist/cdn/PIGJ5HOE.js +4 -0
- package/dist/cdn/{DCPKHB47.js → PSBH4GTB.js} +1 -1
- package/dist/cdn/{XVQOZFUR.js → QM3DXYRV.js} +1 -1
- package/dist/cdn/QSHMHWTC.js +4 -0
- package/dist/cdn/QUTFDDR5.js +4 -0
- package/dist/cdn/{VBCIFWTC.js → QXU3JCRU.js} +1 -1
- package/dist/cdn/{HQS62SHL.js → R7LEUYDR.js} +2 -2
- package/dist/cdn/{SDZZBMGK.js → RESUGFNC.js} +2 -2
- package/dist/cdn/{KD2UN6WI.js → RHBBVOWN.js} +2 -2
- package/dist/cdn/{GAS7B4AA.js → RQ5CXOYU.js} +2 -2
- package/dist/cdn/RW7HH46K.js +4 -0
- package/dist/cdn/RXFO3FLJ.js +4 -0
- package/dist/cdn/S7XRP64G.js +4 -0
- package/dist/cdn/{GKUCM7CJ.js → SFTBL5PA.js} +1 -1
- package/dist/cdn/SJKPU6NF.js +4 -0
- package/dist/cdn/SM4645HQ.js +4 -0
- package/dist/cdn/{YFL4XZ7D.js → SNXOUIQ6.js} +2 -2
- package/dist/cdn/{ZCR4HC5N.js → SO6CE3FY.js} +2 -2
- package/dist/cdn/{NVFRV7WX.js → SOVMTSNG.js} +2 -2
- package/dist/cdn/{TUGRNGA3.js → SYCBIZ3L.js} +2 -2
- package/dist/cdn/{Y4YON7UH.js → TJMJXN62.js} +2 -2
- package/dist/cdn/TLQNJY62.js +4 -0
- package/dist/cdn/TSWOBVCO.js +4 -0
- package/dist/cdn/{HB2GQ2ZT.js → TZLLB5DY.js} +2 -2
- package/dist/cdn/{N4X2SUPH.js → U3W7QUML.js} +1 -1
- package/dist/cdn/UCWSOYC7.js +4 -0
- package/dist/cdn/{AYL37VVP.js → UJC5XP2H.js} +1 -1
- package/dist/cdn/{5THE6KR4.js → UQ6GEIXA.js} +2 -2
- package/dist/cdn/UXGZ2JJF.js +4 -0
- package/dist/cdn/UYF4A3HX.js +4 -0
- package/dist/cdn/{FLRMDNB3.js → V563Z72W.js} +1 -1
- package/dist/cdn/V77W63CS.js +4 -0
- package/dist/cdn/{2J5QIOQO.js → VKSF6MXC.js} +2 -2
- package/dist/cdn/VPQKVJQQ.js +4 -0
- package/dist/cdn/VZEBTLI4.js +4 -0
- package/dist/cdn/{KQYSUPD4.js → W7BILVDR.js} +2 -2
- package/dist/cdn/WECKEBH5.js +4 -0
- package/dist/cdn/WPAMRSZA.js +4 -0
- package/dist/cdn/WPJFMCX2.js +4 -0
- package/dist/cdn/{4F7SREIE.js → WUQLDFYJ.js} +2 -2
- package/dist/cdn/{HMOGV7KN.js → X7TGPXU3.js} +1 -1
- package/dist/cdn/{IYLXQNN2.js → XBC42ZK6.js} +1 -1
- package/dist/cdn/{UDFAE3GX.js → XDF3XML4.js} +1 -1
- package/dist/cdn/{AS7O44LO.js → XL6MDXH4.js} +1 -1
- package/dist/cdn/{EWTYHCAD.js → XWG6YFT3.js} +2 -2
- package/dist/cdn/{OVSU2B6W.js → XYXIQ2VY.js} +2 -2
- package/dist/cdn/{AGOTCJQO.js → YEA4ZE2P.js} +2 -2
- package/dist/cdn/YRA7WKPH.js +4 -0
- package/dist/cdn/{K3AZDUKB.js → YSVYXVUV.js} +2 -2
- package/dist/cdn/{Q2BZML3I.js → Z5NECB2Q.js} +2 -2
- package/dist/cdn/{SH7PLKMA.js → ZA4YMZJW.js} +2 -2
- package/dist/cdn/ZB4O7MXT.js +4 -0
- package/dist/cdn/ZHGBDUH7.js +4 -0
- package/dist/cdn/{4KTW44HR.js → ZIHWRZLV.js} +1 -1
- package/dist/cdn/ZPXFDFLJ.js +4 -0
- package/dist/cdn/{V6MU7CUF.js → ZQAOUB3H.js} +1 -1
- package/dist/cdn/ZTLZHJWE.js +4 -0
- package/dist/cdn/{J2UFOIPQ.js → ZW6R3CDI.js} +2 -2
- package/dist/cdn/index.js +3 -3
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/ExpandToggle.js +3 -3
- package/dist/chunks/FloatingArrow.js +1 -1
- package/dist/chunks/Heading.js +1 -1
- package/dist/chunks/InternalLabel.js +1 -1
- package/dist/chunks/Validation.js +1 -1
- package/dist/chunks/array.js +1 -1
- package/dist/chunks/component.js +1 -1
- package/dist/chunks/core.js +5 -5
- package/dist/chunks/date.js +12 -12
- package/dist/chunks/dom.js +27 -27
- package/dist/chunks/dynamicClasses.js +1 -1
- package/dist/chunks/filter.js +1 -1
- package/dist/chunks/floating-ui.js +4 -4
- package/dist/chunks/form.js +2 -2
- package/dist/chunks/global.js +1 -1
- package/dist/chunks/guid.js +1 -1
- package/dist/chunks/header.js +1 -1
- package/dist/chunks/input.js +1 -1
- package/dist/chunks/interact.min.js +1 -1
- package/dist/chunks/key.js +1 -1
- package/dist/chunks/label.js +2 -2
- package/dist/chunks/locale.js +3 -3
- package/dist/chunks/logger.js +2 -2
- package/dist/chunks/math.js +1 -1
- package/dist/chunks/observers.js +1 -1
- package/dist/chunks/openCloseComponent.js +2 -2
- package/dist/chunks/resources.js +17 -12
- package/dist/chunks/resources2.js +8 -16
- package/dist/chunks/resources3.js +14 -53
- package/dist/chunks/resources4.js +57 -14
- package/dist/chunks/resources5.js +44 -50
- package/dist/chunks/resources6.js +10 -54
- package/dist/chunks/resources7.js +12 -10
- package/dist/chunks/resources8.js +55 -8
- package/dist/chunks/responsive.js +1 -1
- package/dist/chunks/runtime.js +8 -8
- package/dist/chunks/sortable.js +1 -1
- package/dist/chunks/sortableComponent.js +1 -1
- package/dist/chunks/text.js +1 -1
- package/dist/chunks/useCancelable.js +1 -1
- package/dist/chunks/useFocusTrap.js +3 -3
- package/dist/chunks/useInteractive.js +1 -1
- package/dist/chunks/usePreventDocumentScroll.js +1 -1
- package/dist/chunks/useSetFocus.js +2 -2
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/useTime.js +2 -2
- package/dist/chunks/useTopLayer.js +1 -1
- package/dist/chunks/utils.js +18 -18
- package/dist/chunks/utils2.js +47 -42
- package/dist/chunks/utils3.js +2 -2
- package/dist/chunks/utils4.js +42 -47
- package/dist/components/calcite-accordion/customElement.d.ts +48 -42
- package/dist/components/calcite-accordion/customElement.js +1 -1
- package/dist/components/calcite-accordion-item/customElement.d.ts +62 -48
- package/dist/components/calcite-accordion-item/customElement.js +2 -2
- package/dist/components/calcite-accordion-item/index.d.ts +0 -1
- package/dist/components/calcite-action/customElement.d.ts +131 -119
- package/dist/components/calcite-action/customElement.js +1 -1
- package/dist/components/calcite-action/index.d.ts +0 -2
- package/dist/components/calcite-action-bar/customElement.d.ts +100 -90
- package/dist/components/calcite-action-bar/customElement.js +5 -4
- package/dist/components/calcite-action-bar/index.d.ts +0 -2
- package/dist/components/calcite-action-group/customElement.d.ts +93 -82
- package/dist/components/calcite-action-group/customElement.js +7 -6
- package/dist/components/calcite-action-group/index.d.ts +0 -2
- package/dist/components/calcite-action-group/interfaces.d.ts +1 -1
- package/dist/components/calcite-action-menu/customElement.d.ts +81 -69
- package/dist/components/calcite-action-menu/customElement.js +6 -7
- package/dist/components/calcite-action-menu/index.d.ts +0 -2
- package/dist/components/calcite-action-pad/customElement.d.ts +86 -78
- package/dist/components/calcite-action-pad/customElement.js +5 -4
- package/dist/components/calcite-action-pad/index.d.ts +0 -2
- package/dist/components/calcite-alert/customElement.d.ts +106 -102
- package/dist/components/calcite-alert/customElement.js +3 -3
- package/dist/components/calcite-alert/index.d.ts +0 -3
- package/dist/components/calcite-alert/interfaces.d.ts +2 -1
- package/dist/components/calcite-autocomplete/customElement.d.ts +247 -230
- package/dist/components/calcite-autocomplete/customElement.js +4 -4
- package/dist/components/calcite-autocomplete/index.d.ts +0 -2
- package/dist/components/calcite-autocomplete-item/customElement.d.ts +38 -31
- package/dist/components/calcite-autocomplete-item/customElement.js +2 -2
- package/dist/components/calcite-autocomplete-item/index.d.ts +0 -1
- package/dist/components/calcite-autocomplete-item-group/customElement.d.ts +24 -20
- package/dist/components/calcite-autocomplete-item-group/customElement.js +1 -1
- package/dist/components/calcite-avatar/customElement.d.ts +25 -20
- package/dist/components/calcite-avatar/customElement.js +3 -3
- package/dist/components/calcite-avatar/index.d.ts +0 -1
- package/dist/components/calcite-block/customElement.d.ts +175 -151
- package/dist/components/calcite-block/customElement.js +6 -5
- package/dist/components/calcite-block/index.d.ts +0 -5
- package/dist/components/calcite-block-group/customElement.d.ts +78 -77
- package/dist/components/calcite-block-group/customElement.js +2 -2
- package/dist/components/calcite-block-group/index.d.ts +0 -1
- package/dist/components/calcite-block-group/interfaces.d.ts +8 -13
- package/dist/components/calcite-block-section/customElement.d.ts +81 -75
- package/dist/components/calcite-block-section/customElement.js +2 -2
- package/dist/components/calcite-block-section/index.d.ts +0 -2
- package/dist/components/calcite-block-section/interfaces.d.ts +1 -1
- package/dist/components/calcite-button/customElement.d.ts +121 -123
- package/dist/components/calcite-button/customElement.js +2 -2
- package/dist/components/calcite-button/index.d.ts +0 -2
- package/dist/components/calcite-button/interfaces.d.ts +2 -1
- package/dist/components/calcite-card/customElement.d.ts +66 -56
- package/dist/components/calcite-card/customElement.js +2 -2
- package/dist/components/calcite-card/index.d.ts +0 -4
- package/dist/components/calcite-card-group/customElement.d.ts +42 -37
- package/dist/components/calcite-card-group/customElement.js +2 -2
- package/dist/components/calcite-carousel/customElement.d.ts +87 -91
- package/dist/components/calcite-carousel/customElement.js +2 -2
- package/dist/components/calcite-carousel/index.d.ts +0 -2
- package/dist/components/calcite-carousel/interfaces.d.ts +2 -1
- package/dist/components/calcite-carousel-item/customElement.d.ts +15 -15
- package/dist/components/calcite-carousel-item/customElement.js +1 -1
- package/dist/components/calcite-checkbox/customElement.d.ts +86 -88
- package/dist/components/calcite-checkbox/customElement.js +1 -1
- package/dist/components/calcite-chip/customElement.d.ts +95 -90
- package/dist/components/calcite-chip/customElement.js +2 -2
- package/dist/components/calcite-chip/index.d.ts +0 -2
- package/dist/components/calcite-chip-group/customElement.d.ts +51 -50
- package/dist/components/calcite-chip-group/customElement.js +2 -2
- package/dist/components/calcite-color-picker/customElement.d.ts +139 -141
- package/dist/components/calcite-color-picker/customElement.js +3 -3
- package/dist/components/calcite-color-picker/index.d.ts +0 -9
- package/dist/components/calcite-color-picker/interfaces.d.ts +24 -19
- package/dist/components/calcite-color-picker/utils.d.ts +12 -36
- package/dist/components/calcite-color-picker-hex-input/customElement.d.ts +48 -49
- package/dist/components/calcite-color-picker-hex-input/customElement.js +2 -2
- package/dist/components/calcite-color-picker-hex-input/index.d.ts +0 -2
- package/dist/components/calcite-color-picker-swatch/customElement.d.ts +22 -23
- package/dist/components/calcite-color-picker-swatch/customElement.js +3 -3
- package/dist/components/calcite-combobox/customElement.d.ts +227 -233
- package/dist/components/calcite-combobox/customElement.js +6 -6
- package/dist/components/calcite-combobox/index.d.ts +0 -4
- package/dist/components/calcite-combobox/interfaces.d.ts +6 -15
- package/dist/components/calcite-combobox-item/customElement.d.ts +78 -69
- package/dist/components/calcite-combobox-item/customElement.js +4 -4
- package/dist/components/calcite-combobox-item/index.d.ts +0 -1
- package/dist/components/calcite-combobox-item-group/customElement.d.ts +24 -21
- package/dist/components/calcite-combobox-item-group/customElement.js +2 -2
- package/dist/components/calcite-date-picker/customElement.d.ts +117 -95
- package/dist/components/calcite-date-picker/customElement.js +2 -2
- package/dist/components/calcite-date-picker/index.d.ts +0 -1
- package/dist/components/calcite-date-picker-day/customElement.d.ts +75 -76
- package/dist/components/calcite-date-picker-day/customElement.js +3 -3
- package/dist/components/calcite-date-picker-month/customElement.d.ts +38 -41
- package/dist/components/calcite-date-picker-month/customElement.js +2 -2
- package/dist/components/calcite-date-picker-month/index.d.ts +0 -2
- package/dist/components/calcite-date-picker-month-header/customElement.js +3 -3
- package/dist/components/calcite-dialog/customElement.d.ts +218 -193
- package/dist/components/calcite-dialog/customElement.js +5 -5
- package/dist/components/calcite-dialog/index.d.ts +0 -2
- package/dist/components/calcite-dialog/interfaces.d.ts +1 -11
- package/dist/components/calcite-dropdown/customElement.d.ts +126 -120
- package/dist/components/calcite-dropdown/customElement.js +3 -3
- package/dist/components/calcite-dropdown-group/customElement.d.ts +30 -28
- package/dist/components/calcite-dropdown-group/customElement.js +2 -2
- package/dist/components/calcite-dropdown-item/customElement.d.ts +56 -48
- package/dist/components/calcite-dropdown-item/customElement.js +2 -2
- package/dist/components/calcite-dropdown-item/index.d.ts +0 -1
- package/dist/components/calcite-fab/customElement.d.ts +72 -65
- package/dist/components/calcite-fab/customElement.js +1 -1
- package/dist/components/calcite-fab/index.d.ts +0 -1
- package/dist/components/calcite-filter/customElement.d.ts +75 -64
- package/dist/components/calcite-filter/customElement.js +1 -1
- package/dist/components/calcite-filter/index.d.ts +0 -1
- package/dist/components/calcite-flow/customElement.d.ts +23 -22
- package/dist/components/calcite-flow/customElement.js +2 -2
- package/dist/components/calcite-flow/interfaces.d.ts +6 -4
- package/dist/components/calcite-flow/types/index.d.ts +2 -1
- package/dist/components/calcite-flow-item/customElement.d.ts +177 -143
- package/dist/components/calcite-flow-item/customElement.js +5 -4
- package/dist/components/calcite-flow-item/index.d.ts +0 -2
- package/dist/components/calcite-graph/customElement.d.ts +31 -30
- package/dist/components/calcite-graph/customElement.js +1 -1
- package/dist/components/calcite-graph/interfaces.d.ts +10 -19
- package/dist/components/calcite-handle/customElement.d.ts +51 -49
- package/dist/components/calcite-handle/customElement.js +1 -1
- package/dist/components/calcite-handle/index.d.ts +0 -1
- package/dist/components/calcite-handle/interfaces.d.ts +2 -5
- package/dist/components/calcite-icon/customElement.d.ts +39 -36
- package/dist/components/calcite-icon/customElement.js +1 -1
- package/dist/components/calcite-icon/interfaces.d.ts +9 -6
- package/dist/components/calcite-inline-editable/customElement.d.ts +66 -63
- package/dist/components/calcite-inline-editable/customElement.js +2 -2
- package/dist/components/calcite-inline-editable/index.d.ts +0 -1
- package/dist/components/calcite-input/customElement.d.ts +243 -231
- package/dist/components/calcite-input/customElement.js +4 -4
- package/dist/components/calcite-input/index.d.ts +0 -3
- package/dist/components/calcite-input/interfaces.d.ts +1 -4
- package/dist/components/calcite-input-date-picker/customElement.d.ts +233 -209
- package/dist/components/calcite-input-date-picker/customElement.js +4 -4
- package/dist/components/calcite-input-date-picker/index.d.ts +0 -4
- package/dist/components/calcite-input-message/customElement.d.ts +28 -26
- package/dist/components/calcite-input-message/customElement.js +2 -2
- package/dist/components/calcite-input-message/index.d.ts +0 -1
- package/dist/components/calcite-input-number/customElement.d.ts +217 -204
- package/dist/components/calcite-input-number/customElement.js +4 -4
- package/dist/components/calcite-input-number/index.d.ts +0 -3
- package/dist/components/calcite-input-text/customElement.d.ts +180 -167
- package/dist/components/calcite-input-text/customElement.js +3 -3
- package/dist/components/calcite-input-text/index.d.ts +0 -3
- package/dist/components/calcite-input-time-picker/customElement.d.ts +196 -195
- package/dist/components/calcite-input-time-picker/customElement.js +1 -1
- package/dist/components/calcite-input-time-picker/index.d.ts +0 -4
- package/dist/components/calcite-input-time-zone/customElement.d.ts +762 -1363
- package/dist/components/calcite-input-time-zone/customElement.js +5 -4
- package/dist/components/calcite-input-time-zone/index.d.ts +0 -3
- package/dist/components/calcite-input-time-zone/interfaces.d.ts +2 -24
- package/dist/components/calcite-label/customElement.d.ts +29 -26
- package/dist/components/calcite-label/customElement.js +1 -1
- package/dist/components/calcite-link/customElement.d.ts +39 -39
- package/dist/components/calcite-link/customElement.js +1 -1
- package/dist/components/calcite-link/index.d.ts +0 -1
- package/dist/components/calcite-list/customElement.d.ts +180 -181
- package/dist/components/calcite-list/customElement.js +4 -4
- package/dist/components/calcite-list/index.d.ts +0 -3
- package/dist/components/calcite-list/interfaces.d.ts +9 -15
- package/dist/components/calcite-list/resources.d.ts +1 -16
- package/dist/components/calcite-list-item/customElement.d.ts +141 -125
- package/dist/components/calcite-list-item/customElement.js +7 -6
- package/dist/components/calcite-list-item/index.d.ts +0 -3
- package/dist/components/calcite-list-item/interfaces.d.ts +8 -7
- package/dist/components/calcite-list-item-group/customElement.d.ts +24 -20
- package/dist/components/calcite-list-item-group/customElement.js +2 -2
- package/dist/components/calcite-loader/customElement.d.ts +57 -43
- package/dist/components/calcite-loader/customElement.js +1 -1
- package/dist/components/calcite-menu/customElement.d.ts +25 -32
- package/dist/components/calcite-menu/customElement.js +2 -2
- package/dist/components/calcite-menu-item/customElement.d.ts +76 -72
- package/dist/components/calcite-menu-item/customElement.js +2 -2
- package/dist/components/calcite-menu-item/index.d.ts +0 -3
- package/dist/components/calcite-meter/customElement.d.ts +114 -109
- package/dist/components/calcite-meter/customElement.js +2 -2
- package/dist/components/calcite-meter/interfaces.d.ts +2 -1
- package/dist/components/calcite-navigation/customElement.d.ts +27 -21
- package/dist/components/calcite-navigation/customElement.js +2 -2
- package/dist/components/calcite-navigation/index.d.ts +0 -1
- package/dist/components/calcite-navigation-logo/customElement.d.ts +56 -51
- package/dist/components/calcite-navigation-logo/customElement.js +1 -1
- package/dist/components/calcite-navigation-logo/index.d.ts +0 -1
- package/dist/components/calcite-navigation-user/customElement.d.ts +40 -33
- package/dist/components/calcite-navigation-user/customElement.js +1 -1
- package/dist/components/calcite-navigation-user/index.d.ts +0 -1
- package/dist/components/calcite-notice/customElement.d.ts +84 -73
- package/dist/components/calcite-notice/customElement.js +3 -3
- package/dist/components/calcite-notice/index.d.ts +0 -2
- package/dist/components/calcite-option/customElement.d.ts +19 -20
- package/dist/components/calcite-option/customElement.js +1 -1
- package/dist/components/calcite-option-group/customElement.d.ts +15 -16
- package/dist/components/calcite-option-group/customElement.js +1 -1
- package/dist/components/calcite-pagination/customElement.d.ts +74 -77
- package/dist/components/calcite-pagination/customElement.js +1 -1
- package/dist/components/calcite-pagination/index.d.ts +0 -1
- package/dist/components/calcite-panel/customElement.d.ts +168 -142
- package/dist/components/calcite-panel/customElement.js +9 -8
- package/dist/components/calcite-panel/index.d.ts +0 -4
- package/dist/components/calcite-popover/customElement.d.ts +167 -162
- package/dist/components/calcite-popover/customElement.js +3 -3
- package/dist/components/calcite-popover/index.d.ts +0 -1
- package/dist/components/calcite-progress/customElement.d.ts +32 -27
- package/dist/components/calcite-progress/customElement.js +1 -1
- package/dist/components/calcite-radio-button/customElement.d.ts +68 -68
- package/dist/components/calcite-radio-button/customElement.js +1 -1
- package/dist/components/calcite-radio-button-group/customElement.d.ts +67 -69
- package/dist/components/calcite-radio-button-group/customElement.js +1 -1
- package/dist/components/calcite-radio-button-group/index.d.ts +0 -1
- package/dist/components/calcite-rating/customElement.d.ts +90 -91
- package/dist/components/calcite-rating/customElement.js +1 -1
- package/dist/components/calcite-rating/index.d.ts +0 -3
- package/dist/components/calcite-scrim/customElement.d.ts +15 -18
- package/dist/components/calcite-scrim/customElement.js +2 -2
- package/dist/components/calcite-scrim/index.d.ts +0 -1
- package/dist/components/calcite-segmented-control/customElement.d.ts +89 -98
- package/dist/components/calcite-segmented-control/customElement.js +2 -2
- package/dist/components/calcite-segmented-control/index.d.ts +0 -1
- package/dist/components/calcite-segmented-control-item/customElement.d.ts +29 -24
- package/dist/components/calcite-segmented-control-item/customElement.js +2 -2
- package/dist/components/calcite-segmented-control-item/index.d.ts +0 -1
- package/dist/components/calcite-select/customElement.d.ts +90 -92
- package/dist/components/calcite-select/customElement.js +1 -1
- package/dist/components/calcite-select/index.d.ts +0 -2
- package/dist/components/calcite-sheet/customElement.d.ts +142 -127
- package/dist/components/calcite-sheet/customElement.js +3 -3
- package/dist/components/calcite-sheet/index.d.ts +0 -2
- package/dist/components/calcite-sheet/interfaces.d.ts +1 -9
- package/dist/components/calcite-shell/customElement.d.ts +10 -10
- package/dist/components/calcite-shell/customElement.js +2 -2
- package/dist/components/calcite-shell-panel/customElement.d.ts +91 -81
- package/dist/components/calcite-shell-panel/customElement.js +3 -3
- package/dist/components/calcite-shell-panel/index.d.ts +0 -1
- package/dist/components/calcite-shell-panel/interfaces.d.ts +1 -9
- package/dist/components/calcite-slider/customElement.d.ts +194 -192
- package/dist/components/calcite-slider/customElement.js +2 -2
- package/dist/components/calcite-slider/index.d.ts +0 -2
- package/dist/components/calcite-sort-handle/customElement.d.ts +111 -106
- package/dist/components/calcite-sort-handle/customElement.js +5 -4
- package/dist/components/calcite-sort-handle/index.d.ts +0 -4
- package/dist/components/calcite-sort-handle/interfaces.d.ts +11 -7
- package/dist/components/calcite-sortable-list/customElement.d.ts +46 -44
- package/dist/components/calcite-sortable-list/customElement.js +2 -2
- package/dist/components/calcite-split-button/customElement.d.ts +141 -114
- package/dist/components/calcite-split-button/customElement.js +4 -3
- package/dist/components/calcite-split-button/index.d.ts +0 -2
- package/dist/components/calcite-stack/customElement.d.ts +11 -9
- package/dist/components/calcite-stack/customElement.js +3 -3
- package/dist/components/calcite-stepper/customElement.d.ts +68 -65
- package/dist/components/calcite-stepper/customElement.js +2 -2
- package/dist/components/calcite-stepper/index.d.ts +0 -1
- package/dist/components/calcite-stepper/interfaces.d.ts +1 -10
- package/dist/components/calcite-stepper-item/customElement.d.ts +76 -63
- package/dist/components/calcite-stepper-item/customElement.js +2 -2
- package/dist/components/calcite-stepper-item/index.d.ts +0 -1
- package/dist/components/calcite-swatch/customElement.d.ts +51 -48
- package/dist/components/calcite-swatch/customElement.js +3 -3
- package/dist/components/calcite-swatch-group/customElement.d.ts +54 -50
- package/dist/components/calcite-swatch-group/customElement.js +2 -2
- package/dist/components/calcite-switch/customElement.d.ts +59 -55
- package/dist/components/calcite-switch/customElement.js +1 -1
- package/dist/components/calcite-tab/customElement.d.ts +24 -21
- package/dist/components/calcite-tab/customElement.js +2 -2
- package/dist/components/calcite-tab-nav/customElement.d.ts +35 -33
- package/dist/components/calcite-tab-nav/customElement.js +3 -3
- package/dist/components/calcite-tab-nav/index.d.ts +0 -1
- package/dist/components/calcite-tab-title/customElement.d.ts +79 -66
- package/dist/components/calcite-tab-title/customElement.js +3 -3
- package/dist/components/calcite-tab-title/index.d.ts +0 -2
- package/dist/components/calcite-table/customElement.d.ts +145 -109
- package/dist/components/calcite-table/customElement.js +1 -1
- package/dist/components/calcite-table/index.d.ts +0 -3
- package/dist/components/calcite-table/interfaces.d.ts +3 -9
- package/dist/components/calcite-table-cell/customElement.d.ts +36 -40
- package/dist/components/calcite-table-cell/customElement.js +1 -1
- package/dist/components/calcite-table-header/customElement.d.ts +41 -45
- package/dist/components/calcite-table-header/customElement.js +1 -1
- package/dist/components/calcite-table-header/index.d.ts +0 -1
- package/dist/components/calcite-table-row/customElement.d.ts +32 -24
- package/dist/components/calcite-table-row/customElement.js +2 -2
- package/dist/components/calcite-table-row/index.d.ts +0 -3
- package/dist/components/calcite-tabs/customElement.d.ts +31 -32
- package/dist/components/calcite-tabs/customElement.js +2 -2
- package/dist/components/calcite-tabs/interfaces.d.ts +2 -2
- package/dist/components/calcite-text-area/customElement.d.ts +173 -170
- package/dist/components/calcite-text-area/customElement.js +2 -2
- package/dist/components/calcite-text-area/index.d.ts +0 -2
- package/dist/components/calcite-tile/customElement.d.ts +85 -75
- package/dist/components/calcite-tile/customElement.js +2 -2
- package/dist/components/calcite-tile/index.d.ts +0 -2
- package/dist/components/calcite-tile-group/customElement.d.ts +65 -64
- package/dist/components/calcite-tile-group/customElement.js +2 -2
- package/dist/components/calcite-time-picker/customElement.d.ts +76 -81
- package/dist/components/calcite-time-picker/customElement.js +1 -1
- package/dist/components/calcite-time-picker/index.d.ts +0 -1
- package/dist/components/calcite-tooltip/customElement.d.ts +97 -86
- package/dist/components/calcite-tooltip/customElement.js +3 -3
- package/dist/components/calcite-tree/customElement.d.ts +44 -42
- package/dist/components/calcite-tree/customElement.js +2 -2
- package/dist/components/calcite-tree-item/customElement.d.ts +43 -37
- package/dist/components/calcite-tree-item/customElement.js +2 -2
- package/dist/components/calcite-tree-item/index.d.ts +0 -1
- package/dist/components/functional/Heading.d.ts +1 -11
- package/dist/components/interfaces.d.ts +21 -17
- package/dist/controllers/useFocusTrap.d.ts +14 -88
- package/dist/controllers/useTime.d.ts +132 -158
- package/dist/docs/api.json +1 -56150
- package/dist/docs/docs.json +1 -47351
- package/dist/docs/vscode.css-custom-data.json +1 -2935
- package/dist/docs/vscode.html-custom-data.json +1 -9179
- package/dist/docs/web-types.json +1 -21826
- package/dist/index.d.ts +579 -1339
- package/dist/index.js +1 -1
- package/dist/loader.js +21 -21
- package/dist/types/components.d.ts +1 -0
- package/dist/types/lumina.d.ts +399 -399
- package/dist/types/preact.d.ts +399 -399
- package/dist/types/react.d.ts +399 -399
- package/dist/types/stencil.d.ts +399 -399
- package/dist/utils/config.d.ts +23 -25
- package/dist/utils/date.d.ts +4 -144
- package/dist/utils/dom.d.ts +13 -362
- package/dist/utils/floating-ui.d.ts +30 -176
- package/dist/utils/form.d.ts +3 -176
- package/dist/utils/locale.d.ts +7 -139
- package/dist/utils/logger.d.ts +1 -34
- package/dist/utils/sortableComponent.d.ts +6 -83
- package/dist/utils/time.d.ts +3 -85
- package/package.json +4 -4
- package/dist/cdn/2HFAAZTO.js +0 -4
- package/dist/cdn/2I4ATSWE.js +0 -4
- package/dist/cdn/2OY45PJT.js +0 -4
- package/dist/cdn/35RFJ5AR.js +0 -4
- package/dist/cdn/372INA47.js +0 -4
- package/dist/cdn/47UT3I3E.js +0 -4
- package/dist/cdn/5CUIYPOR.js +0 -4
- package/dist/cdn/5EIZAACQ.js +0 -4
- package/dist/cdn/6MCU7SX2.js +0 -4
- package/dist/cdn/7QQ5BSLI.js +0 -4
- package/dist/cdn/7WXMJLLU.js +0 -4
- package/dist/cdn/A2BMBHS3.js +0 -4
- package/dist/cdn/AHNYZFXI.js +0 -4
- package/dist/cdn/AS2G3D26.js +0 -4
- package/dist/cdn/AUZNPGEZ.js +0 -4
- package/dist/cdn/AWXWONBR.js +0 -4
- package/dist/cdn/B6M4Z2HO.js +0 -4
- package/dist/cdn/B6RTRHMX.js +0 -4
- package/dist/cdn/BAA6VTP5.js +0 -4
- package/dist/cdn/BBLLPSX5.js +0 -4
- package/dist/cdn/BFYLXRLX.js +0 -4
- package/dist/cdn/BQ4CS4F7.js +0 -4
- package/dist/cdn/CO22OFBZ.js +0 -4
- package/dist/cdn/CQNZ5ATE.js +0 -4
- package/dist/cdn/DCE225YX.js +0 -4
- package/dist/cdn/DNQP4PS6.js +0 -4
- package/dist/cdn/DOQSZTI6.js +0 -4
- package/dist/cdn/EGBV4NHV.js +0 -4
- package/dist/cdn/EMTATC4P.js +0 -4
- package/dist/cdn/ES5MO4ES.js +0 -4
- package/dist/cdn/FGBGC73H.js +0 -4
- package/dist/cdn/FKX7SDEV.js +0 -4
- package/dist/cdn/FRXSKQA2.js +0 -4
- package/dist/cdn/G6APIJDA.js +0 -4
- package/dist/cdn/GZMCRL2R.js +0 -4
- package/dist/cdn/HD5WG7ZY.js +0 -4
- package/dist/cdn/HJX43SUP.js +0 -4
- package/dist/cdn/HSZUTMKA.js +0 -4
- package/dist/cdn/J3GJJNXH.js +0 -4
- package/dist/cdn/J3HNS3RZ.js +0 -4
- package/dist/cdn/JWABES6D.js +0 -4
- package/dist/cdn/K2S5PVCI.js +0 -4
- package/dist/cdn/KJCHEWAL.js +0 -4
- package/dist/cdn/KKGKTAKU.js +0 -4
- package/dist/cdn/KMWJIIC3.js +0 -4
- package/dist/cdn/KTAAH254.js +0 -4
- package/dist/cdn/KTDO5SNN.js +0 -4
- package/dist/cdn/LF5IEQJP.js +0 -4
- package/dist/cdn/LRSCQ6YR.js +0 -4
- package/dist/cdn/LS5EUB3C.js +0 -4
- package/dist/cdn/M4EKS42T.js +0 -4
- package/dist/cdn/M67KIEKG.js +0 -4
- package/dist/cdn/MDSMEJJ3.js +0 -4
- package/dist/cdn/MEAN6JGQ.js +0 -4
- package/dist/cdn/MK3IUHB2.js +0 -4
- package/dist/cdn/MWEBU3FS.js +0 -4
- package/dist/cdn/MZLFAJEF.js +0 -4
- package/dist/cdn/N4GVSAZA.js +0 -4
- package/dist/cdn/NRJ54UC7.js +0 -4
- package/dist/cdn/OCN43BDV.js +0 -6
- package/dist/cdn/OPY7Q4TW.js +0 -4
- package/dist/cdn/P4CPH2QP.js +0 -4
- package/dist/cdn/Q74VTXIZ.js +0 -4
- package/dist/cdn/QCYHN5ID.js +0 -4
- package/dist/cdn/QIQJVJGJ.js +0 -4
- package/dist/cdn/QVKM6C62.js +0 -4
- package/dist/cdn/RA2KN42B.js +0 -4
- package/dist/cdn/RKAQME4Q.js +0 -4
- package/dist/cdn/SCEWR6OM.js +0 -4
- package/dist/cdn/TNP47VNC.js +0 -4
- package/dist/cdn/TVDR266V.js +0 -4
- package/dist/cdn/ULDANNO6.js +0 -4
- package/dist/cdn/UMR57GAV.js +0 -4
- package/dist/cdn/UPPDXPBZ.js +0 -4
- package/dist/cdn/VJATAAWA.js +0 -4
- package/dist/cdn/VSTDNGSU.js +0 -4
- package/dist/cdn/XE2TLPDQ.js +0 -4
- package/dist/cdn/XLDPYTFP.js +0 -4
- package/dist/cdn/XLRNHSEI.js +0 -4
- package/dist/cdn/XTVRXYU2.js +0 -4
- package/dist/cdn/XXNQVKV3.js +0 -4
- package/dist/cdn/YBMCIF6H.js +0 -4
- package/dist/cdn/YF3IQYEN.js +0 -4
- package/dist/cdn/YMLDOIVX.js +0 -4
- package/dist/cdn/YXM2I7DP.js +0 -4
- package/dist/cdn/Z2QAZFGD.js +0 -4
- package/dist/cdn/Z4SY6Y6G.js +0 -4
- package/dist/cdn/ZPKX6H36.js +0 -4
- package/dist/cdn/ZWHTMGLN.js +0 -4
- package/dist/components/calcite-accordion/interfaces.d.ts +0 -4
- package/dist/components/calcite-accordion/resources.d.ts +0 -4
- package/dist/components/calcite-accordion-item/interfaces.d.ts +0 -9
- package/dist/components/calcite-accordion-item/resources.d.ts +0 -35
- package/dist/components/calcite-action/resources.d.ts +0 -17
- package/dist/components/calcite-action-bar/resources.d.ts +0 -8
- package/dist/components/calcite-action-bar/utils.d.ts +0 -9
- package/dist/components/calcite-action-group/resources.d.ts +0 -9
- package/dist/components/calcite-action-menu/resources.d.ts +0 -15
- package/dist/components/calcite-action-pad/resources.d.ts +0 -7
- package/dist/components/calcite-alert/AlertManager.d.ts +0 -9
- package/dist/components/calcite-alert/resources.d.ts +0 -33
- package/dist/components/calcite-autocomplete/resources.d.ts +0 -20
- package/dist/components/calcite-autocomplete-item/resources.d.ts +0 -18
- package/dist/components/calcite-autocomplete-item-group/resources.d.ts +0 -9
- package/dist/components/calcite-avatar/resources.d.ts +0 -6
- package/dist/components/calcite-avatar/utils.d.ts +0 -20
- package/dist/components/calcite-block/resources.d.ts +0 -38
- package/dist/components/calcite-block/utils.d.ts +0 -2
- package/dist/components/calcite-block-group/resources.d.ts +0 -8
- package/dist/components/calcite-block-group/utils.d.ts +0 -2
- package/dist/components/calcite-block-section/resources.d.ts +0 -21
- package/dist/components/calcite-button/resources.d.ts +0 -14
- package/dist/components/calcite-card/resources.d.ts +0 -23
- package/dist/components/calcite-card-group/resources.d.ts +0 -4
- package/dist/components/calcite-carousel/resources.d.ts +0 -33
- package/dist/components/calcite-carousel-item/resources.d.ts +0 -7
- package/dist/components/calcite-checkbox/resources.d.ts +0 -4
- package/dist/components/calcite-chip/resources.d.ts +0 -23
- package/dist/components/calcite-color-picker/resources.d.ts +0 -93
- package/dist/components/calcite-color-picker-hex-input/resources.d.ts +0 -5
- package/dist/components/calcite-color-picker-swatch/resources.d.ts +0 -17
- package/dist/components/calcite-combobox/resources.d.ts +0 -48
- package/dist/components/calcite-combobox/utils.d.ts +0 -10
- package/dist/components/calcite-combobox-item/resources.d.ts +0 -22
- package/dist/components/calcite-combobox-item-group/resources.d.ts +0 -10
- package/dist/components/calcite-date-picker/resources.d.ts +0 -5
- package/dist/components/calcite-date-picker/utils.d.ts +0 -57
- package/dist/components/calcite-date-picker-day/resources.d.ts +0 -6
- package/dist/components/calcite-date-picker-month/resources.d.ts +0 -14
- package/dist/components/calcite-date-picker-month-header/customElement.d.ts +0 -27
- package/dist/components/calcite-date-picker-month-header/index.d.ts +0 -4
- package/dist/components/calcite-date-picker-month-header/resources.d.ts +0 -18
- package/dist/components/calcite-dialog/resources.d.ts +0 -29
- package/dist/components/calcite-dropdown/interfaces.d.ts +0 -4
- package/dist/components/calcite-dropdown/resources.d.ts +0 -12
- package/dist/components/calcite-dropdown-group/interfaces.d.ts +0 -6
- package/dist/components/calcite-dropdown-group/resources.d.ts +0 -5
- package/dist/components/calcite-dropdown-item/resources.d.ts +0 -11
- package/dist/components/calcite-fab/resources.d.ts +0 -5
- package/dist/components/calcite-filter/resources.d.ts +0 -7
- package/dist/components/calcite-flow/resources.d.ts +0 -5
- package/dist/components/calcite-flow-item/resources.d.ts +0 -19
- package/dist/components/calcite-graph/resources.d.ts +0 -10
- package/dist/components/calcite-graph/util.d.ts +0 -29
- package/dist/components/calcite-handle/resources.d.ts +0 -12
- package/dist/components/calcite-icon/resources.d.ts +0 -5
- package/dist/components/calcite-icon/utils.d.ts +0 -37
- package/dist/components/calcite-inline-editable/resources.d.ts +0 -12
- package/dist/components/calcite-input/common/input.d.ts +0 -31
- package/dist/components/calcite-input/common/tests.d.ts +0 -4
- package/dist/components/calcite-input/resources.d.ts +0 -37
- package/dist/components/calcite-input-date-picker/resources.d.ts +0 -31
- package/dist/components/calcite-input-date-picker/utils.d.ts +0 -8
- package/dist/components/calcite-input-message/interfaces.d.ts +0 -5
- package/dist/components/calcite-input-message/resources.d.ts +0 -3
- package/dist/components/calcite-input-number/resources.d.ts +0 -31
- package/dist/components/calcite-input-text/resources.d.ts +0 -22
- package/dist/components/calcite-input-time-picker/resources.d.ts +0 -25
- package/dist/components/calcite-input-time-zone/resources.d.ts +0 -6
- package/dist/components/calcite-input-time-zone/utils.d.ts +0 -22
- package/dist/components/calcite-label/resources.d.ts +0 -3
- package/dist/components/calcite-link/resources.d.ts +0 -5
- package/dist/components/calcite-list-item/resources.d.ts +0 -47
- package/dist/components/calcite-list-item/utils.d.ts +0 -13
- package/dist/components/calcite-list-item-group/resources.d.ts +0 -4
- package/dist/components/calcite-loader/interfaces.d.ts +0 -1
- package/dist/components/calcite-loader/resources.d.ts +0 -10
- package/dist/components/calcite-menu-item/interfaces.d.ts +0 -7
- package/dist/components/calcite-menu-item/resources.d.ts +0 -24
- package/dist/components/calcite-meter/resources.d.ts +0 -15
- package/dist/components/calcite-navigation/resources.d.ts +0 -23
- package/dist/components/calcite-navigation-logo/resources.d.ts +0 -10
- package/dist/components/calcite-navigation-user/resources.d.ts +0 -6
- package/dist/components/calcite-notice/resources.d.ts +0 -13
- package/dist/components/calcite-pagination/resources.d.ts +0 -12
- package/dist/components/calcite-panel/resources.d.ts +0 -48
- package/dist/components/calcite-popover/PopoverManager.d.ts +0 -23
- package/dist/components/calcite-popover/resources.d.ts +0 -16
- package/dist/components/calcite-progress/resources.d.ts +0 -5
- package/dist/components/calcite-radio-button/resources.d.ts +0 -4
- package/dist/components/calcite-radio-button-group/resources.d.ts +0 -6
- package/dist/components/calcite-rating/functional/star.d.ts +0 -3
- package/dist/components/calcite-rating/interfaces.d.ts +0 -17
- package/dist/components/calcite-rating/resources.d.ts +0 -17
- package/dist/components/calcite-scrim/resources.d.ts +0 -8
- package/dist/components/calcite-segmented-control/resources.d.ts +0 -6
- package/dist/components/calcite-segmented-control-item/resources.d.ts +0 -13
- package/dist/components/calcite-select/resources.d.ts +0 -9
- package/dist/components/calcite-sheet/resources.d.ts +0 -17
- package/dist/components/calcite-shell/interfaces.d.ts +0 -1
- package/dist/components/calcite-shell/resources.d.ts +0 -23
- package/dist/components/calcite-shell-panel/resources.d.ts +0 -21
- package/dist/components/calcite-slider/interfaces.d.ts +0 -11
- package/dist/components/calcite-slider/resources.d.ts +0 -35
- package/dist/components/calcite-sort-handle/resources.d.ts +0 -23
- package/dist/components/calcite-sortable-list/resources.d.ts +0 -6
- package/dist/components/calcite-split-button/resources.d.ts +0 -13
- package/dist/components/calcite-stack/resources.d.ts +0 -14
- package/dist/components/calcite-stepper/functional/step-bar.d.ts +0 -17
- package/dist/components/calcite-stepper/resources.d.ts +0 -18
- package/dist/components/calcite-stepper-item/resources.d.ts +0 -14
- package/dist/components/calcite-swatch/resources.d.ts +0 -28
- package/dist/components/calcite-swatch-group/resources.d.ts +0 -3
- package/dist/components/calcite-switch/resources.d.ts +0 -5
- package/dist/components/calcite-tab/interfaces.d.ts +0 -9
- package/dist/components/calcite-tab/resources.d.ts +0 -9
- package/dist/components/calcite-tab-nav/resources.d.ts +0 -16
- package/dist/components/calcite-tab-title/resources.d.ts +0 -17
- package/dist/components/calcite-table/resources.d.ts +0 -22
- package/dist/components/calcite-table-cell/resources.d.ts +0 -10
- package/dist/components/calcite-table-header/resources.d.ts +0 -17
- package/dist/components/calcite-table-row/resources.d.ts +0 -5
- package/dist/components/calcite-tabs/resources.d.ts +0 -6
- package/dist/components/calcite-text-area/interfaces.d.ts +0 -4
- package/dist/components/calcite-text-area/resources.d.ts +0 -33
- package/dist/components/calcite-tile/resources.d.ts +0 -22
- package/dist/components/calcite-tile-group/resources.d.ts +0 -3
- package/dist/components/calcite-time-picker/resources.d.ts +0 -38
- package/dist/components/calcite-tooltip/TooltipManager.d.ts +0 -38
- package/dist/components/calcite-tooltip/resources.d.ts +0 -11
- package/dist/components/calcite-tooltip/utils.d.ts +0 -3
- package/dist/components/calcite-tree/utils.d.ts +0 -4
- package/dist/components/calcite-tree-item/interfaces.d.ts +0 -9
- package/dist/components/calcite-tree-item/resources.d.ts +0 -19
- package/dist/components/functional/ExpandToggle.d.ts +0 -22
- package/dist/components/functional/FloatingArrow.d.ts +0 -20
- package/dist/components/functional/InternalLabel.d.ts +0 -26
- package/dist/components/functional/Validation.d.ts +0 -17
- package/dist/components/functional/XButton.d.ts +0 -17
- package/dist/components/resources.d.ts +0 -13
- package/dist/components/types.d.ts +0 -2
- package/dist/controllers/useCancelable.d.ts +0 -30
- package/dist/controllers/useInteractive.d.ts +0 -33
- package/dist/controllers/usePreventDocumentScroll.d.ts +0 -22
- package/dist/controllers/useSetFocus.d.ts +0 -18
- package/dist/controllers/useSizeOverride.d.ts +0 -44
- package/dist/controllers/useT9n.d.ts +0 -1
- package/dist/controllers/useTopLayer.d.ts +0 -34
- package/dist/custom-theme/accordion-item.d.ts +0 -9
- package/dist/custom-theme/accordion.d.ts +0 -8
- package/dist/custom-theme/action.d.ts +0 -27
- package/dist/custom-theme/alert.d.ts +0 -7
- package/dist/custom-theme/autocomplete.d.ts +0 -28
- package/dist/custom-theme/avatar.d.ts +0 -8
- package/dist/custom-theme/block-section.d.ts +0 -9
- package/dist/custom-theme/block.d.ts +0 -13
- package/dist/custom-theme/button.d.ts +0 -5
- package/dist/custom-theme/card.d.ts +0 -11
- package/dist/custom-theme/carousel.d.ts +0 -14
- package/dist/custom-theme/checkbox.d.ts +0 -8
- package/dist/custom-theme/chips.d.ts +0 -11
- package/dist/custom-theme/color-picker.d.ts +0 -22
- package/dist/custom-theme/combobox-item.d.ts +0 -12
- package/dist/custom-theme/combobox.d.ts +0 -20
- package/dist/custom-theme/date-picker.d.ts +0 -29
- package/dist/custom-theme/dialog.d.ts +0 -30
- package/dist/custom-theme/dropdown.d.ts +0 -17
- package/dist/custom-theme/fab.d.ts +0 -10
- package/dist/custom-theme/filter.d.ts +0 -17
- package/dist/custom-theme/flow.d.ts +0 -21
- package/dist/custom-theme/graph.d.ts +0 -4
- package/dist/custom-theme/handle.d.ts +0 -9
- package/dist/custom-theme/icon.d.ts +0 -1
- package/dist/custom-theme/inline-editable.d.ts +0 -10
- package/dist/custom-theme/input-date-picker.d.ts +0 -43
- package/dist/custom-theme/input-message.d.ts +0 -8
- package/dist/custom-theme/input-number.d.ts +0 -29
- package/dist/custom-theme/input-text.d.ts +0 -29
- package/dist/custom-theme/input-time-picker.d.ts +0 -20
- package/dist/custom-theme/input.d.ts +0 -24
- package/dist/custom-theme/label.d.ts +0 -5
- package/dist/custom-theme/link.d.ts +0 -4
- package/dist/custom-theme/list.d.ts +0 -13
- package/dist/custom-theme/loader.d.ts +0 -13
- package/dist/custom-theme/menu-item.d.ts +0 -8
- package/dist/custom-theme/meter.d.ts +0 -10
- package/dist/custom-theme/navigation-logo.d.ts +0 -7
- package/dist/custom-theme/navigation-user.d.ts +0 -9
- package/dist/custom-theme/navigation.d.ts +0 -7
- package/dist/custom-theme/notice.d.ts +0 -16
- package/dist/custom-theme/pagination.d.ts +0 -9
- package/dist/custom-theme/panel.d.ts +0 -19
- package/dist/custom-theme/popover.d.ts +0 -9
- package/dist/custom-theme/progress.d.ts +0 -6
- package/dist/custom-theme/radio-button-group.d.ts +0 -5
- package/dist/custom-theme/radio-button.d.ts +0 -7
- package/dist/custom-theme/rating.d.ts +0 -10
- package/dist/custom-theme/segmented-control.d.ts +0 -8
- package/dist/custom-theme/select.d.ts +0 -11
- package/dist/custom-theme/shell-panel.d.ts +0 -18
- package/dist/custom-theme/slider.d.ts +0 -13
- package/dist/custom-theme/split-button.d.ts +0 -14
- package/dist/custom-theme/stepper-item.d.ts +0 -22
- package/dist/custom-theme/stepper.d.ts +0 -8
- package/dist/custom-theme/swatch-group.d.ts +0 -4
- package/dist/custom-theme/swatch.d.ts +0 -4
- package/dist/custom-theme/switch.d.ts +0 -10
- package/dist/custom-theme/table.d.ts +0 -51
- package/dist/custom-theme/tabs.d.ts +0 -18
- package/dist/custom-theme/text-area.d.ts +0 -14
- package/dist/custom-theme/tile.d.ts +0 -11
- package/dist/custom-theme/time-picker.d.ts +0 -12
- package/dist/custom-theme/tooltip.d.ts +0 -9
- package/dist/custom-theme/tree.d.ts +0 -6
- package/dist/internal-label/autocomplete.d.ts +0 -1
- package/dist/internal-label/checkbox.d.ts +0 -1
- package/dist/internal-label/combobox.d.ts +0 -1
- package/dist/internal-label/input-date-picker.d.ts +0 -1
- package/dist/internal-label/input-number.d.ts +0 -1
- package/dist/internal-label/input-text.d.ts +0 -1
- package/dist/internal-label/input-time-picker.d.ts +0 -1
- package/dist/internal-label/input-time-zone.d.ts +0 -1
- package/dist/internal-label/input.d.ts +0 -1
- package/dist/internal-label/radio-button-group.d.ts +0 -1
- package/dist/internal-label/radio-button.d.ts +0 -1
- package/dist/internal-label/rating.d.ts +0 -1
- package/dist/internal-label/segmented-control.d.ts +0 -1
- package/dist/internal-label/select.d.ts +0 -1
- package/dist/internal-label/slider.d.ts +0 -1
- package/dist/internal-label/switch.d.ts +0 -1
- package/dist/internal-label/text-area.d.ts +0 -1
- package/dist/runtime.d.ts +0 -6
- package/dist/types/preact10.d.ts +0 -938
- package/dist/utils/array.d.ts +0 -1
- package/dist/utils/browser.d.ts +0 -1
- package/dist/utils/component.d.ts +0 -34
- package/dist/utils/dynamicClasses.d.ts +0 -2
- package/dist/utils/filter.d.ts +0 -1
- package/dist/utils/globalScript.d.ts +0 -1
- package/dist/utils/guid.d.ts +0 -1
- package/dist/utils/key.d.ts +0 -3
- package/dist/utils/label.d.ts +0 -45
- package/dist/utils/math.d.ts +0 -22
- package/dist/utils/mode.d.ts +0 -2
- package/dist/utils/number.d.ts +0 -45
- package/dist/utils/observers.d.ts +0 -29
- package/dist/utils/openCloseComponent.d.ts +0 -52
- package/dist/utils/overflow.d.ts +0 -28
- package/dist/utils/resources.d.ts +0 -33
- package/dist/utils/responsive.d.ts +0 -11
- package/dist/utils/selectableComponent.d.ts +0 -17
- package/dist/utils/text.d.ts +0 -22
|
@@ -1,35 +1,37 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { TabChangeEventDetail } from '../calcite-tab/interfaces';
|
|
6
|
-
import { TabID, TabLayout, TabPosition } from '../calcite-tabs/interfaces';
|
|
7
|
-
import { TabTitle } from '../calcite-tab-title/customElement.js';
|
|
2
|
+
import type { PublicLitElement as LitElement } from "@arcgis/lumina/PublicLitElement";
|
|
3
|
+
import type { TabPosition } from "../calcite-tabs/interfaces.js";
|
|
4
|
+
import type { TabTitle } from "../calcite-tab-title/customElement.js";
|
|
8
5
|
|
|
9
|
-
/**
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
6
|
+
/**
|
|
7
|
+
* @cssproperty [--calcite-tab-background-color] - Specifies the component's background color.
|
|
8
|
+
* @cssproperty [--calcite-tab-border-color] - When `calcite-tabs` is `bordered`, specifies the component's border color.
|
|
9
|
+
* @cssproperty [--calcite-tab-text-color] - Specifies the component's `iconStart, `iconEnd`, and text color.
|
|
10
|
+
* @slot - A slot for adding `calcite-tab-title`s.
|
|
11
|
+
*/
|
|
12
|
+
export abstract class TabNav extends LitElement {
|
|
13
|
+
/** Overrides individual strings used by the component. */
|
|
14
|
+
accessor messageOverrides: {
|
|
15
|
+
nextTabTitles?: string;
|
|
16
|
+
previousTabTitles?: string;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Specifies the position of `calcite-tab-nav` and `calcite-tab-title` components in relation to, and is inherited from the parent `calcite-tabs`, defaults to `top`.
|
|
20
|
+
*
|
|
21
|
+
* \@internal
|
|
22
|
+
*
|
|
23
|
+
* @default "bottom"
|
|
24
|
+
*/
|
|
25
|
+
accessor position: TabPosition;
|
|
26
|
+
/** Specifies the component's selected `calcite-tab-title`. */
|
|
27
|
+
get selectedTitle(): TabTitle;
|
|
28
|
+
/** Specifies the name when saving selected `calcite-tab` data to `localStorage`. */
|
|
29
|
+
accessor storageId: string;
|
|
30
|
+
/** Specifies text to update multiple components to keep in sync if one changes. */
|
|
31
|
+
accessor syncId: string;
|
|
32
|
+
/** Emits when the selected `calcite-tab` changes. */
|
|
33
|
+
readonly calciteTabChange: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
34
|
+
readonly "@eventTypes": {
|
|
35
|
+
calciteTabChange: TabNav["calciteTabChange"]["detail"];
|
|
36
|
+
};
|
|
37
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.74 */
|
|
4
4
|
import { C as CSS_UTILITY, c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { ref } from "lit/directives/ref.js";
|
|
6
6
|
import { keyed } from "lit/directives/keyed.js";
|
|
7
|
-
import {
|
|
7
|
+
import { a as calciteSize24, b as calciteSize32, d as calciteSize44 } from "../../chunks/core.js";
|
|
8
8
|
import { css, html } from "lit";
|
|
9
9
|
import { LitElement, createEvent, safeClassMap } from "@arcgis/lumina";
|
|
10
|
-
import { g as getElementDir,
|
|
10
|
+
import { g as getElementDir, B as filterDirectChildren, f as focusElementInGroup, j as focusElement } from "../../chunks/dom.js";
|
|
11
11
|
import { c as createObserver } from "../../chunks/observers.js";
|
|
12
12
|
import { u as useT9n } from "../../chunks/useT9n.js";
|
|
13
13
|
const ICON = {
|
|
@@ -1,73 +1,86 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { TabID, TabLayout, TabPosition } from '../calcite-tabs/interfaces';
|
|
7
|
-
import { IconName } from '../calcite-icon/interfaces';
|
|
2
|
+
import type { PublicLitElement as LitElement } from "@arcgis/lumina/PublicLitElement";
|
|
3
|
+
import type { FlipContext } from "../interfaces.js";
|
|
4
|
+
import type { TabPosition } from "../calcite-tabs/interfaces.js";
|
|
5
|
+
import type { IconName } from "../calcite-icon/interfaces.js";
|
|
8
6
|
|
|
9
7
|
/**
|
|
10
8
|
* Tab-titles are optionally individually closable.
|
|
11
9
|
*
|
|
10
|
+
* @cssproperty [--calcite-tab-text-color] - Specifies the component's text color.
|
|
11
|
+
* @cssproperty [--calcite-tab-text-color-press] - Specifies the component's text color when hovered, pressed, or selected.
|
|
12
|
+
* @cssproperty [--calcite-tab-border-color] - Specifies the component's border color.
|
|
13
|
+
* @cssproperty [--calcite-tab-background-color] - Specifies the component's background color.
|
|
14
|
+
* @cssproperty [--calcite-tab-background-color-hover] - When `calcite-tabs` is `bordered`, specifies the component's background color when hovered.
|
|
15
|
+
* @cssproperty [--calcite-tab-accent-color-press] - Specifies the component's accent color when selected or active.
|
|
16
|
+
* @cssproperty [--calcite-tab-icon-color-start] - Specifies the component's `iconStart` color.
|
|
17
|
+
* @cssproperty [--calcite-tab-icon-color-start-press] - Specifies the component's `iconStart` color when hovered, pressed, or selected.
|
|
18
|
+
* @cssproperty [--calcite-tab-icon-color-end] - Specifies the component's `iconEnd` color.
|
|
19
|
+
* @cssproperty [--calcite-tab-icon-color-end-press] - Specifies the component's `iconEnd` color when hovered, pressed, or selected.
|
|
20
|
+
* @cssproperty [--calcite-tab-close-icon-color] - Specifies the component's close element icon color.
|
|
21
|
+
* @cssproperty [--calcite-tab-close-icon-color-press] - Specifies the component's close element icon color when hovered, focused, and active.
|
|
22
|
+
* @cssproperty [--calcite-tab-close-icon-background-color] - Specifies the component's close element icon background color.
|
|
23
|
+
* @cssproperty [--calcite-tab-close-icon-background-color-press] - Specifies the component's close element icon background color when pressed.
|
|
24
|
+
* @cssproperty [--calcite-tab-close-icon-background-color-hover] - Specifies the component's close element icon background color when hovered.
|
|
12
25
|
* @slot - A slot for adding text.
|
|
13
26
|
*/
|
|
14
|
-
export
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
}
|
|
27
|
+
export abstract class TabTitle extends LitElement {
|
|
28
|
+
/**
|
|
29
|
+
* When `true`, displays a close button in the component.
|
|
30
|
+
*
|
|
31
|
+
* @default false
|
|
32
|
+
*/
|
|
33
|
+
accessor closable: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* When `true`, hides the component.
|
|
36
|
+
*
|
|
37
|
+
* @default false
|
|
38
|
+
*/
|
|
39
|
+
accessor closed: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* When `true`, interaction is prevented and the component is displayed with lower opacity.
|
|
42
|
+
*
|
|
43
|
+
* @default false
|
|
44
|
+
*/
|
|
45
|
+
accessor disabled: boolean;
|
|
46
|
+
/** Specifies an icon to display at the end of the component. */
|
|
47
|
+
accessor iconEnd: IconName;
|
|
48
|
+
/** Displays the `iconStart` and/or `iconEnd` as flipped when the element direction is right-to-left (`"rtl"`). */
|
|
49
|
+
accessor iconFlipRtl: FlipContext;
|
|
50
|
+
/** Specifies an icon to display at the start of the component. */
|
|
51
|
+
accessor iconStart: IconName;
|
|
52
|
+
/** Overrides individual strings used by the component. */
|
|
53
|
+
accessor messageOverrides: { close?: string; };
|
|
54
|
+
/**
|
|
55
|
+
* Specifies the position of `calcite-tab-nav` and `calcite-tab-title` components in relation to, and is inherited from the parent `calcite-tabs`, defaults to `top`.
|
|
56
|
+
*
|
|
57
|
+
* \@internal
|
|
58
|
+
*
|
|
59
|
+
* @default "top"
|
|
60
|
+
*/
|
|
61
|
+
accessor position: TabPosition;
|
|
62
|
+
/**
|
|
63
|
+
* When `true`, the component and its respective `calcite-tab` contents are selected.
|
|
64
|
+
*
|
|
65
|
+
* Only one tab can be selected within the `calcite-tabs` parent.
|
|
66
|
+
*
|
|
67
|
+
* @default false
|
|
68
|
+
*/
|
|
69
|
+
accessor selected: boolean;
|
|
70
|
+
/**
|
|
71
|
+
* Specifies a unique name for the component.
|
|
72
|
+
*
|
|
73
|
+
* When specified, use the same value on the `calcite-tab`.
|
|
74
|
+
*/
|
|
75
|
+
accessor tab: string;
|
|
76
|
+
/** Returns the index of the title within the `calcite-tab-nav`. */
|
|
77
|
+
getTabIndex(): Promise<number>;
|
|
78
|
+
/** Fires when a `calcite-tab` is selected. */
|
|
79
|
+
readonly calciteTabsActivate: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
80
|
+
/** Fires when a `calcite-tab` is closed. */
|
|
81
|
+
readonly calciteTabsClose: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
82
|
+
readonly "@eventTypes": {
|
|
83
|
+
calciteTabsActivate: TabTitle["calciteTabsActivate"]["detail"];
|
|
84
|
+
calciteTabsClose: TabTitle["calciteTabsClose"]["detail"];
|
|
85
|
+
};
|
|
86
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.74 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { keyed } from "lit/directives/keyed.js";
|
|
6
6
|
import { css, isServer, html } from "lit";
|
|
7
7
|
import { createRef, ref } from "lit/directives/ref.js";
|
|
8
8
|
import { LitElement, createEvent, safeClassMap, setAttribute } from "@arcgis/lumina";
|
|
9
|
-
import {
|
|
9
|
+
import { o as nodeListToArray, g as getElementDir, t as toAriaBoolean } from "../../chunks/dom.js";
|
|
10
10
|
import { g as guid } from "../../chunks/guid.js";
|
|
11
11
|
import { c as createObserver, u as updateRefObserver } from "../../chunks/observers.js";
|
|
12
12
|
import { g as getIconScale } from "../../chunks/component.js";
|
|
@@ -29,7 +29,7 @@ const idPrefix = "calcite-tab-title";
|
|
|
29
29
|
const IDS = {
|
|
30
30
|
host: (id) => `${idPrefix}-${id}`
|
|
31
31
|
};
|
|
32
|
-
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:block;outline:2px solid transparent;outline-offset:2px;margin-inline-start:0px}:host([layout=inline]){flex:0 1 auto}:host([layout=center]){flex:1 1 auto}.content{position:relative;margin-block-end:.125rem;box-sizing:border-box;display:flex;block-size:100%;align-items:center;justify-content:center}.scale-s{--calcite-internal-tab-title-close-padding: var(--calcite-spacing-none);--calcite-internal-tab-title-close-margin-start: var(--calcite-spacing-xxs)}.scale-s .content{padding-block:.25rem;font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-sm)}.scale-m{--calcite-internal-tab-title-close-padding: var(--calcite-spacing-xxs);--calcite-internal-tab-title-close-margin-start: var(--calcite-spacing-xxs)}.scale-m .content{padding-block:.5rem;font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-base)}.scale-l{--calcite-internal-tab-title-close-padding: var(--calcite-spacing-xxs);--calcite-internal-tab-title-close-margin-start: var(--calcite-spacing-xs)}.scale-l .content{padding-block:.625rem;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md)}:host([closable]) .content{border-block-end-color:transparent}:host([layout=inline]) .content,:host([layout=center]) .content{padding-inline:.25rem}:host([layout=center]) .scale-s,:host([layout=center]) .scale-m,:host([layout=center]) .scale-l{margin-block:0px;justify-content:center;text-align:center}:host([layout=center]) .scale-s .content,:host([layout=center]) .scale-m .content,:host([layout=center]) .scale-l .content{flex:1 1 auto;flex-grow:1}.container{position:relative;box-sizing:border-box;display:flex;block-size:100%;inline-size:100%;cursor:pointer;align-content:center;justify-content:space-between;padding-inline:0px;font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-base);outline-color:transparent;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;color:var(--calcite-tab-text-color, var(--calcite-color-text-3));background-color:var(--calcite-tab-background-color, transparent)}.selected-indicator{position:absolute;display:block;block-size:.125rem;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;inset-block-end:0;inset-inline-start:0;inset-inline-end:0;inline-size:100%}:host([bordered][selected]) .container:after{position:absolute;display:block;block-size:.125rem;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;inset-block-end:-1px;inset-inline-start:0;inset-inline-end:0;inline-size:100%;content:""}:host([bordered][selected]) .container.container--bottom:after{inset-block-start:-1px}:host([bordered][selected]:focus) .container:after{background:transparent}.container--bottom .selected-indicator{inset-block-end:unset;inset-block-start:0}:host(:not([bordered])) .container:hover,:host(:not([bordered])) .container:active{color:var(--calcite-color-text-1)}:host([bordered]:not([selected]):hover:not(:focus)) .selected-indicator{background-color:var(--calcite-color-foreground-2)}:host([bordered]:not([selected]):hover:not(:focus)) .container:not(.container--bottom) .selected-indicator{box-shadow:inset 0 1px var(--calcite-color-border-1)}:host([bordered]:not([selected]):hover:not(:focus)) .container.container--bottom .selected-indicator{box-shadow:inset 0 -1px var(--calcite-color-border-1)}:host([selected]:focus) .selected-indicator{block-size:4px}.calcite-tab-title--icon{position:relative;margin:0;display:inline-flex;align-self:center}.calcite-tab-title--icon svg{transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out}.content--has-text .icon-start,.content--has-text .calcite-tab-title--icon.icon-start{color:var(--calcite-tab-icon-color-start, var(--calcite-icon-color))}.content--has-text .calcite-tab-title--icon.icon-start .icon-end,.content--has-text .calcite-tab-title--icon.icon-end{color:var(--calcite-tab-icon-color-end, var(--calcite-icon-color))}.content--has-text{padding:.25rem}.content--has-text .calcite-tab-title--icon.icon-start{margin-inline-end:var(--calcite-spacing-sm)}.content--has-text .calcite-tab-title--icon.icon-end{margin-inline-start:var(--calcite-spacing-sm)}:host([bordered]) .container{border-color:transparent;border-inline-width:var(--calcite-spacing-px);border-inline-style:solid}:host([bordered]) .container:hover,:host([bordered]) .container:active{color:var(--calcite-color-text-1)}:host([bordered]) .container .x-button calcite-icon{margin-block-start:var(--calcite-spacing-px)}:host([bordered]) .container .x-button:focus,:host([bordered]) .container .x-button:hover,:host([bordered]) .container .x-button:active{box-shadow:0 2px 0 0 var(--calcite-tab-close-icon-background-color-press, var(--calcite-color-foreground-3))}:host([bordered]) .container.container--bottom{border-block-start-style:solid;border-block-start-width:1px}:host([bordered]) .container.container--bottom .selected-indicator{inset-block-start:unset;inset-block-end:0}:host([bordered]) .container.container--bottom .x-button{box-shadow:0 -2px 0 0 var(--calcite-tab-close-icon-background-color, var(--calcite-color-transparent))}:host([bordered]) .container.container--bottom .x-button:focus,:host([bordered]) .container.container--bottom .x-button:hover,:host([bordered]) .container.container--bottom .x-button:active{box-shadow:0 -2px 0 0 var(--calcite-tab-close-icon-background-color-press, var(--calcite-color-foreground-3))}:host([bordered]) .container.container--bottom .x-button calcite-icon{margin-block-end:var(--calcite-spacing-px)}:host([bordered]) .container:not(.container--bottom){border-block-end-style:solid;border-block-end-width:1px}:host([bordered]) .container:not(.container--bottom) .x-button{block-size:calc(100% - var(--calcite-spacing-px));margin-block-start:-1px}:host([bordered]) .container .selected-indicator{inset-block-start:0;inset-block-end:unset;inset-inline-start:-1px;inset-inline-end:0;inline-size:calc(100% + var(--calcite-spacing-base))}:host([bordered]) .container:host(:not([selected])) .container .x-button{box-shadow:0 2px 0 0 transparent}:host([bordered]) .container:host(:not([selected])):host(:hover) .container:not(.container--bottom){border-block-end-color:var(--calcite-tab-border-color, var(--calcite-color-border-1))}:host([bordered]) .container:host(:not([selected])):host(:hover):host(:not(:focus)) .selected-indicator{box-shadow:inset 0 var(--calcite-internal-tab-shadow-length) var(--calcite-tab-border-color, var(--calcite-color-border-1))}:host([bordered]) .container:host(:not([selected])):host(:hover):host(:not(:focus)) :not(.container--bottom){--calcite-internal-tab-shadow-length: 1px}:host([bordered]) .container:host(:not([selected])):host(:hover):host(:not(:focus)) .container--bottom{--calcite-internal-tab-shadow-length: -1px}:host([bordered]) .container:hover{background-color:var(--calcite-tab-background-color-hover, var(--calcite-color-foreground-2));border-block-end-color:var(--calcite-color-border-1)}:host(:hover) .selected-indicator{background-color:var(--calcite-color-border-3)}:host([selected]) .selected-indicator,:host([selected]:hover) .selected-indicator,:host(:focus) .selected-indicator,:host(:active) .selected-indicator{background-color:var(--calcite-tab-accent-color-press, var(--calcite-color-brand))}:host([closed]){display:none}:host([selected]) .container{border-color:transparent;color:var(--calcite-tab-text-color, var(--calcite-color-text-1))}:host([selected][bordered]) .container{border-inline-color:var(--calcite-tab-border-color, var(--calcite-color-border-1))}:host([selected][bordered]) .container:after{background-color:var(--calcite-tab-background-color, var(--calcite-color-foreground-1))}:host([selected][bordered]) .container:hover,:host([selected][bordered]) .container:active{background:transparent}:host(:focus) .container{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host(:focus) .container:focus-within{outline-color:transparent}:host([icon-start][icon-end]) .calcite-tab-title--icon:first-child{margin-inline-end:var(--calcite-spacing-sm)}:host([layout=inline][bordered]) .scale-m .content,:host([layout=center][bordered]) .scale-m .content{padding-inline:.75rem}:host([layout=inline][bordered]) .scale-s .content,:host([layout=center][bordered]) .scale-s .content{padding-inline:.5rem}:host([layout=inline][bordered]) .scale-l .content,:host([layout=center][bordered]) .scale-l .content{padding-inline:1rem}:host([layout=inline][closable]) .scale-s .content,:host([layout=inline][closable]) .scale-m .content,:host([layout=inline][closable]) .scale-l .content{padding-inline-end:0}.close{--calcite-internal-action-spacing: var(--calcite-internal-tab-title-close-padding);--calcite-internal-action-height: unset;--calcite-action-text-color: var(--calcite-tab-close-icon-color);--calcite-action-text-color-press: var(--calcite-tab-close-icon-color-press);--calcite-action-background-color: var(--calcite-tab-close-icon-background-color);--calcite-action-background-color-press: var(--calcite-tab-close-icon-background-color-press);margin:auto;margin-inline:var(--calcite-spacing-sm) var(--calcite-internal-tab-title-close-margin-start)}@media(forced-colors:active){:host{outline-width:0;outline-offset:0}:host(:focus) .container{outline-color:highlight}:host([bordered][selected]) .container{border-block-end-style:none}:host([bordered][selected]) .container--bottom{border-block-start-style:none}.selected-indicator{background-color:highlight}}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) .container{pointer-events:none;opacity:.5}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}`;
|
|
32
|
+
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:block;outline:2px solid transparent;outline-offset:2px;margin-inline-start:0px}:host([layout=inline]){flex:0 1 auto}:host([layout=center]){flex:1 1 auto}.content{position:relative;margin-block-end:.125rem;box-sizing:border-box;display:flex;block-size:100%;align-items:center;justify-content:center}.scale-s{--calcite-internal-tab-title-close-padding: var(--calcite-spacing-none);--calcite-internal-tab-title-close-margin-start: var(--calcite-spacing-xxs)}.scale-s .content{padding-block:.25rem;font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-sm)}.scale-m{--calcite-internal-tab-title-close-padding: var(--calcite-spacing-xxs);--calcite-internal-tab-title-close-margin-start: var(--calcite-spacing-xxs)}.scale-m .content{padding-block:.5rem;font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-base)}.scale-l{--calcite-internal-tab-title-close-padding: var(--calcite-spacing-xxs);--calcite-internal-tab-title-close-margin-start: var(--calcite-spacing-xs)}.scale-l .content{padding-block:.625rem;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md)}:host([closable]) .content{border-block-end-color:transparent}:host([layout=inline]) .content,:host([layout=center]) .content{padding-inline:.25rem}:host([layout=center]) .scale-s,:host([layout=center]) .scale-m,:host([layout=center]) .scale-l{margin-block:0px;justify-content:center;text-align:center}:host([layout=center]) .scale-s .content,:host([layout=center]) .scale-m .content,:host([layout=center]) .scale-l .content{flex:1 1 auto;flex-grow:1}.container{position:relative;box-sizing:border-box;display:flex;block-size:100%;inline-size:100%;cursor:pointer;align-content:center;justify-content:space-between;padding-inline:0px;font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-base);outline-color:transparent;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;color:var(--calcite-tab-text-color, var(--calcite-color-text-3));background-color:var(--calcite-tab-background-color, transparent)}.selected-indicator{position:absolute;display:block;block-size:.125rem;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;inset-block-end:0;inset-inline-start:0;inset-inline-end:0;inline-size:100%}:host([bordered][selected]) .container:after{position:absolute;display:block;block-size:.125rem;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;inset-block-end:-1px;inset-inline-start:0;inset-inline-end:0;inline-size:100%;content:""}:host([bordered][selected]) .container.container--bottom:after{inset-block-start:-1px}:host([bordered][selected]:focus) .container:after{background:transparent}.container--bottom .selected-indicator{inset-block-end:unset;inset-block-start:0}:host([bordered]:not([selected]):hover:not(:focus)) .selected-indicator{background-color:var(--calcite-color-foreground-2)}:host([bordered]:not([selected]):hover:not(:focus)) .container:not(.container--bottom) .selected-indicator{box-shadow:inset 0 1px var(--calcite-color-border-1)}:host([bordered]:not([selected]):hover:not(:focus)) .container.container--bottom .selected-indicator{box-shadow:inset 0 -1px var(--calcite-color-border-1)}:host([selected]:focus) .selected-indicator{block-size:4px}.calcite-tab-title--icon{position:relative;margin:0;display:inline-flex;align-self:center}.calcite-tab-title--icon svg{transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out}.container{color:var(--calcite-tab-text-color, var(--calcite-color-text-3))}.container .icon-start{color:var(--calcite-tab-icon-color-start, var(--calcite-ui-icon-color, var(--calcite-icon-color)))}.container .icon-end{color:var(--calcite-tab-icon-color-end, var(--calcite-ui-icon-color, var(--calcite-icon-color)))}.container:hover,.container:active,:host([selected]) .container{color:var(--calcite-tab-text-color-press, var(--calcite-color-text-1))}.container:hover .icon-start,.container:active .icon-start,:host([selected]) .container .icon-start{color:var(--calcite-tab-icon-color-start-press, var(--calcite-ui-icon-color, var(--calcite-icon-color)))}.container:hover .icon-end,.container:active .icon-end,:host([selected]) .container .icon-end{color:var(--calcite-tab-icon-color-end-press, var(--calcite-ui-icon-color, var(--calcite-icon-color)))}.content--has-text{padding:.25rem}.content--has-text .calcite-tab-title--icon.icon-start{margin-inline-end:var(--calcite-spacing-sm)}.content--has-text .calcite-tab-title--icon.icon-end{margin-inline-start:var(--calcite-spacing-sm)}:host([bordered]) .container{border-color:transparent;border-inline-width:var(--calcite-spacing-px);border-inline-style:solid}:host([bordered]) .container .x-button calcite-icon{margin-block-start:var(--calcite-spacing-px)}:host([bordered]) .container .x-button:focus,:host([bordered]) .container .x-button:hover,:host([bordered]) .container .x-button:active{box-shadow:0 2px 0 0 var(--calcite-tab-close-icon-background-color-press, var(--calcite-color-foreground-3))}:host([bordered]) .container.container--bottom{border-block-start-style:solid;border-block-start-width:1px}:host([bordered]) .container.container--bottom .selected-indicator{inset-block-start:unset;inset-block-end:0}:host([bordered]) .container.container--bottom .x-button{box-shadow:0 -2px 0 0 var(--calcite-tab-close-icon-background-color, var(--calcite-color-transparent))}:host([bordered]) .container.container--bottom .x-button:focus,:host([bordered]) .container.container--bottom .x-button:hover,:host([bordered]) .container.container--bottom .x-button:active{box-shadow:0 -2px 0 0 var(--calcite-tab-close-icon-background-color-press, var(--calcite-color-foreground-3))}:host([bordered]) .container.container--bottom .x-button calcite-icon{margin-block-end:var(--calcite-spacing-px)}:host([bordered]) .container:not(.container--bottom){border-block-end-style:solid;border-block-end-width:1px}:host([bordered]) .container:not(.container--bottom) .x-button{block-size:calc(100% - var(--calcite-spacing-px));margin-block-start:-1px}:host([bordered]) .container .selected-indicator{inset-block-start:0;inset-block-end:unset;inset-inline-start:-1px;inset-inline-end:0;inline-size:calc(100% + var(--calcite-spacing-base))}:host([bordered]) .container:host(:not([selected])) .container .x-button{box-shadow:0 2px 0 0 transparent}:host([bordered]) .container:host(:not([selected])):host(:hover) .container:not(.container--bottom){border-block-end-color:var(--calcite-tab-border-color, var(--calcite-color-border-1))}:host([bordered]) .container:host(:not([selected])):host(:hover):host(:not(:focus)) .selected-indicator{box-shadow:inset 0 var(--calcite-internal-tab-shadow-length) var(--calcite-tab-border-color, var(--calcite-color-border-1))}:host([bordered]) .container:host(:not([selected])):host(:hover):host(:not(:focus)) :not(.container--bottom){--calcite-internal-tab-shadow-length: 1px}:host([bordered]) .container:host(:not([selected])):host(:hover):host(:not(:focus)) .container--bottom{--calcite-internal-tab-shadow-length: -1px}:host([bordered]) .container:hover{background-color:var(--calcite-tab-background-color-hover, var(--calcite-color-foreground-2));border-block-end-color:var(--calcite-color-border-1)}:host(:hover) .selected-indicator{background-color:var(--calcite-color-border-3)}:host([selected]) .selected-indicator,:host([selected]:hover) .selected-indicator,:host(:focus) .selected-indicator,:host(:active) .selected-indicator{background-color:var(--calcite-tab-accent-color-press, var(--calcite-color-brand))}:host([closed]){display:none}:host([selected][bordered]) .container{border-inline-color:var(--calcite-tab-border-color, var(--calcite-color-border-1))}:host([selected][bordered]) .container:after{background-color:var(--calcite-tab-background-color, var(--calcite-color-foreground-1))}:host([selected][bordered]) .container:hover,:host([selected][bordered]) .container:active{background:transparent}:host(:focus) .container{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host(:focus) .container:focus-within{outline-color:transparent}:host([icon-start][icon-end]) .calcite-tab-title--icon:first-child{margin-inline-end:var(--calcite-spacing-sm)}:host([layout=inline][bordered]) .scale-m .content,:host([layout=center][bordered]) .scale-m .content{padding-inline:.75rem}:host([layout=inline][bordered]) .scale-s .content,:host([layout=center][bordered]) .scale-s .content{padding-inline:.5rem}:host([layout=inline][bordered]) .scale-l .content,:host([layout=center][bordered]) .scale-l .content{padding-inline:1rem}:host([layout=inline][closable]) .scale-s .content,:host([layout=inline][closable]) .scale-m .content,:host([layout=inline][closable]) .scale-l .content{padding-inline-end:0}.close{--calcite-internal-action-spacing: var(--calcite-internal-tab-title-close-padding);--calcite-internal-action-height: unset;--calcite-action-text-color: var(--calcite-tab-close-icon-color);--calcite-action-text-color-press: var(--calcite-tab-close-icon-color-press);--calcite-action-background-color: var(--calcite-tab-close-icon-background-color);--calcite-action-background-color-press: var(--calcite-tab-close-icon-background-color-press);--calcite-action-background-color-hover: var(--calcite-tab-close-icon-background-color-hover);margin:auto;margin-inline:var(--calcite-spacing-sm) var(--calcite-internal-tab-title-close-margin-start)}@media(forced-colors:active){:host{outline-width:0;outline-offset:0}:host(:focus) .container{outline-color:highlight}:host([bordered][selected]) .container{border-block-end-style:none}:host([bordered][selected]) .container--bottom{border-block-start-style:none}.selected-indicator{background-color:highlight}}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) .container{pointer-events:none;opacity:.5}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}`;
|
|
33
33
|
class TabTitle extends LitElement {
|
|
34
34
|
constructor() {
|
|
35
35
|
super();
|
|
@@ -1,117 +1,153 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { TableInteractionMode, TableLayout, TableRowFocusEvent, TableSelectionDisplay } from './interfaces';
|
|
2
|
+
import type { PublicLitElement as LitElement } from "@arcgis/lumina/PublicLitElement";
|
|
3
|
+
import type { Scale, SelectionMode } from "../interfaces.js";
|
|
4
|
+
import type { NumberingSystem } from "../../utils/locale.js";
|
|
5
|
+
import type { TableRow } from "../calcite-table-row/customElement.js";
|
|
6
|
+
import type { TableInteractionMode, TableLayout, TableSelectionDisplay } from "./interfaces.js";
|
|
8
7
|
|
|
9
8
|
/**
|
|
9
|
+
* @cssproperty [--calcite-table-border-color] - Specifies the component's border color.
|
|
10
|
+
* @cssproperty [--calcite-table-corner-radius] - Specifies the component's border radius.
|
|
11
|
+
* @cssproperty [--calcite-table-shadow] - Specifies the component's shadow.
|
|
12
|
+
* @cssproperty [--calcite-table-number-cell-background-color] - Specifies the background color of the component's `numbered` cell.
|
|
13
|
+
* @cssproperty [--calcite-table-number-cell-text-color] - Specifies the text color of the component's `numbered` cell.
|
|
14
|
+
* @cssproperty [--calcite-table-selection-cell-background-color] - Specifies the background color of the component's `selectionMode` cell.
|
|
15
|
+
* @cssproperty [--calcite-table-selection-cell-background-color-selected] - Specifies the background color of the component's `selectionMode` cell.
|
|
16
|
+
* @cssproperty [--calcite-table-selection-cell-icon-color] - Specifies the icon color of the component's `selectionMode` selection icon.
|
|
17
|
+
* @cssproperty [--calcite-table-selection-cell-icon-color-selected] - Specifies the icon color of the component's `selectionMode` selection icon when selected.
|
|
18
|
+
* @cssproperty [--calcite-table-selection-chip-background-color] - Specifies the background color of the component's `selectionMode` selection chip.
|
|
19
|
+
* @cssproperty [--calcite-table-selection-chip-border-color] - Specifies the border color of the component's `selectionMode` selection chip.
|
|
20
|
+
* @cssproperty [--calcite-table-selection-chip-corner-radius] - Specifies the corner radius of the component's `selectionMode` selection chip.
|
|
21
|
+
* @cssproperty [--calcite-table-selection-chip-shadow] - Specifies the shadow of the component's `selectionMode` selection chip.
|
|
22
|
+
* @cssproperty [--calcite-table-selection-chip-text-color] - Specifies the text color of the component's `selectionMode` selection chip.
|
|
23
|
+
* @cssproperty [--calcite-table-selection-chip-background-color-selected] - Specifies the background color of the component's `selectionMode` selection chip when Table Rows are selected.
|
|
24
|
+
* @cssproperty [--calcite-table-selection-chip-border-color-selected] - Specifies the border color of the component's `selectionMode` selection chip when Table Rows are selected.
|
|
25
|
+
* @cssproperty [--calcite-table-selection-chip-text-color-selected] - Specifies the text color of the component's `selectionMode` selection chip when Table Rows are selected.
|
|
26
|
+
* @cssproperty [--calcite-table-selection-out-of-view-chip-background-color] - Specifies the background color of the component's `selectionMode` selection out of view chip.
|
|
27
|
+
* @cssproperty [--calcite-table-selection-out-of-view-chip-border-color] - Specifies the border color of the component's `selectionMode` selection out of view chip.
|
|
28
|
+
* @cssproperty [--calcite-table-selection-out-of-view-chip-corner-radius] - Specifies the corner radius of the component's `selectionMode` selection out of view chip.
|
|
29
|
+
* @cssproperty [--calcite-table-selection-out-of-view-chip-icon-color] - Specifies the icon color of the component's `selectionMode` selection out of view chip.
|
|
30
|
+
* @cssproperty [--calcite-table-selection-out-of-view-chip-shadow] - Specifies the shadow of the component's `selectionMode` selection out of view chip.
|
|
31
|
+
* @cssproperty [--calcite-table-selection-out-of-view-chip-text-color] - Specifies the text color of the component's `selectionMode` selection out of view chip.
|
|
32
|
+
* @cssproperty [--calcite-table-selection-dismiss-button-background-color-active] - Specifies the background color of the component's `selectionMode` selection dismiss chip when active.
|
|
33
|
+
* @cssproperty [--calcite-table-selection-dismiss-button-background-color-hover] - Specifies the background color of the component's `selectionMode` selection dismiss chip when hovered.
|
|
34
|
+
* @cssproperty [--calcite-table-selection-dismiss-button-background-color] - Specifies the background color of the component's `selectionMode` selection dismiss chip.
|
|
35
|
+
* @cssproperty [--calcite-table-selection-dismiss-button-border-color-active] - Specifies the border color of the component's `selectionMode` selection dismiss chip when active.
|
|
36
|
+
* @cssproperty [--calcite-table-selection-dismiss-button-border-color-hover] - Specifies the border color of the component's `selectionMode` selection dismiss chip when hovered.
|
|
37
|
+
* @cssproperty [--calcite-table-selection-dismiss-button-border-color] - Specifies the border color of the component's `selectionMode` selection dismiss chip.
|
|
38
|
+
* @cssproperty [--calcite-table-selection-dismiss-button-corner-radius] - Specifies the corner radius of the component's `selectionMode` selection dismiss chip.
|
|
39
|
+
* @cssproperty [--calcite-table-selection-dismiss-button-shadow] - Specifies the shadow of the component's `selectionMode` selection dismiss chip.
|
|
40
|
+
* @cssproperty [--calcite-table-selection-dismiss-button-text-color-active] - Specifies the text color of the component's `selectionMode` selection dismiss chip when active.
|
|
41
|
+
* @cssproperty [--calcite-table-selection-dismiss-button-text-color-hover] - Specifies the text color of the component's `selectionMode` selection dismiss chip when hovered.
|
|
42
|
+
* @cssproperty [--calcite-table-selection-dismiss-button-text-color] - Specifies the text color of the component's `selectionMode` selection dismiss chip.
|
|
43
|
+
* @cssproperty [--calcite-table-pagination-color] - Specifies the component's `pageSize` pagination item color.
|
|
44
|
+
* @cssproperty [--calcite-table-pagination-color-hover] - Specifies the component's `pageSize` pagination item color when hovered or selected.
|
|
45
|
+
* @cssproperty [--calcite-table-pagination-color-border-hover] - Specifies the component's `pageSize` pagination item bottom border color when hovered.
|
|
46
|
+
* @cssproperty [--calcite-table-pagination-color-border-active] - Specifies the component's `pageSize` pagination item bottom border color when selected.
|
|
47
|
+
* @cssproperty [--calcite-table-pagination-background-color] - Specifies the component's `pageSize` pagination item background color when active.
|
|
48
|
+
* @cssproperty [--calcite-table-pagination-icon-color-background-hover] - Specifies the component's `pageSize` pagination chevron item background color when hovered.
|
|
10
49
|
* @slot - A slot for adding `calcite-table-row` elements containing `calcite-table-cell` and/or `calcite-table-header` elements.
|
|
11
50
|
* @slot [table-header] - A slot for adding `calcite-table-row` elements containing `calcite-table-header` elements.
|
|
12
51
|
* @slot [table-footer] - A slot for adding `calcite-table-row` elements containing `calcite-table-cell` and/or `calcite-table-header` elements.
|
|
13
52
|
* @slot [selection-actions] - A slot for adding `calcite-actions` or other elements to display when `selectionMode` is not `"none"` and `selectionDisplay` is not `"none"`.
|
|
14
53
|
*/
|
|
15
|
-
export
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
selected: string;
|
|
116
|
-
}>;
|
|
117
|
-
}
|
|
54
|
+
export abstract class Table extends LitElement {
|
|
55
|
+
/**
|
|
56
|
+
* When `true`, displays borders in the component.
|
|
57
|
+
*
|
|
58
|
+
* @default false
|
|
59
|
+
*/
|
|
60
|
+
accessor bordered: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* Specifies an accessible title for the component.
|
|
63
|
+
*
|
|
64
|
+
* @required
|
|
65
|
+
*/
|
|
66
|
+
accessor caption: string;
|
|
67
|
+
/**
|
|
68
|
+
* Sets/gets the current page
|
|
69
|
+
*
|
|
70
|
+
* @default 0
|
|
71
|
+
*/
|
|
72
|
+
accessor currentPage: number;
|
|
73
|
+
/**
|
|
74
|
+
* When `true`, number values are displayed with a group separator corresponding to the language and country format.
|
|
75
|
+
*
|
|
76
|
+
* @default false
|
|
77
|
+
*/
|
|
78
|
+
accessor groupSeparator: boolean;
|
|
79
|
+
/**
|
|
80
|
+
* When `"interactive"`, allows focus and keyboard navigation of `table-header`s and `table-cell`s. When `"static"`, prevents focus and keyboard navigation of `table-header`s and `table-cell`s when assistive technologies are not active. Selection affordances and slotted content within `table-cell`s remain focusable.
|
|
81
|
+
*
|
|
82
|
+
* @default "interactive"
|
|
83
|
+
*/
|
|
84
|
+
accessor interactionMode: TableInteractionMode;
|
|
85
|
+
/**
|
|
86
|
+
* Specifies the layout of the component.
|
|
87
|
+
*
|
|
88
|
+
* @default "auto"
|
|
89
|
+
*/
|
|
90
|
+
accessor layout: TableLayout;
|
|
91
|
+
/** Overrides individual strings used by the component. */
|
|
92
|
+
accessor messageOverrides: {
|
|
93
|
+
clear?: string;
|
|
94
|
+
hiddenSelected?: string;
|
|
95
|
+
page?: string;
|
|
96
|
+
row?: string;
|
|
97
|
+
selected?: string;
|
|
98
|
+
};
|
|
99
|
+
/**
|
|
100
|
+
* When `true`, displays the position of the row in numeric form.
|
|
101
|
+
*
|
|
102
|
+
* @default false
|
|
103
|
+
*/
|
|
104
|
+
accessor numbered: boolean;
|
|
105
|
+
/** Specifies the Unicode numeral system used by the component for localization. */
|
|
106
|
+
accessor numberingSystem: NumberingSystem | undefined;
|
|
107
|
+
/**
|
|
108
|
+
* Specifies the page size of the component. When present, renders `calcite-pagination`.
|
|
109
|
+
*
|
|
110
|
+
* @default 0
|
|
111
|
+
*/
|
|
112
|
+
accessor pageSize: number;
|
|
113
|
+
/**
|
|
114
|
+
* Specifies the size of the component.
|
|
115
|
+
*
|
|
116
|
+
* @default "m"
|
|
117
|
+
*/
|
|
118
|
+
accessor scale: Scale;
|
|
119
|
+
/** Specifies the component's selected items. */
|
|
120
|
+
get selectedItems(): TableRow[];
|
|
121
|
+
/**
|
|
122
|
+
* Specifies the display of the selection interface when `selection-mode` is not `"none"`. When `"none"`, content slotted the `selection-actions` slot will not be displayed.
|
|
123
|
+
*
|
|
124
|
+
* @default "top"
|
|
125
|
+
*/
|
|
126
|
+
accessor selectionDisplay: TableSelectionDisplay;
|
|
127
|
+
/**
|
|
128
|
+
* Specifies the selection mode of the component, where:
|
|
129
|
+
*
|
|
130
|
+
* `"multiple"` allows any number of selections,
|
|
131
|
+
*
|
|
132
|
+
* `"single"` allows only one selection, and
|
|
133
|
+
*
|
|
134
|
+
* `"none"` does not allow any selections.
|
|
135
|
+
*
|
|
136
|
+
* @default "none"
|
|
137
|
+
*/
|
|
138
|
+
accessor selectionMode: Extract<"none" | "multiple" | "single", SelectionMode>;
|
|
139
|
+
/**
|
|
140
|
+
* When `true`, displays striped styling in the component.
|
|
141
|
+
*
|
|
142
|
+
* @default false
|
|
143
|
+
*/
|
|
144
|
+
accessor striped: boolean;
|
|
145
|
+
/** Emits when the component's page selection changes. */
|
|
146
|
+
readonly calciteTablePageChange: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
147
|
+
/** Emits when the component's selected rows change. */
|
|
148
|
+
readonly calciteTableSelect: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
149
|
+
readonly "@eventTypes": {
|
|
150
|
+
calciteTablePageChange: Table["calciteTablePageChange"]["detail"];
|
|
151
|
+
calciteTableSelect: Table["calciteTableSelect"]["detail"];
|
|
152
|
+
};
|
|
153
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.74 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { isServer, css, nothing, html, render } from "lit";
|
|
6
6
|
import { createRef, ref } from "lit/directives/ref.js";
|