@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.
package/package.json
CHANGED
|
@@ -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>
|