@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.
Files changed (345) hide show
  1. package/README.md +103 -0
  2. package/dist/assets/{LpCommandPalette-u-zOxKWa.css → LpCommandPalette-DgPZX0us.css} +24 -17
  3. package/dist/assets/{LpPaletteFacts-B9FdVmIO.css → LpPaletteFacts-CVNh5ICn.css} +16 -16
  4. package/dist/assets/{LpPaletteStats-ClE-37MK.css → LpPaletteStats-ZiZmR6vz.css} +5 -5
  5. package/dist/assets/LpRepeater-C1Cw27hj.css +21 -0
  6. package/dist/assets/{LpRollingText-BGnE6q9j.css → LpRollingText-dyOXedGO.css} +7 -0
  7. package/dist/assets/{LpTable-DHxEQ_-3.css → LpTable-DHvorDiU.css} +19 -19
  8. package/dist/assets/LpTabs-CO3EcsNV.css +18 -0
  9. package/dist/chunks/{ContextMenuItems-B5uE8Znw.js → ContextMenuItems-eS7qx9gD.js} +11 -5
  10. package/dist/chunks/{DropzoneLinkField-Bw8Flkhk.js → DropzoneLinkField-DkFhdfEJ.js} +2 -2
  11. package/dist/chunks/{FieldWrapper-BiennROB.js → FieldWrapper-YzbvvC3M.js} +1 -1
  12. package/dist/chunks/{LayoutCanvas-BsJIzhdd.js → LayoutCanvas-Ba4A9QC5.js} +1 -1
  13. package/dist/chunks/{LayoutNode-DJVhkSGk.js → LayoutNode-CTTTLMDM.js} +1 -1
  14. package/dist/chunks/{LpActionBar-CzOFar5t.js → LpActionBar-B7anGlkI.js} +2 -2
  15. package/dist/chunks/{LpAddressInput-CNnLTDZg.js → LpAddressInput-CD0bzrt-.js} +7 -7
  16. package/dist/chunks/{LpAlert-C5igj802.js → LpAlert-BHi7ARqu.js} +1 -1
  17. package/dist/chunks/{LpAppShell-CEUAB8kK.js → LpAppShell-1RmBp6xQ.js} +3 -3
  18. package/dist/chunks/{LpAutocomplete-D92niDHE.js → LpAutocomplete-DDqe2M5g.js} +5 -2
  19. package/dist/chunks/{LpAvatar-CLPl-qOF.js → LpAvatar-DqfKCIdr.js} +1 -1
  20. package/dist/chunks/{LpBadge-HOEPBYmi.js → LpBadge-C8fKEmTF.js} +2 -2
  21. package/dist/chunks/{LpBreadcrumbs-DYoPc3P4.js → LpBreadcrumbs-DhcoStFa.js} +2 -2
  22. package/dist/chunks/{LpButton-CVxBfGjd.js → LpButton-BQDAFXBd.js} +3 -0
  23. package/dist/chunks/{LpCalendar-pVL91-Pl.js → LpCalendar-NmrA47J9.js} +1 -1
  24. package/dist/chunks/{LpCheckbox-DHc2bHDe.js → LpCheckbox-BoOuLnGB.js} +5 -2
  25. package/dist/chunks/{LpCodeBlock-BGsQhxw8.js → LpCodeBlock-Czu-fq1M.js} +2 -2
  26. package/dist/chunks/{LpCodeDisplay-CIKKT2iW.js → LpCodeDisplay-BK2FHbtM.js} +6 -6
  27. package/dist/chunks/{LpColorPicker-DFugXNUi.js → LpColorPicker-Ee1DZiRd.js} +3 -3
  28. package/dist/chunks/LpCommandScope-ubtWDMa0.js +53 -0
  29. package/dist/chunks/{LpConfirmDialog-CfGCux8m.js → LpConfirmDialog-i15pulMT.js} +3 -3
  30. package/dist/chunks/{LpConfirmHost-exB7JmcO.js → LpConfirmHost-D0oGavtd.js} +1 -1
  31. package/dist/chunks/{LpContextMenu-COwOwRgI.js → LpContextMenu-DXpFJjlO.js} +17 -6
  32. package/dist/chunks/{LpCopyButton-DzHjnFs0.js → LpCopyButton-Dmq7DmFw.js} +3 -3
  33. package/dist/chunks/{LpCountdown-Dtq1ihlJ.js → LpCountdown-DTdMF8DL.js} +2 -2
  34. package/dist/chunks/{LpDataList-B-5nHfNw.js → LpDataList-CFPtSsBB.js} +7 -6
  35. package/dist/chunks/{LpDatePicker-BUe1VUC0.js → LpDatePicker-cC9K-Pk8.js} +7 -6
  36. package/dist/chunks/{LpDateRangePicker-C_k65vGR.js → LpDateRangePicker-BVQKPbvo.js} +5 -4
  37. package/dist/chunks/{LpDisclosure-DOarzlAG.js → LpDisclosure-hRnX3FWL.js} +4 -1
  38. package/dist/chunks/{LpDrawer-DGNKRsGq.js → LpDrawer-u4rxnuR-.js} +1 -1
  39. package/dist/chunks/{LpDropdownMenu-CRgrhdAH.js → LpDropdownMenu-BgZ0Z_Im.js} +17 -4
  40. package/dist/chunks/{LpEditable-DTqLt2lT.js → LpEditable-CjxuOVh_.js} +7 -5
  41. package/dist/chunks/{LpEmptyState-KTKipws2.js → LpEmptyState-CKFTtQgJ.js} +1 -1
  42. package/dist/chunks/{LpFieldNotice-CurbNuXI.js → LpFieldNotice-CPI8EwtU.js} +1 -1
  43. package/dist/chunks/{LpFileTree-DMISXVHC.js → LpFileTree-BH0gNlSJ.js} +2 -2
  44. package/dist/chunks/{LpFileTreeNode-CPXB_Yy3.js → LpFileTreeNode-gPVB1oXM.js} +4 -4
  45. package/dist/chunks/{LpFormField-BWwgm1E4.js → LpFormField-gRASfyj2.js} +4 -1
  46. package/dist/chunks/{LpGauge-Bk8TwJj0.js → LpGauge-BdjPGnqw.js} +2 -2
  47. package/dist/chunks/{LpHintLayer-p4hqzdyA.js → LpHintLayer-C2asBIfs.js} +2 -2
  48. package/dist/chunks/{LpHints-CCrhRfy9.js → LpHints-CNZQ76JV.js} +3 -3
  49. package/dist/chunks/{LpIcon-HJP5xMz4.js → LpIcon-DkP-9mzK.js} +1 -1
  50. package/dist/chunks/{LpInfraNode-CUC3t4na.js → LpInfraNode-yTh4-5qa.js} +2 -2
  51. package/dist/chunks/{LpInput-CDuwODJG.js → LpInput-2H-5ILOB.js} +5 -2
  52. package/dist/chunks/{LpLightbox-XJ0LpTcZ.js → LpLightbox-lAt5uIfx.js} +2 -2
  53. package/dist/chunks/{LpLogViewer-elZHbj85.js → LpLogViewer-x78YfhJf.js} +5 -5
  54. package/dist/chunks/{LpMapPicker-BtIl7NOM.js → LpMapPicker-Dp5RSCi9.js} +1 -1
  55. package/dist/chunks/{LpMediaGallery-D5swlmZ_.js → LpMediaGallery-D92oJfY_.js} +3 -3
  56. package/dist/chunks/{LpModal-eBMt2Fqn.js → LpModal-CpH0bNo7.js} +1 -1
  57. package/dist/chunks/{LpModalNav-D4Z0wVHR.js → LpModalNav-BH4ANQGJ.js} +4 -4
  58. package/dist/chunks/{LpNotificationBell-DPZmP5dM.js → LpNotificationBell-BdUQqZhs.js} +8 -8
  59. package/dist/chunks/{LpNumberField-B9k-h2HE.js → LpNumberField-DZY3Z670.js} +4 -1
  60. package/dist/chunks/{LpNumberFlow-Cfyh033Q.js → LpNumberFlow-5khYxsfX.js} +6 -3
  61. package/dist/chunks/{LpPagination-VNCX6pFC.js → LpPagination-DbeACavM.js} +1 -1
  62. package/dist/chunks/LpPaletteTheme-CqWNRwHE.js +104 -0
  63. package/dist/chunks/{LpPasswordInput-DTV18FIh.js → LpPasswordInput-BzAZsf5V.js} +14 -8
  64. package/dist/chunks/{LpPhoneInput-C60tx1tC.js → LpPhoneInput-BMpd-0QR.js} +2 -2
  65. package/dist/chunks/{LpPie-CFuV7pZv.js → LpPie-DdFSTbGE.js} +5 -5
  66. package/dist/chunks/{LpPipeline-D81yh_NX.js → LpPipeline-zjEM1Lwc.js} +4 -4
  67. package/dist/chunks/{LpPopover-BEIcqb9p.js → LpPopover-DmZ3wUtP.js} +6 -5
  68. package/dist/chunks/{LpProgress-CE-m5OpD.js → LpProgress-BX33EKkN.js} +1 -1
  69. package/dist/chunks/{LpQuota-2Sw_gqcJ.js → LpQuota-DqNv1yjs.js} +3 -3
  70. package/dist/chunks/{LpRadioGroup-CGBr5nIp.js → LpRadioGroup-CsXeV9Ct.js} +4 -1
  71. package/dist/chunks/{LpRangeCalendar-c5qj7YcC.js → LpRangeCalendar-l-0nSFmY.js} +1 -1
  72. package/dist/chunks/{LpRangeSlider-Dv6lNvHY.js → LpRangeSlider-CM-0ZITZ.js} +3 -0
  73. package/dist/chunks/{LpRelativeTime-CKzVqAo9.js → LpRelativeTime-UM8EkfrN.js} +2 -2
  74. package/dist/chunks/LpRepeater-OvzByE5L.js +180 -0
  75. package/dist/chunks/{LpRollingText-DB7upf-5.js → LpRollingText-DiL717LK.js} +4 -3
  76. package/dist/chunks/{LpSecretField-DMfdJ1cQ.js → LpSecretField-DwQiPOko.js} +27 -16
  77. package/dist/chunks/{LpSection-BW4xJ-Li.js → LpSection-DcQsieHG.js} +1 -1
  78. package/dist/chunks/{LpSegmented-BO99Sr4m.js → LpSegmented-D2VST0o3.js} +4 -1
  79. package/dist/chunks/{LpSelect-B4f_yRi5.js → LpSelect-DYX2-u5A.js} +43 -18
  80. package/dist/chunks/{LpSidebar-D-M0Y_7U.js → LpSidebar-D44peKq2.js} +3 -3
  81. package/dist/chunks/{LpSidebarNav-DF-TYxOV.js → LpSidebarNav--VwkXO_a.js} +3 -3
  82. package/dist/chunks/{LpSlider-DuoRpOrH.js → LpSlider-DxYoCJJO.js} +3 -0
  83. package/dist/chunks/{LpStat-B2ix1Q7t.js → LpStat-DIsQfbeD.js} +3 -3
  84. package/dist/chunks/{LpStatus-C7kx5PKE.js → LpStatus-BQU1TUsv.js} +2 -2
  85. package/dist/chunks/{LpStepMark-DK-5BKAt.js → LpStepMark-CXa7DJy_.js} +2 -2
  86. package/dist/chunks/{LpStepper-DRFfdJaq.js → LpStepper-C9RM_yTG.js} +1 -1
  87. package/dist/chunks/{LpSwitch-DrzKrZZV.js → LpSwitch-bGZxUDSx.js} +3 -0
  88. package/dist/chunks/{LpTableFilter-DyvHGbOk.js → LpTableFilter-CTZMqFDU.js} +2 -2
  89. package/dist/chunks/{LpTableOfContents-rYvo8z5T.js → LpTableOfContents-CraicEs4.js} +2 -2
  90. package/dist/chunks/{LpTagsInput-DgpBFRV2.js → LpTagsInput-DrjmrOge.js} +8 -5
  91. package/dist/chunks/{LpTextarea-DiWjeVoJ.js → LpTextarea-BbYqmG1S.js} +4 -1
  92. package/dist/chunks/{LpThemeStudio-DguwHdGt.js → LpThemeStudio-B2nPaG-h.js} +18 -14
  93. package/dist/chunks/{LpThemeSwitcher-D5uz0MhK.js → LpThemeSwitcher-C0A5sg_E.js} +6 -4
  94. package/dist/chunks/{LpTimeField-BFQVf_PW.js → LpTimeField-DQ8WvPr2.js} +4 -1
  95. package/dist/chunks/{LpToaster-Wv9ksj4q.js → LpToaster-BTTl_wuy.js} +2 -2
  96. package/dist/chunks/{LpTooltip-Cz8SQwRt.js → LpTooltip-BcBvIx4z.js} +23 -5
  97. package/dist/chunks/{LpTopologyCanvas-ZhKthfgz.js → LpTopologyCanvas-B0wEvAoq.js} +1 -1
  98. package/dist/chunks/{LpTour-NfRJNEIP.js → LpTour-BgCfNlaW.js} +1 -1
  99. package/dist/chunks/{LpTruncate-D_5Pfv5B.js → LpTruncate-TcqfkyJM.js} +2 -2
  100. package/dist/chunks/{LpUptimeBar-DWegV2p6.js → LpUptimeBar-DRadGq4Y.js} +136 -47
  101. package/dist/chunks/{MenuTitle-BjQZX8tQ.js → MenuTitle-Dab3EGOp.js} +1 -1
  102. package/dist/chunks/{OptionContent-CmYUUeWj.js → OptionContent-DPzNsybd.js} +1 -1
  103. package/dist/chunks/PalettePreviewBoundary-B0Hhu3Yw.js +20 -0
  104. package/dist/chunks/{PickerField-CHRS1h7K.js → PickerField-DwLw7j0L.js} +26 -17
  105. package/dist/chunks/{RevealToggle-C-KzaQGJ.js → RevealToggle-BVFM_FAU.js} +3 -3
  106. package/dist/chunks/{TourCard-BXuVHsfn.js → TourCard--2IfgnUU.js} +3 -3
  107. package/dist/chunks/icons-CLu1iR1j.js +43 -0
  108. package/dist/chunks/palette-BiY7yQZL.js +29 -0
  109. package/dist/component-names.d.ts +1 -1
  110. package/dist/components/ContextMenuItems.vue.js +1 -1
  111. package/dist/components/DropzoneLinkField.vue.js +1 -1
  112. package/dist/components/FieldWrapper.vue.js +1 -1
  113. package/dist/components/LayoutCanvas.vue.js +1 -1
  114. package/dist/components/LayoutNode.vue.js +1 -1
  115. package/dist/components/LpActionBar.vue.js +1 -1
  116. package/dist/components/LpAddressInput.vue.d.ts +1 -1
  117. package/dist/components/LpAddressInput.vue.js +1 -1
  118. package/dist/components/LpAlert.vue.d.ts +3 -3
  119. package/dist/components/LpAlert.vue.js +1 -1
  120. package/dist/components/LpAppShell.vue.js +1 -1
  121. package/dist/components/LpAutocomplete.vue.d.ts +7 -1
  122. package/dist/components/LpAutocomplete.vue.js +1 -1
  123. package/dist/components/LpAvatar.vue.js +1 -1
  124. package/dist/components/LpBadge.vue.d.ts +2 -2
  125. package/dist/components/LpBadge.vue.js +1 -1
  126. package/dist/components/LpBreadcrumbs.vue.js +1 -1
  127. package/dist/components/LpButton.vue.d.ts +4 -0
  128. package/dist/components/LpButton.vue.js +1 -1
  129. package/dist/components/LpCalendar.vue.js +1 -1
  130. package/dist/components/LpChart.vue.js +27 -25
  131. package/dist/components/LpCheckbox.vue.d.ts +8 -1
  132. package/dist/components/LpCheckbox.vue.js +1 -1
  133. package/dist/components/LpCodeBlock.vue.js +1 -1
  134. package/dist/components/LpCodeDisplay.vue.js +1 -1
  135. package/dist/components/LpColorPicker.vue.d.ts +2 -2
  136. package/dist/components/LpColorPicker.vue.js +1 -1
  137. package/dist/components/LpCommandPalette.vue.d.ts +43 -7
  138. package/dist/components/LpCommandPalette.vue.js +451 -126
  139. package/dist/components/LpCommandScope.vue.d.ts +28 -0
  140. package/dist/components/LpCommandScope.vue.js +4 -0
  141. package/dist/components/LpConfirmDialog.vue.js +1 -1
  142. package/dist/components/LpConfirmHost.vue.js +1 -1
  143. package/dist/components/LpContextMenu.vue.d.ts +5 -1
  144. package/dist/components/LpContextMenu.vue.js +1 -1
  145. package/dist/components/LpCopyButton.vue.d.ts +1 -1
  146. package/dist/components/LpCopyButton.vue.js +1 -1
  147. package/dist/components/LpCountdown.vue.js +1 -1
  148. package/dist/components/LpDataList.vue.js +1 -1
  149. package/dist/components/LpDatePicker.vue.d.ts +2 -0
  150. package/dist/components/LpDatePicker.vue.js +1 -1
  151. package/dist/components/LpDateRangePicker.vue.d.ts +2 -0
  152. package/dist/components/LpDateRangePicker.vue.js +1 -1
  153. package/dist/components/LpDisclosure.vue.d.ts +4 -0
  154. package/dist/components/LpDisclosure.vue.js +1 -1
  155. package/dist/components/LpDock.vue.js +2 -2
  156. package/dist/components/LpDrawer.vue.js +1 -1
  157. package/dist/components/LpDropdownMenu.vue.d.ts +5 -1
  158. package/dist/components/LpDropdownMenu.vue.js +1 -1
  159. package/dist/components/LpDropzone.vue.js +2 -2
  160. package/dist/components/LpEditable.vue.js +1 -1
  161. package/dist/components/LpEmptyState.vue.js +1 -1
  162. package/dist/components/LpFieldNotice.vue.js +1 -1
  163. package/dist/components/LpFileTree.vue.d.ts +1 -1
  164. package/dist/components/LpFileTree.vue.js +1 -1
  165. package/dist/components/LpFileTreeNode.vue.js +1 -1
  166. package/dist/components/LpFormField.vue.js +1 -1
  167. package/dist/components/LpGauge.vue.js +1 -1
  168. package/dist/components/LpHintLayer.vue.js +1 -1
  169. package/dist/components/LpHints.vue.js +1 -1
  170. package/dist/components/LpIcon.vue.js +1 -1
  171. package/dist/components/LpImageEditor.vue.js +3 -2
  172. package/dist/components/LpInfraNode.vue.js +1 -1
  173. package/dist/components/LpInput.vue.d.ts +6 -0
  174. package/dist/components/LpInput.vue.js +1 -1
  175. package/dist/components/LpLightbox.vue.js +1 -1
  176. package/dist/components/LpLoader.vue.d.ts +1 -1
  177. package/dist/components/LpLogViewer.vue.js +1 -1
  178. package/dist/components/LpMapPicker.vue.js +1 -1
  179. package/dist/components/LpMediaGallery.vue.d.ts +2 -2
  180. package/dist/components/LpMediaGallery.vue.js +1 -1
  181. package/dist/components/LpModal.vue.js +1 -1
  182. package/dist/components/LpModalNav.vue.js +1 -1
  183. package/dist/components/LpNotificationBell.vue.js +1 -1
  184. package/dist/components/LpNumberField.vue.d.ts +6 -0
  185. package/dist/components/LpNumberField.vue.js +1 -1
  186. package/dist/components/LpNumberFlow.vue.js +1 -1
  187. package/dist/components/LpPagination.vue.js +1 -1
  188. package/dist/components/LpPaletteFacts.vue.d.ts +1 -0
  189. package/dist/components/LpPaletteFacts.vue.js +40 -26
  190. package/dist/components/LpPaletteHeader.vue.js +2 -2
  191. package/dist/components/LpPaletteStats.vue.d.ts +1 -0
  192. package/dist/components/LpPaletteStats.vue.js +45 -21
  193. package/dist/components/LpPaletteTheme.vue.d.ts +7 -0
  194. package/dist/components/LpPaletteTheme.vue.js +4 -0
  195. package/dist/components/LpPasswordInput.vue.d.ts +7 -1
  196. package/dist/components/LpPasswordInput.vue.js +1 -1
  197. package/dist/components/LpPhoneInput.vue.js +1 -1
  198. package/dist/components/LpPie.vue.js +1 -1
  199. package/dist/components/LpPipeline.vue.js +1 -1
  200. package/dist/components/LpPopover.vue.js +1 -1
  201. package/dist/components/LpProgress.vue.d.ts +1 -1
  202. package/dist/components/LpProgress.vue.js +1 -1
  203. package/dist/components/LpQuota.vue.js +1 -1
  204. package/dist/components/LpRadioGroup.vue.d.ts +6 -1
  205. package/dist/components/LpRadioGroup.vue.js +1 -1
  206. package/dist/components/LpRangeCalendar.vue.js +1 -1
  207. package/dist/components/LpRangeSlider.vue.d.ts +6 -0
  208. package/dist/components/LpRangeSlider.vue.js +1 -1
  209. package/dist/components/LpRelativeTime.vue.js +1 -1
  210. package/dist/components/LpRepeater.vue.js +1 -1
  211. package/dist/components/LpRollingText.vue.d.ts +2 -0
  212. package/dist/components/LpRollingText.vue.js +1 -1
  213. package/dist/components/LpSecretField.vue.js +1 -1
  214. package/dist/components/LpSection.vue.js +1 -1
  215. package/dist/components/LpSegmented.vue.d.ts +6 -0
  216. package/dist/components/LpSegmented.vue.js +1 -1
  217. package/dist/components/LpSelect.vue.d.ts +3 -0
  218. package/dist/components/LpSelect.vue.js +1 -1
  219. package/dist/components/LpShinyText.vue.d.ts +1 -1
  220. package/dist/components/LpShortcutsDialog.vue.js +1 -1
  221. package/dist/components/LpSidebar.vue.js +1 -1
  222. package/dist/components/LpSidebarNav.vue.js +1 -1
  223. package/dist/components/LpSlider.vue.d.ts +6 -0
  224. package/dist/components/LpSlider.vue.js +1 -1
  225. package/dist/components/LpStat.vue.js +1 -1
  226. package/dist/components/LpStatus.vue.js +1 -1
  227. package/dist/components/LpStepMark.vue.js +1 -1
  228. package/dist/components/LpStepper.vue.js +1 -1
  229. package/dist/components/LpSwitch.vue.d.ts +6 -0
  230. package/dist/components/LpSwitch.vue.js +1 -1
  231. package/dist/components/LpTable.vue.d.ts +6 -0
  232. package/dist/components/LpTable.vue.js +74 -35
  233. package/dist/components/LpTableFilter.vue.js +1 -1
  234. package/dist/components/LpTableOfContents.vue.js +1 -1
  235. package/dist/components/LpTabs.vue.d.ts +1 -1
  236. package/dist/components/LpTabs.vue.js +15 -6
  237. package/dist/components/LpTagsInput.vue.d.ts +6 -0
  238. package/dist/components/LpTagsInput.vue.js +1 -1
  239. package/dist/components/LpTextarea.vue.d.ts +8 -1
  240. package/dist/components/LpTextarea.vue.js +1 -1
  241. package/dist/components/LpThemeStudio.vue.js +1 -1
  242. package/dist/components/LpThemeSwitcher.vue.js +1 -1
  243. package/dist/components/LpTimeField.vue.d.ts +6 -0
  244. package/dist/components/LpTimeField.vue.js +1 -1
  245. package/dist/components/LpToaster.vue.js +1 -1
  246. package/dist/components/LpTooltip.vue.js +1 -1
  247. package/dist/components/LpTopologyCanvas.vue.js +1 -1
  248. package/dist/components/LpTour.vue.js +1 -1
  249. package/dist/components/LpTruncate.vue.js +1 -1
  250. package/dist/components/LpUptimeBar.vue.d.ts +18 -9
  251. package/dist/components/LpUptimeBar.vue.js +1 -1
  252. package/dist/components/MenuTitle.vue.js +1 -1
  253. package/dist/components/OptionContent.vue.js +1 -1
  254. package/dist/components/PalettePreviewBoundary.vue.d.ts +13 -0
  255. package/dist/components/PalettePreviewBoundary.vue.js +4 -0
  256. package/dist/components/PickerField.vue.d.ts +5 -3
  257. package/dist/components/PickerField.vue.js +1 -1
  258. package/dist/components/RevealToggle.vue.js +1 -1
  259. package/dist/components/TourCard.vue.js +1 -1
  260. package/dist/components/commandPalette.d.ts +33 -0
  261. package/dist/components/commandPalette.js +21 -1
  262. package/dist/components/commandSearch.d.ts +5 -0
  263. package/dist/components/commandSearch.js +22 -2
  264. package/dist/components/format.d.ts +7 -0
  265. package/dist/components/format.js +4 -0
  266. package/dist/components/menuWhen.js +1 -1
  267. package/dist/components/uptimeBar.d.ts +45 -0
  268. package/dist/components/uptimeBar.js +51 -0
  269. package/dist/composables/scroll.d.ts +5 -0
  270. package/dist/composables/scroll.js +7 -0
  271. package/dist/composables/useField.d.ts +9 -0
  272. package/dist/composables/useField.js +24 -1
  273. package/dist/composables/useForm.js +13 -4
  274. package/dist/composables/usePaletteCommands.d.ts +61 -0
  275. package/dist/composables/usePaletteCommands.js +220 -0
  276. package/dist/composables/useReveal.js +21 -0
  277. package/dist/composables/useView.js +9 -2
  278. package/dist/icons-all.js +1 -1
  279. package/dist/index.d.ts +14 -1
  280. package/dist/index.js +103 -87
  281. package/dist/theme/palette.d.ts +9 -0
  282. package/dist/theme/studio.d.ts +12 -1
  283. package/package.json +4 -1
  284. package/src/component-names.ts +2 -0
  285. package/src/components/ContextMenuItems.vue +5 -2
  286. package/src/components/LpAutocomplete.vue +6 -1
  287. package/src/components/LpButton.vue +5 -1
  288. package/src/components/LpChart.vue +19 -17
  289. package/src/components/LpCheckbox.vue +7 -2
  290. package/src/components/LpCommandPalette.vue +263 -29
  291. package/src/components/LpCommandScope.vue +35 -0
  292. package/src/components/LpContextMenu.vue +17 -5
  293. package/src/components/LpDataList.vue +2 -2
  294. package/src/components/LpDatePicker.vue +2 -0
  295. package/src/components/LpDateRangePicker.vue +2 -0
  296. package/src/components/LpDisclosure.vue +5 -1
  297. package/src/components/LpDropdownMenu.vue +14 -3
  298. package/src/components/LpEditable.vue +3 -1
  299. package/src/components/LpFormField.vue +3 -0
  300. package/src/components/LpInput.vue +6 -1
  301. package/src/components/LpNumberField.vue +6 -1
  302. package/src/components/LpNumberFlow.vue +12 -2
  303. package/src/components/LpPaletteFacts.vue +11 -6
  304. package/src/components/LpPaletteStats.vue +12 -5
  305. package/src/components/LpPaletteTheme.vue +48 -0
  306. package/src/components/LpPasswordInput.vue +13 -5
  307. package/src/components/LpPopover.vue +4 -0
  308. package/src/components/LpRadioGroup.vue +4 -1
  309. package/src/components/LpRangeSlider.vue +6 -1
  310. package/src/components/LpRepeater.vue +64 -13
  311. package/src/components/LpRollingText.vue +12 -1
  312. package/src/components/LpSecretField.vue +18 -8
  313. package/src/components/LpSegmented.vue +6 -1
  314. package/src/components/LpSelect.vue +44 -10
  315. package/src/components/LpSlider.vue +6 -1
  316. package/src/components/LpSwitch.vue +6 -1
  317. package/src/components/LpTable.vue +35 -2
  318. package/src/components/LpTableOfContents.vue +2 -4
  319. package/src/components/LpTabs.vue +7 -0
  320. package/src/components/LpTagsInput.vue +6 -1
  321. package/src/components/LpTextarea.vue +7 -2
  322. package/src/components/LpThemeStudio.vue +7 -5
  323. package/src/components/LpThemeSwitcher.vue +3 -0
  324. package/src/components/LpTimeField.vue +6 -1
  325. package/src/components/LpTooltip.vue +23 -1
  326. package/src/components/LpUptimeBar.vue +69 -41
  327. package/src/components/PalettePreviewBoundary.vue +5 -0
  328. package/src/components/PickerField.vue +5 -4
  329. package/src/components/commandPalette.ts +22 -1
  330. package/src/components/commandSearch.ts +23 -1
  331. package/src/components/format.ts +10 -0
  332. package/src/components/uptimeBar.ts +98 -0
  333. package/src/composables/scroll.ts +11 -0
  334. package/src/composables/useField.ts +33 -1
  335. package/src/composables/useForm.ts +14 -5
  336. package/src/composables/usePaletteCommands.ts +220 -0
  337. package/src/composables/useReveal.ts +29 -0
  338. package/src/composables/useView.ts +8 -1
  339. package/src/index.ts +18 -1
  340. package/src/kit-icons.ts +1 -1
  341. package/src/theme/palette.ts +26 -0
  342. package/src/theme/studio.ts +15 -8
  343. package/dist/assets/LpTabs-BJ-nrJuI.css +0 -18
  344. package/dist/chunks/LpRepeater-D0VjmD6y.js +0 -140
  345. package/dist/chunks/icons-4IywzkHk.js +0 -43
