@karakuri-ui/react 0.2.2 → 0.2.3

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.mjs CHANGED
@@ -1354,7 +1354,7 @@ var Field = Object.assign(FieldRoot, {
1354
1354
  var inputVariants = cva9(
1355
1355
  [
1356
1356
  "flex w-full bg-background text-foreground placeholder:text-foreground/30",
1357
- "border transition-colors duration-micro",
1357
+ "border transition-colors duration-micro outline-transparent",
1358
1358
  "focus:[outline:2px_solid_transparent]",
1359
1359
  "disabled:cursor-not-allowed disabled:opacity-50 disabled:bg-background-muted",
1360
1360
  "file:border-0 file:bg-transparent file:text-sm file:font-semibold"
@@ -1563,7 +1563,7 @@ import { cva as cva10 } from "class-variance-authority";
1563
1563
  var textareaVariants = cva10(
1564
1564
  [
1565
1565
  "flex w-full bg-background text-foreground placeholder:text-foreground/30",
1566
- "border transition-colors duration-micro",
1566
+ "border transition-colors duration-micro outline-transparent",
1567
1567
  "focus:[outline:2px_solid_transparent]",
1568
1568
  "disabled:cursor-not-allowed disabled:opacity-50 disabled:bg-background-muted"
1569
1569
  ].join(" "),
@@ -2303,7 +2303,7 @@ var DropdownMenuContent = React17.forwardRef(({ className, sideOffset = 4, radiu
2303
2303
  onCloseAutoFocus?.(e);
2304
2304
  },
2305
2305
  className: cn(
2306
- "z-dropdown min-w-[8rem] overflow-hidden border border-border bg-background shadow-lg",
2306
+ "z-dropdown min-w-[8rem] overflow-hidden border border-border bg-background text-foreground shadow-lg",
2307
2307
  flush ? "py-1" : "p-1",
2308
2308
  contentRadiusMap[radius],
2309
2309
  className
@@ -2440,7 +2440,7 @@ var DropdownMenuSubContent = React17.forwardRef(({ className, ...props }, ref) =
2440
2440
  {
2441
2441
  ref,
2442
2442
  className: cn(
2443
- "z-dropdown min-w-[8rem] overflow-hidden border border-border bg-background shadow-lg",
2443
+ "z-dropdown min-w-[8rem] overflow-hidden border border-border bg-background text-foreground shadow-lg",
2444
2444
  flush ? "py-1" : "p-1",
2445
2445
  contentRadiusMap[radius],
2446
2446
  className
@@ -2600,7 +2600,7 @@ var SelectTrigger = React18.forwardRef(({ className, children, ...props }, ref)
2600
2600
  "flex w-full items-center justify-between bg-background text-foreground hover:bg-background-muted",
2601
2601
  "border border-border-form",
2602
2602
  triggerRadiusMap[radius],
2603
- "transition-colors duration-micro",
2603
+ "transition-colors duration-micro outline-transparent",
2604
2604
  "focus-visible:shadow-[0_0_0_2px_var(--color-focus-ring)] focus:[outline:2px_solid_transparent]",
2605
2605
  "disabled:cursor-not-allowed disabled:opacity-50",
2606
2606
  "data-[placeholder]:text-foreground/30",
@@ -2658,7 +2658,7 @@ var SelectContent = React18.forwardRef(({ className, children, position = "poppe
2658
2658
  onCloseAutoFocus?.(e);
2659
2659
  },
2660
2660
  className: cn(
2661
- "relative z-dropdown min-w-[var(--radix-select-trigger-width)] overflow-hidden border border-border bg-background shadow-lg",
2661
+ "relative z-dropdown min-w-[var(--radix-select-trigger-width)] overflow-hidden border border-border bg-background text-foreground shadow-lg",
2662
2662
  flush ? "py-1" : "p-1",
2663
2663
  contentRadiusMap2[contentRadius],
2664
2664
  position === "popper" && "max-h-[var(--radix-select-content-available-height)]",
@@ -4697,7 +4697,7 @@ var PaginationRoot = React26.forwardRef(
4697
4697
  className: cn("", className),
4698
4698
  ...props
4699
4699
  },
4700
- children
4700
+ children ?? /* @__PURE__ */ React26.createElement(PaginationContent, null, withEdges && /* @__PURE__ */ React26.createElement(PaginationItem, null, /* @__PURE__ */ React26.createElement(PaginationFirst, null)), withControls && /* @__PURE__ */ React26.createElement(PaginationItem, null, /* @__PURE__ */ React26.createElement(PaginationPrevious, null)), /* @__PURE__ */ React26.createElement(PaginationItems, null), withControls && /* @__PURE__ */ React26.createElement(PaginationItem, null, /* @__PURE__ */ React26.createElement(PaginationNext, null)), withEdges && /* @__PURE__ */ React26.createElement(PaginationItem, null, /* @__PURE__ */ React26.createElement(PaginationLast, null)))
4701
4701
  ));
4702
4702
  }
4703
4703
  );
@@ -4994,7 +4994,7 @@ var ModalContent = React27.forwardRef(({ className, children, size = "sm", scrol
4994
4994
  "div",
4995
4995
  {
4996
4996
  className: cn(
4997
- "relative w-full rounded-xl bg-background shadow-xl overflow-hidden",
4997
+ "relative w-full rounded-xl bg-background text-foreground shadow-xl overflow-hidden",
4998
4998
  modalContentVariants({ size }),
4999
4999
  className
5000
5000
  ),
@@ -5010,7 +5010,7 @@ var ModalContent = React27.forwardRef(({ className, children, size = "sm", scrol
5010
5010
  {
5011
5011
  ref,
5012
5012
  className: cn(
5013
- "relative w-full rounded-xl bg-background shadow-xl overflow-hidden",
5013
+ "relative w-full rounded-xl bg-background text-foreground shadow-xl overflow-hidden",
5014
5014
  "focus:outline-none",
5015
5015
  "data-[state=open]:animate-modal-content-enter data-[state=closed]:animate-modal-content-exit",
5016
5016
  modalContentVariants({ size }),
@@ -5114,7 +5114,7 @@ var AlertModalContent = React27.forwardRef(({ className, children, size = "sm",
5114
5114
  {
5115
5115
  ref,
5116
5116
  className: cn(
5117
- "relative w-full rounded-xl bg-background shadow-xl",
5117
+ "relative w-full rounded-xl bg-background text-foreground shadow-xl",
5118
5118
  "focus:outline-none",
5119
5119
  "data-[state=open]:animate-modal-content-enter data-[state=closed]:animate-modal-content-exit",
5120
5120
  alertModalContentVariants({ size }),
@@ -5296,7 +5296,7 @@ var DrawerContent = React28.forwardRef(({ className, children, side = "right", s
5296
5296
  {
5297
5297
  ref,
5298
5298
  className: cn(
5299
- "fixed z-modal flex flex-col bg-background shadow-xl",
5299
+ "fixed z-modal flex flex-col bg-background text-foreground shadow-xl",
5300
5300
  "focus:outline-none",
5301
5301
  SIDE_POSITION[side],
5302
5302
  isHorizontal ? "max-w-full h-full" : "max-h-full w-full",
@@ -5490,8 +5490,8 @@ var popoverContentVariants = cva25(
5490
5490
  {
5491
5491
  variants: {
5492
5492
  variant: {
5493
- default: "bg-background-paper border border-border shadow-lg",
5494
- elevated: "bg-background-paper/95 border border-border-subtle shadow-xl backdrop-blur-sm"
5493
+ default: "bg-background-paper text-foreground border border-border shadow-lg",
5494
+ elevated: "bg-background-paper/95 text-foreground border border-border-subtle shadow-xl backdrop-blur-sm"
5495
5495
  },
5496
5496
  size: {
5497
5497
  sm: "text-sm p-3 rounded-lg",