ketekny-ui-kit 1.0.74 → 1.0.75
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/README.md +11 -7
- package/package.json +14 -15
- package/src/layout/kAppHeader.vue +1 -1
- package/src/ui/kAlert.vue +1 -1
- package/src/ui/kButton.vue +2 -2
- package/src/ui/kDialog.vue +1 -1
- package/src/ui/kDrawer.vue +1 -1
- package/src/ui/kEditor.vue +1 -1
- package/src/ui/kIcon.vue +1 -1
- package/src/ui/kInput.vue +1 -1
- package/src/ui/kMessage.vue +1 -1
- package/src/ui/kSearch.vue +1 -1
- package/src/ui/kSelect.vue +1 -1
- package/src/ui/kToast.vue +1 -1
- package/src/ui/kTreeBranch.vue +1 -1
- package/src/ui/kUploader.vue +1 -1
- package/tailwind.config.js +4 -4
package/README.md
CHANGED
|
@@ -8,24 +8,28 @@ Vue 3 UI component library with Tailwind CSS styling and utility plugins.
|
|
|
8
8
|
- Tailwind CSS 3 build pipeline in your app (`tailwindcss`, `postcss`, `autoprefixer`)
|
|
9
9
|
- This package is built and tested against Tailwind CSS 3.x; Tailwind CSS 4 is not supported by the current setup
|
|
10
10
|
|
|
11
|
-
##
|
|
11
|
+
## Consumer Dependencies
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
Install these in the consuming app:
|
|
14
14
|
|
|
15
15
|
```bash
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
npm install vue @lucide/vue class-variance-authority clsx dayjs element-plus moment reka-ui simple-code-editor tailwind-merge vue-router vue3-easy-data-table
|
|
17
|
+
```
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
If the app does not already include Tailwind CSS 3:
|
|
20
|
+
|
|
21
|
+
```bash
|
|
20
22
|
npm install -D tailwindcss@^3 postcss autoprefixer
|
|
21
23
|
```
|
|
22
24
|
|
|
25
|
+
## Installation
|
|
26
|
+
|
|
27
|
+
Needed packages (install what is missing)
|
|
28
|
+
|
|
23
29
|
```bash
|
|
24
30
|
npm install ketekny-ui-kit
|
|
25
31
|
```
|
|
26
32
|
|
|
27
|
-
|
|
28
|
-
|
|
29
33
|
## Quick Start
|
|
30
34
|
|
|
31
35
|
In your app entry (`main.js` / `main.ts`):
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ketekny-ui-kit",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.75",
|
|
5
5
|
"description": "A Vue 3 UI component library with Tailwind CSS styling",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"files": [
|
|
@@ -20,7 +20,18 @@
|
|
|
20
20
|
"library"
|
|
21
21
|
],
|
|
22
22
|
"peerDependencies": {
|
|
23
|
-
"vue": "^3.0.0"
|
|
23
|
+
"vue": "^3.0.0",
|
|
24
|
+
"@lucide/vue": "^1.17.0",
|
|
25
|
+
"class-variance-authority": "^0.7.1",
|
|
26
|
+
"clsx": "^2.1.1",
|
|
27
|
+
"dayjs": "1.11.19",
|
|
28
|
+
"element-plus": "^2.13.5",
|
|
29
|
+
"moment": "^2.30.1",
|
|
30
|
+
"reka-ui": "^2.8.2",
|
|
31
|
+
"simple-code-editor": "^2.0.9",
|
|
32
|
+
"tailwind-merge": "^3.5.0",
|
|
33
|
+
"vue-router": "^4.6.4",
|
|
34
|
+
"vue3-easy-data-table": "^1.5.47"
|
|
24
35
|
},
|
|
25
36
|
"scripts": {
|
|
26
37
|
"dev": "vite",
|
|
@@ -37,17 +48,5 @@
|
|
|
37
48
|
"tailwindcss": "^3.4.17",
|
|
38
49
|
"vite": "^6.3.5"
|
|
39
50
|
},
|
|
40
|
-
"dependencies": {
|
|
41
|
-
"class-variance-authority": "^0.7.1",
|
|
42
|
-
"clsx": "^2.1.1",
|
|
43
|
-
"dayjs": "1.11.19",
|
|
44
|
-
"element-plus": "^2.13.5",
|
|
45
|
-
"lucide-vue-next": "^0.511.0",
|
|
46
|
-
"moment": "^2.30.1",
|
|
47
|
-
"reka-ui": "^2.8.2",
|
|
48
|
-
"simple-code-editor": "^2.0.9",
|
|
49
|
-
"tailwind-merge": "^3.5.0",
|
|
50
|
-
"vue-router": "^4.6.4",
|
|
51
|
-
"vue3-easy-data-table": "^1.5.47"
|
|
52
|
-
}
|
|
51
|
+
"dependencies": {}
|
|
53
52
|
}
|
package/src/ui/kAlert.vue
CHANGED
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
<script setup>
|
|
50
50
|
import { ref, computed } from "vue";
|
|
51
51
|
import kButton from "./kButton.vue";
|
|
52
|
-
import { Check, XCircleIcon, AlertTriangleIcon, Info } from "lucide
|
|
52
|
+
import { Check, XCircleIcon, AlertTriangleIcon, Info } from "@lucide/vue";
|
|
53
53
|
|
|
54
54
|
const visible = ref(false);
|
|
55
55
|
const title = ref("");
|
package/src/ui/kButton.vue
CHANGED
package/src/ui/kDialog.vue
CHANGED
package/src/ui/kDrawer.vue
CHANGED
package/src/ui/kEditor.vue
CHANGED
package/src/ui/kIcon.vue
CHANGED
package/src/ui/kInput.vue
CHANGED
package/src/ui/kMessage.vue
CHANGED
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
|
|
117
117
|
<script setup>
|
|
118
118
|
import { computed, onBeforeUnmount, ref, useSlots, watch } from 'vue'
|
|
119
|
-
import { X as CloseIcon, Info, CircleCheckBig, TriangleAlert, OctagonX, Clock3 } from 'lucide
|
|
119
|
+
import { X as CloseIcon, Info, CircleCheckBig, TriangleAlert, OctagonX, Clock3 } from '@lucide/vue'
|
|
120
120
|
|
|
121
121
|
// ─── Color config ────────────────────────────────────────────────────────────
|
|
122
122
|
|
package/src/ui/kSearch.vue
CHANGED
package/src/ui/kSelect.vue
CHANGED
|
@@ -112,7 +112,7 @@ import {
|
|
|
112
112
|
SelectValue,
|
|
113
113
|
SelectViewport,
|
|
114
114
|
} from "reka-ui";
|
|
115
|
-
import { X, ChevronDown, Check, Search, SearchX } from "lucide
|
|
115
|
+
import { X, ChevronDown, Check, Search, SearchX } from "@lucide/vue";
|
|
116
116
|
|
|
117
117
|
const props = defineProps({
|
|
118
118
|
options: { type: Array, required: true },
|
package/src/ui/kToast.vue
CHANGED
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
</template>
|
|
49
49
|
|
|
50
50
|
<script>
|
|
51
|
-
import { CheckCircleIcon, XCircleIcon, AlertCircleIcon, InfoIcon, X } from "lucide
|
|
51
|
+
import { CheckCircleIcon, XCircleIcon, AlertCircleIcon, InfoIcon, X } from "@lucide/vue";
|
|
52
52
|
|
|
53
53
|
export default {
|
|
54
54
|
name: "kToast",
|
package/src/ui/kTreeBranch.vue
CHANGED
package/src/ui/kUploader.vue
CHANGED
package/tailwind.config.js
CHANGED
|
@@ -11,10 +11,10 @@ export default {
|
|
|
11
11
|
{ pattern: /(bg|text|border)-semantic-(success|warning|error|info)-(bg|border|text|disabled|button)/ },
|
|
12
12
|
|
|
13
13
|
// Intent-driven classes may not always be statically discoverable in downstream builds.
|
|
14
|
-
{
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
14
|
+
{
|
|
15
|
+
pattern: /(bg|text|border|ring)-(sky|slate|emerald|amber|rose)-(50|100|200|300|400|500|600|700|800|900)/,
|
|
16
|
+
variants: ["hover", "focus", "focus-visible"],
|
|
17
|
+
},
|
|
18
18
|
],
|
|
19
19
|
theme: {
|
|
20
20
|
extend: {
|