rimelight-components 2.0.14 → 2.0.16

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
@@ -22,7 +22,47 @@ interface ModuleOptions {
22
22
  source: CalloutOptions;
23
23
  };
24
24
  }
25
- declare const _default: _nuxt_schema.NuxtModule<ModuleOptions, ModuleOptions, false>;
25
+ declare const _default: _nuxt_schema.NuxtModule<ModuleOptions, {
26
+ enabled: boolean;
27
+ prefix: string;
28
+ callouts: {
29
+ info: {
30
+ icon: string;
31
+ title: string;
32
+ tooltip: string;
33
+ };
34
+ success: {
35
+ icon: string;
36
+ title: string;
37
+ tooltip: string;
38
+ };
39
+ warning: {
40
+ icon: string;
41
+ title: string;
42
+ tooltip: string;
43
+ };
44
+ error: {
45
+ icon: string;
46
+ title: string;
47
+ tooltip: string;
48
+ };
49
+ commentary: {
50
+ icon: string;
51
+ title: string;
52
+ tooltip: string;
53
+ };
54
+ ideation: {
55
+ icon: string;
56
+ title: string;
57
+ tooltip: string;
58
+ };
59
+ source: {
60
+ icon: string;
61
+ title: string;
62
+ tooltip: string;
63
+ };
64
+ };
65
+ }, true>;
26
66
 
27
67
  export { _default as default };
28
68
  export type { ModuleOptions };
package/dist/module.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rimelight-components",
3
- "version": "2.0.14",
3
+ "version": "2.0.16",
4
4
  "docs": "https://rimelight.com/tools/rimelight-components",
5
5
  "configKey": "rimelightComponents",
6
6
  "compatibility": {
package/dist/module.mjs CHANGED
@@ -4,7 +4,7 @@ import { readdirSync } from 'node:fs';
4
4
  import { basename } from 'node:path';
5
5
 
6
6
  const name = "rimelight-components";
7
- const version = "2.0.14";
7
+ const version = "2.0.16";
8
8
  const homepage = "https://rimelight.com/tools/rimelight-components";
9
9
 
10
10
  const defaultOptions = {
@@ -85,7 +85,7 @@ function addBlockMapTemplates(blockNames) {
85
85
  return template;
86
86
  }
87
87
 
88
- const module = defineNuxtModule({
88
+ const module = defineNuxtModule().with({
89
89
  meta: {
90
90
  name,
91
91
  version,
@@ -95,55 +95,58 @@ const module = defineNuxtModule({
95
95
  nuxt: ">=4.0.0"
96
96
  }
97
97
  },
98
- hooks: {},
99
98
  defaults: defaultOptions,
100
- moduleDependencies: {
101
- "@nuxt/image": {
102
- version: ">=1.0.0",
103
- optional: false,
104
- overrides: {},
105
- defaults: {}
106
- },
107
- "@nuxtjs/i18n": {
108
- version: ">=10.1.1",
109
- optional: false,
110
- overrides: {},
111
- defaults: {}
112
- },
113
- "@nuxt/ui": {
114
- version: ">=4.0.0",
115
- optional: false,
116
- overrides: {},
117
- defaults: {
118
- prefix: "U",
119
- theme: {
120
- colors: [
121
- "neutral",
122
- "primary",
123
- "secondary",
124
- "info",
125
- "success",
126
- "warning",
127
- "error",
128
- "commentary",
129
- "ideation",
130
- "source"
131
- ]
99
+ hooks: {},
100
+ moduleDependencies(_nuxt) {
101
+ const dependencies = {
102
+ "@nuxt/image": {
103
+ version: ">=1.0.0",
104
+ optional: false,
105
+ overrides: {},
106
+ defaults: {}
107
+ },
108
+ "@nuxtjs/i18n": {
109
+ version: ">=10.1.1",
110
+ optional: false,
111
+ overrides: {},
112
+ defaults: {}
113
+ },
114
+ "@nuxt/ui": {
115
+ version: ">=4.0.0",
116
+ optional: false,
117
+ overrides: {},
118
+ defaults: {
119
+ prefix: "U",
120
+ theme: {
121
+ colors: [
122
+ "neutral",
123
+ "primary",
124
+ "secondary",
125
+ "info",
126
+ "success",
127
+ "warning",
128
+ "error",
129
+ "commentary",
130
+ "ideation",
131
+ "source"
132
+ ]
133
+ }
132
134
  }
135
+ },
136
+ "@vueuse/nuxt": {
137
+ version: ">=13.9.0",
138
+ optional: false,
139
+ overrides: {},
140
+ defaults: {}
141
+ },
142
+ "motion-v/nuxt": {
143
+ version: ">=1.7.2",
144
+ optional: false,
145
+ overrides: {},
146
+ defaults: {}
133
147
  }
134
- },
135
- "@vueuse/nuxt": {
136
- version: ">=13.9.0",
137
- optional: false,
138
- overrides: {},
139
- defaults: {}
140
- },
141
- "motion-v/nuxt": {
142
- version: ">=1.7.2",
143
- optional: false,
144
- overrides: {},
145
- defaults: {}
146
- }
148
+ };
149
+ return dependencies;
147
150
  },
148
151
  onInstall(_nuxt) {
149
152
  console.log(`Setting up ${name}.`);
@@ -1,9 +1,6 @@
1
- import type { ModuleOptions } from "../../module"
1
+ declare module '#build/app.config' {
2
+ import type { AppConfig } from '@nuxt/schema'
2
3
 
3
- declare module "@nuxt/schema" {
4
- interface AppConfig {
5
- rimelightComponents: ModuleOptions
6
- }
7
- }
8
-
9
- export {}
4
+ const _default: AppConfig
5
+ export default _default
6
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "rimelight-components",
3
3
  "description": "A component library by Rimelight Entertainment.",
4
- "version": "2.0.14",
4
+ "version": "2.0.16",
5
5
  "type": "module",
6
6
  "repository": {
7
7
  "type": "git",