-
+
+
- Add team
+ Add team
- );
+ )
}
diff --git a/packages/rdx-ui/src/locales/es.json b/packages/rdx-ui/src/locales/es.json
index c7a02b5d..71448651 100644
--- a/packages/rdx-ui/src/locales/es.json
+++ b/packages/rdx-ui/src/locales/es.json
@@ -22,6 +22,12 @@
"no_results": "No se han encontrado resultados.",
"select_options": "Seleccionar opciones",
"select_all": "Seleccionar todo"
+ },
+ "date_picker_input_field": {
+ "invalid_date": "Fecha inválida",
+ "clear_date": "Limpiar fecha",
+ "today": "Hoy",
+ "close": "Cerrar"
}
}
}
diff --git a/packages/shadcn-ui/src/components/button.tsx b/packages/shadcn-ui/src/components/button.tsx
index 5f0ae60e..4c970431 100644
--- a/packages/shadcn-ui/src/components/button.tsx
+++ b/packages/shadcn-ui/src/components/button.tsx
@@ -1,6 +1,6 @@
-import * as React from "react"
import { Slot } from "@radix-ui/react-slot"
-import { cva, type VariantProps } from "class-variance-authority"
+import { type VariantProps, cva } from "class-variance-authority"
+import * as React from "react"
import { cn } from "@repo/shadcn-ui/lib/utils"
@@ -35,7 +35,6 @@ const buttonVariants = cva(
},
}
)
-
function Button({
className,
variant,
@@ -47,7 +46,6 @@ function Button({
asChild?: boolean
}) {
const Comp = asChild ? Slot : "button"
-
return (
)
}
-
export { Button, buttonVariants }
diff --git a/packages/shadcn-ui/src/components/field.tsx b/packages/shadcn-ui/src/components/field.tsx
index 10edb764..510fb6c4 100644
--- a/packages/shadcn-ui/src/components/field.tsx
+++ b/packages/shadcn-ui/src/components/field.tsx
@@ -1,9 +1,9 @@
+import { type VariantProps, cva } from "class-variance-authority"
import { useMemo } from "react"
-import { cva, type VariantProps } from "class-variance-authority"
-import { cn } from "@repo/shadcn-ui/lib/utils"
import { Label } from "@repo/shadcn-ui/components/label"
import { Separator } from "@repo/shadcn-ui/components/separator"
+import { cn } from "@repo/shadcn-ui/lib/utils"
function FieldSet({ className, ...props }: React.ComponentProps<"fieldset">) {
return (
@@ -198,7 +198,7 @@ function FieldError({
return null
}
- if (errors?.length == 1) {
+ if (errors?.length === 1) {
return errors[0]?.message
}
@@ -206,7 +206,7 @@ function FieldError({
{errors.map(
(error, index) =>
- error?.message && - {error.message}
+ error?.message && - {error.message}
)}
)
@@ -229,14 +229,10 @@ function FieldError({
}
export {
- Field,
- FieldLabel,
- FieldDescription,
+ Field, FieldContent, FieldDescription,
FieldError,
- FieldGroup,
- FieldLegend,
+ FieldGroup, FieldLabel, FieldLegend,
FieldSeparator,
- FieldSet,
- FieldContent,
- FieldTitle,
+ FieldSet, FieldTitle
}
+
diff --git a/packages/shadcn-ui/src/styles/globals.css b/packages/shadcn-ui/src/styles/globals.css
index 4e3e7efd..d06e199e 100644
--- a/packages/shadcn-ui/src/styles/globals.css
+++ b/packages/shadcn-ui/src/styles/globals.css
@@ -81,12 +81,6 @@
--sidebar-border: oklch(0.9173 0.0067 286.2663);
--sidebar-ring: oklch(0.623 0.214 259.815);
--radius: 0.40rem;
- --shadow-x: 0px;
- --shadow-y: 1px;
- --shadow-blur: 3px;
- --shadow-spread: 0px;
- --shadow-opacity: 0.1;
- --shadow-color: oklch(0 0 0);
--shadow-2xs: 1px 1px 6px 0px hsl(0 0% 0% / 0.05);
--shadow-xs: 1px 1px 6px 0px hsl(0 0% 0% / 0.05);
--shadow-sm: 1px 1px 6px 0px hsl(0 0% 0% / 0.1), 1px 1px 2px -1px hsl(0 0% 0% / 0.1);