@opencode-ai/ui 1.18.6 → 1.18.8

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opencode-ai/ui",
3
- "version": "1.18.6",
3
+ "version": "1.18.8",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -121,6 +121,7 @@ export function SelectV2<T>(props: SelectV2Props<T>) {
121
121
  <Kobalte<T, { category: string; options: T[] }>
122
122
  {...others}
123
123
  multiple={false}
124
+ allowDuplicateSelectionEvents={false}
124
125
  disabled={local.disabled}
125
126
  data-component="select-v2-root"
126
127
  placement={local.placement ?? (inline() ? "bottom-end" : "bottom-start")}
@@ -30,7 +30,7 @@
30
30
  border: none;
31
31
  background:
32
32
  linear-gradient(180deg, var(--v2-alpha-light-0) 0%, var(--v2-alpha-light-20) 100%),
33
- var(--v2-background-bg-layer-03);
33
+ var(--v2-background-bg-layer-04);
34
34
  box-shadow: var(--v2-elevation-switch-off);
35
35
  transition:
36
36
  background 90ms ease-out,
@@ -90,7 +90,7 @@
90
90
  background:
91
91
  linear-gradient(0deg, var(--v2-overlay-simple-overlay-hover), var(--v2-overlay-simple-overlay-hover)),
92
92
  linear-gradient(180deg, var(--v2-alpha-light-0) 0%, var(--v2-alpha-light-20) 100%),
93
- var(--v2-background-bg-layer-03);
93
+ var(--v2-background-bg-layer-04);
94
94
  }
95
95
 
96
96
  &:hover:not([data-disabled], [data-readonly]) [data-slot="switch-thumb"] {