@leavepulse/ui 0.58.1 → 0.60.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-DA5pmuPi.css} +21 -21
- package/dist/assets/{LpTable-BNzavdlv.css → LpTable-BZZf_rrt.css} +19 -19
- package/dist/chunks/{ContextMenuItems-BY5sTVQF.js → ContextMenuItems-qXReFtQW.js} +2 -2
- package/dist/chunks/{LayoutCanvas-BcGLJVBq.js → LayoutCanvas-t7LWFCEn.js} +1 -1
- package/dist/chunks/{LayoutNode-BkBn6dvM.js → LayoutNode-DHsE6GwM.js} +1 -1
- package/dist/chunks/{LpActionBar-DCN-_pZP.js → LpActionBar-BsSp66S_.js} +2 -2
- package/dist/chunks/{LpAddressInput-Dio6Sqed.js → LpAddressInput-DD4zTN4P.js} +7 -7
- package/dist/chunks/{LpAlert-CXMn1GYE.js → LpAlert--KLL4NLk.js} +1 -1
- package/dist/chunks/{LpAppShell-Be6T96td.js → LpAppShell-Cv-Y9qNA.js} +3 -3
- package/dist/chunks/{LpAutocomplete-hJ_6CHlh.js → LpAutocomplete-PnL2ntKl.js} +1 -1
- package/dist/chunks/{LpAvatar-BxNs23Xu.js → LpAvatar-CwGs1JCQ.js} +2 -2
- package/dist/chunks/{LpBreadcrumbs-BLzOEgAF.js → LpBreadcrumbs-CndzPYiG.js} +1 -1
- package/dist/chunks/{LpButton-vhlwmpBy.js → LpButton-CJSD7N0Z.js} +1 -1
- package/dist/chunks/{LpCalendar-BLoE8Qm7.js → LpCalendar-CXVDbb2M.js} +1 -1
- package/dist/chunks/{LpCard-DhR7u0d8.js → LpCard-B2D0GIUU.js} +1 -1
- package/dist/chunks/{LpCheckbox-B_C8sOoT.js → LpCheckbox-DV9W6T3H.js} +1 -1
- package/dist/chunks/{LpCodeBlock-CXsqJwDy.js → LpCodeBlock-t6MLA3fb.js} +5 -5
- package/dist/chunks/{LpColorPicker-DQ88niXq.js → LpColorPicker-CvBF8TeL.js} +6 -6
- package/dist/chunks/{LpConfirmDialog-DxlSdjmk.js → LpConfirmDialog-tkgyY3eu.js} +3 -3
- package/dist/chunks/{LpConfirmHost-BcrmTNu_.js → LpConfirmHost-CoYIcUdl.js} +1 -1
- package/dist/chunks/{LpContextMenu-B1NGfpp1.js → LpContextMenu-BnN1k7ga.js} +17 -5
- package/dist/chunks/{LpDatePicker-B-VMHMgy.js → LpDatePicker-DxdrVNCG.js} +3 -3
- package/dist/chunks/{LpDateRangePicker-B68KPKPl.js → LpDateRangePicker-DjeaqikC.js} +2 -2
- package/dist/chunks/{LpDisclosure-Ct-VBHxt.js → LpDisclosure-s8cQ7KQq.js} +1 -1
- package/dist/chunks/{LpDrawer-DSknigxH.js → LpDrawer-C97yoWmh.js} +2 -2
- package/dist/chunks/{LpDropdownMenu-C7oHVlKY.js → LpDropdownMenu-CbyYu4Rw.js} +12 -5
- package/dist/chunks/{LpEmptyState-CBwwkkdA.js → LpEmptyState-CX8fdGSU.js} +1 -1
- package/dist/chunks/{LpFieldNotice-9hH4ITZa.js → LpFieldNotice-B--RzKfj.js} +1 -1
- package/dist/chunks/{LpFileTree-CMA0_rsB.js → LpFileTree-DEqh2ySW.js} +2 -2
- package/dist/chunks/{LpFileTreeNode-B4T258hF.js → LpFileTreeNode-DCZA7sQ-.js} +3 -3
- package/dist/chunks/{LpFormField-BpQ6WJPe.js → LpFormField-DMPPL1jF.js} +1 -1
- package/dist/chunks/{LpHintLayer-B5-6FyEf.js → LpHintLayer-DsclGYcD.js} +1 -1
- package/dist/chunks/{LpHints-BqoZXHZk.js → LpHints-BTpvisgP.js} +10 -4
- package/dist/chunks/{LpIcon-B5guGKrW.js → LpIcon-CTuDVTYv.js} +1 -1
- package/dist/chunks/{LpInput-WvyP02ID.js → LpInput-C7FHxzj2.js} +2 -2
- package/dist/chunks/{LpLightbox-Dq-e36uT.js → LpLightbox-DiksFa4L.js} +1 -1
- package/dist/chunks/{LpLogViewer-DwiYE32z.js → LpLogViewer-BuPe23sZ.js} +2 -2
- package/dist/chunks/{LpMapPicker-BH5csaBt.js → LpMapPicker-DybIlWnF.js} +1 -1
- package/dist/chunks/{LpMediaGallery-B1kDypJ-.js → LpMediaGallery-Cic9UHsa.js} +2 -2
- package/dist/chunks/{LpModal-BxYssnXg.js → LpModal-QFfctZsj.js} +2 -2
- package/dist/chunks/{LpModalNav-Bn2ws64b.js → LpModalNav-Cw7m-eks.js} +4 -4
- package/dist/chunks/{LpNotificationBell-DJfs4JjQ.js → LpNotificationBell-xH_JphpS.js} +6 -6
- package/dist/chunks/{LpNumberField-CJPjmoDz.js → LpNumberField-BFSRVGkJ.js} +1 -1
- package/dist/chunks/{LpPagination-DehAaJLY.js → LpPagination-BFl0I7tL.js} +1 -1
- package/dist/chunks/{LpPasswordInput-Bg5uTZbx.js → LpPasswordInput-C1G4k_r0.js} +3 -3
- package/dist/chunks/{LpPhoneInput-DStwcbnQ.js → LpPhoneInput-CZrpVxla.js} +3 -3
- package/dist/chunks/{LpPie-DeTkbbOK.js → LpPie-BD5Lsh-2.js} +3 -3
- package/dist/chunks/{LpRangeCalendar-D5sDID9W.js → LpRangeCalendar-COeOYF52.js} +1 -1
- package/dist/chunks/{LpSection-B19VPYmr.js → LpSection-BAkbf0OK.js} +1 -1
- package/dist/chunks/{LpSegmented-D3Eam8sa.js → LpSegmented-DslFku0N.js} +3 -3
- package/dist/chunks/{LpSelect-DynjWK1A.js → LpSelect-C4OXN_q3.js} +1 -1
- package/dist/chunks/{LpSidebar-CshW0fqC.js → LpSidebar-B3E_iViL.js} +3 -3
- package/dist/chunks/{LpSidebarNav-C9b3i9G2.js → LpSidebarNav-32sAXNM-.js} +4 -4
- package/dist/chunks/{LpStat-BS2TEXYK.js → LpStat-oYk6V1LZ.js} +1 -1
- package/dist/chunks/{LpStepper-BSglWF45.js → LpStepper-YgHGzgfD.js} +1 -1
- package/dist/chunks/{LpTableFilter-CwHXVxJt.js → LpTableFilter-Ba-rS4H1.js} +2 -2
- package/dist/chunks/{LpTabs-BBGRHY38.js → LpTabs-00v3VQx4.js} +7 -6
- package/dist/chunks/{LpTagsInput-CHbQoAAA.js → LpTagsInput-Sc56iy_j.js} +3 -3
- package/dist/chunks/{LpTextarea-Bz2IWhTH.js → LpTextarea-CQZccQI3.js} +1 -1
- package/dist/chunks/{LpThemeSwitcher-B_qhSl7q.js → LpThemeSwitcher-CeBG0e_D.js} +2 -2
- package/dist/chunks/{LpTimeField-DvGXgdES.js → LpTimeField-BTEt0kvL.js} +1 -1
- package/dist/chunks/{LpToaster-Bo9Q4QBP.js → LpToaster-BcKs7vX7.js} +3 -3
- package/dist/chunks/{LpTour-D7m9ZxNk.js → LpTour-C29-1wha.js} +4 -1
- package/dist/chunks/{MenuTitle-DQP6hc2N.js → MenuTitle-FeC6I24N.js} +3 -3
- package/dist/chunks/{TourCard-DCHOjr6e.js → TourCard-AjN0uhs1.js} +2 -2
- package/dist/chunks/{icons-QqBscG5I.js → icons-CuO3W46H.js} +1 -1
- package/dist/components/ContextMenuItems.vue.js +1 -1
- package/dist/components/LayoutCanvas.vue.js +1 -1
- package/dist/components/LayoutNode.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/LpAutocomplete.vue.js +1 -1
- package/dist/components/LpAvatar.vue.js +1 -1
- package/dist/components/LpBreadcrumbs.vue.js +1 -1
- package/dist/components/LpButton.vue.js +1 -1
- package/dist/components/LpCalendar.vue.js +1 -1
- package/dist/components/LpCard.vue.js +1 -1
- package/dist/components/LpChart.vue.js +4 -4
- package/dist/components/LpCheckbox.vue.js +1 -1
- package/dist/components/LpCodeBlock.vue.js +1 -1
- package/dist/components/LpColorPicker.vue.js +1 -1
- package/dist/components/LpCommandPalette.vue.js +38 -27
- package/dist/components/LpConfirmDialog.vue.js +1 -1
- package/dist/components/LpConfirmHost.vue.js +1 -1
- package/dist/components/LpContextMenu.vue.d.ts +7 -2
- package/dist/components/LpContextMenu.vue.js +1 -1
- package/dist/components/LpDatePicker.vue.js +1 -1
- package/dist/components/LpDateRangePicker.vue.js +1 -1
- package/dist/components/LpDisclosure.vue.js +1 -1
- package/dist/components/LpDrawer.vue.js +1 -1
- package/dist/components/LpDropdownMenu.vue.d.ts +7 -2
- package/dist/components/LpDropdownMenu.vue.js +1 -1
- package/dist/components/LpDropzone.vue.js +1 -1
- package/dist/components/LpEmptyState.vue.js +1 -1
- package/dist/components/LpFieldNotice.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/LpIcon.vue.js +1 -1
- package/dist/components/LpImageEditor.vue.js +4 -2
- package/dist/components/LpInput.vue.js +1 -1
- package/dist/components/LpLightbox.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/LpModal.vue.js +1 -1
- package/dist/components/LpModalNav.vue.js +1 -1
- package/dist/components/LpNotificationBell.vue.js +1 -1
- package/dist/components/LpNumberField.vue.js +1 -1
- package/dist/components/LpPagination.vue.js +1 -1
- package/dist/components/LpPaletteFacts.vue.js +1 -1
- package/dist/components/LpPaletteHeader.vue.js +2 -2
- 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/LpRangeCalendar.vue.js +1 -1
- package/dist/components/LpSection.vue.js +1 -1
- package/dist/components/LpSegmented.vue.js +1 -1
- package/dist/components/LpSelect.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/LpStat.vue.js +1 -1
- package/dist/components/LpStepper.vue.js +1 -1
- package/dist/components/LpTable.vue.js +13 -12
- package/dist/components/LpTableFilter.vue.js +1 -1
- package/dist/components/LpTabs.vue.d.ts +7 -0
- 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/LpThemeSwitcher.vue.js +1 -1
- package/dist/components/LpTimeField.vue.js +1 -1
- package/dist/components/LpToaster.vue.js +1 -1
- package/dist/components/LpTour.vue.js +1 -1
- package/dist/components/MenuTitle.vue.js +1 -1
- package/dist/components/TourCard.vue.js +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/composables/useHintSystem.d.ts +65 -0
- package/dist/composables/useHintSystem.js +98 -12
- package/dist/icons-all.js +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +62 -58
- 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 +36 -14
- package/src/components/LpContextMenu.vue +19 -1
- package/src/components/LpDrawer.vue +1 -1
- package/src/components/LpDropdownMenu.vue +14 -3
- package/src/components/LpHints.vue +7 -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 +3 -3
- package/src/components/LpTabs.vue +11 -5
- package/src/components/LpToaster.vue +2 -2
- package/src/components/LpTour.vue +3 -0
- package/src/components/MenuTitle.vue +2 -2
- package/src/components/dropdown.ts +1 -1
- package/src/composables/useHintSystem.ts +130 -12
- package/src/index.ts +2 -1
- package/src/kit-icons.ts +1 -1
- package/src/tokens/tokens.css +6 -0
|
@@ -13,10 +13,15 @@ type __VLS_Props = {
|
|
|
13
13
|
subtitle?: string;
|
|
14
14
|
titleIcon?: string;
|
|
15
15
|
titleImage?: string;
|
|
16
|
+
/**
|
|
17
|
+
* The same items are also on a right click (a row's "…" next to its context
|
|
18
|
+
* menu). Opening it then counts toward the hint system's right-click tip.
|
|
19
|
+
*/
|
|
20
|
+
rightClickToo?: boolean;
|
|
16
21
|
};
|
|
17
|
-
declare var
|
|
22
|
+
declare var __VLS_16: {};
|
|
18
23
|
type __VLS_Slots = {} & {
|
|
19
|
-
trigger?: (props: typeof
|
|
24
|
+
trigger?: (props: typeof __VLS_16) => any;
|
|
20
25
|
};
|
|
21
26
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
22
27
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, onMounted, watch, onBeforeUnmount, openBlock, createElementBlock, mergeProps, unref, withModifiers, createElementVNode, renderSlot, createVNode, normalizeClass, toDisplayString, createCommentVNode } from "vue";
|
|
2
2
|
import { useMergedAttrs } from "../composables/useMergedClass.js";
|
|
3
3
|
import { useReveal } from "../composables/useReveal.js";
|
|
4
|
-
import { _ as _sfc_main$1 } from "../chunks/LpIcon-
|
|
4
|
+
import { _ as _sfc_main$1 } from "../chunks/LpIcon-CTuDVTYv.js";
|
|
5
5
|
import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper-1tPrXgE0.js";
|
|
6
6
|
import '../assets/LpDropzone-Ev6X03zj.css';const _hoisted_1 = ["disabled"];
|
|
7
7
|
const _hoisted_2 = {
|
|
@@ -4,9 +4,11 @@ import { isSideways, coverScale, cropGeometry } from "./imageCrop.js";
|
|
|
4
4
|
import { useHotkeys } from "../composables/useHotkeys.js";
|
|
5
5
|
import { useReveal } from "../composables/useReveal.js";
|
|
6
6
|
import { useZoomPan } from "../composables/useZoomPan.js";
|
|
7
|
-
import { _ as _sfc_main$1 } from "../chunks/LpButton-
|
|
7
|
+
import { _ as _sfc_main$1 } from "../chunks/LpButton-CJSD7N0Z.js";
|
|
8
8
|
import "reka-ui";
|
|
9
|
-
import
|
|
9
|
+
import "../composables/useHints.js";
|
|
10
|
+
import "../composables/useHintSystem.js";
|
|
11
|
+
import { _ as _sfc_main$2 } from "../chunks/LpIcon-CTuDVTYv.js";
|
|
10
12
|
import { useMergedAttrs } from "../composables/useMergedClass.js";
|
|
11
13
|
import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper-1tPrXgE0.js";
|
|
12
14
|
import '../assets/LpImageEditor-CbMA82g8.css';const _hoisted_1 = ["aria-label"];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createElementBlock, normalizeClass, toDisplayString, createCommentVNode, createElementVNode, Fragment, renderList, normalizeStyle, createBlock, createVNode, renderSlot } from "vue";
|
|
2
2
|
import { _ as _sfc_main$2 } from "../chunks/HighlightText-BvnYZkhi.js";
|
|
3
|
-
import { _ as _sfc_main$1 } from "../chunks/LpIcon-
|
|
3
|
+
import { _ as _sfc_main$1 } from "../chunks/LpIcon-CTuDVTYv.js";
|
|
4
4
|
import { _ as _sfc_main$3 } from "../chunks/LpRollingText-DB7upf-5.js";
|
|
5
5
|
import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper-1tPrXgE0.js";
|
|
6
6
|
import '../assets/LpPaletteFacts-B9FdVmIO.css';const _hoisted_1 = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createElementBlock, createElementVNode, renderSlot, createBlock, createVNode, createCommentVNode, toDisplayString } from "vue";
|
|
2
|
-
import { _ as _sfc_main$1 } from "../chunks/LpAvatar-
|
|
3
|
-
import { _ as _sfc_main$2 } from "../chunks/LpIcon-
|
|
2
|
+
import { _ as _sfc_main$1 } from "../chunks/LpAvatar-CwGs1JCQ.js";
|
|
3
|
+
import { _ as _sfc_main$2 } from "../chunks/LpIcon-CTuDVTYv.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";
|
|
6
6
|
import '../assets/LpPaletteHeader-BVOu1UX5.css';const _hoisted_1 = { class: "lp-palette-header" };
|
|
@@ -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-QFfctZsj.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,24 +1,24 @@
|
|
|
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
|
-
import { _ as _sfc_main$7 } from "../chunks/LpCheckbox-
|
|
3
|
-
import { _ as _sfc_main$6 } from "../chunks/LpContextMenu-
|
|
4
|
-
import { _ as _sfc_main$2 } from "../chunks/LpIcon-
|
|
5
|
-
import { _ as _sfc_main$a } from "../chunks/LpPagination-
|
|
2
|
+
import { _ as _sfc_main$7 } from "../chunks/LpCheckbox-DV9W6T3H.js";
|
|
3
|
+
import { _ as _sfc_main$6 } from "../chunks/LpContextMenu-BnN1k7ga.js";
|
|
4
|
+
import { _ as _sfc_main$2 } from "../chunks/LpIcon-CTuDVTYv.js";
|
|
5
|
+
import { _ as _sfc_main$a } from "../chunks/LpPagination-BFl0I7tL.js";
|
|
6
6
|
import { _ as _sfc_main$8 } from "../chunks/LpPopover-DCKeqiVn.js";
|
|
7
7
|
import { _ as _sfc_main$5 } from "../chunks/LpScrollArea-Hz3-JWUG.js";
|
|
8
8
|
import { _ as _sfc_main$4 } from "../chunks/LpRollingText-DB7upf-5.js";
|
|
9
9
|
import { _ as _sfc_main$3 } from "../chunks/LpShift-DXNsauQZ.js";
|
|
10
|
-
import { _ as _sfc_main$9 } from "../chunks/LpTableFilter-
|
|
10
|
+
import { _ as _sfc_main$9 } from "../chunks/LpTableFilter-Ba-rS4H1.js";
|
|
11
11
|
import { useAsyncTask } from "../composables/useAsyncTask.js";
|
|
12
12
|
import { useHotkeys } from "../composables/useHotkeys.js";
|
|
13
13
|
import { usePaintSelect } from "../composables/usePaintSelect.js";
|
|
14
14
|
import { useRovingFocus } from "../composables/useRovingFocus.js";
|
|
15
15
|
import { useLabels } from "../composables/useLpConfig.js";
|
|
16
16
|
import { compareValues } from "./tableSort.js";
|
|
17
|
-
import { _ as _sfc_main$1 } from "../chunks/LpButton-
|
|
17
|
+
import { _ as _sfc_main$1 } from "../chunks/LpButton-CJSD7N0Z.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-BZZf_rrt.css';const _hoisted_1 = {
|
|
22
22
|
key: 0,
|
|
23
23
|
class: "flex justify-end"
|
|
24
24
|
};
|
|
@@ -760,7 +760,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
760
760
|
default: withCtx(() => [
|
|
761
761
|
createVNode(_sfc_main$6, {
|
|
762
762
|
items: contextMenu.value,
|
|
763
|
-
always: ""
|
|
763
|
+
always: "",
|
|
764
|
+
"no-hint": !__props.rowMenu
|
|
764
765
|
}, {
|
|
765
766
|
default: withCtx(() => [
|
|
766
767
|
createElementVNode("table", {
|
|
@@ -803,7 +804,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
803
804
|
default: withCtx(() => [
|
|
804
805
|
createElementVNode("button", {
|
|
805
806
|
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", [
|
|
807
|
+
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
808
|
col.align === "right" ? "flex-row-reverse" : "",
|
|
808
809
|
activeSort.value?.key === col.key ? "text-ink" : ""
|
|
809
810
|
]]),
|
|
@@ -834,7 +835,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
834
835
|
trigger: withCtx(() => [
|
|
835
836
|
createElementVNode("button", {
|
|
836
837
|
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"]),
|
|
838
|
+
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
839
|
"aria-label": text.value.filterColumn.replace("{column}", col.label),
|
|
839
840
|
"data-lp-filter": col.key
|
|
840
841
|
}, [
|
|
@@ -940,7 +941,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
940
941
|
], 512)
|
|
941
942
|
]),
|
|
942
943
|
_: 3
|
|
943
|
-
}, 8, ["items"])
|
|
944
|
+
}, 8, ["items", "no-hint"])
|
|
944
945
|
]),
|
|
945
946
|
_: 3
|
|
946
947
|
}, 16, ["style", "bar-inset-top"]),
|
|
@@ -956,7 +957,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
956
957
|
};
|
|
957
958
|
}
|
|
958
959
|
});
|
|
959
|
-
const LpTable = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
960
|
+
const LpTable = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-1d2375a8"]]);
|
|
960
961
|
export {
|
|
961
962
|
LpTable as default
|
|
962
963
|
};
|
|
@@ -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,
|
|
@@ -44,6 +44,43 @@ export interface HintNudge {
|
|
|
44
44
|
feature: string;
|
|
45
45
|
text: string;
|
|
46
46
|
}
|
|
47
|
+
/**
|
|
48
|
+
* A better way to do something the user keeps doing the slow way: shown now
|
|
49
|
+
* and then (at most `max` times, `nudgeAgain` apart) and never again once the
|
|
50
|
+
* better way is used. `when` reads usage counters — kit components report
|
|
51
|
+
* their own (see HINT_SIGNALS), and `hints.use(name)` adds any of the app's.
|
|
52
|
+
*/
|
|
53
|
+
export interface HintTip {
|
|
54
|
+
id: string;
|
|
55
|
+
title: string;
|
|
56
|
+
text: string;
|
|
57
|
+
keys?: string;
|
|
58
|
+
max?: number;
|
|
59
|
+
when: (count: (signal: string) => number) => boolean;
|
|
60
|
+
/** What "show me" lights up on the current screen; without it the tip only informs. */
|
|
61
|
+
step?: () => TourStep | null;
|
|
62
|
+
}
|
|
63
|
+
/** Usage the kit reports by itself. */
|
|
64
|
+
export declare const HINT_SIGNALS: {
|
|
65
|
+
/** A context menu was opened (right click or long press). */
|
|
66
|
+
readonly contextMenu: "lp.context-menu";
|
|
67
|
+
/** A "…" menu marked `rightClickToo` was opened: its items were one right click away. */
|
|
68
|
+
readonly menuButton: "lp.menu-button";
|
|
69
|
+
/** A left click on something that also has a context menu. */
|
|
70
|
+
readonly contextTarget: "lp.context-target";
|
|
71
|
+
/** The command palette was opened. */
|
|
72
|
+
readonly palette: "lp.palette";
|
|
73
|
+
/** The current hint page changed: a navigation. */
|
|
74
|
+
readonly navigate: "lp.navigate";
|
|
75
|
+
/** An item's actions were opened in the palette (Tab). */
|
|
76
|
+
readonly paletteActions: "lp.palette-actions";
|
|
77
|
+
};
|
|
78
|
+
/** Right click instead of the "…" button. */
|
|
79
|
+
export declare function contextMenuTip(text?: Partial<Pick<HintTip, "title" | "text"> & {
|
|
80
|
+
stepText: string;
|
|
81
|
+
}>): HintTip;
|
|
82
|
+
/** The palette instead of walking the menu. */
|
|
83
|
+
export declare function paletteTip(keys?: string, text?: Partial<Pick<HintTip, "title" | "text">>): HintTip;
|
|
47
84
|
export type HintLevel = "seen" | "explained" | "used";
|
|
48
85
|
export interface HintRecord {
|
|
49
86
|
state: HintLevel;
|
|
@@ -76,6 +113,7 @@ export interface HintSystemOptions {
|
|
|
76
113
|
features: Record<string, HintFeature>;
|
|
77
114
|
pages?: Record<string, HintPage>;
|
|
78
115
|
news?: HintNews[];
|
|
116
|
+
tips?: HintTip[];
|
|
79
117
|
storage?: HintStorage;
|
|
80
118
|
/** The current page id, read reactively (map your route to it). */
|
|
81
119
|
page: () => string;
|
|
@@ -93,6 +131,10 @@ export type HintOffer = {
|
|
|
93
131
|
kind: "nudge";
|
|
94
132
|
page: string;
|
|
95
133
|
nudge: HintNudge;
|
|
134
|
+
} | {
|
|
135
|
+
kind: "tip";
|
|
136
|
+
page: string;
|
|
137
|
+
tip: HintTip;
|
|
96
138
|
};
|
|
97
139
|
/** Records in localStorage: for anonymous sessions and apps without a server. */
|
|
98
140
|
export declare function localHintStorage(key?: string): HintStorage;
|
|
@@ -124,6 +166,7 @@ export declare function createHintSystem(options: HintSystemOptions): {
|
|
|
124
166
|
}> & Omit<Map<string, HintRecord>, keyof Map<any, any>>;
|
|
125
167
|
loaded: boolean;
|
|
126
168
|
page: string;
|
|
169
|
+
overlay: string | null;
|
|
127
170
|
tour: {
|
|
128
171
|
open: boolean;
|
|
129
172
|
step: number;
|
|
@@ -161,6 +204,18 @@ export declare function createHintSystem(options: HintSystemOptions): {
|
|
|
161
204
|
feature: string;
|
|
162
205
|
text: string;
|
|
163
206
|
};
|
|
207
|
+
} | {
|
|
208
|
+
kind: "tip";
|
|
209
|
+
page: string;
|
|
210
|
+
tip: {
|
|
211
|
+
id: string;
|
|
212
|
+
title: string;
|
|
213
|
+
text: string;
|
|
214
|
+
keys?: string | undefined;
|
|
215
|
+
max?: number | undefined;
|
|
216
|
+
when: (count: (signal: string) => number) => boolean;
|
|
217
|
+
step?: (() => TourStep | null) | undefined;
|
|
218
|
+
};
|
|
164
219
|
} | null;
|
|
165
220
|
candidate: {
|
|
166
221
|
id: string;
|
|
@@ -180,6 +235,14 @@ export declare function createHintSystem(options: HintSystemOptions): {
|
|
|
180
235
|
load(): Promise<void>;
|
|
181
236
|
/** Ask for a nudge; it shows when the budget and the page allow. */
|
|
182
237
|
nudge(n: HintNudge): void;
|
|
238
|
+
/**
|
|
239
|
+
* A dialog acts as its own page while open (its dots and tour), then hands
|
|
240
|
+
* back. Pass null on close, and on unmount: a dialog left open by a route
|
|
241
|
+
* change would otherwise keep the page.
|
|
242
|
+
*/
|
|
243
|
+
overlay(page: string | null): void;
|
|
244
|
+
/** How many times a signal was reported (for an app's own tips or reports). */
|
|
245
|
+
count: (name: string) => number;
|
|
183
246
|
/** The user navigated on purpose (palette, notification): do not interrupt this arrival. */
|
|
184
247
|
markIntent(): void;
|
|
185
248
|
unreadNews: (page?: string) => HintNews[];
|
|
@@ -193,3 +256,5 @@ export declare function createHintSystem(options: HintSystemOptions): {
|
|
|
193
256
|
export type HintSystem = ReturnType<typeof createHintSystem>;
|
|
194
257
|
export declare function provideHintSystem(system: HintSystem): void;
|
|
195
258
|
export declare function useHintSystem(): HintSystem | null;
|
|
259
|
+
/** The mounted host's system, read reactively from anywhere. */
|
|
260
|
+
export declare function runningHintSystem(): HintSystem | null;
|