horizon-design 0.0.8 → 0.0.9

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.
@@ -5,10 +5,12 @@
5
5
 
6
6
  let {
7
7
  class: className = '',
8
+ innerClass = '',
8
9
  children,
9
10
  ...rest
10
11
  }: {
11
12
  class?: string;
13
+ innerClass?: string;
12
14
  children?: Snippet;
13
15
  [key: string]: unknown;
14
16
  } = $props();
@@ -41,7 +43,7 @@
41
43
  <ScrollArea.Viewport
42
44
  class="size-full scrollbar-none rounded-[inherit] [&::-webkit-scrollbar]:hidden"
43
45
  >
44
- <div bind:this={contentEl}>
46
+ <div class={cn('size-full', innerClass)} bind:this={contentEl}>
45
47
  {@render children?.()}
46
48
  </div>
47
49
  </ScrollArea.Viewport>
@@ -2,6 +2,7 @@ import type { Snippet } from 'svelte';
2
2
  import { ScrollArea } from '@ark-ui/svelte';
3
3
  type $$ComponentProps = {
4
4
  class?: string;
5
+ innerClass?: string;
5
6
  children?: Snippet;
6
7
  [key: string]: unknown;
7
8
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "horizon-design",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/horizon-engine/horizon-design"