@vui-rs/ui 0.1.0 → 0.1.1

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 (2) hide show
  1. package/dist/index.d.ts +23 -23
  2. package/package.json +7 -15
package/dist/index.d.ts CHANGED
@@ -73,7 +73,7 @@ declare const VuiDialog: import("@vue/runtime-core").DefineComponent<import("@vu
73
73
  };
74
74
  }>, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
75
75
  [key: string]: any;
76
- }> | null, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("close" | "update:open")[], "close" | "update:open", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
76
+ }> | null, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("update:open" | "close")[], "update:open" | "close", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
77
77
  /** v-model: whether the dialog is open. */open: {
78
78
  type: BooleanConstructor;
79
79
  default: boolean;
@@ -109,16 +109,16 @@ declare const VuiDialog: import("@vue/runtime-core").DefineComponent<import("@vu
109
109
  default: undefined;
110
110
  };
111
111
  }>> & Readonly<{
112
- onClose?: ((...args: any[]) => any) | undefined;
113
112
  "onUpdate:open"?: ((...args: any[]) => any) | undefined;
113
+ onClose?: ((...args: any[]) => any) | undefined;
114
114
  }>, {
115
+ open: boolean;
115
116
  title: string;
116
- width: number;
117
117
  size: DialogSize;
118
- open: boolean;
119
118
  backdrop: number | boolean;
120
119
  closeOnEsc: boolean;
121
120
  autofocus: boolean;
121
+ width: number;
122
122
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, true, {}, any>;
123
123
  //#endregion
124
124
  //#region src/dialog-select.d.ts
@@ -152,7 +152,7 @@ declare const VuiDialogSelect: import("@vue/runtime-core").DefineComponent<impor
152
152
  };
153
153
  }>, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
154
154
  [key: string]: any;
155
- }>, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("select" | "close" | "update:open")[], "select" | "close" | "update:open", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
155
+ }>, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("update:open" | "select" | "close")[], "update:open" | "select" | "close", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
156
156
  open: {
157
157
  type: BooleanConstructor;
158
158
  default: boolean;
@@ -175,11 +175,11 @@ declare const VuiDialogSelect: import("@vue/runtime-core").DefineComponent<impor
175
175
  };
176
176
  }>> & Readonly<{
177
177
  onSelect?: ((...args: any[]) => any) | undefined;
178
- onClose?: ((...args: any[]) => any) | undefined;
179
178
  "onUpdate:open"?: ((...args: any[]) => any) | undefined;
179
+ onClose?: ((...args: any[]) => any) | undefined;
180
180
  }>, {
181
- title: string;
182
181
  open: boolean;
182
+ title: string;
183
183
  items: OptionInput[];
184
184
  placeholder: string;
185
185
  maxRows: number;
@@ -213,7 +213,7 @@ declare const VuiDialogPrompt: import("@vue/runtime-core").DefineComponent<impor
213
213
  };
214
214
  }>, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
215
215
  [key: string]: any;
216
- }>, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("close" | "submit" | "update:open" | "update:modelValue")[], "close" | "submit" | "update:open" | "update:modelValue", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
216
+ }>, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("update:open" | "close" | "submit" | "update:modelValue")[], "update:open" | "close" | "submit" | "update:modelValue", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
217
217
  open: {
218
218
  type: BooleanConstructor;
219
219
  default: boolean;
@@ -239,13 +239,13 @@ declare const VuiDialogPrompt: import("@vue/runtime-core").DefineComponent<impor
239
239
  default: undefined;
240
240
  };
241
241
  }>> & Readonly<{
242
+ "onUpdate:open"?: ((...args: any[]) => any) | undefined;
242
243
  onClose?: ((...args: any[]) => any) | undefined;
243
244
  onSubmit?: ((...args: any[]) => any) | undefined;
244
- "onUpdate:open"?: ((...args: any[]) => any) | undefined;
245
245
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
246
246
  }>, {
247
- title: string;
248
247
  open: boolean;
248
+ title: string;
249
249
  placeholder: string;
250
250
  modelValue: string;
251
251
  message: string;
@@ -280,7 +280,7 @@ declare const VuiDialogConfirm: import("@vue/runtime-core").DefineComponent<impo
280
280
  };
281
281
  }>, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
282
282
  [key: string]: any;
283
- }>, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("close" | "update:open" | "confirm")[], "close" | "update:open" | "confirm", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
283
+ }>, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("update:open" | "close" | "confirm")[], "update:open" | "close" | "confirm", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
284
284
  open: {
285
285
  type: BooleanConstructor;
286
286
  default: boolean;
@@ -306,12 +306,12 @@ declare const VuiDialogConfirm: import("@vue/runtime-core").DefineComponent<impo
306
306
  default: boolean;
307
307
  };
308
308
  }>> & Readonly<{
309
- onClose?: ((...args: any[]) => any) | undefined;
310
309
  "onUpdate:open"?: ((...args: any[]) => any) | undefined;
310
+ onClose?: ((...args: any[]) => any) | undefined;
311
311
  onConfirm?: ((...args: any[]) => any) | undefined;
312
312
  }>, {
313
- title: string;
314
313
  open: boolean;
314
+ title: string;
315
315
  message: string;
316
316
  confirmLabel: string;
317
317
  cancelLabel: string;
@@ -338,7 +338,7 @@ declare const VuiDialogAlert: import("@vue/runtime-core").DefineComponent<import
338
338
  };
