@esri/calcite-components 5.1.0-next.27 → 5.1.0-next.29
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/{75BCQ3LD.js → 2774KVH7.js} +1 -1
- package/dist/cdn/{NM5OHTOQ.js → 2A7OD3NI.js} +1 -1
- package/dist/cdn/2KHMJHMG.js +2 -0
- package/dist/cdn/{ASLYOLBT.js → 2LFFLS5I.js} +1 -1
- package/dist/cdn/{GPLPESRJ.js → 2ME5OYB5.js} +1 -1
- package/dist/cdn/{VQZQG7W6.js → 2P5OSUTT.js} +1 -1
- package/dist/cdn/{USE5GH2O.js → 2ROQUV63.js} +1 -1
- package/dist/cdn/{NRHYZ6VT.js → 2VIUBNU7.js} +1 -1
- package/dist/cdn/{QSKYLKVG.js → 35CFNMQ2.js} +1 -1
- package/dist/cdn/{5JO6WSQD.js → 3GW2GQKK.js} +1 -1
- package/dist/cdn/{T4YCPPXN.js → 3J6QKRUK.js} +1 -1
- package/dist/cdn/{O5TFES37.js → 3MCKHHNA.js} +1 -1
- package/dist/cdn/{54PL5YYE.js → 3PK46TTS.js} +1 -1
- package/dist/cdn/{DSVF3SUP.js → 3URV7ITM.js} +1 -1
- package/dist/cdn/{IGCKKA2J.js → 3UZVTUAF.js} +1 -1
- package/dist/cdn/{72U2CFXQ.js → 3WH6RKNU.js} +1 -1
- package/dist/cdn/{CMCOQ2ZQ.js → 3XHNWY7K.js} +1 -1
- package/dist/cdn/{2DHM2AXA.js → 4A5A5D5W.js} +1 -1
- package/dist/cdn/{RIDZUBJV.js → 4HWFXEKI.js} +1 -1
- package/dist/cdn/4MLDWQAD.js +2 -0
- package/dist/cdn/{IPY6VPUR.js → 4ORDMS52.js} +1 -1
- package/dist/cdn/{AE2F4BUK.js → 4QLF3MYZ.js} +1 -1
- package/dist/cdn/{UBOEFTP3.js → 4RNWEA42.js} +1 -1
- package/dist/cdn/{BBABEQAO.js → 56L55R3T.js} +1 -1
- package/dist/cdn/{H3U2HAMG.js → 57JKZXSD.js} +1 -1
- package/dist/cdn/{QRYPA4IV.js → 5F7EWFYE.js} +1 -1
- package/dist/cdn/{6V5DMSM2.js → 5L4ZE6B3.js} +1 -1
- package/dist/cdn/{PEKJ55HR.js → 5N6XKIEY.js} +1 -1
- package/dist/cdn/{OARZXAME.js → 5PK5K6DV.js} +1 -1
- package/dist/cdn/{HNX5XQV2.js → 5RSEGD3Q.js} +1 -1
- package/dist/cdn/{2HB7KOBP.js → 5SSMIBVX.js} +1 -1
- package/dist/cdn/{HEVPYY2V.js → 5YTWFFBC.js} +1 -1
- package/dist/cdn/{7KQ3RZM7.js → 62SLF7YF.js} +1 -1
- package/dist/cdn/{KKJF2A4I.js → 6CXASKN6.js} +1 -1
- package/dist/cdn/{6EODEWKH.js → 6J5IRG7C.js} +1 -1
- package/dist/cdn/{M74RGHFF.js → 6MUHKMRN.js} +1 -1
- package/dist/cdn/{UTJXHCBA.js → 72FG7HOT.js} +1 -1
- package/dist/cdn/{PBAB3HRR.js → 72IUD3WR.js} +1 -1
- package/dist/cdn/{L2QH3NOK.js → 757UMZB3.js} +1 -1
- package/dist/cdn/7B3BGNCD.js +2 -0
- package/dist/cdn/{HJHCTNLQ.js → 7JZ6GIIK.js} +1 -1
- package/dist/cdn/{EXJYOXYB.js → A2LLJ3B3.js} +1 -1
- package/dist/cdn/{VH4YUC3H.js → ASZO3JVA.js} +1 -1
- package/dist/cdn/{XDR673RG.js → AZXGCZOO.js} +1 -1
- package/dist/cdn/{YKCXM6YK.js → B4TU2ZSH.js} +1 -1
- package/dist/cdn/{34VGNW3O.js → BGR6GMQK.js} +1 -1
- package/dist/cdn/{JESVG6N3.js → BHX26PYQ.js} +1 -1
- package/dist/cdn/BVIPXSON.js +2 -0
- package/dist/cdn/{AUAQWL4A.js → C6MEU4R3.js} +1 -1
- package/dist/cdn/{2YLO3Z4A.js → CMDKA2BD.js} +1 -1
- package/dist/cdn/{CA3ULZR2.js → CRFOCZQW.js} +3 -3
- package/dist/cdn/{ATU3KAMI.js → D24OZELU.js} +1 -1
- package/dist/cdn/{JYWTNXTR.js → DML77MCY.js} +1 -1
- package/dist/cdn/{RH7VDBAU.js → DNWLCEPS.js} +1 -1
- package/dist/cdn/{FXVVCB4J.js → DQ66AZG2.js} +1 -1
- package/dist/cdn/{KQ3QKB3J.js → DX2SQKVV.js} +1 -1
- package/dist/cdn/{EJL6F2Z5.js → E2D5MUPH.js} +1 -1
- package/dist/cdn/{A5TNVJG6.js → EC5JUIYO.js} +1 -1
- package/dist/cdn/{FAR73AUB.js → ECIAN3N2.js} +1 -1
- package/dist/cdn/{RZ4GWURO.js → EI5VZJ4U.js} +1 -1
- package/dist/cdn/{UVNB2GNS.js → F3F7X7O6.js} +1 -1
- package/dist/cdn/F4Z7TYLG.js +2 -0
- package/dist/cdn/FBXMNXWX.js +2 -0
- package/dist/cdn/{UM2MFHK5.js → FCWPLIRV.js} +1 -1
- package/dist/cdn/{LF6RR4P6.js → FL6D5D6K.js} +1 -1
- package/dist/cdn/{QMBMILIO.js → FQ3WJLJO.js} +1 -1
- package/dist/cdn/{2GKBBM7Q.js → FZ2JZSMA.js} +1 -1
- package/dist/cdn/{CAEHJMTO.js → GJD26N3G.js} +1 -1
- package/dist/cdn/{VCIM3T4Q.js → GY7MUY5M.js} +1 -1
- package/dist/cdn/H5NIQBIL.js +2 -0
- package/dist/cdn/HCKEAQP3.js +2 -0
- package/dist/cdn/{LI6VB7Z4.js → HFI7CKQS.js} +1 -1
- package/dist/cdn/{J33LV53D.js → HI2CNLLK.js} +1 -1
- package/dist/cdn/{K3G2WW5H.js → HM54UK7F.js} +1 -1
- package/dist/cdn/{R4MDFTLA.js → HNTFWSL5.js} +1 -1
- package/dist/cdn/{UL2LROO7.js → HUHH7HH4.js} +1 -1
- package/dist/cdn/{2WFS3POS.js → HVX5VZEE.js} +1 -1
- package/dist/cdn/{535HZX2R.js → I2C67Y67.js} +1 -1
- package/dist/cdn/{YYVB3KET.js → I2GEGGLW.js} +1 -1
- package/dist/cdn/IZMEKECH.js +2 -0
- package/dist/cdn/{VPK3K5DJ.js → JQAOERYZ.js} +1 -1
- package/dist/cdn/{UYVL7EZJ.js → JULD2ZZJ.js} +1 -1
- package/dist/cdn/{GLDDZIVB.js → JWLSYQWW.js} +1 -1
- package/dist/cdn/{RLGEEUUF.js → K54R67HB.js} +1 -1
- package/dist/cdn/{37DOLJ2M.js → K5IV2PUI.js} +1 -1
- package/dist/cdn/K6G2LLUP.js +2 -0
- package/dist/cdn/{TRH4ZJKL.js → KXMVRMR4.js} +1 -1
- package/dist/cdn/KYYTSHOB.js +2 -0
- package/dist/cdn/{BOSTYDGV.js → LBJOOP5D.js} +1 -1
- package/dist/cdn/{XRVLOAEF.js → LXVFVBN5.js} +1 -1
- package/dist/cdn/{OZNJ3QF7.js → M4S5JCJJ.js} +1 -1
- package/dist/cdn/{XTSWGDOV.js → MHKVSMA2.js} +1 -1
- package/dist/cdn/{3VLZZDOB.js → MN7GRG5C.js} +1 -1
- package/dist/cdn/{5OTQBJDU.js → MPWCYZAP.js} +1 -1
- package/dist/cdn/{AYYC7TQI.js → MRMQXGPG.js} +1 -1
- package/dist/cdn/{A4EVSHBV.js → MU5V47HR.js} +1 -1
- package/dist/cdn/{4TSSRGCA.js → NAVKK6W5.js} +1 -1
- package/dist/cdn/{DGHSYXZ2.js → NCERYKAV.js} +1 -1
- package/dist/cdn/{MA7DHKWF.js → NN645OFY.js} +1 -1
- package/dist/cdn/{NIYU7VI2.js → ODR2JIF7.js} +1 -1
- package/dist/cdn/{2HIJ2TKK.js → OEW7E3YX.js} +1 -1
- package/dist/cdn/{3GGV4N3M.js → ORMSV2TU.js} +1 -1
- package/dist/cdn/{L5DQE5BE.js → P5J4U7OT.js} +1 -1
- package/dist/cdn/{7IKOVEYM.js → PEP2AH5X.js} +1 -1
- package/dist/cdn/{Y74RG63Y.js → POQQQUYI.js} +1 -1
- package/dist/cdn/{5GNMO3F5.js → PRTYOKYD.js} +1 -1
- package/dist/cdn/{63LQ3N2L.js → QU6Z6ZBG.js} +1 -1
- package/dist/cdn/{VSMV7HZ7.js → QUCQKJ4W.js} +1 -1
- package/dist/cdn/{4LMKMVAS.js → R2A2OZRS.js} +1 -1
- package/dist/cdn/{2ULDBE64.js → R6IWVD4X.js} +1 -1
- package/dist/cdn/{I3AADXFM.js → RG5N3OMG.js} +1 -1
- package/dist/cdn/{65MGRH7E.js → RNXM2KNR.js} +1 -1
- package/dist/cdn/{T27R25B3.js → RWDLTH4M.js} +1 -1
- package/dist/cdn/{6DNE3XJM.js → RZEINJFA.js} +1 -1
- package/dist/cdn/{6KOREZVO.js → S5AKV5YP.js} +1 -1
- package/dist/cdn/{SMPCLTYK.js → S5GMOJ4U.js} +1 -1
- package/dist/cdn/{62N5UZMU.js → SMTCKMGV.js} +1 -1
- package/dist/cdn/{5E5L2Y3U.js → TEFHWHI3.js} +1 -1
- package/dist/cdn/{7URVEN3S.js → THB3WT3W.js} +1 -1
- package/dist/cdn/{TX2ZCNO3.js → TNXTU6DC.js} +1 -1
- package/dist/cdn/{EGS6U2LM.js → U6HWDPH5.js} +1 -1
- package/dist/cdn/{6R6JIMH7.js → UC65BMRG.js} +1 -1
- package/dist/cdn/{KR37VVWJ.js → UWJGUBBX.js} +1 -1
- package/dist/cdn/{RAFI6A4X.js → X2ZWT3TQ.js} +1 -1
- package/dist/cdn/{S2QAJ6UR.js → X4FGFHEI.js} +1 -1
- package/dist/cdn/{TGNFTCWX.js → X4MVJKT4.js} +1 -1
- package/dist/cdn/{A6UIXWA4.js → X6O4NMTT.js} +1 -1
- package/dist/cdn/{UV2FZ7AS.js → XA4URCKQ.js} +1 -1
- package/dist/cdn/XNWE3PAG.js +2 -0
- package/dist/cdn/{UVX4FZFF.js → XQW6DTWU.js} +1 -1
- package/dist/cdn/{WM6RPT5D.js → XTO4RFJW.js} +1 -1
- package/dist/cdn/{472WFEW2.js → XUADJAPV.js} +1 -1
- package/dist/cdn/{7IRIGYHH.js → YAZASOGD.js} +1 -1
- package/dist/cdn/{FUW4XX3M.js → YCRFHLNV.js} +1 -1
- package/dist/cdn/{HHXKVWKF.js → YKA2ZCMA.js} +1 -1
- package/dist/cdn/{REBQK6OW.js → YM3OJHXD.js} +1 -1
- package/dist/cdn/{OJ43R3W5.js → YO23HNJ3.js} +1 -1
- package/dist/cdn/YONXEXEH.js +2 -0
- package/dist/cdn/{EW664ACU.js → YWW7ERUT.js} +1 -1
- package/dist/cdn/Z6PXXTUK.js +2 -0
- package/dist/cdn/{OB6367SJ.js → Z76NX6MY.js} +1 -1
- package/dist/cdn/{X2YX7QA7.js → ZRNTWXE6.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/runtime.js +4 -4
- package/dist/chunks/useForm.js +4 -2
- package/dist/components/calcite-accordion-item/customElement.d.ts +1 -1
- package/dist/components/calcite-action/customElement.d.ts +2 -2
- package/dist/components/calcite-action-bar/customElement.d.ts +1 -1
- package/dist/components/calcite-action-group/customElement.d.ts +2 -2
- package/dist/components/calcite-action-menu/customElement.d.ts +2 -2
- package/dist/components/calcite-action-pad/customElement.d.ts +1 -1
- package/dist/components/calcite-alert/customElement.d.ts +2 -2
- package/dist/components/calcite-autocomplete/customElement.d.ts +10 -10
- package/dist/components/calcite-autocomplete/customElement.js +1 -1
- package/dist/components/calcite-block/customElement.d.ts +2 -2
- package/dist/components/calcite-block-group/customElement.d.ts +1 -1
- package/dist/components/calcite-block-section/customElement.d.ts +1 -1
- package/dist/components/calcite-button/customElement.d.ts +5 -5
- package/dist/components/calcite-card/customElement.d.ts +1 -1
- package/dist/components/calcite-card-group/customElement.d.ts +1 -1
- package/dist/components/calcite-carousel/customElement.d.ts +1 -1
- package/dist/components/calcite-checkbox/customElement.d.ts +4 -5
- package/dist/components/calcite-checkbox/customElement.js +1 -14
- package/dist/components/calcite-chip/customElement.d.ts +1 -1
- package/dist/components/calcite-chip-group/customElement.d.ts +1 -1
- package/dist/components/calcite-color-picker/customElement.d.ts +2 -2
- package/dist/components/calcite-color-picker-hex-input/customElement.d.ts +1 -1
- package/dist/components/calcite-color-picker-swatch/customElement.d.ts +1 -1
- package/dist/components/calcite-combobox/customElement.d.ts +4 -5
- package/dist/components/calcite-combobox/customElement.js +1 -14
- package/dist/components/calcite-date-picker/customElement.d.ts +1 -1
- package/dist/components/calcite-date-picker-day/customElement.d.ts +1 -1
- package/dist/components/calcite-dialog/customElement.d.ts +3 -3
- package/dist/components/calcite-dropdown/customElement.d.ts +2 -2
- package/dist/components/calcite-dropdown-item/customElement.d.ts +1 -1
- package/dist/components/calcite-fab/customElement.d.ts +1 -1
- package/dist/components/calcite-filter/customElement.d.ts +1 -1
- package/dist/components/calcite-flow/customElement.d.ts +1 -1
- package/dist/components/calcite-flow-item/customElement.d.ts +2 -2
- package/dist/components/calcite-handle/customElement.d.ts +1 -1
- package/dist/components/calcite-inline-editable/customElement.d.ts +1 -1
- package/dist/components/calcite-input/customElement.d.ts +17 -18
- package/dist/components/calcite-input/customElement.js +1 -14
- package/dist/components/calcite-input-date-picker/customElement.d.ts +5 -6
- package/dist/components/calcite-input-date-picker/customElement.js +1 -14
- package/dist/components/calcite-input-number/customElement.d.ts +13 -14
- package/dist/components/calcite-input-number/customElement.js +1 -14
- package/dist/components/calcite-input-text/customElement.d.ts +11 -12
- package/dist/components/calcite-input-text/customElement.js +1 -14
- package/dist/components/calcite-input-time-picker/customElement.d.ts +6 -7
- package/dist/components/calcite-input-time-picker/customElement.js +1 -14
- package/dist/components/calcite-input-time-zone/customElement.d.ts +5 -6
- package/dist/components/calcite-input-time-zone/customElement.js +1 -14
- package/dist/components/calcite-link/customElement.d.ts +2 -2
- package/dist/components/calcite-list/customElement.d.ts +1 -1
- package/dist/components/calcite-list-item/customElement.d.ts +2 -2
- package/dist/components/calcite-menu/customElement.d.ts +1 -1
- package/dist/components/calcite-menu-item/customElement.d.ts +3 -3
- package/dist/components/calcite-meter/customElement.js +3 -3
- package/dist/components/calcite-navigation/customElement.d.ts +1 -1
- package/dist/components/calcite-navigation-logo/customElement.d.ts +3 -3
- package/dist/components/calcite-navigation-user/customElement.d.ts +1 -1
- package/dist/components/calcite-notice/customElement.d.ts +1 -1
- package/dist/components/calcite-pagination/customElement.d.ts +1 -1
- package/dist/components/calcite-panel/customElement.d.ts +2 -2
- package/dist/components/calcite-popover/customElement.d.ts +2 -2
- package/dist/components/calcite-radio-button/customElement.d.ts +1 -1
- package/dist/components/calcite-radio-button-group/customElement.d.ts +1 -1
- package/dist/components/calcite-rating/customElement.d.ts +3 -4
- package/dist/components/calcite-rating/customElement.js +1 -14
- package/dist/components/calcite-segmented-control/customElement.d.ts +3 -4
- package/dist/components/calcite-segmented-control/customElement.js +1 -14
- package/dist/components/calcite-select/customElement.d.ts +3 -4
- package/dist/components/calcite-select/customElement.js +1 -14
- package/dist/components/calcite-sheet/customElement.d.ts +2 -2
- package/dist/components/calcite-slider/customElement.d.ts +3 -4
- package/dist/components/calcite-slider/customElement.js +1 -14
- package/dist/components/calcite-sort-handle/customElement.d.ts +2 -2
- package/dist/components/calcite-split-button/customElement.d.ts +5 -5
- package/dist/components/calcite-stepper-item/customElement.d.ts +1 -1
- package/dist/components/calcite-swatch/customElement.d.ts +1 -1
- package/dist/components/calcite-switch/customElement.d.ts +1 -1
- package/dist/components/calcite-table/customElement.js +1 -1
- package/dist/components/calcite-table-cell/customElement.d.ts +1 -1
- package/dist/components/calcite-table-header/customElement.d.ts +1 -1
- package/dist/components/calcite-text-area/customElement.d.ts +13 -14
- package/dist/components/calcite-text-area/customElement.js +2 -15
- package/dist/components/calcite-tile/customElement.d.ts +1 -1
- package/dist/components/calcite-time-picker/customElement.d.ts +1 -1
- package/dist/components/calcite-time-picker/customElement.js +1 -1
- package/dist/components/calcite-tooltip/customElement.d.ts +1 -1
- package/dist/controllers/useSortable.d.ts +3 -3
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/package.json +10 -10
- package/dist/cdn/6XSDKI2N.js +0 -2
- package/dist/cdn/DZQNDNRL.js +0 -2
- package/dist/cdn/FMVAQBXX.js +0 -2
- package/dist/cdn/J65GFHTP.js +0 -2
- package/dist/cdn/KAYQ6NVM.js +0 -2
- package/dist/cdn/M7JUD3UL.js +0 -2
- package/dist/cdn/MBMA3BC2.js +0 -2
- package/dist/cdn/MH6TPLXN.js +0 -2
- package/dist/cdn/O5WYTBAC.js +0 -2
- package/dist/cdn/R3G44EXT.js +0 -2
- package/dist/cdn/T7KI335M.js +0 -2
- package/dist/cdn/U3CDEKCV.js +0 -2
- package/dist/cdn/WRQWMRHR.js +0 -2
- package/dist/cdn/WSEJYHVG.js +0 -2
- package/dist/controllers/useForm.d.ts +0 -3
- package/dist/utils/form.d.ts +0 -3
|
@@ -37,19 +37,6 @@ class Checkbox extends LitElement {
|
|
|
37
37
|
this.required = false;
|
|
38
38
|
this.scale = "m";
|
|
39
39
|
this.status = "idle";
|
|
40
|
-
this.validity = {
|
|
41
|
-
valid: false,
|
|
42
|
-
badInput: false,
|
|
43
|
-
customError: false,
|
|
44
|
-
patternMismatch: false,
|
|
45
|
-
rangeOverflow: false,
|
|
46
|
-
rangeUnderflow: false,
|
|
47
|
-
stepMismatch: false,
|
|
48
|
-
tooLong: false,
|
|
49
|
-
tooShort: false,
|
|
50
|
-
typeMismatch: false,
|
|
51
|
-
valueMissing: false
|
|
52
|
-
};
|
|
53
40
|
this.calciteCheckboxChange = createEvent({ cancelable: false });
|
|
54
41
|
this.calciteInternalCheckboxBlur = createEvent({ cancelable: false });
|
|
55
42
|
this.calciteInternalCheckboxFocus = createEvent({ cancelable: false });
|
|
@@ -57,7 +44,7 @@ class Checkbox extends LitElement {
|
|
|
57
44
|
this.listen("keydown", this.keyDownHandler);
|
|
58
45
|
}
|
|
59
46
|
static {
|
|
60
|
-
this.properties = { checked: [7, {}, { reflect: true, type: Boolean }], disabled: [7, {}, { reflect: true, type: Boolean }], form: [3, {}, { reflect: true }], hovered: [7, {}, { reflect: true, type: Boolean }], indeterminate: [7, {}, { reflect: true, type: Boolean }], label: 1, labelText: 1, messageOverrides: [0, {}, { attribute: false }], name: [3, {}, { reflect: true }], required: [7, {}, { reflect: true, type: Boolean }], scale: [3, {}, { reflect: true }], status: [3, {}, { reflect: true }], validity: [
|
|
47
|
+
this.properties = { checked: [7, {}, { reflect: true, type: Boolean }], disabled: [7, {}, { reflect: true, type: Boolean }], form: [3, {}, { reflect: true }], hovered: [7, {}, { reflect: true, type: Boolean }], indeterminate: [7, {}, { reflect: true, type: Boolean }], label: 1, labelText: 1, messageOverrides: [0, {}, { attribute: false }], name: [3, {}, { reflect: true }], required: [7, {}, { reflect: true, type: Boolean }], scale: [3, {}, { reflect: true }], status: [3, {}, { reflect: true }], validity: [32, {}, { readOnly: true, attribute: false }], value: 1 };
|
|
61
48
|
}
|
|
62
49
|
static {
|
|
63
50
|
this.formAssociated = true;
|
|
@@ -89,7 +89,7 @@ export abstract class Chip extends LitElement {
|
|
|
89
89
|
* Sets focus on the component.
|
|
90
90
|
*
|
|
91
91
|
* @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
|
|
92
|
-
* @
|
|
92
|
+
* @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
|
|
93
93
|
*/
|
|
94
94
|
setFocus(options?: FocusOptions): Promise<void>;
|
|
95
95
|
/** Fires when the component's close button is selected. */
|
|
@@ -43,7 +43,7 @@ export abstract class ChipGroup extends LitElement {
|
|
|
43
43
|
* Sets focus on the component's first focusable element.
|
|
44
44
|
*
|
|
45
45
|
* @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
|
|
46
|
-
* @
|
|
46
|
+
* @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
|
|
47
47
|
*/
|
|
48
48
|
setFocus(options?: FocusOptions): Promise<void>;
|
|
49
49
|
/** Fires when the component's selection changes. */
|
|
@@ -115,7 +115,7 @@ export abstract class ColorPicker extends LitElement {
|
|
|
115
115
|
*
|
|
116
116
|
* The type will be preserved as the color is updated.
|
|
117
117
|
*
|
|
118
|
-
* @see [CSS Color](https://developer.mozilla.org/en-US/docs/Web/CSS/color),
|
|
118
|
+
* @see [MDN - CSS Color](https://developer.mozilla.org/en-US/docs/Web/CSS/color),
|
|
119
119
|
* @see [ColorValue](https://github.com/Esri/calcite-design-system/blob/dev/packages/components/src/components/color-picker/interfaces.ts#L10).
|
|
120
120
|
*/
|
|
121
121
|
accessor value: ColorValue | null;
|
|
@@ -123,7 +123,7 @@ export abstract class ColorPicker extends LitElement {
|
|
|
123
123
|
* Sets focus on the component's first focusable element.
|
|
124
124
|
*
|
|
125
125
|
* @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
|
|
126
|
-
* @
|
|
126
|
+
* @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
|
|
127
127
|
*/
|
|
128
128
|
setFocus(options?: FocusOptions): Promise<void>;
|
|
129
129
|
/** Fires when the color value has changed. */
|
|
@@ -39,7 +39,7 @@ export abstract class ColorPickerHexInput extends LitElement {
|
|
|
39
39
|
* Sets focus on the component.
|
|
40
40
|
*
|
|
41
41
|
* @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
|
|
42
|
-
* @
|
|
42
|
+
* @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
|
|
43
43
|
*/
|
|
44
44
|
setFocus(options?: FocusOptions): Promise<void>;
|
|
45
45
|
/** Emitted when the hex value changes. */
|
|
@@ -13,7 +13,7 @@ export abstract class ColorPickerSwatch extends LitElement {
|
|
|
13
13
|
/**
|
|
14
14
|
* The color value.
|
|
15
15
|
*
|
|
16
|
-
* @see [Color CSS data type](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value).
|
|
16
|
+
* @see [MDN - Color CSS data type](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value).
|
|
17
17
|
*/
|
|
18
18
|
accessor color: string | null;
|
|
19
19
|
/**
|
|
@@ -4,7 +4,6 @@ import type { FlipPlacement, LogicalPlacement, OverlayPositioning } from "../../
|
|
|
4
4
|
import type { Scale, SelectionAppearance, SelectionMode, Status } from "../interfaces.js";
|
|
5
5
|
import type { IconName } from "../calcite-icon/interfaces.js";
|
|
6
6
|
import type { ComboboxItem as HTMLCalciteComboboxItemElement } from "../calcite-combobox-item/customElement.js";
|
|
7
|
-
import type { MutableValidityState } from "../../controllers/useForm.js";
|
|
8
7
|
import type { SelectionDisplay } from "./interfaces.js";
|
|
9
8
|
|
|
10
9
|
/**
|
|
@@ -189,7 +188,7 @@ export abstract class Combobox extends LitElement {
|
|
|
189
188
|
* Only set this if you need complex z-index control or if top layer placement causes conflicts with third-party components.
|
|
190
189
|
*
|
|
191
190
|
* @default false
|
|
192
|
-
* @
|
|
191
|
+
* @see [MDN - Top Layer](https://developer.mozilla.org/en-US/docs/Glossary/Top_layer)
|
|
193
192
|
*/
|
|
194
193
|
accessor topLayerDisabled: boolean;
|
|
195
194
|
/** Specifies the validation icon to display under the component. */
|
|
@@ -199,9 +198,9 @@ export abstract class Combobox extends LitElement {
|
|
|
199
198
|
/**
|
|
200
199
|
* The component's current validation state.
|
|
201
200
|
*
|
|
202
|
-
* @
|
|
201
|
+
* @see [MDN - ValidityState](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState)
|
|
203
202
|
*/
|
|
204
|
-
get validity():
|
|
203
|
+
get validity(): ValidityState;
|
|
205
204
|
/** The component's value(s) from the selected `calcite-combobox-item`(s). */
|
|
206
205
|
accessor value: string | string[];
|
|
207
206
|
/**
|
|
@@ -215,7 +214,7 @@ export abstract class Combobox extends LitElement {
|
|
|
215
214
|
* Sets focus on the component.
|
|
216
215
|
*
|
|
217
216
|
* @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
|
|
218
|
-
* @
|
|
217
|
+
* @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
|
|
219
218
|
*/
|
|
220
219
|
setFocus(options?: FocusOptions): Promise<void>;
|
|
221
220
|
/** Fires when the component is requested to be closed, and before the closing transition begins. */
|
|
@@ -148,19 +148,6 @@ class Combobox extends LitElement {
|
|
|
148
148
|
this.selectionMode = "multiple";
|
|
149
149
|
this.status = "idle";
|
|
150
150
|
this.topLayerDisabled = false;
|
|
151
|
-
this.validity = {
|
|
152
|
-
valid: false,
|
|
153
|
-
badInput: false,
|
|
154
|
-
customError: false,
|
|
155
|
-
patternMismatch: false,
|
|
156
|
-
rangeOverflow: false,
|
|
157
|
-
rangeUnderflow: false,
|
|
158
|
-
stepMismatch: false,
|
|
159
|
-
tooLong: false,
|
|
160
|
-
tooShort: false,
|
|
161
|
-
typeMismatch: false,
|
|
162
|
-
valueMissing: false
|
|
163
|
-
};
|
|
164
151
|
this.calciteComboboxBeforeClose = createEvent({ cancelable: false });
|
|
165
152
|
this.calciteComboboxBeforeOpen = createEvent({ cancelable: false });
|
|
166
153
|
this.calciteComboboxChange = createEvent({ cancelable: false });
|
|
@@ -174,7 +161,7 @@ class Combobox extends LitElement {
|
|
|
174
161
|
this.listen("click", this.comboboxFocusHandler);
|
|
175
162
|
}
|
|
176
163
|
static {
|
|
177
|
-
this.properties = { activeChipIndex: [16, {}, { state: true }], activeDescendant: [16, {}, { state: true }], activeItemIndex: [16, {}, { state: true }], compactSelectionDisplay: [16, {}, { state: true }], selectedHiddenChipsCount: [16, {}, { state: true }], selectedVisibleChipsCount: [16, {}, { state: true }], allItems: [16, {}, { state: true }], items: [16, {}, { state: true }], noMatchesFound: [16, {}, { state: true }], allowCustomValues: [7, {}, { reflect: true, type: Boolean }], clearDisabled: [7, {}, { reflect: true, type: Boolean }], disabled: [7, {}, { reflect: true, type: Boolean }], filterText: [3, {}, { reflect: true }], filterProps: [0, {}, { attribute: false }], filteredItems: [32, {}, { attribute: false, readOnly: true }], flipPlacements: [0, {}, { attribute: false }], form: [3, {}, { reflect: true }], label: 1, labelText: 1, maxItems: [11, {}, { reflect: true, type: Number }], messageOverrides: [0, {}, { attribute: false }], name: [3, {}, { reflect: true }], open: [7, {}, { reflect: true, type: Boolean }], overlayPositioning: [3, {}, { reflect: true }], placeholder: 1, placeholderIcon: [3, { type: String }, { reflect: true }], placeholderIconFlipRtl: [7, {}, { reflect: true, type: Boolean }], placement: [3, {}, { reflect: true }], readOnly: [7, {}, { reflect: true, type: Boolean }], required: [7, {}, { reflect: true, type: Boolean }], scale: [3, {}, { reflect: true }], selectAllEnabled: [7, {}, { reflect: true, type: Boolean }], selectedItems: [0, {}, { attribute: false }], selectionDisplay: [3, {}, { reflect: true }], selectionAppearance: [3, {}, { reflect: true }], selectionMode: [3, {}, { reflect: true }], status: [3, {}, { reflect: true }], topLayerDisabled: [7, {}, { reflect: true, type: Boolean }], validationIcon: [3, { converter: stringOrBoolean, type: String }, { reflect: true }], validationMessage: 1, validity: [
|
|
164
|
+
this.properties = { activeChipIndex: [16, {}, { state: true }], activeDescendant: [16, {}, { state: true }], activeItemIndex: [16, {}, { state: true }], compactSelectionDisplay: [16, {}, { state: true }], selectedHiddenChipsCount: [16, {}, { state: true }], selectedVisibleChipsCount: [16, {}, { state: true }], allItems: [16, {}, { state: true }], items: [16, {}, { state: true }], noMatchesFound: [16, {}, { state: true }], allowCustomValues: [7, {}, { reflect: true, type: Boolean }], clearDisabled: [7, {}, { reflect: true, type: Boolean }], disabled: [7, {}, { reflect: true, type: Boolean }], filterText: [3, {}, { reflect: true }], filterProps: [0, {}, { attribute: false }], filteredItems: [32, {}, { attribute: false, readOnly: true }], flipPlacements: [0, {}, { attribute: false }], form: [3, {}, { reflect: true }], label: 1, labelText: 1, maxItems: [11, {}, { reflect: true, type: Number }], messageOverrides: [0, {}, { attribute: false }], name: [3, {}, { reflect: true }], open: [7, {}, { reflect: true, type: Boolean }], overlayPositioning: [3, {}, { reflect: true }], placeholder: 1, placeholderIcon: [3, { type: String }, { reflect: true }], placeholderIconFlipRtl: [7, {}, { reflect: true, type: Boolean }], placement: [3, {}, { reflect: true }], readOnly: [7, {}, { reflect: true, type: Boolean }], required: [7, {}, { reflect: true, type: Boolean }], scale: [3, {}, { reflect: true }], selectAllEnabled: [7, {}, { reflect: true, type: Boolean }], selectedItems: [0, {}, { attribute: false }], selectionDisplay: [3, {}, { reflect: true }], selectionAppearance: [3, {}, { reflect: true }], selectionMode: [3, {}, { reflect: true }], status: [3, {}, { reflect: true }], topLayerDisabled: [7, {}, { reflect: true, type: Boolean }], validationIcon: [3, { converter: stringOrBoolean, type: String }, { reflect: true }], validationMessage: 1, validity: [32, {}, { readOnly: true, attribute: false }], value: 1 };
|
|
178
165
|
}
|
|
179
166
|
static {
|
|
180
167
|
this.formAssociated = true;
|
|
@@ -105,7 +105,7 @@ export abstract class DatePicker extends LitElement {
|
|
|
105
105
|
* Sets focus on the component's first focusable element.
|
|
106
106
|
*
|
|
107
107
|
* @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
|
|
108
|
-
* @
|
|
108
|
+
* @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
|
|
109
109
|
*/
|
|
110
110
|
setFocus(options?: FocusOptions): Promise<void>;
|
|
111
111
|
/** Fires when a user changes the component's date. For `range` events, use `calciteDatePickerRangeChange`. */
|
|
@@ -71,7 +71,7 @@ export abstract class DatePickerDay extends LitElement {
|
|
|
71
71
|
* Sets focus on the component.
|
|
72
72
|
*
|
|
73
73
|
* @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
|
|
74
|
-
* @
|
|
74
|
+
* @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
|
|
75
75
|
*/
|
|
76
76
|
setFocus(options?: FocusOptions): Promise<void>;
|
|
77
77
|
}
|
|
@@ -78,7 +78,7 @@ export abstract class Dialog extends LitElement {
|
|
|
78
78
|
* By default, an open dialog can be dismissed by pressing the Esc key.
|
|
79
79
|
*
|
|
80
80
|
* @default false
|
|
81
|
-
* @see [Dialog Accessibility](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog#accessibility).
|
|
81
|
+
* @see [MDN - Dialog Accessibility](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog#accessibility).
|
|
82
82
|
*/
|
|
83
83
|
accessor escapeDisabled: boolean;
|
|
84
84
|
/**
|
|
@@ -187,7 +187,7 @@ export abstract class Dialog extends LitElement {
|
|
|
187
187
|
* Only set this if you need complex z-index control or if top layer placement causes conflicts with third-party components.
|
|
188
188
|
*
|
|
189
189
|
* @default false
|
|
190
|
-
* @
|
|
190
|
+
* @see [MDN - Top Layer](https://developer.mozilla.org/en-US/docs/Glossary/Top_layer)
|
|
191
191
|
*/
|
|
192
192
|
accessor topLayerDisabled: boolean;
|
|
193
193
|
/** Specifies the component's width. */
|
|
@@ -217,7 +217,7 @@ export abstract class Dialog extends LitElement {
|
|
|
217
217
|
*
|
|
218
218
|
* @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
|
|
219
219
|
* @returns A promise that is resolved when the operation has completed.
|
|
220
|
-
* @
|
|
220
|
+
* @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
|
|
221
221
|
*/
|
|
222
222
|
setFocus(options?: FocusOptions): Promise<void>;
|
|
223
223
|
/**
|
|
@@ -92,7 +92,7 @@ export abstract class Dropdown extends LitElement {
|
|
|
92
92
|
* Only set this if you need complex z-index control or if top layer placement causes conflicts with third-party components.
|
|
93
93
|
*
|
|
94
94
|
* @default false
|
|
95
|
-
* @
|
|
95
|
+
* @see [MDN - Top Layer](https://developer.mozilla.org/en-US/docs/Glossary/Top_layer)
|
|
96
96
|
*/
|
|
97
97
|
accessor topLayerDisabled: boolean;
|
|
98
98
|
/**
|
|
@@ -119,7 +119,7 @@ export abstract class Dropdown extends LitElement {
|
|
|
119
119
|
* Sets focus on the component's first focusable element.
|
|
120
120
|
*
|
|
121
121
|
* @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
|
|
122
|
-
* @
|
|
122
|
+
* @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
|
|
123
123
|
*/
|
|
124
124
|
setFocus(options?: FocusOptions): Promise<void>;
|
|
125
125
|
/** Fires when the component is requested to be closed and before the closing transition begins. */
|
|
@@ -47,7 +47,7 @@ export abstract class DropdownItem extends LitElement {
|
|
|
47
47
|
* Sets focus on the component.
|
|
48
48
|
*
|
|
49
49
|
* @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
|
|
50
|
-
* @
|
|
50
|
+
* @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
|
|
51
51
|
*/
|
|
52
52
|
setFocus(options?: FocusOptions): Promise<void>;
|
|
53
53
|
/** Fires when the component is selected. */
|
|
@@ -64,7 +64,7 @@ export abstract class Fab extends LitElement {
|
|
|
64
64
|
* Sets focus on the component.
|
|
65
65
|
*
|
|
66
66
|
* @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
|
|
67
|
-
* @
|
|
67
|
+
* @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
|
|
68
68
|
*/
|
|
69
69
|
setFocus(options?: FocusOptions): Promise<void>;
|
|
70
70
|
}
|
|
@@ -66,7 +66,7 @@ export abstract class Filter extends LitElement {
|
|
|
66
66
|
* Sets focus on the component.
|
|
67
67
|
*
|
|
68
68
|
* @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
|
|
69
|
-
* @
|
|
69
|
+
* @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
|
|
70
70
|
*/
|
|
71
71
|
setFocus(options?: FocusOptions): Promise<void>;
|
|
72
72
|
/** Fires when the filter text changes. */
|
|
@@ -19,7 +19,7 @@ export abstract class Flow extends LitElement {
|
|
|
19
19
|
*
|
|
20
20
|
* @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
|
|
21
21
|
* @returns Promise<void>
|
|
22
|
-
* @
|
|
22
|
+
* @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
|
|
23
23
|
*/
|
|
24
24
|
setFocus(options?: FocusOptions): Promise<void>;
|
|
25
25
|
}
|
|
@@ -151,7 +151,7 @@ export abstract class FlowItem extends LitElement {
|
|
|
151
151
|
* Only set this if you need complex z-index control or if top layer placement causes conflicts with third-party components.
|
|
152
152
|
*
|
|
153
153
|
* @default false
|
|
154
|
-
* @
|
|
154
|
+
* @see [MDN - Top Layer](https://developer.mozilla.org/en-US/docs/Glossary/Top_layer)
|
|
155
155
|
*/
|
|
156
156
|
accessor topLayerDisabled: boolean;
|
|
157
157
|
/**
|
|
@@ -172,7 +172,7 @@ export abstract class FlowItem extends LitElement {
|
|
|
172
172
|
*
|
|
173
173
|
* @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
|
|
174
174
|
* @returns promise.
|
|
175
|
-
* @
|
|
175
|
+
* @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
|
|
176
176
|
*/
|
|
177
177
|
setFocus(options?: FocusOptions): Promise<void>;
|
|
178
178
|
/** Fires when the component's back button is clicked. */
|
|
@@ -39,7 +39,7 @@ export abstract class Handle extends LitElement {
|
|
|
39
39
|
* Sets focus on the component.
|
|
40
40
|
*
|
|
41
41
|
* @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
|
|
42
|
-
* @
|
|
42
|
+
* @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
|
|
43
43
|
*/
|
|
44
44
|
setFocus(options?: FocusOptions): Promise<void>;
|
|
45
45
|
/** Fires whenever the component is selected or unselected. */
|
|
@@ -54,7 +54,7 @@ export abstract class InlineEditable extends LitElement {
|
|
|
54
54
|
* Sets focus on the component.
|
|
55
55
|
*
|
|
56
56
|
* @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
|
|
57
|
-
* @
|
|
57
|
+
* @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
|
|
58
58
|
*/
|
|
59
59
|
setFocus(options?: FocusOptions): Promise<void>;
|
|
60
60
|
/** Fires when the component's "cancel editing" button is pressed. */
|
|
@@ -3,7 +3,6 @@ import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
|
3
3
|
import type { Alignment, Scale, Status } from "../interfaces.js";
|
|
4
4
|
import type { NumberingSystem } from "../../utils/locale.js";
|
|
5
5
|
import type { IconName } from "../calcite-icon/interfaces.js";
|
|
6
|
-
import type { MutableValidityState } from "../../controllers/useForm.js";
|
|
7
6
|
import type { InputPlacement } from "./interfaces.js";
|
|
8
7
|
|
|
9
8
|
/**
|
|
@@ -34,7 +33,7 @@ export abstract class Input extends LitElement {
|
|
|
34
33
|
* When `type` is `"file"`, specifies a comma separated list of unique file type specifiers for limiting accepted file types.
|
|
35
34
|
* Read the native attribute's documentation on MDN for more info.
|
|
36
35
|
*
|
|
37
|
-
* @
|
|
36
|
+
* @see [MDN - step](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/pattern)
|
|
38
37
|
*/
|
|
39
38
|
accessor accept: string;
|
|
40
39
|
/**
|
|
@@ -47,7 +46,7 @@ export abstract class Input extends LitElement {
|
|
|
47
46
|
* Specifies the type of content to autocomplete, for use in forms.
|
|
48
47
|
* Read the native attribute's documentation on MDN for more info.
|
|
49
48
|
*
|
|
50
|
-
* @
|
|
49
|
+
* @see [MDN - autocomplete](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete)
|
|
51
50
|
*/
|
|
52
51
|
accessor autocomplete: AutoFill;
|
|
53
52
|
/**
|
|
@@ -60,13 +59,13 @@ export abstract class Input extends LitElement {
|
|
|
60
59
|
* When `true`, prevents interaction and decreases the component's opacity.
|
|
61
60
|
*
|
|
62
61
|
* @default false
|
|
63
|
-
* @
|
|
62
|
+
* @see [MDN - disabled](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled)
|
|
64
63
|
*/
|
|
65
64
|
accessor disabled: boolean;
|
|
66
65
|
/**
|
|
67
66
|
* When `type` is `"file"`, specifies the component's selected files.
|
|
68
67
|
*
|
|
69
|
-
* @
|
|
68
|
+
* @see [MDN - files](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/files)
|
|
70
69
|
*/
|
|
71
70
|
accessor files: FileList | undefined;
|
|
72
71
|
/**
|
|
@@ -103,14 +102,14 @@ export abstract class Input extends LitElement {
|
|
|
103
102
|
* When the component resides in a form,
|
|
104
103
|
* specifies the maximum value for `type="number"`.
|
|
105
104
|
*
|
|
106
|
-
* @
|
|
105
|
+
* @see [MDN - max](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#max)
|
|
107
106
|
*/
|
|
108
107
|
accessor max: number;
|
|
109
108
|
/**
|
|
110
109
|
* When the component resides in a form,
|
|
111
110
|
* specifies the maximum length of text for the component's `value`.
|
|
112
111
|
*
|
|
113
|
-
* @
|
|
112
|
+
* @see [MDN - maxlength](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#maxlength)
|
|
114
113
|
*/
|
|
115
114
|
accessor maxLength: number;
|
|
116
115
|
/** Overrides individual strings used by the component. */
|
|
@@ -123,14 +122,14 @@ export abstract class Input extends LitElement {
|
|
|
123
122
|
* When the component resides in a form,
|
|
124
123
|
* specifies the minimum value for `type="number"`.
|
|
125
124
|
*
|
|
126
|
-
* @
|
|
125
|
+
* @see [MDN - min](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#min)
|
|
127
126
|
*/
|
|
128
127
|
accessor min: number;
|
|
129
128
|
/**
|
|
130
129
|
* When the component resides in a form,
|
|
131
130
|
* specifies the minimum length of text for the component's `value`.
|
|
132
131
|
*
|
|
133
|
-
* @
|
|
132
|
+
* @see [MDN - minlength](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#minlength)
|
|
134
133
|
*/
|
|
135
134
|
accessor minLength: number;
|
|
136
135
|
/**
|
|
@@ -138,7 +137,7 @@ export abstract class Input extends LitElement {
|
|
|
138
137
|
* Read the native attribute's documentation on MDN for more info.
|
|
139
138
|
*
|
|
140
139
|
* @default false
|
|
141
|
-
* @
|
|
140
|
+
* @see [MDN - step](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/multiple)
|
|
142
141
|
*/
|
|
143
142
|
accessor multiple: boolean;
|
|
144
143
|
/**
|
|
@@ -146,7 +145,7 @@ export abstract class Input extends LitElement {
|
|
|
146
145
|
*
|
|
147
146
|
* Required to pass the component's `value` on form submission.
|
|
148
147
|
*
|
|
149
|
-
* @
|
|
148
|
+
* @see [MDN - name](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#name)
|
|
150
149
|
*/
|
|
151
150
|
accessor name: string;
|
|
152
151
|
/**
|
|
@@ -162,13 +161,13 @@ export abstract class Input extends LitElement {
|
|
|
162
161
|
* specifies a regular expression (regex) pattern the component's `value` must match for validation.
|
|
163
162
|
* Read the native attribute's documentation on MDN for more info.
|
|
164
163
|
*
|
|
165
|
-
* @
|
|
164
|
+
* @see [MDN - step](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/pattern)
|
|
166
165
|
*/
|
|
167
166
|
accessor pattern: string;
|
|
168
167
|
/**
|
|
169
168
|
* Specifies the component's placeholder text.
|
|
170
169
|
*
|
|
171
|
-
* @
|
|
170
|
+
* @see [MDN - placeholder](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#placeholder)
|
|
172
171
|
*/
|
|
173
172
|
accessor placeholder: string;
|
|
174
173
|
/** Specifies text to display at the start of the component. */
|
|
@@ -177,7 +176,7 @@ export abstract class Input extends LitElement {
|
|
|
177
176
|
* When `true`, the component's `value` can be read, but cannot be modified.
|
|
178
177
|
*
|
|
179
178
|
* @default false
|
|
180
|
-
* @
|
|
179
|
+
* @see [MDN - readOnly](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly)
|
|
181
180
|
*/
|
|
182
181
|
accessor readOnly: boolean;
|
|
183
182
|
/**
|
|
@@ -202,7 +201,7 @@ export abstract class Input extends LitElement {
|
|
|
202
201
|
/**
|
|
203
202
|
* Specifies the granularity the component's `value` must adhere to.
|
|
204
203
|
*
|
|
205
|
-
* @
|
|
204
|
+
* @see [MDN - step](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/step)
|
|
206
205
|
*/
|
|
207
206
|
accessor step: number | "any";
|
|
208
207
|
/** Specifies text to display at the end of the component. */
|
|
@@ -222,9 +221,9 @@ export abstract class Input extends LitElement {
|
|
|
222
221
|
/**
|
|
223
222
|
* The component's current validation state.
|
|
224
223
|
*
|
|
225
|
-
* @
|
|
224
|
+
* @see [MDN - ValidityState](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState)
|
|
226
225
|
*/
|
|
227
|
-
get validity():
|
|
226
|
+
get validity(): ValidityState;
|
|
228
227
|
/** The component's value. */
|
|
229
228
|
accessor value: string;
|
|
230
229
|
/** Selects the text of the component's `value`. */
|
|
@@ -233,7 +232,7 @@ export abstract class Input extends LitElement {
|
|
|
233
232
|
* Sets focus on the component.
|
|
234
233
|
*
|
|
235
234
|
* @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
|
|
236
|
-
* @
|
|
235
|
+
* @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
|
|
237
236
|
*/
|
|
238
237
|
setFocus(options?: FocusOptions): Promise<void>;
|
|
239
238
|
/** Fires each time a new `value` is typed and committed. */
|
|
@@ -93,19 +93,6 @@ class Input extends LitElement {
|
|
|
93
93
|
this.scale = "m";
|
|
94
94
|
this.status = "idle";
|
|
95
95
|
this.type = "text";
|
|
96
|
-
this.validity = {
|
|
97
|
-
valid: false,
|
|
98
|
-
badInput: false,
|
|
99
|
-
customError: false,
|
|
100
|
-
patternMismatch: false,
|
|
101
|
-
rangeOverflow: false,
|
|
102
|
-
rangeUnderflow: false,
|
|
103
|
-
stepMismatch: false,
|
|
104
|
-
tooLong: false,
|
|
105
|
-
tooShort: false,
|
|
106
|
-
typeMismatch: false,
|
|
107
|
-
valueMissing: false
|
|
108
|
-
};
|
|
109
96
|
this.calciteInputChange = createEvent({ cancelable: false });
|
|
110
97
|
this.calciteInputInput = createEvent();
|
|
111
98
|
this.calciteInternalInputBlur = createEvent({ cancelable: false });
|
|
@@ -114,7 +101,7 @@ class Input extends LitElement {
|
|
|
114
101
|
this.listen("keydown", this.keyDownHandler);
|
|
115
102
|
}
|
|
116
103
|
static {
|
|
117
|
-
this.properties = { displayedValue: [16, {}, { state: true }], slottedActionElDisabledInternally: [16, {}, { state: true }], accept: 1, alignment: [3, {}, { reflect: true }], autocomplete: 1, clearable: [7, {}, { reflect: true, type: Boolean }], disabled: [7, {}, { reflect: true, type: Boolean }], editingEnabled: [7, {}, { reflect: true, type: Boolean }], files: [0, {}, { attribute: false }], form: [3, {}, { reflect: true }], groupSeparator: [7, {}, { reflect: true, type: Boolean }], icon: [3, { converter: stringOrBoolean, type: String }, { reflect: true }], iconFlipRtl: [7, {}, { reflect: true, type: Boolean }], label: 1, labelText: 1, loading: [7, {}, { reflect: true, type: Boolean }], localeFormat: [5, {}, { type: Boolean }], max: [11, {}, { reflect: true, type: Number }], maxLength: [11, {}, { reflect: true, type: Number }], messageOverrides: [0, {}, { attribute: false }], min: [11, {}, { reflect: true, type: Number }], minLength: [11, {}, { reflect: true, type: Number }], multiple: [5, {}, { type: Boolean }], name: [3, {}, { reflect: true }], numberButtonType: [3, {}, { reflect: true }], numberingSystem: [3, {}, { reflect: true }], pattern: 1, placeholder: 1, prefixText: 1, readOnly: [7, {}, { reflect: true, type: Boolean }], required: [7, {}, { reflect: true, type: Boolean }], scale: [3, {}, { reflect: true }], status: [3, {}, { reflect: true }], step: [3, {}, { reflect: true }], suffixText: 1, type: [3, {}, { reflect: true }], validationIcon: [3, { converter: stringOrBoolean, type: String }, { reflect: true }], validationMessage: 1, validity: [
|
|
104
|
+
this.properties = { displayedValue: [16, {}, { state: true }], slottedActionElDisabledInternally: [16, {}, { state: true }], accept: 1, alignment: [3, {}, { reflect: true }], autocomplete: 1, clearable: [7, {}, { reflect: true, type: Boolean }], disabled: [7, {}, { reflect: true, type: Boolean }], editingEnabled: [7, {}, { reflect: true, type: Boolean }], files: [0, {}, { attribute: false }], form: [3, {}, { reflect: true }], groupSeparator: [7, {}, { reflect: true, type: Boolean }], icon: [3, { converter: stringOrBoolean, type: String }, { reflect: true }], iconFlipRtl: [7, {}, { reflect: true, type: Boolean }], label: 1, labelText: 1, loading: [7, {}, { reflect: true, type: Boolean }], localeFormat: [5, {}, { type: Boolean }], max: [11, {}, { reflect: true, type: Number }], maxLength: [11, {}, { reflect: true, type: Number }], messageOverrides: [0, {}, { attribute: false }], min: [11, {}, { reflect: true, type: Number }], minLength: [11, {}, { reflect: true, type: Number }], multiple: [5, {}, { type: Boolean }], name: [3, {}, { reflect: true }], numberButtonType: [3, {}, { reflect: true }], numberingSystem: [3, {}, { reflect: true }], pattern: 1, placeholder: 1, prefixText: 1, readOnly: [7, {}, { reflect: true, type: Boolean }], required: [7, {}, { reflect: true, type: Boolean }], scale: [3, {}, { reflect: true }], status: [3, {}, { reflect: true }], step: [3, {}, { reflect: true }], suffixText: 1, type: [3, {}, { reflect: true }], validationIcon: [3, { converter: stringOrBoolean, type: String }, { reflect: true }], validationMessage: 1, validity: [32, {}, { readOnly: true, attribute: false }], value: 1 };
|
|
118
105
|
}
|
|
119
106
|
static {
|
|
120
107
|
this.formAssociated = true;
|
|
@@ -6,7 +6,6 @@ import type { HeadingLevel } from "../functional/Heading.js";
|
|
|
6
6
|
import type { Status } from "../interfaces.js";
|
|
7
7
|
import type { IconName } from "../calcite-icon/interfaces.js";
|
|
8
8
|
import type { DatePicker } from "../calcite-date-picker/customElement.js";
|
|
9
|
-
import type { MutableValidityState } from "../../controllers/useForm.js";
|
|
10
9
|
|
|
11
10
|
/**
|
|
12
11
|
* @cssproperty [--calcite-input-date-picker-actions-icon-color] - Specifies the component's actions icon color.
|
|
@@ -157,7 +156,7 @@ export abstract class InputDatePicker extends LitElement {
|
|
|
157
156
|
* When `true`, the component's `value` can be read, but controls are not accessible and the `value` cannot be modified.
|
|
158
157
|
*
|
|
159
158
|
* @default false
|
|
160
|
-
* @
|
|
159
|
+
* @see [MDN - readOnly](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly)
|
|
161
160
|
*/
|
|
162
161
|
accessor readOnly: boolean;
|
|
163
162
|
/**
|
|
@@ -185,7 +184,7 @@ export abstract class InputDatePicker extends LitElement {
|
|
|
185
184
|
* Only set this if you need complex z-index control or if top layer placement causes conflicts with third-party components.
|
|
186
185
|
*
|
|
187
186
|
* @default false
|
|
188
|
-
* @
|
|
187
|
+
* @see [MDN - Top Layer](https://developer.mozilla.org/en-US/docs/Glossary/Top_layer)
|
|
189
188
|
*/
|
|
190
189
|
accessor topLayerDisabled: boolean;
|
|
191
190
|
/** Specifies the validation icon to display under the component. */
|
|
@@ -195,9 +194,9 @@ export abstract class InputDatePicker extends LitElement {
|
|
|
195
194
|
/**
|
|
196
195
|
* The component's current validation state.
|
|
197
196
|
*
|
|
198
|
-
* @
|
|
197
|
+
* @see [MDN - ValidityState](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState)
|
|
199
198
|
*/
|
|
200
|
-
get validity():
|
|
199
|
+
get validity(): ValidityState;
|
|
201
200
|
/** Selected date as a string in ISO format (`"yyyy-mm-dd"`). */
|
|
202
201
|
accessor value: string | string[];
|
|
203
202
|
/** The component's `value` as a full date object. */
|
|
@@ -213,7 +212,7 @@ export abstract class InputDatePicker extends LitElement {
|
|
|
213
212
|
* Sets focus on the component.
|
|
214
213
|
*
|
|
215
214
|
* @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
|
|
216
|
-
* @
|
|
215
|
+
* @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
|
|
217
216
|
*/
|
|
218
217
|
setFocus(options?: FocusOptions): Promise<void>;
|
|
219
218
|
/** Fires when the component is requested to be closed and before the closing transition begins. */
|
|
@@ -127,19 +127,6 @@ class InputDatePicker extends LitElement {
|
|
|
127
127
|
this.scale = "m";
|
|
128
128
|
this.status = "idle";
|
|
129
129
|
this.topLayerDisabled = false;
|
|
130
|
-
this.validity = {
|
|
131
|
-
valid: false,
|
|
132
|
-
badInput: false,
|
|
133
|
-
customError: false,
|
|
134
|
-
patternMismatch: false,
|
|
135
|
-
rangeOverflow: false,
|
|
136
|
-
rangeUnderflow: false,
|
|
137
|
-
stepMismatch: false,
|
|
138
|
-
tooLong: false,
|
|
139
|
-
tooShort: false,
|
|
140
|
-
typeMismatch: false,
|
|
141
|
-
valueMissing: false
|
|
142
|
-
};
|
|
143
130
|
this.calciteInputDatePickerBeforeClose = createEvent({ cancelable: false });
|
|
144
131
|
this.calciteInputDatePickerBeforeOpen = createEvent({ cancelable: false });
|
|
145
132
|
this.calciteInputDatePickerChange = createEvent({ cancelable: false });
|
|
@@ -150,7 +137,7 @@ class InputDatePicker extends LitElement {
|
|
|
150
137
|
this.handleDateTimeFormatChange();
|
|
151
138
|
}
|
|
152
139
|
static {
|
|
153
|
-
this.properties = { datePickerActiveDate: [16, {}, { state: true }], focusedInput: [16, {}, { state: true }], localeData: [16, {}, { state: true }], calendars: [11, {}, { type: Number, reflect: true }], disabled: [7, {}, { reflect: true, type: Boolean }], flipPlacements: [0, {}, { attribute: false }], focusTrapDisabled: [7, {}, { reflect: true, type: Boolean }], form: [3, {}, { reflect: true }], headingLevel: [11, {}, { type: Number, reflect: true }], label: 1, labelText: 1, layout: [3, {}, { reflect: true }], max: [3, {}, { reflect: true }], maxAsDate: [0, {}, { attribute: false }], messageOverrides: [0, {}, { attribute: false }], min: [3, {}, { reflect: true }], minAsDate: [0, {}, { attribute: false }], monthStyle: 1, name: [3, {}, { reflect: true }], numberingSystem: [3, {}, { reflect: true }], open: [7, {}, { reflect: true, type: Boolean }], overlayPositioning: [3, {}, { reflect: true }], placement: [3, {}, { reflect: true }], proximitySelectionDisabled: [5, {}, { type: Boolean }], range: [7, {}, { reflect: true, type: Boolean }], readOnly: [7, {}, { reflect: true, type: Boolean }], required: [7, {}, { reflect: true, type: Boolean }], scale: [3, {}, { reflect: true }], status: [3, {}, { reflect: true }], topLayerDisabled: [7, {}, { reflect: true, type: Boolean }], validationIcon: [3, { converter: stringOrBoolean, type: String }, { reflect: true }], validationMessage: 1, validity: [
|
|
140
|
+
this.properties = { datePickerActiveDate: [16, {}, { state: true }], focusedInput: [16, {}, { state: true }], localeData: [16, {}, { state: true }], calendars: [11, {}, { type: Number, reflect: true }], disabled: [7, {}, { reflect: true, type: Boolean }], flipPlacements: [0, {}, { attribute: false }], focusTrapDisabled: [7, {}, { reflect: true, type: Boolean }], form: [3, {}, { reflect: true }], headingLevel: [11, {}, { type: Number, reflect: true }], label: 1, labelText: 1, layout: [3, {}, { reflect: true }], max: [3, {}, { reflect: true }], maxAsDate: [0, {}, { attribute: false }], messageOverrides: [0, {}, { attribute: false }], min: [3, {}, { reflect: true }], minAsDate: [0, {}, { attribute: false }], monthStyle: 1, name: [3, {}, { reflect: true }], numberingSystem: [3, {}, { reflect: true }], open: [7, {}, { reflect: true, type: Boolean }], overlayPositioning: [3, {}, { reflect: true }], placement: [3, {}, { reflect: true }], proximitySelectionDisabled: [5, {}, { type: Boolean }], range: [7, {}, { reflect: true, type: Boolean }], readOnly: [7, {}, { reflect: true, type: Boolean }], required: [7, {}, { reflect: true, type: Boolean }], scale: [3, {}, { reflect: true }], status: [3, {}, { reflect: true }], topLayerDisabled: [7, {}, { reflect: true, type: Boolean }], validationIcon: [3, { converter: stringOrBoolean, type: String }, { reflect: true }], validationMessage: 1, validity: [32, {}, { readOnly: true, attribute: false }], value: 1, valueAsDate: [0, {}, { attribute: false }] };
|
|
154
141
|
}
|
|
155
142
|
static {
|
|
156
143
|
this.formAssociated = true;
|