@@ -1,11 +1,12 @@
1
1
  import { defineComponent, computed, useAttrs, ref, watch, useId, openBlock, createBlock, unref, normalizeStyle, normalizeClass, withCtx, createVNode, createElementBlock, createCommentVNode, createElementVNode, mergeProps, Transition, toDisplayString, withModifiers, createTextVNode, Fragment, renderList, nextTick } from "vue";
2
+ import { usePaletteControl } from "../composables/usePaletteCommands.js";
2
3
  import { ComboboxRoot, ComboboxAnchor, ComboboxInput, ComboboxPortal, ComboboxContent, ComboboxViewport, ComboboxEmpty, ComboboxItem } from "reka-ui";
3
4
  import { useFieldControl } from "../composables/useField.js";
4
5
  import { useInputFilter } from "../composables/useInputFilter.js";
5
6
  import { useLabels } from "../composables/useLpConfig.js";
6
7
  import { CLOSE_ICON, POPOVER_PANEL, OPTION_ITEM, optionStagger } from "../components/dropdown.js";
7
- import { _ as _sfc_main$1 } from "./LpIcon-HJP5xMz4.js";
8
- import { _ as _sfc_main$2 } from "./OptionContent-CmYUUeWj.js";
8
+ import { _ as _sfc_main$1 } from "./LpIcon-DkP-9mzK.js";
9
+ import { _ as _sfc_main$2 } from "./OptionContent-DPzNsybd.js";
9
10
  import { usePortalTarget, useOutsideGuard } from "../composables/useView.js";
