@leavepulse/ui 0.59.0 → 0.61.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.
Files changed (168) hide show
  1. package/README.md +8 -0
  2. package/dist/assets/{LpCommandPalette-BM_IyzwB.css → LpCommandPalette-DA5pmuPi.css} +21 -21
  3. package/dist/assets/{LpTable-B_QCQCbB.css → LpTable-DpXyPzs8.css} +19 -19
  4. package/dist/chunks/{ContextMenuItems-CioDScj3.js → ContextMenuItems-qXReFtQW.js} +1 -1
  5. package/dist/chunks/{LayoutCanvas-BcGLJVBq.js → LayoutCanvas-t7LWFCEn.js} +1 -1
  6. package/dist/chunks/{LayoutNode-BkBn6dvM.js → LayoutNode-DHsE6GwM.js} +1 -1
  7. package/dist/chunks/{LpActionBar-DCN-_pZP.js → LpActionBar-BsSp66S_.js} +2 -2
  8. package/dist/chunks/{LpAddressInput-D-H94m4q.js → LpAddressInput-CzdZguBo.js} +7 -7
  9. package/dist/chunks/{LpAlert-CXMn1GYE.js → LpAlert--KLL4NLk.js} +1 -1
  10. package/dist/chunks/{LpAppShell-BeMuKEjh.js → LpAppShell-BXMNDEpF.js} +3 -3
  11. package/dist/chunks/{LpAutocomplete-hJ_6CHlh.js → LpAutocomplete-D9mY5Tqk.js} +102 -37
  12. package/dist/chunks/{LpAvatar-CeW4Z5CL.js → LpAvatar-K6MOMfgn.js} +2 -2
  13. package/dist/chunks/{LpBreadcrumbs-BLzOEgAF.js → LpBreadcrumbs-CndzPYiG.js} +1 -1
  14. package/dist/chunks/{LpButton-vhlwmpBy.js → LpButton-CJSD7N0Z.js} +1 -1
  15. package/dist/chunks/{LpCalendar-BLoE8Qm7.js → LpCalendar-CXVDbb2M.js} +1 -1
  16. package/dist/chunks/{LpCard-Gbr8a1xK.js → LpCard-D9HVgX8Y.js} +1 -1
  17. package/dist/chunks/{LpCheckbox-B_C8sOoT.js → LpCheckbox-DV9W6T3H.js} +1 -1
  18. package/dist/chunks/{LpCodeBlock-D6zhp30a.js → LpCodeBlock-t6MLA3fb.js} +1 -1
  19. package/dist/chunks/{LpColorPicker-CVXwjEtX.js → LpColorPicker-BO1ZTY51.js} +2 -2
  20. package/dist/chunks/{LpConfirmDialog-DkgIT-Xg.js → LpConfirmDialog-tkgyY3eu.js} +3 -3
  21. package/dist/chunks/{LpConfirmHost-CYzXWFOI.js → LpConfirmHost-CoYIcUdl.js} +1 -1
  22. package/dist/chunks/{LpContextMenu-DRFd-iyc.js → LpContextMenu-Cv_F2iCG.js} +20 -5
  23. package/dist/chunks/{LpDatePicker-B-VMHMgy.js → LpDatePicker-DxdrVNCG.js} +3 -3
  24. package/dist/chunks/{LpDateRangePicker-B68KPKPl.js → LpDateRangePicker-DjeaqikC.js} +2 -2
  25. package/dist/chunks/{LpDisclosure-Ct-VBHxt.js → LpDisclosure-s8cQ7KQq.js} +1 -1
  26. package/dist/chunks/{LpDrawer-Rc6eAJrr.js → LpDrawer-C97yoWmh.js} +1 -1
  27. package/dist/chunks/{LpDropdownMenu-BoJQsjzt.js → LpDropdownMenu-CbyYu4Rw.js} +11 -4
  28. package/dist/chunks/{LpEmptyState-CBwwkkdA.js → LpEmptyState-CX8fdGSU.js} +1 -1
  29. package/dist/chunks/{LpFieldNotice-9hH4ITZa.js → LpFieldNotice-B--RzKfj.js} +1 -1
  30. package/dist/chunks/{LpFileTree-Bs57DhVa.js → LpFileTree-DTwUj0L-.js} +2 -2
  31. package/dist/chunks/{LpFileTreeNode-XgJW65v5.js → LpFileTreeNode-D-XLPZ6T.js} +3 -3
  32. package/dist/chunks/{LpFormField-BpQ6WJPe.js → LpFormField-DMPPL1jF.js} +1 -1
  33. package/dist/chunks/{LpHintLayer-B5-6FyEf.js → LpHintLayer-DsclGYcD.js} +1 -1
  34. package/dist/chunks/{LpHints-BqoZXHZk.js → LpHints-BTpvisgP.js} +10 -4
  35. package/dist/chunks/{LpIcon-B5guGKrW.js → LpIcon-CTuDVTYv.js} +1 -1
  36. package/dist/chunks/{LpInput-WvyP02ID.js → LpInput-C7FHxzj2.js} +2 -2
  37. package/dist/chunks/{LpLightbox-Dq-e36uT.js → LpLightbox-DiksFa4L.js} +1 -1
  38. package/dist/chunks/{LpLogViewer-B92bAftG.js → LpLogViewer-D9UgNz2m.js} +2 -2
  39. package/dist/chunks/{LpMapPicker-BH5csaBt.js → LpMapPicker-DybIlWnF.js} +1 -1
  40. package/dist/chunks/{LpMediaGallery-B1kDypJ-.js → LpMediaGallery-Cic9UHsa.js} +2 -2
  41. package/dist/chunks/{LpModal-DvGD6kEe.js → LpModal-QFfctZsj.js} +1 -1
  42. package/dist/chunks/{LpModalNav-B-_zRTS-.js → LpModalNav-D4rmflQn.js} +4 -4
  43. package/dist/chunks/{LpNotificationBell-63pvatBj.js → LpNotificationBell-CyylOlZR.js} +4 -4
  44. package/dist/chunks/{LpNumberField-CJPjmoDz.js → LpNumberField-BFSRVGkJ.js} +1 -1
  45. package/dist/chunks/{LpPagination-DehAaJLY.js → LpPagination-BFl0I7tL.js} +1 -1
  46. package/dist/chunks/{LpPasswordInput-BK25_vNG.js → LpPasswordInput-C1G4k_r0.js} +2 -2
  47. package/dist/chunks/{LpPhoneInput-Bxg7a_qD.js → LpPhoneInput-CZrpVxla.js} +2 -2
  48. package/dist/chunks/{LpPie-Coa2GMHt.js → LpPie-B2deu8CI.js} +2 -2
  49. package/dist/chunks/{LpRangeCalendar-D5sDID9W.js → LpRangeCalendar-COeOYF52.js} +1 -1
  50. package/dist/chunks/{LpSection-B19VPYmr.js → LpSection-BAkbf0OK.js} +1 -1
  51. package/dist/chunks/{LpSegmented-DbrUjuSA.js → LpSegmented-DslFku0N.js} +1 -1
  52. package/dist/chunks/{LpSelect-DynjWK1A.js → LpSelect-C4OXN_q3.js} +1 -1
  53. package/dist/chunks/{LpSidebar-CKamWtPo.js → LpSidebar-D8tub3bt.js} +3 -3
  54. package/dist/chunks/{LpSidebarNav-Y4LV0ZEn.js → LpSidebarNav-BBSRg34G.js} +2 -2
  55. package/dist/chunks/{LpStat-BS2TEXYK.js → LpStat-oYk6V1LZ.js} +1 -1
  56. package/dist/chunks/{LpStepper-BSglWF45.js → LpStepper-YgHGzgfD.js} +1 -1
  57. package/dist/chunks/LpSwap-D82jiecV.js +38 -0
  58. package/dist/chunks/{LpTableFilter-CwHXVxJt.js → LpTableFilter-Ba-rS4H1.js} +2 -2
  59. package/dist/chunks/{LpTabs-D01b8jBI.js → LpTabs-00v3VQx4.js} +1 -1
  60. package/dist/chunks/{LpTagsInput-CHbQoAAA.js → LpTagsInput-Sc56iy_j.js} +3 -3
  61. package/dist/chunks/{LpTextarea-Bz2IWhTH.js → LpTextarea-CQZccQI3.js} +1 -1
  62. package/dist/chunks/{LpThemeSwitcher-CbzL6ipO.js → LpThemeSwitcher-ZFFftBQn.js} +2 -2
  63. package/dist/chunks/{LpTimeField-DvGXgdES.js → LpTimeField-BTEt0kvL.js} +1 -1
  64. package/dist/chunks/{LpToaster-C9EacEfR.js → LpToaster-D3OisETH.js} +2 -2
  65. package/dist/chunks/{LpTour-D7m9ZxNk.js → LpTour-C29-1wha.js} +4 -1
  66. package/dist/chunks/{MenuTitle-B9HdaBwE.js → MenuTitle-FeC6I24N.js} +1 -1
  67. package/dist/chunks/{TourCard-DCHOjr6e.js → TourCard-AjN0uhs1.js} +2 -2
  68. package/dist/chunks/{icons-QqBscG5I.js → icons-CuO3W46H.js} +1 -1
  69. package/dist/component-names.d.ts +1 -1
  70. package/dist/components/ContextMenuItems.vue.js +1 -1
  71. package/dist/components/LayoutCanvas.vue.js +1 -1
  72. package/dist/components/LayoutNode.vue.js +1 -1
  73. package/dist/components/LpActionBar.vue.js +1 -1
  74. package/dist/components/LpAddressInput.vue.js +1 -1
  75. package/dist/components/LpAlert.vue.js +1 -1
  76. package/dist/components/LpAppShell.vue.js +1 -1
  77. package/dist/components/LpAutocomplete.vue.d.ts +24 -0
  78. package/dist/components/LpAutocomplete.vue.js +1 -1
  79. package/dist/components/LpAvatar.vue.js +1 -1
  80. package/dist/components/LpBreadcrumbs.vue.js +1 -1
  81. package/dist/components/LpButton.vue.js +1 -1
  82. package/dist/components/LpCalendar.vue.js +1 -1
  83. package/dist/components/LpCard.vue.js +1 -1
  84. package/dist/components/LpChart.vue.js +2 -2
  85. package/dist/components/LpCheckbox.vue.js +1 -1
  86. package/dist/components/LpCodeBlock.vue.js +1 -1
  87. package/dist/components/LpColorPicker.vue.js +1 -1
  88. package/dist/components/LpCommandPalette.vue.js +30 -19
  89. package/dist/components/LpConfirmDialog.vue.js +1 -1
  90. package/dist/components/LpConfirmHost.vue.js +1 -1
  91. package/dist/components/LpContextMenu.vue.d.ts +7 -2
  92. package/dist/components/LpContextMenu.vue.js +1 -1
  93. package/dist/components/LpDatePicker.vue.js +1 -1
  94. package/dist/components/LpDateRangePicker.vue.js +1 -1
  95. package/dist/components/LpDisclosure.vue.js +1 -1
  96. package/dist/components/LpDrawer.vue.js +1 -1
  97. package/dist/components/LpDropdownMenu.vue.d.ts +7 -2
  98. package/dist/components/LpDropdownMenu.vue.js +1 -1
  99. package/dist/components/LpDropzone.vue.js +1 -1
  100. package/dist/components/LpEmptyState.vue.js +1 -1
  101. package/dist/components/LpFieldNotice.vue.js +1 -1
  102. package/dist/components/LpFileTree.vue.js +1 -1
  103. package/dist/components/LpFileTreeNode.vue.js +1 -1
  104. package/dist/components/LpFormField.vue.js +1 -1
  105. package/dist/components/LpHintLayer.vue.js +1 -1
  106. package/dist/components/LpHints.vue.js +1 -1
  107. package/dist/components/LpIcon.vue.js +1 -1
  108. package/dist/components/LpImageEditor.vue.js +4 -2
  109. package/dist/components/LpInput.vue.js +1 -1
  110. package/dist/components/LpLightbox.vue.js +1 -1
  111. package/dist/components/LpLogViewer.vue.js +1 -1
  112. package/dist/components/LpMapPicker.vue.js +1 -1
  113. package/dist/components/LpMediaGallery.vue.js +1 -1
  114. package/dist/components/LpModal.vue.js +1 -1
  115. package/dist/components/LpModalNav.vue.js +1 -1
  116. package/dist/components/LpNotificationBell.vue.js +1 -1
  117. package/dist/components/LpNumberField.vue.js +1 -1
  118. package/dist/components/LpPagination.vue.js +1 -1
  119. package/dist/components/LpPaletteFacts.vue.js +1 -1
  120. package/dist/components/LpPaletteHeader.vue.js +2 -2
  121. package/dist/components/LpPasswordInput.vue.js +1 -1
  122. package/dist/components/LpPhoneInput.vue.js +1 -1
  123. package/dist/components/LpPie.vue.js +1 -1
  124. package/dist/components/LpRangeCalendar.vue.js +1 -1
  125. package/dist/components/LpSection.vue.js +1 -1
  126. package/dist/components/LpSegmented.vue.js +1 -1
  127. package/dist/components/LpSelect.vue.js +1 -1
  128. package/dist/components/LpShortcutsDialog.vue.js +1 -1
  129. package/dist/components/LpSidebar.vue.js +1 -1
  130. package/dist/components/LpSidebarNav.vue.js +1 -1
  131. package/dist/components/LpStat.vue.js +1 -1
  132. package/dist/components/LpStepper.vue.js +1 -1
  133. package/dist/components/LpSwap.vue.d.ts +19 -0
  134. package/dist/components/LpSwap.vue.js +4 -0
  135. package/dist/components/LpTable.vue.js +13 -11
  136. package/dist/components/LpTableFilter.vue.js +1 -1
  137. package/dist/components/LpTabs.vue.js +1 -1
  138. package/dist/components/LpTagsInput.vue.js +1 -1
  139. package/dist/components/LpTextarea.vue.js +1 -1
  140. package/dist/components/LpThemeSwitcher.vue.js +1 -1
  141. package/dist/components/LpTimeField.vue.js +1 -1
  142. package/dist/components/LpToaster.vue.js +1 -1
  143. package/dist/components/LpTour.vue.js +1 -1
  144. package/dist/components/MenuTitle.vue.js +1 -1
  145. package/dist/components/TourCard.vue.js +1 -1
  146. package/dist/composables/useHintSystem.d.ts +67 -0
  147. package/dist/composables/useHintSystem.js +110 -12
  148. package/dist/composables/useToast.d.ts +13 -4
  149. package/dist/composables/useToast.js +13 -2
  150. package/dist/icons-all.js +1 -1
  151. package/dist/index.d.ts +5 -4
  152. package/dist/index.js +101 -95
  153. package/package.json +2 -1
  154. package/src/component-names.ts +1 -0
  155. package/src/components/LpAutocomplete.vue +110 -24
  156. package/src/components/LpCommandPalette.vue +26 -4
  157. package/src/components/LpContextMenu.vue +22 -1
  158. package/src/components/LpDropdownMenu.vue +13 -2
  159. package/src/components/LpHints.vue +7 -1
  160. package/src/components/LpSwap.vue +45 -0
  161. package/src/components/LpTable.vue +2 -1
  162. package/src/components/LpToaster.vue +1 -1
  163. package/src/components/LpTour.vue +3 -0
  164. package/src/composables/useHintSystem.ts +152 -12
  165. package/src/composables/useToast.ts +32 -5
  166. package/src/index.ts +5 -2
  167. package/src/kit-icons.ts +1 -1
  168. package/src/tokens/selection.css +20 -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 __VLS_14: {};
