@leavepulse/ui 0.78.0 → 0.78.2

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 (243) hide show
  1. package/dist/chunks/{DropzoneLinkField-DXIr0eFz.js → DropzoneLinkField-CyE7TJ5f.js} +1 -1
  2. package/dist/chunks/FieldLeading-mr81aEAP.js +27 -0
  3. package/dist/chunks/LpAddressInput-ft8fQOGx.js +401 -0
  4. package/dist/chunks/{LpAppShell-BNAVTQsY.js → LpAppShell-DkvU6IBB.js} +23 -4
  5. package/dist/chunks/LpAutocomplete-CrZbd0uv.js +310 -0
  6. package/dist/chunks/LpCheckbox-CCWCwD0y.js +129 -0
  7. package/dist/chunks/{LpCodeBlock-DuzmnIHl.js → LpCodeBlock-DBqy4RLd.js} +1 -1
  8. package/dist/chunks/{LpCodeDisplay-CO8fngxa.js → LpCodeDisplay-D59uPwRb.js} +3 -3
  9. package/dist/chunks/LpColorPicker-BONURBFN.js +574 -0
  10. package/dist/chunks/{LpConfirmDialog-6oCIJTDa.js → LpConfirmDialog-CnrmzkuN.js} +1 -1
  11. package/dist/chunks/{LpConfirmHost-DgHvfT6s.js → LpConfirmHost-CwbObVGH.js} +1 -1
  12. package/dist/chunks/{LpContextMenu--eMGIql6.js → LpContextMenu-Bx_IhQDS.js} +5 -5
  13. package/dist/chunks/{LpCopyButton-7EOSIuwa.js → LpCopyButton-sAMvWeLP.js} +1 -1
  14. package/dist/chunks/{LpDataList-DgBeM01y.js → LpDataList-CaVfsozH.js} +2 -2
  15. package/dist/chunks/LpDatePicker-C2AOtxgF.js +171 -0
  16. package/dist/chunks/{LpDateRangePicker-CNQXdTVv.js → LpDateRangePicker-CiXdIAyh.js} +43 -35
  17. package/dist/chunks/{LpDrawer-Bt9UUqt_.js → LpDrawer-DXNQFpAA.js} +1 -1
  18. package/dist/chunks/{LpFileTree-BSx1kBoV.js → LpFileTree-CpNurwZp.js} +3 -3
  19. package/dist/chunks/{LpFileTreeNode-4dVmFHb3.js → LpFileTreeNode-DdF8Cq-s.js} +2 -2
  20. package/dist/chunks/{LpHoverCard-DanH3Nz1.js → LpHoverCard-CHE9jAJG.js} +6 -6
  21. package/dist/chunks/{LpInfraNode-BAU40Km2.js → LpInfraNode-Bb5nbuFY.js} +17 -0
  22. package/dist/chunks/{LpInput-DL6HEJdi.js → LpInput-CbI7z5fQ.js} +21 -25
  23. package/dist/chunks/{LpInspector-CuoMAhiw.js → LpInspector-DO3fTCQ1.js} +2 -2
  24. package/dist/chunks/{LpLaneNode-HtnQf2FF.js → LpLaneNode-Bqcdm8Rf.js} +19 -1
  25. package/dist/chunks/{LpLightbox-xvpQ64MM.js → LpLightbox-CtDTQV01.js} +1 -1
  26. package/dist/chunks/{LpLogInspector-6cNnXqp4.js → LpLogInspector-CcSJSGan.js} +1 -1
  27. package/dist/chunks/{LpLogViewer-Dvb1E9_G.js → LpLogViewer-CWu49Dko.js} +4 -4
  28. package/dist/chunks/{LpMediaGallery-Df-tiWeq.js → LpMediaGallery-BYEwySoF.js} +2 -2
  29. package/dist/chunks/{LpModal-DrtQ_1A2.js → LpModal-DDvrSAnf.js} +1 -1
  30. package/dist/chunks/{LpModalNav-DkmGCnZE.js → LpModalNav-DI3BW5ff.js} +2 -2
  31. package/dist/chunks/{LpNotificationBell-D_wklO1m.js → LpNotificationBell-DUbVyK6R.js} +3 -3
  32. package/dist/chunks/LpNumberField-C8LfUz_R.js +154 -0
  33. package/dist/chunks/LpOtpInput-B1X9l9no.js +140 -0
  34. package/dist/chunks/LpPageScrollbar-D2O0xhJw.js +164 -0
  35. package/dist/chunks/{LpPaletteTheme-dVtxHx-F.js → LpPaletteTheme-B-xuZiKK.js} +2 -2
  36. package/dist/chunks/{LpPasswordInput-B-zD6tUS.js → LpPasswordInput-Duc_3wPv.js} +2 -2
  37. package/dist/chunks/{LpPhoneInput-BSL7NX4z.js → LpPhoneInput-CctcRK9K.js} +124 -118
  38. package/dist/chunks/{LpPie-9t_guO49.js → LpPie-oVNHjsKD.js} +2 -2
  39. package/dist/chunks/{LpPipeline-rjXvEDRJ.js → LpPipeline-BSXT6oUJ.js} +1 -1
  40. package/dist/chunks/LpRadioGroup-DTM0nd9G.js +103 -0
  41. package/dist/chunks/LpRangeSlider-DJsEZXad.js +97 -0
  42. package/dist/chunks/{LpRelativeTime-BovUk8MP.js → LpRelativeTime-0zI-44ve.js} +1 -1
  43. package/dist/chunks/LpRepeater-Czib3rmv.js +193 -0
  44. package/dist/chunks/{LpScrollArea-ay4Xo_hg.js → LpScrollArea-CqvwfZs2.js} +9 -12
  45. package/dist/chunks/{LpSecretField-DBvU6iAw.js → LpSecretField-BtlCk3IH.js} +4 -4
  46. package/dist/chunks/LpSegmented-sskrJKJJ.js +128 -0
  47. package/dist/chunks/LpSelect-JFZehOkd.js +515 -0
  48. package/dist/chunks/{LpServiceNode-D8uJ8sGk.js → LpServiceNode-Cln2ntdw.js} +17 -0
  49. package/dist/chunks/{LpSidebar-kSkpPh3-.js → LpSidebar-CvRvVBTt.js} +4 -4
  50. package/dist/chunks/{LpSidebarNav-C2mvqrY2.js → LpSidebarNav-CE0jQS8i.js} +2 -2
  51. package/dist/chunks/{LpSidebarRow-eRP4Q31q.js → LpSidebarRow-DOTg1txp.js} +2 -2
  52. package/dist/chunks/LpSlider-C4ilCtZX.js +76 -0
  53. package/dist/chunks/{LpStat-pMNZgFcq.js → LpStat-DPjc6_fX.js} +17 -4
  54. package/dist/chunks/LpSwitch-DyAYTchz.js +122 -0
  55. package/dist/chunks/{LpTableFilter-DgARTsA1.js → LpTableFilter-CJg5eIcV.js} +2 -2
  56. package/dist/chunks/{LpTagsInput-Dt0mteSj.js → LpTagsInput-CkNxpNYa.js} +4 -3
  57. package/dist/chunks/{LpTextarea-Co0b9PVx.js → LpTextarea-CFK_5QB8.js} +3 -2
  58. package/dist/chunks/{LpThemeStudio-DzYfE-5k.js → LpThemeStudio-R-wohbCY.js} +3 -3
  59. package/dist/chunks/{LpThemeSwitcher-CFLkdbBL.js → LpThemeSwitcher-Bzy15MCP.js} +2 -2
  60. package/dist/chunks/LpTimeField-B5n0m8m0.js +115 -0
  61. package/dist/chunks/{LpToaster-QFj0P-5m.js → LpToaster-Ct_ZOhCh.js} +1 -1
  62. package/dist/chunks/{LpTooltip-BJf3lZMq.js → LpTooltip-Bz_rrq5S.js} +5 -5
  63. package/dist/chunks/{LpTopologyCanvas-BOHHHZ_6.js → LpTopologyCanvas-BNgw9RyZ.js} +14 -9
  64. package/dist/chunks/{LpTruncate-C6u3gjc6.js → LpTruncate-ellq9RYM.js} +2 -2
  65. package/dist/chunks/{LpUptimeBar-BnYmR2rj.js → LpUptimeBar-BoxcCDVY.js} +1 -1
  66. package/dist/chunks/{LpWorkspaceSwitcher-D0e9upAy.js → LpWorkspaceSwitcher-ugv-fyig.js} +2 -2
  67. package/dist/chunks/{RevealToggle-CCPDE8Mv.js → RevealToggle-D_iyrB8d.js} +1 -1
  68. package/dist/component-names.d.ts +1 -1
  69. package/dist/components/DropzoneLinkField.vue.js +1 -1
  70. package/dist/components/FieldLeading.vue.d.ts +16 -0
  71. package/dist/components/FieldLeading.vue.js +4 -0
  72. package/dist/components/LpAddressInput.vue.d.ts +4 -0
  73. package/dist/components/LpAddressInput.vue.js +1 -1
  74. package/dist/components/LpAlert.vue.d.ts +3 -3
  75. package/dist/components/LpAppShell.vue.d.ts +16 -1
  76. package/dist/components/LpAppShell.vue.js +1 -1
  77. package/dist/components/LpAutocomplete.vue.d.ts +4 -0
  78. package/dist/components/LpAutocomplete.vue.js +1 -1
  79. package/dist/components/LpBadge.vue.d.ts +2 -2
  80. package/dist/components/LpChart.vue.d.ts +1 -1
  81. package/dist/components/LpChart.vue.js +1 -1
  82. package/dist/components/LpCheckbox.vue.d.ts +4 -0
  83. package/dist/components/LpCheckbox.vue.js +1 -1
  84. package/dist/components/LpCodeBlock.vue.js +1 -1
  85. package/dist/components/LpCodeDisplay.vue.js +1 -1
  86. package/dist/components/LpCollapse.vue.d.ts +1 -1
  87. package/dist/components/LpColorPicker.vue.d.ts +5 -3
  88. package/dist/components/LpColorPicker.vue.js +1 -1
  89. package/dist/components/LpCommandPalette.vue.js +1 -1
  90. package/dist/components/LpConfirmDialog.vue.js +1 -1
  91. package/dist/components/LpConfirmHost.vue.js +1 -1
  92. package/dist/components/LpContextMenu.vue.js +1 -1
  93. package/dist/components/LpCopyButton.vue.js +1 -1
  94. package/dist/components/LpDataList.vue.js +1 -1
  95. package/dist/components/LpDatePicker.vue.js +1 -1
  96. package/dist/components/LpDateRangePicker.vue.js +1 -1
  97. package/dist/components/LpDock.vue.js +1 -1
  98. package/dist/components/LpDrawer.vue.js +1 -1
  99. package/dist/components/LpDropzone.vue.js +1 -1
  100. package/dist/components/LpFileTree.vue.js +1 -1
  101. package/dist/components/LpFileTreeNode.vue.js +1 -1
  102. package/dist/components/LpHoverCard.vue.js +1 -1
  103. package/dist/components/LpImageEditor.vue.d.ts +1 -1
  104. package/dist/components/LpInfraNode.vue.d.ts +11 -2
  105. package/dist/components/LpInfraNode.vue.js +1 -1
  106. package/dist/components/LpInput.vue.js +1 -1
  107. package/dist/components/LpInspector.vue.js +1 -1
  108. package/dist/components/LpLaneNode.vue.d.ts +2 -3
  109. package/dist/components/LpLaneNode.vue.js +1 -1
  110. package/dist/components/LpLightbox.vue.js +1 -1
  111. package/dist/components/LpLogInspector.vue.js +1 -1
  112. package/dist/components/LpLogViewer.vue.js +1 -1
  113. package/dist/components/LpMediaGallery.vue.js +1 -1
  114. package/dist/components/LpModal.vue.js +1 -1
  115. package/dist/components/LpModalNav.vue.js +1 -1
  116. package/dist/components/LpNotificationBell.vue.js +1 -1
  117. package/dist/components/LpNumberField.vue.d.ts +17 -2
  118. package/dist/components/LpNumberField.vue.js +1 -1
  119. package/dist/components/LpOtpInput.vue.d.ts +4 -0
  120. package/dist/components/LpOtpInput.vue.js +1 -1
  121. package/dist/components/LpPageScrollbar.vue.d.ts +10 -0
  122. package/dist/components/LpPageScrollbar.vue.js +4 -0
  123. package/dist/components/LpPaletteTheme.vue.js +1 -1
  124. package/dist/components/LpPasswordInput.vue.js +1 -1
  125. package/dist/components/LpPhoneInput.vue.d.ts +4 -0
  126. package/dist/components/LpPhoneInput.vue.js +1 -1
  127. package/dist/components/LpPie.vue.js +1 -1
  128. package/dist/components/LpPipeline.vue.js +1 -1
  129. package/dist/components/LpRadioGroup.vue.d.ts +4 -0
  130. package/dist/components/LpRadioGroup.vue.js +1 -1
  131. package/dist/components/LpRangeSlider.vue.d.ts +4 -0
  132. package/dist/components/LpRangeSlider.vue.js +1 -1
  133. package/dist/components/LpRelativeTime.vue.js +1 -1
  134. package/dist/components/LpRepeater.vue.d.ts +2 -0
  135. package/dist/components/LpRepeater.vue.js +1 -1
  136. package/dist/components/LpScrollArea.vue.d.ts +1 -1
  137. package/dist/components/LpScrollArea.vue.js +1 -1
  138. package/dist/components/LpSecretField.vue.js +1 -1
  139. package/dist/components/LpSegmented.vue.d.ts +4 -0
  140. package/dist/components/LpSegmented.vue.js +1 -1
  141. package/dist/components/LpSelect.vue.d.ts +2 -0
  142. package/dist/components/LpSelect.vue.js +1 -1
  143. package/dist/components/LpServiceNode.vue.d.ts +8 -2
  144. package/dist/components/LpServiceNode.vue.js +1 -1
  145. package/dist/components/LpShinyText.vue.d.ts +1 -1
  146. package/dist/components/LpShortcutsDialog.vue.js +1 -1
  147. package/dist/components/LpSidebar.vue.d.ts +1 -1
  148. package/dist/components/LpSidebar.vue.js +1 -1
  149. package/dist/components/LpSidebarNav.vue.js +1 -1
  150. package/dist/components/LpSidebarRow.vue.js +1 -1
  151. package/dist/components/LpSlider.vue.d.ts +4 -0
  152. package/dist/components/LpSlider.vue.js +1 -1
  153. package/dist/components/LpStat.vue.d.ts +16 -0
  154. package/dist/components/LpStat.vue.js +1 -1
  155. package/dist/components/LpSwitch.vue.d.ts +4 -0
  156. package/dist/components/LpSwitch.vue.js +1 -1
  157. package/dist/components/LpTable.vue.js +5 -5
  158. package/dist/components/LpTableFilter.vue.js +1 -1
  159. package/dist/components/LpTabs.vue.d.ts +1 -1
  160. package/dist/components/LpTabs.vue.js +1 -1
  161. package/dist/components/LpTagsInput.vue.js +1 -1
  162. package/dist/components/LpTextarea.vue.js +1 -1
  163. package/dist/components/LpThemeStudio.vue.js +1 -1
  164. package/dist/components/LpThemeSwitcher.vue.js +1 -1
  165. package/dist/components/LpTimeField.vue.d.ts +4 -0
  166. package/dist/components/LpTimeField.vue.js +1 -1
  167. package/dist/components/LpToaster.vue.js +1 -1
  168. package/dist/components/LpTooltip.vue.js +1 -1
  169. package/dist/components/LpTopologyCanvas.vue.d.ts +2 -2
  170. package/dist/components/LpTopologyCanvas.vue.js +1 -1
  171. package/dist/components/LpTruncate.vue.js +1 -1
  172. package/dist/components/LpUptimeBar.vue.js +1 -1
  173. package/dist/components/LpWorkspaceSwitcher.vue.js +1 -1
  174. package/dist/components/RevealToggle.vue.js +1 -1
  175. package/dist/components/calendar.d.ts +2 -0
  176. package/dist/components/menuWhen.js +1 -1
  177. package/dist/components/scrollbar.d.ts +34 -0
  178. package/dist/components/scrollbar.js +47 -0
  179. package/dist/composables/propCheck.d.ts +1 -1
  180. package/dist/composables/propCheck.js +15 -4
  181. package/dist/composables/useField.d.ts +50 -0
  182. package/dist/composables/useField.js +31 -2
  183. package/dist/composables/useMergedClass.d.ts +6 -2
  184. package/dist/composables/useMergedClass.js +6 -6
  185. package/dist/composables/usePaletteCommands.js +4 -2
  186. package/dist/index.d.ts +1 -0
  187. package/dist/index.js +170 -168
  188. package/package.json +1 -1
  189. package/src/component-names.ts +1 -0
  190. package/src/components/FieldLeading.vue +17 -0
  191. package/src/components/LpAddressInput.vue +8 -4
  192. package/src/components/LpAppShell.vue +23 -0
  193. package/src/components/LpAutocomplete.vue +11 -5
  194. package/src/components/LpCheckbox.vue +8 -6
  195. package/src/components/LpColorPicker.vue +7 -4
  196. package/src/components/LpContextMenu.vue +7 -0
  197. package/src/components/LpDatePicker.vue +8 -4
  198. package/src/components/LpDateRangePicker.vue +8 -4
  199. package/src/components/LpHoverCard.vue +7 -0
  200. package/src/components/LpInfraNode.vue +4 -3
  201. package/src/components/LpInput.vue +7 -7
  202. package/src/components/LpLaneNode.vue +5 -1
  203. package/src/components/LpNumberField.vue +18 -7
  204. package/src/components/LpOtpInput.vue +8 -6
  205. package/src/components/LpPageScrollbar.vue +195 -0
  206. package/src/components/LpPhoneInput.vue +11 -6
  207. package/src/components/LpRadioGroup.vue +9 -5
  208. package/src/components/LpRangeSlider.vue +8 -4
  209. package/src/components/LpRepeater.vue +16 -4
  210. package/src/components/LpScrollArea.vue +27 -23
  211. package/src/components/LpSegmented.vue +8 -4
  212. package/src/components/LpSelect.vue +8 -7
  213. package/src/components/LpServiceNode.vue +4 -2
  214. package/src/components/LpSlider.vue +8 -4
  215. package/src/components/LpStat.vue +25 -5
  216. package/src/components/LpSwitch.vue +8 -5
  217. package/src/components/LpTagsInput.vue +4 -3
  218. package/src/components/LpTextarea.vue +3 -2
  219. package/src/components/LpTimeField.vue +8 -6
  220. package/src/components/LpTooltip.vue +7 -0
  221. package/src/components/LpTopologyCanvas.vue +3 -1
  222. package/src/components/calendar.ts +2 -0
  223. package/src/components/scrollbar.ts +71 -0
  224. package/src/composables/propCheck.ts +20 -5
  225. package/src/composables/useField.ts +52 -0
  226. package/src/composables/useMergedClass.ts +11 -5
  227. package/src/composables/usePaletteCommands.ts +5 -2
  228. package/src/index.ts +1 -0
  229. package/dist/chunks/LpAddressInput-ZqoZ-N2Y.js +0 -393
  230. package/dist/chunks/LpAutocomplete-DkY6CSyD.js +0 -302
  231. package/dist/chunks/LpCheckbox-D6RuDW4X.js +0 -124
  232. package/dist/chunks/LpColorPicker-BxAHEnR5.js +0 -567
  233. package/dist/chunks/LpDatePicker-DwSDY0mt.js +0 -163
  234. package/dist/chunks/LpNumberField-CNHsmSDZ.js +0 -134
  235. package/dist/chunks/LpOtpInput-BRpLBbOD.js +0 -132
  236. package/dist/chunks/LpRadioGroup-BrazjLY_.js +0 -95
  237. package/dist/chunks/LpRangeSlider-fz61tzc-.js +0 -89
  238. package/dist/chunks/LpRepeater-BkJHSPI1.js +0 -180
  239. package/dist/chunks/LpSegmented-DbEJhbv-.js +0 -123
  240. package/dist/chunks/LpSelect-Y-iuSymW.js +0 -512
  241. package/dist/chunks/LpSlider-A4ixovgS.js +0 -68
  242. package/dist/chunks/LpSwitch-DnC2-0aV.js +0 -115
  243. package/dist/chunks/LpTimeField-DeOcKWJq.js +0 -110
