rimelight-components 1.1.0 → 1.1.2
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
|
@@ -22,10 +22,26 @@ const module = defineNuxtModule({
|
|
|
22
22
|
version: ">=4.0.0",
|
|
23
23
|
optional: false,
|
|
24
24
|
overrides: {},
|
|
25
|
-
defaults: {
|
|
25
|
+
defaults: {
|
|
26
|
+
prefix: "U",
|
|
27
|
+
theme: {
|
|
28
|
+
colors: [
|
|
29
|
+
"neutral",
|
|
30
|
+
"primary",
|
|
31
|
+
"secondary",
|
|
32
|
+
"info",
|
|
33
|
+
"success",
|
|
34
|
+
"warning",
|
|
35
|
+
"error",
|
|
36
|
+
"commentary",
|
|
37
|
+
"ideation",
|
|
38
|
+
"source"
|
|
39
|
+
]
|
|
40
|
+
}
|
|
41
|
+
}
|
|
26
42
|
}
|
|
27
43
|
},
|
|
28
|
-
|
|
44
|
+
setup() {
|
|
29
45
|
const resolver = createResolver(import.meta.url);
|
|
30
46
|
addComponentsDir({
|
|
31
47
|
path: resolver.resolve("./runtime/components/"),
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
<
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
<slot name="left"/>
|
|
10
|
-
</div>
|
|
11
|
-
<div class="flex flex-col items-start">
|
|
12
|
-
<slot name="center"/>
|
|
13
|
-
</div>
|
|
14
|
-
<div
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
</
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
1
|
+
<script setup lang="ts"></script>
|
|
2
|
+
|
|
3
|
+
<template>
|
|
4
|
+
<footer class="py-8 lg:py-12">
|
|
5
|
+
<UContainer class="flex flex-col justify-between gap-xl lg:flex-row">
|
|
6
|
+
<div
|
|
7
|
+
class="order-last flex flex-col items-center justify-between gap-xl lg:order-1 lg:flex-1 lg:items-start"
|
|
8
|
+
>
|
|
9
|
+
<slot name="left" />
|
|
10
|
+
</div>
|
|
11
|
+
<div class="flex flex-col items-start lg:order-2">
|
|
12
|
+
<slot name="center" />
|
|
13
|
+
</div>
|
|
14
|
+
<div
|
|
15
|
+
class="order-first flex flex-col items-center justify-between gap-xl lg:order-3 lg:flex-1 lg:items-end"
|
|
16
|
+
>
|
|
17
|
+
<slot name="right" />
|
|
18
|
+
</div>
|
|
19
|
+
</UContainer>
|
|
20
|
+
</footer>
|
|
21
|
+
</template>
|
|
22
|
+
|
|
23
|
+
<style scoped></style>
|
|
@@ -1,34 +1,30 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
<
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
<style scoped>
|
|
33
|
-
|
|
34
|
-
</style>
|
|
1
|
+
<script setup lang="ts"></script>
|
|
2
|
+
|
|
3
|
+
<template>
|
|
4
|
+
<header class="sticky top-0 z-50 h-[var(--ui-header-height)]">
|
|
5
|
+
<UContainer class="h-full">
|
|
6
|
+
<div class="flex h-full flex-row items-center justify-between p-sm">
|
|
7
|
+
<div class="lg:hidden">
|
|
8
|
+
<slot name="collapsed-left" />
|
|
9
|
+
</div>
|
|
10
|
+
<div class="lg:hidden">
|
|
11
|
+
<slot name="collapsed-center" />
|
|
12
|
+
</div>
|
|
13
|
+
<div class="lg:hidden">
|
|
14
|
+
<slot name="collapsed-right" />
|
|
15
|
+
</div>
|
|
16
|
+
<div class="hidden lg:flex">
|
|
17
|
+
<slot name="left" />
|
|
18
|
+
</div>
|
|
19
|
+
<div class="hidden lg:flex">
|
|
20
|
+
<slot name="center" />
|
|
21
|
+
</div>
|
|
22
|
+
<div class="hidden lg:flex">
|
|
23
|
+
<slot name="right" />
|
|
24
|
+
</div>
|
|
25
|
+
</div>
|
|
26
|
+
</UContainer>
|
|
27
|
+
</header>
|
|
28
|
+
</template>
|
|
29
|
+
|
|
30
|
+
<style scoped></style>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rimelight-components",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"description": "My new Nuxt module",
|
|
5
5
|
"repository": "RimelightEntertainment/rimelight-components",
|
|
6
6
|
"license": "MIT",
|
|
@@ -28,20 +28,23 @@
|
|
|
28
28
|
"dev:build": "nuxi build playground",
|
|
29
29
|
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
|
|
30
30
|
"release": "bun run lint && bun run test && bun run prepack && changelogen --release && bun publish && git push --follow-tags",
|
|
31
|
-
"lint": "
|
|
31
|
+
"lint": "oxlint .",
|
|
32
|
+
"lint:fix": "oxlint . --fix",
|
|
32
33
|
"test": "vitest run",
|
|
33
34
|
"test:watch": "vitest watch",
|
|
34
35
|
"test:types": "vue-tsc --noEmit && cd playground && vue-tsc --noEmit"
|
|
35
36
|
},
|
|
37
|
+
"workspaces": [
|
|
38
|
+
"playground"
|
|
39
|
+
],
|
|
36
40
|
"dependencies": {
|
|
37
41
|
"nuxt": "^4.1.3",
|
|
38
|
-
"@nuxt/image": "1.11.0",
|
|
39
42
|
"@nuxt/kit": "^4.1.3",
|
|
40
43
|
"date-fns": "^4.1.0",
|
|
41
|
-
"vue": "^3.5.22"
|
|
42
|
-
"@nuxt/ui": "4.0.1"
|
|
44
|
+
"vue": "^3.5.22"
|
|
43
45
|
},
|
|
44
46
|
"devDependencies": {
|
|
47
|
+
"@nuxt/image": "1.11.0",
|
|
45
48
|
"@nuxt/devtools": "^2.6.5",
|
|
46
49
|
"@nuxt/module-builder": "^1.0.2",
|
|
47
50
|
"@nuxt/schema": "^4.1.3",
|