@fewangsit/wangsvue-presets 1.0.88 → 1.0.89-alpha.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -8,9 +8,9 @@ declare namespace _default {
8
8
  context: any;
9
9
  }): {
10
10
  class: (string | {
11
- 'bg-surface-0': boolean;
11
+ 'bg-white': boolean;
12
12
  'text-primary-500': boolean;
13
- 'text-surface-0': any;
13
+ 'text-white': any;
14
14
  'bg-primary-500': any;
15
15
  'focus:bg-primary-50 '?: undefined;
16
16
  'hover:bg-primary-50 '?: undefined;
@@ -21,9 +21,9 @@ declare namespace _default {
21
21
  'hover:bg-primary-50 ': boolean;
22
22
  'focus:bg-primary-600': any;
23
23
  'hover:bg-primary-600': any;
24
- 'bg-surface-0'?: undefined;
24
+ 'bg-white'?: undefined;
25
25
  'text-primary-500'?: undefined;
26
- 'text-surface-0'?: undefined;
26
+ 'text-white'?: undefined;
27
27
  'bg-primary-500'?: undefined;
28
28
  })[];
29
29
  };
@@ -19,7 +19,7 @@ exports.default = {
19
19
  class: [
20
20
  'relative',
21
21
  // Font
22
- 'text-body-medium',
22
+ 'text-xs',
23
23
  // Flex Alignment
24
24
  'inline-flex items-center align-bottom text-center',
25
25
  // Spacing
@@ -30,9 +30,9 @@ exports.default = {
30
30
  'last:!rounded-t-none last:!rounded-b ',
31
31
  // Color
32
32
  {
33
- 'bg-surface-0': !context.active,
33
+ 'bg-white': !context.active,
34
34
  'text-primary-500': !context.active,
35
- 'text-surface-0': context.active,
35
+ 'text-white': context.active,
36
36
  'bg-primary-500': context.active,
37
37
  },
38
38
  // States
@@ -43,10 +43,6 @@ exports.default = {
43
43
  'focus:bg-primary-600': context.active,
44
44
  'hover:bg-primary-600': context.active,
45
45
  },
46
- // {
47
- // 'opacity-60 select-none pointer-events-none cursor-default':
48
- // context.disabled,
49
- // },
50
46
  // Transition
51
47
  'transition duration-200',
52
48
  // Misc
@@ -55,6 +51,6 @@ exports.default = {
55
51
  });
56
52
  },
57
53
  label: {
58
- class: 'font-semibold',
54
+ class: 'font-normal',
59
55
  },
60
56
  };
@@ -1571,10 +1571,6 @@
1571
1571
  min-height: 15rem;
1572
1572
  }
1573
1573
 
1574
- .min-h-\[26\.8px\]{
1575
- min-height: 26.8px;
1576
- }
1577
-
1578
1574
  .min-h-\[26px\]{
1579
1575
  min-height: 26px;
1580
1576
  }
@@ -1603,10 +1599,6 @@
1603
1599
  width: 10px !important;
1604
1600
  }
1605
1601
 
1606
- .\!w-\[272px\]{
1607
- width: 272px !important;
1608
- }
1609
-
1610
1602
  .\!w-\[clamp\(360px\2c 75vw\2c 400px\)\]{
1611
1603
  width: clamp(360px,75vw,400px) !important;
1612
1604
  }
@@ -1719,6 +1711,10 @@
1719
1711
  width: 224px;
1720
1712
  }
1721
1713
 
1714
+ .w-\[272px\]{
1715
+ width: 272px;
1716
+ }
1717
+
1722
1718
  .w-\[2px\]{
1723
1719
  width: 2px;
1724
1720
  }
@@ -1735,6 +1731,10 @@
1735
1731
  width: 35px;
1736
1732
  }
1737
1733
 
1734
+ .w-\[39px\]{
1735
+ width: 39px;
1736
+ }
1737
+
1738
1738
  .w-\[400px\]{
1739
1739
  width: 400px;
1740
1740
  }
