@tb-dev/vue-components 2.0.1 → 2.0.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 (3) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index.js +107 -107
  3. package/package.json +12 -12
package/dist/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /*! tailwindcss v4.1.8 | MIT License | https://tailwindcss.com */
1
+ /*! tailwindcss v4.1.10 | MIT License | https://tailwindcss.com */
2
2
  @layer properties {
3
3
  @supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
4
4
  *, :before, :after, ::backdrop {
package/dist/index.js CHANGED
@@ -20,7 +20,7 @@ const _sfc_main$3i = /* @__PURE__ */ defineComponent({
20
20
  orientation: {},
21
21
  unmountOnHide: { type: Boolean },
22
22
  asChild: { type: Boolean },
23
- as: { type: [String, Object, Function] },
23
+ as: {},
24
24
  type: {},
25
25
  modelValue: {},
26
26
  defaultValue: {}
@@ -50,7 +50,7 @@ const _sfc_main$3h = /* @__PURE__ */ defineComponent({
50
50
  props: {
51
51
  forceMount: { type: Boolean },
52
52
  asChild: { type: Boolean },
53
- as: { type: [String, Object, Function] },
53
+ as: {},
54
54
  class: {}
55
55
  },
56
56
  setup(__props) {
@@ -78,7 +78,7 @@ const _sfc_main$3g = /* @__PURE__ */ defineComponent({
78
78
  value: {},
79
79
  unmountOnHide: { type: Boolean },
80
80
  asChild: { type: Boolean },
81
- as: { type: [String, Object, Function] },
81
+ as: {},
82
82
  class: {}
83
83
  },
84
84
  setup(__props) {
@@ -102,7 +102,7 @@ const _sfc_main$3f = /* @__PURE__ */ defineComponent({
102
102
  __name: "AccordionTrigger",
103
103
  props: {
104
104
  asChild: { type: Boolean },
105
- as: { type: [String, Object, Function] },
105
+ as: {},
106
106
  class: {}
107
107
  },
108
108
  setup(__props) {
@@ -238,7 +238,7 @@ const _sfc_main$3a = /* @__PURE__ */ defineComponent({
238
238
  class: {},
239
239
  type: { default: "button" },
240
240
  asChild: { type: Boolean },
241
- as: { type: [String, Object, Function], default: "button" }
241
+ as: { default: "button" }
242
242
  },
243
243
  setup(__props) {
244
244
  const props = __props;
@@ -289,7 +289,7 @@ const _sfc_main$39 = /* @__PURE__ */ defineComponent({
289
289
  __name: "AlertDialogAction",
290
290
  props: {
291
291
  asChild: { type: Boolean },
292
- as: { type: [String, Object, Function] },
292
+ as: {},
293
293
  class: {}
294
294
  },
295
295
  setup(__props) {
@@ -312,7 +312,7 @@ const _sfc_main$38 = /* @__PURE__ */ defineComponent({
312
312
  __name: "AlertDialogCancel",
313
313
  props: {
314
314
  asChild: { type: Boolean },
315
- as: { type: [String, Object, Function] },
315
+ as: {},
316
316
  class: {}
317
317
  },
318
318
  setup(__props) {
@@ -338,7 +338,7 @@ const _sfc_main$37 = /* @__PURE__ */ defineComponent({
338
338
  trapFocus: { type: Boolean },
339
339
  disableOutsidePointerEvents: { type: Boolean },
340
340
  asChild: { type: Boolean },
341
- as: { type: [String, Object, Function] },
341
+ as: {},
342
342
  class: {}
343
343
  },
344
344
  emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"],
@@ -376,7 +376,7 @@ const _sfc_main$36 = /* @__PURE__ */ defineComponent({
376
376
  __name: "AlertDialogDescription",
377
377
  props: {
378
378
  asChild: { type: Boolean },
379
- as: { type: [String, Object, Function] },
379
+ as: {},
380
380
  class: {}
381
381
  },
382
382
  setup(__props) {
@@ -435,7 +435,7 @@ const _sfc_main$33 = /* @__PURE__ */ defineComponent({
435
435
  __name: "AlertDialogTitle",
436
436
  props: {
437
437
  asChild: { type: Boolean },
438
- as: { type: [String, Object, Function] },
438
+ as: {},
439
439
  class: {}
440
440
  },
441
441
  setup(__props) {
@@ -458,7 +458,7 @@ const _sfc_main$32 = /* @__PURE__ */ defineComponent({
458
458
  __name: "AlertDialogTrigger",
459
459
  props: {
460
460
  asChild: { type: Boolean },
461
- as: { type: [String, Object, Function] }
461
+ as: {}
462
462
  },
463
463
  setup(__props) {
464
464
  const props = __props;
@@ -584,7 +584,7 @@ const _sfc_main$2$ = /* @__PURE__ */ defineComponent({
584
584
  props: {
585
585
  delayMs: {},
586
586
  asChild: { type: Boolean },
587
- as: { type: [String, Object, Function] },
587
+ as: {},
588
588
  class: {}
589
589
  },
590
590
  setup(__props) {
@@ -610,7 +610,7 @@ const _sfc_main$2_ = /* @__PURE__ */ defineComponent({
610
610
  referrerPolicy: {},
611
611
  crossOrigin: {},
612
612
  asChild: { type: Boolean },
613
- as: { type: [String, Object, Function] }
613
+ as: {}
614
614
  },
615
615
  setup(__props) {
616
616
  const props = __props;
@@ -629,7 +629,7 @@ const _sfc_main$2Z = /* @__PURE__ */ defineComponent({
629
629
  __name: "Badge",
630
630
  props: {
631
631
  asChild: { type: Boolean },
632
- as: { type: [String, Object, Function] },
632
+ as: {},
633
633
  variant: {},
634
634
  class: {}
635
635
  },
@@ -756,7 +756,7 @@ const _sfc_main$2W = /* @__PURE__ */ defineComponent({
756
756
  props: {
757
757
  buttonClass: {},
758
758
  class: {},
759
- icon: { type: [Object, Function] },
759
+ icon: {},
760
760
  iconClass: {},
761
761
  iconSize: {},
762
762
  to: {}
@@ -842,7 +842,7 @@ const _sfc_main$2U = /* @__PURE__ */ defineComponent({
842
842
  dir: {},
843
843
  scrollHideDelay: {},
844
844
  asChild: { type: Boolean },
845
- as: { type: [String, Object, Function] },
845
+ as: {},
846
846
  class: {}
847
847
  },
848
848
  setup(__props) {
@@ -1075,7 +1075,7 @@ const _sfc_main$2M = /* @__PURE__ */ defineComponent({
1075
1075
  value: {},
1076
1076
  id: {},
1077
1077
  asChild: { type: Boolean },
1078
- as: { type: [String, Object, Function] },
1078
+ as: {},
1079
1079
  name: {},
1080
1080
  required: { type: Boolean },
1081
1081
  class: {}
@@ -1158,7 +1158,7 @@ const _sfc_main$2K = /* @__PURE__ */ defineComponent({
1158
1158
  highlightOnHover: { type: Boolean },
1159
1159
  by: { type: [String, Function] },
1160
1160
  asChild: { type: Boolean },
1161
- as: { type: [String, Object, Function] },
1161
+ as: {},
1162
1162
  name: {},
1163
1163
  required: { type: Boolean }
1164
1164
  },
@@ -1183,7 +1183,7 @@ const _sfc_main$2J = /* @__PURE__ */ defineComponent({
1183
1183
  props: {
1184
1184
  reference: {},
1185
1185
  asChild: { type: Boolean },
1186
- as: { type: [String, Object, Function] },
1186
+ as: {},
1187
1187
  class: {}
1188
1188
  },
1189
1189
  setup(__props) {
@@ -1210,7 +1210,7 @@ const _sfc_main$2I = /* @__PURE__ */ defineComponent({
1210
1210
  __name: "ComboboxEmpty",
1211
1211
  props: {
1212
1212
  asChild: { type: Boolean },
1213
- as: { type: [String, Object, Function] },
1213
+ as: {},
1214
1214
  class: {}
1215
1215
  },
1216
1216
  setup(__props) {
@@ -1236,7 +1236,7 @@ const _sfc_main$2H = /* @__PURE__ */ defineComponent({
1236
1236
  __name: "ComboboxGroup",
1237
1237
  props: {
1238
1238
  asChild: { type: Boolean },
1239
- as: { type: [String, Object, Function] },
1239
+ as: {},
1240
1240
  class: {},
1241
1241
  heading: {}
1242
1242
  },
@@ -1283,7 +1283,7 @@ const _sfc_main$2G = /* @__PURE__ */ defineComponent({
1283
1283
  autoFocus: { type: Boolean },
1284
1284
  disabled: { type: Boolean },
1285
1285
  asChild: { type: Boolean },
1286
- as: { type: [String, Object, Function] },
1286
+ as: {},
1287
1287
  class: {}
1288
1288
  },
1289
1289
  emits: ["update:modelValue"],
@@ -1322,7 +1322,7 @@ const _sfc_main$2F = /* @__PURE__ */ defineComponent({
1322
1322
  value: {},
1323
1323
  disabled: { type: Boolean },
1324
1324
  asChild: { type: Boolean },
1325
- as: { type: [String, Object, Function] },
1325
+ as: {},
1326
1326
  class: {}
1327
1327
  },
1328
1328
  emits: ["select"],
@@ -1354,7 +1354,7 @@ const _sfc_main$2E = /* @__PURE__ */ defineComponent({
1354
1354
  __name: "ComboboxItemIndicator",
1355
1355
  props: {
1356
1356
  asChild: { type: Boolean },
1357
- as: { type: [String, Object, Function] },
1357
+ as: {},
1358
1358
  class: {}
1359
1359
  },
1360
1360
  setup(__props) {
@@ -1435,7 +1435,7 @@ const _sfc_main$2C = /* @__PURE__ */ defineComponent({
1435
1435
  __name: "ComboboxSeparator",
1436
1436
  props: {
1437
1437
  asChild: { type: Boolean },
1438
- as: { type: [String, Object, Function] },
1438
+ as: {},
1439
1439
  class: {}
1440
1440
  },
1441
1441
  setup(__props) {
@@ -1462,7 +1462,7 @@ const _sfc_main$2B = /* @__PURE__ */ defineComponent({
1462
1462
  props: {
1463
1463
  nonce: {},
1464
1464
  asChild: { type: Boolean },
1465
- as: { type: [String, Object, Function] },
1465
+ as: {},
1466
1466
  class: {}
1467
1467
  },
1468
1468
  setup(__props) {
@@ -1515,7 +1515,7 @@ const _sfc_main$2z = /* @__PURE__ */ defineComponent({
1515
1515
  disabled: { type: Boolean },
1516
1516
  textValue: {},
1517
1517
  asChild: { type: Boolean },
1518
- as: { type: [String, Object, Function] },
1518
+ as: {},
1519
1519
  class: {}
1520
1520
  },
1521
1521
  emits: ["select", "update:modelValue"],
@@ -1567,7 +1567,7 @@ const _sfc_main$2y = /* @__PURE__ */ defineComponent({
1567
1567
  prioritizePosition: { type: Boolean },
1568
1568
  reference: {},
1569
1569
  asChild: { type: Boolean },
1570
- as: { type: [String, Object, Function] },
1570
+ as: {},
1571
1571
  class: {}
1572
1572
  },
1573
1573
  emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "closeAutoFocus"],
@@ -1604,7 +1604,7 @@ const _sfc_main$2x = /* @__PURE__ */ defineComponent({
1604
1604
  __name: "ContextMenuGroup",
1605
1605
  props: {
1606
1606
  asChild: { type: Boolean },
1607
- as: { type: [String, Object, Function] }
1607
+ as: {}
1608
1608
  },
1609
1609
  setup(__props) {
1610
1610
  const props = __props;
@@ -1663,7 +1663,7 @@ const _sfc_main$2v = /* @__PURE__ */ defineComponent({
1663
1663
  __name: "ContextMenuLabel",
1664
1664
  props: {
1665
1665
  asChild: { type: Boolean },
1666
- as: { type: [String, Object, Function] },
1666
+ as: {},
1667
1667
  class: {},
1668
1668
  inset: { type: Boolean }
1669
1669
  },
@@ -1694,7 +1694,7 @@ const _sfc_main$2u = /* @__PURE__ */ defineComponent({
1694
1694
  props: {
1695
1695
  modelValue: {},
1696
1696
  asChild: { type: Boolean },
1697
- as: { type: [String, Object, Function] }
1697
+ as: {}
1698
1698
  },
1699
1699
  emits: ["update:modelValue"],
1700
1700
  setup(__props, { emit: __emit }) {
@@ -1720,7 +1720,7 @@ const _sfc_main$2t = /* @__PURE__ */ defineComponent({
1720
1720
  disabled: { type: Boolean },
1721
1721
  textValue: {},
1722
1722
  asChild: { type: Boolean },
1723
- as: { type: [String, Object, Function] },
1723
+ as: {},
1724
1724
  class: {}
1725
1725
  },
1726
1726
  emits: ["select"],
@@ -1760,7 +1760,7 @@ const _sfc_main$2s = /* @__PURE__ */ defineComponent({
1760
1760
  __name: "ContextMenuSeparator",
1761
1761
  props: {
1762
1762
  asChild: { type: Boolean },
1763
- as: { type: [String, Object, Function] },
1763
+ as: {},
1764
1764
  class: {}
1765
1765
  },
1766
1766
  setup(__props) {
@@ -1836,7 +1836,7 @@ const _sfc_main$2p = /* @__PURE__ */ defineComponent({
1836
1836
  prioritizePosition: { type: Boolean },
1837
1837
  reference: {},
1838
1838
  asChild: { type: Boolean },
1839
- as: { type: [String, Object, Function] },
1839
+ as: {},
1840
1840
  class: {}
1841
1841
  },
1842
1842
  emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "entryFocus", "openAutoFocus", "closeAutoFocus"],
@@ -1870,7 +1870,7 @@ const _sfc_main$2o = /* @__PURE__ */ defineComponent({
1870
1870
  disabled: { type: Boolean },
1871
1871
  textValue: {},
1872
1872
  asChild: { type: Boolean },
1873
- as: { type: [String, Object, Function] },
1873
+ as: {},
1874
1874
  class: {},
1875
1875
  inset: { type: Boolean }
1876
1876
  },
@@ -1906,7 +1906,7 @@ const _sfc_main$2n = /* @__PURE__ */ defineComponent({
1906
1906
  props: {
1907
1907
  disabled: { type: Boolean },
1908
1908
  asChild: { type: Boolean },
1909
- as: { type: [String, Object, Function] }
1909
+ as: {}
1910
1910
  },
1911
1911
  setup(__props) {
1912
1912
  const props = __props;
@@ -1949,7 +1949,7 @@ const _sfc_main$2l = /* @__PURE__ */ defineComponent({
1949
1949
  __name: "DialogClose",
1950
1950
  props: {
1951
1951
  asChild: { type: Boolean },
1952
- as: { type: [String, Object, Function] }
1952
+ as: {}
1953
1953
  },
1954
1954
  setup(__props) {
1955
1955
  const props = __props;
@@ -1969,7 +1969,7 @@ const _sfc_main$2k = /* @__PURE__ */ defineComponent({
1969
1969
  props: {
1970
1970
  forceMount: { type: Boolean },
1971
1971
  asChild: { type: Boolean },
1972
- as: { type: [String, Object, Function] },
1972
+ as: {},
1973
1973
  class: {}
1974
1974
  },
1975
1975
  setup(__props) {
@@ -2001,7 +2001,7 @@ const _sfc_main$2j = /* @__PURE__ */ defineComponent({
2001
2001
  trapFocus: { type: Boolean },
2002
2002
  disableOutsidePointerEvents: { type: Boolean },
2003
2003
  asChild: { type: Boolean },
2004
- as: { type: [String, Object, Function] },
2004
+ as: {},
2005
2005
  class: {}
2006
2006
  },
2007
2007
  emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"],
@@ -2047,7 +2047,7 @@ const _sfc_main$2i = /* @__PURE__ */ defineComponent({
2047
2047
  __name: "DialogDescription",
2048
2048
  props: {
2049
2049
  asChild: { type: Boolean },
2050
- as: { type: [String, Object, Function] },
2050
+ as: {},
2051
2051
  class: {}
2052
2052
  },
2053
2053
  setup(__props) {
@@ -2110,7 +2110,7 @@ const _sfc_main$2f = /* @__PURE__ */ defineComponent({
2110
2110
  __name: "DialogTitle",
2111
2111
  props: {
2112
2112
  asChild: { type: Boolean },
2113
- as: { type: [String, Object, Function] },
2113
+ as: {},
2114
2114
  class: {}
2115
2115
  },
2116
2116
  setup(__props) {
@@ -2137,7 +2137,7 @@ const _sfc_main$2e = /* @__PURE__ */ defineComponent({
2137
2137
  __name: "DialogTrigger",
2138
2138
  props: {
2139
2139
  asChild: { type: Boolean },
2140
- as: { type: [String, Object, Function] }
2140
+ as: {}
2141
2141
  },
2142
2142
  setup(__props) {
2143
2143
  const props = __props;
@@ -2252,7 +2252,7 @@ const _sfc_main$2b = /* @__PURE__ */ defineComponent({
2252
2252
  disabled: { type: Boolean },
2253
2253
  textValue: {},
2254
2254
  asChild: { type: Boolean },
2255
- as: { type: [String, Object, Function] },
2255
+ as: {},
2256
2256
  class: {}
2257
2257
  },
2258
2258
  emits: ["select", "update:modelValue"],
@@ -2346,7 +2346,7 @@ const _sfc_main$29 = /* @__PURE__ */ defineComponent({
2346
2346
  __name: "DropdownMenuGroup",
2347
2347
  props: {
2348
2348
  asChild: { type: Boolean },
2349
- as: { type: [String, Object, Function] }
2349
+ as: {}
2350
2350
  },
2351
2351
  setup(__props) {
2352
2352
  const props = __props;
@@ -2400,7 +2400,7 @@ const _sfc_main$27 = /* @__PURE__ */ defineComponent({
2400
2400
  __name: "DropdownMenuLabel",
2401
2401
  props: {
2402
2402
  asChild: { type: Boolean },
2403
- as: { type: [String, Object, Function] },
2403
+ as: {},
2404
2404
  class: {},
2405
2405
  inset: { type: Boolean }
2406
2406
  },
@@ -2429,7 +2429,7 @@ const _sfc_main$26 = /* @__PURE__ */ defineComponent({
2429
2429
  props: {
2430
2430
  modelValue: {},
2431
2431
  asChild: { type: Boolean },
2432
- as: { type: [String, Object, Function] }
2432
+ as: {}
2433
2433
  },
2434
2434
  emits: ["update:modelValue"],
2435
2435
  setup(__props, { emit: __emit }) {
@@ -2455,7 +2455,7 @@ const _sfc_main$25 = /* @__PURE__ */ defineComponent({
2455
2455
  disabled: { type: Boolean },
2456
2456
  textValue: {},
2457
2457
  asChild: { type: Boolean },
2458
- as: { type: [String, Object, Function] },
2458
+ as: {},
2459
2459
  class: {}
2460
2460
  },
2461
2461
  emits: ["select"],
@@ -2495,7 +2495,7 @@ const _sfc_main$24 = /* @__PURE__ */ defineComponent({
2495
2495
  __name: "DropdownMenuSeparator",
2496
2496
  props: {
2497
2497
  asChild: { type: Boolean },
2498
- as: { type: [String, Object, Function] },
2498
+ as: {},
2499
2499
  class: {}
2500
2500
  },
2501
2501
  setup(__props) {
@@ -2571,7 +2571,7 @@ const _sfc_main$21 = /* @__PURE__ */ defineComponent({
2571
2571
  prioritizePosition: { type: Boolean },
2572
2572
  reference: {},
2573
2573
  asChild: { type: Boolean },
2574
- as: { type: [String, Object, Function] },
2574
+ as: {},
2575
2575
  class: {}
2576
2576
  },
2577
2577
  emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "entryFocus", "openAutoFocus", "closeAutoFocus"],
@@ -2605,7 +2605,7 @@ const _sfc_main$20 = /* @__PURE__ */ defineComponent({
2605
2605
  disabled: { type: Boolean },
2606
2606
  textValue: {},
2607
2607
  asChild: { type: Boolean },
2608
- as: { type: [String, Object, Function] },
2608
+ as: {},
2609
2609
  class: {},
2610
2610
  inset: { type: Boolean }
2611
2611
  },
@@ -2635,7 +2635,7 @@ const _sfc_main$1$ = /* @__PURE__ */ defineComponent({
2635
2635
  props: {
2636
2636
  disabled: { type: Boolean },
2637
2637
  asChild: { type: Boolean },
2638
- as: { type: [String, Object, Function] }
2638
+ as: {}
2639
2639
  },
2640
2640
  setup(__props) {
2641
2641
  const props = __props;
@@ -2731,7 +2731,7 @@ const _sfc_main$1Y = /* @__PURE__ */ defineComponent({
2731
2731
  props: {
2732
2732
  reference: {},
2733
2733
  asChild: { type: Boolean },
2734
- as: { type: [String, Object, Function] }
2734
+ as: {}
2735
2735
  },
2736
2736
  setup(__props) {
2737
2737
  const props = __props;
@@ -2888,7 +2888,7 @@ const _sfc_main$1U = /* @__PURE__ */ defineComponent({
2888
2888
  invertWheelChange: { type: Boolean },
2889
2889
  id: {},
2890
2890
  asChild: { type: Boolean },
2891
- as: { type: [String, Object, Function] },
2891
+ as: {},
2892
2892
  name: {},
2893
2893
  required: { type: Boolean },
2894
2894
  class: {}
@@ -2942,7 +2942,7 @@ const _sfc_main$1S = /* @__PURE__ */ defineComponent({
2942
2942
  props: {
2943
2943
  disabled: { type: Boolean },
2944
2944
  asChild: { type: Boolean },
2945
- as: { type: [String, Object, Function] },
2945
+ as: {},
2946
2946
  class: {}
2947
2947
  },
2948
2948
  setup(__props) {
@@ -2975,7 +2975,7 @@ const _sfc_main$1R = /* @__PURE__ */ defineComponent({
2975
2975
  props: {
2976
2976
  disabled: { type: Boolean },
2977
2977
  asChild: { type: Boolean },
2978
- as: { type: [String, Object, Function] },
2978
+ as: {},
2979
2979
  class: {}
2980
2980
  },
2981
2981
  setup(__props) {
@@ -3150,7 +3150,7 @@ const _sfc_main$1N = /* @__PURE__ */ defineComponent({
3150
3150
  props: {
3151
3151
  for: {},
3152
3152
  asChild: { type: Boolean },
3153
- as: { type: [String, Object, Function] },
3153
+ as: {},
3154
3154
  class: {}
3155
3155
  },
3156
3156
  setup(__props) {
@@ -3200,7 +3200,7 @@ const _sfc_main$1L = /* @__PURE__ */ defineComponent({
3200
3200
  __name: "Loading",
3201
3201
  props: {
3202
3202
  class: {},
3203
- icon: { type: [Object, Function] },
3203
+ icon: {},
3204
3204
  iconClass: {}
3205
3205
  },
3206
3206
  setup(__props) {
@@ -3266,7 +3266,7 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
3266
3266
  disabled: { type: Boolean },
3267
3267
  textValue: {},
3268
3268
  asChild: { type: Boolean },
3269
- as: { type: [String, Object, Function] },
3269
+ as: {},
3270
3270
  class: {}
3271
3271
  },
3272
3272
  emits: ["select", "update:modelValue"],
@@ -3358,7 +3358,7 @@ const _sfc_main$1H = /* @__PURE__ */ defineComponent({
3358
3358
  __name: "MenubarGroup",
3359
3359
  props: {
3360
3360
  asChild: { type: Boolean },
3361
- as: { type: [String, Object, Function] }
3361
+ as: {}
3362
3362
  },
3363
3363
  setup(__props) {
3364
3364
  const props = __props;
@@ -3379,7 +3379,7 @@ const _sfc_main$1G = /* @__PURE__ */ defineComponent({
3379
3379
  disabled: { type: Boolean },
3380
3380
  textValue: {},
3381
3381
  asChild: { type: Boolean },
3382
- as: { type: [String, Object, Function] },
3382
+ as: {},
3383
3383
  class: {},
3384
3384
  inset: { type: Boolean },
3385
3385
  variant: {}
@@ -3414,7 +3414,7 @@ const _sfc_main$1F = /* @__PURE__ */ defineComponent({
3414
3414
  __name: "MenubarLabel",
3415
3415
  props: {
3416
3416
  asChild: { type: Boolean },
3417
- as: { type: [String, Object, Function] },
3417
+ as: {},
3418
3418
  class: {},
3419
3419
  inset: { type: Boolean }
3420
3420
  },
@@ -3459,7 +3459,7 @@ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
3459
3459
  props: {
3460
3460
  modelValue: {},
3461
3461
  asChild: { type: Boolean },
3462
- as: { type: [String, Object, Function] }
3462
+ as: {}
3463
3463
  },
3464
3464
  emits: ["update:modelValue"],
3465
3465
  setup(__props, { emit: __emit }) {
@@ -3485,7 +3485,7 @@ const _sfc_main$1C = /* @__PURE__ */ defineComponent({
3485
3485
  disabled: { type: Boolean },
3486
3486
  textValue: {},
3487
3487
  asChild: { type: Boolean },
3488
- as: { type: [String, Object, Function] },
3488
+ as: {},
3489
3489
  class: {}
3490
3490
  },
3491
3491
  emits: ["select"],
@@ -3525,7 +3525,7 @@ const _sfc_main$1B = /* @__PURE__ */ defineComponent({
3525
3525
  __name: "MenubarSeparator",
3526
3526
  props: {
3527
3527
  asChild: { type: Boolean },
3528
- as: { type: [String, Object, Function] },
3528
+ as: {},
3529
3529
  class: {}
3530
3530
  },
3531
3531
  setup(__props) {
@@ -3603,7 +3603,7 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
3603
3603
  prioritizePosition: { type: Boolean },
3604
3604
  reference: {},
3605
3605
  asChild: { type: Boolean },
3606
- as: { type: [String, Object, Function] },
3606
+ as: {},
3607
3607
  class: {}
3608
3608
  },
3609
3609
  emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "entryFocus", "openAutoFocus", "closeAutoFocus"],
@@ -3642,7 +3642,7 @@ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
3642
3642
  disabled: { type: Boolean },
3643
3643
  textValue: {},
3644
3644
  asChild: { type: Boolean },
3645
- as: { type: [String, Object, Function] },
3645
+ as: {},
3646
3646
  class: {},
3647
3647
  inset: { type: Boolean }
3648
3648
  },
@@ -3675,7 +3675,7 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
3675
3675
  props: {
3676
3676
  disabled: { type: Boolean },
3677
3677
  asChild: { type: Boolean },
3678
- as: { type: [String, Object, Function] },
3678
+ as: {},
3679
3679
  class: {}
3680
3680
  },
3681
3681
  setup(__props) {
@@ -3712,7 +3712,7 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
3712
3712
  disabled: { type: Boolean },
3713
3713
  showEdges: { type: Boolean },
3714
3714
  asChild: { type: Boolean },
3715
- as: { type: [String, Object, Function] },
3715
+ as: {},
3716
3716
  class: {}
3717
3717
  },
3718
3718
  emits: ["update:page"],
@@ -3738,7 +3738,7 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
3738
3738
  __name: "PaginationContent",
3739
3739
  props: {
3740
3740
  asChild: { type: Boolean },
3741
- as: { type: [String, Object, Function] },
3741
+ as: {},
3742
3742
  class: {}
3743
3743
  },
3744
3744
  setup(__props) {
@@ -3764,7 +3764,7 @@ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
3764
3764
  __name: "PaginationEllipsis",
3765
3765
  props: {
3766
3766
  asChild: { type: Boolean },
3767
- as: { type: [String, Object, Function] },
3767
+ as: {},
3768
3768
  class: {}
3769
3769
  },
3770
3770
  setup(__props) {
@@ -4021,7 +4021,7 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
4021
4021
  __name: "PopoverTrigger",
4022
4022
  props: {
4023
4023
  asChild: { type: Boolean },
4024
- as: { type: [String, Object, Function] }
4024
+ as: {}
4025
4025
  },
4026
4026
  setup(__props) {
4027
4027
  const props = __props;
@@ -4109,7 +4109,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
4109
4109
  dir: {},
4110
4110
  loop: { type: Boolean },
4111
4111
  asChild: { type: Boolean },
4112
- as: { type: [String, Object, Function] },
4112
+ as: {},
4113
4113
  name: {},
4114
4114
  required: { type: Boolean },
4115
4115
  class: {}
@@ -4144,7 +4144,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
4144
4144
  value: {},
4145
4145
  disabled: { type: Boolean },
4146
4146
  asChild: { type: Boolean },
4147
- as: { type: [String, Object, Function] },
4147
+ as: {},
4148
4148
  name: {},
4149
4149
  required: { type: Boolean },
4150
4150
  class: {}
@@ -4192,7 +4192,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
4192
4192
  tabindex: {},
4193
4193
  disabled: { type: Boolean },
4194
4194
  asChild: { type: Boolean },
4195
- as: { type: [String, Object, Function] },
4195
+ as: {},
4196
4196
  class: {},
4197
4197
  withHandle: { type: Boolean }
4198
4198
  },
@@ -4231,7 +4231,7 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
4231
4231
  minSize: {},
4232
4232
  order: {},
4233
4233
  asChild: { type: Boolean },
4234
- as: { type: [String, Object, Function] }
4234
+ as: {}
4235
4235
  },
4236
4236
  emits: ["collapse", "expand", "resize"],
4237
4237
  setup(__props, { emit: __emit }) {
@@ -4258,7 +4258,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
4258
4258
  keyboardResizeBy: {},
4259
4259
  storage: {},
4260
4260
  asChild: { type: Boolean },
4261
- as: { type: [String, Object, Function] },
4261
+ as: {},
4262
4262
  class: {}
4263
4263
  },
4264
4264
  emits: ["layout"],
@@ -4391,7 +4391,7 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
4391
4391
  __name: "SelectGroup",
4392
4392
  props: {
4393
4393
  asChild: { type: Boolean },
4394
- as: { type: [String, Object, Function] }
4394
+ as: {}
4395
4395
  },
4396
4396
  setup(__props) {
4397
4397
  const props = __props;
@@ -4414,7 +4414,7 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
4414
4414
  disabled: { type: Boolean },
4415
4415
  textValue: {},
4416
4416
  asChild: { type: Boolean },
4417
- as: { type: [String, Object, Function] },
4417
+ as: {},
4418
4418
  class: {}
4419
4419
  },
4420
4420
  setup(__props) {
@@ -4457,7 +4457,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
4457
4457
  __name: "SelectItemText",
4458
4458
  props: {
4459
4459
  asChild: { type: Boolean },
4460
- as: { type: [String, Object, Function] }
4460
+ as: {}
4461
4461
  },
4462
4462
  setup(__props) {
4463
4463
  const props = __props;
@@ -4477,7 +4477,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
4477
4477
  props: {
4478
4478
  for: {},
4479
4479
  asChild: { type: Boolean },
4480
- as: { type: [String, Object, Function] },
4480
+ as: {},
4481
4481
  class: {}
4482
4482
  },
4483
4483
  setup(__props) {
@@ -4500,7 +4500,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
4500
4500
  __name: "SelectScrollDownButton",
4501
4501
  props: {
4502
4502
  asChild: { type: Boolean },
4503
- as: { type: [String, Object, Function] },
4503
+ as: {},
4504
4504
  class: {}
4505
4505
  },
4506
4506
  setup(__props) {
@@ -4529,7 +4529,7 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
4529
4529
  __name: "SelectScrollUpButton",
4530
4530
  props: {
4531
4531
  asChild: { type: Boolean },
4532
- as: { type: [String, Object, Function] },
4532
+ as: {},
4533
4533
  class: {}
4534
4534
  },
4535
4535
  setup(__props) {
@@ -4558,7 +4558,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
4558
4558
  __name: "SelectSeparator",
4559
4559
  props: {
4560
4560
  asChild: { type: Boolean },
4561
- as: { type: [String, Object, Function] },
4561
+ as: {},
4562
4562
  class: {}
4563
4563
  },
4564
4564
  setup(__props) {
@@ -4619,7 +4619,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
4619
4619
  props: {
4620
4620
  placeholder: {},
4621
4621
  asChild: { type: Boolean },
4622
- as: { type: [String, Object, Function] }
4622
+ as: {}
4623
4623
  },
4624
4624
  setup(__props) {
4625
4625
  const props = __props;
@@ -4746,7 +4746,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
4746
4746
  __name: "SheetClose",
4747
4747
  props: {
4748
4748
  asChild: { type: Boolean },
4749
- as: { type: [String, Object, Function] }
4749
+ as: {}
4750
4750
  },
4751
4751
  setup(__props) {
4752
4752
  const props = __props;
@@ -4766,7 +4766,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
4766
4766
  props: {
4767
4767
  forceMount: { type: Boolean },
4768
4768
  asChild: { type: Boolean },
4769
- as: { type: [String, Object, Function] },
4769
+ as: {},
4770
4770
  class: {}
4771
4771
  },
4772
4772
  setup(__props) {
@@ -4851,7 +4851,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
4851
4851
  __name: "SheetDescription",
4852
4852
  props: {
4853
4853
  asChild: { type: Boolean },
4854
- as: { type: [String, Object, Function] },
4854
+ as: {},
4855
4855
  class: {}
4856
4856
  },
4857
4857
  setup(__props) {
@@ -4914,7 +4914,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
4914
4914
  __name: "SheetTitle",
4915
4915
  props: {
4916
4916
  asChild: { type: Boolean },
4917
- as: { type: [String, Object, Function] },
4917
+ as: {},
4918
4918
  class: {}
4919
4919
  },
4920
4920
  setup(__props) {
@@ -4941,7 +4941,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
4941
4941
  __name: "SheetTrigger",
4942
4942
  props: {
4943
4943
  asChild: { type: Boolean },
4944
- as: { type: [String, Object, Function] }
4944
+ as: {}
4945
4945
  },
4946
4946
  setup(__props) {
4947
4947
  const props = __props;
@@ -5136,7 +5136,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
5136
5136
  __name: "SidebarGroupAction",
5137
5137
  props: {
5138
5138
  asChild: { type: Boolean },
5139
- as: { type: [String, Object, Function] },
5139
+ as: {},
5140
5140
  class: {}
5141
5141
  },
5142
5142
  setup(__props) {
@@ -5188,7 +5188,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
5188
5188
  __name: "SidebarGroupLabel",
5189
5189
  props: {
5190
5190
  asChild: { type: Boolean },
5191
- as: { type: [String, Object, Function] },
5191
+ as: {},
5192
5192
  class: {}
5193
5193
  },
5194
5194
  setup(__props) {
@@ -5282,7 +5282,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
5282
5282
  __name: "SidebarMenuAction",
5283
5283
  props: {
5284
5284
  asChild: { type: Boolean },
5285
- as: { type: [String, Object, Function], default: "button" },
5285
+ as: { default: "button" },
5286
5286
  showOnHover: { type: Boolean },
5287
5287
  class: {}
5288
5288
  },
@@ -5452,7 +5452,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
5452
5452
  props: {
5453
5453
  reference: {},
5454
5454
  asChild: { type: Boolean },
5455
- as: { type: [String, Object, Function] }
5455
+ as: {}
5456
5456
  },
5457
5457
  setup(__props) {
5458
5458
  const props = __props;
@@ -5475,7 +5475,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
5475
5475
  isActive: { type: Boolean },
5476
5476
  class: {},
5477
5477
  asChild: { type: Boolean },
5478
- as: { type: [String, Object, Function], default: "button" }
5478
+ as: { default: "button" }
5479
5479
  },
5480
5480
  setup(__props) {
5481
5481
  const props = __props;
@@ -5509,7 +5509,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
5509
5509
  isActive: { type: Boolean },
5510
5510
  class: {},
5511
5511
  asChild: { type: Boolean },
5512
- as: { type: [String, Object, Function], default: "button" },
5512
+ as: { default: "button" },
5513
5513
  tooltip: {}
5514
5514
  },
5515
5515
  setup(__props) {
@@ -5653,7 +5653,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
5653
5653
  __name: "SidebarMenuSubButton",
5654
5654
  props: {
5655
5655
  asChild: { type: Boolean },
5656
- as: { type: [String, Object, Function], default: "a" },
5656
+ as: { default: "a" },
5657
5657
  size: { default: "md" },
5658
5658
  isActive: { type: Boolean },
5659
5659
  class: {}
@@ -5959,7 +5959,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
5959
5959
  minStepsBetweenThumbs: {},
5960
5960
  thumbAlignment: {},
5961
5961
  asChild: { type: Boolean },
5962
- as: { type: [String, Object, Function] },
5962
+ as: {},
5963
5963
  name: {},
5964
5964
  required: { type: Boolean },
5965
5965
  class: {}
@@ -6052,7 +6052,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
6052
6052
  id: {},
6053
6053
  value: {},
6054
6054
  asChild: { type: Boolean },
6055
- as: { type: [String, Object, Function] },
6055
+ as: {},
6056
6056
  name: {},
6057
6057
  required: { type: Boolean },
6058
6058
  class: {}
@@ -6421,7 +6421,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
6421
6421
  modelValue: {},
6422
6422
  unmountOnHide: { type: Boolean },
6423
6423
  asChild: { type: Boolean },
6424
- as: { type: [String, Object, Function] },
6424
+ as: {},
6425
6425
  class: {}
6426
6426
  },
6427
6427
  emits: ["update:modelValue"],
@@ -6449,7 +6449,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
6449
6449
  value: {},
6450
6450
  forceMount: { type: Boolean },
6451
6451
  asChild: { type: Boolean },
6452
- as: { type: [String, Object, Function] },
6452
+ as: {},
6453
6453
  class: {}
6454
6454
  },
6455
6455
  setup(__props) {
@@ -6477,7 +6477,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
6477
6477
  props: {
6478
6478
  loop: { type: Boolean },
6479
6479
  asChild: { type: Boolean },
6480
- as: { type: [String, Object, Function] },
6480
+ as: {},
6481
6481
  class: {}
6482
6482
  },
6483
6483
  setup(__props) {
@@ -6508,7 +6508,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
6508
6508
  value: {},
6509
6509
  disabled: { type: Boolean },
6510
6510
  asChild: { type: Boolean },
6511
- as: { type: [String, Object, Function] },
6511
+ as: {},
6512
6512
  class: {}
6513
6513
  },
6514
6514
  setup(__props) {
@@ -6551,7 +6551,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
6551
6551
  convertValue: { type: Function },
6552
6552
  displayValue: { type: Function },
6553
6553
  asChild: { type: Boolean },
6554
- as: { type: [String, Object, Function] },
6554
+ as: {},
6555
6555
  name: {},
6556
6556
  required: { type: Boolean },
6557
6557
  class: {}
@@ -6588,7 +6588,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
6588
6588
  autoFocus: { type: Boolean },
6589
6589
  maxLength: {},
6590
6590
  asChild: { type: Boolean },
6591
- as: { type: [String, Object, Function] },
6591
+ as: {},
6592
6592
  class: {}
6593
6593
  },
6594
6594
  setup(__props) {
@@ -6612,7 +6612,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
6612
6612
  value: {},
6613
6613
  disabled: { type: Boolean },
6614
6614
  asChild: { type: Boolean },
6615
- as: { type: [String, Object, Function] },
6615
+ as: {},
6616
6616
  class: {}
6617
6617
  },
6618
6618
  setup(__props) {
@@ -6642,7 +6642,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
6642
6642
  __name: "TagsInputItemDelete",
6643
6643
  props: {
6644
6644
  asChild: { type: Boolean },
6645
- as: { type: [String, Object, Function] },
6645
+ as: {},
6646
6646
  class: {}
6647
6647
  },
6648
6648
  setup(__props) {
@@ -6671,7 +6671,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
6671
6671
  __name: "TagsInputItemText",
6672
6672
  props: {
6673
6673
  asChild: { type: Boolean },
6674
- as: { type: [String, Object, Function] },
6674
+ as: {},
6675
6675
  class: {}
6676
6676
  },
6677
6677
  setup(__props) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tb-dev/vue-components",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "description": "Vue components",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -24,29 +24,29 @@
24
24
  ],
25
25
  "dependencies": {
26
26
  "@tanstack/vue-table": "^8.21.3",
27
- "@tb-dev/utils": "^7.0.3",
28
- "@tb-dev/vue": "^2.0.6",
29
- "@vueuse/core": "^13.3.0",
27
+ "@tb-dev/utils": "^7.0.4",
28
+ "@tb-dev/vue": "^2.0.8",
29
+ "@vueuse/core": "^13.4.0",
30
30
  "class-variance-authority": "^0.7.1",
31
31
  "clsx": "^2.1.1",
32
- "lucide-vue-next": "^0.513.0",
32
+ "lucide-vue-next": "^0.518.0",
33
33
  "reka-ui": "^2.3.1",
34
- "tailwind-merge": "^3.3.0",
34
+ "tailwind-merge": "^3.3.1",
35
35
  "tw-animate-css": "^1.3.4",
36
- "vue": "^3.5.16",
36
+ "vue": "^3.5.17",
37
37
  "vue-router": "^4.5.1",
38
38
  "vue-sonner": "^2.0.0"
39
39
  },
40
40
  "devDependencies": {
41
- "@tailwindcss/vite": "^4.1.8",
42
- "@tb-dev/eslint-config": "^7.1.7",
43
- "@types/node": "^24.0.0",
41
+ "@tailwindcss/vite": "^4.1.10",
42
+ "@tb-dev/eslint-config": "^7.1.8",
43
+ "@types/node": "^24.0.3",
44
44
  "@vitejs/plugin-vue": "^5.2.4",
45
- "eslint": "^9.28.0",
45
+ "eslint": "^9.29.0",
46
46
  "prettier": "^3.5.3",
47
47
  "prettier-plugin-css-order": "^2.1.2",
48
48
  "prettier-plugin-tailwindcss": "^0.6.12",
49
- "tailwindcss": "^4.1.8",
49
+ "tailwindcss": "^4.1.10",
50
50
  "tslib": "^2.8.1",
51
51
  "typescript": "~5.8.3",
52
52
  "vite": "^6.3.5",