@fewangsit/wangsvue-presets 1.0.85-alpha.2 → 1.0.85-alpha.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. package/fixedasset/button/index.d.ts +1 -1
  2. package/fixedasset/button/index.js +14 -10
  3. package/fixedasset/checkbox/index.d.ts +25 -16
  4. package/fixedasset/checkbox/index.js +18 -4
  5. package/fixedasset/customColumn/index.d.ts +28 -0
  6. package/fixedasset/customColumn/index.js +33 -0
  7. package/fixedasset/datatable/index.d.ts +29 -28
  8. package/fixedasset/datatable/index.js +21 -19
  9. package/fixedasset/dialog/index.js +1 -1
  10. package/fixedasset/dialogconfirm/index.d.ts +7 -7
  11. package/fixedasset/dialogconfirm/index.js +11 -7
  12. package/fixedasset/index.d.ts +2 -0
  13. package/fixedasset/index.js +132 -130
  14. package/fixedasset/index.system.js +2 -2
  15. package/fixedasset/menu/index.js +0 -1
  16. package/fixedasset/multiselect/index.d.ts +24 -16
  17. package/fixedasset/multiselect/index.js +1 -6
  18. package/fixedasset/paginator/index.js +1 -1
  19. package/fixedasset/style.css +97 -15
  20. package/fixedasset/validatormessage/index.js +1 -1
  21. package/package.json +1 -1
  22. package/wangsvue/button/index.d.ts +1 -1
  23. package/wangsvue/button/index.js +1 -1
  24. package/wangsvue/checkbox/index.d.ts +9 -0
  25. package/wangsvue/checkbox/index.js +23 -9
  26. package/wangsvue/customcolumn/index.d.ts +28 -0
  27. package/wangsvue/customcolumn/index.js +33 -0
  28. package/wangsvue/datatable/index.d.ts +2 -1
  29. package/wangsvue/datatable/index.js +3 -2
  30. package/wangsvue/dialogconfirm/index.d.ts +5 -2
  31. package/wangsvue/dialogconfirm/index.js +8 -1
  32. package/wangsvue/index.d.ts +2 -0
  33. package/wangsvue/index.js +2 -0
  34. package/wangsvue/index.system.js +2 -2
  35. package/wangsvue/multiselect/index.d.ts +8 -0
  36. package/wangsvue/paginator/index.js +1 -1
  37. package/wangsvue/style.css +96 -14
@@ -22,7 +22,7 @@ declare namespace _default {
22
22
  props: any;
23
23
  }): {
24
24
  class: (string | {
25
- '!h-[11px] !w-[11px]': boolean;
25
+ '!h-3 !w-3': boolean;
26
26
  })[];
27
27
  };
