dendelion-ui 0.0.6 → 0.0.7
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.7",
|
|
6
6
|
"author": "ThatzOkay",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"homepage": "https://github.com/ThatzOkay/DendelionUI#readme",
|
|
@@ -63,13 +63,13 @@
|
|
|
63
63
|
"autoprefixer": "^10.4.20",
|
|
64
64
|
"cross-env": "^7.0.3",
|
|
65
65
|
"daisyui": "^4.12.23",
|
|
66
|
-
"eslint": "^9.
|
|
66
|
+
"eslint": "^9.21.0",
|
|
67
67
|
"eslint-plugin-vue": "^9.32.0",
|
|
68
68
|
"fluid-tailwind": "^1.0.4",
|
|
69
69
|
"rimraf": "^6.0.1",
|
|
70
70
|
"typescript": "^5.8.2",
|
|
71
|
-
"typescript-eslint": "^8.
|
|
72
|
-
"vite": "^6.
|
|
73
|
-
"vue-tsc": "^2.2.
|
|
71
|
+
"typescript-eslint": "^8.26.0",
|
|
72
|
+
"vite": "^6.2.0",
|
|
73
|
+
"vue-tsc": "^2.2.8"
|
|
74
74
|
}
|
|
75
75
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<button v-on:click="click ? click : undefined" :class="classes" :type="type">
|
|
2
|
+
<button v-on:click="click ? click : undefined" :class="classes" :type="type" :disabled="disabled || loading">
|
|
3
3
|
<span class="loading loading-spinner loading-md absolute hidden group-[.is-loading]:block"></span>
|
|
4
4
|
<span class="group-[.is-loading]:text-transparent"><slot /></span>
|
|
5
5
|
</button>
|
|
@@ -20,5 +20,6 @@ const classes = computed(() => classNames('btn',
|
|
|
20
20
|
'group',
|
|
21
21
|
`btn-${ColorUtils.toClassName(props.color)}`,
|
|
22
22
|
props.loading ? 'is-loading' : '',
|
|
23
|
+
props.disabled ? 'disabled' : ''
|
|
23
24
|
))
|
|
24
25
|
</script>
|