@esri/calcite-components 5.1.1-next.5 → 5.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/cdn/{6URRYJJC.js → 25SUELBY.js} +1 -1
- package/dist/cdn/{QKYRWKTU.js → 2J4U5E4U.js} +1 -1
- package/dist/cdn/{5UM2PD3Y.js → 2JJ5YBBT.js} +1 -1
- package/dist/cdn/{6JJSMJ5O.js → 2P3LOGHK.js} +1 -1
- package/dist/cdn/{6OQ7N7VS.js → 34ENIUR5.js} +1 -1
- package/dist/cdn/{V4PO6GRD.js → 3KWJQXAT.js} +1 -1
- package/dist/cdn/{MUUP34X3.js → 3RRY5HHA.js} +1 -1
- package/dist/cdn/{HHH7H3RQ.js → 3TYJSBP3.js} +1 -1
- package/dist/cdn/{7UQ4BXIA.js → 44HFP2I6.js} +1 -1
- package/dist/cdn/44VCOKJX.js +2 -0
- package/dist/cdn/{SY4OTCR3.js → 47Q2AE5B.js} +1 -1
- package/dist/cdn/{GLRM5ZT5.js → 4NUFBGFK.js} +1 -1
- package/dist/cdn/{7MDIWERA.js → 4UHTWXNV.js} +1 -1
- package/dist/cdn/{VG7NP4T6.js → 524MMG22.js} +1 -1
- package/dist/cdn/{5VR5L3IN.js → 5D7IEY6J.js} +1 -1
- package/dist/cdn/{EV4D2B4G.js → 5O6YGOJE.js} +1 -1
- package/dist/cdn/{ZD2AZI2C.js → 5VAPN2S2.js} +1 -1
- package/dist/cdn/5X2CR2NN.js +2 -0
- package/dist/cdn/{ZRMUXK2V.js → 6HRHKHF5.js} +1 -1
- package/dist/cdn/{IPV6SRQB.js → 6S3G75WP.js} +1 -1
- package/dist/cdn/6SZY5PY7.js +2 -0
- package/dist/cdn/{BJ4ABCUP.js → 6V3FX2W2.js} +1 -1
- package/dist/cdn/{6PNEL3GY.js → 6VDGKXTH.js} +1 -1
- package/dist/cdn/{L3DV3PDZ.js → 6VP3K6WL.js} +1 -1
- package/dist/cdn/{VPAYQE3N.js → 6X3QWKZL.js} +1 -1
- package/dist/cdn/{KLK5B7QV.js → 6XMUSNRS.js} +1 -1
- package/dist/cdn/{ZYP2R6KW.js → 7B4FOF3S.js} +1 -1
- package/dist/cdn/{ACHU3T7F.js → 7QS3Z4ZJ.js} +1 -1
- package/dist/cdn/{V4P7PWKU.js → 7SDGC2RW.js} +1 -1
- package/dist/cdn/A6V4I2J3.js +2 -0
- package/dist/cdn/{TR3GWZR3.js → ALLL4LZ4.js} +1 -1
- package/dist/cdn/{LW32DABQ.js → BCRYMNH7.js} +1 -1
- package/dist/cdn/{ZCF63ZNP.js → BSMPD6VA.js} +1 -1
- package/dist/cdn/{V7UCH3LL.js → C462ZIJD.js} +1 -1
- package/dist/cdn/{QJNZ4DGE.js → C4DW27AP.js} +1 -1
- package/dist/cdn/C4OX3FC4.js +2 -0
- package/dist/cdn/{QGJMSJYV.js → CDNETLLO.js} +1 -1
- package/dist/cdn/{5X5GP5QD.js → CENYPZ3Y.js} +1 -1
- package/dist/cdn/{YENIJIGH.js → CEWOZ7LP.js} +1 -1
- package/dist/cdn/{AQ3IFEKN.js → CM45J66U.js} +1 -1
- package/dist/cdn/{MUEVO64B.js → COXLBEPM.js} +1 -1
- package/dist/cdn/CVJBK7K3.js +2 -0
- package/dist/cdn/{LBC3QOSD.js → DDUIHGBF.js} +1 -1
- package/dist/cdn/{56OUAFHZ.js → DK3SDSZL.js} +1 -1
- package/dist/cdn/{U54ZTDU5.js → DP2TY4KH.js} +1 -1
- package/dist/cdn/{GKHYTKRX.js → E6X6BQLH.js} +1 -1
- package/dist/cdn/{7TWNW2BD.js → E7GXKIIO.js} +1 -1
- package/dist/cdn/{5KHTOS43.js → ECVX7SVS.js} +1 -1
- package/dist/cdn/{CY2QEKCK.js → ELXBBUY5.js} +1 -1
- package/dist/cdn/{GATVDTCX.js → EQKCU4NC.js} +1 -1
- package/dist/cdn/{7YW5YF3W.js → ETEMG44R.js} +1 -1
- package/dist/cdn/{JCCTCJBT.js → G2G6FHMB.js} +1 -1
- package/dist/cdn/{26TKJ45G.js → GCAYSD7G.js} +1 -1
- package/dist/cdn/{K3J3HP3C.js → GDFQSWZ7.js} +1 -1
- package/dist/cdn/{ZFON2VHB.js → GDYGEN45.js} +1 -1
- package/dist/cdn/{CISWZLPM.js → GTH6QFMV.js} +1 -1
- package/dist/cdn/{6HZDBIQR.js → HA65OOQD.js} +1 -1
- package/dist/cdn/HYIVUAZU.js +2 -0
- package/dist/cdn/{VOJ3FHN7.js → I4IDQ735.js} +1 -1
- package/dist/cdn/{YL72ZNRG.js → ICGT7C6U.js} +1 -1
- package/dist/cdn/{3WWVPHTN.js → ID2LCYSN.js} +1 -1
- package/dist/cdn/{M3IE6HID.js → IEWVQCQW.js} +1 -1
- package/dist/cdn/{FIDNERXC.js → IHYNJVS4.js} +1 -1
- package/dist/cdn/{SKUVMTOE.js → IMUM436K.js} +1 -1
- package/dist/cdn/{QAQYS3BO.js → IRANNKJ2.js} +1 -1
- package/dist/cdn/{4OKNI2ME.js → JCVLN6XL.js} +1 -1
- package/dist/cdn/{TQ74DQDG.js → JDVSVNSE.js} +1 -1
- package/dist/cdn/{HETBUMGG.js → JGCJVDJA.js} +1 -1
- package/dist/cdn/{UWMTXTYU.js → JPPCKAMD.js} +1 -1
- package/dist/cdn/{EOXVTTON.js → JSXQ6NFN.js} +1 -1
- package/dist/cdn/KCN4PBFZ.js +2 -0
- package/dist/cdn/{APBFB6S3.js → KJCVGOXF.js} +1 -1
- package/dist/cdn/{6PA56XE3.js → KLNQGCK2.js} +1 -1
- package/dist/cdn/KOWFGIAY.js +2 -0
- package/dist/cdn/{MKMBDYHE.js → KXD6O3ZI.js} +1 -1
- package/dist/cdn/{BZ2ZKLD7.js → L3D2OBOR.js} +1 -1
- package/dist/cdn/L5IKT3WY.js +2 -0
- package/dist/cdn/LGB6OAXT.js +2 -0
- package/dist/cdn/{KC4N5X3R.js → LI2CATYC.js} +1 -1
- package/dist/cdn/{5CZT7ZF2.js → LJSR66HF.js} +1 -1
- package/dist/cdn/{FMGMUK7H.js → LKYA2H2B.js} +1 -1
- package/dist/cdn/{GLODC255.js → LOJBKHVF.js} +1 -1
- package/dist/cdn/{4ZARBNVE.js → MHE72N53.js} +1 -1
- package/dist/cdn/{2UXB22NZ.js → MW5MGBT4.js} +1 -1
- package/dist/cdn/{ANS7V4RO.js → NBAYHB3K.js} +1 -1
- package/dist/cdn/{YHXTGLCG.js → NCSMOKFP.js} +1 -1
- package/dist/cdn/{ISATMK3J.js → ND7KY7GE.js} +1 -1
- package/dist/cdn/{4U2T5QCF.js → NG7BG3QY.js} +1 -1
- package/dist/cdn/NL77UDLL.js +2 -0
- package/dist/cdn/{WY23ABPE.js → NTD2BJWG.js} +1 -1
- package/dist/cdn/{2B22J6N7.js → ODGJXDZK.js} +1 -1
- package/dist/cdn/{YIUURHN4.js → ORIGVFX7.js} +1 -1
- package/dist/cdn/{AXVF2756.js → OWIJSXYV.js} +1 -1
- package/dist/cdn/{HWD5HVPG.js → OXCL3M4W.js} +1 -1
- package/dist/cdn/{FNQJGIT5.js → PB3LTBSS.js} +1 -1
- package/dist/cdn/{BTFUTGOB.js → PHEMAFCT.js} +1 -1
- package/dist/cdn/{ARP32LFE.js → PIR7PWBO.js} +1 -1
- package/dist/cdn/PM5MZR4Z.js +2 -0
- package/dist/cdn/{D5H6K3NA.js → Q4V5DVKS.js} +1 -1
- package/dist/cdn/{VWXOBCBN.js → Q56UST3A.js} +1 -1
- package/dist/cdn/{ZD5WXZ5Y.js → QC5NB4VL.js} +1 -1
- package/dist/cdn/{W3FK3ZCB.js → QEJBAQOY.js} +1 -1
- package/dist/cdn/{7P74AKWI.js → QGF4JJQO.js} +1 -1
- package/dist/cdn/{F7DJCE7J.js → QZJ7GLQ3.js} +1 -1
- package/dist/cdn/RK2LH73E.js +2 -0
- package/dist/cdn/{YDF4DHQ3.js → ROJYTRK6.js} +1 -1
- package/dist/cdn/{HIUFMP4S.js → RRKFBHMW.js} +1 -1
- package/dist/cdn/{H4DJFHRD.js → RUUD543Z.js} +1 -1
- package/dist/cdn/{J4CNKBKA.js → S2BIRHQ7.js} +1 -1
- package/dist/cdn/{T6AQWGKD.js → SJCWFQNF.js} +1 -1
- package/dist/cdn/SNJLHXVG.js +2 -0
- package/dist/cdn/{G2GTTVSE.js → SNY2QKQJ.js} +1 -1
- package/dist/cdn/{ZACTCZNT.js → ST6WRTR2.js} +1 -1
- package/dist/cdn/{FIIPI4TO.js → SW5TNX5V.js} +1 -1
- package/dist/cdn/SXXFODM6.js +2 -0
- package/dist/cdn/{ONJA74QA.js → TKK3AWQJ.js} +1 -1
- package/dist/cdn/{ZG5BEBIM.js → TTCZVBEF.js} +1 -1
- package/dist/cdn/{A7T3VN2V.js → TV47CRME.js} +1 -1
- package/dist/cdn/{KU7JKZKM.js → TVU7KEKM.js} +1 -1
- package/dist/cdn/{3BFO4M6M.js → TVYIJRI2.js} +1 -1
- package/dist/cdn/{KOB2L5OF.js → TWVXE232.js} +1 -1
- package/dist/cdn/{LYU2H6SF.js → TYQB2FN4.js} +1 -1
- package/dist/cdn/{RQWRV3MX.js → U4GRIQVY.js} +1 -1
- package/dist/cdn/{YWOGIBVU.js → U7OJQ4EC.js} +1 -1
- package/dist/cdn/{FGLX24UP.js → UCWB5EGV.js} +1 -1
- package/dist/cdn/{ODZLYUK3.js → UTVGUMUM.js} +1 -1
- package/dist/cdn/{WA2S45EI.js → V3X47NBI.js} +1 -1
- package/dist/cdn/{L4PX2B5Q.js → V7PYDILT.js} +1 -1
- package/dist/cdn/{27CKMD4S.js → V7YPIVAX.js} +1 -1
- package/dist/cdn/{WCQV2FD5.js → VDJMOKVP.js} +1 -1
- package/dist/cdn/{VOXGCDBD.js → VEZBAZZG.js} +1 -1
- package/dist/cdn/VXBJOP6X.js +2 -0
- package/dist/cdn/{OORT75JS.js → VZ2YR2UG.js} +1 -1
- package/dist/cdn/{WTNLCUMG.js → W57IL7KF.js} +1 -1
- package/dist/cdn/{F5LUOXQA.js → WCUO6JQN.js} +1 -1
- package/dist/cdn/{DBQJQXU6.js → WER7FADP.js} +1 -1
- package/dist/cdn/{3NAS4Q4X.js → WQCT4VLB.js} +1 -1
- package/dist/cdn/X3HV2NYH.js +2 -0
- package/dist/cdn/{JZQC7UCN.js → XRUJ4D7O.js} +1 -1
- package/dist/cdn/{LTTOM2CS.js → XT4GLBAQ.js} +1 -1
- package/dist/cdn/{D2VTJOPM.js → Y7O6UR4T.js} +1 -1
- package/dist/cdn/{LLESMANM.js → YHAJICJ2.js} +1 -1
- package/dist/cdn/{PWME5N37.js → YKL7MIG5.js} +1 -1
- package/dist/cdn/YYAYEKGB.js +2 -0
- package/dist/cdn/{2TUMH7BJ.js → Z3IP3JBL.js} +1 -1
- package/dist/cdn/ZK2W2KJX.js +2 -0
- package/dist/cdn/{QER5D477.js → ZOEJDQXA.js} +1 -1
- package/dist/cdn/{D2NNUCFT.js → ZRMTOZ3B.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/ExpandToggle.js +1 -1
- package/dist/chunks/date.js +3 -3
- package/dist/chunks/dom.js +3 -15
- package/dist/chunks/floating-ui.js +1 -1
- package/dist/chunks/label.js +6 -6
- package/dist/chunks/locale.js +6 -3
- package/dist/chunks/manager.js +5 -5
- package/dist/chunks/resources10.js +63 -0
- package/dist/chunks/resources5.js +27 -52
- package/dist/chunks/resources6.js +48 -45
- package/dist/chunks/resources7.js +49 -7
- package/dist/chunks/resources8.js +9 -11
- package/dist/chunks/resources9.js +4 -48
- package/dist/chunks/runtime.js +4 -4
- package/dist/chunks/utils2.js +59 -6
- package/dist/components/calcite-accordion-item/customElement.d.ts +6 -6
- package/dist/components/calcite-accordion-item/customElement.js +1 -1
- package/dist/components/calcite-alert/customElement.d.ts +2 -2
- package/dist/components/calcite-alert/customElement.js +4 -6
- package/dist/components/calcite-autocomplete/customElement.d.ts +16 -16
- package/dist/components/calcite-autocomplete/customElement.js +4 -4
- package/dist/components/calcite-autocomplete-item/customElement.d.ts +5 -5
- package/dist/components/calcite-avatar/customElement.d.ts +5 -5
- package/dist/components/calcite-card/customElement.d.ts +1 -1
- package/dist/components/calcite-carousel/customElement.js +6 -5
- package/dist/components/calcite-checkbox/customElement.d.ts +4 -4
- package/dist/components/calcite-checkbox/customElement.js +1 -1
- package/dist/components/calcite-chip/customElement.js +1 -27
- package/dist/components/calcite-chip-group/customElement.js +1 -1
- package/dist/components/calcite-color-picker/customElement.js +1 -1
- package/dist/components/calcite-color-picker-hex-input/customElement.js +1 -1
- package/dist/components/calcite-combobox/customElement.js +286 -132
- package/dist/components/calcite-combobox-item/customElement.js +1 -1
- package/dist/components/calcite-combobox-item-group/customElement.js +1 -1
- package/dist/components/calcite-date-picker/customElement.js +1 -1
- package/dist/components/calcite-date-picker-day/customElement.js +1 -1
- package/dist/components/calcite-date-picker-month/customElement.js +11 -2
- package/dist/components/calcite-dialog/customElement.js +8 -8
- package/dist/components/calcite-dropdown-group/customElement.js +1 -1
- package/dist/components/calcite-dropdown-item/customElement.js +1 -1
- package/dist/components/calcite-flow/customElement.d.ts +2 -2
- package/dist/components/calcite-flow/customElement.js +1 -1
- package/dist/components/calcite-flow-item/customElement.js +2 -2
- package/dist/components/calcite-input/customElement.js +5 -2
- package/dist/components/calcite-input-date-picker/customElement.js +5 -10
- package/dist/components/calcite-input-text/customElement.js +2 -2
- package/dist/components/calcite-input-time-zone/customElement.js +1 -1
- package/dist/components/calcite-list/customElement.d.ts +4 -4
- package/dist/components/calcite-list/customElement.js +6 -5
- package/dist/components/calcite-list-item/customElement.d.ts +6 -6
- package/dist/components/calcite-list-item/customElement.js +21 -14
- package/dist/components/calcite-list-item-group/customElement.d.ts +1 -1
- package/dist/components/calcite-list-item-group/customElement.js +1 -1
- package/dist/components/calcite-loader/customElement.js +3 -3
- package/dist/components/calcite-menu-item/customElement.d.ts +7 -7
- package/dist/components/calcite-menu-item/customElement.js +0 -3
- package/dist/components/calcite-meter/customElement.d.ts +6 -6
- package/dist/components/calcite-meter/customElement.js +7 -14
- package/dist/components/calcite-pagination/customElement.d.ts +1 -1
- package/dist/components/calcite-pagination/customElement.js +0 -3
- package/dist/components/calcite-panel/customElement.d.ts +6 -6
- package/dist/components/calcite-panel/customElement.js +1 -1
- package/dist/components/calcite-popover/customElement.d.ts +4 -4
- package/dist/components/calcite-popover/customElement.js +1 -1
- package/dist/components/calcite-progress/customElement.d.ts +2 -2
- package/dist/components/calcite-radio-button/customElement.d.ts +5 -5
- package/dist/components/calcite-radio-button/customElement.js +1 -1
- package/dist/components/calcite-radio-button-group/customElement.d.ts +4 -4
- package/dist/components/calcite-radio-button-group/customElement.js +3 -3
- package/dist/components/calcite-rating/customElement.d.ts +7 -7
- package/dist/components/calcite-rating/customElement.js +9 -13
- package/dist/components/calcite-sheet/customElement.js +27 -32
- package/dist/components/calcite-stack/customElement.js +1 -1
- package/dist/controllers/useSortable.d.ts +2 -2
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/supported-browsers.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/loader.js +2 -2
- package/dist/utils/dom.d.ts +1 -1
- package/package.json +9 -8
- package/dist/cdn/4YU7KVLN.js +0 -2
- package/dist/cdn/AJKRULVQ.js +0 -2
- package/dist/cdn/AP2LDRUV.js +0 -2
- package/dist/cdn/BDZQSO2J.js +0 -2
- package/dist/cdn/BQES6LWB.js +0 -2
- package/dist/cdn/DYWNKQ25.js +0 -2
- package/dist/cdn/ECNYDS76.js +0 -2
- package/dist/cdn/H4MCSFNA.js +0 -2
- package/dist/cdn/H4QDWLO2.js +0 -2
- package/dist/cdn/KNKMPJAL.js +0 -2
- package/dist/cdn/M47XC6PF.js +0 -2
- package/dist/cdn/MR5GODA3.js +0 -2
- package/dist/cdn/P3CJF65O.js +0 -2
- package/dist/cdn/RX6W4SRU.js +0 -2
- package/dist/cdn/SB5RUV2I.js +0 -2
- package/dist/cdn/SSDV2Z4W.js +0 -2
- package/dist/cdn/TL7FQYNH.js +0 -2
- package/dist/cdn/VNLB6ONW.js +0 -2
- package/dist/cdn/VPGSTQTT.js +0 -2
- package/dist/cdn/assets/icon/orientedImageryFullSuperimpose16.json +0 -1
- package/dist/cdn/assets/icon/orientedImageryFullSuperimpose24.json +0 -1
- package/dist/cdn/assets/icon/orientedImageryFullSuperimpose32.json +0 -1
- package/dist/cdn/assets/icon/orientedImageryHalfSuperimpose16.json +0 -1
- package/dist/cdn/assets/icon/orientedImageryHalfSuperimpose24.json +0 -1
- package/dist/cdn/assets/icon/orientedImageryHalfSuperimpose32.json +0 -1
- package/dist/cdn/assets/icon/orientedImagerySceneOnly16.json +0 -1
- package/dist/cdn/assets/icon/orientedImagerySceneOnly24.json +0 -1
- package/dist/cdn/assets/icon/orientedImagerySceneOnly32.json +0 -1
- package/dist/cdn/assets/icon/parquetFeatureLayer16.json +0 -1
- package/dist/cdn/assets/icon/parquetFeatureLayer24.json +0 -1
- package/dist/cdn/assets/icon/parquetFeatureLayer32.json +0 -1
- /package/dist/cdn/{IYGANVDT.js → 72YUATHS.js} +0 -0
- /package/dist/cdn/{MYDCGCGV.js → IIA2H2SU.js} +0 -0
- /package/dist/cdn/{DCWL5FUH.js → LKL63VXR.js} +0 -0
- /package/dist/cdn/{UM6KICQF.js → MO64UYDH.js} +0 -0
- /package/dist/cdn/{R6HABYRV.js → Q55YTOMB.js} +0 -0
package/dist/chunks/dom.js
CHANGED
|
@@ -390,22 +390,10 @@ function queryElementRoots(el, {
|
|
|
390
390
|
*/
|
|
391
391
|
rootNode.getElementById(id)
|
|
392
392
|
) : null : selector ? rootNode.querySelector(selector) : null;
|
|
393
|
-
|
|
394
|
-
return found;
|
|
395
|
-
}
|
|
396
|
-
const host = getHost(rootNode);
|
|
397
|
-
return host ? queryElementRoots(host, { selector, id }) : null;
|
|
393
|
+
return found || queryElementRoots(getHost(rootNode), { selector, id });
|
|
398
394
|
}
|
|
399
395
|
function closestElementCrossShadowBoundary(element, selector) {
|
|
400
|
-
|
|
401
|
-
return null;
|
|
402
|
-
}
|
|
403
|
-
const closest = element.closest(selector);
|
|
404
|
-
if (closest) {
|
|
405
|
-
return closest;
|
|
406
|
-
}
|
|
407
|
-
const host = getHost(getRootNode(element));
|
|
408
|
-
return host ? closestElementCrossShadowBoundary(host, selector) : null;
|
|
396
|
+
return element ? element.closest(selector) || closestElementCrossShadowBoundary(getHost(getRootNode(element)), selector) : null;
|
|
409
397
|
}
|
|
410
398
|
function isCalciteFocusable(el) {
|
|
411
399
|
return typeof el?.setFocus === "function";
|
|
@@ -515,7 +503,7 @@ const focusElementInGroup = (elements, currentElement, destination, cycle = true
|
|
|
515
503
|
return focusTarget;
|
|
516
504
|
};
|
|
517
505
|
function isBefore(a, b) {
|
|
518
|
-
if (
|
|
506
|
+
if (a.parentNode !== b.parentNode) {
|
|
519
507
|
return false;
|
|
520
508
|
}
|
|
521
509
|
const children = Array.from(a.parentNode.children);
|
|
@@ -206,7 +206,7 @@ const autoUpdatingComponentMap = /* @__PURE__ */ new WeakMap();
|
|
|
206
206
|
const componentToDebouncedRepositionMap = /* @__PURE__ */ new WeakMap();
|
|
207
207
|
async function runAutoUpdate(component) {
|
|
208
208
|
const { referenceEl, floatingEl } = component;
|
|
209
|
-
if (!floatingEl
|
|
209
|
+
if (!floatingEl.isConnected) {
|
|
210
210
|
return;
|
|
211
211
|
}
|
|
212
212
|
const effectiveAutoUpdate = !isServer ? autoUpdate : (_refEl, _floatingEl, updateCallback) => {
|
package/dist/chunks/label.js
CHANGED
|
@@ -25,11 +25,11 @@ const findLabelForComponent = (componentEl) => {
|
|
|
25
25
|
function hasAncestorCustomElements(label, componentEl) {
|
|
26
26
|
let traversedElements;
|
|
27
27
|
const customElementAncestorCheckEventType = "custom-element-ancestor-check";
|
|
28
|
-
const listener = (
|
|
28
|
+
const listener = (event) => {
|
|
29
29
|
event.stopImmediatePropagation();
|
|
30
30
|
const composedPath = event.composedPath();
|
|
31
31
|
traversedElements = composedPath.slice(composedPath.indexOf(componentEl), composedPath.indexOf(label));
|
|
32
|
-
}
|
|
32
|
+
};
|
|
33
33
|
label.addEventListener(customElementAncestorCheckEventType, listener, { once: true });
|
|
34
34
|
componentEl.dispatchEvent(new CustomEvent(customElementAncestorCheckEventType, { composed: true, bubbles: true }));
|
|
35
35
|
label.removeEventListener(customElementAncestorCheckEventType, listener);
|
|
@@ -41,7 +41,7 @@ function connectLabel(component) {
|
|
|
41
41
|
return;
|
|
42
42
|
}
|
|
43
43
|
const labelEl = findLabelForComponent(component.el);
|
|
44
|
-
if (
|
|
44
|
+
if (onLabelClickMap.has(labelEl) && labelEl === component.labelEl || !labelEl && unlabeledComponents.has(component)) {
|
|
45
45
|
return;
|
|
46
46
|
}
|
|
47
47
|
const boundOnLabelDisconnected = onLabelDisconnected.bind(component);
|
|
@@ -84,7 +84,7 @@ function disconnectLabel(component) {
|
|
|
84
84
|
component.labelEl,
|
|
85
85
|
labelables.filter((labelable) => labelable !== component).sort(sortByDOMOrder)
|
|
86
86
|
);
|
|
87
|
-
component.labelEl =
|
|
87
|
+
component.labelEl = null;
|
|
88
88
|
}
|
|
89
89
|
function sortByDOMOrder(a, b) {
|
|
90
90
|
return isBefore(a.el, b.el) ? -1 : 1;
|
|
@@ -96,7 +96,7 @@ function onLabelClick(event) {
|
|
|
96
96
|
const labelClickTarget = event.detail.sourceEvent.target;
|
|
97
97
|
const labelables = labelToLabelables.get(this);
|
|
98
98
|
const clickedLabelable = labelables.find((labelable) => labelable.el === labelClickTarget);
|
|
99
|
-
const labelableChildClicked =
|
|
99
|
+
const labelableChildClicked = labelables.includes(clickedLabelable);
|
|
100
100
|
if (labelableChildClicked) {
|
|
101
101
|
return;
|
|
102
102
|
}
|
|
@@ -123,7 +123,7 @@ async function associateExplicitLabelToUnlabeledComponent(label) {
|
|
|
123
123
|
if (alreadyLabeled) {
|
|
124
124
|
return;
|
|
125
125
|
}
|
|
126
|
-
const forComponentEl = label.
|
|
126
|
+
const forComponentEl = label.ownerDocument?.getElementById(label.for);
|
|
127
127
|
if (!forComponentEl) {
|
|
128
128
|
return;
|
|
129
129
|
}
|
package/dist/chunks/locale.js
CHANGED
|
@@ -158,7 +158,7 @@ function stringContainsNumbers(string) {
|
|
|
158
158
|
function addLocalizedTrailingDecimalZeros(localizedValue, value, formatter) {
|
|
159
159
|
const decimals = value.split(".")[1];
|
|
160
160
|
if (decimals) {
|
|
161
|
-
const trailingDecimalZeros = decimals.match(hasTrailingDecimalZeros)
|
|
161
|
+
const trailingDecimalZeros = decimals.match(hasTrailingDecimalZeros)[0];
|
|
162
162
|
if (trailingDecimalZeros && formatter.delocalize(localizedValue).length !== value.length && decimals.indexOf("e") === -1) {
|
|
163
163
|
const decimalSeparator = formatter.decimal;
|
|
164
164
|
localizedValue = !localizedValue.includes(decimalSeparator) ? `${localizedValue}${decimalSeparator}` : localizedValue;
|
|
@@ -196,7 +196,7 @@ const localizedTwentyFourHourMeridiems = new Map(
|
|
|
196
196
|
})
|
|
197
197
|
);
|
|
198
198
|
const numberingSystems = ["arab", "arabext", "latn"];
|
|
199
|
-
const isNumberingSystemSupported = (numberingSystem) =>
|
|
199
|
+
const isNumberingSystemSupported = (numberingSystem) => numberingSystems.includes(numberingSystem);
|
|
200
200
|
const browserNumberingSystem = new Intl.NumberFormat().resolvedOptions().numberingSystem;
|
|
201
201
|
const defaultNumberingSystem = browserNumberingSystem === "arab" || !isNumberingSystemSupported(browserNumberingSystem) ? "latn" : browserNumberingSystem;
|
|
202
202
|
const getSupportedNumberingSystem = (numberingSystem) => isNumberingSystemSupported(numberingSystem) ? numberingSystem : defaultNumberingSystem;
|
|
@@ -260,7 +260,10 @@ class NumberStringFormat {
|
|
|
260
260
|
return;
|
|
261
261
|
}
|
|
262
262
|
this._numberFormatOptions = options;
|
|
263
|
-
this._numberFormatter = new Intl.NumberFormat(
|
|
263
|
+
this._numberFormatter = new Intl.NumberFormat(
|
|
264
|
+
this._numberFormatOptions.locale,
|
|
265
|
+
this._numberFormatOptions
|
|
266
|
+
);
|
|
264
267
|
this._digits = [
|
|
265
268
|
...new Intl.NumberFormat(this._numberFormatOptions.locale, {
|
|
266
269
|
useGrouping: false,
|
package/dist/chunks/manager.js
CHANGED
|
@@ -6,8 +6,8 @@ import { t as toAriaBoolean } from "./aria.js";
|
|
|
6
6
|
const useReferenceElement = (options) => {
|
|
7
7
|
const { manager } = options;
|
|
8
8
|
return makeGenericController((component, controller) => {
|
|
9
|
-
let animationFrameId =
|
|
10
|
-
let lastRegisteredReferenceEl =
|
|
9
|
+
let animationFrameId = null;
|
|
10
|
+
let lastRegisteredReferenceEl = null;
|
|
11
11
|
const canManageReferenceElement = (referenceEl) => {
|
|
12
12
|
return Boolean(referenceEl && component.referenceElementType);
|
|
13
13
|
};
|
|
@@ -24,12 +24,12 @@ const useReferenceElement = (options) => {
|
|
|
24
24
|
}
|
|
25
25
|
manager.unregisterElement(component, referenceEl);
|
|
26
26
|
if (lastRegisteredReferenceEl === referenceEl) {
|
|
27
|
-
lastRegisteredReferenceEl =
|
|
27
|
+
lastRegisteredReferenceEl = null;
|
|
28
28
|
}
|
|
29
29
|
};
|
|
30
30
|
const getReferenceElement = (component2) => {
|
|
31
31
|
const { referenceElement, el } = component2;
|
|
32
|
-
return (typeof referenceElement === "string" ? queryElementRoots(el, { id: referenceElement }) : referenceElement) ||
|
|
32
|
+
return (typeof referenceElement === "string" ? queryElementRoots(el, { id: referenceElement }) : referenceElement) || null;
|
|
33
33
|
};
|
|
34
34
|
const setUpReferenceElement = (warn = true) => {
|
|
35
35
|
if (!component.referenceElementType) {
|
|
@@ -74,7 +74,7 @@ const useReferenceElement = (options) => {
|
|
|
74
74
|
controller.onDisconnected(() => {
|
|
75
75
|
if (animationFrameId != null) {
|
|
76
76
|
cancelAnimationFrame(animationFrameId);
|
|
77
|
-
animationFrameId =
|
|
77
|
+
animationFrameId = null;
|
|
78
78
|
}
|
|
79
79
|
unregisterReferenceElement(lastRegisteredReferenceEl);
|
|
80
80
|
});
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
+
const CSS = {
|
|
3
|
+
actionsEnd: "actions-end",
|
|
4
|
+
actionsStart: "actions-start",
|
|
5
|
+
description: "description",
|
|
6
|
+
close: "close",
|
|
7
|
+
container: "container",
|
|
8
|
+
containerHover: "container--hover",
|
|
9
|
+
containerBorder: "container--border",
|
|
10
|
+
containerBorderSelected: "container--border-selected",
|
|
11
|
+
containerHighlightSelected: "container--highlight-selected",
|
|
12
|
+
content: "content",
|
|
13
|
+
contentBottom: "content-bottom",
|
|
14
|
+
contentContainer: "content-container",
|
|
15
|
+
contentContainerHasCenterContent: "content-container--has-center-content",
|
|
16
|
+
contentContainerSelectable: "content-container--selectable",
|
|
17
|
+
contentContainerUnavailable: "content-container--unavailable",
|
|
18
|
+
contentContainerWrapper: "content-container-wrapper",
|
|
19
|
+
contentContainerWrapperBordered: "content-container-wrapper--bordered",
|
|
20
|
+
contentEnd: "content-end",
|
|
21
|
+
contentStart: "content-start",
|
|
22
|
+
customContent: "custom-content",
|
|
23
|
+
expandedContainer: "expanded-container",
|
|
24
|
+
dragContainer: "drag-container",
|
|
25
|
+
gridCell: "grid-cell",
|
|
26
|
+
icon: "icon",
|
|
27
|
+
nestedContainer: "nested-container",
|
|
28
|
+
nestedContainerExpanded: "nested-container--expanded",
|
|
29
|
+
label: "label",
|
|
30
|
+
row: "row",
|
|
31
|
+
selectionContainer: "selection-container",
|
|
32
|
+
selectionContainerSingle: "selection-container--single",
|
|
33
|
+
wrapper: "wrapper",
|
|
34
|
+
wrapperBordered: "wrapper--bordered"
|
|
35
|
+
};
|
|
36
|
+
const SLOTS = {
|
|
37
|
+
actionsStart: "actions-start",
|
|
38
|
+
contentStart: "content-start",
|
|
39
|
+
content: "content",
|
|
40
|
+
contentBottom: "content-bottom",
|
|
41
|
+
contentEnd: "content-end",
|
|
42
|
+
actionsEnd: "actions-end"
|
|
43
|
+
};
|
|
44
|
+
const MAX_COLUMNS = 0;
|
|
45
|
+
const ICONS = {
|
|
46
|
+
selectedMultiple: "check-square-f",
|
|
47
|
+
selectedSingle: "circle-inset-large",
|
|
48
|
+
unselectedMultiple: "square",
|
|
49
|
+
unselectedSingle: "circle",
|
|
50
|
+
collapsedLTR: "chevron-right",
|
|
51
|
+
collapsedRTL: "chevron-left",
|
|
52
|
+
open: "chevron-down",
|
|
53
|
+
blank: "blank",
|
|
54
|
+
close: "x"
|
|
55
|
+
};
|
|
56
|
+
const activeCellTestAttribute = "data-test-active";
|
|
57
|
+
export {
|
|
58
|
+
CSS as C,
|
|
59
|
+
ICONS as I,
|
|
60
|
+
MAX_COLUMNS as M,
|
|
61
|
+
SLOTS as S,
|
|
62
|
+
activeCellTestAttribute as a
|
|
63
|
+
};
|
|
@@ -1,62 +1,37 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
const ComboboxItemSelector = "CALCITE-COMBOBOX-ITEM";
|
|
3
|
-
const ComboboxItemGroupSelector = "CALCITE-COMBOBOX-ITEM-GROUP";
|
|
4
|
-
const AllComboboxChildrenSelector = `${ComboboxItemSelector}, ${ComboboxItemGroupSelector}`;
|
|
5
2
|
const CSS = {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
floatingUIContainer: "floating-ui-container",
|
|
23
|
-
screenReadersOnly: "screen-readers-only",
|
|
24
|
-
wrapper: "wrapper",
|
|
25
|
-
wrapperSingle: "wrapper--single",
|
|
26
|
-
wrapperActive: "wrapper--active",
|
|
27
|
-
gridInput: "grid-input",
|
|
28
|
-
inputSingle: "input--single",
|
|
29
|
-
inputIcon: "input--icon",
|
|
30
|
-
inputWrap: "input-wrap",
|
|
31
|
-
inputWrapSingle: "input-wrap--single",
|
|
32
|
-
iconEnd: "icon-end",
|
|
33
|
-
iconStart: "icon-start",
|
|
34
|
-
list: "list",
|
|
35
|
-
listHide: "list--hide",
|
|
36
|
-
disabled: "disabled"
|
|
3
|
+
title: "title",
|
|
4
|
+
close: "close",
|
|
5
|
+
imageContainer: "image-container",
|
|
6
|
+
chipIcon: "chip-icon",
|
|
7
|
+
textSlotted: "text--slotted",
|
|
8
|
+
container: "container",
|
|
9
|
+
imageSlotted: "image--slotted",
|
|
10
|
+
closable: "closable",
|
|
11
|
+
multiple: "multiple",
|
|
12
|
+
single: "single",
|
|
13
|
+
selectable: "selectable",
|
|
14
|
+
selectIcon: "select-icon",
|
|
15
|
+
selectIconActive: "select-icon--active",
|
|
16
|
+
nonInteractive: "non-interactive",
|
|
17
|
+
isCircle: "is-circle",
|
|
18
|
+
selected: "selected"
|
|
37
19
|
};
|
|
38
|
-
const
|
|
39
|
-
|
|
40
|
-
validationMessage: "comboboxValidationMessage",
|
|
41
|
-
item: (id) => `${idPrefix}-item-${id}`,
|
|
42
|
-
chip: (id) => `${idPrefix}-chip-${id}`,
|
|
43
|
-
label: (id) => `${idPrefix}-label-${id}`,
|
|
44
|
-
listbox: (id) => `${idPrefix}-listbox-${id}`,
|
|
45
|
-
input: (id) => `${idPrefix}-input-${id}`
|
|
20
|
+
const SLOTS = {
|
|
21
|
+
image: "image"
|
|
46
22
|
};
|
|
47
23
|
const ICONS = {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
labelContent: "label-content"
|
|
24
|
+
close: "x",
|
|
25
|
+
checkedSingle: "circle-f",
|
|
26
|
+
uncheckedMultiple: "square",
|
|
27
|
+
checkedMultiple: "check-square-f"
|
|
53
28
|
};
|
|
29
|
+
function isChip(el) {
|
|
30
|
+
return el?.tagName === "CALCITE-CHIP";
|
|
31
|
+
}
|
|
54
32
|
export {
|
|
55
|
-
AllComboboxChildrenSelector as A,
|
|
56
33
|
CSS as C,
|
|
57
|
-
|
|
34
|
+
ICONS as I,
|
|
58
35
|
SLOTS as S,
|
|
59
|
-
|
|
60
|
-
ComboboxItemGroupSelector as b,
|
|
61
|
-
ICONS as c
|
|
36
|
+
isChip as i
|
|
62
37
|
};
|
|
@@ -1,59 +1,62 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
+
const ComboboxItemSelector = "CALCITE-COMBOBOX-ITEM";
|
|
3
|
+
const ComboboxItemGroupSelector = "CALCITE-COMBOBOX-ITEM-GROUP";
|
|
4
|
+
const AllComboboxChildrenSelector = `${ComboboxItemSelector}, ${ComboboxItemGroupSelector}`;
|
|
2
5
|
const CSS = {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
contentTop: "content-top",
|
|
7
|
-
header: "header",
|
|
8
|
-
headerContainer: "header-container",
|
|
9
|
-
headerContainerBorderEnd: "header-container--border-end",
|
|
10
|
-
headingTextContent: "heading-text-content",
|
|
11
|
-
heading: "heading",
|
|
12
|
-
description: "description",
|
|
13
|
-
headerContent: "header-content",
|
|
14
|
-
headerActions: "header-actions",
|
|
15
|
-
headerActionsEnd: "header-actions--end",
|
|
16
|
-
headerActionsStart: "header-actions--start",
|
|
6
|
+
allSelected: "all-selected",
|
|
7
|
+
chip: "chip",
|
|
8
|
+
chipInvisible: "chip--invisible",
|
|
17
9
|
icon: "icon",
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
10
|
+
input: "input",
|
|
11
|
+
inputHidden: "input--hidden",
|
|
12
|
+
label: "label",
|
|
13
|
+
labelIcon: "label--icon",
|
|
14
|
+
listContainer: "list-container",
|
|
15
|
+
noMatches: "no-matches",
|
|
16
|
+
noMatchesPlaceholder: "no-matches-placeholder",
|
|
17
|
+
placeholderIcon: "placeholder-icon",
|
|
18
|
+
selectAll: "select-all",
|
|
19
|
+
selectionDisplayFit: "selection-display--fit",
|
|
20
|
+
selectionDisplaySingle: "selection-display--single",
|
|
21
|
+
selectedIcon: "selected-icon",
|
|
22
|
+
floatingUIContainer: "floating-ui-container",
|
|
23
|
+
screenReadersOnly: "screen-readers-only",
|
|
24
|
+
wrapper: "wrapper",
|
|
25
|
+
wrapperSingle: "wrapper--single",
|
|
26
|
+
wrapperActive: "wrapper--active",
|
|
27
|
+
gridInput: "grid-input",
|
|
28
|
+
inputSingle: "input--single",
|
|
29
|
+
inputIcon: "input--icon",
|
|
30
|
+
inputWrap: "input-wrap",
|
|
31
|
+
inputWrapSingle: "input-wrap--single",
|
|
32
|
+
iconEnd: "icon-end",
|
|
33
|
+
iconStart: "icon-start",
|
|
34
|
+
list: "list",
|
|
35
|
+
listHide: "list--hide",
|
|
36
|
+
disabled: "disabled"
|
|
27
37
|
};
|
|
38
|
+
const idPrefix = "combobox";
|
|
28
39
|
const IDS = {
|
|
29
|
-
|
|
30
|
-
|
|
40
|
+
validationMessage: "comboboxValidationMessage",
|
|
41
|
+
item: (id) => `${idPrefix}-item-${id}`,
|
|
42
|
+
chip: (id) => `${idPrefix}-chip-${id}`,
|
|
43
|
+
label: (id) => `${idPrefix}-label-${id}`,
|
|
44
|
+
listbox: (id) => `${idPrefix}-listbox-${id}`,
|
|
45
|
+
input: (id) => `${idPrefix}-input-${id}`
|
|
31
46
|
};
|
|
32
47
|
const ICONS = {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
expand: "chevron-down",
|
|
36
|
-
collapse: "chevron-up"
|
|
48
|
+
chevronUp: "chevron-up",
|
|
49
|
+
chevronDown: "chevron-down"
|
|
37
50
|
};
|
|
38
51
|
const SLOTS = {
|
|
39
|
-
|
|
40
|
-
alerts: "alerts",
|
|
41
|
-
contentBottom: "content-bottom",
|
|
42
|
-
contentTop: "content-top",
|
|
43
|
-
headerActionsStart: "header-actions-start",
|
|
44
|
-
headerActionsEnd: "header-actions-end",
|
|
45
|
-
description: "description",
|
|
46
|
-
heading: "heading",
|
|
47
|
-
headerMenuActions: "header-menu-actions",
|
|
48
|
-
headerContent: "header-content",
|
|
49
|
-
fab: "fab",
|
|
50
|
-
footer: "footer",
|
|
51
|
-
footerEnd: "footer-end",
|
|
52
|
-
footerStart: "footer-start"
|
|
52
|
+
labelContent: "label-content"
|
|
53
53
|
};
|
|
54
54
|
export {
|
|
55
|
+
AllComboboxChildrenSelector as A,
|
|
55
56
|
CSS as C,
|
|
56
|
-
|
|
57
|
+
IDS as I,
|
|
57
58
|
SLOTS as S,
|
|
58
|
-
|
|
59
|
+
ComboboxItemSelector as a,
|
|
60
|
+
ComboboxItemGroupSelector as b,
|
|
61
|
+
ICONS as c
|
|
59
62
|
};
|
|
@@ -1,17 +1,59 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
2
|
const CSS = {
|
|
3
|
+
actionBarContainer: "action-bar-container",
|
|
3
4
|
container: "container",
|
|
4
|
-
|
|
5
|
+
contentBottom: "content-bottom",
|
|
6
|
+
contentTop: "content-top",
|
|
7
|
+
header: "header",
|
|
8
|
+
headerContainer: "header-container",
|
|
9
|
+
headerContainerBorderEnd: "header-container--border-end",
|
|
10
|
+
headingTextContent: "heading-text-content",
|
|
11
|
+
heading: "heading",
|
|
12
|
+
description: "description",
|
|
13
|
+
headerContent: "header-content",
|
|
14
|
+
headerActions: "header-actions",
|
|
15
|
+
headerActionsEnd: "header-actions--end",
|
|
16
|
+
headerActionsStart: "header-actions--start",
|
|
5
17
|
icon: "icon",
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
18
|
+
contentWrapper: "content-wrapper",
|
|
19
|
+
fabContainer: "fab-container",
|
|
20
|
+
footer: "footer",
|
|
21
|
+
footerContent: "footer-content",
|
|
22
|
+
footerStart: "footer-start",
|
|
23
|
+
footerEnd: "footer-end",
|
|
24
|
+
headerSlottedContent: "header--slotted-content",
|
|
25
|
+
headerNonSlottedContent: "header--non-slotted-content",
|
|
26
|
+
menuAction: "menu-action"
|
|
27
|
+
};
|
|
28
|
+
const IDS = {
|
|
29
|
+
close: "close",
|
|
30
|
+
collapse: "collapse"
|
|
10
31
|
};
|
|
11
32
|
const ICONS = {
|
|
12
|
-
|
|
33
|
+
close: "x",
|
|
34
|
+
menu: "ellipsis",
|
|
35
|
+
expand: "chevron-down",
|
|
36
|
+
collapse: "chevron-up"
|
|
37
|
+
};
|
|
38
|
+
const SLOTS = {
|
|
39
|
+
actionBar: "action-bar",
|
|
40
|
+
alerts: "alerts",
|
|
41
|
+
contentBottom: "content-bottom",
|
|
42
|
+
contentTop: "content-top",
|
|
43
|
+
headerActionsStart: "header-actions-start",
|
|
44
|
+
headerActionsEnd: "header-actions-end",
|
|
45
|
+
description: "description",
|
|
46
|
+
heading: "heading",
|
|
47
|
+
headerMenuActions: "header-menu-actions",
|
|
48
|
+
headerContent: "header-content",
|
|
49
|
+
fab: "fab",
|
|
50
|
+
footer: "footer",
|
|
51
|
+
footerEnd: "footer-end",
|
|
52
|
+
footerStart: "footer-start"
|
|
13
53
|
};
|
|
14
54
|
export {
|
|
15
55
|
CSS as C,
|
|
16
|
-
ICONS as I
|
|
56
|
+
ICONS as I,
|
|
57
|
+
SLOTS as S,
|
|
58
|
+
IDS as a
|
|
17
59
|
};
|
|
@@ -1,19 +1,17 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
2
|
const CSS = {
|
|
3
3
|
container: "container",
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
containerNone: "container--none-selection",
|
|
5
|
+
icon: "icon",
|
|
6
|
+
iconEnd: "icon--end",
|
|
7
|
+
iconStart: "icon--start",
|
|
8
|
+
itemContent: "content",
|
|
9
|
+
link: "link"
|
|
9
10
|
};
|
|
10
|
-
const
|
|
11
|
-
|
|
12
|
-
contentStart: "content-start",
|
|
13
|
-
contentEnd: "content-end",
|
|
14
|
-
actionsEnd: "actions-end"
|
|
11
|
+
const ICONS = {
|
|
12
|
+
check: "check"
|
|
15
13
|
};
|
|
16
14
|
export {
|
|
17
15
|
CSS as C,
|
|
18
|
-
|
|
16
|
+
ICONS as I
|
|
19
17
|
};
|
|
@@ -1,63 +1,19 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
2
|
const CSS = {
|
|
3
|
-
actionsEnd: "actions-end",
|
|
4
|
-
actionsStart: "actions-start",
|
|
5
|
-
description: "description",
|
|
6
|
-
close: "close",
|
|
7
3
|
container: "container",
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
containerBorderSelected: "container--border-selected",
|
|
11
|
-
containerHighlightSelected: "container--highlight-selected",
|
|
4
|
+
actionsStart: "actions-start",
|
|
5
|
+
contentStart: "content-start",
|
|
12
6
|
content: "content",
|
|
13
|
-
contentBottom: "content-bottom",
|
|
14
|
-
contentContainer: "content-container",
|
|
15
|
-
contentContainerHasCenterContent: "content-container--has-center-content",
|
|
16
|
-
contentContainerSelectable: "content-container--selectable",
|
|
17
|
-
contentContainerUnavailable: "content-container--unavailable",
|
|
18
|
-
contentContainerWrapper: "content-container-wrapper",
|
|
19
|
-
contentContainerWrapperBordered: "content-container-wrapper--bordered",
|
|
20
7
|
contentEnd: "content-end",
|
|
21
|
-
|
|
22
|
-
customContent: "custom-content",
|
|
23
|
-
expandedContainer: "expanded-container",
|
|
24
|
-
dragContainer: "drag-container",
|
|
25
|
-
gridCell: "grid-cell",
|
|
26
|
-
icon: "icon",
|
|
27
|
-
nestedContainer: "nested-container",
|
|
28
|
-
nestedContainerExpanded: "nested-container--expanded",
|
|
29
|
-
label: "label",
|
|
30
|
-
row: "row",
|
|
31
|
-
selectionContainer: "selection-container",
|
|
32
|
-
selectionContainerSingle: "selection-container--single",
|
|
33
|
-
wrapper: "wrapper",
|
|
34
|
-
wrapperBordered: "wrapper--bordered"
|
|
8
|
+
actionsEnd: "actions-end"
|
|
35
9
|
};
|
|
36
10
|
const SLOTS = {
|
|
37
11
|
actionsStart: "actions-start",
|
|
38
12
|
contentStart: "content-start",
|
|
39
|
-
content: "content",
|
|
40
|
-
contentBottom: "content-bottom",
|
|
41
13
|
contentEnd: "content-end",
|
|
42
14
|
actionsEnd: "actions-end"
|
|
43
15
|
};
|
|
44
|
-
const MAX_COLUMNS = 0;
|
|
45
|
-
const ICONS = {
|
|
46
|
-
selectedMultiple: "check-square-f",
|
|
47
|
-
selectedSingle: "circle-inset-large",
|
|
48
|
-
unselectedMultiple: "square",
|
|
49
|
-
unselectedSingle: "circle",
|
|
50
|
-
collapsedLTR: "chevron-right",
|
|
51
|
-
collapsedRTL: "chevron-left",
|
|
52
|
-
open: "chevron-down",
|
|
53
|
-
blank: "blank",
|
|
54
|
-
close: "x"
|
|
55
|
-
};
|
|
56
|
-
const activeCellTestAttribute = "data-test-active";
|
|
57
16
|
export {
|
|
58
17
|
CSS as C,
|
|
59
|
-
|
|
60
|
-
MAX_COLUMNS as M,
|
|
61
|
-
SLOTS as S,
|
|
62
|
-
activeCellTestAttribute as a
|
|
18
|
+
SLOTS as S
|
|
63
19
|
};
|
package/dist/chunks/runtime.js
CHANGED
|
@@ -60,9 +60,9 @@ function getConfig() {
|
|
|
60
60
|
}
|
|
61
61
|
return effectiveConfig;
|
|
62
62
|
}
|
|
63
|
-
const version = "5.1.1
|
|
64
|
-
const buildDate = "2026-06-
|
|
65
|
-
const revision = "
|
|
63
|
+
const version = "5.1.1";
|
|
64
|
+
const buildDate = "2026-06-10";
|
|
65
|
+
const revision = "c8db0a41f";
|
|
66
66
|
function stampVersion() {
|
|
67
67
|
const config = getConfig();
|
|
68
68
|
if (config && config.version) {
|
|
@@ -85,7 +85,7 @@ if (!isServer) {
|
|
|
85
85
|
if (process.env.NODE_ENV !== "test") {
|
|
86
86
|
queueMicrotask(stampVersion);
|
|
87
87
|
}
|
|
88
|
-
const runtime = makeRuntime({ defaultAssetPath: "https://
|
|
88
|
+
const runtime = makeRuntime({ defaultAssetPath: "https://js.arcgis.com/calcite-components/5.1.1/", hydratedAttribute: "calcite-hydrated" });
|
|
89
89
|
const { customElement, getAssetPath, setAssetPath } = runtime;
|
|
90
90
|
export {
|
|
91
91
|
CSS_UTILITY as C,
|