rimelight-components 2.1.7 → 2.1.9
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.d.mts +0 -1
- package/dist/module.d.ts +0 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +5 -8
- package/dist/runtime/types/schemas.d.ts +8 -8
- package/dist/types.d.mts +0 -2
- package/package.json +12 -36
package/dist/module.d.mts
CHANGED
package/dist/module.d.ts
CHANGED
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { addTemplate, defineNuxtModule, createResolver, addComponentsDir
|
|
1
|
+
import { addTemplate, defineNuxtModule, createResolver, addComponentsDir } from '@nuxt/kit';
|
|
2
2
|
import { defu } from 'defu';
|
|
3
3
|
import { readdirSync } from 'node:fs';
|
|
4
4
|
import { basename } from 'node:path';
|
|
5
5
|
|
|
6
6
|
const name = "rimelight-components";
|
|
7
|
-
const version = "2.1.
|
|
7
|
+
const version = "2.1.9";
|
|
8
8
|
const homepage = "https://rimelight.com/tools/rimelight-components";
|
|
9
9
|
|
|
10
10
|
const defaultOptions = {
|
|
@@ -187,6 +187,9 @@ const module$1 = defineNuxtModule().with({
|
|
|
187
187
|
nuxt.options.appConfig.rimelightComponents || {},
|
|
188
188
|
options
|
|
189
189
|
);
|
|
190
|
+
nuxt.options.alias["rimelight-components/composables"] = resolve("./runtime/composables");
|
|
191
|
+
nuxt.options.alias["rimelight-components/types"] = resolve("./runtime/types");
|
|
192
|
+
nuxt.options.alias["rimelight-components/utils"] = resolve("./runtime/utils");
|
|
190
193
|
addComponentsDir({
|
|
191
194
|
path: resolve("./runtime/components/"),
|
|
192
195
|
pathPrefix: false,
|
|
@@ -194,12 +197,6 @@ const module$1 = defineNuxtModule().with({
|
|
|
194
197
|
prefix: options.prefix ?? void 0,
|
|
195
198
|
global: true
|
|
196
199
|
});
|
|
197
|
-
nuxt.options.alias["#rimelight"] = resolve("./runtime");
|
|
198
|
-
addImportsDir(resolve("./runtime/composables"));
|
|
199
|
-
addImportsDir(resolve("./runtime/types"));
|
|
200
|
-
addImportsDir(resolve("./runtime/utils"));
|
|
201
|
-
addServerImportsDir(resolve("./runtime/types"));
|
|
202
|
-
addServerImportsDir(resolve("./runtime/utils"));
|
|
203
200
|
const blockRendererFiles = readdirSync(resolve("./runtime/components/blocks/renderer")).filter(
|
|
204
201
|
(name2) => name2.endsWith(".vue")
|
|
205
202
|
);
|
|
@@ -8,18 +8,18 @@ export declare const linkVariantEnum: z.ZodEnum<{
|
|
|
8
8
|
link: "link";
|
|
9
9
|
solid: "solid";
|
|
10
10
|
outline: "outline";
|
|
11
|
-
subtle: "subtle";
|
|
12
11
|
soft: "soft";
|
|
12
|
+
subtle: "subtle";
|
|
13
13
|
ghost: "ghost";
|
|
14
14
|
}>;
|
|
15
15
|
export declare const linkColorEnum: z.ZodEnum<{
|
|
16
|
+
primary: "primary";
|
|
17
|
+
neutral: "neutral";
|
|
18
|
+
secondary: "secondary";
|
|
16
19
|
info: "info";
|
|
17
20
|
success: "success";
|
|
18
21
|
warning: "warning";
|
|
19
22
|
error: "error";
|
|
20
|
-
primary: "primary";
|
|
21
|
-
secondary: "secondary";
|
|
22
|
-
neutral: "neutral";
|
|
23
23
|
}>;
|
|
24
24
|
export declare const ImageSchema: z.ZodObject<{
|
|
25
25
|
src: z.ZodString;
|
|
@@ -35,20 +35,20 @@ export declare const LinkSchema: z.ZodObject<{
|
|
|
35
35
|
icon: z.ZodOptional<z.ZodString>;
|
|
36
36
|
trailing: z.ZodOptional<z.ZodBoolean>;
|
|
37
37
|
color: z.ZodOptional<z.ZodEnum<{
|
|
38
|
+
primary: "primary";
|
|
39
|
+
neutral: "neutral";
|
|
40
|
+
secondary: "secondary";
|
|
38
41
|
info: "info";
|
|
39
42
|
success: "success";
|
|
40
43
|
warning: "warning";
|
|
41
44
|
error: "error";
|
|
42
|
-
primary: "primary";
|
|
43
|
-
secondary: "secondary";
|
|
44
|
-
neutral: "neutral";
|
|
45
45
|
}>>;
|
|
46
46
|
variant: z.ZodOptional<z.ZodEnum<{
|
|
47
47
|
link: "link";
|
|
48
48
|
solid: "solid";
|
|
49
49
|
outline: "outline";
|
|
50
|
-
subtle: "subtle";
|
|
51
50
|
soft: "soft";
|
|
51
|
+
subtle: "subtle";
|
|
52
52
|
ghost: "ghost";
|
|
53
53
|
}>>;
|
|
54
54
|
}, z.core.$strip>;
|
package/dist/types.d.mts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rimelight-components",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.9",
|
|
4
4
|
"description": "A component library by Rimelight Entertainment.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"nuxt",
|
|
@@ -21,42 +21,18 @@
|
|
|
21
21
|
"#build/rimelight-components.css": "./.nuxt/rimelight-components.css"
|
|
22
22
|
},
|
|
23
23
|
"exports": {
|
|
24
|
-
".":
|
|
25
|
-
|
|
26
|
-
"
|
|
27
|
-
"
|
|
24
|
+
".": "./dist/module.mjs",
|
|
25
|
+
"./composables": {
|
|
26
|
+
"types": "./dist/runtime/composables/index.d.ts",
|
|
27
|
+
"import": "./dist/runtime/composables/index.mjs"
|
|
28
28
|
},
|
|
29
|
-
"./
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
"
|
|
35
|
-
|
|
36
|
-
},
|
|
37
|
-
"typesVersions": {
|
|
38
|
-
"*": {
|
|
39
|
-
".": [
|
|
40
|
-
"./dist/module.d.mts"
|
|
41
|
-
],
|
|
42
|
-
"vite": [
|
|
43
|
-
"./dist/vite.d.mts"
|
|
44
|
-
],
|
|
45
|
-
"./runtime/*": [
|
|
46
|
-
"./dist/runtime/index.d.ts"
|
|
47
|
-
],
|
|
48
|
-
"components/*": [
|
|
49
|
-
"./dist/runtime/components/*"
|
|
50
|
-
],
|
|
51
|
-
"composables/*": [
|
|
52
|
-
"./dist/runtime/composables/*"
|
|
53
|
-
],
|
|
54
|
-
"utils": [
|
|
55
|
-
"./dist/runtime/utils/index.d.ts"
|
|
56
|
-
],
|
|
57
|
-
"utils/*": [
|
|
58
|
-
"./dist/runtime/utils/*.d.ts"
|
|
59
|
-
]
|
|
29
|
+
"./types": {
|
|
30
|
+
"types": "./dist/runtime/types/index.d.ts",
|
|
31
|
+
"import": "./dist/runtime/types/index.mjs"
|
|
32
|
+
},
|
|
33
|
+
"./utils": {
|
|
34
|
+
"types": "./dist/runtime/utils/index.d.ts",
|
|
35
|
+
"import": "./dist/runtime/utils/index.mjs"
|
|
60
36
|
}
|
|
61
37
|
},
|
|
62
38
|
"style": "./dist/runtime/index.css",
|