tsv2-library 0.2.87 → 0.2.89
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/dist/src/components/v2/DatePicker/DatePicker.vue.d.ts +4 -0
- package/dist/src/components/v2/DayPicker/DayPicker.vue.d.ts +4 -0
- package/dist/src/components/v2/InputEmail/InputEmail.vue.d.ts +1 -0
- package/dist/src/components/v2/InputText/InputText.vue.d.ts +1 -0
- package/dist/style.css +1 -1
- package/dist/tsv2-library.es.js +727 -693
- package/package.json +1 -1
- package/src/components/v2/DatePicker/DatePicker.vue.d.ts +4 -0
- package/src/components/v2/DayPicker/DayPicker.vue.d.ts +4 -0
- package/src/components/v2/InputEmail/InputEmail.vue.d.ts +1 -0
- package/src/components/v2/InputText/InputText.vue.d.ts +1 -0
- package/src/presets/datatable/index.js +4 -2
- package/src/presets/multiselect/index.js +2 -2
package/package.json
CHANGED
|
@@ -8,6 +8,10 @@ export interface TSDatePickerProps {
|
|
|
8
8
|
* TSDatePicker modelValue is day index from 0
|
|
9
9
|
*/
|
|
10
10
|
modelValue?: number[];
|
|
11
|
+
/**
|
|
12
|
+
* TSDatePicker initialValue is day index from 0
|
|
13
|
+
*/
|
|
14
|
+
initialValue?: number[];
|
|
11
15
|
/**
|
|
12
16
|
* Display label on top of Date Input.
|
|
13
17
|
*/
|
|
@@ -71,7 +71,7 @@ export default {
|
|
|
71
71
|
],
|
|
72
72
|
}),
|
|
73
73
|
table: {
|
|
74
|
-
class: 'w-full !border-separate !border-spacing-0
|
|
74
|
+
class: 'w-full !border-separate !border-spacing-0 border !border-solid !border-general-100 !border-t-0 !border-l-0 !border-r-0 !rounded-lg',
|
|
75
75
|
},
|
|
76
76
|
thead: ({ context }) => ({
|
|
77
77
|
class: [
|
|
@@ -84,7 +84,8 @@ export default {
|
|
|
84
84
|
class: [
|
|
85
85
|
// 'border-t border-surface-300 dark:border-surface-600',
|
|
86
86
|
'[&_tr:last-of-type>td]:!border-b-0',
|
|
87
|
-
'[&_tr:last-of-type>td]:!rounded-lg',
|
|
87
|
+
'[&_tr:last-of-type>td:last-child]:!rounded-br-lg',
|
|
88
|
+
'[&_tr:last-of-type>td:first-child]:!rounded-bl-lg',
|
|
88
89
|
{
|
|
89
90
|
'sticky z-20 font-semibold': instance.frozenRow && context.scrollable,
|
|
90
91
|
},
|
|
@@ -180,6 +181,7 @@ export default {
|
|
|
180
181
|
}),
|
|
181
182
|
bodycell: ({ props, context, parent }) => ({
|
|
182
183
|
class: [
|
|
184
|
+
'[&[data-p-frozen-column=true]:empty]:bg-transparent',
|
|
183
185
|
//Position
|
|
184
186
|
{ sticky: parent.instance.frozenRow },
|
|
185
187
|
{ sticky: props.frozen || props.frozen === '' },
|
|
@@ -53,8 +53,8 @@ export default {
|
|
|
53
53
|
|
|
54
54
|
// Color
|
|
55
55
|
{
|
|
56
|
-
'text-general-200 dark:text-general-600 font-light': props.modelValue
|
|
57
|
-
'text-grayscale-800 dark:text-general-50 font-medium': props.modelValue
|
|
56
|
+
'text-general-200 dark:text-general-600 font-light': !props.modelValue?.length,
|
|
57
|
+
'text-grayscale-800 dark:text-general-50 font-medium': props.modelValue?.length,
|
|
58
58
|
},
|
|
59
59
|
// {
|
|
60
60
|
// 'text-surface-800 dark:text-surface-700': props.modelValue,
|