nuxt-ui-elements 0.1.36 → 0.1.38
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/module.json
CHANGED
|
@@ -24,7 +24,7 @@ const {
|
|
|
24
24
|
color: { type: null, required: false },
|
|
25
25
|
variant: { type: null, required: false },
|
|
26
26
|
onDismiss: { type: Function, required: false },
|
|
27
|
-
ui: { type:
|
|
27
|
+
ui: { type: Object, required: false }
|
|
28
28
|
});
|
|
29
29
|
const emits = defineEmits(["update:open", "close"]);
|
|
30
30
|
const ui = computed(
|
|
@@ -46,8 +46,6 @@ const dismissHandler = () => {
|
|
|
46
46
|
<UModal
|
|
47
47
|
:dismissible="false"
|
|
48
48
|
:close="false"
|
|
49
|
-
:title="title"
|
|
50
|
-
:description="description"
|
|
51
49
|
:ui="{
|
|
52
50
|
content: ui.content({ class: ['animate-alert-bounce', uiProps?.content] }),
|
|
53
51
|
header: ui.header({ class: uiProps?.header }),
|
|
@@ -62,9 +60,8 @@ const dismissHandler = () => {
|
|
|
62
60
|
{{ title }}
|
|
63
61
|
</DialogTitle>
|
|
64
62
|
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
</DialogDescription>
|
|
63
|
+
<!-- eslint-disable-next-line vue/no-v-text-v-html-on-component, vue/no-v-html -->
|
|
64
|
+
<DialogDescription v-if="description" :class="ui.description({ class: uiProps?.description })" v-html="description" />
|
|
68
65
|
</div>
|
|
69
66
|
</div>
|
|
70
67
|
</template>
|
|
@@ -31,7 +31,7 @@ const {
|
|
|
31
31
|
close: { type: Boolean, required: false },
|
|
32
32
|
onConfirm: { type: Function, required: false },
|
|
33
33
|
onDismiss: { type: Function, required: false },
|
|
34
|
-
ui: { type:
|
|
34
|
+
ui: { type: Object, required: false }
|
|
35
35
|
});
|
|
36
36
|
const emits = defineEmits(["update:open", "close"]);
|
|
37
37
|
const isLoading = ref(false);
|
|
@@ -130,7 +130,7 @@ const handleClose = () => {
|
|
|
130
130
|
v-bind="closeButtonProps"
|
|
131
131
|
data-slot="close"
|
|
132
132
|
:ui="{
|
|
133
|
-
base: 'text-
|
|
133
|
+
base: 'text-inverted hover:bg-black/10 active:bg-inverted/20'
|
|
134
134
|
}"
|
|
135
135
|
@click="handleClose" />
|
|
136
136
|
</div>
|
|
@@ -144,7 +144,7 @@ const handleClose = () => {
|
|
|
144
144
|
color="neutral"
|
|
145
145
|
variant="ghost"
|
|
146
146
|
:ui="{
|
|
147
|
-
base: 'text-
|
|
147
|
+
base: 'text-inverted hover:bg-black/10 active:bg-inverted/20'
|
|
148
148
|
}"
|
|
149
149
|
@click="dismiss" />
|
|
150
150
|
|
|
@@ -23,7 +23,7 @@ const {
|
|
|
23
23
|
defaultValue: { type: null, required: false },
|
|
24
24
|
multiple: { type: null, required: false },
|
|
25
25
|
orientation: { type: String, required: false },
|
|
26
|
-
ui: { type:
|
|
26
|
+
ui: { type: Object, required: false },
|
|
27
27
|
loop: { type: Boolean, required: false },
|
|
28
28
|
disabled: { type: Boolean, required: false },
|
|
29
29
|
name: { type: String, required: false },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nuxt-ui-elements",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.38",
|
|
4
4
|
"description": "A collection of beautiful, animated UI components for Nuxt applications",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": "https://github.com/genu/nuxt-ui-elements.git",
|
|
@@ -24,38 +24,8 @@
|
|
|
24
24
|
"import": "./dist/module.mjs"
|
|
25
25
|
}
|
|
26
26
|
},
|
|
27
|
-
"dependencies": {
|
|
28
|
-
"@internationalized/date": "^3.10.1",
|
|
29
|
-
"@nuxt/kit": "^4.2.2",
|
|
30
|
-
"@sindresorhus/slugify": "^3.0.0",
|
|
31
|
-
"plur": "^6.0.0",
|
|
32
|
-
"scule": "^1.3.0",
|
|
33
|
-
"tailwind-variants": "^3.2.2"
|
|
34
|
-
},
|
|
35
|
-
"devDependencies": {
|
|
36
|
-
"@nuxt/devtools": "^3.1.1",
|
|
37
|
-
"@nuxt/eslint-config": "^1.12.1",
|
|
38
|
-
"@nuxt/module-builder": "^1.0.2",
|
|
39
|
-
"@nuxt/schema": "^4.2.2",
|
|
40
|
-
"@nuxt/test-utils": "^3.23.0",
|
|
41
|
-
"@types/culori": "^4.0.1",
|
|
42
|
-
"@types/node": "latest",
|
|
43
|
-
"@vitest/coverage-v8": "^4.0.17",
|
|
44
|
-
"better-sqlite3": "^12.6.0",
|
|
45
|
-
"changelogen": "^0.6.2",
|
|
46
|
-
"eslint": "^9.39.2",
|
|
47
|
-
"eslint-config-prettier": "10.1.8",
|
|
48
|
-
"eslint-plugin-prettier": "5.5.5",
|
|
49
|
-
"nuxt": "^4.2.2",
|
|
50
|
-
"prettier": "^3.7.4",
|
|
51
|
-
"typescript": "~5.9.3",
|
|
52
|
-
"vitest": "^4.0.17",
|
|
53
|
-
"vue-tsc": "^3.2.2"
|
|
54
|
-
},
|
|
55
|
-
"peerDependencies": {
|
|
56
|
-
"@nuxt/ui": "^4.0.0"
|
|
57
|
-
},
|
|
58
27
|
"scripts": {
|
|
28
|
+
"prepack": "nuxt-module-build build",
|
|
59
29
|
"dev": "pnpm dev:prepare && nuxi dev playground",
|
|
60
30
|
"dev:build": "nuxi build playground",
|
|
61
31
|
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
|
|
@@ -67,10 +37,45 @@
|
|
|
67
37
|
"lint:fix": "eslint . --fix",
|
|
68
38
|
"format": "prettier --write .",
|
|
69
39
|
"format:check": "prettier --check .",
|
|
70
|
-
"release": "pnpm lint && pnpm test && pnpm prepack && changelogen --release && pnpm publish && git push --follow-tags",
|
|
71
40
|
"test": "vitest run",
|
|
72
41
|
"test:watch": "vitest watch",
|
|
73
42
|
"test:coverage": "vitest run --coverage",
|
|
74
43
|
"test:types": "vue-tsc --noEmit && cd playground && vue-tsc --noEmit"
|
|
44
|
+
},
|
|
45
|
+
"dependencies": {
|
|
46
|
+
"@internationalized/date": "3.11.0",
|
|
47
|
+
"@nuxt/kit": "4.3.1",
|
|
48
|
+
"@sindresorhus/slugify": "3.0.0",
|
|
49
|
+
"plur": "6.0.0",
|
|
50
|
+
"scule": "1.3.0",
|
|
51
|
+
"tailwind-variants": "3.2.2"
|
|
52
|
+
},
|
|
53
|
+
"devDependencies": {
|
|
54
|
+
"@nuxt/devtools": "3.1.1",
|
|
55
|
+
"@nuxt/eslint-config": "1.14.0",
|
|
56
|
+
"@nuxt/module-builder": "1.0.2",
|
|
57
|
+
"@nuxt/schema": "4.3.1",
|
|
58
|
+
"@nuxt/test-utils": "4.0.0",
|
|
59
|
+
"@types/culori": "4.0.1",
|
|
60
|
+
"@types/node": "latest",
|
|
61
|
+
"@vitest/coverage-v8": "4.0.18",
|
|
62
|
+
"better-sqlite3": "12.6.2",
|
|
63
|
+
"eslint": "10.0.0",
|
|
64
|
+
"eslint-config-prettier": "10.1.8",
|
|
65
|
+
"eslint-plugin-prettier": "5.5.5",
|
|
66
|
+
"nuxt": "4.3.1",
|
|
67
|
+
"prettier": "3.8.1",
|
|
68
|
+
"typescript": "5.9.3",
|
|
69
|
+
"vitest": "4.0.18",
|
|
70
|
+
"vue-tsc": "3.2.4"
|
|
71
|
+
},
|
|
72
|
+
"peerDependencies": {
|
|
73
|
+
"@nuxt/ui": "^4.0.0"
|
|
74
|
+
},
|
|
75
|
+
"packageManager": "pnpm@10.29.2+sha512.bef43fa759d91fd2da4b319a5a0d13ef7a45bb985a3d7342058470f9d2051a3ba8674e629672654686ef9443ad13a82da2beb9eeb3e0221c87b8154fff9d74b8",
|
|
76
|
+
"pnpm": {
|
|
77
|
+
"onlyBuiltDependencies": [
|
|
78
|
+
"better-sqlite3"
|
|
79
|
+
]
|
|
75
80
|
}
|
|
76
|
-
}
|
|
81
|
+
}
|