@esri/calcite-components 5.1.1-next.6 → 5.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/cdn/{BTSHRUHD.js → 2J4U5E4U.js} +1 -1
- package/dist/cdn/{FZTLSQJL.js → 2JJ5YBBT.js} +1 -1
- package/dist/cdn/{KQGUXAM6.js → 2P3LOGHK.js} +1 -1
- package/dist/cdn/{RIEKXKB2.js → 34ENIUR5.js} +1 -1
- package/dist/cdn/{YNG6JO67.js → 3KWJQXAT.js} +1 -1
- package/dist/cdn/{E4MGJ47Y.js → 3RRY5HHA.js} +1 -1
- package/dist/cdn/{MD2UCHOX.js → 3TYJSBP3.js} +1 -1
- package/dist/cdn/44HFP2I6.js +2 -0
- package/dist/cdn/44VCOKJX.js +2 -0
- package/dist/cdn/{CUSR767T.js → 47Q2AE5B.js} +1 -1
- package/dist/cdn/{CDGEWGDD.js → 4NUFBGFK.js} +1 -1
- package/dist/cdn/{7YNDWV76.js → 4UHTWXNV.js} +1 -1
- package/dist/cdn/{72EJ64LI.js → 524MMG22.js} +1 -1
- package/dist/cdn/{Y6WCKCHJ.js → 5D7IEY6J.js} +1 -1
- package/dist/cdn/{CUTXFNYN.js → 5O6YGOJE.js} +1 -1
- package/dist/cdn/{VCDOY22T.js → 5VAPN2S2.js} +1 -1
- package/dist/cdn/{ZEEFJOPQ.js → 6HRHKHF5.js} +1 -1
- package/dist/cdn/6S3G75WP.js +2 -0
- package/dist/cdn/6SZY5PY7.js +2 -0
- package/dist/cdn/{GEKASHNF.js → 6V3FX2W2.js} +1 -1
- package/dist/cdn/{FE3TGEP7.js → 6VDGKXTH.js} +1 -1
- package/dist/cdn/{HQHM5NWX.js → 6VP3K6WL.js} +1 -1
- package/dist/cdn/{6N246L5H.js → 6X3QWKZL.js} +1 -1
- package/dist/cdn/{ERBKUSSX.js → 6XMUSNRS.js} +1 -1
- package/dist/cdn/{773VWCGD.js → 7B4FOF3S.js} +1 -1
- package/dist/cdn/{SBQVCX2M.js → 7QS3Z4ZJ.js} +1 -1
- package/dist/cdn/{34WAUXUE.js → 7SDGC2RW.js} +1 -1
- package/dist/cdn/A6V4I2J3.js +2 -0
- package/dist/cdn/{QN4XN67Z.js → ALLL4LZ4.js} +1 -1
- package/dist/cdn/BCRYMNH7.js +2 -0
- package/dist/cdn/{CBUNIAKL.js → BSMPD6VA.js} +1 -1
- package/dist/cdn/C462ZIJD.js +2 -0
- package/dist/cdn/{QABVNEOF.js → C4DW27AP.js} +1 -1
- package/dist/cdn/C4OX3FC4.js +2 -0
- package/dist/cdn/{RZR44QGM.js → CDNETLLO.js} +1 -1
- package/dist/cdn/{NDVX6CLP.js → CENYPZ3Y.js} +1 -1
- package/dist/cdn/{RVXZUGJA.js → CEWOZ7LP.js} +1 -1
- package/dist/cdn/{WVJUNLFN.js → CM45J66U.js} +1 -1
- package/dist/cdn/{VYXKMJSU.js → COXLBEPM.js} +1 -1
- package/dist/cdn/CVJBK7K3.js +2 -0
- package/dist/cdn/{RUNWK23I.js → DDUIHGBF.js} +1 -1
- package/dist/cdn/{XCNAJ4XA.js → DK3SDSZL.js} +1 -1
- package/dist/cdn/{DJMAPSDY.js → DP2TY4KH.js} +1 -1
- package/dist/cdn/{TPML2DIA.js → E6X6BQLH.js} +1 -1
- package/dist/cdn/{JMKB4CRU.js → E7GXKIIO.js} +1 -1
- package/dist/cdn/{3XFDQDVC.js → ECVX7SVS.js} +1 -1
- package/dist/cdn/{UE4QYUAU.js → ELXBBUY5.js} +1 -1
- package/dist/cdn/{F5MS5PBN.js → EQKCU4NC.js} +1 -1
- package/dist/cdn/{SH7DQCS7.js → ETEMG44R.js} +1 -1
- package/dist/cdn/{MWMTHMMN.js → G2G6FHMB.js} +1 -1
- package/dist/cdn/{VVJGLEIA.js → GCAYSD7G.js} +1 -1
- package/dist/cdn/{YBFI2FQL.js → GDFQSWZ7.js} +1 -1
- package/dist/cdn/{72XY7IDN.js → GDYGEN45.js} +1 -1
- package/dist/cdn/{G62VTWNT.js → GTH6QFMV.js} +1 -1
- package/dist/cdn/{WAXTXFBL.js → HA65OOQD.js} +1 -1
- package/dist/cdn/HYIVUAZU.js +2 -0
- package/dist/cdn/{UIFHJ5IO.js → I4IDQ735.js} +1 -1
- package/dist/cdn/{O6PZKJ7R.js → ICGT7C6U.js} +1 -1
- package/dist/cdn/{3BUDIEL3.js → ID2LCYSN.js} +1 -1
- package/dist/cdn/{5RJTKL4J.js → IEWVQCQW.js} +1 -1
- package/dist/cdn/{3H6RVKMN.js → IHYNJVS4.js} +1 -1
- package/dist/cdn/{5N32D533.js → IMUM436K.js} +1 -1
- package/dist/cdn/{PJSI5N6F.js → IRANNKJ2.js} +1 -1
- package/dist/cdn/{C4DX6ZIA.js → JCVLN6XL.js} +1 -1
- package/dist/cdn/{5QXKHC54.js → JDVSVNSE.js} +1 -1
- package/dist/cdn/{6MUZLYOR.js → JGCJVDJA.js} +1 -1
- package/dist/cdn/{6UM5PQBD.js → JPPCKAMD.js} +1 -1
- package/dist/cdn/{OWJYARYV.js → JSXQ6NFN.js} +1 -1
- package/dist/cdn/KCN4PBFZ.js +2 -0
- package/dist/cdn/{7M4ANW77.js → KJCVGOXF.js} +1 -1
- package/dist/cdn/{OXKGEAUB.js → KLNQGCK2.js} +1 -1
- package/dist/cdn/KOWFGIAY.js +2 -0
- package/dist/cdn/{Y44WJ7Z2.js → KXD6O3ZI.js} +1 -1
- package/dist/cdn/{TFTS26NS.js → L3D2OBOR.js} +1 -1
- package/dist/cdn/L5IKT3WY.js +2 -0
- package/dist/cdn/LGB6OAXT.js +2 -0
- package/dist/cdn/{3NNR2AZU.js → LI2CATYC.js} +1 -1
- package/dist/cdn/{4NYY44U4.js → LJSR66HF.js} +1 -1
- package/dist/cdn/{YFUBBPNI.js → LKYA2H2B.js} +1 -1
- package/dist/cdn/{MRRVOAJL.js → LOJBKHVF.js} +1 -1
- package/dist/cdn/{A332WZ6V.js → MHE72N53.js} +1 -1
- package/dist/cdn/{REW7C42W.js → MW5MGBT4.js} +1 -1
- package/dist/cdn/{5SYOHCLD.js → NBAYHB3K.js} +1 -1
- package/dist/cdn/{3VNZC64N.js → NCSMOKFP.js} +1 -1
- package/dist/cdn/{XTGDCTQE.js → NG7BG3QY.js} +1 -1
- package/dist/cdn/NL77UDLL.js +2 -0
- package/dist/cdn/{D2HPEC7F.js → NTD2BJWG.js} +1 -1
- package/dist/cdn/{FKX46Z6K.js → ODGJXDZK.js} +1 -1
- package/dist/cdn/{OGNY6ZIB.js → ORIGVFX7.js} +1 -1
- package/dist/cdn/{N6V2UT62.js → OWIJSXYV.js} +1 -1
- package/dist/cdn/{EJUEMY56.js → OXCL3M4W.js} +1 -1
- package/dist/cdn/{I2DNOFC6.js → PB3LTBSS.js} +1 -1
- package/dist/cdn/{PW2XM5HR.js → PHEMAFCT.js} +1 -1
- package/dist/cdn/{FKPCRFUW.js → PIR7PWBO.js} +1 -1
- package/dist/cdn/PM5MZR4Z.js +2 -0
- package/dist/cdn/{TQJK5WF5.js → Q4V5DVKS.js} +1 -1
- package/dist/cdn/{YI3ZMHS5.js → Q56UST3A.js} +1 -1
- package/dist/cdn/{TMWGSGAP.js → QC5NB4VL.js} +1 -1
- package/dist/cdn/{5L5RJCKK.js → QEJBAQOY.js} +1 -1
- package/dist/cdn/{JDAOWOTY.js → QGF4JJQO.js} +1 -1
- package/dist/cdn/{DZSC3TJX.js → QZJ7GLQ3.js} +1 -1
- package/dist/cdn/RK2LH73E.js +2 -0
- package/dist/cdn/{5CBFI2KM.js → ROJYTRK6.js} +1 -1
- package/dist/cdn/{DAXLXKIY.js → RRKFBHMW.js} +1 -1
- package/dist/cdn/{KCENWQ6Z.js → RUUD543Z.js} +1 -1
- package/dist/cdn/{N3YQ6P66.js → S2BIRHQ7.js} +1 -1
- package/dist/cdn/{CQYI4Z2Z.js → SJCWFQNF.js} +1 -1
- package/dist/cdn/SNJLHXVG.js +2 -0
- package/dist/cdn/{IXQQO6HC.js → SNY2QKQJ.js} +1 -1
- package/dist/cdn/{27MK2V4G.js → ST6WRTR2.js} +1 -1
- package/dist/cdn/{WYGNUS2B.js → SW5TNX5V.js} +1 -1
- package/dist/cdn/SXXFODM6.js +2 -0
- package/dist/cdn/{4Q7PL2KY.js → TKK3AWQJ.js} +1 -1
- package/dist/cdn/{45C4ENM6.js → TTCZVBEF.js} +1 -1
- package/dist/cdn/TV47CRME.js +2 -0
- package/dist/cdn/{DEQNFOAS.js → TVU7KEKM.js} +1 -1
- package/dist/cdn/{C4PPQBLW.js → TVYIJRI2.js} +1 -1
- package/dist/cdn/{3XMNPYNB.js → TWVXE232.js} +1 -1
- package/dist/cdn/{32QFEQZS.js → TYQB2FN4.js} +1 -1
- package/dist/cdn/{ZBN5LXKS.js → U4GRIQVY.js} +1 -1
- package/dist/cdn/{Z2GSU7Q2.js → U7OJQ4EC.js} +1 -1
- package/dist/cdn/UCWB5EGV.js +2 -0
- package/dist/cdn/{CZPSEMDH.js → UTVGUMUM.js} +1 -1
- package/dist/cdn/{NAJTDRNC.js → V3X47NBI.js} +1 -1
- package/dist/cdn/{R4C3WA5S.js → V7PYDILT.js} +1 -1
- package/dist/cdn/{5JIKOOZ6.js → V7YPIVAX.js} +1 -1
- package/dist/cdn/{ROY5CHB3.js → VDJMOKVP.js} +1 -1
- package/dist/cdn/{2MRL4RKW.js → VEZBAZZG.js} +1 -1
- package/dist/cdn/VXBJOP6X.js +2 -0
- package/dist/cdn/{74UIHSVE.js → VZ2YR2UG.js} +1 -1
- package/dist/cdn/{KB2WIMAL.js → W57IL7KF.js} +1 -1
- package/dist/cdn/{5WFJNGXP.js → WCUO6JQN.js} +1 -1
- package/dist/cdn/{F3E7QPPC.js → WER7FADP.js} +1 -1
- package/dist/cdn/{F7RQCNJ4.js → WQCT4VLB.js} +1 -1
- package/dist/cdn/X3HV2NYH.js +2 -0
- package/dist/cdn/{SGZ3IG5W.js → XRUJ4D7O.js} +1 -1
- package/dist/cdn/{EHS7L663.js → XT4GLBAQ.js} +1 -1
- package/dist/cdn/{GYYFBZS2.js → Y7O6UR4T.js} +1 -1
- package/dist/cdn/{IHGSINVA.js → YHAJICJ2.js} +1 -1
- package/dist/cdn/{IRDSJTUK.js → YKL7MIG5.js} +1 -1
- package/dist/cdn/YYAYEKGB.js +2 -0
- package/dist/cdn/{TRN7FUFM.js → Z3IP3JBL.js} +1 -1
- package/dist/cdn/ZK2W2KJX.js +2 -0
- package/dist/cdn/ZOEJDQXA.js +2 -0
- package/dist/cdn/{RDOHAXOA.js → ZRMTOZ3B.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/ExpandToggle.js +1 -1
- package/dist/chunks/date.js +3 -3
- package/dist/chunks/dom.js +3 -15
- package/dist/chunks/floating-ui.js +1 -1
- package/dist/chunks/label.js +6 -6
- package/dist/chunks/locale.js +6 -3
- package/dist/chunks/manager.js +5 -5
- package/dist/chunks/resources10.js +63 -0
- package/dist/chunks/resources5.js +27 -52
- package/dist/chunks/resources6.js +48 -45
- package/dist/chunks/resources7.js +49 -7
- package/dist/chunks/resources8.js +9 -11
- package/dist/chunks/resources9.js +4 -48
- package/dist/chunks/runtime.js +4 -4
- package/dist/chunks/useTime.js +45 -40
- package/dist/chunks/utils2.js +59 -6
- package/dist/components/calcite-accordion-item/customElement.d.ts +6 -6
- package/dist/components/calcite-accordion-item/customElement.js +1 -1
- package/dist/components/calcite-alert/customElement.d.ts +2 -2
- package/dist/components/calcite-alert/customElement.js +4 -6
- package/dist/components/calcite-autocomplete/customElement.d.ts +16 -16
- package/dist/components/calcite-autocomplete/customElement.js +4 -4
- package/dist/components/calcite-autocomplete-item/customElement.d.ts +5 -5
- package/dist/components/calcite-avatar/customElement.d.ts +5 -5
- package/dist/components/calcite-card/customElement.d.ts +1 -1
- package/dist/components/calcite-carousel/customElement.js +6 -5
- package/dist/components/calcite-checkbox/customElement.d.ts +4 -4
- package/dist/components/calcite-checkbox/customElement.js +1 -1
- package/dist/components/calcite-chip/customElement.js +1 -27
- package/dist/components/calcite-chip-group/customElement.js +1 -1
- package/dist/components/calcite-color-picker/customElement.js +1 -1
- package/dist/components/calcite-color-picker-hex-input/customElement.js +1 -1
- package/dist/components/calcite-combobox/customElement.js +292 -143
- package/dist/components/calcite-combobox-item/customElement.js +1 -1
- package/dist/components/calcite-combobox-item-group/customElement.js +1 -1
- package/dist/components/calcite-date-picker/customElement.js +1 -1
- package/dist/components/calcite-date-picker-day/customElement.js +1 -1
- package/dist/components/calcite-date-picker-month/customElement.js +11 -2
- package/dist/components/calcite-dialog/customElement.js +8 -8
- package/dist/components/calcite-dropdown-group/customElement.js +1 -1
- package/dist/components/calcite-dropdown-item/customElement.js +1 -1
- package/dist/components/calcite-flow/customElement.d.ts +2 -2
- package/dist/components/calcite-flow/customElement.js +1 -1
- package/dist/components/calcite-flow-item/customElement.js +2 -2
- package/dist/components/calcite-input/customElement.js +5 -2
- package/dist/components/calcite-input-date-picker/customElement.js +5 -10
- package/dist/components/calcite-input-text/customElement.js +2 -2
- package/dist/components/calcite-input-time-zone/customElement.js +1 -1
- package/dist/components/calcite-list/customElement.d.ts +4 -4
- package/dist/components/calcite-list/customElement.js +6 -5
- package/dist/components/calcite-list-item/customElement.d.ts +6 -6
- package/dist/components/calcite-list-item/customElement.js +16 -13
- package/dist/components/calcite-list-item-group/customElement.d.ts +1 -1
- package/dist/components/calcite-list-item-group/customElement.js +1 -1
- package/dist/components/calcite-loader/customElement.js +3 -3
- package/dist/components/calcite-menu-item/customElement.d.ts +7 -7
- package/dist/components/calcite-menu-item/customElement.js +0 -3
- package/dist/components/calcite-meter/customElement.d.ts +6 -6
- package/dist/components/calcite-meter/customElement.js +7 -14
- package/dist/components/calcite-pagination/customElement.d.ts +1 -1
- package/dist/components/calcite-pagination/customElement.js +0 -3
- package/dist/components/calcite-panel/customElement.d.ts +6 -6
- package/dist/components/calcite-panel/customElement.js +1 -1
- package/dist/components/calcite-popover/customElement.d.ts +4 -4
- package/dist/components/calcite-popover/customElement.js +1 -1
- package/dist/components/calcite-progress/customElement.d.ts +2 -2
- package/dist/components/calcite-radio-button/customElement.d.ts +5 -5
- package/dist/components/calcite-radio-button/customElement.js +1 -1
- package/dist/components/calcite-radio-button-group/customElement.d.ts +4 -4
- package/dist/components/calcite-radio-button-group/customElement.js +3 -3
- package/dist/components/calcite-rating/customElement.d.ts +7 -7
- package/dist/components/calcite-rating/customElement.js +9 -13
- package/dist/components/calcite-sheet/customElement.js +27 -32
- package/dist/components/calcite-stack/customElement.js +1 -1
- package/dist/components/calcite-tab/customElement.d.ts +1 -1
- package/dist/components/calcite-tab/customElement.js +1 -2
- package/dist/components/calcite-tab-nav/customElement.d.ts +3 -3
- package/dist/components/calcite-tab-nav/customElement.js +7 -12
- package/dist/components/calcite-tab-title/customElement.d.ts +3 -3
- package/dist/components/calcite-tab-title/customElement.js +0 -2
- package/dist/components/calcite-table/customElement.js +14 -22
- package/dist/components/calcite-table-cell/customElement.d.ts +2 -2
- package/dist/components/calcite-table-cell/customElement.js +0 -6
- package/dist/components/calcite-table-header/customElement.d.ts +4 -4
- package/dist/components/calcite-table-header/customElement.js +0 -2
- package/dist/components/calcite-table-row/customElement.js +3 -5
- package/dist/components/calcite-tabs/customElement.js +2 -3
- package/dist/components/calcite-text-area/customElement.d.ts +12 -12
- package/dist/components/calcite-text-area/customElement.js +3 -5
- package/dist/components/calcite-tile/customElement.d.ts +6 -6
- package/dist/components/calcite-time-picker/customElement.d.ts +1 -1
- package/dist/components/calcite-time-picker/customElement.js +15 -35
- package/dist/components/calcite-tooltip/customElement.d.ts +2 -2
- package/dist/components/calcite-tooltip/customElement.js +1 -1
- package/dist/components/calcite-tree/customElement.js +6 -7
- package/dist/components/calcite-tree-item/customElement.d.ts +3 -3
- package/dist/components/calcite-tree-item/customElement.js +6 -12
- package/dist/controllers/useSortable.d.ts +2 -2
- package/dist/controllers/useTime.d.ts +20 -20
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/supported-browsers.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/loader.js +2 -2
- package/dist/utils/dom.d.ts +1 -1
- package/package.json +9 -8
- package/dist/cdn/2PEF7GQE.js +0 -2
- package/dist/cdn/2VL3OCAZ.js +0 -2
- package/dist/cdn/6W4CWLXH.js +0 -2
- package/dist/cdn/73EQ5TEB.js +0 -2
- package/dist/cdn/74CLXGQH.js +0 -2
- package/dist/cdn/7AOQ4FPG.js +0 -2
- package/dist/cdn/ATWAUE4R.js +0 -2
- package/dist/cdn/BZJYGCDK.js +0 -2
- package/dist/cdn/C2BK5CUC.js +0 -2
- package/dist/cdn/I5HZNPIE.js +0 -2
- package/dist/cdn/JQIHTMWX.js +0 -2
- package/dist/cdn/KJNTF66K.js +0 -2
- package/dist/cdn/M2TFDONT.js +0 -2
- package/dist/cdn/OB3Z74X6.js +0 -2
- package/dist/cdn/OJO5NPP3.js +0 -2
- package/dist/cdn/QXPWDVC2.js +0 -2
- package/dist/cdn/SS4J7QES.js +0 -2
- package/dist/cdn/U6NA5WAH.js +0 -2
- package/dist/cdn/UOSSQPFY.js +0 -2
- package/dist/cdn/VWQPK5JA.js +0 -2
- package/dist/cdn/VYZ6WAWT.js +0 -2
- package/dist/cdn/W3N2DKPC.js +0 -2
- package/dist/cdn/WRQD4O6A.js +0 -2
- package/dist/cdn/WUBPEGFV.js +0 -2
- package/dist/cdn/Z7NNDJEN.js +0 -2
- package/dist/cdn/assets/icon/orientedImageryFullSuperimpose16.json +0 -1
- package/dist/cdn/assets/icon/orientedImageryFullSuperimpose24.json +0 -1
- package/dist/cdn/assets/icon/orientedImageryFullSuperimpose32.json +0 -1
- package/dist/cdn/assets/icon/orientedImageryHalfSuperimpose16.json +0 -1
- package/dist/cdn/assets/icon/orientedImageryHalfSuperimpose24.json +0 -1
- package/dist/cdn/assets/icon/orientedImageryHalfSuperimpose32.json +0 -1
- package/dist/cdn/assets/icon/orientedImagerySceneOnly16.json +0 -1
- package/dist/cdn/assets/icon/orientedImagerySceneOnly24.json +0 -1
- package/dist/cdn/assets/icon/orientedImagerySceneOnly32.json +0 -1
- package/dist/cdn/assets/icon/parquetFeatureLayer16.json +0 -1
- package/dist/cdn/assets/icon/parquetFeatureLayer24.json +0 -1
- package/dist/cdn/assets/icon/parquetFeatureLayer32.json +0 -1
- /package/dist/cdn/{IYGANVDT.js → 72YUATHS.js} +0 -0
- /package/dist/cdn/{MYDCGCGV.js → IIA2H2SU.js} +0 -0
- /package/dist/cdn/{DCWL5FUH.js → LKL63VXR.js} +0 -0
- /package/dist/cdn/{UM6KICQF.js → MO64UYDH.js} +0 -0
- /package/dist/cdn/{R6HABYRV.js → Q55YTOMB.js} +0 -0
|
@@ -32,7 +32,7 @@ export abstract class Tile extends LitElement {
|
|
|
32
32
|
*/
|
|
33
33
|
accessor alignment: Exclude<Alignment, "end">;
|
|
34
34
|
/** Specifies a description for the component. Displays below the `heading`. */
|
|
35
|
-
accessor description: string
|
|
35
|
+
accessor description: string;
|
|
36
36
|
/**
|
|
37
37
|
* When `true`, interaction is prevented and the component is displayed with lower opacity.
|
|
38
38
|
*
|
|
@@ -49,13 +49,13 @@ export abstract class Tile extends LitElement {
|
|
|
49
49
|
*/
|
|
50
50
|
accessor embed: boolean;
|
|
51
51
|
/** Specifies the component's heading text. displays between the `icon` and `description`. */
|
|
52
|
-
accessor heading: string
|
|
52
|
+
accessor heading: string;
|
|
53
53
|
/** Specifies the heading level number of the component's `heading` for proper document structure, without affecting visual styling. */
|
|
54
|
-
accessor headingLevel: HeadingLevel
|
|
54
|
+
accessor headingLevel: HeadingLevel;
|
|
55
55
|
/** When embed is `false`, specifies the URL for the component. */
|
|
56
|
-
accessor href: string
|
|
56
|
+
accessor href: string;
|
|
57
57
|
/** Specifies an icon to display. */
|
|
58
|
-
accessor icon: IconName
|
|
58
|
+
accessor icon: IconName;
|
|
59
59
|
/**
|
|
60
60
|
* When `true`, the icon will be flipped when the element direction is right-to-left (`"rtl"`).
|
|
61
61
|
*
|
|
@@ -63,7 +63,7 @@ export abstract class Tile extends LitElement {
|
|
|
63
63
|
*/
|
|
64
64
|
accessor iconFlipRtl: boolean;
|
|
65
65
|
/** Specifies an accessible label for the component. */
|
|
66
|
-
accessor label: string
|
|
66
|
+
accessor label: string;
|
|
67
67
|
/**
|
|
68
68
|
* Specifies the component's size.
|
|
69
69
|
*
|
|
@@ -62,7 +62,7 @@ export abstract class TimePicker extends LitElement {
|
|
|
62
62
|
/** @internal */
|
|
63
63
|
accessor time: ReturnType<typeof useTime>;
|
|
64
64
|
/** The component's value in UTC (always 24-hour format). */
|
|
65
|
-
accessor value: string
|
|
65
|
+
accessor value: string;
|
|
66
66
|
/**
|
|
67
67
|
* Sets focus on the component's first focusable element.
|
|
68
68
|
*
|
|
@@ -62,8 +62,6 @@ class TimePicker extends LitElement {
|
|
|
62
62
|
this.secondRef = createRef();
|
|
63
63
|
this.messages = useT9n();
|
|
64
64
|
this.focusSetter = useSetFocus()(this);
|
|
65
|
-
this.showFractionalSecond = false;
|
|
66
|
-
this.showSecond = false;
|
|
67
65
|
this.time = useTime(this);
|
|
68
66
|
this.hourFormat = "user";
|
|
69
67
|
this.scale = "m";
|
|
@@ -197,30 +195,22 @@ class TimePicker extends LitElement {
|
|
|
197
195
|
}
|
|
198
196
|
fractionalSecondDownClickHandler() {
|
|
199
197
|
this.activeEl = this.fractionalSecondRef.value;
|
|
200
|
-
|
|
201
|
-
this.activeEl.focus();
|
|
202
|
-
}
|
|
198
|
+
this.activeEl.focus();
|
|
203
199
|
this.time.nudgeFractionalSecond("down");
|
|
204
200
|
}
|
|
205
201
|
fractionalSecondUpClickHandler() {
|
|
206
202
|
this.activeEl = this.fractionalSecondRef.value;
|
|
207
|
-
|
|
208
|
-
this.activeEl.focus();
|
|
209
|
-
}
|
|
203
|
+
this.activeEl.focus();
|
|
210
204
|
this.time.nudgeFractionalSecond("up");
|
|
211
205
|
}
|
|
212
206
|
hourDownClickHandler() {
|
|
213
207
|
this.activeEl = this.hourRef.value;
|
|
214
|
-
|
|
215
|
-
this.activeEl.focus();
|
|
216
|
-
}
|
|
208
|
+
this.activeEl.focus();
|
|
217
209
|
this.time.decrementHour();
|
|
218
210
|
}
|
|
219
211
|
hourUpClickHandler() {
|
|
220
212
|
this.activeEl = this.hourRef.value;
|
|
221
|
-
|
|
222
|
-
this.activeEl.focus();
|
|
223
|
-
}
|
|
213
|
+
this.activeEl.focus();
|
|
224
214
|
this.time.incrementHour();
|
|
225
215
|
}
|
|
226
216
|
inputClickHandler(event) {
|
|
@@ -228,42 +218,32 @@ class TimePicker extends LitElement {
|
|
|
228
218
|
}
|
|
229
219
|
meridiemUpClickHandler() {
|
|
230
220
|
this.activeEl = this.meridiemRef.value;
|
|
231
|
-
|
|
232
|
-
this.activeEl.focus();
|
|
233
|
-
}
|
|
221
|
+
this.activeEl.focus();
|
|
234
222
|
this.time.toggleMeridiem("up");
|
|
235
223
|
}
|
|
236
224
|
meridiemDownClickHandler() {
|
|
237
225
|
this.activeEl = this.meridiemRef.value;
|
|
238
|
-
|
|
239
|
-
this.activeEl.focus();
|
|
240
|
-
}
|
|
226
|
+
this.activeEl.focus();
|
|
241
227
|
this.time.toggleMeridiem("down");
|
|
242
228
|
}
|
|
243
229
|
minuteDownClickHandler() {
|
|
244
230
|
this.activeEl = this.minuteRef.value;
|
|
245
|
-
|
|
246
|
-
this.activeEl.focus();
|
|
247
|
-
}
|
|
231
|
+
this.activeEl.focus();
|
|
248
232
|
this.time.decrementMinute();
|
|
249
233
|
}
|
|
250
234
|
minuteUpClickHandler() {
|
|
251
235
|
this.activeEl = this.minuteRef.value;
|
|
252
|
-
|
|
253
|
-
this.activeEl.focus();
|
|
254
|
-
}
|
|
236
|
+
this.activeEl.focus();
|
|
255
237
|
this.time.incrementMinute();
|
|
256
238
|
}
|
|
257
239
|
secondDownClickHandler() {
|
|
258
240
|
this.activeEl = this.secondRef.value;
|
|
259
|
-
|
|
260
|
-
this.activeEl.focus();
|
|
261
|
-
}
|
|
241
|
+
this.activeEl.focus();
|
|
262
242
|
this.time.decrementSecond();
|
|
263
243
|
}
|
|
264
244
|
secondUpClickHandler() {
|
|
265
245
|
this.activeEl = this.secondRef.value;
|
|
266
|
-
this.activeEl
|
|
246
|
+
this.activeEl.focus();
|
|
267
247
|
this.time.incrementSecond();
|
|
268
248
|
}
|
|
269
249
|
timeChangeHandler(event) {
|
|
@@ -299,7 +279,7 @@ class TimePicker extends LitElement {
|
|
|
299
279
|
[CSS.button]: true,
|
|
300
280
|
[CSS.buttonHourUp]: true,
|
|
301
281
|
[CSS.buttonTopLeft]: true
|
|
302
|
-
})} @click=${this.hourUpClickHandler} role=button><calcite-icon .icon=${ICONS.chevronUp} .scale=${iconScale}></calcite-icon></span><span .ariaLabel=${messages.hour} aria-valuemax=23 aria-valuemin=1 .ariaValueNow=${hourIsNumber && parseInt(hour) || "0"} .ariaValueText=${hour
|
|
282
|
+
})} @click=${this.hourUpClickHandler} role=button><calcite-icon .icon=${ICONS.chevronUp} .scale=${iconScale}></calcite-icon></span><span .ariaLabel=${messages.hour} aria-valuemax=23 aria-valuemin=1 .ariaValueNow=${hourIsNumber && parseInt(hour) || "0"} .ariaValueText=${hour} class=${safeClassMap({
|
|
303
283
|
[CSS.input]: true,
|
|
304
284
|
[CSS.hour]: true,
|
|
305
285
|
[CSS.inputFocus]: activeEl && activeEl === this.hourRef.value
|
|
@@ -310,7 +290,7 @@ class TimePicker extends LitElement {
|
|
|
310
290
|
})} @click=${this.hourDownClickHandler} role=button><calcite-icon .icon=${ICONS.chevronDown} .scale=${iconScale}></calcite-icon></span></div><span class=${safeClassMap({ [CSS.delimiter]: true, [CSS.hourSuffix]: true })}>${localizedHourSuffix}</span><div class=${safeClassMap(CSS.column)} role=group><span .ariaLabel=${messages.minuteUp} class=${safeClassMap({
|
|
311
291
|
[CSS.button]: true,
|
|
312
292
|
[CSS.buttonMinuteUp]: true
|
|
313
|
-
})} @click=${this.minuteUpClickHandler} role=button><calcite-icon .icon=${ICONS.chevronUp} .scale=${iconScale}></calcite-icon></span><span .ariaLabel=${messages.minute} aria-valuemax=12 aria-valuemin=1 .ariaValueNow=${minuteIsNumber && parseInt(minute) || "0"} .ariaValueText=${minute
|
|
293
|
+
})} @click=${this.minuteUpClickHandler} role=button><calcite-icon .icon=${ICONS.chevronUp} .scale=${iconScale}></calcite-icon></span><span .ariaLabel=${messages.minute} aria-valuemax=12 aria-valuemin=1 .ariaValueNow=${minuteIsNumber && parseInt(minute) || "0"} .ariaValueText=${minute} class=${safeClassMap({
|
|
314
294
|
[CSS.input]: true,
|
|
315
295
|
[CSS.minute]: true,
|
|
316
296
|
[CSS.inputFocus]: activeEl && activeEl === this.minuteRef.value
|
|
@@ -320,7 +300,7 @@ class TimePicker extends LitElement {
|
|
|
320
300
|
})} @click=${this.minuteDownClickHandler} role=button><calcite-icon .icon=${ICONS.chevronDown} .scale=${iconScale}></calcite-icon></span></div>${this.showSecond && html`<span class=${safeClassMap({ [CSS.delimiter]: true, [CSS.minuteSuffix]: true })}>${localizedMinuteSuffix}</span>` || ""}${this.showSecond && html`<div class=${safeClassMap(CSS.column)} role=group><span .ariaLabel=${messages.secondUp} class=${safeClassMap({
|
|
321
301
|
[CSS.button]: true,
|
|
322
302
|
[CSS.buttonSecondUp]: true
|
|
323
|
-
})} @click=${this.secondUpClickHandler} role=button><calcite-icon .icon=${ICONS.chevronUp} .scale=${iconScale}></calcite-icon></span><span .ariaLabel=${messages.second} aria-valuemax=59 aria-valuemin=0 .ariaValueNow=${secondIsNumber && parseInt(second) || "0"} .ariaValueText=${second
|
|
303
|
+
})} @click=${this.secondUpClickHandler} role=button><calcite-icon .icon=${ICONS.chevronUp} .scale=${iconScale}></calcite-icon></span><span .ariaLabel=${messages.second} aria-valuemax=59 aria-valuemin=0 .ariaValueNow=${secondIsNumber && parseInt(second) || "0"} .ariaValueText=${second} class=${safeClassMap({
|
|
324
304
|
[CSS.input]: true,
|
|
325
305
|
[CSS.second]: true,
|
|
326
306
|
[CSS.inputFocus]: activeEl && activeEl === this.secondRef.value
|
|
@@ -330,7 +310,7 @@ class TimePicker extends LitElement {
|
|
|
330
310
|
})} @click=${this.secondDownClickHandler} role=button><calcite-icon .icon=${ICONS.chevronDown} .scale=${iconScale}></calcite-icon></span></div>` || ""}${this.showFractionalSecond && html`<span class=${safeClassMap({ [CSS.delimiter]: true, [CSS.decimalSeparator]: true })}>${localizedDecimalSeparator}</span>` || ""}${this.showFractionalSecond && html`<div class=${safeClassMap(CSS.column)} role=group><span .ariaLabel=${messages.fractionalSecondUp} class=${safeClassMap({
|
|
331
311
|
[CSS.button]: true,
|
|
332
312
|
[CSS.buttonFractionalSecondUp]: true
|
|
333
|
-
})} @click=${this.fractionalSecondUpClickHandler} role=button><calcite-icon .icon=${ICONS.chevronUp} .scale=${iconScale}></calcite-icon></span><span .ariaLabel=${messages.fractionalSecond} aria-valuemax=999 aria-valuemin=1 .ariaValueNow=${fractionalSecondIsNumber && parseInt(fractionalSecond) || "0"} .ariaValueText=${localizedFractionalSecond
|
|
313
|
+
})} @click=${this.fractionalSecondUpClickHandler} role=button><calcite-icon .icon=${ICONS.chevronUp} .scale=${iconScale}></calcite-icon></span><span .ariaLabel=${messages.fractionalSecond} aria-valuemax=999 aria-valuemin=1 .ariaValueNow=${fractionalSecondIsNumber && parseInt(fractionalSecond) || "0"} .ariaValueText=${localizedFractionalSecond} class=${safeClassMap({
|
|
334
314
|
[CSS.input]: true,
|
|
335
315
|
[CSS.fractionalSecond]: true,
|
|
336
316
|
[CSS.inputFocus]: activeEl && activeEl === this.fractionalSecondRef.value
|
|
@@ -344,7 +324,7 @@ class TimePicker extends LitElement {
|
|
|
344
324
|
[CSS.button]: true,
|
|
345
325
|
[CSS.buttonMeridiemUp]: true,
|
|
346
326
|
[CSS.buttonTopRight]: true
|
|
347
|
-
})} @click=${this.meridiemUpClickHandler} role=button><calcite-icon .icon=${ICONS.chevronUp} .scale=${iconScale}></calcite-icon></span><span .ariaLabel=${messages.meridiem} aria-valuemax=2 aria-valuemin=1 .ariaValueNow=${meridiem === "PM" && "2" || "1"} .ariaValueText=${meridiem
|
|
327
|
+
})} @click=${this.meridiemUpClickHandler} role=button><calcite-icon .icon=${ICONS.chevronUp} .scale=${iconScale}></calcite-icon></span><span .ariaLabel=${messages.meridiem} aria-valuemax=2 aria-valuemin=1 .ariaValueNow=${meridiem === "PM" && "2" || "1"} .ariaValueText=${meridiem} class=${safeClassMap({
|
|
348
328
|
[CSS.input]: true,
|
|
349
329
|
[CSS.meridiem]: true,
|
|
350
330
|
[CSS.inputFocus]: activeEl && activeEl === this.meridiemRef.value
|
|
@@ -23,7 +23,7 @@ export abstract class Tooltip extends LitElement {
|
|
|
23
23
|
*
|
|
24
24
|
* @deprecated in v1.5.0, removal target v6.0.0 - No longer necessary. Overrides the context of the component's text description, which could confuse assistive technology users.
|
|
25
25
|
*/
|
|
26
|
-
accessor label: string
|
|
26
|
+
accessor label: string;
|
|
27
27
|
/** Specifies the distance to position the component away from the `referenceElement`. */
|
|
28
28
|
accessor offsetDistance: number;
|
|
29
29
|
/**
|
|
@@ -69,7 +69,7 @@ export abstract class Tooltip extends LitElement {
|
|
|
69
69
|
*
|
|
70
70
|
* The component should not be placed within its own `referenceElement` to avoid unintended behavior.
|
|
71
71
|
*/
|
|
72
|
-
accessor referenceElement: ReferenceElement | string;
|
|
72
|
+
accessor referenceElement: ReferenceElement | string | null;
|
|
73
73
|
/**
|
|
74
74
|
* Specifies the size of the component.
|
|
75
75
|
*
|
|
@@ -115,7 +115,7 @@ class Tooltip extends LitElement {
|
|
|
115
115
|
const hidden = !displayed;
|
|
116
116
|
const arrowNode = !pointerDisabled ? keyed("floating-arrow", FloatingArrow({ floatingLayout, ref: this.setArrowEl })) : null;
|
|
117
117
|
this.el.inert = hidden;
|
|
118
|
-
this.el.ariaLabel = label
|
|
118
|
+
this.el.ariaLabel = label;
|
|
119
119
|
this.el.ariaLive = "polite";
|
|
120
120
|
this.el.role = "tooltip";
|
|
121
121
|
return html`<div class=${safeClassMap(CSS.positionContainer)} popover=manual ${ref(this.setFloatingEl)}><div class=${safeClassMap({
|
|
@@ -11,8 +11,8 @@ function getTraversableItems(root) {
|
|
|
11
11
|
return Array.from(root.querySelectorAll("calcite-tree-item:not([disabled])")).filter(
|
|
12
12
|
(item) => {
|
|
13
13
|
let currentItem = item;
|
|
14
|
-
while (currentItem !== root && currentItem !==
|
|
15
|
-
const parent = currentItem.parentElement
|
|
14
|
+
while (currentItem !== root && currentItem !== void 0) {
|
|
15
|
+
const parent = currentItem.parentElement;
|
|
16
16
|
const traversable = !isTreeItem(parent) || !parent.hasChildren || parent.expanded;
|
|
17
17
|
if (!traversable) {
|
|
18
18
|
return false;
|
|
@@ -28,7 +28,6 @@ class Tree extends LitElement {
|
|
|
28
28
|
constructor() {
|
|
29
29
|
super();
|
|
30
30
|
this.items = [];
|
|
31
|
-
this.child = false;
|
|
32
31
|
this.lines = false;
|
|
33
32
|
this.parentExpanded = false;
|
|
34
33
|
this.scale = "m";
|
|
@@ -51,7 +50,7 @@ class Tree extends LitElement {
|
|
|
51
50
|
if (changes.has("parentExpanded") && (this.hasUpdated || this.parentExpanded !== false)) {
|
|
52
51
|
this.updateItems();
|
|
53
52
|
}
|
|
54
|
-
const parent = this.el.parentElement?.closest("calcite-tree")
|
|
53
|
+
const parent = this.el.parentElement?.closest("calcite-tree");
|
|
55
54
|
this.lines = parent ? parent.lines : this.lines;
|
|
56
55
|
this.scale = parent ? parent.scale : this.scale;
|
|
57
56
|
this.selectionMode = parent ? parent.selectionMode : this.selectionMode;
|
|
@@ -59,7 +58,7 @@ class Tree extends LitElement {
|
|
|
59
58
|
}
|
|
60
59
|
onFocus() {
|
|
61
60
|
if (!this.child) {
|
|
62
|
-
const focusTarget =
|
|
61
|
+
const focusTarget = this.el.querySelector("calcite-tree-item[selected]:not([disabled])") || this.el.querySelector("calcite-tree-item:not([disabled])");
|
|
63
62
|
focusElement(focusTarget, true, "focusable");
|
|
64
63
|
}
|
|
65
64
|
}
|
|
@@ -280,8 +279,8 @@ class Tree extends LitElement {
|
|
|
280
279
|
return !this.child ? 0 : -1;
|
|
281
280
|
}
|
|
282
281
|
render() {
|
|
283
|
-
this.el.ariaMultiSelectable = this.child ?
|
|
284
|
-
this.el.role = !this.child ? "tree" :
|
|
282
|
+
this.el.ariaMultiSelectable = this.child ? void 0 : toAriaBoolean(this.selectionMode === "multiple" || this.selectionMode === "multichildren");
|
|
283
|
+
this.el.role = !this.child ? "tree" : void 0;
|
|
285
284
|
setAttribute(this.el, "tabIndex", this.getRootTabIndex());
|
|
286
285
|
return html`<slot @slotchange=${this.handleDefaultSlotChange}></slot>`;
|
|
287
286
|
}
|
|
@@ -25,11 +25,11 @@ export abstract class TreeItem extends LitElement {
|
|
|
25
25
|
*/
|
|
26
26
|
accessor expanded: boolean;
|
|
27
27
|
/** When `true`, the icon will be flipped when the element direction is right-to-left (`"rtl"`). */
|
|
28
|
-
accessor iconFlipRtl: FlipContext
|
|
28
|
+
accessor iconFlipRtl: FlipContext;
|
|
29
29
|
/** Specifies an icon to display at the start of the component. */
|
|
30
|
-
accessor iconStart: IconName
|
|
30
|
+
accessor iconStart: IconName;
|
|
31
31
|
/** Specifies an accessible label for the component. */
|
|
32
|
-
accessor label: string
|
|
32
|
+
accessor label: string;
|
|
33
33
|
/**
|
|
34
34
|
* When `true`, the component is selected.
|
|
35
35
|
*
|
|
@@ -40,9 +40,7 @@ class TreeItem extends LitElement {
|
|
|
40
40
|
constructor() {
|
|
41
41
|
super();
|
|
42
42
|
this.actionSlotWrapperRef = createRef();
|
|
43
|
-
this.childTree = null;
|
|
44
43
|
this.direction = useDirection();
|
|
45
|
-
this.isSelectionMultiLike = false;
|
|
46
44
|
this.userChangedValue = false;
|
|
47
45
|
this.interactiveContainer = useInteractive(this);
|
|
48
46
|
this.hasEndActions = false;
|
|
@@ -51,7 +49,6 @@ class TreeItem extends LitElement {
|
|
|
51
49
|
this.disabled = false;
|
|
52
50
|
this.expanded = false;
|
|
53
51
|
this.indeterminate = false;
|
|
54
|
-
this.lines = false;
|
|
55
52
|
this.parentExpanded = false;
|
|
56
53
|
this.selected = false;
|
|
57
54
|
this.calciteInternalTreeItemSelect = createEvent({ cancelable: false });
|
|
@@ -72,7 +69,7 @@ class TreeItem extends LitElement {
|
|
|
72
69
|
}
|
|
73
70
|
connectedCallback() {
|
|
74
71
|
super.connectedCallback();
|
|
75
|
-
this.parentTreeItem = this.el.parentElement?.closest("calcite-tree-item")
|
|
72
|
+
this.parentTreeItem = this.el.parentElement?.closest("calcite-tree-item");
|
|
76
73
|
}
|
|
77
74
|
load() {
|
|
78
75
|
requestAnimationFrame(() => this.updateAfterInitialRender = true);
|
|
@@ -194,10 +191,7 @@ class TreeItem extends LitElement {
|
|
|
194
191
|
}
|
|
195
192
|
if (this.selected) {
|
|
196
193
|
const parentTree = this.el.parentElement;
|
|
197
|
-
|
|
198
|
-
return;
|
|
199
|
-
}
|
|
200
|
-
const siblings = Array.from(parentTree.children);
|
|
194
|
+
const siblings = Array.from(parentTree?.children);
|
|
201
195
|
const selectedSiblings = siblings.filter((child) => child.selected);
|
|
202
196
|
if (siblings.length === selectedSiblings.length) {
|
|
203
197
|
parentItem.selected = true;
|
|
@@ -229,7 +223,7 @@ class TreeItem extends LitElement {
|
|
|
229
223
|
this.lines = parentTree.lines;
|
|
230
224
|
let nextParentTree;
|
|
231
225
|
while (parentTree) {
|
|
232
|
-
nextParentTree = parentTree.parentElement?.closest("calcite-tree")
|
|
226
|
+
nextParentTree = parentTree.parentElement?.closest("calcite-tree");
|
|
233
227
|
if (nextParentTree === parentTree) {
|
|
234
228
|
break;
|
|
235
229
|
} else {
|
|
@@ -268,11 +262,11 @@ class TreeItem extends LitElement {
|
|
|
268
262
|
const { hasEndActions } = this;
|
|
269
263
|
const slotNode = keyed("actionsEndSlot", html`<slot name=${SLOTS.actionsEnd} @slotchange=${this.actionsEndSlotChangeHandler}></slot>`);
|
|
270
264
|
const iconStartEl = html`<calcite-icon class=${safeClassMap(CSS.iconStart)} .flipRtl=${this.iconFlipRtl === "start" || this.iconFlipRtl === "both"} .icon=${this.iconStart} .scale=${getIconScale(this.scale)}></calcite-icon>`;
|
|
271
|
-
this.el.ariaChecked = this.selectionMode === "multiple" || this.selectionMode === "multichildren" || this.selectionMode === "ancestors" ? toAriaBoolean(this.selected) :
|
|
272
|
-
this.el.ariaExpanded = this.hasChildren ? toAriaBoolean(isExpanded) :
|
|
265
|
+
this.el.ariaChecked = this.selectionMode === "multiple" || this.selectionMode === "multichildren" || this.selectionMode === "ancestors" ? toAriaBoolean(this.selected) : void 0;
|
|
266
|
+
this.el.ariaExpanded = this.hasChildren ? toAriaBoolean(isExpanded) : void 0;
|
|
273
267
|
this.el.inert = hidden;
|
|
274
268
|
this.el.ariaLive = "polite";
|
|
275
|
-
this.el.ariaSelected = this.selectionMode === "single" || this.selectionMode === "children" || this.selectionMode === "single-persist" ? toAriaBoolean(this.selected) :
|
|
269
|
+
this.el.ariaSelected = this.selectionMode === "single" || this.selectionMode === "children" || this.selectionMode === "single-persist" ? toAriaBoolean(this.selected) : void 0;
|
|
276
270
|
this.el.role = "treeitem";
|
|
277
271
|
setAttribute(this.el, "tabIndex", this.disabled ? -1 : 0);
|
|
278
272
|
return this.interactiveContainer({ disabled: this.disabled, children: html`<div class=${safeClassMap({ [CSS.itemExpanded]: isExpanded })}><div class=${safeClassMap(CSS.nodeAndActionsContainer)}><div class=${safeClassMap({
|
|
@@ -27,34 +27,34 @@ export interface TimeComponent extends LitElement {
|
|
|
27
27
|
/** Specifies the granularity the component's `value` must adhere to (in seconds). */
|
|
28
28
|
step: number;
|
|
29
29
|
/** The component's time value in ISO (24-hour) format. */
|
|
30
|
-
value: string
|
|
30
|
+
value: string;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
export class TimeController extends GenericController<TimeProperties, TimeComponent> {
|
|
34
34
|
calciteTimeChange: EventEmitter<string>;
|
|
35
|
-
fractionalSecond
|
|
35
|
+
fractionalSecond: string;
|
|
36
36
|
handleFractionalSecondKeyDownEvent: (event: KeyboardEvent) => void;
|
|
37
37
|
handleHourKeyDownEvent: (event: KeyboardEvent) => void;
|
|
38
38
|
handleMeridiemKeyDownEvent: (event: KeyboardEvent) => void;
|
|
39
39
|
handleMinuteKeyDownEvent: (event: KeyboardEvent) => void;
|
|
40
40
|
handleSecondKeyDownEvent: (event: KeyboardEvent) => void;
|
|
41
|
-
hour
|
|
42
|
-
hourFormat
|
|
43
|
-
locale
|
|
41
|
+
hour: string;
|
|
42
|
+
hourFormat: EffectiveHourFormat;
|
|
43
|
+
locale: Locale;
|
|
44
44
|
/** @default "." */
|
|
45
45
|
localizedDecimalSeparator: string;
|
|
46
|
-
localizedFractionalSecond
|
|
47
|
-
localizedHour
|
|
48
|
-
localizedHourSuffix
|
|
49
|
-
localizedMeridiem
|
|
50
|
-
localizedMinute
|
|
51
|
-
localizedMinuteSuffix
|
|
52
|
-
localizedSecond
|
|
53
|
-
localizedSecondSuffix
|
|
54
|
-
meridiem
|
|
55
|
-
meridiemOrder
|
|
56
|
-
minute
|
|
57
|
-
second
|
|
46
|
+
localizedFractionalSecond: string;
|
|
47
|
+
localizedHour: string;
|
|
48
|
+
localizedHourSuffix: string;
|
|
49
|
+
localizedMeridiem: string;
|
|
50
|
+
localizedMinute: string;
|
|
51
|
+
localizedMinuteSuffix: string;
|
|
52
|
+
localizedSecond: string;
|
|
53
|
+
localizedSecondSuffix: string;
|
|
54
|
+
meridiem: Meridiem;
|
|
55
|
+
meridiemOrder: number;
|
|
56
|
+
minute: string;
|
|
57
|
+
second: string;
|
|
58
58
|
/** @default false */
|
|
59
59
|
userChangedValue: boolean;
|
|
60
60
|
decrementHour(): void;
|
|
@@ -72,7 +72,7 @@ export class TimeController extends GenericController<TimeProperties, TimeCompon
|
|
|
72
72
|
* @param value
|
|
73
73
|
* @param userChangedValue
|
|
74
74
|
*/
|
|
75
|
-
setValue(value: string
|
|
75
|
+
setValue(value: string, userChangedValue?: boolean): void;
|
|
76
76
|
/**
|
|
77
77
|
* @param key
|
|
78
78
|
* @param value
|
|
@@ -88,7 +88,7 @@ export type TimeProperties = {
|
|
|
88
88
|
/** The fractional second portion of the time value. */
|
|
89
89
|
fractionalSecond: string;
|
|
90
90
|
/** The hour portion of the time value (in ISO 24-hour format). */
|
|
91
|
-
hour
|
|
91
|
+
hour: string;
|
|
92
92
|
/**
|
|
93
93
|
* The effective hour format, calculated based on the component's hour-format property.
|
|
94
94
|
* The component's hour-format of "user" will resolve to the locale's default hour format.
|
|
@@ -127,7 +127,7 @@ export type TimeProperties = {
|
|
|
127
127
|
/** An integer representing the order in which the meridiem appears for the locale within an array of values returned by Intl.DateTimeFormat. */
|
|
128
128
|
meridiemOrder: number;
|
|
129
129
|
/** The minute portion of the time value. */
|
|
130
|
-
minute
|
|
130
|
+
minute: string;
|
|
131
131
|
/** The second portion of the time value. */
|
|
132
132
|
second: string;
|
|
133
133
|
};
|