@leavepulse/ui 0.71.2 → 0.72.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/LpTabs-CDchzoRL.css +18 -0
- package/dist/chunks/{ContextMenuItems-eS7qx9gD.js → ContextMenuItems-BXumicbh.js} +1 -1
- package/dist/chunks/{DropzoneLinkField-DkFhdfEJ.js → DropzoneLinkField-D2Rnkcys.js} +2 -2
- package/dist/chunks/{FieldWrapper-YzbvvC3M.js → FieldWrapper-DnA1rxZ8.js} +1 -1
- package/dist/chunks/{LayoutCanvas-Ba4A9QC5.js → LayoutCanvas-CNOAUk7D.js} +1 -1
- package/dist/chunks/{LayoutNode-CTTTLMDM.js → LayoutNode-DF5BMN0J.js} +1 -1
- package/dist/chunks/{LpActionBar-B7anGlkI.js → LpActionBar-DfiBL1dE.js} +3 -3
- package/dist/chunks/{LpAddressInput-Bu6ws3Fp.js → LpAddressInput-B1bB3F6M.js} +7 -7
- package/dist/chunks/{LpAlert-BHi7ARqu.js → LpAlert-CpRF9eYr.js} +3 -3
- package/dist/chunks/{LpAppShell-C5YW5pI7.js → LpAppShell-D8Q0Jv9d.js} +68 -18
- package/dist/chunks/{LpAutocomplete-DDqe2M5g.js → LpAutocomplete-DOu7FN5P.js} +2 -2
- package/dist/chunks/{LpAvatar-DqfKCIdr.js → LpAvatar-Cg6Az3wz.js} +1 -1
- package/dist/chunks/{LpBadge-C8fKEmTF.js → LpBadge-vtCpsDmv.js} +3 -3
- package/dist/chunks/LpBottomNav-VXJf0cKc.js +89 -0
- package/dist/chunks/{LpBreadcrumbs-DhcoStFa.js → LpBreadcrumbs-BdzjQcql.js} +3 -3
- package/dist/chunks/{LpButton-BQDAFXBd.js → LpButton-Dk7eT4ro.js} +1 -1
- package/dist/chunks/{LpCalendar-NmrA47J9.js → LpCalendar-CuoWks-0.js} +1 -1
- package/dist/chunks/{LpCard-CqKLnEhl.js → LpCard-Ce3rw8zm.js} +1 -1
- package/dist/chunks/{LpCheckbox-BoOuLnGB.js → LpCheckbox-DLX4amba.js} +2 -2
- package/dist/chunks/{LpCodeBlock-Czu-fq1M.js → LpCodeBlock-j0W5bpmF.js} +2 -2
- package/dist/chunks/{LpCodeDisplay-C9pIMF2R.js → LpCodeDisplay-COdiv4xu.js} +6 -6
- package/dist/chunks/{LpColorPicker-Ee1DZiRd.js → LpColorPicker-1y1QJHZR.js} +56 -28
- package/dist/chunks/{LpConfirmDialog-i15pulMT.js → LpConfirmDialog-w1ni5nxh.js} +3 -3
- package/dist/chunks/{LpConfirmHost-D0oGavtd.js → LpConfirmHost-Br_-Gn-6.js} +1 -1
- package/dist/chunks/{LpContextMenu-DXpFJjlO.js → LpContextMenu-rx2tCjwk.js} +2 -2
- package/dist/chunks/{LpCopyButton-Dmq7DmFw.js → LpCopyButton-DaD1KCn6.js} +2 -2
- package/dist/chunks/{LpCountdown-CXrEK0ev.js → LpCountdown-Cgy0mVEq.js} +3 -3
- package/dist/chunks/{LpDataList-CFPtSsBB.js → LpDataList-CkcGFJgv.js} +3 -3
- package/dist/chunks/{LpDatePicker-cC9K-Pk8.js → LpDatePicker-CA0QTfBC.js} +4 -4
- package/dist/chunks/{LpDateRangePicker-BVQKPbvo.js → LpDateRangePicker-u3J51xXk.js} +2 -2
- package/dist/chunks/{LpDisclosure-hRnX3FWL.js → LpDisclosure-Cpa7Hc5T.js} +1 -1
- package/dist/chunks/{LpDrawer-u4rxnuR-.js → LpDrawer-RRamxbLV.js} +1 -1
- package/dist/chunks/{LpDropdownMenu-BgZ0Z_Im.js → LpDropdownMenu-Dl7Z4ZhS.js} +2 -2
- package/dist/chunks/{LpEditable-CjxuOVh_.js → LpEditable-D3PvD6Zm.js} +5 -5
- package/dist/chunks/{LpEmptyState-CKFTtQgJ.js → LpEmptyState-EQHiRYhG.js} +7 -3
- package/dist/chunks/{LpFieldNotice-CPI8EwtU.js → LpFieldNotice-CzQ2_5rQ.js} +1 -1
- package/dist/chunks/{LpFileTree-BH0gNlSJ.js → LpFileTree-D7KTaJiM.js} +2 -2
- package/dist/chunks/{LpFileTreeNode-gPVB1oXM.js → LpFileTreeNode-14GVqQTd.js} +5 -5
- package/dist/chunks/{LpFormField-gRASfyj2.js → LpFormField-MSQhRCTz.js} +2 -2
- package/dist/chunks/{LpGauge-DFdt33x8.js → LpGauge-BO1PYYqD.js} +2 -2
- package/dist/chunks/{LpHintLayer-C2asBIfs.js → LpHintLayer-CmYm37z7.js} +2 -2
- package/dist/chunks/{LpHints-CNZQ76JV.js → LpHints-iLIRUkCj.js} +3 -3
- package/dist/chunks/{LpIcon-DkP-9mzK.js → LpIcon--5WSb3jJ.js} +1 -1
- package/dist/chunks/{LpInfraNode-yTh4-5qa.js → LpInfraNode-BT0VQrOa.js} +2 -2
- package/dist/chunks/{LpInput-2H-5ILOB.js → LpInput-1eNvtzXs.js} +2 -2
- package/dist/chunks/{LpLightbox-lAt5uIfx.js → LpLightbox-DWw6OSA4.js} +3 -3
- package/dist/chunks/{LpLoader-DjJEX8hL.js → LpLoader-B82_CcV0.js} +1 -1
- package/dist/chunks/{LpLogViewer-x78YfhJf.js → LpLogViewer-pzanZASC.js} +6 -6
- package/dist/chunks/{LpMapPicker-Dp5RSCi9.js → LpMapPicker-DNIUvF6V.js} +2 -2
- package/dist/chunks/{LpMediaGallery-D92oJfY_.js → LpMediaGallery-Dx8xzg5N.js} +3 -3
- package/dist/chunks/{LpModal-CpH0bNo7.js → LpModal-BnjZ2iem.js} +1 -1
- package/dist/chunks/{LpModalNav-Cuna8c_3.js → LpModalNav-Cu04W1pV.js} +4 -4
- package/dist/chunks/{LpNotificationBell-BdUQqZhs.js → LpNotificationBell-PSQqFqEv.js} +8 -8
- package/dist/chunks/{LpNumberField-DZY3Z670.js → LpNumberField-e0IBkWU1.js} +1 -1
- package/dist/chunks/{LpNumberFlow-Dwb9MV1A.js → LpNumberFlow-CcxEGUy0.js} +4 -2
- package/dist/chunks/{LpPagination-DbeACavM.js → LpPagination-BIIiYHXR.js} +1 -1
- package/dist/chunks/{LpPaletteTheme-DkikZ362.js → LpPaletteTheme-D05ywM1W.js} +4 -4
- package/dist/chunks/{LpPasswordInput-BzAZsf5V.js → LpPasswordInput-vdcw-koG.js} +2 -2
- package/dist/chunks/{LpPhoneInput-BMpd-0QR.js → LpPhoneInput-CETEp5W7.js} +2 -2
- package/dist/chunks/{LpPie-C1uIUFxu.js → LpPie-BlWDxCtG.js} +6 -6
- package/dist/chunks/{LpPipeline-zjEM1Lwc.js → LpPipeline-BXjoxkq_.js} +4 -4
- package/dist/chunks/{LpProgress-WNaH4emv.js → LpProgress-rOlyafqp.js} +1 -1
- package/dist/chunks/{LpQuota-Cz9PvklM.js → LpQuota-B12yijdB.js} +3 -3
- package/dist/chunks/{LpRadioGroup-CsXeV9Ct.js → LpRadioGroup-ggaPL92T.js} +1 -1
- package/dist/chunks/{LpRangeCalendar-l-0nSFmY.js → LpRangeCalendar-CYYUYqJ7.js} +1 -1
- package/dist/chunks/{LpRelativeTime-UM8EkfrN.js → LpRelativeTime-DwgCb5-8.js} +1 -1
- package/dist/chunks/{LpRepeater-OvzByE5L.js → LpRepeater-fliVBcN7.js} +3 -3
- package/dist/chunks/LpRollingText-B54Pje7P.js +86 -0
- package/dist/chunks/{LpScramble-TDO5Kdou.js → LpScramble-Cw-af0Yh.js} +1 -1
- package/dist/chunks/{LpSecretField-DwQiPOko.js → LpSecretField-D_IMxEGW.js} +7 -7
- package/dist/chunks/{LpSection-DcQsieHG.js → LpSection-DFK_uoJE.js} +1 -1
- package/dist/chunks/{LpSegmented-D2VST0o3.js → LpSegmented-CeACsMMA.js} +4 -2
- package/dist/chunks/{LpSelect-D3pRJfRY.js → LpSelect-Cxq4yBGd.js} +3 -3
- package/dist/chunks/LpShift-BAp8lGoa.js +160 -0
- package/dist/chunks/LpSidebar-BftYsk5d.js +494 -0
- package/dist/chunks/LpSidebarNav-BzNWMZfc.js +357 -0
- package/dist/chunks/LpSidebarRow-BIReMT1f.js +302 -0
- package/dist/chunks/{LpStat-Dzn6WFzi.js → LpStat-BFCM6fUn.js} +6 -4
- package/dist/chunks/{LpStatus-BQU1TUsv.js → LpStatus-BWTLVPVh.js} +3 -3
- package/dist/chunks/{LpStepMark-CXa7DJy_.js → LpStepMark-DkdkebLC.js} +3 -3
- package/dist/chunks/{LpStepper-C9RM_yTG.js → LpStepper-BgqjKrqg.js} +1 -1
- package/dist/chunks/{LpSwap-DzE6M3Mg.js → LpSwap-B5YOXgtx.js} +1 -1
- package/dist/chunks/{LpSwitch-bGZxUDSx.js → LpSwitch-DyrRes7s.js} +1 -1
- package/dist/chunks/LpTabFace-D6BMCbAP.js +77 -0
- package/dist/chunks/{LpTableFilter-CTZMqFDU.js → LpTableFilter-Dkzamzkl.js} +3 -3
- package/dist/chunks/{LpTagsInput-DrjmrOge.js → LpTagsInput-DAZNNehI.js} +5 -5
- package/dist/chunks/{LpTextarea-BbYqmG1S.js → LpTextarea-DbmVPj2X.js} +32 -7
- package/dist/chunks/{useTheme-BOV_-AiY.js → LpThemeProvider-8MG6yqU9.js} +66 -1
- package/dist/chunks/{LpThemeStudio-IupHqP0x.js → LpThemeStudio-DWtG6OZZ.js} +138 -104
- package/dist/chunks/LpThemeStudioSection-B7bt8Iyg.js +32 -0
- package/dist/chunks/{LpThemeSwitcher-DarPHuX8.js → LpThemeSwitcher-Dcx-VkSk.js} +6 -6
- package/dist/chunks/{LpTimeField-DQ8WvPr2.js → LpTimeField-BawSVsmt.js} +1 -1
- package/dist/chunks/{LpToaster-BTTl_wuy.js → LpToaster-50hp_B5O.js} +2 -2
- package/dist/chunks/{LpTopologyCanvas-Cq-MiJwo.js → LpTopologyCanvas-CnUh8uzS.js} +1 -1
- package/dist/chunks/{LpTour-BgCfNlaW.js → LpTour-DC3LTlxg.js} +1 -1
- package/dist/chunks/{LpTruncate-TcqfkyJM.js → LpTruncate-Ced4gquB.js} +1 -1
- package/dist/chunks/{LpUptimeBar-BbhVTPnL.js → LpUptimeBar-CuB0LX8K.js} +4 -4
- package/dist/chunks/{MenuTitle-Dab3EGOp.js → MenuTitle-BmCNNTKH.js} +1 -1
- package/dist/chunks/{OptionContent-DPzNsybd.js → OptionContent-22UT8zLn.js} +1 -1
- package/dist/chunks/{PickerField-DwLw7j0L.js → PickerField-Bfh8id3d.js} +2 -2
- package/dist/chunks/{RevealToggle-BVFM_FAU.js → RevealToggle-B0ITuIX-.js} +2 -2
- package/dist/chunks/{TourCard--2IfgnUU.js → TourCard-CBkj1GYi.js} +5 -5
- package/dist/chunks/{icons-CLu1iR1j.js → icons-DMITlfw5.js} +1 -1
- package/dist/component-names.d.ts +1 -1
- package/dist/components/ContextMenuItems.vue.js +1 -1
- package/dist/components/DropzoneLinkField.vue.js +1 -1
- package/dist/components/FieldWrapper.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.d.ts +67 -2
- 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/LpBadge.vue.js +1 -1
- package/dist/components/LpBottomNav.vue.d.ts +28 -0
- package/dist/components/LpBottomNav.vue.js +4 -0
- 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/LpCodeDisplay.vue.js +1 -1
- package/dist/components/LpColorPicker.vue.d.ts +15 -2
- package/dist/components/LpColorPicker.vue.js +1 -1
- package/dist/components/LpCommandPalette.vue.js +4 -4
- 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/LpCopyButton.vue.js +1 -1
- package/dist/components/LpCountdown.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/LpDisclosure.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 +2 -2
- package/dist/components/LpEditable.vue.js +1 -1
- package/dist/components/LpEmptyState.vue.d.ts +2 -0
- 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/LpGauge.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 +2 -2
- package/dist/components/LpInfraNode.vue.js +1 -1
- package/dist/components/LpInput.vue.js +1 -1
- package/dist/components/LpLightbox.vue.js +1 -1
- package/dist/components/LpLoader.vue.js +1 -1
- package/dist/components/LpLogViewer.vue.d.ts +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/LpNumberFlow.vue.js +1 -1
- package/dist/components/LpPagination.vue.js +1 -1
- package/dist/components/LpPaletteFacts.vue.js +2 -2
- package/dist/components/LpPaletteHeader.vue.js +2 -2
- package/dist/components/LpPaletteStats.vue.js +2 -2
- 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/LpProgress.vue.js +1 -1
- package/dist/components/LpQuota.vue.js +1 -1
- package/dist/components/LpRadioGroup.vue.js +1 -1
- package/dist/components/LpRangeCalendar.vue.js +1 -1
- package/dist/components/LpRelativeTime.vue.js +1 -1
- package/dist/components/LpRepeater.vue.js +1 -1
- package/dist/components/LpRollingText.vue.d.ts +2 -2
- package/dist/components/LpRollingText.vue.js +1 -1
- package/dist/components/LpScramble.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/LpShift.vue.d.ts +20 -0
- package/dist/components/LpShift.vue.js +1 -1
- package/dist/components/LpShortcutsDialog.vue.js +1 -1
- package/dist/components/LpSidebar.vue.d.ts +74 -23
- package/dist/components/LpSidebar.vue.js +1 -1
- package/dist/components/LpSidebarNav.vue.d.ts +30 -2
- package/dist/components/LpSidebarNav.vue.js +1 -1
- package/dist/components/LpSidebarRow.vue.d.ts +49 -0
- package/dist/components/LpSidebarRow.vue.js +4 -0
- package/dist/components/LpStat.vue.d.ts +11 -0
- package/dist/components/LpStat.vue.js +1 -1
- package/dist/components/LpStatus.vue.js +1 -1
- package/dist/components/LpStepMark.vue.js +1 -1
- package/dist/components/LpStepper.vue.js +1 -1
- package/dist/components/LpSwap.vue.js +1 -1
- package/dist/components/LpSwitch.vue.js +1 -1
- package/dist/components/LpTabFace.vue.d.ts +14 -0
- package/dist/components/LpTabFace.vue.js +4 -0
- package/dist/components/LpTable.vue.js +11 -11
- package/dist/components/LpTableFilter.vue.js +1 -1
- package/dist/components/LpTabs.vue.d.ts +4 -4
- package/dist/components/LpTabs.vue.js +18 -72
- package/dist/components/LpTagsInput.vue.js +1 -1
- package/dist/components/LpTextarea.vue.d.ts +19 -1
- package/dist/components/LpTextarea.vue.js +1 -1
- package/dist/components/LpThemeProvider.vue.js +1 -1
- package/dist/components/LpThemeStudio.vue.d.ts +2 -2
- package/dist/components/LpThemeStudio.vue.js +1 -1
- package/dist/components/LpThemeStudioSection.vue.d.ts +4 -1
- package/dist/components/LpThemeStudioSection.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/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/MenuTitle.vue.js +1 -1
- package/dist/components/OptionContent.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/menuWhen.js +1 -1
- package/dist/components/rolling.d.ts +5 -0
- package/dist/components/rolling.js +23 -0
- package/dist/components/sidebar.d.ts +33 -0
- package/dist/components/tabs.d.ts +3 -0
- package/dist/components/tabs.js +6 -0
- package/dist/icons-all.js +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +154 -153
- package/package.json +1 -1
- package/src/component-names.ts +1 -0
- package/src/components/LpAppShell.vue +75 -7
- package/src/components/LpBottomNav.vue +84 -0
- package/src/components/LpColorPicker.vue +32 -1
- package/src/components/LpEmptyState.vue +4 -1
- package/src/components/LpNumberFlow.vue +4 -2
- package/src/components/LpRollingText.vue +27 -2
- package/src/components/LpSegmented.vue +3 -1
- package/src/components/LpShift.vue +174 -2
- package/src/components/LpSidebar.vue +304 -18
- package/src/components/LpSidebarNav.vue +200 -77
- package/src/components/LpSidebarRow.vue +238 -0
- package/src/components/LpStat.vue +7 -1
- package/src/components/LpTabFace.vue +52 -0
- package/src/components/LpTabs.vue +6 -41
- package/src/components/LpTextarea.vue +34 -4
- package/src/components/LpThemeStudio.vue +91 -55
- package/src/components/LpThemeStudioSection.vue +15 -7
- package/src/components/rolling.ts +28 -0
- package/src/components/sidebar.ts +33 -0
- package/src/components/tabs.ts +9 -0
- package/src/index.ts +1 -0
- package/src/kit-icons.ts +1 -1
- package/dist/assets/LpTabs-DT0XPTc2.css +0 -18
- package/dist/chunks/LpRollingText-DiL717LK.js +0 -51
- package/dist/chunks/LpShift-DXNsauQZ.js +0 -40
- package/dist/chunks/LpSidebar-Bk7b-K4l.js +0 -256
- package/dist/chunks/LpSidebarNav-BR2AW3KT.js +0 -216
- package/dist/chunks/LpThemeProvider-DcbfOxsU.js +0 -69
- package/dist/chunks/LpThemeStudioSection-BwhqYDLf.js +0 -20
|
@@ -29,6 +29,13 @@ type __VLS_Props = {
|
|
|
29
29
|
labels?: Partial<{
|
|
30
30
|
nav: string;
|
|
31
31
|
search: string;
|
|
32
|
+
pinned: string;
|
|
33
|
+
pin: string;
|
|
34
|
+
unpin: string;
|
|
35
|
+
expand: string;
|
|
36
|
+
compact: string;
|
|
37
|
+
expandRail: string;
|
|
38
|
+
resize: string;
|
|
32
39
|
}>;
|
|
33
40
|
/** The query, when the app wants to own it (v-model:search). */
|
|
34
41
|
search?: string;
|
|
@@ -105,45 +112,88 @@ type __VLS_Props = {
|
|
|
105
112
|
* see LpSidebarNav for why a tall nav keeps it pinned.
|
|
106
113
|
*/
|
|
107
114
|
hoverFollow?: boolean;
|
|
115
|
+
/**
|
|
116
|
+
* Icons only (v-model:compact): each row's name, count and the pages under
|
|
117
|
+
* it move into a card beside the icon. With `resizable` the person decides,
|
|
118
|
+
* and the choice is remembered under `persist`.
|
|
119
|
+
*/
|
|
120
|
+
compact?: boolean;
|
|
121
|
+
/**
|
|
122
|
+
* The person sizes the rail: drag its edge (double-click resets), drag it
|
|
123
|
+
* narrow enough and it folds to icons, and a button and Ctrl+B fold it
|
|
124
|
+
* outright. One mechanism, not two: a narrow rail that only truncates its
|
|
125
|
+
* labels is the worst of both, so below a point it becomes the icon rail.
|
|
126
|
+
*/
|
|
127
|
+
resizable?: boolean;
|
|
128
|
+
/** Rail width bounds while resizing, in px. */
|
|
129
|
+
minWidth?: number;
|
|
130
|
+
maxWidth?: number;
|
|
131
|
+
/** The key that folds the rail when `resizable`. False turns it off. */
|
|
132
|
+
compactHotkey?: string | false;
|
|
133
|
+
/**
|
|
134
|
+
* Rows offer "Pin to top" in their menu, and pinned pages lead the nav
|
|
135
|
+
* (v-model:pinned, ids; remembered under `persist` when unbound).
|
|
136
|
+
*/
|
|
137
|
+
pinnable?: boolean;
|
|
138
|
+
pinned?: string[];
|
|
139
|
+
/** How long the pointer rests on a row with a `preview` before its card opens, in ms. */
|
|
140
|
+
previewDelay?: number;
|
|
141
|
+
/**
|
|
142
|
+
* Mark the app as not production: a coloured band along the top of the rail
|
|
143
|
+
* with the label hanging from it ("staging", "local"). It is there so an
|
|
144
|
+
* edit on the test copy is not mistaken for one on the real thing; leave it
|
|
145
|
+
* unset in production.
|
|
146
|
+
*/
|
|
147
|
+
environment?: string | {
|
|
148
|
+
label: string;
|
|
149
|
+
tone?: "warning" | "danger" | "action" | "brand";
|
|
150
|
+
};
|
|
151
|
+
/**
|
|
152
|
+
* The app's hint system (createHintSystem). Rows that name a `hintPage`
|
|
153
|
+
* then mark unread news on it with a dot, with nothing for the app to wire.
|
|
154
|
+
*/
|
|
155
|
+
hints?: {
|
|
156
|
+
unreadNews: (page?: string) => readonly unknown[];
|
|
157
|
+
};
|
|
108
158
|
};
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
} & {
|
|
125
|
-
header?: (props: typeof __VLS_32) => any;
|
|
126
|
-
} & {
|
|
127
|
-
item?: (props: typeof __VLS_49) => any;
|
|
128
|
-
} & {
|
|
129
|
-
actions?: (props: typeof __VLS_51) => any;
|
|
130
|
-
} & {
|
|
131
|
-
footer?: (props: typeof __VLS_53) => any;
|
|
159
|
+
type __VLS_Slots = {
|
|
160
|
+
/** The brand; `compact` says the rail is down to icons. */
|
|
161
|
+
header?: (props: {
|
|
162
|
+
compact?: boolean;
|
|
163
|
+
}) => unknown;
|
|
164
|
+
actions?: (props: {
|
|
165
|
+
compact?: boolean;
|
|
166
|
+
}) => unknown;
|
|
167
|
+
footer?: (props: {
|
|
168
|
+
compact?: boolean;
|
|
169
|
+
}) => unknown;
|
|
170
|
+
item?: (props: {
|
|
171
|
+
item: SidebarItem;
|
|
172
|
+
active: boolean;
|
|
173
|
+
}) => unknown;
|
|
132
174
|
};
|
|
133
175
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
134
176
|
select: (item: SidebarItem) => any;
|
|
135
177
|
"update:modelValue": (id: string) => any;
|
|
136
178
|
"update:open": (value: boolean) => any;
|
|
179
|
+
"update:pinned": (ids: string[]) => any;
|
|
137
180
|
"update:collapsed": (keys: string[]) => any;
|
|
138
181
|
"update:search": (value: string) => any;
|
|
182
|
+
"update:compact": (value: boolean) => any;
|
|
139
183
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
140
184
|
onSelect?: ((item: SidebarItem) => any) | undefined;
|
|
141
185
|
"onUpdate:modelValue"?: ((id: string) => any) | undefined;
|
|
142
186
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
187
|
+
"onUpdate:pinned"?: ((ids: string[]) => any) | undefined;
|
|
143
188
|
"onUpdate:collapsed"?: ((keys: string[]) => any) | undefined;
|
|
144
189
|
"onUpdate:search"?: ((value: string) => any) | undefined;
|
|
190
|
+
"onUpdate:compact"?: ((value: boolean) => any) | undefined;
|
|
145
191
|
}>, {
|
|
192
|
+
maxWidth: number;
|
|
193
|
+
minWidth: number;
|
|
146
194
|
variant: "rail" | "panel";
|
|
195
|
+
compact: boolean;
|
|
196
|
+
previewDelay: number;
|
|
147
197
|
skeletonRows: number;
|
|
148
198
|
skeletonHeader: boolean;
|
|
149
199
|
hoverFollow: boolean;
|
|
@@ -151,6 +201,7 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
151
201
|
mobileBreakpoint: "sm" | "md" | "lg" | "xl";
|
|
152
202
|
divider: boolean;
|
|
153
203
|
autoCollapseAfter: number;
|
|
204
|
+
compactHotkey: string | false;
|
|
154
205
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
155
206
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
156
207
|
declare const _default: typeof __VLS_export;
|
|
@@ -25,9 +25,22 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
25
25
|
* short rail (an app switcher, a settings list) can turn it on.
|
|
26
26
|
*/
|
|
27
27
|
hoverFollow?: boolean;
|
|
28
|
+
/** Icons only, each row's name in a card beside it. */
|
|
29
|
+
compact?: boolean;
|
|
30
|
+
/** Rows offer "Pin to top" in their menu; `pinned` are shown first. */
|
|
31
|
+
pinnable?: boolean;
|
|
32
|
+
pinned?: SidebarItem[];
|
|
33
|
+
previewDelay?: number;
|
|
34
|
+
labels: {
|
|
35
|
+
pinned: string;
|
|
36
|
+
pin: string;
|
|
37
|
+
unpin: string;
|
|
38
|
+
expand: string;
|
|
39
|
+
};
|
|
28
40
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
29
|
-
"toggle-section": (key: string, collapsed: boolean) => any;
|
|
30
41
|
activate: (item: SidebarItem) => any;
|
|
42
|
+
"toggle-pin": (id: string) => any;
|
|
43
|
+
"toggle-section": (key: string, collapsed: boolean) => any;
|
|
31
44
|
}, string, import("vue").PublicProps, Readonly<{
|
|
32
45
|
/** Normalised section list (LpSidebar collapses items/sections into this). */
|
|
33
46
|
groups: SidebarSection[];
|
|
@@ -52,10 +65,25 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
52
65
|
* short rail (an app switcher, a settings list) can turn it on.
|
|
53
66
|
*/
|
|
54
67
|
hoverFollow?: boolean;
|
|
68
|
+
/** Icons only, each row's name in a card beside it. */
|
|
69
|
+
compact?: boolean;
|
|
70
|
+
/** Rows offer "Pin to top" in their menu; `pinned` are shown first. */
|
|
71
|
+
pinnable?: boolean;
|
|
72
|
+
pinned?: SidebarItem[];
|
|
73
|
+
previewDelay?: number;
|
|
74
|
+
labels: {
|
|
75
|
+
pinned: string;
|
|
76
|
+
pin: string;
|
|
77
|
+
unpin: string;
|
|
78
|
+
expand: string;
|
|
79
|
+
};
|
|
55
80
|
}> & Readonly<{
|
|
56
|
-
"onToggle-section"?: ((key: string, collapsed: boolean) => any) | undefined;
|
|
57
81
|
onActivate?: ((item: SidebarItem) => any) | undefined;
|
|
82
|
+
"onToggle-pin"?: ((id: string) => any) | undefined;
|
|
83
|
+
"onToggle-section"?: ((key: string, collapsed: boolean) => any) | undefined;
|
|
58
84
|
}>, {
|
|
85
|
+
pinned: SidebarItem[];
|
|
86
|
+
previewDelay: number;
|
|
59
87
|
skeletonRows: number;
|
|
60
88
|
skeletonHeader: boolean;
|
|
61
89
|
collapsedKeys: string[];
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { type ContextMenuItemDef } from "./LpContextMenu.vue";
|
|
2
|
+
import type { SidebarItem } from "./sidebar";
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
item: SidebarItem;
|
|
5
|
+
active: boolean;
|
|
6
|
+
/** The pill sits under this row (active, or hovered while following hover). */
|
|
7
|
+
pill: boolean;
|
|
8
|
+
pillId: string;
|
|
9
|
+
compact?: boolean;
|
|
10
|
+
/** A page under another: indented, a size smaller. */
|
|
11
|
+
nested?: boolean;
|
|
12
|
+
menu?: ContextMenuItemDef[];
|
|
13
|
+
/** Has pages under it; `expanded` says whether they show. */
|
|
14
|
+
expandable?: boolean;
|
|
15
|
+
expanded?: boolean;
|
|
16
|
+
/** One of its pages is the current one: the row reads as on the path. */
|
|
17
|
+
onPath?: boolean;
|
|
18
|
+
previewDelay?: number;
|
|
19
|
+
hovered?: boolean;
|
|
20
|
+
expandLabel?: string;
|
|
21
|
+
itemActive?: (item: SidebarItem) => boolean;
|
|
22
|
+
};
|
|
23
|
+
declare var __VLS_29: {
|
|
24
|
+
item: SidebarItem;
|
|
25
|
+
active: boolean;
|
|
26
|
+
};
|
|
27
|
+
type __VLS_Slots = {} & {
|
|
28
|
+
default?: (props: typeof __VLS_29) => any;
|
|
29
|
+
};
|
|
30
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
31
|
+
toggle: () => any;
|
|
32
|
+
hover: (item: SidebarItem) => any;
|
|
33
|
+
activate: (item: SidebarItem) => any;
|
|
34
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
35
|
+
onToggle?: (() => any) | undefined;
|
|
36
|
+
onHover?: ((item: SidebarItem) => any) | undefined;
|
|
37
|
+
onActivate?: ((item: SidebarItem) => any) | undefined;
|
|
38
|
+
}>, {
|
|
39
|
+
menu: ContextMenuItemDef[];
|
|
40
|
+
previewDelay: number;
|
|
41
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
42
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
43
|
+
declare const _default: typeof __VLS_export;
|
|
44
|
+
export default _default;
|
|
45
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
46
|
+
new (): {
|
|
47
|
+
$slots: S;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
@@ -12,6 +12,11 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
12
12
|
/** Formatting for a numeric `value` — see LpNumberFlow. */
|
|
13
13
|
compact?: boolean;
|
|
14
14
|
grouped?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Count up from zero when the tile first shows (the default), or show the
|
|
17
|
+
* value outright: a report or a screenshot wants the figure, not the run.
|
|
18
|
+
*/
|
|
19
|
+
animateOnMount?: boolean;
|
|
15
20
|
decimals?: number;
|
|
16
21
|
prefix?: string;
|
|
17
22
|
valueSuffix?: string;
|
|
@@ -48,6 +53,11 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
48
53
|
/** Formatting for a numeric `value` — see LpNumberFlow. */
|
|
49
54
|
compact?: boolean;
|
|
50
55
|
grouped?: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* Count up from zero when the tile first shows (the default), or show the
|
|
58
|
+
* value outright: a report or a screenshot wants the figure, not the run.
|
|
59
|
+
*/
|
|
60
|
+
animateOnMount?: boolean;
|
|
51
61
|
decimals?: number;
|
|
52
62
|
prefix?: string;
|
|
53
63
|
valueSuffix?: string;
|
|
@@ -74,6 +84,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
74
84
|
loading?: boolean;
|
|
75
85
|
}> & Readonly<{}>, {
|
|
76
86
|
decimals: number;
|
|
87
|
+
animateOnMount: boolean;
|
|
77
88
|
trend: "auto" | "up" | "down" | "flat";
|
|
78
89
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
79
90
|
trend?: (props: {}) => any;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
item: {
|
|
3
|
+
label: string;
|
|
4
|
+
icon?: string;
|
|
5
|
+
dot?: boolean;
|
|
6
|
+
badge?: number | string;
|
|
7
|
+
};
|
|
8
|
+
bottom?: boolean;
|
|
9
|
+
compact?: boolean;
|
|
10
|
+
active?: boolean;
|
|
11
|
+
};
|
|
12
|
+
declare const __VLS_export: 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>;
|
|
13
|
+
declare const _default: typeof __VLS_export;
|
|
14
|
+
export default _default;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { defineComponent, computed, useAttrs, ref, shallowRef, watch, onMounted, onBeforeUnmount, useId, h, openBlock, createElementBlock, normalizeClass, createVNode, withCtx, createTextVNode, toDisplayString, createCommentVNode, Fragment, renderList, createBlock, createElementVNode, Transition, renderSlot, mergeProps, normalizeStyle, TransitionGroup, unref, withModifiers, 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$9 } from "../chunks/LpCheckbox-
|
|
6
|
-
import { _ as _sfc_main$8 } from "../chunks/LpContextMenu-
|
|
7
|
-
import { _ as _sfc_main$d } from "../chunks/LpEmptyState-
|
|
8
|
-
import { _ as _sfc_main$5 } from "../chunks/LpBadge-
|
|
9
|
-
import { _ as _sfc_main$3 } from "../chunks/LpIcon
|
|
4
|
+
import { _ as _sfc_main$1 } from "../chunks/LpDataList-CkcGFJgv.js";
|
|
5
|
+
import { _ as _sfc_main$9 } from "../chunks/LpCheckbox-DLX4amba.js";
|
|
6
|
+
import { _ as _sfc_main$8 } from "../chunks/LpContextMenu-rx2tCjwk.js";
|
|
7
|
+
import { _ as _sfc_main$d } from "../chunks/LpEmptyState-EQHiRYhG.js";
|
|
8
|
+
import { _ as _sfc_main$5 } from "../chunks/LpBadge-vtCpsDmv.js";
|
|
9
|
+
import { _ as _sfc_main$3 } from "../chunks/LpIcon--5WSb3jJ.js";
|
|
10
10
|
import { _ as _sfc_main$c } from "../chunks/LpSkeleton-BB6XIV-w.js";
|
|
11
|
-
import { _ as _sfc_main$e } from "../chunks/LpPagination-
|
|
11
|
+
import { _ as _sfc_main$e } from "../chunks/LpPagination-BIIiYHXR.js";
|
|
12
12
|
import { _ as _sfc_main$a } from "../chunks/LpPopover-DmZ3wUtP.js";
|
|
13
13
|
import { _ as _sfc_main$7 } from "../chunks/LpScrollArea-Hz3-JWUG.js";
|
|
14
|
-
import { _ as _sfc_main$6 } from "../chunks/LpRollingText-
|
|
15
|
-
import { _ as _sfc_main$4 } from "../chunks/LpShift-
|
|
16
|
-
import { _ as _sfc_main$b } from "../chunks/LpTableFilter-
|
|
14
|
+
import { _ as _sfc_main$6 } from "../chunks/LpRollingText-B54Pje7P.js";
|
|
15
|
+
import { _ as _sfc_main$4 } from "../chunks/LpShift-BAp8lGoa.js";
|
|
16
|
+
import { _ as _sfc_main$b } from "../chunks/LpTableFilter-Dkzamzkl.js";
|
|
17
17
|
import { useKitStorage } from "../composables/usePersisted.js";
|
|
18
18
|
import { useAsyncTask } from "../composables/useAsyncTask.js";
|
|
19
19
|
import { useTableFacets } from "./tableFacets.js";
|
|
@@ -23,7 +23,7 @@ import { useRovingFocus } from "../composables/useRovingFocus.js";
|
|
|
23
23
|
import { useLabels } from "../composables/useLpConfig.js";
|
|
24
24
|
import { useResizeObserver } from "../composables/useResizeObserver.js";
|
|
25
25
|
import { compareValues } from "./tableSort.js";
|
|
26
|
-
import { _ as _sfc_main$2 } from "../chunks/LpButton-
|
|
26
|
+
import { _ as _sfc_main$2 } from "../chunks/LpButton-Dk7eT4ro.js";
|
|
27
27
|
import { toCsv, downloadFile, fileStem } from "./exportData.js";
|
|
28
28
|
import { summarizeShown, parseTableState, serializeTableState } from "./tableFilter.js";
|
|
29
29
|
import { resolveRowMenu } from "./tableRowMenu.js";
|
|
@@ -53,13 +53,13 @@ type __VLS_Props = {
|
|
|
53
53
|
*/
|
|
54
54
|
compact?: boolean;
|
|
55
55
|
};
|
|
56
|
-
declare var
|
|
56
|
+
declare var __VLS_67: {
|
|
57
57
|
value: string;
|
|
58
|
-
},
|
|
58
|
+
}, __VLS_69: {};
|
|
59
59
|
type __VLS_Slots = {} & {
|
|
60
|
-
panel?: (props: typeof
|
|
60
|
+
panel?: (props: typeof __VLS_67) => any;
|
|
61
61
|
} & {
|
|
62
|
-
default?: (props: typeof
|
|
62
|
+
default?: (props: typeof __VLS_69) => any;
|
|
63
63
|
};
|
|
64
64
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
65
65
|
"update:modelValue": (value: string) => any;
|
|
@@ -1,22 +1,15 @@
|
|
|
1
|
-
import { defineComponent, computed, ref, watch, nextTick, useId, openBlock, createBlock, unref, withCtx, createVNode, normalizeClass, createElementBlock, Fragment, renderList, createCommentVNode,
|
|
1
|
+
import { defineComponent, computed, ref, watch, nextTick, useId, openBlock, createBlock, unref, withCtx, createVNode, normalizeClass, createElementBlock, Fragment, renderList, createCommentVNode, renderSlot } from "vue";
|
|
2
2
|
import { usePaletteScope, usePaletteCommands } from "../composables/usePaletteCommands.js";
|
|
3
3
|
import { Motion } from "motion-v";
|
|
4
4
|
import { TabsRoot, TabsList, TabsTrigger, TabsContent } from "reka-ui";
|
|
5
5
|
import { usePillTransition } from "../composables/usePillTransition.js";
|
|
6
6
|
import { prefersReducedMotion } from "../composables/easing.js";
|
|
7
|
-
import { _ as _sfc_main$
|
|
8
|
-
import { _ as _sfc_main$
|
|
9
|
-
import { _ as _sfc_main$
|
|
10
|
-
import {
|
|
11
|
-
import { _ as _sfc_main$5 } from "../chunks/LpRollingText-DiL717LK.js";
|
|
12
|
-
import { _ as _sfc_main$6 } from "../chunks/LpSkeleton-BB6XIV-w.js";
|
|
13
|
-
import { pickTab } from "./tabs.js";
|
|
7
|
+
import { _ as _sfc_main$1 } from "../chunks/LpContextMenu-rx2tCjwk.js";
|
|
8
|
+
import { _ as _sfc_main$3 } from "../chunks/LpSkeleton-BB6XIV-w.js";
|
|
9
|
+
import { _ as _sfc_main$2 } from "../chunks/LpTabFace-D6BMCbAP.js";
|
|
10
|
+
import { pickTab, BOTTOM_BAR, BOTTOM_ITEM, BOTTOM_MARKER } from "./tabs.js";
|
|
14
11
|
import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper-1tPrXgE0.js";
|
|
15
|
-
import '../assets/LpTabs-
|
|
16
|
-
key: 1,
|
|
17
|
-
class: "relative z-10 inline-flex"
|
|
18
|
-
};
|
|
19
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
12
|
+
import '../assets/LpTabs-CDchzoRL.css';const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
20
13
|
__name: "LpTabs",
|
|
21
14
|
props: {
|
|
22
15
|
modelValue: {},
|
|
@@ -95,7 +88,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
95
88
|
ref_key: "list",
|
|
96
89
|
ref: list,
|
|
97
90
|
"aria-label": __props.label,
|
|
98
|
-
class: normalizeClass(bottom.value ?
|
|
91
|
+
class: normalizeClass(bottom.value ? unref(BOTTOM_BAR) : [
|
|
99
92
|
"max-w-full gap-1 overflow-x-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",
|
|
100
93
|
__props.block ? "flex w-full" : "inline-flex",
|
|
101
94
|
__props.variant === "contained" ? "rounded-control border border-line bg-surface-soft p-1" : "",
|
|
@@ -117,7 +110,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
117
110
|
disabled: item.disabled,
|
|
118
111
|
title: __props.compact && item.icon && !bottom.value ? item.label : void 0,
|
|
119
112
|
class: normalizeClass(["relative inline-flex items-center justify-center outline-none transition-[color,opacity] duration-[var(--duration-fast)] focus-visible:ring-2 focus-visible:ring-ring data-[disabled]:cursor-not-allowed data-[disabled]:opacity-45", [
|
|
120
|
-
bottom.value ?
|
|
113
|
+
bottom.value ? unref(BOTTOM_ITEM) : "shrink-0 gap-1.5 whitespace-nowrap text-sm",
|
|
121
114
|
__props.block && !bottom.value ? "flex-1" : "",
|
|
122
115
|
__props.variant === "underline" ? "rounded-t-inner px-3 pt-1.5 pb-2" : "",
|
|
123
116
|
__props.variant === "contained" || __props.variant === "plain" ? "rounded-inner px-3 py-1.5" : "",
|
|
@@ -135,64 +128,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
135
128
|
class: normalizeClass(__props.variant === "underline" ? [
|
|
136
129
|
"absolute inset-x-0 -bottom-px z-0 h-0.5 rounded-full",
|
|
137
130
|
__props.accent ? "bg-brand" : "bg-ink"
|
|
138
|
-
] : bottom.value ? [
|
|
139
|
-
"absolute inset-x-[22%] top-0 z-0 h-0.5 rounded-b-full",
|
|
140
|
-
__props.accent ? "bg-brand" : "bg-ink"
|
|
141
|
-
] : [
|
|
131
|
+
] : bottom.value ? [unref(BOTTOM_MARKER), __props.accent ? "bg-brand" : "bg-ink"] : [
|
|
142
132
|
"absolute inset-0 z-0 rounded-inner shadow-sm",
|
|
143
133
|
__props.accent ? "border border-brand/35 bg-brand/12" : "border border-line bg-surface-raised"
|
|
144
134
|
])
|
|
145
135
|
}, null, 8, ["transition", "class"])) : createCommentVNode("", true),
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
key: 0,
|
|
153
|
-
corner: ""
|
|
154
|
-
})) : createCommentVNode("", true),
|
|
155
|
-
createVNode(Transition, { name: "lp-tab-badge" }, {
|
|
156
|
-
default: withCtx(() => [
|
|
157
|
-
bottom.value && item.badge != null ? (openBlock(), createBlock(_sfc_main$4, {
|
|
158
|
-
key: 0,
|
|
159
|
-
size: "sm",
|
|
160
|
-
tone: current.value === item.value ? "brand" : "neutral",
|
|
161
|
-
class: "absolute -right-3 -top-1.5 min-w-[18px] justify-center"
|
|
162
|
-
}, {
|
|
163
|
-
default: withCtx(() => [
|
|
164
|
-
createVNode(_sfc_main$5, {
|
|
165
|
-
value: item.badge
|
|
166
|
-
}, null, 8, ["value"])
|
|
167
|
-
]),
|
|
168
|
-
_: 2
|
|
169
|
-
}, 1032, ["tone"])) : createCommentVNode("", true)
|
|
170
|
-
]),
|
|
171
|
-
_: 2
|
|
172
|
-
}, 1024)
|
|
173
|
-
])) : createCommentVNode("", true),
|
|
174
|
-
createElementVNode("span", {
|
|
175
|
-
class: normalizeClass(["relative z-10", bottom.value ? "max-w-full truncate" : __props.compact && item.icon ? "sr-only" : ""])
|
|
176
|
-
}, toDisplayString(item.label), 3),
|
|
177
|
-
item.dot && !item.icon ? (openBlock(), createBlock(_sfc_main$3, { key: 2 })) : createCommentVNode("", true),
|
|
178
|
-
createVNode(Transition, { name: "lp-tab-badge" }, {
|
|
179
|
-
default: withCtx(() => [
|
|
180
|
-
!(bottom.value && item.icon) && item.badge != null ? (openBlock(), createBlock(_sfc_main$4, {
|
|
181
|
-
key: 0,
|
|
182
|
-
size: "sm",
|
|
183
|
-
tone: current.value === item.value ? "brand" : "neutral",
|
|
184
|
-
class: "relative z-10 min-w-[18px] justify-center"
|
|
185
|
-
}, {
|
|
186
|
-
default: withCtx(() => [
|
|
187
|
-
createVNode(_sfc_main$5, {
|
|
188
|
-
value: item.badge
|
|
189
|
-
}, null, 8, ["value"])
|
|
190
|
-
]),
|
|
191
|
-
_: 2
|
|
192
|
-
}, 1032, ["tone"])) : createCommentVNode("", true)
|
|
193
|
-
]),
|
|
194
|
-
_: 2
|
|
195
|
-
}, 1024)
|
|
136
|
+
createVNode(_sfc_main$2, {
|
|
137
|
+
item,
|
|
138
|
+
bottom: bottom.value,
|
|
139
|
+
compact: __props.compact,
|
|
140
|
+
active: current.value === item.value
|
|
141
|
+
}, null, 8, ["item", "bottom", "compact", "active"])
|
|
196
142
|
]),
|
|
197
143
|
_: 2
|
|
198
144
|
}, 1032, ["value", "disabled", "title", "class", "onPointerenter"])
|
|
@@ -205,12 +151,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
205
151
|
key: `skeleton-${n}`,
|
|
206
152
|
class: normalizeClass(["flex items-center justify-center", bottom.value ? "min-h-14 flex-col gap-1.5 py-1.5" : "px-1 py-1.5"])
|
|
207
153
|
}, [
|
|
208
|
-
bottom.value ? (openBlock(), createBlock(_sfc_main$
|
|
154
|
+
bottom.value ? (openBlock(), createBlock(_sfc_main$3, {
|
|
209
155
|
key: 0,
|
|
210
156
|
rounded: "pill",
|
|
211
157
|
class: "size-5"
|
|
212
158
|
})) : createCommentVNode("", true),
|
|
213
|
-
createVNode(_sfc_main$
|
|
159
|
+
createVNode(_sfc_main$3, {
|
|
214
160
|
class: normalizeClass(bottom.value ? "h-2.5 w-10" : "h-5 w-16")
|
|
215
161
|
}, null, 8, ["class"])
|
|
216
162
|
], 2);
|
|
@@ -249,7 +195,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
249
195
|
};
|
|
250
196
|
}
|
|
251
197
|
});
|
|
252
|
-
const LpTabs = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
198
|
+
const LpTabs = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-9f51a497"]]);
|
|
253
199
|
export {
|
|
254
200
|
LpTabs as default
|
|
255
201
|
};
|
|
@@ -17,7 +17,17 @@ declare const __VLS_export: import("vue").DefineComponent<{
|
|
|
17
17
|
* the <textarea> for native validation.
|
|
18
18
|
*/
|
|
19
19
|
required?: boolean;
|
|
20
|
-
|
|
20
|
+
/**
|
|
21
|
+
* Grows with what is typed, wrapped lines included, from `rows` up to
|
|
22
|
+
* `maxRows`, then scrolls; the drag handle goes, since the height is the
|
|
23
|
+
* text's. For a composer, where a fixed box is either cramped or empty.
|
|
24
|
+
*/
|
|
25
|
+
autosize?: boolean;
|
|
26
|
+
maxRows?: number;
|
|
27
|
+
}, {
|
|
28
|
+
el: import("vue").Ref<HTMLTextAreaElement | null, HTMLTextAreaElement | null>;
|
|
29
|
+
fit: () => void;
|
|
30
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
21
31
|
"update:modelValue": (value: string) => any;
|
|
22
32
|
}, string, import("vue").PublicProps, Readonly<{
|
|
23
33
|
/** Contextual palette metadata; false excludes this control. */
|
|
@@ -35,8 +45,16 @@ declare const __VLS_export: import("vue").DefineComponent<{
|
|
|
35
45
|
* the <textarea> for native validation.
|
|
36
46
|
*/
|
|
37
47
|
required?: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Grows with what is typed, wrapped lines included, from `rows` up to
|
|
50
|
+
* `maxRows`, then scrolls; the drag handle goes, since the height is the
|
|
51
|
+
* text's. For a composer, where a fixed box is either cramped or empty.
|
|
52
|
+
*/
|
|
53
|
+
autosize?: boolean;
|
|
54
|
+
maxRows?: number;
|
|
38
55
|
}> & Readonly<{
|
|
39
56
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
40
57
|
}>, {
|
|
41
58
|
palette: PaletteControlOptions;
|
|
59
|
+
maxRows: number;
|
|
42
60
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -35,13 +35,13 @@ type __VLS_Props = {
|
|
|
35
35
|
};
|
|
36
36
|
declare var __VLS_14: {
|
|
37
37
|
studio: ThemeStudio;
|
|
38
|
-
},
|
|
38
|
+
}, __VLS_89: {
|
|
39
39
|
studio: ThemeStudio;
|
|
40
40
|
};
|
|
41
41
|
type __VLS_Slots = {} & {
|
|
42
42
|
start?: (props: typeof __VLS_14) => any;
|
|
43
43
|
} & {
|
|
44
|
-
end?: (props: typeof
|
|
44
|
+
end?: (props: typeof __VLS_89) => any;
|
|
45
45
|
};
|
|
46
46
|
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>;
|
|
47
47
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|