@leavepulse/ui 0.87.1 → 0.88.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-DCZB4EAf.css → LpCommandPalette-CO_5TFOQ.css} +38 -19
- package/dist/assets/{LpDropzone-CfL3Vrx4.css → LpDropzone-CVGUQqgY.css} +10 -10
- package/dist/assets/{LpImageEditor-y3B-aW3H.css → LpImageEditor-D_ECuegW.css} +6 -6
- package/dist/chunks/{ContextMenuItems-D0jObgzN.js → ContextMenuItems-LujPZSWM.js} +2 -1
- package/dist/chunks/{DropzoneLinkField-DhwYRnvd.js → DropzoneLinkField-Ckuh8zFC.js} +2 -2
- package/dist/chunks/{IconCloseButton-CmWOJAXG.js → IconCloseButton-C_V7qngw.js} +1 -1
- package/dist/chunks/{LpActionBar-Cx_MSZl9.js → LpActionBar-43WHmTsM.js} +1 -1
- package/dist/chunks/{LpAddressInput-CfqQR5jE.js → LpAddressInput-BCqR0zmv.js} +5 -5
- package/dist/chunks/{LpAlert-CYtbpRYW.js → LpAlert-Q0h7Gucu.js} +1 -1
- package/dist/chunks/{LpAppShell-BQG98odS.js → LpAppShell-BWaVRsDB.js} +3 -3
- package/dist/chunks/{LpAutocomplete-VNID5zdy.js → LpAutocomplete-YPxAPHEo.js} +5 -5
- package/dist/chunks/{LpButton-DSHioIfD.js → LpButton-BvVoF-PO.js} +1 -1
- package/dist/chunks/{LpCheckbox-P7tEw8GO.js → LpCheckbox-C9VnPIQf.js} +1 -1
- package/dist/chunks/{LpCodeBlock-BNThgUdQ.js → LpCodeBlock-BgWcg2mk.js} +3 -3
- package/dist/chunks/{LpCodeDisplay-DsiE-Qy9.js → LpCodeDisplay-DBi1YPLp.js} +3 -3
- package/dist/chunks/{LpColorPicker-EXpwcX-t.js → LpColorPicker-KGMG8QEh.js} +4 -4
- package/dist/chunks/{LpConfirmDialog-DPiPVRn_.js → LpConfirmDialog-y6k0ryWR.js} +2 -2
- package/dist/chunks/{LpConfirmHost-Ddiljlog.js → LpConfirmHost-D-X0tDym.js} +1 -1
- package/dist/chunks/{LpContextMenu-DYpDm6iI.js → LpContextMenu-DEFirphS.js} +3 -3
- package/dist/chunks/{LpContextSwitcher-BPDSkKyA.js → LpContextSwitcher-COw6GHPW.js} +1 -1
- package/dist/chunks/{LpCopyButton-CxX682t4.js → LpCopyButton-BGzw95Xc.js} +2 -2
- package/dist/chunks/{LpDataList-DCtF7krm.js → LpDataList-B56Gu6Yt.js} +3 -3
- package/dist/chunks/{LpDatePicker-BElEHVm6.js → LpDatePicker-Dlyvgsan.js} +2 -2
- package/dist/chunks/{LpDateRangePicker-vLt-drEu.js → LpDateRangePicker-CAn2yGbn.js} +1 -1
- package/dist/chunks/{LpDrawer-C97k-3L2.js → LpDrawer-iRHwJOGn.js} +4 -4
- package/dist/chunks/{LpDropdownMenu-BPEsqZCN.js → LpDropdownMenu-CdCe7D2d.js} +3 -3
- package/dist/chunks/{LpEditable-CeRAzYMv.js → LpEditable-DfRUAGkA.js} +2 -2
- package/dist/chunks/{LpEmptyState-DrHBR3yh.js → LpEmptyState-DLOm07KH.js} +1 -1
- package/dist/chunks/{LpFileTree-BcQgsw4e.js → LpFileTree-BN_zybBN.js} +3 -3
- package/dist/chunks/{LpFileTreeNode-Dk2WqkPF.js → LpFileTreeNode-CC48DbT5.js} +3 -3
- package/dist/chunks/{LpHintLayer-CUSRLtLu.js → LpHintLayer-nuMqfzvy.js} +3 -3
- package/dist/chunks/{LpHints-BF40CP4_.js → LpHints-ByAd3a76.js} +3 -3
- package/dist/chunks/{LpHoverCard-CHE9jAJG.js → LpHoverCard-DYguY2AP.js} +10 -61
- package/dist/chunks/{LpInput-BU5IsOlE.js → LpInput-DGMpxrcg.js} +1 -1
- package/dist/chunks/{LpInspector-CEko6-pS.js → LpInspector-oTfkOdYd.js} +2 -2
- package/dist/chunks/{LpLightbox-REei-y5e.js → LpLightbox-a24V_0Wk.js} +19 -7
- package/dist/chunks/{LpLogInspector-Bwz351LY.js → LpLogInspector-BhJTJIst.js} +1 -1
- package/dist/chunks/{LpLogViewer-BCkqdH66.js → LpLogViewer-BuIzr_6h.js} +4 -4
- package/dist/chunks/{LpMediaGallery-BF1Bch3v.js → LpMediaGallery-B7DOV_aL.js} +2 -2
- package/dist/chunks/{LpModal-BK2T5uIG.js → LpModal-D1E7rQzw.js} +5 -5
- package/dist/chunks/{LpModalNav-Dk4eHpg6.js → LpModalNav-DivqT1NV.js} +5 -4
- package/dist/chunks/{LpNotificationBell-CMwUXhFg.js → LpNotificationBell-KRgdRZs-.js} +4 -4
- package/dist/chunks/{LpNotificationFeed-BXsRp9jm.js → LpNotificationFeed-CMGYU8c-.js} +5 -5
- package/dist/chunks/{LpNumberField-QUMXvpqx.js → LpNumberField-C0LSu-tl.js} +1 -1
- package/dist/chunks/{LpPaletteTheme-wiJtP5hV.js → LpPaletteTheme-CLwO-SDf.js} +3 -3
- package/dist/chunks/{LpPasswordInput-W9AZfzaL.js → LpPasswordInput-LPVI7D3v.js} +2 -2
- package/dist/chunks/{LpPhoneInput-DsRv-Qla.js → LpPhoneInput-BdglZsGH.js} +5 -5
- package/dist/chunks/{LpPie-pbrNFbRP.js → LpPie-CsiBXe-e.js} +3 -3
- package/dist/chunks/{LpPipeline-BHWmvOiv.js → LpPipeline-DVcoSs--.js} +1 -1
- package/dist/chunks/{LpPopover-BQSuxtai.js → LpPopover-w2rr4x7n.js} +2 -2
- package/dist/chunks/{LpRadio-CWA5Eb3M.js → LpRadio-4KyxeSz4.js} +1 -1
- package/dist/chunks/{LpRadioGroup-D94KMStE.js → LpRadioGroup-Cr_fmrBY.js} +1 -1
- package/dist/chunks/{LpRangeSlider-CkP9hYUC.js → LpRangeSlider-DbaITHtC.js} +1 -1
- package/dist/chunks/{LpRelativeTime-0zI-44ve.js → LpRelativeTime-CN5bWD73.js} +1 -1
- package/dist/chunks/{LpRepeater-DLLcbQ6J.js → LpRepeater-C0rns2xW.js} +1 -1
- package/dist/chunks/{LpSecretField-Au7ZQTtm.js → LpSecretField-BwrZ4TfT.js} +5 -5
- package/dist/chunks/{LpSection-RKCwB0xN.js → LpSection-CwsfNR7N.js} +1 -1
- package/dist/chunks/{LpSegmented-DD8MPj4j.js → LpSegmented-DzFYP0ZF.js} +1 -1
- package/dist/chunks/{LpSelect-BeXz1TWh.js → LpSelect-Dffg5r4I.js} +5 -5
- package/dist/chunks/{LpSidebar-DUFlf6Uu.js → LpSidebar-DQtCYlT4.js} +4 -4
- package/dist/chunks/{LpSidebarNav-C34YEZIR.js → LpSidebarNav-CFcI7--7.js} +1 -1
- package/dist/chunks/{LpSidebarRow-BeEGgsZi.js → LpSidebarRow-C5jXpcRL.js} +2 -2
- package/dist/chunks/{LpSlider-BCy5rjwK.js → LpSlider-DUd4gXnw.js} +1 -1
- package/dist/chunks/{LpStat-eVz7iUfD.js → LpStat-SyVb5JXm.js} +1 -1
- package/dist/chunks/{LpSwitch-D7hmVsif.js → LpSwitch-D-mcaA6C.js} +1 -1
- package/dist/chunks/{LpTableFilter-BGFNKyUX.js → LpTableFilter-CILHffC1.js} +3 -3
- package/dist/chunks/{LpTagsInput-D9uOSlvf.js → LpTagsInput-DD8-xe3F.js} +2 -2
- package/dist/chunks/{LpTextarea-DwE-lQt4.js → LpTextarea-CQg-dVxN.js} +1 -1
- package/dist/chunks/{LpThemeStudio-COn2H76d.js → LpThemeStudio-BPPctXgd.js} +4 -4
- package/dist/chunks/{LpThemeSwitcher-B3R3nNid.js → LpThemeSwitcher-B3c44xFH.js} +4 -4
- package/dist/chunks/{LpTimeField-Mi8H1g_9.js → LpTimeField-Dio7Tj9A.js} +1 -1
- package/dist/chunks/{LpToaster-DOJn6Vey.js → LpToaster-Cdx1tnHB.js} +2 -2
- package/dist/chunks/{LpTooltip-Bz_rrq5S.js → LpTooltip-BKde8Xjv.js} +43 -7
- package/dist/chunks/{LpTopologyCanvas-5RFMP4gR.js → LpTopologyCanvas-CQ0l6A5h.js} +3 -3
- package/dist/chunks/{LpTour-DUI_hoPv.js → LpTour-BGUKUxSZ.js} +1 -1
- package/dist/chunks/{LpTruncate-CynJhsEw.js → LpTruncate-C_C8eiIE.js} +2 -2
- package/dist/chunks/{LpUptimeBar-G7PfNJUH.js → LpUptimeBar-Dt6SY_-m.js} +1 -1
- package/dist/chunks/{LpVideoCompress-CPUxXh-c.js → LpVideoCompress-CvxNdyjp.js} +2 -2
- package/dist/chunks/{LpVideoPlayer-BbCjEQAx.js → LpVideoPlayer-FMuxTAU8.js} +4 -4
- package/dist/chunks/{LpWindow-Dp_0nNqg.js → LpWindow-DsPeiDCZ.js} +1 -1
- package/dist/chunks/{LpWorkspaceSwitcher-bjkncjSl.js → LpWorkspaceSwitcher-DCIiOQt_.js} +4 -4
- package/dist/chunks/{PickerField-CjOTUXDK.js → PickerField-DzF3UVnX.js} +1 -1
- package/dist/chunks/{RevealToggle-Bl1NcfxB.js → RevealToggle-BsYxY6Oz.js} +2 -2
- package/dist/chunks/{TourCard-BovXtMbO.js → TourCard-yrLqv4Oz.js} +1 -1
- package/dist/chunks/{VideoVolume-DE3i1ree.js → VideoVolume-CzL5mZPE.js} +2 -2
- package/dist/components/ContextMenuItems.vue.js +1 -1
- package/dist/components/DropzoneLinkField.vue.js +1 -1
- package/dist/components/IconCloseButton.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/LpButton.vue.js +1 -1
- package/dist/components/LpChart.vue.js +2 -2
- package/dist/components/LpCheckbox.vue.js +1 -1
- package/dist/components/LpCodeBlock.vue.js +1 -1
- package/dist/components/LpCodeDisplay.vue.js +1 -1
- package/dist/components/LpColorPicker.vue.js +1 -1
- package/dist/components/LpCommandPalette.vue.d.ts +2 -0
- package/dist/components/LpCommandPalette.vue.js +69 -33
- 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/LpContextSwitcher.vue.js +1 -1
- package/dist/components/LpCopyButton.vue.js +1 -1
- package/dist/components/LpDataList.vue.js +1 -1
- package/dist/components/LpDatePicker.vue.js +1 -1
- package/dist/components/LpDateRangePicker.vue.js +1 -1
- package/dist/components/LpDock.vue.js +1 -1
- package/dist/components/LpDrawer.vue.js +1 -1
- package/dist/components/LpDropdownMenu.vue.js +1 -1
- package/dist/components/LpDropzone.vue.js +5 -5
- package/dist/components/LpEditable.vue.js +1 -1
- package/dist/components/LpEmptyState.vue.js +1 -1
- package/dist/components/LpFileTree.vue.js +1 -1
- package/dist/components/LpFileTreeNode.vue.js +1 -1
- package/dist/components/LpHintLayer.vue.js +1 -1
- package/dist/components/LpHints.vue.js +1 -1
- package/dist/components/LpHoverCard.vue.d.ts +3 -3
- package/dist/components/LpHoverCard.vue.js +1 -1
- package/dist/components/LpImageEditor.vue.js +4 -4
- package/dist/components/LpInput.vue.js +1 -1
- package/dist/components/LpInspector.vue.js +1 -1
- package/dist/components/LpLightbox.vue.js +1 -1
- package/dist/components/LpLogInspector.vue.js +1 -1
- package/dist/components/LpLogViewer.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/LpNotificationFeed.vue.js +1 -1
- package/dist/components/LpNumberField.vue.js +1 -1
- package/dist/components/LpPaletteTheme.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/LpPipeline.vue.js +1 -1
- package/dist/components/LpPopover.vue.js +1 -1
- package/dist/components/LpRadio.vue.js +1 -1
- package/dist/components/LpRadioGroup.vue.js +1 -1
- package/dist/components/LpRangeSlider.vue.js +1 -1
- package/dist/components/LpRelativeTime.vue.js +1 -1
- package/dist/components/LpRepeater.vue.js +1 -1
- package/dist/components/LpSecretField.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/LpSidebarRow.vue.js +1 -1
- package/dist/components/LpSlider.vue.js +1 -1
- package/dist/components/LpStat.vue.js +1 -1
- package/dist/components/LpSwitch.vue.js +1 -1
- package/dist/components/LpTable.vue.js +10 -10
- package/dist/components/LpTableFilter.vue.js +1 -1
- package/dist/components/LpTabs.vue.js +1 -1
- package/dist/components/LpTagsInput.vue.js +1 -1
- package/dist/components/LpTextarea.vue.js +1 -1
- package/dist/components/LpThemeStudio.vue.js +1 -1
- package/dist/components/LpThemeSwitcher.vue.js +1 -1
- package/dist/components/LpTimeField.vue.js +1 -1
- package/dist/components/LpToaster.vue.js +1 -1
- package/dist/components/LpTooltip.vue.d.ts +9 -0
- package/dist/components/LpTooltip.vue.js +1 -1
- package/dist/components/LpTopologyCanvas.vue.js +1 -1
- package/dist/components/LpTour.vue.js +1 -1
- package/dist/components/LpTruncate.vue.js +1 -1
- package/dist/components/LpUptimeBar.vue.js +1 -1
- package/dist/components/LpVideoCompress.vue.js +1 -1
- package/dist/components/LpVideoPlayer.vue.js +1 -1
- package/dist/components/LpVideoTrim.vue.js +4 -4
- package/dist/components/LpWindow.vue.js +1 -1
- package/dist/components/LpWorkspaceSwitcher.vue.js +1 -1
- package/dist/components/PickerField.vue.js +1 -1
- package/dist/components/RevealToggle.vue.js +1 -1
- package/dist/components/TourCard.vue.js +1 -1
- package/dist/components/VideoVolume.vue.js +1 -1
- package/dist/components/badge.d.ts +1 -1
- package/dist/components/badge.js +1 -1
- package/dist/components/dropdown.d.ts +14 -0
- package/dist/components/dropdown.js +7 -1
- package/dist/components/menuWhen.js +1 -1
- package/dist/components/modalDepth.d.ts +1 -0
- package/dist/components/modalDepth.js +2 -0
- package/dist/composables/useReveal.js +3 -3
- package/dist/composables/useTouchHold.d.ts +19 -0
- package/dist/composables/useTouchHold.js +60 -0
- package/dist/index.js +72 -71
- package/package.json +1 -1
- package/src/components/ContextMenuItems.vue +2 -1
- package/src/components/IconCloseButton.vue +1 -1
- package/src/components/LpAlert.vue +1 -1
- package/src/components/LpAutocomplete.vue +4 -4
- package/src/components/LpButton.vue +1 -1
- package/src/components/LpCheckbox.vue +1 -1
- package/src/components/LpCodeBlock.vue +2 -2
- package/src/components/LpColorPicker.vue +3 -3
- package/src/components/LpCommandPalette.vue +89 -7
- package/src/components/LpContextMenu.vue +2 -2
- package/src/components/LpDataList.vue +1 -1
- package/src/components/LpDrawer.vue +7 -4
- package/src/components/LpDropdownMenu.vue +2 -2
- package/src/components/LpDropzone.vue +2 -2
- package/src/components/LpEditable.vue +2 -2
- package/src/components/LpEmptyState.vue +1 -1
- package/src/components/LpFileTreeNode.vue +1 -1
- package/src/components/LpHintLayer.vue +2 -2
- package/src/components/LpHoverCard.vue +11 -80
- package/src/components/LpImageEditor.vue +1 -1
- package/src/components/LpInput.vue +1 -1
- package/src/components/LpLightbox.vue +20 -3
- package/src/components/LpModal.vue +4 -4
- package/src/components/LpModalNav.vue +2 -1
- package/src/components/LpNumberField.vue +1 -1
- package/src/components/LpPhoneInput.vue +5 -5
- package/src/components/LpPopover.vue +2 -2
- package/src/components/LpRadio.vue +1 -1
- package/src/components/LpRadioGroup.vue +1 -1
- package/src/components/LpRangeSlider.vue +1 -1
- package/src/components/LpSection.vue +9 -6
- package/src/components/LpSegmented.vue +1 -1
- package/src/components/LpSelect.vue +4 -4
- package/src/components/LpSlider.vue +1 -1
- package/src/components/LpStat.vue +1 -1
- package/src/components/LpSwitch.vue +1 -1
- package/src/components/LpTableFilter.vue +1 -1
- package/src/components/LpTagsInput.vue +2 -2
- package/src/components/LpTextarea.vue +1 -1
- package/src/components/LpThemeSwitcher.vue +2 -2
- package/src/components/LpTimeField.vue +1 -1
- package/src/components/LpToaster.vue +1 -1
- package/src/components/LpTooltip.vue +59 -5
- package/src/components/badge.ts +1 -1
- package/src/components/dropdown.ts +24 -0
- package/src/components/modalDepth.ts +6 -0
- package/src/composables/useReveal.ts +7 -4
- package/src/composables/useTouchHold.ts +92 -0
- package/src/locales/uk.ts +1 -0
- package/src/tokens/utilities.css +34 -0
|
@@ -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-D1E7rQzw.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,22 +1,22 @@
|
|
|
1
1
|
import { defineComponent, computed, useAttrs, ref, shallowRef, watch, onMounted, useSlots, onBeforeUnmount, useId, h, openBlock, createElementBlock, normalizeClass, createVNode, withCtx, renderSlot, createCommentVNode, createBlock, createTextVNode, toDisplayString, Fragment, renderList, createElementVNode, Transition, mergeProps, normalizeStyle, withModifiers, TransitionGroup, unref, nextTick } from "vue";
|
|
2
2
|
import { usePaletteScope, suppressPaletteDiscovery, usePaletteCommands } from "../composables/usePaletteCommands.js";
|
|
3
3
|
import { menuPaletteCommands } from "./commandPalette.js";
|
|
4
|
-
import { _ as _sfc_main$1 } from "../chunks/LpDataList-
|
|
5
|
-
import { _ as _sfc_main$d } from "../chunks/LpCheckbox-
|
|
6
|
-
import { _ as _sfc_main$c } from "../chunks/LpContextMenu-
|
|
7
|
-
import { _ as _sfc_main$g } from "../chunks/LpEditable-
|
|
8
|
-
import { _ as _sfc_main$f } from "../chunks/LpEmptyState-
|
|
4
|
+
import { _ as _sfc_main$1 } from "../chunks/LpDataList-B56Gu6Yt.js";
|
|
5
|
+
import { _ as _sfc_main$d } from "../chunks/LpCheckbox-C9VnPIQf.js";
|
|
6
|
+
import { _ as _sfc_main$c } from "../chunks/LpContextMenu-DEFirphS.js";
|
|
7
|
+
import { _ as _sfc_main$g } from "../chunks/LpEditable-DfRUAGkA.js";
|
|
8
|
+
import { _ as _sfc_main$f } from "../chunks/LpEmptyState-DLOm07KH.js";
|
|
9
9
|
import { _ as _sfc_main$8 } from "../chunks/LpBadge-Bh5roBr_.js";
|
|
10
10
|
import { _ as _sfc_main$5 } from "../chunks/LpIcon-CxHFPwKt.js";
|
|
11
11
|
import { _ as _sfc_main$e } from "../chunks/LpSkeleton-leTl53V9.js";
|
|
12
12
|
import { _ as _sfc_main$h } from "../chunks/LpPagination-DGLntZJN.js";
|
|
13
|
-
import { _ as _sfc_main$6 } from "../chunks/LpPopover-
|
|
13
|
+
import { _ as _sfc_main$6 } from "../chunks/LpPopover-w2rr4x7n.js";
|
|
14
14
|
import { _ as _sfc_main$b } from "../chunks/LpScrollArea-CqvwfZs2.js";
|
|
15
15
|
import { _ as _sfc_main$9 } from "../chunks/LpRollingText-B54Pje7P.js";
|
|
16
16
|
import { _ as _sfc_main$2 } from "../chunks/LpShift-DAgS_d2x.js";
|
|
17
|
-
import { _ as _sfc_main$7 } from "../chunks/LpTableFilter-
|
|
18
|
-
import { _ as _sfc_main$3 } from "../chunks/LpDropdownMenu-
|
|
19
|
-
import { _ as _sfc_main$a } from "../chunks/LpSegmented-
|
|
17
|
+
import { _ as _sfc_main$7 } from "../chunks/LpTableFilter-CILHffC1.js";
|
|
18
|
+
import { _ as _sfc_main$3 } from "../chunks/LpDropdownMenu-CdCe7D2d.js";
|
|
19
|
+
import { _ as _sfc_main$a } from "../chunks/LpSegmented-DzFYP0ZF.js";
|
|
20
20
|
import { useKitStorage } from "../composables/usePersisted.js";
|
|
21
21
|
import { useAsyncTask } from "../composables/useAsyncTask.js";
|
|
22
22
|
import { useTableFacets } from "./tableFacets.js";
|
|
@@ -29,7 +29,7 @@ import { orderPinned, pinOffsets, groupRows, rowWindow, presetHidden, sortByKeys
|
|
|
29
29
|
import { devWarn } from "../composables/devWarn.js";
|
|
30
30
|
import { startPointerDrag } from "../composables/pointerDrag.js";
|
|
31
31
|
import { isHTMLElement, nodeWindow } from "../composables/realm.js";
|
|
32
|
-
import { _ as _sfc_main$4 } from "../chunks/LpButton-
|
|
32
|
+
import { _ as _sfc_main$4 } from "../chunks/LpButton-BvVoF-PO.js";
|
|
33
33
|
import { toCsv, downloadFile, fileStem } from "./exportData.js";
|
|
34
34
|
import { toHiddenSets, sameHidden, summarizeShown, parseTableState, mergeRestored, serializeTableState, fromHiddenSets } from "./tableFilter.js";
|
|
35
35
|
import { resolveRowMenu } from "./tableRowMenu.js";
|
|
@@ -6,7 +6,7 @@ import { TabsRoot, TabsList, TabsTrigger, TabsContent } from "reka-ui";
|
|
|
6
6
|
import { usePillTransition } from "../composables/usePillTransition.js";
|
|
7
7
|
import { useStepHistory } from "../composables/useOverlayHistory.js";
|
|
8
8
|
import { prefersReducedMotion } from "../composables/easing.js";
|
|
9
|
-
import { _ as _sfc_main$1 } from "../chunks/LpContextMenu-
|
|
9
|
+
import { _ as _sfc_main$1 } from "../chunks/LpContextMenu-DEFirphS.js";
|
|
10
10
|
import { _ as _sfc_main$3 } from "../chunks/LpSkeleton-leTl53V9.js";
|
|
11
11
|
import { _ as _sfc_main$2 } from "../chunks/LpTabFace-uoZgD_SN.js";
|
|
12
12
|
import { pickTab, BOTTOM_BAR, BOTTOM_ITEM, BOTTOM_MARKER } from "./tabs.js";
|
|
@@ -37,6 +37,14 @@ type __VLS_Props = {
|
|
|
37
37
|
* a scroll that should have dismissed it.
|
|
38
38
|
*/
|
|
39
39
|
disabled?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Touch has no hover, and a tap is the control's own. With `hold` a
|
|
42
|
+
* press-and-hold shows the tip (and that press does not also press the
|
|
43
|
+
* control); the next touch anywhere, or Escape, hides it. `none` leaves
|
|
44
|
+
* touch to the trigger. A followed tip (`followCursor`) never holds: its
|
|
45
|
+
* trigger is a chart or canvas with its own touch reading.
|
|
46
|
+
*/
|
|
47
|
+
touch?: "hold" | "none";
|
|
40
48
|
};
|
|
41
49
|
declare var __VLS_24: {}, __VLS_41: {};
|
|
42
50
|
type __VLS_Slots = {} & {
|
|
@@ -45,6 +53,7 @@ type __VLS_Slots = {} & {
|
|
|
45
53
|
content?: (props: typeof __VLS_41) => any;
|
|
46
54
|
};
|
|
47
55
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
56
|
+
touch: "hold" | "none";
|
|
48
57
|
side: "top" | "right" | "bottom" | "left";
|
|
49
58
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
50
59
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -6,13 +6,13 @@ import { useMergedAttrs } from "../composables/useMergedClass.js";
|
|
|
6
6
|
import { useResizeObserver } from "../composables/useResizeObserver.js";
|
|
7
7
|
import { usePrefersReducedMotion } from "../composables/useReducedMotion.js";
|
|
8
8
|
import { useVideoMedia } from "../composables/useVideoMedia.js";
|
|
9
|
-
import { _ as _sfc_main$3 } from "../chunks/LpButton-
|
|
9
|
+
import { _ as _sfc_main$3 } from "../chunks/LpButton-BvVoF-PO.js";
|
|
10
10
|
import { _ as _sfc_main$2 } from "../chunks/LpIcon-CxHFPwKt.js";
|
|
11
|
-
import { _ as _sfc_main$1 } from "../chunks/LpContextMenu-
|
|
12
|
-
import { _ as _sfc_main$6 } from "../chunks/LpInput-
|
|
11
|
+
import { _ as _sfc_main$1 } from "../chunks/LpContextMenu-DEFirphS.js";
|
|
12
|
+
import { _ as _sfc_main$6 } from "../chunks/LpInput-DGMpxrcg.js";
|
|
13
13
|
import { _ as _sfc_main$4 } from "../chunks/SteadyText-CwH-kduj.js";
|
|
14
14
|
import VideoFlash from "./VideoFlash.vue.js";
|
|
15
|
-
import { _ as _sfc_main$5 } from "../chunks/VideoVolume-
|
|
15
|
+
import { _ as _sfc_main$5 } from "../chunks/VideoVolume-CzL5mZPE.js";
|
|
16
16
|
import { FADE, FADE_SCALE, OVERLAY_BUTTON, ICON_SWAP } from "./videoMotion.js";
|
|
17
17
|
import { useClipboard } from "../composables/useClipboard.js";
|
|
18
18
|
import { useToast } from "../composables/useToast.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const BADGE_REMOVE = "grid size-4 shrink-0 place-items-center rounded-pill text-muted outline-none transition-colors duration-fast hover:bg-ink/10 hover:text-ink focus-visible:ring-2 focus-visible:ring-ring";
|
|
1
|
+
export declare const BADGE_REMOVE = "lp-tap grid size-4 shrink-0 place-items-center rounded-pill text-muted outline-none transition-colors duration-fast hover:bg-ink/10 hover:text-ink focus-visible:ring-2 focus-visible:ring-ring";
|
package/dist/components/badge.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const BADGE_REMOVE = "grid size-4 shrink-0 place-items-center rounded-pill text-muted outline-none transition-colors duration-fast hover:bg-ink/10 hover:text-ink focus-visible:ring-2 focus-visible:ring-ring";
|
|
1
|
+
const BADGE_REMOVE = "lp-tap grid size-4 shrink-0 place-items-center rounded-pill text-muted outline-none transition-colors duration-fast hover:bg-ink/10 hover:text-ink focus-visible:ring-2 focus-visible:ring-ring";
|
|
2
2
|
export {
|
|
3
3
|
BADGE_REMOVE
|
|
4
4
|
};
|
|
@@ -14,6 +14,19 @@ export declare const PANEL_SURFACE = "group rounded-control border border-line b
|
|
|
14
14
|
* rest use z-(--z-popover)).
|
|
15
15
|
*/
|
|
16
16
|
export declare const POPOVER_PANEL: string;
|
|
17
|
+
/**
|
|
18
|
+
* Keeps a free-form panel (popover, menu, hover card) inside the window. Its
|
|
19
|
+
* width stops 0.5rem short of each edge, so a w-96 panel or a long menu label
|
|
20
|
+
* no longer runs off a phone; its height stops at the room reka measured on the
|
|
21
|
+
* side it opened, and the rest scrolls. A date picker opened in landscape used
|
|
22
|
+
* to hang off the top of the screen with its first weeks out of reach.
|
|
23
|
+
*/
|
|
24
|
+
export declare const PANEL_FIT = "max-w-[calc(100vw-1rem)] max-h-(--reka-popper-available-height) overflow-y-auto";
|
|
25
|
+
/**
|
|
26
|
+
* A list row on a touch screen: 2.5rem tall instead of 2, so a thumb picks the
|
|
27
|
+
* row it is on and not its neighbour. A mouse keeps the compact row.
|
|
28
|
+
*/
|
|
29
|
+
export declare const TOUCH_ROW = "[@media(hover:none)_and_(pointer:coarse)]:py-2.5";
|
|
17
30
|
/**
|
|
18
31
|
* A selectable option row: layout, highlight state, and the staggered cascade.
|
|
19
32
|
* Cascades downward by default and upward when the panel is flipped above the
|
|
@@ -40,4 +53,5 @@ export declare const COMBOBOX_PANEL: {
|
|
|
40
53
|
readonly position: "popper";
|
|
41
54
|
readonly sideOffset: 6;
|
|
42
55
|
};
|
|
56
|
+
export declare const COMBOBOX_FIT = "flex flex-col max-h-[min(18rem,var(--reka-popper-available-height,18rem))]";
|
|
43
57
|
export declare const CLOSE_ICON: string;
|
|
@@ -3,19 +3,25 @@ const POPOVER_ANIM = "data-[state=open]:animate-[popover-in_140ms_var(--ease-emp
|
|
|
3
3
|
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]";
|
|
4
4
|
const PANEL_SURFACE = "group rounded-control border border-line bg-surface-overlay shadow-panel backdrop-blur";
|
|
5
5
|
const POPOVER_PANEL = PANEL_SURFACE + " " + POPOVER_ANIM;
|
|
6
|
-
const
|
|
6
|
+
const PANEL_FIT = "max-w-[calc(100vw-1rem)] max-h-(--reka-popper-available-height) overflow-y-auto";
|
|
7
|
+
const TOUCH_ROW = "[@media(hover:none)_and_(pointer:coarse)]:py-2.5";
|
|
8
|
+
const OPTION_ITEM = "flex cursor-pointer items-center gap-2 rounded-inner px-2.5 py-1.5 text-sm text-ink outline-none " + TOUCH_ROW + " animate-[rise-in_180ms_var(--ease-emphasized)_both] [--rise:-6px] group-data-[side=top]:[--rise:6px] data-[highlighted]:bg-brand-soft data-[highlighted]:text-brand";
|
|
7
9
|
const optionStagger = (index) => ({
|
|
8
10
|
animationDelay: `${staggerDelay(index, 0, 22, 12)}ms`
|
|
9
11
|
});
|
|
10
12
|
const COMBOBOX_PANEL = { collisionPadding: 8, position: "popper", sideOffset: 6 };
|
|
13
|
+
const COMBOBOX_FIT = "flex flex-col max-h-[min(18rem,var(--reka-popper-available-height,18rem))]";
|
|
11
14
|
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";
|
|
12
15
|
export {
|
|
13
16
|
CLOSE_ICON,
|
|
17
|
+
COMBOBOX_FIT,
|
|
14
18
|
COMBOBOX_PANEL,
|
|
15
19
|
OPTION_ITEM,
|
|
20
|
+
PANEL_FIT,
|
|
16
21
|
PANEL_SURFACE,
|
|
17
22
|
POPOVER_ANIM,
|
|
18
23
|
POPOVER_PANEL,
|
|
19
24
|
TOOLTIP_ANIM,
|
|
25
|
+
TOUCH_ROW,
|
|
20
26
|
optionStagger
|
|
21
27
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type ComputedRef } from "vue";
|
|
2
|
+
export declare const MODAL_MAX_HEIGHT = "min(90vh, calc(100dvh - 2rem - env(safe-area-inset-top) - env(safe-area-inset-bottom)))";
|
|
2
3
|
export interface ModalLayer {
|
|
3
4
|
/** Join the stack on top. Ignored on the server, where nothing would ever release it. */
|
|
4
5
|
claim: () => void;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ref, computed } from "vue";
|
|
2
2
|
const STEP = 20;
|
|
3
|
+
const MODAL_MAX_HEIGHT = "min(90vh, calc(100dvh - 2rem - env(safe-area-inset-top) - env(safe-area-inset-bottom)))";
|
|
3
4
|
const STATE_KEY = /* @__PURE__ */ Symbol.for("@leavepulse/ui:modal-stack");
|
|
4
5
|
const g = globalThis;
|
|
5
6
|
const state = g[STATE_KEY] ??= { stack: ref([]), nextId: 0, elements: /* @__PURE__ */ new Map() };
|
|
@@ -41,6 +42,7 @@ function topModalElement() {
|
|
|
41
42
|
return state.elements.get(id)?.() ?? null;
|
|
42
43
|
}
|
|
43
44
|
export {
|
|
45
|
+
MODAL_MAX_HEIGHT,
|
|
44
46
|
anyModalOpen,
|
|
45
47
|
topModalElement,
|
|
46
48
|
useModalLayer
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { nodeWindow } from "./realm.js";
|
|
2
|
-
import { ref,
|
|
2
|
+
import { ref, toValue, watch, onBeforeUnmount } from "vue";
|
|
3
3
|
import { prefersReducedMotion } from "./easing.js";
|
|
4
4
|
function useReveal(options = {}) {
|
|
5
5
|
const { threshold = 0.25, rootMargin = "0px" } = options;
|
|
6
6
|
const el = ref(null);
|
|
7
|
-
const revealed = ref(
|
|
7
|
+
const revealed = ref(!!toValue(options.immediate));
|
|
8
8
|
let observer = null;
|
|
9
9
|
function stop() {
|
|
10
10
|
observer?.disconnect();
|
|
@@ -17,7 +17,7 @@ function useReveal(options = {}) {
|
|
|
17
17
|
watch(
|
|
18
18
|
[el, () => toValue(options.immediate)],
|
|
19
19
|
([node, immediate]) => {
|
|
20
|
-
if (revealed.value) return;
|
|
20
|
+
if (revealed.value || typeof window === "undefined") return;
|
|
21
21
|
if (immediate || prefersReducedMotion()) {
|
|
22
22
|
reveal();
|
|
23
23
|
return;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export interface TouchHoldOptions {
|
|
2
|
+
/** Whether a touch press may start a hold now. */
|
|
3
|
+
enabled: () => boolean;
|
|
4
|
+
/** How long the finger must stay, in ms. */
|
|
5
|
+
delay: () => number;
|
|
6
|
+
onHold: () => void;
|
|
7
|
+
}
|
|
8
|
+
export declare function useTouchHold(options: TouchHoldOptions): {
|
|
9
|
+
/** Drops a hold in progress, as if the finger had been lifted off the screen. */
|
|
10
|
+
cancel: () => void;
|
|
11
|
+
handlers: {
|
|
12
|
+
onPointerdown: (event: PointerEvent) => void;
|
|
13
|
+
onPointermove: (event: PointerEvent) => void;
|
|
14
|
+
onPointerup: (event: PointerEvent) => void;
|
|
15
|
+
onPointercancel: (event?: PointerEvent) => void;
|
|
16
|
+
onClickCapture: (event: MouseEvent) => void;
|
|
17
|
+
onContextmenu: (event: Event) => void;
|
|
18
|
+
};
|
|
19
|
+
};
|