@leavepulse/ui 0.70.0 → 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 +103 -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/LpRepeater-C1Cw27hj.css +21 -0
- package/dist/assets/{LpRollingText-BGnE6q9j.css → LpRollingText-dyOXedGO.css} +7 -0
- package/dist/assets/{LpTable-DHxEQ_-3.css → LpTable-DHvorDiU.css} +19 -19
- package/dist/assets/LpTabs-CO3EcsNV.css +18 -0
- package/dist/chunks/{ContextMenuItems-B5uE8Znw.js → ContextMenuItems-eS7qx9gD.js} +11 -5
- 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-CNnLTDZg.js → LpAddressInput-CD0bzrt-.js} +7 -7
- package/dist/chunks/{LpAlert-C5igj802.js → LpAlert-BHi7ARqu.js} +1 -1
- package/dist/chunks/{LpAppShell-CEUAB8kK.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-HOEPBYmi.js → LpBadge-C8fKEmTF.js} +2 -2
- package/dist/chunks/{LpBreadcrumbs-DYoPc3P4.js → LpBreadcrumbs-DhcoStFa.js} +2 -2
- 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-CIKKT2iW.js → LpCodeDisplay-BK2FHbtM.js} +6 -6
- package/dist/chunks/{LpColorPicker-DFugXNUi.js → LpColorPicker-Ee1DZiRd.js} +3 -3
- 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-COwOwRgI.js → LpContextMenu-DXpFJjlO.js} +17 -6
- package/dist/chunks/{LpCopyButton-DzHjnFs0.js → LpCopyButton-Dmq7DmFw.js} +3 -3
- package/dist/chunks/{LpCountdown-Dtq1ihlJ.js → LpCountdown-DTdMF8DL.js} +2 -2
- package/dist/chunks/{LpDataList-B-5nHfNw.js → LpDataList-CFPtSsBB.js} +7 -6
- package/dist/chunks/{LpDatePicker-BUe1VUC0.js → LpDatePicker-cC9K-Pk8.js} +7 -6
- package/dist/chunks/{LpDateRangePicker-C_k65vGR.js → LpDateRangePicker-BVQKPbvo.js} +5 -4
- 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-CRgrhdAH.js → LpDropdownMenu-BgZ0Z_Im.js} +17 -4
- package/dist/chunks/{LpEditable-DTqLt2lT.js → LpEditable-CjxuOVh_.js} +7 -5
- 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-DMISXVHC.js → LpFileTree-BH0gNlSJ.js} +2 -2
- package/dist/chunks/{LpFileTreeNode-CPXB_Yy3.js → LpFileTreeNode-gPVB1oXM.js} +4 -4
- package/dist/chunks/{LpFormField-BWwgm1E4.js → LpFormField-gRASfyj2.js} +4 -1
- package/dist/chunks/{LpGauge-Bk8TwJj0.js → LpGauge-BdjPGnqw.js} +2 -2
- package/dist/chunks/{LpHintLayer-p4hqzdyA.js → LpHintLayer-C2asBIfs.js} +2 -2
- package/dist/chunks/{LpHints-CCrhRfy9.js → LpHints-CNZQ76JV.js} +3 -3
- package/dist/chunks/{LpIcon-HJP5xMz4.js → LpIcon-DkP-9mzK.js} +1 -1
- package/dist/chunks/{LpInfraNode-CUC3t4na.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-elZHbj85.js → LpLogViewer-x78YfhJf.js} +5 -5
- package/dist/chunks/{LpMapPicker-BtIl7NOM.js → LpMapPicker-Dp5RSCi9.js} +1 -1
- package/dist/chunks/{LpMediaGallery-D5swlmZ_.js → LpMediaGallery-D92oJfY_.js} +3 -3
- package/dist/chunks/{LpModal-eBMt2Fqn.js → LpModal-CpH0bNo7.js} +1 -1
- package/dist/chunks/{LpModalNav-D4Z0wVHR.js → LpModalNav-BH4ANQGJ.js} +4 -4
- package/dist/chunks/{LpNotificationBell-DPZmP5dM.js → LpNotificationBell-BdUQqZhs.js} +8 -8
- 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-DTV18FIh.js → LpPasswordInput-BzAZsf5V.js} +14 -8
- package/dist/chunks/{LpPhoneInput-C60tx1tC.js → LpPhoneInput-BMpd-0QR.js} +2 -2
- package/dist/chunks/{LpPie-CFuV7pZv.js → LpPie-DdFSTbGE.js} +5 -5
- package/dist/chunks/{LpPipeline-D81yh_NX.js → LpPipeline-zjEM1Lwc.js} +4 -4
- package/dist/chunks/{LpPopover-BEIcqb9p.js → LpPopover-DmZ3wUtP.js} +6 -5
- package/dist/chunks/{LpProgress-CE-m5OpD.js → LpProgress-BX33EKkN.js} +1 -1
- package/dist/chunks/{LpQuota-2Sw_gqcJ.js → LpQuota-DqNv1yjs.js} +3 -3
- 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-CKzVqAo9.js → LpRelativeTime-UM8EkfrN.js} +2 -2
- package/dist/chunks/LpRepeater-OvzByE5L.js +180 -0
- package/dist/chunks/{LpRollingText-DB7upf-5.js → LpRollingText-DiL717LK.js} +4 -3
- package/dist/chunks/{LpSecretField-DMfdJ1cQ.js → LpSecretField-DwQiPOko.js} +27 -16
- 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-B4f_yRi5.js → LpSelect-DYX2-u5A.js} +43 -18
- package/dist/chunks/{LpSidebar-D-M0Y_7U.js → LpSidebar-D44peKq2.js} +3 -3
- package/dist/chunks/{LpSidebarNav-DF-TYxOV.js → LpSidebarNav--VwkXO_a.js} +3 -3
- package/dist/chunks/{LpSlider-DuoRpOrH.js → LpSlider-DxYoCJJO.js} +3 -0
- package/dist/chunks/{LpStat-B2ix1Q7t.js → LpStat-DIsQfbeD.js} +3 -3
- package/dist/chunks/{LpStatus-C7kx5PKE.js → LpStatus-BQU1TUsv.js} +2 -2
- package/dist/chunks/{LpStepMark-DK-5BKAt.js → LpStepMark-CXa7DJy_.js} +2 -2
- package/dist/chunks/{LpStepper-DRFfdJaq.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-DgpBFRV2.js → LpTagsInput-DrjmrOge.js} +8 -5
- package/dist/chunks/{LpTextarea-DiWjeVoJ.js → LpTextarea-BbYqmG1S.js} +4 -1
- package/dist/chunks/{LpThemeStudio-DguwHdGt.js → LpThemeStudio-B2nPaG-h.js} +18 -14
- package/dist/chunks/{LpThemeSwitcher-D5uz0MhK.js → LpThemeSwitcher-C0A5sg_E.js} +6 -4
- 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-ZhKthfgz.js → LpTopologyCanvas-B0wEvAoq.js} +1 -1
- package/dist/chunks/{LpTour-NfRJNEIP.js → LpTour-BgCfNlaW.js} +1 -1
- package/dist/chunks/{LpTruncate-D_5Pfv5B.js → LpTruncate-TcqfkyJM.js} +2 -2
- package/dist/chunks/{LpUptimeBar-DWegV2p6.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-CHRS1h7K.js → PickerField-DwLw7j0L.js} +26 -17
- package/dist/chunks/{RevealToggle-C-KzaQGJ.js → RevealToggle-BVFM_FAU.js} +3 -3
- package/dist/chunks/{TourCard-BXuVHsfn.js → TourCard--2IfgnUU.js} +3 -3
- 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 +27 -25
- 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.d.ts +2 -0
- package/dist/components/LpDatePicker.vue.js +1 -1
- package/dist/components/LpDateRangePicker.vue.d.ts +2 -0
- 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.d.ts +7 -1
- package/dist/components/LpPasswordInput.vue.js +1 -1
- package/dist/components/LpPhoneInput.vue.js +1 -1
- package/dist/components/LpPie.vue.js +1 -1
- package/dist/components/LpPipeline.vue.js +1 -1
- package/dist/components/LpPopover.vue.js +1 -1
- package/dist/components/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/LpRollingText.vue.d.ts +2 -0
- package/dist/components/LpRollingText.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 +15 -6
- 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.d.ts +5 -3
- 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 +9 -0
- package/dist/composables/useField.js +24 -1
- package/dist/composables/useForm.js +13 -4
- 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 +9 -2
- package/dist/icons-all.js +1 -1
- package/dist/index.d.ts +14 -1
- package/dist/index.js +103 -87
- package/dist/theme/palette.d.ts +9 -0
- package/dist/theme/studio.d.ts +12 -1
- package/package.json +4 -1
- package/src/component-names.ts +2 -0
- package/src/components/ContextMenuItems.vue +5 -2
- package/src/components/LpAutocomplete.vue +6 -1
- package/src/components/LpButton.vue +5 -1
- package/src/components/LpChart.vue +19 -17
- 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 +17 -5
- package/src/components/LpDataList.vue +2 -2
- package/src/components/LpDatePicker.vue +2 -0
- package/src/components/LpDateRangePicker.vue +2 -0
- package/src/components/LpDisclosure.vue +5 -1
- package/src/components/LpDropdownMenu.vue +14 -3
- package/src/components/LpEditable.vue +3 -1
- 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 +13 -5
- package/src/components/LpPopover.vue +4 -0
- package/src/components/LpRadioGroup.vue +4 -1
- package/src/components/LpRangeSlider.vue +6 -1
- package/src/components/LpRepeater.vue +64 -13
- package/src/components/LpRollingText.vue +12 -1
- package/src/components/LpSecretField.vue +18 -8
- package/src/components/LpSegmented.vue +6 -1
- package/src/components/LpSelect.vue +44 -10
- 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/PickerField.vue +5 -4
- 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 +33 -1
- package/src/composables/useForm.ts +14 -5
- package/src/composables/usePaletteCommands.ts +220 -0
- package/src/composables/useReveal.ts +29 -0
- package/src/composables/useView.ts +8 -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/LpRepeater-D0VjmD6y.js +0 -140
- package/dist/chunks/icons-4IywzkHk.js +0 -43
|
@@ -1,17 +1,19 @@
|
|
|
1
|
-
import { defineComponent, openBlock, createElementBlock, normalizeClass, toDisplayString, createCommentVNode, createElementVNode, Fragment, renderList, normalizeStyle, createBlock, createVNode, renderSlot } from "vue";
|
|
2
|
-
import { _ as _sfc_main$
|
|
3
|
-
import { _ as _sfc_main$1 } from "../chunks/LpIcon-
|
|
4
|
-
import { _ as _sfc_main$
|
|
1
|
+
import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, toDisplayString, createCommentVNode, createElementVNode, Fragment, renderList, normalizeStyle, createBlock, createVNode, renderSlot } from "vue";
|
|
2
|
+
import { _ as _sfc_main$3 } from "../chunks/HighlightText-BvnYZkhi.js";
|
|
3
|
+
import { _ as _sfc_main$1 } from "../chunks/LpIcon-DkP-9mzK.js";
|
|
4
|
+
import { _ as _sfc_main$4 } from "../chunks/LpRollingText-DiL717LK.js";
|
|
5
|
+
import { _ as _sfc_main$2 } from "../chunks/LpSkeleton-BB6XIV-w.js";
|
|
5
6
|
import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper-1tPrXgE0.js";
|
|
6
|
-
import '../assets/LpPaletteFacts-
|
|
7
|
+
import '../assets/LpPaletteFacts-CVNh5ICn.css';const _hoisted_1 = ["aria-busy"];
|
|
8
|
+
const _hoisted_2 = {
|
|
7
9
|
key: 0,
|
|
8
10
|
class: "lp-palette-facts__title"
|
|
9
11
|
};
|
|
10
|
-
const
|
|
11
|
-
const
|
|
12
|
-
const
|
|
13
|
-
const
|
|
14
|
-
const
|
|
12
|
+
const _hoisted_3 = { class: "lp-palette-facts__list" };
|
|
13
|
+
const _hoisted_4 = ["aria-current"];
|
|
14
|
+
const _hoisted_5 = { class: "lp-palette-facts__label" };
|
|
15
|
+
const _hoisted_6 = { class: "lp-palette-facts__name" };
|
|
16
|
+
const _hoisted_7 = {
|
|
15
17
|
key: 0,
|
|
16
18
|
class: "lp-palette-facts__hint"
|
|
17
19
|
};
|
|
@@ -19,17 +21,21 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
19
21
|
__name: "LpPaletteFacts",
|
|
20
22
|
props: {
|
|
21
23
|
items: {},
|
|
24
|
+
loading: { type: Boolean },
|
|
22
25
|
title: {},
|
|
23
26
|
plain: { type: Boolean, default: false }
|
|
24
27
|
},
|
|
25
28
|
setup(__props) {
|
|
29
|
+
const props = __props;
|
|
30
|
+
const shown = computed(() => props.loading && !props.items.length ? Array.from({ length: 3 }, () => ({ label: "", value: "—" })) : props.items);
|
|
26
31
|
return (_ctx, _cache) => {
|
|
27
32
|
return openBlock(), createElementBlock("section", {
|
|
28
|
-
class: normalizeClass(["lp-palette-facts", { "lp-palette-facts--plain": __props.plain }])
|
|
33
|
+
class: normalizeClass(["lp-palette-facts", { "lp-palette-facts--plain": __props.plain }]),
|
|
34
|
+
"aria-busy": __props.loading || void 0
|
|
29
35
|
}, [
|
|
30
|
-
__props.title ? (openBlock(), createElementBlock("p",
|
|
31
|
-
createElementVNode("ul",
|
|
32
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(
|
|
36
|
+
__props.title ? (openBlock(), createElementBlock("p", _hoisted_2, toDisplayString(__props.title), 1)) : createCommentVNode("", true),
|
|
37
|
+
createElementVNode("ul", _hoisted_3, [
|
|
38
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(shown.value, (item, index) => {
|
|
33
39
|
return openBlock(), createElementBlock("li", {
|
|
34
40
|
key: index,
|
|
35
41
|
class: normalizeClass(["lp-palette-facts__row", { "is-current": item.current }]),
|
|
@@ -45,41 +51,49 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
45
51
|
size: 15,
|
|
46
52
|
class: "lp-palette-facts__icon"
|
|
47
53
|
}, null, 8, ["name"])) : createCommentVNode("", true),
|
|
48
|
-
createElementVNode("span",
|
|
49
|
-
createElementVNode("span",
|
|
50
|
-
|
|
54
|
+
createElementVNode("span", _hoisted_5, [
|
|
55
|
+
createElementVNode("span", _hoisted_6, [
|
|
56
|
+
__props.loading && !item.label ? (openBlock(), createBlock(_sfc_main$2, {
|
|
57
|
+
key: 0,
|
|
58
|
+
class: "h-3 w-24"
|
|
59
|
+
})) : (openBlock(), createBlock(_sfc_main$3, {
|
|
60
|
+
key: 1,
|
|
51
61
|
text: item.label
|
|
52
|
-
}, null, 8, ["text"])
|
|
62
|
+
}, null, 8, ["text"]))
|
|
53
63
|
]),
|
|
54
|
-
item.hint?.length ? (openBlock(), createElementBlock("span",
|
|
55
|
-
createVNode(_sfc_main$
|
|
64
|
+
item.hint?.length ? (openBlock(), createElementBlock("span", _hoisted_7, [
|
|
65
|
+
createVNode(_sfc_main$3, {
|
|
56
66
|
text: item.hint
|
|
57
67
|
}, null, 8, ["text"])
|
|
58
68
|
])) : createCommentVNode("", true)
|
|
59
69
|
]),
|
|
60
|
-
item.value !== void 0 && item.value !== "" || _ctx.$slots.value ? (openBlock(), createElementBlock("span", {
|
|
70
|
+
__props.loading || item.value !== void 0 && item.value !== "" || _ctx.$slots.value ? (openBlock(), createElementBlock("span", {
|
|
61
71
|
key: 2,
|
|
62
72
|
class: normalizeClass(["lp-palette-facts__value", { "lp-palette-facts__value--mono": item.mono }])
|
|
63
73
|
}, [
|
|
64
|
-
|
|
74
|
+
__props.loading ? (openBlock(), createBlock(_sfc_main$2, {
|
|
75
|
+
key: 0,
|
|
76
|
+
class: "h-3 w-16 max-w-full"
|
|
77
|
+
})) : renderSlot(_ctx.$slots, "value", {
|
|
78
|
+
key: 1,
|
|
65
79
|
item,
|
|
66
80
|
index
|
|
67
81
|
}, () => [
|
|
68
|
-
item.value !== void 0 ? (openBlock(), createBlock(_sfc_main$
|
|
82
|
+
item.value !== void 0 ? (openBlock(), createBlock(_sfc_main$4, {
|
|
69
83
|
key: 0,
|
|
70
84
|
value: item.value,
|
|
71
85
|
align: "end"
|
|
72
86
|
}, null, 8, ["value"])) : createCommentVNode("", true)
|
|
73
87
|
], true)
|
|
74
88
|
], 2)) : createCommentVNode("", true)
|
|
75
|
-
], 10,
|
|
89
|
+
], 10, _hoisted_4);
|
|
76
90
|
}), 128))
|
|
77
91
|
])
|
|
78
|
-
],
|
|
92
|
+
], 10, _hoisted_1);
|
|
79
93
|
};
|
|
80
94
|
}
|
|
81
95
|
});
|
|
82
|
-
const LpPaletteFacts = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
96
|
+
const LpPaletteFacts = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-949a8890"]]);
|
|
83
97
|
export {
|
|
84
98
|
LpPaletteFacts as default
|
|
85
99
|
};
|
|
@@ -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;
|
|
@@ -9,6 +9,8 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
9
9
|
placeholder?: string;
|
|
10
10
|
invalid?: boolean;
|
|
11
11
|
disabled?: boolean;
|
|
12
|
+
/** Offer the show/hide button. When false, the field stays masked. */
|
|
13
|
+
revealable?: boolean;
|
|
12
14
|
label?: string;
|
|
13
15
|
hint?: string;
|
|
14
16
|
error?: string;
|
|
@@ -32,6 +34,8 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
32
34
|
placeholder?: string;
|
|
33
35
|
invalid?: boolean;
|
|
34
36
|
disabled?: boolean;
|
|
37
|
+
/** Offer the show/hide button. When false, the field stays masked. */
|
|
38
|
+
revealable?: boolean;
|
|
35
39
|
label?: string;
|
|
36
40
|
hint?: string;
|
|
37
41
|
error?: string;
|
|
@@ -45,7 +49,9 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
45
49
|
}> & Readonly<{
|
|
46
50
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
47
51
|
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
48
|
-
}>, {
|
|
52
|
+
}>, {
|
|
53
|
+
revealable: boolean;
|
|
54
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
49
55
|
leading?: (props: {}) => any;
|
|
50
56
|
} & {
|
|
51
57
|
actions?: (props: {}) => any;
|
|
@@ -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;
|
|
@@ -10,6 +10,8 @@ type __VLS_Props = {
|
|
|
10
10
|
* width — a value that grows shouldn't shove its neighbours.
|
|
11
11
|
*/
|
|
12
12
|
align?: "start" | "center" | "end";
|
|
13
|
+
/** Wrap to the available width instead of keeping a single line. */
|
|
14
|
+
wrap?: boolean;
|
|
13
15
|
};
|
|
14
16
|
declare var __VLS_7: {
|
|
15
17
|
value: string | 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;
|