28
28
  function loadingIcon({ props }: {
@@ -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',
@@ -81,26 +81,30 @@ exports.default = {
81
81
  },
82
82
  // Primary Blue Button
83
83
  {
84
- 'text-white': props.severity === null &&
84
+ 'text-white': (props.severity == null || props.severity === 'primary') &&
85
85
  !props.text &&
86
86
  !props.outlined &&
87
87
  !props.plain,
88
- 'bg-primary-500': props.severity === null &&
88
+ 'bg-primary-500': (props.severity == null || props.severity === 'primary') &&
89
89
  !props.text &&
90
90
  !props.outlined &&
91
91
  !props.plain,
92
- 'ring-1 ring-primary-500': props.severity === null &&
92
+ 'ring-1 ring-primary-500': (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-500': props.text && props.severity === null && !props.plain,
99
+ 'text-primary-500': props.text &&
100
+ (props.severity == null || props.severity === 'primary') &&
101
+ !props.plain,
100
102
  },
101
103
  // Primary Blue Outlined Button
102
104
  {
103
- 'text-primary-500 ring-1 ring-primary-500 hover:bg-primary-500/20': props.outlined && props.severity === null && !props.plain,
105
+ 'text-primary-500 ring-1 ring-primary-500 hover:bg-primary-500/20': props.outlined &&
106
+ (props.severity == null || props.severity === 'primary') &&
107
+ !props.plain,
104
108
  },
105
109
  // Success Button
106
110
  {
@@ -263,9 +267,9 @@ exports.default = {
263
267
  },
264
268
  // Primary
265
269
  {
266
- 'hover:bg-primary-500/[8%] active:bg-primary-500/[12%] ': props.severity === null,
270
+ 'hover:bg-primary-500/[8%] active:bg-primary-500/[12%] ': props.severity == null || props.severity === 'primary',
267
271
  'hover:shadow-hover active:!shadow-none hover:!bg-primary-500/90 active:bg-primary-500/90 hover:ring-0': !props.link &&
268
- props.severity === null &&
272
+ (props.severity == null || props.severity === 'primary') &&
269
273
  !props.text &&
270
274
  !props.outlined &&
271
275
  !context.disabled &&
@@ -379,7 +383,7 @@ exports.default = {
379
383
  return ({
380
384
  class: [
381
385
  'duration-200',
382
- 'font-normal text-xs',
386
+ 'font-medium text-xs',
383
387
  'leading-4 tracking-[0.02em]',
384
388
  {
385
389
  'hover:underline': props.link,
@@ -391,7 +395,7 @@ exports.default = {
391
395
  icon: function (_a) {
392
396
  var props = _a.props;
393
397
  return ({
394
- class: ['shrink-0', { '!h-[11px] !w-[11px]': props.size === 'small' }],
398
+ class: ['shrink-0', { '!h-3 !w-3': props.size === 'small' }],
395
399
  });
396
400
  },
397
401
  loadingIcon: function (_a) {
@@ -8,12 +8,12 @@ declare namespace _default {
8
8
  context: any;
9
9
  }): {
10
10
  class: (string | {
11
- 'border-general-300': any;
12
- 'border-grayscale-900': boolean;
11
+ 'border-general-200': any;
12
+ 'border-general-100': boolean;
13
13
  'bg-white': boolean;
14
14
  'bg-general-50': any;
15
- 'bg-grayscale-900': boolean;
16
- 'bg-general-300': any;
15
+ 'bg-primary-500 border-primary-500': boolean;
16
+ 'bg-general-200': any;
17
17
  'ring-8 ring-primary-400/[12%]'?: undefined;
18
18
  'peer-focus-visible:ring-8 peer-focus-visible:ring-offset-0 peer-focus-visible:ring-primary-400/[8%]'?: undefined;
19
19
  'peer-active:ring-8 peer-active:ring-offset-0 peer-active:ring-primary-400/[12%]'?: undefined;
@@ -24,12 +24,12 @@ declare namespace _default {
24
24
  '[&_i]:text-transparent'?: undefined;
25
25
  } | {
26
26
  'ring-8 ring-primary-400/[12%]': any;
27
- 'border-general-300'?: undefined;
28
- 'border-grayscale-900'?: undefined;
27
+ 'border-general-200'?: undefined;
28
+ 'border-general-100'?: undefined;
29
29
  'bg-white'?: undefined;
30
30
  'bg-general-50'?: undefined;
31
- 'bg-grayscale-900'?: undefined;
32
- 'bg-general-300'?: undefined;
31
+ 'bg-primary-500 border-primary-500'?: undefined;
32
+ 'bg-general-200'?: undefined;
33
33
  'peer-focus-visible:ring-8 peer-focus-visible:ring-offset-0 peer-focus-visible:ring-primary-400/[8%]'?: undefined;
34
34
  'peer-active:ring-8 peer-active:ring-offset-0 peer-active:ring-primary-400/[12%]'?: undefined;
35
35
  'cursor-default bg-general-50 border-general-200'?: undefined;
@@ -42,12 +42,12 @@ declare namespace _default {
42
42
  'peer-active:ring-8 peer-active:ring-offset-0 peer-active:ring-primary-400/[12%]': boolean;
43
43
  'cursor-default bg-general-50 border-general-200': boolean;
44
44
  'bg-general-200 border-general-200': any;
45
- 'border-general-300'?: undefined;
46
- 'border-grayscale-900'?: undefined;
45
+ 'border-general-200'?: undefined;
46
+ 'border-general-100'?: undefined;
47
47
  'bg-white'?: undefined;
48
48
  'bg-general-50'?: undefined;
49
- 'bg-grayscale-900'?: undefined;
50
- 'bg-general-300'?: undefined;
49
+ 'bg-primary-500 border-primary-500'?: undefined;
50
+ 'bg-general-200'?: undefined;
51
51
  'ring-8 ring-primary-400/[12%]'?: undefined;
52
52
  '[&_i]:bg-transparent'?: undefined;
53
53
  '[&_i]:text-white'?: undefined;
@@ -56,12 +56,12 @@ declare namespace _default {
56
56
  '[&_i]:bg-transparent': boolean;
57
57
  '[&_i]:text-white': any;
58
58
  '[&_i]:text-transparent': boolean;
59
- 'border-general-300'?: undefined;
60
- 'border-grayscale-900'?: undefined;
59
+ 'border-general-200'?: undefined;
60
+ 'border-general-100'?: undefined;
61
61
  'bg-white'?: undefined;
62
62
  'bg-general-50'?: undefined;
63
- 'bg-grayscale-900'?: undefined;
64
- 'bg-general-300'?: undefined;
63
+ 'bg-primary-500 border-primary-500'?: undefined;
64
+ 'bg-general-200'?: undefined;
65
65
  'ring-8 ring-primary-400/[12%]'?: undefined;
66
66
  'peer-focus-visible:ring-8 peer-focus-visible:ring-offset-0 peer-focus-visible:ring-primary-400/[8%]'?: undefined;
67
67
  'peer-active:ring-8 peer-active:ring-offset-0 peer-active:ring-primary-400/[12%]'?: undefined;
@@ -77,5 +77,14 @@ declare namespace _default {
77
77
  let _class_2: string[];
78
78
  export { _class_2 as class };
79
79
  }
80
+ function label({ props }: {
81
+ props: any;
82
+ }): {
83
+ class: any[];
84
+ };
85
+ namespace tooltipicon {
86
+ let _class_3: string;
87
+ export { _class_3 as class };
88
+ }
80
89
  }
81
90
  export default _default;
@@ -4,6 +4,7 @@ exports.default = {
4
4
  root: {
5
5
  class: [
6
6
  'relative',
7
+ 'w-max items-center cursor-pointer',
7
8
  'w-4 h-4',
8
9
  'shrink-0',
9
10
  // Alignment
@@ -31,12 +32,12 @@ exports.default = {
31
32
  // Colors
32
33
  'text-white',
33
34
  {
34
- 'border-general-300': props.disabled,
35
- 'border-grayscale-900': !props.disabled,
35
+ 'border-general-200': props.disabled,
36
+ 'border-general-100': !props.disabled,
36
37
  'bg-white': !(context.checked || context.partialChecked) && !props.disabled,
37
38
  'bg-general-50': !(context.checked || context.partialChecked) && props.disabled,
38
- 'bg-grayscale-900': (context.checked || context.partialChecked) && !props.disabled,
39
- 'bg-general-300': (context.checked || context.partialChecked) && props.disabled,
39
+ 'bg-primary-500 border-primary-500': (context.checked || context.partialChecked) && !props.disabled,
40
+ 'bg-general-200': (context.checked || context.partialChecked) && props.disabled,
40
41
  },
41
42
  {
42
43
  'ring-8 ring-primary-400/[12%]': !props.disabled && context.focused,
@@ -104,4 +105,17 @@ exports.default = {
104
105
  'duration-200',
105
106
  ],
106
107
  },
108
+ label: function (_a) {
109
+ var props = _a.props;
110
+ return ({
111
+ class: [
112
+ 'flex items-start gap-px select-none text-xs tracking-[0.02em] font-medium',
113
+ 'text-general-800',
114
+ props.labelClass,
115
+ ],
116
+ });
117
+ },
118
+ tooltipicon: {
119
+ class: 'text-primary-500 w-[10px] h-[10px]',
120
+ },
107
121
  };
@@ -0,0 +1,28 @@
1
+ declare namespace _default {
2
+ namespace menustart {
3
+ let _class: string;
4
+ export { _class as class };
5
+ }
6
+ function menuitem({ context, props }: {
7
+ context: any;
8
+ props: any;
9
+ }): {
10
+ class: (string | {
11
+ '!pl-0.5 !pr-2 !py-[4.5px]': boolean;
12
+ 'cursor-grab [&_label]:cursor-grab '?: undefined;
13
+ 'cursor-default [&_*]:cursor-default'?: undefined;
14
+ } | {
15
+ 'cursor-grab [&_label]:cursor-grab ': any;
16
+ 'cursor-default [&_*]:cursor-default': boolean;
17
+ '!pl-0.5 !pr-2 !py-[4.5px]'?: undefined;
18
+ })[];
19
+ };
20
+ function dragicon({ context }: {
21
+ context: any;
22
+ }): {
23
+ class: (string | {
24
+ invisible: boolean;
25
+ })[];
26
+ };
27
+ }
28
+ export default _default;
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.default = {
4
+ menustart: {
5
+ class: '',
6
+ },
7
+ menuitem: function (_a) {
8
+ var context = _a.context, props = _a.props;
9
+ return ({
10
+ class: [
11
+ 'flex gap-1 py-[7px] px-4 transition-transform',
12
+ {
13
+ '!pl-0.5 !pr-2 !py-[4.5px]': props.type === 'flat',
14
+ },
15
+ {
16
+ 'cursor-grab [&_label]:cursor-grab ': context.dragable,
17
+ 'cursor-default [&_*]:cursor-default': !context.dragable,
18
+ },
19
+ '[&:has([selectable=false])]:!cursor-not-allowed',
20
+ '[&:has([selectable=false])]:hover:!bg-transparent',
21
+ ],
22
+ });
23
+ },
24
+ dragicon: function (_a) {
25
+ var context = _a.context;
26
+ return ({
27
+ class: [
28
+ '!cursor-move w-[18px] h-[18px] !text-general-200 shrink-0',
29
+ { invisible: context.dragable === false },
30
+ ],
31
+ });
32
+ },
33
+ };
@@ -39,9 +39,9 @@ declare namespace _default {
39
39
  class: (string | {
40
40
  '!h-[35px]': boolean;
41
41
  'bg-transparent'?: undefined;
42
- 'bg-primary-100'?: undefined;
42
+ 'bg-primary-50 [&>td]:border-primary-200'?: undefined;
43
43
  'focus:outline-none focus:outline-offset-0'?: undefined;
44
- 'hover:!bg-primary-50'?: undefined;
44
+ 'hover:!bg-grayscale-50'?: undefined;
45
45
  'hover:!bg-warning-300 !bg-warning-200'?: undefined;
46
46
  'transition duration-200'?: undefined;
47
47
  'select-none'?: undefined;
@@ -50,10 +50,10 @@ declare namespace _default {
50
50
  'cursor-pointer'?: undefined;
51
51
  } | {
52
52
  'bg-transparent': boolean;
53
- 'bg-primary-100': any;
53
+ 'bg-primary-50 [&>td]:border-primary-200': any;
54
54
  '!h-[35px]'?: undefined;
55
55
  'focus:outline-none focus:outline-offset-0'?: undefined;
56
- 'hover:!bg-primary-50'?: undefined;
56
+ 'hover:!bg-grayscale-50'?: undefined;
57
57
  'hover:!bg-warning-300 !bg-warning-200'?: undefined;
58
58
  'transition duration-200'?: undefined;
59
59
  'select-none'?: undefined;
@@ -62,11 +62,11 @@ declare namespace _default {
62
62
  'cursor-pointer'?: undefined;
63
63
  } | {
64
64
  'focus:outline-none focus:outline-offset-0': any;
65
- 'hover:!bg-primary-50': boolean;
65
+ 'hover:!bg-grayscale-50': boolean;
66
66
  'hover:!bg-warning-300 !bg-warning-200': any;
67
67
  '!h-[35px]'?: undefined;
68
68
  'bg-transparent'?: undefined;
69
- 'bg-primary-100'?: undefined;
69
+ 'bg-primary-50 [&>td]:border-primary-200'?: undefined;
70
70
  'transition duration-200'?: undefined;
71
71
  'select-none'?: undefined;
72
72
  'select-auto'?: undefined;
@@ -76,9 +76,9 @@ declare namespace _default {
76
76
  'transition duration-200': any;
77
77
  '!h-[35px]'?: undefined;
78
78
  'bg-transparent'?: undefined;
79
- 'bg-primary-100'?: undefined;
79
+ 'bg-primary-50 [&>td]:border-primary-200'?: undefined;
80
80
  'focus:outline-none focus:outline-offset-0'?: undefined;
81
- 'hover:!bg-primary-50'?: undefined;
81
+ 'hover:!bg-grayscale-50'?: undefined;
82
82
  'hover:!bg-warning-300 !bg-warning-200'?: undefined;
83
83
  'select-none'?: undefined;
84
84
  'select-auto'?: undefined;
@@ -89,9 +89,9 @@ declare namespace _default {
89
89
  'select-auto': boolean;
90
90
  '!h-[35px]'?: undefined;
91
91
  'bg-transparent'?: undefined;
92
- 'bg-primary-100'?: undefined;
92
+ 'bg-primary-50 [&>td]:border-primary-200'?: undefined;
93
93
  'focus:outline-none focus:outline-offset-0'?: undefined;
94
- 'hover:!bg-primary-50'?: undefined;
94
+ 'hover:!bg-grayscale-50'?: undefined;
95
95
  'hover:!bg-warning-300 !bg-warning-200'?: undefined;
96
96
  'transition duration-200'?: undefined;
97
97
  '!cursor-grab [&_label]:!cursor-grab'?: undefined;
@@ -100,9 +100,9 @@ declare namespace _default {
100
100
  '!cursor-grab [&_label]:!cursor-grab': any;
101
101
  '!h-[35px]'?: undefined;
102
102
  'bg-transparent'?: undefined;
103
- 'bg-primary-100'?: undefined;
103
+ 'bg-primary-50 [&>td]:border-primary-200'?: undefined;
104
104
  'focus:outline-none focus:outline-offset-0'?: undefined;
105
- 'hover:!bg-primary-50'?: undefined;
105
+ 'hover:!bg-grayscale-50'?: undefined;
106
106
  'hover:!bg-warning-300 !bg-warning-200'?: undefined;
107
107
  'transition duration-200'?: undefined;
108
108
  'select-none'?: undefined;
@@ -112,9 +112,9 @@ declare namespace _default {
112
112
  'cursor-pointer': boolean;
113
113
  '!h-[35px]'?: undefined;
114
114
  'bg-transparent'?: undefined;
115
- 'bg-primary-100'?: undefined;
115
+ 'bg-primary-50 [&>td]:border-primary-200'?: undefined;
116
116
  'focus:outline-none focus:outline-offset-0'?: undefined;
117
- 'hover:!bg-primary-50'?: undefined;
117
+ 'hover:!bg-grayscale-50'?: undefined;
118
118
  'hover:!bg-warning-300 !bg-warning-200'?: undefined;
119
119
  'transition duration-200'?: undefined;
120
120
  'select-none'?: undefined;
@@ -126,20 +126,20 @@ declare namespace _default {
126
126
  context: any;
127
127
  }): {
128
128
  class: (string | {
129
- 'bg-primary-400': boolean;
130
- 'bg-primary-500'?: undefined;
131
- 'sticky right-0 hover:bg-primary-500'?: undefined;
129
+ 'bg-primary-200': boolean;
130
+ 'bg-primary-300'?: undefined;
131
+ 'sticky right-0 hover:bg-primary-300'?: undefined;
132
132
  '!cursor-default'?: undefined;
133
133
  } | {
134
- 'bg-primary-500': any;
135
- 'bg-primary-400'?: undefined;
136
- 'sticky right-0 hover:bg-primary-500'?: undefined;
134
+ 'bg-primary-300': any;
135
+ 'bg-primary-200'?: undefined;
136
+ 'sticky right-0 hover:bg-primary-300'?: undefined;
137
137
  '!cursor-default'?: undefined;
138
138
  } | {
139
- 'sticky right-0 hover:bg-primary-500': any;
139
+ 'sticky right-0 hover:bg-primary-300': any;
140
140
  '!cursor-default': boolean;
141
- 'bg-primary-400'?: undefined;
142
- 'bg-primary-500'?: undefined;
141
+ 'bg-primary-200'?: undefined;
142
+ 'bg-primary-300'?: undefined;
143
143
  })[];
144
144
  'data-wv-section': string;
145
145
  };
@@ -159,7 +159,7 @@ declare namespace _default {
159
159
  context: any;
160
160
  }): {
161
161
  class: {
162
- '[&_[data-pc-section=box]]:!border-white [&_[data-pc-section=box]]:!bg-transparent': boolean;
162
+ '[&_[data-pc-section=box]]:!border-general-100 [&_[data-pc-section=box]]:!bg-white': boolean;
163
163
  }[];
164
164
  'data-wv-section': string;
165
165
  };
@@ -206,7 +206,7 @@ declare namespace _default {
206
206
  context: any;
207
207
  }): {
208
208
  class: (string | {
209
- '!border-t border-primary-100 !border-solid': boolean;
209
+ '!border-t border-general-100 !border-solid': boolean;
210
210
  })[];
211
211
  };
212
212
  function rowtogglerbutton({ context }: {
@@ -236,8 +236,8 @@ declare namespace _default {
236
236
  }): {
237
237
  class: (string | {
238
238
  'sticky bg-white': any;
239
- '!bg-primary-100': any;
240
- 'group-hover:!bg-primary-50': boolean;
239
+ '!bg-primary-50': any;
240
+ 'group-hover:!bg-grayscale-50': boolean;
241
241
  'group-hover:!bg-warning-300 !bg-warning-200': any;
242
242
  })[];
243
243
  'data-wv-section': string;
@@ -249,13 +249,14 @@ declare namespace _default {
249
249
  function singleactionbutton({ props }: {
250
250
  props: any;
251
251
  }): {
252
- class: ({
252
+ class: (string | {
253
253
  'pointer-events-none !border-general-100 [&>i]:text-general-200': any;
254
254
  'pointer-events-auto'?: undefined;
255
255
  } | {
256
256
  'pointer-events-auto': boolean;
257
257
  'pointer-events-none !border-general-100 [&>i]:text-general-200'?: undefined;
258
258
  })[];
259
+ severity: string;
259
260
  tooltip: string;
260
261
  'data-wv-section': string;
261
262
  };
@@ -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',
@@ -28,7 +28,7 @@ exports.default = {
28
28
  table: {
29
29
  'class': [
30
30
  'min-w-max w-full',
31
- '!border-separate !border-spacing-0 border !border-solid !border-primary-100 !border-t-0 !border-l-0 !border-r-0 !rounded-lg',
31
+ '!border-separate !border-spacing-0 border !border-solid !border-general-100 !border-t-0 !border-l-0 !border-r-0 !rounded-lg',
32
32
  ],
33
33
  'data-wv-section': 'table',
34
34
  },
@@ -43,7 +43,7 @@ exports.default = {
43
43
  class: ['sticky top-0 z-50'],
44
44
  },
45
45
  headerrow: {
46
- class: ['border-b border-primary-100'],
46
+ class: ['border-b border-general-100'],
47
47
  },
48
48
  bodyrow: function (_a) {
49
49
  var context = _a.context, props = _a.props;
@@ -57,13 +57,13 @@ exports.default = {
57
57
  'text-general-800 text-xs font-normal',
58
58
  {
59
59
  'bg-transparent': !context.selected,
60
- 'bg-primary-100': context.selected,
60
+ 'bg-primary-50 [&>td]:border-primary-200': context.selected,
61
61
  },
62
62
  // State
63
63
  {
64
64
  'focus:outline-none focus:outline-offset-0': props.selectionType,
65
65
  // To sets the bg to single action td
66
- 'hover:!bg-primary-50': !context.highlighted,
66
+ 'hover:!bg-grayscale-50': !context.highlighted && !context.selected,
67
67
  'hover:!bg-warning-300 !bg-warning-200': context.highlighted,
68
68
  },
69
69
  // Transition
@@ -82,21 +82,21 @@ exports.default = {
82
82
  var context = _a.context;
83
83
  return {
84
84
  'class': [
85
- 'text-xs font-semibold text-white p-2 text-left cursor-pointer',
86
- { 'bg-primary-400': !context.sorted || !context.sortable },
87
- { 'bg-primary-500': context.sorted },
85
+ 'text-xs font-bold text-general-800 p-2 text-left cursor-pointer tracking-[0.02em]',
86
+ { 'bg-primary-200': !context.sorted || !context.sortable },
87
+ { 'bg-primary-300': context.sorted },
88
88
  {
89
- 'sticky right-0 hover:bg-primary-500': context.customColumn,
89
+ 'sticky right-0 hover:bg-primary-300': context.customColumn,
90
90
  '!cursor-default': !context.customColumn && !context.sortable,
91
91
  },
92
92
  'border-0 !border-b border-solid',
93
- 'border-primary-100',
93
+ 'border-general-100',
94
94
  ],
95
95
  'data-wv-section': 'headercell',
96
96
  };
97
97
  },
98
98
  headercellcontent: {
99
- 'class': ['inline-flex gap-2 items-center leading-[18px]'],
99
+ 'class': ['inline-flex gap-2 items-center leading-4'],
100
100
  'data-wv-section': 'headercellcontent',
101
101
  },
102
102
  headercellreorderable: {
@@ -111,7 +111,7 @@ exports.default = {
111
111
  return ({
112
112
  'class': [
113
113
  {
114
- '[&_[data-pc-section=box]]:!border-white [&_[data-pc-section=box]]:!bg-transparent': !context.isSelectedAll,
114
+ '[&_[data-pc-section=box]]:!border-general-100 [&_[data-pc-section=box]]:!bg-white': !context.isSelectedAll,
115
115
  },
116
116
  ],
117
117
  'data-wv-section': 'headercheckbox',
@@ -137,7 +137,7 @@ exports.default = {
137
137
  { 'rotate-180': context.isExpandedAll },
138
138
  { 'rotate-0': !context.isExpandedAll },
139
139
  ],
140
- 'icon-class': 'w-6 h-6 text-white',
140
+ 'icon-class': 'w-6 h-6 text-general-800',
141
141
  'data-wv-section': 'headertogglerbutton',
142
142
  });
143
143
  },
@@ -148,7 +148,7 @@ exports.default = {
148
148
  bodycell: {
149
149
  'class': [
150
150
  'text-xs px-2 py-0.5',
151
- 'border-0 !border-b !border-solid border-primary-100',
151
+ 'border-0 !border-b !border-solid border-general-100',
152
152
  '[&:has([data-wv-section=rowcheckbox])]:text-center',
153
153
  '[&:has([data-wv-section=rowcheckbox])]:text-center',
154
154
  ],
@@ -165,7 +165,7 @@ exports.default = {
165
165
  return ({
166
166
  class: [
167
167
  '!h-[35px] flex items-center px-2',
168
- { '!border-t border-primary-100 !border-solid': !context.firstIndex },
168
+ { '!border-t border-general-100 !border-solid': !context.firstIndex },
169
169
  ],
170
170
  });
171
171
  },
@@ -177,7 +177,7 @@ exports.default = {
177
177
  { 'rotate-180': context.isRowExpanded },
178
178
  { 'rotate-0': !context.isRowExpanded },
179
179
  ],
180
- 'icon-class': 'w-6 h-6',
180
+ 'icon-class': 'w-6 h-6 text-general-800',
181
181
  'data-wv-section': 'rowtogglerbutton',
182
182
  });
183
183
  },
@@ -199,8 +199,8 @@ exports.default = {
199
199
  'w-[35px]',
200
200
  {
201
201
  'sticky bg-white': props.useOption,
202
- '!bg-primary-100': context.selected,
203
- 'group-hover:!bg-primary-50': !context.highlighted,
202
+ '!bg-primary-50': context.selected,
203
+ 'group-hover:!bg-grayscale-50': !context.highlighted && !context.selected,
204
204
  'group-hover:!bg-warning-300 !bg-warning-200': context.highlighted,
205
205
  },
206
206
  ],
@@ -219,8 +219,10 @@ exports.default = {
219
219
  'pointer-events-none !border-general-100 [&>i]:text-general-200': props.disableAllRows,
220
220
  },
221
221
  { 'pointer-events-auto': !props.disableAllRows },
222
+ '!rounded-full',
222
223
  ],
223
- 'tooltip': 'Aksi',
224
+ 'severity': 'primary',
225
+ 'tooltip': 'Action',
224
226
  'data-wv-section': 'singleactionbutton',
225
227
  });
226
228
  },
@@ -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: {
@@ -43,6 +43,7 @@ declare namespace fixedasset {
43
43
  export { splitbutton };
44
44
  export { paginator };
45
45
  export { datatable };
46
+ export { customcolumn };
46
47
  export { tree };
47
48
  export { dataview };
48
49
  export { dataviewlayoutoptions };
@@ -139,6 +140,7 @@ import buttonfilter from './buttonfilter/index.js';
139
140
  import splitbutton from './splitbutton/index.js';
140
141
  import paginator from './paginator/index.js';
141
142
  import datatable from './datatable/index.js';
143
+ import customcolumn from './customColumn/index.js';
142
144
  import tree from './tree/index.js';
143
145
  import dataview from './dataview/index.js';
144
146
  import dataviewlayoutoptions from './dataviewlayoutoptions/index.js';