22
+ declare var __VLS_16: {};
18
23
  type __VLS_Slots = {} & {
19
- trigger?: (props: typeof __VLS_14) => any;
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,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpDropdownMenu-BoJQsjzt.js";
1
+ import { _ as _sfc_main } from "../chunks/LpDropdownMenu-CbyYu4Rw.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -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-B5guGKrW.js";
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 = {
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpEmptyState-CBwwkkdA.js";
1
+ import { _ as _sfc_main } from "../chunks/LpEmptyState-CX8fdGSU.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpFieldNotice-9hH4ITZa.js";
1
+ import { _ as _sfc_main } from "../chunks/LpFieldNotice-B--RzKfj.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpFileTree-Bs57DhVa.js";
1
+ import { _ as _sfc_main } from "../chunks/LpFileTree-DTwUj0L-.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpFileTreeNode-XgJW65v5.js";
1
+ import { _ as _sfc_main } from "../chunks/LpFileTreeNode-D-XLPZ6T.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpFormField-BpQ6WJPe.js";
1
+ import { _ as _sfc_main } from "../chunks/LpFormField-DMPPL1jF.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpHintLayer-B5-6FyEf.js";
1
+ import { _ as _sfc_main } from "../chunks/LpHintLayer-DsclGYcD.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpHints-BqoZXHZk.js";
1
+ import { _ as _sfc_main } from "../chunks/LpHints-BTpvisgP.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpIcon-B5guGKrW.js";
1
+ import { _ as _sfc_main } from "../chunks/LpIcon-CTuDVTYv.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -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-vhlwmpBy.js";
7
+ import { _ as _sfc_main$1 } from "../chunks/LpButton-CJSD7N0Z.js";
8
8
  import "reka-ui";
9
- import { _ as _sfc_main$2 } from "../chunks/LpIcon-B5guGKrW.js";
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,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpInput-WvyP02ID.js";
1
+ import { _ as _sfc_main } from "../chunks/LpInput-C7FHxzj2.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpLightbox-Dq-e36uT.js";
1
+ import { _ as _sfc_main } from "../chunks/LpLightbox-DiksFa4L.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpLogViewer-B92bAftG.js";
1
+ import { _ as _sfc_main } from "../chunks/LpLogViewer-D9UgNz2m.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpMapPicker-BH5csaBt.js";
1
+ import { _ as _sfc_main } from "../chunks/LpMapPicker-DybIlWnF.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpMediaGallery-B1kDypJ-.js";
1
+ import { _ as _sfc_main } from "../chunks/LpMediaGallery-Cic9UHsa.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpModal-DvGD6kEe.js";
1
+ import { _ as _sfc_main } from "../chunks/LpModal-QFfctZsj.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpModalNav-B-_zRTS-.js";
1
+ import { _ as _sfc_main } from "../chunks/LpModalNav-D4rmflQn.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpNotificationBell-63pvatBj.js";
1
+ import { _ as _sfc_main } from "../chunks/LpNotificationBell-CyylOlZR.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpNumberField-CJPjmoDz.js";
1
+ import { _ as _sfc_main } from "../chunks/LpNumberField-BFSRVGkJ.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpPagination-DehAaJLY.js";
1
+ import { _ as _sfc_main } from "../chunks/LpPagination-BFl0I7tL.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -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-B5guGKrW.js";
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-CeW4Z5CL.js";
3
- import { _ as _sfc_main$2 } from "../chunks/LpIcon-B5guGKrW.js";
2
+ import { _ as _sfc_main$1 } from "../chunks/LpAvatar-K6MOMfgn.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,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpPasswordInput-BK25_vNG.js";
1
+ import { _ as _sfc_main } from "../chunks/LpPasswordInput-C1G4k_r0.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpPhoneInput-Bxg7a_qD.js";
1
+ import { _ as _sfc_main } from "../chunks/LpPhoneInput-CZrpVxla.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpPie-Coa2GMHt.js";
1
+ import { _ as _sfc_main } from "../chunks/LpPie-B2deu8CI.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpRangeCalendar-D5sDID9W.js";
1
+ import { _ as _sfc_main } from "../chunks/LpRangeCalendar-COeOYF52.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpSection-B19VPYmr.js";
1
+ import { _ as _sfc_main } from "../chunks/LpSection-BAkbf0OK.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpSegmented-DbrUjuSA.js";
1
+ import { _ as _sfc_main } from "../chunks/LpSegmented-DslFku0N.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpSelect-DynjWK1A.js";
1
+ import { _ as _sfc_main } from "../chunks/LpSelect-C4OXN_q3.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -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-DvGD6kEe.js";
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,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpSidebar-CKamWtPo.js";
1
+ import { _ as _sfc_main } from "../chunks/LpSidebar-D8tub3bt.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpSidebarNav-Y4LV0ZEn.js";
1
+ import { _ as _sfc_main } from "../chunks/LpSidebarNav-BBSRg34G.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpStat-BS2TEXYK.js";
1
+ import { _ as _sfc_main } from "../chunks/LpStat-oYk6V1LZ.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpStepper-BSglWF45.js";
1
+ import { _ as _sfc_main } from "../chunks/LpStepper-YgHGzgfD.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -0,0 +1,19 @@
1
+ type __VLS_Props = {
2
+ /** Identity of the current content; a new value plays the swap. */
3
+ swapKey: string | number;
4
+ /** Turn the motion off (the content still swaps). */
5
+ disabled?: boolean;
6
+ };
7
+ declare var __VLS_14: {};
8
+ type __VLS_Slots = {} & {
9
+ default?: (props: typeof __VLS_14) => any;
10
+ };
11
+ 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>;
12
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
13
+ declare const _default: typeof __VLS_export;
14
+ export default _default;
15
+ type __VLS_WithSlots<T, S> = T & {
16
+ new (): {
17
+ $slots: S;
18
+ };
19
+ };
@@ -0,0 +1,4 @@
1
+ import { _ as _sfc_main } from "../chunks/LpSwap-D82jiecV.js";
2
+ export {
3
+ _sfc_main as default
4
+ };
@@ -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-B_C8sOoT.js";
3
- import { _ as _sfc_main$6 } from "../chunks/LpContextMenu-DRFd-iyc.js";
4
- import { _ as _sfc_main$2 } from "../chunks/LpIcon-B5guGKrW.js";
5
- import { _ as _sfc_main$a } from "../chunks/LpPagination-DehAaJLY.js";
2
+ import { _ as _sfc_main$7 } from "../chunks/LpCheckbox-DV9W6T3H.js";
3
+ import { _ as _sfc_main$6 } from "../chunks/LpContextMenu-Cv_F2iCG.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-CwHXVxJt.js";
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-vhlwmpBy.js";
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-B_QCQCbB.css';const _hoisted_1 = {
21
+ import '../assets/LpTable-DpXyPzs8.css';const _hoisted_1 = {
22
22
  key: 0,
23
23
  class: "flex justify-end"
24
24
  };
@@ -53,7 +53,7 @@ const _hoisted_16 = {
53
53
  class: "lp-row-empty"
54
54
  };
55
55
  const _hoisted_17 = ["colspan"];
56
- const _hoisted_18 = ["onContextmenu", "data-paint-key", "onClick", "onPointerdown"];
56
+ const _hoisted_18 = ["onContextmenu", "data-paint-key", "data-lp-context-row", "onClick", "onPointerdown"];
57
57
  const _hoisted_19 = ["onPointerdown"];
58
58
  const __default__ = { inheritAttrs: false };
59
59
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -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", {
@@ -898,6 +899,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
898
899
  class: ["group border-b border-line/60 outline-none transition-colors last:border-0 hover:bg-surface-soft/60 focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring data-[active]:bg-surface-soft/40", selectedSet.value.has(keyFor(row, index)) ? "bg-brand-soft/40" : ""]
899
900
  }, { ref_for: true }, unref(roving).itemProps(String(keyFor(row, index))), {
900
901
  "data-paint-key": __props.selectable ? String(keyFor(row, index)) : void 0,
902
+ "data-lp-context-row": __props.rowMenu ? "" : void 0,
901
903
  onClick: ($event) => onRowClick(row, keyFor(row, index)),
902
904
  onPointerdown: ($event) => onRowPointerDown($event, keyFor(row, index)),
903
905
  onKeydown: onRowKeydown
@@ -940,7 +942,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
940
942
  ], 512)
