@hilum/ui 2.0.0 → 2.0.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.
- package/README.md +2 -2
- package/dist/index.d.ts +357 -295
- package/dist/index.js +498 -439
- package/dist/index.js.map +1 -1
- package/llms.txt +9 -9
- package/package.json +1 -1
- package/src/components/accordion.tsx +5 -5
- package/src/components/action-panel.tsx +8 -6
- package/src/components/activity-feed.tsx +7 -5
- package/src/components/alert-dialog.tsx +5 -5
- package/src/components/alert.tsx +5 -5
- package/src/components/avatar-stack.tsx +3 -3
- package/src/components/avatar.tsx +4 -4
- package/src/components/badge.tsx +7 -7
- package/src/components/breadcrumb.tsx +5 -6
- package/src/components/button-group.tsx +7 -4
- package/src/components/button.tsx +7 -7
- package/src/components/calendar.tsx +10 -10
- package/src/components/card-heading.tsx +3 -3
- package/src/components/card.tsx +4 -4
- package/src/components/chart.tsx +10 -10
- package/src/components/checkbox.tsx +2 -2
- package/src/components/color-input.tsx +7 -5
- package/src/components/color-picker.tsx +8 -6
- package/src/components/combobox.tsx +66 -31
- package/src/components/command-palette.tsx +13 -11
- package/src/components/command.tsx +14 -12
- package/src/components/context-menu.tsx +16 -16
- package/src/components/data-table.tsx +18 -7
- package/src/components/date-picker.tsx +2 -2
- package/src/components/description-list.tsx +10 -8
- package/src/components/dialog.tsx +4 -4
- package/src/components/drawer.tsx +5 -5
- package/src/components/dropdown-menu.tsx +16 -16
- package/src/components/empty-state.tsx +5 -3
- package/src/components/field.tsx +4 -4
- package/src/components/grid-list.tsx +17 -13
- package/src/components/hover-card.tsx +1 -1
- package/src/components/input-group.tsx +10 -10
- package/src/components/input-number.tsx +7 -7
- package/src/components/input-otp.tsx +3 -3
- package/src/components/input.tsx +4 -4
- package/src/components/kbd.tsx +1 -1
- package/src/components/label.tsx +1 -1
- package/src/components/media-object.tsx +2 -0
- package/src/components/menubar.tsx +21 -21
- package/src/components/native-select.tsx +5 -5
- package/src/components/navigation-menu.tsx +10 -10
- package/src/components/notification.tsx +13 -11
- package/src/components/page-heading.tsx +8 -8
- package/src/components/pagination.tsx +1 -1
- package/src/components/popover.tsx +1 -1
- package/src/components/progress.tsx +1 -1
- package/src/components/property-row.tsx +25 -9
- package/src/components/radio-card.tsx +10 -8
- package/src/components/radio-group.tsx +4 -4
- package/src/components/resizable.tsx +3 -3
- package/src/components/scroll-area.tsx +1 -1
- package/src/components/section-heading.tsx +3 -3
- package/src/components/select.tsx +13 -13
- package/src/components/separator.tsx +1 -1
- package/src/components/sheet.tsx +4 -4
- package/src/components/sidebar.tsx +20 -20
- package/src/components/skeleton.tsx +1 -1
- package/src/components/slider.tsx +2 -2
- package/src/components/sonner.tsx +9 -8
- package/src/components/stacked-list.tsx +5 -5
- package/src/components/stat-card.tsx +9 -7
- package/src/components/steps.tsx +16 -14
- package/src/components/switch.tsx +2 -2
- package/src/components/table.tsx +9 -9
- package/src/components/tabs.tsx +2 -2
- package/src/components/textarea.tsx +4 -4
- package/src/components/toggle.tsx +9 -9
- package/src/components/tooltip.tsx +1 -1
|
@@ -18,19 +18,19 @@ const toggleVariants = cva(
|
|
|
18
18
|
variants: {
|
|
19
19
|
variant: {
|
|
20
20
|
default: [
|
|
21
|
-
"bg-transparent text-
|
|
22
|
-
"hover:bg-
|
|
23
|
-
"data-[state=on]:bg-
|
|
21
|
+
"bg-transparent text-muted-foreground",
|
|
22
|
+
"hover:bg-muted hover:text-foreground",
|
|
23
|
+
"data-[state=on]:bg-muted data-[state=on]:text-foreground",
|
|
24
24
|
],
|
|
25
25
|
outline: [
|
|
26
|
-
"border border-
|
|
27
|
-
"hover:bg-
|
|
28
|
-
"data-[state=on]:bg-
|
|
26
|
+
"border border-border bg-card text-muted-foreground shadow-natural",
|
|
27
|
+
"hover:bg-muted hover:text-foreground",
|
|
28
|
+
"data-[state=on]:bg-muted data-[state=on]:text-foreground data-[state=on]:border-border",
|
|
29
29
|
],
|
|
30
30
|
brand: [
|
|
31
|
-
"bg-transparent text-
|
|
32
|
-
"hover:bg-
|
|
33
|
-
"data-[state=on]:bg-brand-primary data-[state=on]:text-
|
|
31
|
+
"bg-transparent text-muted-foreground",
|
|
32
|
+
"hover:bg-muted hover:text-foreground",
|
|
33
|
+
"data-[state=on]:bg-brand-primary data-[state=on]:text-background",
|
|
34
34
|
],
|
|
35
35
|
},
|
|
36
36
|
size: {
|
|
@@ -27,7 +27,7 @@ const TooltipContent = React.forwardRef<
|
|
|
27
27
|
ref={ref}
|
|
28
28
|
sideOffset={sideOffset}
|
|
29
29
|
className={cn(
|
|
30
|
-
"z-50 rounded-lg bg-
|
|
30
|
+
"z-50 rounded-lg bg-foreground px-2.5 py-1.5 caption text-background",
|
|
31
31
|
"animate-in fade-in-0 zoom-in-95",
|
|
32
32
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
|
|
33
33
|
"data-[side=bottom]:slide-in-from-top-1 data-[side=top]:slide-in-from-bottom-1",
|