@fewangsit/wangsvue-presets 1.0.99-alpha.7 → 1.0.99-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/fixedasset/buttonradio/index.d.ts +4 -6
  2. package/fixedasset/buttonradio/index.js +12 -8
  3. package/fixedasset/fieldwrapper/index.d.ts +2 -5
  4. package/fixedasset/fieldwrapper/index.js +1 -4
  5. package/fixedasset/index.d.ts +2 -2
  6. package/fixedasset/index.js +94 -94
  7. package/fixedasset/index.system.js +2 -2
  8. package/fixedasset/inputotp/index.d.ts +136 -1
  9. package/fixedasset/inputotp/index.js +53 -50
  10. package/fixedasset/password/index.js +0 -1
  11. package/fixedasset/style.css +45 -133
  12. package/fixedasset/tabmenu/index.d.ts +104 -1
  13. package/fixedasset/tabmenu/index.js +28 -49
  14. package/fixedasset/timeline/index.d.ts +2 -24
  15. package/fixedasset/timeline/index.js +5 -24
  16. package/fixedasset/username/index.js +1 -1
  17. package/globalsettings/buttonradio/index.d.ts +4 -6
  18. package/globalsettings/buttonradio/index.js +12 -8
  19. package/globalsettings/fieldwrapper/index.d.ts +2 -5
  20. package/globalsettings/fieldwrapper/index.js +1 -4
  21. package/globalsettings/index.d.ts +1 -1
  22. package/globalsettings/index.js +26 -26
  23. package/globalsettings/index.system.js +2 -2
  24. package/globalsettings/style.css +47 -116
  25. package/globalsettings/tabmenu/index.d.ts +104 -1
  26. package/globalsettings/tabmenu/index.js +28 -49
  27. package/globalsettings/timeline/index.d.ts +0 -22
  28. package/globalsettings/timeline/index.js +0 -19
  29. package/package.json +1 -1
  30. package/supplyasset/buttonradio/index.d.ts +4 -6
  31. package/supplyasset/buttonradio/index.js +12 -8
  32. package/supplyasset/fieldwrapper/index.d.ts +2 -5
  33. package/supplyasset/fieldwrapper/index.js +1 -4
  34. package/supplyasset/index.d.ts +1 -1
  35. package/supplyasset/index.js +24 -24
  36. package/supplyasset/index.system.js +2 -2
  37. package/supplyasset/style.css +47 -116
  38. package/supplyasset/tabmenu/index.d.ts +104 -1
  39. package/supplyasset/tabmenu/index.js +29 -51
  40. package/supplyasset/timeline/index.d.ts +0 -22
  41. package/supplyasset/timeline/index.js +0 -19
  42. package/wangsvue/buttonbulkaction/index.d.ts +2 -2
  43. package/wangsvue/buttonbulkaction/index.js +1 -2
  44. package/wangsvue/buttonradio/index.d.ts +1 -2
  45. package/wangsvue/buttonradio/index.js +7 -3
  46. package/wangsvue/fieldwrapper/index.d.ts +2 -5
  47. package/wangsvue/fieldwrapper/index.js +1 -4
  48. package/wangsvue/index.d.ts +1 -1
  49. package/wangsvue/index.js +44 -44
  50. package/wangsvue/index.system.js +2 -2
  51. package/wangsvue/style.css +47 -104
  52. package/wangsvue/tabmenu/index.d.ts +56 -1
  53. package/wangsvue/tabmenu/index.js +13 -20
  54. package/wangsvue/timeline/index.d.ts +0 -20
  55. package/wangsvue/timeline/index.js +0 -16
@@ -1,18 +1,5 @@
1
1
  @import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');
2
2
 
