@fewangsit/wangsvue-presets 1.0.84-alpha.0 → 1.0.84-alpha.1
Sign up to get free protection for your applications and to get access to all the features.
- package/fixedasset/badge/index.d.ts +11 -18
- package/fixedasset/badge/index.js +19 -19
- package/fixedasset/badgegroup/index.js +1 -1
- package/fixedasset/breadcrumb/index.d.ts +2 -2
- package/fixedasset/breadcrumb/index.js +4 -4
- package/fixedasset/button/index.js +16 -16
- package/fixedasset/buttonbulkaction/index.d.ts +28 -0
- package/fixedasset/buttonbulkaction/index.js +31 -0
- package/fixedasset/buttonsearch/index.js +11 -9
- package/fixedasset/colors.config.json +57 -61
- package/fixedasset/index.system.js +2 -2
- package/fixedasset/style.css +258 -162
- package/fixedasset/tabmenu/index.d.ts +60 -12
- package/fixedasset/tabmenu/index.js +18 -13
- package/package.json +1 -1
- package/wangsvue/style.css +123 -0
@@ -17,31 +17,79 @@ declare namespace _default {
|
|
17
17
|
state: any;
|
18
18
|
}): {
|
19
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-500'?: undefined;
|
25
|
+
'border-grayscale-400'?: undefined;
|
26
|
+
'text-grayscale-600'?: undefined;
|
27
|
+
'text-primary-500'?: undefined;
|
28
|
+
'bg-primary-50 text-primary-500'?: 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-500'?: undefined;
|
40
|
+
'border-grayscale-400'?: undefined;
|
41
|
+
'text-grayscale-600'?: undefined;
|
42
|
+
'text-primary-500'?: undefined;
|
43
|
+
'bg-primary-50 text-primary-500'?: 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-500': any;
|
51
|
+
'border-grayscale-400': boolean;
|
52
|
+
'text-grayscale-600': boolean;
|
53
|
+
'text-primary-500': any;
|
54
|
+
'bg-primary-50 text-primary-500': any;
|
55
|
+
'bg-grayscale-200 text-grayscale-800': boolean;
|
20
56
|
'bg-transparent ': boolean;
|
21
|
-
'
|
22
|
-
'
|
23
|
-
'
|
24
|
-
'
|
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;
|
25
61
|
'focus-visible:border-primary-200 focus-visible:text-primary-400'?: undefined;
|
26
62
|
'pointer-events-none'?: undefined;
|
27
63
|
'opacity-60'?: undefined;
|
28
64
|
} | {
|
29
65
|
'focus-visible:border-primary-200 focus-visible:text-primary-400': boolean;
|
30
|
-
'
|
31
|
-
'
|
32
|
-
'
|
33
|
-
'border-
|
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-500'?: undefined;
|
71
|
+
'border-grayscale-400'?: undefined;
|
72
|
+
'text-grayscale-600'?: undefined;
|
34
73
|
'text-primary-500'?: undefined;
|
74
|
+
'bg-primary-50 text-primary-500'?: undefined;
|
75
|
+
'bg-grayscale-200 text-grayscale-800'?: undefined;
|
76
|
+
'bg-transparent '?: undefined;
|
35
77
|
'pointer-events-none'?: undefined;
|
36
78
|
'opacity-60'?: undefined;
|
37
79
|
} | {
|
38
80
|
'pointer-events-none': any;
|
39
81
|
'opacity-60': any;
|
40
|
-
'
|
41
|
-
'
|
42
|
-
'
|
43
|
-
'border-
|
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-500'?: undefined;
|
87
|
+
'border-grayscale-400'?: undefined;
|
88
|
+
'text-grayscale-600'?: undefined;
|
44
89
|
'text-primary-500'?: undefined;
|
90
|
+
'bg-primary-50 text-primary-500'?: undefined;
|
91
|
+
'bg-grayscale-200 text-grayscale-800'?: undefined;
|
92
|
+
'bg-transparent '?: undefined;
|
45
93
|
'focus-visible:border-primary-200 focus-visible:text-primary-400'?: undefined;
|
46
94
|
})[];
|
47
95
|
};
|
@@ -9,7 +9,6 @@ exports.default = {
|
|
9
9
|
class: [
|
10
10
|
// Flexbox
|
11
11
|
'flex flex-1',
|
12
|
-
// Size
|
13
12
|
// Spacing
|
14
13
|
'list-none',
|
15
14
|
'p-0 m-0',
|
@@ -27,28 +26,34 @@ exports.default = {
|
|
27
26
|
class: [
|
28
27
|
'relative',
|
29
28
|
// Font
|
30
|
-
'font-
|
31
|
-
'text-xs',
|
29
|
+
'font-medium',
|
30
|
+
'text-xs leading-4 tracking-[0.02em]',
|
32
31
|
// Flexbox and Alignment
|
33
32
|
'flex items-center',
|
34
33
|
// Spacing
|
35
|
-
|
34
|
+
{
|
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,
|
38
|
+
},
|
36
39
|
// Shape
|
37
|
-
|
40
|
+
{
|
41
|
+
'border-b-2': context.type !== 'pill',
|
42
|
+
},
|
38
43
|
// Colors and Conditions
|
39
44
|
{
|
40
|
-
'
|
41
|
-
'
|
42
|
-
'
|
43
|
-
'
|
44
|
-
'text-primary-500':
|
45
|
+
'border-primary-500': state.active,
|
46
|
+
'border-grayscale-400': !state.active,
|
47
|
+
'text-grayscale-600': !state.active,
|
48
|
+
'text-primary-500': state.active,
|
49
|
+
'bg-primary-50 text-primary-500': 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,
|
45
52
|
},
|
46
53
|
// States
|
47
|
-
'hover:bg-primary-50',
|
48
54
|
'focus-visible:outline-none focus-visible:outline-offset-0',
|
49
|
-
'focus-visible:bg-primary-50',
|
50
55
|
{
|
51
|
-
'focus-visible:border-primary-200 focus-visible:text-primary-400': state.
|
56
|
+
'focus-visible:border-primary-200 focus-visible:text-primary-400': !state.active,
|
52
57
|
},
|
53
58
|
// Disabled States
|
54
59
|
{
|
package/package.json
CHANGED
package/wangsvue/style.css
CHANGED
@@ -1362,6 +1362,10 @@
|
|
1362
1362
|
height: 1.5rem !important;
|
1363
1363
|
}
|
1364
1364
|
|
1365
|
+
.\!h-\[10px\]{
|
1366
|
+
height: 10px !important;
|
1367
|
+
}
|
1368
|
+
|
1365
1369
|
.\!h-\[11px\]{
|
1366
1370
|
height: 11px !important;
|
1367
1371
|
}
|
@@ -1443,6 +1447,10 @@
|
|
1443
1447
|
height: 2rem;
|
1444
1448
|
}
|
1445
1449
|
|
1450
|
+
.h-\[10px\]{
|
1451
|
+
height: 10px;
|
1452
|
+
}
|
1453
|
+
|
1446
1454
|
.h-\[18px\]{
|
1447
1455
|
height: 18px;
|
1448
1456
|
}
|
@@ -1573,6 +1581,10 @@
|
|
1573
1581
|
width: 1.5rem !important;
|
1574
1582
|
}
|
1575
1583
|
|
1584
|
+
.\!w-\[10px\]{
|
1585
|
+
width: 10px !important;
|
1586
|
+
}
|
1587
|
+
|
1576
1588
|
.\!w-\[11px\]{
|
1577
1589
|
width: 11px !important;
|
1578
1590
|
}
|
@@ -1669,6 +1681,10 @@
|
|
1669
1681
|
width: 1%;
|
1670
1682
|
}
|
1671
1683
|
|
1684
|
+
.w-\[10px\]{
|
1685
|
+
width: 10px;
|
1686
|
+
}
|
1687
|
+
|
1672
1688
|
.w-\[18px\]{
|
1673
1689
|
width: 18px;
|
1674
1690
|
}
|
@@ -2438,6 +2454,10 @@
|
|
2438
2454
|
border-radius: 0.125rem;
|
2439
2455
|
}
|
2440
2456
|
|
2457
|
+
.rounded-xl{
|
2458
|
+
border-radius: 0.75rem;
|
2459
|
+
}
|
2460
|
+
|
2441
2461
|
.rounded-b-lg{
|
2442
2462
|
border-bottom-right-radius: 0.5rem;
|
2443
2463
|
border-bottom-left-radius: 0.5rem;
|
@@ -2679,6 +2699,11 @@
|
|
2679
2699
|
border-color: rgb(243 244 246 / var(--tw-border-opacity));
|
2680
2700
|
}
|
2681
2701
|
|
2702
|
+
.border-grayscale-400{
|
2703
|
+
--tw-border-opacity: 1;
|
2704
|
+
border-color: rgb(203 204 205 / var(--tw-border-opacity));
|
2705
|
+
}
|
2706
|
+
|
2682
2707
|
.border-grayscale-900{
|
2683
2708
|
--tw-border-opacity: 1;
|
2684
2709
|
border-color: rgb(38 38 39 / var(--tw-border-opacity));
|
@@ -2776,6 +2801,11 @@
|
|
2776
2801
|
background-color: rgb(59 130 246 / var(--tw-bg-opacity));
|
2777
2802
|
}
|
2778
2803
|
|
2804
|
+
.bg-danger-100{
|
2805
|
+
--tw-bg-opacity: 1;
|
2806
|
+
background-color: rgb(231 195 182 / var(--tw-bg-opacity));
|
2807
|
+
}
|
2808
|
+
|
2779
2809
|
.bg-danger-200{
|
2780
2810
|
--tw-bg-opacity: 1;
|
2781
2811
|
background-color: rgb(219 165 146 / var(--tw-bg-opacity));
|
@@ -2824,6 +2854,16 @@
|
|
2824
2854
|
background-color: rgb(107 114 128 / var(--tw-bg-opacity));
|
2825
2855
|
}
|
2826
2856
|
|
2857
|
+
.bg-grayscale-200{
|
2858
|
+
--tw-bg-opacity: 1;
|
2859
|
+
background-color: rgb(229 230 230 / var(--tw-bg-opacity));
|
2860
|
+
}
|
2861
|
+
|
2862
|
+
.bg-grayscale-300{
|
2863
|
+
--tw-bg-opacity: 1;
|
2864
|
+
background-color: rgb(216 217 217 / var(--tw-bg-opacity));
|
2865
|
+
}
|
2866
|
+
|
2827
2867
|
.bg-grayscale-50{
|
2828
2868
|
--tw-bg-opacity: 1;
|
2829
2869
|
background-color: rgb(247 247 247 / var(--tw-bg-opacity));
|
@@ -2919,6 +2959,10 @@
|
|
2919
2959
|
background-color: rgb(159 124 60 / var(--tw-bg-opacity));
|
2920
2960
|
}
|
2921
2961
|
|
2962
|
+
.bg-primary-500\/20{
|
2963
|
+
background-color: rgb(159 124 60 / 0.2);
|
2964
|
+
}
|
2965
|
+
|
2922
2966
|
.bg-primary-600{
|
2923
2967
|
--tw-bg-opacity: 1;
|
2924
2968
|
background-color: rgb(133 103 50 / var(--tw-bg-opacity));
|
@@ -3074,10 +3118,19 @@
|
|
3074
3118
|
padding: 2px;
|
3075
3119
|
}
|
3076
3120
|
|
3121
|
+
.p-\[5px\]{
|
3122
|
+
padding: 5px;
|
3123
|
+
}
|
3124
|
+
|
3077
3125
|
.p-\[7px\]{
|
3078
3126
|
padding: 7px;
|
3079
3127
|
}
|
3080
3128
|
|
3129
|
+
.\!px-0{
|
3130
|
+
padding-left: 0px !important;
|
3131
|
+
padding-right: 0px !important;
|
3132
|
+
}
|
3133
|
+
|
3081
3134
|
.\!px-1\.5{
|
3082
3135
|
padding-left: 0.375rem !important;
|
3083
3136
|
padding-right: 0.375rem !important;
|
@@ -3093,6 +3146,11 @@
|
|
3093
3146
|
padding-right: 1.5rem !important;
|
3094
3147
|
}
|
3095
3148
|
|
3149
|
+
.\!py-0{
|
3150
|
+
padding-top: 0px !important;
|
3151
|
+
padding-bottom: 0px !important;
|
3152
|
+
}
|
3153
|
+
|
3096
3154
|
.\!py-1{
|
3097
3155
|
padding-top: 0.25rem !important;
|
3098
3156
|
padding-bottom: 0.25rem !important;
|
@@ -3430,6 +3488,10 @@
|
|
3430
3488
|
font-size: 14px;
|
3431
3489
|
}
|
3432
3490
|
|
3491
|
+
.text-\[9px\]{
|
3492
|
+
font-size: 9px;
|
3493
|
+
}
|
3494
|
+
|
3433
3495
|
.text-base{
|
3434
3496
|
font-size: 1rem;
|
3435
3497
|
line-height: 1.5rem;
|
@@ -3491,6 +3553,10 @@
|
|
3491
3553
|
line-height: 1.25rem !important;
|
3492
3554
|
}
|
3493
3555
|
|
3556
|
+
.leading-3{
|
3557
|
+
line-height: .75rem;
|
3558
|
+
}
|
3559
|
+
|
3494
3560
|
.leading-4{
|
3495
3561
|
line-height: 1rem;
|
3496
3562
|
}
|
@@ -3650,6 +3716,11 @@
|
|
3650
3716
|
color: rgb(183 75 36 / var(--tw-text-opacity));
|
3651
3717
|
}
|
3652
3718
|
|
3719
|
+
.text-danger-600{
|
3720
|
+
--tw-text-opacity: 1;
|
3721
|
+
color: rgb(153 63 30 / var(--tw-text-opacity));
|
3722
|
+
}
|
3723
|
+
|
3653
3724
|
.text-danger-700{
|
3654
3725
|
--tw-text-opacity: 1;
|
3655
3726
|
color: rgb(122 50 24 / var(--tw-text-opacity));
|
@@ -3685,6 +3756,11 @@
|
|
3685
3756
|
color: rgb(16 15 21 / var(--tw-text-opacity));
|
3686
3757
|
}
|
3687
3758
|
|
3759
|
+
.text-grayscale-600{
|
3760
|
+
--tw-text-opacity: 1;
|
3761
|
+
color: rgb(151 153 155 / var(--tw-text-opacity));
|
3762
|
+
}
|
3763
|
+
|
3688
3764
|
.text-grayscale-800{
|
3689
3765
|
--tw-text-opacity: 1;
|
3690
3766
|
color: rgb(75 77 78 / var(--tw-text-opacity));
|
@@ -3785,6 +3861,10 @@
|
|
3785
3861
|
text-decoration-line: none;
|
3786
3862
|
}
|
3787
3863
|
|
3864
|
+
.caret-primary-700{
|
3865
|
+
caret-color: #785930;
|
3866
|
+
}
|
3867
|
+
|
3788
3868
|
.opacity-0{
|
3789
3869
|
opacity: 0;
|
3790
3870
|
}
|
@@ -3979,6 +4059,11 @@
|
|
3979
4059
|
--tw-ring-color: rgb(108 104 141 / var(--tw-ring-opacity));
|
3980
4060
|
}
|
3981
4061
|
|
4062
|
+
.ring-general-500{
|
4063
|
+
--tw-ring-opacity: 1;
|
4064
|
+
--tw-ring-color: rgb(78 75 102 / var(--tw-ring-opacity));
|
4065
|
+
}
|
4066
|
+
|
3982
4067
|
.ring-gray-500{
|
3983
4068
|
--tw-ring-opacity: 1;
|
3984
4069
|
--tw-ring-color: rgb(107 114 128 / var(--tw-ring-opacity));
|
@@ -4768,6 +4853,11 @@ h6,
|
|
4768
4853
|
--tw-ring-color: rgb(189 165 82 / var(--tw-ring-opacity));
|
4769
4854
|
}
|
4770
4855
|
|
4856
|
+
.focus-within\:ring-primary-500:focus-within{
|
4857
|
+
--tw-ring-opacity: 1;
|
4858
|
+
--tw-ring-color: rgb(159 124 60 / var(--tw-ring-opacity));
|
4859
|
+
}
|
4860
|
+
|
4771
4861
|
.hover\:mx-6:hover{
|
4772
4862
|
margin-left: 1.5rem;
|
4773
4863
|
margin-right: 1.5rem;
|
@@ -4815,6 +4905,10 @@ h6,
|
|
4815
4905
|
background-color: rgb(248 247 238 / var(--tw-bg-opacity)) !important;
|
4816
4906
|
}
|
4817
4907
|
|
4908
|
+
.hover\:\!bg-primary-500\/90:hover{
|
4909
|
+
background-color: rgb(159 124 60 / 0.9) !important;
|
4910
|
+
}
|
4911
|
+
|
4818
4912
|
.hover\:\!bg-success-500\/90:hover{
|
4819
4913
|
background-color: rgb(0 147 132 / 0.9) !important;
|
4820
4914
|
}
|
@@ -4859,6 +4953,11 @@ h6,
|
|
4859
4953
|
background-color: rgb(75 85 99 / var(--tw-bg-opacity));
|
4860
4954
|
}
|
4861
4955
|
|
4956
|
+
.hover\:bg-grayscale-300:hover{
|
4957
|
+
--tw-bg-opacity: 1;
|
4958
|
+
background-color: rgb(216 217 217 / var(--tw-bg-opacity));
|
4959
|
+
}
|
4960
|
+
|
4862
4961
|
.hover\:bg-grayscale-50:hover{
|
4863
4962
|
--tw-bg-opacity: 1;
|
4864
4963
|
background-color: rgb(247 247 247 / var(--tw-bg-opacity));
|
@@ -4935,6 +5034,14 @@ h6,
|
|
4935
5034
|
background-color: rgb(159 124 60 / var(--tw-bg-opacity));
|
4936
5035
|
}
|
4937
5036
|
|
5037
|
+
.hover\:bg-primary-500\/20:hover{
|
5038
|
+
background-color: rgb(159 124 60 / 0.2);
|
5039
|
+
}
|
5040
|
+
|
5041
|
+
.hover\:bg-primary-500\/\[8\%\]:hover{
|
5042
|
+
background-color: rgb(159 124 60 / 8%);
|
5043
|
+
}
|
5044
|
+
|
4938
5045
|
.hover\:bg-primary-600:hover{
|
4939
5046
|
--tw-bg-opacity: 1;
|
4940
5047
|
background-color: rgb(133 103 50 / var(--tw-bg-opacity));
|
@@ -5307,6 +5414,14 @@ h6,
|
|
5307
5414
|
background-color: rgb(189 165 82 / 12%);
|
5308
5415
|
}
|
5309
5416
|
|
5417
|
+
.active\:bg-primary-500\/90:active{
|
5418
|
+
background-color: rgb(159 124 60 / 0.9);
|
5419
|
+
}
|
5420
|
+
|
5421
|
+
.active\:bg-primary-500\/\[12\%\]:active{
|
5422
|
+
background-color: rgb(159 124 60 / 12%);
|
5423
|
+
}
|
5424
|
+
|
5310
5425
|
.active\:bg-success-500\/90:active{
|
5311
5426
|
background-color: rgb(0 147 132 / 0.9);
|
5312
5427
|
}
|
@@ -5708,10 +5823,18 @@ h6,
|
|
5708
5823
|
background-color: transparent !important;
|
5709
5824
|
}
|
5710
5825
|
|
5826
|
+
.\[\&_i\]\:h-4 i{
|
5827
|
+
height: 1rem;
|
5828
|
+
}
|
5829
|
+
|
5711
5830
|
.\[\&_i\]\:h-5 i{
|
5712
5831
|
height: 1.25rem;
|
5713
5832
|
}
|
5714
5833
|
|
5834
|
+
.\[\&_i\]\:w-4 i{
|
5835
|
+
width: 1rem;
|
5836
|
+
}
|
5837
|
+
|
5715
5838
|
.\[\&_i\]\:w-5 i{
|
5716
5839
|
width: 1.25rem;
|
5717
5840
|
}
|