10
11
  const _hoisted_1 = ["src"];
11
12
  const _hoisted_2 = { class: "relative flex min-w-0 flex-1 self-stretch" };
@@ -25,6 +26,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
25
26
  ...__default__,
26
27
  __name: "LpAutocomplete",
27
28
  props: {
29
+ palette: { type: [Boolean, Object], default: void 0 },
28
30
  modelValue: {},
29
31
  options: {},
30
32
  placeholder: {},
@@ -159,6 +161,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
159
161
  }
160
162
  const portalTo = usePortalTarget();
161
163
  const guardOutside = useOutsideGuard();
164
+ usePaletteControl({ disabled: () => field.value.disabled, invalid: () => field.value.invalid });
162
165
  return (_ctx, _cache) => {
163
166
  return openBlock(), createBlock(unref(ComboboxRoot), {
164
167
  open: open.value,
@@ -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-HJP5xMz4.js";
5
+ import { _ as _sfc_main$2 } from "./LpIcon-DkP-9mzK.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,8 +3,8 @@ 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-HJP5xMz4.js";
7
- import { _ as _sfc_main$2 } from "./LpRollingText-DB7upf-5.js";
6
+ import { _ as _sfc_main$3 } from "./LpIcon-DkP-9mzK.js";
7
+ import { _ as _sfc_main$2 } from "./LpRollingText-DiL717LK.js";
8
8
  import { _ as _sfc_main$1 } from "./LpShift-DXNsauQZ.js";
9
9
  import { slotText } from "../components/slotText.js";
10
10
  import { TONES } from "../components/tone.js";
@@ -1,6 +1,6 @@
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-HJP5xMz4.js";
3
- import { _ as _sfc_main$3 } from "./LpRollingText-DB7upf-5.js";
2
+ import { _ as _sfc_main$2 } from "./LpIcon-DkP-9mzK.js";
3
+ import { _ as _sfc_main$3 } from "./LpRollingText-DiL717LK.js";
4
4
  import { _ as _sfc_main$1 } from "./LpShift-DXNsauQZ.js";
5
5
  import { useLabels, useLinkComponent } from "../composables/useLpConfig.js";
6
6
  import { useMergedAttrs } from "../composables/useMergedClass.js";
@@ -1,4 +1,5 @@
1
1
  import { defineComponent, useAttrs, getCurrentInstance, ref, computed, onMounted, onUpdated, openBlock, createBlock, resolveDynamicComponent, mergeProps, unref, withCtx, renderSlot, createElementBlock, normalizeClass, createVNode, createCommentVNode } from "vue";
2
+ import { usePaletteAction } from "../composables/usePaletteCommands.js";
2
3
  import { tv } from "tailwind-variants";
3
4
  import { HINT_SIGNALS, noteHotkeyTarget } from "../composables/useHintSystem.js";
4
5
  import { hints } from "../composables/useHints.js";
@@ -13,6 +14,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
13
14
  ...__default__,
14
15
  __name: "LpButton",
15
16
  props: {
17
+ palette: { type: [Boolean, Object], default: void 0 },
16
18
  variant: {},
17
19
  size: {},
18
20
  block: { type: Boolean },
@@ -205,6 +207,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
205
207
  loading: busy.value
206
208
  })
207
209
  );
210
+ usePaletteAction({ label: () => typeof attrs["aria-label"] === "string" ? attrs["aria-label"] : void 0, element: () => rootEl(), disabled: () => props.disabled || busy.value });
208
211
  return (_ctx, _cache) => {
209
212
  return openBlock(), createBlock(resolveDynamicComponent(resolved.value.is), mergeProps({
210
213
  ref_key: "root",
@@ -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-HJP5xMz4.js";
4
+ import { _ as _sfc_main$1 } from "./LpIcon-DkP-9mzK.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";
@@ -1,6 +1,7 @@
1
1
  import { defineComponent, useId, computed, openBlock, createElementBlock, mergeProps, unref, createVNode, normalizeClass, withCtx, createBlock, createCommentVNode, renderSlot, createTextVNode, toDisplayString, createElementVNode } from "vue";
2
+ import { usePaletteControl } from "../composables/usePaletteCommands.js";
2
3
  import { CheckboxRoot, CheckboxIndicator } from "reka-ui";
3
- import { _ as _sfc_main$1 } from "./LpIcon-HJP5xMz4.js";
4
+ import { _ as _sfc_main$1 } from "./LpIcon-DkP-9mzK.js";
4
5
  import { _ as _sfc_main$2 } from "./LpLoader-DjJEX8hL.js";
5
6
  import { useFieldControl } from "../composables/useField.js";
6
7
  import { useOptimisticToggle } from "../composables/useOptimisticToggle.js";
@@ -14,6 +15,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
14
15
  ...__default__,
15
16
  __name: "LpCheckbox",
16
17
  props: {
18
+ palette: { type: [Boolean, Object], default: void 0 },
17
19
  modelValue: { type: Boolean },
18
20
  indeterminate: { type: Boolean },
19
21
  disabled: { type: Boolean },
@@ -21,7 +23,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
21
23
  description: {},
22
24
  id: {},
23
25
  name: {},
24
- action: { type: Function }
26
+ action: {}
25
27
  },
26
28
  emits: ["update:modelValue", "change", "done", "error"],
27
29
  setup(__props, { emit: __emit }) {
@@ -45,6 +47,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
45
47
  props.description ? "items-start" : "items-center"
46
48
  ].join(" ")
47
49
  );
50
+ usePaletteControl({ label: () => props.label, disabled: () => field.value.disabled || pending.value, editorProps: () => ({ action: void 0, "onUpdate:modelValue": onUpdate, onChange: void 0 }) });
48
51
  return (_ctx, _cache) => {
49
52
  return openBlock(), createElementBlock("label", mergeProps({ class: unref(rootClass) }, unref(rest)), [
50
53
  createVNode(unref(CheckboxRoot), {
@@ -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-DzHjnFs0.js";
5
- import { _ as _sfc_main$1 } from "./LpIcon-HJP5xMz4.js";
4
+ import { _ as _sfc_main$2 } from "./LpCopyButton-Dmq7DmFw.js";
5
+ import { _ as _sfc_main$1 } from "./LpIcon-DkP-9mzK.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-DHc2bHDe.js";
6
- import { _ as _sfc_main$3 } from "./LpCopyButton-DzHjnFs0.js";
7
- import { _ as _sfc_main$5 } from "./LpCountdown-Dtq1ihlJ.js";
8
- import { _ as _sfc_main$4 } from "./LpIcon-HJP5xMz4.js";
9
- import { _ as _sfc_main$1 } from "./LpRollingText-DB7upf-5.js";
10
- import { _ as _sfc_main$2 } from "./RevealToggle-C-KzaQGJ.js";
5
+ import { _ as _sfc_main$6 } from "./LpCheckbox-BoOuLnGB.js";
6
+ import { _ as _sfc_main$3 } from "./LpCopyButton-Dmq7DmFw.js";
7
+ import { _ as _sfc_main$5 } from "./LpCountdown-DTdMF8DL.js";
8
+ import { _ as _sfc_main$4 } from "./LpIcon-DkP-9mzK.js";
9
+ import { _ as _sfc_main$1 } from "./LpRollingText-DiL717LK.js";
10
+ import { _ as _sfc_main$2 } from "./RevealToggle-BVFM_FAU.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" };
@@ -7,9 +7,9 @@ import { DEFAULT_SWATCHES, formatColor, opaqueCss, parseColor, rgbToHsv, isLight
7
7
  import { useClipboard } from "../composables/useClipboard.js";
8
8
  import { useLabels } from "../composables/useLpConfig.js";
9
9
  import { POPOVER_PANEL } from "../components/dropdown.js";
10
- import { _ as _sfc_main$1 } from "./LpContextMenu-COwOwRgI.js";
11
- import { _ as _sfc_main$2 } from "./LpIcon-HJP5xMz4.js";
12
- import { _ as _sfc_main$3 } from "./LpRollingText-DB7upf-5.js";
10
+ import { _ as _sfc_main$1 } from "./LpContextMenu-DXpFJjlO.js";
11
+ import { _ as _sfc_main$2 } from "./LpIcon-DkP-9mzK.js";
12
+ import { _ as _sfc_main$3 } from "./LpRollingText-DiL717LK.js";
13
13
  import { usePortalTarget, useOutsideGuard } from "../composables/useView.js";
14
14
  const _hoisted_1 = ["id", "disabled", "aria-label", "aria-invalid", "aria-describedby"];
15
15
  const _hoisted_2 = { class: "min-w-0 flex-1 truncate font-mono text-xs text-muted-strong" };
@@ -0,0 +1,53 @@
1
+ import { defineComponent, openBlock, createElementBlock, renderSlot } from "vue";
2
+ import { usePaletteScope, createPaletteRegistry, providePaletteScope, usePaletteCommands, bindPaletteScopeElement } from "../composables/usePaletteCommands.js";
3
+ import { u as usePaletteTheme } from "./palette-BiY7yQZL.js";
4
+ const _sfc_main = /* @__PURE__ */ defineComponent({
5
+ __name: "LpCommandScope",
6
+ props: {
7
+ id: {},
8
+ label: {},
9
+ enabled: { type: Boolean, default: true },
10
+ discover: { type: Boolean, default: true },
11
+ isolated: { type: Boolean },
12
+ theme: {},
13
+ commands: {}
14
+ },
15
+ setup(__props) {
16
+ const props = __props;
17
+ const parent = usePaletteScope();
18
+ const scope = {
19
+ registry: !props.isolated && parent ? parent.registry : createPaletteRegistry(),
20
+ get id() {
21
+ return parent && !props.isolated ? `${parent.id}/${props.id}` : props.id;
22
+ },
23
+ get label() {
24
+ return props.label ?? props.id;
25
+ },
26
+ depth: parent && !props.isolated ? parent.depth + 1 : 0,
27
+ get enabled() {
28
+ return props.enabled && (props.isolated || !parent || parent.enabled);
29
+ },
30
+ get discover() {
31
+ return props.discover;
32
+ }
33
+ };
34
+ providePaletteScope(scope);
35
+ usePaletteTheme(() => props.theme, { scope });
36
+ usePaletteCommands(() => props.commands ?? [], { scope });
37
+ function bind(element) {
38
+ if (element && "nodeType" in element) bindPaletteScopeElement(element, scope);
39
+ }
40
+ return (_ctx, _cache) => {
41
+ return openBlock(), createElementBlock("div", {
42
+ ref: bind,
43
+ "data-lp-command-scope": "",
44
+ class: "contents"
45
+ }, [
46
+ renderSlot(_ctx.$slots, "default")
47
+ ]);
48
+ };
49
+ }
50
+ });
51
+ export {
52
+ _sfc_main as _
53
+ };
@@ -1,8 +1,8 @@
1
1
  import { defineComponent, computed, ref, watch, openBlock, createBlock, createSlots, withCtx, renderSlot, createElementBlock, toDisplayString, createCommentVNode, createVNode, createTextVNode, unref, createElementVNode, normalizeClass, nextTick } from "vue";
2
2
  import { useLabels } from "../composables/useLpConfig.js";
3
- import { _ as _sfc_main$2 } from "./LpButton-CVxBfGjd.js";
4
- import { _ as _sfc_main$3 } from "./LpIcon-HJP5xMz4.js";
5
- import { _ as _sfc_main$1 } from "./LpModal-eBMt2Fqn.js";
3
+ import { _ as _sfc_main$2 } from "./LpButton-BQDAFXBd.js";
4
+ import { _ as _sfc_main$3 } from "./LpIcon-DkP-9mzK.js";
5
+ import { _ as _sfc_main$1 } from "./LpModal-CpH0bNo7.js";
6
6
  const _hoisted_1 = { class: "inline-flex items-center gap-2.5" };
7
7
  const _hoisted_2 = {
8
8
  key: 0,
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, computed, ref, watch, openBlock, createBlock, createCommentVNode } from "vue";
2
2
  import { confirmQueue, settleConfirm } from "../components/confirm.js";
3
- import { _ as _sfc_main$1 } from "./LpConfirmDialog-CfGCux8m.js";
3
+ import { _ as _sfc_main$1 } from "./LpConfirmDialog-i15pulMT.js";
4
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  __name: "LpConfirmHost",
6
6
  props: {
@@ -1,14 +1,17 @@
1
- import { defineComponent, computed, openBlock, createBlock, unref, withCtx, createVNode, renderSlot, normalizeClass, createCommentVNode } from "vue";
1
+ import { defineComponent, computed, useId, openBlock, createBlock, unref, withCtx, createVNode, renderSlot, normalizeClass, createCommentVNode } from "vue";
2
+ import { menuPaletteCommands } from "../components/commandPalette.js";
3
+ import { usePaletteScope, usePaletteCommands } from "../composables/usePaletteCommands.js";
2
4
  import { ContextMenuRoot, ContextMenuTrigger, ContextMenuPortal, ContextMenuContent } from "reka-ui";
3
5
  import { hints } from "../composables/useHints.js";
4
6
  import { HINT_SIGNALS, noteContextTarget } from "../composables/useHintSystem.js";
5
- import { _ as _sfc_main$2 } from "./ContextMenuItems-B5uE8Znw.js";
6
- import { _ as _sfc_main$1 } from "./MenuTitle-BjQZX8tQ.js";
7
+ import { _ as _sfc_main$2 } from "./ContextMenuItems-eS7qx9gD.js";
8
+ import { _ as _sfc_main$1 } from "./MenuTitle-Dab3EGOp.js";
7
9
  import { POPOVER_PANEL } from "../components/dropdown.js";
8
- import { usePortalTarget, useOutsideGuard } from "../composables/useView.js";
10
+ import { useView, usePortalTarget, useOutsideGuard, viewDocument } from "../composables/useView.js";
9
11
  const _sfc_main = /* @__PURE__ */ defineComponent({
10
12
  __name: "LpContextMenu",
11
13
  props: {
14
+ palette: { type: [Boolean, Object], default: void 0 },
12
15
  items: {},
13
16
  always: { type: Boolean },
14
17
  title: {},
@@ -23,10 +26,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
23
26
  const hinted = computed(() => enabled.value && !props.noHint);
24
27
  const PANEL = `${POPOVER_PANEL} z-(--z-popover) min-w-48 p-1 outline-none`;
25
28
  const SELECTABLE = /* @__PURE__ */ new Set(["text", "search", "url", "tel", "password"]);
29
+ const view = useView();
26
30
  let field = null;
27
31
  function rememberField() {
28
- const el = document.activeElement;
29
- const text = el instanceof HTMLTextAreaElement || el instanceof HTMLInputElement && SELECTABLE.has(el.type);
32
+ const el = viewDocument(view.value).activeElement;
33
+ const text = el?.tagName === "TEXTAREA" || el?.tagName === "INPUT" && SELECTABLE.has(el.type);
30
34
  field = text ? { el, value: el.value, start: el.selectionStart ?? 0, end: el.selectionEnd ?? 0 } : null;
31
35
  }
32
36
  let synthetic = false;
@@ -58,6 +62,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
58
62
  }
59
63
  const portalTo = usePortalTarget();
60
64
  const guardOutside = useOutsideGuard();
65
+ const paletteScope = usePaletteScope();
66
+ const paletteId = useId();
67
+ usePaletteCommands(() => props.palette === false || !props.title || !props.items.length ? [] : [{
68
+ id: `${paletteScope?.id}/${props.palette?.id ?? paletteId}`,
69
+ label: props.palette?.label ?? props.title,
70
+ children: menuPaletteCommands(props.items, `${paletteScope?.id}/${props.palette?.id ?? paletteId}`)
71
+ }], { automatic: true });
61
72
  return (_ctx, _cache) => {
62
73
  return openBlock(), createBlock(unref(ContextMenuRoot), { "onUpdate:open": opened }, {
63
74
  default: withCtx(() => [
@@ -1,9 +1,9 @@
1
1
  import { defineComponent, ref, computed, useAttrs, openBlock, createElementBlock, Fragment, createVNode, withCtx, mergeProps, unref, createElementVNode, normalizeStyle, toDisplayString, createCommentVNode } from "vue";
2
2
  import { useClipboard } from "../composables/useClipboard.js";
3
3
  import { useLabels } from "../composables/useLpConfig.js";
4
- import { _ as _sfc_main$2 } from "./LpButton-CVxBfGjd.js";
5
- import { _ as _sfc_main$3 } from "./LpIcon-HJP5xMz4.js";
6
- import { _ as _sfc_main$1 } from "./LpTooltip-Cz8SQwRt.js";
4
+ import { _ as _sfc_main$2 } from "./LpButton-BQDAFXBd.js";
5
+ import { _ as _sfc_main$3 } from "./LpIcon-DkP-9mzK.js";
6
+ import { _ as _sfc_main$1 } from "./LpTooltip-BcBvIx4z.js";
7
7
  const _hoisted_1 = { key: 0 };
8
8
  const _hoisted_2 = {
9
9
  class: "sr-only",
@@ -2,8 +2,8 @@ import { defineComponent, ref, computed, watch, openBlock, createElementBlock, m
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$1 } from "./LpProgress-CE-m5OpD.js";
6
- import { _ as _sfc_main$3 } from "./LpRollingText-DB7upf-5.js";
5
+ import { _ as _sfc_main$1 } from "./LpProgress-BX33EKkN.js";
6
+ import { _ as _sfc_main$3 } from "./LpRollingText-DiL717LK.js";
7
7
  import { _ as _sfc_main$2 } from "./LpShift-DXNsauQZ.js";
8
8
  import { DEFAULT_UNIT_LABELS, toEpoch, ceilToSecond, timeParts, resolveFormat, padPart, formatTime, DEFAULT_MILESTONES, crossedMilestone, msToNextSecond } from "../components/timeSpan.js";
9
9
  const _hoisted_1 = ["data-urgent", "data-done"];
@@ -1,13 +1,13 @@
1
1
  import { defineComponent, useSlots, computed, openBlock, createElementBlock, mergeProps, unref, createVNode, TransitionGroup, normalizeClass, withCtx, Fragment, renderList, createElementVNode, renderSlot, createTextVNode, toDisplayString, createBlock, createCommentVNode } from "vue";
2
2
  import { useLabels } from "../composables/useLpConfig.js";
3
3
  import { useMergedAttrs } from "../composables/useMergedClass.js";
4
- import { _ as _sfc_main$4 } from "./LpCopyButton-DzHjnFs0.js";
5
- import { _ as _sfc_main$2 } from "./LpIcon-HJP5xMz4.js";
6
- import { _ as _sfc_main$3 } from "./LpRollingText-DB7upf-5.js";
7
- import { _ as _sfc_main$1 } from "./LpTooltip-Cz8SQwRt.js";
4
+ import { _ as _sfc_main$4 } from "./LpCopyButton-Dmq7DmFw.js";
5
+ import { _ as _sfc_main$2 } from "./LpIcon-DkP-9mzK.js";
6
+ import { _ as _sfc_main$3 } from "./LpRollingText-DiL717LK.js";
7
+ import { _ as _sfc_main$1 } from "./LpTooltip-BcBvIx4z.js";
8
8
  const _hoisted_1 = { class: "flex min-w-0 items-center gap-1 text-muted" };
9
9
  const _hoisted_2 = ["aria-label"];
10
- const _hoisted_3 = { class: "min-w-0 break-words" };
10
+ const _hoisted_3 = { class: "min-w-0 flex-1 [overflow-wrap:anywhere]" };
11
11
  const _hoisted_4 = {
12
12
  key: 1,
13
13
  class: "text-muted"
@@ -94,7 +94,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
94
94
  }) : isEmpty(item.value) ? (openBlock(), createElementBlock("span", _hoisted_4, toDisplayString(unref(text).empty), 1)) : rolls(item.value) ? (openBlock(), createBlock(_sfc_main$3, {
95
95
  key: 2,
96
96
  value: item.value,
97
- align: "start"
97
+ align: "start",
98
+ wrap: ""
98
99
  }, null, 8, ["value"])) : (openBlock(), createElementBlock(Fragment, { key: 3 }, [
99
100
  createTextVNode(toDisplayString(item.value), 1)
100
101
  ], 64))
@@ -3,10 +3,10 @@ import { useFieldControl } from "../composables/useField.js";
3
3
  import { useLocale } from "../composables/useLocale.js";
4
4
  import { useLabels } from "../composables/useLpConfig.js";
5
5
  import { defaultDatePresets, dayAllowed } from "../components/dateRange.js";
6
- import { _ as _sfc_main$2 } from "./LpCalendar-pVL91-Pl.js";
7
- import { _ as _sfc_main$3 } from "./LpIcon-HJP5xMz4.js";
8
- import { _ as _sfc_main$1 } from "./PickerField-CHRS1h7K.js";
9
- import { _ as _sfc_main$4 } from "./LpTimeField-BFQVf_PW.js";
6
+ import { _ as _sfc_main$2 } from "./LpCalendar-NmrA47J9.js";
7
+ import { _ as _sfc_main$3 } from "./LpIcon-DkP-9mzK.js";
8
+ import { _ as _sfc_main$1 } from "./PickerField-DwLw7j0L.js";
9
+ import { _ as _sfc_main$4 } from "./LpTimeField-DQ8WvPr2.js";
10
10
  const _hoisted_1 = { class: "flex flex-col" };
11
11
  const _hoisted_2 = {
12
12
  key: 0,
@@ -35,7 +35,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
35
35
  doneLabel: {},
36
36
  labels: {}
37
37
  },
38
- emits: ["update:modelValue"],
38
+ emits: ["update:modelValue", "blur"],
39
39
  setup(__props, { emit: __emit }) {
40
40
  const props = __props;
41
41
  const emit = __emit;
@@ -120,7 +120,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
120
120
  "presets-label": unref(text).presets,
121
121
  presets: presetOptions.value,
122
122
  "presets-class": "sm:w-36",
123
- onClear: clear
123
+ onClear: clear,
124
+ onBlur: _cache[3] || (_cache[3] = ($event) => emit("blur", $event))
124
125
  }), {
125
126
  default: withCtx(() => [
126
127
  createElementVNode("div", _hoisted_1, [
@@ -4,8 +4,8 @@ import { useLocale } from "../composables/useLocale.js";
4
4
  import { useLabels } from "../composables/useLpConfig.js";
5
5
  import { useMediaQuery } from "../composables/useMediaQuery.js";
6
6
  import { normalizeRange, formatRange, defaultRangePresets, sameRange, allowedRange } from "../components/dateRange.js";
7
- import { _ as _sfc_main$1 } from "./PickerField-CHRS1h7K.js";
8
- import { _ as _sfc_main$2 } from "./LpRangeCalendar-c5qj7YcC.js";
7
+ import { _ as _sfc_main$1 } from "./PickerField-DwLw7j0L.js";
8
+ import { _ as _sfc_main$2 } from "./LpRangeCalendar-l-0nSFmY.js";
9
9
  const __default__ = { inheritAttrs: false };
10
10
  const _sfc_main = /* @__PURE__ */ defineComponent({
11
11
  ...__default__,
@@ -27,7 +27,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
27
27
  format: {},
28
28
  labels: {}
29
29
  },
30
- emits: ["update:modelValue"],
30
+ emits: ["update:modelValue", "blur"],
31
31
  setup(__props, { emit: __emit }) {
32
32
  const props = __props;
33
33
  const emit = __emit;
@@ -99,7 +99,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
99
99
  "presets-label": unref(text).presets,
100
100
  presets: presetOptions.value,
101
101
  "presets-class": "sm:w-40",
102
- onClear: _cache[1] || (_cache[1] = ($event) => emit("update:modelValue", void 0))
102
+ onClear: _cache[1] || (_cache[1] = ($event) => emit("update:modelValue", void 0)),
103
+ onBlur: _cache[2] || (_cache[2] = ($event) => emit("blur", $event))
103
104
  }), {
104
105
  default: withCtx(() => [
105
106
  createVNode(_sfc_main$2, {
@@ -1,7 +1,8 @@
1
1
  import { defineComponent, getCurrentInstance, computed, ref, useId, openBlock, createBlock, unref, mergeProps, withCtx, createVNode, createCommentVNode, createElementVNode, renderSlot, createTextVNode, toDisplayString, normalizeClass, nextTick } from "vue";
2
+ import { usePaletteAction } from "../composables/usePaletteCommands.js";
2
3
  import { CollapsibleRoot, CollapsibleTrigger } from "reka-ui";
3
4
  import { _ as _sfc_main$2 } from "./LpCollapse-CWS9M_lm.js";
4
- import { _ as _sfc_main$1 } from "./LpIcon-HJP5xMz4.js";
5
+ import { _ as _sfc_main$1 } from "./LpIcon-DkP-9mzK.js";
5
6
  import { useMergedAttrs } from "../composables/useMergedClass.js";
6
7
  const _hoisted_1 = { class: "min-w-0 flex-1 text-left" };
7
8
  const __default__ = { inheritAttrs: false };
@@ -9,6 +10,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
9
10
  ...__default__,
10
11
  __name: "LpDisclosure",
11
12
  props: {
13
+ palette: { type: [Boolean, Object], default: void 0 },
12
14
  open: { type: Boolean },
13
15
  defaultOpen: { type: Boolean, default: false },
14
16
  label: {},
@@ -40,6 +42,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
40
42
  const { class: rootClass, attrs: rest } = useMergedAttrs(
41
43
  "shrink-0 overflow-hidden rounded-control border border-line bg-surface-soft"
42
44
  );
45
+ usePaletteAction({ label: () => props.label, element: () => root.value?.$el?.querySelector("button"), disabled: () => false });
43
46
  return (_ctx, _cache) => {
44
47
  return openBlock(), createBlock(unref(CollapsibleRoot), mergeProps({
45
48
  ref_key: "root",
@@ -6,7 +6,7 @@ import { useCloseGuard } from "../composables/useCloseGuard.js";
6
6
  import { useGlass } from "../composables/useGlass.js";
7
7
  import { useLabels } from "../composables/useLpConfig.js";
8
8
  import { usePersisted } from "../composables/usePersisted.js";
9
- import { _ as _sfc_main$1 } from "./LpIcon-HJP5xMz4.js";
9
+ import { _ as _sfc_main$1 } from "./LpIcon-DkP-9mzK.js";
10
10
  import { _ as _sfc_main$2 } from "./LpScrollArea-Hz3-JWUG.js";
11
11
  import { useModalLayer, anyModalOpen } from "../components/modalDepth.js";
12
12
  import { usePortalTarget, useOutsideGuard } from "../composables/useView.js";
@@ -1,14 +1,17 @@
1
- import { defineComponent, openBlock, createBlock, unref, withCtx, createVNode, renderSlot, normalizeClass, createCommentVNode } from "vue";
1
+ import { defineComponent, useId, openBlock, createBlock, unref, withCtx, createVNode, renderSlot, normalizeClass, createCommentVNode } from "vue";
2
+ import { menuPaletteCommands } from "../components/commandPalette.js";
3
+ import { usePaletteScope, usePaletteCommands } from "../composables/usePaletteCommands.js";
2
4
  import { hints } from "../composables/useHints.js";
3
5
  import { HINT_SIGNALS } from "../composables/useHintSystem.js";
4
6
  import { DropdownMenuRoot, DropdownMenuTrigger, DropdownMenuPortal, DropdownMenuContent } from "reka-ui";
5
- import { _ as _sfc_main$2 } from "./ContextMenuItems-B5uE8Znw.js";
7
+ import { _ as _sfc_main$2 } from "./ContextMenuItems-eS7qx9gD.js";
6
8
  import { POPOVER_PANEL } from "../components/dropdown.js";
7
- import { _ as _sfc_main$1 } from "./MenuTitle-BjQZX8tQ.js";
9
+ import { _ as _sfc_main$1 } from "./MenuTitle-Dab3EGOp.js";
8
10
  import { usePortalTarget, useOutsideGuard } from "../composables/useView.js";
9
11
  const _sfc_main = /* @__PURE__ */ defineComponent({
10
12
  __name: "LpDropdownMenu",
11
13
  props: {
14
+ palette: { type: [Boolean, Object], default: void 0 },
12
15
  items: {},
13
16
  title: {},
14
17
  subtitle: {},
@@ -24,8 +27,18 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
24
27
  }
25
28
  const portalTo = usePortalTarget();
26
29
  const guardOutside = useOutsideGuard();
30
+ const paletteScope = usePaletteScope();
31
+ const paletteId = useId();
32
+ usePaletteCommands(() => props.palette === false || !props.title || !props.items.length ? [] : [{
33
+ id: `${paletteScope?.id}/${props.palette?.id ?? paletteId}`,
34
+ label: props.palette?.label ?? props.title,
35
+ children: menuPaletteCommands(props.items, `${paletteScope?.id}/${props.palette?.id ?? paletteId}`)
36
+ }], { automatic: true });
27
37
  return (_ctx, _cache) => {
28
- return openBlock(), createBlock(unref(DropdownMenuRoot), { "onUpdate:open": opened }, {
38
+ return openBlock(), createBlock(unref(DropdownMenuRoot), {
39
+ modal: false,
40
+ "onUpdate:open": opened
41
+ }, {
29
42
  default: withCtx(() => [
30
43
  createVNode(unref(DropdownMenuTrigger), { "as-child": "" }, {
31
44
  default: withCtx(() => [
@@ -2,10 +2,10 @@ import { defineComponent, ref, computed, watch, openBlock, createElementBlock, n
2
2
  import { useFieldNotice } from "../composables/useFieldNotice.js";
3
3
  import { useLabels } from "../composables/useLpConfig.js";
4
4
  import { useMergedAttrs } from "../composables/useMergedClass.js";
5
- import { _ as _sfc_main$5 } from "./LpFieldNotice-CurbNuXI.js";
6
- import { _ as _sfc_main$4 } from "./LpIcon-HJP5xMz4.js";
5
+ import { _ as _sfc_main$5 } from "./LpFieldNotice-CPI8EwtU.js";
6
+ import { _ as _sfc_main$4 } from "./LpIcon-DkP-9mzK.js";
7
7
  import { _ as _sfc_main$3 } from "./LpLoader-DjJEX8hL.js";
8
- import { _ as _sfc_main$2 } from "./LpRollingText-DB7upf-5.js";
8
+ import { _ as _sfc_main$2 } from "./LpRollingText-DiL717LK.js";
9
9
  import { _ as _sfc_main$1 } from "./LpShift-DXNsauQZ.js";
10
10
  const _hoisted_1 = ["role", "tabindex", "aria-disabled", "aria-label", "aria-busy", "title"];
11
11
  const _hoisted_2 = {
@@ -75,7 +75,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
75
75
  }
76
76
  let committing = false;
77
77
  async function commit(refocus) {
78
- if (!editing.value || committing) return;
78
+ if (!editing.value || committing || !interactive.value) return;
79
79
  const value = props.trim ? draft.value.trim() : draft.value;
80
80
  if (value === props.modelValue) {
81
81
  notice.clear();
@@ -207,12 +207,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
207
207
  "aria-invalid": unref(notice).tone.value === "danger" && !!unref(notice).message.value || void 0,
208
208
  placeholder: __props.placeholder,
209
209
  maxlength: __props.maxlength,
210
+ disabled: __props.disabled,
211
+ readonly: __props.readonly,
210
212
  rows: __props.multiline ? 1 : void 0,
211
213
  class: normalizeClass(["col-start-1 row-start-1 w-full min-w-0 resize-none overflow-hidden bg-transparent text-ink outline-none placeholder:text-muted", PAD[__props.size]]),
212
214
  onInput: _cache[1] || (_cache[1] = ($event) => draft.value = $event.target.value),
213
215
  onKeydown: onFieldKey,
214
216
  onBlur: _cache[2] || (_cache[2] = ($event) => commit(false))
215
- }, null, 40, ["value", "size", "cols", "aria-label", "aria-invalid", "placeholder", "maxlength", "rows", "class"]))
217
+ }, null, 40, ["value", "size", "cols", "aria-label", "aria-invalid", "placeholder", "maxlength", "disabled", "readonly", "rows", "class"]))
216
218
  ], 2),
217
219
  interactive.value ? (openBlock(), createElementBlock("span", {
218
220
  key: 0,
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, openBlock, createElementBlock, mergeProps, unref, normalizeClass, createVNode, createCommentVNode, createElementVNode, toDisplayString, renderSlot } from "vue";
2
- import { _ as _sfc_main$1 } from "./LpIcon-HJP5xMz4.js";
2
+ import { _ as _sfc_main$1 } from "./LpIcon-DkP-9mzK.js";
3
3
  import { useMergedAttrs } from "../composables/useMergedClass.js";
4
4
  const _hoisted_1 = { class: "flex flex-col gap-1" };
5
5
  const _hoisted_2 = {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, ref, watch, openBlock, createBlock, Transition, withCtx, createElementBlock, normalizeClass, createVNode, createElementVNode, toDisplayString, createCommentVNode } from "vue";
2
2
  import { prefersReducedMotion } from "../composables/easing.js";
3
- import { _ as _sfc_main$1 } from "./LpIcon-HJP5xMz4.js";
3
+ import { _ as _sfc_main$1 } from "./LpIcon-DkP-9mzK.js";
4
4
  const _hoisted_1 = ["id"];
5
5
  const _hoisted_2 = { class: "truncate" };
6
6
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,8 +1,8 @@
1
1
  import { defineComponent, ref, watch, computed, openBlock, createElementBlock, mergeProps, unref, Fragment, renderList, createBlock, normalizeStyle, createVNode, withCtx, createElementVNode, renderSlot, normalizeProps, guardReactiveProps, createTextVNode, toDisplayString, createCommentVNode } from "vue";
2
2
  import { useLocale } from "../composables/useLocale.js";
3
3
  import { computeStats, formatSize, sortNodes, subtreeIds, ancestorIds } from "../components/fileTree.js";
4
- import { _ as _sfc_main$2 } from "./LpEmptyState-KTKipws2.js";
5
- import { _ as _sfc_main$4 } from "./LpFileTreeNode-CPXB_Yy3.js";
4
+ import { _ as _sfc_main$2 } from "./LpEmptyState-CKFTtQgJ.js";
5
+ import { _ as _sfc_main$4 } from "./LpFileTreeNode-gPVB1oXM.js";
6
6
  import { _ as _sfc_main$3 } from "./LpScrollArea-Hz3-JWUG.js";
7
7
  import { _ as _sfc_main$1 } from "./LpSkeleton-BB6XIV-w.js";
8
8
  import { usePersisted } from "../composables/usePersisted.js";
@@ -1,10 +1,10 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, mergeProps, unref, createVNode, withCtx, createElementVNode, withModifiers, normalizeStyle, normalizeClass, createBlock, createCommentVNode, renderSlot, createTextVNode, toDisplayString, Fragment, renderList } from "vue";
2
2
  import { sortNodes, formatSize, formatModified, fileIcon } from "../components/fileTree.js";
3
- import { _ as _sfc_main$5 } from "./LpBadge-HOEPBYmi.js";
4
- import { _ as _sfc_main$4 } from "./LpCheckbox-DHc2bHDe.js";
3
+ import { _ as _sfc_main$5 } from "./LpBadge-C8fKEmTF.js";
4
+ import { _ as _sfc_main$4 } from "./LpCheckbox-BoOuLnGB.js";
5
5
  import { _ as _sfc_main$6 } from "./LpCollapse-CWS9M_lm.js";
6
- import { _ as _sfc_main$1 } from "./LpContextMenu-COwOwRgI.js";
7
- import { _ as _sfc_main$3 } from "./LpIcon-HJP5xMz4.js";
6
+ import { _ as _sfc_main$1 } from "./LpContextMenu-DXpFJjlO.js";
7
+ import { _ as _sfc_main$3 } from "./LpIcon-DkP-9mzK.js";
8
8
  import { _ as _sfc_main$2 } from "./LpLoader-DjJEX8hL.js";
9
9
  import { staggerDelay } from "../components/reveal.js";
10
10
  import { useLocale } from "../composables/useLocale.js";
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, useId, computed, useSlots, ref, openBlock, createElementBlock, mergeProps, unref, createBlock, withCtx, createTextVNode, toDisplayString, createCommentVNode, createElementVNode, renderSlot, createVNode, normalizeClass } from "vue";
2
2
  import { Label } from "reka-ui";
3
- import { _ as _sfc_main$1 } from "./LpFieldNotice-CurbNuXI.js";
3
+ import { _ as _sfc_main$1 } from "./LpFieldNotice-CPI8EwtU.js";
4
4
  import { _ as _sfc_main$2 } from "./LpShift-DXNsauQZ.js";
5
5
  import { fieldMessageId, provideField } from "../composables/useField.js";
6
6
  import { useFieldNotice } from "../composables/useFieldNotice.js";
@@ -36,6 +36,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
36
36
  provideField(
37
37
  computed(() => ({
38
38
  id: id.value,
39
+ label: props.label,
40
+ hint: props.hint,
41
+ error: props.error,
39
42
  labelId: props.label ? `${id.value}-label` : void 0,
40
43
  describedBy: [hasMessage.value ? messageId.value : "", notice.message.value ? noticeId.value : ""].filter(Boolean).join(" ") || void 0,
41
44
  invalid: !!props.invalid || !!props.error,