@leavepulse/ui 0.37.10 → 0.38.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.
@@ -1,13 +1,42 @@
1
1
  declare const _default: typeof __VLS_export;
2
2
  export default _default;
3
- declare const __VLS_export: import('vue').DefineComponent<{
3
+ declare const __VLS_export: __VLS_WithSlots<import('vue').DefineComponent<{
4
4
  modelValue?: boolean;
5
5
  disabled?: boolean;
6
+ label?: string;
7
+ /** Secondary line under the label. */
8
+ description?: string;
9
+ /**
10
+ * Where the text sits. `end` (default) reads like LpCheckbox: switch, then
11
+ * text. `start` is the settings-row shape: text on the left, the switch
12
+ * pushed to the right edge of the row.
13
+ */
14
+ labelPosition?: "start" | "end";
6
15
  }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
7
16
  "update:modelValue": (value: boolean) => any;
8
17
  }, string, import('vue').PublicProps, Readonly<{
9
18
  modelValue?: boolean;
10
19
  disabled?: boolean;
20
+ label?: string;
21
+ /** Secondary line under the label. */
22
+ description?: string;
23
+ /**
24
+ * Where the text sits. `end` (default) reads like LpCheckbox: switch, then
25
+ * text. `start` is the settings-row shape: text on the left, the switch
26
+ * pushed to the right edge of the row.
27
+ */
28
+ labelPosition?: "start" | "end";
11
29
  }> & Readonly<{
12
30
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
13
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
31
+ }>, {
32
+ labelPosition: "start" | "end";
33
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
34
+ default?: (props: {}) => any;
35
+ } & {
36
+ default?: (props: {}) => any;
37
+ }>;
38
+ type __VLS_WithSlots<T, S> = T & {
39
+ new (): {
40
+ $slots: S;
41
+ };
42
+ };
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpSwitch-xgnRU2k0.js";
1
+ import { _ as _sfc_main } from "../chunks/LpSwitch-Blizvqyt.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
package/dist/index.js CHANGED
@@ -70,7 +70,7 @@ import { _ as _58 } from "./chunks/LpSlider-BwNIBkAK.js";
70
70
  import { _ as _59 } from "./chunks/LpSparkline-C6xQ2dwv.js";
71
71
  import { _ as _60 } from "./chunks/LpStat-CQaW8R--.js";
72
72
  import { _ as _61 } from "./chunks/LpStepper-Bk-XaQYU.js";
73
- import { _ as _62 } from "./chunks/LpSwitch-xgnRU2k0.js";
73
+ import { _ as _62 } from "./chunks/LpSwitch-Blizvqyt.js";
74
74
  import { default as default7 } from "./components/LpTable.vue.js";
75
75
  import { _ as _63 } from "./chunks/LpTableOfContents-CjvxPMpU.js";
76
76
  import { _ as _64 } from "./chunks/LpTabs-Cefe_lys.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leavepulse/ui",
3
- "version": "0.37.10",
3
+ "version": "0.38.0",
4
4
  "type": "module",
5
5
  "description": "LeavePulse token-driven Vue component kit.",
6
6
  "repository": {