@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
|
@@ -4,7 +4,6 @@ import type { Alignment, Scale, Status } from "../interfaces.js";
|
|
|
4
4
|
import type { NumberingSystem } from "../../utils/locale.js";
|
|
5
5
|
import type { InputPlacement } from "../calcite-input/interfaces.js";
|
|
6
6
|
import type { IconName } from "../calcite-icon/interfaces.js";
|
|
7
|
-
import type { MutableValidityState } from "../../controllers/useForm.js";
|
|
8
7
|
|
|
9
8
|
/**
|
|
10
9
|
* @cssproperty [--calcite-input-actions-background-color] - Specifies the background color of the component's `clearable` and `number-button-type` elements.
|
|
@@ -41,7 +40,7 @@ export abstract class InputNumber extends LitElement {
|
|
|
41
40
|
* Specifies the type of content to autocomplete, for use in forms.
|
|
42
41
|
* Read the native attribute's documentation on MDN for more info.
|
|
43
42
|
*
|
|
44
|
-
* @
|
|
43
|
+
* @see [MDN - autocomplete](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete)
|
|
45
44
|
*/
|
|
46
45
|
accessor autocomplete: AutoFill;
|
|
47
46
|
/**
|
|
@@ -54,7 +53,7 @@ export abstract class InputNumber extends LitElement {
|
|
|
54
53
|
* When `true`, prevents interaction and decreases the component's opacity.
|
|
55
54
|
*
|
|
56
55
|
* @default false
|
|
57
|
-
* @
|
|
56
|
+
* @see [MDN - disabled](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled)
|
|
58
57
|
*/
|
|
59
58
|
accessor disabled: boolean;
|
|
60
59
|
/**
|
|
@@ -101,7 +100,7 @@ export abstract class InputNumber extends LitElement {
|
|
|
101
100
|
* When the component resides in a form,
|
|
102
101
|
* specifies the maximum `value`.
|
|
103
102
|
*
|
|
104
|
-
* @
|
|
103
|
+
* @see [MDN - max](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#max)
|
|
105
104
|
*/
|
|
106
105
|
accessor max: number;
|
|
107
106
|
/**
|
|
@@ -109,7 +108,7 @@ export abstract class InputNumber extends LitElement {
|
|
|
109
108
|
* specifies the maximum length of text for the component's `value`.
|
|
110
109
|
*
|
|
111
110
|
* @deprecated in v3.0.0, removal target v6.0.0 - This property has no effect on the component.
|
|
112
|
-
* @
|
|
111
|
+
* @see [MDN - maxlength](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#maxlength)
|
|
113
112
|
*/
|
|
114
113
|
accessor maxLength: number;
|
|
115
114
|
/** Overrides individual strings used by the component. */
|
|
@@ -122,7 +121,7 @@ export abstract class InputNumber extends LitElement {
|
|
|
122
121
|
* When the component resides in a form,
|
|
123
122
|
* specifies the minimum `value`.
|
|
124
123
|
*
|
|
125
|
-
* @
|
|
124
|
+
* @see [MDN - min](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#min)
|
|
126
125
|
*/
|
|
127
126
|
accessor min: number;
|
|
128
127
|
/**
|
|
@@ -130,7 +129,7 @@ export abstract class InputNumber extends LitElement {
|
|
|
130
129
|
* specifies the minimum length of text for the component's `value`.
|
|
131
130
|
*
|
|
132
131
|
* @deprecated in v3.0.0, removal target v6.0.0 - This property has no effect on the component.
|
|
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 InputNumber extends LitElement {
|
|
|
138
137
|
*
|
|
139
138
|
* Required to pass the component's `value` on form submission.
|
|
140
139
|
*
|
|
141
|
-
* @
|
|
140
|
+
* @see [MDN - name](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#name)
|
|
142
141
|
*/
|
|
143
142
|
accessor name: string;
|
|
144
143
|
/**
|
|
@@ -152,7 +151,7 @@ export abstract class InputNumber extends LitElement {
|
|
|
152
151
|
/**
|
|
153
152
|
* Specifies the component's placeholder text.
|
|
154
153
|
*
|
|
155
|
-
* @
|
|
154
|
+
* @see [MDN - placeholder](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#placeholder)
|
|
156
155
|
*/
|
|
157
156
|
accessor placeholder: string;
|
|
158
157
|
/** Specifies text to display at the start of the component. */
|
|
@@ -161,7 +160,7 @@ export abstract class InputNumber extends LitElement {
|
|
|
161
160
|
* When `true`, the component's `value` can be read, but cannot be modified.
|
|
162
161
|
*
|
|
163
162
|
* @default false
|
|
164
|
-
* @
|
|
163
|
+
* @see [MDN - readOnly](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly)
|
|
165
164
|
*/
|
|
166
165
|
accessor readOnly: boolean;
|
|
167
166
|
/**
|
|
@@ -186,7 +185,7 @@ export abstract class InputNumber extends LitElement {
|
|
|
186
185
|
/**
|
|
187
186
|
* Specifies the granularity that the component's `value` must adhere to.
|
|
188
187
|
*
|
|
189
|
-
* @
|
|
188
|
+
* @see [MDN - step](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/step)
|
|
190
189
|
*/
|
|
191
190
|
accessor step: number | "any";
|
|
192
191
|
/** Specifies text to display at the end of the component. */
|
|
@@ -198,9 +197,9 @@ export abstract class InputNumber extends LitElement {
|
|
|
198
197
|
/**
|
|
199
198
|
* The component's current validation state.
|
|
200
199
|
*
|
|
201
|
-
* @
|
|
200
|
+
* @see [MDN - ValidityState](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState)
|
|
202
201
|
*/
|
|
203
|
-
get validity():
|
|
202
|
+
get validity(): ValidityState;
|
|
204
203
|
/** The component's value. */
|
|
205
204
|
accessor value: string;
|
|
206
205
|
/** Selects the text of the component's `value`. */
|
|
@@ -209,7 +208,7 @@ export abstract class InputNumber extends LitElement {
|
|
|
209
208
|
* Sets focus on the component.
|
|
210
209
|
*
|
|
211
210
|
* @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
|
|
212
|
-
* @
|
|
211
|
+
* @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
|
|
213
212
|
*/
|
|
214
213
|
setFocus(options?: FocusOptions): Promise<void>;
|
|
215
214
|
/** Fires each time a new `value` is typed and committed. */
|
|
@@ -82,19 +82,6 @@ class InputNumber extends LitElement {
|
|
|
82
82
|
this.required = false;
|
|
83
83
|
this.scale = "m";
|
|
84
84
|
this.status = "idle";
|
|
85
|
-
this.validity = {
|
|
86
|
-
valid: false,
|
|
87
|
-
badInput: false,
|
|
88
|
-
customError: false,
|
|
89
|
-
patternMismatch: false,
|
|
90
|
-
rangeOverflow: false,
|
|
91
|
-
rangeUnderflow: false,
|
|
92
|
-
stepMismatch: false,
|
|
93
|
-
tooLong: false,
|
|
94
|
-
tooShort: false,
|
|
95
|
-
typeMismatch: false,
|
|
96
|
-
valueMissing: false
|
|
97
|
-
};
|
|
98
85
|
this.calciteInputNumberChange = createEvent({ cancelable: false });
|
|
99
86
|
this.calciteInputNumberInput = createEvent();
|
|
100
87
|
this.calciteInternalInputNumberBlur = createEvent({ cancelable: false });
|
|
@@ -103,7 +90,7 @@ class InputNumber extends LitElement {
|
|
|
103
90
|
this.listen("keydown", this.keyDownHandler);
|
|
104
91
|
}
|
|
105
92
|
static {
|
|
106
|
-
this.properties = { displayedValue: [16, {}, { state: true }], slottedActionElDisabledInternally: [16, {}, { state: true }], alignment: [3, {}, { reflect: true }], autocomplete: 1, clearable: [7, {}, { reflect: true, type: Boolean }], disabled: [7, {}, { reflect: true, type: Boolean }], editingEnabled: [7, {}, { reflect: true, type: Boolean }], form: [3, {}, { reflect: true }], groupSeparator: [7, {}, { reflect: true, type: Boolean }], icon: [3, { converter: stringOrBoolean, type: String }, { reflect: true }], iconFlipRtl: [7, {}, { reflect: true, type: Boolean }], integer: [5, {}, { 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 }], name: [3, {}, { reflect: true }], numberButtonType: [3, {}, { reflect: true }], numberingSystem: [3, {}, { reflect: true }], 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, validationIcon: [3, { converter: stringOrBoolean, type: String }, { reflect: true }], validationMessage: 1, validity: [
|
|
93
|
+
this.properties = { displayedValue: [16, {}, { state: true }], slottedActionElDisabledInternally: [16, {}, { state: true }], alignment: [3, {}, { reflect: true }], autocomplete: 1, clearable: [7, {}, { reflect: true, type: Boolean }], disabled: [7, {}, { reflect: true, type: Boolean }], editingEnabled: [7, {}, { reflect: true, type: Boolean }], form: [3, {}, { reflect: true }], groupSeparator: [7, {}, { reflect: true, type: Boolean }], icon: [3, { converter: stringOrBoolean, type: String }, { reflect: true }], iconFlipRtl: [7, {}, { reflect: true, type: Boolean }], integer: [5, {}, { 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 }], name: [3, {}, { reflect: true }], numberButtonType: [3, {}, { reflect: true }], numberingSystem: [3, {}, { reflect: true }], 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, validationIcon: [3, { converter: stringOrBoolean, type: String }, { reflect: true }], validationMessage: 1, validity: [32, {}, { readOnly: true, attribute: false }], value: 1 };
|
|
107
94
|
}
|
|
108
95
|
static {
|
|
109
96
|
this.formAssociated = true;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
|
-
import type { MutableValidityState } from "../../controllers/useForm.js";
|
|
4
3
|
import type { Alignment, Scale, Status } from "../interfaces.js";
|
|
5
4
|
import type { IconName } from "../calcite-icon/interfaces.js";
|
|
6
5
|
|
|
@@ -38,7 +37,7 @@ export abstract class InputText extends LitElement {
|
|
|
38
37
|
* Specifies the type of content to autocomplete, for use in forms.
|
|
39
38
|
* Read the native attribute's documentation on MDN for more info.
|
|
40
39
|
*
|
|
41
|
-
* @
|
|
40
|
+
* @see [MDN - autocomplete](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete)
|
|
42
41
|
*/
|
|
43
42
|
accessor autocomplete: AutoFill;
|
|
44
43
|
/**
|
|
@@ -51,7 +50,7 @@ export abstract class InputText extends LitElement {
|
|
|
51
50
|
* When `true`, prevents interaction and decreases the component's opacity.
|
|
52
51
|
*
|
|
53
52
|
* @default false
|
|
54
|
-
* @
|
|
53
|
+
* @see [MDN - disabled](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled)
|
|
55
54
|
*/
|
|
56
55
|
accessor disabled: boolean;
|
|
57
56
|
/**
|
|
@@ -86,7 +85,7 @@ export abstract class InputText extends LitElement {
|
|
|
86
85
|
* When the component resides in a form,
|
|
87
86
|
* specifies the maximum length of text for the component's value.
|
|
88
87
|
*
|
|
89
|
-
* @
|
|
88
|
+
* @see [MDN - maxlength](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#maxlength)
|
|
90
89
|
*/
|
|
91
90
|
accessor maxLength: number;
|
|
92
91
|
/** Overrides individual strings used by the component. */
|
|
@@ -99,7 +98,7 @@ export abstract class InputText extends LitElement {
|
|
|
99
98
|
* When the component resides in a form,
|
|
100
99
|
* specifies the minimum length of text for the component's value.
|
|
101
100
|
*
|
|
102
|
-
* @
|
|
101
|
+
* @see [MDN - minlength](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#minlength)
|
|
103
102
|
*/
|
|
104
103
|
accessor minLength: number;
|
|
105
104
|
/**
|
|
@@ -107,7 +106,7 @@ export abstract class InputText extends LitElement {
|
|
|
107
106
|
*
|
|
108
107
|
* Required to pass the component's `value` on form submission.
|
|
109
108
|
*
|
|
110
|
-
* @
|
|
109
|
+
* @see [MDN - name](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#name)
|
|
111
110
|
*/
|
|
112
111
|
accessor name: string;
|
|
113
112
|
/**
|
|
@@ -115,13 +114,13 @@ export abstract class InputText extends LitElement {
|
|
|
115
114
|
* specifies a regular expression (regex) pattern the component's `value` must match for validation.
|
|
116
115
|
* Read the native attribute's documentation on MDN for more info.
|
|
117
116
|
*
|
|
118
|
-
* @
|
|
117
|
+
* @see [MDN - step](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/pattern)
|
|
119
118
|
*/
|
|
120
119
|
accessor pattern: string;
|
|
121
120
|
/**
|
|
122
121
|
* Specifies the component's placeholder text.
|
|
123
122
|
*
|
|
124
|
-
* @
|
|
123
|
+
* @see [MDN - placeholder](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#placeholder)
|
|
125
124
|
*/
|
|
126
125
|
accessor placeholder: string;
|
|
127
126
|
/** Specifies text to display at the start of the component. */
|
|
@@ -130,7 +129,7 @@ export abstract class InputText extends LitElement {
|
|
|
130
129
|
* When `true`, the component's `value` can be read, but cannot be modified.
|
|
131
130
|
*
|
|
132
131
|
* @default false
|
|
133
|
-
* @
|
|
132
|
+
* @see [MDN - readOnly](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly)
|
|
134
133
|
*/
|
|
135
134
|
accessor readOnly: boolean;
|
|
136
135
|
/**
|
|
@@ -161,9 +160,9 @@ export abstract class InputText extends LitElement {
|
|
|
161
160
|
/**
|
|
162
161
|
* The component's current validation state.
|
|
163
162
|
*
|
|
164
|
-
* @
|
|
163
|
+
* @see [MDN - ValidityState](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState)
|
|
165
164
|
*/
|
|
166
|
-
get validity():
|
|
165
|
+
get validity(): ValidityState;
|
|
167
166
|
/** The component's value. */
|
|
168
167
|
accessor value: string;
|
|
169
168
|
/** Selects the text of the component's `value`. */
|
|
@@ -172,7 +171,7 @@ export abstract class InputText extends LitElement {
|
|
|
172
171
|
* Sets focus on the component.
|
|
173
172
|
*
|
|
174
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.
|
|
175
|
-
* @
|
|
174
|
+
* @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
|
|
176
175
|
*/
|
|
177
176
|
setFocus(options?: FocusOptions): Promise<void>;
|
|
178
177
|
/** Fires each time a new `value` is typed and committed. */
|
|
@@ -64,19 +64,6 @@ class InputText extends LitElement {
|
|
|
64
64
|
this.required = false;
|
|
65
65
|
this.scale = "m";
|
|
66
66
|
this.status = "idle";
|
|
67
|
-
this.validity = {
|
|
68
|
-
valid: false,
|
|
69
|
-
badInput: false,
|
|
70
|
-
customError: false,
|
|
71
|
-
patternMismatch: false,
|
|
72
|
-
rangeOverflow: false,
|
|
73
|
-
rangeUnderflow: false,
|
|
74
|
-
stepMismatch: false,
|
|
75
|
-
tooLong: false,
|
|
76
|
-
tooShort: false,
|
|
77
|
-
typeMismatch: false,
|
|
78
|
-
valueMissing: false
|
|
79
|
-
};
|
|
80
67
|
this.calciteInputTextChange = createEvent();
|
|
81
68
|
this.calciteInputTextInput = createEvent();
|
|
82
69
|
this.calciteInternalInputTextBlur = createEvent();
|
|
@@ -85,7 +72,7 @@ class InputText extends LitElement {
|
|
|
85
72
|
this.listen("keydown", this.keyDownHandler);
|
|
86
73
|
}
|
|
87
74
|
static {
|
|
88
|
-
this.properties = { slottedActionElDisabledInternally: [16, {}, { state: true }], alignment: [3, {}, { reflect: true }], autocomplete: 1, clearable: [7, {}, { reflect: true, type: Boolean }], disabled: [7, {}, { reflect: true, type: Boolean }], editingEnabled: [7, {}, { reflect: true, type: Boolean }], form: [3, {}, { reflect: true }], icon: [3, { converter: stringOrBoolean, type: String }, { reflect: true }], iconFlipRtl: [7, {}, { reflect: true, type: Boolean }], label: 1, labelText: 1, loading: [7, {}, { reflect: true, type: Boolean }], maxLength: [11, {}, { reflect: true, type: Number }], messageOverrides: [0, {}, { attribute: false }], minLength: [11, {}, { reflect: true, type: Number }], name: [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 }], suffixText: 1, validationIcon: [3, { converter: stringOrBoolean, type: String }, { reflect: true }], validationMessage: 1, validity: [
|
|
75
|
+
this.properties = { slottedActionElDisabledInternally: [16, {}, { state: true }], alignment: [3, {}, { reflect: true }], autocomplete: 1, clearable: [7, {}, { reflect: true, type: Boolean }], disabled: [7, {}, { reflect: true, type: Boolean }], editingEnabled: [7, {}, { reflect: true, type: Boolean }], form: [3, {}, { reflect: true }], icon: [3, { converter: stringOrBoolean, type: String }, { reflect: true }], iconFlipRtl: [7, {}, { reflect: true, type: Boolean }], label: 1, labelText: 1, loading: [7, {}, { reflect: true, type: Boolean }], maxLength: [11, {}, { reflect: true, type: Number }], messageOverrides: [0, {}, { attribute: false }], minLength: [11, {}, { reflect: true, type: Number }], name: [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 }], suffixText: 1, validationIcon: [3, { converter: stringOrBoolean, type: String }, { reflect: true }], validationMessage: 1, validity: [32, {}, { readOnly: true, attribute: false }], value: 1 };
|
|
89
76
|
}
|
|
90
77
|
static {
|
|
91
78
|
this.formAssociated = true;
|
|
@@ -6,7 +6,6 @@ import type { HourFormat } from "../../utils/time.js";
|
|
|
6
6
|
import type { Scale, Status } from "../interfaces.js";
|
|
7
7
|
import type { IconName } from "../calcite-icon/interfaces.js";
|
|
8
8
|
import type { TimePicker } from "../calcite-time-picker/customElement.js";
|
|
9
|
-
import type { MutableValidityState } from "../../controllers/useForm.js";
|
|
10
9
|
|
|
11
10
|
/**
|
|
12
11
|
* @cssproperty [--calcite-input-time-picker-background-color] - Specifies the component's background color.
|
|
@@ -65,7 +64,7 @@ export abstract class InputTimePicker extends LitElement {
|
|
|
65
64
|
* When the component resides in a form,
|
|
66
65
|
* specifies the maximum `value`.
|
|
67
66
|
*
|
|
68
|
-
* @
|
|
67
|
+
* @see [MDN - max](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/time#max)
|
|
69
68
|
*/
|
|
70
69
|
accessor max: string;
|
|
71
70
|
/** Overrides individual strings used by the component. */
|
|
@@ -92,7 +91,7 @@ export abstract class InputTimePicker extends LitElement {
|
|
|
92
91
|
* When the component resides in a form,
|
|
93
92
|
* specifies the minimum `value`.
|
|
94
93
|
*
|
|
95
|
-
* @
|
|
94
|
+
* @see [MDN - min](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/time#min)
|
|
96
95
|
*/
|
|
97
96
|
accessor min: string;
|
|
98
97
|
/** Specifies the name of the component. Required to pass the component's `value` on form submission. */
|
|
@@ -125,7 +124,7 @@ export abstract class InputTimePicker extends LitElement {
|
|
|
125
124
|
* When `true`, the component's `value` can be read, but controls are not accessible and the `value` cannot be modified.
|
|
126
125
|
*
|
|
127
126
|
* @default false
|
|
128
|
-
* @
|
|
127
|
+
* @see [MDN - readOnly](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly)
|
|
129
128
|
*/
|
|
130
129
|
accessor readOnly: boolean;
|
|
131
130
|
/**
|
|
@@ -160,9 +159,9 @@ export abstract class InputTimePicker extends LitElement {
|
|
|
160
159
|
/**
|
|
161
160
|
* The component's current validation state.
|
|
162
161
|
*
|
|
163
|
-
* @
|
|
162
|
+
* @see [MDN - ValidityState](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState)
|
|
164
163
|
*/
|
|
165
|
-
get validity():
|
|
164
|
+
get validity(): ValidityState;
|
|
166
165
|
/** The time value in ISO (24-hour) format. */
|
|
167
166
|
accessor value: string;
|
|
168
167
|
/**
|
|
@@ -175,7 +174,7 @@ export abstract class InputTimePicker extends LitElement {
|
|
|
175
174
|
* Sets focus on the component.
|
|
176
175
|
*
|
|
177
176
|
* @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
|
|
178
|
-
* @
|
|
177
|
+
* @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
|
|
179
178
|
*/
|
|
180
179
|
setFocus(options?: FocusOptions): Promise<void>;
|
|
181
180
|
/** Fires when the component is requested to be closed and before the closing transition begins. */
|
|
@@ -72,19 +72,6 @@ class InputTimePicker extends LitElement {
|
|
|
72
72
|
this.scale = "m";
|
|
73
73
|
this.status = "idle";
|
|
74
74
|
this.step = 60;
|
|
75
|
-
this.validity = {
|
|
76
|
-
valid: false,
|
|
77
|
-
badInput: false,
|
|
78
|
-
customError: false,
|
|
79
|
-
patternMismatch: false,
|
|
80
|
-
rangeOverflow: false,
|
|
81
|
-
rangeUnderflow: false,
|
|
82
|
-
stepMismatch: false,
|
|
83
|
-
tooLong: false,
|
|
84
|
-
tooShort: false,
|
|
85
|
-
typeMismatch: false,
|
|
86
|
-
valueMissing: false
|
|
87
|
-
};
|
|
88
75
|
this.calciteInputTimePickerBeforeClose = createEvent({ cancelable: false });
|
|
89
76
|
this.calciteInputTimePickerBeforeOpen = createEvent({ cancelable: false });
|
|
90
77
|
this.calciteInputTimePickerChange = createEvent();
|
|
@@ -95,7 +82,7 @@ class InputTimePicker extends LitElement {
|
|
|
95
82
|
this.listen("calciteTimeChange", this.timeChangeHandler);
|
|
96
83
|
}
|
|
97
84
|
static {
|
|
98
|
-
this.properties = { disabled: [7, {}, { reflect: true, type: Boolean }], focusTrapDisabled: [7, {}, { reflect: true, type: Boolean }], form: [3, {}, { reflect: true }], hourFormat: [3, {}, { reflect: true }], label: 1, labelText: 1, max: [3, {}, { reflect: true }], messageOverrides: [0, {}, { attribute: false }], min: [3, {}, { reflect: true }], name: 1, numberingSystem: [3, {}, { reflect: true }], open: [7, {}, { reflect: true, type: Boolean }], overlayPositioning: 1, placement: [3, {}, { reflect: true }], readOnly: [7, {}, { reflect: true, type: Boolean }], required: [7, {}, { reflect: true, type: Boolean }], scale: [3, {}, { reflect: true }], status: [3, {}, { reflect: true }], step: [11, {}, { reflect: true, type: Number }], validationIcon: [3, { converter: stringOrBoolean, type: String }, { reflect: true }], validationMessage: 1, validity: [
|
|
85
|
+
this.properties = { disabled: [7, {}, { reflect: true, type: Boolean }], focusTrapDisabled: [7, {}, { reflect: true, type: Boolean }], form: [3, {}, { reflect: true }], hourFormat: [3, {}, { reflect: true }], label: 1, labelText: 1, max: [3, {}, { reflect: true }], messageOverrides: [0, {}, { attribute: false }], min: [3, {}, { reflect: true }], name: 1, numberingSystem: [3, {}, { reflect: true }], open: [7, {}, { reflect: true, type: Boolean }], overlayPositioning: 1, placement: [3, {}, { reflect: true }], readOnly: [7, {}, { reflect: true, type: Boolean }], required: [7, {}, { reflect: true, type: Boolean }], scale: [3, {}, { reflect: true }], status: [3, {}, { reflect: true }], step: [11, {}, { reflect: true, type: Number }], validationIcon: [3, { converter: stringOrBoolean, type: String }, { reflect: true }], validationMessage: 1, validity: [32, {}, { readOnly: true, attribute: false }], value: 1 };
|
|
99
86
|
}
|
|
100
87
|
static {
|
|
101
88
|
this.formAssociated = true;
|
|
@@ -3,7 +3,6 @@ import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
|
3
3
|
import type { Scale, Status } from "../interfaces.js";
|
|
4
4
|
import type { OverlayPositioning } from "../../utils/floating-ui.js";
|
|
5
5
|
import type { IconName } from "../calcite-icon/interfaces.js";
|
|
6
|
-
import type { MutableValidityState } from "../../controllers/useForm.js";
|
|
7
6
|
import type { OffsetStyle, TimeZoneMode } from "./interfaces.js";
|
|
8
7
|
|
|
9
8
|
/** @slot [label-content] - A slot for rendering content next to the component's `labelText`. */
|
|
@@ -694,7 +693,7 @@ export abstract class InputTimeZone extends LitElement {
|
|
|
694
693
|
*
|
|
695
694
|
* It can be either a Date instance or a string in ISO format (`"YYYY-MM-DD"`, `"YYYY-MM-DDTHH:MM:SS.SSSZ"`).
|
|
696
695
|
*
|
|
697
|
-
* @see [Date.prototype.toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString).
|
|
696
|
+
* @see [MDN - Date.prototype.toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString).
|
|
698
697
|
*/
|
|
699
698
|
accessor referenceDate: Date | string;
|
|
700
699
|
/**
|
|
@@ -715,7 +714,7 @@ export abstract class InputTimeZone extends LitElement {
|
|
|
715
714
|
* Only set this if you need complex z-index control or if top layer placement causes conflicts with third-party components.
|
|
716
715
|
*
|
|
717
716
|
* @default false
|
|
718
|
-
* @
|
|
717
|
+
* @see [MDN - Top Layer](https://developer.mozilla.org/en-US/docs/Glossary/Top_layer)
|
|
719
718
|
*/
|
|
720
719
|
accessor topLayerDisabled: boolean;
|
|
721
720
|
/** Specifies the validation icon to display under the component. */
|
|
@@ -725,9 +724,9 @@ export abstract class InputTimeZone extends LitElement {
|
|
|
725
724
|
/**
|
|
726
725
|
* The component's current validation state.
|
|
727
726
|
*
|
|
728
|
-
* @
|
|
727
|
+
* @see [MDN - ValidityState](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState)
|
|
729
728
|
*/
|
|
730
|
-
get validity():
|
|
729
|
+
get validity(): ValidityState;
|
|
731
730
|
/**
|
|
732
731
|
* The component's value, where the value is the time zone offset or the difference, in minutes, between the selected time zone and UTC.
|
|
733
732
|
*
|
|
@@ -740,7 +739,7 @@ export abstract class InputTimeZone extends LitElement {
|
|
|
740
739
|
* Sets focus on the component.
|
|
741
740
|
*
|
|
742
741
|
* @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
|
|
743
|
-
* @
|
|
742
|
+
* @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
|
|
744
743
|
*/
|
|
745
744
|
setFocus(options?: FocusOptions): Promise<void>;
|
|
746
745
|
/** Fires when the component is requested to be closed and before the closing transition begins. */
|
|
@@ -221,19 +221,6 @@ class InputTimeZone extends LitElement {
|
|
|
221
221
|
this.scale = "m";
|
|
222
222
|
this.status = "idle";
|
|
223
223
|
this.topLayerDisabled = false;
|
|
224
|
-
this.validity = {
|
|
225
|
-
valid: false,
|
|
226
|
-
badInput: false,
|
|
227
|
-
customError: false,
|
|
228
|
-
patternMismatch: false,
|
|
229
|
-
rangeOverflow: false,
|
|
230
|
-
rangeUnderflow: false,
|
|
231
|
-
stepMismatch: false,
|
|
232
|
-
tooLong: false,
|
|
233
|
-
tooShort: false,
|
|
234
|
-
typeMismatch: false,
|
|
235
|
-
valueMissing: false
|
|
236
|
-
};
|
|
237
224
|
this.calciteInputTimeZoneBeforeClose = createEvent({ cancelable: false });
|
|
238
225
|
this.calciteInputTimeZoneBeforeOpen = createEvent({ cancelable: false });
|
|
239
226
|
this.calciteInputTimeZoneChange = createEvent({ cancelable: false });
|
|
@@ -241,7 +228,7 @@ class InputTimeZone extends LitElement {
|
|
|
241
228
|
this.calciteInputTimeZoneOpen = createEvent({ cancelable: false });
|
|
242
229
|
}
|
|
243
230
|
static {
|
|
244
|
-
this.properties = { clearable: [7, {}, { reflect: true, type: Boolean }], disabled: [7, {}, { reflect: true, type: Boolean }], form: [3, {}, { reflect: true }], labelText: 1, maxItems: [11, {}, { reflect: true, type: Number }], messageOverrides: [0, {}, { attribute: false }], mode: [3, {}, { reflect: true }], name: [3, {}, { reflect: true }], offsetStyle: [3, {}, { reflect: true }], open: [7, {}, { reflect: true, type: Boolean }], overlayPositioning: [3, {}, { reflect: true }], readOnly: [7, {}, { reflect: true, type: Boolean }], referenceDate: 1, 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: [
|
|
231
|
+
this.properties = { clearable: [7, {}, { reflect: true, type: Boolean }], disabled: [7, {}, { reflect: true, type: Boolean }], form: [3, {}, { reflect: true }], labelText: 1, maxItems: [11, {}, { reflect: true, type: Number }], messageOverrides: [0, {}, { attribute: false }], mode: [3, {}, { reflect: true }], name: [3, {}, { reflect: true }], offsetStyle: [3, {}, { reflect: true }], open: [7, {}, { reflect: true, type: Boolean }], overlayPositioning: [3, {}, { reflect: true }], readOnly: [7, {}, { reflect: true, type: Boolean }], referenceDate: 1, 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 };
|
|
245
232
|
}
|
|
246
233
|
static {
|
|
247
234
|
this.formAssociated = true;
|
|
@@ -25,7 +25,7 @@ export abstract class Link extends LitElement {
|
|
|
25
25
|
* Without a value, the browser will suggest a filename/extension.
|
|
26
26
|
*
|
|
27
27
|
* @default false
|
|
28
|
-
* @see [Global download attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#download).
|
|
28
|
+
* @see [MDN - Global download attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#download).
|
|
29
29
|
*/
|
|
30
30
|
accessor download: string | boolean;
|
|
31
31
|
/** Specifies the URL of the linked resource, which can be set as an absolute or relative path. */
|
|
@@ -44,7 +44,7 @@ export abstract class Link extends LitElement {
|
|
|
44
44
|
* Sets focus on the component.
|
|
45
45
|
*
|
|
46
46
|
* @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
|
|
47
|
-
* @
|
|
47
|
+
* @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
|
|
48
48
|
*/
|
|
49
49
|
setFocus(options?: FocusOptions): Promise<void>;
|
|
50
50
|
}
|
|
@@ -161,7 +161,7 @@ export abstract class List extends LitElement {
|
|
|
161
161
|
* Sets focus on the component's first focusable element.
|
|
162
162
|
*
|
|
163
163
|
* @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
|
|
164
|
-
* @
|
|
164
|
+
* @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
|
|
165
165
|
*/
|
|
166
166
|
setFocus(options?: FocusOptions): Promise<void>;
|
|
167
167
|
/** Fires when the component's selected items have changed. */
|
|
@@ -102,7 +102,7 @@ export abstract class ListItem extends LitElement {
|
|
|
102
102
|
* Only set this if you need complex z-index control or if top layer placement causes conflicts with third-party components.
|
|
103
103
|
*
|
|
104
104
|
* @default false
|
|
105
|
-
* @
|
|
105
|
+
* @see [MDN - Top Layer](https://developer.mozilla.org/en-US/docs/Glossary/Top_layer)
|
|
106
106
|
*/
|
|
107
107
|
accessor topLayerDisabled: boolean;
|
|
108
108
|
/**
|
|
@@ -117,7 +117,7 @@ export abstract class ListItem extends LitElement {
|
|
|
117
117
|
* Sets focus on the component.
|
|
118
118
|
*
|
|
119
119
|
* @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
|
|
120
|
-
* @
|
|
120
|
+
* @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
|
|
121
121
|
*/
|
|
122
122
|
setFocus(options?: FocusOptions): Promise<void>;
|
|
123
123
|
/** Fires when the close button is clicked. */
|
|
@@ -20,7 +20,7 @@ export abstract class Menu extends LitElement {
|
|
|
20
20
|
* Sets focus on the component's first focusable element.
|
|
21
21
|
*
|
|
22
22
|
* @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
|
|
23
|
-
* @
|
|
23
|
+
* @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
|
|
24
24
|
*/
|
|
25
25
|
setFocus(options?: FocusOptions): Promise<void>;
|
|
26
26
|
}
|
|
@@ -52,13 +52,13 @@ export abstract class MenuItem extends LitElement {
|
|
|
52
52
|
/**
|
|
53
53
|
* Defines the relationship between the `href` value and the current document.
|
|
54
54
|
*
|
|
55
|
-
* @
|
|
55
|
+
* @see [MDN - rel](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel)
|
|
56
56
|
*/
|
|
57
57
|
accessor rel: string;
|
|
58
58
|
/**
|
|
59
59
|
* Specifies where to open the linked document defined in the `href` property.
|
|
60
60
|
*
|
|
61
|
-
* @
|
|
61
|
+
* @see [MDN - target](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-target)
|
|
62
62
|
*/
|
|
63
63
|
accessor target: string;
|
|
64
64
|
/** Specifies the text to display. */
|
|
@@ -67,7 +67,7 @@ export abstract class MenuItem extends LitElement {
|
|
|
67
67
|
* Sets focus on the component.
|
|
68
68
|
*
|
|
69
69
|
* @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
|
|
70
|
-
* @
|
|
70
|
+
* @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
|
|
71
71
|
*/
|
|
72
72
|
setFocus(options?: FocusOptions): Promise<void>;
|
|
73
73
|
/** Emits when the component is selected. */
|
|
@@ -23,7 +23,7 @@ const CSS = {
|
|
|
23
23
|
warning: "fill-warning",
|
|
24
24
|
danger: "fill-danger"
|
|
25
25
|
};
|
|
26
|
-
const styles = css`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host{display:flex;--calcite-internal-meter-space: var(--calcite-spacing-base);--calcite-internal-meter-height: var(--calcite-spacing-lg);--calcite-internal-meter-font-size: var(--calcite-font-size--1);--calcite-internal-meter-fill-color: var(--calcite-meter-fill-color, var(--calcite-color-brand));--calcite-internal-meter-background-color: var(--calcite-meter-background-color, var(--calcite-color-foreground-2));--calcite-internal-meter-border-color: var(--calcite-meter-border-color, var(--calcite-color-border-2));--calcite-internal-meter-shadow: var(--calcite-meter-shadow, var(--calcite-shadow-none));--calcite-internal-meter-corner-radius: var(--calcite-meter-corner-radius, 9999px);--calcite-internal-meter-value-text-color: var(--calcite-meter-value-text-color, var(--calcite-color-text-1));--calcite-internal-meter-range-text-color: var(--calcite-meter-range-text-color, var(--calcite-color-text-3))}:host([scale=s]){--calcite-internal-meter-height: var(--calcite-spacing-md);--calcite-internal-meter-font-size: var(--calcite-font-size--2)}:host([scale=l]){--calcite-internal-meter-height: var(--calcite-spacing-xxl);--calcite-internal-meter-font-size: var(--calcite-font-size-0)}:host([appearance=solid]){--calcite-internal-meter-border-color: var(--calcite-color-foreground-3);--calcite-internal-meter-background-color: var(--calcite-color-foreground-3)}:host([appearance=outline]){--calcite-internal-meter-background-color: transparent}.fill{--calcite-internal-meter-fill-color: var(--calcite-meter-fill-color, var(--calcite-color-brand))}.fill-danger{--calcite-internal-meter-fill-color: var(--calcite-meter-fill-color, var(--calcite-color-status-danger))}.fill-success{--calcite-internal-meter-fill-color: var(--calcite-meter-fill-color, var(--calcite-color-status-success))}.fill-warning{--calcite-internal-meter-fill-color: var(--calcite-meter-fill-color, var(--calcite-color-status-warning))}.container{position:relative;display:flex;align-items:center;margin:0;inline-size:var(--calcite-container-size-content-fluid);block-size:var(--calcite-internal-meter-height);background-color:var(--calcite-internal-meter-background-color);border:var(--calcite-border-width-sm) solid var(--calcite-internal-meter-border-color);border-radius:var(--calcite-internal-meter-corner-radius);box-shadow:var(--calcite-internal-meter-shadow)}.value-visible{margin-block-start:var(--calcite-spacing-xxl)}.steps-visible{margin-block-end:var(--calcite-spacing-xxl)}.step-line{position:absolute;inset-block:0px;display:block;inline-size:var(--calcite-internal-meter-space);background-color:var(--calcite-internal-meter-border-color)}.label{position:absolute;font-size:var(--calcite-internal-meter-font-size)}.label-hidden{visibility:hidden;opacity:0}.label-value{inset-block-end:calc(100% + .5em);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-internal-meter-value-text-color)}.label-range{color:var(--calcite-internal-meter-range-text-color);inset-block-start:calc(100% + .5em)}.label-range .unit-label{font-weight:var(--calcite-font-weight-medium)}.fill{position:absolute;z-index:var(--calcite-z-index);display:block;transition-timing-function:cubic-bezier(.4,0,.2,1);inset-inline-start:var(--calcite-internal-meter-space);inset-block:var(--calcite-internal-meter-space);border-radius:var(--calcite-internal-meter-corner-radius);max-inline-size:calc(100% - var(--calcite-internal-meter-space) * 2);min-inline-size:calc(var(--calcite-internal-meter-height) - var(--calcite-internal-meter-space) * 2);background-color:var(--calcite-internal-meter-fill-color);transition-property:inline-size,background-color,box-shadow}.solid .fill{inset-block:0;inset-inline-start:0;max-inline-size:100%;min-inline-size:calc(var(--calcite-internal-meter-height));box-shadow:0 0 0 1px var(--calcite-internal-meter-fill-color)}`;
|
|
26
|
+
const styles = css`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host{display:flex;--calcite-internal-meter-space: var(--calcite-spacing-base);--calcite-internal-meter-height: var(--calcite-spacing-lg);--calcite-internal-meter-font-size: var(--calcite-font-size--1);--calcite-internal-meter-fill-color: var(--calcite-meter-fill-color, var(--calcite-color-brand));--calcite-internal-meter-background-color: var(--calcite-meter-background-color, var(--calcite-color-foreground-2));--calcite-internal-meter-border-color: var(--calcite-meter-border-color, var(--calcite-color-border-2));--calcite-internal-meter-shadow: var(--calcite-meter-shadow, var(--calcite-shadow-none));--calcite-internal-meter-corner-radius: var(--calcite-meter-corner-radius, 9999px);--calcite-internal-meter-value-text-color: var(--calcite-meter-value-text-color, var(--calcite-color-text-1));--calcite-internal-meter-range-text-color: var(--calcite-meter-range-text-color, var(--calcite-color-text-3));--calcite-internal-meter-label-line-height: var(--calcite-font-line-height-base)}:host([scale=s]){--calcite-internal-meter-height: var(--calcite-spacing-md);--calcite-internal-meter-font-size: var(--calcite-font-size--2)}:host([scale=l]){--calcite-internal-meter-height: var(--calcite-spacing-xxl);--calcite-internal-meter-font-size: var(--calcite-font-size-0);--calcite-internal-meter-label-line-height: var(--calcite-font-line-height-md)}:host([appearance=solid]){--calcite-internal-meter-border-color: var(--calcite-color-foreground-3);--calcite-internal-meter-background-color: var(--calcite-color-foreground-3)}:host([appearance=outline]){--calcite-internal-meter-background-color: transparent}.fill{--calcite-internal-meter-fill-color: var(--calcite-meter-fill-color, var(--calcite-color-brand))}.fill-danger{--calcite-internal-meter-fill-color: var(--calcite-meter-fill-color, var(--calcite-color-status-danger))}.fill-success{--calcite-internal-meter-fill-color: var(--calcite-meter-fill-color, var(--calcite-color-status-success))}.fill-warning{--calcite-internal-meter-fill-color: var(--calcite-meter-fill-color, var(--calcite-color-status-warning))}.container{position:relative;display:flex;align-items:center;margin:0;inline-size:var(--calcite-container-size-content-fluid);block-size:var(--calcite-internal-meter-height);background-color:var(--calcite-internal-meter-background-color);border:var(--calcite-border-width-sm) solid var(--calcite-internal-meter-border-color);border-radius:var(--calcite-internal-meter-corner-radius);box-shadow:var(--calcite-internal-meter-shadow)}.value-visible{margin-block-start:var(--calcite-spacing-xxl)}.steps-visible{margin-block-end:var(--calcite-spacing-xxl)}.step-line{position:absolute;inset-block:0px;display:block;inline-size:var(--calcite-internal-meter-space);background-color:var(--calcite-internal-meter-border-color)}.label{position:absolute;display:flex;gap:var(--calcite-spacing-xxs);font-size:var(--calcite-internal-meter-font-size);line-height:var(--calcite-internal-meter-label-line-height)}.label-hidden{visibility:hidden;opacity:0}.label-value{inset-block-end:calc(100% + .5em);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-internal-meter-value-text-color)}.label-range{color:var(--calcite-internal-meter-range-text-color);inset-block-start:calc(100% + .5em)}.label-range .unit-label{font-weight:var(--calcite-font-weight-medium)}.fill{position:absolute;z-index:var(--calcite-z-index);display:block;transition-timing-function:cubic-bezier(.4,0,.2,1);inset-inline-start:var(--calcite-internal-meter-space);inset-block:var(--calcite-internal-meter-space);border-radius:var(--calcite-internal-meter-corner-radius);max-inline-size:calc(100% - var(--calcite-internal-meter-space) * 2);min-inline-size:calc(var(--calcite-internal-meter-height) - var(--calcite-internal-meter-space) * 2);background-color:var(--calcite-internal-meter-fill-color);transition-property:inline-size,background-color,box-shadow}.solid .fill{inset-block:0;inset-inline-start:0;max-inline-size:100%;min-inline-size:calc(var(--calcite-internal-meter-height));box-shadow:0 0 0 1px var(--calcite-internal-meter-fill-color)}`;
|
|
27
27
|
class Meter extends LitElement {
|
|
28
28
|
constructor() {
|
|
29
29
|
super(...arguments);
|
|
@@ -213,13 +213,13 @@ class Meter extends LitElement {
|
|
|
213
213
|
renderValueLabel() {
|
|
214
214
|
const { currentPercent, valueLabelType, unitLabel, value } = this;
|
|
215
215
|
const label = this.formatLabel(valueLabelType === "percent" ? currentPercent / 100 : value || 0, valueLabelType);
|
|
216
|
-
return keyed("low-label-line", html`<div class=${safeClassMap({ [CSS.label]: true, [CSS.labelValue]: true })} ${ref(this.valueLabelRef)}>${label}${unitLabel && valueLabelType !== "percent" && html`<span class=${safeClassMap(CSS.unitLabel)}
|
|
216
|
+
return keyed("low-label-line", html`<div class=${safeClassMap({ [CSS.label]: true, [CSS.labelValue]: true })} ${ref(this.valueLabelRef)}>${label}${unitLabel && valueLabelType !== "percent" && html`<span class=${safeClassMap(CSS.unitLabel)}>${unitLabel}</span>` || ""}</div>`);
|
|
217
217
|
}
|
|
218
218
|
renderMinLabel() {
|
|
219
219
|
const { rangeLabelType, min, minPercent, unitLabel } = this;
|
|
220
220
|
const style = { insetInlineStart: `${minPercent}%` };
|
|
221
221
|
const labelMin = this.formatLabel(rangeLabelType === "percent" ? minPercent : min, rangeLabelType);
|
|
222
|
-
return keyed("min-label-line", html`<div class=${safeClassMap({ [CSS.label]: true, [CSS.labelRange]: true })} style=${safeStyleMap(style)} ${ref(this.minLabelRef)}>${labelMin}${unitLabel && rangeLabelType !== "percent" && html`<span class=${safeClassMap(CSS.unitLabel)}
|
|
222
|
+
return keyed("min-label-line", html`<div class=${safeClassMap({ [CSS.label]: true, [CSS.labelRange]: true })} style=${safeStyleMap(style)} ${ref(this.minLabelRef)}>${labelMin}${unitLabel && rangeLabelType !== "percent" && html`<span class=${safeClassMap(CSS.unitLabel)}>${unitLabel}</span>` || ""}</div>`);
|
|
223
223
|
}
|
|
224
224
|
renderLowLabel() {
|
|
225
225
|
const { rangeLabelType, low, lowPercent, highPercent, labelFlipProximity } = this;
|
|
@@ -29,7 +29,7 @@ export abstract class Navigation extends LitElement {
|
|
|
29
29
|
* When `navigationAction` is `true`, sets focus on the component's action element.
|
|
30
30
|
*
|
|
31
31
|
* @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
|
|
32
|
-
* @
|
|
32
|
+
* @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
|
|
33
33
|
*/
|
|
34
34
|
setFocus(options?: FocusOptions): Promise<void>;
|
|
35
35
|
/** When `navigationAction` is `true`, emits when the displayed action selection changes. */
|
|
@@ -37,13 +37,13 @@ export abstract class NavigationLogo extends LitElement {
|
|
|
37
37
|
/**
|
|
38
38
|
* Defines the relationship between the `href` value and the current document.
|
|
39
39
|
*
|
|
40
|
-
* @
|
|
40
|
+
* @see [MDN - rel](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel)
|
|
41
41
|
*/
|
|
42
42
|
accessor rel: string;
|
|
43
43
|
/**
|
|
44
44
|
* Specifies where to open the linked document defined in the `href` property.
|
|
45
45
|
*
|
|
46
|
-
* @
|
|
46
|
+
* @see [MDN - target](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-target)
|
|
47
47
|
*/
|
|
48
48
|
accessor target: string;
|
|
49
49
|
/** Specifies the `src` to an image. */
|
|
@@ -52,7 +52,7 @@ export abstract class NavigationLogo extends LitElement {
|
|
|
52
52
|
* Sets focus on the component.
|
|
53
53
|
*
|
|
54
54
|
* @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
|
|
55
|
-
* @
|
|
55
|
+
* @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
|
|
56
56
|
*/
|
|
57
57
|
setFocus(options?: FocusOptions): Promise<void>;
|
|
58
58
|
}
|
|
@@ -36,7 +36,7 @@ export abstract class NavigationUser extends LitElement {
|
|
|
36
36
|
* Sets focus on the component.
|
|
37
37
|
*
|
|
38
38
|
* @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
|
|
39
|
-
* @
|
|
39
|
+
* @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
|
|
40
40
|
*/
|
|
41
41
|
setFocus(options?: FocusOptions): Promise<void>;
|
|
42
42
|
}
|
|
@@ -78,7 +78,7 @@ export abstract class Notice extends LitElement {
|
|
|
78
78
|
* Sets focus on the component's first focusable element.
|
|
79
79
|
*
|
|
80
80
|
* @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
|
|
81
|
-
* @
|
|
81
|
+
* @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
|
|
82
82
|
*/
|
|
83
83
|
setFocus(options?: FocusOptions): Promise<void>;
|
|
84
84
|
/** Fires when the component is requested to be closed and before the closing transition begins. */
|