@marianmeres/stuic 2.32.0 → 2.32.1

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.
@@ -3,6 +3,7 @@
3
3
  import { twMerge } from "../../utils/tw-merge.js";
4
4
 
5
5
  export interface Props {
6
+ class?: string;
6
7
  //
7
8
  headerClass?: string;
8
9
  railClass?: string;
@@ -25,6 +26,8 @@
25
26
 
26
27
  <script lang="ts">
27
28
  let {
29
+ class: classProp,
30
+ //
28
31
  headerClass,
29
32
  railClass,
30
33
  asideClass,
@@ -63,7 +66,7 @@
63
66
  </header>
64
67
  {/if}
65
68
 
66
- <div class="flex">
69
+ <div class={twMerge("flex", classProp)}>
67
70
  {#if rail}
68
71
  <div
69
72
  bind:this={elRail}
@@ -1,5 +1,6 @@
1
1
  import { type Snippet } from "svelte";
2
2
  export interface Props {
3
+ class?: string;
3
4
  headerClass?: string;
4
5
  railClass?: string;
5
6
  asideClass?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marianmeres/stuic",
3
- "version": "2.32.0",
3
+ "version": "2.32.1",
4
4
  "files": [
5
5
  "dist",
6
6
  "!dist/**/*.test.*",