@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
package/dist/utils/config.d.ts
CHANGED
|
@@ -1,29 +1,13 @@
|
|
|
1
|
-
import { FocusTrap } from
|
|
2
|
-
import { LogLevel } from
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Defines the global trap stack to use for focus-trapping components.
|
|
6
|
-
*
|
|
7
|
-
* This is useful if your application uses its own instance of `focus-trap` and both need to be aware of each other.
|
|
8
|
-
*
|
|
9
|
-
* @see [focus-trap createOptions](https://github.com/focus-trap/focus-trap#createoptions).
|
|
10
|
-
*/
|
|
11
|
-
focusTrapStack: FocusTrap[];
|
|
12
|
-
/** Defines the global log level to use when logging messages. */
|
|
13
|
-
logLevel: LogLevel;
|
|
14
|
-
/**
|
|
15
|
-
* Contains the version of the Calcite components.
|
|
16
|
-
*
|
|
17
|
-
* @readonly
|
|
18
|
-
*/
|
|
19
|
-
version?: string;
|
|
20
|
-
}
|
|
1
|
+
import type { FocusTrap } from "focus-trap";
|
|
2
|
+
import type { LogLevel } from "./logger.js";
|
|
3
|
+
|
|
21
4
|
/**
|
|
22
5
|
* Exporting for testing purposes only
|
|
23
6
|
*
|
|
24
7
|
* @internal
|
|
25
8
|
*/
|
|
26
|
-
export
|
|
9
|
+
export const defaultConfig: CalciteConfig;
|
|
10
|
+
|
|
27
11
|
/**
|
|
28
12
|
* Clears the effective config so it will be recomputed on next getConfig().
|
|
29
13
|
*
|
|
@@ -31,12 +15,26 @@ export declare const defaultConfig: CalciteConfig;
|
|
|
31
15
|
*
|
|
32
16
|
* @internal
|
|
33
17
|
*/
|
|
34
|
-
export
|
|
18
|
+
export function clearConfig(): void;
|
|
19
|
+
|
|
35
20
|
/**
|
|
36
21
|
* Returns the effective config.
|
|
37
22
|
*
|
|
38
23
|
* @internal
|
|
39
24
|
*/
|
|
40
|
-
export
|
|
41
|
-
|
|
42
|
-
export
|
|
25
|
+
export function getConfig(): CalciteConfig;
|
|
26
|
+
|
|
27
|
+
export interface CalciteConfig {
|
|
28
|
+
/**
|
|
29
|
+
* Defines the global trap stack to use for focus-trapping components.
|
|
30
|
+
*
|
|
31
|
+
* This is useful if your application uses its own instance of `focus-trap` and both need to be aware of each other.
|
|
32
|
+
*
|
|
33
|
+
* @see [focus-trap createOptions](https://github.com/focus-trap/focus-trap#createoptions).
|
|
34
|
+
*/
|
|
35
|
+
focusTrapStack: FocusTrap[];
|
|
36
|
+
/** Defines the global log level to use when logging messages. */
|
|
37
|
+
logLevel: LogLevel;
|
|
38
|
+
/** Contains the version of the Calcite components. */
|
|
39
|
+
readonly version?: string;
|
|
40
|
+
}
|
package/dist/utils/date.d.ts
CHANGED
|
@@ -1,145 +1,5 @@
|
|
|
1
|
-
import { DateLocaleData } from '../components/calcite-date-picker/utils';
|
|
2
1
|
export interface HoverRange {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* Check if date is within a min and max
|
|
9
|
-
*
|
|
10
|
-
* @param date
|
|
11
|
-
* @param min
|
|
12
|
-
* @param max
|
|
13
|
-
*/
|
|
14
|
-
export declare function inRange(date: Date, min?: Date | string, max?: Date | string): boolean;
|
|
15
|
-
/**
|
|
16
|
-
* Ensures date is within range,
|
|
17
|
-
* returns min or max if out of bounds
|
|
18
|
-
*
|
|
19
|
-
* @param date
|
|
20
|
-
* @param min
|
|
21
|
-
* @param max
|
|
22
|
-
*/
|
|
23
|
-
export declare function dateFromRange(date?: any, min?: Date | string, max?: Date | string): Date | null;
|
|
24
|
-
/**
|
|
25
|
-
* Parse an iso8601 string (YYYY-mm-dd) into a valid date.
|
|
26
|
-
* TODO: handle time when time of day UI is added
|
|
27
|
-
*
|
|
28
|
-
* @param iso8601
|
|
29
|
-
* @param isEndDate
|
|
30
|
-
*/
|
|
31
|
-
export declare function dateFromISO(iso8601: string | Date, isEndDate?: boolean): Date | null;
|
|
32
|
-
/**
|
|
33
|
-
* Parse a localized date string into a valid Date.
|
|
34
|
-
* return false if date is invalid, or out of range
|
|
35
|
-
*
|
|
36
|
-
* @param value
|
|
37
|
-
* @param localeData
|
|
38
|
-
*/
|
|
39
|
-
export declare function dateFromLocalizedString(value: string, localeData: DateLocaleData): Date;
|
|
40
|
-
export declare function parseCalendarYear(year: number, localeData: DateLocaleData): number;
|
|
41
|
-
export declare function formatCalendarYear(year: number, localeData: DateLocaleData): number;
|
|
42
|
-
/**
|
|
43
|
-
* Retrieve day, month, and year strings from a localized string
|
|
44
|
-
*
|
|
45
|
-
* @param string
|
|
46
|
-
* @param localeData
|
|
47
|
-
*/
|
|
48
|
-
export declare function datePartsFromLocalizedString(string: string, localeData: DateLocaleData): {
|
|
49
|
-
day: string;
|
|
50
|
-
month: string;
|
|
51
|
-
year: string;
|
|
52
|
-
};
|
|
53
|
-
/**
|
|
54
|
-
* Return the date portion in local time of a Date object in ISO 8601 format (YYYY-MM-DD)
|
|
55
|
-
*
|
|
56
|
-
* @param date
|
|
57
|
-
*/
|
|
58
|
-
export declare function dateToISO(date?: Date): string;
|
|
59
|
-
/**
|
|
60
|
-
* Retrieve day, month, and year strings from a ISO string (YYYY-mm-dd)
|
|
61
|
-
*
|
|
62
|
-
* @param string
|
|
63
|
-
* @param isoDate
|
|
64
|
-
*/
|
|
65
|
-
export declare function datePartsFromISO(isoDate: string): {
|
|
66
|
-
day: string;
|
|
67
|
-
month: string;
|
|
68
|
-
year: string;
|
|
69
|
-
};
|
|
70
|
-
/**
|
|
71
|
-
* Check if two dates are the same day, month, year
|
|
72
|
-
*
|
|
73
|
-
* @param d1
|
|
74
|
-
* @param d2
|
|
75
|
-
*/
|
|
76
|
-
export declare function sameDate(d1: Date, d2: Date): boolean;
|
|
77
|
-
/**
|
|
78
|
-
* Get a date one month in the past
|
|
79
|
-
*
|
|
80
|
-
* @param date
|
|
81
|
-
*/
|
|
82
|
-
export declare function prevMonth(date: Date): Date;
|
|
83
|
-
/**
|
|
84
|
-
* Get active date in a given month.
|
|
85
|
-
*
|
|
86
|
-
* @param date
|
|
87
|
-
* @param month
|
|
88
|
-
*/
|
|
89
|
-
export declare function getDateInMonth(date: Date, month: number): Date;
|
|
90
|
-
/**
|
|
91
|
-
* Get First Valid date in a month.
|
|
92
|
-
*
|
|
93
|
-
* @param date
|
|
94
|
-
* @param min
|
|
95
|
-
* @param max
|
|
96
|
-
*/
|
|
97
|
-
export declare function getFirstValidDateInMonth(date: Date, min: Date, max: Date): Date;
|
|
98
|
-
/**
|
|
99
|
-
* Get a date one month in the future
|
|
100
|
-
*
|
|
101
|
-
* @param date
|
|
102
|
-
*/
|
|
103
|
-
export declare function nextMonth(date: Date): Date;
|
|
104
|
-
/**
|
|
105
|
-
* Parse numeric units for day, month, and year from a localized string
|
|
106
|
-
* month starts at 0 (can pass to date constructor)
|
|
107
|
-
* can return values as number or string
|
|
108
|
-
*
|
|
109
|
-
* @param string
|
|
110
|
-
* @param localeData
|
|
111
|
-
*/
|
|
112
|
-
export declare function parseDateString(string: string, localeData: DateLocaleData): {
|
|
113
|
-
day: number;
|
|
114
|
-
month: number;
|
|
115
|
-
year: number;
|
|
116
|
-
};
|
|
117
|
-
type unitOrderSignifier = "m" | "d" | "y";
|
|
118
|
-
/**
|
|
119
|
-
* Based on the unitOrder string, find order of month, day, and year for locale
|
|
120
|
-
*
|
|
121
|
-
* @param unitOrder
|
|
122
|
-
*/
|
|
123
|
-
export declare function getOrder(unitOrder: string): unitOrderSignifier[];
|
|
124
|
-
/**
|
|
125
|
-
* Get number of days between two dates
|
|
126
|
-
*
|
|
127
|
-
* @param date1
|
|
128
|
-
* @param date2
|
|
129
|
-
*/
|
|
130
|
-
export declare function getDaysDiff(date1: Date, date2: Date): number;
|
|
131
|
-
/**
|
|
132
|
-
* Set time of the day to the end.
|
|
133
|
-
*
|
|
134
|
-
* @param date Date.
|
|
135
|
-
* @returns Date with time set to end of day .
|
|
136
|
-
*/
|
|
137
|
-
export declare function setEndOfDay(date: Date): Date;
|
|
138
|
-
/**
|
|
139
|
-
* Returns true if two dates have same month and year.
|
|
140
|
-
*
|
|
141
|
-
* @param date1
|
|
142
|
-
* @param date2
|
|
143
|
-
*/
|
|
144
|
-
export declare function hasSameMonthAndYear(date1: Date, date2: Date): boolean;
|
|
145
|
-
export {};
|
|
2
|
+
focused: "end" | "start";
|
|
3
|
+
start: Date;
|
|
4
|
+
end: Date;
|
|
5
|
+
}
|
package/dist/utils/dom.d.ts
CHANGED
|
@@ -1,368 +1,19 @@
|
|
|
1
|
-
import { LitElement } from '@arcgis/lumina';
|
|
2
|
-
import { IconName } from '../components/calcite-icon/interfaces';
|
|
3
1
|
/**
|
|
4
|
-
*
|
|
2
|
+
* Helper to get the first focusable element.
|
|
5
3
|
*
|
|
6
|
-
*
|
|
4
|
+
* @param element - The html element containing focusable elements.
|
|
5
|
+
* @param includeContainer - When true, the container element will be considered as well.
|
|
6
|
+
* @returns the first focusable element.
|
|
7
|
+
* @internal
|
|
7
8
|
*/
|
|
8
|
-
export
|
|
9
|
-
|
|
10
|
-
};
|
|
9
|
+
export function getFirstFocusable(element: HTMLElement, includeContainer?: boolean): HTMLElement;
|
|
10
|
+
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Helper to focus the first focusable element.
|
|
13
13
|
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
* @param
|
|
17
|
-
* @
|
|
18
|
-
*/
|
|
19
|
-
export declare function ensureId(el: Element): string;
|
|
20
|
-
/**
|
|
21
|
-
* This helper returns an array from a NodeList.
|
|
22
|
-
*
|
|
23
|
-
* @param nodeList A NodeList.
|
|
24
|
-
* @returns An array of elements.
|
|
25
|
-
*/
|
|
26
|
-
export declare function nodeListToArray<T extends Element>(nodeList: HTMLCollectionOf<T> | NodeListOf<T> | T[]): T[];
|
|
27
|
-
export type Direction = "ltr" | "rtl";
|
|
28
|
-
/**
|
|
29
|
-
* This helper returns the Calcite "mode" of an element.
|
|
30
|
-
*
|
|
31
|
-
* @param el An element.
|
|
32
|
-
* @returns The Calcite mode.
|
|
33
|
-
*/
|
|
34
|
-
export declare function getModeName(el: HTMLElement): "light" | "dark";
|
|
35
|
-
/**
|
|
36
|
-
* This helper returns the direction of a HTML element.
|
|
37
|
-
*
|
|
38
|
-
* @param el An element.
|
|
39
|
-
* @returns The direction.
|
|
40
|
-
*/
|
|
41
|
-
export declare function getElementDir(el: HTMLElement): Direction;
|
|
42
|
-
/**
|
|
43
|
-
* This helper returns the computed width in pixels of a rendered HTMLElement.
|
|
44
|
-
*
|
|
45
|
-
* @param el An element.
|
|
46
|
-
* @returns The element's width.
|
|
47
|
-
*/
|
|
48
|
-
export declare function getElementWidth(el: HTMLElement): number;
|
|
49
|
-
/**
|
|
50
|
-
* This helper returns the rootNode of an element.
|
|
51
|
-
*
|
|
52
|
-
* @param el An element.
|
|
53
|
-
* @returns The element's root node.
|
|
54
|
-
*/
|
|
55
|
-
export declare function getRootNode(el: Element): Document | ShadowRoot;
|
|
56
|
-
/**
|
|
57
|
-
* This helper returns the node's shadowRoot root node if it exists.
|
|
58
|
-
*
|
|
59
|
-
* @param el The element.
|
|
60
|
-
* @returns The element's root node ShadowRoot.
|
|
61
|
-
*/
|
|
62
|
-
export declare function getShadowRootNode(el: Element): ShadowRoot | null;
|
|
63
|
-
/**
|
|
64
|
-
* This helper returns the computed width in pixels a given text string takes up on screen.
|
|
65
|
-
*
|
|
66
|
-
* See https://stackoverflow.com/questions/118241/calculate-text-width-with-javascript
|
|
67
|
-
*
|
|
68
|
-
* @param text The string of text to measure.
|
|
69
|
-
* @param font The CSS font attribute's value, which should include size and face, e.g. "12px Arial".
|
|
70
|
-
*/
|
|
71
|
-
export declare function getTextWidth(text: string, font: string): number;
|
|
72
|
-
/**
|
|
73
|
-
* This helper returns the host of a ShadowRoot.
|
|
74
|
-
*
|
|
75
|
-
* @param root A root element.
|
|
76
|
-
* @returns The host element.
|
|
77
|
-
*/
|
|
78
|
-
export declare function getHost(root: Document | ShadowRoot): Element | null;
|
|
79
|
-
/**
|
|
80
|
-
* This helper queries an element's rootNode and any ancestor rootNodes.
|
|
81
|
-
*
|
|
82
|
-
* If both an 'id' and 'selector' are supplied, 'id' will take precedence over 'selector'.
|
|
83
|
-
*/
|
|
84
|
-
export declare function queryElementRoots<T extends Element = Element>(el: Element, { selector, id, }: {
|
|
85
|
-
selector?: string;
|
|
86
|
-
id?: string;
|
|
87
|
-
}): T | null;
|
|
88
|
-
/**
|
|
89
|
-
* This helper returns the closest element matching the selector by crossing he shadow boundary if necessary.
|
|
90
|
-
*
|
|
91
|
-
* Based on https://stackoverflow.com/q/54520554/194216
|
|
92
|
-
*
|
|
93
|
-
* @param element The starting element.
|
|
94
|
-
* @param selector The selector.
|
|
95
|
-
* @returns The targeted element.
|
|
96
|
-
*/
|
|
97
|
-
export declare function closestElementCrossShadowBoundary<TagName extends keyof HTMLElementTagNameMap>(element: Element, selector: TagName): HTMLElementTagNameMap[TagName] | null;
|
|
98
|
-
export declare function closestElementCrossShadowBoundary<T extends Element = Element>(element: Element, selector: string): T | null;
|
|
99
|
-
/**
|
|
100
|
-
* This utility helps invoke a callback as it traverses a node and its ancestors until reaching the root document.
|
|
101
|
-
*
|
|
102
|
-
* Returning early or undefined in `onVisit` will continue traversing up the DOM tree. Otherwise, traversal will halt with the returned value as the result of the function
|
|
103
|
-
*
|
|
104
|
-
* @param element An element.
|
|
105
|
-
* @param onVisit The callback.
|
|
106
|
-
* @returns The result.
|
|
107
|
-
*/
|
|
108
|
-
export declare function walkUpAncestry<T = any>(element: Element, onVisit: (node: Node) => T): T;
|
|
109
|
-
export type FocusableElement = SetFocusable | HTMLElement;
|
|
110
|
-
export interface SetFocusable extends LitElement {
|
|
111
|
-
setFocus: (options?: FocusOptions) => Promise<void>;
|
|
112
|
-
}
|
|
113
|
-
/**
|
|
114
|
-
* This helper returns true when an element has a setFocus method.
|
|
115
|
-
*
|
|
116
|
-
* @param el An element.
|
|
117
|
-
* @returns Whether the element is focusable.
|
|
118
|
-
*/
|
|
119
|
-
export declare function isCalciteFocusable(el: FocusableElement): el is SetFocusable;
|
|
120
|
-
/**
|
|
121
|
-
* This helper focuses an element using the `setFocus` method if available and falls back to using the `focus` method if not available.
|
|
122
|
-
*
|
|
123
|
-
* @param el An element.
|
|
124
|
-
* @param includeContainer When true, the container element will be considered as well. Note, this is only applicable when `setFocus` is not applicable.
|
|
125
|
-
* @param strategy The focus strategy to use when finding the first focusable element. Defaults to "tabbable".
|
|
126
|
-
* @param context The element invoking the focus – use when the host is focusable to short-circuit the focus call.
|
|
127
|
-
* @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
|
|
128
|
-
*
|
|
129
|
-
* @mdn [focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
|
|
130
|
-
*/
|
|
131
|
-
export declare function focusElement(el: FocusableElement, includeContainer?: boolean, strategy?: "focusable" | "tabbable", context?: HTMLElement, options?: FocusOptions): Promise<void>;
|
|
132
|
-
/**
|
|
133
|
-
* Helper to get the first tabbable element.
|
|
134
|
-
*
|
|
135
|
-
* @param element The html element containing tabbable elements.
|
|
136
|
-
* @param includeContainer When true, the container element will be considered as well.
|
|
137
|
-
*
|
|
138
|
-
* @returns the first tabbable element.
|
|
139
|
-
*/
|
|
140
|
-
export declare function getFirstTabbable(element: HTMLElement, includeContainer?: boolean): HTMLElement;
|
|
141
|
-
/**
|
|
142
|
-
* Helper to focus the first tabbable element.
|
|
143
|
-
*
|
|
144
|
-
* @param element The html element containing tabbable elements.
|
|
145
|
-
* @param includeContainer When true, the container element will be considered as well.
|
|
146
|
-
* @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
|
|
147
|
-
*
|
|
148
|
-
* @mdn [focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
|
|
149
|
-
*/
|
|
150
|
-
export declare function focusFirstTabbable(element: HTMLElement, includeContainer?: boolean, options?: FocusOptions): void;
|
|
151
|
-
/**
|
|
152
|
-
* Filters direct children.
|
|
153
|
-
*
|
|
154
|
-
* @param el An element.
|
|
155
|
-
* @param selector The selector.
|
|
156
|
-
* @returns An array of elements.
|
|
157
|
-
*/
|
|
158
|
-
export declare function filterDirectChildren<T extends Element>(el: Element, selector: string): T[];
|
|
159
|
-
/**
|
|
160
|
-
* Filters an array of HTML elements by the provided css selector string.
|
|
161
|
-
*
|
|
162
|
-
* @param elements An array of elements, such as one returned by HTMLSlotElement.assignedElements().
|
|
163
|
-
* @param selector The CSS selector string to filter the returned elements by.
|
|
164
|
-
* @returns A filtered array of elements.
|
|
165
|
-
*/
|
|
166
|
-
export declare function filterElementsBySelector<T extends Element>(elements: Element[], selector: string): T[];
|
|
167
|
-
/**
|
|
168
|
-
* Set a default icon from a defined set or allow an override with an icon name string
|
|
169
|
-
*
|
|
170
|
-
* @param iconObject The icon object.
|
|
171
|
-
* @param iconValue The icon value.
|
|
172
|
-
* @param matchedValue The matched value.
|
|
173
|
-
* @returns The resulting icon value.
|
|
174
|
-
*/
|
|
175
|
-
export declare function setRequestedIcon(iconObject: Record<string, IconName>, iconValue: IconName | boolean | "", matchedValue: string): IconName | undefined;
|
|
176
|
-
/**
|
|
177
|
-
* This helper returns true when two rectangles intersect.
|
|
178
|
-
*
|
|
179
|
-
* @param rect1 The first rectangle.
|
|
180
|
-
* @param rect2 The second rectangle.
|
|
181
|
-
* @returns The result.
|
|
182
|
-
*/
|
|
183
|
-
export declare function intersects(rect1: DOMRect, rect2: DOMRect): boolean;
|
|
184
|
-
/**
|
|
185
|
-
* This helper makes sure that boolean aria attributes are properly converted to a string.
|
|
186
|
-
*
|
|
187
|
-
* It should only be used for aria attributes that require a string value of "true" or "false".
|
|
188
|
-
*
|
|
189
|
-
* @param value The value.
|
|
190
|
-
* @returns The string conversion of a boolean value ("true" | "false").
|
|
191
|
-
*/
|
|
192
|
-
export declare function toAriaBoolean(value: boolean): string;
|
|
193
|
-
/**
|
|
194
|
-
* This helper returns `true` if the target `slot` element from the `onSlotchange` event has any content (text or elements).
|
|
195
|
-
*
|
|
196
|
-
* ```
|
|
197
|
-
* <slot onSlotchange={(event) => this.mySlotHasContent = slotChangeHasContent(event)} />}
|
|
198
|
-
* ```
|
|
199
|
-
*
|
|
200
|
-
* @param event The event.
|
|
201
|
-
* @returns Whether the slot has any content.
|
|
202
|
-
*/
|
|
203
|
-
export declare function slotChangeHasContent(event: Event): boolean;
|
|
204
|
-
/**
|
|
205
|
-
* This helper returns a string of textContent if the target `slot` element from the `onSlotchange` event has any text content.
|
|
206
|
-
*
|
|
207
|
-
* ```
|
|
208
|
-
* <slot onSlotchange={(event) => this.mySlotText = slotChangeGetTextContent(event)} />}
|
|
209
|
-
* ```
|
|
210
|
-
*
|
|
211
|
-
* @param event The event.
|
|
212
|
-
* @returns The slots text.
|
|
213
|
-
*/
|
|
214
|
-
export declare function slotChangeGetTextContent(event: Event): string;
|
|
215
|
-
/**
|
|
216
|
-
* This helper checks if an element has visible content.
|
|
217
|
-
*
|
|
218
|
-
* @param element The element to check.
|
|
219
|
-
* @returns True if the element has visible content, otherwise false.
|
|
220
|
-
*/
|
|
221
|
-
export declare function hasVisibleContent(element: HTMLElement): boolean;
|
|
222
|
-
/**
|
|
223
|
-
* This helper returns `true` if the target `slot` element from the `onSlotchange` event has any text content.
|
|
224
|
-
*
|
|
225
|
-
* ```
|
|
226
|
-
* <slot onSlotchange={(event) => this.mySlotHasTextContent = slotChangeHasTextContent(event)} />}
|
|
227
|
-
* ```
|
|
228
|
-
*
|
|
229
|
-
* @param event The event.
|
|
230
|
-
* @returns Whether the slot has any text content.
|
|
231
|
-
*/
|
|
232
|
-
export declare function slotChangeHasTextContent(event: Event): boolean;
|
|
233
|
-
/**
|
|
234
|
-
* This helper returns `true` if the target `slot` element from the `onSlotchange` event has an assigned node.
|
|
235
|
-
*
|
|
236
|
-
* ```
|
|
237
|
-
* <slot onSlotchange={(event) => this.mySlotHasNode = slotChangeHasAssignedNode(event)} />}
|
|
238
|
-
* ```
|
|
239
|
-
*
|
|
240
|
-
* @param event The event.
|
|
241
|
-
* @returns Whether the slot has any assigned nodes.
|
|
242
|
-
*/
|
|
243
|
-
export declare function slotChangeHasAssignedNode(event: Event): boolean;
|
|
244
|
-
/**
|
|
245
|
-
* This helper returns the assigned nodes on a `slot` element from the `onSlotchange` event.
|
|
246
|
-
*
|
|
247
|
-
* ```
|
|
248
|
-
* <slot onSlotchange={(event) => this.mySlotNodes = slotChangeGetAssignedNodes(event)} />}
|
|
249
|
-
* ```
|
|
250
|
-
*
|
|
251
|
-
* @param event The event.
|
|
252
|
-
* @returns Whether the slot has any assigned nodes.
|
|
253
|
-
*/
|
|
254
|
-
export declare function slotChangeGetAssignedNodes(event: Event): Node[];
|
|
255
|
-
/**
|
|
256
|
-
* This helper returns `true` if the target `slot` element from the `onSlotchange` event has an assigned element.
|
|
257
|
-
*
|
|
258
|
-
* ```
|
|
259
|
-
* <slot onSlotchange={(event) => this.mySlotHasElement = slotChangeHasAssignedElement(event)} />}
|
|
260
|
-
* ```
|
|
261
|
-
*
|
|
262
|
-
* @param event The event.
|
|
263
|
-
* @returns Whether the slot has any assigned elements.
|
|
264
|
-
*/
|
|
265
|
-
export declare function slotChangeHasAssignedElement(event: Event): boolean;
|
|
266
|
-
/**
|
|
267
|
-
* This helper returns the assigned elements on a `slot` element from the `onSlotchange` event.
|
|
268
|
-
*
|
|
269
|
-
* ```
|
|
270
|
-
* <slot onSlotchange={(event) => this.mySlotElements = slotChangeGetAssignedElements(event)} />}
|
|
271
|
-
* ```
|
|
272
|
-
*
|
|
273
|
-
* @param event The event.
|
|
274
|
-
* @param selector The CSS selector string to filter the returned elements by.
|
|
275
|
-
* @returns An array of elements.
|
|
276
|
-
*/
|
|
277
|
-
export declare function slotChangeGetAssignedElements<T extends Element>(event: Event, selector?: string): T[] | null;
|
|
278
|
-
/**
|
|
279
|
-
* This helper returns the assigned elements on a `slot` element, filtered by an optional css selector.
|
|
280
|
-
*
|
|
281
|
-
* @param slot The slot element.
|
|
282
|
-
* @param selector CSS selector string to filter the returned elements by.
|
|
283
|
-
* @returns An array of elements.
|
|
284
|
-
*/
|
|
285
|
-
export declare function getSlotAssignedElements<T extends Element>(slot: HTMLSlotElement, selector?: string): T[] | null;
|
|
286
|
-
/**
|
|
287
|
-
* This helper returns true if the pointer event fired from the primary button of the device.
|
|
288
|
-
*
|
|
289
|
-
* See https://www.w3.org/TR/pointerevents/#the-button-property.
|
|
290
|
-
*
|
|
291
|
-
* @param event The pointer event.
|
|
292
|
-
* @returns The value.
|
|
293
|
-
*/
|
|
294
|
-
export declare function isPrimaryPointerButton(event: PointerEvent): boolean;
|
|
295
|
-
/**
|
|
296
|
-
* This helper returns true if the mouse event was triggered by a keyboard click.
|
|
297
|
-
*
|
|
298
|
-
* @param event The mouse event.
|
|
299
|
-
* @returns The value.
|
|
300
|
-
*/
|
|
301
|
-
export declare function isKeyboardTriggeredClick(event: MouseEvent): boolean;
|
|
302
|
-
export type FocusElementInGroupDestination = "first" | "last" | "next" | "previous";
|
|
303
|
-
/**
|
|
304
|
-
* This helper sets focus on and returns a destination element from within a group of provided elements.
|
|
305
|
-
*
|
|
306
|
-
* @param elements An array of elements.
|
|
307
|
-
* @param currentElement The current element.
|
|
308
|
-
* @param destination The target destination element to focus.
|
|
309
|
-
* @param cycle Should navigation cycle through elements or stop at extent - defaults to true.
|
|
310
|
-
* @param includeContainer Determines whether the container element should be considered as well - defaults to true.
|
|
311
|
-
* @param targetAsContext
|
|
312
|
-
* @returns The focused element
|
|
313
|
-
*/
|
|
314
|
-
export declare const focusElementInGroup: <T extends Element = Element>(elements: Element[], currentElement: Element, destination: FocusElementInGroupDestination, cycle?: boolean, includeContainer?: boolean, targetAsContext?: boolean) => T;
|
|
315
|
-
/**
|
|
316
|
-
* This helper determines if an element is before another element in the DOM.
|
|
317
|
-
*
|
|
318
|
-
* @param a the reference element to compare
|
|
319
|
-
* @param b the element to compare against
|
|
320
|
-
* @returns true when a is before b in the DOM
|
|
321
|
-
*/
|
|
322
|
-
export declare function isBefore(a: HTMLElement, b: HTMLElement): boolean;
|
|
323
|
-
/**
|
|
324
|
-
* This util helps determine when an animation has completed.
|
|
325
|
-
*
|
|
326
|
-
* @param targetEl The element to watch for the animation to complete.
|
|
327
|
-
* @param animationName The name of the animation to watch for completion.
|
|
328
|
-
*/
|
|
329
|
-
export declare function whenAnimationDone(targetEl: HTMLElement, animationName: string): Promise<void>;
|
|
330
|
-
/**
|
|
331
|
-
* This util helps determine when a transition has completed.
|
|
332
|
-
*
|
|
333
|
-
* @param targetEl The element to watch for the transition to complete.
|
|
334
|
-
* @param transitionProp The name of the transition to watch for completion.
|
|
335
|
-
*/
|
|
336
|
-
export declare function whenTransitionDone(targetEl: HTMLElement, transitionProp: string): Promise<void>;
|
|
337
|
-
type TransitionOrAnimation = "transition" | "animation";
|
|
338
|
-
/**
|
|
339
|
-
* This util helps determine when a transition has completed.
|
|
340
|
-
*
|
|
341
|
-
* @param targetEl The element to watch for the transition or animation to complete.
|
|
342
|
-
* @param transitionPropOrAnimationName The transition or animation property to watch for completion.
|
|
343
|
-
* @param type The type of property to watch for completion. Defaults to "transition".
|
|
344
|
-
*/
|
|
345
|
-
export declare function whenTransitionOrAnimationDone(targetEl: HTMLElement, transitionPropOrAnimationName: string, type: TransitionOrAnimation): Promise<void>;
|
|
346
|
-
/**
|
|
347
|
-
* Helper function to wait for the next animation frame.
|
|
348
|
-
*/
|
|
349
|
-
export declare function nextFrame(): Promise<void>;
|
|
350
|
-
/**
|
|
351
|
-
* This helper converts a CSS style value (e.g., "px", "vw", "vh") into its pixel equivalent.
|
|
352
|
-
*
|
|
353
|
-
* - If the value ends with "px", it parses and returns the numeric value.
|
|
354
|
-
* - If the value ends with "vw", it calculates the pixel value based on the viewport width.
|
|
355
|
-
* - If the value ends with "vh", it calculates the pixel value based on the viewport height.
|
|
356
|
-
* - For unsupported units or invalid values, it returns 0.
|
|
357
|
-
*
|
|
358
|
-
* @param value - The CSS style value to convert (e.g., "10px", "50vw", "30vh").
|
|
359
|
-
* @returns The pixel equivalent of the provided value.
|
|
360
|
-
*/
|
|
361
|
-
export declare function getStylePixelValue(value: string): number;
|
|
362
|
-
/**
|
|
363
|
-
* Exported for testing purposes only.
|
|
364
|
-
*
|
|
365
|
-
* @private
|
|
14
|
+
* @param element - The html element containing focusable elements.
|
|
15
|
+
* @param includeContainer - When true, the container element will be considered as well.
|
|
16
|
+
* @param options
|
|
17
|
+
* @internal
|
|
366
18
|
*/
|
|
367
|
-
export
|
|
368
|
-
export {};
|
|
19
|
+
export function focusFirstFocusable(element: HTMLElement, includeContainer?: boolean, options?: FocusOptions): void;
|