dendelion-ui 0.0.30 → 0.0.31
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/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "dendelion-ui",
|
|
3
3
|
"private": false,
|
|
4
4
|
"description": "Simpel component library using Tailwind css and DaisyUI",
|
|
5
|
-
"version": "0.0.
|
|
5
|
+
"version": "0.0.31",
|
|
6
6
|
"author": "ThatzOkay",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"homepage": "https://github.com/ThatzOkay/DendelionUI#readme",
|
|
@@ -61,22 +61,22 @@
|
|
|
61
61
|
"vue": "^3.3.0"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"vue": "^3.5.
|
|
65
|
-
"@vitejs/plugin-vue": "^6.0.
|
|
66
|
-
"@vue/tsconfig": "^0.9.
|
|
67
|
-
"autoprefixer": "^10.
|
|
64
|
+
"vue": "^3.5.35",
|
|
65
|
+
"@vitejs/plugin-vue": "^6.0.7",
|
|
66
|
+
"@vue/tsconfig": "^0.9.1",
|
|
67
|
+
"autoprefixer": "^10.5.0",
|
|
68
68
|
"cross-env": "^10.1.0",
|
|
69
|
-
"daisyui": "^5.5.
|
|
70
|
-
"eslint": "^10.
|
|
71
|
-
"eslint-plugin-vue": "^10.
|
|
69
|
+
"daisyui": "^5.5.23",
|
|
70
|
+
"eslint": "^10.4.1",
|
|
71
|
+
"eslint-plugin-vue": "^10.9.2",
|
|
72
72
|
"fluid-tailwind": "^1.0.4",
|
|
73
|
-
"prettier": "^3.8.
|
|
73
|
+
"prettier": "^3.8.3",
|
|
74
74
|
"prettier-eslint": "^16.4.2",
|
|
75
|
-
"prettier-plugin-tailwindcss": "^0.7.
|
|
76
|
-
"rimraf": "^6.1.
|
|
77
|
-
"typescript": "^6.0.
|
|
78
|
-
"typescript-eslint": "^8.
|
|
79
|
-
"vite": "^8.0.
|
|
80
|
-
"vue-tsc": "^3.
|
|
75
|
+
"prettier-plugin-tailwindcss": "^0.7.4",
|
|
76
|
+
"rimraf": "^6.1.3",
|
|
77
|
+
"typescript": "^6.0.3",
|
|
78
|
+
"typescript-eslint": "^8.61.0",
|
|
79
|
+
"vite": "^8.0.16",
|
|
80
|
+
"vue-tsc": "^3.3.4"
|
|
81
81
|
}
|
|
82
82
|
}
|
|
@@ -66,7 +66,9 @@ const trClasses = ref(classNames(
|
|
|
66
66
|
));
|
|
67
67
|
|
|
68
68
|
const tableClasses = ref(
|
|
69
|
-
classNames(
|
|
69
|
+
classNames(
|
|
70
|
+
props.class,
|
|
71
|
+
'table', TableSizeUtils.toClassName(props.size), {
|
|
70
72
|
'table-zebra': props.zebra,
|
|
71
73
|
'table-pin-rows': props.pinRows,
|
|
72
74
|
'table-pin-cols ': props.pinCols,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Size } from '@/types';
|
|
1
|
+
import { Size, type ClassValue } from '@/types';
|
|
2
2
|
import { Component, VNode } from 'vue';
|
|
3
3
|
|
|
4
4
|
type DeepKey<T> = T extends object
|
|
@@ -18,6 +18,7 @@ type DeepValue<T, P extends string> = P extends `${infer K}.${infer Rest}`
|
|
|
18
18
|
type ColumnSet<T> = Column<T, DeepKey<T>>[];
|
|
19
19
|
|
|
20
20
|
export type TableProps<T> = {
|
|
21
|
+
class?: ClassValue | undefined;
|
|
21
22
|
zebra?: boolean;
|
|
22
23
|
pinRows?: boolean;
|
|
23
24
|
pinCols?: boolean;
|
package/src/types/index.ts
CHANGED