@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.
@@ -17,7 +17,7 @@ exports.default = {
17
17
  'flex-row-reverse': props.iconPos === 'right',
18
18
  },
19
19
  // Sizes & Spacing
20
- 'leading-none font-normal rounded',
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-normal text-xs',
382
+ 'font-medium text-xs',
383
383
  'leading-4 tracking-[0.02em]',
384
384
  {
385
385
  'hover:underline': props.link,
@@ -7,7 +7,7 @@ exports.default = {
7
7
  },
8
8
  tablewrapper: {
9
9
  'class': [
10
- 'overflow-auto relative scrollbar-w-thin',
10
+ 'overflow-auto relative scrollbar-w-thin pb-1',
11
11
  'rounded-lg rounded-br-none rounded-bl-none',
12
12
  ],
13
13
  'data-wv-section': 'tablewrapper',
@@ -130,7 +130,7 @@ exports.default = {
130
130
  return ({
131
131
  class: [
132
132
  // Font
133
- '!text-general-800 text-xs font-normal',
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
- let headericon: {
11
- class: string;
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: (string | {
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: { 'class': 'text-2xl', 'data-wv-section': '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-base leading-none font-semibold',
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: {