@rimelight/ui 0.0.41 → 0.0.42

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rimelight/ui",
3
- "version": "0.0.41",
3
+ "version": "0.0.42",
4
4
  "private": false,
5
5
  "description": "Rimelight Entertainment UI Library.",
6
6
  "keywords": [
@@ -1,21 +1,23 @@
1
- ---
2
- import { scv } from "css-variants"
1
+ ---
2
+ import { scv } from "css-variants"
3
3
  import { useUi } from "../../utils/useUi"
4
- import { resolveClasses } from "../../utils/resolveClasses"
5
- import type { DashboardPanelProps } from "./dashboard-panel"
6
- import dashboardPanelTheme from "./dashboard-panel.theme"
7
-
8
-
9
- const dashboardPanel = scv(dashboardPanelTheme)
10
-
11
- const {
12
- ui: uiProp,
13
- class: className,
14
- ...rest
15
- } = Astro.props as DashboardPanelProps
16
-
17
- const classes = resolveClasses(dashboardPanel, {}, useUi("dashboardPanel", uiProp), className);
18
- ---
19
- <div class={classes.root} data-slot="root" {...rest}>
20
- <slot />
4
+ import { resolveClasses } from "../../utils/resolveClasses"
5
+ import type { DashboardPanelProps } from "./dashboard-panel"
6
+ import dashboardPanelTheme from "./dashboard-panel.theme"
7
+
8
+
9
+ const dashboardPanel = scv(dashboardPanelTheme)
10
+
11
+ const {
12
+ ui: uiProp,
13
+ class: className,
14
+ ...rest
15
+ } = Astro.props as DashboardPanelProps
16
+
17
+ const classes = resolveClasses(dashboardPanel, {}, useUi("dashboardPanel", uiProp), className);
18
+ ---
19
+ <div class={classes.root} data-slot="root" {...rest}>
20
+ <slot name="header" />
21
+ <slot name="body" />
22
+ <slot />
21
23
  </div>