@@ -1833,14 +1833,6 @@
1833
1833
  min-width: 70px;
1834
1834
  }
1835
1835
 
1836
- .min-w-\[80vw\]{
1837
- min-width: 80vw;
1838
- }
1839
-
1840
- .min-w-full{
1841
- min-width: 100%;
1842
- }
1843
-
1844
1836
  .min-w-max{
1845
1837
  min-width: -moz-max-content;
1846
1838
  min-width: max-content;
@@ -2198,10 +2190,6 @@
2198
2190
  grid-template-columns: max-content auto;
2199
2191
  }
2200
2192
 
2201
- .grid-rows-4{
2202
- grid-template-rows: repeat(4, minmax(0, 1fr));
2203
- }
2204
-
2205
2193
  .grid-rows-5{
2206
2194
  grid-template-rows: repeat(5, minmax(0, 1fr));
2207
2195
  }
@@ -2541,11 +2529,6 @@
2541
2529
  border-bottom-left-radius: 9999px;
2542
2530
  }
2543
2531
 
2544
- .rounded-l-md{
2545
- border-top-left-radius: 0.375rem;
2546
- border-bottom-left-radius: 0.375rem;
2547
- }
2548
-
2549
2532
  .rounded-l-none{
2550
2533
  border-top-left-radius: 0px;
2551
2534
  border-bottom-left-radius: 0px;
@@ -2556,6 +2539,11 @@
2556
2539
  border-bottom-right-radius: 0.25rem;
2557
2540
  }
2558
2541
 
2542
+ .rounded-r-full{
2543
+ border-top-right-radius: 9999px;
2544
+ border-bottom-right-radius: 9999px;
2545
+ }
2546
+
2559
2547
  .rounded-r-md{
2560
2548
  border-top-right-radius: 0.375rem;
2561
2549
  border-bottom-right-radius: 0.375rem;
@@ -2871,6 +2859,10 @@
2871
2859
  background-color: rgb(0 99 247 / var(--tw-bg-opacity)) !important;
2872
2860
  }
2873
2861
 
2862
+ .\!bg-primary-500\/90{
2863
+ background-color: rgb(0 99 247 / 0.9) !important;
2864
+ }
2865
+
2874
2866
  .\!bg-success-500{
2875
2867
  --tw-bg-opacity: 1 !important;
2876
2868
  background-color: rgb(0 164 85 / var(--tw-bg-opacity)) !important;
@@ -2937,6 +2929,10 @@
2937
2929
  background-color: rgb(218 217 227 / var(--tw-bg-opacity));
2938
2930
  }
2939
2931
 
2932
+ .bg-general-100\/90{
2933
+ background-color: rgb(218 217 227 / 0.9);
2934
+ }
2935
+
2940
2936
  .bg-general-200{
2941
2937
  --tw-bg-opacity: 1;
2942
2938
  background-color: rgb(181 179 199 / var(--tw-bg-opacity));
@@ -3031,11 +3027,19 @@
3031
3027
  background-color: rgb(204 224 255 / var(--tw-bg-opacity));
3032
3028
  }
3033
3029
 
3030
+ .bg-primary-100\/90{
3031
+ background-color: rgb(204 224 255 / 0.9);
3032
+ }
3033
+
3034
3034
  .bg-primary-200{
3035
3035
  --tw-bg-opacity: 1;
3036
3036
  background-color: rgb(148 191 255 / var(--tw-bg-opacity));
3037
3037
  }
3038
3038
 
3039
+ .bg-primary-200\/90{
3040
+ background-color: rgb(148 191 255 / 0.9);
3041
+ }
3042
+
3039
3043
  .bg-primary-300{
3040
3044
  --tw-bg-opacity: 1;
3041
3045
  background-color: rgb(97 160 255 / var(--tw-bg-opacity));
@@ -3435,10 +3439,6 @@
3435
3439
  padding-bottom: 0.625rem;
3436
3440
  }
