@7onic-ui/react 0.2.6 → 0.2.7
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.js +12 -12
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +12 -12
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1355,7 +1355,7 @@ var Field = Object.assign(FieldRoot, {
|
|
|
1355
1355
|
var inputVariants = cva9(
|
|
1356
1356
|
[
|
|
1357
1357
|
"flex w-full bg-background text-foreground placeholder:text-foreground/30",
|
|
1358
|
-
"border transition-colors duration-micro",
|
|
1358
|
+
"border transition-colors duration-micro outline-transparent",
|
|
1359
1359
|
"focus:[outline:2px_solid_transparent]",
|
|
1360
1360
|
"disabled:cursor-not-allowed disabled:opacity-50 disabled:bg-background-muted",
|
|
1361
1361
|
"file:border-0 file:bg-transparent file:text-sm file:font-semibold"
|
|
@@ -1564,7 +1564,7 @@ import { cva as cva10 } from "class-variance-authority";
|
|
|
1564
1564
|
var textareaVariants = cva10(
|
|
1565
1565
|
[
|
|
1566
1566
|
"flex w-full bg-background text-foreground placeholder:text-foreground/30",
|
|
1567
|
-
"border transition-colors duration-micro",
|
|
1567
|
+
"border transition-colors duration-micro outline-transparent",
|
|
1568
1568
|
"focus:[outline:2px_solid_transparent]",
|
|
1569
1569
|
"disabled:cursor-not-allowed disabled:opacity-50 disabled:bg-background-muted"
|
|
1570
1570
|
].join(" "),
|
|
@@ -2304,7 +2304,7 @@ var DropdownMenuContent = React17.forwardRef(({ className, sideOffset = 4, radiu
|
|
|
2304
2304
|
onCloseAutoFocus?.(e);
|
|
2305
2305
|
},
|
|
2306
2306
|
className: cn(
|
|
2307
|
-
"z-dropdown min-w-[8rem] overflow-hidden border border-border bg-background shadow-lg",
|
|
2307
|
+
"z-dropdown min-w-[8rem] overflow-hidden border border-border bg-background text-foreground shadow-lg",
|
|
2308
2308
|
flush ? "py-1" : "p-1",
|
|
2309
2309
|
contentRadiusMap[radius],
|
|
2310
2310
|
className
|
|
@@ -2443,7 +2443,7 @@ var DropdownMenuSubContent = React17.forwardRef(({ className, ...props }, ref) =
|
|
|
2443
2443
|
{
|
|
2444
2444
|
ref,
|
|
2445
2445
|
className: cn(
|
|
2446
|
-
"z-dropdown min-w-[8rem] overflow-hidden border border-border bg-background shadow-lg",
|
|
2446
|
+
"z-dropdown min-w-[8rem] overflow-hidden border border-border bg-background text-foreground shadow-lg",
|
|
2447
2447
|
flush ? "py-1" : "p-1",
|
|
2448
2448
|
contentRadiusMap[radius],
|
|
2449
2449
|
className
|
|
@@ -2603,7 +2603,7 @@ var SelectTrigger = React18.forwardRef(({ className, children, ...props }, ref)
|
|
|
2603
2603
|
"flex w-full items-center justify-between bg-background text-foreground hover:bg-background-muted",
|
|
2604
2604
|
"border border-border",
|
|
2605
2605
|
triggerRadiusMap[radius],
|
|
2606
|
-
"transition-colors duration-micro",
|
|
2606
|
+
"transition-colors duration-micro outline-transparent",
|
|
2607
2607
|
"focus-visible:shadow-[0_0_0_2px_var(--color-focus-ring)] focus:[outline:2px_solid_transparent]",
|
|
2608
2608
|
"disabled:cursor-not-allowed disabled:opacity-50",
|
|
2609
2609
|
"data-[placeholder]:text-foreground/30",
|
|
@@ -2661,7 +2661,7 @@ var SelectContent = React18.forwardRef(({ className, children, position = "poppe
|
|
|
2661
2661
|
onCloseAutoFocus?.(e);
|
|
2662
2662
|
},
|
|
2663
2663
|
className: cn(
|
|
2664
|
-
"relative z-dropdown min-w-[var(--radix-select-trigger-width)] overflow-hidden border border-border bg-background shadow-lg",
|
|
2664
|
+
"relative z-dropdown min-w-[var(--radix-select-trigger-width)] overflow-hidden border border-border bg-background text-foreground shadow-lg",
|
|
2665
2665
|
flush ? "py-1" : "p-1",
|
|
2666
2666
|
contentRadiusMap2[contentRadius],
|
|
2667
2667
|
position === "popper" && "max-h-[var(--radix-select-content-available-height)]",
|
|
@@ -4996,7 +4996,7 @@ var ModalContent = React27.forwardRef(({ className, children, size = "sm", scrol
|
|
|
4996
4996
|
"div",
|
|
4997
4997
|
{
|
|
4998
4998
|
className: cn(
|
|
4999
|
-
"relative w-full rounded-xl bg-background shadow-xl overflow-hidden",
|
|
4999
|
+
"relative w-full rounded-xl bg-background text-foreground shadow-xl overflow-hidden",
|
|
5000
5000
|
modalContentVariants({ size }),
|
|
5001
5001
|
className
|
|
5002
5002
|
),
|
|
@@ -5012,7 +5012,7 @@ var ModalContent = React27.forwardRef(({ className, children, size = "sm", scrol
|
|
|
5012
5012
|
{
|
|
5013
5013
|
ref,
|
|
5014
5014
|
className: cn(
|
|
5015
|
-
"relative w-full rounded-xl bg-background shadow-xl overflow-hidden",
|
|
5015
|
+
"relative w-full rounded-xl bg-background text-foreground shadow-xl overflow-hidden",
|
|
5016
5016
|
"focus:outline-none",
|
|
5017
5017
|
"data-[state=open]:animate-modal-content-enter data-[state=closed]:animate-modal-content-exit",
|
|
5018
5018
|
modalContentVariants({ size }),
|
|
@@ -5116,7 +5116,7 @@ var AlertModalContent = React27.forwardRef(({ className, children, size = "sm",
|
|
|
5116
5116
|
{
|
|
5117
5117
|
ref,
|
|
5118
5118
|
className: cn(
|
|
5119
|
-
"relative w-full rounded-xl bg-background shadow-xl",
|
|
5119
|
+
"relative w-full rounded-xl bg-background text-foreground shadow-xl",
|
|
5120
5120
|
"focus:outline-none",
|
|
5121
5121
|
"data-[state=open]:animate-modal-content-enter data-[state=closed]:animate-modal-content-exit",
|
|
5122
5122
|
alertModalContentVariants({ size }),
|
|
@@ -5298,7 +5298,7 @@ var DrawerContent = React28.forwardRef(({ className, children, side = "right", s
|
|
|
5298
5298
|
{
|
|
5299
5299
|
ref,
|
|
5300
5300
|
className: cn(
|
|
5301
|
-
"fixed z-modal flex flex-col bg-background shadow-xl",
|
|
5301
|
+
"fixed z-modal flex flex-col bg-background text-foreground shadow-xl",
|
|
5302
5302
|
"focus:outline-none",
|
|
5303
5303
|
SIDE_POSITION[side],
|
|
5304
5304
|
isHorizontal ? "max-w-full h-full" : "max-h-full w-full",
|
|
@@ -5492,8 +5492,8 @@ var popoverContentVariants = cva25(
|
|
|
5492
5492
|
{
|
|
5493
5493
|
variants: {
|
|
5494
5494
|
variant: {
|
|
5495
|
-
default: "bg-background-paper border border-border shadow-lg",
|
|
5496
|
-
elevated: "bg-background-paper/95 border border-border-subtle shadow-xl backdrop-blur-sm"
|
|
5495
|
+
default: "bg-background-paper text-foreground border border-border shadow-lg",
|
|
5496
|
+
elevated: "bg-background-paper/95 text-foreground border border-border-subtle shadow-xl backdrop-blur-sm"
|
|
5497
5497
|
},
|
|
5498
5498
|
size: {
|
|
5499
5499
|
sm: "text-sm p-3 rounded-lg",
|