@esri/calcite-components 5.1.0-next.34 → 5.1.0-next.36
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/{R7UF73AL.js → 2I2BWUWM.js} +1 -1
- package/dist/cdn/{RA7YS6IO.js → 33RKPTLX.js} +1 -1
- package/dist/cdn/{ZGY64XV6.js → 342JL462.js} +1 -1
- package/dist/cdn/{47LRYR3S.js → 347EUANP.js} +1 -1
- package/dist/cdn/{E3YD4LHW.js → 34VD4DNC.js} +1 -1
- package/dist/cdn/{ZM35NXCT.js → 3C2N5W37.js} +1 -1
- package/dist/cdn/{2ZN7HVMH.js → 3CFGYORF.js} +1 -1
- package/dist/cdn/{ROVNMWWC.js → 3DVE6LON.js} +1 -1
- package/dist/cdn/{HLB5ZQUW.js → 3LMY4FJR.js} +1 -1
- package/dist/cdn/{GR56RSKN.js → 3SPCI42M.js} +1 -1
- package/dist/cdn/{E23OVPU4.js → 3W662BCH.js} +1 -1
- package/dist/cdn/{LVCOTZDU.js → 4AHN4LIQ.js} +1 -1
- package/dist/cdn/{DBBGXBKT.js → 4B5ZQQMJ.js} +1 -1
- package/dist/cdn/{WSICGGSM.js → 4YWELQAS.js} +1 -1
- package/dist/cdn/{YQ3YHNSK.js → 5AWBMWTM.js} +1 -1
- package/dist/cdn/{Y7JAGE75.js → 5RT5YZZQ.js} +1 -1
- package/dist/cdn/{BU5RUYYD.js → 5TIUMVFA.js} +1 -1
- package/dist/cdn/{J37HQUAM.js → 64N3CQMN.js} +1 -1
- package/dist/cdn/{IRU7UXXP.js → 67JUPPKR.js} +1 -1
- package/dist/cdn/{N3QN62I3.js → 6ACCMZY6.js} +1 -1
- package/dist/cdn/{T7QGPJP6.js → 6DCANERE.js} +1 -1
- package/dist/cdn/{XS6NZJ63.js → 6PFYLLY6.js} +1 -1
- package/dist/cdn/{JE3IWDOH.js → 6SCVUQFX.js} +1 -1
- package/dist/cdn/7A2VSITN.js +2 -0
- package/dist/cdn/{NUVFDFNS.js → 7D5UY5U5.js} +1 -1
- package/dist/cdn/{45FXARSG.js → 7MPVEXZL.js} +1 -1
- package/dist/cdn/{KZF6FFGY.js → A7AFK56X.js} +1 -1
- package/dist/cdn/{NDRALGER.js → AGFCZRSI.js} +1 -1
- package/dist/cdn/{47M7GORB.js → AILCHCDD.js} +1 -1
- package/dist/cdn/{AEXNWQ3G.js → AKFT76Z2.js} +1 -1
- package/dist/cdn/{LZU35ECK.js → AQY55P3T.js} +1 -1
- package/dist/cdn/{KWVSQRHD.js → ASFFW3D2.js} +1 -1
- package/dist/cdn/{UF5527MI.js → AV22E3UJ.js} +1 -1
- package/dist/cdn/{I5YU26NY.js → AYLACTJ3.js} +1 -1
- package/dist/cdn/{32HJJDMR.js → BOVLTEL3.js} +1 -1
- package/dist/cdn/{RF57MW6F.js → BRGLXJKT.js} +1 -1
- package/dist/cdn/{C4GLQNR7.js → CC3DPPJJ.js} +1 -1
- package/dist/cdn/{6E4QQJ7G.js → CEEJFMB5.js} +1 -1
- package/dist/cdn/{BL5YVZSZ.js → CGXAVJ2P.js} +1 -1
- package/dist/cdn/{5MSBW5JG.js → CLR46VO2.js} +1 -1
- package/dist/cdn/{4Z353ISH.js → DDCFYA4U.js} +1 -1
- package/dist/cdn/{67KEEJNC.js → DVRLPGE6.js} +1 -1
- package/dist/cdn/{FAYLGE2I.js → EAPNJLZY.js} +1 -1
- package/dist/cdn/{JTI22GVN.js → EAT4WJGR.js} +1 -1
- package/dist/cdn/{OB6H5462.js → EU6PNF2I.js} +1 -1
- package/dist/cdn/{HFGXZFUI.js → F2TJH37M.js} +1 -1
- package/dist/cdn/{4KDO2SUW.js → F5BFM4RC.js} +1 -1
- package/dist/cdn/{ZSCQRZCX.js → FE7XZX3X.js} +1 -1
- package/dist/cdn/{ILWPJRTL.js → FKAIPGEC.js} +1 -1
- package/dist/cdn/{YBREYG3F.js → FX5LJ6S6.js} +1 -1
- package/dist/cdn/{KPIWLJQQ.js → FXFKSEVQ.js} +1 -1
- package/dist/cdn/{4GDLUPVP.js → FYUZRWPL.js} +1 -1
- package/dist/cdn/{5YWNO5J6.js → GA2QQBED.js} +1 -1
- package/dist/cdn/{BEC5EYOB.js → GNZQYMTC.js} +1 -1
- package/dist/cdn/{DNLCJQ65.js → HFBNKL5O.js} +1 -1
- package/dist/cdn/{DAF4H4KZ.js → HKR4MTEQ.js} +1 -1
- package/dist/cdn/{II362AVZ.js → HQSDXAP5.js} +1 -1
- package/dist/cdn/{FGKBQXQJ.js → HTYU3DMB.js} +1 -1
- package/dist/cdn/{MMBTTGUT.js → I3YVCKFZ.js} +1 -1
- package/dist/cdn/{YFKY6GWB.js → IKAKBFWP.js} +1 -1
- package/dist/cdn/{MN7W275V.js → IPOXFFZK.js} +1 -1
- package/dist/cdn/{FVXTFUCY.js → ISAP4O2X.js} +1 -1
- package/dist/cdn/{LQS5562U.js → ISAP4OGZ.js} +1 -1
- package/dist/cdn/{2HIALXCM.js → ITC5PJNC.js} +1 -1
- package/dist/cdn/{U5MICZCF.js → IVNA6E7X.js} +1 -1
- package/dist/cdn/{AKZOGPSI.js → J6SD6MWT.js} +1 -1
- package/dist/cdn/{L6J626M2.js → JBYB66QO.js} +1 -1
- package/dist/cdn/{C5BLTLCK.js → JIXPRIRL.js} +1 -1
- package/dist/cdn/{ZSLQBHBP.js → JKV5WJ6G.js} +1 -1
- package/dist/cdn/{RAUSCW4M.js → JLGNLUGT.js} +1 -1
- package/dist/cdn/{YQPTCGTX.js → KE3WGCPA.js} +1 -1
- package/dist/cdn/{R6YNMI6N.js → KPHCQ2Z7.js} +1 -1
- package/dist/cdn/{IOZFQTKN.js → KZJSUZ4D.js} +1 -1
- package/dist/cdn/{UYEEQGDR.js → L5PI5VRQ.js} +1 -1
- package/dist/cdn/{2VILPMTG.js → L62AD33H.js} +1 -1
- package/dist/cdn/{EYRYXRNL.js → LHURID62.js} +1 -1
- package/dist/cdn/{4VJL3WYF.js → LM3EYRD7.js} +1 -1
- package/dist/cdn/{QMXKFUPW.js → LO3IKOGR.js} +1 -1
- package/dist/cdn/{WI5NWD5C.js → LQXEFIQC.js} +1 -1
- package/dist/cdn/{W2YLX3XL.js → LYIDW62R.js} +1 -1
- package/dist/cdn/{JVDLCGOM.js → MRQCBAX5.js} +1 -1
- package/dist/cdn/{C4TO4HRC.js → MSRNGOSM.js} +1 -1
- package/dist/cdn/{AMUVDUTU.js → MXHUJP62.js} +1 -1
- package/dist/cdn/{GVJLY7KQ.js → MXZZFWFC.js} +1 -1
- package/dist/cdn/{LFDNNWJC.js → MZS3SSUW.js} +1 -1
- package/dist/cdn/{FIXZHQJO.js → N62Z3QQ5.js} +1 -1
- package/dist/cdn/{DCND2D2I.js → N7YRTBSI.js} +1 -1
- package/dist/cdn/{W3RNV57S.js → NJDBEKTR.js} +1 -1
- package/dist/cdn/{UZMUWMQJ.js → NMHVE545.js} +1 -1
- package/dist/cdn/{DJIELT3R.js → NRVEMHUH.js} +1 -1
- package/dist/cdn/{RFEZWE6J.js → O3M5STZY.js} +1 -1
- package/dist/cdn/{7Y5YVF2S.js → O56YA2RV.js} +1 -1
- package/dist/cdn/{V24TZQWM.js → OI7NFZGA.js} +1 -1
- package/dist/cdn/{INWKQ6WU.js → OOCIZHN5.js} +1 -1
- package/dist/cdn/{T73F4U47.js → OXYIFMOB.js} +1 -1
- package/dist/cdn/{3W76GO5A.js → PJAU2PRQ.js} +1 -1
- package/dist/cdn/{3XIBDF37.js → PK33WP47.js} +1 -1
- package/dist/cdn/{HGRDT75X.js → PQIFHZY7.js} +1 -1
- package/dist/cdn/{UGXI2OYF.js → PVEYKPPJ.js} +1 -1
- package/dist/cdn/{C6ZJUBC7.js → PZ2J32R5.js} +1 -1
- package/dist/cdn/{7Y2N3CJC.js → QAM6C7HI.js} +1 -1
- package/dist/cdn/{YCVSQZ7Y.js → QTKPK2R5.js} +1 -1
- package/dist/cdn/{QRQG5EQP.js → QYRQKGOE.js} +1 -1
- package/dist/cdn/{V5ZE56MG.js → QZSXGE7H.js} +1 -1
- package/dist/cdn/{XX5HPQXN.js → R422V6KL.js} +1 -1
- package/dist/cdn/{WPUSVKPP.js → RLD3UHUK.js} +1 -1
- package/dist/cdn/{YLWGVGH5.js → SIRYOYPT.js} +1 -1
- package/dist/cdn/{3DAYTR64.js → SQ7ABHB3.js} +1 -1
- package/dist/cdn/{OQ7CKQ7N.js → SYIKGBAP.js} +1 -1
- package/dist/cdn/{RLMPLBXJ.js → T52BYKLM.js} +1 -1
- package/dist/cdn/{ORLGGN4K.js → T6EYDVJ5.js} +1 -1
- package/dist/cdn/{PRTWOUKI.js → TGKPF53X.js} +1 -1
- package/dist/cdn/{BZG5QQ4P.js → TIL4NJRK.js} +1 -1
- package/dist/cdn/{HNF5VXY4.js → TK4E5EPE.js} +1 -1
- package/dist/cdn/{UTJTGT76.js → TQTBC76T.js} +1 -1
- package/dist/cdn/{26BHFCEU.js → UGMCVJYN.js} +1 -1
- package/dist/cdn/{DSRZBZAU.js → UQKIE6DY.js} +1 -1
- package/dist/cdn/{AJXLATHT.js → UQZWJ2ZS.js} +1 -1
- package/dist/cdn/{OMTVBAQB.js → V2IE6K6Z.js} +1 -1
- package/dist/cdn/{BF5JQYJO.js → V7GK3H5N.js} +1 -1
- package/dist/cdn/{ZNB7RHFD.js → VND5Q37U.js} +1 -1
- package/dist/cdn/{O57P3KEX.js → VXPO56N3.js} +1 -1
- package/dist/cdn/{TV2FOAQO.js → VXWH3XHN.js} +1 -1
- package/dist/cdn/{YXJVEFPS.js → W5IPGDOR.js} +1 -1
- package/dist/cdn/{W7ZJXPTK.js → W7WIQ33N.js} +1 -1
- package/dist/cdn/{QDXLSZ3K.js → WTXBV725.js} +1 -1
- package/dist/cdn/{V3U24TDX.js → WWI2N2D3.js} +1 -1
- package/dist/cdn/{URPRIU2P.js → WWYE3M32.js} +1 -1
- package/dist/cdn/{5YDESOWI.js → X2LRBOKB.js} +1 -1
- package/dist/cdn/{RURMDQ7T.js → XFUIPSSY.js} +1 -1
- package/dist/cdn/{IAG4SFVQ.js → XIWKEFUJ.js} +1 -1
- package/dist/cdn/{EYI32666.js → XNTRZ426.js} +1 -1
- package/dist/cdn/{XGS27HC4.js → XNVDK2DB.js} +1 -1
- package/dist/cdn/{QECO2SDQ.js → XQYF5D75.js} +1 -1
- package/dist/cdn/{52OXBCSS.js → XXU2TOZD.js} +1 -1
- package/dist/cdn/{UVJIKCUG.js → YVBAUWVS.js} +1 -1
- package/dist/cdn/{BHFFH6RC.js → YVXCQHUS.js} +1 -1
- package/dist/cdn/{JBHZI7VX.js → Z5HLE2OT.js} +1 -1
- package/dist/cdn/{7MOUINWT.js → ZEH3I4IH.js} +1 -1
- package/dist/cdn/{GTXEA3QA.js → ZKCMDJAC.js} +1 -1
- package/dist/cdn/{DRYPCGDI.js → ZQS4IK4N.js} +1 -1
- package/dist/cdn/{CN6MBBO3.js → ZSK3FPQP.js} +1 -1
- package/dist/cdn/{BQI6SME7.js → ZVVZUYA2.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/runtime.js +4 -4
- package/dist/chunks/useSortable.js +4 -1
- package/dist/components/calcite-action/customElement.d.ts +2 -0
- package/dist/components/calcite-block-group/customElement.js +2 -9
- package/dist/components/calcite-button/customElement.d.ts +1 -1
- package/dist/components/calcite-list/customElement.js +1 -4
- package/dist/components/calcite-sheet/customElement.js +1 -5
- package/dist/components/calcite-shell-panel/customElement.js +3 -0
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/package.json +4 -4
- package/dist/cdn/32MQX3VD.js +0 -2
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.0-next.
|
|
64
|
-
const buildDate = "2026-04-
|
|
65
|
-
const revision = "
|
|
63
|
+
const version = "5.1.0-next.36";
|
|
64
|
+
const buildDate = "2026-04-20";
|
|
65
|
+
const revision = "46da5a125";
|
|
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://cdn.jsdelivr.net/npm/@esri/calcite-components@5.1.0-next.
|
|
88
|
+
const runtime = makeRuntime({ defaultAssetPath: "https://cdn.jsdelivr.net/npm/@esri/calcite-components@5.1.0-next.36/dist/cdn/", hydratedAttribute: "calcite-hydrated" });
|
|
89
89
|
const { customElement, getAssetPath, setAssetPath } = runtime;
|
|
90
90
|
export {
|
|
91
91
|
CSS_UTILITY as C,
|
|
@@ -80,11 +80,14 @@ const useSortable = () => {
|
|
|
80
80
|
function dragActive(component2) {
|
|
81
81
|
return component2.dragEnabled && globalDragState.active;
|
|
82
82
|
}
|
|
83
|
-
|
|
83
|
+
function setUpSortable(component2) {
|
|
84
84
|
if (dragActive(component2)) {
|
|
85
85
|
return;
|
|
86
86
|
}
|
|
87
87
|
tearDownSortable(component2);
|
|
88
|
+
if (!component2.dragEnabled) {
|
|
89
|
+
return;
|
|
90
|
+
}
|
|
88
91
|
sortableComponentSet.add(component2);
|
|
89
92
|
sortable = createSortable(component2);
|
|
90
93
|
}
|
|
@@ -99,6 +99,8 @@ export abstract class Action extends LitElement {
|
|
|
99
99
|
/**
|
|
100
100
|
* When `true`, displays `text` adjacent to the `icon`.
|
|
101
101
|
*
|
|
102
|
+
* When `true` and the component is used as a child of `calcite-action-bar`, the text will be shown initially regardless of the parent components `expanded` state.
|
|
103
|
+
*
|
|
102
104
|
* @default false
|
|
103
105
|
*/
|
|
104
106
|
accessor textEnabled: boolean;
|
|
@@ -74,7 +74,7 @@ class BlockGroup extends LitElement {
|
|
|
74
74
|
super.connectedCallback();
|
|
75
75
|
this.connectObserver();
|
|
76
76
|
this.updateBlockItemsDebounced();
|
|
77
|
-
this.
|
|
77
|
+
this.sortable.reset();
|
|
78
78
|
this.setParentBlockGroup();
|
|
79
79
|
this.cancelable.add(this.updateBlockItemsDebounced);
|
|
80
80
|
}
|
|
@@ -118,7 +118,7 @@ class BlockGroup extends LitElement {
|
|
|
118
118
|
item.sortDisabled = sortDisabled;
|
|
119
119
|
}
|
|
120
120
|
});
|
|
121
|
-
this.
|
|
121
|
+
this.sortable.reset();
|
|
122
122
|
}
|
|
123
123
|
updateGroupItems() {
|
|
124
124
|
const { el, group } = this;
|
|
@@ -161,13 +161,6 @@ class BlockGroup extends LitElement {
|
|
|
161
161
|
disconnectObserver() {
|
|
162
162
|
this.mutationObserver?.disconnect();
|
|
163
163
|
}
|
|
164
|
-
setUpSorting() {
|
|
165
|
-
const { dragEnabled } = this;
|
|
166
|
-
if (!dragEnabled) {
|
|
167
|
-
return;
|
|
168
|
-
}
|
|
169
|
-
this.sortable.reset();
|
|
170
|
-
}
|
|
171
164
|
onGlobalDragStart() {
|
|
172
165
|
this.disconnectObserver();
|
|
173
166
|
}
|
|
@@ -20,7 +20,7 @@ import type { ButtonAlignment } from "./interfaces.js";
|
|
|
20
20
|
*/
|
|
21
21
|
export abstract class Button extends LitElement {
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* When `width` is not `"auto"`, specifies the alignment of the component's elements.
|
|
24
24
|
*
|
|
25
25
|
* @default "center"
|
|
26
26
|
*/
|
|
@@ -336,10 +336,7 @@ class List extends LitElement {
|
|
|
336
336
|
}
|
|
337
337
|
setUpSorting() {
|
|
338
338
|
const { dragEnabled, defaultSlotEl } = this;
|
|
339
|
-
if (
|
|
340
|
-
return;
|
|
341
|
-
}
|
|
342
|
-
if (defaultSlotEl) {
|
|
339
|
+
if (dragEnabled && defaultSlotEl) {
|
|
343
340
|
updateListItemChildren(defaultSlotEl);
|
|
344
341
|
}
|
|
345
342
|
this.sortable.reset();
|
|
@@ -144,7 +144,7 @@ class Sheet extends LitElement {
|
|
|
144
144
|
if (changes.has("opened") && (this.hasUpdated || this.opened !== false) && this.transitionRef.value) {
|
|
145
145
|
toggleOpenClose(this);
|
|
146
146
|
}
|
|
147
|
-
if (changes.has("open") && (this.hasUpdated || this.open !== false) || changes.has("position") && (this.hasUpdated || this.position !== "inline-start") || changes.has("resizable") && (this.hasUpdated || this.resizable !== false)) {
|
|
147
|
+
if (changes.has("open") && (this.hasUpdated || this.open !== false) || changes.has("position") && (this.hasUpdated || this.position !== "inline-start") || changes.has("resizable") && (this.hasUpdated || this.resizable !== false) || changes.has("direction")) {
|
|
148
148
|
this.setupInteractions();
|
|
149
149
|
}
|
|
150
150
|
if (this.contentRef.value) {
|
|
@@ -232,10 +232,6 @@ class Sheet extends LitElement {
|
|
|
232
232
|
}
|
|
233
233
|
cleanupInteractions() {
|
|
234
234
|
this.interaction?.unset();
|
|
235
|
-
this.updateSizeInternal({
|
|
236
|
-
inline: null,
|
|
237
|
-
block: null
|
|
238
|
-
});
|
|
239
235
|
}
|
|
240
236
|
async setupInteractions() {
|
|
241
237
|
this.cleanupInteractions();
|