@leavepulse/ui 0.72.0 → 0.72.2
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/assets/{LpKeys-BxRhfQda.css → LpKeys-C5VMcBOW.css} +10 -5
- package/dist/chunks/{DropzoneLinkField-D2Rnkcys.js → DropzoneLinkField-CvyzXHdc.js} +2 -2
- package/dist/chunks/{FieldWrapper-DnA1rxZ8.js → FieldWrapper-DeOZzjBM.js} +1 -1
- package/dist/chunks/{LpActionBar-DfiBL1dE.js → LpActionBar-DZP0IpXS.js} +2 -2
- package/dist/chunks/{LpAddressInput-B1bB3F6M.js → LpAddressInput-q8Vu3M8z.js} +3 -3
- package/dist/chunks/{LpAlert-CpRF9eYr.js → LpAlert-CGeYc3fe.js} +2 -2
- package/dist/chunks/{LpAppShell-D8Q0Jv9d.js → LpAppShell-oB-QWu74.js} +4 -4
- package/dist/chunks/{LpBadge-vtCpsDmv.js → LpBadge-BVDOfrqI.js} +1 -1
- package/dist/chunks/{LpBottomNav-VXJf0cKc.js → LpBottomNav-w_5LKno0.js} +1 -1
- package/dist/chunks/{LpBreadcrumbs-BdzjQcql.js → LpBreadcrumbs-DJvcYVPM.js} +1 -1
- package/dist/chunks/{LpButton-Dk7eT4ro.js → LpButton-Cse4COe7.js} +1 -1
- package/dist/chunks/{LpCard-Ce3rw8zm.js → LpCard-BoB-UqzE.js} +1 -1
- package/dist/chunks/{LpCheckbox-DLX4amba.js → LpCheckbox-B6lfW2GC.js} +1 -1
- package/dist/chunks/{LpCodeBlock-j0W5bpmF.js → LpCodeBlock-BjptdRIt.js} +1 -1
- package/dist/chunks/{LpCodeDisplay-COdiv4xu.js → LpCodeDisplay-BkVeLcLM.js} +4 -4
- package/dist/chunks/{LpConfirmDialog-w1ni5nxh.js → LpConfirmDialog-DqsrdJSK.js} +1 -1
- package/dist/chunks/{LpConfirmHost-Br_-Gn-6.js → LpConfirmHost-BT8iDrWb.js} +1 -1
- package/dist/chunks/{LpCopyButton-DaD1KCn6.js → LpCopyButton-DhptBlXE.js} +1 -1
- package/dist/chunks/{LpCountdown-Cgy0mVEq.js → LpCountdown-9QnxUFXk.js} +1 -1
- package/dist/chunks/{LpDataList-CkcGFJgv.js → LpDataList-_D19wjXa.js} +1 -1
- package/dist/chunks/{LpEditable-D3PvD6Zm.js → LpEditable-BdjKjOMG.js} +2 -2
- package/dist/chunks/{LpFileTree-D7KTaJiM.js → LpFileTree-Cnw35H2X.js} +1 -1
- package/dist/chunks/{LpFileTreeNode-14GVqQTd.js → LpFileTreeNode-DR3YPYFb.js} +3 -3
- package/dist/chunks/{LpFormField-MSQhRCTz.js → LpFormField-CjnOXjFq.js} +1 -1
- package/dist/chunks/{LpHintLayer-CmYm37z7.js → LpHintLayer-DWWn7Xm2.js} +2 -2
- package/dist/chunks/{LpHints-iLIRUkCj.js → LpHints-Ctl4p_tS.js} +3 -3
- package/dist/chunks/{LpInfraNode-BT0VQrOa.js → LpInfraNode-CZrDvfnL.js} +2 -2
- package/dist/chunks/{LpInput-1eNvtzXs.js → LpInput-D9uwTIqP.js} +1 -1
- package/dist/chunks/{LpLightbox-DWw6OSA4.js → LpLightbox-DlNPihiz.js} +2 -2
- package/dist/chunks/{LpLoader-B82_CcV0.js → LpLoader-DBVl6KDH.js} +1 -1
- package/dist/chunks/{LpLogViewer-pzanZASC.js → LpLogViewer-By_fmDpN.js} +3 -3
- package/dist/chunks/{LpMapPicker-DNIUvF6V.js → LpMapPicker-CmuOTS7N.js} +1 -1
- package/dist/chunks/{LpMediaGallery-Dx8xzg5N.js → LpMediaGallery-Dh5ONZt1.js} +1 -1
- package/dist/chunks/{LpModalNav-Cu04W1pV.js → LpModalNav-CThPOPAF.js} +2 -2
- package/dist/chunks/{LpNotificationBell-PSQqFqEv.js → LpNotificationBell-674IgUph.js} +3 -3
- package/dist/chunks/{LpPaletteTheme-D05ywM1W.js → LpPaletteTheme-hsYXczIM.js} +3 -3
- package/dist/chunks/{LpPasswordInput-vdcw-koG.js → LpPasswordInput-DNCvyY6N.js} +2 -2
- package/dist/chunks/{LpPie-BlWDxCtG.js → LpPie-DCpGXbRS.js} +2 -2
- package/dist/chunks/{LpPipeline-BXjoxkq_.js → LpPipeline-wh1SzEHF.js} +2 -2
- package/dist/chunks/{LpRepeater-fliVBcN7.js → LpRepeater-BnOQXjWo.js} +2 -2
- package/dist/chunks/{LpScramble-Cw-af0Yh.js → LpScramble-INTKwGsY.js} +1 -1
- package/dist/chunks/{LpSecretField-D_IMxEGW.js → LpSecretField-Ck0Mx6xx.js} +6 -6
- package/dist/chunks/{LpShift-BAp8lGoa.js → LpShift-DLU4_TFf.js} +17 -7
- package/dist/chunks/{LpSidebar-BftYsk5d.js → LpSidebar-DVPinvaL.js} +2 -2
- package/dist/chunks/{LpSidebarNav-BzNWMZfc.js → LpSidebarNav-BBj2_6jV.js} +14 -4
- package/dist/chunks/{LpSidebarRow-BIReMT1f.js → LpSidebarRow-C81reNEm.js} +5 -3
- package/dist/chunks/{LpStat-BFCM6fUn.js → LpStat-tq-f6ZzL.js} +1 -1
- package/dist/chunks/{LpStatus-BWTLVPVh.js → LpStatus-Chbh_JJr.js} +2 -2
- package/dist/chunks/{LpStepMark-DkdkebLC.js → LpStepMark-C064WOYG.js} +1 -1
- package/dist/chunks/{LpStepper-BgqjKrqg.js → LpStepper-B15etK5F.js} +1 -1
- package/dist/chunks/{LpSwap-B5YOXgtx.js → LpSwap-BA5fh77B.js} +1 -1
- package/dist/chunks/{LpSwitch-DyrRes7s.js → LpSwitch-ByaxQKEm.js} +1 -1
- package/dist/chunks/{LpTabFace-D6BMCbAP.js → LpTabFace-Dcj2cO6x.js} +1 -1
- package/dist/chunks/{LpTableFilter-Dkzamzkl.js → LpTableFilter-CT8Xml_m.js} +3 -3
- package/dist/chunks/{LpTagsInput-DAZNNehI.js → LpTagsInput-CSv62X4B.js} +2 -2
- package/dist/chunks/{LpTextarea-DbmVPj2X.js → LpTextarea-Blv8qdz0.js} +1 -1
- package/dist/chunks/{LpThemeStudio-DWtG6OZZ.js → LpThemeStudio-DYQP_qbp.js} +2 -2
- package/dist/chunks/{LpThemeSwitcher-Dcx-VkSk.js → LpThemeSwitcher-BGIVrM1l.js} +2 -2
- package/dist/chunks/{LpToaster-50hp_B5O.js → LpToaster-D5Pj_wc9.js} +1 -1
- package/dist/chunks/{LpTopologyCanvas-CnUh8uzS.js → LpTopologyCanvas-Bq-k5tgI.js} +1 -1
- package/dist/chunks/{LpTour-DC3LTlxg.js → LpTour-BU4JX3RU.js} +1 -1
- package/dist/chunks/{LpTruncate-Ced4gquB.js → LpTruncate-Cb7MDTD7.js} +1 -1
- package/dist/chunks/{LpUptimeBar-CuB0LX8K.js → LpUptimeBar-Cdq76qi_.js} +2 -2
- package/dist/chunks/{RevealToggle-B0ITuIX-.js → RevealToggle-DhL7mi-3.js} +1 -1
- package/dist/chunks/{TourCard-CBkj1GYi.js → TourCard-Dvo_vH_P.js} +3 -3
- package/dist/components/DropzoneLinkField.vue.js +1 -1
- package/dist/components/FieldWrapper.vue.js +1 -1
- package/dist/components/LpActionBar.vue.js +1 -1
- package/dist/components/LpAddressInput.vue.js +1 -1
- package/dist/components/LpAlert.vue.js +1 -1
- package/dist/components/LpAppShell.vue.js +1 -1
- package/dist/components/LpBadge.vue.js +1 -1
- package/dist/components/LpBottomNav.vue.js +1 -1
- package/dist/components/LpBreadcrumbs.vue.js +1 -1
- package/dist/components/LpButton.vue.js +1 -1
- package/dist/components/LpCard.vue.js +1 -1
- package/dist/components/LpChart.vue.js +2 -2
- package/dist/components/LpCheckbox.vue.js +1 -1
- package/dist/components/LpCodeBlock.vue.js +1 -1
- package/dist/components/LpCodeDisplay.vue.js +1 -1
- package/dist/components/LpCommandPalette.vue.js +2 -2
- package/dist/components/LpConfirmDialog.vue.js +1 -1
- package/dist/components/LpConfirmHost.vue.js +1 -1
- package/dist/components/LpCopyButton.vue.js +1 -1
- package/dist/components/LpCountdown.vue.js +1 -1
- package/dist/components/LpDataList.vue.js +1 -1
- package/dist/components/LpDropzone.vue.js +1 -1
- package/dist/components/LpEditable.vue.js +1 -1
- package/dist/components/LpFileTree.vue.js +1 -1
- package/dist/components/LpFileTreeNode.vue.js +1 -1
- package/dist/components/LpFormField.vue.js +1 -1
- package/dist/components/LpHintLayer.vue.js +1 -1
- package/dist/components/LpHints.vue.js +1 -1
- package/dist/components/LpImageEditor.vue.js +2 -2
- package/dist/components/LpInfraNode.vue.js +1 -1
- package/dist/components/LpInput.vue.js +1 -1
- package/dist/components/LpKeys.vue.js +13 -10
- package/dist/components/LpLightbox.vue.js +1 -1
- package/dist/components/LpLoader.vue.js +1 -1
- package/dist/components/LpLogViewer.vue.js +1 -1
- package/dist/components/LpMapPicker.vue.js +1 -1
- package/dist/components/LpMediaGallery.vue.js +1 -1
- package/dist/components/LpModalNav.vue.js +1 -1
- package/dist/components/LpNotificationBell.vue.js +1 -1
- package/dist/components/LpPaletteTheme.vue.js +1 -1
- package/dist/components/LpPasswordInput.vue.js +1 -1
- package/dist/components/LpPie.vue.js +1 -1
- package/dist/components/LpPipeline.vue.js +1 -1
- package/dist/components/LpRepeater.vue.js +1 -1
- package/dist/components/LpScramble.vue.js +1 -1
- package/dist/components/LpSecretField.vue.js +1 -1
- package/dist/components/LpShift.vue.js +1 -1
- package/dist/components/LpSidebar.vue.js +1 -1
- package/dist/components/LpSidebarNav.vue.d.ts +1 -1
- package/dist/components/LpSidebarNav.vue.js +1 -1
- package/dist/components/LpSidebarRow.vue.d.ts +1 -1
- package/dist/components/LpSidebarRow.vue.js +1 -1
- package/dist/components/LpStat.vue.js +1 -1
- package/dist/components/LpStatus.vue.js +1 -1
- package/dist/components/LpStepMark.vue.js +1 -1
- package/dist/components/LpStepper.vue.js +1 -1
- package/dist/components/LpSwap.vue.js +1 -1
- package/dist/components/LpSwitch.vue.js +1 -1
- package/dist/components/LpTabFace.vue.js +1 -1
- package/dist/components/LpTable.vue.js +6 -6
- package/dist/components/LpTableFilter.vue.js +1 -1
- package/dist/components/LpTabs.vue.js +1 -1
- package/dist/components/LpTagsInput.vue.js +1 -1
- package/dist/components/LpTextarea.vue.js +1 -1
- package/dist/components/LpThemeStudio.vue.js +1 -1
- package/dist/components/LpThemeSwitcher.vue.js +1 -1
- package/dist/components/LpToaster.vue.js +1 -1
- package/dist/components/LpTopologyCanvas.vue.js +1 -1
- package/dist/components/LpTour.vue.js +1 -1
- package/dist/components/LpTruncate.vue.js +1 -1
- package/dist/components/LpUptimeBar.vue.js +1 -1
- package/dist/components/RevealToggle.vue.js +1 -1
- package/dist/components/TourCard.vue.js +1 -1
- package/dist/components/sidebar.d.ts +5 -0
- package/dist/components/sidebar.js +6 -1
- package/dist/index.js +55 -55
- package/package.json +1 -1
- package/src/components/LpKeys.vue +10 -1
- package/src/components/LpShift.vue +24 -8
- package/src/components/LpSidebarNav.vue +12 -2
- package/src/components/LpSidebarRow.vue +7 -3
- package/src/components/sidebar.ts +8 -0
|
@@ -39,12 +39,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
39
39
|
return [...box.querySelectorAll("*")].filter((node) => !node.closest(`[${GHOST}]`) && !(node instanceof SVGElement && !(node instanceof SVGSVGElement)));
|
|
40
40
|
}
|
|
41
41
|
function remember(box) {
|
|
42
|
-
const outer = box.getBoundingClientRect();
|
|
43
42
|
for (const node of elementsOf(box)) {
|
|
44
43
|
const r = node.getBoundingClientRect();
|
|
45
44
|
seen.set(node, {
|
|
46
|
-
from: props.anchor === "end" ? outer.right - r.right : r.left - outer.left,
|
|
47
|
-
top: r.top - outer.top,
|
|
48
45
|
width: r.width,
|
|
49
46
|
height: r.height,
|
|
50
47
|
x: r.left,
|
|
@@ -62,14 +59,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
62
59
|
copy.inert = true;
|
|
63
60
|
Object.assign(copy.style, {
|
|
64
61
|
position: "absolute",
|
|
65
|
-
|
|
66
|
-
|
|
62
|
+
left: "0px",
|
|
63
|
+
top: "0px",
|
|
67
64
|
width: `${at.width}px`,
|
|
68
65
|
height: `${at.height}px`,
|
|
69
66
|
margin: "0",
|
|
70
67
|
pointerEvents: "none"
|
|
71
68
|
});
|
|
72
69
|
box.appendChild(copy);
|
|
70
|
+
const origin = copy.getBoundingClientRect();
|
|
71
|
+
copy.style.left = `${at.x - origin.left}px`;
|
|
72
|
+
copy.style.top = `${at.y - origin.top}px`;
|
|
73
73
|
copy.animate(
|
|
74
74
|
[
|
|
75
75
|
{ opacity: 1, transform: "none", filter: "blur(0)" },
|
|
@@ -133,6 +133,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
133
133
|
},
|
|
134
134
|
{ flush: "post" }
|
|
135
135
|
);
|
|
136
|
+
watch(resizing, (now) => {
|
|
137
|
+
const box = el.value;
|
|
138
|
+
if (!now || !box || !presenceObserver || prefersReducedMotion()) return;
|
|
139
|
+
requestAnimationFrame(() => {
|
|
140
|
+
for (const child of box.children) if (!child.hasAttribute(GHOST)) glide(child);
|
|
141
|
+
});
|
|
142
|
+
});
|
|
136
143
|
onBeforeUnmount(() => {
|
|
137
144
|
presenceObserver?.disconnect();
|
|
138
145
|
presenceSize?.disconnect();
|
|
@@ -146,8 +153,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
146
153
|
class: normalizeClass([
|
|
147
154
|
unref(tweening) && !__props.disabled ? `${transitionClass.value} duration-fast ease-[var(--ease-emphasized)] motion-reduce:transition-none` : "",
|
|
148
155
|
unref(resizing) ? "overflow-hidden" : "",
|
|
149
|
-
|
|
150
|
-
|
|
156
|
+
// While the box holds a width its content has outgrown, a flex row would
|
|
157
|
+
// squeeze its children to fit (a button's keys folding into a column)
|
|
158
|
+
// instead of letting the easing edge clip them.
|
|
159
|
+
unref(resizing) && __props.axis !== "height" ? "[&>*]:shrink-0" : "",
|
|
160
|
+
unref(resizing) && __props.anchor === "end" ? "justify-end" : ""
|
|
151
161
|
])
|
|
152
162
|
}, [
|
|
153
163
|
renderSlot(_ctx.$slots, "default", { resizing: unref(resizing) })
|
|
@@ -4,9 +4,9 @@ import { usePersisted } from "../composables/usePersisted.js";
|
|
|
4
4
|
import { useLabels } from "../composables/useLpConfig.js";
|
|
5
5
|
import { _ as _sfc_main$5 } from "./LpDrawer-RRamxbLV.js";
|
|
6
6
|
import { _ as _sfc_main$2 } from "./LpIcon--5WSb3jJ.js";
|
|
7
|
-
import { _ as _sfc_main$3 } from "./LpInput-
|
|
7
|
+
import { _ as _sfc_main$3 } from "./LpInput-D9uwTIqP.js";
|
|
8
8
|
import { _ as _sfc_main$1 } from "./LpTooltip-BcBvIx4z.js";
|
|
9
|
-
import { _ as _sfc_main$4 } from "./LpSidebarNav-
|
|
9
|
+
import { _ as _sfc_main$4 } from "./LpSidebarNav-BBj2_6jV.js";
|
|
10
10
|
const _hoisted_1 = ["data-compact", "aria-label"];
|
|
11
11
|
const _hoisted_2 = {
|
|
12
12
|
key: 0,
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import { defineComponent, computed, ref, openBlock, createBlock, mergeProps, unref, withCtx, createElementBlock, createElementVNode, createCommentVNode, Fragment, renderList, toDisplayString, createVNode, normalizeClass, createTextVNode, createSlots, renderSlot } from "vue";
|
|
2
2
|
import { CollapsibleRoot, CollapsibleTrigger, CollapsibleContent } from "reka-ui";
|
|
3
|
-
import { _ as _sfc_main$5 } from "./LpBadge-
|
|
3
|
+
import { _ as _sfc_main$5 } from "./LpBadge-BVDOfrqI.js";
|
|
4
4
|
import "../components/commandSearch.js";
|
|
5
5
|
import "../composables/useHints.js";
|
|
6
6
|
import "../composables/useHintSystem.js";
|
|
7
7
|
import { _ as _sfc_main$4 } from "./LpIcon--5WSb3jJ.js";
|
|
8
8
|
import "../composables/useHotkeys.js";
|
|
9
|
-
import '../assets/MenuShortcut-Cyub0frr.css';import '../assets/LpKeys-
|
|
9
|
+
import '../assets/MenuShortcut-Cyub0frr.css';import '../assets/LpKeys-C5VMcBOW.css';/* empty css */
|
|
10
10
|
/* empty css */
|
|
11
11
|
import { _ as _sfc_main$2 } from "./LpScrollArea-Hz3-JWUG.js";
|
|
12
12
|
import { _ as _sfc_main$1 } from "./LpSkeleton-BB6XIV-w.js";
|
|
13
|
-
import { _ as _sfc_main$3 } from "./LpSidebarRow-
|
|
13
|
+
import { _ as _sfc_main$3 } from "./LpSidebarRow-C81reNEm.js";
|
|
14
|
+
import { waiting } from "../components/sidebar.js";
|
|
14
15
|
import { useMergedAttrs } from "../composables/useMergedClass.js";
|
|
15
16
|
const _hoisted_1 = {
|
|
16
17
|
key: 0,
|
|
@@ -159,7 +160,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
159
160
|
const SECTION = "lp-section:";
|
|
160
161
|
function sectionItem(section) {
|
|
161
162
|
const icon = section.icon ?? section.items.find((i) => i.icon)?.icon;
|
|
162
|
-
return {
|
|
163
|
+
return {
|
|
164
|
+
id: `${SECTION}${sectionKey(section)}`,
|
|
165
|
+
label: section.title ?? "",
|
|
166
|
+
icon,
|
|
167
|
+
children: section.items
|
|
168
|
+
};
|
|
163
169
|
}
|
|
164
170
|
function activate(item) {
|
|
165
171
|
if (item.id.startsWith(SECTION)) return;
|
|
@@ -256,6 +262,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
256
262
|
class: "shrink-0"
|
|
257
263
|
}, null, 8, ["name"])) : createCommentVNode("", true),
|
|
258
264
|
createElementVNode("span", _hoisted_7, toDisplayString(section.title), 1),
|
|
265
|
+
section.items.some(unref(waiting)) ? (openBlock(), createElementBlock("span", {
|
|
266
|
+
key: 1,
|
|
267
|
+
class: normalizeClass(["size-1.5 shrink-0 rounded-full bg-brand transition-opacity duration-[var(--duration-fast)] motion-reduce:transition-none", isOpen(section) ? "opacity-0" : "opacity-100"])
|
|
268
|
+
}, null, 2)) : createCommentVNode("", true),
|
|
259
269
|
createVNode(_sfc_main$5, {
|
|
260
270
|
tone: "neutral",
|
|
261
271
|
class: normalizeClass(["shrink-0 transition-opacity duration-[var(--duration-fast)] motion-reduce:transition-none", isOpen(section) ? "opacity-0" : "opacity-100"]),
|
|
@@ -3,12 +3,13 @@ import { Motion } from "motion-v";
|
|
|
3
3
|
import { useLocale } from "../composables/useLocale.js";
|
|
4
4
|
import { usePillTransition } from "../composables/usePillTransition.js";
|
|
5
5
|
import { useLinkComponent } from "../composables/useLpConfig.js";
|
|
6
|
-
import { _ as _sfc_main$2 } from "./LpBadge-
|
|
6
|
+
import { _ as _sfc_main$2 } from "./LpBadge-BVDOfrqI.js";
|
|
7
7
|
import { _ as _sfc_main$4 } from "./LpContextMenu-rx2tCjwk.js";
|
|
8
8
|
import { _ as _sfc_main$1 } from "./LpHoverCard-spGxyw7T.js";
|
|
9
9
|
import { _ as _sfc_main$3 } from "./LpIcon--5WSb3jJ.js";
|
|
10
10
|
import LpKeys from "../components/LpKeys.vue.js";
|
|
11
11
|
import { _ as _sfc_main$5 } from "./LpNumberFlow-CcxEGUy0.js";
|
|
12
|
+
import { waiting } from "../components/sidebar.js";
|
|
12
13
|
import { resolveLink } from "../components/link.js";
|
|
13
14
|
const _hoisted_1 = { class: "relative flex flex-col" };
|
|
14
15
|
const _hoisted_2 = {
|
|
@@ -107,7 +108,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
107
108
|
const initials = computed(
|
|
108
109
|
() => props.item.label.split(/\s+/).filter(Boolean).slice(0, 2).map((w) => [...w][0]).join("")
|
|
109
110
|
);
|
|
110
|
-
const
|
|
111
|
+
const hidden = computed(() => (props.compact || !props.expanded) && !!props.item.children?.some(waiting));
|
|
112
|
+
const hasBadge = computed(() => props.item.badge != null || !!props.item.dot || hidden.value);
|
|
111
113
|
const card = computed(() => !props.item.disabled && (props.compact || !!props.item.preview));
|
|
112
114
|
const delay = computed(() => props.compact && !props.item.preview ? 250 : props.previewDelay);
|
|
113
115
|
return (_ctx, _cache) => {
|
|
@@ -185,7 +187,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
185
187
|
"aria-hidden": "true",
|
|
186
188
|
class: "pointer-events-none absolute right-2 z-10 rounded-small bg-surface-raised/90 opacity-0 transition-opacity duration-(--duration-fast) group-hover/item:opacity-100 group-focus-visible/item:opacity-100"
|
|
187
189
|
}, null, 8, ["combo"])) : createCommentVNode("", true),
|
|
188
|
-
|
|
190
|
+
hasBadge.value && __props.item.badge == null ? (openBlock(), createElementBlock("span", _hoisted_7)) : createCommentVNode("", true),
|
|
189
191
|
__props.item.badge != null ? (openBlock(), createBlock(_sfc_main$2, {
|
|
190
192
|
key: 2,
|
|
191
193
|
tone: __props.active ? "brand" : "neutral",
|
|
@@ -2,7 +2,7 @@ import { defineComponent, computed, openBlock, createElementBlock, mergeProps, u
|
|
|
2
2
|
import { _ as _sfc_main$2 } from "./LpIcon--5WSb3jJ.js";
|
|
3
3
|
import { _ as _sfc_main$4 } from "./LpNumberFlow-CcxEGUy0.js";
|
|
4
4
|
import { _ as _sfc_main$3 } from "./LpSkeleton-BB6XIV-w.js";
|
|
5
|
-
import { _ as _sfc_main$1 } from "./LpStatus-
|
|
5
|
+
import { _ as _sfc_main$1 } from "./LpStatus-Chbh_JJr.js";
|
|
6
6
|
import { useMergedAttrs } from "../composables/useMergedClass.js";
|
|
7
7
|
import { TONES } from "../components/tone.js";
|
|
8
8
|
const _hoisted_1 = { class: "flex items-center gap-2" };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, resolveDynamicComponent, mergeProps, unref, withCtx, createElementVNode, normalizeClass, normalizeStyle, createElementBlock, toDisplayString, createVNode } from "vue";
|
|
2
2
|
import { useLabels } from "../composables/useLpConfig.js";
|
|
3
3
|
import { useMergedAttrs } from "../composables/useMergedClass.js";
|
|
4
|
-
import { _ as _sfc_main$1 } from "./LpBadge-
|
|
4
|
+
import { _ as _sfc_main$1 } from "./LpBadge-BVDOfrqI.js";
|
|
5
5
|
import { _ as _sfc_main$2 } from "./LpRollingText-B54Pje7P.js";
|
|
6
|
-
import { _ as _sfc_main$3 } from "./LpShift-
|
|
6
|
+
import { _ as _sfc_main$3 } from "./LpShift-DLU4_TFf.js";
|
|
7
7
|
import { TONE_COLOR } from "../components/meter.js";
|
|
8
8
|
import { STATUS_LABELS, STATUS_LOOK } from "../components/status.js";
|
|
9
9
|
import '../assets/LpStatus-430OGTZY.css';const _hoisted_1 = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createElementBlock, mergeProps, unref, createCommentVNode, createVNode, withCtx, createBlock, normalizeClass, Fragment, createTextVNode, toDisplayString } from "vue";
|
|
2
2
|
import { useMergedAttrs } from "../composables/useMergedClass.js";
|
|
3
3
|
import { _ as _sfc_main$3 } from "./LpIcon--5WSb3jJ.js";
|
|
4
|
-
import { _ as _sfc_main$2 } from "./LpLoader-
|
|
4
|
+
import { _ as _sfc_main$2 } from "./LpLoader-DBVl6KDH.js";
|
|
5
5
|
import { _ as _sfc_main$1 } from "./LpRollingText-B54Pje7P.js";
|
|
6
6
|
import { TONES } from "../components/tone.js";
|
|
7
7
|
import '../assets/LpStepMark-Drvx33Vg.css';const _hoisted_1 = ["role", "aria-label", "aria-hidden", "data-status"];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createElementBlock, mergeProps, unref, Fragment, renderList, createElementVNode, createVNode, normalizeClass, createTextVNode, toDisplayString, createBlock, createCommentVNode } from "vue";
|
|
2
|
-
import { _ as _sfc_main$1 } from "./LpStepMark-
|
|
2
|
+
import { _ as _sfc_main$1 } from "./LpStepMark-C064WOYG.js";
|
|
3
3
|
import { _ as _sfc_main$2 } from "./StepConnector-37OgEOXA.js";
|
|
4
4
|
import { useMergedAttrs } from "../composables/useMergedClass.js";
|
|
5
5
|
const _hoisted_1 = ["aria-current"];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createBlock, withCtx, createVNode, Transition, createElementBlock, renderSlot } from "vue";
|
|
2
|
-
import { _ as _sfc_main$1 } from "./LpShift-
|
|
2
|
+
import { _ as _sfc_main$1 } from "./LpShift-DLU4_TFf.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "LpSwap",
|
|
5
5
|
props: {
|
|
@@ -3,7 +3,7 @@ import { usePaletteControl } from "../composables/usePaletteCommands.js";
|
|
|
3
3
|
import { SwitchRoot, SwitchThumb } from "reka-ui";
|
|
4
4
|
import { useFieldControl } from "../composables/useField.js";
|
|
5
5
|
import { useOptimisticToggle } from "../composables/useOptimisticToggle.js";
|
|
6
|
-
import { _ as _sfc_main$1 } from "./LpLoader-
|
|
6
|
+
import { _ as _sfc_main$1 } from "./LpLoader-DBVl6KDH.js";
|
|
7
7
|
import { useMergedAttrs } from "../composables/useMergedClass.js";
|
|
8
8
|
const _hoisted_1 = {
|
|
9
9
|
key: 0,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createElementBlock, Fragment, createVNode, createBlock, createCommentVNode, Transition, withCtx, createElementVNode, normalizeClass, toDisplayString } from "vue";
|
|
2
2
|
import { _ as _sfc_main$2 } from "./AttentionDot-DCBf4aWg.js";
|
|
3
|
-
import { _ as _sfc_main$3 } from "./LpBadge-
|
|
3
|
+
import { _ as _sfc_main$3 } from "./LpBadge-BVDOfrqI.js";
|
|
4
4
|
import { _ as _sfc_main$1 } from "./LpIcon--5WSb3jJ.js";
|
|
5
5
|
import { _ as _sfc_main$4 } from "./LpRollingText-B54Pje7P.js";
|
|
6
6
|
const _hoisted_1 = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, openBlock, createElementBlock, createBlock, createCommentVNode, createElementVNode, Fragment, unref, normalizeClass, toDisplayString, createVNode, withCtx, renderList } from "vue";
|
|
2
|
-
import { _ as _sfc_main$3 } from "./LpCheckbox-
|
|
3
|
-
import { _ as _sfc_main$1 } from "./LpInput-
|
|
4
|
-
import { _ as _sfc_main$2 } from "./LpShift-
|
|
2
|
+
import { _ as _sfc_main$3 } from "./LpCheckbox-B6lfW2GC.js";
|
|
3
|
+
import { _ as _sfc_main$1 } from "./LpInput-D9uwTIqP.js";
|
|
4
|
+
import { _ as _sfc_main$2 } from "./LpShift-DLU4_TFf.js";
|
|
5
5
|
import { usePaintSelect } from "../composables/usePaintSelect.js";
|
|
6
6
|
import { matchesQuery, onlyValues, unhideValues, hideAllValues, invertHidden } from "../components/tableFilter.js";
|
|
7
7
|
const _hoisted_1 = { class: "flex flex-col gap-2" };
|
|
@@ -8,9 +8,9 @@ import { useShift } from "../composables/useShift.js";
|
|
|
8
8
|
import { useLabels } from "../composables/useLpConfig.js";
|
|
9
9
|
import { mergeClass } from "../composables/useMergedClass.js";
|
|
10
10
|
import { _ as _sfc_main$4 } from "./LpFieldNotice-CzQ2_5rQ.js";
|
|
11
|
-
import { _ as _sfc_main$1 } from "./FieldWrapper-
|
|
11
|
+
import { _ as _sfc_main$1 } from "./FieldWrapper-DeOZzjBM.js";
|
|
12
12
|
import { BADGE_REMOVE } from "../components/badge.js";
|
|
13
|
-
import { _ as _sfc_main$2 } from "./LpBadge-
|
|
13
|
+
import { _ as _sfc_main$2 } from "./LpBadge-BVDOfrqI.js";
|
|
14
14
|
import { _ as _sfc_main$3 } from "./LpIcon--5WSb3jJ.js";
|
|
15
15
|
import { _ as _sfc_main$5 } from "./OptionContent-22UT8zLn.js";
|
|
16
16
|
import { POPOVER_PANEL, OPTION_ITEM, optionStagger } from "../components/dropdown.js";
|
|
@@ -2,7 +2,7 @@ import { defineComponent, computed, useAttrs, ref, watch, nextTick, onMounted, o
|
|
|
2
2
|
import { usePaletteControl } from "../composables/usePaletteCommands.js";
|
|
3
3
|
import { useFieldControl } from "../composables/useField.js";
|
|
4
4
|
import { mergeClass } from "../composables/useMergedClass.js";
|
|
5
|
-
import { _ as _sfc_main$1 } from "./FieldWrapper-
|
|
5
|
+
import { _ as _sfc_main$1 } from "./FieldWrapper-DeOZzjBM.js";
|
|
6
6
|
const _hoisted_1 = ["id", "value", "placeholder", "rows", "disabled", "required", "aria-invalid", "aria-describedby"];
|
|
7
7
|
const __default__ = { inheritAttrs: false };
|
|
8
8
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -4,8 +4,8 @@ import { useLabels } from "../composables/useLpConfig.js";
|
|
|
4
4
|
import { usePersisted } from "../composables/usePersisted.js";
|
|
5
5
|
import { parseColor, rgbToHex } from "../components/color.js";
|
|
6
6
|
import { p as presets, u as useTheme, o as themeToCssRule, s as serializeTheme, _ as _sfc_main$8 } from "./LpThemeProvider-8MG6yqU9.js";
|
|
7
|
-
import { _ as _sfc_main$1 } from "./LpButton-
|
|
8
|
-
import { _ as _sfc_main$7 } from "./LpCodeBlock-
|
|
7
|
+
import { _ as _sfc_main$1 } from "./LpButton-Cse4COe7.js";
|
|
8
|
+
import { _ as _sfc_main$7 } from "./LpCodeBlock-BjptdRIt.js";
|
|
9
9
|
import { _ as _sfc_main$4 } from "./LpColorPicker-1y1QJHZR.js";
|
|
10
10
|
import { _ as _sfc_main$2 } from "./LpIcon--5WSb3jJ.js";
|
|
11
11
|
import { _ as _sfc_main$5 } from "./LpSegmented-CeACsMMA.js";
|
|
@@ -4,12 +4,12 @@ import { PopoverRoot, PopoverAnchor, PopoverPortal, PopoverContent } from "reka-
|
|
|
4
4
|
import { useLabels } from "../composables/useLpConfig.js";
|
|
5
5
|
import { usePortalTarget, useOutsideGuard } from "../composables/useView.js";
|
|
6
6
|
import { u as useTheme, p as presets } from "./LpThemeProvider-8MG6yqU9.js";
|
|
7
|
-
import { u as useThemeStudio, S as STUDIO_SYSTEM, _ as _sfc_main$5 } from "./LpThemeStudio-
|
|
7
|
+
import { u as useThemeStudio, S as STUDIO_SYSTEM, _ as _sfc_main$5 } from "./LpThemeStudio-DYQP_qbp.js";
|
|
8
8
|
import { POPOVER_PANEL } from "../components/dropdown.js";
|
|
9
9
|
import { _ as _sfc_main$1 } from "./LpContextMenu-rx2tCjwk.js";
|
|
10
10
|
import { _ as _sfc_main$2 } from "./LpIcon--5WSb3jJ.js";
|
|
11
11
|
import { _ as _sfc_main$4 } from "./LpRollingText-B54Pje7P.js";
|
|
12
|
-
import { _ as _sfc_main$3 } from "./LpShift-
|
|
12
|
+
import { _ as _sfc_main$3 } from "./LpShift-DLU4_TFf.js";
|
|
13
13
|
const _hoisted_1 = ["aria-label", "title"];
|
|
14
14
|
const _hoisted_2 = {
|
|
15
15
|
key: 1,
|
|
@@ -4,7 +4,7 @@ import { prefersReducedMotion } from "../composables/easing.js";
|
|
|
4
4
|
import { useLabels } from "../composables/useLpConfig.js";
|
|
5
5
|
import { useToast } from "../composables/useToast.js";
|
|
6
6
|
import { CLOSE_ICON } from "../components/dropdown.js";
|
|
7
|
-
import { _ as _sfc_main$2 } from "./LpCopyButton-
|
|
7
|
+
import { _ as _sfc_main$2 } from "./LpCopyButton-DhptBlXE.js";
|
|
8
8
|
import { _ as _sfc_main$1 } from "./LpIcon--5WSb3jJ.js";
|
|
9
9
|
import { toneLook } from "../components/tone.js";
|
|
10
10
|
import { usePortalTarget } from "../composables/useView.js";
|
|
@@ -3,7 +3,7 @@ import { Background } from "@vue-flow/background";
|
|
|
3
3
|
import { Controls } from "@vue-flow/controls";
|
|
4
4
|
import { MarkerType, useVueFlow, VueFlow, SelectionMode, Panel } from "@vue-flow/core";
|
|
5
5
|
import { MiniMap } from "@vue-flow/minimap";
|
|
6
|
-
import { _ as _sfc_main$3 } from "./LpInfraNode-
|
|
6
|
+
import { _ as _sfc_main$3 } from "./LpInfraNode-CZrDvfnL.js";
|
|
7
7
|
import { _ as _sfc_main$1 } from "./LpLaneNode-HtnQf2FF.js";
|
|
8
8
|
import { _ as _sfc_main$2 } from "./LpServiceNode-D8uJ8sGk.js";
|
|
9
9
|
import { _ as _sfc_main$4 } from "./LpWaypointEdge-D8yHlQiw.js";
|
|
@@ -8,7 +8,7 @@ import { useMediaQuery } from "../composables/useMediaQuery.js";
|
|
|
8
8
|
import { useView, usePortalTarget, viewDocument, viewWindow } from "../composables/useView.js";
|
|
9
9
|
import { scrollToElement } from "../composables/scroll.js";
|
|
10
10
|
import { PANEL_SURFACE } from "../components/dropdown.js";
|
|
11
|
-
import { _ as _sfc_main$1 } from "./TourCard-
|
|
11
|
+
import { _ as _sfc_main$1 } from "./TourCard-Dvo_vH_P.js";
|
|
12
12
|
import { holeOf, panelsAround, holeClip } from "../components/tour.js";
|
|
13
13
|
const _hoisted_1 = ["aria-label"];
|
|
14
14
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, onMounted, watch, nextTick, computed, openBlock, createElementBlock, mergeProps, unref, createVNode, withCtx, createElementVNode, normalizeStyle, normalizeClass, Fragment, toDisplayString, createTextVNode, createBlock, createCommentVNode } from "vue";
|
|
2
2
|
import { useMergedAttrs } from "../composables/useMergedClass.js";
|
|
3
3
|
import { useResizeObserver } from "../composables/useResizeObserver.js";
|
|
4
|
-
import { _ as _sfc_main$2 } from "./LpCopyButton-
|
|
4
|
+
import { _ as _sfc_main$2 } from "./LpCopyButton-DhptBlXE.js";
|
|
5
5
|
import { _ as _sfc_main$1 } from "./LpTooltip-BcBvIx4z.js";
|
|
6
6
|
import { middleTruncate } from "../components/fieldText.js";
|
|
7
7
|
const _hoisted_1 = ["tabindex"];
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent, computed, ref, openBlock, createElementBlock, mergeProps, unref, toDisplayString, createCommentVNode, createElementVNode, createVNode, withCtx, createBlock, Fragment, renderList, normalizeStyle, createTextVNode } from "vue";
|
|
2
2
|
import { _ as _sfc_main$6 } from "./LpNumberFlow-CcxEGUy0.js";
|
|
3
3
|
import { _ as _sfc_main$5 } from "./LpRollingText-B54Pje7P.js";
|
|
4
|
-
import { _ as _sfc_main$4 } from "./LpShift-
|
|
4
|
+
import { _ as _sfc_main$4 } from "./LpShift-DLU4_TFf.js";
|
|
5
5
|
import { _ as _sfc_main$2 } from "./LpSkeleton-BB6XIV-w.js";
|
|
6
|
-
import { _ as _sfc_main$1 } from "./LpSwap-
|
|
6
|
+
import { _ as _sfc_main$1 } from "./LpSwap-BA5fh77B.js";
|
|
7
7
|
import { _ as _sfc_main$3 } from "./LpTooltip-BcBvIx4z.js";
|
|
8
8
|
import { TONES } from "../components/tone.js";
|
|
9
9
|
import { useMergedAttrs } from "../composables/useMergedClass.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, useModel, openBlock, createBlock, withCtx, createVNode, mergeProps, createElementVNode, mergeModels } from "vue";
|
|
2
|
-
import { _ as _sfc_main$2 } from "./LpButton-
|
|
2
|
+
import { _ as _sfc_main$2 } from "./LpButton-Cse4COe7.js";
|
|
3
3
|
import { _ as _sfc_main$3 } from "./LpIcon--5WSb3jJ.js";
|
|
4
4
|
import { _ as _sfc_main$1 } from "./LpTooltip-BcBvIx4z.js";
|
|
5
5
|
const _hoisted_1 = { class: "grid place-items-center" };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, createElementVNode, toDisplayString, createCommentVNode, createBlock, createTextVNode } from "vue";
|
|
2
|
-
import { _ as _sfc_main$5 } from "./LpButton-
|
|
2
|
+
import { _ as _sfc_main$5 } from "./LpButton-Cse4COe7.js";
|
|
3
3
|
import { _ as _sfc_main$2 } from "./LpIcon--5WSb3jJ.js";
|
|
4
4
|
import LpKeys from "../components/LpKeys.vue.js";
|
|
5
5
|
import { _ as _sfc_main$3 } from "./LpRollingText-B54Pje7P.js";
|
|
6
|
-
import { _ as _sfc_main$4 } from "./LpShift-
|
|
7
|
-
import { _ as _sfc_main$1 } from "./LpSwap-
|
|
6
|
+
import { _ as _sfc_main$4 } from "./LpShift-DLU4_TFf.js";
|
|
7
|
+
import { _ as _sfc_main$1 } from "./LpSwap-BA5fh77B.js";
|
|
8
8
|
const _hoisted_1 = { class: "flex items-start justify-between gap-3" };
|
|
9
9
|
const _hoisted_2 = {
|
|
10
10
|
class: "font-medium",
|
|
@@ -10,9 +10,9 @@ import { PANEL_SURFACE } from "./dropdown.js";
|
|
|
10
10
|
import { _ as _sfc_main$2 } from "../chunks/LegendSwatch-BhRjrtzv.js";
|
|
11
11
|
import { _ as _sfc_main$3 } from "../chunks/LpContextMenu-rx2tCjwk.js";
|
|
12
12
|
import { _ as _sfc_main$6 } from "../chunks/LpEmptyState-EQHiRYhG.js";
|
|
13
|
-
import { _ as _sfc_main$7 } from "../chunks/LpShift-
|
|
13
|
+
import { _ as _sfc_main$7 } from "../chunks/LpShift-DLU4_TFf.js";
|
|
14
14
|
import { _ as _sfc_main$5 } from "../chunks/LpSkeleton-BB6XIV-w.js";
|
|
15
|
-
import { _ as _sfc_main$4 } from "../chunks/LpSwap-
|
|
15
|
+
import { _ as _sfc_main$4 } from "../chunks/LpSwap-BA5fh77B.js";
|
|
16
16
|
import { sampleValues, skeletonHeights, skeletonWave } from "./chartSkeleton.js";
|
|
17
17
|
import { _ as _sfc_main$1 } from "../chunks/HintSampleTag-BV8AZXZh.js";
|
|
18
18
|
import { useSample } from "../composables/useSample.js";
|
|
@@ -2,11 +2,11 @@ import { defineComponent, computed, h, shallowRef, ref, watch, useId, useSlots,
|
|
|
2
2
|
import { DialogRoot, DialogPortal, DialogOverlay, DialogContent, DialogTitle, DialogDescription } from "reka-ui";
|
|
3
3
|
import { usePaletteScope, suppressPaletteDiscovery, mergePaletteCommands } from "../composables/usePaletteCommands.js";
|
|
4
4
|
import { useToast } from "../composables/useToast.js";
|
|
5
|
-
import { _ as _sfc_main$3 } from "../chunks/LpButton-
|
|
5
|
+
import { _ as _sfc_main$3 } from "../chunks/LpButton-Cse4COe7.js";
|
|
6
6
|
import { _ as _sfc_main$6 } from "../chunks/PalettePreviewBoundary-B0Hhu3Yw.js";
|
|
7
7
|
import { _ as _sfc_main$5 } from "../chunks/LpAvatar-Cg6Az3wz.js";
|
|
8
8
|
import { _ as _sfc_main$1 } from "../chunks/LpIcon--5WSb3jJ.js";
|
|
9
|
-
import { _ as _sfc_main$2 } from "../chunks/LpLoader-
|
|
9
|
+
import { _ as _sfc_main$2 } from "../chunks/LpLoader-DBVl6KDH.js";
|
|
10
10
|
import { _ as _sfc_main$4 } from "../chunks/LpScrollArea-Hz3-JWUG.js";
|
|
11
11
|
import MenuShortcut from "./MenuShortcut.vue.js";
|
|
12
12
|
import { staggerDelay } from "./reveal.js";
|
|
@@ -5,7 +5,7 @@ import { useLabels } from "../composables/useLpConfig.js";
|
|
|
5
5
|
import { useMergedAttrs } from "../composables/useMergedClass.js";
|
|
6
6
|
import { useReveal } from "../composables/useReveal.js";
|
|
7
7
|
import { PopoverRoot, PopoverAnchor, PopoverPortal, PopoverContent } from "reka-ui";
|
|
8
|
-
import { _ as _sfc_main$1 } from "../chunks/DropzoneLinkField-
|
|
8
|
+
import { _ as _sfc_main$1 } from "../chunks/DropzoneLinkField-CvyzXHdc.js";
|
|
9
9
|
import { POPOVER_PANEL } from "./dropdown.js";
|
|
10
10
|
import { _ as _sfc_main$2 } from "../chunks/LpIcon--5WSb3jJ.js";
|
|
11
11
|
import { usePortalTarget, useOutsideGuard } from "../composables/useView.js";
|