rimelight-components 2.1.6 → 2.1.8

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 CHANGED
@@ -1,5 +1,4 @@
1
1
  import * as _nuxt_schema from '@nuxt/schema';
2
- export * from '../dist/runtime/types/index.mjs';
3
2
 
4
3
  interface CalloutOptions {
5
4
  icon: string;
package/dist/module.d.ts CHANGED
@@ -1,5 +1,4 @@
1
1
  import * as _nuxt_schema from '@nuxt/schema';
2
- export * from '../dist/runtime/types/index.mjs';
3
2
 
4
3
  interface CalloutOptions {
5
4
  icon: string;
package/dist/module.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rimelight-components",
3
- "version": "2.1.6",
3
+ "version": "2.1.8",
4
4
  "docs": "https://rimelight.com/tools/rimelight-components",
5
5
  "configKey": "rimelightComponents",
6
6
  "compatibility": {
package/dist/module.mjs CHANGED
@@ -1,10 +1,10 @@
1
- import { addTemplate, defineNuxtModule, createResolver, addComponentsDir, addImportsDir, addServerImportsDir } from '@nuxt/kit';
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.6";
7
+ const version = "2.1.8";
8
8
  const homepage = "https://rimelight.com/tools/rimelight-components";
9
9
 
10
10
  const defaultOptions = {
@@ -194,12 +194,6 @@ const module$1 = defineNuxtModule().with({
194
194
  prefix: options.prefix ?? void 0,
195
195
  global: true
196
196
  });
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
197
  const blockRendererFiles = readdirSync(resolve("./runtime/components/blocks/renderer")).filter(
204
198
  (name2) => name2.endsWith(".vue")
205
199
  );
@@ -6,20 +6,20 @@ import { type Localized } from "./index.js";
6
6
  export declare const LocalizedSchema: <T extends z.ZodTypeAny>(schema: T) => z.ZodType<Localized<z.infer<T>>>;
7
7
  export declare const linkVariantEnum: z.ZodEnum<{
8
8
  link: "link";
9
- ghost: "ghost";
10
9
  solid: "solid";
11
10
  outline: "outline";
12
- subtle: "subtle";
13
11
  soft: "soft";
12
+ subtle: "subtle";
13
+ ghost: "ghost";
14
14
  }>;
15
15
  export declare const linkColorEnum: z.ZodEnum<{
16
- error: "error";
16
+ primary: "primary";
17
17
  neutral: "neutral";
18
+ secondary: "secondary";
18
19
  info: "info";
19
20
  success: "success";
20
21
  warning: "warning";
21
- primary: "primary";
22
- secondary: "secondary";
22
+ error: "error";
23
23
  }>;
24
24
  export declare const ImageSchema: z.ZodObject<{
25
25
  src: z.ZodString;
@@ -35,21 +35,21 @@ 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
- error: "error";
38
+ primary: "primary";
39
39
  neutral: "neutral";
40
+ secondary: "secondary";
40
41
  info: "info";
41
42
  success: "success";
42
43
  warning: "warning";
43
- primary: "primary";
44
- secondary: "secondary";
44
+ error: "error";
45
45
  }>>;
46
46
  variant: z.ZodOptional<z.ZodEnum<{
47
47
  link: "link";
48
- ghost: "ghost";
49
48
  solid: "solid";
50
49
  outline: "outline";
51
- subtle: "subtle";
52
50
  soft: "soft";
51
+ subtle: "subtle";
52
+ ghost: "ghost";
53
53
  }>>;
54
54
  }, z.core.$strip>;
55
55
  export type Link = z.infer<typeof LinkSchema>;
package/dist/types.d.mts CHANGED
@@ -1,5 +1,3 @@
1
1
  export { default } from './module.mjs'
2
2
 
3
3
  export { type ModuleOptions } from './module.mjs'
4
-
5
- export * from '../dist/runtime/types/index.mjs'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rimelight-components",
3
- "version": "2.1.6",
3
+ "version": "2.1.8",
4
4
  "description": "A component library by Rimelight Entertainment.",
5
5
  "keywords": [
6
6
  "nuxt",
@@ -20,50 +20,6 @@
20
20
  "#build/rimelight-components/*": "./.nuxt/rimelight-components/*.ts",
21
21
  "#build/rimelight-components.css": "./.nuxt/rimelight-components.css"
22
22
  },
23
- "exports": {
24
- "./*": "./*",
25
- ".": {
26
- "types": "./dist/module.d.mts",
27
- "import": "./dist/module.mjs",
28
- "style": "./dist/runtime/index.css"
29
- },
30
- "./components/*": "./dist/runtime/components/*",
31
- "./composables/*": "./dist/runtime/composables/*",
32
- "./runtime/*": "./dist/runtime/*",
33
- "./utils/*": {
34
- "types": "./dist/runtime/utils/*.d.mts",
35
- "import": "./dist/runtime/utils/*.js"
36
- },
37
- "./db": {
38
- "types": "./dist/runtime/utils/db.d.ts",
39
- "import": "./dist/runtime/utils/db.js"
40
- }
41
- },
42
- "typesVersions": {
43
- "*": {
44
- ".": [
45
- "./dist/module.d.mts"
46
- ],
47
- "vite": [
48
- "./dist/vite.d.mts"
49
- ],
50
- "./runtime/*": [
51
- "./dist/runtime/index.d.ts"
52
- ],
53
- "components/*": [
54
- "./dist/runtime/components/*"
55
- ],
56
- "composables/*": [
57
- "./dist/runtime/composables/*"
58
- ],
59
- "utils": [
60
- "./dist/runtime/utils/index.d.ts"
61
- ],
62
- "utils/*": [
63
- "./dist/runtime/utils/*.d.ts"
64
- ]
65
- }
66
- },
67
23
  "style": "./dist/runtime/index.css",
68
24
  "files": [
69
25
  "dist"
@@ -1,6 +0,0 @@
1
- export declare const id: import("drizzle-orm").NotNull<import("drizzle-orm").HasDefault<import("drizzle-orm/pg-core").PgUUIDBuilderInitial<"id">>>;
2
- export declare const timestamps: {
3
- updated_at: import("drizzle-orm").HasDefault<import("drizzle-orm/pg-core").PgTimestampBuilderInitial<"updated_at">>;
4
- created_at: import("drizzle-orm").NotNull<import("drizzle-orm").HasDefault<import("drizzle-orm/pg-core").PgTimestampBuilderInitial<"created_at">>>;
5
- deleted_at: import("drizzle-orm/pg-core").PgTimestampBuilderInitial<"deleted_at">;
6
- };
@@ -1,10 +0,0 @@
1
- import { uuid, timestamp } from "drizzle-orm/pg-core";
2
- import { sql } from "drizzle-orm";
3
- export const id = uuid("id").default(sql`uuidv7()`).notNull();
4
- export const timestamps = {
5
- updated_at: timestamp("updated_at", {
6
- withTimezone: true
7
- }).$onUpdate(() => /* @__PURE__ */ new Date()),
8
- created_at: timestamp("created_at", { withTimezone: true }).defaultNow().notNull(),
9
- deleted_at: timestamp("deleted_at", { withTimezone: true })
10
- };
@@ -1,10 +0,0 @@
1
- import { uuid, timestamp } from "drizzle-orm/pg-core";
2
- import { sql } from "drizzle-orm";
3
- export const id = uuid("id").default(sql`uuidv7()`).notNull();
4
- export const timestamps = {
5
- updated_at: timestamp("updated_at", {
6
- withTimezone: true
7
- }).$onUpdate(() => /* @__PURE__ */ new Date()),
8
- created_at: timestamp("created_at", { withTimezone: true }).defaultNow().notNull(),
9
- deleted_at: timestamp("deleted_at", { withTimezone: true })
10
- };