compote-ui 0.60.0 → 0.60.2

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.
@@ -19,7 +19,10 @@
19
19
 
20
20
  <Listbox.Content
21
21
  {...restProps}
22
- class={cn('flex min-h-0 w-full flex-1 flex-col overflow-y-auto outline-none', className)}
22
+ class={cn(
23
+ 'flex min-h-0 w-full flex-1 flex-col overflow-y-auto outline-none bg-surface-document rounded p-1 border scrollbar-thin',
24
+ className
25
+ )}
23
26
  >
24
27
  {@render items?.({ items: ctx.collection.items, group: ctx.collection.group() })}
25
28
  </Listbox.Content>
@@ -1,7 +1,7 @@
1
1
  import type { SelectRootBaseProps } from '@ark-ui/svelte/select';
2
2
  import type { ListItem } from '../../utils/collections';
3
3
  export interface SelectProps<T extends ListItem> extends Omit<SelectRootBaseProps<T>, 'value' | 'collection'> {
4
- value?: number | string | null;
4
+ value?: T['value'] | null;
5
5
  items: T[];
6
6
  label?: string;
7
7
  placeholder?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "compote-ui",
3
- "version": "0.60.0",
3
+ "version": "0.60.2",
4
4
  "license": "MIT",
5
5
  "scripts": {
6
6
  "dev": "vite dev --open",