941
943
  ]),
942
944
  _: 3
943
- }, 8, ["items"])
945
+ }, 8, ["items", "no-hint"])
944
946
  ]),
945
947
  _: 3
946
948
  }, 16, ["style", "bar-inset-top"]),
@@ -956,7 +958,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
956
958
  };
957
959
  }
958
960
  });
959
- const LpTable = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-344d1bc2"]]);
961
+ const LpTable = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-a9d69d56"]]);
960
962
  export {
961
963
  LpTable as default
962
964
  };
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpTableFilter-CwHXVxJt.js";
1
+ import { _ as _sfc_main } from "../chunks/LpTableFilter-Ba-rS4H1.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpTabs-D01b8jBI.js";
1
+ import { _ as _sfc_main } from "../chunks/LpTabs-00v3VQx4.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpTagsInput-CHbQoAAA.js";
1
+ import { _ as _sfc_main } from "../chunks/LpTagsInput-Sc56iy_j.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpTextarea-Bz2IWhTH.js";
1
+ import { _ as _sfc_main } from "../chunks/LpTextarea-CQZccQI3.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpThemeSwitcher-CbzL6ipO.js";
1
+ import { _ as _sfc_main } from "../chunks/LpThemeSwitcher-ZFFftBQn.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpTimeField-DvGXgdES.js";
1
+ import { _ as _sfc_main } from "../chunks/LpTimeField-BTEt0kvL.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpToaster-C9EacEfR.js";
1
+ import { _ as _sfc_main } from "../chunks/LpToaster-D3OisETH.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpTour-D7m9ZxNk.js";
1
+ import { _ as _sfc_main } from "../chunks/LpTour-C29-1wha.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/MenuTitle-B9HdaBwE.js";
1
+ import { _ as _sfc_main } from "../chunks/MenuTitle-FeC6I24N.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/TourCard-DCHOjr6e.js";
1
+ import { _ as _sfc_main } from "../chunks/TourCard-AjN0uhs1.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -44,6 +44,45 @@ 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
+ /** The element a left click just landed on that also has a right-click menu (a table row rather than the table). */
79
+ export declare function noteContextTarget(el: Element): void;
80
+ /** Right click instead of the "…" button. */
81
+ export declare function contextMenuTip(text?: Partial<Pick<HintTip, "title" | "text"> & {
82
+ stepText: string;
83
+ }>): HintTip;
84
+ /** The palette instead of walking the menu. */
85
+ export declare function paletteTip(keys?: string, text?: Partial<Pick<HintTip, "title" | "text">>): HintTip;
47
86
  export type HintLevel = "seen" | "explained" | "used";
