@opencode-ai/ui 0.0.0-dev-19174 → 0.0.0-dev-19178

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.
@@ -18,5 +18,6 @@ export type SelectProps<T> = Omit<ComponentProps<typeof Root<T, {
18
18
  numeric?: boolean;
19
19
  children?: (item: T) => JSX.Element;
20
20
  valueClass?: string;
21
+ contentClass?: string;
21
22
  };
22
23
  export declare function Select<T>(props: SelectProps<T>): JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opencode-ai/ui",
3
- "version": "0.0.0-dev-19174",
3
+ "version": "0.0.0-dev-19178",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -68,6 +68,7 @@ export type SelectProps<T> = Omit<
68
68
  numeric?: boolean
69
69
  children?: (item: T) => JSX.Element
70
70
  valueClass?: string
71
+ contentClass?: string
71
72
  }
72
73
 
73
74
  export function Select<T>(props: SelectProps<T>) {
@@ -88,6 +89,7 @@ export function Select<T>(props: SelectProps<T>) {
88
89
  "numeric",
89
90
  "disabled",
90
91
  "valueClass",
92
+ "contentClass",
91
93
  "placement",
92
94
  "gutter",
93
95
  "sameWidth",
@@ -208,7 +210,7 @@ export function Select<T>(props: SelectProps<T>) {
208
210
  </span>
209
211
  </Trigger>
210
212
  <Portal>
211
- <Content data-component="menu-v2-content" data-slot="select-v2-content">
213
+ <Content class={local.contentClass} data-component="menu-v2-content" data-slot="select-v2-content">
212
214
  <Listbox data-slot="select-v2-listbox" />
213
215
  </Content>
214
216
  </Portal>