rimelight-components 2.0.86 → 2.0.88

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.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rimelight-components",
3
- "version": "2.0.86",
3
+ "version": "2.0.88",
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.86";
7
+ const version = "2.0.88";
8
8
  const homepage = "https://rimelight.com/tools/rimelight-components";
9
9
 
10
10
  const defaultOptions = {
@@ -158,6 +158,12 @@ const module$1 = defineNuxtModule().with({
158
158
  options
159
159
  );
160
160
  nuxt.options.alias["#rimelight-components"] = resolve("./runtime");
161
+ nuxt.options.alias["#rimelight-components/utils"] = resolve("./runtime/utils/index");
162
+ nuxt.hook("nitro:config", (nitroConfig) => {
163
+ nitroConfig.alias = nitroConfig.alias || {};
164
+ nitroConfig.alias["#rimelight-components/utils"] = resolve("./runtime/utils/index");
165
+ });
166
+ nuxt.options.alias["rimelight-components/utils"] = resolve("./runtime/utils/index");
161
167
  addComponentsDir({
162
168
  path: resolve("./runtime/components/"),
163
169
  pathPrefix: false,
@@ -26,25 +26,32 @@ const {
26
26
 
27
27
  <template>
28
28
  <header :class="root()">
29
- <UContainer :class="container()">
30
- <div :class="left()">
29
+ <UContainer as="div" :class="container()">
30
+
31
+ <div v-if="$slots.left" :class="left()">
31
32
  <slot name="left" />
32
33
  </div>
33
- <div :class="center()">
34
+
35
+ <div v-if="$slots.center" :class="center()">
34
36
  <slot name="center" />
35
37
  </div>
36
- <div :class="right()">
38
+
39
+ <div v-if="$slots.right" :class="right()">
37
40
  <slot name="right" />
38
41
  </div>
39
- <div :class="collapsedLeft()">
42
+
43
+ <div v-if="$slots['collapsed-left']" :class="collapsedLeft()">
40
44
  <slot name="collapsed-left" />
41
45
  </div>
42
- <div :class="collapsedCenter()">
46
+
47
+ <div v-if="$slots['collapsed-center']" :class="collapsedCenter()">
43
48
  <slot name="collapsed-center" />
44
49
  </div>
45
- <div :class="collapsedRight()">
50
+
51
+ <div v-if="$slots['collapsed-right']" :class="collapsedRight()">
46
52
  <slot name="collapsed-right" />
47
53
  </div>
54
+
48
55
  </UContainer>
49
56
  </header>
50
57
  </template>
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.86",
4
+ "version": "2.0.88",
5
5
  "type": "module",
6
6
  "repository": {
7
7
  "type": "git",
@@ -41,7 +41,8 @@
41
41
  },
42
42
  "./utils/*": {
43
43
  "types": "./dist/runtime/utils/*.d.ts",
44
- "import": "./dist/runtime/utils/*.js"
44
+ "import": "./dist/runtime/utils/*.js",
45
+ "default": "./dist/runtime/utils/*.js"
45
46
  }
46
47
  },
47
48
  "typesVersions": {