@hilum/ui 3.2.1 → 3.2.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/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/button-group.tsx +2 -2
package/dist/index.js
CHANGED
|
@@ -774,7 +774,7 @@ function ButtonGroup({ children, className }) {
|
|
|
774
774
|
"div",
|
|
775
775
|
{
|
|
776
776
|
className: cn(
|
|
777
|
-
"inline-flex items-center gap-0.5 rounded-
|
|
777
|
+
"inline-flex items-center gap-0.5 rounded-xl bg-muted p-0.5",
|
|
778
778
|
className
|
|
779
779
|
),
|
|
780
780
|
children
|
|
@@ -787,7 +787,7 @@ function ButtonGroupItem({ active, className, children, ...props }) {
|
|
|
787
787
|
{
|
|
788
788
|
type: "button",
|
|
789
789
|
className: cn(
|
|
790
|
-
"relative inline-flex min-h-
|
|
790
|
+
"relative inline-flex min-h-8 items-center justify-center gap-1 rounded-[10px] px-3 py-1 body-sm font-medium",
|
|
791
791
|
"transition-[background-color,box-shadow,color,opacity,scale] active:scale-[0.96]",
|
|
792
792
|
"focus:z-10 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/30",
|
|
793
793
|
active ? "bg-card text-foreground shadow-natural" : "text-muted-foreground hover:text-foreground",
|