3
- .icon{
4
- display: flex;
5
- height: 1em;
6
- width: 1em;
7
- background-color: currentColor;
8
- -webkit-mask-image: var(--svg);
9
- mask-image: var(--svg);
10
- -webkit-mask-repeat: no-repeat;
11
- mask-repeat: no-repeat;
12
- -webkit-mask-size: 100% 100%;
13
- mask-size: 100% 100%;
14
- }
15
-
16
3
  .ic-add {
17
4
  /* ri-add-line */
18
5
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M11 11V5h2v6h6v2h-6v6h-2v-6H5v-2z'/%3E%3C/svg%3E");
@@ -920,6 +907,53 @@
920
907
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M15.199 9.944a2.6 2.6 0 0 1-.79-1.55l-.403-3.083l-2.731 1.486a2.6 2.6 0 0 1-1.719.272L6.5 6.5l.57 3.056a2.6 2.6 0 0 1-.273 1.72l-1.486 2.73l3.083.403a2.6 2.6 0 0 1 1.55.79l2.138 2.257l1.336-2.807a2.6 2.6 0 0 1 1.23-1.231l2.808-1.336zm.025 5.564l-2.213 4.65a.6.6 0 0 1-.977.155l-3.542-3.739a.6.6 0 0 0-.358-.182l-5.106-.668a.6.6 0 0 1-.45-.881l2.462-4.524a.6.6 0 0 0 .063-.396L4.16 4.86a.6.6 0 0 1 .7-.7l5.062.943a.6.6 0 0 0 .397-.063l4.523-2.46a.6.6 0 0 1 .882.448l.668 5.107a.6.6 0 0 0 .182.357l3.739 3.542a.6.6 0 0 1-.155.977l-4.65 2.213a.6.6 0 0 0-.284.284m.797 1.927l1.414-1.414l4.243 4.242l-1.415 1.415z'/%3E%3C/svg%3E");
921
908
  }
922
909
 
910
+ .container{
911
+ width: 100%;
912
+ }
913
+
914
+ @media (min-width: 640px){
915
+ .container{
916
+ max-width: 640px;
917
+ }
918
+ }
919
+
920
+ @media (min-width: 768px){
921
+ .container{
922
+ max-width: 768px;
923
+ }
924
+ }
925
+
926
+ @media (min-width: 1024px){
927
+ .container{
928
+ max-width: 1024px;
929
+ }
930
+ }
931
+
932
+ @media (min-width: 1280px){
933
+ .container{
934
+ max-width: 1280px;
935
+ }
936
+ }
937
+
938
+ @media (min-width: 1536px){
939
+ .container{
940
+ max-width: 1536px;
941
+ }
942
+ }
943
+
944
+ .icon{
945
+ display: flex;
946
+ height: 1em;
947
+ width: 1em;
948
+ background-color: currentColor;
949
+ -webkit-mask-image: var(--svg);
950
+ mask-image: var(--svg);
951
+ -webkit-mask-repeat: no-repeat;
952
+ mask-repeat: no-repeat;
953
+ -webkit-mask-size: 100% 100%;
954
+ mask-size: 100% 100%;
955
+ }
956
+
923
957
  .\!pointer-events-none{
924
958
  pointer-events: none !important;
925
959
  }
@@ -1161,10 +1195,6 @@
1161
1195
  margin: 0px;
1162
1196
  }
1163
1197
 
1164
- .m-\[3px\]{
1165
- margin: 3px;
1166
- }
1167
-
1168
1198
  .\!mx-auto{
1169
1199
  margin-left: auto !important;
1170
1200
  margin-right: auto !important;
@@ -1409,10 +1439,6 @@
1409
1439
  display: inline;
1410
1440
  }
1411
1441
 
1412
- .\!flex{
1413
- display: flex !important;
1414
- }
1415
-
1416
1442
  .flex{
1417
1443
  display: flex;
1418
1444
  }
@@ -1457,10 +1483,6 @@
1457
1483
  height: 10px !important;
1458
1484
  }
1459
1485
 
1460
- .\!h-\[26px\]{
1461
- height: 26px !important;
1462
- }
1463
-
1464
1486
  .\!h-\[28px\]{
1465
1487
  height: 28px !important;
1466
1488
  }
@@ -1570,10 +1592,6 @@
1570
1592
  height: 21px;
1571
1593
  }
1572
1594
 
1573
- .h-\[22px\]{
1574
- height: 22px;
1575
- }
1576
-
1577
1595
  .h-\[26px\]{
1578
1596
  height: 26px;
1579
1597
  }
@@ -1820,10 +1838,6 @@
1820
1838
  width: 18px;
1821
1839
  }
1822
1840
 
1823
- .w-\[1px\]{
1824
- width: 1px;
1825
- }
1826
-
1827
1841
  .w-\[200px\]{
1828
1842
  width: 200px;
1829
1843
  }
@@ -1832,10 +1846,6 @@
1832
1846
  width: 224px;
1833
1847
  }
1834
1848
 
1835
- .w-\[22px\]{
1836
- width: 22px;
1837
- }
1838
-
1839
1849
  .w-\[272px\]{
1840
1850
  width: 272px;
1841
1851
  }
