rimelight-components 1.0.1 → 1.1.1
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.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineNuxtModule, createResolver, addComponentsDir } from '@nuxt/kit';
|
|
1
|
+
import { defineNuxtModule, createResolver, addComponentsDir, addImportsDir } from '@nuxt/kit';
|
|
2
2
|
|
|
3
3
|
const module = defineNuxtModule({
|
|
4
4
|
meta: {
|
|
@@ -12,6 +12,12 @@ const module = defineNuxtModule({
|
|
|
12
12
|
defaults: {},
|
|
13
13
|
hooks: {},
|
|
14
14
|
moduleDependencies: {
|
|
15
|
+
"@nuxt/image": {
|
|
16
|
+
version: ">=1.0.0",
|
|
17
|
+
optional: false,
|
|
18
|
+
overrides: {},
|
|
19
|
+
defaults: {}
|
|
20
|
+
},
|
|
15
21
|
"@nuxt/ui": {
|
|
16
22
|
version: ">=4.0.0",
|
|
17
23
|
optional: false,
|
|
@@ -27,8 +33,9 @@ const module = defineNuxtModule({
|
|
|
27
33
|
prefix: "RC",
|
|
28
34
|
global: true
|
|
29
35
|
});
|
|
36
|
+
addImportsDir(resolver.resolve("./runtime/composables"));
|
|
30
37
|
},
|
|
31
|
-
onInstall(
|
|
38
|
+
onInstall() {
|
|
32
39
|
console.log("Setting up rimelight-components for the first time!");
|
|
33
40
|
},
|
|
34
41
|
onUpgrade() {
|
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
<template>
|
|
6
6
|
<footer class="py-8 lg:py-12">
|
|
7
7
|
<UContainer class="flex flex-col justify-between gap-xl lg:flex-row">
|
|
8
|
-
<div class="order-last flex flex-col
|
|
8
|
+
<div class="order-last items-center flex flex-col justify-between gap-xl lg:order-first lg:flex-1 lg:items-start">
|
|
9
9
|
<slot name="left"/>
|
|
10
10
|
</div>
|
|
11
|
-
<div class="flex flex-col items-start
|
|
11
|
+
<div class="flex flex-col items-start">
|
|
12
12
|
<slot name="center"/>
|
|
13
13
|
</div>
|
|
14
|
-
<div class="order-first flex flex-col items-center justify-between gap-xl lg:
|
|
14
|
+
<div class="order-first lg:order-last flex flex-col items-center justify-between gap-xl lg:flex-1 lg:items-end">
|
|
15
15
|
<slot name="right"/>
|
|
16
16
|
</div>
|
|
17
17
|
</UContainer>
|
|
@@ -3,25 +3,25 @@
|
|
|
3
3
|
</script>
|
|
4
4
|
|
|
5
5
|
<template>
|
|
6
|
-
<header>
|
|
7
|
-
<UContainer>
|
|
8
|
-
<div class="flex flex-row items-center justify-between p-sm">
|
|
9
|
-
<div class="
|
|
6
|
+
<header class="h-[var(--ui-header-height)]">
|
|
7
|
+
<UContainer class="h-full">
|
|
8
|
+
<div class="flex flex-row items-center justify-between p-sm h-full">
|
|
9
|
+
<div class="sm:hidden">
|
|
10
10
|
<slot name="collapsed-left" />
|
|
11
11
|
</div>
|
|
12
|
-
<div class="
|
|
12
|
+
<div class="sm:hidden">
|
|
13
13
|
<slot name="collapsed-center" />
|
|
14
14
|
</div>
|
|
15
|
-
<div class="
|
|
15
|
+
<div class="sm:hidden">
|
|
16
16
|
<slot name="collapsed-right" />
|
|
17
17
|
</div>
|
|
18
|
-
<div class="sm:
|
|
18
|
+
<div class="hidden sm:block">
|
|
19
19
|
<slot name="left" />
|
|
20
20
|
</div>
|
|
21
|
-
<div class="sm:
|
|
21
|
+
<div class="hidden sm:block">
|
|
22
22
|
<slot name="center" />
|
|
23
23
|
</div>
|
|
24
|
-
<div class="sm:
|
|
24
|
+
<div class="hidden sm:block">
|
|
25
25
|
<slot name="right" />
|
|
26
26
|
</div>
|
|
27
27
|
</div>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rimelight-components",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "My new Nuxt module",
|
|
5
5
|
"repository": "RimelightEntertainment/rimelight-components",
|
|
6
6
|
"license": "MIT",
|
|
@@ -34,20 +34,20 @@
|
|
|
34
34
|
"test:types": "vue-tsc --noEmit && cd playground && vue-tsc --noEmit"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
+
"nuxt": "^4.1.3",
|
|
37
38
|
"@nuxt/kit": "^4.1.3",
|
|
38
39
|
"date-fns": "^4.1.0",
|
|
39
40
|
"vue": "^3.5.22"
|
|
40
41
|
},
|
|
41
42
|
"devDependencies": {
|
|
42
|
-
"@nuxt/
|
|
43
|
+
"@nuxt/ui": "^4.0.1",
|
|
43
44
|
"@nuxt/image": "1.11.0",
|
|
45
|
+
"@nuxt/devtools": "^2.6.5",
|
|
44
46
|
"@nuxt/module-builder": "^1.0.2",
|
|
45
47
|
"@nuxt/schema": "^4.1.3",
|
|
46
48
|
"@nuxt/test-utils": "^3.19.2",
|
|
47
|
-
"@nuxt/ui": "4.0.1",
|
|
48
49
|
"@types/node": "latest",
|
|
49
50
|
"changelogen": "^0.6.2",
|
|
50
|
-
"nuxt": "^4.1.3",
|
|
51
51
|
"typescript": "~5.9.3",
|
|
52
52
|
"vitest": "^3.2.4",
|
|
53
53
|
"vue-tsc": "^3.1.0",
|
|
@@ -55,5 +55,8 @@
|
|
|
55
55
|
"oxlint": "^1.21.0",
|
|
56
56
|
"prettier": "^3.6.2",
|
|
57
57
|
"prettier-plugin-tailwindcss": "^0.6.14"
|
|
58
|
+
},
|
|
59
|
+
"peerDependencies": {
|
|
60
|
+
"@nuxt/ui": "^4.0.1"
|
|
58
61
|
}
|
|
59
62
|
}
|