@leavepulse/ui 0.70.1 → 0.71.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/README.md +91 -0
- package/dist/assets/{LpCommandPalette-u-zOxKWa.css → LpCommandPalette-DgPZX0us.css} +24 -17
- package/dist/assets/{LpPaletteFacts-B9FdVmIO.css → LpPaletteFacts-CVNh5ICn.css} +16 -16
- package/dist/assets/{LpPaletteStats-ClE-37MK.css → LpPaletteStats-ZiZmR6vz.css} +5 -5
- package/dist/assets/{LpTable-DHxEQ_-3.css → LpTable-DHvorDiU.css} +19 -19
- package/dist/assets/LpTabs-CO3EcsNV.css +18 -0
- package/dist/chunks/{ContextMenuItems-6kxEivBI.js → ContextMenuItems-eS7qx9gD.js} +1 -1
- package/dist/chunks/{DropzoneLinkField-Bw8Flkhk.js → DropzoneLinkField-DkFhdfEJ.js} +2 -2
- package/dist/chunks/{FieldWrapper-BiennROB.js → FieldWrapper-YzbvvC3M.js} +1 -1
- package/dist/chunks/{LayoutCanvas-BsJIzhdd.js → LayoutCanvas-Ba4A9QC5.js} +1 -1
- package/dist/chunks/{LayoutNode-DJVhkSGk.js → LayoutNode-CTTTLMDM.js} +1 -1
- package/dist/chunks/{LpActionBar-CzOFar5t.js → LpActionBar-B7anGlkI.js} +2 -2
- package/dist/chunks/{LpAddressInput-Chv_Xf8q.js → LpAddressInput-CD0bzrt-.js} +7 -7
- package/dist/chunks/{LpAlert-C5igj802.js → LpAlert-BHi7ARqu.js} +1 -1
- package/dist/chunks/{LpAppShell-BiWByLmt.js → LpAppShell-1RmBp6xQ.js} +3 -3
- package/dist/chunks/{LpAutocomplete-D92niDHE.js → LpAutocomplete-DDqe2M5g.js} +5 -2
- package/dist/chunks/{LpAvatar-CLPl-qOF.js → LpAvatar-DqfKCIdr.js} +1 -1
- package/dist/chunks/{LpBadge-BBq1Er9T.js → LpBadge-C8fKEmTF.js} +1 -1
- package/dist/chunks/{LpBreadcrumbs-JKEi_yFF.js → LpBreadcrumbs-DhcoStFa.js} +1 -1
- package/dist/chunks/{LpButton-CVxBfGjd.js → LpButton-BQDAFXBd.js} +3 -0
- package/dist/chunks/{LpCalendar-pVL91-Pl.js → LpCalendar-NmrA47J9.js} +1 -1
- package/dist/chunks/{LpCheckbox-DHc2bHDe.js → LpCheckbox-BoOuLnGB.js} +5 -2
- package/dist/chunks/{LpCodeBlock-BGsQhxw8.js → LpCodeBlock-Czu-fq1M.js} +2 -2
- package/dist/chunks/{LpCodeDisplay-CbJMs-IK.js → LpCodeDisplay-BK2FHbtM.js} +5 -5
- package/dist/chunks/{LpColorPicker-B7HSIFmn.js → LpColorPicker-Ee1DZiRd.js} +2 -2
- package/dist/chunks/LpCommandScope-ubtWDMa0.js +53 -0
- package/dist/chunks/{LpConfirmDialog-CfGCux8m.js → LpConfirmDialog-i15pulMT.js} +3 -3
- package/dist/chunks/{LpConfirmHost-exB7JmcO.js → LpConfirmHost-D0oGavtd.js} +1 -1
- package/dist/chunks/{LpContextMenu-Cj96ENDC.js → LpContextMenu-DXpFJjlO.js} +13 -3
- package/dist/chunks/{LpCopyButton-DzHjnFs0.js → LpCopyButton-Dmq7DmFw.js} +3 -3
- package/dist/chunks/{LpCountdown-BQnmB4gq.js → LpCountdown-DTdMF8DL.js} +1 -1
- package/dist/chunks/{LpDataList-CHNYQw7h.js → LpDataList-CFPtSsBB.js} +3 -3
- package/dist/chunks/{LpDatePicker-ac1_6o5P.js → LpDatePicker-cC9K-Pk8.js} +4 -4
- package/dist/chunks/{LpDateRangePicker-B15gYrZJ.js → LpDateRangePicker-BVQKPbvo.js} +2 -2
- package/dist/chunks/{LpDisclosure-DOarzlAG.js → LpDisclosure-hRnX3FWL.js} +4 -1
- package/dist/chunks/{LpDrawer-DGNKRsGq.js → LpDrawer-u4rxnuR-.js} +1 -1
- package/dist/chunks/{LpDropdownMenu-R4aYVtVV.js → LpDropdownMenu-BgZ0Z_Im.js} +13 -3
- package/dist/chunks/{LpEditable-Ws3DNQHn.js → LpEditable-CjxuOVh_.js} +2 -2
- package/dist/chunks/{LpEmptyState-KTKipws2.js → LpEmptyState-CKFTtQgJ.js} +1 -1
- package/dist/chunks/{LpFieldNotice-CurbNuXI.js → LpFieldNotice-CPI8EwtU.js} +1 -1
- package/dist/chunks/{LpFileTree-DDNg34tJ.js → LpFileTree-BH0gNlSJ.js} +2 -2
- package/dist/chunks/{LpFileTreeNode-DmPuYNZ_.js → LpFileTreeNode-gPVB1oXM.js} +4 -4
- package/dist/chunks/{LpFormField-BWwgm1E4.js → LpFormField-gRASfyj2.js} +4 -1
- package/dist/chunks/{LpGauge-C14Z9503.js → LpGauge-BdjPGnqw.js} +1 -1
- package/dist/chunks/{LpHintLayer-HvwUA5Ec.js → LpHintLayer-C2asBIfs.js} +2 -2
- package/dist/chunks/{LpHints-DxbPKOzQ.js → LpHints-CNZQ76JV.js} +3 -3
- package/dist/chunks/{LpIcon-HJP5xMz4.js → LpIcon-DkP-9mzK.js} +1 -1
- package/dist/chunks/{LpInfraNode-D64hywJI.js → LpInfraNode-yTh4-5qa.js} +2 -2
- package/dist/chunks/{LpInput-CDuwODJG.js → LpInput-2H-5ILOB.js} +5 -2
- package/dist/chunks/{LpLightbox-XJ0LpTcZ.js → LpLightbox-lAt5uIfx.js} +2 -2
- package/dist/chunks/{LpLogViewer-DKK4ySZl.js → LpLogViewer-x78YfhJf.js} +5 -5
- package/dist/chunks/{LpMapPicker-BtIl7NOM.js → LpMapPicker-Dp5RSCi9.js} +1 -1
- package/dist/chunks/{LpMediaGallery-rmI1DjKN.js → LpMediaGallery-D92oJfY_.js} +3 -3
- package/dist/chunks/{LpModal-eBMt2Fqn.js → LpModal-CpH0bNo7.js} +1 -1
- package/dist/chunks/{LpModalNav-DiyFCHiZ.js → LpModalNav-BH4ANQGJ.js} +4 -4
- package/dist/chunks/{LpNotificationBell-D-WhE5m2.js → LpNotificationBell-BdUQqZhs.js} +6 -6
- package/dist/chunks/{LpNumberField-B9k-h2HE.js → LpNumberField-DZY3Z670.js} +4 -1
- package/dist/chunks/{LpNumberFlow-Cfyh033Q.js → LpNumberFlow-5khYxsfX.js} +6 -3
- package/dist/chunks/{LpPagination-VNCX6pFC.js → LpPagination-DbeACavM.js} +1 -1
- package/dist/chunks/LpPaletteTheme-CqWNRwHE.js +104 -0
- package/dist/chunks/{LpPasswordInput-GL2KOFK8.js → LpPasswordInput-BzAZsf5V.js} +4 -2
- package/dist/chunks/{LpPhoneInput-C60tx1tC.js → LpPhoneInput-BMpd-0QR.js} +2 -2
- package/dist/chunks/{LpPie-BgXZ3xmm.js → LpPie-DdFSTbGE.js} +4 -4
- package/dist/chunks/{LpPipeline-B31h41Mu.js → LpPipeline-zjEM1Lwc.js} +3 -3
- package/dist/chunks/{LpProgress-CE-m5OpD.js → LpProgress-BX33EKkN.js} +1 -1
- package/dist/chunks/{LpQuota-DaL8TgNe.js → LpQuota-DqNv1yjs.js} +2 -2
- package/dist/chunks/{LpRadioGroup-CGBr5nIp.js → LpRadioGroup-CsXeV9Ct.js} +4 -1
- package/dist/chunks/{LpRangeCalendar-c5qj7YcC.js → LpRangeCalendar-l-0nSFmY.js} +1 -1
- package/dist/chunks/{LpRangeSlider-Dv6lNvHY.js → LpRangeSlider-CM-0ZITZ.js} +3 -0
- package/dist/chunks/{LpRelativeTime-yin9uQP7.js → LpRelativeTime-UM8EkfrN.js} +1 -1
- package/dist/chunks/{LpRepeater-D0S7jjwr.js → LpRepeater-OvzByE5L.js} +2 -2
- package/dist/chunks/{LpSecretField-CfWyHv9m.js → LpSecretField-DwQiPOko.js} +9 -7
- package/dist/chunks/{LpSection-BW4xJ-Li.js → LpSection-DcQsieHG.js} +1 -1
- package/dist/chunks/{LpSegmented-BO99Sr4m.js → LpSegmented-D2VST0o3.js} +4 -1
- package/dist/chunks/{LpSelect-C_8cJtj6.js → LpSelect-DYX2-u5A.js} +36 -6
- package/dist/chunks/{LpSidebar-CZRXtvem.js → LpSidebar-D44peKq2.js} +3 -3
- package/dist/chunks/{LpSidebarNav-DBg1U1oW.js → LpSidebarNav--VwkXO_a.js} +3 -3
- package/dist/chunks/{LpSlider-DuoRpOrH.js → LpSlider-DxYoCJJO.js} +3 -0
- package/dist/chunks/{LpStat-DFKlPJgy.js → LpStat-DIsQfbeD.js} +3 -3
- package/dist/chunks/{LpStatus-BsGLrpor.js → LpStatus-BQU1TUsv.js} +1 -1
- package/dist/chunks/{LpStepMark-TrzOioa9.js → LpStepMark-CXa7DJy_.js} +1 -1
- package/dist/chunks/{LpStepper-BbnS5jUr.js → LpStepper-C9RM_yTG.js} +1 -1
- package/dist/chunks/{LpSwitch-DrzKrZZV.js → LpSwitch-bGZxUDSx.js} +3 -0
- package/dist/chunks/{LpTableFilter-DyvHGbOk.js → LpTableFilter-CTZMqFDU.js} +2 -2
- package/dist/chunks/{LpTableOfContents-rYvo8z5T.js → LpTableOfContents-CraicEs4.js} +2 -2
- package/dist/chunks/{LpTagsInput-DZg80W-B.js → LpTagsInput-DrjmrOge.js} +8 -5
- package/dist/chunks/{LpTextarea-DiWjeVoJ.js → LpTextarea-BbYqmG1S.js} +4 -1
- package/dist/chunks/{LpThemeStudio-DxVZMtzN.js → LpThemeStudio-B2nPaG-h.js} +18 -14
- package/dist/chunks/{LpThemeSwitcher-CadVBTBn.js → LpThemeSwitcher-C0A5sg_E.js} +5 -3
- package/dist/chunks/{LpTimeField-BFQVf_PW.js → LpTimeField-DQ8WvPr2.js} +4 -1
- package/dist/chunks/{LpToaster-Wv9ksj4q.js → LpToaster-BTTl_wuy.js} +2 -2
- package/dist/chunks/{LpTooltip-Cz8SQwRt.js → LpTooltip-BcBvIx4z.js} +23 -5
- package/dist/chunks/{LpTopologyCanvas-C17A1XCb.js → LpTopologyCanvas-B0wEvAoq.js} +1 -1
- package/dist/chunks/{LpTour-CY2bFXge.js → LpTour-BgCfNlaW.js} +1 -1
- package/dist/chunks/{LpTruncate-D_5Pfv5B.js → LpTruncate-TcqfkyJM.js} +2 -2
- package/dist/chunks/{LpUptimeBar-Tew1Ykx4.js → LpUptimeBar-DRadGq4Y.js} +136 -47
- package/dist/chunks/{MenuTitle-BjQZX8tQ.js → MenuTitle-Dab3EGOp.js} +1 -1
- package/dist/chunks/{OptionContent-CmYUUeWj.js → OptionContent-DPzNsybd.js} +1 -1
- package/dist/chunks/PalettePreviewBoundary-B0Hhu3Yw.js +20 -0
- package/dist/chunks/{PickerField-DoHv0WMH.js → PickerField-DwLw7j0L.js} +1 -1
- package/dist/chunks/{RevealToggle-C-KzaQGJ.js → RevealToggle-BVFM_FAU.js} +3 -3
- package/dist/chunks/{TourCard-BJ8i7dk0.js → TourCard--2IfgnUU.js} +2 -2
- package/dist/chunks/icons-CLu1iR1j.js +43 -0
- package/dist/chunks/palette-BiY7yQZL.js +29 -0
- 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.d.ts +1 -1
- package/dist/components/LpAddressInput.vue.js +1 -1
- package/dist/components/LpAlert.vue.d.ts +3 -3
- package/dist/components/LpAlert.vue.js +1 -1
- package/dist/components/LpAppShell.vue.js +1 -1
- package/dist/components/LpAutocomplete.vue.d.ts +7 -1
- package/dist/components/LpAutocomplete.vue.js +1 -1
- package/dist/components/LpAvatar.vue.js +1 -1
- package/dist/components/LpBadge.vue.d.ts +2 -2
- package/dist/components/LpBadge.vue.js +1 -1
- package/dist/components/LpBreadcrumbs.vue.js +1 -1
- package/dist/components/LpButton.vue.d.ts +4 -0
- package/dist/components/LpButton.vue.js +1 -1
- package/dist/components/LpCalendar.vue.js +1 -1
- package/dist/components/LpChart.vue.js +2 -2
- package/dist/components/LpCheckbox.vue.d.ts +8 -1
- 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 +2 -2
- package/dist/components/LpColorPicker.vue.js +1 -1
- package/dist/components/LpCommandPalette.vue.d.ts +43 -7
- package/dist/components/LpCommandPalette.vue.js +451 -126
- package/dist/components/LpCommandScope.vue.d.ts +28 -0
- package/dist/components/LpCommandScope.vue.js +4 -0
- package/dist/components/LpConfirmDialog.vue.js +1 -1
- package/dist/components/LpConfirmHost.vue.js +1 -1
- package/dist/components/LpContextMenu.vue.d.ts +5 -1
- package/dist/components/LpContextMenu.vue.js +1 -1
- package/dist/components/LpCopyButton.vue.d.ts +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.d.ts +4 -0
- package/dist/components/LpDisclosure.vue.js +1 -1
- package/dist/components/LpDock.vue.js +2 -2
- package/dist/components/LpDrawer.vue.js +1 -1
- package/dist/components/LpDropdownMenu.vue.d.ts +5 -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.js +1 -1
- package/dist/components/LpFieldNotice.vue.js +1 -1
- package/dist/components/LpFileTree.vue.d.ts +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 -2
- package/dist/components/LpInfraNode.vue.js +1 -1
- package/dist/components/LpInput.vue.d.ts +6 -0
- package/dist/components/LpInput.vue.js +1 -1
- package/dist/components/LpLightbox.vue.js +1 -1
- package/dist/components/LpLoader.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.d.ts +2 -2
- 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.d.ts +6 -0
- 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.d.ts +1 -0
- package/dist/components/LpPaletteFacts.vue.js +40 -26
- package/dist/components/LpPaletteHeader.vue.js +2 -2
- package/dist/components/LpPaletteStats.vue.d.ts +1 -0
- package/dist/components/LpPaletteStats.vue.js +45 -21
- package/dist/components/LpPaletteTheme.vue.d.ts +7 -0
- package/dist/components/LpPaletteTheme.vue.js +4 -0
- 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.d.ts +1 -1
- package/dist/components/LpProgress.vue.js +1 -1
- package/dist/components/LpQuota.vue.js +1 -1
- package/dist/components/LpRadioGroup.vue.d.ts +6 -1
- package/dist/components/LpRadioGroup.vue.js +1 -1
- package/dist/components/LpRangeCalendar.vue.js +1 -1
- package/dist/components/LpRangeSlider.vue.d.ts +6 -0
- 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.d.ts +6 -0
- package/dist/components/LpSegmented.vue.js +1 -1
- package/dist/components/LpSelect.vue.d.ts +3 -0
- package/dist/components/LpSelect.vue.js +1 -1
- package/dist/components/LpShinyText.vue.d.ts +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/LpSlider.vue.d.ts +6 -0
- package/dist/components/LpSlider.vue.js +1 -1
- 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/LpSwitch.vue.d.ts +6 -0
- package/dist/components/LpSwitch.vue.js +1 -1
- package/dist/components/LpTable.vue.d.ts +6 -0
- package/dist/components/LpTable.vue.js +74 -35
- package/dist/components/LpTableFilter.vue.js +1 -1
- package/dist/components/LpTableOfContents.vue.js +1 -1
- package/dist/components/LpTabs.vue.d.ts +1 -1
- package/dist/components/LpTabs.vue.js +14 -5
- package/dist/components/LpTagsInput.vue.d.ts +6 -0
- package/dist/components/LpTagsInput.vue.js +1 -1
- package/dist/components/LpTextarea.vue.d.ts +8 -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.d.ts +6 -0
- package/dist/components/LpTimeField.vue.js +1 -1
- package/dist/components/LpToaster.vue.js +1 -1
- 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.d.ts +18 -9
- 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/PalettePreviewBoundary.vue.d.ts +13 -0
- package/dist/components/PalettePreviewBoundary.vue.js +4 -0
- 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/commandPalette.d.ts +33 -0
- package/dist/components/commandPalette.js +21 -1
- package/dist/components/commandSearch.d.ts +5 -0
- package/dist/components/commandSearch.js +22 -2
- package/dist/components/format.d.ts +7 -0
- package/dist/components/format.js +4 -0
- package/dist/components/menuWhen.js +1 -1
- package/dist/components/uptimeBar.d.ts +45 -0
- package/dist/components/uptimeBar.js +51 -0
- package/dist/composables/scroll.d.ts +5 -0
- package/dist/composables/scroll.js +7 -0
- package/dist/composables/useField.d.ts +4 -0
- package/dist/composables/useField.js +3 -0
- package/dist/composables/usePaletteCommands.d.ts +61 -0
- package/dist/composables/usePaletteCommands.js +220 -0
- package/dist/composables/useReveal.js +21 -0
- package/dist/composables/useView.js +5 -1
- package/dist/icons-all.js +1 -1
- package/dist/index.d.ts +14 -1
- package/dist/index.js +101 -85
- package/dist/theme/palette.d.ts +9 -0
- package/dist/theme/studio.d.ts +12 -1
- package/package.json +1 -1
- package/src/component-names.ts +2 -0
- package/src/components/LpAutocomplete.vue +6 -1
- package/src/components/LpButton.vue +5 -1
- package/src/components/LpCheckbox.vue +7 -2
- package/src/components/LpCommandPalette.vue +263 -29
- package/src/components/LpCommandScope.vue +35 -0
- package/src/components/LpContextMenu.vue +13 -2
- package/src/components/LpDisclosure.vue +5 -1
- package/src/components/LpDropdownMenu.vue +13 -2
- package/src/components/LpFormField.vue +3 -0
- package/src/components/LpInput.vue +6 -1
- package/src/components/LpNumberField.vue +6 -1
- package/src/components/LpNumberFlow.vue +12 -2
- package/src/components/LpPaletteFacts.vue +11 -6
- package/src/components/LpPaletteStats.vue +12 -5
- package/src/components/LpPaletteTheme.vue +48 -0
- package/src/components/LpPasswordInput.vue +3 -0
- package/src/components/LpRadioGroup.vue +4 -1
- package/src/components/LpRangeSlider.vue +6 -1
- package/src/components/LpSecretField.vue +3 -0
- package/src/components/LpSegmented.vue +6 -1
- package/src/components/LpSelect.vue +41 -2
- package/src/components/LpSlider.vue +6 -1
- package/src/components/LpSwitch.vue +6 -1
- package/src/components/LpTable.vue +35 -2
- package/src/components/LpTableOfContents.vue +2 -4
- package/src/components/LpTabs.vue +7 -0
- package/src/components/LpTagsInput.vue +6 -1
- package/src/components/LpTextarea.vue +7 -2
- package/src/components/LpThemeStudio.vue +7 -5
- package/src/components/LpThemeSwitcher.vue +3 -0
- package/src/components/LpTimeField.vue +6 -1
- package/src/components/LpTooltip.vue +23 -1
- package/src/components/LpUptimeBar.vue +69 -41
- package/src/components/PalettePreviewBoundary.vue +5 -0
- package/src/components/commandPalette.ts +22 -1
- package/src/components/commandSearch.ts +23 -1
- package/src/components/format.ts +10 -0
- package/src/components/uptimeBar.ts +98 -0
- package/src/composables/scroll.ts +11 -0
- package/src/composables/useField.ts +7 -0
- package/src/composables/usePaletteCommands.ts +220 -0
- package/src/composables/useReveal.ts +29 -0
- package/src/composables/useView.ts +5 -1
- package/src/index.ts +18 -1
- package/src/kit-icons.ts +1 -1
- package/src/theme/palette.ts +26 -0
- package/src/theme/studio.ts +15 -8
- package/dist/assets/LpTabs-BJ-nrJuI.css +0 -18
- package/dist/chunks/icons-4IywzkHk.js +0 -43
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createElementBlock, createElementVNode, renderSlot, createBlock, createVNode, createCommentVNode, toDisplayString } from "vue";
|
|
2
|
-
import { _ as _sfc_main$1 } from "../chunks/LpAvatar-
|
|
3
|
-
import { _ as _sfc_main$2 } from "../chunks/LpIcon-
|
|
2
|
+
import { _ as _sfc_main$1 } from "../chunks/LpAvatar-DqfKCIdr.js";
|
|
3
|
+
import { _ as _sfc_main$2 } from "../chunks/LpIcon-DkP-9mzK.js";
|
|
4
4
|
import { _ as _sfc_main$3 } from "../chunks/HighlightText-BvnYZkhi.js";
|
|
5
5
|
import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper-1tPrXgE0.js";
|
|
6
6
|
import '../assets/LpPaletteHeader-BVOu1UX5.css';const _hoisted_1 = { class: "lp-palette-header" };
|
|
@@ -1,47 +1,71 @@
|
|
|
1
|
-
import { defineComponent, openBlock, createElementBlock, normalizeStyle, Fragment, renderList, createElementVNode, toDisplayString,
|
|
2
|
-
import { _ as _sfc_main$
|
|
3
|
-
import { _ as _sfc_main$
|
|
1
|
+
import { defineComponent, computed, openBlock, createElementBlock, normalizeStyle, Fragment, renderList, createElementVNode, createBlock, createTextVNode, toDisplayString, createCommentVNode, normalizeClass } from "vue";
|
|
2
|
+
import { _ as _sfc_main$2 } from "../chunks/LpNumberFlow-5khYxsfX.js";
|
|
3
|
+
import { _ as _sfc_main$3 } from "../chunks/LpRollingText-DiL717LK.js";
|
|
4
|
+
import { _ as _sfc_main$1 } from "../chunks/LpSkeleton-BB6XIV-w.js";
|
|
4
5
|
import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper-1tPrXgE0.js";
|
|
5
|
-
import '../assets/LpPaletteStats-
|
|
6
|
+
import '../assets/LpPaletteStats-ZiZmR6vz.css';const _hoisted_1 = ["aria-busy"];
|
|
7
|
+
const _hoisted_2 = { class: "relative" };
|
|
8
|
+
const _hoisted_3 = ["aria-hidden"];
|
|
9
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
10
|
__name: "LpPaletteStats",
|
|
7
11
|
props: {
|
|
8
12
|
items: {},
|
|
13
|
+
loading: { type: Boolean },
|
|
9
14
|
columns: { default: 2 }
|
|
10
15
|
},
|
|
11
16
|
setup(__props) {
|
|
17
|
+
const props = __props;
|
|
18
|
+
const shown = computed(() => props.loading && !props.items.length ? Array.from({ length: props.columns }, () => ({ label: "", value: "—" })) : props.items);
|
|
12
19
|
return (_ctx, _cache) => {
|
|
13
20
|
return openBlock(), createElementBlock("dl", {
|
|
14
21
|
class: "lp-palette-stats",
|
|
22
|
+
"aria-busy": __props.loading || void 0,
|
|
15
23
|
style: normalizeStyle({ gridTemplateColumns: `repeat(${__props.columns}, minmax(0, 1fr))` })
|
|
16
24
|
}, [
|
|
17
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(
|
|
25
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(shown.value, (item, index) => {
|
|
18
26
|
return openBlock(), createElementBlock("div", {
|
|
19
27
|
key: `${item.label}-${index}`,
|
|
20
28
|
class: "lp-palette-stats__tile"
|
|
21
29
|
}, [
|
|
22
|
-
createElementVNode("dt", null,
|
|
23
|
-
|
|
24
|
-
typeof item.value === "number" ? (openBlock(), createBlock(_sfc_main$1, {
|
|
30
|
+
createElementVNode("dt", null, [
|
|
31
|
+
__props.loading && !item.label ? (openBlock(), createBlock(_sfc_main$1, {
|
|
25
32
|
key: 0,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
key:
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
33
|
+
class: "my-1 h-2 w-20"
|
|
34
|
+
})) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
35
|
+
createTextVNode(toDisplayString(item.label), 1)
|
|
36
|
+
], 64))
|
|
37
|
+
]),
|
|
38
|
+
createElementVNode("dd", _hoisted_2, [
|
|
39
|
+
__props.loading ? (openBlock(), createBlock(_sfc_main$1, {
|
|
40
|
+
key: 0,
|
|
41
|
+
class: "absolute top-1/2 h-[1em] w-16 max-w-full -translate-y-1/2"
|
|
42
|
+
})) : createCommentVNode("", true),
|
|
43
|
+
createElementVNode("span", {
|
|
44
|
+
class: normalizeClass(__props.loading && "invisible"),
|
|
45
|
+
"aria-hidden": __props.loading || void 0
|
|
46
|
+
}, [
|
|
47
|
+
typeof item.value === "number" ? (openBlock(), createBlock(_sfc_main$2, {
|
|
48
|
+
key: 0,
|
|
49
|
+
value: item.value,
|
|
50
|
+
compact: item.compact,
|
|
51
|
+
suffix: item.suffix,
|
|
52
|
+
format: item.format,
|
|
53
|
+
"animate-on-mount": false,
|
|
54
|
+
grouped: ""
|
|
55
|
+
}, null, 8, ["value", "compact", "suffix", "format"])) : (openBlock(), createBlock(_sfc_main$3, {
|
|
56
|
+
key: 1,
|
|
57
|
+
value: item.value,
|
|
58
|
+
align: "start"
|
|
59
|
+
}, null, 8, ["value"]))
|
|
60
|
+
], 10, _hoisted_3)
|
|
37
61
|
])
|
|
38
62
|
]);
|
|
39
63
|
}), 128))
|
|
40
|
-
],
|
|
64
|
+
], 12, _hoisted_1);
|
|
41
65
|
};
|
|
42
66
|
}
|
|
43
67
|
});
|
|
44
|
-
const LpPaletteStats = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
68
|
+
const LpPaletteStats = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3d47406a"]]);
|
|
45
69
|
export {
|
|
46
70
|
LpPaletteStats as default
|
|
47
71
|
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { PreviewableThemeStudio } from "../theme/studio";
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
studio: PreviewableThemeStudio;
|
|
4
|
+
};
|
|
5
|
+
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>;
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|
|
@@ -114,8 +114,8 @@ declare const __VLS_export: import("vue").DefineComponent<{
|
|
|
114
114
|
size: number;
|
|
115
115
|
max: number;
|
|
116
116
|
value: number;
|
|
117
|
-
tone: ToneName | "auto";
|
|
118
117
|
variant: "bar" | "ring";
|
|
118
|
+
tone: ToneName | "auto";
|
|
119
119
|
animateOnMount: boolean;
|
|
120
120
|
warnAt: number;
|
|
121
121
|
dangerAt: number;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type PaletteControlOptions } from "../composables/usePaletteCommands";
|
|
1
2
|
import type { LpOptionBase } from "./options";
|
|
2
3
|
export interface RadioOption extends LpOptionBase<string> {
|
|
3
4
|
label: string;
|
|
@@ -5,18 +6,22 @@ export interface RadioOption extends LpOptionBase<string> {
|
|
|
5
6
|
declare const _default: typeof __VLS_export;
|
|
6
7
|
export default _default;
|
|
7
8
|
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
9
|
+
palette?: PaletteControlOptions;
|
|
8
10
|
modelValue?: string;
|
|
9
11
|
options?: RadioOption[];
|
|
10
12
|
disabled?: boolean;
|
|
11
13
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
12
14
|
"update:modelValue": (value: string) => any;
|
|
13
15
|
}, string, import("vue").PublicProps, Readonly<{
|
|
16
|
+
palette?: PaletteControlOptions;
|
|
14
17
|
modelValue?: string;
|
|
15
18
|
options?: RadioOption[];
|
|
16
19
|
disabled?: boolean;
|
|
17
20
|
}> & Readonly<{
|
|
18
21
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
19
|
-
}>, {
|
|
22
|
+
}>, {
|
|
23
|
+
palette: PaletteControlOptions;
|
|
24
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
20
25
|
default?: (props: {}) => any;
|
|
21
26
|
}>;
|
|
22
27
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
import { type PaletteControlOptions } from "../composables/usePaletteCommands";
|
|
1
2
|
declare const _default: typeof __VLS_export;
|
|
2
3
|
export default _default;
|
|
3
4
|
declare const __VLS_export: import("vue").DefineComponent<{
|
|
5
|
+
/** Contextual palette metadata; false excludes this control. */
|
|
6
|
+
palette?: PaletteControlOptions;
|
|
4
7
|
modelValue?: [number, number];
|
|
5
8
|
min?: number;
|
|
6
9
|
max?: number;
|
|
@@ -16,6 +19,8 @@ declare const __VLS_export: import("vue").DefineComponent<{
|
|
|
16
19
|
change: (value: [number, number]) => any;
|
|
17
20
|
"update:modelValue": (value: [number, number]) => any;
|
|
18
21
|
}, string, import("vue").PublicProps, Readonly<{
|
|
22
|
+
/** Contextual palette metadata; false excludes this control. */
|
|
23
|
+
palette?: PaletteControlOptions;
|
|
19
24
|
modelValue?: [number, number];
|
|
20
25
|
min?: number;
|
|
21
26
|
max?: number;
|
|
@@ -31,6 +36,7 @@ declare const __VLS_export: import("vue").DefineComponent<{
|
|
|
31
36
|
onChange?: ((value: [number, number]) => any) | undefined;
|
|
32
37
|
"onUpdate:modelValue"?: ((value: [number, number]) => any) | undefined;
|
|
33
38
|
}>, {
|
|
39
|
+
palette: PaletteControlOptions;
|
|
34
40
|
max: number;
|
|
35
41
|
min: number;
|
|
36
42
|
step: number;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type PaletteControlOptions } from "../composables/usePaletteCommands";
|
|
1
2
|
import type { LpOptionBase } from "./options";
|
|
2
3
|
/** `icon` shows before the label, or alone for an icon-only segment. */
|
|
3
4
|
export interface SegmentedOption extends LpOptionBase<string> {
|
|
@@ -12,6 +13,8 @@ export interface SegmentedOption extends LpOptionBase<string> {
|
|
|
12
13
|
declare const _default: typeof __VLS_export;
|
|
13
14
|
export default _default;
|
|
14
15
|
declare const __VLS_export: import("vue").DefineComponent<{
|
|
16
|
+
/** Contextual palette metadata; false excludes this control. */
|
|
17
|
+
palette?: PaletteControlOptions;
|
|
15
18
|
modelValue?: string;
|
|
16
19
|
options: SegmentedOption[];
|
|
17
20
|
size?: "sm" | "md" | "lg";
|
|
@@ -27,6 +30,8 @@ declare const __VLS_export: import("vue").DefineComponent<{
|
|
|
27
30
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
28
31
|
"update:modelValue": (value: string) => any;
|
|
29
32
|
}, string, import("vue").PublicProps, Readonly<{
|
|
33
|
+
/** Contextual palette metadata; false excludes this control. */
|
|
34
|
+
palette?: PaletteControlOptions;
|
|
30
35
|
modelValue?: string;
|
|
31
36
|
options: SegmentedOption[];
|
|
32
37
|
size?: "sm" | "md" | "lg";
|
|
@@ -42,6 +47,7 @@ declare const __VLS_export: import("vue").DefineComponent<{
|
|
|
42
47
|
}> & Readonly<{
|
|
43
48
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
44
49
|
}>, {
|
|
50
|
+
palette: PaletteControlOptions;
|
|
45
51
|
size: "sm" | "md" | "lg";
|
|
46
52
|
block: boolean;
|
|
47
53
|
hoverFollow: boolean;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type PaletteControlOptions } from "../composables/usePaletteCommands";
|
|
1
2
|
import type { LpOptionBase, OptionSelection } from "./options";
|
|
2
3
|
export type SelectValue = string | number;
|
|
3
4
|
export interface SelectOption<V extends SelectValue = SelectValue> extends LpOptionBase<V> {
|
|
@@ -18,6 +19,8 @@ export type SelectLabels = {
|
|
|
18
19
|
};
|
|
19
20
|
declare const __VLS_export: <V extends SelectValue = string>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
20
21
|
props: import("vue").PublicProps & __VLS_PrettifyLocal<{
|
|
22
|
+
/** Contextual palette metadata; false excludes this control. */
|
|
23
|
+
palette?: PaletteControlOptions;
|
|
21
24
|
modelValue?: V | V[] | undefined;
|
|
22
25
|
options: SelectOption<V>[];
|
|
23
26
|
placeholder?: string;
|
|
@@ -26,8 +26,8 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
26
26
|
}> & Readonly<{}>, {
|
|
27
27
|
as: string;
|
|
28
28
|
speed: number;
|
|
29
|
-
tone: ToneName | "ink";
|
|
30
29
|
variant: "shine" | "gradient";
|
|
30
|
+
tone: ToneName | "ink";
|
|
31
31
|
paused: boolean;
|
|
32
32
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
33
33
|
default?: (props: {}) => any;
|
|
@@ -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-CpH0bNo7.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,6 +1,9 @@
|
|
|
1
|
+
import { type PaletteControlOptions } from "../composables/usePaletteCommands";
|
|
1
2
|
declare const _default: typeof __VLS_export;
|
|
2
3
|
export default _default;
|
|
3
4
|
declare const __VLS_export: import("vue").DefineComponent<{
|
|
5
|
+
/** Contextual palette metadata; false excludes this control. */
|
|
6
|
+
palette?: PaletteControlOptions;
|
|
4
7
|
modelValue?: number;
|
|
5
8
|
min?: number;
|
|
6
9
|
max?: number;
|
|
@@ -12,6 +15,8 @@ declare const __VLS_export: import("vue").DefineComponent<{
|
|
|
12
15
|
change: (value: number) => any;
|
|
13
16
|
"update:modelValue": (value: number) => any;
|
|
14
17
|
}, string, import("vue").PublicProps, Readonly<{
|
|
18
|
+
/** Contextual palette metadata; false excludes this control. */
|
|
19
|
+
palette?: PaletteControlOptions;
|
|
15
20
|
modelValue?: number;
|
|
16
21
|
min?: number;
|
|
17
22
|
max?: number;
|
|
@@ -23,6 +28,7 @@ declare const __VLS_export: import("vue").DefineComponent<{
|
|
|
23
28
|
onChange?: ((value: number) => any) | undefined;
|
|
24
29
|
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
25
30
|
}>, {
|
|
31
|
+
palette: PaletteControlOptions;
|
|
26
32
|
max: number;
|
|
27
33
|
min: number;
|
|
28
34
|
step: number;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
import { type PaletteControlOptions } from "../composables/usePaletteCommands";
|
|
1
2
|
declare const _default: typeof __VLS_export;
|
|
2
3
|
export default _default;
|
|
3
4
|
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
5
|
+
/** Contextual palette metadata; false excludes this control. */
|
|
6
|
+
palette?: PaletteControlOptions;
|
|
4
7
|
modelValue?: boolean;
|
|
5
8
|
disabled?: boolean;
|
|
6
9
|
label?: string;
|
|
@@ -24,6 +27,8 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
24
27
|
done: (value: boolean) => any;
|
|
25
28
|
"update:modelValue": (value: boolean) => any;
|
|
26
29
|
}, string, import("vue").PublicProps, Readonly<{
|
|
30
|
+
/** Contextual palette metadata; false excludes this control. */
|
|
31
|
+
palette?: PaletteControlOptions;
|
|
27
32
|
modelValue?: boolean;
|
|
28
33
|
disabled?: boolean;
|
|
29
34
|
label?: string;
|
|
@@ -47,6 +52,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
47
52
|
onDone?: ((value: boolean) => any) | undefined;
|
|
48
53
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
49
54
|
}>, {
|
|
55
|
+
palette: PaletteControlOptions;
|
|
50
56
|
labelPosition: "start" | "end";
|
|
51
57
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
52
58
|
default?: (props: {}) => any;
|
|
@@ -118,6 +118,12 @@ declare const _default: typeof __VLS_export;
|
|
|
118
118
|
export default _default;
|
|
119
119
|
declare const __VLS_export: <T extends Record<string, unknown>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
120
120
|
props: import("vue").PublicProps & __VLS_PrettifyLocal<{
|
|
121
|
+
/** Publish loaded rows and existing row actions to the enclosing command scope. */
|
|
122
|
+
palette?: false | {
|
|
123
|
+
id?: string;
|
|
124
|
+
label?: string;
|
|
125
|
+
labelKey?: keyof T;
|
|
126
|
+
};
|
|
121
127
|
columns: TableColumn<T>[];
|
|
122
128
|
/** The rows, for a table that holds its data. Ignored when `load` is set. */
|
|
123
129
|
rows?: T[];
|