@leavepulse/ui 0.58.0 → 0.59.0
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/{LpCommandPalette-DmQUsJqA.css → LpCommandPalette-BM_IyzwB.css} +21 -21
- package/dist/assets/{LpTable-BNzavdlv.css → LpTable-B_QCQCbB.css} +19 -19
- package/dist/chunks/{ContextMenuItems-BY5sTVQF.js → ContextMenuItems-CioDScj3.js} +1 -1
- package/dist/chunks/{LpAddressInput-Dio6Sqed.js → LpAddressInput-D-H94m4q.js} +1 -1
- package/dist/chunks/{LpAppShell-Be6T96td.js → LpAppShell-BeMuKEjh.js} +1 -1
- package/dist/chunks/{LpAvatar-BxNs23Xu.js → LpAvatar-CeW4Z5CL.js} +1 -1
- package/dist/chunks/{LpCard-DhR7u0d8.js → LpCard-Gbr8a1xK.js} +1 -1
- package/dist/chunks/{LpCodeBlock-CXsqJwDy.js → LpCodeBlock-D6zhp30a.js} +4 -4
- package/dist/chunks/{LpColorPicker-DQ88niXq.js → LpColorPicker-CVXwjEtX.js} +5 -5
- package/dist/chunks/{LpConfirmDialog-DxlSdjmk.js → LpConfirmDialog-DkgIT-Xg.js} +1 -1
- package/dist/chunks/{LpConfirmHost-BcrmTNu_.js → LpConfirmHost-CYzXWFOI.js} +1 -1
- package/dist/chunks/{LpContextMenu-B1NGfpp1.js → LpContextMenu-DRFd-iyc.js} +2 -2
- package/dist/chunks/{LpDrawer-DSknigxH.js → LpDrawer-Rc6eAJrr.js} +1 -1
- package/dist/chunks/{LpDropdownMenu-C7oHVlKY.js → LpDropdownMenu-BoJQsjzt.js} +2 -2
- package/dist/chunks/{LpFileTree-CMA0_rsB.js → LpFileTree-Bs57DhVa.js} +1 -1
- package/dist/chunks/{LpFileTreeNode-B4T258hF.js → LpFileTreeNode-XgJW65v5.js} +1 -1
- package/dist/chunks/{LpLogViewer-DwiYE32z.js → LpLogViewer-B92bAftG.js} +1 -1
- package/dist/chunks/{LpModal-BxYssnXg.js → LpModal-DvGD6kEe.js} +1 -1
- package/dist/chunks/{LpModalNav-Bn2ws64b.js → LpModalNav-B-_zRTS-.js} +2 -2
- package/dist/chunks/{LpNotificationBell-DJfs4JjQ.js → LpNotificationBell-63pvatBj.js} +3 -3
- package/dist/chunks/{LpPasswordInput-Bg5uTZbx.js → LpPasswordInput-BK25_vNG.js} +1 -1
- package/dist/chunks/{LpPhoneInput-DStwcbnQ.js → LpPhoneInput-Bxg7a_qD.js} +1 -1
- package/dist/chunks/{LpPie-DeTkbbOK.js → LpPie-Coa2GMHt.js} +2 -2
- package/dist/chunks/{LpSegmented-D3Eam8sa.js → LpSegmented-DbrUjuSA.js} +2 -2
- package/dist/chunks/{LpSidebar-CshW0fqC.js → LpSidebar-CKamWtPo.js} +2 -2
- package/dist/chunks/{LpSidebarNav-C9b3i9G2.js → LpSidebarNav-Y4LV0ZEn.js} +3 -3
- package/dist/chunks/{LpTabs-BBGRHY38.js → LpTabs-D01b8jBI.js} +6 -5
- package/dist/chunks/{LpThemeSwitcher-B_qhSl7q.js → LpThemeSwitcher-CbzL6ipO.js} +1 -1
- package/dist/chunks/{LpToaster-Bo9Q4QBP.js → LpToaster-C9EacEfR.js} +2 -2
- package/dist/chunks/{MenuTitle-DQP6hc2N.js → MenuTitle-B9HdaBwE.js} +2 -2
- package/dist/components/ContextMenuItems.vue.js +1 -1
- package/dist/components/LpAddressInput.vue.js +1 -1
- package/dist/components/LpAppShell.vue.js +1 -1
- package/dist/components/LpAvatar.vue.js +1 -1
- package/dist/components/LpCard.vue.js +1 -1
- package/dist/components/LpChart.vue.js +3 -3
- package/dist/components/LpCodeBlock.vue.js +1 -1
- package/dist/components/LpColorPicker.vue.js +1 -1
- package/dist/components/LpCommandPalette.vue.js +14 -14
- package/dist/components/LpConfirmDialog.vue.js +1 -1
- package/dist/components/LpConfirmHost.vue.js +1 -1
- package/dist/components/LpContextMenu.vue.js +1 -1
- package/dist/components/LpDrawer.vue.js +1 -1
- package/dist/components/LpDropdownMenu.vue.js +1 -1
- package/dist/components/LpFileTree.vue.js +1 -1
- package/dist/components/LpFileTreeNode.vue.js +1 -1
- package/dist/components/LpLogViewer.vue.js +1 -1
- package/dist/components/LpModal.vue.js +1 -1
- package/dist/components/LpModalNav.vue.js +1 -1
- package/dist/components/LpNotificationBell.vue.js +1 -1
- package/dist/components/LpPaletteHeader.vue.js +1 -1
- package/dist/components/LpPasswordInput.vue.js +1 -1
- package/dist/components/LpPhoneInput.vue.js +1 -1
- package/dist/components/LpPie.vue.js +1 -1
- package/dist/components/LpSegmented.vue.js +1 -1
- package/dist/components/LpShortcutsDialog.vue.js +1 -1
- package/dist/components/LpSidebar.vue.js +1 -1
- package/dist/components/LpSidebarNav.vue.js +1 -1
- package/dist/components/LpTable.vue.js +5 -5
- package/dist/components/LpTabs.vue.d.ts +7 -0
- package/dist/components/LpTabs.vue.js +1 -1
- package/dist/components/LpThemeSwitcher.vue.js +1 -1
- package/dist/components/LpToaster.vue.js +1 -1
- package/dist/components/MenuTitle.vue.js +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/composables/useHintSystem.js +1 -1
- package/dist/index.js +24 -24
- package/package.json +1 -1
- package/src/components/ContextMenuItems.vue +1 -1
- package/src/components/LpChart.vue +1 -1
- package/src/components/LpCodeBlock.vue +4 -4
- package/src/components/LpColorPicker.vue +4 -4
- package/src/components/LpCommandPalette.vue +11 -11
- package/src/components/LpDrawer.vue +1 -1
- package/src/components/LpDropdownMenu.vue +1 -1
- package/src/components/LpModal.vue +1 -1
- package/src/components/LpNotificationBell.vue +2 -2
- package/src/components/LpPasswordInput.vue +1 -1
- package/src/components/LpPhoneInput.vue +1 -1
- package/src/components/LpPie.vue +1 -1
- package/src/components/LpSegmented.vue +2 -2
- package/src/components/LpSidebarNav.vue +2 -2
- package/src/components/LpTable.vue +2 -2
- package/src/components/LpTabs.vue +11 -5
- package/src/components/LpToaster.vue +2 -2
- package/src/components/MenuTitle.vue +2 -2
- package/src/components/dropdown.ts +1 -1
- package/src/composables/useHintSystem.ts +1 -1
- package/src/tokens/tokens.css +6 -0
|
@@ -243,7 +243,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
243
243
|
copyable(t) ? (openBlock(), createElementBlock("button", {
|
|
244
244
|
key: 0,
|
|
245
245
|
type: "button",
|
|
246
|
-
class: "-mt-1 rounded-
|
|
246
|
+
class: "-mt-1 rounded-inner p-1 text-muted outline-none transition-colors duration-[var(--duration-fast)] hover:text-ink focus-visible:ring-2 focus-visible:ring-ring",
|
|
247
247
|
"aria-label": copiedId.value === tag(t) ? unref(text).copied : unref(text).copy,
|
|
248
248
|
title: copiedId.value === tag(t) ? unref(text).copied : unref(text).copy,
|
|
249
249
|
onClick: withModifiers(($event) => copyToast(t), ["stop"])
|
|
@@ -255,7 +255,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
255
255
|
], 8, _hoisted_4)) : createCommentVNode("", true),
|
|
256
256
|
createElementVNode("button", {
|
|
257
257
|
type: "button",
|
|
258
|
-
class: "group -mr-1 -mt-1 rounded-
|
|
258
|
+
class: "group -mr-1 -mt-1 rounded-inner p-1 text-muted outline-none transition-colors duration-[var(--duration-fast)] hover:text-ink",
|
|
259
259
|
"aria-label": unref(text).dismiss,
|
|
260
260
|
onClick: withModifiers(($event) => beginClose(t), ["stop"])
|
|
261
261
|
}, [
|
|
@@ -7,7 +7,7 @@ const _hoisted_1 = {
|
|
|
7
7
|
const _hoisted_2 = ["src"];
|
|
8
8
|
const _hoisted_3 = {
|
|
9
9
|
key: 1,
|
|
10
|
-
class: "grid size-7 shrink-0 place-items-center rounded-
|
|
10
|
+
class: "grid size-7 shrink-0 place-items-center rounded-inner bg-surface-soft text-muted"
|
|
11
11
|
};
|
|
12
12
|
const _hoisted_4 = { class: "flex min-w-0 flex-col" };
|
|
13
13
|
const _hoisted_5 = { class: "truncate text-sm font-medium text-ink" };
|
|
@@ -31,7 +31,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
31
31
|
key: 0,
|
|
32
32
|
src: __props.image,
|
|
33
33
|
alt: "",
|
|
34
|
-
class: "size-7 shrink-0 rounded-
|
|
34
|
+
class: "size-7 shrink-0 rounded-inner object-cover"
|
|
35
35
|
}, null, 8, _hoisted_2)) : __props.icon ? (openBlock(), createElementBlock("span", _hoisted_3, [
|
|
36
36
|
createVNode(_sfc_main$1, {
|
|
37
37
|
name: __props.icon,
|
|
@@ -5,7 +5,7 @@ import { prefersReducedMotion, easeTravel } from "../composables/easing.js";
|
|
|
5
5
|
import { usePillTransition } from "../composables/usePillTransition.js";
|
|
6
6
|
import { useReveal } from "../composables/useReveal.js";
|
|
7
7
|
import { normalise, pointCount, resolveLabels, extent, axisTicks, plotHeight, plotWidth, xAt, yAt, areaPath, linePath, barPath, markerIndex, chartSummary, niceScale, nearestIndex, formatTick } from "./chart.js";
|
|
8
|
-
import { _ as _sfc_main$1 } from "../chunks/LpContextMenu-
|
|
8
|
+
import { _ as _sfc_main$1 } from "../chunks/LpContextMenu-DRFd-iyc.js";
|
|
9
9
|
import { _ as _sfc_main$2 } from "../chunks/LpIcon-B5guGKrW.js";
|
|
10
10
|
import { _ as _sfc_main$3 } from "../chunks/LpShift-DXNsauQZ.js";
|
|
11
11
|
import { useMergedAttrs } from "../composables/useMergedClass.js";
|
|
@@ -735,7 +735,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
735
735
|
return openBlock(), createElementBlock("button", {
|
|
736
736
|
key: s.id,
|
|
737
737
|
type: "button",
|
|
738
|
-
class: normalizeClass(["group flex cursor-pointer items-center gap-1.5 rounded-
|
|
738
|
+
class: normalizeClass(["group flex cursor-pointer items-center gap-1.5 rounded-inner text-xs outline-none transition-opacity duration-fast focus-visible:ring-2 focus-visible:ring-ring", hidden.value.has(s.id) ? "opacity-40" : ""]),
|
|
739
739
|
"aria-pressed": !hidden.value.has(s.id),
|
|
740
740
|
onClick: ($event) => toggleSeries(s.id)
|
|
741
741
|
}, [
|
|
@@ -1096,7 +1096,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1096
1096
|
};
|
|
1097
1097
|
}
|
|
1098
1098
|
});
|
|
1099
|
-
const LpChart = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
1099
|
+
const LpChart = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-7f6bd011"]]);
|
|
1100
1100
|
export {
|
|
1101
1101
|
LpChart as default
|
|
1102
1102
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, useId, computed, shallowRef, watch, useSlots, onBeforeUnmount, nextTick, openBlock, createBlock, unref, withCtx, createVNode, normalizeStyle, normalizeClass, withModifiers, createTextVNode, toDisplayString, createElementVNode, createElementBlock, Fragment, renderList, createCommentVNode, withDirectives, withKeys, vModelText, resolveDynamicComponent, Transition, renderSlot } from "vue";
|
|
2
2
|
import { DialogRoot, DialogPortal, DialogOverlay, DialogContent, DialogTitle, DialogDescription } from "reka-ui";
|
|
3
|
-
import { _ as _sfc_main$3 } from "../chunks/LpAvatar-
|
|
3
|
+
import { _ as _sfc_main$3 } from "../chunks/LpAvatar-CeW4Z5CL.js";
|
|
4
4
|
import { _ as _sfc_main$1 } from "../chunks/LpIcon-B5guGKrW.js";
|
|
5
5
|
import { _ as _sfc_main$2 } from "../chunks/LpScrollArea-Hz3-JWUG.js";
|
|
6
6
|
import { useAsyncTask } from "../composables/useAsyncTask.js";
|
|
@@ -12,10 +12,10 @@ import { useLabels } from "../composables/useLpConfig.js";
|
|
|
12
12
|
import { parseCommandQuery, rankCommandItems, applyQueryFilters, parsePaletteQuery, highlightParts } from "./commandSearch.js";
|
|
13
13
|
import { fallbackRows, readRecent, resolveRecentItems, recentVisible, commandHasPreview, matchModePrefix, modeChipLabel, toRecentItem, pushRecent } from "./commandPalette.js";
|
|
14
14
|
import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper-1tPrXgE0.js";
|
|
15
|
-
import '../assets/LpCommandPalette-
|
|
15
|
+
import '../assets/LpCommandPalette-BM_IyzwB.css';const _hoisted_1 = { class: "flex shrink-0 items-center gap-2.5 border-b border-line px-4" };
|
|
16
16
|
const _hoisted_2 = ["title", "onClick"];
|
|
17
17
|
const _hoisted_3 = ["aria-activedescendant", "placeholder", "onKeydown"];
|
|
18
|
-
const _hoisted_4 = { class: "shrink-0 rounded border border-line px-1.5 py-0.5 text-[10px] text-muted" };
|
|
18
|
+
const _hoisted_4 = { class: "shrink-0 rounded-small border border-line px-1.5 py-0.5 text-[10px] text-muted" };
|
|
19
19
|
const _hoisted_5 = {
|
|
20
20
|
key: 0,
|
|
21
21
|
class: "px-2 py-10 text-center text-sm text-muted"
|
|
@@ -46,7 +46,7 @@ const _hoisted_14 = {
|
|
|
46
46
|
};
|
|
47
47
|
const _hoisted_15 = {
|
|
48
48
|
key: 3,
|
|
49
|
-
class: "shrink-0 rounded border border-line px-1.5 font-mono text-[11px] whitespace-pre text-muted"
|
|
49
|
+
class: "shrink-0 rounded-small border border-line px-1.5 font-mono text-[11px] whitespace-pre text-muted"
|
|
50
50
|
};
|
|
51
51
|
const _hoisted_16 = {
|
|
52
52
|
key: 0,
|
|
@@ -74,7 +74,7 @@ const _hoisted_25 = {
|
|
|
74
74
|
class: "flex items-center gap-1"
|
|
75
75
|
};
|
|
76
76
|
const _hoisted_26 = { class: "ml-auto flex items-center gap-1" };
|
|
77
|
-
const _hoisted_27 = { class: "rounded border border-line px-1 text-[10px]" };
|
|
77
|
+
const _hoisted_27 = { class: "rounded-small border border-line px-1 text-[10px]" };
|
|
78
78
|
const RECENT_KEEP = 20;
|
|
79
79
|
const PANE_LINGER_MS = 160;
|
|
80
80
|
const STAGGER_MS = 45;
|
|
@@ -657,7 +657,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
657
657
|
return openBlock(), createElementBlock("button", {
|
|
658
658
|
key: step.id,
|
|
659
659
|
type: "button",
|
|
660
|
-
class: "flex shrink-0 items-center gap-1.5 rounded-
|
|
660
|
+
class: "flex shrink-0 items-center gap-1.5 rounded-inner bg-brand-soft px-2 py-1 text-xs font-medium text-brand transition-opacity hover:opacity-80",
|
|
661
661
|
title: unref(text).back,
|
|
662
662
|
onClick: ($event) => popTo(i)
|
|
663
663
|
}, [
|
|
@@ -736,7 +736,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
736
736
|
"aria-disabled": c.disabled || void 0,
|
|
737
737
|
"data-cmd-index": flatIndexOf(c),
|
|
738
738
|
disabled: c.href ? void 0 : c.disabled,
|
|
739
|
-
class: normalizeClass(["lp-cmd-item flex w-full gap-3 rounded-
|
|
739
|
+
class: normalizeClass(["lp-cmd-item flex w-full gap-3 rounded-inner px-2.5 py-2 text-left text-sm outline-none transition-colors duration-[var(--duration-fast)] disabled:pointer-events-none disabled:opacity-45 aria-disabled:pointer-events-none aria-disabled:opacity-45", [
|
|
740
740
|
c.excerpt ? "items-start" : "items-center",
|
|
741
741
|
flatIndexOf(c) === selectedIndex.value ? "bg-brand-soft text-brand" : unref(moreOf).has(c) ? "text-muted hover:bg-surface-soft/60" : "text-ink hover:bg-surface-soft/60"
|
|
742
742
|
]]),
|
|
@@ -824,7 +824,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
824
824
|
createElementVNode("span", null, toDisplayString(unref(text).searchFailed), 1),
|
|
825
825
|
createElementVNode("button", {
|
|
826
826
|
type: "button",
|
|
827
|
-
class: "rounded-
|
|
827
|
+
class: "rounded-inner px-1.5 py-0.5 font-medium text-brand outline-none transition-colors hover:bg-brand-soft focus-visible:ring-2 focus-visible:ring-ring",
|
|
828
828
|
onClick: _cache[1] || (_cache[1] = ($event) => {
|
|
829
829
|
refresh();
|
|
830
830
|
inputRef.value?.focus();
|
|
@@ -900,20 +900,20 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
900
900
|
], 32),
|
|
901
901
|
createElementVNode("div", _hoisted_21, [
|
|
902
902
|
createElementVNode("span", _hoisted_22, [
|
|
903
|
-
_cache[4] || (_cache[4] = createElementVNode("kbd", { class: "rounded border border-line px-1 text-[10px]" }, "↑", -1)),
|
|
904
|
-
_cache[5] || (_cache[5] = createElementVNode("kbd", { class: "rounded border border-line px-1 text-[10px]" }, "↓", -1)),
|
|
903
|
+
_cache[4] || (_cache[4] = createElementVNode("kbd", { class: "rounded-small border border-line px-1 text-[10px]" }, "↑", -1)),
|
|
904
|
+
_cache[5] || (_cache[5] = createElementVNode("kbd", { class: "rounded-small border border-line px-1 text-[10px]" }, "↓", -1)),
|
|
905
905
|
createTextVNode(" " + toDisplayString(unref(text).navigate), 1)
|
|
906
906
|
]),
|
|
907
907
|
createElementVNode("span", _hoisted_23, [
|
|
908
|
-
_cache[6] || (_cache[6] = createElementVNode("kbd", { class: "rounded border border-line px-1 text-[10px]" }, "↵", -1)),
|
|
908
|
+
_cache[6] || (_cache[6] = createElementVNode("kbd", { class: "rounded-small border border-line px-1 text-[10px]" }, "↵", -1)),
|
|
909
909
|
createTextVNode(" " + toDisplayString(unref(text).select), 1)
|
|
910
910
|
]),
|
|
911
911
|
selectedActions.value.length ? (openBlock(), createElementBlock("span", _hoisted_24, [
|
|
912
|
-
_cache[7] || (_cache[7] = createElementVNode("kbd", { class: "rounded border border-line px-1 text-[10px]" }, "tab", -1)),
|
|
912
|
+
_cache[7] || (_cache[7] = createElementVNode("kbd", { class: "rounded-small border border-line px-1 text-[10px]" }, "tab", -1)),
|
|
913
913
|
createTextVNode(" " + toDisplayString(unref(text).actions), 1)
|
|
914
914
|
])) : createCommentVNode("", true),
|
|
915
915
|
trail.value.length ? (openBlock(), createElementBlock("span", _hoisted_25, [
|
|
916
|
-
_cache[8] || (_cache[8] = createElementVNode("kbd", { class: "rounded border border-line px-1 text-[10px]" }, "⌫", -1)),
|
|
916
|
+
_cache[8] || (_cache[8] = createElementVNode("kbd", { class: "rounded-small border border-line px-1 text-[10px]" }, "⌫", -1)),
|
|
917
917
|
createTextVNode(" " + toDisplayString(unref(text).back), 1)
|
|
918
918
|
])) : createCommentVNode("", true),
|
|
919
919
|
createElementVNode("span", _hoisted_26, [
|
|
@@ -933,7 +933,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
933
933
|
};
|
|
934
934
|
}
|
|
935
935
|
});
|
|
936
|
-
const LpCommandPalette = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
936
|
+
const LpCommandPalette = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-14ce7a99"]]);
|
|
937
937
|
export {
|
|
938
938
|
LpCommandPalette as default
|
|
939
939
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createElementBlock, createElementVNode, renderSlot, createBlock, createVNode, createCommentVNode, toDisplayString } from "vue";
|
|
2
|
-
import { _ as _sfc_main$1 } from "../chunks/LpAvatar-
|
|
2
|
+
import { _ as _sfc_main$1 } from "../chunks/LpAvatar-CeW4Z5CL.js";
|
|
3
3
|
import { _ as _sfc_main$2 } from "../chunks/LpIcon-B5guGKrW.js";
|
|
4
4
|
import { _ as _sfc_main$3 } from "../chunks/HighlightText-BvnYZkhi.js";
|
|
5
5
|
import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper-1tPrXgE0.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, unref, withCtx, createElementVNode, createElementBlock, Fragment, renderList, toDisplayString, createTextVNode, createCommentVNode, createVNode } from "vue";
|
|
2
2
|
import LpKeys from "./LpKeys.vue.js";
|
|
3
|
-
import { _ as _sfc_main$1 } from "../chunks/LpModal-
|
|
3
|
+
import { _ as _sfc_main$1 } from "../chunks/LpModal-DvGD6kEe.js";
|
|
4
4
|
import { mergeShortcutGroups, activeShortcuts, useHotkeys } from "../composables/useHotkeys.js";
|
|
5
5
|
import { useLabels } from "../composables/useLpConfig.js";
|
|
6
6
|
import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper-1tPrXgE0.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, useAttrs, ref, shallowRef, watch, onMounted, onBeforeUnmount, openBlock, createElementBlock, normalizeClass, createVNode, withCtx, createTextVNode, toDisplayString, createCommentVNode, Fragment, renderList, createElementVNode, Transition, renderSlot, mergeProps, normalizeStyle, createBlock, TransitionGroup, unref, withModifiers, nextTick } from "vue";
|
|
2
2
|
import { _ as _sfc_main$7 } from "../chunks/LpCheckbox-B_C8sOoT.js";
|
|
3
|
-
import { _ as _sfc_main$6 } from "../chunks/LpContextMenu-
|
|
3
|
+
import { _ as _sfc_main$6 } from "../chunks/LpContextMenu-DRFd-iyc.js";
|
|
4
4
|
import { _ as _sfc_main$2 } from "../chunks/LpIcon-B5guGKrW.js";
|
|
5
5
|
import { _ as _sfc_main$a } from "../chunks/LpPagination-DehAaJLY.js";
|
|
6
6
|
import { _ as _sfc_main$8 } from "../chunks/LpPopover-DCKeqiVn.js";
|
|
@@ -18,7 +18,7 @@ import { _ as _sfc_main$1 } from "../chunks/LpButton-vhlwmpBy.js";
|
|
|
18
18
|
import { toCsv, downloadFile, fileStem } from "./exportData.js";
|
|
19
19
|
import { summarizeShown, parseTableState, serializeTableState, countValues } from "./tableFilter.js";
|
|
20
20
|
import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper-1tPrXgE0.js";
|
|
21
|
-
import '../assets/LpTable-
|
|
21
|
+
import '../assets/LpTable-B_QCQCbB.css';const _hoisted_1 = {
|
|
22
22
|
key: 0,
|
|
23
23
|
class: "flex justify-end"
|
|
24
24
|
};
|
|
@@ -803,7 +803,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
803
803
|
default: withCtx(() => [
|
|
804
804
|
createElementVNode("button", {
|
|
805
805
|
type: "button",
|
|
806
|
-
class: normalizeClass(["group/sort -mx-1 inline-flex items-center gap-1 rounded px-1 outline-none transition-colors duration-[var(--duration-fast)] hover:text-ink focus-visible:ring-2 focus-visible:ring-ring", [
|
|
806
|
+
class: normalizeClass(["group/sort -mx-1 inline-flex items-center gap-1 rounded-small px-1 outline-none transition-colors duration-[var(--duration-fast)] hover:text-ink focus-visible:ring-2 focus-visible:ring-ring", [
|
|
807
807
|
col.align === "right" ? "flex-row-reverse" : "",
|
|
808
808
|
activeSort.value?.key === col.key ? "text-ink" : ""
|
|
809
809
|
]]),
|
|
@@ -834,7 +834,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
834
834
|
trigger: withCtx(() => [
|
|
835
835
|
createElementVNode("button", {
|
|
836
836
|
type: "button",
|
|
837
|
-
class: normalizeClass(["ml-0.5 inline-grid size-5 place-items-center rounded align-middle outline-none transition-colors duration-fast hover:bg-surface-raised hover:text-ink focus-visible:ring-2 focus-visible:ring-ring", hiddenValues.value[col.key]?.size ? "text-brand" : "opacity-60"]),
|
|
837
|
+
class: normalizeClass(["ml-0.5 inline-grid size-5 place-items-center rounded-small align-middle outline-none transition-colors duration-fast hover:bg-surface-raised hover:text-ink focus-visible:ring-2 focus-visible:ring-ring", hiddenValues.value[col.key]?.size ? "text-brand" : "opacity-60"]),
|
|
838
838
|
"aria-label": text.value.filterColumn.replace("{column}", col.label),
|
|
839
839
|
"data-lp-filter": col.key
|
|
840
840
|
}, [
|
|
@@ -956,7 +956,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
956
956
|
};
|
|
957
957
|
}
|
|
958
958
|
});
|
|
959
|
-
const LpTable = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
959
|
+
const LpTable = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-344d1bc2"]]);
|
|
960
960
|
export {
|
|
961
961
|
LpTable as default
|
|
962
962
|
};
|
|
@@ -29,6 +29,12 @@ type __VLS_Props = {
|
|
|
29
29
|
block?: boolean;
|
|
30
30
|
/** Accessible name of the tab list, e.g. "Main" for an app's navigation. */
|
|
31
31
|
label?: string;
|
|
32
|
+
/**
|
|
33
|
+
* The marker glides under the hovered tab and springs back on leave (the
|
|
34
|
+
* default). False pins it to the selected tab: calmer for a dense header
|
|
35
|
+
* where the pointer crosses the bar on its way elsewhere.
|
|
36
|
+
*/
|
|
37
|
+
hoverFollow?: boolean;
|
|
32
38
|
};
|
|
33
39
|
declare var __VLS_51: {
|
|
34
40
|
value: string;
|
|
@@ -46,6 +52,7 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
46
52
|
block: boolean;
|
|
47
53
|
variant: "contained" | "plain" | "underline" | "bottom";
|
|
48
54
|
accent: boolean;
|
|
55
|
+
hoverFollow: boolean;
|
|
49
56
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
50
57
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
51
58
|
declare const _default: typeof __VLS_export;
|
|
@@ -2,7 +2,7 @@ const POPOVER_ANIM = "data-[state=open]:animate-[popover-in_140ms_var(--ease-emp
|
|
|
2
2
|
const TOOLTIP_ANIM = "data-[state=delayed-open]:animate-[popover-in_120ms_var(--ease-emphasized)] data-[state=closed]:animate-[popover-out_100ms_ease] data-[side=top]:data-[state=delayed-open]:animate-[popover-in-up_120ms_var(--ease-emphasized)] data-[side=top]:data-[state=closed]:animate-[popover-out-up_100ms_ease]";
|
|
3
3
|
const PANEL_SURFACE = "group rounded-control border border-line bg-surface-overlay shadow-panel backdrop-blur";
|
|
4
4
|
const POPOVER_PANEL = PANEL_SURFACE + " " + POPOVER_ANIM;
|
|
5
|
-
const OPTION_ITEM = "flex cursor-pointer items-center gap-2 rounded-
|
|
5
|
+
const OPTION_ITEM = "flex cursor-pointer items-center gap-2 rounded-inner px-2.5 py-1.5 text-sm text-ink outline-none animate-[option-in_180ms_var(--ease-emphasized)_both] group-data-[side=top]:animate-[option-in-up_180ms_var(--ease-emphasized)_both] data-[highlighted]:bg-brand-soft data-[highlighted]:text-brand";
|
|
6
6
|
const CLOSE_ICON = "transition-transform duration-medium ease-[var(--ease-emphasized)] group-hover:rotate-90 group-active:scale-90 motion-reduce:group-hover:rotate-0";
|
|
7
7
|
export {
|
|
8
8
|
CLOSE_ICON,
|
|
@@ -159,7 +159,7 @@ function createHintSystem(options) {
|
|
|
159
159
|
);
|
|
160
160
|
const hasTour = (page = state.page) => Object.values(features).some((f) => f.page === page);
|
|
161
161
|
function startTour(page = state.page, only) {
|
|
162
|
-
const entries = Object.entries(features).filter(([id, f]) => f.page === page && (!only || only.includes(id))).sort(([, a], [, b]) => (a.order ?? 0) - (b.order ?? 0));
|
|
162
|
+
const entries = Object.entries(features).filter(([id, f]) => f.page === page && (!only || only.includes(id)) && (!!f.target || !!f.enter || hints.present(id))).sort(([, a], [, b]) => (a.order ?? 0) - (b.order ?? 0));
|
|
163
163
|
if (!entries.length) return;
|
|
164
164
|
state.offer = null;
|
|
165
165
|
Object.assign(state.tour, {
|
package/dist/index.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { _ } from "./chunks/LayoutCanvas-BcGLJVBq.js";
|
|
2
|
-
import { _ as _2 } from "./chunks/LpAddressInput-
|
|
2
|
+
import { _ as _2 } from "./chunks/LpAddressInput-D-H94m4q.js";
|
|
3
3
|
import { _ as _3 } from "./chunks/LpMapPicker-BH5csaBt.js";
|
|
4
4
|
import { OSM_TILES, createNominatimProvider, emptyAddress, formatAddress, project, tileUrl, unproject } from "./components/address.js";
|
|
5
5
|
import { _ as _4 } from "./chunks/LpActionBar-DCN-_pZP.js";
|
|
6
6
|
import { _ as _5 } from "./chunks/LpAlert-CXMn1GYE.js";
|
|
7
|
-
import { _ as _6 } from "./chunks/LpAppShell-
|
|
7
|
+
import { _ as _6 } from "./chunks/LpAppShell-BeMuKEjh.js";
|
|
8
8
|
import { _ as _7 } from "./chunks/LpAutocomplete-hJ_6CHlh.js";
|
|
9
|
-
import { _ as _8 } from "./chunks/LpAvatar-
|
|
9
|
+
import { _ as _8 } from "./chunks/LpAvatar-CeW4Z5CL.js";
|
|
10
10
|
import { _ as _9 } from "./chunks/LpBadge-Fe0D1bYx.js";
|
|
11
11
|
import { _ as _10 } from "./chunks/LpBreadcrumbs-BLzOEgAF.js";
|
|
12
12
|
import { _ as _11 } from "./chunks/LpButton-vhlwmpBy.js";
|
|
13
13
|
import { _ as _12 } from "./chunks/LpCalendar-BLoE8Qm7.js";
|
|
14
|
-
import { _ as _13 } from "./chunks/LpCard-
|
|
14
|
+
import { _ as _13 } from "./chunks/LpCard-Gbr8a1xK.js";
|
|
15
15
|
import { default as default2 } from "./components/LpChart.vue.js";
|
|
16
16
|
import { backgroundOf, csvField, downloadFile, fileStem, inlineSvg, resolveCssColor, svgToPng, toCsv } from "./components/exportData.js";
|
|
17
17
|
import { CHART_PALETTE, axisTicks, chartSummary, formatTick, markerIndex, niceScale, resolveSlices } from "./components/chart.js";
|
|
18
18
|
import { _ as _14 } from "./chunks/LpCheckbox-B_C8sOoT.js";
|
|
19
|
-
import { _ as _15 } from "./chunks/LpCodeBlock-
|
|
19
|
+
import { _ as _15 } from "./chunks/LpCodeBlock-D6zhp30a.js";
|
|
20
20
|
import { tokenizeLines } from "./components/codeHighlight.js";
|
|
21
|
-
import { _ as _16 } from "./chunks/LpColorPicker-
|
|
21
|
+
import { _ as _16 } from "./chunks/LpColorPicker-CVXwjEtX.js";
|
|
22
22
|
import { DEFAULT_SWATCHES, clampHsv, formatColor, hsvToHsl, hsvToRgb, isLight, normalizeHue, opaqueCss, parseColor, parseHex, rgbToHex, rgbToHsv } from "./components/color.js";
|
|
23
23
|
import { default as default3 } from "./components/LpCommandPalette.vue.js";
|
|
24
24
|
import { applyQueryFilters, highlightParts, parseCommandQuery, parsePaletteQuery, rankCommandItems } from "./components/commandSearch.js";
|
|
@@ -30,21 +30,21 @@ import { default as default6 } from "./components/LpPaletteStats.vue.js";
|
|
|
30
30
|
import { default as default7 } from "./components/LpPaletteSwatches.vue.js";
|
|
31
31
|
import { default as default8 } from "./components/LpKeys.vue.js";
|
|
32
32
|
import { comboKeys, comboSteps } from "./components/keys.js";
|
|
33
|
-
import { _ as _18 } from "./chunks/LpConfirmDialog-
|
|
34
|
-
import { _ as _19 } from "./chunks/LpConfirmHost-
|
|
33
|
+
import { _ as _18 } from "./chunks/LpConfirmDialog-DkgIT-Xg.js";
|
|
34
|
+
import { _ as _19 } from "./chunks/LpConfirmHost-CYzXWFOI.js";
|
|
35
35
|
import { confirm, useConfirm } from "./components/confirm.js";
|
|
36
|
-
import { _ as _20 } from "./chunks/LpContextMenu-
|
|
36
|
+
import { _ as _20 } from "./chunks/LpContextMenu-DRFd-iyc.js";
|
|
37
37
|
import { _ as _21 } from "./chunks/LpDatePicker-B-VMHMgy.js";
|
|
38
38
|
import { _ as _22 } from "./chunks/LpDateRangePicker-B68KPKPl.js";
|
|
39
39
|
import { _ as _23 } from "./chunks/LpRangeCalendar-D5sDID9W.js";
|
|
40
40
|
import { clampRange, defaultRangePresets, formatRange, normalizeRange, sameRange } from "./components/dateRange.js";
|
|
41
41
|
import { _ as _24 } from "./chunks/LpDisclosure-Ct-VBHxt.js";
|
|
42
42
|
import { _ as _25 } from "./chunks/LpDivider-CUX46KR0.js";
|
|
43
|
-
import { _ as _26 } from "./chunks/LpDrawer-
|
|
44
|
-
import { _ as _27 } from "./chunks/LpDropdownMenu-
|
|
43
|
+
import { _ as _26 } from "./chunks/LpDrawer-Rc6eAJrr.js";
|
|
44
|
+
import { _ as _27 } from "./chunks/LpDropdownMenu-BoJQsjzt.js";
|
|
45
45
|
import { default as default9 } from "./components/LpDropzone.vue.js";
|
|
46
46
|
import { _ as _28 } from "./chunks/LpEmptyState-CBwwkkdA.js";
|
|
47
|
-
import { _ as _29 } from "./chunks/LpFileTree-
|
|
47
|
+
import { _ as _29 } from "./chunks/LpFileTree-Bs57DhVa.js";
|
|
48
48
|
import { ancestorIds, checkStateOf, checkedCount, computeStats, fileIcon, formatModified, formatSize, sortNodes, subtreeIds, subtreeSize } from "./components/fileTree.js";
|
|
49
49
|
import { _ as _30 } from "./chunks/LpFieldNotice-9hH4ITZa.js";
|
|
50
50
|
import { _ as _31 } from "./chunks/LpFormField-BpQ6WJPe.js";
|
|
@@ -56,20 +56,20 @@ import { _ as _34 } from "./chunks/LpInput-WvyP02ID.js";
|
|
|
56
56
|
import { _ as _35 } from "./chunks/LpLightbox-Dq-e36uT.js";
|
|
57
57
|
import { fileNameOf } from "./components/lightbox.js";
|
|
58
58
|
import { _ as _36 } from "./chunks/LpLink-Krkjhe_y.js";
|
|
59
|
-
import { _ as _37 } from "./chunks/LpLogViewer-
|
|
59
|
+
import { _ as _37 } from "./chunks/LpLogViewer-B92bAftG.js";
|
|
60
60
|
import { countLevels, matchPositions, matchesTerm, ringWindow, stepMatch } from "./components/logSearch.js";
|
|
61
61
|
import { _ as _38 } from "./chunks/LpMediaGallery-B1kDypJ-.js";
|
|
62
|
-
import { _ as _39 } from "./chunks/LpModal-
|
|
63
|
-
import { _ as _40 } from "./chunks/LpModalNav-
|
|
64
|
-
import { _ as _41 } from "./chunks/LpNotificationBell-
|
|
62
|
+
import { _ as _39 } from "./chunks/LpModal-DvGD6kEe.js";
|
|
63
|
+
import { _ as _40 } from "./chunks/LpModalNav-B-_zRTS-.js";
|
|
64
|
+
import { _ as _41 } from "./chunks/LpNotificationBell-63pvatBj.js";
|
|
65
65
|
import { _ as _42 } from "./chunks/LpNumberField-CJPjmoDz.js";
|
|
66
66
|
import { _ as _43 } from "./chunks/LpTimeField-DvGXgdES.js";
|
|
67
67
|
import { _ as _44 } from "./chunks/LpNumberFlow-z4WPZcZu.js";
|
|
68
68
|
import { _ as _45 } from "./chunks/LpOtpInput-PbeNJ5In.js";
|
|
69
69
|
import { _ as _46 } from "./chunks/LpPagination-DehAaJLY.js";
|
|
70
|
-
import { _ as _47 } from "./chunks/LpPasswordInput-
|
|
71
|
-
import { _ as _48 } from "./chunks/LpPie-
|
|
72
|
-
import { _ as _49 } from "./chunks/LpPhoneInput-
|
|
70
|
+
import { _ as _47 } from "./chunks/LpPasswordInput-BK25_vNG.js";
|
|
71
|
+
import { _ as _48 } from "./chunks/LpPie-Coa2GMHt.js";
|
|
72
|
+
import { _ as _49 } from "./chunks/LpPhoneInput-Bxg7a_qD.js";
|
|
73
73
|
import { filterCountries, flagEmoji, loadCountries, matchCountryByValue } from "./components/countries.js";
|
|
74
74
|
import { _ as _50 } from "./chunks/LpPopover-DCKeqiVn.js";
|
|
75
75
|
import { _ as _51 } from "./chunks/LpProgress-CBU1iI69.js";
|
|
@@ -77,13 +77,13 @@ import { _ as _52 } from "./chunks/LpRadio-CWA5Eb3M.js";
|
|
|
77
77
|
import { _ as _53 } from "./chunks/LpRadioGroup-CCn-Q2_c.js";
|
|
78
78
|
import { _ as _54 } from "./chunks/LpRollingText-DB7upf-5.js";
|
|
79
79
|
import { _ as _55 } from "./chunks/LpScrollArea-Hz3-JWUG.js";
|
|
80
|
-
import { _ as _56 } from "./chunks/LpSegmented-
|
|
80
|
+
import { _ as _56 } from "./chunks/LpSegmented-DbrUjuSA.js";
|
|
81
81
|
import { _ as _57 } from "./chunks/LpSection-B19VPYmr.js";
|
|
82
82
|
import { _ as _58 } from "./chunks/LpSelect-DynjWK1A.js";
|
|
83
83
|
import { _ as _59 } from "./chunks/LpServiceNode-D8uJ8sGk.js";
|
|
84
84
|
import { _ as _60 } from "./chunks/LpShift-DXNsauQZ.js";
|
|
85
85
|
import { default as default11 } from "./components/LpShortcutsDialog.vue.js";
|
|
86
|
-
import { _ as _61 } from "./chunks/LpSidebar-
|
|
86
|
+
import { _ as _61 } from "./chunks/LpSidebar-CKamWtPo.js";
|
|
87
87
|
import { _ as _62 } from "./chunks/LpSkeleton-BB6XIV-w.js";
|
|
88
88
|
import { _ as _63 } from "./chunks/LpSlider-Cuzmrd7p.js";
|
|
89
89
|
import { _ as _64 } from "./chunks/LpRangeSlider-C1yF9-nP.js";
|
|
@@ -96,13 +96,13 @@ import { _ as _69 } from "./chunks/LpSwitch-DG2AhXIL.js";
|
|
|
96
96
|
import { default as default12 } from "./components/LpTable.vue.js";
|
|
97
97
|
import { compareValues } from "./components/tableSort.js";
|
|
98
98
|
import { _ as _70 } from "./chunks/LpTableOfContents-DYuqkByy.js";
|
|
99
|
-
import { _ as _71 } from "./chunks/LpTabs-
|
|
99
|
+
import { _ as _71 } from "./chunks/LpTabs-D01b8jBI.js";
|
|
100
100
|
import { _ as _72 } from "./chunks/LpTagsInput-CHbQoAAA.js";
|
|
101
101
|
import { addTags, splitTags } from "./components/tags.js";
|
|
102
102
|
import { _ as _73 } from "./chunks/LpTextarea-Bz2IWhTH.js";
|
|
103
|
-
import { _ as _74 } from "./chunks/LpThemeSwitcher-
|
|
103
|
+
import { _ as _74 } from "./chunks/LpThemeSwitcher-CbzL6ipO.js";
|
|
104
104
|
import { _ as _75 } from "./chunks/LpTilt-B7KHX1zH.js";
|
|
105
|
-
import { _ as _76 } from "./chunks/LpToaster-
|
|
105
|
+
import { _ as _76 } from "./chunks/LpToaster-C9EacEfR.js";
|
|
106
106
|
import { _ as _77 } from "./chunks/LpTooltip-suFCM34F.js";
|
|
107
107
|
import { _ as _78 } from "./chunks/LpTour-D7m9ZxNk.js";
|
|
108
108
|
import { holeOf, openContextMenu, panelsAround } from "./components/tour.js";
|