@@ -2543,10 +2553,6 @@
2543
2553
  overflow: hidden;
2544
2554
  }
2545
2555
 
2546
- .overflow-visible{
2547
- overflow: visible;
2548
- }
2549
-
2550
2556
  .overflow-scroll{
2551
2557
  overflow: scroll;
2552
2558
  }
@@ -2567,10 +2573,6 @@
2567
2573
  overflow-y: hidden;
2568
2574
  }
2569
2575
 
2570
- .overflow-x-visible{
2571
- overflow-x: visible;
2572
- }
2573
-
2574
2576
  .overscroll-auto{
2575
2577
  overscroll-behavior: auto;
2576
2578
  }
@@ -2583,12 +2585,6 @@
2583
2585
  scroll-behavior: smooth;
2584
2586
  }
2585
2587
 
2586
- .truncate{
2587
- overflow: hidden;
2588
- text-overflow: ellipsis;
2589
- white-space: nowrap;
2590
- }
2591
-
2592
2588
  .overflow-ellipsis{
2593
2589
  text-overflow: ellipsis;
2594
2590
  }
@@ -4381,12 +4377,6 @@
4381
4377
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
4382
4378
  }
4383
4379
 
4384
- .shadow-\[-2px_2px_2px_rgba\(0\2c 0\2c 0\2c 0\.25\)\]{
4385
- --tw-shadow: -2px 2px 2px rgba(0,0,0,0.25);
4386
- --tw-shadow-colored: -2px 2px 2px var(--tw-shadow-color);
4387
- box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
4388
- }
4389
-
4390
4380
  .shadow-\[-4px_4px_20px_0px_\#0000001A\]{
4391
4381
  --tw-shadow: -4px 4px 20px 0px #0000001A;
4392
4382
  --tw-shadow-colored: -4px 4px 20px 0px var(--tw-shadow-color);
@@ -5647,14 +5637,6 @@ div{
5647
5637
  background-color: rgb(236 253 245 / var(--tw-bg-opacity));
5648
5638
  }
5649
5639
 
5650
- .hover\:bg-primary-50\/30:hover{
5651
- background-color: rgb(236 253 245 / 0.3);
5652
- }
5653
-
5654
- .hover\:bg-primary-50\/50:hover{
5655
- background-color: rgb(236 253 245 / 0.5);
5656
- }
5657
-
5658
5640
  .hover\:bg-primary-50\/80:hover{
5659
5641
  background-color: rgb(236 253 245 / 0.8);
5660
5642
  }
@@ -5817,11 +5799,6 @@ div{
5817
5799
  --tw-ring-color: rgb(234 88 12 / var(--tw-ring-opacity));
5818
5800
  }
5819
5801
 
5820
- .hover\:ring-primary-500:hover{
5821
- --tw-ring-opacity: 1;
5822
- --tw-ring-color: rgb(16 185 129 / var(--tw-ring-opacity));
5823
- }
5824
-
5825
5802
  .hover\:ring-primary-600:hover{
5826
5803
  --tw-ring-opacity: 1;
5827
5804
  --tw-ring-color: rgb(5 150 105 / var(--tw-ring-opacity));
@@ -5846,14 +5823,6 @@ div{
5846
5823
  background-color: rgb(236 253 245 / var(--tw-bg-opacity));
5847
5824
  }
5848
5825
 
5849
- .focus\:bg-primary-50\/30:focus{
5850
- background-color: rgb(236 253 245 / 0.3);
5851
- }
5852
-
5853
- .focus\:bg-primary-50\/50:focus{
5854
- background-color: rgb(236 253 245 / 0.5);
5855
- }
5856
-
5857
5826
  .focus\:bg-primary-600:focus{
5858
5827
  --tw-bg-opacity: 1;
5859
5828
  background-color: rgb(5 150 105 / var(--tw-bg-opacity));
@@ -6241,36 +6210,6 @@ div{
6241
6210
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
6242
6211
  }
6243
6212
 
6244
- .dark\:bg-white:is(.dark *){
6245
- --tw-bg-opacity: 1;
6246
- background-color: rgb(255 255 255 / var(--tw-bg-opacity));
6247
- }
6248
-
6249
- .dark\:text-general-800:is(.dark *){
6250
- --tw-text-opacity: 1;
6251
- color: rgb(32 30 41 / var(--tw-text-opacity));
6252
- }
6253
-
6254
- .dark\:ring-danger-500:is(.dark *){
6255
- --tw-ring-opacity: 1;
6256
- --tw-ring-color: rgb(255 0 34 / var(--tw-ring-opacity));
6257
- }
6258
-
6259
- .dark\:ring-general-200:is(.dark *){
6260
- --tw-ring-opacity: 1;
6261
- --tw-ring-color: rgb(181 179 199 / var(--tw-ring-opacity));
6262
- }
6263
-
6264
- .dark\:hover\:ring-primary-400:hover:is(.dark *){
6265
- --tw-ring-opacity: 1;
6266
- --tw-ring-color: rgb(52 211 153 / var(--tw-ring-opacity));
6267
- }
6268
-
6269
- .dark\:focus\:ring-primary-400:focus:is(.dark *){
6270
- --tw-ring-opacity: 1;
6271
- --tw-ring-color: rgb(52 211 153 / var(--tw-ring-opacity));
6272
- }
6273
-
6274
6213
  @media (min-width: 576px){
6275
6214
  .min-\[576px\]\:pr-32{
6276
6215
  padding-right: 8rem;
@@ -6523,14 +6462,6 @@ div{
6523
6462
  width: 100%;
6524
6463
  }
6525
6464
 
6526
- .\[\&\>\.icon\]\:\!h-4>.icon{
6527
- height: 1rem !important;
6528
- }
6529
-
6530
- .\[\&\>\.icon\]\:\!w-4>.icon{
6531
- width: 1rem !important;
6532
- }
6533
-
6534
6465
  .\[\&\>\[data-pc-name\=badge\]\]\:h-4>[data-pc-name=badge]{
6535
6466
  height: 1rem;
6536
6467
  }
@@ -1,2 +1,105 @@
1
- declare const _default: import("@wangs-ui/core/dist/types/themes/preset-definitions").ToRawPreset<import("@wangs-ui/core/dist/types/components/tabmenu/tabmenu.type").TabMenuPreset, import("@wangs-ui/core/dist/types/components/tabmenu/tabmenu.type").TabMenuPresetMethodOptions>;
1
+ declare namespace _default {
2
+ namespace root {
3
+ let _class: string;
4
+ export { _class as class };
5
+ export let style: string;
6
+ }
7
+ namespace menu {
8
+ let _class_1: string[];
9
+ export { _class_1 as class };
10
+ }
11
+ namespace menuitem {
12
+ let _class_2: string;
13
+ export { _class_2 as class };
14
+ }
15
+ function action({ context, state }: {
16
+ context: any;
17
+ state: any;
18
+ }): {
19
+ class: (string | {
20
+ 'rounded-xl py-1 px-3': boolean;
21
+ 'p-2 pb-1.5 pt-0.5 !h-6': boolean;
22
+ 'ml-1': boolean;
23
+ 'border-b-2'?: undefined;
24
+ 'border-primary-700'?: undefined;
25
+ 'border-grayscale-400'?: undefined;
26
+ 'text-grayscale-600'?: undefined;
27
+ 'text-primary-700'?: undefined;
28
+ 'bg-primary-50 text-primary-700'?: undefined;
29
+ 'bg-grayscale-200 text-grayscale-800'?: undefined;
30
+ 'bg-transparent '?: undefined;
31
+ 'focus-visible:border-primary-200 focus-visible:text-primary-400'?: undefined;
32
+ 'pointer-events-none'?: undefined;
33
+ 'opacity-60'?: undefined;
34
+ } | {
35
+ 'border-b-2': boolean;
36
+ 'rounded-xl py-1 px-3'?: undefined;
37
+ 'p-2 pb-1.5 pt-0.5 !h-6'?: undefined;
38
+ 'ml-1'?: undefined;
39
+ 'border-primary-700'?: undefined;
40
+ 'border-grayscale-400'?: undefined;
41
+ 'text-grayscale-600'?: undefined;
42
+ 'text-primary-700'?: undefined;
43
+ 'bg-primary-50 text-primary-700'?: undefined;
44
+ 'bg-grayscale-200 text-grayscale-800'?: undefined;
45
+ 'bg-transparent '?: undefined;
46
+ 'focus-visible:border-primary-200 focus-visible:text-primary-400'?: undefined;
47
+ 'pointer-events-none'?: undefined;
48
+ 'opacity-60'?: undefined;
49
+ } | {
50
+ 'border-primary-700': any;
51
+ 'border-grayscale-400': boolean;
52
+ 'text-grayscale-600': boolean;
53
+ 'text-primary-700': any;
54
+ 'bg-primary-50 text-primary-700': any;
55
+ 'bg-grayscale-200 text-grayscale-800': boolean;
56
+ 'bg-transparent ': boolean;
57
+ 'rounded-xl py-1 px-3'?: undefined;
58
+ 'p-2 pb-1.5 pt-0.5 !h-6'?: undefined;
59
+ 'ml-1'?: undefined;
60
+ 'border-b-2'?: undefined;
61
+ 'focus-visible:border-primary-200 focus-visible:text-primary-400'?: undefined;
62
+ 'pointer-events-none'?: undefined;
63
+ 'opacity-60'?: undefined;
64
+ } | {
65
+ 'focus-visible:border-primary-200 focus-visible:text-primary-400': boolean;
66
+ 'rounded-xl py-1 px-3'?: undefined;
67
+ 'p-2 pb-1.5 pt-0.5 !h-6'?: undefined;
68
+ 'ml-1'?: undefined;
69
+ 'border-b-2'?: undefined;
70
+ 'border-primary-700'?: undefined;
71
+ 'border-grayscale-400'?: undefined;
72
+ 'text-grayscale-600'?: undefined;
73
+ 'text-primary-700'?: undefined;
74
+ 'bg-primary-50 text-primary-700'?: undefined;
75
+ 'bg-grayscale-200 text-grayscale-800'?: undefined;
76
+ 'bg-transparent '?: undefined;
77
+ 'pointer-events-none'?: undefined;
78
+ 'opacity-60'?: undefined;
79
+ } | {
80
+ 'pointer-events-none': any;
81
+ 'opacity-60': any;
82
+ 'rounded-xl py-1 px-3'?: undefined;
83
+ 'p-2 pb-1.5 pt-0.5 !h-6'?: undefined;
84
+ 'ml-1'?: undefined;
85
+ 'border-b-2'?: undefined;
86
+ 'border-primary-700'?: undefined;
87
+ 'border-grayscale-400'?: undefined;
88
+ 'text-grayscale-600'?: undefined;
89
+ 'text-primary-700'?: undefined;
90
+ 'bg-primary-50 text-primary-700'?: undefined;
91
+ 'bg-grayscale-200 text-grayscale-800'?: undefined;
92
+ 'bg-transparent '?: undefined;
93
+ 'focus-visible:border-primary-200 focus-visible:text-primary-400'?: undefined;
94
+ })[];
95
+ };
96
+ namespace icon {
97
+ let _class_3: string;
98
+ export { _class_3 as class };
99
+ }
100
+ namespace inkbar {
101
+ let _class_4: string;
102
+ export { _class_4 as class };
103
+ }
104
+ }
2
105
  export default _default;
@@ -1,33 +1,27 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- var core_1 = require("@wangs-ui/core");
4
- exports.default = (0, core_1.definePreset)('WANGS-TAB-MENU', {
3
+ exports.default = {
5
4
  root: {
6
- class: 'overflow-x-visible',
5
+ class: 'overflow-x-auto',
6
+ style: 'scrollbar-width: none',
7
7
  },
8
- menu: function (_a) {
9
- var props = _a.props;
10
- return ({
11
- class: [
12
- // Flexbox
13
- 'flex flex-1',
14
- // Spacing
15
- 'list-none',
16
- 'p-0 m-0',
17
- // Colors
18
- 'text-general-100',
19
- {
20
- 'w-max ring-1 ring-inset ring-general-100 rounded': props.type === 'segmented',
21
- },
22
- ],
23
- });
8
+ menu: {
9
+ class: [
10
+ // Flexbox
11
+ 'flex flex-1',
12
+ // Spacing
13
+ 'list-none',
14
+ 'p-0 m-0',
15
+ // Colors
16
+ 'text-general-100',
17
+ ],
24
18
  },
25
19
  menuitem: {
26
20
  class: 'mr-0',
27
21
  },
28
22
  action: function (_a) {
29
23
  var _b, _c;
30
- var props = _a.props, context = _a.context;
24
+ var context = _a.context, state = _a.state;
31
25
  return ({
32
26
  class: [
33
27
  'relative',
@@ -38,34 +32,28 @@ exports.default = (0, core_1.definePreset)('WANGS-TAB-MENU', {
38
32
  'flex items-center',
39
33
  // Spacing
40
34
  {
41
- 'rounded-xl py-1 px-3': props.type === 'pill',
42
- 'rounded': props.type === 'segmented',
43
- 'p-2 pb-1.5 pt-0.5 !h-6': props.type === 'tab',
44
- 'py-[5px] px-3 !h-[26px]': props.type === 'segmented',
45
- 'ml-1': props.type === 'pill' && context.index !== 0,
46
- 'gap-1': context.item.icon,
35
+ 'rounded-xl py-1 px-3': context.type === 'pill',
36
+ 'p-2 pb-1.5 pt-0.5 !h-6': context.type !== 'pill',
37
+ 'ml-1': context.type === 'pill' && context.index !== 0,
47
38
  },
48
39
  // Shape
49
40
  {
50
- 'border-b-2': props.type === 'tab',
41
+ 'border-b-2': context.type !== 'pill',
51
42
  },
52
43
  // Colors and Conditions
53
44
  {
54
- 'border-primary-700': context.active,
55
- 'border-grayscale-400': !context.active,
56
- 'text-grayscale-600': !context.active && props.type === 'tab',
57
- 'text-primary-700': context.active && props.type === 'tab',
58
- 'bg-primary-700 text-white': props.type === 'pill' && context.active,
59
- 'bg-grayscale-100 text-grayscale-800': props.type === 'pill' && !context.active,
60
- 'bg-primary-500 text-white shadow-[-2px_2px_2px_rgba(0,0,0,0.25)]': props.type === 'segmented' && context.active,
61
- '!text-general-800': props.type === 'segmented' && !context.active,
62
- 'bg-transparent ': props.type !== 'pill' && !context.active,
45
+ 'border-primary-700': state.active,
46
+ 'border-grayscale-400': !state.active,
47
+ 'text-grayscale-600': !state.active,
48
+ 'text-primary-700': state.active,
49
+ 'bg-primary-50 text-primary-700': context.type === 'pill' && state.active,
50
+ 'bg-grayscale-200 text-grayscale-800': context.type === 'pill' && !state.active,
51
+ 'bg-transparent ': context.type !== 'pill' && !state.active,
63
52
  },
64
53
  // States
65
- { 'hover:bg-primary-50': props.type === 'tab' },
66
54
  'focus-visible:outline-none focus-visible:outline-offset-0',
67
55
  {
68
- 'focus-visible:border-primary-200 focus-visible:text-primary-400': !context.active,
56
+ 'focus-visible:border-primary-200 focus-visible:text-primary-400': !state.active,
69
57
  },
70
58
  // Disabled States
71
59
  {
@@ -86,17 +74,7 @@ exports.default = (0, core_1.definePreset)('WANGS-TAB-MENU', {
86
74
  icon: {
87
75
  class: 'mr-2',
88
76
  },
89
- inkbar: function (_a) {
90
- var props = _a.props;
91
- return ({
92
- class: [
93
- 'grow border-b-2 border-grayscale-400',
94
- {
95
- hidden: props.type === 'pill' ||
96
- props.useTrailingLine === false ||
97
- props.type === 'segmented',
98
- },
99
- ],
100
- });
77
+ inkbar: {
78
+ class: 'grow border-b-2 border-grayscale-400',
101
79
  },
102
- });
80
+ };
@@ -38,28 +38,6 @@ declare namespace _default {
38
38
  })[];
39
39
  'data-wv-section': string;
40
40
  };
41
- function markerDot(item: any): {
42
- class: (string | {
43
- '!flex': any;
44
- })[];
45
- 'data-wv-section': string;
46
- };
47
- namespace contentHeader {
48
- let _class_1: string[];
49
- export { _class_1 as class };
50
- }
51
- namespace contentDetailKey {
52
- let _class_2: string[];
53
- export { _class_2 as class };
54
- }
55
- namespace contentDetailValue {
56
- let _class_3: string[];
57
- export { _class_3 as class };
58
- }
59
- namespace contentDate {
60
- let _class_4: string[];
61
- export { _class_4 as class };
62
- }
63
41
  function connector({ props }: {
64
42
  props: any;
65
43
  }): {
@@ -68,25 +68,6 @@ exports.default = {
68
68
  ],
69
69
  'data-wv-section': 'markerArrow',
70
70
  }); },
71
- markerDot: function (item) { return ({
72
- 'class': [
73
- 'hidden w-[6px] h-[6px] m-[3px] rounded-full bg-black',
74
- { '!flex': !item.detail || isEmptyObject(item.detail) },
75
- ],
76
- 'data-wv-section': 'markerDot',
77
- }); },
78
- contentHeader: {
79
- class: ['leading-5 cursor-pointer truncate !text-xs !font-bold'],
80
- },
81
- contentDetailKey: {
82
- class: ['text-general-400 whitespace-nowrap'],
83
- },
84
- contentDetailValue: {
85
- class: ['text-xs text-general-800'],
86
- },
87
- contentDate: {
88
- class: ['text-xs font-medium'],
89
- },
90
71
  connector: function (_a) {
91
72
  var props = _a.props;
92
73
  return ({
@@ -1,5 +1,4 @@
1
- export default button;
2
- declare namespace button {
1
+ declare namespace _default {
3
2
  let root: {
4
3
  class: string;
5
4
  'data-wv-name': string;
@@ -30,3 +29,4 @@ declare namespace button {
30
29
  'data-wv-section': string;
31
30
  };
32
31
  }
32
+ export default _default;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- var button = {
3
+ exports.default = {
4
4
  root: {
5
5
  'class': 'flex gap-2 items-center',
6
6
  'data-wv-name': 'buttonbulkaction',
@@ -33,4 +33,3 @@ var button = {
33
33
  'data-wv-section': 'buttonclearselection',
34
34
  },
35
35
  };
36
- exports.default = button;
@@ -14,9 +14,8 @@ declare namespace _default {
14
14
  'data-wv-name': string;
15
15
  'data-wv-section': string;
16
16
  };
17
- function box({ props, state }: {
17
+ function box({ props }: {
18
18
  props: any;
19
- state: any;
20
19
  }): {
21
20
  class: (string | {
22
21
  'bg-grayscale-900': boolean;
@@ -31,7 +31,7 @@ exports.default = {
31
31
  });
32
32
  },
33
33
  box: function (_a) {
34
- var props = _a.props, state = _a.state;
34
+ var props = _a.props;
35
35
  return ({
36
36
  class: [
37
37
  // Size
@@ -47,8 +47,12 @@ exports.default = {
47
47
  'transition duration-200 ease-in-out',
48
48
  // Colors
49
49
  {
50
- 'bg-grayscale-900': state.checked && props.value !== undefined && !props.disabled,
51
- 'bg-general-300': state.checked && props.value !== undefined && props.disabled,
50
+ 'bg-grayscale-900': props.value == props.modelValue &&
51
+ props.value !== undefined &&
52
+ !props.disabled,
53
+ 'bg-general-300': props.value == props.modelValue &&
54
+ props.value !== undefined &&
55
+ props.disabled,
52
56
  },
53
57
  // States
54
58
  {
@@ -4,13 +4,10 @@ declare namespace _default {
4
4
  'data-wv-name': string;
5
5
  'data-wv-section': string;
6
6
  };
7
- function label({ props, slots }: {
7
+ function label({ props }: {
8
8
  props: any;
9
- slots: any;
10
9
  }): {
11
- class: (any[] | {
12
- 'w-full': any;
13
- })[];
10
+ class: any[][];
14
11
  'data-wv-section': string;
15
12
  };
16
13
  namespace info {
@@ -9,13 +9,10 @@ exports.default = {
9
9
  'data-wv-section': 'root',
10
10
  },
11
11
  label: function (_a) {
12
- var props = _a.props, slots = _a.slots;
12
+ var props = _a.props;
13
13
  return ({
14
14
  'class': [
15
15
  ['text-general-900 text-xs flex gap-[2px] font-normal', props.labelClass],
16
- {
17
- 'w-full': slots['label-addon']
18
- }
19
16
  ],
20
17
  'data-wv-section': 'fieldlabel',
21
18
  });
@@ -173,7 +173,7 @@ import tieredmenu from './tieredmenu/index.js';
173
173
  import panelmenu from './panelmenu/index.js';
174
174
  import megamenu from './megamenu/index.js';
175
175
  import dock from './dock/index.js';
176
- import tabmenu from './tabmenu';
176
+ import tabmenu from './tabmenu/index.js';
177
177
  import dialog from './dialog/index.js';
178
178
  import dialogconfirm from './dialogconfirm/index.js';
179
179
  import dialogform from './dialogform/index.js';