@esri/calcite-components 6.0.0-next.59 → 6.0.0-next.60
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/{XLVS3QRZ.js → 23ZH34K3.js} +1 -1
- package/dist/cdn/{OL54E2VG.js → 257CYMU4.js} +1 -1
- package/dist/cdn/{5KNIEIQB.js → 2DT5TUSD.js} +1 -1
- package/dist/cdn/{5Q725D3I.js → 2FDZK4SP.js} +1 -1
- package/dist/cdn/{N5HR4JIP.js → 2IIS3KXI.js} +1 -1
- package/dist/cdn/{IPC52TFP.js → 2KMSPIAS.js} +1 -1
- package/dist/cdn/{OGL2CTVW.js → 2UKQIP47.js} +1 -1
- package/dist/cdn/{MVEBOXXC.js → 36ZEWJ72.js} +1 -1
- package/dist/cdn/{Y6Y6YIMO.js → 3BK7GQWU.js} +1 -1
- package/dist/cdn/{CRUXQGDJ.js → 3FDZSMHT.js} +1 -1
- package/dist/cdn/{OEUZECPK.js → 3FRKED6O.js} +1 -1
- package/dist/cdn/{F66HV74D.js → 3K3WZKX6.js} +1 -1
- package/dist/cdn/{KVUDOYXY.js → 44QWLWTD.js} +1 -1
- package/dist/cdn/{XO3KFKRH.js → 4F373FUZ.js} +1 -1
- package/dist/cdn/{HMIAN5WT.js → 4LJDBE3W.js} +1 -1
- package/dist/cdn/{J4SK5XJU.js → 4OHJUF5U.js} +1 -1
- package/dist/cdn/{BAAM6BOB.js → 4QLJN6TZ.js} +1 -1
- package/dist/cdn/{DVW6HSBL.js → 4SLZJ3VJ.js} +1 -1
- package/dist/cdn/{NU5GGR3Y.js → 4Y5CLGZK.js} +1 -1
- package/dist/cdn/{YCQRLOCA.js → 5AN4UW6O.js} +1 -1
- package/dist/cdn/{AMWSJUBQ.js → 5CLS3AFH.js} +1 -1
- package/dist/cdn/{GQYWBUD3.js → 5IJI3EVD.js} +1 -1
- package/dist/cdn/{GFBTUJHM.js → 5N7OHVQJ.js} +1 -1
- package/dist/cdn/{QL2KRA7I.js → 5SHDFPXA.js} +1 -1
- package/dist/cdn/{XX3UQMZC.js → 6AYXET3V.js} +1 -1
- package/dist/cdn/{X7B3K4WG.js → 6EVWTMJD.js} +1 -1
- package/dist/cdn/{HEJHGUMW.js → 6FWGPQL4.js} +1 -1
- package/dist/cdn/{G73N23M2.js → 6HWBAEHO.js} +1 -1
- package/dist/cdn/{ZMSADQUW.js → 6LNUBHXG.js} +1 -1
- package/dist/cdn/{XIN4GD3V.js → 6MEPMUMI.js} +1 -1
- package/dist/cdn/6OZ63KZT.js +2 -0
- package/dist/cdn/{VIBF4GXM.js → 6WIIOXKS.js} +1 -1
- package/dist/cdn/{P22ZY5GU.js → 7LWJZEPF.js} +1 -1
- package/dist/cdn/{UBW23RMT.js → 7OMBQ2LG.js} +1 -1
- package/dist/cdn/{277CTNJY.js → 7OTICPWF.js} +1 -1
- package/dist/cdn/{YK37ODKH.js → 7SBZDWEM.js} +1 -1
- package/dist/cdn/{QRA3JYS2.js → B5C4YZEV.js} +1 -1
- package/dist/cdn/{NID3KRXD.js → B6C6QBFX.js} +1 -1
- package/dist/cdn/{75NQQJNI.js → BAVRQMTY.js} +1 -1
- package/dist/cdn/{B52245TR.js → BCIKYBF3.js} +1 -1
- package/dist/cdn/{D7SAADMD.js → BDWM7ALR.js} +1 -1
- package/dist/cdn/{BNAIOEU3.js → BHELXAGQ.js} +1 -1
- package/dist/cdn/{GZYMMKK3.js → BI7TNEOV.js} +1 -1
- package/dist/cdn/{2EXSTBIN.js → BN7ENVIC.js} +1 -1
- package/dist/cdn/{35FJBHUF.js → BWTQZDQ6.js} +1 -1
- package/dist/cdn/{MUJCH4UY.js → C2JECRTV.js} +1 -1
- package/dist/cdn/{DQXRPHUI.js → C6MFB75B.js} +1 -1
- package/dist/cdn/{JQGKC4WS.js → CAQH3M55.js} +1 -1
- package/dist/cdn/{6HDTB24G.js → CDVOEYND.js} +1 -1
- package/dist/cdn/{AWELH6FI.js → CPPMCAID.js} +1 -1
- package/dist/cdn/{HD6HPIFD.js → CYJMOVVE.js} +1 -1
- package/dist/cdn/{CZTRWN4B.js → DBLK2CMQ.js} +1 -1
- package/dist/cdn/{BFXALCYB.js → DQGBCHSN.js} +1 -1
- package/dist/cdn/{UAWRDZ5O.js → E4HUS55V.js} +1 -1
- package/dist/cdn/{XFXELLFJ.js → E6IOVG3N.js} +1 -1
- package/dist/cdn/{6LQANPML.js → E7MXVWGX.js} +1 -1
- package/dist/cdn/{V4ZUJQFP.js → ECWBSJHW.js} +1 -1
- package/dist/cdn/{QHFK52SN.js → EJR5VIJY.js} +1 -1
- package/dist/cdn/{F7HEFBJ3.js → EXBAP2Y4.js} +1 -1
- package/dist/cdn/{K54GNDS5.js → FQIEABZC.js} +1 -1
- package/dist/cdn/{Y2TCYWVJ.js → FU32CFHC.js} +1 -1
- package/dist/cdn/{EPZE2R4B.js → G3GOX6Q3.js} +1 -1
- package/dist/cdn/{QOD6L3RN.js → G4Q2SWWH.js} +1 -1
- package/dist/cdn/{XD6OEN5W.js → G7H34HIQ.js} +1 -1
- package/dist/cdn/{HMK6XNW4.js → GJSHDNEI.js} +1 -1
- package/dist/cdn/{XR2AI5LF.js → GLW4NDPH.js} +1 -1
- package/dist/cdn/{GCOCPN62.js → HGIXONN3.js} +1 -1
- package/dist/cdn/{BAP2LT6L.js → HHVI5W6F.js} +1 -1
- package/dist/cdn/{CDQE2C4Q.js → IE3NKPOQ.js} +1 -1
- package/dist/cdn/{R66FCABT.js → IITRLQOK.js} +1 -1
- package/dist/cdn/{5X26MSOM.js → IYNVKCUS.js} +1 -1
- package/dist/cdn/{XDX2VVBD.js → J3CT322U.js} +1 -1
- package/dist/cdn/{JPZO3EE3.js → J6RS2ESB.js} +1 -1
- package/dist/cdn/{BQPPMPJS.js → JGBARNCY.js} +1 -1
- package/dist/cdn/{5FKBHN7O.js → JQOAJ37N.js} +1 -1
- package/dist/cdn/{RGQW6RTG.js → JROSHOUF.js} +1 -1
- package/dist/cdn/{KNJMQXHP.js → JYY6YBSK.js} +1 -1
- package/dist/cdn/{IDKAMT5J.js → KDERETE3.js} +1 -1
- package/dist/cdn/{UVG42Q2A.js → KIM73WQR.js} +1 -1
- package/dist/cdn/{L5QOG5SI.js → KK3L5ZGD.js} +1 -1
- package/dist/cdn/{VGSQ57EU.js → KLKEDT2Y.js} +1 -1
- package/dist/cdn/{3VVBMAIY.js → KU76HQZR.js} +1 -1
- package/dist/cdn/{FHDTLXUH.js → L6CQJCBQ.js} +1 -1
- package/dist/cdn/{V37VPTIE.js → LB7UW2Y3.js} +1 -1
- package/dist/cdn/{YAP2ODTA.js → MD3RYRSU.js} +1 -1
- package/dist/cdn/{QAUUNB4V.js → MLEIIIL7.js} +1 -1
- package/dist/cdn/{MZWIFEF4.js → MP2FCWDD.js} +1 -1
- package/dist/cdn/{Z4CNCY5M.js → MQHC7KK6.js} +1 -1
- package/dist/cdn/{BINYFNLS.js → MS5KDFTY.js} +1 -1
- package/dist/cdn/{OEZYNWY2.js → N7LKA77X.js} +1 -1
- package/dist/cdn/{Q2BLYPB6.js → NPRLTYSV.js} +1 -1
- package/dist/cdn/{Y2GZJ5IZ.js → NVVYWR22.js} +1 -1
- package/dist/cdn/{OR33QYWH.js → NYALNICV.js} +1 -1
- package/dist/cdn/{Y2YZHLKZ.js → OAJCI3UF.js} +1 -1
- package/dist/cdn/{W6KTUCBM.js → ODKKJFFR.js} +1 -1
- package/dist/cdn/{ZW2EPUQZ.js → ONJXSMUE.js} +1 -1
- package/dist/cdn/{2RQXL6B4.js → OSPG44XY.js} +1 -1
- package/dist/cdn/{DMDFMT33.js → P3KUY6H3.js} +1 -1
- package/dist/cdn/{LYJN7W62.js → P3OZPAUC.js} +1 -1
- package/dist/cdn/{YYT7RRDM.js → PBRTD24G.js} +1 -1
- package/dist/cdn/{NT2V7ORB.js → PDFS7UA6.js} +1 -1
- package/dist/cdn/{E6AHSYPV.js → PFX7YXIO.js} +1 -1
- package/dist/cdn/{TXYIR3R6.js → PJCHRWO4.js} +1 -1
- package/dist/cdn/{6A5BYMIC.js → Q3CUUGHL.js} +1 -1
- package/dist/cdn/{6IZHEOPN.js → Q6257UUK.js} +1 -1
- package/dist/cdn/{J3POEOT4.js → Q6RI57LC.js} +1 -1
- package/dist/cdn/{MI4QY5FD.js → QJ6M5YEU.js} +1 -1
- package/dist/cdn/{ZF44ZIJ2.js → QJDV2Q35.js} +1 -1
- package/dist/cdn/{Q3YIRHRU.js → QZL5BQLF.js} +1 -1
- package/dist/cdn/{7IG4J3RC.js → RC7R4XGD.js} +1 -1
- package/dist/cdn/{G4VQAHM7.js → RJHT25SN.js} +1 -1
- package/dist/cdn/{WNSVA5TC.js → RKIOFYYA.js} +1 -1
- package/dist/cdn/{J6KQQNJ3.js → ROYPFJB4.js} +1 -1
- package/dist/cdn/{5RA4UYT7.js → RX3L4B7J.js} +1 -1
- package/dist/cdn/{WMDX6OGD.js → SLN4IGHF.js} +1 -1
- package/dist/cdn/{ZU7QAA3U.js → SRISJ3VC.js} +1 -1
- package/dist/cdn/{FDVLFWY3.js → TAUHHB32.js} +1 -1
- package/dist/cdn/{UTGBSCXZ.js → TNYEWBGQ.js} +1 -1
- package/dist/cdn/{CZIC32VL.js → TZDBVRUX.js} +1 -1
- package/dist/cdn/{LWG7CYMV.js → UBAJCG7D.js} +1 -1
- package/dist/cdn/{CMTCQFMP.js → UKECXAGH.js} +1 -1
- package/dist/cdn/{5A6B2JT4.js → UUTQEUTL.js} +1 -1
- package/dist/cdn/{CWZSUMKI.js → V5H2YZT6.js} +1 -1
- package/dist/cdn/{K6RVOBUV.js → V63XBVSE.js} +1 -1
- package/dist/cdn/{I7HDIL4H.js → VGPMXNNU.js} +1 -1
- package/dist/cdn/{LI3FC5GC.js → VUOGZ2U5.js} +1 -1
- package/dist/cdn/{4OY7QXF2.js → VYGPYGAQ.js} +1 -1
- package/dist/cdn/{RSZUKEEU.js → WGRHH222.js} +1 -1
- package/dist/cdn/{EOBN6VLQ.js → WRSFHSVK.js} +1 -1
- package/dist/cdn/{CFMZJOV5.js → WUZCTZE7.js} +1 -1
- package/dist/cdn/{WPS6ASG2.js → WXBRWN5A.js} +1 -1
- package/dist/cdn/{5RWCJVFC.js → WZISGN4V.js} +1 -1
- package/dist/cdn/{WJBKOJ6N.js → XOC4G2FI.js} +1 -1
- package/dist/cdn/{JEPOY4UE.js → XUNSVVBS.js} +1 -1
- package/dist/cdn/{D3LR5SRT.js → Y4J2RN5O.js} +1 -1
- package/dist/cdn/{PRWBLOXR.js → YTWEXRRQ.js} +1 -1
- package/dist/cdn/{FD7VRNOK.js → Z6SNTWBS.js} +1 -1
- package/dist/cdn/{VBTZUXSD.js → ZHUPFYD4.js} +1 -1
- package/dist/cdn/{JWMTQ42V.js → ZPZQHOA5.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/runtime.js +3 -3
- package/dist/components/calcite-accordion/customElement.d.ts +1 -1
- package/dist/components/calcite-action/customElement.d.ts +4 -3
- package/dist/components/calcite-action-bar/customElement.d.ts +1 -1
- package/dist/components/calcite-alert/customElement.d.ts +2 -2
- package/dist/components/calcite-autocomplete/customElement.d.ts +17 -16
- package/dist/components/calcite-autocomplete-item/customElement.d.ts +2 -1
- package/dist/components/calcite-avatar/customElement.d.ts +1 -1
- package/dist/components/calcite-block/customElement.d.ts +3 -2
- package/dist/components/calcite-block-group/customElement.d.ts +3 -2
- package/dist/components/calcite-block-section/customElement.d.ts +1 -1
- package/dist/components/calcite-button/customElement.d.ts +3 -2
- package/dist/components/calcite-card/customElement.d.ts +3 -2
- package/dist/components/calcite-card-group/customElement.d.ts +3 -2
- package/dist/components/calcite-carousel/customElement.d.ts +3 -2
- package/dist/components/calcite-checkbox/customElement.d.ts +4 -3
- package/dist/components/calcite-chip/customElement.d.ts +5 -6
- package/dist/components/calcite-chip-group/customElement.d.ts +3 -2
- package/dist/components/calcite-color-picker/customElement.d.ts +3 -2
- package/dist/components/calcite-color-picker-hex-input/customElement.d.ts +1 -1
- package/dist/components/calcite-combobox/customElement.d.ts +4 -3
- package/dist/components/calcite-combobox-item/customElement.d.ts +3 -2
- package/dist/components/calcite-date-picker/customElement.d.ts +2 -2
- package/dist/components/calcite-dialog/customElement.d.ts +10 -8
- package/dist/components/calcite-dropdown/customElement.d.ts +3 -2
- package/dist/components/calcite-dropdown-item/customElement.d.ts +3 -2
- package/dist/components/calcite-fab/customElement.d.ts +4 -3
- package/dist/components/calcite-filter/customElement.d.ts +4 -3
- package/dist/components/calcite-flow/types.d.ts +4 -4
- package/dist/components/calcite-flow-item/customElement.d.ts +12 -9
- package/dist/components/calcite-icon/customElement.d.ts +1 -1
- package/dist/components/calcite-inline-editable/customElement.d.ts +3 -2
- package/dist/components/calcite-input/customElement.d.ts +7 -9
- package/dist/components/calcite-input-date-picker/customElement.d.ts +4 -3
- package/dist/components/calcite-input-message/customElement.d.ts +2 -2
- package/dist/components/calcite-input-number/customElement.d.ts +6 -7
- package/dist/components/calcite-input-text/customElement.d.ts +7 -9
- package/dist/components/calcite-input-time-picker/customElement.d.ts +3 -2
- package/dist/components/calcite-input-time-zone/customElement.d.ts +3 -2
- package/dist/components/calcite-label/customElement.d.ts +1 -1
- package/dist/components/calcite-link/customElement.d.ts +3 -2
- package/dist/components/calcite-list/customElement.d.ts +10 -5
- package/dist/components/calcite-list-item/customElement.d.ts +5 -4
- package/dist/components/calcite-list-item-group/customElement.d.ts +3 -2
- package/dist/components/calcite-loader/customElement.d.ts +1 -1
- package/dist/components/calcite-menu/customElement.d.ts +1 -1
- package/dist/components/calcite-menu-item/customElement.d.ts +1 -1
- package/dist/components/calcite-meter/customElement.d.ts +3 -2
- package/dist/components/calcite-navigation/customElement.d.ts +1 -1
- package/dist/components/calcite-navigation-logo/customElement.d.ts +1 -1
- package/dist/components/calcite-notice/customElement.d.ts +2 -2
- package/dist/components/calcite-option/customElement.d.ts +3 -2
- package/dist/components/calcite-option-group/customElement.d.ts +2 -1
- package/dist/components/calcite-pagination/customElement.d.ts +1 -1
- package/dist/components/calcite-panel/customElement.d.ts +13 -10
- package/dist/components/calcite-popover/customElement.d.ts +2 -2
- package/dist/components/calcite-radio-button/customElement.d.ts +4 -3
- package/dist/components/calcite-radio-button-group/customElement.d.ts +3 -2
- package/dist/components/calcite-rating/customElement.d.ts +4 -3
- package/dist/components/calcite-segmented-control/customElement.d.ts +4 -3
- package/dist/components/calcite-segmented-control-item/customElement.d.ts +2 -2
- package/dist/components/calcite-select/customElement.d.ts +3 -2
- package/dist/components/calcite-sheet/customElement.d.ts +5 -3
- package/dist/components/calcite-slider/customElement.d.ts +3 -2
- package/dist/components/calcite-slider/customElement.js +73 -106
- package/dist/components/calcite-sort-handle/customElement.d.ts +3 -2
- package/dist/components/calcite-split-button/customElement.d.ts +2 -1
- package/dist/components/calcite-stack/customElement.d.ts +1 -0
- package/dist/components/calcite-stepper-item/customElement.d.ts +3 -2
- package/dist/components/calcite-swatch/customElement.d.ts +3 -2
- package/dist/components/calcite-swatch-group/customElement.d.ts +3 -2
- package/dist/components/calcite-switch/customElement.d.ts +3 -2
- package/dist/components/calcite-tab-title/customElement.d.ts +2 -1
- package/dist/components/calcite-table-row/customElement.d.ts +2 -1
- package/dist/components/calcite-tabs/customElement.d.ts +1 -1
- package/dist/components/calcite-text-area/customElement.d.ts +5 -6
- package/dist/components/calcite-tile/customElement.d.ts +3 -2
- package/dist/components/calcite-tile-group/customElement.d.ts +3 -2
- package/dist/components/calcite-time-picker/customElement.d.ts +1 -1
- package/dist/components/calcite-tooltip/customElement.d.ts +1 -1
- package/dist/components/calcite-tree-item/customElement.d.ts +3 -2
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/package.json +1 -1
- package/dist/cdn/7RGQTRRW.js +0 -2
|
@@ -70,16 +70,16 @@ export abstract class Autocomplete extends LitElement {
|
|
|
70
70
|
*/
|
|
71
71
|
accessor alignment: Extract<"start" | "end", Alignment>;
|
|
72
72
|
/**
|
|
73
|
-
* Specifies the type of content to autocomplete, for use in forms.
|
|
74
|
-
* Read the native attribute's documentation on MDN for more info.
|
|
73
|
+
* Specifies the type of content to autocomplete, for use in forms. Read the native attribute's documentation on MDN for more info.
|
|
75
74
|
*
|
|
76
75
|
* @see [MDN - autocomplete](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete)
|
|
77
76
|
*/
|
|
78
77
|
accessor autocomplete: AutoFill | undefined;
|
|
79
78
|
/**
|
|
80
|
-
* When
|
|
79
|
+
* When true, prevents interaction and decreases the component's opacity.
|
|
81
80
|
*
|
|
82
81
|
* @default false
|
|
82
|
+
* @see [MDN - disabled](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled)
|
|
83
83
|
*/
|
|
84
84
|
accessor disabled: boolean;
|
|
85
85
|
/** Specifies the component's fallback `placement` for slotted content when its initial or specified `placement` has insufficient space available. */
|
|
@@ -93,7 +93,7 @@ export abstract class Autocomplete extends LitElement {
|
|
|
93
93
|
*/
|
|
94
94
|
accessor icon: IconName | boolean | undefined;
|
|
95
95
|
/**
|
|
96
|
-
* When `true`, the icon will be flipped when the element direction is right-to-left (`"rtl"`)
|
|
96
|
+
* When `true`, the icon will be flipped when the element direction is right-to-left (`"rtl"`)
|
|
97
97
|
*
|
|
98
98
|
* @default false
|
|
99
99
|
*/
|
|
@@ -128,10 +128,9 @@ export abstract class Autocomplete extends LitElement {
|
|
|
128
128
|
required?: string | undefined;
|
|
129
129
|
};
|
|
130
130
|
/**
|
|
131
|
-
* When the component resides in a form,
|
|
132
|
-
* specifies the minimum length of text for the component's value.
|
|
131
|
+
* When the component resides in a form, specifies the minimum string length of the component's `value`.
|
|
133
132
|
*
|
|
134
|
-
* @see [MDN - minlength](https://developer.mozilla.org/en-US/docs/Web/HTML/
|
|
133
|
+
* @see [MDN - minlength](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/minlength)
|
|
135
134
|
*/
|
|
136
135
|
accessor minLength: number | undefined;
|
|
137
136
|
/**
|
|
@@ -178,7 +177,7 @@ export abstract class Autocomplete extends LitElement {
|
|
|
178
177
|
* @default "bottom-start"
|
|
179
178
|
*/
|
|
180
179
|
accessor placement: MenuPlacement;
|
|
181
|
-
/** Specifies the
|
|
180
|
+
/** Specifies text to display at the start of the component. */
|
|
182
181
|
accessor prefixText: string | undefined;
|
|
183
182
|
/**
|
|
184
183
|
* When `true`, the component's value can be read, but cannot be modified.
|
|
@@ -195,7 +194,7 @@ export abstract class Autocomplete extends LitElement {
|
|
|
195
194
|
*/
|
|
196
195
|
accessor required: boolean;
|
|
197
196
|
/**
|
|
198
|
-
* Specifies the size
|
|
197
|
+
* Specifies the component's size.
|
|
199
198
|
*
|
|
200
199
|
* @default "m"
|
|
201
200
|
*/
|
|
@@ -206,7 +205,7 @@ export abstract class Autocomplete extends LitElement {
|
|
|
206
205
|
* @default "idle"
|
|
207
206
|
*/
|
|
208
207
|
accessor status: Status;
|
|
209
|
-
/** Specifies the
|
|
208
|
+
/** Specifies text to display at the end of the component. */
|
|
210
209
|
accessor suffixText: string | undefined;
|
|
211
210
|
/**
|
|
212
211
|
* When `true` and the component is `open`, disables top layer placement. Only set this if you need complex z-index control or if top layer placement causes conflicts with third-party components.
|
|
@@ -240,14 +239,16 @@ export abstract class Autocomplete extends LitElement {
|
|
|
240
239
|
/**
|
|
241
240
|
* Scrolls the component's content to a specified set of coordinates.
|
|
242
241
|
*
|
|
243
|
-
* @param options -
|
|
244
|
-
* @
|
|
242
|
+
* @param options - When specified, an optional object customizes the component's scrolling process.
|
|
243
|
+
* @see [MDN - scrollTo(options)](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollTo#options)
|
|
245
244
|
* @example
|
|
246
|
-
*
|
|
247
|
-
*
|
|
248
|
-
*
|
|
249
|
-
*
|
|
245
|
+
* ```ts
|
|
246
|
+
* myCalciteFlowItem.scrollContentTo({
|
|
247
|
+
* left: 0,
|
|
248
|
+
* top: 0,
|
|
249
|
+
* behavior: "auto"
|
|
250
250
|
* });
|
|
251
|
+
* ```
|
|
251
252
|
*/
|
|
252
253
|
scrollContentTo(options?: ScrollToOptions): Promise<void>;
|
|
253
254
|
/** Selects the text of the component's `value`. */
|
|
@@ -26,9 +26,10 @@ export abstract class AutocompleteItem extends LitElement {
|
|
|
26
26
|
/** Specifies a description for the component. Displays below the `label`. */
|
|
27
27
|
accessor description: string | undefined;
|
|
28
28
|
/**
|
|
29
|
-
* When
|
|
29
|
+
* When true, prevents interaction and decreases the component's opacity.
|
|
30
30
|
*
|
|
31
31
|
* @default false
|
|
32
|
+
* @see [MDN - disabled](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled)
|
|
32
33
|
*/
|
|
33
34
|
accessor disabled: boolean;
|
|
34
35
|
/**
|
|
@@ -19,7 +19,7 @@ export abstract class Avatar extends LitElement {
|
|
|
19
19
|
/** Specifies alternative text when `thumbnail` is defined, otherwise specifies an accessible label for the component. */
|
|
20
20
|
accessor label: string | undefined;
|
|
21
21
|
/**
|
|
22
|
-
* Specifies the size
|
|
22
|
+
* Specifies the component's size.
|
|
23
23
|
*
|
|
24
24
|
* @default "m"
|
|
25
25
|
*/
|
|
@@ -83,9 +83,10 @@ export abstract class Block extends LitElement {
|
|
|
83
83
|
/** Specifies a description for the component. Displays below the `heading`. */
|
|
84
84
|
accessor description: string | undefined;
|
|
85
85
|
/**
|
|
86
|
-
* When
|
|
86
|
+
* When true, prevents interaction and decreases the component's opacity.
|
|
87
87
|
*
|
|
88
88
|
* @default false
|
|
89
|
+
* @see [MDN - disabled](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled)
|
|
89
90
|
*/
|
|
90
91
|
accessor disabled: boolean;
|
|
91
92
|
/**
|
|
@@ -168,7 +169,7 @@ export abstract class Block extends LitElement {
|
|
|
168
169
|
*/
|
|
169
170
|
accessor overlayPositioning: OverlayPositioning;
|
|
170
171
|
/**
|
|
171
|
-
* Specifies the size
|
|
172
|
+
* Specifies the component's size.
|
|
172
173
|
*
|
|
173
174
|
* @default "m"
|
|
174
175
|
*/
|
|
@@ -13,9 +13,10 @@ export abstract class BlockGroup extends LitElement {
|
|
|
13
13
|
/** When provided, the method will be called to determine whether the element can be added from another `calcite-block-group`. */
|
|
14
14
|
accessor canPut: ((detail: BlockDragDetail) => boolean) | undefined;
|
|
15
15
|
/**
|
|
16
|
-
* When
|
|
16
|
+
* When true, prevents interaction and decreases the component's opacity.
|
|
17
17
|
*
|
|
18
18
|
* @default false
|
|
19
|
+
* @see [MDN - disabled](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled)
|
|
19
20
|
*/
|
|
20
21
|
accessor disabled: boolean;
|
|
21
22
|
/**
|
|
@@ -57,7 +58,7 @@ export abstract class BlockGroup extends LitElement {
|
|
|
57
58
|
*/
|
|
58
59
|
accessor loading: boolean;
|
|
59
60
|
/**
|
|
60
|
-
* Specifies the size
|
|
61
|
+
* Specifies the component's size.
|
|
61
62
|
*
|
|
62
63
|
* @default "m"
|
|
63
64
|
*/
|
|
@@ -43,9 +43,10 @@ export abstract class Button extends LitElement {
|
|
|
43
43
|
/** When specified, overrides the live region setting on the component's internal button or link. */
|
|
44
44
|
accessor aria: Partial<Pick<AriaAttributesCamelCased, "live">> | undefined;
|
|
45
45
|
/**
|
|
46
|
-
* When
|
|
46
|
+
* When true, prevents interaction and decreases the component's opacity.
|
|
47
47
|
*
|
|
48
48
|
* @default false
|
|
49
|
+
* @see [MDN - disabled](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled)
|
|
49
50
|
*/
|
|
50
51
|
accessor disabled: boolean;
|
|
51
52
|
/**
|
|
@@ -105,7 +106,7 @@ export abstract class Button extends LitElement {
|
|
|
105
106
|
*/
|
|
106
107
|
accessor round: boolean;
|
|
107
108
|
/**
|
|
108
|
-
* Specifies the size
|
|
109
|
+
* Specifies the component's size.
|
|
109
110
|
*
|
|
110
111
|
* @default "m"
|
|
111
112
|
*/
|
|
@@ -36,9 +36,10 @@ export interface DeclareCssProperties {
|
|
|
36
36
|
*/
|
|
37
37
|
export abstract class Card extends LitElement {
|
|
38
38
|
/**
|
|
39
|
-
* When
|
|
39
|
+
* When true, prevents interaction and decreases the component's opacity.
|
|
40
40
|
*
|
|
41
41
|
* @default false
|
|
42
|
+
* @see [MDN - disabled](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled)
|
|
42
43
|
*/
|
|
43
44
|
accessor disabled: boolean;
|
|
44
45
|
/** Specifies an accessible label for the component. */
|
|
@@ -59,7 +60,7 @@ export abstract class Card extends LitElement {
|
|
|
59
60
|
loading?: string | undefined;
|
|
60
61
|
};
|
|
61
62
|
/**
|
|
62
|
-
* Specifies the size
|
|
63
|
+
* Specifies the component's size. When contained in a parent `calcite-card-group`, the component inherits the parent's `scale` value. The value can be overridden on the component if needed.
|
|
63
64
|
*
|
|
64
65
|
* @default "m"
|
|
65
66
|
*/
|
|
@@ -16,9 +16,10 @@ export interface DeclareCssProperties {
|
|
|
16
16
|
*/
|
|
17
17
|
export abstract class CardGroup extends LitElement {
|
|
18
18
|
/**
|
|
19
|
-
* When
|
|
19
|
+
* When true, prevents interaction and decreases the component's opacity.
|
|
20
20
|
*
|
|
21
21
|
* @default false
|
|
22
|
+
* @see [MDN - disabled](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled)
|
|
22
23
|
*/
|
|
23
24
|
accessor disabled: boolean;
|
|
24
25
|
/**
|
|
@@ -28,7 +29,7 @@ export abstract class CardGroup extends LitElement {
|
|
|
28
29
|
*/
|
|
29
30
|
accessor label: string;
|
|
30
31
|
/**
|
|
31
|
-
* Specifies the size
|
|
32
|
+
* Specifies the component's size. Child `calcite-card`s inherit the component's `scale` value.
|
|
32
33
|
*
|
|
33
34
|
* @default "m"
|
|
34
35
|
*/
|
|
@@ -60,9 +60,10 @@ export abstract class Carousel extends LitElement {
|
|
|
60
60
|
*/
|
|
61
61
|
accessor controlOverlay: boolean;
|
|
62
62
|
/**
|
|
63
|
-
* When
|
|
63
|
+
* When true, prevents interaction and decreases the component's opacity.
|
|
64
64
|
*
|
|
65
65
|
* @default false
|
|
66
|
+
* @see [MDN - disabled](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled)
|
|
66
67
|
*/
|
|
67
68
|
accessor disabled: boolean;
|
|
68
69
|
/**
|
|
@@ -97,7 +98,7 @@ export abstract class Carousel extends LitElement {
|
|
|
97
98
|
* @default "bottom"
|
|
98
99
|
*/
|
|
99
100
|
accessor paginationPosition: PaginationPosition;
|
|
100
|
-
/**
|
|
101
|
+
/** Specifies the component's selected item. */
|
|
101
102
|
get selectedItem(): CarouselItem;
|
|
102
103
|
/** Plays the carousel. If `autoplay` is not enabled (initialized either to `true` or `"paused"`), these methods will have no effect. */
|
|
103
104
|
play(): Promise<void>;
|
|
@@ -25,9 +25,10 @@ export abstract class Checkbox extends LitElement {
|
|
|
25
25
|
*/
|
|
26
26
|
accessor checked: boolean;
|
|
27
27
|
/**
|
|
28
|
-
* When
|
|
28
|
+
* When true, prevents interaction and decreases the component's opacity.
|
|
29
29
|
*
|
|
30
30
|
* @default false
|
|
31
|
+
* @see [MDN - disabled](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled)
|
|
31
32
|
*/
|
|
32
33
|
accessor disabled: boolean;
|
|
33
34
|
/** Specifies the `id` of the component's associated form. When not set, the component is associated with its ancestor form element, if one exists. */
|
|
@@ -65,7 +66,7 @@ export abstract class Checkbox extends LitElement {
|
|
|
65
66
|
*/
|
|
66
67
|
accessor required: boolean;
|
|
67
68
|
/**
|
|
68
|
-
* Specifies the size
|
|
69
|
+
* Specifies the component's size.
|
|
69
70
|
*
|
|
70
71
|
* @default "m"
|
|
71
72
|
*/
|
|
@@ -82,7 +83,7 @@ export abstract class Checkbox extends LitElement {
|
|
|
82
83
|
* @see [MDN - ValidityState](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState)
|
|
83
84
|
*/
|
|
84
85
|
get validity(): ValidityState;
|
|
85
|
-
/**
|
|
86
|
+
/** Specifies the component's value. */
|
|
86
87
|
accessor value: any;
|
|
87
88
|
/**
|
|
88
89
|
* Sets focus on the component.
|
|
@@ -55,15 +55,16 @@ export abstract class Chip extends LitElement {
|
|
|
55
55
|
*/
|
|
56
56
|
accessor closeOnDelete: boolean;
|
|
57
57
|
/**
|
|
58
|
-
* When
|
|
58
|
+
* When true, prevents interaction and decreases the component's opacity.
|
|
59
59
|
*
|
|
60
60
|
* @default false
|
|
61
|
+
* @see [MDN - disabled](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled)
|
|
61
62
|
*/
|
|
62
63
|
accessor disabled: boolean;
|
|
63
64
|
/** Specifies an icon to display. */
|
|
64
65
|
accessor icon: IconName | undefined;
|
|
65
66
|
/**
|
|
66
|
-
* When `true`, the icon will be flipped when the element direction is right-to-left (`"rtl"`)
|
|
67
|
+
* When `true`, the icon will be flipped when the element direction is right-to-left (`"rtl"`)
|
|
67
68
|
*
|
|
68
69
|
* @default false
|
|
69
70
|
*/
|
|
@@ -87,9 +88,7 @@ export abstract class Chip extends LitElement {
|
|
|
87
88
|
*/
|
|
88
89
|
accessor messageOverrides: { dismissLabel?: string | undefined; };
|
|
89
90
|
/**
|
|
90
|
-
* Specifies the size
|
|
91
|
-
*
|
|
92
|
-
* When contained in a parent `calcite-chip-group`, inherits the parent's `scale` value.
|
|
91
|
+
* Specifies the component's size. When contained in a parent `calcite-chip-group`, the component inherits the parent's `scale` value.
|
|
93
92
|
*
|
|
94
93
|
* @default "m"
|
|
95
94
|
*/
|
|
@@ -100,7 +99,7 @@ export abstract class Chip extends LitElement {
|
|
|
100
99
|
* @default false
|
|
101
100
|
*/
|
|
102
101
|
accessor selected: boolean;
|
|
103
|
-
/**
|
|
102
|
+
/** Specifies the component's value. */
|
|
104
103
|
accessor value: any;
|
|
105
104
|
/**
|
|
106
105
|
* Sets focus on the component.
|
|
@@ -9,9 +9,10 @@ import type { Chip } from "../calcite-chip/customElement.js";
|
|
|
9
9
|
*/
|
|
10
10
|
export abstract class ChipGroup extends LitElement {
|
|
11
11
|
/**
|
|
12
|
-
* When
|
|
12
|
+
* When true, prevents interaction and decreases the component's opacity.
|
|
13
13
|
*
|
|
14
14
|
* @default false
|
|
15
|
+
* @see [MDN - disabled](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled)
|
|
15
16
|
*/
|
|
16
17
|
accessor disabled: boolean;
|
|
17
18
|
/**
|
|
@@ -21,7 +22,7 @@ export abstract class ChipGroup extends LitElement {
|
|
|
21
22
|
*/
|
|
22
23
|
accessor label: string;
|
|
23
24
|
/**
|
|
24
|
-
* Specifies the size
|
|
25
|
+
* Specifies the component's size. Child `calcite-chip`s inherit the component's `scale` value.
|
|
25
26
|
*
|
|
26
27
|
* @default "m"
|
|
27
28
|
*/
|
|
@@ -66,9 +66,10 @@ export abstract class ColorPicker extends LitElement {
|
|
|
66
66
|
*/
|
|
67
67
|
accessor clearable: boolean;
|
|
68
68
|
/**
|
|
69
|
-
* When
|
|
69
|
+
* When true, prevents interaction and decreases the component's opacity.
|
|
70
70
|
*
|
|
71
71
|
* @default false
|
|
72
|
+
* @see [MDN - disabled](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled)
|
|
72
73
|
*/
|
|
73
74
|
accessor disabled: boolean;
|
|
74
75
|
/**
|
|
@@ -127,7 +128,7 @@ export abstract class ColorPicker extends LitElement {
|
|
|
127
128
|
*/
|
|
128
129
|
accessor savedDisabled: boolean;
|
|
129
130
|
/**
|
|
130
|
-
* Specifies the size
|
|
131
|
+
* Specifies the component's size.
|
|
131
132
|
*
|
|
132
133
|
* @default "m"
|
|
133
134
|
*/
|
|
@@ -48,9 +48,10 @@ export abstract class Combobox extends LitElement {
|
|
|
48
48
|
*/
|
|
49
49
|
accessor clearDisabled: boolean;
|
|
50
50
|
/**
|
|
51
|
-
* When
|
|
51
|
+
* When true, prevents interaction and decreases the component's opacity.
|
|
52
52
|
*
|
|
53
53
|
* @default false
|
|
54
|
+
* @see [MDN - disabled](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled)
|
|
54
55
|
*/
|
|
55
56
|
accessor disabled: boolean;
|
|
56
57
|
/** The component's filtered items. */
|
|
@@ -147,7 +148,7 @@ export abstract class Combobox extends LitElement {
|
|
|
147
148
|
*/
|
|
148
149
|
accessor required: boolean;
|
|
149
150
|
/**
|
|
150
|
-
* Specifies the size
|
|
151
|
+
* Specifies the component's size.
|
|
151
152
|
*
|
|
152
153
|
* @default "m"
|
|
153
154
|
*/
|
|
@@ -161,7 +162,7 @@ export abstract class Combobox extends LitElement {
|
|
|
161
162
|
/** The component's selected items. */
|
|
162
163
|
get selectedItems(): HTMLCalciteComboboxItemElement[];
|
|
163
164
|
/**
|
|
164
|
-
* Specifies the selection appearance.
|
|
165
|
+
* Specifies the component's selection appearance.
|
|
165
166
|
*
|
|
166
167
|
* - `"icon"` displays a checkmark or dot.
|
|
167
168
|
* - `"highlight"` displays a background highlight.
|
|
@@ -50,9 +50,10 @@ export abstract class ComboboxItem extends LitElement {
|
|
|
50
50
|
/** Specifies a description for the component. Displays below the `heading`. */
|
|
51
51
|
accessor description: string | undefined;
|
|
52
52
|
/**
|
|
53
|
-
* When
|
|
53
|
+
* When true, prevents interaction and decreases the component's opacity.
|
|
54
54
|
*
|
|
55
55
|
* @default false
|
|
56
|
+
* @see [MDN - disabled](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled)
|
|
56
57
|
*/
|
|
57
58
|
accessor disabled: boolean;
|
|
58
59
|
/**
|
|
@@ -72,7 +73,7 @@ export abstract class ComboboxItem extends LitElement {
|
|
|
72
73
|
/** Specifies an icon to display. */
|
|
73
74
|
accessor icon: IconName | undefined;
|
|
74
75
|
/**
|
|
75
|
-
* When `true
|
|
76
|
+
* When `true`, the icon will be flipped when the element direction is right-to-left (`"rtl"`)
|
|
76
77
|
*
|
|
77
78
|
* @default false
|
|
78
79
|
*/
|
|
@@ -118,13 +118,13 @@ export abstract class DatePicker extends LitElement {
|
|
|
118
118
|
*/
|
|
119
119
|
accessor proximitySelectionDisabled: boolean;
|
|
120
120
|
/**
|
|
121
|
-
* When `true`,
|
|
121
|
+
* When `true`, enables selecting a start and end date.
|
|
122
122
|
*
|
|
123
123
|
* @default false
|
|
124
124
|
*/
|
|
125
125
|
accessor range: boolean;
|
|
126
126
|
/**
|
|
127
|
-
* Specifies the size
|
|
127
|
+
* Specifies the component's size.
|
|
128
128
|
*
|
|
129
129
|
* @default "m"
|
|
130
130
|
*/
|
|
@@ -132,7 +132,7 @@ export abstract class Dialog extends LitElement {
|
|
|
132
132
|
/**
|
|
133
133
|
* Specifies custom focus trap configuration on the component.
|
|
134
134
|
*
|
|
135
|
-
* - `"allowOutsideClick`
|
|
135
|
+
* - `"allowOutsideClick"` allows outside clicks.
|
|
136
136
|
* - `"initialFocus"` enables initial focus.
|
|
137
137
|
* - `"returnFocusOnDeactivate"` returns focus when not active.
|
|
138
138
|
* - `"extraContainers"` specifies additional focusable elements external to the trap, such as 3rd-party components appending elements to the document body.
|
|
@@ -152,7 +152,7 @@ export abstract class Dialog extends LitElement {
|
|
|
152
152
|
/** Specifies an icon to display. */
|
|
153
153
|
accessor icon: IconName | undefined;
|
|
154
154
|
/**
|
|
155
|
-
* When `true
|
|
155
|
+
* When `true`, the icon will be flipped when the element direction is right-to-left (`"rtl"`)
|
|
156
156
|
*
|
|
157
157
|
* @default false
|
|
158
158
|
*/
|
|
@@ -222,7 +222,7 @@ export abstract class Dialog extends LitElement {
|
|
|
222
222
|
*/
|
|
223
223
|
accessor resizable: boolean;
|
|
224
224
|
/**
|
|
225
|
-
* Specifies the size
|
|
225
|
+
* Specifies the component's size.
|
|
226
226
|
*
|
|
227
227
|
* @default "m"
|
|
228
228
|
*/
|
|
@@ -243,14 +243,16 @@ export abstract class Dialog extends LitElement {
|
|
|
243
243
|
/**
|
|
244
244
|
* Scrolls the component's content to a specified set of coordinates.
|
|
245
245
|
*
|
|
246
|
-
* @param options -
|
|
247
|
-
* @
|
|
246
|
+
* @param options - When specified, an optional object customizes the component's scrolling process.
|
|
247
|
+
* @see [MDN - scrollTo(options)](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollTo#options)
|
|
248
248
|
* @example
|
|
249
|
+
* ```ts
|
|
249
250
|
* myCalciteFlowItem.scrollContentTo({
|
|
250
|
-
* left: 0,
|
|
251
|
-
* top: 0,
|
|
252
|
-
* behavior: "auto"
|
|
251
|
+
* left: 0,
|
|
252
|
+
* top: 0,
|
|
253
|
+
* behavior: "auto"
|
|
253
254
|
* });
|
|
255
|
+
* ```
|
|
254
256
|
*/
|
|
255
257
|
scrollContentTo(options?: ScrollToOptions): Promise<void>;
|
|
256
258
|
/**
|
|
@@ -30,9 +30,10 @@ export abstract class Dropdown extends LitElement {
|
|
|
30
30
|
*/
|
|
31
31
|
accessor closeOnSelectDisabled: boolean;
|
|
32
32
|
/**
|
|
33
|
-
* When
|
|
33
|
+
* When true, prevents interaction and decreases the component's opacity.
|
|
34
34
|
*
|
|
35
35
|
* @default false
|
|
36
|
+
* @see [MDN - disabled](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled)
|
|
36
37
|
*/
|
|
37
38
|
accessor disabled: boolean;
|
|
38
39
|
/** Specifies the component's fallback `placement` for slotted `calcite-dropdown-item`s when its initial or specified `placement` has insufficient space available. */
|
|
@@ -87,7 +88,7 @@ export abstract class Dropdown extends LitElement {
|
|
|
87
88
|
*/
|
|
88
89
|
accessor referenceElement: ReferenceElement | string | undefined;
|
|
89
90
|
/**
|
|
90
|
-
* Specifies the size
|
|
91
|
+
* Specifies the component's size.
|
|
91
92
|
*
|
|
92
93
|
* @default "m"
|
|
93
94
|
*/
|
|
@@ -25,9 +25,10 @@ export interface DeclareCssProperties {
|
|
|
25
25
|
*/
|
|
26
26
|
export abstract class DropdownItem extends LitElement {
|
|
27
27
|
/**
|
|
28
|
-
* When
|
|
28
|
+
* When true, prevents interaction and decreases the component's opacity.
|
|
29
29
|
*
|
|
30
30
|
* @default false
|
|
31
|
+
* @see [MDN - disabled](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled)
|
|
31
32
|
*/
|
|
32
33
|
accessor disabled: boolean;
|
|
33
34
|
/**
|
|
@@ -39,7 +40,7 @@ export abstract class DropdownItem extends LitElement {
|
|
|
39
40
|
accessor href: string | undefined;
|
|
40
41
|
/** Specifies an icon to display at the end of the component. */
|
|
41
42
|
accessor iconEnd: IconName | undefined;
|
|
42
|
-
/**
|
|
43
|
+
/** Displays the `iconStart` and/or `iconEnd` as flipped when the element direction is right-to-left (`"rtl"`). */
|
|
43
44
|
accessor iconFlipRtl: FlipContext | undefined;
|
|
44
45
|
/** Specifies an icon to display at the start of the component. */
|
|
45
46
|
accessor iconStart: IconName | undefined;
|
|
@@ -29,15 +29,16 @@ export abstract class Fab extends LitElement {
|
|
|
29
29
|
*/
|
|
30
30
|
accessor appearance: Extract<"solid" | "outline-fill", Appearance>;
|
|
31
31
|
/**
|
|
32
|
-
* When
|
|
32
|
+
* When true, prevents interaction and decreases the component's opacity.
|
|
33
33
|
*
|
|
34
34
|
* @default false
|
|
35
|
+
* @see [MDN - disabled](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled)
|
|
35
36
|
*/
|
|
36
37
|
accessor disabled: boolean;
|
|
37
38
|
/** Specifies an icon to display. */
|
|
38
39
|
accessor icon: IconName;
|
|
39
40
|
/**
|
|
40
|
-
* When `true
|
|
41
|
+
* When `true`, the icon will be flipped when the element direction is right-to-left (`"rtl"`)
|
|
41
42
|
*
|
|
42
43
|
* @default false
|
|
43
44
|
*/
|
|
@@ -57,7 +58,7 @@ export abstract class Fab extends LitElement {
|
|
|
57
58
|
*/
|
|
58
59
|
accessor loading: boolean;
|
|
59
60
|
/**
|
|
60
|
-
* Specifies the size
|
|
61
|
+
* Specifies the component's size.
|
|
61
62
|
*
|
|
62
63
|
* @default "m"
|
|
63
64
|
*/
|
|
@@ -37,9 +37,10 @@ export interface DeclareCssProperties {
|
|
|
37
37
|
|
|
38
38
|
export abstract class Filter extends LitElement {
|
|
39
39
|
/**
|
|
40
|
-
* When
|
|
40
|
+
* When true, prevents interaction and decreases the component's opacity.
|
|
41
41
|
*
|
|
42
42
|
* @default false
|
|
43
|
+
* @see [MDN - disabled](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled)
|
|
43
44
|
*/
|
|
44
45
|
accessor disabled: boolean;
|
|
45
46
|
/** The component's resulting items after filtering. */
|
|
@@ -68,12 +69,12 @@ export abstract class Filter extends LitElement {
|
|
|
68
69
|
/** Specifies the component's input placeholder text. */
|
|
69
70
|
accessor placeholder: string | undefined;
|
|
70
71
|
/**
|
|
71
|
-
* Specifies the size
|
|
72
|
+
* Specifies the component's size.
|
|
72
73
|
*
|
|
73
74
|
* @default "m"
|
|
74
75
|
*/
|
|
75
76
|
accessor scale: Scale;
|
|
76
|
-
/**
|
|
77
|
+
/** Specifies the component's value. */
|
|
77
78
|
accessor value: string;
|
|
78
79
|
/**
|
|
79
80
|
* Performs a filter on the component.
|
|
@@ -3,11 +3,10 @@ import type { FlowItem } from "../calcite-flow-item/customElement.js";
|
|
|
3
3
|
/**
|
|
4
4
|
* Interface for defining the structure of a flow item.
|
|
5
5
|
*
|
|
6
|
-
* See the
|
|
7
|
-
* https://github.com/Esri/calcite-design-system/blob/dev/packages/components/src/demos/flow.html
|
|
8
|
-
* https://codepen.io/driskull/pen/gOVzLbx?editors=0010
|
|
6
|
+
* See the below example of a custom flow item implementation.
|
|
9
7
|
*
|
|
10
8
|
* @example
|
|
9
|
+
* ```ts
|
|
11
10
|
* class CustomFlowItem extends HTMLElement {
|
|
12
11
|
* constructor() {
|
|
13
12
|
* super();
|
|
@@ -95,7 +94,7 @@ import type { FlowItem } from "../calcite-flow-item/customElement.js";
|
|
|
95
94
|
* }
|
|
96
95
|
*
|
|
97
96
|
* async beforeBack() {
|
|
98
|
-
* // no
|
|
97
|
+
* // intentional no-op
|
|
99
98
|
* }
|
|
100
99
|
*
|
|
101
100
|
* async setFocus() {
|
|
@@ -104,6 +103,7 @@ import type { FlowItem } from "../calcite-flow-item/customElement.js";
|
|
|
104
103
|
* }
|
|
105
104
|
*
|
|
106
105
|
* customElements.define("custom-flow-item", CustomFlowItem);
|
|
106
|
+
* ```
|
|
107
107
|
*/
|
|
108
108
|
export type FlowItemLike = Pick<FlowItem, "beforeBack" | "menuOpen" | "setFocus" | "showBackButton" | "selected">;
|
|
109
109
|
|