@fewangsit/wangsvue-presets 1.0.85-alpha.2 → 1.0.85-alpha.3
Sign up to get free protection for your applications and to get access to all the features.
- package/fixedasset/button/index.js +2 -2
- package/fixedasset/datatable/index.js +1 -1
- package/fixedasset/dialog/index.js +1 -1
- package/fixedasset/dialogconfirm/index.d.ts +7 -7
- package/fixedasset/dialogconfirm/index.js +11 -7
- package/fixedasset/index.system.js +2 -2
- package/fixedasset/paginator/index.js +1 -1
- package/fixedasset/style.css +9 -5
- package/fixedasset/validatormessage/index.js +1 -1
- package/package.json +1 -1
- package/wangsvue/datatable/index.js +1 -1
- package/wangsvue/dialogconfirm/index.d.ts +5 -2
- package/wangsvue/dialogconfirm/index.js +8 -1
- package/wangsvue/index.system.js +2 -2
- package/wangsvue/paginator/index.js +1 -1
- package/wangsvue/style.css +8 -4
@@ -17,7 +17,7 @@ exports.default = {
|
|
17
17
|
'flex-row-reverse': props.iconPos === 'right',
|
18
18
|
},
|
19
19
|
// Sizes & Spacing
|
20
|
-
'leading-none font-
|
20
|
+
'leading-none font-medium rounded',
|
21
21
|
{
|
22
22
|
'!text-xs px-3 py-[5px]': props.size === null && props.label,
|
23
23
|
'!text-xs !p-0.5': props.size === 'small',
|
@@ -379,7 +379,7 @@ exports.default = {
|
|
379
379
|
return ({
|
380
380
|
class: [
|
381
381
|
'duration-200',
|
382
|
-
'font-
|
382
|
+
'font-medium text-xs',
|
383
383
|
'leading-4 tracking-[0.02em]',
|
384
384
|
{
|
385
385
|
'hover:underline': props.link,
|
@@ -130,7 +130,7 @@ exports.default = {
|
|
130
130
|
return ({
|
131
131
|
class: [
|
132
132
|
// Font
|
133
|
-
'!text-general-800 text-xs font-
|
133
|
+
'!text-general-800 text-xs font-medium tracking-[0.02em]',
|
134
134
|
'pr-1.5 -mr-1.5 pl-1.5 -ml-1.5 pt-1.5 -mt-1.5 !pb-1.5 -mb-1.5',
|
135
135
|
// Layout
|
136
136
|
'flex flex-col gap-3',
|
@@ -7,19 +7,19 @@ declare namespace _default {
|
|
7
7
|
let header: {
|
8
8
|
'data-wv-section': string;
|
9
9
|
};
|
10
|
-
|
11
|
-
|
10
|
+
function headericon({ props }: {
|
11
|
+
props: any;
|
12
|
+
}): {
|
13
|
+
class: string[];
|
14
|
+
icon: string;
|
12
15
|
'data-wv-section': string;
|
13
16
|
};
|
14
17
|
function headertitle(severity: any): {
|
15
|
-
class:
|
16
|
-
'text-success-700': boolean;
|
17
|
-
'text-danger-700': boolean;
|
18
|
-
})[];
|
18
|
+
class: string[];
|
19
19
|
'data-wv-section': string;
|
20
20
|
};
|
21
21
|
let content: {
|
22
|
-
class: string;
|
22
|
+
class: string[];
|
23
23
|
'data-wv-section': string;
|
24
24
|
};
|
25
25
|
let list: {
|
@@ -11,19 +11,23 @@ exports.default = {
|
|
11
11
|
header: {
|
12
12
|
'data-wv-section': 'dialog-confirm-header',
|
13
13
|
},
|
14
|
-
headericon:
|
14
|
+
headericon: function (_a) {
|
15
|
+
var props = _a.props;
|
16
|
+
return ({
|
17
|
+
'class': ['text-2xl'],
|
18
|
+
'icon': props.severity === 'danger' ? 'error' : 'checkbox-circle',
|
19
|
+
'data-wv-section': 'headericon',
|
20
|
+
});
|
21
|
+
},
|
15
22
|
headertitle: function (severity) { return ({
|
16
23
|
'class': [
|
17
|
-
'text-
|
18
|
-
|
19
|
-
'text-success-700': severity === 'success',
|
20
|
-
'text-danger-700': severity === 'danger',
|
21
|
-
},
|
24
|
+
'text-[14px] leading-6 !font-bold tracking-[0.02em]',
|
25
|
+
'text-general-800',
|
22
26
|
],
|
23
27
|
'data-wv-section': 'dialog-confirm-title',
|
24
28
|
}); },
|
25
29
|
content: {
|
26
|
-
'class': '[&_ul]:list-inside [&_ul]:list-disc [&_ul_li]:pl-[6px]',
|
30
|
+
'class': ['[&_ul]:list-inside [&_ul]:list-disc [&_ul_li]:pl-[6px]'],
|
27
31
|
'data-wv-section': 'dialog-confirm-content',
|
28
32
|
},
|
29
33
|
list: {
|