@alquimia-ai/ui 1.1.0 → 1.2.0
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/components/atoms/index.js +21 -16
- package/dist/components/atoms/index.js.map +1 -1
- package/dist/components/atoms/index.mjs +21 -16
- package/dist/components/atoms/index.mjs.map +1 -1
- package/dist/components/hooks/index.d.mts +3 -1
- package/dist/components/hooks/index.d.ts +3 -1
- package/dist/components/hooks/index.js +48 -0
- package/dist/components/hooks/index.js.map +1 -1
- package/dist/components/hooks/index.mjs +48 -0
- package/dist/components/hooks/index.mjs.map +1 -1
- package/dist/components/index.js +21 -16
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +21 -16
- package/dist/components/index.mjs.map +1 -1
- package/dist/components/molecules/documents/index.js +20 -15
- package/dist/components/molecules/documents/index.js.map +1 -1
- package/dist/components/molecules/documents/index.mjs +20 -15
- package/dist/components/molecules/documents/index.mjs.map +1 -1
- package/dist/components/molecules/index.d.mts +2 -0
- package/dist/components/molecules/index.d.ts +2 -0
- package/dist/components/molecules/index.js +117 -31
- package/dist/components/molecules/index.js.map +1 -1
- package/dist/components/molecules/index.mjs +117 -31
- package/dist/components/molecules/index.mjs.map +1 -1
- package/dist/components/molecules/viewers/index.js +20 -15
- package/dist/components/molecules/viewers/index.js.map +1 -1
- package/dist/components/molecules/viewers/index.mjs +20 -15
- package/dist/components/molecules/viewers/index.mjs.map +1 -1
- package/dist/components/organisms/index.d.mts +1 -0
- package/dist/components/organisms/index.d.ts +1 -0
- package/dist/components/organisms/index.js +160 -45
- package/dist/components/organisms/index.js.map +1 -1
- package/dist/components/organisms/index.mjs +160 -45
- package/dist/components/organisms/index.mjs.map +1 -1
- package/dist/components/templates/cards/index.js +20 -15
- package/dist/components/templates/cards/index.js.map +1 -1
- package/dist/components/templates/cards/index.mjs +20 -15
- package/dist/components/templates/cards/index.mjs.map +1 -1
- package/dist/components/templates/index.js +20 -15
- package/dist/components/templates/index.js.map +1 -1
- package/dist/components/templates/index.mjs +20 -15
- package/dist/components/templates/index.mjs.map +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +165 -49
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +165 -49
- package/dist/index.mjs.map +1 -1
- package/dist/styles/call-out.css +153 -0
- package/dist/styles/drawer.css +28 -0
- package/dist/styles/globals.css +69 -0
- package/dist/styles/prose.css +51 -0
- package/dist/styles/ratings.css +27 -0
- package/dist/styles/themes/base-alquimia.css +95 -0
- package/dist/styles/themes/base-nordic.css +83 -0
- package/dist/styles/themes/base-primary.css +85 -0
- package/dist/styles/themes/base.css +8 -0
- package/package.json +8 -2
|
@@ -447,7 +447,7 @@ function Skeleton({
|
|
|
447
447
|
return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
448
448
|
"div",
|
|
449
449
|
{
|
|
450
|
-
className: cn("animate-pulse rounded-md bg-muted", className),
|
|
450
|
+
className: cn("animate-pulse rounded-md bg-muted text-muted-foreground", className, "alq--skeleton"),
|
|
451
451
|
...props
|
|
452
452
|
}
|
|
453
453
|
);
|
|
@@ -545,7 +545,7 @@ var DrawerContent = React7.forwardRef(({ className, children, ...props }, ref) =
|
|
|
545
545
|
{
|
|
546
546
|
ref,
|
|
547
547
|
className: cn(
|
|
548
|
-
"fixed inset-x-0 bottom-0 z-50 mt-24 flex h-auto flex-col rounded-t-[10px] border bg-background",
|
|
548
|
+
"fixed inset-x-0 bottom-0 z-50 mt-24 flex h-auto flex-col rounded-t-[10px] border border-border bg-background text-foreground alq--drawer-content",
|
|
549
549
|
className
|
|
550
550
|
),
|
|
551
551
|
...props,
|
|
@@ -563,7 +563,7 @@ var DrawerHeader = ({
|
|
|
563
563
|
}) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
564
564
|
"div",
|
|
565
565
|
{
|
|
566
|
-
className: cn("grid gap-1.5 p-4 text-center sm:text-left", className),
|
|
566
|
+
className: cn("grid gap-1.5 p-4 text-center sm:text-left", className, "alq--drawer-header"),
|
|
567
567
|
...props
|
|
568
568
|
}
|
|
569
569
|
);
|
|
@@ -574,7 +574,7 @@ var DrawerFooter = ({
|
|
|
574
574
|
}) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
575
575
|
"div",
|
|
576
576
|
{
|
|
577
|
-
className: cn("mt-auto flex flex-col gap-2 p-4", className),
|
|
577
|
+
className: cn("mt-auto flex flex-col gap-2 p-4", className, "alq--drawer-footer"),
|
|
578
578
|
...props
|
|
579
579
|
}
|
|
580
580
|
);
|
|
@@ -585,7 +585,8 @@ var DrawerTitle = React7.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
|
585
585
|
ref,
|
|
586
586
|
className: cn(
|
|
587
587
|
"text-lg font-semibold leading-none tracking-tight",
|
|
588
|
-
className
|
|
588
|
+
className,
|
|
589
|
+
"alq--drawer-title"
|
|
589
590
|
),
|
|
590
591
|
...props
|
|
591
592
|
}
|
|
@@ -595,7 +596,7 @@ var DrawerDescription = React7.forwardRef(({ className, ...props }, ref) => /* @
|
|
|
595
596
|
import_vaul.Drawer.Description,
|
|
596
597
|
{
|
|
597
598
|
ref,
|
|
598
|
-
className: cn("text-sm text-muted-foreground", className),
|
|
599
|
+
className: cn("text-sm text-muted-foreground", className, "alq--drawer-description"),
|
|
599
600
|
...props
|
|
600
601
|
}
|
|
601
602
|
));
|
|
@@ -869,18 +870,18 @@ var Table = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
|
869
870
|
"table",
|
|
870
871
|
{
|
|
871
872
|
ref,
|
|
872
|
-
className: cn("w-full caption-bottom text-sm", className, "alq--table"),
|
|
873
|
+
className: cn("w-full caption-bottom text-sm text-foreground bg-background", className, "alq--table"),
|
|
873
874
|
...props
|
|
874
875
|
}
|
|
875
876
|
) }));
|
|
876
877
|
Table.displayName = "Table";
|
|
877
|
-
var TableHeader = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("thead", { ref, className: cn("[&_tr]:border-b", className), ...props }));
|
|
878
|
+
var TableHeader = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("thead", { ref, className: cn("[&_tr]:border-b border-border bg-muted", className, "alq--table-header"), ...props }));
|
|
878
879
|
TableHeader.displayName = "TableHeader";
|
|
879
880
|
var TableBody = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
880
881
|
"tbody",
|
|
881
882
|
{
|
|
882
883
|
ref,
|
|
883
|
-
className: cn("[&_tr:last-child]:border-0", className),
|
|
884
|
+
className: cn("[&_tr:last-child]:border-0 [&_tr]:border-b border-border", className, "alq--table-body"),
|
|
884
885
|
...props
|
|
885
886
|
}
|
|
886
887
|
));
|
|
@@ -890,8 +891,9 @@ var TableFooter = React15.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
890
891
|
{
|
|
891
892
|
ref,
|
|
892
893
|
className: cn(
|
|
893
|
-
"border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",
|
|
894
|
-
className
|
|
894
|
+
"border-t border-border bg-muted/50 font-medium [&>tr]:last:border-b-0",
|
|
895
|
+
className,
|
|
896
|
+
"alq--table-footer"
|
|
895
897
|
),
|
|
896
898
|
...props
|
|
897
899
|
}
|
|
@@ -1183,7 +1185,8 @@ var DialogContent = React19.forwardRef(({ className, children, ...props }, ref)
|
|
|
1183
1185
|
ref,
|
|
1184
1186
|
className: cn(
|
|
1185
1187
|
"fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",
|
|
1186
|
-
className
|
|
1188
|
+
className,
|
|
1189
|
+
"alq--dialog-content"
|
|
1187
1190
|
),
|
|
1188
1191
|
...props,
|
|
1189
1192
|
children: [
|
|
@@ -1204,8 +1207,9 @@ var DialogHeader = ({
|
|
|
1204
1207
|
"div",
|
|
1205
1208
|
{
|
|
1206
1209
|
className: cn(
|
|
1207
|
-
"flex flex-col space-y-1.5 text-center sm:text-left",
|
|
1208
|
-
className
|
|
1210
|
+
"flex flex-col space-y-1.5 text-center sm:text-left text-foreground",
|
|
1211
|
+
className,
|
|
1212
|
+
"alq--dialog-header"
|
|
1209
1213
|
),
|
|
1210
1214
|
...props
|
|
1211
1215
|
}
|
|
@@ -1230,8 +1234,9 @@ var DialogTitle = React19.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
1230
1234
|
{
|
|
1231
1235
|
ref,
|
|
1232
1236
|
className: cn(
|
|
1233
|
-
"text-lg font-semibold leading-none tracking-tight",
|
|
1234
|
-
className
|
|
1237
|
+
"text-lg font-semibold leading-none tracking-tight text-foreground",
|
|
1238
|
+
className,
|
|
1239
|
+
"alq--dialog-title"
|
|
1235
1240
|
),
|
|
1236
1241
|
...props
|
|
1237
1242
|
}
|