@tb-dev/vue 0.3.20 → 0.3.21

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,3 +1 @@
1
- import { default as Label } from './Label.vue';
2
- export type * from './types';
3
- export { Label };
1
+ export { Label } from '../__base/label';
@@ -7,4 +7,5 @@ export interface SelectProps {
7
7
  labelClass?: string;
8
8
  modelValue: Option<string>;
9
9
  placeholder?: string;
10
+ triggerClass?: string;
10
11
  }
package/dist/index.js CHANGED
@@ -90,7 +90,7 @@ function cn(...inputs) {
90
90
  return twMerge(clsx(inputs));
91
91
  }
92
92
 
93
- const _sfc_main$2S = /* @__PURE__ */ defineComponent({
93
+ const _sfc_main$2R = /* @__PURE__ */ defineComponent({
94
94
  __name: "Badge",
95
95
  props: {
96
96
  asChild: { type: Boolean },
@@ -135,7 +135,7 @@ const badgeVariants = cva(
135
135
  }
136
136
  );
137
137
 
138
- const _sfc_main$2R = /* @__PURE__ */ defineComponent({
138
+ const _sfc_main$2Q = /* @__PURE__ */ defineComponent({
139
139
  __name: "Button",
140
140
  props: {
141
141
  variant: {},
@@ -190,7 +190,7 @@ const buttonVariants = cva(
190
190
 
191
191
  const _hoisted_1$i = { key: 0 };
192
192
  const _hoisted_2$2 = { key: 0 };
193
- const _sfc_main$2Q = /* @__PURE__ */ defineComponent({
193
+ const _sfc_main$2P = /* @__PURE__ */ defineComponent({
194
194
  __name: "ButtonLink",
195
195
  props: {
196
196
  buttonClass: {},
@@ -206,7 +206,7 @@ const _sfc_main$2Q = /* @__PURE__ */ defineComponent({
206
206
  return openBlock(), createElementBlock(Fragment, null, [
207
207
  createVNode(unref(DefineTemplate), null, {
208
208
  default: withCtx(() => [
209
- createVNode(unref(_sfc_main$2R), {
209
+ createVNode(unref(_sfc_main$2Q), {
210
210
  variant: _ctx.variant,
211
211
  size: _ctx.size,
212
212
  disabled: _ctx.disabled,
@@ -236,7 +236,7 @@ const _sfc_main$2Q = /* @__PURE__ */ defineComponent({
236
236
  }
237
237
  });
238
238
 
239
- const _sfc_main$2P = /* @__PURE__ */ defineComponent({
239
+ const _sfc_main$2O = /* @__PURE__ */ defineComponent({
240
240
  __name: "ButtonIcon",
241
241
  props: {
242
242
  buttonClass: {},
@@ -249,7 +249,7 @@ const _sfc_main$2P = /* @__PURE__ */ defineComponent({
249
249
  setup(__props) {
250
250
  const props = __props;
251
251
  return (_ctx, _cache) => {
252
- return _ctx.to ? (openBlock(), createBlock(unref(_sfc_main$2Q), {
252
+ return _ctx.to ? (openBlock(), createBlock(unref(_sfc_main$2P), {
253
253
  key: 0,
254
254
  to: _ctx.to,
255
255
  variant: "ghost",
@@ -264,7 +264,7 @@ const _sfc_main$2P = /* @__PURE__ */ defineComponent({
264
264
  }, null, 8, ["class", "size"]))
265
265
  ]),
266
266
  _: 1
267
- }, 8, ["to", "class", "button-class"])) : (openBlock(), createBlock(unref(_sfc_main$2R), {
267
+ }, 8, ["to", "class", "button-class"])) : (openBlock(), createBlock(unref(_sfc_main$2Q), {
268
268
  key: 1,
269
269
  variant: "ghost",
270
270
  size: "icon",
@@ -282,7 +282,7 @@ const _sfc_main$2P = /* @__PURE__ */ defineComponent({
282
282
  }
283
283
  });
284
284
 
285
- const _sfc_main$2O = /* @__PURE__ */ defineComponent({
285
+ const _sfc_main$2N = /* @__PURE__ */ defineComponent({
286
286
  __name: "ScrollBar",
287
287
  props: {
288
288
  orientation: { default: "vertical" },
@@ -318,7 +318,7 @@ const _sfc_main$2O = /* @__PURE__ */ defineComponent({
318
318
  }
319
319
  });
320
320
 
321
- const _sfc_main$2N = /* @__PURE__ */ defineComponent({
321
+ const _sfc_main$2M = /* @__PURE__ */ defineComponent({
322
322
  __name: "ScrollArea",
323
323
  props: {
324
324
  type: {},
@@ -348,7 +348,7 @@ const _sfc_main$2N = /* @__PURE__ */ defineComponent({
348
348
  ]),
349
349
  _: 3
350
350
  }),
351
- createVNode(_sfc_main$2O),
351
+ createVNode(_sfc_main$2N),
352
352
  createVNode(unref(ScrollAreaCorner))
353
353
  ]),
354
354
  _: 3
@@ -357,7 +357,7 @@ const _sfc_main$2N = /* @__PURE__ */ defineComponent({
357
357
  }
358
358
  });
359
359
 
360
- const _sfc_main$2M = /* @__PURE__ */ defineComponent({
360
+ const _sfc_main$2L = /* @__PURE__ */ defineComponent({
361
361
  __name: "Card",
362
362
  props: {
363
363
  class: {}
@@ -380,7 +380,7 @@ const _sfc_main$2M = /* @__PURE__ */ defineComponent({
380
380
  }
381
381
  });
382
382
 
383
- const _sfc_main$2L = /* @__PURE__ */ defineComponent({
383
+ const _sfc_main$2K = /* @__PURE__ */ defineComponent({
384
384
  __name: "CardContent",
385
385
  props: {
386
386
  class: {}
@@ -398,7 +398,7 @@ const _sfc_main$2L = /* @__PURE__ */ defineComponent({
398
398
  }
399
399
  });
400
400
 
401
- const _sfc_main$2K = /* @__PURE__ */ defineComponent({
401
+ const _sfc_main$2J = /* @__PURE__ */ defineComponent({
402
402
  __name: "CardDescription",
403
403
  props: {
404
404
  class: {}
@@ -416,7 +416,7 @@ const _sfc_main$2K = /* @__PURE__ */ defineComponent({
416
416
  }
417
417
  });
418
418
 
419
- const _sfc_main$2J = /* @__PURE__ */ defineComponent({
419
+ const _sfc_main$2I = /* @__PURE__ */ defineComponent({
420
420
  __name: "CardFooter",
421
421
  props: {
422
422
  class: {}
@@ -434,7 +434,7 @@ const _sfc_main$2J = /* @__PURE__ */ defineComponent({
434
434
  }
435
435
  });
436
436
 
437
- const _sfc_main$2I = /* @__PURE__ */ defineComponent({
437
+ const _sfc_main$2H = /* @__PURE__ */ defineComponent({
438
438
  __name: "CardHeader",
439
439
  props: {
440
440
  class: {}
@@ -457,7 +457,7 @@ const _sfc_main$2I = /* @__PURE__ */ defineComponent({
457
457
  }
458
458
  });
459
459
 
460
- const _sfc_main$2H = /* @__PURE__ */ defineComponent({
460
+ const _sfc_main$2G = /* @__PURE__ */ defineComponent({
461
461
  __name: "CardTitle",
462
462
  props: {
463
463
  class: {}
@@ -475,7 +475,7 @@ const _sfc_main$2H = /* @__PURE__ */ defineComponent({
475
475
  }
476
476
  });
477
477
 
478
- const _sfc_main$2G = /* @__PURE__ */ defineComponent({
478
+ const _sfc_main$2F = /* @__PURE__ */ defineComponent({
479
479
  __name: "Card",
480
480
  props: {
481
481
  contentClass: {},
@@ -488,14 +488,14 @@ const _sfc_main$2G = /* @__PURE__ */ defineComponent({
488
488
  },
489
489
  setup(__props) {
490
490
  return (_ctx, _cache) => {
491
- return openBlock(), createBlock(unref(_sfc_main$2M), null, {
491
+ return openBlock(), createBlock(unref(_sfc_main$2L), null, {
492
492
  default: withCtx(() => [
493
- _ctx.$slots.title ? (openBlock(), createBlock(unref(_sfc_main$2I), {
493
+ _ctx.$slots.title ? (openBlock(), createBlock(unref(_sfc_main$2H), {
494
494
  key: 0,
495
495
  class: normalizeClass(_ctx.headerClass)
496
496
  }, {
497
497
  default: withCtx(() => [
498
- createVNode(unref(_sfc_main$2H), {
498
+ createVNode(unref(_sfc_main$2G), {
499
499
  class: normalizeClass(_ctx.titleClass)
500
500
  }, {
501
501
  default: withCtx(() => [
@@ -503,7 +503,7 @@ const _sfc_main$2G = /* @__PURE__ */ defineComponent({
503
503
  ]),
504
504
  _: 3
505
505
  }, 8, ["class"]),
506
- _ctx.$slots.description ? (openBlock(), createBlock(unref(_sfc_main$2K), {
506
+ _ctx.$slots.description ? (openBlock(), createBlock(unref(_sfc_main$2J), {
507
507
  key: 0,
508
508
  class: normalizeClass(_ctx.descriptionClass)
509
509
  }, {
@@ -515,12 +515,12 @@ const _sfc_main$2G = /* @__PURE__ */ defineComponent({
515
515
  ]),
516
516
  _: 3
517
517
  }, 8, ["class"])) : createCommentVNode("", true),
518
- _ctx.$slots.default ? (openBlock(), createBlock(unref(_sfc_main$2L), {
518
+ _ctx.$slots.default ? (openBlock(), createBlock(unref(_sfc_main$2K), {
519
519
  key: 1,
520
520
  class: normalizeClass(unref(cn)("p-0", _ctx.contentClass))
521
521
  }, {
522
522
  default: withCtx(() => [
523
- _ctx.scrollAreaHeight && _ctx.scrollAreaHeight !== "auto" ? (openBlock(), createBlock(unref(_sfc_main$2N), {
523
+ _ctx.scrollAreaHeight && _ctx.scrollAreaHeight !== "auto" ? (openBlock(), createBlock(unref(_sfc_main$2M), {
524
524
  key: 0,
525
525
  class: normalizeClass(_ctx.scrollAreaClass),
526
526
  style: normalizeStyle({ height: unref(toPixel)(_ctx.scrollAreaHeight) })
@@ -533,7 +533,7 @@ const _sfc_main$2G = /* @__PURE__ */ defineComponent({
533
533
  ]),
534
534
  _: 3
535
535
  }, 8, ["class"])) : createCommentVNode("", true),
536
- _ctx.$slots.footer ? (openBlock(), createBlock(unref(_sfc_main$2J), {
536
+ _ctx.$slots.footer ? (openBlock(), createBlock(unref(_sfc_main$2I), {
537
537
  key: 2,
538
538
  class: normalizeClass(_ctx.footerClass)
539
539
  }, {
@@ -549,7 +549,7 @@ const _sfc_main$2G = /* @__PURE__ */ defineComponent({
549
549
  }
550
550
  });
551
551
 
552
- const _sfc_main$2F = /* @__PURE__ */ defineComponent({
552
+ const _sfc_main$2E = /* @__PURE__ */ defineComponent({
553
553
  __name: "Label",
554
554
  props: {
555
555
  for: {},
@@ -579,26 +579,6 @@ const _sfc_main$2F = /* @__PURE__ */ defineComponent({
579
579
  }
580
580
  });
581
581
 
582
- const _sfc_main$2E = /* @__PURE__ */ defineComponent({
583
- __name: "Label",
584
- props: {
585
- class: {}
586
- },
587
- setup(__props) {
588
- const props = __props;
589
- return (_ctx, _cache) => {
590
- return openBlock(), createBlock(unref(_sfc_main$2F), {
591
- class: normalizeClass(unref(cn)("flex w-full flex-col gap-2 font-normal", props.class))
592
- }, {
593
- default: withCtx(() => [
594
- renderSlot(_ctx.$slots, "default")
595
- ]),
596
- _: 3
597
- }, 8, ["class"]);
598
- };
599
- }
600
- });
601
-
602
582
  const _sfc_main$2D = /* @__PURE__ */ defineComponent({
603
583
  __name: "Checkbox",
604
584
  props: {
@@ -2282,7 +2262,7 @@ const _sfc_main$1Q = /* @__PURE__ */ defineComponent({
2282
2262
  }),
2283
2263
  _ctx.label ? (openBlock(), createBlock(unref(_sfc_main$2E), {
2284
2264
  key: 0,
2285
- class: normalizeClass(_ctx.labelClass)
2265
+ class: normalizeClass(unref(cn)("flex w-full flex-col gap-2 font-normal", _ctx.labelClass))
2286
2266
  }, {
2287
2267
  default: withCtx(() => [
2288
2268
  createElementVNode("span", _hoisted_1$b, toDisplayString(_ctx.label), 1),
@@ -2501,7 +2481,7 @@ const _sfc_main$1K = /* @__PURE__ */ defineComponent({
2501
2481
  }),
2502
2482
  _ctx.label ? (openBlock(), createBlock(unref(_sfc_main$2E), {
2503
2483
  key: 0,
2504
- class: normalizeClass(_ctx.labelClass)
2484
+ class: normalizeClass(unref(cn)("flex w-full flex-col gap-2 font-normal", _ctx.labelClass))
2505
2485
  }, {
2506
2486
  default: withCtx(() => [
2507
2487
  createElementVNode("span", _hoisted_1$a, toDisplayString(_ctx.label), 1),
@@ -3913,7 +3893,8 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
3913
3893
  label: {},
3914
3894
  labelClass: {},
3915
3895
  modelValue: {},
3916
- placeholder: {}
3896
+ placeholder: {},
3897
+ triggerClass: {}
3917
3898
  },
3918
3899
  emits: ["update:modelValue"],
3919
3900
  setup(__props, { emit: __emit }) {
@@ -3935,15 +3916,17 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
3935
3916
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event),
3936
3917
  disabled: _ctx.disabled,
3937
3918
  autocomplete: "off",
3938
- class: normalizeClass(unref(cn)("w-full", props.class))
3919
+ class: normalizeClass(props.class)
3939
3920
  }, {
3940
3921
  default: withCtx(() => [
3941
- createVNode(unref(_sfc_main$14), null, {
3922
+ createVNode(unref(_sfc_main$14), {
3923
+ class: normalizeClass(unref(cn)("w-full", _ctx.triggerClass))
3924
+ }, {
3942
3925
  default: withCtx(() => [
3943
3926
  createVNode(unref(_sfc_main$13), { placeholder: _ctx.placeholder }, null, 8, ["placeholder"])
3944
3927
  ]),
3945
3928
  _: 1
3946
- }),
3929
+ }, 8, ["class"]),
3947
3930
  createVNode(unref(_sfc_main$1c), {
3948
3931
  class: normalizeClass(_ctx.contentClass)
3949
3932
  }, {
@@ -3962,7 +3945,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
3962
3945
  }),
3963
3946
  _ctx.label ? (openBlock(), createBlock(unref(_sfc_main$2E), {
3964
3947
  key: 0,
3965
- class: normalizeClass(unref(cn)("flex flex-col gap-2", _ctx.labelClass))
3948
+ class: normalizeClass(unref(cn)("flex w-full flex-col gap-2 font-normal", _ctx.labelClass))
3966
3949
  }, {
3967
3950
  default: withCtx(() => [
3968
3951
  createElementVNode("span", _hoisted_2$1, toDisplayString(_ctx.label), 1),
@@ -5116,7 +5099,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
5116
5099
  const props = __props;
5117
5100
  const { toggleSidebar } = useSidebar();
5118
5101
  return (_ctx, _cache) => {
5119
- return openBlock(), createBlock(unref(_sfc_main$2R), {
5102
+ return openBlock(), createBlock(unref(_sfc_main$2Q), {
5120
5103
  "data-sidebar": "trigger",
5121
5104
  "data-slot": "sidebar-trigger",
5122
5105
  variant: "ghost",
@@ -6016,7 +5999,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
6016
5999
  }),
6017
6000
  _ctx.label ? (openBlock(), createBlock(unref(_sfc_main$2E), {
6018
6001
  key: 0,
6019
- class: normalizeClass(unref(cn)("flex flex-col gap-1", _ctx.labelClass))
6002
+ class: normalizeClass(unref(cn)("flex w-full flex-col gap-1 font-normal", _ctx.labelClass))
6020
6003
  }, {
6021
6004
  default: withCtx(() => [
6022
6005
  createElementVNode("span", _hoisted_1, toDisplayString(_ctx.label), 1),
@@ -6245,4 +6228,4 @@ function localRef(key, initial, options) {
6245
6228
  });
6246
6229
  }
6247
6230
 
6248
- export { _sfc_main$2S as Badge, _sfc_main$2R as Button, _sfc_main$2P as ButtonIcon, _sfc_main$2Q as ButtonLink, _sfc_main$2G as Card, _sfc_main$2C as Checkbox, _sfc_main$2B as Combobox, _sfc_main$2A as ComboboxAnchor, _sfc_main$2z as ComboboxEmpty, _sfc_main$2y as ComboboxGroup, _sfc_main$2x as ComboboxInput, _sfc_main$2w as ComboboxItem, _sfc_main$2v as ComboboxItemIndicator, _sfc_main$2u as ComboboxList, _sfc_main$2t as ComboboxSeparator, _sfc_main$2s as ComboboxViewport, _sfc_main$2r as ContextMenu, _sfc_main$2q as ContextMenuCheckboxItem, _sfc_main$2p as ContextMenuContent, _sfc_main$2o as ContextMenuGroup, _sfc_main$2n as ContextMenuItem, _sfc_main$2m as ContextMenuLabel, _sfc_main$2l as ContextMenuRadioGroup, _sfc_main$2k as ContextMenuRadioItem, _sfc_main$2j as ContextMenuSeparator, _sfc_main$2i as ContextMenuShortcut, _sfc_main$2h as ContextMenuSub, _sfc_main$2g as ContextMenuSubContent, _sfc_main$2f as ContextMenuSubTrigger, _sfc_main$2e as ContextMenuTrigger, _sfc_main$2d as Dialog, _sfc_main$2c as DialogClose, _sfc_main$2a as DialogContent, _sfc_main$29 as DialogDescription, _sfc_main$28 as DialogFooter, _sfc_main$27 as DialogHeader, _sfc_main$2b as DialogOverlay, _sfc_main$26 as DialogScrollContent, _sfc_main$25 as DialogTitle, _sfc_main$24 as DialogTrigger, _sfc_main$23 as DropdownMenu, _sfc_main$22 as DropdownMenuCheckboxItem, _sfc_main$21 as DropdownMenuContent, _sfc_main$20 as DropdownMenuGroup, _sfc_main$1$ as DropdownMenuItem, _sfc_main$1_ as DropdownMenuLabel, _sfc_main$1Z as DropdownMenuRadioGroup, _sfc_main$1Y as DropdownMenuRadioItem, _sfc_main$1X as DropdownMenuSeparator, _sfc_main$1W as DropdownMenuShortcut, _sfc_main$1V as DropdownMenuSub, _sfc_main$1U as DropdownMenuSubContent, _sfc_main$1T as DropdownMenuSubTrigger, _sfc_main$1S as DropdownMenuTrigger, _sfc_main$1Q as Input, _sfc_main$1K as InputNumber, _sfc_main$1J as InputText, _sfc_main$2E as Label, _sfc_main$1I as Link, _sfc_main$1H as Menubar, _sfc_main$1G as MenubarCheckboxItem, _sfc_main$1F as MenubarContent, _sfc_main$1E as MenubarGroup, _sfc_main$1D as MenubarItem, _sfc_main$1C as MenubarLabel, _sfc_main$1B as MenubarMenu, _sfc_main$1A as MenubarRadioGroup, _sfc_main$1z as MenubarRadioItem, _sfc_main$1y as MenubarSeparator, _sfc_main$1x as MenubarShortcut, _sfc_main$1w as MenubarSub, _sfc_main$1v as MenubarSubContent, _sfc_main$1u as MenubarSubTrigger, _sfc_main$1t as MenubarTrigger, _sfc_main$1s as Pagination, _sfc_main$1r as PaginationContent, _sfc_main$1q as PaginationEllipsis, _sfc_main$1p as PaginationFirst, _sfc_main$1o as PaginationItem, _sfc_main$1n as PaginationLast, _sfc_main$1m as PaginationNext, _sfc_main$1l as PaginationPrevious, _sfc_main$1h as Popover, _sfc_main$1g as Progress, _sfc_main$1f as RadioGroup, _sfc_main$1e as RadioGroupItem, _sfc_main$2N as ScrollArea, _sfc_main$12 as Select, _sfc_main$1b as SelectGroup, _sfc_main$1a as SelectItem, _sfc_main$19 as SelectItemText, _sfc_main$18 as SelectLabel, _sfc_main$17 as SelectScrollDownButton, _sfc_main$16 as SelectScrollUpButton, _sfc_main$15 as SelectSeparator, _sfc_main$11 as Separator, _sfc_main$10 as Sheet, _sfc_main$$ as SheetClose, _sfc_main$Z as SheetContent, _sfc_main$Y as SheetDescription, _sfc_main$X as SheetFooter, _sfc_main$W as SheetHeader, _sfc_main$V as SheetTitle, _sfc_main$U as SheetTrigger, _sfc_main$r as Sidebar, _sfc_main$Q as SidebarGroup, _sfc_main$P as SidebarGroupAction, _sfc_main$O as SidebarGroupContent, _sfc_main$N as SidebarGroupLabel, _sfc_main$K as SidebarMenu, _sfc_main$J as SidebarMenuAction, _sfc_main$I as SidebarMenuBadge, _sfc_main$C as SidebarMenuButton, _sfc_main$B as SidebarMenuItem, _sfc_main$z as SidebarMenuSkeleton, _sfc_main$y as SidebarMenuSub, _sfc_main$x as SidebarMenuSubButton, _sfc_main$w as SidebarMenuSubItem, _sfc_main$u as SidebarRail, _sfc_main$t as SidebarSeparator, _sfc_main$s as SidebarTrigger, _sfc_main$A as Skeleton, _sfc_main$q as Sonner, _sfc_main$o as Switch, _sfc_main$e as Table, _sfc_main$k as TableCell, _sfc_main$i as TableEmpty, _sfc_main$g as TableHead, _sfc_main$d as TableLink, _sfc_main$j as TableRow, _sfc_main$c as Tabs, _sfc_main$b as TabsContent, _sfc_main$a as TabsList, _sfc_main$9 as TabsTrigger, _sfc_main$8 as TagsInput, _sfc_main$7 as TagsInputInput, _sfc_main$6 as TagsInputItem, _sfc_main$5 as TagsInputItemDelete, _sfc_main$4 as TagsInputItemText, _sfc_main$2 as Textarea, _sfc_main$1 as Toggle, _sfc_main as Tooltip, asyncComputed, asyncRef, cn, getCurrentApp, getErrorHandler, handleError, inject, localRef, maybe, onAltKeyDown, onCtrlKeyDown, onCtrlShiftKeyDown, onKeyDown, onShiftKeyDown, provide, runWithContext, setCurrentApp, setErrorHandler, tryGetCurrentApp, tryInject, trySetCurrentApp, useElementSize, useHeight, useHeightDiff, useSidebar, useWidth, useWidthDiff, useWindowHeight, useWindowWidth };
6231
+ export { _sfc_main$2R as Badge, _sfc_main$2Q as Button, _sfc_main$2O as ButtonIcon, _sfc_main$2P as ButtonLink, _sfc_main$2F as Card, _sfc_main$2C as Checkbox, _sfc_main$2B as Combobox, _sfc_main$2A as ComboboxAnchor, _sfc_main$2z as ComboboxEmpty, _sfc_main$2y as ComboboxGroup, _sfc_main$2x as ComboboxInput, _sfc_main$2w as ComboboxItem, _sfc_main$2v as ComboboxItemIndicator, _sfc_main$2u as ComboboxList, _sfc_main$2t as ComboboxSeparator, _sfc_main$2s as ComboboxViewport, _sfc_main$2r as ContextMenu, _sfc_main$2q as ContextMenuCheckboxItem, _sfc_main$2p as ContextMenuContent, _sfc_main$2o as ContextMenuGroup, _sfc_main$2n as ContextMenuItem, _sfc_main$2m as ContextMenuLabel, _sfc_main$2l as ContextMenuRadioGroup, _sfc_main$2k as ContextMenuRadioItem, _sfc_main$2j as ContextMenuSeparator, _sfc_main$2i as ContextMenuShortcut, _sfc_main$2h as ContextMenuSub, _sfc_main$2g as ContextMenuSubContent, _sfc_main$2f as ContextMenuSubTrigger, _sfc_main$2e as ContextMenuTrigger, _sfc_main$2d as Dialog, _sfc_main$2c as DialogClose, _sfc_main$2a as DialogContent, _sfc_main$29 as DialogDescription, _sfc_main$28 as DialogFooter, _sfc_main$27 as DialogHeader, _sfc_main$2b as DialogOverlay, _sfc_main$26 as DialogScrollContent, _sfc_main$25 as DialogTitle, _sfc_main$24 as DialogTrigger, _sfc_main$23 as DropdownMenu, _sfc_main$22 as DropdownMenuCheckboxItem, _sfc_main$21 as DropdownMenuContent, _sfc_main$20 as DropdownMenuGroup, _sfc_main$1$ as DropdownMenuItem, _sfc_main$1_ as DropdownMenuLabel, _sfc_main$1Z as DropdownMenuRadioGroup, _sfc_main$1Y as DropdownMenuRadioItem, _sfc_main$1X as DropdownMenuSeparator, _sfc_main$1W as DropdownMenuShortcut, _sfc_main$1V as DropdownMenuSub, _sfc_main$1U as DropdownMenuSubContent, _sfc_main$1T as DropdownMenuSubTrigger, _sfc_main$1S as DropdownMenuTrigger, _sfc_main$1Q as Input, _sfc_main$1K as InputNumber, _sfc_main$1J as InputText, _sfc_main$2E as Label, _sfc_main$1I as Link, _sfc_main$1H as Menubar, _sfc_main$1G as MenubarCheckboxItem, _sfc_main$1F as MenubarContent, _sfc_main$1E as MenubarGroup, _sfc_main$1D as MenubarItem, _sfc_main$1C as MenubarLabel, _sfc_main$1B as MenubarMenu, _sfc_main$1A as MenubarRadioGroup, _sfc_main$1z as MenubarRadioItem, _sfc_main$1y as MenubarSeparator, _sfc_main$1x as MenubarShortcut, _sfc_main$1w as MenubarSub, _sfc_main$1v as MenubarSubContent, _sfc_main$1u as MenubarSubTrigger, _sfc_main$1t as MenubarTrigger, _sfc_main$1s as Pagination, _sfc_main$1r as PaginationContent, _sfc_main$1q as PaginationEllipsis, _sfc_main$1p as PaginationFirst, _sfc_main$1o as PaginationItem, _sfc_main$1n as PaginationLast, _sfc_main$1m as PaginationNext, _sfc_main$1l as PaginationPrevious, _sfc_main$1h as Popover, _sfc_main$1g as Progress, _sfc_main$1f as RadioGroup, _sfc_main$1e as RadioGroupItem, _sfc_main$2M as ScrollArea, _sfc_main$12 as Select, _sfc_main$1b as SelectGroup, _sfc_main$1a as SelectItem, _sfc_main$19 as SelectItemText, _sfc_main$18 as SelectLabel, _sfc_main$17 as SelectScrollDownButton, _sfc_main$16 as SelectScrollUpButton, _sfc_main$15 as SelectSeparator, _sfc_main$11 as Separator, _sfc_main$10 as Sheet, _sfc_main$$ as SheetClose, _sfc_main$Z as SheetContent, _sfc_main$Y as SheetDescription, _sfc_main$X as SheetFooter, _sfc_main$W as SheetHeader, _sfc_main$V as SheetTitle, _sfc_main$U as SheetTrigger, _sfc_main$r as Sidebar, _sfc_main$Q as SidebarGroup, _sfc_main$P as SidebarGroupAction, _sfc_main$O as SidebarGroupContent, _sfc_main$N as SidebarGroupLabel, _sfc_main$K as SidebarMenu, _sfc_main$J as SidebarMenuAction, _sfc_main$I as SidebarMenuBadge, _sfc_main$C as SidebarMenuButton, _sfc_main$B as SidebarMenuItem, _sfc_main$z as SidebarMenuSkeleton, _sfc_main$y as SidebarMenuSub, _sfc_main$x as SidebarMenuSubButton, _sfc_main$w as SidebarMenuSubItem, _sfc_main$u as SidebarRail, _sfc_main$t as SidebarSeparator, _sfc_main$s as SidebarTrigger, _sfc_main$A as Skeleton, _sfc_main$q as Sonner, _sfc_main$o as Switch, _sfc_main$e as Table, _sfc_main$k as TableCell, _sfc_main$i as TableEmpty, _sfc_main$g as TableHead, _sfc_main$d as TableLink, _sfc_main$j as TableRow, _sfc_main$c as Tabs, _sfc_main$b as TabsContent, _sfc_main$a as TabsList, _sfc_main$9 as TabsTrigger, _sfc_main$8 as TagsInput, _sfc_main$7 as TagsInputInput, _sfc_main$6 as TagsInputItem, _sfc_main$5 as TagsInputItemDelete, _sfc_main$4 as TagsInputItemText, _sfc_main$2 as Textarea, _sfc_main$1 as Toggle, _sfc_main as Tooltip, asyncComputed, asyncRef, cn, getCurrentApp, getErrorHandler, handleError, inject, localRef, maybe, onAltKeyDown, onCtrlKeyDown, onCtrlShiftKeyDown, onKeyDown, onShiftKeyDown, provide, runWithContext, setCurrentApp, setErrorHandler, tryGetCurrentApp, tryInject, trySetCurrentApp, useElementSize, useHeight, useHeightDiff, useSidebar, useWidth, useWidthDiff, useWindowHeight, useWindowWidth };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tb-dev/vue",
3
- "version": "0.3.20",
3
+ "version": "0.3.21",
4
4
  "description": "Vue utilities",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -1,21 +0,0 @@
1
- import { VNode } from 'vue';
2
- import { LabelProps } from './types';
3
- declare function __VLS_template(): {
4
- attrs: Partial<{}>;
5
- slots: Readonly<{
6
- default: () => VNode;
7
- }> & {
8
- default: () => VNode;
9
- };
10
- refs: {};
11
- rootEl: any;
12
- };
13
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
- declare const __VLS_component: import('vue').DefineComponent<LabelProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<LabelProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
15
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
16
- export default _default;
17
- type __VLS_WithTemplateSlots<T, S> = T & {
18
- new (): {
19
- $slots: S;
20
- };
21
- };
@@ -1,3 +0,0 @@
1
- export interface LabelProps {
2
- class?: string;
3
- }