3437
3441
 
3438
- .pb-4{
3439
- padding-bottom: 1rem;
3440
- }
3441
-
3442
3442
  .pb-6{
3443
3443
  padding-bottom: 1.5rem;
3444
3444
  }
@@ -3451,10 +3451,6 @@
3451
3451
  padding-left: 0px;
3452
3452
  }
3453
3453
 
3454
- .pl-0\.5{
3455
- padding-left: 0.125rem;
3456
- }
3457
-
3458
3454
  .pl-1{
3459
3455
  padding-left: 0.25rem;
3460
3456
  }
@@ -3487,10 +3483,6 @@
3487
3483
  padding-right: 0px;
3488
3484
  }
3489
3485
 
3490
- .pr-0\.5{
3491
- padding-right: 0.125rem;
3492
- }
3493
-
3494
3486
  .pr-1{
3495
3487
  padding-right: 0.25rem;
3496
3488
  }
@@ -3519,10 +3511,6 @@
3519
3511
  padding-right: 1.75rem;
3520
3512
  }
3521
3513
 
3522
- .pr-9{
3523
- padding-right: 2.25rem;
3524
- }
3525
-
3526
3514
  .pr-\[12px\]{
3527
3515
  padding-right: 12px;
3528
3516
  }
@@ -4988,14 +4976,6 @@ h6,
4988
4976
  border-top-left-radius: 0.25rem;
4989
4977
  }
4990
4978
 
4991
- .first\:border-l-0:first-child{
4992
- border-left-width: 0px;
4993
- }
4994
-
4995
- .first\:pl-0:first-child{
4996
- padding-left: 0px;
4997
- }
4998
-
4999
4979
  .last\:col-span-3:last-child{
5000
4980
  grid-column: span 3 / span 3;
5001
4981
  }
@@ -5159,6 +5139,10 @@ h6,
5159
5139
  background-color: rgb(255 0 34 / 8%);
5160
5140
  }
5161
5141
 
5142
+ .hover\:bg-general-100\/90:hover{
5143
+ background-color: rgb(218 217 227 / 0.9);
5144
+ }
5145
+
5162
5146
  .hover\:bg-general-50:hover{
5163
5147
  --tw-bg-opacity: 1;
5164
5148
  background-color: rgb(235 234 240 / var(--tw-bg-opacity));
@@ -5211,9 +5195,12 @@ h6,
5211
5195
  background-color: rgb(204 224 255 / var(--tw-bg-opacity));
5212
5196
  }
5213
5197
 
