@leavepulse/ui 0.70.1 → 0.71.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (321) hide show
  1. package/README.md +91 -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/{LpTable-DHxEQ_-3.css → LpTable-DHvorDiU.css} +19 -19
  6. package/dist/assets/LpTabs-CO3EcsNV.css +18 -0
  7. package/dist/chunks/{ContextMenuItems-6kxEivBI.js → ContextMenuItems-eS7qx9gD.js} +1 -1
  8. package/dist/chunks/{DropzoneLinkField-Bw8Flkhk.js → DropzoneLinkField-DkFhdfEJ.js} +2 -2
  9. package/dist/chunks/{FieldWrapper-BiennROB.js → FieldWrapper-YzbvvC3M.js} +1 -1
  10. package/dist/chunks/{LayoutCanvas-BsJIzhdd.js → LayoutCanvas-Ba4A9QC5.js} +1 -1
  11. package/dist/chunks/{LayoutNode-DJVhkSGk.js → LayoutNode-CTTTLMDM.js} +1 -1
  12. package/dist/chunks/{LpActionBar-CzOFar5t.js → LpActionBar-B7anGlkI.js} +2 -2
  13. package/dist/chunks/{LpAddressInput-Chv_Xf8q.js → LpAddressInput-CD0bzrt-.js} +7 -7
  14. package/dist/chunks/{LpAlert-C5igj802.js → LpAlert-BHi7ARqu.js} +1 -1
  15. package/dist/chunks/{LpAppShell-BiWByLmt.js → LpAppShell-1RmBp6xQ.js} +3 -3
  16. package/dist/chunks/{LpAutocomplete-D92niDHE.js → LpAutocomplete-DDqe2M5g.js} +5 -2
  17. package/dist/chunks/{LpAvatar-CLPl-qOF.js → LpAvatar-DqfKCIdr.js} +1 -1
  18. package/dist/chunks/{LpBadge-BBq1Er9T.js → LpBadge-C8fKEmTF.js} +1 -1
  19. package/dist/chunks/{LpBreadcrumbs-JKEi_yFF.js → LpBreadcrumbs-DhcoStFa.js} +1 -1
  20. package/dist/chunks/{LpButton-CVxBfGjd.js → LpButton-BQDAFXBd.js} +3 -0
  21. package/dist/chunks/{LpCalendar-pVL91-Pl.js → LpCalendar-NmrA47J9.js} +1 -1
  22. package/dist/chunks/{LpCheckbox-DHc2bHDe.js → LpCheckbox-BoOuLnGB.js} +5 -2
  23. package/dist/chunks/{LpCodeBlock-BGsQhxw8.js → LpCodeBlock-Czu-fq1M.js} +2 -2
  24. package/dist/chunks/{LpCodeDisplay-CbJMs-IK.js → LpCodeDisplay-BK2FHbtM.js} +5 -5
  25. package/dist/chunks/{LpColorPicker-B7HSIFmn.js → LpColorPicker-Ee1DZiRd.js} +2 -2
  26. package/dist/chunks/LpCommandScope-ubtWDMa0.js +53 -0
  27. package/dist/chunks/{LpConfirmDialog-CfGCux8m.js → LpConfirmDialog-i15pulMT.js} +3 -3
  28. package/dist/chunks/{LpConfirmHost-exB7JmcO.js → LpConfirmHost-D0oGavtd.js} +1 -1
  29. package/dist/chunks/{LpContextMenu-Cj96ENDC.js → LpContextMenu-DXpFJjlO.js} +13 -3
  30. package/dist/chunks/{LpCopyButton-DzHjnFs0.js → LpCopyButton-Dmq7DmFw.js} +3 -3
  31. package/dist/chunks/{LpCountdown-BQnmB4gq.js → LpCountdown-DTdMF8DL.js} +1 -1
  32. package/dist/chunks/{LpDataList-CHNYQw7h.js → LpDataList-CFPtSsBB.js} +3 -3
  33. package/dist/chunks/{LpDatePicker-ac1_6o5P.js → LpDatePicker-cC9K-Pk8.js} +4 -4
  34. package/dist/chunks/{LpDateRangePicker-B15gYrZJ.js → LpDateRangePicker-BVQKPbvo.js} +2 -2
  35. package/dist/chunks/{LpDisclosure-DOarzlAG.js → LpDisclosure-hRnX3FWL.js} +4 -1
  36. package/dist/chunks/{LpDrawer-DGNKRsGq.js → LpDrawer-u4rxnuR-.js} +1 -1
  37. package/dist/chunks/{LpDropdownMenu-R4aYVtVV.js → LpDropdownMenu-BgZ0Z_Im.js} +13 -3
  38. package/dist/chunks/{LpEditable-Ws3DNQHn.js → LpEditable-CjxuOVh_.js} +2 -2
  39. package/dist/chunks/{LpEmptyState-KTKipws2.js → LpEmptyState-CKFTtQgJ.js} +1 -1
  40. package/dist/chunks/{LpFieldNotice-CurbNuXI.js → LpFieldNotice-CPI8EwtU.js} +1 -1
  41. package/dist/chunks/{LpFileTree-DDNg34tJ.js → LpFileTree-BH0gNlSJ.js} +2 -2
  42. package/dist/chunks/{LpFileTreeNode-DmPuYNZ_.js → LpFileTreeNode-gPVB1oXM.js} +4 -4
  43. package/dist/chunks/{LpFormField-BWwgm1E4.js → LpFormField-gRASfyj2.js} +4 -1
  44. package/dist/chunks/{LpGauge-C14Z9503.js → LpGauge-BdjPGnqw.js} +1 -1
  45. package/dist/chunks/{LpHintLayer-HvwUA5Ec.js → LpHintLayer-C2asBIfs.js} +2 -2
  46. package/dist/chunks/{LpHints-DxbPKOzQ.js → LpHints-CNZQ76JV.js} +3 -3
  47. package/dist/chunks/{LpIcon-HJP5xMz4.js → LpIcon-DkP-9mzK.js} +1 -1
  48. package/dist/chunks/{LpInfraNode-D64hywJI.js → LpInfraNode-yTh4-5qa.js} +2 -2
  49. package/dist/chunks/{LpInput-CDuwODJG.js → LpInput-2H-5ILOB.js} +5 -2
  50. package/dist/chunks/{LpLightbox-XJ0LpTcZ.js → LpLightbox-lAt5uIfx.js} +2 -2
  51. package/dist/chunks/{LpLogViewer-DKK4ySZl.js → LpLogViewer-x78YfhJf.js} +5 -5
  52. package/dist/chunks/{LpMapPicker-BtIl7NOM.js → LpMapPicker-Dp5RSCi9.js} +1 -1
  53. package/dist/chunks/{LpMediaGallery-rmI1DjKN.js → LpMediaGallery-D92oJfY_.js} +3 -3
  54. package/dist/chunks/{LpModal-eBMt2Fqn.js → LpModal-CpH0bNo7.js} +1 -1
  55. package/dist/chunks/{LpModalNav-DiyFCHiZ.js → LpModalNav-BH4ANQGJ.js} +4 -4
  56. package/dist/chunks/{LpNotificationBell-D-WhE5m2.js → LpNotificationBell-BdUQqZhs.js} +6 -6
  57. package/dist/chunks/{LpNumberField-B9k-h2HE.js → LpNumberField-DZY3Z670.js} +4 -1
  58. package/dist/chunks/{LpNumberFlow-Cfyh033Q.js → LpNumberFlow-5khYxsfX.js} +6 -3
  59. package/dist/chunks/{LpPagination-VNCX6pFC.js → LpPagination-DbeACavM.js} +1 -1
  60. package/dist/chunks/LpPaletteTheme-CqWNRwHE.js +104 -0
  61. package/dist/chunks/{LpPasswordInput-GL2KOFK8.js → LpPasswordInput-BzAZsf5V.js} +4 -2
  62. package/dist/chunks/{LpPhoneInput-C60tx1tC.js → LpPhoneInput-BMpd-0QR.js} +2 -2
  63. package/dist/chunks/{LpPie-BgXZ3xmm.js → LpPie-DdFSTbGE.js} +4 -4
  64. package/dist/chunks/{LpPipeline-B31h41Mu.js → LpPipeline-zjEM1Lwc.js} +3 -3
  65. package/dist/chunks/{LpProgress-CE-m5OpD.js → LpProgress-BX33EKkN.js} +1 -1
  66. package/dist/chunks/{LpQuota-DaL8TgNe.js → LpQuota-DqNv1yjs.js} +2 -2
  67. package/dist/chunks/{LpRadioGroup-CGBr5nIp.js → LpRadioGroup-CsXeV9Ct.js} +4 -1
  68. package/dist/chunks/{LpRangeCalendar-c5qj7YcC.js → LpRangeCalendar-l-0nSFmY.js} +1 -1
  69. package/dist/chunks/{LpRangeSlider-Dv6lNvHY.js → LpRangeSlider-CM-0ZITZ.js} +3 -0
  70. package/dist/chunks/{LpRelativeTime-yin9uQP7.js → LpRelativeTime-UM8EkfrN.js} +1 -1
  71. package/dist/chunks/{LpRepeater-D0S7jjwr.js → LpRepeater-OvzByE5L.js} +2 -2
  72. package/dist/chunks/{LpSecretField-CfWyHv9m.js → LpSecretField-DwQiPOko.js} +9 -7
  73. package/dist/chunks/{LpSection-BW4xJ-Li.js → LpSection-DcQsieHG.js} +1 -1
  74. package/dist/chunks/{LpSegmented-BO99Sr4m.js → LpSegmented-D2VST0o3.js} +4 -1
  75. package/dist/chunks/{LpSelect-C_8cJtj6.js → LpSelect-DYX2-u5A.js} +36 -6
  76. package/dist/chunks/{LpSidebar-CZRXtvem.js → LpSidebar-D44peKq2.js} +3 -3
  77. package/dist/chunks/{LpSidebarNav-DBg1U1oW.js → LpSidebarNav--VwkXO_a.js} +3 -3
  78. package/dist/chunks/{LpSlider-DuoRpOrH.js → LpSlider-DxYoCJJO.js} +3 -0
  79. package/dist/chunks/{LpStat-DFKlPJgy.js → LpStat-DIsQfbeD.js} +3 -3
  80. package/dist/chunks/{LpStatus-BsGLrpor.js → LpStatus-BQU1TUsv.js} +1 -1
  81. package/dist/chunks/{LpStepMark-TrzOioa9.js → LpStepMark-CXa7DJy_.js} +1 -1
  82. package/dist/chunks/{LpStepper-BbnS5jUr.js → LpStepper-C9RM_yTG.js} +1 -1
  83. package/dist/chunks/{LpSwitch-DrzKrZZV.js → LpSwitch-bGZxUDSx.js} +3 -0
  84. package/dist/chunks/{LpTableFilter-DyvHGbOk.js → LpTableFilter-CTZMqFDU.js} +2 -2
  85. package/dist/chunks/{LpTableOfContents-rYvo8z5T.js → LpTableOfContents-CraicEs4.js} +2 -2
  86. package/dist/chunks/{LpTagsInput-DZg80W-B.js → LpTagsInput-DrjmrOge.js} +8 -5
  87. package/dist/chunks/{LpTextarea-DiWjeVoJ.js → LpTextarea-BbYqmG1S.js} +4 -1
  88. package/dist/chunks/{LpThemeStudio-DxVZMtzN.js → LpThemeStudio-B2nPaG-h.js} +18 -14
  89. package/dist/chunks/{LpThemeSwitcher-CadVBTBn.js → LpThemeSwitcher-C0A5sg_E.js} +5 -3
  90. package/dist/chunks/{LpTimeField-BFQVf_PW.js → LpTimeField-DQ8WvPr2.js} +4 -1
  91. package/dist/chunks/{LpToaster-Wv9ksj4q.js → LpToaster-BTTl_wuy.js} +2 -2
  92. package/dist/chunks/{LpTooltip-Cz8SQwRt.js → LpTooltip-BcBvIx4z.js} +23 -5
  93. package/dist/chunks/{LpTopologyCanvas-C17A1XCb.js → LpTopologyCanvas-B0wEvAoq.js} +1 -1
  94. package/dist/chunks/{LpTour-CY2bFXge.js → LpTour-BgCfNlaW.js} +1 -1
  95. package/dist/chunks/{LpTruncate-D_5Pfv5B.js → LpTruncate-TcqfkyJM.js} +2 -2
  96. package/dist/chunks/{LpUptimeBar-Tew1Ykx4.js → LpUptimeBar-DRadGq4Y.js} +136 -47
  97. package/dist/chunks/{MenuTitle-BjQZX8tQ.js → MenuTitle-Dab3EGOp.js} +1 -1
  98. package/dist/chunks/{OptionContent-CmYUUeWj.js → OptionContent-DPzNsybd.js} +1 -1
  99. package/dist/chunks/PalettePreviewBoundary-B0Hhu3Yw.js +20 -0
  100. package/dist/chunks/{PickerField-DoHv0WMH.js → PickerField-DwLw7j0L.js} +1 -1
  101. package/dist/chunks/{RevealToggle-C-KzaQGJ.js → RevealToggle-BVFM_FAU.js} +3 -3
  102. package/dist/chunks/{TourCard-BJ8i7dk0.js → TourCard--2IfgnUU.js} +2 -2
  103. package/dist/chunks/icons-CLu1iR1j.js +43 -0
  104. package/dist/chunks/palette-BiY7yQZL.js +29 -0
  105. package/dist/component-names.d.ts +1 -1
  106. package/dist/components/ContextMenuItems.vue.js +1 -1
  107. package/dist/components/DropzoneLinkField.vue.js +1 -1
  108. package/dist/components/FieldWrapper.vue.js +1 -1
  109. package/dist/components/LayoutCanvas.vue.js +1 -1
  110. package/dist/components/LayoutNode.vue.js +1 -1
  111. package/dist/components/LpActionBar.vue.js +1 -1
  112. package/dist/components/LpAddressInput.vue.d.ts +1 -1
  113. package/dist/components/LpAddressInput.vue.js +1 -1
  114. package/dist/components/LpAlert.vue.d.ts +3 -3
  115. package/dist/components/LpAlert.vue.js +1 -1
  116. package/dist/components/LpAppShell.vue.js +1 -1
  117. package/dist/components/LpAutocomplete.vue.d.ts +7 -1
  118. package/dist/components/LpAutocomplete.vue.js +1 -1
  119. package/dist/components/LpAvatar.vue.js +1 -1
  120. package/dist/components/LpBadge.vue.d.ts +2 -2
  121. package/dist/components/LpBadge.vue.js +1 -1
  122. package/dist/components/LpBreadcrumbs.vue.js +1 -1
  123. package/dist/components/LpButton.vue.d.ts +4 -0
  124. package/dist/components/LpButton.vue.js +1 -1
  125. package/dist/components/LpCalendar.vue.js +1 -1
  126. package/dist/components/LpChart.vue.js +2 -2
  127. package/dist/components/LpCheckbox.vue.d.ts +8 -1
  128. package/dist/components/LpCheckbox.vue.js +1 -1
  129. package/dist/components/LpCodeBlock.vue.js +1 -1
  130. package/dist/components/LpCodeDisplay.vue.js +1 -1
  131. package/dist/components/LpColorPicker.vue.d.ts +2 -2
  132. package/dist/components/LpColorPicker.vue.js +1 -1
  133. package/dist/components/LpCommandPalette.vue.d.ts +43 -7
  134. package/dist/components/LpCommandPalette.vue.js +451 -126
  135. package/dist/components/LpCommandScope.vue.d.ts +28 -0
  136. package/dist/components/LpCommandScope.vue.js +4 -0
  137. package/dist/components/LpConfirmDialog.vue.js +1 -1
  138. package/dist/components/LpConfirmHost.vue.js +1 -1
  139. package/dist/components/LpContextMenu.vue.d.ts +5 -1
  140. package/dist/components/LpContextMenu.vue.js +1 -1
  141. package/dist/components/LpCopyButton.vue.d.ts +1 -1
  142. package/dist/components/LpCopyButton.vue.js +1 -1
  143. package/dist/components/LpCountdown.vue.js +1 -1
  144. package/dist/components/LpDataList.vue.js +1 -1
  145. package/dist/components/LpDatePicker.vue.js +1 -1
  146. package/dist/components/LpDateRangePicker.vue.js +1 -1
  147. package/dist/components/LpDisclosure.vue.d.ts +4 -0
  148. package/dist/components/LpDisclosure.vue.js +1 -1
  149. package/dist/components/LpDock.vue.js +2 -2
  150. package/dist/components/LpDrawer.vue.js +1 -1
  151. package/dist/components/LpDropdownMenu.vue.d.ts +5 -1
  152. package/dist/components/LpDropdownMenu.vue.js +1 -1
  153. package/dist/components/LpDropzone.vue.js +2 -2
  154. package/dist/components/LpEditable.vue.js +1 -1
  155. package/dist/components/LpEmptyState.vue.js +1 -1
  156. package/dist/components/LpFieldNotice.vue.js +1 -1
  157. package/dist/components/LpFileTree.vue.d.ts +1 -1
  158. package/dist/components/LpFileTree.vue.js +1 -1
  159. package/dist/components/LpFileTreeNode.vue.js +1 -1
  160. package/dist/components/LpFormField.vue.js +1 -1
  161. package/dist/components/LpGauge.vue.js +1 -1
  162. package/dist/components/LpHintLayer.vue.js +1 -1
  163. package/dist/components/LpHints.vue.js +1 -1
  164. package/dist/components/LpIcon.vue.js +1 -1
  165. package/dist/components/LpImageEditor.vue.js +3 -2
  166. package/dist/components/LpInfraNode.vue.js +1 -1
  167. package/dist/components/LpInput.vue.d.ts +6 -0
  168. package/dist/components/LpInput.vue.js +1 -1
  169. package/dist/components/LpLightbox.vue.js +1 -1
  170. package/dist/components/LpLoader.vue.d.ts +1 -1
  171. package/dist/components/LpLogViewer.vue.js +1 -1
  172. package/dist/components/LpMapPicker.vue.js +1 -1
  173. package/dist/components/LpMediaGallery.vue.d.ts +2 -2
  174. package/dist/components/LpMediaGallery.vue.js +1 -1
  175. package/dist/components/LpModal.vue.js +1 -1
  176. package/dist/components/LpModalNav.vue.js +1 -1
  177. package/dist/components/LpNotificationBell.vue.js +1 -1
  178. package/dist/components/LpNumberField.vue.d.ts +6 -0
  179. package/dist/components/LpNumberField.vue.js +1 -1
  180. package/dist/components/LpNumberFlow.vue.js +1 -1
  181. package/dist/components/LpPagination.vue.js +1 -1
  182. package/dist/components/LpPaletteFacts.vue.d.ts +1 -0
  183. package/dist/components/LpPaletteFacts.vue.js +40 -26
  184. package/dist/components/LpPaletteHeader.vue.js +2 -2
  185. package/dist/components/LpPaletteStats.vue.d.ts +1 -0
  186. package/dist/components/LpPaletteStats.vue.js +45 -21
  187. package/dist/components/LpPaletteTheme.vue.d.ts +7 -0
  188. package/dist/components/LpPaletteTheme.vue.js +4 -0
  189. package/dist/components/LpPasswordInput.vue.js +1 -1
  190. package/dist/components/LpPhoneInput.vue.js +1 -1
  191. package/dist/components/LpPie.vue.js +1 -1
  192. package/dist/components/LpPipeline.vue.js +1 -1
  193. package/dist/components/LpProgress.vue.d.ts +1 -1
  194. package/dist/components/LpProgress.vue.js +1 -1
  195. package/dist/components/LpQuota.vue.js +1 -1
  196. package/dist/components/LpRadioGroup.vue.d.ts +6 -1
  197. package/dist/components/LpRadioGroup.vue.js +1 -1
  198. package/dist/components/LpRangeCalendar.vue.js +1 -1
  199. package/dist/components/LpRangeSlider.vue.d.ts +6 -0
  200. package/dist/components/LpRangeSlider.vue.js +1 -1
  201. package/dist/components/LpRelativeTime.vue.js +1 -1
  202. package/dist/components/LpRepeater.vue.js +1 -1
  203. package/dist/components/LpSecretField.vue.js +1 -1
  204. package/dist/components/LpSection.vue.js +1 -1
  205. package/dist/components/LpSegmented.vue.d.ts +6 -0
  206. package/dist/components/LpSegmented.vue.js +1 -1
  207. package/dist/components/LpSelect.vue.d.ts +3 -0
  208. package/dist/components/LpSelect.vue.js +1 -1
  209. package/dist/components/LpShinyText.vue.d.ts +1 -1
  210. package/dist/components/LpShortcutsDialog.vue.js +1 -1
  211. package/dist/components/LpSidebar.vue.js +1 -1
  212. package/dist/components/LpSidebarNav.vue.js +1 -1
  213. package/dist/components/LpSlider.vue.d.ts +6 -0
  214. package/dist/components/LpSlider.vue.js +1 -1
  215. package/dist/components/LpStat.vue.js +1 -1
  216. package/dist/components/LpStatus.vue.js +1 -1
  217. package/dist/components/LpStepMark.vue.js +1 -1
  218. package/dist/components/LpStepper.vue.js +1 -1
  219. package/dist/components/LpSwitch.vue.d.ts +6 -0
  220. package/dist/components/LpSwitch.vue.js +1 -1
  221. package/dist/components/LpTable.vue.d.ts +6 -0
  222. package/dist/components/LpTable.vue.js +74 -35
  223. package/dist/components/LpTableFilter.vue.js +1 -1
  224. package/dist/components/LpTableOfContents.vue.js +1 -1
  225. package/dist/components/LpTabs.vue.d.ts +1 -1
  226. package/dist/components/LpTabs.vue.js +14 -5
  227. package/dist/components/LpTagsInput.vue.d.ts +6 -0
  228. package/dist/components/LpTagsInput.vue.js +1 -1
  229. package/dist/components/LpTextarea.vue.d.ts +8 -1
  230. package/dist/components/LpTextarea.vue.js +1 -1
  231. package/dist/components/LpThemeStudio.vue.js +1 -1
  232. package/dist/components/LpThemeSwitcher.vue.js +1 -1
  233. package/dist/components/LpTimeField.vue.d.ts +6 -0
  234. package/dist/components/LpTimeField.vue.js +1 -1
  235. package/dist/components/LpToaster.vue.js +1 -1
  236. package/dist/components/LpTooltip.vue.js +1 -1
  237. package/dist/components/LpTopologyCanvas.vue.js +1 -1
  238. package/dist/components/LpTour.vue.js +1 -1
  239. package/dist/components/LpTruncate.vue.js +1 -1
  240. package/dist/components/LpUptimeBar.vue.d.ts +18 -9
  241. package/dist/components/LpUptimeBar.vue.js +1 -1
  242. package/dist/components/MenuTitle.vue.js +1 -1
  243. package/dist/components/OptionContent.vue.js +1 -1
  244. package/dist/components/PalettePreviewBoundary.vue.d.ts +13 -0
  245. package/dist/components/PalettePreviewBoundary.vue.js +4 -0
  246. package/dist/components/PickerField.vue.js +1 -1
  247. package/dist/components/RevealToggle.vue.js +1 -1
  248. package/dist/components/TourCard.vue.js +1 -1
  249. package/dist/components/commandPalette.d.ts +33 -0
  250. package/dist/components/commandPalette.js +21 -1
  251. package/dist/components/commandSearch.d.ts +5 -0
  252. package/dist/components/commandSearch.js +22 -2
  253. package/dist/components/format.d.ts +7 -0
  254. package/dist/components/format.js +4 -0
  255. package/dist/components/menuWhen.js +1 -1
  256. package/dist/components/uptimeBar.d.ts +45 -0
  257. package/dist/components/uptimeBar.js +51 -0
  258. package/dist/composables/scroll.d.ts +5 -0
  259. package/dist/composables/scroll.js +7 -0
  260. package/dist/composables/useField.d.ts +4 -0
  261. package/dist/composables/useField.js +3 -0
  262. package/dist/composables/usePaletteCommands.d.ts +61 -0
  263. package/dist/composables/usePaletteCommands.js +220 -0
  264. package/dist/composables/useReveal.js +21 -0
  265. package/dist/composables/useView.js +5 -1
  266. package/dist/icons-all.js +1 -1
  267. package/dist/index.d.ts +14 -1
  268. package/dist/index.js +101 -85
  269. package/dist/theme/palette.d.ts +9 -0
  270. package/dist/theme/studio.d.ts +12 -1
  271. package/package.json +1 -1
  272. package/src/component-names.ts +2 -0
  273. package/src/components/LpAutocomplete.vue +6 -1
  274. package/src/components/LpButton.vue +5 -1
  275. package/src/components/LpCheckbox.vue +7 -2
  276. package/src/components/LpCommandPalette.vue +263 -29
  277. package/src/components/LpCommandScope.vue +35 -0
  278. package/src/components/LpContextMenu.vue +13 -2
  279. package/src/components/LpDisclosure.vue +5 -1
  280. package/src/components/LpDropdownMenu.vue +13 -2
  281. package/src/components/LpFormField.vue +3 -0
  282. package/src/components/LpInput.vue +6 -1
  283. package/src/components/LpNumberField.vue +6 -1
  284. package/src/components/LpNumberFlow.vue +12 -2
  285. package/src/components/LpPaletteFacts.vue +11 -6
  286. package/src/components/LpPaletteStats.vue +12 -5
  287. package/src/components/LpPaletteTheme.vue +48 -0
  288. package/src/components/LpPasswordInput.vue +3 -0
  289. package/src/components/LpRadioGroup.vue +4 -1
  290. package/src/components/LpRangeSlider.vue +6 -1
  291. package/src/components/LpSecretField.vue +3 -0
  292. package/src/components/LpSegmented.vue +6 -1
  293. package/src/components/LpSelect.vue +41 -2
  294. package/src/components/LpSlider.vue +6 -1
  295. package/src/components/LpSwitch.vue +6 -1
  296. package/src/components/LpTable.vue +35 -2
  297. package/src/components/LpTableOfContents.vue +2 -4
  298. package/src/components/LpTabs.vue +7 -0
  299. package/src/components/LpTagsInput.vue +6 -1
  300. package/src/components/LpTextarea.vue +7 -2
  301. package/src/components/LpThemeStudio.vue +7 -5
  302. package/src/components/LpThemeSwitcher.vue +3 -0
  303. package/src/components/LpTimeField.vue +6 -1
  304. package/src/components/LpTooltip.vue +23 -1
  305. package/src/components/LpUptimeBar.vue +69 -41
  306. package/src/components/PalettePreviewBoundary.vue +5 -0
  307. package/src/components/commandPalette.ts +22 -1
  308. package/src/components/commandSearch.ts +23 -1
  309. package/src/components/format.ts +10 -0
  310. package/src/components/uptimeBar.ts +98 -0
  311. package/src/composables/scroll.ts +11 -0
  312. package/src/composables/useField.ts +7 -0
  313. package/src/composables/usePaletteCommands.ts +220 -0
  314. package/src/composables/useReveal.ts +29 -0
  315. package/src/composables/useView.ts +5 -1
  316. package/src/index.ts +18 -1
  317. package/src/kit-icons.ts +1 -1
  318. package/src/theme/palette.ts +26 -0
  319. package/src/theme/studio.ts +15 -8
  320. package/dist/assets/LpTabs-BJ-nrJuI.css +0 -18
  321. package/dist/chunks/icons-4IywzkHk.js +0 -43
