@fewangsit/wangsvue-presets 1.0.91-alpha.2 → 1.0.91-alpha.3
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.
- package/fixedasset/style.css +129 -0
- package/package.json +1 -1
- package/supplyasset/badge/index.d.ts +2 -2
- package/supplyasset/badge/index.js +2 -2
- package/supplyasset/badgedirective/index.d.ts +3 -3
- package/supplyasset/badgedirective/index.js +1 -1
- package/supplyasset/badgegroup/index.js +1 -1
- package/supplyasset/breadcrumb/index.d.ts +1 -1
- package/supplyasset/breadcrumb/index.js +1 -1
- package/supplyasset/button/index.js +10 -10
- package/supplyasset/buttonbulkaction/index.js +3 -3
- package/supplyasset/buttondownload/index.js +1 -1
- package/supplyasset/buttonradio/index.d.ts +4 -4
- package/supplyasset/buttonradio/index.js +2 -2
- package/supplyasset/buttonsearch/index.js +4 -4
- package/supplyasset/calendar/index.js +2 -2
- package/supplyasset/carousel/index.d.ts +1 -1
- package/supplyasset/carousel/index.js +1 -1
- package/supplyasset/changelog/index.js +1 -1
- package/supplyasset/checkbox/index.d.ts +4 -4
- package/supplyasset/checkbox/index.js +2 -2
- package/supplyasset/colors.config.json +13 -1
- package/supplyasset/datatable/index.d.ts +9 -9
- package/supplyasset/datatable/index.js +3 -3
- package/supplyasset/dialog/index.js +1 -1
- package/supplyasset/dropdown/index.d.ts +7 -7
- package/supplyasset/dropdown/index.js +2 -2
- package/supplyasset/fieldwrapper/index.js +1 -1
- package/supplyasset/index.system.js +2 -2
- package/supplyasset/inputgroup/index.js +1 -1
- package/supplyasset/inputphonenumber/index.js +2 -2
- package/supplyasset/message/index.js +1 -1
- package/supplyasset/multiselect/index.d.ts +13 -13
- package/supplyasset/multiselect/index.js +2 -2
- package/supplyasset/paginator/index.d.ts +7 -7
- package/supplyasset/paginator/index.js +3 -3
- package/supplyasset/password/index.js +2 -2
- package/supplyasset/steps/index.d.ts +17 -17
- package/supplyasset/steps/index.js +5 -5
- package/{globalsettings → supplyasset}/style.css +263 -206
- package/supplyasset/tabmenu/index.d.ts +15 -15
- package/supplyasset/tabmenu/index.js +3 -3
- package/supplyasset/toast/index.d.ts +2 -2
- package/supplyasset/toast/index.js +2 -2
- package/supplyasset/togglebutton/index.d.ts +3 -3
- package/supplyasset/togglebutton/index.js +1 -1
- package/supplyasset/toggleswitch/index.d.ts +5 -5
- package/supplyasset/toggleswitch/index.js +3 -3
- package/supplyasset/tooltip/index.js +5 -5
- package/supplyasset/tree/index.d.ts +9 -9
- package/supplyasset/tree/index.js +5 -5
- package/supplyasset/treeselect/index.d.ts +14 -14
- package/supplyasset/treeselect/index.js +9 -9
- package/supplyasset/tristatecheckbox/index.d.ts +6 -6
- package/supplyasset/tristatecheckbox/index.js +2 -2
- package/wangsvue/style.css +129 -0
package/fixedasset/style.css
CHANGED
|
@@ -2898,6 +2898,11 @@
|
|
|
2898
2898
|
border-color: rgb(0 99 247 / var(--tw-border-opacity));
|
|
2899
2899
|
}
|
|
2900
2900
|
|
|
2901
|
+
.border-primary-700{
|
|
2902
|
+
--tw-border-opacity: 1;
|
|
2903
|
+
border-color: rgb(0 59 148 / var(--tw-border-opacity));
|
|
2904
|
+
}
|
|
2905
|
+
|
|
2901
2906
|
.border-success-500{
|
|
2902
2907
|
--tw-border-opacity: 1;
|
|
2903
2908
|
border-color: rgb(0 164 85 / var(--tw-border-opacity));
|
|
@@ -2971,6 +2976,15 @@
|
|
|
2971
2976
|
background-color: rgb(0 99 247 / 0.9) !important;
|
|
2972
2977
|
}
|
|
2973
2978
|
|
|
2979
|
+
.\!bg-primary-700{
|
|
2980
|
+
--tw-bg-opacity: 1 !important;
|
|
2981
|
+
background-color: rgb(0 59 148 / var(--tw-bg-opacity)) !important;
|
|
2982
|
+
}
|
|
2983
|
+
|
|
2984
|
+
.\!bg-primary-700\/90{
|
|
2985
|
+
background-color: rgb(0 59 148 / 0.9) !important;
|
|
2986
|
+
}
|
|
2987
|
+
|
|
2974
2988
|
.\!bg-success-500{
|
|
2975
2989
|
--tw-bg-opacity: 1 !important;
|
|
2976
2990
|
background-color: rgb(0 164 85 / var(--tw-bg-opacity)) !important;
|
|
@@ -3197,6 +3211,15 @@
|
|
|
3197
3211
|
background-color: rgb(0 80 199 / var(--tw-bg-opacity));
|
|
3198
3212
|
}
|
|
3199
3213
|
|
|
3214
|
+
.bg-primary-700{
|
|
3215
|
+
--tw-bg-opacity: 1;
|
|
3216
|
+
background-color: rgb(0 59 148 / var(--tw-bg-opacity));
|
|
3217
|
+
}
|
|
3218
|
+
|
|
3219
|
+
.bg-primary-700\/20{
|
|
3220
|
+
background-color: rgb(0 59 148 / 0.2);
|
|
3221
|
+
}
|
|
3222
|
+
|
|
3200
3223
|
.bg-purple-300\/20{
|
|
3201
3224
|
background-color: rgb(216 180 254 / 0.2);
|
|
3202
3225
|
}
|
|
@@ -3928,6 +3951,11 @@
|
|
|
3928
3951
|
color: rgb(0 99 247 / var(--tw-text-opacity)) !important;
|
|
3929
3952
|
}
|
|
3930
3953
|
|
|
3954
|
+
.\!text-primary-700{
|
|
3955
|
+
--tw-text-opacity: 1 !important;
|
|
3956
|
+
color: rgb(0 59 148 / var(--tw-text-opacity)) !important;
|
|
3957
|
+
}
|
|
3958
|
+
|
|
3931
3959
|
.\!text-primary-800{
|
|
3932
3960
|
--tw-text-opacity: 1 !important;
|
|
3933
3961
|
color: rgb(0 39 97 / var(--tw-text-opacity)) !important;
|
|
@@ -4057,6 +4085,11 @@
|
|
|
4057
4085
|
color: rgb(0 80 199 / var(--tw-text-opacity));
|
|
4058
4086
|
}
|
|
4059
4087
|
|
|
4088
|
+
.text-primary-700{
|
|
4089
|
+
--tw-text-opacity: 1;
|
|
4090
|
+
color: rgb(0 59 148 / var(--tw-text-opacity));
|
|
4091
|
+
}
|
|
4092
|
+
|
|
4060
4093
|
.text-primary-800{
|
|
4061
4094
|
--tw-text-opacity: 1;
|
|
4062
4095
|
color: rgb(0 39 97 / var(--tw-text-opacity));
|
|
@@ -4168,6 +4201,12 @@
|
|
|
4168
4201
|
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
4169
4202
|
}
|
|
4170
4203
|
|
|
4204
|
+
.shadow-\[-4px_4px_20px_0px_\#0000001A\]{
|
|
4205
|
+
--tw-shadow: -4px 4px 20px 0px #0000001A;
|
|
4206
|
+
--tw-shadow-colored: -4px 4px 20px 0px var(--tw-shadow-color);
|
|
4207
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
4208
|
+
}
|
|
4209
|
+
|
|
4171
4210
|
.shadow-\[0px_4px_4px_0px_\#00000040\]{
|
|
4172
4211
|
--tw-shadow: 0px 4px 4px 0px #00000040;
|
|
4173
4212
|
--tw-shadow-colored: 0px 4px 4px 0px var(--tw-shadow-color);
|
|
@@ -4304,6 +4343,11 @@
|
|
|
4304
4343
|
--tw-ring-color: rgb(0 99 247 / var(--tw-ring-opacity)) !important;
|
|
4305
4344
|
}
|
|
4306
4345
|
|
|
4346
|
+
.\!ring-primary-700{
|
|
4347
|
+
--tw-ring-opacity: 1 !important;
|
|
4348
|
+
--tw-ring-color: rgb(0 59 148 / var(--tw-ring-opacity)) !important;
|
|
4349
|
+
}
|
|
4350
|
+
|
|
4307
4351
|
.\!ring-transparent{
|
|
4308
4352
|
--tw-ring-color: transparent !important;
|
|
4309
4353
|
}
|
|
@@ -4416,6 +4460,11 @@
|
|
|
4416
4460
|
--tw-ring-color: rgb(0 80 199 / var(--tw-ring-opacity));
|
|
4417
4461
|
}
|
|
4418
4462
|
|
|
4463
|
+
.ring-primary-700{
|
|
4464
|
+
--tw-ring-opacity: 1;
|
|
4465
|
+
--tw-ring-color: rgb(0 59 148 / var(--tw-ring-opacity));
|
|
4466
|
+
}
|
|
4467
|
+
|
|
4419
4468
|
.ring-purple-400\/50{
|
|
4420
4469
|
--tw-ring-color: rgb(192 132 252 / 0.5);
|
|
4421
4470
|
}
|
|
@@ -5053,6 +5102,12 @@ h6,
|
|
|
5053
5102
|
border-color: rgb(0 99 247 / var(--tw-border-opacity));
|
|
5054
5103
|
}
|
|
5055
5104
|
|
|
5105
|
+
.after\:border-primary-700::after{
|
|
5106
|
+
content: var(--tw-content);
|
|
5107
|
+
--tw-border-opacity: 1;
|
|
5108
|
+
border-color: rgb(0 59 148 / var(--tw-border-opacity));
|
|
5109
|
+
}
|
|
5110
|
+
|
|
5056
5111
|
.after\:bg-inherit::after{
|
|
5057
5112
|
content: var(--tw-content);
|
|
5058
5113
|
background-color: inherit;
|
|
@@ -5162,6 +5217,11 @@ h6,
|
|
|
5162
5217
|
--tw-ring-color: rgb(0 99 247 / var(--tw-ring-opacity));
|
|
5163
5218
|
}
|
|
5164
5219
|
|
|
5220
|
+
.focus-within\:ring-primary-700:focus-within{
|
|
5221
|
+
--tw-ring-opacity: 1;
|
|
5222
|
+
--tw-ring-color: rgb(0 59 148 / var(--tw-ring-opacity));
|
|
5223
|
+
}
|
|
5224
|
+
|
|
5165
5225
|
.hover\:mx-6:hover{
|
|
5166
5226
|
margin-left: 1.5rem;
|
|
5167
5227
|
margin-right: 1.5rem;
|
|
@@ -5192,6 +5252,11 @@ h6,
|
|
|
5192
5252
|
border-color: rgb(0 80 199 / var(--tw-border-opacity));
|
|
5193
5253
|
}
|
|
5194
5254
|
|
|
5255
|
+
.hover\:border-primary-700:hover{
|
|
5256
|
+
--tw-border-opacity: 1;
|
|
5257
|
+
border-color: rgb(0 59 148 / var(--tw-border-opacity));
|
|
5258
|
+
}
|
|
5259
|
+
|
|
5195
5260
|
.hover\:\!bg-danger-500\/90:hover{
|
|
5196
5261
|
background-color: rgb(255 0 34 / 0.9) !important;
|
|
5197
5262
|
}
|
|
@@ -5218,6 +5283,10 @@ h6,
|
|
|
5218
5283
|
background-color: rgb(0 99 247 / 0.9) !important;
|
|
5219
5284
|
}
|
|
5220
5285
|
|
|
5286
|
+
.hover\:\!bg-primary-700\/90:hover{
|
|
5287
|
+
background-color: rgb(0 59 148 / 0.9) !important;
|
|
5288
|
+
}
|
|
5289
|
+
|
|
5221
5290
|
.hover\:\!bg-success-500\/90:hover{
|
|
5222
5291
|
background-color: rgb(0 164 85 / 0.9) !important;
|
|
5223
5292
|
}
|
|
@@ -5373,6 +5442,19 @@ h6,
|
|
|
5373
5442
|
background-color: rgb(0 80 199 / var(--tw-bg-opacity));
|
|
5374
5443
|
}
|
|
5375
5444
|
|
|
5445
|
+
.hover\:bg-primary-700:hover{
|
|
5446
|
+
--tw-bg-opacity: 1;
|
|
5447
|
+
background-color: rgb(0 59 148 / var(--tw-bg-opacity));
|
|
5448
|
+
}
|
|
5449
|
+
|
|
5450
|
+
.hover\:bg-primary-700\/20:hover{
|
|
5451
|
+
background-color: rgb(0 59 148 / 0.2);
|
|
5452
|
+
}
|
|
5453
|
+
|
|
5454
|
+
.hover\:bg-primary-700\/\[8\%\]:hover{
|
|
5455
|
+
background-color: rgb(0 59 148 / 8%);
|
|
5456
|
+
}
|
|
5457
|
+
|
|
5376
5458
|
.hover\:bg-purple-300\/20:hover{
|
|
5377
5459
|
background-color: rgb(216 180 254 / 0.2);
|
|
5378
5460
|
}
|
|
@@ -5617,6 +5699,11 @@ h6,
|
|
|
5617
5699
|
--tw-ring-color: rgb(0 80 199 / var(--tw-ring-opacity));
|
|
5618
5700
|
}
|
|
5619
5701
|
|
|
5702
|
+
.focus\:ring-primary-700:focus{
|
|
5703
|
+
--tw-ring-opacity: 1;
|
|
5704
|
+
--tw-ring-color: rgb(0 59 148 / var(--tw-ring-opacity));
|
|
5705
|
+
}
|
|
5706
|
+
|
|
5620
5707
|
.focus\:ring-purple-400\/50:focus{
|
|
5621
5708
|
--tw-ring-color: rgb(192 132 252 / 0.5);
|
|
5622
5709
|
}
|
|
@@ -5720,6 +5807,11 @@ h6,
|
|
|
5720
5807
|
--tw-ring-color: rgb(0 80 199 / var(--tw-ring-opacity));
|
|
5721
5808
|
}
|
|
5722
5809
|
|
|
5810
|
+
.focus-visible\:ring-primary-700:focus-visible{
|
|
5811
|
+
--tw-ring-opacity: 1;
|
|
5812
|
+
--tw-ring-color: rgb(0 59 148 / var(--tw-ring-opacity));
|
|
5813
|
+
}
|
|
5814
|
+
|
|
5723
5815
|
.active\:bg-danger-500\/90:active{
|
|
5724
5816
|
background-color: rgb(255 0 34 / 0.9);
|
|
5725
5817
|
}
|
|
@@ -5752,6 +5844,14 @@ h6,
|
|
|
5752
5844
|
background-color: rgb(0 99 247 / 12%);
|
|
5753
5845
|
}
|
|
5754
5846
|
|
|
5847
|
+
.active\:bg-primary-700\/90:active{
|
|
5848
|
+
background-color: rgb(0 59 148 / 0.9);
|
|
5849
|
+
}
|
|
5850
|
+
|
|
5851
|
+
.active\:bg-primary-700\/\[12\%\]:active{
|
|
5852
|
+
background-color: rgb(0 59 148 / 12%);
|
|
5853
|
+
}
|
|
5854
|
+
|
|
5755
5855
|
.active\:bg-success-500\/90:active{
|
|
5756
5856
|
background-color: rgb(0 164 85 / 0.9);
|
|
5757
5857
|
}
|
|
@@ -5805,6 +5905,10 @@ h6,
|
|
|
5805
5905
|
outline-color: rgb(0 99 247 / 5%) !important;
|
|
5806
5906
|
}
|
|
5807
5907
|
|
|
5908
|
+
.peer:focus-visible ~ .peer-focus-visible\:\!outline-primary-700\/\[5\%\]{
|
|
5909
|
+
outline-color: rgb(0 59 148 / 5%) !important;
|
|
5910
|
+
}
|
|
5911
|
+
|
|
5808
5912
|
.peer:focus-visible ~ .peer-focus-visible\:ring-2{
|
|
5809
5913
|
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
5810
5914
|
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
@@ -5830,6 +5934,11 @@ h6,
|
|
|
5830
5934
|
--tw-ring-color: rgb(0 99 247 / var(--tw-ring-opacity));
|
|
5831
5935
|
}
|
|
5832
5936
|
|
|
5937
|
+
.peer:focus-visible ~ .peer-focus-visible\:ring-primary-700{
|
|
5938
|
+
--tw-ring-opacity: 1;
|
|
5939
|
+
--tw-ring-color: rgb(0 59 148 / var(--tw-ring-opacity));
|
|
5940
|
+
}
|
|
5941
|
+
|
|
5833
5942
|
.peer:focus-visible ~ .peer-focus-visible\:ring-offset-0{
|
|
5834
5943
|
--tw-ring-offset-width: 0px;
|
|
5835
5944
|
}
|
|
@@ -6058,6 +6167,11 @@ h6,
|
|
|
6058
6167
|
--tw-ring-color: rgb(0 99 247 / var(--tw-ring-opacity)) !important;
|
|
6059
6168
|
}
|
|
6060
6169
|
|
|
6170
|
+
.\[\&\:has\(\:focus\)\]\:\!ring-primary-700:has(:focus){
|
|
6171
|
+
--tw-ring-opacity: 1 !important;
|
|
6172
|
+
--tw-ring-color: rgb(0 59 148 / var(--tw-ring-opacity)) !important;
|
|
6173
|
+
}
|
|
6174
|
+
|
|
6061
6175
|
.\[\&\:has\(\:focus\)\]\:ring-primary-400:has(:focus){
|
|
6062
6176
|
--tw-ring-opacity: 1;
|
|
6063
6177
|
--tw-ring-color: rgb(46 130 255 / var(--tw-ring-opacity));
|
|
@@ -6068,6 +6182,11 @@ h6,
|
|
|
6068
6182
|
--tw-ring-color: rgb(0 99 247 / var(--tw-ring-opacity));
|
|
6069
6183
|
}
|
|
6070
6184
|
|
|
6185
|
+
.\[\&\:has\(\:focus\)\]\:ring-primary-700:has(:focus){
|
|
6186
|
+
--tw-ring-opacity: 1;
|
|
6187
|
+
--tw-ring-color: rgb(0 59 148 / var(--tw-ring-opacity));
|
|
6188
|
+
}
|
|
6189
|
+
|
|
6071
6190
|
.\[\&\:has\(\:focus\)_\.inputgroupaddon\]\:\!ring-primary-400:has(:focus) .inputgroupaddon{
|
|
6072
6191
|
--tw-ring-opacity: 1 !important;
|
|
6073
6192
|
--tw-ring-color: rgb(46 130 255 / var(--tw-ring-opacity)) !important;
|
|
@@ -6078,6 +6197,11 @@ h6,
|
|
|
6078
6197
|
--tw-ring-color: rgb(0 99 247 / var(--tw-ring-opacity)) !important;
|
|
6079
6198
|
}
|
|
6080
6199
|
|
|
6200
|
+
.\[\&\:has\(\:focus\)_\.inputgroupaddon\]\:\!ring-primary-700:has(:focus) .inputgroupaddon{
|
|
6201
|
+
--tw-ring-opacity: 1 !important;
|
|
6202
|
+
--tw-ring-color: rgb(0 59 148 / var(--tw-ring-opacity)) !important;
|
|
6203
|
+
}
|
|
6204
|
+
|
|
6081
6205
|
.\[\&\:has\(\[data-wv-section\=rowcheckbox\]\)\]\:text-center:has([data-wv-section=rowcheckbox]){
|
|
6082
6206
|
text-align: center;
|
|
6083
6207
|
}
|
|
@@ -6139,6 +6263,11 @@ h6,
|
|
|
6139
6263
|
background-color: rgb(0 99 247 / var(--tw-bg-opacity));
|
|
6140
6264
|
}
|
|
6141
6265
|
|
|
6266
|
+
.\[\&\[aria-selected\=\"true\"\]\]\:bg-primary-700[aria-selected="true"]{
|
|
6267
|
+
--tw-bg-opacity: 1;
|
|
6268
|
+
background-color: rgb(0 59 148 / var(--tw-bg-opacity));
|
|
6269
|
+
}
|
|
6270
|
+
|
|
6142
6271
|
.\[\&\[aria-selected\=\"true\"\]\]\:text-white[aria-selected="true"]{
|
|
6143
6272
|
--tw-text-opacity: 1;
|
|
6144
6273
|
color: rgb(255 255 255 / var(--tw-text-opacity));
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@ declare namespace _default {
|
|
|
6
6
|
'text-general-400 bg-general-100': any;
|
|
7
7
|
'text-success-500 bg-success-100': boolean;
|
|
8
8
|
'text-info-500 bg-info-50': boolean;
|
|
9
|
-
'text-primary-
|
|
9
|
+
'text-primary-700 bg-primary-50': boolean;
|
|
10
10
|
'text-grayscale-800 bg-grayscale-200': boolean;
|
|
11
11
|
'text-warning-600 bg-warning-100': boolean;
|
|
12
12
|
'text-danger-600 bg-danger-100': boolean;
|
|
@@ -27,7 +27,7 @@ declare namespace _default {
|
|
|
27
27
|
props: any;
|
|
28
28
|
}): {
|
|
29
29
|
class: (string | {
|
|
30
|
-
'text-primary-
|
|
30
|
+
'text-primary-700': boolean;
|
|
31
31
|
'text-success-500': boolean;
|
|
32
32
|
'text-info-500': boolean;
|
|
33
33
|
'text-danger-600': boolean;
|
|
@@ -16,7 +16,7 @@ exports.default = {
|
|
|
16
16
|
'text-general-400 bg-general-100': props.disabled,
|
|
17
17
|
'text-success-500 bg-success-100': !props.disabled && props.severity == 'success',
|
|
18
18
|
'text-info-500 bg-info-50': !props.disabled && props.severity == 'info',
|
|
19
|
-
'text-primary-
|
|
19
|
+
'text-primary-700 bg-primary-50': !props.disabled &&
|
|
20
20
|
(props.severity == null || props.severity == 'primary'),
|
|
21
21
|
'text-grayscale-800 bg-grayscale-200': !props.disabled && props.severity == 'dark',
|
|
22
22
|
'text-warning-600 bg-warning-100': !props.disabled && props.severity == 'warning',
|
|
@@ -45,7 +45,7 @@ exports.default = {
|
|
|
45
45
|
'class': [
|
|
46
46
|
'!p-0 !w-[10px] !h-[10px] ml-1',
|
|
47
47
|
{
|
|
48
|
-
'text-primary-
|
|
48
|
+
'text-primary-700': !props.disabled &&
|
|
49
49
|
(!props.badgeSeverity || props.badgeSeverity === 'primary'),
|
|
50
50
|
'text-success-500': !props.disabled && props.badgeSeverity === 'success',
|
|
51
51
|
'text-info-500': !props.disabled && props.badgeSeverity === 'info',
|
|
@@ -9,7 +9,7 @@ declare namespace _default {
|
|
|
9
9
|
'min-w-[1rem] h-4': boolean;
|
|
10
10
|
'rounded-full'?: undefined;
|
|
11
11
|
'rounded-[10px]'?: undefined;
|
|
12
|
-
'bg-primary-
|
|
12
|
+
'bg-primary-700'?: undefined;
|
|
13
13
|
'bg-surface-500'?: undefined;
|
|
14
14
|
'bg-green-500'?: undefined;
|
|
15
15
|
'bg-blue-500'?: undefined;
|
|
@@ -23,7 +23,7 @@ declare namespace _default {
|
|
|
23
23
|
'p-1'?: undefined;
|
|
24
24
|
'min-w-[0.5rem] h-2'?: undefined;
|
|
25
25
|
'min-w-[1rem] h-4'?: undefined;
|
|
26
|
-
'bg-primary-
|
|
26
|
+
'bg-primary-700'?: undefined;
|
|
27
27
|
'bg-surface-500'?: undefined;
|
|
28
28
|
'bg-green-500'?: undefined;
|
|
29
29
|
'bg-blue-500'?: undefined;
|
|
@@ -31,7 +31,7 @@ declare namespace _default {
|
|
|
31
31
|
'bg-purple-500'?: undefined;
|
|
32
32
|
'bg-red-500'?: undefined;
|
|
33
33
|
} | {
|
|
34
|
-
'bg-primary-
|
|
34
|
+
'bg-primary-700': boolean;
|
|
35
35
|
'bg-surface-500': any;
|
|
36
36
|
'bg-green-500': any;
|
|
37
37
|
'bg-blue-500': any;
|
|
@@ -8,7 +8,7 @@ exports.default = {
|
|
|
8
8
|
'data-wv-section': 'root',
|
|
9
9
|
},
|
|
10
10
|
showmorebutton: {
|
|
11
|
-
'class': '!p-1 !h-auto text-primary-
|
|
11
|
+
'class': '!p-1 !h-auto text-primary-700 !font-medium text-xs leading-4 tracking-[0.02em]',
|
|
12
12
|
'data-wv-section': 'showmorebutton',
|
|
13
13
|
},
|
|
14
14
|
showmoredialog: {
|
|
@@ -15,7 +15,7 @@ exports.default = {
|
|
|
15
15
|
return ({
|
|
16
16
|
'class': {
|
|
17
17
|
'font-bold text-general-400': context.lastItem,
|
|
18
|
-
'text-primary-
|
|
18
|
+
'text-primary-700': !context.lastItem && !context.firstItem,
|
|
19
19
|
},
|
|
20
20
|
'data-wv-section': 'breadcrumb-menu',
|
|
21
21
|
});
|
|
@@ -43,10 +43,10 @@ exports.default = {
|
|
|
43
43
|
'text-white bg-gray-500 ring-1 ring-gray-500': props.plain && !props.outlined && !props.text,
|
|
44
44
|
},
|
|
45
45
|
// Plain Text Button
|
|
46
|
-
{ 'text-primary-
|
|
46
|
+
{ 'text-primary-700': props.plain && props.text },
|
|
47
47
|
// Plain Outlined Button
|
|
48
48
|
{
|
|
49
|
-
'text-primary-
|
|
49
|
+
'text-primary-700 ring-1 ring-gray-500': props.plain && props.outlined,
|
|
50
50
|
},
|
|
51
51
|
// Text Button
|
|
52
52
|
{ 'bg-transparent ring-transparent': props.text && !props.plain },
|
|
@@ -85,24 +85,24 @@ exports.default = {
|
|
|
85
85
|
!props.text &&
|
|
86
86
|
!props.outlined &&
|
|
87
87
|
!props.plain,
|
|
88
|
-
'bg-primary-
|
|
88
|
+
'bg-primary-700': (props.severity == null || props.severity === 'primary') &&
|
|
89
89
|
!props.text &&
|
|
90
90
|
!props.outlined &&
|
|
91
91
|
!props.plain,
|
|
92
|
-
'ring-1 ring-primary-
|
|
92
|
+
'ring-1 ring-primary-700': (props.severity == null || props.severity === 'primary') &&
|
|
93
93
|
!props.text &&
|
|
94
94
|
!props.outlined &&
|
|
95
95
|
!props.plain,
|
|
96
96
|
},
|
|
97
97
|
// Primary Blue Text Button
|
|
98
98
|
{
|
|
99
|
-
'text-primary-
|
|
99
|
+
'text-primary-700': props.text &&
|
|
100
100
|
(props.severity == null || props.severity === 'primary') &&
|
|
101
101
|
!props.plain,
|
|
102
102
|
},
|
|
103
103
|
// Primary Blue Outlined Button
|
|
104
104
|
{
|
|
105
|
-
'text-primary-
|
|
105
|
+
'text-primary-700 ring-1 ring-primary-700 hover:bg-primary-700/20': props.outlined &&
|
|
106
106
|
(props.severity == null || props.severity === 'primary') &&
|
|
107
107
|
!props.plain,
|
|
108
108
|
},
|
|
@@ -254,7 +254,7 @@ exports.default = {
|
|
|
254
254
|
},
|
|
255
255
|
// Text & Outlined Button
|
|
256
256
|
{
|
|
257
|
-
'hover:bg-primary-
|
|
257
|
+
'hover:bg-primary-700/20': props.plain && (props.text || props.outlined),
|
|
258
258
|
},
|
|
259
259
|
// Secondary
|
|
260
260
|
{
|
|
@@ -267,8 +267,8 @@ exports.default = {
|
|
|
267
267
|
},
|
|
268
268
|
// Primary
|
|
269
269
|
{
|
|
270
|
-
'hover:bg-primary-
|
|
271
|
-
'hover:shadow-hover active:!shadow-none hover:!bg-primary-
|
|
270
|
+
'hover:bg-primary-700/[8%] active:bg-primary-700/[12%] ': props.severity == null || props.severity === 'primary',
|
|
271
|
+
'hover:shadow-hover active:!shadow-none hover:!bg-primary-700/90 active:bg-primary-700/90 hover:ring-0': !props.link &&
|
|
272
272
|
(props.severity == null || props.severity === 'primary') &&
|
|
273
273
|
!props.text &&
|
|
274
274
|
!props.outlined &&
|
|
@@ -354,7 +354,7 @@ exports.default = {
|
|
|
354
354
|
!props.plain,
|
|
355
355
|
},
|
|
356
356
|
{
|
|
357
|
-
'focus:ring-primary-
|
|
357
|
+
'focus:ring-primary-700': props.severity === 'contrast',
|
|
358
358
|
},
|
|
359
359
|
// Text & Outlined Button
|
|
360
360
|
{
|
|
@@ -36,7 +36,7 @@ exports.default = {
|
|
|
36
36
|
'class': [
|
|
37
37
|
'flex items-center gap-1 transition-all shrink-0',
|
|
38
38
|
'py-[5px] px-3',
|
|
39
|
-
'ring-inset ring-1 ring-primary-
|
|
39
|
+
'ring-inset ring-1 ring-primary-700 rounded',
|
|
40
40
|
{ 'opacity-60': props.disabled, 'pointer-events-none': props.disabled },
|
|
41
41
|
],
|
|
42
42
|
'data-wv-section': 'dropdownmenu',
|
|
@@ -46,13 +46,13 @@ exports.default = {
|
|
|
46
46
|
var props = _a.props, state = _a.state;
|
|
47
47
|
return ({
|
|
48
48
|
class: [
|
|
49
|
-
'w-full h-full transition-transform !text-primary-
|
|
49
|
+
'w-full h-full transition-transform !text-primary-700 cursor-pointer',
|
|
50
50
|
'text-xs font-medium outline-none tracking-[0.02em] leading-4',
|
|
51
51
|
],
|
|
52
52
|
});
|
|
53
53
|
},
|
|
54
54
|
trigger: {
|
|
55
|
-
class: ['text-primary-
|
|
55
|
+
class: ['text-primary-700 [&_i]:w-4 [&_i]:h-4 shrink-0'],
|
|
56
56
|
},
|
|
57
57
|
item: function () { return ''; },
|
|
58
58
|
},
|
|
@@ -6,7 +6,7 @@ exports.default = {
|
|
|
6
6
|
return ({
|
|
7
7
|
'class': [
|
|
8
8
|
'rounded ring-1 ring-success-500 p-[5px] ring-inset',
|
|
9
|
-
'focus-within:ring-2 focus-within:ring-primary-
|
|
9
|
+
'focus-within:ring-2 focus-within:ring-primary-700 focus-within:outline-none',
|
|
10
10
|
'flex gap-1 items-center',
|
|
11
11
|
'text-success-500',
|
|
12
12
|
{ 'px-3': props.label },
|
|
@@ -6,7 +6,7 @@ declare namespace _default {
|
|
|
6
6
|
'bg-white': boolean;
|
|
7
7
|
'bg-general-50': boolean;
|
|
8
8
|
'ring-general-100': boolean;
|
|
9
|
-
'ring-primary-
|
|
9
|
+
'ring-primary-700': boolean;
|
|
10
10
|
'ring-general-200': any;
|
|
11
11
|
'!ring-danger-500'?: undefined;
|
|
12
12
|
} | {
|
|
@@ -14,7 +14,7 @@ declare namespace _default {
|
|
|
14
14
|
'bg-white'?: undefined;
|
|
15
15
|
'bg-general-50'?: undefined;
|
|
16
16
|
'ring-general-100'?: undefined;
|
|
17
|
-
'ring-primary-
|
|
17
|
+
'ring-primary-700'?: undefined;
|
|
18
18
|
'ring-general-200'?: undefined;
|
|
19
19
|
})[];
|
|
20
20
|
'data-wv-name': string;
|
|
@@ -24,14 +24,14 @@ declare namespace _default {
|
|
|
24
24
|
props: any;
|
|
25
25
|
}): {
|
|
26
26
|
class: (string | {
|
|
27
|
-
'bg-primary-
|
|
27
|
+
'bg-primary-700': boolean;
|
|
28
28
|
'bg-general-200': any;
|
|
29
29
|
'outline-none outline-offset-0'?: undefined;
|
|
30
30
|
'peer-focus-visible:ring-8 peer-focus-visible:ring-offset-2 peer-focus-visible:ring-primary-400/[8%]'?: undefined;
|
|
31
31
|
} | {
|
|
32
32
|
'outline-none outline-offset-0': boolean;
|
|
33
33
|
'peer-focus-visible:ring-8 peer-focus-visible:ring-offset-2 peer-focus-visible:ring-primary-400/[8%]': boolean;
|
|
34
|
-
'bg-primary-
|
|
34
|
+
'bg-primary-700'?: undefined;
|
|
35
35
|
'bg-general-200'?: undefined;
|
|
36
36
|
})[];
|
|
37
37
|
};
|
|
@@ -20,7 +20,7 @@ exports.default = {
|
|
|
20
20
|
'bg-white': !props.disabled || props.value == props.modelValue,
|
|
21
21
|
'bg-general-50': props.disabled && props.value != props.modelValue,
|
|
22
22
|
'ring-general-100': !props.disabled && props.value != props.modelValue,
|
|
23
|
-
'ring-primary-
|
|
23
|
+
'ring-primary-700': !props.disabled && props.value == props.modelValue,
|
|
24
24
|
'ring-general-200': props.disabled,
|
|
25
25
|
},
|
|
26
26
|
{
|
|
@@ -50,7 +50,7 @@ exports.default = {
|
|
|
50
50
|
'transition duration-200 ease-in-out',
|
|
51
51
|
// Colors
|
|
52
52
|
{
|
|
53
|
-
'bg-primary-
|
|
53
|
+
'bg-primary-700': props.value == props.modelValue &&
|
|
54
54
|
props.value !== undefined &&
|
|
55
55
|
!props.disabled,
|
|
56
56
|
'bg-general-200': props.value == props.modelValue &&
|
|
@@ -8,7 +8,7 @@ exports.default = {
|
|
|
8
8
|
'class': [
|
|
9
9
|
{ 'w-max': !context.showSearchInput },
|
|
10
10
|
'ring-1 ring-general-500 rounded p-[5px] ring-inset',
|
|
11
|
-
'focus-within:ring-2 focus-within:ring-primary-
|
|
11
|
+
'focus-within:ring-2 focus-within:ring-primary-700 focus-within:outline-none',
|
|
12
12
|
],
|
|
13
13
|
'data-wv-section': 'buttontrigger',
|
|
14
14
|
});
|
|
@@ -23,7 +23,7 @@ exports.default = {
|
|
|
23
23
|
return ({
|
|
24
24
|
'class': [
|
|
25
25
|
{ 'w-max': !context.showSearchInput },
|
|
26
|
-
'focus-within:ring-2 focus-within:ring-primary-
|
|
26
|
+
'focus-within:ring-2 focus-within:ring-primary-700 focus-within:outline-none rounded',
|
|
27
27
|
],
|
|
28
28
|
'data-wv-section': 'collapsebutton',
|
|
29
29
|
});
|
|
@@ -38,7 +38,7 @@ exports.default = {
|
|
|
38
38
|
return ({
|
|
39
39
|
'class': [
|
|
40
40
|
{ invisible: !query },
|
|
41
|
-
'focus-within:ring-2 focus-within:ring-primary-
|
|
41
|
+
'focus-within:ring-2 focus-within:ring-primary-700 focus-within:outline-none rounded',
|
|
42
42
|
],
|
|
43
43
|
'data-wv-section': 'resetbutton',
|
|
44
44
|
});
|
|
@@ -53,7 +53,7 @@ exports.default = {
|
|
|
53
53
|
{ show: context.showSearchInput },
|
|
54
54
|
'grid grid-cols-[max-content,auto,max-content] items-center gap-1',
|
|
55
55
|
'py-[5px] px-2 h-max max-w-[224px]',
|
|
56
|
-
'ring-inset ring-1 ring-general-500 rounded focus-within:outline-none focus-within:ring-primary-
|
|
56
|
+
'ring-inset ring-1 ring-general-500 rounded focus-within:outline-none focus-within:ring-primary-700 focus-within:ring-2',
|
|
57
57
|
],
|
|
58
58
|
'data-wv-section': 'form',
|
|
59
59
|
});
|
|
@@ -307,7 +307,7 @@ var preset = {
|
|
|
307
307
|
{
|
|
308
308
|
'bg-general-100': context.date.today && !context.selected,
|
|
309
309
|
'bg-primary-200 rounded-none': context.selected && !context.disabled,
|
|
310
|
-
'!rounded-full bg-primary-
|
|
310
|
+
'!rounded-full bg-primary-700 text-white': context.firstSelected || context.lastSelected,
|
|
311
311
|
},
|
|
312
312
|
{
|
|
313
313
|
'!rounded-full': !context.selected,
|
|
@@ -316,7 +316,7 @@ var preset = {
|
|
|
316
316
|
'focus:outline-none focus-visible:outline-none',
|
|
317
317
|
{
|
|
318
318
|
'hover:bg-primary-200/90': context.selected,
|
|
319
|
-
'hover:!bg-primary-
|
|
319
|
+
'hover:!bg-primary-700/90': context.lastSelected || context.firstSelected,
|
|
320
320
|
'hover:bg-general-50': !context.selected && !context.date.today,
|
|
321
321
|
'hover:bg-general-100/90': context.date.today,
|
|
322
322
|
},
|
|
@@ -121,7 +121,7 @@ exports.default = {
|
|
|
121
121
|
// Color & Background
|
|
122
122
|
{
|
|
123
123
|
'bg-surface-200 hover:bg-surface-300': !context.highlighted,
|
|
124
|
-
'bg-primary-
|
|
124
|
+
'bg-primary-700 hover:bg-primary-600': context.highlighted,
|
|
125
125
|
},
|
|
126
126
|
],
|
|
127
127
|
});
|
|
@@ -9,7 +9,7 @@ exports.default = {
|
|
|
9
9
|
buttonClass,
|
|
10
10
|
'w-max',
|
|
11
11
|
'rounded p-[5px] ring-inset',
|
|
12
|
-
'focus-within:ring-2 focus-within:ring-primary-
|
|
12
|
+
'focus-within:ring-2 focus-within:ring-primary-700 focus-within:outline-none',
|
|
13
13
|
(_b = {},
|
|
14
14
|
_b["ring-1 ring-".concat(props.severity === 'secondary' ? 'general' : props.severity, "-500")] = props.outlined && !props.text,
|
|
15
15
|
_b['ring-0'] = !props.outlined || props.text,
|