339
339
  }>, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
340
340
  [key: string]: any;
341
- }>, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("close" | "update:open")[], "close" | "update:open", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
341
+ }>, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("update:open" | "close")[], "update:open" | "close", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
342
342
  open: {
343
343
  type: BooleanConstructor;
344
344
  default: boolean;
@@ -356,11 +356,11 @@ declare const VuiDialogAlert: import("@vue/runtime-core").DefineComponent<import
356
356
  default: string;
357
357
  };
358
358
  }>> & Readonly<{
359
- onClose?: ((...args: any[]) => any) | undefined;
360
359
  "onUpdate:open"?: ((...args: any[]) => any) | undefined;
360
+ onClose?: ((...args: any[]) => any) | undefined;
361
361
  }>, {
362
- title: string;
363
362
  open: boolean;
363
+ title: string;
364
364
  message: string;
365
365
  okLabel: string;
366
366
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, true, {}, any>;
@@ -395,7 +395,7 @@ declare const VuiCommandPalette: import("@vue/runtime-core").DefineComponent<imp
395
395
  };
396
396
  }>, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
397
397
  [key: string]: any;
398
- }>, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("close" | "update:open" | "run")[], "close" | "update:open" | "run", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
398
+ }>, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("update:open" | "close" | "run")[], "update:open" | "close" | "run", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
399
399
  open: {
400
400
  type: BooleanConstructor;
401
401
  default: boolean;
@@ -413,12 +413,12 @@ declare const VuiCommandPalette: import("@vue/runtime-core").DefineComponent<imp
413
413
  default: string;
414
414
  };
415
415
  }>> & Readonly<{
416
- onClose?: ((...args: any[]) => any) | undefined;
417
416
  "onUpdate:open"?: ((...args: any[]) => any) | undefined;
417
+ onClose?: ((...args: any[]) => any) | undefined;
418
418
  onRun?: ((...args: any[]) => any) | undefined;
419
419
  }>, {
420
- title: string;
421
420
  open: boolean;
421
+ title: string;
422
422
  placeholder: string;
423
423
  commands: Command[];
424
424
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, true, {}, any>;
@@ -564,9 +564,9 @@ declare const VuiStatusBar: import("@vue/runtime-core").DefineComponent<import("
564
564
  default: number;
565
565
  };
566
566
  }>> & Readonly<{}>, {
567
+ bg: ColorProp$1;
567
568
  fg: ColorProp$1;
568
569
  height: number;
569
- bg: ColorProp$1;
570
570
  pad: number;
571
571
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, true, {}, any>;
572
572
  /** A header row: a status bar with the active-border accent by default. */
@@ -591,8 +591,8 @@ declare const VuiHeader: import("@vue/runtime-core").DefineComponent<import("@vu
591
591
  default: undefined;
592
592
  };
593
593
  }>> & Readonly<{}>, {
594
- fg: ColorProp$1;
595
594
  bg: ColorProp$1;
595
+ fg: ColorProp$1;
596
596
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, true, {}, any>;
597
597
  /** A footer row — alias of the status bar with footer-typical muted styling. */
598
598
  declare const VuiFooter: import("@vue/runtime-core").DefineComponent<{}, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
@@ -754,10 +754,10 @@ declare const VuiWorkingIndicator: import("@vue/runtime-core").DefineComponent<i
754
754
  default: string;
755
755
  };
756
756
  }>> & Readonly<{}>, {
757
- label: string;
758
757
  done: boolean;
758
+ label: string;
759
759
  doneLabel: string;
760
- preset: "braille" | "dots" | "line" | "bounce" | "arc" | "circle" | "arrow" | "toggle" | "pulse";
760
+ preset: "toggle" | "braille" | "dots" | "line" | "bounce" | "arc" | "circle" | "arrow" | "pulse";
761
761
  color: ColorProp;
762
762
  doneGlyph: string;
763
763
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, true, {}, any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vui-rs/ui",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Application-level component library for vui-rs terminal UIs — dialogs, fuzzy select, command palette, toasts, autocomplete, status bars, virtual list, and busy indicators.",
5
5
  "keywords": [
6
6
  "bun",
@@ -24,21 +24,13 @@
24
24
  "dist"
25
25
  ],
26
26
  "type": "module",
27
- "module": "src/index.ts",
28
- "types": "src/index.ts",
27
+ "module": "./dist/index.js",
28
+ "types": "./dist/index.d.ts",
29
29
  "exports": {
30
- ".": "./src/index.ts"
31
- },
32
- "publishConfig": {
33
- "module": "./dist/index.js",
34
- "types": "./dist/index.d.ts",
35
- "exports": {
36
- ".": {
37
- "types": "./dist/index.d.ts",
38
- "import": "./dist/index.js"
39
- }
40
- },
41
- "access": "public"
30
+ ".": {
31
+ "types": "./dist/index.d.ts",
32
+ "import": "./dist/index.js"
33
+ }
42
34
  },
43
35
  "scripts": {
44
36
  "build": "tsdown"