@granto-umbrella/umbrella-components 2.2.7 → 2.2.8

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": "@granto-umbrella/umbrella-components",
3
- "version": "2.2.7",
3
+ "version": "2.2.8",
4
4
  "description": "Umbrella Components for React",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -3,7 +3,6 @@ import { ChevronLeft, ChevronRight } from "lucide-react";
3
3
  import { DayPicker } from "react-day-picker";
4
4
 
5
5
  import { cn } from "@/lib/utils";
6
- import { buttonVariants } from "@/components/ui/button";
7
6
 
8
7
  export type CalendarProps = React.ComponentProps<typeof DayPicker>;
9
8
 
@@ -24,7 +23,6 @@ function Calendar({
24
23
  caption_label: "text-sm font-medium",
25
24
  nav: "space-x-1 flex items-center",
26
25
  nav_button: cn(
27
- buttonVariants({ variant: "outline" }),
28
26
  "h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100"
29
27
  ),
30
28
  nav_button_previous: "absolute left-1",
@@ -35,10 +33,7 @@ function Calendar({
35
33
  "text-muted-foreground rounded-md w-9 font-normal text-[0.8rem]",
36
34
  row: "flex w-full mt-2",
37
35
  cell: "h-9 w-9 text-center text-sm p-0 relative [&:has([aria-selected].day-range-end)]:rounded-r-md [&:has([aria-selected].day-outside)]:bg-accent/50 [&:has([aria-selected])]:bg-accent first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md focus-within:relative focus-within:z-20",
38
- day: cn(
39
- buttonVariants({ variant: "ghost" }),
40
- "h-9 w-9 p-0 font-normal aria-selected:opacity-100"
41
- ),
36
+ day: cn("h-9 w-9 p-0 font-normal aria-selected:opacity-100"),
42
37
  day_range_end: "day-range-end",
43
38
  day_selected:
44
39
  "bg-primary text-primary-foreground hover:bg-primary hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground",
@@ -1,7 +1,7 @@
1
1
  import * as React from "react";
2
2
  import * as PopoverPrimitive from "@radix-ui/react-popover";
3
3
 
4
- import { cn } from "@/lib/utils";
4
+ import { cn } from "../../../lib/utils";
5
5
 
6
6
  const Popover = PopoverPrimitive.Root;
7
7
 
@@ -10,7 +10,7 @@ import {
10
10
  useFormContext,
11
11
  } from "react-hook-form";
12
12
 
13
- import { cn } from "@/lib/utils";
13
+ import { cn } from "../../../lib/utils";
14
14
  import { Label } from "../../atoms/Label/Label";
15
15
 
16
16
  const Form = FormProvider;