5214
- .hover\:bg-primary-200:hover{
5215
- --tw-bg-opacity: 1;
5216
- background-color: rgb(148 191 255 / var(--tw-bg-opacity));
5198
+ .hover\:bg-primary-100\/90:hover{
5199
+ background-color: rgb(204 224 255 / 0.9);
5200
+ }
5201
+
5202
+ .hover\:bg-primary-200\/90:hover{
5203
+ background-color: rgb(148 191 255 / 0.9);
5217
5204
  }
5218
5205
 
5219
5206
  .hover\:bg-primary-300:hover{
@@ -5317,11 +5304,6 @@ h6,
5317
5304
  color: rgb(78 75 102 / var(--tw-text-opacity));
5318
5305
  }
5319
5306
 
5320
- .hover\:text-grayscale-900:hover{
5321
- --tw-text-opacity: 1;
5322
- color: rgb(38 38 39 / var(--tw-text-opacity));
5323
- }
5324
-
5325
5307
  .hover\:text-primary-400:hover{
5326
5308
  --tw-text-opacity: 1;
5327
5309
  color: rgb(46 130 255 / var(--tw-text-opacity));
@@ -5752,9 +5734,9 @@ h6,
5752
5734
  --tw-ring-offset-width: 0px;
5753
5735
  }
5754
5736
 
5755
- .peer:disabled ~ .peer-disabled\:bg-general-300{
5756
- --tw-bg-opacity: 1;
5757
- background-color: rgb(144 140 171 / var(--tw-bg-opacity));
5737
+ .peer:disabled ~ .peer-disabled\:text-general-300{
5738
+ --tw-text-opacity: 1;
5739
+ color: rgb(144 140 171 / var(--tw-text-opacity));
5758
5740
  }
5759
5741
 
5760
5742
  .has-\[\.mask-active\]\:bg-transparent:has(.mask-active){
@@ -6131,22 +6113,10 @@ h6,
6131
6113
  height: 1rem;
6132
6114
  }
6133
6115
 
6134
- .\[\&_i\]\:h-5 i{
6135
- height: 1.25rem;
6136
- }
6137
-
6138
6116
  .\[\&_i\]\:w-4 i{
6139
6117
  width: 1rem;
6140
6118
  }
6141
6119
 
6142
- .\[\&_i\]\:w-5 i{
6143
- width: 1.25rem;
6144
- }
6145
-
6146
- .\[\&_i\]\:shrink-0 i{
6147
- flex-shrink: 0;
6148
- }
6149
-
6150
6120
  .\[\&_i\]\:bg-transparent i{
6151
6121
  background-color: transparent;
6152
6122
  }
@@ -6168,39 +6138,6 @@ h6,
6168
6138
  cursor: grab;
6169
6139
  }
6170
6140
 
6171
- .\[\&_span\]\:flex span{
6172
- display: flex;
6173
- }
6174
-
6175
- .\[\&_span\]\:h-\[26px\] span{
6176
- height: 26px;
6177
- }
6178
-
6179
- .\[\&_span\]\:w-\[37px\] span{
6180
- width: 37px;
6181
- }
6182
-
6183
- .\[\&_span\]\:items-center span{
6184
- align-items: center;
6185
- }
6186
-
6187
- .\[\&_span\]\:justify-center span{
6188
- justify-content: center;
6189
- }
6190
-
6191
- .\[\&_span\]\:rounded span{
6192
- border-radius: 0.25rem;
6193
- }
6194
-
6195
- .\[\&_span\]\:border span{
6196
- border-width: 1px;
6197
- }
6198
-
6199
- .\[\&_span\]\:border-general-200 span{
6200
- --tw-border-opacity: 1;
6201
- border-color: rgb(181 179 199 / var(--tw-border-opacity));
6202
- }
6203
-
6204
6141
  .\[\&_tbody\]\:block tbody{
6205
6142
  display: block;
6206
6143
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fewangsit/wangsvue-presets",
3
- "version": "1.0.88",
3
+ "version": "1.0.89-alpha.1",
4
4
  "author": "Wangsit FE Developer",
5
5
  "description": "Wangsit VueJS Component Library Presets",
6
6
  "main": "index.js",
@@ -1,267 +1,3 @@
1
- declare namespace _default {
2
- function root({ props }: {
3
- props: any;
4
- }): {
5
- class: (string | {
6
- 'select-none pointer-events-none cursor-default': any;
7
- })[];
8
- };
9
- function input({ props }: {
10
- props: any;
11
- }): {
12
- class: string[];
13
- };
14
- namespace inputicon {
15
- let _class: string[];
16
- export { _class as class };
17
- }
18
- namespace dropdownbutton {
19
- export namespace root_1 {
20
- let _class_1: string[];
21
- export { _class_1 as class };
22
- }
23
- export { root_1 as root };
24
- }
25
- function panel({ props }: {
26
- props: any;
27
- }): {
28
- class: (string | {
29
- absolute: boolean;
30
- 'inline-block': any;
31
- 'min-w-[80vw] w-auto p-2 '?: undefined;
32
- 'p-2 min-w-full'?: undefined;
33
- 'overflow-x-auto'?: undefined;
34
- } | {
35
- 'min-w-[80vw] w-auto p-2 ': any;
36
- absolute?: undefined;
37
- 'inline-block'?: undefined;
38
- 'p-2 min-w-full'?: undefined;
39
- 'overflow-x-auto'?: undefined;
40
- } | {
41
- 'p-2 min-w-full': any;
42
- absolute?: undefined;
43
- 'inline-block'?: undefined;
44
- 'min-w-[80vw] w-auto p-2 '?: undefined;
45
- 'overflow-x-auto'?: undefined;
46
- } | {
47
- 'overflow-x-auto': any;
48
- absolute?: undefined;
49
- 'inline-block'?: undefined;
50
- 'min-w-[80vw] w-auto p-2 '?: undefined;
51
- 'p-2 min-w-full'?: undefined;
52
- })[];
53
- };
54
- namespace datepickerMask {
55
- let _class_2: string[];
56
- export { _class_2 as class };
57
- }
58
- function header({ props, state }: {
59
- props: any;
60
- state: any;
61
- }): {
62
- class: (string | {
63
- hidden: boolean;
64
- })[];
65
- };
66
- function previousbutton({ props }: {
67
- props: any;
68
- }): {
69
- class: string[];
70
- };
71
- function title({ props }: {
72
- props: any;
73
- }): {
74
- class: string[];
75
- };
76
- namespace monthTitle {
77
- let _class_3: string[];
78
- export { _class_3 as class };
79
- }
80
- function yearTitle({ props }: {
81
- props: any;
82
- }): {
83
- class: (string | {
84
- hidden: boolean;
85
- })[];
86
- };
87
- function nextbutton({ props }: {
88
- props: any;
89
- }): {
90
- class: string[];
91
- };
92
- namespace table {
93
- let _class_4: string[];
94
- export { _class_4 as class };
95
- }
96
- namespace tableheadercell {
97
- let _class_5: string[];
98
- export { _class_5 as class };
99
- }
100
- namespace tablebodyrow {
101
- let _class_6: any[];
102
- export { _class_6 as class };
103
- }
104
- namespace weekheader {
105
- let _class_7: string[];
106
- export { _class_7 as class };
107
- }
108
- namespace weeknumber {
109
- let _class_8: string[];
110
- export { _class_8 as class };
111
- }
112
- namespace weekday {
113
- let _class_9: any[];
114
- export { _class_9 as class };
115
- }
116
- namespace day {
117
- let _class_10: string[];
118
- export { _class_10 as class };
119
- }
120
- function weeklabelcontainer({ context }: {
121
- context: any;
122
- }): {
123
- class: (string | {
124
- 'text-surface-600/70 bg-transparent': boolean;
125
- 'text-primary-400 ': boolean;
126
- 'hover:bg-surface-100'?: undefined;
127
- 'opacity-40 cursor-default'?: undefined;
128
- 'cursor-pointer'?: undefined;
129
- } | {
130
- 'hover:bg-surface-100': boolean;
131
- 'text-surface-600/70 bg-transparent'?: undefined;
132
- 'text-primary-400 '?: undefined;
133
- 'opacity-40 cursor-default'?: undefined;
134
- 'cursor-pointer'?: undefined;
135
- } | {
136
- 'opacity-40 cursor-default': any;
137
- 'cursor-pointer': boolean;
138
- 'text-surface-600/70 bg-transparent'?: undefined;
139
- 'text-primary-400 '?: undefined;
140
- 'hover:bg-surface-100'?: undefined;
141
- })[];
142
- };
143
- function daylabel({ context }: {
144
- context: any;
145
- }): {
146
- class: (string | {
147
- 'bg-primary-400 text-white rounded-none': any;
148
- '!rounded-full'?: undefined;
149
- 'hover:bg-primary-400/90'?: undefined;
150
- 'hover:bg-primary-200'?: undefined;
151
- 'opacity-40 cursor-default'?: undefined;
152
- 'cursor-pointer'?: undefined;
153
- } | {
154
- '!rounded-full': boolean;
155
- 'bg-primary-400 text-white rounded-none'?: undefined;
156
- 'hover:bg-primary-400/90'?: undefined;
157
- 'hover:bg-primary-200'?: undefined;
158
- 'opacity-40 cursor-default'?: undefined;
159
- 'cursor-pointer'?: undefined;
160
- } | {
161
- 'hover:bg-primary-400/90': any;
162
- 'hover:bg-primary-200': boolean;
163
- 'bg-primary-400 text-white rounded-none'?: undefined;
164
- '!rounded-full'?: undefined;
165
- 'opacity-40 cursor-default'?: undefined;
166
- 'cursor-pointer'?: undefined;
167
- } | {
168
- 'opacity-40 cursor-default': any;
169
- 'cursor-pointer': boolean;
170
- 'bg-primary-400 text-white rounded-none'?: undefined;
171
- '!rounded-full'?: undefined;
172
- 'hover:bg-primary-400/90'?: undefined;
173
- 'hover:bg-primary-200'?: undefined;
174
- })[];
175
- };
176
- namespace monthpicker {
177
- let _class_11: string[];
178
- export { _class_11 as class };
179
- }
180
- function month({ context }: {
181
- context: any;
182
- }): {
183
- class: (string | {
184
- 'text-grayscale-900 bg-transparent': boolean;
185
- 'bg-primary-400 text-white': boolean;
186
- })[];
187
- 'data-month-in-future': boolean;
188
- };
189
- namespace yearpicker {
190
- let _class_12: string[];
191
- export { _class_12 as class };
192
- }
193
- function year({ context }: {
194
- context: any;
195
- }): {
196
- class: (string | {
197
- 'text-grayscale-900 bg-transparent': boolean;
198
- 'bg-primary-400 text-white': boolean;
199
- })[];
200
- 'data-year-in-future': boolean;
201
- };
202
- namespace timepicker {
203
- let _class_13: string[];
204
- export { _class_13 as class };
205
- }
206
- namespace separatorcontainer {
207
- let _class_14: string[];
208
- export { _class_14 as class };
209
- }
210
- namespace separator {
211
- let _class_15: string[];
212
- export { _class_15 as class };
213
- }
214
- namespace hourpicker {
215
- let _class_16: string[];
216
- export { _class_16 as class };
217
- }
218
- namespace minutepicker {
219
- let _class_17: string[];
220
- export { _class_17 as class };
221
- }
222
- namespace secondPicker {
223
- let _class_18: string[];
224
- export { _class_18 as class };
225
- }
226
- namespace incrementbutton {
227
- let _class_19: string[];
228
- export { _class_19 as class };
229
- }
230
- namespace decrementbutton {
231
- let _class_20: string[];
232
- export { _class_20 as class };
233
- }
234
- namespace groupcontainer {
235
- let _class_21: string[];
236
- export { _class_21 as class };
237
- }
238
- namespace group {
239
- let _class_22: string[];
240
- export { _class_22 as class };
241
- }
242
- namespace buttonbar {
243
- let _class_23: string[];
244
- export { _class_23 as class };
245
- }
246
- namespace todaybutton {
247
- export namespace root_2 {
248
- let _class_24: string[];
249
- export { _class_24 as class };
250
- }
251
- export { root_2 as root };
252
- }
253
- namespace clearbutton {
254
- export namespace root_3 {
255
- let _class_25: string[];
256
- export { _class_25 as class };
257
- }
258
- export { root_3 as root };
259
- }
260
- namespace transition {
261
- let enterFromClass: string;
262
- let enterActiveClass: string;
263
- let leaveActiveClass: string;
264
- let leaveToClass: string;
265
- }
266
- }
267
- export default _default;
1
+ import { CalendarPresetOptions } from 'lib/components/calendar/Calendar.vue.d';
2
+ declare const preset: CalendarPresetOptions;
3
+ export default preset;