@hilum/ui 2.0.2 → 2.0.4

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": "@hilum/ui",
3
- "version": "2.0.2",
3
+ "version": "2.0.4",
4
4
  "private": false,
5
5
  "description": "Hilum UI — design system primitives (Button, Input, Dialog, Combobox, …) + tokens + fonts + icons",
6
6
  "license": "MIT",
@@ -20,7 +20,7 @@ const ContextMenuContent = React.forwardRef<
20
20
  <ContextMenu.Content
21
21
  ref={ref}
22
22
  className={cn(
23
- "z-50 min-w-[8rem] bg-card rounded-xl shadow-natural p-1",
23
+ "z-50 min-w-[8rem] overflow-hidden rounded-xl border border-border bg-card p-1 text-card-foreground shadow-elevated outline-none",
24
24
  "data-[state=open]:animate-in data-[state=closed]:animate-out",
25
25
  "data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
26
26
  "data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95",
@@ -164,7 +164,7 @@ const ContextMenuSubContent = React.forwardRef<
164
164
  <ContextMenu.SubContent
165
165
  ref={ref}
166
166
  className={cn(
167
- "z-50 min-w-[8rem] bg-card rounded-xl border border-border shadow-natural p-1",
167
+ "z-50 min-w-[8rem] overflow-hidden rounded-xl border border-border bg-card p-1 text-card-foreground shadow-elevated outline-none",
168
168
  "data-[state=open]:animate-in data-[state=closed]:animate-out",
169
169
  "data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
170
170
  "data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95",