@@ -1,6 +1,7 @@
1
1
  import { defineComponent, useId, useAttrs, computed, openBlock, createBlock, unref, normalizeStyle, normalizeClass, withCtx, createVNode, createCommentVNode, mergeProps, createElementBlock, toDisplayString } from "vue";
2
+ import { usePaletteControl } from "../composables/usePaletteCommands.js";
2
3
  import { NumberFieldRoot, NumberFieldDecrement, NumberFieldInput, NumberFieldIncrement } 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 { useFieldControl, focusLeft } from "../composables/useField.js";
5
6
  import { useLabels } from "../composables/useLpConfig.js";
6
7
  import { useMergedClass } from "../composables/useMergedClass.js";
@@ -10,6 +11,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
10
11
  ...__default__,
11
12
  __name: "LpNumberField",
12
13
  props: {
14
+ palette: { type: [Boolean, Object], default: void 0 },
13
15
  modelValue: {},
14
16
  min: {},
15
17
  max: {},
@@ -67,6 +69,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
67
69
  field.value.invalid ? "border-danger focus-within:border-danger focus-within:ring-danger-soft" : "border-line focus-within:border-brand focus-within:ring-ring"
68
70
  ].join(" ")
69
71
  );
72
+ usePaletteControl({ disabled: () => field.value.disabled, invalid: () => field.value.invalid });
70
73
  return (_ctx, _cache) => {
71
74
  return openBlock(), createBlock(unref(NumberFieldRoot), {
72
75
  "model-value": __props.modelValue ?? void 0,
@@ -1,7 +1,8 @@
1
1
  import { defineComponent, ref, watch, onBeforeUnmount, computed, openBlock, createElementBlock, createElementVNode, toDisplayString, createCommentVNode, createVNode, TransitionGroup, withCtx, Fragment, renderList, normalizeClass, normalizeStyle, createTextVNode } from "vue";
2
2
  import { prefersReducedMotion, easeOut } from "../composables/easing.js";
3
+ import { useLocale } from "../composables/useLocale.js";
4
+ import { decimalMark, compactNumber } from "../components/format.js";
3
5
  import { useRevealedValue } from "../composables/useRevealedValue.js";
4
- import { compactNumber } from "../components/format.js";
5
6
  import '../assets/LpNumberFlow-rZkwQwlU.css';const _hoisted_1 = { class: "sr-only" };
6
7
  const _hoisted_2 = {
7
8
  key: 0,
@@ -102,6 +103,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
102
103
  });
103
104
  watch(target, travel);
104
105
  onBeforeUnmount(stop);
106
+ const locale = useLocale(() => props.locale);
107
+ const fractionMark = computed(() => props.grouped && !props.format && !props.compact ? decimalMark(locale.value) : ".");
105
108
  const formatted = computed(() => formatAt(round(displayed.value), !settled.value));
106
109
  function formatAt(v, padded) {
107
110
  if (props.format) return props.format(v);
@@ -111,7 +114,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
111
114
  }
112
115
  const pad = padded ? Math.max(1, padTo.value) : 1;
113
116
  if (props.grouped)
114
- return v.toLocaleString(props.locale, {
117
+ return v.toLocaleString(locale.value, {
115
118
  minimumFractionDigits: props.decimals,
116
119
  maximumFractionDigits: props.decimals,
117
120
  minimumIntegerDigits: pad
@@ -127,7 +130,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
127
130
  }
128
131
  const cells = computed(() => {
129
132
  const chars = [...formatted.value];
130
- const dot = chars.indexOf(".");
133
+ const dot = chars.indexOf(fractionMark.value);
131
134
  const intEnd = dot === -1 ? chars.length : dot;
132
135
  const isDigit = (c) => {
133
136
  const code = c.charCodeAt(0);
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, computed, ref, useId, openBlock, createElementBlock, mergeProps, unref, createElementVNode, normalizeClass, createVNode, Fragment, renderList, createBlock, createCommentVNode, toDisplayString } from "vue";
2
2
  import { Motion } from "motion-v";
3
3
  import { usePillTransition } from "../composables/usePillTransition.js";
4
- import { _ as _sfc_main$1 } from "./LpIcon-HJP5xMz4.js";
4
+ import { _ as _sfc_main$1 } from "./LpIcon-DkP-9mzK.js";
5
5
  import { useMergedAttrs } from "../composables/useMergedClass.js";
6
6
  import { useLabels } from "../composables/useLpConfig.js";
7
7
  import { useResizeObserver } from "../composables/useResizeObserver.js";
@@ -0,0 +1,104 @@
1
+ import { defineComponent, ref, computed, openBlock, createElementBlock, createElementVNode, createVNode, withCtx, createTextVNode, toDisplayString, unref } from "vue";
2
+ import { useLabels } from "../composables/useLpConfig.js";
3
+ import { suppressPaletteDiscovery } from "../composables/usePaletteCommands.js";
4
+ import { _ as _sfc_main$4 } from "./LpThemeStudio-B2nPaG-h.js";
5
+ import { _ as _sfc_main$2 } from "./LpThemeProvider-DcbfOxsU.js";
6
+ import { _ as _sfc_main$1 } from "./LpButton-BQDAFXBd.js";
7
+ import { _ as _sfc_main$3 } from "./LpInput-2H-5ILOB.js";
8
+ const _hoisted_1 = { class: "flex min-w-0 flex-col gap-4" };
9
+ const _hoisted_2 = { class: "sticky top-0 z-10 flex gap-2 border-b border-line bg-surface-overlay pb-3" };
10
+ const _hoisted_3 = { class: "text-sm font-semibold" };
11
+ const _sfc_main = /* @__PURE__ */ defineComponent({
12
+ __name: "LpPaletteTheme",
13
+ props: {
14
+ studio: {}
15
+ },
16
+ setup(__props) {
17
+ const props = __props;
18
+ suppressPaletteDiscovery();
19
+ const text = useLabels("paletteTheme", { title: "Theme", apply: "Apply theme", revert: "Revert draft", sample: "Preview", action: "Continue", placeholder: "A field in this theme" });
20
+ const snapshot = ref({ ...props.studio.state.value });
21
+ const state = ref({ ...snapshot.value });
22
+ const preview = computed(() => props.studio.preview(state.value));
23
+ const changed = computed(() => JSON.stringify(state.value) !== JSON.stringify(snapshot.value));
24
+ const draft = {
25
+ state,
26
+ themes: props.studio.themes,
27
+ system: props.studio.system,
28
+ theme: computed(() => preview.value.theme),
29
+ exported: computed(() => preview.value.exported),
30
+ changed,
31
+ brand: computed({ get: () => preview.value.theme.colors.brand, set: (brand) => {
32
+ state.value = { ...state.value, brand };
33
+ } }),
34
+ pickTheme: (theme) => {
35
+ state.value = { ...state.value, theme };
36
+ },
37
+ tune: (patch) => {
38
+ state.value = { ...state.value, ...patch };
39
+ },
40
+ reset: () => {
41
+ state.value = { ...snapshot.value };
42
+ },
43
+ preview: props.studio.preview
44
+ };
45
+ function apply() {
46
+ const { theme, ...tuning } = state.value;
47
+ props.studio.pickTheme(theme);
48
+ props.studio.tune(tuning);
49
+ snapshot.value = { ...state.value };
50
+ }
51
+ return (_ctx, _cache) => {
52
+ return openBlock(), createElementBlock("div", _hoisted_1, [
53
+ createElementVNode("div", _hoisted_2, [
54
+ createVNode(_sfc_main$1, {
55
+ disabled: !changed.value,
56
+ onClick: apply
57
+ }, {
58
+ default: withCtx(() => [
59
+ createTextVNode(toDisplayString(unref(text).apply), 1)
60
+ ]),
61
+ _: 1
62
+ }, 8, ["disabled"]),
63
+ createVNode(_sfc_main$1, {
64
+ variant: "ghost",
65
+ disabled: !changed.value,
66
+ onClick: _cache[0] || (_cache[0] = ($event) => draft.reset())
67
+ }, {
68
+ default: withCtx(() => [
69
+ createTextVNode(toDisplayString(unref(text).revert), 1)
70
+ ]),
71
+ _: 1
72
+ }, 8, ["disabled"])
73
+ ]),
74
+ createVNode(_sfc_main$2, {
75
+ theme: preview.value.theme,
76
+ class: "flex flex-col gap-3 rounded-card border border-line p-4"
77
+ }, {
78
+ default: withCtx(() => [
79
+ createElementVNode("span", _hoisted_3, toDisplayString(unref(text).sample), 1),
80
+ createVNode(_sfc_main$3, {
81
+ placeholder: unref(text).placeholder,
82
+ readonly: "",
83
+ tabindex: -1
84
+ }, null, 8, ["placeholder"]),
85
+ createVNode(_sfc_main$1, { tabindex: -1 }, {
86
+ default: withCtx(() => [
87
+ createTextVNode(toDisplayString(unref(text).action), 1)
88
+ ]),
89
+ _: 1
90
+ })
91
+ ]),
92
+ _: 1
93
+ }, 8, ["theme"]),
94
+ createVNode(_sfc_main$4, {
95
+ studio: draft,
96
+ labels: { reset: unref(text).revert }
97
+ }, null, 8, ["labels"])
98
+ ]);
99
+ };
100
+ }
101
+ });
102
+ export {
103
+ _sfc_main as _
104
+ };
@@ -1,8 +1,9 @@
1
1
  import { defineComponent, useModel, ref, openBlock, createBlock, mergeProps, unref, createSlots, withCtx, renderSlot, createCommentVNode, mergeModels } from "vue";
2
+ import { suppressPaletteDiscovery } from "../composables/usePaletteCommands.js";
2
3
  import { useFieldControl } from "../composables/useField.js";
3
4
  import { useLabels } from "../composables/useLpConfig.js";
4
- import { _ as _sfc_main$1 } from "./LpInput-CDuwODJG.js";
5
- import { _ as _sfc_main$2 } from "./RevealToggle-C-KzaQGJ.js";
5
+ import { _ as _sfc_main$1 } from "./LpInput-2H-5ILOB.js";
6
+ import { _ as _sfc_main$2 } from "./RevealToggle-BVFM_FAU.js";
6
7
  const __default__ = { inheritAttrs: false };
7
8
  const _sfc_main = /* @__PURE__ */ defineComponent({
8
9
  ...__default__,
@@ -39,6 +40,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
39
40
  blur: () => inner.value?.blur(),
40
41
  select: () => inner.value?.select()
41
42
  });
43
+ suppressPaletteDiscovery();
42
44
  return (_ctx, _cache) => {
43
45
  return openBlock(), createBlock(_sfc_main$1, mergeProps({
44
46
  ref_key: "inner",
@@ -6,8 +6,8 @@ import { useInputFilter } from "../composables/useInputFilter.js";
6
6
  import { useLabels } from "../composables/useLpConfig.js";
7
7
  import { matchCountryByValue, filterCountries, loadCountries, flagEmoji } from "../components/countries.js";
8
8
  import { POPOVER_PANEL, OPTION_ITEM, optionStagger } from "../components/dropdown.js";
9
- import { _ as _sfc_main$2 } from "./LpFieldNotice-CurbNuXI.js";
10
- import { _ as _sfc_main$1 } from "./LpIcon-HJP5xMz4.js";
9
+ import { _ as _sfc_main$2 } from "./LpFieldNotice-CPI8EwtU.js";
10
+ import { _ as _sfc_main$1 } from "./LpIcon-DkP-9mzK.js";
11
11
  import { loadPhoneLib, formatPhone, loadPhoneExamples, digitsBefore, caretAfterDigits, digitsOf } from "../components/phone.js";
12
12
  import { useMergedAttrs } from "../composables/useMergedClass.js";
13
13
  import { usePortalTarget, useOutsideGuard } from "../composables/useView.js";
@@ -4,14 +4,14 @@ import { useReveal } from "../composables/useReveal.js";
4
4
  import { useTween, lerp, mixColor } from "../composables/useTween.js";
5
5
  import { resolveSlices, arcPath, calloutLabels, formatTick } from "../components/chart.js";
6
6
  import { _ as _sfc_main$9 } from "./LegendSwatch-BhRjrtzv.js";
7
- import { _ as _sfc_main$4 } from "./LpContextMenu-Cj96ENDC.js";
8
- import { _ as _sfc_main$3 } from "./LpEmptyState-KTKipws2.js";
9
- import { _ as _sfc_main$6 } from "./LpNumberFlow-Cfyh033Q.js";
7
+ import { _ as _sfc_main$4 } from "./LpContextMenu-DXpFJjlO.js";
8
+ import { _ as _sfc_main$3 } from "./LpEmptyState-CKFTtQgJ.js";
9
+ import { _ as _sfc_main$6 } from "./LpNumberFlow-5khYxsfX.js";
10
10
  import { _ as _sfc_main$7 } from "./LpRollingText-DiL717LK.js";
11
11
  import { _ as _sfc_main$8 } from "./LpShift-DXNsauQZ.js";
12
12
  import { _ as _sfc_main$2 } from "./LpSkeleton-BB6XIV-w.js";
13
13
  import { _ as _sfc_main$1 } from "./LpSwap-DzE6M3Mg.js";
14
- import { _ as _sfc_main$5 } from "./LpTooltip-Cz8SQwRt.js";
14
+ import { _ as _sfc_main$5 } from "./LpTooltip-BcBvIx4z.js";
15
15
  import { useMergedAttrs } from "../composables/useMergedClass.js";
16
16
  import { useLabels } from "../composables/useLpConfig.js";
17
17
  const _hoisted_1 = ["aria-busy"];
@@ -4,11 +4,11 @@ import { useLabels } from "../composables/useLpConfig.js";
4
4
  import { useMergedAttrs } from "../composables/useMergedClass.js";
5
5
  import { useNow } from "../composables/useNow.js";
6
6
  import { _ as _sfc_main$6 } from "./LpCollapse-CWS9M_lm.js";
7
- import { _ as _sfc_main$5 } from "./LpIcon-HJP5xMz4.js";
7
+ import { _ as _sfc_main$5 } from "./LpIcon-DkP-9mzK.js";
8
8
  import { _ as _sfc_main$4 } from "./LpRollingText-DiL717LK.js";
9
9
  import { _ as _sfc_main$3 } from "./LpShift-DXNsauQZ.js";
10
- import { _ as _sfc_main$1 } from "./LpStepMark-TrzOioa9.js";
11
- import { _ as _sfc_main$7 } from "./LpTooltip-Cz8SQwRt.js";
10
+ import { _ as _sfc_main$1 } from "./LpStepMark-CXa7DJy_.js";
11
+ import { _ as _sfc_main$7 } from "./LpTooltip-BcBvIx4z.js";
12
12
  import { _ as _sfc_main$2 } from "./StepConnector-37OgEOXA.js";
13
13
  import { stepKey, connectorFilled, currentStepIndex, stepElapsed, childProgress } from "../components/pipeline.js";
14
14
  import { DEFAULT_UNIT_LABELS, toEpoch, formatElapsed } from "../components/timeSpan.js";
@@ -2,7 +2,7 @@ import { defineComponent, computed, openBlock, createBlock, unref, mergeProps, w
2
2
  import { ProgressRoot, ProgressIndicator } from "reka-ui";
3
3
  import { useMergedAttrs } from "../composables/useMergedClass.js";
4
4
  import { useRevealedValue } from "../composables/useRevealedValue.js";
5
- import { _ as _sfc_main$1 } from "./LpNumberFlow-Cfyh033Q.js";
5
+ import { _ as _sfc_main$1 } from "./LpNumberFlow-5khYxsfX.js";
6
6
  import { meterFraction, toneAt, capacityThresholds, METER_HEADER, METER_TRACK } from "../components/meter.js";
7
7
  import { toneLook } from "../components/tone.js";
8
8
  const _hoisted_1 = ["width", "height"];
@@ -3,8 +3,8 @@ import { useLabels } from "../composables/useLpConfig.js";
3
3
  import { useLocale } from "../composables/useLocale.js";
4
4
  import { useMergedAttrs } from "../composables/useMergedClass.js";
5
5
  import { useRevealedValue } from "../composables/useRevealedValue.js";
6
- import { _ as _sfc_main$2 } from "./LpIcon-HJP5xMz4.js";
7
- import { _ as _sfc_main$1 } from "./LpNumberFlow-Cfyh033Q.js";
6
+ import { _ as _sfc_main$2 } from "./LpIcon-DkP-9mzK.js";
7
+ import { _ as _sfc_main$1 } from "./LpNumberFlow-5khYxsfX.js";
8
8
  import { _ as _sfc_main$3 } from "./LpRollingText-DiL717LK.js";
9
9
  import { METER_HEADER, METER_TRACK } from "../components/meter.js";
10
10
  import { quotaState, quotaSegments, formatAmount } from "../components/quota.js";
@@ -1,8 +1,9 @@
1
1
  import { defineComponent, useId, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot, createElementBlock, Fragment, renderList, normalizeClass, createVNode, createElementVNode, createCommentVNode, toDisplayString, createTextVNode } from "vue";
2
+ import { usePaletteControl } from "../composables/usePaletteCommands.js";
2
3
  import { RadioGroupRoot, RadioGroupItem, RadioGroupIndicator } from "reka-ui";
3
4
  import { useFieldControl } from "../composables/useField.js";
4
5
  import { useMergedAttrs } from "../composables/useMergedClass.js";
5
- import { _ as _sfc_main$1 } from "./LpIcon-HJP5xMz4.js";
6
+ import { _ as _sfc_main$1 } from "./LpIcon-DkP-9mzK.js";
6
7
  const _hoisted_1 = {
7
8
  key: 1,
8
9
  class: "flex min-w-0 flex-col"
@@ -13,6 +14,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
13
14
  ...__default__,
14
15
  __name: "LpRadioGroup",
15
16
  props: {
17
+ palette: { type: [Boolean, Object], default: void 0 },
16
18
  modelValue: {},
17
19
  options: {},
18
20
  disabled: { type: Boolean }
@@ -25,6 +27,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
25
27
  const { class: rootClass, attrs: rest } = useMergedAttrs(
26
28
  "flex flex-col gap-2"
27
29
  );
30
+ usePaletteControl({ disabled: () => field.value.disabled });
28
31
  return (_ctx, _cache) => {
29
32
  return openBlock(), createBlock(unref(RadioGroupRoot), mergeProps({
30
33
  "model-value": __props.modelValue,
@@ -5,7 +5,7 @@ import { useLabels } from "../composables/useLpConfig.js";
5
5
  import { useMergedAttrs } from "../composables/useMergedClass.js";
6
6
  import { CALENDAR_LABELS, CALENDAR_NAV, CALENDAR_FRAME } from "../components/calendar.js";
7
7
  import { normalizeRange, parseIsoDay, reshapeRange } from "../components/dateRange.js";
8
- import { _ as _sfc_main$1 } from "./LpIcon-HJP5xMz4.js";
8
+ import { _ as _sfc_main$1 } from "./LpIcon-DkP-9mzK.js";
9
9
  const _hoisted_1 = { class: "flex gap-4" };
10
10
  const __default__ = { inheritAttrs: false };
11
11
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,4 +1,5 @@
1
1
  import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, createVNode, createElementBlock, Fragment, renderList, normalizeClass, toDisplayString, createCommentVNode } from "vue";
2
+ import { usePaletteControl } from "../composables/usePaletteCommands.js";
2
3
  import { SliderRoot, SliderTrack, SliderRange, SliderThumb } from "reka-ui";
3
4
  import { useFieldControl } from "../composables/useField.js";
4
5
  import { useMergedAttrs } from "../composables/useMergedClass.js";
@@ -8,6 +9,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
8
9
  ...__default__,
9
10
  __name: "LpRangeSlider",
10
11
  props: {
12
+ palette: { type: [Boolean, Object], default: void 0 },
11
13
  modelValue: { default: () => [0, 100] },
12
14
  min: { default: 0 },
13
15
  max: { default: 100 },
@@ -39,6 +41,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
39
41
  const { dragging, onPointerDown } = useSliderDrag();
40
42
  const thumbClass = "group/thumb relative block size-4 rounded-pill border-2 border-brand bg-surface shadow outline-none transition-transform duration-[var(--duration-fast)] ease-[var(--ease-emphasized)] hover:scale-110 active:scale-95 focus-visible:ring-2 focus-visible:ring-ring motion-reduce:hover:scale-100 motion-reduce:active:scale-100";
41
43
  const labelClass = "pointer-events-none absolute bottom-full left-1/2 mb-1.5 -translate-x-1/2 translate-y-0.5 rounded-control bg-surface-raised px-1.5 py-0.5 text-[11px] whitespace-nowrap text-ink tabular-nums opacity-0 shadow-sm transition-[opacity,translate] duration-[var(--duration-fast)] ease-[var(--ease-emphasized)] group-hover/thumb:translate-y-0 group-hover/thumb:opacity-100 group-focus-visible/thumb:translate-y-0 group-focus-visible/thumb:opacity-100 group-active/thumb:translate-y-0 group-active/thumb:opacity-100 motion-reduce:transition-none";
44
+ usePaletteControl({ disabled: () => field.value.disabled });
42
45
  return (_ctx, _cache) => {
43
46
  return openBlock(), createBlock(unref(SliderRoot), mergeProps({
44
47
  "model-value": [props.modelValue[0], props.modelValue[1]],
@@ -3,7 +3,7 @@ import { useLocale } from "../composables/useLocale.js";
3
3
  import { useMergedAttrs } from "../composables/useMergedClass.js";
4
4
  import { useNow } from "../composables/useNow.js";
5
5
  import { _ as _sfc_main$2 } from "./LpRollingText-DiL717LK.js";
6
- import { _ as _sfc_main$1 } from "./LpTooltip-Cz8SQwRt.js";
6
+ import { _ as _sfc_main$1 } from "./LpTooltip-BcBvIx4z.js";
7
7
  import { formatRelativeTime } from "../components/relativeTime.js";
8
8
  import { toEpoch } from "../components/timeSpan.js";
9
9
  const _hoisted_1 = ["datetime"];
@@ -4,8 +4,8 @@ import { useLabels } from "../composables/useLpConfig.js";
4
4
  import { useMergedAttrs } from "../composables/useMergedClass.js";
5
5
  import { useRepeater } from "../composables/useRepeater.js";
6
6
  import { usePrefersReducedMotion } from "../composables/useReducedMotion.js";
7
- import { _ as _sfc_main$1 } from "./LpButton-CVxBfGjd.js";
8
- import { _ as _sfc_main$2 } from "./LpIcon-HJP5xMz4.js";
7
+ import { _ as _sfc_main$1 } from "./LpButton-BQDAFXBd.js";
8
+ import { _ as _sfc_main$2 } from "./LpIcon-DkP-9mzK.js";
9
9
  import { _ as _sfc_main$3 } from "./LpShift-DXNsauQZ.js";
10
10
  import '../assets/LpRepeater-C1Cw27hj.css';const _hoisted_1 = { class: "flex items-center justify-between gap-2" };
11
11
  const _hoisted_2 = {
@@ -1,17 +1,18 @@
1
1
  import { defineComponent, useModel, computed, ref, watch, onMounted, onBeforeUnmount, useId, openBlock, createBlock, mergeProps, unref, createSlots, withCtx, createCommentVNode, renderSlot, createVNode, normalizeStyle, normalizeClass, createElementVNode, Transition, createElementBlock, toDisplayString, mergeModels } from "vue";
2
+ import { suppressPaletteDiscovery } from "../composables/usePaletteCommands.js";
2
3
  import { prefersReducedMotion } from "../composables/easing.js";
3
4
  import { useScramble } from "../composables/useScramble.js";
4
5
  import { useLabels } from "../composables/useLpConfig.js";
5
6
  import { useFieldControl } from "../composables/useField.js";
6
7
  import { mergeClass } from "../composables/useMergedClass.js";
7
- import { _ as _sfc_main$5 } from "./FieldWrapper-BiennROB.js";
8
- import { _ as _sfc_main$3 } from "./LpButton-CVxBfGjd.js";
9
- import { _ as _sfc_main$2 } from "./LpCopyButton-DzHjnFs0.js";
10
- import { _ as _sfc_main$4 } from "./LpIcon-HJP5xMz4.js";
11
- import { _ as _sfc_main$1 } from "./LpPasswordInput-GL2KOFK8.js";
8
+ import { _ as _sfc_main$5 } from "./FieldWrapper-YzbvvC3M.js";
9
+ import { _ as _sfc_main$3 } from "./LpButton-BQDAFXBd.js";
10
+ import { _ as _sfc_main$2 } from "./LpCopyButton-Dmq7DmFw.js";
11
+ import { _ as _sfc_main$4 } from "./LpIcon-DkP-9mzK.js";
12
+ import { _ as _sfc_main$1 } from "./LpPasswordInput-BzAZsf5V.js";
12
13
  import { _ as _sfc_main$6 } from "./LpShift-DXNsauQZ.js";
13
- import { _ as _sfc_main$8 } from "./LpTooltip-Cz8SQwRt.js";
14
- import { _ as _sfc_main$7 } from "./RevealToggle-C-KzaQGJ.js";
14
+ import { _ as _sfc_main$8 } from "./LpTooltip-BcBvIx4z.js";
15
+ import { _ as _sfc_main$7 } from "./RevealToggle-BVFM_FAU.js";
15
16
  const _hoisted_1 = ["id", "aria-label"];
16
17
  const _hoisted_2 = {
17
18
  key: "empty",
@@ -130,6 +131,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
130
131
  { sm: "min-h-(--size-control-sm) pl-2.5 pr-1 text-xs", md: "min-h-(--size-control-md) pl-3 pr-1.5 text-sm", lg: "min-h-(--size-control-lg) pl-3.5 pr-1.5 text-sm" }[props.size]
131
132
  )
132
133
  );
134
+ suppressPaletteDiscovery();
133
135
  return (_ctx, _cache) => {
134
136
  return __props.input ? (openBlock(), createBlock(_sfc_main$1, mergeProps({
135
137
  key: 0,
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, useSlots, computed, openBlock, createElementBlock, normalizeClass, createElementVNode, createBlock, createCommentVNode, resolveDynamicComponent, withCtx, renderSlot, createTextVNode, toDisplayString } from "vue";
2
2
  import { tv } from "tailwind-variants";
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 = { class: "min-w-0 flex-1 break-words" };
5
5
  const _hoisted_2 = { class: "flex flex-wrap items-center gap-2" };
6
6
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,11 +1,12 @@
1
1
  import { defineComponent, useId, ref, openBlock, createBlock, unref, mergeProps, withCtx, createElementBlock, Fragment, renderList, normalizeClass, createCommentVNode, createVNode, toDisplayString } from "vue";
2
+ import { usePaletteControl } from "../composables/usePaletteCommands.js";
2
3
  import { Motion } from "motion-v";
3
4
  import { ToggleGroupRoot, ToggleGroupItem } from "reka-ui";
4
5
  import { useFieldControl } from "../composables/useField.js";
5
6
  import { useMergedAttrs } from "../composables/useMergedClass.js";
6
7
  import { usePillTransition } from "../composables/usePillTransition.js";
7
8
  import { _ as _sfc_main$2 } from "./AttentionDot-DCBf4aWg.js";
8
- import { _ as _sfc_main$1 } from "./LpIcon-HJP5xMz4.js";
9
+ import { _ as _sfc_main$1 } from "./LpIcon-DkP-9mzK.js";
9
10
  const _hoisted_1 = {
10
11
  key: 1,
11
12
  class: "relative z-10 inline-flex shrink-0"
@@ -19,6 +20,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
19
20
  ...__default__,
20
21
  __name: "LpSegmented",
21
22
  props: {
23
+ palette: { type: [Boolean, Object], default: void 0 },
22
24
  modelValue: {},
23
25
  options: {},
24
26
  size: { default: "md" },
@@ -59,6 +61,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
59
61
  const target = event.currentTarget;
60
62
  if (target instanceof HTMLElement) target.blur();
61
63
  }
64
+ usePaletteControl({ disabled: () => field.value.disabled });
62
65
  return (_ctx, _cache) => {
63
66
  return openBlock(), createBlock(unref(ToggleGroupRoot), mergeProps({
64
67
  "model-value": __props.modelValue,
@@ -1,11 +1,12 @@
1
1
  import { defineComponent, computed, ref, useAttrs, useId, reactive, watch, nextTick, openBlock, createBlock, unref, mergeProps, withCtx, createVNode, normalizeClass, createElementVNode, toDisplayString, createElementBlock, TransitionGroup, Fragment, renderList, createCommentVNode, withModifiers, createTextVNode, normalizeStyle } from "vue";
2
+ import { usePaletteControl } from "../composables/usePaletteCommands.js";
2
3
  import { ComboboxRoot, ComboboxAnchor, ComboboxTrigger, ComboboxPortal, ComboboxContent, ComboboxInput, ComboboxViewport, ComboboxEmpty, ComboboxItem, ComboboxItemIndicator } from "reka-ui";
3
4
  import { useFieldControl, useFieldBlur } from "../composables/useField.js";
4
5
  import { useLabels } from "../composables/useLpConfig.js";
5
6
  import { useMergedAttrs } from "../composables/useMergedClass.js";
6
7
  import { POPOVER_PANEL, OPTION_ITEM, optionStagger } from "../components/dropdown.js";
7
- import { _ as _sfc_main$1 } from "./LpIcon-HJP5xMz4.js";
8
- import { _ as _sfc_main$3 } from "./OptionContent-CmYUUeWj.js";
8
+ import { _ as _sfc_main$1 } from "./LpIcon-DkP-9mzK.js";
9
+ import { _ as _sfc_main$3 } from "./OptionContent-DPzNsybd.js";
9
10
  import { _ as _sfc_main$2 } from "./LpRollingText-DiL717LK.js";
10
11
  import { fitChips, toggledValues } from "../components/select.js";
11
12
  import { usePortalTarget, useOutsideGuard } from "../composables/useView.js";
@@ -48,6 +49,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
48
49
  ...__default__,
49
50
  __name: "LpSelect",
50
51
  props: {
52
+ palette: { type: [Boolean, Object], default: void 0 },
51
53
  modelValue: {},
52
54
  options: {},
53
55
  placeholder: {},
@@ -112,7 +114,30 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
112
114
  isOpen.value = open;
113
115
  query.value = "";
114
116
  }
117
+ async function openFromKeyboard(event) {
118
+ if (field.value.disabled || isOpen.value || !["ArrowDown", "ArrowUp"].includes(event.key)) return;
119
+ event.preventDefault();
120
+ event.stopPropagation();
121
+ const trigger = event.currentTarget;
122
+ trigger.click();
123
+ await nextTick();
124
+ const panel = trigger.ownerDocument.getElementById(trigger.getAttribute("aria-controls") ?? "");
125
+ const search = panel?.querySelector("input:not([disabled])");
126
+ const items = panel?.querySelectorAll('[role="option"]:not([data-disabled])');
127
+ const selected = panel?.querySelector('[role="option"][aria-selected="true"]:not([data-disabled])');
128
+ const target = search ?? selected ?? (event.key === "ArrowUp" ? items?.[items.length - 1] : items?.[0]);
129
+ target?.focus();
130
+ }
115
131
  const { partId, onFocusOut } = useFieldBlur((event) => emit("blur", event));
132
+ const triggerRef = ref(null);
133
+ function onListFocusOut(event) {
134
+ const trigger = triggerRef.value?.$el;
135
+ if (isOpen.value || event.relatedTarget || !trigger?.isConnected) {
136
+ onFocusOut(event);
137
+ return;
138
+ }
139
+ trigger.focus({ preventScroll: true });
140
+ }
116
141
  const attrs = useAttrs();
117
142
  const valueId = `lp-select-${useId()}-value`;
118
143
  const valueText = computed(() => chips.value.length ? chipNames.value : displayLabel.value || placeholderText.value);
@@ -233,6 +258,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
233
258
  }
234
259
  const portalTo = usePortalTarget();
235
260
  const guardOutside = useOutsideGuard();
261
+ usePaletteControl({ disabled: () => field.value.disabled, invalid: () => field.value.invalid, editorProps: () => ({ selected: props.multiple ? modelList.value.map((value, index) => shown(value, index)) : current.value }) });
236
262
  return (_ctx, _cache) => {
237
263
  return openBlock(), createBlock(unref(ComboboxRoot), mergeProps({
238
264
  "model-value": comboModel.value,
@@ -264,7 +290,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
264
290
  hidden: ""
265
291
  }, toDisplayString(valueText.value), 1),
266
292
  createVNode(unref(ComboboxTrigger), mergeProps({
267
- id: unref(field).id
293
+ ref_key: "triggerRef",
294
+ ref: triggerRef,
295
+ id: unref(field).id,
296
+ tabindex: unref(field).disabled ? -1 : 0,
297
+ onKeydown: openFromKeyboard
268
298
  }, triggerName.value, {
269
299
  "aria-invalid": unref(field).invalid || void 0,
270
300
  "aria-describedby": unref(field).describedBy,
@@ -357,7 +387,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
357
387
  }, 8, ["value"]))
358
388
  ]),
359
389
  _: 1
360
- }, 16, ["id", "aria-invalid", "aria-describedby"]),
390
+ }, 16, ["id", "tabindex", "aria-invalid", "aria-describedby"]),
361
391
  __props.clearable && hasValue.value && !unref(field).disabled ? (openBlock(), createElementBlock("button", {
362
392
  key: 0,
363
393
  type: "button",
@@ -394,7 +424,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
394
424
  default: withCtx(() => [
395
425
  createVNode(unref(ComboboxContent), {
396
426
  "data-lp-field-part": unref(partId),
397
- onFocusout: unref(onFocusOut),
427
+ onFocusout: onListFocusOut,
398
428
  onInteractOutside: unref(guardOutside),
399
429
  onEscapeKeyDown: unref(guardOutside),
400
430
  position: "popper",
@@ -450,7 +480,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
450
480
  })
451
481
  ]),
452
482
  _: 1
453
- }, 8, ["data-lp-field-part", "onFocusout", "onInteractOutside", "onEscapeKeyDown", "class"])
483
+ }, 8, ["data-lp-field-part", "onInteractOutside", "onEscapeKeyDown", "class"])
454
484
  ]),
455
485
  _: 1
456
486
  }, 8, ["to"])
@@ -1,9 +1,9 @@
1
1
  import { defineComponent, computed, ref, useId, openBlock, createElementBlock, Fragment, createElementVNode, mergeProps, unref, normalizeClass, renderSlot, createCommentVNode, createBlock, createVNode, createSlots, withCtx, normalizeProps, guardReactiveProps } from "vue";
2
2
  import { usePersisted } from "../composables/usePersisted.js";
3
3
  import { useLabels } from "../composables/useLpConfig.js";
4
- import { _ as _sfc_main$3 } from "./LpDrawer-DGNKRsGq.js";
5
- import { _ as _sfc_main$1 } from "./LpInput-CDuwODJG.js";
6
- import { _ as _sfc_main$2 } from "./LpSidebarNav-DBg1U1oW.js";
4
+ import { _ as _sfc_main$3 } from "./LpDrawer-u4rxnuR-.js";
5
+ import { _ as _sfc_main$1 } from "./LpInput-2H-5ILOB.js";
6
+ import { _ as _sfc_main$2 } from "./LpSidebarNav--VwkXO_a.js";
7
7
  const _hoisted_1 = ["aria-label"];
8
8
  const _hoisted_2 = {
9
9
  key: 2,
@@ -2,9 +2,9 @@ import { defineComponent, computed, ref, openBlock, createBlock, mergeProps, unr
2
2
  import { Motion } from "motion-v";
3
3
  import { CollapsibleRoot, CollapsibleTrigger, CollapsibleContent } from "reka-ui";
4
4
  import { usePillTransition } from "../composables/usePillTransition.js";
5
- import { _ as _sfc_main$4 } from "./LpBadge-BBq1Er9T.js";
6
- import { _ as _sfc_main$5 } from "./LpContextMenu-Cj96ENDC.js";
7
- import { _ as _sfc_main$3 } from "./LpIcon-HJP5xMz4.js";
5
+ import { _ as _sfc_main$4 } from "./LpBadge-C8fKEmTF.js";
6
+ import { _ as _sfc_main$5 } from "./LpContextMenu-DXpFJjlO.js";
7
+ import { _ as _sfc_main$3 } from "./LpIcon-DkP-9mzK.js";
8
8
  import { _ as _sfc_main$2 } from "./LpScrollArea-Hz3-JWUG.js";
9
9
  import { _ as _sfc_main$1 } from "./LpSkeleton-BB6XIV-w.js";
10
10
  import { resolveLink } from "../components/link.js";
@@ -1,4 +1,5 @@
1
1
  import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, createVNode } from "vue";
2
+ import { usePaletteControl } from "../composables/usePaletteCommands.js";
2
3
  import { SliderRoot, SliderTrack, SliderRange, SliderThumb } from "reka-ui";
3
4
  import { useFieldControl } from "../composables/useField.js";
4
5
  import { useMergedAttrs } from "../composables/useMergedClass.js";
@@ -8,6 +9,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
8
9
  ...__default__,
9
10
  __name: "LpSlider",
10
11
  props: {
12
+ palette: { type: [Boolean, Object], default: void 0 },
11
13
  modelValue: { default: 0 },
12
14
  min: { default: 0 },
13
15
  max: { default: 100 },
@@ -30,6 +32,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
30
32
  `relative flex h-5 w-full touch-none select-none items-center data-[disabled]:opacity-55 ${SLIDER_GLIDE}`
31
33
  );
32
34
  const { dragging, onPointerDown } = useSliderDrag();
35
+ usePaletteControl({ disabled: () => field.value.disabled });
33
36
  return (_ctx, _cache) => {
34
37
  return openBlock(), createBlock(unref(SliderRoot), mergeProps({
35
38
  "model-value": [props.modelValue],
@@ -1,8 +1,8 @@
1
1
  import { defineComponent, computed, openBlock, createElementBlock, mergeProps, unref, createElementVNode, createBlock, createCommentVNode, createVNode, Transition, normalizeProps, guardReactiveProps, withCtx, toDisplayString, Fragment, createTextVNode, normalizeClass, renderSlot } from "vue";
2
- import { _ as _sfc_main$2 } from "./LpIcon-HJP5xMz4.js";
3
- import { _ as _sfc_main$4 } from "./LpNumberFlow-Cfyh033Q.js";
2
+ import { _ as _sfc_main$2 } from "./LpIcon-DkP-9mzK.js";
3
+ import { _ as _sfc_main$4 } from "./LpNumberFlow-5khYxsfX.js";
4
4
  import { _ as _sfc_main$3 } from "./LpSkeleton-BB6XIV-w.js";
5
- import { _ as _sfc_main$1 } from "./LpStatus-BsGLrpor.js";
5
+ import { _ as _sfc_main$1 } from "./LpStatus-BQU1TUsv.js";
6
6
  import { useMergedAttrs } from "../composables/useMergedClass.js";
7
7
  import { TONES } from "../components/tone.js";
8
8
  const _hoisted_1 = { class: "flex items-center gap-2" };
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, computed, openBlock, createBlock, resolveDynamicComponent, mergeProps, unref, withCtx, createElementVNode, normalizeClass, normalizeStyle, createElementBlock, toDisplayString, createVNode } from "vue";
2
2
  import { useLabels } from "../composables/useLpConfig.js";
3
3
  import { useMergedAttrs } from "../composables/useMergedClass.js";
4
- import { _ as _sfc_main$1 } from "./LpBadge-BBq1Er9T.js";
4
+ import { _ as _sfc_main$1 } from "./LpBadge-C8fKEmTF.js";
5
5
  import { _ as _sfc_main$2 } from "./LpRollingText-DiL717LK.js";
6
6
  import { _ as _sfc_main$3 } from "./LpShift-DXNsauQZ.js";
7
7
  import { TONE_COLOR } from "../components/meter.js";
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, computed, openBlock, createElementBlock, mergeProps, unref, createCommentVNode, createVNode, withCtx, createBlock, normalizeClass, Fragment, createTextVNode, toDisplayString } from "vue";
2
2
  import { useMergedAttrs } from "../composables/useMergedClass.js";
3
- import { _ as _sfc_main$3 } from "./LpIcon-HJP5xMz4.js";
3
+ import { _ as _sfc_main$3 } from "./LpIcon-DkP-9mzK.js";
4
4
  import { _ as _sfc_main$2 } from "./LpLoader-DjJEX8hL.js";
5
5
  import { _ as _sfc_main$1 } from "./LpRollingText-DiL717LK.js";
6
6
  import { TONES } from "../components/tone.js";
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, openBlock, createElementBlock, mergeProps, unref, Fragment, renderList, createElementVNode, createVNode, normalizeClass, createTextVNode, toDisplayString, createBlock, createCommentVNode } from "vue";
2
- import { _ as _sfc_main$1 } from "./LpStepMark-TrzOioa9.js";
2
+ import { _ as _sfc_main$1 } from "./LpStepMark-CXa7DJy_.js";
3
3
  import { _ as _sfc_main$2 } from "./StepConnector-37OgEOXA.js";
4
4
  import { useMergedAttrs } from "../composables/useMergedClass.js";
5
5
  const _hoisted_1 = ["aria-current"];