@leavepulse/ui 0.71.2 → 0.72.1
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/{LpKeys-BxRhfQda.css → LpKeys-C5VMcBOW.css} +10 -5
- 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-DpOB20Lx.js} +2 -2
- package/dist/chunks/{FieldWrapper-YzbvvC3M.js → FieldWrapper-DHhRxO5G.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-BqicINE_.js} +3 -3
- package/dist/chunks/{LpAddressInput-Bu6ws3Fp.js → LpAddressInput-CkbKLufb.js} +7 -7
- package/dist/chunks/{LpAlert-BHi7ARqu.js → LpAlert-BigMdAbu.js} +3 -3
- package/dist/chunks/{LpAppShell-C5YW5pI7.js → LpAppShell-DIMy-vjP.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-Huo8EKew.js} +3 -3
- package/dist/chunks/LpBottomNav-BZIpahzA.js +89 -0
- package/dist/chunks/{LpBreadcrumbs-DhcoStFa.js → LpBreadcrumbs-DGtpBhWt.js} +3 -3
- package/dist/chunks/{LpButton-BQDAFXBd.js → LpButton-CW34A1e4.js} +1 -1
- package/dist/chunks/{LpCalendar-NmrA47J9.js → LpCalendar-CuoWks-0.js} +1 -1
- package/dist/chunks/{LpCard-CqKLnEhl.js → LpCard-B0sFXQzc.js} +1 -1
- package/dist/chunks/{LpCheckbox-BoOuLnGB.js → LpCheckbox-iaD63DEF.js} +2 -2
- package/dist/chunks/{LpCodeBlock-Czu-fq1M.js → LpCodeBlock-CFFa_pJb.js} +2 -2
- package/dist/chunks/{LpCodeDisplay-C9pIMF2R.js → LpCodeDisplay-CFmGMAmP.js} +6 -6
- package/dist/chunks/{LpColorPicker-Ee1DZiRd.js → LpColorPicker-1y1QJHZR.js} +56 -28
- package/dist/chunks/{LpConfirmDialog-i15pulMT.js → LpConfirmDialog-BDystNtm.js} +3 -3
- package/dist/chunks/{LpConfirmHost-D0oGavtd.js → LpConfirmHost-oOsxJHfQ.js} +1 -1
- package/dist/chunks/{LpContextMenu-DXpFJjlO.js → LpContextMenu-rx2tCjwk.js} +2 -2
- package/dist/chunks/{LpCopyButton-Dmq7DmFw.js → LpCopyButton-BNcGbVXF.js} +2 -2
- package/dist/chunks/{LpCountdown-CXrEK0ev.js → LpCountdown-Cak7cq3X.js} +3 -3
- package/dist/chunks/{LpDataList-CFPtSsBB.js → LpDataList-B6Meb4M9.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-BNogo5DL.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-CHgtVh14.js} +2 -2
- package/dist/chunks/{LpFileTreeNode-gPVB1oXM.js → LpFileTreeNode-LqHgHd3B.js} +5 -5
- package/dist/chunks/{LpFormField-gRASfyj2.js → LpFormField-CC57DdTi.js} +2 -2
- package/dist/chunks/{LpGauge-DFdt33x8.js → LpGauge-BO1PYYqD.js} +2 -2
- package/dist/chunks/{LpHintLayer-C2asBIfs.js → LpHintLayer-CvAj4aa6.js} +2 -2
- package/dist/chunks/{LpHints-CNZQ76JV.js → LpHints-BtRvHQQ0.js} +3 -3
- package/dist/chunks/{LpIcon-DkP-9mzK.js → LpIcon--5WSb3jJ.js} +1 -1
- package/dist/chunks/{LpInfraNode-yTh4-5qa.js → LpInfraNode-CxngdQAG.js} +2 -2
- package/dist/chunks/{LpInput-2H-5ILOB.js → LpInput-DqmL-438.js} +2 -2
- package/dist/chunks/{LpLightbox-lAt5uIfx.js → LpLightbox-7YP6zSDm.js} +3 -3
- package/dist/chunks/{LpLoader-DjJEX8hL.js → LpLoader-CUo1MX_0.js} +1 -1
- package/dist/chunks/{LpLogViewer-x78YfhJf.js → LpLogViewer-DQOIsnZ1.js} +6 -6
- package/dist/chunks/{LpMapPicker-Dp5RSCi9.js → LpMapPicker-Dm3vJHN2.js} +2 -2
- package/dist/chunks/{LpMediaGallery-D92oJfY_.js → LpMediaGallery-znEbvIEo.js} +3 -3
- package/dist/chunks/{LpModal-CpH0bNo7.js → LpModal-BnjZ2iem.js} +1 -1
- package/dist/chunks/{LpModalNav-Cuna8c_3.js → LpModalNav-CH1UE9Ch.js} +4 -4
- package/dist/chunks/{LpNotificationBell-BdUQqZhs.js → LpNotificationBell-CrywodQ_.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-BzHBh-mN.js} +4 -4
- package/dist/chunks/{LpPasswordInput-BzAZsf5V.js → LpPasswordInput-DVgRgTVx.js} +2 -2
- package/dist/chunks/{LpPhoneInput-BMpd-0QR.js → LpPhoneInput-CETEp5W7.js} +2 -2
- package/dist/chunks/{LpPie-C1uIUFxu.js → LpPie-BjDbeytx.js} +6 -6
- package/dist/chunks/{LpPipeline-zjEM1Lwc.js → LpPipeline-zZUj7I6K.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-BQB0twJ5.js} +3 -3
- package/dist/chunks/LpRollingText-B54Pje7P.js +86 -0
- package/dist/chunks/{LpScramble-TDO5Kdou.js → LpScramble-DbQyBjUY.js} +1 -1
- package/dist/chunks/{LpSecretField-DwQiPOko.js → LpSecretField-uoD6Fngf.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-C-UGuKMN.js +171 -0
- package/dist/chunks/LpSidebar-DXdbvgM6.js +494 -0
- package/dist/chunks/LpSidebarNav-CE6CVCb0.js +367 -0
- package/dist/chunks/LpSidebarRow-CF9VFZ2w.js +304 -0
- package/dist/chunks/{LpStat-Dzn6WFzi.js → LpStat-CjpXrC8R.js} +6 -4
- package/dist/chunks/{LpStatus-BQU1TUsv.js → LpStatus-g-8z9b_u.js} +3 -3
- package/dist/chunks/{LpStepMark-CXa7DJy_.js → LpStepMark-DU7xalwW.js} +3 -3
- package/dist/chunks/{LpStepper-C9RM_yTG.js → LpStepper-CbRXiXNs.js} +1 -1
- package/dist/chunks/{LpSwap-DzE6M3Mg.js → LpSwap-Xi4j9PR_.js} +1 -1
- package/dist/chunks/{LpSwitch-bGZxUDSx.js → LpSwitch-BWcXEahf.js} +1 -1
- package/dist/chunks/LpTabFace-CG0VqD8I.js +77 -0
- package/dist/chunks/{LpTableFilter-CTZMqFDU.js → LpTableFilter-CYtK9GsF.js} +3 -3
- package/dist/chunks/{LpTagsInput-DrjmrOge.js → LpTagsInput-D1RzCwb5.js} +5 -5
- package/dist/chunks/{LpTextarea-BbYqmG1S.js → LpTextarea-MdIzNTjw.js} +32 -7
- package/dist/chunks/{useTheme-BOV_-AiY.js → LpThemeProvider-8MG6yqU9.js} +66 -1
- package/dist/chunks/{LpThemeStudio-IupHqP0x.js → LpThemeStudio-B0Kk1bX0.js} +138 -104
- package/dist/chunks/LpThemeStudioSection-B7bt8Iyg.js +32 -0
- package/dist/chunks/{LpThemeSwitcher-DarPHuX8.js → LpThemeSwitcher-CI4I7ygL.js} +6 -6
- package/dist/chunks/{LpTimeField-DQ8WvPr2.js → LpTimeField-BawSVsmt.js} +1 -1
- package/dist/chunks/{LpToaster-BTTl_wuy.js → LpToaster-C-P1nmMS.js} +2 -2
- package/dist/chunks/{LpTopologyCanvas-Cq-MiJwo.js → LpTopologyCanvas-CbEZhsP1.js} +1 -1
- package/dist/chunks/{LpTour-BgCfNlaW.js → LpTour-DRyzgpjt.js} +1 -1
- package/dist/chunks/{LpTruncate-TcqfkyJM.js → LpTruncate-4WvCWqnW.js} +1 -1
- package/dist/chunks/{LpUptimeBar-BbhVTPnL.js → LpUptimeBar-B2LNSNxs.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-jBLJwVwO.js} +2 -2
- package/dist/chunks/{TourCard--2IfgnUU.js → TourCard-BOBcGbEo.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 +3 -3
- package/dist/components/LpInfraNode.vue.js +1 -1
- package/dist/components/LpInput.vue.js +1 -1
- package/dist/components/LpKeys.vue.js +13 -10
- 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 +31 -3
- 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 +38 -0
- package/dist/components/sidebar.js +6 -1
- 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/LpKeys.vue +10 -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 +189 -2
- package/src/components/LpSidebar.vue +304 -18
- package/src/components/LpSidebarNav.vue +211 -78
- package/src/components/LpSidebarRow.vue +242 -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 +41 -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
|
@@ -1,20 +1,25 @@
|
|
|
1
1
|
|
|
2
|
-
.lp-keys[data-v-
|
|
2
|
+
.lp-keys[data-v-a08e27f1] {
|
|
3
3
|
display: inline-flex;
|
|
4
4
|
flex-wrap: wrap;
|
|
5
5
|
align-items: center;
|
|
6
6
|
gap: 3px;
|
|
7
7
|
color: var(--color-muted);
|
|
8
8
|
}
|
|
9
|
-
.lp-
|
|
9
|
+
.lp-keys__step[data-v-a08e27f1] {
|
|
10
|
+
display: inline-flex;
|
|
11
|
+
align-items: center;
|
|
12
|
+
gap: 3px;
|
|
13
|
+
}
|
|
14
|
+
.lp-keys__then[data-v-a08e27f1] {
|
|
10
15
|
padding: 0 2px;
|
|
11
16
|
font-size: 0.68rem;
|
|
12
17
|
}
|
|
13
|
-
.lp-keys__label[data-v-
|
|
18
|
+
.lp-keys__label[data-v-a08e27f1] {
|
|
14
19
|
margin-left: 5px;
|
|
15
20
|
font-size: 0.75rem;
|
|
16
21
|
}
|
|
17
|
-
kbd[data-v-
|
|
22
|
+
kbd[data-v-a08e27f1] {
|
|
18
23
|
display: inline-flex;
|
|
19
24
|
min-width: 20px;
|
|
20
25
|
align-items: center;
|
|
@@ -29,7 +34,7 @@ kbd[data-v-5c6ae8ec] {
|
|
|
29
34
|
font-size: 0.7rem;
|
|
30
35
|
line-height: 1.5;
|
|
31
36
|
}
|
|
32
|
-
.lp-keys--sm kbd[data-v-
|
|
37
|
+
.lp-keys--sm kbd[data-v-a08e27f1] {
|
|
33
38
|
min-width: 16px;
|
|
34
39
|
padding: 0 4px;
|
|
35
40
|
font-size: 0.65rem;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
.lp-tab-badge-enter-active[data-v-9f51a497],
|
|
3
|
+
.lp-tab-badge-leave-active[data-v-9f51a497] {
|
|
4
|
+
transition:
|
|
5
|
+
opacity var(--duration-fast) var(--ease-emphasized),
|
|
6
|
+
transform var(--duration-fast) var(--ease-emphasized);
|
|
7
|
+
}
|
|
8
|
+
.lp-tab-badge-enter-from[data-v-9f51a497],
|
|
9
|
+
.lp-tab-badge-leave-to[data-v-9f51a497] {
|
|
10
|
+
opacity: 0;
|
|
11
|
+
transform: scale(0.6);
|
|
12
|
+
}
|
|
13
|
+
@media (prefers-reduced-motion: reduce) {
|
|
14
|
+
.lp-tab-badge-enter-active[data-v-9f51a497],
|
|
15
|
+
.lp-tab-badge-leave-active[data-v-9f51a497] {
|
|
16
|
+
transition: none;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, renderList, createBlock, resolveDynamicComponent, createCommentVNode, withCtx, normalizeClass, createElementVNode, createTextVNode, toDisplayString, createVNode, unref, withModifiers } from "vue";
|
|
2
2
|
import { DropdownMenuPortal, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuSub, DropdownMenuSeparator, DropdownMenuCheckboxItem, DropdownMenuItem, ContextMenuPortal, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuSub, ContextMenuSeparator, ContextMenuCheckboxItem, ContextMenuItem } from "reka-ui";
|
|
3
3
|
import { usePortalTarget, useOutsideGuard } from "../composables/useView.js";
|
|
4
|
-
import { _ as _sfc_main$1 } from "./LpIcon
|
|
4
|
+
import { _ as _sfc_main$1 } from "./LpIcon--5WSb3jJ.js";
|
|
5
5
|
import MenuShortcut from "../components/MenuShortcut.vue.js";
|
|
6
6
|
const _hoisted_1 = { class: "flex items-center gap-2" };
|
|
7
7
|
const _hoisted_2 = { class: "flex items-center gap-2" };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, useModel, ref, openBlock, createElementBlock, createElementVNode, createVNode, withCtx, createTextVNode, toDisplayString, normalizeClass, mergeModels } from "vue";
|
|
2
|
-
import { _ as _sfc_main$2 } from "./LpButton-
|
|
3
|
-
import { _ as _sfc_main$1 } from "./LpInput-
|
|
2
|
+
import { _ as _sfc_main$2 } from "./LpButton-CW34A1e4.js";
|
|
3
|
+
import { _ as _sfc_main$1 } from "./LpInput-DqmL-438.js";
|
|
4
4
|
const _hoisted_1 = { class: "flex w-full flex-col gap-1.5" };
|
|
5
5
|
const _hoisted_2 = { class: "flex items-center gap-2" };
|
|
6
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, useAttrs, ref, openBlock, createBlock, resolveDynamicComponent, normalizeStyle, unref, normalizeClass, withCtx, renderSlot } from "vue";
|
|
2
|
-
import { _ as _sfc_main$1 } from "./LpFormField-
|
|
2
|
+
import { _ as _sfc_main$1 } from "./LpFormField-CC57DdTi.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
...{ inheritAttrs: false },
|
|
5
5
|
__name: "FieldWrapper",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, openBlock, createElementBlock, createVNode, withCtx, renderSlot, normalizeProps, guardReactiveProps } from "vue";
|
|
2
|
-
import { _ as _sfc_main$1 } from "./LayoutNode-
|
|
2
|
+
import { _ as _sfc_main$1 } from "./LayoutNode-DF5BMN0J.js";
|
|
3
3
|
import { resizeAt, setActiveTab, reorderTab, removeBlock, moveLeaf } from "../layout/tree.js";
|
|
4
4
|
import { layoutController } from "../layout/useLayout.js";
|
|
5
5
|
const _hoisted_1 = { class: "flex min-h-0 min-w-0 flex-1" };
|
|
@@ -2,7 +2,7 @@ import { defineComponent, ref, computed, onBeforeUnmount, resolveComponent, open
|
|
|
2
2
|
import { Motion } from "motion-v";
|
|
3
3
|
import { usePillTransition } from "../composables/usePillTransition.js";
|
|
4
4
|
import { blockTitle } from "../layout/registry.js";
|
|
5
|
-
import { _ as _sfc_main$1 } from "./LpIcon
|
|
5
|
+
import { _ as _sfc_main$1 } from "./LpIcon--5WSb3jJ.js";
|
|
6
6
|
const _hoisted_1 = ["onPointerdown"];
|
|
7
7
|
const _hoisted_2 = {
|
|
8
8
|
key: 1,
|
|
@@ -2,9 +2,9 @@ import { defineComponent, useSlots, computed, ref, watch, openBlock, createBlock
|
|
|
2
2
|
import { useLabels } from "../composables/useLpConfig.js";
|
|
3
3
|
import { useBarStack } from "../components/actionBar.js";
|
|
4
4
|
import { CLOSE_ICON } from "../components/dropdown.js";
|
|
5
|
-
import { _ as _sfc_main$2 } from "./LpButton-
|
|
6
|
-
import { _ as _sfc_main$1 } from "./LpIcon
|
|
7
|
-
import { _ as _sfc_main$3 } from "./LpLoader-
|
|
5
|
+
import { _ as _sfc_main$2 } from "./LpButton-CW34A1e4.js";
|
|
6
|
+
import { _ as _sfc_main$1 } from "./LpIcon--5WSb3jJ.js";
|
|
7
|
+
import { _ as _sfc_main$3 } from "./LpLoader-CUo1MX_0.js";
|
|
8
8
|
import { usePortalTarget } from "../composables/useView.js";
|
|
9
9
|
import { useResizeObserver } from "../composables/useResizeObserver.js";
|
|
10
10
|
const _hoisted_1 = ["aria-label"];
|
|
@@ -2,13 +2,13 @@ import { defineComponent, defineAsyncComponent, computed, watch, ref, onMounted,
|
|
|
2
2
|
import { useAsyncTask } from "../composables/useAsyncTask.js";
|
|
3
3
|
import { OSM_TILES, createNominatimProvider, emptyAddress, formatAddress } from "../components/address.js";
|
|
4
4
|
import { flagEmoji, loadCountries } from "../components/countries.js";
|
|
5
|
-
import { _ as _sfc_main$2 } from "./LpAutocomplete-
|
|
6
|
-
import { _ as _sfc_main$3 } from "./LpButton-
|
|
7
|
-
import { _ as _sfc_main$1 } from "./LpFormField-
|
|
8
|
-
import { _ as _sfc_main$4 } from "./LpIcon
|
|
9
|
-
import { _ as _sfc_main$5 } from "./LpInput-
|
|
10
|
-
import { _ as _sfc_main$7 } from "./LpModal-
|
|
11
|
-
import { _ as _sfc_main$6 } from "./LpSelect-
|
|
5
|
+
import { _ as _sfc_main$2 } from "./LpAutocomplete-DOu7FN5P.js";
|
|
6
|
+
import { _ as _sfc_main$3 } from "./LpButton-CW34A1e4.js";
|
|
7
|
+
import { _ as _sfc_main$1 } from "./LpFormField-CC57DdTi.js";
|
|
8
|
+
import { _ as _sfc_main$4 } from "./LpIcon--5WSb3jJ.js";
|
|
9
|
+
import { _ as _sfc_main$5 } from "./LpInput-DqmL-438.js";
|
|
10
|
+
import { _ as _sfc_main$7 } from "./LpModal-BnjZ2iem.js";
|
|
11
|
+
import { _ as _sfc_main$6 } from "./LpSelect-Cxq4yBGd.js";
|
|
12
12
|
import { useFieldControl } from "../composables/useField.js";
|
|
13
13
|
import { useLabels } from "../composables/useLpConfig.js";
|
|
14
14
|
import { useMergedAttrs } from "../composables/useMergedClass.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent, ref, watch, computed, useSlots, openBlock, createElementBlock, mergeProps, unref, createElementVNode, createVNode, Transition, withCtx, createBlock, normalizeClass, toDisplayString, createCommentVNode, renderSlot } from "vue";
|
|
2
2
|
import { tv } from "tailwind-variants";
|
|
3
3
|
import { useMergedAttrs } from "../composables/useMergedClass.js";
|
|
4
|
-
import { _ as _sfc_main$2 } from "./LpIcon
|
|
5
|
-
import { _ as _sfc_main$1 } from "./LpLoader-
|
|
6
|
-
import { _ as _sfc_main$3 } from "./LpSwap-
|
|
4
|
+
import { _ as _sfc_main$2 } from "./LpIcon--5WSb3jJ.js";
|
|
5
|
+
import { _ as _sfc_main$1 } from "./LpLoader-CUo1MX_0.js";
|
|
6
|
+
import { _ as _sfc_main$3 } from "./LpSwap-Xi4j9PR_.js";
|
|
7
7
|
import { slotText } from "../components/slotText.js";
|
|
8
8
|
import { TONES, toneLook } from "../components/tone.js";
|
|
9
9
|
const _hoisted_1 = ["role", "aria-busy"];
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { defineComponent, computed, useModel, ref, useId, watch, openBlock, createElementBlock, mergeProps, unref, createElementVNode, withModifiers, toDisplayString, createVNode, createSlots, withCtx, renderSlot, normalizeProps, guardReactiveProps, normalizeClass, createBlock, mergeModels } from "vue";
|
|
1
|
+
import { defineComponent, computed, useModel, ref, useId, watch, openBlock, createElementBlock, mergeProps, unref, createElementVNode, withModifiers, toDisplayString, createVNode, createSlots, withCtx, renderSlot, normalizeProps, guardReactiveProps, normalizeClass, createBlock, createCommentVNode, mergeModels } from "vue";
|
|
2
2
|
import { useLabels } from "../composables/useLpConfig.js";
|
|
3
|
-
import { _ as _sfc_main$
|
|
4
|
-
import { _ as _sfc_main$
|
|
3
|
+
import { _ as _sfc_main$6 } from "./LpBottomNav-BZIpahzA.js";
|
|
4
|
+
import { _ as _sfc_main$2 } from "./LpButton-CW34A1e4.js";
|
|
5
|
+
import { _ as _sfc_main$3 } from "./LpIcon--5WSb3jJ.js";
|
|
5
6
|
import { _ as _sfc_main$5 } from "./LpScrollArea-Hz3-JWUG.js";
|
|
6
|
-
import { _ as _sfc_main$4 } from "./LpShift-
|
|
7
|
-
import { _ as _sfc_main$1 } from "./LpSidebar-
|
|
7
|
+
import { _ as _sfc_main$4 } from "./LpShift-C-UGuKMN.js";
|
|
8
|
+
import { _ as _sfc_main$1 } from "./LpSidebar-DXdbvgM6.js";
|
|
8
9
|
import { useMergedAttrs, mergeClass } from "../composables/useMergedClass.js";
|
|
9
10
|
const _hoisted_1 = ["href"];
|
|
10
11
|
const _hoisted_2 = { class: "flex min-w-0 flex-1 flex-col" };
|
|
@@ -32,17 +33,27 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
32
33
|
contentClass: { default: "mx-auto w-full max-w-6xl" },
|
|
33
34
|
fullBleed: { type: Boolean },
|
|
34
35
|
loading: { type: Boolean },
|
|
35
|
-
labels: {}
|
|
36
|
+
labels: {},
|
|
37
|
+
compact: { type: Boolean, default: void 0 },
|
|
38
|
+
resizable: { type: Boolean },
|
|
39
|
+
pinnable: { type: Boolean },
|
|
40
|
+
pinned: {},
|
|
41
|
+
persist: {},
|
|
42
|
+
previewDelay: {},
|
|
43
|
+
compactHotkey: { type: [String, Boolean] },
|
|
44
|
+
environment: {},
|
|
45
|
+
hints: {},
|
|
46
|
+
bottomNav: { type: [Boolean, Number, Array] }
|
|
36
47
|
}, {
|
|
37
48
|
"open": { type: Boolean, ...{ default: false } },
|
|
38
49
|
"openModifiers": {}
|
|
39
50
|
}),
|
|
40
|
-
emits: /* @__PURE__ */ mergeModels(["update:modelValue", "update:collapsed", "select"], ["update:open"]),
|
|
51
|
+
emits: /* @__PURE__ */ mergeModels(["update:modelValue", "update:collapsed", "select", "update:compact", "update:pinned"], ["update:open"]),
|
|
41
52
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
42
53
|
const props = __props;
|
|
43
54
|
const emit = __emit;
|
|
44
55
|
const flatItems = computed(
|
|
45
|
-
() => props.sections ? props.sections.flatMap((s) => s.items) : props.items ?? []
|
|
56
|
+
() => (props.sections ? props.sections.flatMap((s) => s.items) : props.items ?? []).flatMap((i) => [i, ...i.children ?? []])
|
|
46
57
|
);
|
|
47
58
|
function matchesPath(item) {
|
|
48
59
|
if (item.id === "/") return props.path === "/";
|
|
@@ -92,7 +103,22 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
92
103
|
lg: "lg:hidden",
|
|
93
104
|
xl: "xl:hidden"
|
|
94
105
|
};
|
|
95
|
-
const burgerClass = computed(() => burgerHidden[props.mobileBreakpoint]);
|
|
106
|
+
const burgerClass = computed(() => props.bottomNav ? "hidden" : burgerHidden[props.mobileBreakpoint]);
|
|
107
|
+
const topItems = computed(() => props.sections ? props.sections.flatMap((s) => s.items) : props.items ?? []);
|
|
108
|
+
const bottomItems = computed(() => {
|
|
109
|
+
const want = props.bottomNav;
|
|
110
|
+
if (!want) return [];
|
|
111
|
+
if (Array.isArray(want)) return want.map((id) => topItems.value.find((i) => i.id === id)).filter((i) => !!i);
|
|
112
|
+
return topItems.value.slice(0, want === true ? 4 : want);
|
|
113
|
+
});
|
|
114
|
+
const moreActive = computed(() => {
|
|
115
|
+
const shown = new Set(bottomItems.value.map((i) => i.id));
|
|
116
|
+
return flatItems.value.some((i) => !shown.has(i.id) && activeTest.value(i)) && !bottomItems.value.some((i) => activeTest.value(i));
|
|
117
|
+
});
|
|
118
|
+
function onBottom(item) {
|
|
119
|
+
onModel(item.id);
|
|
120
|
+
onSelect(item);
|
|
121
|
+
}
|
|
96
122
|
const _openDrawer = () => drawerOpen.value = true;
|
|
97
123
|
__expose({ openDrawer: _openDrawer });
|
|
98
124
|
const { class: rootClass, attrs: rest } = useMergedAttrs(
|
|
@@ -118,16 +144,27 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
118
144
|
loading: __props.loading,
|
|
119
145
|
collapsed: __props.collapsed,
|
|
120
146
|
"auto-collapse-after": __props.autoCollapseAfter,
|
|
147
|
+
compact: __props.compact,
|
|
148
|
+
resizable: __props.resizable,
|
|
149
|
+
pinnable: __props.pinnable,
|
|
150
|
+
pinned: __props.pinned,
|
|
151
|
+
persist: __props.persist,
|
|
152
|
+
"preview-delay": __props.previewDelay,
|
|
153
|
+
"compact-hotkey": __props.compactHotkey,
|
|
154
|
+
environment: __props.environment,
|
|
155
|
+
hints: __props.hints,
|
|
121
156
|
class: "shrink-0",
|
|
122
157
|
"onUpdate:modelValue": onModel,
|
|
123
|
-
"onUpdate:
|
|
124
|
-
"onUpdate:
|
|
158
|
+
"onUpdate:compact": _cache[0] || (_cache[0] = (v) => emit("update:compact", v)),
|
|
159
|
+
"onUpdate:pinned": _cache[1] || (_cache[1] = (v) => emit("update:pinned", v)),
|
|
160
|
+
"onUpdate:open": _cache[2] || (_cache[2] = (v) => drawerOpen.value = v),
|
|
161
|
+
"onUpdate:collapsed": _cache[3] || (_cache[3] = (v) => emit("update:collapsed", v)),
|
|
125
162
|
onSelect
|
|
126
163
|
}, createSlots({ _: 2 }, [
|
|
127
164
|
_ctx.$slots.logo ? {
|
|
128
165
|
name: "header",
|
|
129
|
-
fn: withCtx(() => [
|
|
130
|
-
renderSlot(_ctx.$slots, "logo")
|
|
166
|
+
fn: withCtx(({ compact: folded }) => [
|
|
167
|
+
renderSlot(_ctx.$slots, "logo", { compact: folded })
|
|
131
168
|
]),
|
|
132
169
|
key: "0"
|
|
133
170
|
} : void 0,
|
|
@@ -140,8 +177,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
140
177
|
} : void 0,
|
|
141
178
|
_ctx.$slots["sidebar-footer"] ? {
|
|
142
179
|
name: "footer",
|
|
143
|
-
fn: withCtx(() => [
|
|
144
|
-
renderSlot(_ctx.$slots, "sidebar-footer")
|
|
180
|
+
fn: withCtx(({ compact: folded }) => [
|
|
181
|
+
renderSlot(_ctx.$slots, "sidebar-footer", { compact: folded })
|
|
145
182
|
]),
|
|
146
183
|
key: "2"
|
|
147
184
|
} : void 0,
|
|
@@ -152,7 +189,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
152
189
|
]),
|
|
153
190
|
key: "3"
|
|
154
191
|
} : void 0
|
|
155
|
-
]), 1032, ["model-value", "items", "sections", "is-active", "open", "mobile-breakpoint", "divider", "loading", "collapsed", "auto-collapse-after"]),
|
|
192
|
+
]), 1032, ["model-value", "items", "sections", "is-active", "open", "mobile-breakpoint", "divider", "loading", "collapsed", "auto-collapse-after", "compact", "resizable", "pinnable", "pinned", "persist", "preview-delay", "compact-hotkey", "environment", "hints"]),
|
|
156
193
|
createElementVNode("div", _hoisted_2, [
|
|
157
194
|
createElementVNode("header", _hoisted_3, [
|
|
158
195
|
createVNode(_sfc_main$2, {
|
|
@@ -161,7 +198,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
161
198
|
size: "sm",
|
|
162
199
|
square: "",
|
|
163
200
|
"aria-label": unref(text).openMenu,
|
|
164
|
-
onClick: _cache[
|
|
201
|
+
onClick: _cache[4] || (_cache[4] = ($event) => drawerOpen.value = true)
|
|
165
202
|
}, {
|
|
166
203
|
default: withCtx(() => [
|
|
167
204
|
createVNode(_sfc_main$3, {
|
|
@@ -173,6 +210,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
173
210
|
}, 8, ["class", "aria-label"]),
|
|
174
211
|
createVNode(_sfc_main$4, {
|
|
175
212
|
axis: "height",
|
|
213
|
+
presence: "",
|
|
176
214
|
class: "flex min-w-0 flex-1 items-center"
|
|
177
215
|
}, {
|
|
178
216
|
default: withCtx(() => [
|
|
@@ -184,6 +222,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
184
222
|
}),
|
|
185
223
|
createVNode(_sfc_main$4, {
|
|
186
224
|
axis: "width",
|
|
225
|
+
anchor: "end",
|
|
226
|
+
presence: "",
|
|
187
227
|
class: "ml-auto flex max-w-[66%] shrink items-center gap-2 overflow-x-auto lp-scrollbar-none md:max-w-none md:shrink-0 md:overflow-visible"
|
|
188
228
|
}, {
|
|
189
229
|
default: withCtx(() => [
|
|
@@ -211,7 +251,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
211
251
|
]),
|
|
212
252
|
_: 3
|
|
213
253
|
}, 8, ["content-class"]))
|
|
214
|
-
])
|
|
254
|
+
]),
|
|
255
|
+
__props.bottomNav ? (openBlock(), createBlock(_sfc_main$6, {
|
|
256
|
+
key: 0,
|
|
257
|
+
class: normalizeClass(burgerHidden[__props.mobileBreakpoint]),
|
|
258
|
+
items: bottomItems.value,
|
|
259
|
+
"is-active": activeTest.value,
|
|
260
|
+
more: "",
|
|
261
|
+
"more-active": moreActive.value,
|
|
262
|
+
onSelect: onBottom,
|
|
263
|
+
onMore: _cache[5] || (_cache[5] = ($event) => drawerOpen.value = true)
|
|
264
|
+
}, null, 8, ["class", "items", "is-active", "more-active"])) : createCommentVNode("", true)
|
|
215
265
|
]),
|
|
216
266
|
renderSlot(_ctx.$slots, "overlays")
|
|
217
267
|
], 16);
|
|
@@ -5,8 +5,8 @@ import { useFieldControl } from "../composables/useField.js";
|
|
|
5
5
|
import { useInputFilter } from "../composables/useInputFilter.js";
|
|
6
6
|
import { useLabels } from "../composables/useLpConfig.js";
|
|
7
7
|
import { CLOSE_ICON, POPOVER_PANEL, OPTION_ITEM, optionStagger } from "../components/dropdown.js";
|
|
8
|
-
import { _ as _sfc_main$1 } from "./LpIcon
|
|
9
|
-
import { _ as _sfc_main$2 } from "./OptionContent-
|
|
8
|
+
import { _ as _sfc_main$1 } from "./LpIcon--5WSb3jJ.js";
|
|
9
|
+
import { _ as _sfc_main$2 } from "./OptionContent-22UT8zLn.js";
|
|
10
10
|
import { usePortalTarget, useOutsideGuard } from "../composables/useView.js";
|
|
11
11
|
const _hoisted_1 = ["src"];
|
|
12
12
|
const _hoisted_2 = { class: "relative flex min-w-0 flex-1 self-stretch" };
|
|
@@ -2,7 +2,7 @@ import { defineComponent, computed, ref, onMounted, openBlock, createBlock, unre
|
|
|
2
2
|
import { AvatarRoot, AvatarImage, AvatarFallback } from "reka-ui";
|
|
3
3
|
import { tv } from "tailwind-variants";
|
|
4
4
|
import { MenuWhen } from "../components/menuWhen.js";
|
|
5
|
-
import { _ as _sfc_main$2 } from "./LpIcon
|
|
5
|
+
import { _ as _sfc_main$2 } from "./LpIcon--5WSb3jJ.js";
|
|
6
6
|
import { _ as _sfc_main$1 } from "./LpIdenticon-BzdC_qz9.js";
|
|
7
7
|
import { useMergedAttrs } from "../composables/useMergedClass.js";
|
|
8
8
|
const __default__ = { inheritAttrs: false };
|
|
@@ -3,9 +3,9 @@ import { tv } from "tailwind-variants";
|
|
|
3
3
|
import { useLabels } from "../composables/useLpConfig.js";
|
|
4
4
|
import { useMergedClass } from "../composables/useMergedClass.js";
|
|
5
5
|
import { BADGE_REMOVE } from "../components/badge.js";
|
|
6
|
-
import { _ as _sfc_main$3 } from "./LpIcon
|
|
7
|
-
import { _ as _sfc_main$2 } from "./LpRollingText-
|
|
8
|
-
import { _ as _sfc_main$1 } from "./LpShift-
|
|
6
|
+
import { _ as _sfc_main$3 } from "./LpIcon--5WSb3jJ.js";
|
|
7
|
+
import { _ as _sfc_main$2 } from "./LpRollingText-B54Pje7P.js";
|
|
8
|
+
import { _ as _sfc_main$1 } from "./LpShift-C-UGuKMN.js";
|
|
9
9
|
import { slotText } from "../components/slotText.js";
|
|
10
10
|
import { TONES } from "../components/tone.js";
|
|
11
11
|
const _hoisted_1 = { class: "inline-flex max-w-full items-center gap-1.5 whitespace-nowrap" };
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { defineComponent, useId, openBlock, createElementBlock, normalizeClass, unref, Fragment, renderList, createBlock, resolveDynamicComponent, mergeProps, withCtx, createCommentVNode, createVNode } from "vue";
|
|
2
|
+
import { Motion } from "motion-v";
|
|
3
|
+
import { usePillTransition } from "../composables/usePillTransition.js";
|
|
4
|
+
import { useLabels, useLinkComponent } from "../composables/useLpConfig.js";
|
|
5
|
+
import { resolveLink } from "../components/link.js";
|
|
6
|
+
import { _ as _sfc_main$1 } from "./LpTabFace-CG0VqD8I.js";
|
|
7
|
+
import { BOTTOM_BAR, BOTTOM_ITEM, BOTTOM_MARKER } from "../components/tabs.js";
|
|
8
|
+
const _hoisted_1 = ["aria-label"];
|
|
9
|
+
const ROW = "relative flex items-center justify-center outline-none transition-[color,opacity] duration-[var(--duration-fast)] focus-visible:ring-2 focus-visible:ring-ring";
|
|
10
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
11
|
+
__name: "LpBottomNav",
|
|
12
|
+
props: {
|
|
13
|
+
items: {},
|
|
14
|
+
modelValue: {},
|
|
15
|
+
isActive: {},
|
|
16
|
+
more: { type: Boolean, default: false },
|
|
17
|
+
moreActive: { type: Boolean, default: false },
|
|
18
|
+
label: {},
|
|
19
|
+
labels: {}
|
|
20
|
+
},
|
|
21
|
+
emits: ["select", "more"],
|
|
22
|
+
setup(__props, { emit: __emit }) {
|
|
23
|
+
const props = __props;
|
|
24
|
+
const emit = __emit;
|
|
25
|
+
const text = useLabels("bottomNav", { nav: "Main", more: "More" }, () => props.labels);
|
|
26
|
+
const linkComponent = useLinkComponent();
|
|
27
|
+
const pillTransition = usePillTransition();
|
|
28
|
+
const markerId = `lp-bottom-nav-${useId()}`;
|
|
29
|
+
function active(item) {
|
|
30
|
+
return props.isActive ? props.isActive(item) : item.id === props.modelValue;
|
|
31
|
+
}
|
|
32
|
+
function rowOf(item) {
|
|
33
|
+
const link = item.disabled ? null : resolveLink(linkComponent.value, { to: item.to, href: item.href });
|
|
34
|
+
return link ?? { is: "button", props: { type: "button", disabled: item.disabled || void 0 } };
|
|
35
|
+
}
|
|
36
|
+
return (_ctx, _cache) => {
|
|
37
|
+
return openBlock(), createElementBlock("nav", {
|
|
38
|
+
"aria-label": __props.label ?? unref(text).nav,
|
|
39
|
+
class: normalizeClass(unref(BOTTOM_BAR))
|
|
40
|
+
}, [
|
|
41
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.items, (item) => {
|
|
42
|
+
return openBlock(), createBlock(resolveDynamicComponent(rowOf(item).is), mergeProps({
|
|
43
|
+
key: item.id
|
|
44
|
+
}, { ref_for: true }, rowOf(item).props, {
|
|
45
|
+
"aria-current": active(item) ? "page" : void 0,
|
|
46
|
+
class: [ROW, unref(BOTTOM_ITEM), item.disabled ? "cursor-not-allowed opacity-45" : active(item) ? "text-brand" : "text-muted"],
|
|
47
|
+
onClick: ($event) => emit("select", item)
|
|
48
|
+
}), {
|
|
49
|
+
default: withCtx(() => [
|
|
50
|
+
active(item) ? (openBlock(), createBlock(unref(Motion), {
|
|
51
|
+
key: 0,
|
|
52
|
+
"layout-id": markerId,
|
|
53
|
+
transition: unref(pillTransition),
|
|
54
|
+
class: normalizeClass([unref(BOTTOM_MARKER), "bg-brand"])
|
|
55
|
+
}, null, 8, ["transition", "class"])) : createCommentVNode("", true),
|
|
56
|
+
createVNode(_sfc_main$1, {
|
|
57
|
+
item,
|
|
58
|
+
bottom: "",
|
|
59
|
+
active: active(item)
|
|
60
|
+
}, null, 8, ["item", "active"])
|
|
61
|
+
]),
|
|
62
|
+
_: 2
|
|
63
|
+
}, 1040, ["aria-current", "class", "onClick"]);
|
|
64
|
+
}), 128)),
|
|
65
|
+
__props.more ? (openBlock(), createElementBlock("button", {
|
|
66
|
+
key: 0,
|
|
67
|
+
type: "button",
|
|
68
|
+
class: normalizeClass([ROW, unref(BOTTOM_ITEM), __props.moreActive ? "text-brand" : "text-muted"]),
|
|
69
|
+
onClick: _cache[0] || (_cache[0] = ($event) => emit("more"))
|
|
70
|
+
}, [
|
|
71
|
+
__props.moreActive ? (openBlock(), createBlock(unref(Motion), {
|
|
72
|
+
key: 0,
|
|
73
|
+
"layout-id": markerId,
|
|
74
|
+
transition: unref(pillTransition),
|
|
75
|
+
class: normalizeClass([unref(BOTTOM_MARKER), "bg-brand"])
|
|
76
|
+
}, null, 8, ["transition", "class"])) : createCommentVNode("", true),
|
|
77
|
+
createVNode(_sfc_main$1, {
|
|
78
|
+
item: { label: unref(text).more, icon: "lucide:menu" },
|
|
79
|
+
bottom: "",
|
|
80
|
+
active: __props.moreActive
|
|
81
|
+
}, null, 8, ["item", "active"])
|
|
82
|
+
], 2)) : createCommentVNode("", true)
|
|
83
|
+
], 10, _hoisted_1);
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
});
|
|
87
|
+
export {
|
|
88
|
+
_sfc_main as _
|
|
89
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, computed, ref, watch, openBlock, createElementBlock, mergeProps, unref, createVNode, withCtx, TransitionGroup, normalizeClass, Fragment, renderList, createBlock, createCommentVNode, resolveDynamicComponent } from "vue";
|
|
2
|
-
import { _ as _sfc_main$2 } from "./LpIcon
|
|
3
|
-
import { _ as _sfc_main$3 } from "./LpRollingText-
|
|
4
|
-
import { _ as _sfc_main$1 } from "./LpShift-
|
|
2
|
+
import { _ as _sfc_main$2 } from "./LpIcon--5WSb3jJ.js";
|
|
3
|
+
import { _ as _sfc_main$3 } from "./LpRollingText-B54Pje7P.js";
|
|
4
|
+
import { _ as _sfc_main$1 } from "./LpShift-C-UGuKMN.js";
|
|
5
5
|
import { useLabels, useLinkComponent } from "../composables/useLpConfig.js";
|
|
6
6
|
import { useMergedAttrs } from "../composables/useMergedClass.js";
|
|
7
7
|
import { resolveLink } from "../components/link.js";
|
|
@@ -7,7 +7,7 @@ import { useHotkeys, useAppleKeyboard, appleModifierLabel, parseCombo } from "..
|
|
|
7
7
|
import { useLabels, useLinkComponent } from "../composables/useLpConfig.js";
|
|
8
8
|
import { useToast } from "../composables/useToast.js";
|
|
9
9
|
import { useMergedAttrs } from "../composables/useMergedClass.js";
|
|
10
|
-
import { _ as _sfc_main$1 } from "./LpLoader-
|
|
10
|
+
import { _ as _sfc_main$1 } from "./LpLoader-CUo1MX_0.js";
|
|
11
11
|
import { resolveLink } from "../components/link.js";
|
|
12
12
|
const __default__ = { inheritAttrs: false };
|
|
13
13
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, computed, shallowRef, openBlock, createBlock, unref, mergeProps, withCtx, createVNode, normalizeClass, createElementVNode, createElementBlock, Fragment, renderList, createTextVNode, toDisplayString } from "vue";
|
|
2
2
|
import { today, getLocalTimeZone, parseDate } from "@internationalized/date";
|
|
3
3
|
import { CalendarRoot, CalendarHeader, CalendarPrev, CalendarHeading, CalendarNext, CalendarGrid, CalendarGridHead, CalendarGridRow, CalendarHeadCell, CalendarGridBody, CalendarCell, CalendarCellTrigger } from "reka-ui";
|
|
4
|
-
import { _ as _sfc_main$1 } from "./LpIcon
|
|
4
|
+
import { _ as _sfc_main$1 } from "./LpIcon--5WSb3jJ.js";
|
|
5
5
|
import { useLabels } from "../composables/useLpConfig.js";
|
|
6
6
|
import { useMergedAttrs } from "../composables/useMergedClass.js";
|
|
7
7
|
import { CALENDAR_LABELS, CALENDAR_NAV, CALENDAR_FRAME } from "../components/calendar.js";
|
|
@@ -3,7 +3,7 @@ import { tv } from "tailwind-variants";
|
|
|
3
3
|
import { useMergedAttrs } from "../composables/useMergedClass.js";
|
|
4
4
|
import { MenuWhen } from "../components/menuWhen.js";
|
|
5
5
|
import { _ as _sfc_main$2 } from "./LpSkeleton-BB6XIV-w.js";
|
|
6
|
-
import { _ as _sfc_main$1 } from "./LpSwap-
|
|
6
|
+
import { _ as _sfc_main$1 } from "./LpSwap-Xi4j9PR_.js";
|
|
7
7
|
import { useSpotlight } from "../composables/useSpotlight.js";
|
|
8
8
|
const __default__ = { inheritAttrs: false };
|
|
9
9
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent, useId, computed, openBlock, createElementBlock, mergeProps, unref, createVNode, normalizeClass, withCtx, createBlock, createCommentVNode, renderSlot, createTextVNode, toDisplayString, createElementVNode } from "vue";
|
|
2
2
|
import { usePaletteControl } from "../composables/usePaletteCommands.js";
|
|
3
3
|
import { CheckboxRoot, CheckboxIndicator } from "reka-ui";
|
|
4
|
-
import { _ as _sfc_main$1 } from "./LpIcon
|
|
5
|
-
import { _ as _sfc_main$2 } from "./LpLoader-
|
|
4
|
+
import { _ as _sfc_main$1 } from "./LpIcon--5WSb3jJ.js";
|
|
5
|
+
import { _ as _sfc_main$2 } from "./LpLoader-CUo1MX_0.js";
|
|
6
6
|
import { useFieldControl } from "../composables/useField.js";
|
|
7
7
|
import { useOptimisticToggle } from "../composables/useOptimisticToggle.js";
|
|
8
8
|
import { useMergedAttrs } from "../composables/useMergedClass.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent, computed, reactive, watch, ref, openBlock, createElementBlock, mergeProps, unref, toDisplayString, createCommentVNode, createElementVNode, createVNode, createBlock, normalizeStyle, normalizeClass, Fragment, renderList } from "vue";
|
|
2
2
|
import { tokenizeLines } from "../components/codeHighlight.js";
|
|
3
3
|
import { useLabels } from "../composables/useLpConfig.js";
|
|
4
|
-
import { _ as _sfc_main$2 } from "./LpCopyButton-
|
|
5
|
-
import { _ as _sfc_main$1 } from "./LpIcon
|
|
4
|
+
import { _ as _sfc_main$2 } from "./LpCopyButton-BNcGbVXF.js";
|
|
5
|
+
import { _ as _sfc_main$1 } from "./LpIcon--5WSb3jJ.js";
|
|
6
6
|
import { useMergedAttrs } from "../composables/useMergedClass.js";
|
|
7
7
|
const _hoisted_1 = {
|
|
8
8
|
key: 0,
|
|
@@ -2,12 +2,12 @@ import { defineComponent, useModel, computed, ref, watch, openBlock, createEleme
|
|
|
2
2
|
import { useLabels } from "../composables/useLpConfig.js";
|
|
3
3
|
import { useMergedAttrs } from "../composables/useMergedClass.js";
|
|
4
4
|
import { useNow } from "../composables/useNow.js";
|
|
5
|
-
import { _ as _sfc_main$6 } from "./LpCheckbox-
|
|
6
|
-
import { _ as _sfc_main$3 } from "./LpCopyButton-
|
|
7
|
-
import { _ as _sfc_main$5 } from "./LpCountdown-
|
|
8
|
-
import { _ as _sfc_main$4 } from "./LpIcon
|
|
9
|
-
import { _ as _sfc_main$1 } from "./LpRollingText-
|
|
10
|
-
import { _ as _sfc_main$2 } from "./RevealToggle-
|
|
5
|
+
import { _ as _sfc_main$6 } from "./LpCheckbox-iaD63DEF.js";
|
|
6
|
+
import { _ as _sfc_main$3 } from "./LpCopyButton-BNcGbVXF.js";
|
|
7
|
+
import { _ as _sfc_main$5 } from "./LpCountdown-Cak7cq3X.js";
|
|
8
|
+
import { _ as _sfc_main$4 } from "./LpIcon--5WSb3jJ.js";
|
|
9
|
+
import { _ as _sfc_main$1 } from "./LpRollingText-B54Pje7P.js";
|
|
10
|
+
import { _ as _sfc_main$2 } from "./RevealToggle-jBLJwVwO.js";
|
|
11
11
|
import { groupCode } from "../components/fieldText.js";
|
|
12
12
|
import { toEpoch, formatTime, ceilToSecond, msToNextSecond } from "../components/timeSpan.js";
|
|
13
13
|
const _hoisted_1 = { class: "flex flex-wrap items-center gap-x-2 gap-y-1" };
|