48
87
  export interface HintRecord {
49
88
  state: HintLevel;
@@ -76,6 +115,7 @@ export interface HintSystemOptions {
76
115
  features: Record<string, HintFeature>;
77
116
  pages?: Record<string, HintPage>;
78
117
  news?: HintNews[];
118
+ tips?: HintTip[];
79
119
  storage?: HintStorage;
80
120
  /** The current page id, read reactively (map your route to it). */
81
121
  page: () => string;
@@ -93,6 +133,10 @@ export type HintOffer = {
93
133
  kind: "nudge";
94
134
  page: string;
95
135
  nudge: HintNudge;
136
+ } | {
137
+ kind: "tip";
138
+ page: string;
139
+ tip: HintTip;
96
140
  };
97
141
  /** Records in localStorage: for anonymous sessions and apps without a server. */
98
142
  export declare function localHintStorage(key?: string): HintStorage;
@@ -124,6 +168,7 @@ export declare function createHintSystem(options: HintSystemOptions): {
124
168
  }> & Omit<Map<string, HintRecord>, keyof Map<any, any>>;
125
169
  loaded: boolean;
126
170
  page: string;
171
+ overlay: string | null;
127
172
  tour: {
128
173
  open: boolean;
129
174
  step: number;
@@ -161,6 +206,18 @@ export declare function createHintSystem(options: HintSystemOptions): {
161
206
  feature: string;
162
207
  text: string;
163
208
  };
209
+ } | {
210
+ kind: "tip";
211
+ page: string;
212
+ tip: {
213
+ id: string;
214
+ title: string;
215
+ text: string;
216
+ keys?: string | undefined;
217
+ max?: number | undefined;
218
+ when: (count: (signal: string) => number) => boolean;
219
+ step?: (() => TourStep | null) | undefined;
220
+ };
164
221
  } | null;
165
222
  candidate: {
166
223
  id: string;
@@ -180,6 +237,14 @@ export declare function createHintSystem(options: HintSystemOptions): {
180
237
  load(): Promise<void>;
181
238
  /** Ask for a nudge; it shows when the budget and the page allow. */
182
239
  nudge(n: HintNudge): void;
240
+ /**
241
+ * A dialog acts as its own page while open (its dots and tour), then hands
242
+ * back. Pass null on close, and on unmount: a dialog left open by a route
243
+ * change would otherwise keep the page.
244
+ */
245
+ overlay(page: string | null): void;
246
+ /** How many times a signal was reported (for an app's own tips or reports). */
247
+ count: (name: string) => number;
183
248
  /** The user navigated on purpose (palette, notification): do not interrupt this arrival. */
184
249
  markIntent(): void;
185
250
  unreadNews: (page?: string) => HintNews[];
@@ -193,3 +258,5 @@ export declare function createHintSystem(options: HintSystemOptions): {
193
258
  export type HintSystem = ReturnType<typeof createHintSystem>;
194
259
  export declare function provideHintSystem(system: HintSystem): void;
195
260
  export declare function useHintSystem(): HintSystem | null;
261
+ /** The mounted host's system, read reactively from anywhere. */
262
+ export declare function runningHintSystem(): HintSystem | null;