@@ -10,6 +10,8 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
10
10
  modelValue?: string;
11
11
  options?: RadioOption[];
12
12
  disabled?: boolean;
13
+ /** A message under the group, as on LpInput: it marks it invalid and shows under it (what `form.field()` hands it). */
14
+ error?: string;
13
15
  }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
14
16
  "update:modelValue": (value: string) => any;
15
17
  }, string, import("vue").PublicProps, Readonly<{
@@ -17,6 +19,8 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
17
19
  modelValue?: string;
18
20
  options?: RadioOption[];
19
21
  disabled?: boolean;
22
+ /** A message under the group, as on LpInput: it marks it invalid and shows under it (what `form.field()` hands it). */
23
+ error?: string;
20
24
  }> & Readonly<{
21
25
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
22
26
  }>, {
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpRadioGroup-BrazjLY_.js";
1
+ import { _ as _sfc_main } from "../chunks/LpRadioGroup-DTM0nd9G.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -11,6 +11,8 @@ declare const __VLS_export: import("vue").DefineComponent<{
11
11
  /** The least distance the two ends keep between them, in model units. */
12
12
  minGap?: number;
13
13
  disabled?: boolean;
14
+ /** A message under the control, as on LpInput: it marks it invalid and shows under it (what `form.field()` hands it). */
15
+ error?: string;
14
16
  /** Accessible names for the two thumbs when there's no visible label. */
15
17
  ariaLabels?: [string, string];
16
18
  /** Label over each thumb while it is in use: `(value) => "1:05"`. */
@@ -28,6 +30,8 @@ declare const __VLS_export: import("vue").DefineComponent<{
28
30
  /** The least distance the two ends keep between them, in model units. */
29
31
  minGap?: number;
30
32
  disabled?: boolean;
33
+ /** A message under the control, as on LpInput: it marks it invalid and shows under it (what `form.field()` hands it). */
34
+ error?: string;
31
35
  /** Accessible names for the two thumbs when there's no visible label. */
32
36
  ariaLabels?: [string, string];
33
37
  /** Label over each thumb while it is in use: `(value) => "1:05"`. */
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpRangeSlider-fz61tzc-.js";
1
+ import { _ as _sfc_main } from "../chunks/LpRangeSlider-DJsEZXad.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpRelativeTime-BovUk8MP.js";
1
+ import { _ as _sfc_main } from "../chunks/LpRelativeTime-0zI-44ve.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -7,6 +7,8 @@ declare const __VLS_export: <T extends object>(__VLS_props: NonNullable<Awaited<
7
7
  itemKey?: RepeaterItemKey<T>;
8
8
  label?: string;
9
9
  disabled?: boolean;
10
+ /** A message under the control, as on LpInput: it marks it invalid and shows under it (what `form.field()` hands it). */
11
+ error?: string;
10
12
  labels?: Partial<{
11
13
  add: string;
12
14
  remove: string;
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpRepeater-BkJHSPI1.js";
1
+ import { _ as _sfc_main } from "../chunks/LpRepeater-Czib3rmv.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -16,8 +16,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
16
16
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
17
17
  onScroll?: ((event: Event) => any) | undefined;
18
18
  }>, {
19
- fade: boolean;
20
19
  instant: boolean;
20
+ fade: boolean;
21
21
  floating: boolean;
22
22
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
23
23
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpScrollArea-ay4Xo_hg.js";
1
+ import { _ as _sfc_main } from "../chunks/LpScrollArea-CqvwfZs2.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpSecretField-DBvU6iAw.js";
1
+ import { _ as _sfc_main } from "../chunks/LpSecretField-BtlCk3IH.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -21,6 +21,8 @@ declare const __VLS_export: import("vue").DefineComponent<{
21
21
  /** Stretch to fill the container with equal-width segments. */
22
22
  block?: boolean;
23
23
  disabled?: boolean;
24
+ /** A message under the control, as on LpInput: it marks it invalid and shows under it (what `form.field()` hands it). */
25
+ error?: string;
24
26
  /**
25
27
  * The pill glides under the hovered segment and springs back on leave (the
26
28
  * default, as in LpTabs). False pins it to the selected segment and hover
@@ -38,6 +40,8 @@ declare const __VLS_export: import("vue").DefineComponent<{
38
40
  /** Stretch to fill the container with equal-width segments. */
39
41
  block?: boolean;
40
42
  disabled?: boolean;
43
+ /** A message under the control, as on LpInput: it marks it invalid and shows under it (what `form.field()` hands it). */
44
+ error?: string;
41
45
  /**
42
46
  * The pill glides under the hovered segment and springs back on leave (the
43
47
  * default, as in LpTabs). False pins it to the selected segment and hover
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpSegmented-DbEJhbv-.js";
1
+ import { _ as _sfc_main } from "../chunks/LpSegmented-sskrJKJJ.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -30,6 +30,8 @@ declare const __VLS_export: <V extends SelectValue = string>(__VLS_props: NonNul
30
30
  clearable?: boolean;
31
31
  disabled?: boolean;
32
32
  invalid?: boolean;
33
+ /** A message under the select, as on LpInput: it marks the select invalid (what `form.field()` hands it). */
34
+ error?: string;
33
35
  emptyText?: string;
34
36
  searchTerm?: string;
35
37
  loading?: boolean;
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpSelect-Y-iuSymW.js";
1
+ import { _ as _sfc_main } from "../chunks/LpSelect-JFZehOkd.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -1,3 +1,10 @@
1
+ /**
2
+ * Custom Vue Flow node for a SERVICE inside a host frame on LpTopologyCanvas.
3
+ * Smaller than LpInfraNode (a host). Coloured by kind (service/database/infra).
4
+ * depends_on edges connect these across host frames. Tailwind utilities only
5
+ * (no scoped CSS) so styles reach consumer apps via @source.
6
+ */
7
+ import { type NodeProps } from "@vue-flow/core";
1
8
  export interface ServiceNodeData {
2
9
  name: string;
3
10
  kind?: string;
@@ -5,8 +12,7 @@ export interface ServiceNodeData {
5
12
  /** Fade the node back (search miss / not part of the focused node's graph). */
6
13
  dimmed?: boolean;
7
14
  }
8
- type __VLS_Props = {
9
- data: ServiceNodeData;
15
+ type __VLS_Props = Omit<NodeProps<ServiceNodeData>, "selected"> & {
10
16
  selected?: boolean;
11
17
  };
12
18
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpServiceNode-D8uJ8sGk.js";
1
+ import { _ as _sfc_main } from "../chunks/LpServiceNode-Cln2ntdw.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -26,9 +26,9 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
26
26
  }> & Readonly<{}>, {
27
27
  as: string;
28
28
  speed: number;
29
+ paused: boolean;
29
30
  variant: "shine" | "gradient";
30
31
  tone: ToneName | "ink";
31
- paused: boolean;
32
32
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
33
33
  default?: (props: {}) => any;
34
34
  }>;
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, computed, openBlock, createBlock, unref, withCtx, createElementVNode, createElementBlock, Fragment, renderList, toDisplayString, createTextVNode, createCommentVNode, createVNode } from "vue";
2
2
  import LpKeys from "./LpKeys.vue.js";
3
- import { _ as _sfc_main$1 } from "../chunks/LpModal-DrtQ_1A2.js";
3
+ import { _ as _sfc_main$1 } from "../chunks/LpModal-DDvrSAnf.js";
4
4
  import { mergeShortcutGroups, activeShortcuts, useHotkeys } from "../composables/useHotkeys.js";
5
5
  import { useLabels } from "../composables/useLpConfig.js";
6
6
  import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper-1tPrXgE0.js";
@@ -191,8 +191,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
191
191
  }>, {
192
192
  maxWidth: number;
193
193
  minWidth: number;
194
- variant: "rail" | "panel";
195
194
  compact: boolean;
195
+ variant: "rail" | "panel";
196
196
  previewDelay: number;
197
197
  skeletonRows: number;
198
198
  skeletonHeader: boolean;
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpSidebar-kSkpPh3-.js";
1
+ import { _ as _sfc_main } from "../chunks/LpSidebar-CvRvVBTt.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpSidebarNav-C2mvqrY2.js";
1
+ import { _ as _sfc_main } from "../chunks/LpSidebarNav-CE0jQS8i.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpSidebarRow-eRP4Q31q.js";
1
+ import { _ as _sfc_main } from "../chunks/LpSidebarRow-DOTg1txp.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -9,6 +9,8 @@ declare const __VLS_export: import("vue").DefineComponent<{
9
9
  max?: number;
10
10
  step?: number;
11
11
  disabled?: boolean;
12
+ /** A message under the control, as on LpInput: it marks it invalid and shows under it (what `form.field()` hands it). */
13
+ error?: string;
12
14
  /** Accessible name for the thumb when there's no visible label. */
13
15
  ariaLabel?: string;
14
16
  }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
@@ -22,6 +24,8 @@ declare const __VLS_export: import("vue").DefineComponent<{
22
24
  max?: number;
23
25
  step?: number;
24
26
  disabled?: boolean;
27
+ /** A message under the control, as on LpInput: it marks it invalid and shows under it (what `form.field()` hands it). */
28
+ error?: string;
25
29
  /** Accessible name for the thumb when there's no visible label. */
26
30
  ariaLabel?: string;
27
31
  }> & Readonly<{
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpSlider-A4ixovgS.js";
1
+ import { _ as _sfc_main } from "../chunks/LpSlider-C4ilCtZX.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -1,3 +1,4 @@
1
+ import { type ToneName } from "./tone";
1
2
  declare const _default: typeof __VLS_export;
2
3
  export default _default;
3
4
  declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
@@ -41,6 +42,13 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
41
42
  * (it names the tile, it is not data); an empty one pulses too.
42
43
  */
43
44
  loading?: boolean;
45
+ /**
46
+ * Colour of the figure, from the kit's tones (`danger` for offenders,
47
+ * `success`, `warning`…). Unset, it is ink. The delta keeps its own colour.
48
+ */
49
+ tone?: ToneName;
50
+ /** Size of the figure: `lg` (the tile's own, text-3xl), `md` or `sm` for a dense row. */
51
+ size?: "sm" | "md" | "lg";
44
52
  }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
45
53
  label: string;
46
54
  /**
@@ -82,7 +90,15 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
82
90
  * (it names the tile, it is not data); an empty one pulses too.
83
91
  */
84
92
  loading?: boolean;
93
+ /**
94
+ * Colour of the figure, from the kit's tones (`danger` for offenders,
95
+ * `success`, `warning`…). Unset, it is ink. The delta keeps its own colour.
96
+ */
97
+ tone?: ToneName;
98
+ /** Size of the figure: `lg` (the tile's own, text-3xl), `md` or `sm` for a dense row. */
99
+ size?: "sm" | "md" | "lg";
85
100
  }> & Readonly<{}>, {
101
+ size: "sm" | "md" | "lg";
86
102
  decimals: number;
87
103
  animateOnMount: boolean;
88
104
  trend: "auto" | "up" | "down" | "flat";
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpStat-pMNZgFcq.js";
1
+ import { _ as _sfc_main } from "../chunks/LpStat-DPjc6_fX.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -6,6 +6,8 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
6
6
  palette?: PaletteControlOptions;
7
7
  modelValue?: boolean;
8
8
  disabled?: boolean;
9
+ /** A message under the control, as on LpInput: it marks it invalid and shows under it (what `form.field()` hands it). */
10
+ error?: string;
9
11
  label?: string;
10
12
  /** Secondary line under the label. */
11
13
  description?: string;
@@ -31,6 +33,8 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
31
33
  palette?: PaletteControlOptions;
32
34
  modelValue?: boolean;
33
35
  disabled?: boolean;
36
+ /** A message under the control, as on LpInput: it marks it invalid and shows under it (what `form.field()` hands it). */
37
+ error?: string;
34
38
  label?: string;
35
39
  /** Secondary line under the label. */
36
40
  description?: string;
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpSwitch-DnC2-0aV.js";
1
+ import { _ as _sfc_main } from "../chunks/LpSwitch-DyAYTchz.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -1,9 +1,9 @@
1
1
  import { defineComponent, computed, useAttrs, ref, shallowRef, watch, onMounted, onBeforeUnmount, useId, h, openBlock, createElementBlock, normalizeClass, createVNode, withCtx, createTextVNode, toDisplayString, createCommentVNode, Fragment, renderList, createBlock, createElementVNode, Transition, renderSlot, mergeProps, normalizeStyle, withModifiers, TransitionGroup, unref, nextTick } from "vue";
2
2
  import { usePaletteScope, suppressPaletteDiscovery, usePaletteCommands } from "../composables/usePaletteCommands.js";
3
3
  import { menuPaletteCommands } from "./commandPalette.js";
4
- import { _ as _sfc_main$1 } from "../chunks/LpDataList-DgBeM01y.js";
5
- import { _ as _sfc_main$9 } from "../chunks/LpCheckbox-D6RuDW4X.js";
6
- import { _ as _sfc_main$8 } from "../chunks/LpContextMenu--eMGIql6.js";
4
+ import { _ as _sfc_main$1 } from "../chunks/LpDataList-CaVfsozH.js";
5
+ import { _ as _sfc_main$9 } from "../chunks/LpCheckbox-CCWCwD0y.js";
6
+ import { _ as _sfc_main$8 } from "../chunks/LpContextMenu-Bx_IhQDS.js";
7
7
  import { _ as _sfc_main$e } from "../chunks/LpEditable-DVT0Rh8F.js";
8
8
  import { _ as _sfc_main$d } from "../chunks/LpEmptyState-DurPF001.js";
9
9
  import { _ as _sfc_main$5 } from "../chunks/LpBadge-D5QQdDQ_.js";
@@ -11,10 +11,10 @@ import { _ as _sfc_main$3 } from "../chunks/LpIcon-C6JpQ5td.js";
11
11
  import { _ as _sfc_main$c } from "../chunks/LpSkeleton-BB6XIV-w.js";
12
12
  import { _ as _sfc_main$f } from "../chunks/LpPagination-snQ020xQ.js";
13
13
  import { _ as _sfc_main$a } from "../chunks/LpPopover-BQSuxtai.js";
14
- import { _ as _sfc_main$7 } from "../chunks/LpScrollArea-ay4Xo_hg.js";
14
+ import { _ as _sfc_main$7 } from "../chunks/LpScrollArea-CqvwfZs2.js";
15
15
  import { _ as _sfc_main$6 } from "../chunks/LpRollingText-B54Pje7P.js";
16
16
  import { _ as _sfc_main$4 } from "../chunks/LpShift-DAgS_d2x.js";
17
- import { _ as _sfc_main$b } from "../chunks/LpTableFilter-DgARTsA1.js";
17
+ import { _ as _sfc_main$b } from "../chunks/LpTableFilter-CJg5eIcV.js";
18
18
  import { useKitStorage } from "../composables/usePersisted.js";
19
19
  import { useAsyncTask } from "../composables/useAsyncTask.js";
20
20
  import { useTableFacets } from "./tableFacets.js";
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpTableFilter-DgARTsA1.js";
1
+ import { _ as _sfc_main } from "../chunks/LpTableFilter-CJg5eIcV.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -76,9 +76,9 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
76
76
  }>, {
77
77
  history: boolean;
78
78
  block: boolean;
79
- variant: "contained" | "plain" | "underline" | "bottom";
80
79
  accent: boolean;
81
80
  compact: boolean;
81
+ variant: "contained" | "plain" | "underline" | "bottom";
82
82
  hoverFollow: boolean;
83
83
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
84
84
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -6,7 +6,7 @@ import { TabsRoot, TabsList, TabsTrigger, TabsContent } from "reka-ui";
6
6
  import { usePillTransition } from "../composables/usePillTransition.js";
7
7
  import { useStepHistory } from "../composables/useOverlayHistory.js";
8
8
  import { prefersReducedMotion } from "../composables/easing.js";
9
- import { _ as _sfc_main$1 } from "../chunks/LpContextMenu--eMGIql6.js";
9
+ import { _ as _sfc_main$1 } from "../chunks/LpContextMenu-Bx_IhQDS.js";
10
10
  import { _ as _sfc_main$3 } from "../chunks/LpSkeleton-BB6XIV-w.js";
11
11
  import { _ as _sfc_main$2 } from "../chunks/LpTabFace-DQoV8mQG.js";
12
12
  import { pickTab, BOTTOM_BAR, BOTTOM_ITEM, BOTTOM_MARKER } from "./tabs.js";
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpTagsInput-Dt0mteSj.js";
1
+ import { _ as _sfc_main } from "../chunks/LpTagsInput-CkNxpNYa.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpTextarea-Co0b9PVx.js";
1
+ import { _ as _sfc_main } from "../chunks/LpTextarea-CFK_5QB8.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpThemeStudio-DzYfE-5k.js";
1
+ import { _ as _sfc_main } from "../chunks/LpThemeStudio-R-wohbCY.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpThemeSwitcher-CFLkdbBL.js";
1
+ import { _ as _sfc_main } from "../chunks/LpThemeSwitcher-Bzy15MCP.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -8,6 +8,8 @@ declare const __VLS_export: import("vue").DefineComponent<{
8
8
  modelValue?: string;
9
9
  disabled?: boolean;
10
10
  invalid?: boolean;
11
+ /** A message under the control, as on LpInput: it marks it invalid and shows under it (what `form.field()` hands it). */
12
+ error?: string;
11
13
  size?: "sm" | "md" | "lg";
12
14
  /** 24 or 12-hour clock, independent of the browser locale. */
13
15
  hourCycle?: 12 | 24;
@@ -25,6 +27,8 @@ declare const __VLS_export: import("vue").DefineComponent<{
25
27
  modelValue?: string;
26
28
  disabled?: boolean;
27
29
  invalid?: boolean;
30
+ /** A message under the control, as on LpInput: it marks it invalid and shows under it (what `form.field()` hands it). */
31
+ error?: string;
28
32
  size?: "sm" | "md" | "lg";
29
33
  /** 24 or 12-hour clock, independent of the browser locale. */
30
34
  hourCycle?: 12 | 24;
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpTimeField-DeOcKWJq.js";
1
+ import { _ as _sfc_main } from "../chunks/LpTimeField-B5n0m8m0.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpToaster-QFj0P-5m.js";
1
+ import { _ as _sfc_main } from "../chunks/LpToaster-Ct_ZOhCh.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpTooltip-BJf3lZMq.js";
1
+ import { _ as _sfc_main } from "../chunks/LpTooltip-Bz_rrq5S.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -220,9 +220,9 @@ type __VLS_ModelProps = {
220
220
  "timelineIndex"?: number | undefined;
221
221
  };
222
222
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
223
- declare var __VLS_71: {};
223
+ declare var __VLS_76: {};
224
224
  type __VLS_Slots = {} & {
225
- 'legend-extra'?: (props: typeof __VLS_71) => any;
225
+ 'legend-extra'?: (props: typeof __VLS_76) => any;
226
226
  };
227
227
  declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
228
228
  fitView: typeof fitFramed;
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpTopologyCanvas-BOHHHZ_6.js";
1
+ import { _ as _sfc_main } from "../chunks/LpTopologyCanvas-BNgw9RyZ.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpTruncate-C6u3gjc6.js";
1
+ import { _ as _sfc_main } from "../chunks/LpTruncate-ellq9RYM.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpUptimeBar-BnYmR2rj.js";
1
+ import { _ as _sfc_main } from "../chunks/LpUptimeBar-BoxcCDVY.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpWorkspaceSwitcher-D0e9upAy.js";
1
+ import { _ as _sfc_main } from "../chunks/LpWorkspaceSwitcher-ugv-fyig.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/RevealToggle-CCPDE8Mv.js";
1
+ import { _ as _sfc_main } from "../chunks/RevealToggle-D_iyrB8d.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -23,6 +23,8 @@ export interface PickerFieldProps {
23
23
  clearable?: boolean;
24
24
  disabled?: boolean;
25
25
  invalid?: boolean;
26
+ /** A message under the picker, as on LpInput: it marks it invalid and shows under it (what `form.field()` hands it). */
27
+ error?: string;
26
28
  size?: "sm" | "md" | "lg";
27
29
  /** Locale of the shown date and the calendar; defaults to reka's ConfigProvider, then the browser. */
28
30
  locale?: string;
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, h } from "vue";
2
- import { _ as _sfc_main } from "../chunks/LpContextMenu--eMGIql6.js";
2
+ import { _ as _sfc_main } from "../chunks/LpContextMenu-Bx_IhQDS.js";
3
3
  const MenuWhen = defineComponent({
4
4
  name: "MenuWhen",
5
5
  inheritAttrs: false,
@@ -0,0 +1,34 @@
1
+ export declare const BAR_Y = "group flex touch-none select-none justify-end pl-2.5";
2
+ export declare const BAR_X = "group flex flex-col touch-none select-none justify-end pt-2.5";
3
+ export declare const BAR_Y_SIZE: {
4
+ wall: string;
5
+ floating: string;
6
+ };
7
+ export declare const BAR_X_SIZE: {
8
+ wall: string;
9
+ floating: string;
10
+ };
11
+ export declare const THUMB_Y = "min-w-1 bg-brand/40 before:absolute before:inset-y-0 before:right-0 before:-left-2.5 before:content-[''] transition-[min-width,background-color] duration-[var(--duration-fast)] group-hover:min-w-1.5 group-hover:bg-brand";
12
+ export declare const THUMB_X = "min-h-1 bg-brand/40 before:absolute before:inset-x-0 before:bottom-0 before:-top-2.5 before:content-[''] transition-[min-height,background-color] duration-[var(--duration-fast)] group-hover:min-h-1.5 group-hover:bg-brand";
13
+ export declare const THUMB_Y_ROUND: {
14
+ wall: string;
15
+ floating: string;
16
+ };
17
+ export declare const THUMB_X_ROUND: {
18
+ wall: string;
19
+ floating: string;
20
+ };
21
+ export declare const BAR_FADE = "opacity-0 data-[state=visible]:animate-[fade-in_180ms_ease] data-[state=visible]:opacity-100 data-[state=hidden]:animate-[fade-out_240ms_ease]";
22
+ export declare const SCROLL_HIDE_DELAY_MS = 500;
23
+ /**
24
+ * A press on the bar beside the thumb. Like a native bar it pages one view
25
+ * towards the pointer, smoothly, rather than putting the thumb's middle under
26
+ * it (reka's own answer, which yanked the content by half a thumb on a near
27
+ * miss and teleported it on a far press).
28
+ */
29
+ export declare function pageToward(scroller: Element, axis: "x" | "y", before: boolean): void;
30
+ /**
31
+ * Hide the document's own scrollbar (`lp-scrollbar-none` on <html>) while the
32
+ * kit draws one. Scrolling is untouched. Returns the release.
33
+ */
34
+ export declare function hideNativeBar(doc: Document): () => void;
@@ -0,0 +1,47 @@
1
+ import { prefersReducedMotion } from "../composables/easing.js";
2
+ import "vue";
3
+ import { nodeWindow } from "../composables/realm.js";
4
+ const BAR_Y = "group flex touch-none select-none justify-end pl-2.5";
5
+ const BAR_X = "group flex flex-col touch-none select-none justify-end pt-2.5";
6
+ const BAR_Y_SIZE = { wall: "w-3.5 py-px pr-px", floating: "w-4 py-1 pr-1" };
7
+ const BAR_X_SIZE = { wall: "h-3.5 px-px pb-px", floating: "h-4 px-1 pb-1" };
8
+ const THUMB_Y = "min-w-1 bg-brand/40 before:absolute before:inset-y-0 before:right-0 before:-left-2.5 before:content-[''] transition-[min-width,background-color] duration-[var(--duration-fast)] group-hover:min-w-1.5 group-hover:bg-brand";
9
+ const THUMB_X = "min-h-1 bg-brand/40 before:absolute before:inset-x-0 before:bottom-0 before:-top-2.5 before:content-[''] transition-[min-height,background-color] duration-[var(--duration-fast)] group-hover:min-h-1.5 group-hover:bg-brand";
10
+ const THUMB_Y_ROUND = { wall: "rounded-l-pill", floating: "rounded-pill" };
11
+ const THUMB_X_ROUND = { wall: "rounded-t-pill", floating: "rounded-pill" };
12
+ const BAR_FADE = "opacity-0 data-[state=visible]:animate-[fade-in_180ms_ease] data-[state=visible]:opacity-100 data-[state=hidden]:animate-[fade-out_240ms_ease]";
13
+ const SCROLL_HIDE_DELAY_MS = 500;
14
+ const PAGE_FRACTION = 0.85;
15
+ function pageToward(scroller, axis, before) {
16
+ const view = axis === "y" ? scroller.clientHeight : scroller.clientWidth;
17
+ const step = view * PAGE_FRACTION * (before ? -1 : 1);
18
+ const behavior = prefersReducedMotion(nodeWindow(scroller)) ? "auto" : "smooth";
19
+ scroller.scrollBy(axis === "y" ? { top: step, behavior } : { left: step, behavior });
20
+ }
21
+ const nativeHidden = /* @__PURE__ */ new WeakMap();
22
+ function hideNativeBar(doc) {
23
+ nativeHidden.set(doc, (nativeHidden.get(doc) ?? 0) + 1);
24
+ doc.documentElement.classList.add("lp-scrollbar-none");
25
+ let released = false;
26
+ return () => {
27
+ if (released) return;
28
+ released = true;
29
+ const left = (nativeHidden.get(doc) ?? 1) - 1;
30
+ nativeHidden.set(doc, left);
31
+ if (!left) doc.documentElement.classList.remove("lp-scrollbar-none");
32
+ };
33
+ }
34
+ export {
35
+ BAR_FADE,
36
+ BAR_X,
37
+ BAR_X_SIZE,
38
+ BAR_Y,
39
+ BAR_Y_SIZE,
40
+ SCROLL_HIDE_DELAY_MS,
41
+ THUMB_X,
42
+ THUMB_X_ROUND,
43
+ THUMB_Y,
44
+ THUMB_Y_ROUND,
45
+ hideNativeBar,
46
+ pageToward
47
+ };
@@ -1,4 +1,4 @@
1
- import type { Plugin } from "vue";
1
+ import { type Plugin } from "vue";
2
2
  export interface PropCheckOptions {
3
3
  /** Attributes that are not a mistake: exact names or patterns. */
4
4
  ignore?: (string | RegExp)[];