@esri/calcite-components 5.1.0-next.26 → 5.1.0-next.28
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/{S2N3EAWR.js → 25U4VD6X.js} +1 -1
- package/dist/cdn/{XJHIIAS4.js → 2643VWIK.js} +1 -1
- package/dist/cdn/{JZIOWDZS.js → 2DDWG4KY.js} +1 -1
- package/dist/cdn/{QNLMV3T5.js → 2DJC4GZJ.js} +1 -1
- package/dist/cdn/{I2PT3UPN.js → 2EXJPUJE.js} +1 -1
- package/dist/cdn/{JHT4F2RJ.js → 2H37PYTE.js} +1 -1
- package/dist/cdn/2JUCSOBI.js +2 -0
- package/dist/cdn/{RYLTUWGS.js → 2MMJ4SPG.js} +1 -1
- package/dist/cdn/{T2DDJ3UZ.js → 2PNNQC2S.js} +1 -1
- package/dist/cdn/{BKVED5K4.js → 2ZMYDGAU.js} +1 -1
- package/dist/cdn/36PW4GMJ.js +2 -0
- package/dist/cdn/{ZTSGKD2X.js → 37M4EOUV.js} +1 -1
- package/dist/cdn/{IJ3XVWSG.js → 3ALZSO5N.js} +1 -1
- package/dist/cdn/{24UVSZOE.js → 3C2B243A.js} +1 -1
- package/dist/cdn/3S45J7UC.js +2 -0
- package/dist/cdn/{KPT5PXJP.js → 3Z2TZ6ND.js} +1 -1
- package/dist/cdn/{BGQMFO4B.js → 42ZM6AFE.js} +1 -1
- package/dist/cdn/{D26KXFR4.js → 4BGRVTT3.js} +1 -1
- package/dist/cdn/{F7QQUXJL.js → 4S3TKRGW.js} +1 -1
- package/dist/cdn/{LEBRWA4E.js → 4X236WQB.js} +1 -1
- package/dist/cdn/{FIBHCK3H.js → 534TBQTP.js} +1 -1
- package/dist/cdn/{SGYKV7MJ.js → 5PFRZ4R7.js} +1 -1
- package/dist/cdn/{XUCO6AFQ.js → 5QWXZ7O5.js} +1 -1
- package/dist/cdn/{W7Y7PLEA.js → 5REK75ZQ.js} +1 -1
- package/dist/cdn/{LGATM33J.js → 673NIPDB.js} +1 -1
- package/dist/cdn/{266QPYGH.js → 6FQKE7Z2.js} +1 -1
- package/dist/cdn/{XG3KX423.js → 6INFW6IQ.js} +1 -1
- package/dist/cdn/{MW7AGGL3.js → A4ZB732C.js} +1 -1
- package/dist/cdn/{FULAAFER.js → A7NET2GW.js} +1 -1
- package/dist/cdn/{3WIYPWAH.js → ADUAK3QA.js} +1 -1
- package/dist/cdn/{YQ2FBYJF.js → AOUOFESI.js} +1 -1
- package/dist/cdn/B6DTM6BY.js +2 -0
- package/dist/cdn/{ESIG7SRN.js → BFIXL2HX.js} +1 -1
- package/dist/cdn/{PGRW53WB.js → BQVS5YO7.js} +1 -1
- package/dist/cdn/{MTU6D47Y.js → BSODHHVB.js} +1 -1
- package/dist/cdn/{SAG5PN6V.js → BYVPXKJ7.js} +1 -1
- package/dist/cdn/{SR2U4UYC.js → COPGTJZJ.js} +1 -1
- package/dist/cdn/{UM7ABEPP.js → D7S4O5FG.js} +1 -1
- package/dist/cdn/{ZAXSD5VD.js → DWSAQKML.js} +1 -1
- package/dist/cdn/EDQAKFHD.js +2 -0
- package/dist/cdn/{C4ZX7VYR.js → EMCMVQJW.js} +3 -3
- package/dist/cdn/{P54SS6QP.js → EMPWZF2H.js} +1 -1
- package/dist/cdn/{WPHKI6II.js → EPQBEA3C.js} +1 -1
- package/dist/cdn/{4UTZIEIH.js → F5HY7BK6.js} +1 -1
- package/dist/cdn/{EPC7QGCY.js → FSSB6TID.js} +1 -1
- package/dist/cdn/{6DMT6SBE.js → FX7SYXUV.js} +1 -1
- package/dist/cdn/{74MAIRJS.js → GR2KNMLT.js} +1 -1
- package/dist/cdn/{UIUDRBYG.js → GTEFPCTJ.js} +1 -1
- package/dist/cdn/{DPPYTPUN.js → GW32UUS6.js} +1 -1
- package/dist/cdn/{DHPVZMKK.js → H2VB5JWW.js} +1 -1
- package/dist/cdn/{S4QXLRJT.js → HERIOGF7.js} +1 -1
- package/dist/cdn/{3Z6IQA5N.js → HHES5U5R.js} +1 -1
- package/dist/cdn/{X5FERJLS.js → HI6WIZIP.js} +1 -1
- package/dist/cdn/{CZGH2P5R.js → HLRSZIAD.js} +1 -1
- package/dist/cdn/{WAX64AMV.js → HZPUZPD5.js} +1 -1
- package/dist/cdn/{QN5DWY5J.js → I2O5WUMR.js} +1 -1
- package/dist/cdn/{GU4S3ZKG.js → I6DAXC3K.js} +1 -1
- package/dist/cdn/{HMOQULJD.js → IGJQVVEE.js} +1 -1
- package/dist/cdn/{F2QZDZIO.js → IIBTALKU.js} +1 -1
- package/dist/cdn/{Y7XT2XH3.js → IP6VXIUB.js} +1 -1
- package/dist/cdn/{LHBACKJ5.js → IQ267LZU.js} +1 -1
- package/dist/cdn/{L6WB4227.js → IYQLG63Y.js} +1 -1
- package/dist/cdn/{H5BLSEZ3.js → IYXIAEHS.js} +1 -1
- package/dist/cdn/{EWTR65YA.js → J4V2FFWV.js} +1 -1
- package/dist/cdn/{265A6AOM.js → J5OIQ5JE.js} +1 -1
- package/dist/cdn/{6ISWKJVP.js → JEHYYN4E.js} +1 -1
- package/dist/cdn/{AM3KA6XI.js → JUCGU6F4.js} +1 -1
- package/dist/cdn/{UFRNO43Y.js → JY56PHCK.js} +1 -1
- package/dist/cdn/{JAWBEMIK.js → K5A3RPBX.js} +1 -1
- package/dist/cdn/{NSPEKGY3.js → KITS253P.js} +1 -1
- package/dist/cdn/{EVSREOVQ.js → KKFAA3UK.js} +1 -1
- package/dist/cdn/{2ZJL6VLF.js → KQKKVDVX.js} +1 -1
- package/dist/cdn/L7DHGVWB.js +2 -0
- package/dist/cdn/{PYG7GNQ7.js → LD5T6ORB.js} +1 -1
- package/dist/cdn/{32SZ6MKP.js → LDBUTWJE.js} +1 -1
- package/dist/cdn/{GAR2IMZ3.js → LLEN3PWH.js} +1 -1
- package/dist/cdn/{2DPUDJQI.js → LYFLHG5P.js} +1 -1
- package/dist/cdn/{KOW5NTJQ.js → MCZEOJFQ.js} +1 -1
- package/dist/cdn/{53ZCK7UM.js → MDD4M37C.js} +1 -1
- package/dist/cdn/{BNBJDKHP.js → MMWNMQTT.js} +1 -1
- package/dist/cdn/{GUOSNPAU.js → MQ5FPEYS.js} +1 -1
- package/dist/cdn/{V2MNT2SI.js → MQK3E45Q.js} +1 -1
- package/dist/cdn/{3GV45XL7.js → MYDCGCGV.js} +1 -1
- package/dist/cdn/{IRWU2TR6.js → NB2DKUA2.js} +1 -1
- package/dist/cdn/{NDSQ4CFN.js → NKTFZNQM.js} +1 -1
- package/dist/cdn/{D7Q3AXKP.js → O3EKC2W5.js} +1 -1
- package/dist/cdn/{HCNEPLF5.js → O5K4HYXO.js} +1 -1
- package/dist/cdn/O7PIYB32.js +2 -0
- package/dist/cdn/{35A2JWYN.js → OHAZWGSF.js} +1 -1
- package/dist/cdn/{AE3UBVD4.js → OHIB37SX.js} +1 -1
- package/dist/cdn/{MOQRGDBX.js → OK67HOMS.js} +1 -1
- package/dist/cdn/{HGGO3AHT.js → OODA5MID.js} +1 -1
- package/dist/cdn/{DCQRXTMY.js → OX6ZVQOQ.js} +1 -1
- package/dist/cdn/P2HNC7UU.js +2 -0
- package/dist/cdn/{FG5FW5ZE.js → PE3YPUPJ.js} +1 -1
- package/dist/cdn/{UWDGNSRK.js → PKUFCNJL.js} +1 -1
- package/dist/cdn/{65XPD5PJ.js → POW5ZY3S.js} +1 -1
- package/dist/cdn/{QMHN63LJ.js → Q6RQZPCK.js} +1 -1
- package/dist/cdn/{QHG4UVN7.js → QGXFAME4.js} +1 -1
- package/dist/cdn/{VL5W6R2P.js → QJ4QU5F7.js} +1 -1
- package/dist/cdn/{WZF7PAWT.js → QM6GQBK7.js} +1 -1
- package/dist/cdn/{KDWR7M23.js → QSJAA23T.js} +1 -1
- package/dist/cdn/{QH4IVVZX.js → R6HAPYWH.js} +1 -1
- package/dist/cdn/R7GEJZJQ.js +2 -0
- package/dist/cdn/{IQZVCTFW.js → RLWVKKZ6.js} +1 -1
- package/dist/cdn/{G3EBHETV.js → RO26I72Q.js} +1 -1
- package/dist/cdn/{5YNF2CQY.js → RRZ2ZYLF.js} +1 -1
- package/dist/cdn/{4DBLFLPE.js → RWNDJLJK.js} +1 -1
- package/dist/cdn/{JVKSFUKV.js → RWNEGUGO.js} +1 -1
- package/dist/cdn/{3EFK33T5.js → S3V6TOMA.js} +1 -1
- package/dist/cdn/{SMKTVIG3.js → S7ZCPVU4.js} +1 -1
- package/dist/cdn/{XWQOS7OO.js → SGO42EA4.js} +1 -1
- package/dist/cdn/{ULHLMMN4.js → SNIBDYWV.js} +1 -1
- package/dist/cdn/{3SWWI6IT.js → SUUO54XJ.js} +1 -1
- package/dist/cdn/{M5WQDFOK.js → SXM3L3QB.js} +1 -1
- package/dist/cdn/{S5D4KC2T.js → T2YYC46N.js} +1 -1
- package/dist/cdn/{T53FCHAR.js → U3536CVR.js} +1 -1
- package/dist/cdn/UH6REHEA.js +2 -0
- package/dist/cdn/{GRDNG5EU.js → UUUUOCAJ.js} +1 -1
- package/dist/cdn/{IGZX5AHV.js → UZKX3HC4.js} +1 -1
- package/dist/cdn/V6IT236F.js +2 -0
- package/dist/cdn/{HGBMCFOD.js → VDTLW43K.js} +1 -1
- package/dist/cdn/{KPREHL4V.js → VK2MV6YO.js} +1 -1
- package/dist/cdn/VNCQZGV7.js +2 -0
- package/dist/cdn/{MEQVQ22B.js → VWXBWDIP.js} +1 -1
- package/dist/cdn/{F4GCWY3F.js → W4D3AVVQ.js} +1 -1
- package/dist/cdn/{NK6ELXJB.js → W4T4QVLN.js} +1 -1
- package/dist/cdn/{7GXPYZ67.js → WB4EJTWL.js} +1 -1
- package/dist/cdn/{NAP62AX7.js → WHZDXO2G.js} +1 -1
- package/dist/cdn/WPWHYZH7.js +2 -0
- package/dist/cdn/WXLEKCG7.js +2 -0
- package/dist/cdn/{34RZGOUB.js → X6J23ZTN.js} +1 -1
- package/dist/cdn/{GTLHPFUV.js → XGZEI4GA.js} +1 -1
- package/dist/cdn/{IPPVAW62.js → XOOZFRBP.js} +1 -1
- package/dist/cdn/{DNXGXZPK.js → Y6UL3JOS.js} +1 -1
- package/dist/cdn/{5G5VTRTL.js → Y77VQ7DL.js} +1 -1
- package/dist/cdn/{I3D4XCLD.js → YBR3HGSE.js} +1 -1
- package/dist/cdn/{L3QXLZZH.js → YE4F22RW.js} +1 -1
- package/dist/cdn/{PDBGWRDU.js → YFODJXYU.js} +1 -1
- package/dist/cdn/{7TFLXBND.js → YKBFTHVJ.js} +1 -1
- package/dist/cdn/{QVE3GWZX.js → YQHV57HI.js} +1 -1
- package/dist/cdn/{MCUIYFPY.js → ZDELR6R4.js} +1 -1
- package/dist/cdn/{FMP6OQ7D.js → ZJOU76RH.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/resources5.js +2 -1
- package/dist/chunks/runtime.js +4 -4
- package/dist/chunks/useForm.js +4 -2
- package/dist/components/calcite-autocomplete/customElement.js +1 -1
- package/dist/components/calcite-checkbox/customElement.d.ts +1 -2
- package/dist/components/calcite-checkbox/customElement.js +1 -14
- package/dist/components/calcite-combobox/customElement.d.ts +1 -2
- package/dist/components/calcite-combobox/customElement.js +133 -46
- package/dist/components/calcite-input/customElement.d.ts +1 -2
- package/dist/components/calcite-input/customElement.js +1 -14
- package/dist/components/calcite-input-date-picker/customElement.d.ts +1 -2
- package/dist/components/calcite-input-date-picker/customElement.js +1 -14
- package/dist/components/calcite-input-number/customElement.d.ts +1 -2
- package/dist/components/calcite-input-number/customElement.js +1 -14
- package/dist/components/calcite-input-text/customElement.d.ts +1 -2
- package/dist/components/calcite-input-text/customElement.js +1 -14
- package/dist/components/calcite-input-time-picker/customElement.d.ts +1 -2
- package/dist/components/calcite-input-time-picker/customElement.js +1 -14
- package/dist/components/calcite-input-time-zone/customElement.d.ts +1 -2
- package/dist/components/calcite-input-time-zone/customElement.js +1 -14
- package/dist/components/calcite-meter/customElement.js +3 -3
- package/dist/components/calcite-rating/customElement.d.ts +1 -2
- package/dist/components/calcite-rating/customElement.js +1 -14
- package/dist/components/calcite-segmented-control/customElement.d.ts +1 -2
- package/dist/components/calcite-segmented-control/customElement.js +1 -14
- package/dist/components/calcite-select/customElement.d.ts +1 -2
- package/dist/components/calcite-select/customElement.js +1 -14
- package/dist/components/calcite-slider/customElement.d.ts +1 -2
- package/dist/components/calcite-slider/customElement.js +1 -14
- package/dist/components/calcite-swatch/customElement.d.ts +1 -1
- package/dist/components/calcite-table/customElement.js +1 -1
- package/dist/components/calcite-text-area/customElement.d.ts +1 -2
- package/dist/components/calcite-text-area/customElement.js +2 -15
- package/dist/components/calcite-time-picker/customElement.js +1 -1
- 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/2COONMVV.js +0 -2
- package/dist/cdn/2JM24U42.js +0 -2
- package/dist/cdn/2N2EIOZQ.js +0 -2
- package/dist/cdn/5KJCBGYY.js +0 -2
- package/dist/cdn/EWMBDFVU.js +0 -2
- package/dist/cdn/HUQJ333U.js +0 -2
- package/dist/cdn/KR5QASPF.js +0 -2
- package/dist/cdn/PS3Y5JIN.js +0 -2
- package/dist/cdn/R2VQNT5E.js +0 -2
- package/dist/cdn/TQRVWHPS.js +0 -2
- package/dist/cdn/WTUALX4S.js +0 -2
- package/dist/cdn/XFUK6FWO.js +0 -2
- package/dist/cdn/XLYUKQVS.js +0 -2
- package/dist/cdn/YJF4NBEX.js +0 -2
- package/dist/controllers/useForm.d.ts +0 -3
- package/dist/utils/form.d.ts +0 -3
|
@@ -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`. */
|
|
@@ -727,7 +726,7 @@ export abstract class InputTimeZone extends LitElement {
|
|
|
727
726
|
*
|
|
728
727
|
* @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
|
*
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
3
|
import type { Scale, Status } from "../interfaces.js";
|
|
4
4
|
import type { IconName } from "../calcite-icon/interfaces.js";
|
|
5
|
-
import type { MutableValidityState } from "../../controllers/useForm.js";
|
|
6
5
|
|
|
7
6
|
/**
|
|
8
7
|
* @cssproperty [--calcite-rating-spacing] - Specifies the amount of left and right margin spacing between each item.
|
|
@@ -74,7 +73,7 @@ export abstract class Rating extends LitElement {
|
|
|
74
73
|
*
|
|
75
74
|
* @mdn [ValidityState](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState)
|
|
76
75
|
*/
|
|
77
|
-
get validity():
|
|
76
|
+
get validity(): ValidityState;
|
|
78
77
|
/** The component's value. */
|
|
79
78
|
accessor value: number;
|
|
80
79
|
/**
|
|
@@ -51,26 +51,13 @@ class Rating extends LitElement {
|
|
|
51
51
|
this.scale = "m";
|
|
52
52
|
this.showChip = false;
|
|
53
53
|
this.status = "idle";
|
|
54
|
-
this.validity = {
|
|
55
|
-
valid: false,
|
|
56
|
-
badInput: false,
|
|
57
|
-
customError: false,
|
|
58
|
-
patternMismatch: false,
|
|
59
|
-
rangeOverflow: false,
|
|
60
|
-
rangeUnderflow: false,
|
|
61
|
-
stepMismatch: false,
|
|
62
|
-
tooLong: false,
|
|
63
|
-
tooShort: false,
|
|
64
|
-
typeMismatch: false,
|
|
65
|
-
valueMissing: false
|
|
66
|
-
};
|
|
67
54
|
this.calciteRatingChange = createEvent({ cancelable: false });
|
|
68
55
|
this.listen("keydown", this.handleHostKeyDown);
|
|
69
56
|
this.listen("pointerout", this.handleRatingPointerOut);
|
|
70
57
|
this.listen("pointerover", this.handleRatingPointerOver);
|
|
71
58
|
}
|
|
72
59
|
static {
|
|
73
|
-
this.properties = { hoverValue: [16, {}, { state: true }], average: [11, {}, { reflect: true, type: Number }], count: [11, {}, { reflect: true, type: Number }], disabled: [7, {}, { reflect: true, type: Boolean }], form: [3, {}, { reflect: true }], labelText: 1, messageOverrides: [0, {}, { attribute: false }], name: [3, {}, { reflect: true }], readOnly: [7, {}, { reflect: true, type: Boolean }], required: [7, {}, { reflect: true, type: Boolean }], scale: [3, {}, { reflect: true }], showChip: [7, {}, { reflect: true, type: Boolean }], status: [3, {}, { reflect: true }], validationIcon: [3, { converter: stringOrBoolean, type: String }, { reflect: true }], validationMessage: 1, validity: [
|
|
60
|
+
this.properties = { hoverValue: [16, {}, { state: true }], average: [11, {}, { reflect: true, type: Number }], count: [11, {}, { reflect: true, type: Number }], disabled: [7, {}, { reflect: true, type: Boolean }], form: [3, {}, { reflect: true }], labelText: 1, messageOverrides: [0, {}, { attribute: false }], name: [3, {}, { reflect: true }], readOnly: [7, {}, { reflect: true, type: Boolean }], required: [7, {}, { reflect: true, type: Boolean }], scale: [3, {}, { reflect: true }], showChip: [7, {}, { reflect: true, type: Boolean }], status: [3, {}, { reflect: true }], validationIcon: [3, { converter: stringOrBoolean, type: String }, { reflect: true }], validationMessage: 1, validity: [32, {}, { readOnly: true, attribute: false }], value: [11, {}, { reflect: true, type: Number }] };
|
|
74
61
|
}
|
|
75
62
|
static {
|
|
76
63
|
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 "../../utils/form.js";
|
|
4
3
|
import type { Appearance, Layout, Scale, Status, Width } from "../interfaces.js";
|
|
5
4
|
import type { IconName } from "../calcite-icon/interfaces.js";
|
|
6
5
|
import type { SegmentedControlItem } from "../calcite-segmented-control-item/customElement.js";
|
|
@@ -71,7 +70,7 @@ export abstract class SegmentedControl extends LitElement {
|
|
|
71
70
|
*
|
|
72
71
|
* @mdn [ValidityState](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState)
|
|
73
72
|
*/
|
|
74
|
-
get validity():
|
|
73
|
+
get validity(): ValidityState;
|
|
75
74
|
/** The component's `selectedItem` value. */
|
|
76
75
|
accessor value: string;
|
|
77
76
|
/**
|
|
@@ -33,19 +33,6 @@ class SegmentedControl extends LitElement {
|
|
|
33
33
|
this.required = false;
|
|
34
34
|
this.scale = "m";
|
|
35
35
|
this.status = "idle";
|
|
36
|
-
this.validity = {
|
|
37
|
-
valid: false,
|
|
38
|
-
badInput: false,
|
|
39
|
-
customError: false,
|
|
40
|
-
patternMismatch: false,
|
|
41
|
-
rangeOverflow: false,
|
|
42
|
-
rangeUnderflow: false,
|
|
43
|
-
stepMismatch: false,
|
|
44
|
-
tooLong: false,
|
|
45
|
-
tooShort: false,
|
|
46
|
-
typeMismatch: false,
|
|
47
|
-
valueMissing: false
|
|
48
|
-
};
|
|
49
36
|
this.value = null;
|
|
50
37
|
this.width = "auto";
|
|
51
38
|
this.calciteSegmentedControlChange = createEvent({ cancelable: false });
|
|
@@ -54,7 +41,7 @@ class SegmentedControl extends LitElement {
|
|
|
54
41
|
this.listen("click", this.handleClick);
|
|
55
42
|
}
|
|
56
43
|
static {
|
|
57
|
-
this.properties = { appearance: [3, {}, { reflect: true }], disabled: [7, {}, { reflect: true, type: Boolean }], form: [3, {}, { reflect: true }], layout: [3, {}, { reflect: true }], labelText: 1, messageOverrides: [0, {}, { attribute: false }], name: [3, {}, { reflect: true }], required: [7, {}, { reflect: true, type: Boolean }], scale: [3, {}, { reflect: true }], selectedItem: [0, {}, { attribute: false }], status: [3, {}, { reflect: true }], validationIcon: [3, { converter: stringOrBoolean, type: String }, { reflect: true }], validationMessage: 1, validity: [
|
|
44
|
+
this.properties = { appearance: [3, {}, { reflect: true }], disabled: [7, {}, { reflect: true, type: Boolean }], form: [3, {}, { reflect: true }], layout: [3, {}, { reflect: true }], labelText: 1, messageOverrides: [0, {}, { attribute: false }], name: [3, {}, { reflect: true }], required: [7, {}, { reflect: true, type: Boolean }], scale: [3, {}, { reflect: true }], selectedItem: [0, {}, { attribute: false }], status: [3, {}, { reflect: true }], validationIcon: [3, { converter: stringOrBoolean, type: String }, { reflect: true }], validationMessage: 1, validity: [32, {}, { readOnly: true, attribute: false }], value: 1, width: [3, {}, { reflect: true }] };
|
|
58
45
|
}
|
|
59
46
|
static {
|
|
60
47
|
this.formAssociated = true;
|
|
@@ -3,7 +3,6 @@ import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
|
3
3
|
import type { Scale, Status, Width } from "../interfaces.js";
|
|
4
4
|
import type { IconName } from "../calcite-icon/interfaces.js";
|
|
5
5
|
import type { Option } from "../calcite-option/customElement.js";
|
|
6
|
-
import type { MutableValidityState } from "../../controllers/useForm.js";
|
|
7
6
|
|
|
8
7
|
/**
|
|
9
8
|
* @cssproperty [--calcite-select-font-size] - Specifies the font size of `calcite-option`s in the component.
|
|
@@ -72,7 +71,7 @@ export abstract class Select extends LitElement {
|
|
|
72
71
|
*
|
|
73
72
|
* @mdn [ValidityState](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState)
|
|
74
73
|
*/
|
|
75
|
-
get validity():
|
|
74
|
+
get validity(): ValidityState;
|
|
76
75
|
/** The component's `selectedOption` value. */
|
|
77
76
|
accessor value: string;
|
|
78
77
|
/**
|
|
@@ -42,19 +42,6 @@ class Select extends LitElement {
|
|
|
42
42
|
this.required = false;
|
|
43
43
|
this.scale = "m";
|
|
44
44
|
this.status = "idle";
|
|
45
|
-
this.validity = {
|
|
46
|
-
valid: false,
|
|
47
|
-
badInput: false,
|
|
48
|
-
customError: false,
|
|
49
|
-
patternMismatch: false,
|
|
50
|
-
rangeOverflow: false,
|
|
51
|
-
rangeUnderflow: false,
|
|
52
|
-
stepMismatch: false,
|
|
53
|
-
tooLong: false,
|
|
54
|
-
tooShort: false,
|
|
55
|
-
typeMismatch: false,
|
|
56
|
-
valueMissing: false
|
|
57
|
-
};
|
|
58
45
|
this.value = null;
|
|
59
46
|
this.width = "auto";
|
|
60
47
|
this.calciteSelectChange = createEvent({ cancelable: false });
|
|
@@ -62,7 +49,7 @@ class Select extends LitElement {
|
|
|
62
49
|
this.listen("calciteInternalOptionGroupChange", this.handleOptionOrGroupChange);
|
|
63
50
|
}
|
|
64
51
|
static {
|
|
65
|
-
this.properties = { disabled: [7, {}, { reflect: true, type: Boolean }], form: [3, {}, { reflect: true }], label: 1, labelText: 1, name: [3, {}, { reflect: true }], required: [7, {}, { reflect: true, type: Boolean }], scale: [3, {}, { reflect: true }], selectedOption: [0, {}, { attribute: false }], status: [3, {}, { reflect: true }], validationIcon: [3, { converter: stringOrBoolean, type: String }, { reflect: true }], validationMessage: 1, validity: [
|
|
52
|
+
this.properties = { disabled: [7, {}, { reflect: true, type: Boolean }], form: [3, {}, { reflect: true }], label: 1, labelText: 1, name: [3, {}, { reflect: true }], required: [7, {}, { reflect: true, type: Boolean }], scale: [3, {}, { reflect: true }], selectedOption: [0, {}, { attribute: false }], status: [3, {}, { reflect: true }], validationIcon: [3, { converter: stringOrBoolean, type: String }, { reflect: true }], validationMessage: 1, validity: [32, {}, { readOnly: true, attribute: false }], value: 1, width: [3, {}, { reflect: true }], messageOverrides: [0, {}, { attribute: false }] };
|
|
66
53
|
}
|
|
67
54
|
static {
|
|
68
55
|
this.formAssociated = true;
|
|
@@ -4,7 +4,6 @@ import type { NumberingSystem } from "../../utils/locale.js";
|
|
|
4
4
|
import type { ColorStop, DataSeries } from "../calcite-graph/interfaces.js";
|
|
5
5
|
import type { Scale, Status } from "../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-slider-text-color] - Specifies the component's text color.
|
|
@@ -164,7 +163,7 @@ export abstract class Slider extends LitElement {
|
|
|
164
163
|
*
|
|
165
164
|
* @mdn [ValidityState](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState)
|
|
166
165
|
*/
|
|
167
|
-
get validity():
|
|
166
|
+
get validity(): ValidityState;
|
|
168
167
|
/** The component's value. */
|
|
169
168
|
accessor value: number | number[];
|
|
170
169
|
/**
|
|
@@ -152,19 +152,6 @@ class Slider extends LitElement {
|
|
|
152
152
|
this.snap = false;
|
|
153
153
|
this.status = "idle";
|
|
154
154
|
this.step = 1;
|
|
155
|
-
this.validity = {
|
|
156
|
-
valid: false,
|
|
157
|
-
badInput: false,
|
|
158
|
-
customError: false,
|
|
159
|
-
patternMismatch: false,
|
|
160
|
-
rangeOverflow: false,
|
|
161
|
-
rangeUnderflow: false,
|
|
162
|
-
stepMismatch: false,
|
|
163
|
-
tooLong: false,
|
|
164
|
-
tooShort: false,
|
|
165
|
-
typeMismatch: false,
|
|
166
|
-
valueMissing: false
|
|
167
|
-
};
|
|
168
155
|
this.calciteSliderChange = createEvent({ cancelable: false });
|
|
169
156
|
this.calciteSliderInput = createEvent({ cancelable: false });
|
|
170
157
|
this.listen("pointerdown", this.pointerDownHandler);
|
|
@@ -172,7 +159,7 @@ class Slider extends LitElement {
|
|
|
172
159
|
this.listen("touchstart", this.handleTouchStart);
|
|
173
160
|
}
|
|
174
161
|
static {
|
|
175
|
-
this.properties = { activeProp: [16, {}, { state: true }], maxValueDragRange: [16, {}, { state: true }], minMaxValueRange: [16, {}, { state: true }], minValueDragRange: [16, {}, { state: true }], tickValues: [16, {}, { state: true }], disabled: [7, {}, { reflect: true, type: Boolean }], fillPlacement: [3, {}, { reflect: true }], form: [3, {}, { reflect: true }], groupSeparator: [7, {}, { reflect: true, type: Boolean }], hasHistogram: [7, {}, { reflect: true, type: Boolean }], histogram: [0, {}, { attribute: false }], histogramStops: [0, {}, { attribute: false }], labelFormatter: [0, {}, { attribute: false }], labelHandles: [7, {}, { reflect: true, type: Boolean }], labelTicks: [7, {}, { reflect: true, type: Boolean }], max: [11, {}, { reflect: true, type: Number }], maxLabel: 1, maxValue: [9, {}, { type: Number }], min: [11, {}, { reflect: true, type: Number }], minLabel: 1, labelText: 1, messageOverrides: [0, {}, { attribute: false }], minValue: [9, {}, { type: Number }], mirrored: [7, {}, { reflect: true, type: Boolean }], name: [3, {}, { reflect: true }], numberingSystem: 1, pageStep: [11, {}, { reflect: true, type: Number }], precise: [7, {}, { reflect: true, type: Boolean }], required: [7, {}, { reflect: true, type: Boolean }], scale: [3, {}, { reflect: true }], snap: [7, {}, { reflect: true, type: Boolean }], status: [3, {}, { reflect: true }], step: [11, {}, { reflect: true, type: Number }], ticks: [11, {}, { reflect: true, type: Number }], validationIcon: [3, { converter: stringOrBoolean, type: String }, { reflect: true }], validationMessage: 1, validity: [
|
|
162
|
+
this.properties = { activeProp: [16, {}, { state: true }], maxValueDragRange: [16, {}, { state: true }], minMaxValueRange: [16, {}, { state: true }], minValueDragRange: [16, {}, { state: true }], tickValues: [16, {}, { state: true }], disabled: [7, {}, { reflect: true, type: Boolean }], fillPlacement: [3, {}, { reflect: true }], form: [3, {}, { reflect: true }], groupSeparator: [7, {}, { reflect: true, type: Boolean }], hasHistogram: [7, {}, { reflect: true, type: Boolean }], histogram: [0, {}, { attribute: false }], histogramStops: [0, {}, { attribute: false }], labelFormatter: [0, {}, { attribute: false }], labelHandles: [7, {}, { reflect: true, type: Boolean }], labelTicks: [7, {}, { reflect: true, type: Boolean }], max: [11, {}, { reflect: true, type: Number }], maxLabel: 1, maxValue: [9, {}, { type: Number }], min: [11, {}, { reflect: true, type: Number }], minLabel: 1, labelText: 1, messageOverrides: [0, {}, { attribute: false }], minValue: [9, {}, { type: Number }], mirrored: [7, {}, { reflect: true, type: Boolean }], name: [3, {}, { reflect: true }], numberingSystem: 1, pageStep: [11, {}, { reflect: true, type: Number }], precise: [7, {}, { reflect: true, type: Boolean }], required: [7, {}, { reflect: true, type: Boolean }], scale: [3, {}, { reflect: true }], snap: [7, {}, { reflect: true, type: Boolean }], status: [3, {}, { reflect: true }], step: [11, {}, { reflect: true, type: Number }], ticks: [11, {}, { reflect: true, type: Number }], validationIcon: [3, { converter: stringOrBoolean, type: String }, { reflect: true }], validationMessage: 1, validity: [32, {}, { readOnly: true, attribute: false }], value: [11, {}, { reflect: true, type: Number }] };
|
|
176
163
|
}
|
|
177
164
|
static {
|
|
178
165
|
this.formAssociated = true;
|
|
@@ -10,7 +10,7 @@ export abstract class Swatch extends LitElement {
|
|
|
10
10
|
/**
|
|
11
11
|
* Specifies the component's color
|
|
12
12
|
*
|
|
13
|
-
* @
|
|
13
|
+
* @mdn [Mozilla - CSS color value](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value)
|
|
14
14
|
*/
|
|
15
15
|
accessor color: string;
|
|
16
16
|
/**
|
|
@@ -40,7 +40,7 @@ const ICONS = {
|
|
|
40
40
|
hideEmpty: "hide-empty",
|
|
41
41
|
clear: "x"
|
|
42
42
|
};
|
|
43
|
-
const styles = css`@charset "UTF-8";:host([scale=s]){--calcite-internal-table-cell-padding: .25rem;--calcite-internal-table-cell-font-size: var(--calcite-font-size--2);--calcite-internal-table-cell-font-size-secondary: var(--calcite-font-size--3)}:host([scale=m]){--calcite-internal-table-cell-padding: .5rem;--calcite-internal-table-cell-font-size: var(--calcite-font-size--1);--calcite-internal-table-cell-font-size-secondary: var(--calcite-font-size--2)}:host(:is([scale=s],[scale=m])){--calcite-internal-table-selection-action-spacing: var(--calcite-spacing-xxs)}:host([scale=l]){--calcite-internal-table-selection-action-spacing: var(--calcite-spacing-xs);--calcite-internal-table-cell-padding: 1rem;--calcite-internal-table-cell-font-size: var(--calcite-font-size-0);--calcite-internal-table-cell-font-size-secondary: var(--calcite-font-size--1)}:host{display:flex}.container{display:flex;flex-direction:column;inline-size:var(--calcite-container-size-content-fluid);block-size:var(--calcite-container-size-content-fluid)}.table-container{overflow:auto;white-space:nowrap;border:var(--calcite-border-width-sm) solid var(--calcite-table-border-color, var(--calcite-color-border-2));border-radius:var(--calcite-table-corner-radius, var(--calcite-corner-radius-sharp));box-shadow:var(--calcite-table-shadow, var(--calcite-shadow-none))}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}table{border-collapse:collapse;overflow-x:scroll;inline-size:var(--calcite-container-size-content-fluid)}@-moz-document url-prefix(){table{border-collapse:separate;border-spacing:0}}.table--fixed{table-layout:fixed}.bordered ::slotted(calcite-table-row){--calcite-table-row-border-color: var(--calcite-table-border-color, var(--calcite-color-border-2))}.striped ::slotted(calcite-table-row:nth-child(2n+1)){--calcite-table-row-background-color: var( --calcite-table-row-background-color-striped, var(--calcite-color-foreground-2) )}.selection-actions{display:flex;flex-direction:row;gap:var(--calcite-internal-table-selection-action-spacing);margin-inline-start:auto}.selection-area{display:flex;flex-direction:row;align-items:center;padding-block:var(--calcite-internal-table-cell-padding)}.selection-area calcite-chip:last-of-type{margin-inline-end:.5rem}.selection-area calcite-chip:last-of-type:not(:first-of-type){margin-inline-start:.5rem}.selection-area calcite-button{margin-inline-end:1rem}.selection-chip{--calcite-chip-background-color: var(--calcite-table-selection-chip-background-color);--calcite-chip-border-color: var(--calcite-table-selection-chip-border-color);--calcite-chip-corner-radius: var(--calcite-table-selection-chip-corner-radius);--calcite-chip-shadow: var(--calcite-table-selection-chip-shadow);--calcite-chip-text-color: var(--calcite-table-selection-chip-text-color)}.selection-chip.selection-chip--active{--calcite-chip-background-color: var(--calcite-table-selection-chip-background-color-selected);--calcite-chip-border-color: var(--calcite-table-selection-chip-border-color-selected);--calcite-chip-text-color: var(--calcite-table-selection-chip-text-color-selected)}.selection-chip--out-of-view{--calcite-chip-background-color: var(--calcite-table-selection-out-of-view-chip-background-color);--calcite-chip-border-color: var(--calcite-table-selection-out-of-view-chip-border-color);--calcite-chip-corner-radius: var(--calcite-table-selection-out-of-view-chip-corner-radius);--calcite-chip-shadow: var(--calcite-table-selection-out-of-view-chip-shadow);--calcite-chip-text-color: var(--calcite-table-selection-out-of-view-chip-text-color);--calcite-chip-icon-color: var(--calcite-table-selection-out-of-view-chip-icon-color)}.pagination-area{display:flex;inline-size:100%;flex-direction:row;justify-content:center;padding-block:var(--calcite-internal-table-cell-padding)}calcite-pagination{flex:1;justify-content:center;--calcite-pagination-color: var(--calcite-table-pagination-color);--calcite-pagination-color-hover: var(--calcite-table-pagination-color-hover);--calcite-pagination-color-border-hover: var(--calcite-table-pagination-color-border-hover);--calcite-pagination-color-border-active: var(--calcite-table-pagination-color-border-active);--calcite-pagination-background-color: var(--calcite-table-pagination-background-color);--calcite-pagination-icon-color-background-hover: var(--calcite-table-pagination-icon-color-background-hover)}.dismiss-button{margin-inline-end:1rem;--calcite-button-background-color: var(--calcite-table-selection-dismiss-button-background-color);--calcite-button-border-color: var(--calcite-table-selection-dismiss-button-border-color);--calcite-button-corner-radius: var(--calcite-table-selection-dismiss-button-corner-radius);--calcite-button-shadow: var(--calcite-table-selection-dismiss-button-shadow);--calcite-button-text-color: var(--calcite-table-selection-dismiss-button-text-color)}.dismiss-button:hover{--calcite-button-background-color: var(--calcite-table-selection-dismiss-button-background-color-hover);--calcite-button-border-color: var(--calcite-table-selection-dismiss-button-border-color-hover);--calcite-button-text-color: var(--calcite-table-selection-dismiss-button-text-color-hover)}.dismiss-button:active{--calcite-button-background-color: var(--calcite-table-selection-dismiss-button-background-color-active);--calcite-button-border-color: var(--calcite-table-selection-dismiss-button-border-color-active);--calcite-button-text-color: var(--calcite-table-selection-dismiss-button-text-color-active)}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
43
|
+
const styles = css`@charset "UTF-8";:host([scale=s]){--calcite-internal-table-cell-padding: .25rem;--calcite-internal-table-cell-font-size: var(--calcite-font-size--2);--calcite-internal-table-cell-font-size-secondary: var(--calcite-font-size--3)}:host([scale=m]){--calcite-internal-table-cell-padding: .5rem;--calcite-internal-table-cell-font-size: var(--calcite-font-size--1);--calcite-internal-table-cell-font-size-secondary: var(--calcite-font-size--2)}:host(:is([scale=s],[scale=m])){--calcite-internal-table-selection-action-spacing: var(--calcite-spacing-xxs)}:host([scale=l]){--calcite-internal-table-selection-action-spacing: var(--calcite-spacing-xs);--calcite-internal-table-cell-padding: 1rem;--calcite-internal-table-cell-font-size: var(--calcite-font-size-0);--calcite-internal-table-cell-font-size-secondary: var(--calcite-font-size--1)}:host{display:flex}.container{display:flex;flex-direction:column;inline-size:var(--calcite-container-size-content-fluid);block-size:var(--calcite-container-size-content-fluid)}.table-container{overflow:auto;white-space:nowrap;line-height:var(--calcite-font-line-height-relative-tight);border:var(--calcite-border-width-sm) solid var(--calcite-table-border-color, var(--calcite-color-border-2));border-radius:var(--calcite-table-corner-radius, var(--calcite-corner-radius-sharp));box-shadow:var(--calcite-table-shadow, var(--calcite-shadow-none))}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}table{border-collapse:collapse;overflow-x:scroll;inline-size:var(--calcite-container-size-content-fluid)}@-moz-document url-prefix(){table{border-collapse:separate;border-spacing:0}}.table--fixed{table-layout:fixed}.bordered ::slotted(calcite-table-row){--calcite-table-row-border-color: var(--calcite-table-border-color, var(--calcite-color-border-2))}.striped ::slotted(calcite-table-row:nth-child(2n+1)){--calcite-table-row-background-color: var( --calcite-table-row-background-color-striped, var(--calcite-color-foreground-2) )}.selection-actions{display:flex;flex-direction:row;gap:var(--calcite-internal-table-selection-action-spacing);margin-inline-start:auto}.selection-area{display:flex;flex-direction:row;align-items:center;padding-block:var(--calcite-internal-table-cell-padding)}.selection-area calcite-chip:last-of-type{margin-inline-end:.5rem}.selection-area calcite-chip:last-of-type:not(:first-of-type){margin-inline-start:.5rem}.selection-area calcite-button{margin-inline-end:1rem}.selection-chip{--calcite-chip-background-color: var(--calcite-table-selection-chip-background-color);--calcite-chip-border-color: var(--calcite-table-selection-chip-border-color);--calcite-chip-corner-radius: var(--calcite-table-selection-chip-corner-radius);--calcite-chip-shadow: var(--calcite-table-selection-chip-shadow);--calcite-chip-text-color: var(--calcite-table-selection-chip-text-color)}.selection-chip.selection-chip--active{--calcite-chip-background-color: var(--calcite-table-selection-chip-background-color-selected);--calcite-chip-border-color: var(--calcite-table-selection-chip-border-color-selected);--calcite-chip-text-color: var(--calcite-table-selection-chip-text-color-selected)}.selection-chip--out-of-view{--calcite-chip-background-color: var(--calcite-table-selection-out-of-view-chip-background-color);--calcite-chip-border-color: var(--calcite-table-selection-out-of-view-chip-border-color);--calcite-chip-corner-radius: var(--calcite-table-selection-out-of-view-chip-corner-radius);--calcite-chip-shadow: var(--calcite-table-selection-out-of-view-chip-shadow);--calcite-chip-text-color: var(--calcite-table-selection-out-of-view-chip-text-color);--calcite-chip-icon-color: var(--calcite-table-selection-out-of-view-chip-icon-color)}.pagination-area{display:flex;inline-size:100%;flex-direction:row;justify-content:center;padding-block:var(--calcite-internal-table-cell-padding)}calcite-pagination{flex:1;justify-content:center;--calcite-pagination-color: var(--calcite-table-pagination-color);--calcite-pagination-color-hover: var(--calcite-table-pagination-color-hover);--calcite-pagination-color-border-hover: var(--calcite-table-pagination-color-border-hover);--calcite-pagination-color-border-active: var(--calcite-table-pagination-color-border-active);--calcite-pagination-background-color: var(--calcite-table-pagination-background-color);--calcite-pagination-icon-color-background-hover: var(--calcite-table-pagination-icon-color-background-hover)}.dismiss-button{margin-inline-end:1rem;--calcite-button-background-color: var(--calcite-table-selection-dismiss-button-background-color);--calcite-button-border-color: var(--calcite-table-selection-dismiss-button-border-color);--calcite-button-corner-radius: var(--calcite-table-selection-dismiss-button-corner-radius);--calcite-button-shadow: var(--calcite-table-selection-dismiss-button-shadow);--calcite-button-text-color: var(--calcite-table-selection-dismiss-button-text-color)}.dismiss-button:hover{--calcite-button-background-color: var(--calcite-table-selection-dismiss-button-background-color-hover);--calcite-button-border-color: var(--calcite-table-selection-dismiss-button-border-color-hover);--calcite-button-text-color: var(--calcite-table-selection-dismiss-button-text-color-hover)}.dismiss-button:active{--calcite-button-background-color: var(--calcite-table-selection-dismiss-button-background-color-active);--calcite-button-border-color: var(--calcite-table-selection-dismiss-button-border-color-active);--calcite-button-text-color: var(--calcite-table-selection-dismiss-button-text-color-active)}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
44
44
|
class Table extends LitElement {
|
|
45
45
|
constructor() {
|
|
46
46
|
super();
|
|
@@ -3,7 +3,6 @@ import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
|
3
3
|
import type { NumberingSystem } from "../../utils/locale.js";
|
|
4
4
|
import type { Status } from "../interfaces.js";
|
|
5
5
|
import type { IconName } from "../calcite-icon/interfaces.js";
|
|
6
|
-
import type { MutableValidityState } from "../../controllers/useForm.js";
|
|
7
6
|
|
|
8
7
|
/**
|
|
9
8
|
* @cssproperty [--calcite-text-area-background-color] - Specifies the component's background color.
|
|
@@ -151,7 +150,7 @@ export abstract class TextArea extends LitElement {
|
|
|
151
150
|
*
|
|
152
151
|
* @mdn [ValidityState](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState)
|
|
153
152
|
*/
|
|
154
|
-
get validity():
|
|
153
|
+
get validity(): ValidityState;
|
|
155
154
|
/**
|
|
156
155
|
* The component's value.
|
|
157
156
|
*
|
|
@@ -45,7 +45,7 @@ const SLOTS = {
|
|
|
45
45
|
};
|
|
46
46
|
const RESIZE_TIMEOUT = 100;
|
|
47
47
|
const NO_DIMENSIONS = Object.freeze({ height: 0, width: 0 });
|
|
48
|
-
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{position:relative;box-sizing:border-box;display:inline-block;block-size:100%;inline-size:100%;--calcite-internal-text-area-border-color: var(--calcite-text-area-border-color, var(--calcite-color-border-input));--calcite-internal-text-area-footer-border-color: var( --calcite-text-area-footer-border-color, var(--calcite-internal-text-area-border-color) );--calcite-internal-text-area-corner-radius: var( --calcite-text-area-corner-radius, var(--calcite-corner-radius-default) );--calcite-internal-text-area-shadow: var(--calcite-text-area-shadow, var(--calcite-shadow-none));--calcite-internal-text-area-footer-background-color: var( --calcite-text-area-footer-background-color, var(--calcite-text-area-background-color, var(--calcite-color-foreground-1)) );min-block-size:var(--calcite-text-area-min-height, calc(2 * var(--calcite-internal-text-area-padding-block) + 2 * var(--calcite-border-width-sm)));min-inline-size:var(--calcite-text-area-min-width, 12rem)}.wrapper{box-sizing:border-box;block-size:100%;inline-size:100%;box-shadow:var(--calcite-internal-text-area-shadow);border-radius:var(--calcite-internal-text-area-corner-radius)}.text-area,.footer{font-size:var(--calcite-text-area-font-size, var(--calcite-font-size--1));padding-block:var(--calcite-internal-text-area-padding-block);padding-inline:var(--calcite-internal-text-area-padding-inline)}.footer{background-color:var(--calcite-internal-text-area-footer-background-color);border-radius:0 0 var(--calcite-internal-text-area-corner-radius) var(--calcite-internal-text-area-corner-radius)}.text-area{position:relative;margin:0;box-sizing:border-box;display:block;inline-size:100%;--calcite-internal-text-area-border-block-end-color: var(--calcite-internal-text-area-border-color);border:var(--calcite-border-width-sm) solid var(--calcite-internal-text-area-border-color);border-block-end-color:var(--calcite-internal-text-area-border-block-end-color);color:var(--calcite-text-area-text-color, var(--calcite-color-text-1));font-family:inherit;max-block-size:var(--calcite-text-area-max-height);min-block-size:calc(var(--calcite-text-area-min-height, 0px) - var(--calcite-internal-text-area-footer-min-height, 0px));max-inline-size:var(--calcite-text-area-max-width);min-inline-size:var(--calcite-text-area-min-width, 12rem);background-color:var(--calcite-text-area-background-color, var(--calcite-color-foreground-1));border-radius:var(--calcite-internal-text-area-corner-radius) var(--calcite-internal-text-area-corner-radius) 0 0}.text-area::placeholder{font-weight:var(--calcite-font-weight-normal)}@media screen and (max-width:480px){.text-area{resize:none}}.text-area:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.text-area.text-area--invalid{--calcite-internal-text-area-border-color: var(--calcite-color-status-danger)}.text-area.text-area--invalid:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-status-danger);outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.text-area.footer--slotted{min-inline-size:18rem}.text-area.text-area--only{border-radius:var(--calcite-internal-text-area-corner-radius)}.text-area:not(.text-area--only,.text-area--invalid){--calcite-internal-text-area-border-block-end-color: var( --calcite-text-area-divider-color, var(--calcite-color-border-3) )}.loader-container{position:relative;block-size:inherit}.loader{position:absolute;inset-block-start:0;inset-block-start:var(--calcite-spacing-px);inset-inline:var(--calcite-spacing-px)}.footer{box-sizing:border-box;display:flex;align-items:center;border:var(--calcite-border-width-sm) solid var(--calcite-internal-text-area-footer-border-color);border-block-start:var(--calcite-border-width-none);min-block-size:var(--calcite-internal-text-area-footer-min-height)}.character-limit{display:flex;align-items:center;justify-content:flex-end;white-space:nowrap;font-size:var(--calcite-text-area-font-size, var(--calcite-font-size--1));font-weight:var(--calcite-font-weight-regular);color:var(--calcite-text-area-character-limit-text-color, var(--calcite-color-text-2));padding-inline-start:var(--calcite-spacing-md)}.character--over-limit{font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-status-danger)}.readonly{background-color:var(--calcite-text-area-background-color, var(--calcite-color-background));font-weight:var(--calcite-font-weight-medium)}.footer.readonly{background-color:var(--calcite-internal-text-area-footer-background-color, var(--calcite-color-background))}.content,.hide{display:none}.container{display:flex;inline-size:100%;justify-content:space-between}.footer--end-only{justify-content:flex-end}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.text-area.text-area--only{block-size:100%;min-block-size:var(--calcite-text-area-min-height, 0)}:host([resize=none]) .text-area{resize:none}:host([resize=horizontal]) .text-area{resize:horizontal}:host([resize=vertical]) .text-area{resize:vertical}:host([scale=s]){--calcite-internal-text-area-padding-block: var(--calcite-spacing-xxs);--calcite-internal-text-area-padding-inline: var(--calcite-spacing-sm);--calcite-internal-text-area-footer-min-height: 1.75rem}:host([scale=s]) .text-area,:host([scale=s]) .footer,:host([scale=s]) .character-limit{font-size:var(--calcite-text-area-font-size, var(--calcite-font-size--2))}:host([scale=s]) .character-limit{padding-inline-start:var(--calcite-spacing-sm)}:host([scale=m]){--calcite-internal-text-area-padding-block: var(--calcite-spacing-sm);--calcite-internal-text-area-padding-inline: var(--calcite-spacing-md);--calcite-internal-text-area-footer-min-height: 2.25rem}:host([scale=l]){--calcite-internal-text-area-padding-block: var(--calcite-spacing-md);--calcite-internal-text-area-padding-inline: var(--calcite-spacing-lg);--calcite-internal-text-area-footer-min-height: 2.75rem}:host([scale=l]) .text-area,:host([scale=l]) .footer,:host([scale=l]) .character-limit{font-size:var(--calcite-text-area-font-size, var(--calcite-font-size-0))}:host([scale=l]) .character-limit{padding-inline-start:var(--calcite-spacing-lg)}:host([status=invalid]){--calcite-internal-text-area-border-color: var(--calcite-color-status-danger)}:host([status=invalid]) .text-area:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-status-danger);outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host([disabled]) .text-area,:host([disabled]) .footer{opacity:var(--calcite-opacity-half)}.internal-label-alignment--center{align-items:center}.internal-label-alignment--end{align-items:end}.internal-label--container{display:flex;justify-content:space-between;color:var(--calcite-color-text-1)}.internal-label-required--indicator{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-status-danger);padding-inline:var(--calcite-spacing-base)}.internal-label-required--indicator:hover{cursor:help}.internal-label--text{line-height:1}:host([scale=s]) .internal-label-spacing--bottom{margin-block-end:var(--calcite-spacing-xxs)}:host([scale=s]) .internal-label-spacing-inline--end{margin-inline-end:var(--calcite-spacing-sm)}:host([scale=s]) .internal-label-spacing-inline--start{margin-inline-start:var(--calcite-spacing-sm)}:host([scale=s]) .internal-label--text{font-size:var(--calcite-font-size--2)}:host([scale=m]) .internal-label-spacing--bottom{margin-block-end:var(--calcite-spacing-sm)}:host([scale=m]) .internal-label-spacing-inline--end{margin-inline-end:var(--calcite-spacing-sm)}:host([scale=m]) .internal-label-spacing-inline--start{margin-inline-start:var(--calcite-spacing-sm)}:host([scale=m]) .internal-label--text{font-size:var(--calcite-font-size--1)}:host([scale=l]) .internal-label-spacing--bottom{margin-block-end:var(--calcite-spacing-sm)}:host([scale=l]) .internal-label-spacing-inline--end{margin-inline-end:var(--calcite-spacing-md)}:host([scale=l]) .internal-label-spacing-inline--start{margin-inline-start:var(--calcite-spacing-md)}:host([scale=l]) .internal-label--text{font-size:var(--calcite-font-size-0)}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:.5rem}:host([scale=s]) .validation-container{padding-block-start:.25rem}::slotted(input[slot=hidden-form-input]){margin:0!important;opacity:0!important;outline:none!important;padding:0!important;position:absolute!important;inset:0!important;transform:none!important;-webkit-appearance:none!important;z-index:-1!important}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}::placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-input-placeholder-text-color, var(--calcite-color-text-3))}`;
|
|
48
|
+
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{position:relative;box-sizing:border-box;display:inline-block;block-size:100%;inline-size:100%;--calcite-internal-text-area-border-color: var(--calcite-text-area-border-color, var(--calcite-color-border-input));--calcite-internal-text-area-footer-border-color: var( --calcite-text-area-footer-border-color, var(--calcite-internal-text-area-border-color) );--calcite-internal-text-area-corner-radius: var( --calcite-text-area-corner-radius, var(--calcite-corner-radius-default) );--calcite-internal-text-area-shadow: var(--calcite-text-area-shadow, var(--calcite-shadow-none));--calcite-internal-text-area-footer-background-color: var( --calcite-text-area-footer-background-color, var(--calcite-text-area-background-color, var(--calcite-color-foreground-1)) );min-block-size:var(--calcite-text-area-min-height, calc(2 * var(--calcite-internal-text-area-padding-block) + 2 * var(--calcite-border-width-sm)));min-inline-size:var(--calcite-text-area-min-width, 12rem)}.wrapper{box-sizing:border-box;block-size:100%;inline-size:100%;box-shadow:var(--calcite-internal-text-area-shadow);border-radius:var(--calcite-internal-text-area-corner-radius)}.text-area,.footer{font-size:var(--calcite-text-area-font-size, var(--calcite-font-size--1));padding-block:var(--calcite-internal-text-area-padding-block);padding-inline:var(--calcite-internal-text-area-padding-inline)}.footer{background-color:var(--calcite-internal-text-area-footer-background-color);border-radius:0 0 var(--calcite-internal-text-area-corner-radius) var(--calcite-internal-text-area-corner-radius)}.text-area{position:relative;margin:0;box-sizing:border-box;display:block;inline-size:100%;--calcite-internal-text-area-border-block-end-color: var(--calcite-internal-text-area-border-color);border:var(--calcite-border-width-sm) solid var(--calcite-internal-text-area-border-color);border-block-end-color:var(--calcite-internal-text-area-border-block-end-color);color:var(--calcite-text-area-text-color, var(--calcite-color-text-1));font-family:inherit;line-height:var(--calcite-font-line-height-base);max-block-size:var(--calcite-text-area-max-height);min-block-size:calc(var(--calcite-text-area-min-height, 0px) - var(--calcite-internal-text-area-footer-min-height, 0px));max-inline-size:var(--calcite-text-area-max-width);min-inline-size:var(--calcite-text-area-min-width, 12rem);background-color:var(--calcite-text-area-background-color, var(--calcite-color-foreground-1));border-radius:var(--calcite-internal-text-area-corner-radius) var(--calcite-internal-text-area-corner-radius) 0 0}.text-area::placeholder{font-weight:var(--calcite-font-weight-normal)}@media screen and (max-width:480px){.text-area{resize:none}}.text-area:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.text-area.text-area--invalid{--calcite-internal-text-area-border-color: var(--calcite-color-status-danger)}.text-area.text-area--invalid:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-status-danger);outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.text-area.footer--slotted{min-inline-size:18rem}.text-area.text-area--only{border-radius:var(--calcite-internal-text-area-corner-radius)}.text-area:not(.text-area--only,.text-area--invalid){--calcite-internal-text-area-border-block-end-color: var( --calcite-text-area-divider-color, var(--calcite-color-border-3) )}.loader-container{position:relative;block-size:inherit}.loader{position:absolute;inset-block-start:0;inset-block-start:var(--calcite-spacing-px);inset-inline:var(--calcite-spacing-px)}.footer{box-sizing:border-box;display:flex;align-items:center;border:var(--calcite-border-width-sm) solid var(--calcite-internal-text-area-footer-border-color);border-block-start:var(--calcite-border-width-none);min-block-size:var(--calcite-internal-text-area-footer-min-height)}.character-limit{display:flex;align-items:center;justify-content:flex-end;white-space:nowrap;font-size:var(--calcite-text-area-font-size, var(--calcite-font-size--1));font-weight:var(--calcite-font-weight-regular);color:var(--calcite-text-area-character-limit-text-color, var(--calcite-color-text-2));padding-inline-start:var(--calcite-spacing-md)}.character--over-limit{font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-status-danger)}.readonly{background-color:var(--calcite-text-area-background-color, var(--calcite-color-background));font-weight:var(--calcite-font-weight-medium)}.footer.readonly{background-color:var(--calcite-internal-text-area-footer-background-color, var(--calcite-color-background))}.content,.hide{display:none}.container{display:flex;inline-size:100%;justify-content:space-between}.footer--end-only{justify-content:flex-end}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.text-area.text-area--only{block-size:100%;min-block-size:var(--calcite-text-area-min-height, 0)}:host([resize=none]) .text-area{resize:none}:host([resize=horizontal]) .text-area{resize:horizontal}:host([resize=vertical]) .text-area{resize:vertical}:host([scale=s]){--calcite-internal-text-area-padding-block: var(--calcite-spacing-xxs);--calcite-internal-text-area-padding-inline: var(--calcite-spacing-sm);--calcite-internal-text-area-footer-min-height: 1.75rem}:host([scale=s]) .text-area,:host([scale=s]) .footer,:host([scale=s]) .character-limit{font-size:var(--calcite-text-area-font-size, var(--calcite-font-size--2))}:host([scale=s]) .character-limit{padding-inline-start:var(--calcite-spacing-sm)}:host([scale=m]){--calcite-internal-text-area-padding-block: var(--calcite-spacing-sm);--calcite-internal-text-area-padding-inline: var(--calcite-spacing-md);--calcite-internal-text-area-footer-min-height: 2.25rem}:host([scale=l]){--calcite-internal-text-area-padding-block: var(--calcite-spacing-md);--calcite-internal-text-area-padding-inline: var(--calcite-spacing-lg);--calcite-internal-text-area-footer-min-height: 2.75rem}:host([scale=l]) .text-area,:host([scale=l]) .footer,:host([scale=l]) .character-limit{font-size:var(--calcite-text-area-font-size, var(--calcite-font-size-0))}:host([scale=l]) .character-limit{padding-inline-start:var(--calcite-spacing-lg)}:host([status=invalid]){--calcite-internal-text-area-border-color: var(--calcite-color-status-danger)}:host([status=invalid]) .text-area:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-status-danger);outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host([disabled]) .text-area,:host([disabled]) .footer{opacity:var(--calcite-opacity-half)}.internal-label-alignment--center{align-items:center}.internal-label-alignment--end{align-items:end}.internal-label--container{display:flex;justify-content:space-between;color:var(--calcite-color-text-1)}.internal-label-required--indicator{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-status-danger);padding-inline:var(--calcite-spacing-base)}.internal-label-required--indicator:hover{cursor:help}.internal-label--text{line-height:1}:host([scale=s]) .internal-label-spacing--bottom{margin-block-end:var(--calcite-spacing-xxs)}:host([scale=s]) .internal-label-spacing-inline--end{margin-inline-end:var(--calcite-spacing-sm)}:host([scale=s]) .internal-label-spacing-inline--start{margin-inline-start:var(--calcite-spacing-sm)}:host([scale=s]) .internal-label--text{font-size:var(--calcite-font-size--2)}:host([scale=m]) .internal-label-spacing--bottom{margin-block-end:var(--calcite-spacing-sm)}:host([scale=m]) .internal-label-spacing-inline--end{margin-inline-end:var(--calcite-spacing-sm)}:host([scale=m]) .internal-label-spacing-inline--start{margin-inline-start:var(--calcite-spacing-sm)}:host([scale=m]) .internal-label--text{font-size:var(--calcite-font-size--1)}:host([scale=l]) .internal-label-spacing--bottom{margin-block-end:var(--calcite-spacing-sm)}:host([scale=l]) .internal-label-spacing-inline--end{margin-inline-end:var(--calcite-spacing-md)}:host([scale=l]) .internal-label-spacing-inline--start{margin-inline-start:var(--calcite-spacing-md)}:host([scale=l]) .internal-label--text{font-size:var(--calcite-font-size-0)}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:.5rem}:host([scale=s]) .validation-container{padding-block-start:.25rem}::slotted(input[slot=hidden-form-input]){margin:0!important;opacity:0!important;outline:none!important;padding:0!important;position:absolute!important;inset:0!important;transform:none!important;-webkit-appearance:none!important;z-index:-1!important}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}::placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-input-placeholder-text-color, var(--calcite-color-text-3))}`;
|
|
49
49
|
class TextArea extends LitElement {
|
|
50
50
|
constructor() {
|
|
51
51
|
super(...arguments);
|
|
@@ -88,26 +88,13 @@ class TextArea extends LitElement {
|
|
|
88
88
|
this.resize = "both";
|
|
89
89
|
this.scale = "m";
|
|
90
90
|
this.status = "idle";
|
|
91
|
-
this.validity = {
|
|
92
|
-
valid: false,
|
|
93
|
-
badInput: false,
|
|
94
|
-
customError: false,
|
|
95
|
-
patternMismatch: false,
|
|
96
|
-
rangeOverflow: false,
|
|
97
|
-
rangeUnderflow: false,
|
|
98
|
-
stepMismatch: false,
|
|
99
|
-
tooLong: false,
|
|
100
|
-
tooShort: false,
|
|
101
|
-
typeMismatch: false,
|
|
102
|
-
valueMissing: false
|
|
103
|
-
};
|
|
104
91
|
this.value = "";
|
|
105
92
|
this.wrap = "soft";
|
|
106
93
|
this.calciteTextAreaChange = createEvent();
|
|
107
94
|
this.calciteTextAreaInput = createEvent();
|
|
108
95
|
}
|
|
109
96
|
static {
|
|
110
|
-
this.properties = { endSlotHasElements: [16, {}, { state: true }], startSlotHasElements: [16, {}, { state: true }], columns: [11, {}, { reflect: true, type: Number }], disabled: [7, {}, { reflect: true, type: Boolean }], form: [3, {}, { reflect: true }], groupSeparator: [7, {}, { reflect: true, type: Boolean }], label: 1, labelText: 1, limitText: [7, {}, { reflect: true, type: Boolean }], 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 }], numberingSystem: 1, placeholder: 1, readOnly: [7, {}, { reflect: true, type: Boolean }], required: [7, {}, { reflect: true, type: Boolean }], resize: [3, {}, { reflect: true }], rows: [11, {}, { reflect: true, type: Number }], scale: [3, {}, { reflect: true }], status: [3, {}, { reflect: true }], validationIcon: [3, { converter: stringOrBoolean, type: String }, { reflect: true }], validationMessage: 1, validity: [
|
|
97
|
+
this.properties = { endSlotHasElements: [16, {}, { state: true }], startSlotHasElements: [16, {}, { state: true }], columns: [11, {}, { reflect: true, type: Number }], disabled: [7, {}, { reflect: true, type: Boolean }], form: [3, {}, { reflect: true }], groupSeparator: [7, {}, { reflect: true, type: Boolean }], label: 1, labelText: 1, limitText: [7, {}, { reflect: true, type: Boolean }], 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 }], numberingSystem: 1, placeholder: 1, readOnly: [7, {}, { reflect: true, type: Boolean }], required: [7, {}, { reflect: true, type: Boolean }], resize: [3, {}, { reflect: true }], rows: [11, {}, { reflect: true, type: Number }], scale: [3, {}, { reflect: true }], status: [3, {}, { reflect: true }], validationIcon: [3, { converter: stringOrBoolean, type: String }, { reflect: true }], validationMessage: 1, validity: [32, {}, { readOnly: true, attribute: false }], value: 1, wrap: [3, {}, { reflect: true }] };
|
|
111
98
|
}
|
|
112
99
|
static {
|
|
113
100
|
this.formAssociated = true;
|
|
@@ -49,7 +49,7 @@ const ICONS = {
|
|
|
49
49
|
chevronUp: "chevron-up",
|
|
50
50
|
chevronDown: "chevron-down"
|
|
51
51
|
};
|
|
52
|
-
const styles = css`:host{display:inline-block}.time-picker{display:flex;-webkit-user-select:none;user-select:none;align-items:center;border-width:1px;border-style:solid;font-weight:var(--calcite-font-weight-medium);border-color:var(--calcite-time-picker-border-color, var(--calcite-color-border-3));border-radius:var(--calcite-time-picker-corner-radius, var(--calcite-border-radius-round));color:var(--calcite-time-picker-color, var(--calcite-color-text-1));background-color:var(--calcite-time-picker-background-color, var(--calcite-color-foreground-1));overflow:hidden}.time-picker .column{display:flex;flex-direction:column}.time-picker .meridiem--start{order:-1}.time-picker .button{display:inline-flex;cursor:pointer;align-items:center;justify-content:center;background-color:var(--calcite-time-picker-background-color, var(--calcite-color-foreground-1))}.time-picker .button:hover,.time-picker .button:focus{outline:2px solid transparent;outline-offset:2px;z-index:var(--calcite-z-index-header);outline-offset:0;background-color:var(--calcite-time-picker-button-background-color-hover, var(--calcite-color-foreground-2))}.time-picker .button:active{background-color:var(--calcite-time-picker-button-background-color-press, var(--calcite-color-foreground-3))}.time-picker .button.top-left{border-start-start-radius:var(--calcite-time-picker-corner-radius, var(--calcite-border-radius-round))}.time-picker .button.bottom-left{border-end-start-radius:var(--calcite-time-picker-corner-radius, var(--calcite-border-radius-round))}.time-picker .button.top-right{border-start-end-radius:var(--calcite-time-picker-corner-radius, var(--calcite-border-radius-round))}.time-picker .button.bottom-right{border-end-end-radius:var(--calcite-time-picker-corner-radius, var(--calcite-border-radius-round))}.time-picker .button calcite-icon{color:var(--calcite-time-picker-icon-color, var(--calcite-color-text-3))}.time-picker .input{display:inline-flex;cursor:pointer;align-items:center;justify-content:center;font-weight:var(--calcite-font-weight-medium);background-color:var(--calcite-time-picker-background-color, var(--calcite-color-foreground-1))}.time-picker .input:hover{box-shadow:inset 0 0 0 2px var(--calcite-time-picker-input-border-color-hover, var(--calcite-color-foreground-2));z-index:var(--calcite-z-index-header)}.time-picker .input:focus,.time-picker .input:hover:focus{outline:2px solid transparent;outline-offset:2px;outline-offset:0}.time-picker .input.inputFocus,.time-picker .input:hover.inputFocus{box-shadow:inset 0 0 0 2px var(--calcite-time-picker-input-border-color-press, var(--calcite-color-brand));z-index:var(--calcite-z-index-header)}.time-picker.scale-s{font-size:var(--calcite-font-size-relative-base)}.time-picker.scale-s .button,.time-picker.scale-s .input{padding-inline:var(--calcite-spacing-sm);padding-block:var(--calcite-spacing-xxs)}.time-picker.scale-s:not(.show-meridiem) .delimiter:last-child{padding-inline-end:var(--calcite-spacing-md)}.time-picker.scale-m{font-size:var(--calcite-font-size-relative-md)}.time-picker.scale-m .button,.time-picker.scale-m .input{padding-inline:var(--calcite-spacing-md);padding-block:var(--calcite-spacing-sm)}.time-picker.scale-m:not(.show-meridiem) .delimiter:last-child{padding-inline-end:var(--calcite-spacing-xl)}.time-picker.scale-l{font-size:var(--calcite-font-size-relative-lg)}.time-picker.scale-l .button,.time-picker.scale-l .input{padding-inline:var(--calcite-spacing-lg);padding-block:var(--calcite-spacing-md)}.time-picker.scale-l:not(.show-meridiem) .delimiter:last-child{padding-inline-end:var(--calcite-spacing-xxl)}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
52
|
+
const styles = css`:host{display:inline-block}.time-picker{display:flex;-webkit-user-select:none;user-select:none;align-items:center;border-width:1px;border-style:solid;font-weight:var(--calcite-font-weight-medium);border-color:var(--calcite-time-picker-border-color, var(--calcite-color-border-3));border-radius:var(--calcite-time-picker-corner-radius, var(--calcite-border-radius-round));color:var(--calcite-time-picker-color, var(--calcite-color-text-1));background-color:var(--calcite-time-picker-background-color, var(--calcite-color-foreground-1));line-height:var(--calcite-font-line-height-md);overflow:hidden}.time-picker .column{display:flex;flex-direction:column}.time-picker .meridiem--start{order:-1}.time-picker .button{display:inline-flex;cursor:pointer;align-items:center;justify-content:center;background-color:var(--calcite-time-picker-background-color, var(--calcite-color-foreground-1))}.time-picker .button:hover,.time-picker .button:focus{outline:2px solid transparent;outline-offset:2px;z-index:var(--calcite-z-index-header);outline-offset:0;background-color:var(--calcite-time-picker-button-background-color-hover, var(--calcite-color-foreground-2))}.time-picker .button:active{background-color:var(--calcite-time-picker-button-background-color-press, var(--calcite-color-foreground-3))}.time-picker .button.top-left{border-start-start-radius:var(--calcite-time-picker-corner-radius, var(--calcite-border-radius-round))}.time-picker .button.bottom-left{border-end-start-radius:var(--calcite-time-picker-corner-radius, var(--calcite-border-radius-round))}.time-picker .button.top-right{border-start-end-radius:var(--calcite-time-picker-corner-radius, var(--calcite-border-radius-round))}.time-picker .button.bottom-right{border-end-end-radius:var(--calcite-time-picker-corner-radius, var(--calcite-border-radius-round))}.time-picker .button calcite-icon{color:var(--calcite-time-picker-icon-color, var(--calcite-color-text-3))}.time-picker .input{display:inline-flex;cursor:pointer;align-items:center;justify-content:center;font-weight:var(--calcite-font-weight-medium);background-color:var(--calcite-time-picker-background-color, var(--calcite-color-foreground-1))}.time-picker .input:hover{box-shadow:inset 0 0 0 2px var(--calcite-time-picker-input-border-color-hover, var(--calcite-color-foreground-2));z-index:var(--calcite-z-index-header)}.time-picker .input:focus,.time-picker .input:hover:focus{outline:2px solid transparent;outline-offset:2px;outline-offset:0}.time-picker .input.inputFocus,.time-picker .input:hover.inputFocus{box-shadow:inset 0 0 0 2px var(--calcite-time-picker-input-border-color-press, var(--calcite-color-brand));z-index:var(--calcite-z-index-header)}.time-picker.scale-s{font-size:var(--calcite-font-size-relative-base)}.time-picker.scale-s .button,.time-picker.scale-s .input{padding-inline:var(--calcite-spacing-sm);padding-block:var(--calcite-spacing-xxs)}.time-picker.scale-s:not(.show-meridiem) .delimiter:last-child{padding-inline-end:var(--calcite-spacing-md)}.time-picker.scale-m{font-size:var(--calcite-font-size-relative-md)}.time-picker.scale-m .button,.time-picker.scale-m .input{padding-inline:var(--calcite-spacing-md);padding-block:var(--calcite-spacing-sm)}.time-picker.scale-m:not(.show-meridiem) .delimiter:last-child{padding-inline-end:var(--calcite-spacing-xl)}.time-picker.scale-l{font-size:var(--calcite-font-size-relative-lg)}.time-picker.scale-l .button,.time-picker.scale-l .input{padding-inline:var(--calcite-spacing-lg);padding-block:var(--calcite-spacing-md)}.time-picker.scale-l:not(.show-meridiem) .delimiter:last-child{padding-inline-end:var(--calcite-spacing-xxl)}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
53
53
|
class TimePicker extends LitElement {
|
|
54
54
|
constructor() {
|
|
55
55
|
super();
|