@tb-dev/vue-components 0.2.2 → 0.2.4

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.js +98 -96
  2. package/package.json +8 -8
package/dist/index.js CHANGED
@@ -19,7 +19,7 @@ const _sfc_main$2_ = /* @__PURE__ */ defineComponent({
19
19
  __name: "Badge",
20
20
  props: {
21
21
  asChild: { type: Boolean },
22
- as: {},
22
+ as: { type: [String, Object, Function] },
23
23
  variant: {},
24
24
  class: {}
25
25
  },
@@ -68,7 +68,7 @@ const _sfc_main$2Z = /* @__PURE__ */ defineComponent({
68
68
  class: {},
69
69
  type: { default: "button" },
70
70
  asChild: { type: Boolean },
71
- as: { default: "button" }
71
+ as: { type: [String, Object, Function], default: "button" }
72
72
  },
73
73
  setup(__props) {
74
74
  const props = __props;
@@ -201,7 +201,7 @@ const _sfc_main$2W = /* @__PURE__ */ defineComponent({
201
201
  props: {
202
202
  buttonClass: {},
203
203
  class: {},
204
- icon: {},
204
+ icon: { type: [Object, Function] },
205
205
  iconClass: {},
206
206
  iconSize: {},
207
207
  to: {}
@@ -285,7 +285,7 @@ const _sfc_main$2U = /* @__PURE__ */ defineComponent({
285
285
  dir: {},
286
286
  scrollHideDelay: {},
287
287
  asChild: { type: Boolean },
288
- as: {},
288
+ as: { type: [String, Object, Function] },
289
289
  class: {}
290
290
  },
291
291
  setup(__props) {
@@ -518,7 +518,7 @@ const _sfc_main$2M = /* @__PURE__ */ defineComponent({
518
518
  value: {},
519
519
  id: {},
520
520
  asChild: { type: Boolean },
521
- as: {},
521
+ as: { type: [String, Object, Function] },
522
522
  name: {},
523
523
  required: { type: Boolean },
524
524
  class: {}
@@ -601,7 +601,7 @@ const _sfc_main$2K = /* @__PURE__ */ defineComponent({
601
601
  highlightOnHover: { type: Boolean },
602
602
  by: { type: [String, Function] },
603
603
  asChild: { type: Boolean },
604
- as: {},
604
+ as: { type: [String, Object, Function] },
605
605
  name: {},
606
606
  required: { type: Boolean }
607
607
  },
@@ -626,7 +626,7 @@ const _sfc_main$2J = /* @__PURE__ */ defineComponent({
626
626
  props: {
627
627
  reference: {},
628
628
  asChild: { type: Boolean },
629
- as: {},
629
+ as: { type: [String, Object, Function] },
630
630
  class: {}
631
631
  },
632
632
  setup(__props) {
@@ -653,7 +653,7 @@ const _sfc_main$2I = /* @__PURE__ */ defineComponent({
653
653
  __name: "ComboboxEmpty",
654
654
  props: {
655
655
  asChild: { type: Boolean },
656
- as: {},
656
+ as: { type: [String, Object, Function] },
657
657
  class: {}
658
658
  },
659
659
  setup(__props) {
@@ -679,7 +679,7 @@ const _sfc_main$2H = /* @__PURE__ */ defineComponent({
679
679
  __name: "ComboboxGroup",
680
680
  props: {
681
681
  asChild: { type: Boolean },
682
- as: {},
682
+ as: { type: [String, Object, Function] },
683
683
  class: {},
684
684
  heading: {}
685
685
  },
@@ -726,7 +726,7 @@ const _sfc_main$2G = /* @__PURE__ */ defineComponent({
726
726
  autoFocus: { type: Boolean },
727
727
  disabled: { type: Boolean },
728
728
  asChild: { type: Boolean },
729
- as: {},
729
+ as: { type: [String, Object, Function] },
730
730
  class: {}
731
731
  },
732
732
  emits: ["update:modelValue"],
@@ -765,7 +765,7 @@ const _sfc_main$2F = /* @__PURE__ */ defineComponent({
765
765
  value: {},
766
766
  disabled: { type: Boolean },
767
767
  asChild: { type: Boolean },
768
- as: {},
768
+ as: { type: [String, Object, Function] },
769
769
  class: {}
770
770
  },
771
771
  emits: ["select"],
@@ -797,7 +797,7 @@ const _sfc_main$2E = /* @__PURE__ */ defineComponent({
797
797
  __name: "ComboboxItemIndicator",
798
798
  props: {
799
799
  asChild: { type: Boolean },
800
- as: {},
800
+ as: { type: [String, Object, Function] },
801
801
  class: {}
802
802
  },
803
803
  setup(__props) {
@@ -878,7 +878,7 @@ const _sfc_main$2C = /* @__PURE__ */ defineComponent({
878
878
  __name: "ComboboxSeparator",
879
879
  props: {
880
880
  asChild: { type: Boolean },
881
- as: {},
881
+ as: { type: [String, Object, Function] },
882
882
  class: {}
883
883
  },
884
884
  setup(__props) {
@@ -905,7 +905,7 @@ const _sfc_main$2B = /* @__PURE__ */ defineComponent({
905
905
  props: {
906
906
  nonce: {},
907
907
  asChild: { type: Boolean },
908
- as: {},
908
+ as: { type: [String, Object, Function] },
909
909
  class: {}
910
910
  },
911
911
  setup(__props) {
@@ -958,7 +958,7 @@ const _sfc_main$2z = /* @__PURE__ */ defineComponent({
958
958
  disabled: { type: Boolean },
959
959
  textValue: {},
960
960
  asChild: { type: Boolean },
961
- as: {},
961
+ as: { type: [String, Object, Function] },
962
962
  class: {}
963
963
  },
964
964
  emits: ["select", "update:modelValue"],
@@ -1010,7 +1010,7 @@ const _sfc_main$2y = /* @__PURE__ */ defineComponent({
1010
1010
  prioritizePosition: { type: Boolean },
1011
1011
  reference: {},
1012
1012
  asChild: { type: Boolean },
1013
- as: {},
1013
+ as: { type: [String, Object, Function] },
1014
1014
  class: {}
1015
1015
  },
1016
1016
  emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "closeAutoFocus"],
@@ -1047,7 +1047,7 @@ const _sfc_main$2x = /* @__PURE__ */ defineComponent({
1047
1047
  __name: "ContextMenuGroup",
1048
1048
  props: {
1049
1049
  asChild: { type: Boolean },
1050
- as: {}
1050
+ as: { type: [String, Object, Function] }
1051
1051
  },
1052
1052
  setup(__props) {
1053
1053
  const props = __props;
@@ -1106,7 +1106,7 @@ const _sfc_main$2v = /* @__PURE__ */ defineComponent({
1106
1106
  __name: "ContextMenuLabel",
1107
1107
  props: {
1108
1108
  asChild: { type: Boolean },
1109
- as: {},
1109
+ as: { type: [String, Object, Function] },
1110
1110
  class: {},
1111
1111
  inset: { type: Boolean }
1112
1112
  },
@@ -1137,7 +1137,7 @@ const _sfc_main$2u = /* @__PURE__ */ defineComponent({
1137
1137
  props: {
1138
1138
  modelValue: {},
1139
1139
  asChild: { type: Boolean },
1140
- as: {}
1140
+ as: { type: [String, Object, Function] }
1141
1141
  },
1142
1142
  emits: ["update:modelValue"],
1143
1143
  setup(__props, { emit: __emit }) {
@@ -1163,7 +1163,7 @@ const _sfc_main$2t = /* @__PURE__ */ defineComponent({
1163
1163
  disabled: { type: Boolean },
1164
1164
  textValue: {},
1165
1165
  asChild: { type: Boolean },
1166
- as: {},
1166
+ as: { type: [String, Object, Function] },
1167
1167
  class: {}
1168
1168
  },
1169
1169
  emits: ["select"],
@@ -1203,7 +1203,7 @@ const _sfc_main$2s = /* @__PURE__ */ defineComponent({
1203
1203
  __name: "ContextMenuSeparator",
1204
1204
  props: {
1205
1205
  asChild: { type: Boolean },
1206
- as: {},
1206
+ as: { type: [String, Object, Function] },
1207
1207
  class: {}
1208
1208
  },
1209
1209
  setup(__props) {
@@ -1279,7 +1279,7 @@ const _sfc_main$2p = /* @__PURE__ */ defineComponent({
1279
1279
  prioritizePosition: { type: Boolean },
1280
1280
  reference: {},
1281
1281
  asChild: { type: Boolean },
1282
- as: {},
1282
+ as: { type: [String, Object, Function] },
1283
1283
  class: {}
1284
1284
  },
1285
1285
  emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "entryFocus", "openAutoFocus", "closeAutoFocus"],
@@ -1313,7 +1313,7 @@ const _sfc_main$2o = /* @__PURE__ */ defineComponent({
1313
1313
  disabled: { type: Boolean },
1314
1314
  textValue: {},
1315
1315
  asChild: { type: Boolean },
1316
- as: {},
1316
+ as: { type: [String, Object, Function] },
1317
1317
  class: {},
1318
1318
  inset: { type: Boolean }
1319
1319
  },
@@ -1349,7 +1349,7 @@ const _sfc_main$2n = /* @__PURE__ */ defineComponent({
1349
1349
  props: {
1350
1350
  disabled: { type: Boolean },
1351
1351
  asChild: { type: Boolean },
1352
- as: {}
1352
+ as: { type: [String, Object, Function] }
1353
1353
  },
1354
1354
  setup(__props) {
1355
1355
  const props = __props;
@@ -1392,7 +1392,7 @@ const _sfc_main$2l = /* @__PURE__ */ defineComponent({
1392
1392
  __name: "DialogClose",
1393
1393
  props: {
1394
1394
  asChild: { type: Boolean },
1395
- as: {}
1395
+ as: { type: [String, Object, Function] }
1396
1396
  },
1397
1397
  setup(__props) {
1398
1398
  const props = __props;
@@ -1412,7 +1412,7 @@ const _sfc_main$2k = /* @__PURE__ */ defineComponent({
1412
1412
  props: {
1413
1413
  forceMount: { type: Boolean },
1414
1414
  asChild: { type: Boolean },
1415
- as: {},
1415
+ as: { type: [String, Object, Function] },
1416
1416
  class: {}
1417
1417
  },
1418
1418
  setup(__props) {
@@ -1444,7 +1444,7 @@ const _sfc_main$2j = /* @__PURE__ */ defineComponent({
1444
1444
  trapFocus: { type: Boolean },
1445
1445
  disableOutsidePointerEvents: { type: Boolean },
1446
1446
  asChild: { type: Boolean },
1447
- as: {},
1447
+ as: { type: [String, Object, Function] },
1448
1448
  class: {}
1449
1449
  },
1450
1450
  emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"],
@@ -1490,7 +1490,7 @@ const _sfc_main$2i = /* @__PURE__ */ defineComponent({
1490
1490
  __name: "DialogDescription",
1491
1491
  props: {
1492
1492
  asChild: { type: Boolean },
1493
- as: {},
1493
+ as: { type: [String, Object, Function] },
1494
1494
  class: {}
1495
1495
  },
1496
1496
  setup(__props) {
@@ -1556,7 +1556,7 @@ const _sfc_main$2f = /* @__PURE__ */ defineComponent({
1556
1556
  trapFocus: { type: Boolean },
1557
1557
  disableOutsidePointerEvents: { type: Boolean },
1558
1558
  asChild: { type: Boolean },
1559
- as: {},
1559
+ as: { type: [String, Object, Function] },
1560
1560
  class: {}
1561
1561
  },
1562
1562
  emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"],
@@ -1614,7 +1614,7 @@ const _sfc_main$2e = /* @__PURE__ */ defineComponent({
1614
1614
  __name: "DialogTitle",
1615
1615
  props: {
1616
1616
  asChild: { type: Boolean },
1617
- as: {},
1617
+ as: { type: [String, Object, Function] },
1618
1618
  class: {}
1619
1619
  },
1620
1620
  setup(__props) {
@@ -1641,7 +1641,7 @@ const _sfc_main$2d = /* @__PURE__ */ defineComponent({
1641
1641
  __name: "DialogTrigger",
1642
1642
  props: {
1643
1643
  asChild: { type: Boolean },
1644
- as: {}
1644
+ as: { type: [String, Object, Function] }
1645
1645
  },
1646
1646
  setup(__props) {
1647
1647
  const props = __props;
@@ -1688,7 +1688,7 @@ const _sfc_main$2b = /* @__PURE__ */ defineComponent({
1688
1688
  disabled: { type: Boolean },
1689
1689
  textValue: {},
1690
1690
  asChild: { type: Boolean },
1691
- as: {},
1691
+ as: { type: [String, Object, Function] },
1692
1692
  class: {}
1693
1693
  },
1694
1694
  emits: ["select", "update:modelValue"],
@@ -1782,7 +1782,7 @@ const _sfc_main$29 = /* @__PURE__ */ defineComponent({
1782
1782
  __name: "DropdownMenuGroup",
1783
1783
  props: {
1784
1784
  asChild: { type: Boolean },
1785
- as: {}
1785
+ as: { type: [String, Object, Function] }
1786
1786
  },
1787
1787
  setup(__props) {
1788
1788
  const props = __props;
@@ -1836,7 +1836,7 @@ const _sfc_main$27 = /* @__PURE__ */ defineComponent({
1836
1836
  __name: "DropdownMenuLabel",
1837
1837
  props: {
1838
1838
  asChild: { type: Boolean },
1839
- as: {},
1839
+ as: { type: [String, Object, Function] },
1840
1840
  class: {},
1841
1841
  inset: { type: Boolean }
1842
1842
  },
@@ -1865,7 +1865,7 @@ const _sfc_main$26 = /* @__PURE__ */ defineComponent({
1865
1865
  props: {
1866
1866
  modelValue: {},
1867
1867
  asChild: { type: Boolean },
1868
- as: {}
1868
+ as: { type: [String, Object, Function] }
1869
1869
  },
1870
1870
  emits: ["update:modelValue"],
1871
1871
  setup(__props, { emit: __emit }) {
@@ -1891,7 +1891,7 @@ const _sfc_main$25 = /* @__PURE__ */ defineComponent({
1891
1891
  disabled: { type: Boolean },
1892
1892
  textValue: {},
1893
1893
  asChild: { type: Boolean },
1894
- as: {},
1894
+ as: { type: [String, Object, Function] },
1895
1895
  class: {}
1896
1896
  },
1897
1897
  emits: ["select"],
@@ -1931,7 +1931,7 @@ const _sfc_main$24 = /* @__PURE__ */ defineComponent({
1931
1931
  __name: "DropdownMenuSeparator",
1932
1932
  props: {
1933
1933
  asChild: { type: Boolean },
1934
- as: {},
1934
+ as: { type: [String, Object, Function] },
1935
1935
  class: {}
1936
1936
  },
1937
1937
  setup(__props) {
@@ -2007,7 +2007,7 @@ const _sfc_main$21 = /* @__PURE__ */ defineComponent({
2007
2007
  prioritizePosition: { type: Boolean },
2008
2008
  reference: {},
2009
2009
  asChild: { type: Boolean },
2010
- as: {},
2010
+ as: { type: [String, Object, Function] },
2011
2011
  class: {}
2012
2012
  },
2013
2013
  emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "entryFocus", "openAutoFocus", "closeAutoFocus"],
@@ -2041,7 +2041,7 @@ const _sfc_main$20 = /* @__PURE__ */ defineComponent({
2041
2041
  disabled: { type: Boolean },
2042
2042
  textValue: {},
2043
2043
  asChild: { type: Boolean },
2044
- as: {},
2044
+ as: { type: [String, Object, Function] },
2045
2045
  class: {},
2046
2046
  inset: { type: Boolean }
2047
2047
  },
@@ -2071,7 +2071,7 @@ const _sfc_main$1$ = /* @__PURE__ */ defineComponent({
2071
2071
  props: {
2072
2072
  disabled: { type: Boolean },
2073
2073
  asChild: { type: Boolean },
2074
- as: {}
2074
+ as: { type: [String, Object, Function] }
2075
2075
  },
2076
2076
  setup(__props) {
2077
2077
  const props = __props;
@@ -2167,7 +2167,7 @@ const _sfc_main$1Y = /* @__PURE__ */ defineComponent({
2167
2167
  props: {
2168
2168
  reference: {},
2169
2169
  asChild: { type: Boolean },
2170
- as: {}
2170
+ as: { type: [String, Object, Function] }
2171
2171
  },
2172
2172
  setup(__props) {
2173
2173
  const props = __props;
@@ -2322,9 +2322,10 @@ const _sfc_main$1U = /* @__PURE__ */ defineComponent({
2322
2322
  locale: {},
2323
2323
  disabled: { type: Boolean },
2324
2324
  disableWheelChange: { type: Boolean },
2325
+ invertWheelChange: { type: Boolean },
2325
2326
  id: {},
2326
2327
  asChild: { type: Boolean },
2327
- as: {},
2328
+ as: { type: [String, Object, Function] },
2328
2329
  name: {},
2329
2330
  required: { type: Boolean },
2330
2331
  class: {}
@@ -2378,7 +2379,7 @@ const _sfc_main$1S = /* @__PURE__ */ defineComponent({
2378
2379
  props: {
2379
2380
  disabled: { type: Boolean },
2380
2381
  asChild: { type: Boolean },
2381
- as: {},
2382
+ as: { type: [String, Object, Function] },
2382
2383
  class: {}
2383
2384
  },
2384
2385
  setup(__props) {
@@ -2411,7 +2412,7 @@ const _sfc_main$1R = /* @__PURE__ */ defineComponent({
2411
2412
  props: {
2412
2413
  disabled: { type: Boolean },
2413
2414
  asChild: { type: Boolean },
2414
- as: {},
2415
+ as: { type: [String, Object, Function] },
2415
2416
  class: {}
2416
2417
  },
2417
2418
  setup(__props) {
@@ -2587,7 +2588,7 @@ const _sfc_main$1N = /* @__PURE__ */ defineComponent({
2587
2588
  props: {
2588
2589
  for: {},
2589
2590
  asChild: { type: Boolean },
2590
- as: {},
2591
+ as: { type: [String, Object, Function] },
2591
2592
  class: {}
2592
2593
  },
2593
2594
  setup(__props) {
@@ -2637,7 +2638,7 @@ const _sfc_main$1L = /* @__PURE__ */ defineComponent({
2637
2638
  __name: "Loading",
2638
2639
  props: {
2639
2640
  class: {},
2640
- icon: {},
2641
+ icon: { type: [Object, Function] },
2641
2642
  iconClass: {}
2642
2643
  },
2643
2644
  setup(__props) {
@@ -2703,7 +2704,7 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
2703
2704
  disabled: { type: Boolean },
2704
2705
  textValue: {},
2705
2706
  asChild: { type: Boolean },
2706
- as: {},
2707
+ as: { type: [String, Object, Function] },
2707
2708
  class: {}
2708
2709
  },
2709
2710
  emits: ["select", "update:modelValue"],
@@ -2795,7 +2796,7 @@ const _sfc_main$1H = /* @__PURE__ */ defineComponent({
2795
2796
  __name: "MenubarGroup",
2796
2797
  props: {
2797
2798
  asChild: { type: Boolean },
2798
- as: {}
2799
+ as: { type: [String, Object, Function] }
2799
2800
  },
2800
2801
  setup(__props) {
2801
2802
  const props = __props;
@@ -2816,7 +2817,7 @@ const _sfc_main$1G = /* @__PURE__ */ defineComponent({
2816
2817
  disabled: { type: Boolean },
2817
2818
  textValue: {},
2818
2819
  asChild: { type: Boolean },
2819
- as: {},
2820
+ as: { type: [String, Object, Function] },
2820
2821
  class: {},
2821
2822
  inset: { type: Boolean },
2822
2823
  variant: {}
@@ -2851,7 +2852,7 @@ const _sfc_main$1F = /* @__PURE__ */ defineComponent({
2851
2852
  __name: "MenubarLabel",
2852
2853
  props: {
2853
2854
  asChild: { type: Boolean },
2854
- as: {},
2855
+ as: { type: [String, Object, Function] },
2855
2856
  class: {},
2856
2857
  inset: { type: Boolean }
2857
2858
  },
@@ -2896,7 +2897,7 @@ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
2896
2897
  props: {
2897
2898
  modelValue: {},
2898
2899
  asChild: { type: Boolean },
2899
- as: {}
2900
+ as: { type: [String, Object, Function] }
2900
2901
  },
2901
2902
  emits: ["update:modelValue"],
2902
2903
  setup(__props, { emit: __emit }) {
@@ -2922,7 +2923,7 @@ const _sfc_main$1C = /* @__PURE__ */ defineComponent({
2922
2923
  disabled: { type: Boolean },
2923
2924
  textValue: {},
2924
2925
  asChild: { type: Boolean },
2925
- as: {},
2926
+ as: { type: [String, Object, Function] },
2926
2927
  class: {}
2927
2928
  },
2928
2929
  emits: ["select"],
@@ -2962,7 +2963,7 @@ const _sfc_main$1B = /* @__PURE__ */ defineComponent({
2962
2963
  __name: "MenubarSeparator",
2963
2964
  props: {
2964
2965
  asChild: { type: Boolean },
2965
- as: {},
2966
+ as: { type: [String, Object, Function] },
2966
2967
  class: {}
2967
2968
  },
2968
2969
  setup(__props) {
@@ -3040,7 +3041,7 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
3040
3041
  prioritizePosition: { type: Boolean },
3041
3042
  reference: {},
3042
3043
  asChild: { type: Boolean },
3043
- as: {},
3044
+ as: { type: [String, Object, Function] },
3044
3045
  class: {}
3045
3046
  },
3046
3047
  emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "entryFocus", "openAutoFocus", "closeAutoFocus"],
@@ -3079,7 +3080,7 @@ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
3079
3080
  disabled: { type: Boolean },
3080
3081
  textValue: {},
3081
3082
  asChild: { type: Boolean },
3082
- as: {},
3083
+ as: { type: [String, Object, Function] },
3083
3084
  class: {},
3084
3085
  inset: { type: Boolean }
3085
3086
  },
@@ -3112,7 +3113,7 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
3112
3113
  props: {
3113
3114
  disabled: { type: Boolean },
3114
3115
  asChild: { type: Boolean },
3115
- as: {},
3116
+ as: { type: [String, Object, Function] },
3116
3117
  class: {}
3117
3118
  },
3118
3119
  setup(__props) {
@@ -3149,7 +3150,7 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
3149
3150
  disabled: { type: Boolean },
3150
3151
  showEdges: { type: Boolean },
3151
3152
  asChild: { type: Boolean },
3152
- as: {},
3153
+ as: { type: [String, Object, Function] },
3153
3154
  class: {}
3154
3155
  },
3155
3156
  emits: ["update:page"],
@@ -3175,7 +3176,7 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
3175
3176
  __name: "PaginationContent",
3176
3177
  props: {
3177
3178
  asChild: { type: Boolean },
3178
- as: {},
3179
+ as: { type: [String, Object, Function] },
3179
3180
  class: {}
3180
3181
  },
3181
3182
  setup(__props) {
@@ -3201,7 +3202,7 @@ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
3201
3202
  __name: "PaginationEllipsis",
3202
3203
  props: {
3203
3204
  asChild: { type: Boolean },
3204
- as: {},
3205
+ as: { type: [String, Object, Function] },
3205
3206
  class: {}
3206
3207
  },
3207
3208
  setup(__props) {
@@ -3458,7 +3459,7 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
3458
3459
  __name: "PopoverTrigger",
3459
3460
  props: {
3460
3461
  asChild: { type: Boolean },
3461
- as: {}
3462
+ as: { type: [String, Object, Function] }
3462
3463
  },
3463
3464
  setup(__props) {
3464
3465
  const props = __props;
@@ -3531,6 +3532,7 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
3531
3532
  modelValue: { default: 0 },
3532
3533
  max: {},
3533
3534
  getValueLabel: {},
3535
+ getValueText: {},
3534
3536
  asChild: { type: Boolean },
3535
3537
  as: {},
3536
3538
  class: {}
@@ -3568,7 +3570,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
3568
3570
  dir: {},
3569
3571
  loop: { type: Boolean },
3570
3572
  asChild: { type: Boolean },
3571
- as: {},
3573
+ as: { type: [String, Object, Function] },
3572
3574
  name: {},
3573
3575
  required: { type: Boolean },
3574
3576
  class: {}
@@ -3603,7 +3605,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
3603
3605
  value: {},
3604
3606
  disabled: { type: Boolean },
3605
3607
  asChild: { type: Boolean },
3606
- as: {},
3608
+ as: { type: [String, Object, Function] },
3607
3609
  name: {},
3608
3610
  required: { type: Boolean },
3609
3611
  class: {}
@@ -3651,7 +3653,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
3651
3653
  tabindex: {},
3652
3654
  disabled: { type: Boolean },
3653
3655
  asChild: { type: Boolean },
3654
- as: {},
3656
+ as: { type: [String, Object, Function] },
3655
3657
  class: {},
3656
3658
  withHandle: { type: Boolean }
3657
3659
  },
@@ -3690,7 +3692,7 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
3690
3692
  minSize: {},
3691
3693
  order: {},
3692
3694
  asChild: { type: Boolean },
3693
- as: {}
3695
+ as: { type: [String, Object, Function] }
3694
3696
  },
3695
3697
  emits: ["collapse", "expand", "resize"],
3696
3698
  setup(__props, { emit: __emit }) {
@@ -3717,7 +3719,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
3717
3719
  keyboardResizeBy: {},
3718
3720
  storage: {},
3719
3721
  asChild: { type: Boolean },
3720
- as: {},
3722
+ as: { type: [String, Object, Function] },
3721
3723
  class: {}
3722
3724
  },
3723
3725
  emits: ["layout"],
@@ -3850,7 +3852,7 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
3850
3852
  __name: "SelectGroup",
3851
3853
  props: {
3852
3854
  asChild: { type: Boolean },
3853
- as: {}
3855
+ as: { type: [String, Object, Function] }
3854
3856
  },
3855
3857
  setup(__props) {
3856
3858
  const props = __props;
@@ -3873,7 +3875,7 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
3873
3875
  disabled: { type: Boolean },
3874
3876
  textValue: {},
3875
3877
  asChild: { type: Boolean },
3876
- as: {},
3878
+ as: { type: [String, Object, Function] },
3877
3879
  class: {}
3878
3880
  },
3879
3881
  setup(__props) {
@@ -3916,7 +3918,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
3916
3918
  __name: "SelectItemText",
3917
3919
  props: {
3918
3920
  asChild: { type: Boolean },
3919
- as: {}
3921
+ as: { type: [String, Object, Function] }
3920
3922
  },
3921
3923
  setup(__props) {
3922
3924
  const props = __props;
@@ -3936,7 +3938,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
3936
3938
  props: {
3937
3939
  for: {},
3938
3940
  asChild: { type: Boolean },
3939
- as: {},
3941
+ as: { type: [String, Object, Function] },
3940
3942
  class: {}
3941
3943
  },
3942
3944
  setup(__props) {
@@ -3959,7 +3961,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
3959
3961
  __name: "SelectScrollDownButton",
3960
3962
  props: {
3961
3963
  asChild: { type: Boolean },
3962
- as: {},
3964
+ as: { type: [String, Object, Function] },
3963
3965
  class: {}
3964
3966
  },
3965
3967
  setup(__props) {
@@ -3988,7 +3990,7 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
3988
3990
  __name: "SelectScrollUpButton",
3989
3991
  props: {
3990
3992
  asChild: { type: Boolean },
3991
- as: {},
3993
+ as: { type: [String, Object, Function] },
3992
3994
  class: {}
3993
3995
  },
3994
3996
  setup(__props) {
@@ -4017,7 +4019,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
4017
4019
  __name: "SelectSeparator",
4018
4020
  props: {
4019
4021
  asChild: { type: Boolean },
4020
- as: {},
4022
+ as: { type: [String, Object, Function] },
4021
4023
  class: {}
4022
4024
  },
4023
4025
  setup(__props) {
@@ -4078,7 +4080,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
4078
4080
  props: {
4079
4081
  placeholder: {},
4080
4082
  asChild: { type: Boolean },
4081
- as: {}
4083
+ as: { type: [String, Object, Function] }
4082
4084
  },
4083
4085
  setup(__props) {
4084
4086
  const props = __props;
@@ -4205,7 +4207,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
4205
4207
  __name: "SheetClose",
4206
4208
  props: {
4207
4209
  asChild: { type: Boolean },
4208
- as: {}
4210
+ as: { type: [String, Object, Function] }
4209
4211
  },
4210
4212
  setup(__props) {
4211
4213
  const props = __props;
@@ -4225,7 +4227,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
4225
4227
  props: {
4226
4228
  forceMount: { type: Boolean },
4227
4229
  asChild: { type: Boolean },
4228
- as: {},
4230
+ as: { type: [String, Object, Function] },
4229
4231
  class: {}
4230
4232
  },
4231
4233
  setup(__props) {
@@ -4310,7 +4312,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
4310
4312
  __name: "SheetDescription",
4311
4313
  props: {
4312
4314
  asChild: { type: Boolean },
4313
- as: {},
4315
+ as: { type: [String, Object, Function] },
4314
4316
  class: {}
4315
4317
  },
4316
4318
  setup(__props) {
@@ -4373,7 +4375,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
4373
4375
  __name: "SheetTitle",
4374
4376
  props: {
4375
4377
  asChild: { type: Boolean },
4376
- as: {},
4378
+ as: { type: [String, Object, Function] },
4377
4379
  class: {}
4378
4380
  },
4379
4381
  setup(__props) {
@@ -4400,7 +4402,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
4400
4402
  __name: "SheetTrigger",
4401
4403
  props: {
4402
4404
  asChild: { type: Boolean },
4403
- as: {}
4405
+ as: { type: [String, Object, Function] }
4404
4406
  },
4405
4407
  setup(__props) {
4406
4408
  const props = __props;
@@ -4595,7 +4597,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
4595
4597
  __name: "SidebarGroupAction",
4596
4598
  props: {
4597
4599
  asChild: { type: Boolean },
4598
- as: {},
4600
+ as: { type: [String, Object, Function] },
4599
4601
  class: {}
4600
4602
  },
4601
4603
  setup(__props) {
@@ -4647,7 +4649,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
4647
4649
  __name: "SidebarGroupLabel",
4648
4650
  props: {
4649
4651
  asChild: { type: Boolean },
4650
- as: {},
4652
+ as: { type: [String, Object, Function] },
4651
4653
  class: {}
4652
4654
  },
4653
4655
  setup(__props) {
@@ -4741,7 +4743,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
4741
4743
  __name: "SidebarMenuAction",
4742
4744
  props: {
4743
4745
  asChild: { type: Boolean },
4744
- as: { default: "button" },
4746
+ as: { type: [String, Object, Function], default: "button" },
4745
4747
  showOnHover: { type: Boolean },
4746
4748
  class: {}
4747
4749
  },
@@ -4911,7 +4913,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
4911
4913
  props: {
4912
4914
  reference: {},
4913
4915
  asChild: { type: Boolean },
4914
- as: {}
4916
+ as: { type: [String, Object, Function] }
4915
4917
  },
4916
4918
  setup(__props) {
4917
4919
  const props = __props;
@@ -4934,7 +4936,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
4934
4936
  isActive: { type: Boolean },
4935
4937
  class: {},
4936
4938
  asChild: { type: Boolean },
4937
- as: { default: "button" }
4939
+ as: { type: [String, Object, Function], default: "button" }
4938
4940
  },
4939
4941
  setup(__props) {
4940
4942
  const props = __props;
@@ -4968,7 +4970,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
4968
4970
  isActive: { type: Boolean },
4969
4971
  class: {},
4970
4972
  asChild: { type: Boolean },
4971
- as: { default: "button" },
4973
+ as: { type: [String, Object, Function], default: "button" },
4972
4974
  tooltip: {}
4973
4975
  },
4974
4976
  setup(__props) {
@@ -5112,7 +5114,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
5112
5114
  __name: "SidebarMenuSubButton",
5113
5115
  props: {
5114
5116
  asChild: { type: Boolean },
5115
- as: { default: "a" },
5117
+ as: { type: [String, Object, Function], default: "a" },
5116
5118
  size: { default: "md" },
5117
5119
  isActive: { type: Boolean },
5118
5120
  class: {}
@@ -5411,7 +5413,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
5411
5413
  minStepsBetweenThumbs: {},
5412
5414
  thumbAlignment: {},
5413
5415
  asChild: { type: Boolean },
5414
- as: {},
5416
+ as: { type: [String, Object, Function] },
5415
5417
  name: {},
5416
5418
  required: { type: Boolean },
5417
5419
  class: {}
@@ -5504,7 +5506,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
5504
5506
  id: {},
5505
5507
  value: {},
5506
5508
  asChild: { type: Boolean },
5507
- as: {},
5509
+ as: { type: [String, Object, Function] },
5508
5510
  name: {},
5509
5511
  required: { type: Boolean },
5510
5512
  class: {}
@@ -5873,7 +5875,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
5873
5875
  modelValue: {},
5874
5876
  unmountOnHide: { type: Boolean },
5875
5877
  asChild: { type: Boolean },
5876
- as: {},
5878
+ as: { type: [String, Object, Function] },
5877
5879
  class: {}
5878
5880
  },
5879
5881
  emits: ["update:modelValue"],
@@ -5901,7 +5903,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
5901
5903
  value: {},
5902
5904
  forceMount: { type: Boolean },
5903
5905
  asChild: { type: Boolean },
5904
- as: {},
5906
+ as: { type: [String, Object, Function] },
5905
5907
  class: {}
5906
5908
  },
5907
5909
  setup(__props) {
@@ -5929,7 +5931,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
5929
5931
  props: {
5930
5932
  loop: { type: Boolean },
5931
5933
  asChild: { type: Boolean },
5932
- as: {},
5934
+ as: { type: [String, Object, Function] },
5933
5935
  class: {}
5934
5936
  },
5935
5937
  setup(__props) {
@@ -5960,7 +5962,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
5960
5962
  value: {},
5961
5963
  disabled: { type: Boolean },
5962
5964
  asChild: { type: Boolean },
5963
- as: {},
5965
+ as: { type: [String, Object, Function] },
5964
5966
  class: {}
5965
5967
  },
5966
5968
  setup(__props) {
@@ -6003,7 +6005,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
6003
6005
  convertValue: { type: Function },
6004
6006
  displayValue: { type: Function },
6005
6007
  asChild: { type: Boolean },
6006
- as: {},
6008
+ as: { type: [String, Object, Function] },
6007
6009
  name: {},
6008
6010
  required: { type: Boolean },
6009
6011
  class: {}
@@ -6040,7 +6042,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
6040
6042
  autoFocus: { type: Boolean },
6041
6043
  maxLength: {},
6042
6044
  asChild: { type: Boolean },
6043
- as: {},
6045
+ as: { type: [String, Object, Function] },
6044
6046
  class: {}
6045
6047
  },
6046
6048
  setup(__props) {
@@ -6064,7 +6066,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
6064
6066
  value: {},
6065
6067
  disabled: { type: Boolean },
6066
6068
  asChild: { type: Boolean },
6067
- as: {},
6069
+ as: { type: [String, Object, Function] },
6068
6070
  class: {}
6069
6071
  },
6070
6072
  setup(__props) {
@@ -6094,7 +6096,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
6094
6096
  __name: "TagsInputItemDelete",
6095
6097
  props: {
6096
6098
  asChild: { type: Boolean },
6097
- as: {},
6099
+ as: { type: [String, Object, Function] },
6098
6100
  class: {}
6099
6101
  },
6100
6102
  setup(__props) {
@@ -6123,7 +6125,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
6123
6125
  __name: "TagsInputItemText",
6124
6126
  props: {
6125
6127
  asChild: { type: Boolean },
6126
- as: {},
6128
+ as: { type: [String, Object, Function] },
6127
6129
  class: {}
6128
6130
  },
6129
6131
  setup(__props) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tb-dev/vue-components",
3
- "version": "0.2.2",
3
+ "version": "0.2.4",
4
4
  "description": "Vue components",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -24,23 +24,23 @@
24
24
  ],
25
25
  "dependencies": {
26
26
  "@tanstack/vue-table": "^8.21.3",
27
- "@tb-dev/utils": "^7.0.0",
28
- "@tb-dev/vue": "^2.0.4",
29
- "@vueuse/core": "^13.2.0",
27
+ "@tb-dev/utils": "^7.0.2",
28
+ "@tb-dev/vue": "^2.0.5",
29
+ "@vueuse/core": "^13.3.0",
30
30
  "class-variance-authority": "^0.7.1",
31
31
  "clsx": "^2.1.1",
32
32
  "lucide-vue-next": "^0.511.0",
33
- "reka-ui": "^2.2.1",
33
+ "reka-ui": "^2.3.0",
34
34
  "tailwind-merge": "^3.3.0",
35
35
  "tw-animate-css": "^1.3.0",
36
- "vue": "^3.5.14",
36
+ "vue": "^3.5.15",
37
37
  "vue-router": "^4.5.1",
38
38
  "vue-sonner": "^2.0.0"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@tailwindcss/vite": "^4.1.7",
42
- "@tb-dev/eslint-config": "^7.1.4",
43
- "@types/node": "^22.15.21",
42
+ "@tb-dev/eslint-config": "^7.1.5",
43
+ "@types/node": "^22.15.23",
44
44
  "@vitejs/plugin-vue": "^5.2.4",
45
45
  "eslint": "^9.27.0",
46
46
  "prettier": "^3.5.3",