compote-ui 0.30.0 → 0.30.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.
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
<Select.Control>
|
|
48
48
|
<Select.Trigger
|
|
49
49
|
class={cn(
|
|
50
|
-
'flex w-full cursor-pointer items-center justify-between rounded-md border bg-
|
|
50
|
+
'flex w-full cursor-pointer items-center justify-between rounded-md border bg-transparent px-3 text-sm shadow-sm focus-visible:ring-1 focus-visible:ring-ring focus-visible:outline-none active:bg-surface-2 data-disabled:cursor-not-allowed data-disabled:opacity-50 data-invalid:border-danger data-invalid:focus-visible:ring-danger',
|
|
51
51
|
size === 'sm' ? 'h-8' : 'h-9'
|
|
52
52
|
)}
|
|
53
53
|
>
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
<ToggleGroup.Item
|
|
14
14
|
{...rest}
|
|
15
15
|
class={cn(
|
|
16
|
-
'inline-flex h-8 w-8 items-center justify-center rounded-md text-sm text-ink-dim transition-colors select-none hover:bg-surface-2 hover:text-ink focus-visible:ring-2 focus-visible:ring-ring focus-visible:outline-none data-disabled:cursor-not-allowed data-disabled:opacity-50 data-[state=on]:bg-surface-2 data-[state=on]:text-ink data-[state=on]:shadow-sm',
|
|
16
|
+
'inline-flex h-8 min-w-8 items-center justify-center rounded-md text-sm text-ink-dim transition-colors select-none hover:bg-surface-2 hover:text-ink focus-visible:ring-2 focus-visible:ring-ring focus-visible:outline-none data-disabled:cursor-not-allowed data-disabled:opacity-50 data-[state=on]:bg-surface-2 data-[state=on]:text-ink data-[state=on]:shadow-sm',
|
|
17
17
|
className
|
|
18
18
|
)}
|
|
19
19
|
>
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
{...rootProps}
|
|
15
15
|
bind:value
|
|
16
16
|
class={cn(
|
|
17
|
-
'inline-flex gap-
|
|
17
|
+
'inline-flex gap-px rounded-lg border border-border p-0.5 data-[orientation=vertical]:flex-col',
|
|
18
18
|
className
|
|
19
19
|
)}
|
|
20
20
|
>
|