@alquimia-ai/ui 1.2.3 → 1.3.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.d.mts +4 -1
- package/dist/components/atoms/index.d.ts +4 -1
- package/dist/components/atoms/index.js +39 -17
- package/dist/components/atoms/index.js.map +1 -1
- package/dist/components/atoms/index.mjs +35 -13
- package/dist/components/atoms/index.mjs.map +1 -1
- package/dist/components/hooks/index.js +41 -32
- package/dist/components/hooks/index.js.map +1 -1
- package/dist/components/hooks/index.mjs +42 -33
- package/dist/components/hooks/index.mjs.map +1 -1
- package/dist/components/index.d.mts +2 -1
- package/dist/components/index.d.ts +2 -1
- package/dist/components/index.js +39 -17
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +35 -13
- package/dist/components/index.mjs.map +1 -1
- package/dist/components/molecules/documents/index.js +82 -52
- package/dist/components/molecules/documents/index.js.map +1 -1
- package/dist/components/molecules/documents/index.mjs +67 -37
- package/dist/components/molecules/documents/index.mjs.map +1 -1
- package/dist/components/molecules/index.js +186 -156
- package/dist/components/molecules/index.js.map +1 -1
- package/dist/components/molecules/index.mjs +179 -149
- package/dist/components/molecules/index.mjs.map +1 -1
- package/dist/components/molecules/viewers/index.js +31 -10
- package/dist/components/molecules/viewers/index.js.map +1 -1
- package/dist/components/molecules/viewers/index.mjs +30 -9
- package/dist/components/molecules/viewers/index.mjs.map +1 -1
- package/dist/components/organisms/index.d.mts +3 -1
- package/dist/components/organisms/index.d.ts +3 -1
- package/dist/components/organisms/index.js +228 -196
- package/dist/components/organisms/index.js.map +1 -1
- package/dist/components/organisms/index.mjs +217 -185
- package/dist/components/organisms/index.mjs.map +1 -1
- package/dist/components/templates/cards/index.js +57 -36
- package/dist/components/templates/cards/index.js.map +1 -1
- package/dist/components/templates/cards/index.mjs +45 -24
- package/dist/components/templates/cards/index.mjs.map +1 -1
- package/dist/components/templates/index.js +57 -36
- package/dist/components/templates/index.js.map +1 -1
- package/dist/components/templates/index.mjs +45 -24
- package/dist/components/templates/index.mjs.map +1 -1
- package/dist/index.d.mts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +283 -250
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +262 -229
- package/dist/index.mjs.map +1 -1
- package/dist/package.json +137 -0
- package/dist/types/index.d.mts +12 -1
- package/dist/types/index.d.ts +12 -1
- package/dist/types/index.js.map +1 -1
- package/dist/types/index.mjs.map +1 -1
- package/package.json +21 -3
|
@@ -1332,17 +1332,38 @@ var Loader = React22.forwardRef(
|
|
|
1332
1332
|
);
|
|
1333
1333
|
Loader.displayName = "Loader";
|
|
1334
1334
|
|
|
1335
|
-
// src/components/
|
|
1335
|
+
// src/components/atoms/ui/separator.tsx
|
|
1336
1336
|
var React23 = __toESM(require("react"));
|
|
1337
|
+
var SeparatorPrimitive = __toESM(require("@radix-ui/react-separator"));
|
|
1338
|
+
var import_jsx_runtime28 = require("react/jsx-runtime");
|
|
1339
|
+
var Separator2 = React23.forwardRef(({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
1340
|
+
SeparatorPrimitive.Root,
|
|
1341
|
+
{
|
|
1342
|
+
ref,
|
|
1343
|
+
decorative,
|
|
1344
|
+
orientation,
|
|
1345
|
+
className: cn(
|
|
1346
|
+
"shrink-0 bg-border",
|
|
1347
|
+
orientation === "horizontal" ? "h-[1px] w-full" : "h-full w-[1px]",
|
|
1348
|
+
className,
|
|
1349
|
+
"alq--separator"
|
|
1350
|
+
),
|
|
1351
|
+
...props
|
|
1352
|
+
}
|
|
1353
|
+
));
|
|
1354
|
+
Separator2.displayName = SeparatorPrimitive.Root.displayName;
|
|
1355
|
+
|
|
1356
|
+
// src/components/hooks/use-toast.ts
|
|
1357
|
+
var React24 = __toESM(require("react"));
|
|
1337
1358
|
|
|
1338
1359
|
// src/components/atoms/ui/toaster.tsx
|
|
1339
|
-
var
|
|
1360
|
+
var import_jsx_runtime29 = require("react/jsx-runtime");
|
|
1340
1361
|
|
|
1341
1362
|
// src/components/atoms/ui/think-indicator.tsx
|
|
1342
|
-
var
|
|
1363
|
+
var React25 = __toESM(require("react"));
|
|
1343
1364
|
var import_react3 = require("react");
|
|
1344
1365
|
var import_class_variance_authority8 = require("class-variance-authority");
|
|
1345
|
-
var
|
|
1366
|
+
var import_jsx_runtime30 = require("react/jsx-runtime");
|
|
1346
1367
|
var thinkIndicatorVariants = (0, import_class_variance_authority8.cva)(
|
|
1347
1368
|
"flex items-center gap-3",
|
|
1348
1369
|
{
|
|
@@ -1364,7 +1385,7 @@ var thinkIndicatorVariants = (0, import_class_variance_authority8.cva)(
|
|
|
1364
1385
|
}
|
|
1365
1386
|
}
|
|
1366
1387
|
);
|
|
1367
|
-
var ThinkIndicator =
|
|
1388
|
+
var ThinkIndicator = React25.forwardRef(
|
|
1368
1389
|
({
|
|
1369
1390
|
className,
|
|
1370
1391
|
variant,
|
|
@@ -1395,14 +1416,14 @@ var ThinkIndicator = React24.forwardRef(
|
|
|
1395
1416
|
}
|
|
1396
1417
|
return () => clearInterval(timer);
|
|
1397
1418
|
}, [thoughts, interval, currentThoughtIndex]);
|
|
1398
|
-
return /* @__PURE__ */ (0,
|
|
1419
|
+
return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
|
|
1399
1420
|
"div",
|
|
1400
1421
|
{
|
|
1401
1422
|
ref,
|
|
1402
1423
|
className: cn(thinkIndicatorVariants({ variant, size }), className, "alq--think-indicator"),
|
|
1403
1424
|
...props,
|
|
1404
1425
|
children: [
|
|
1405
|
-
loader || /* @__PURE__ */ (0,
|
|
1426
|
+
loader || /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
1406
1427
|
Loader,
|
|
1407
1428
|
{
|
|
1408
1429
|
className: cn(
|
|
@@ -1410,7 +1431,7 @@ var ThinkIndicator = React24.forwardRef(
|
|
|
1410
1431
|
)
|
|
1411
1432
|
}
|
|
1412
1433
|
),
|
|
1413
|
-
/* @__PURE__ */ (0,
|
|
1434
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
1414
1435
|
"div",
|
|
1415
1436
|
{
|
|
1416
1437
|
className: cn(
|
|
@@ -1438,10 +1459,10 @@ var import_react4 = require("react");
|
|
|
1438
1459
|
var import_react_pdf = require("react-pdf");
|
|
1439
1460
|
var import_AnnotationLayer = require("react-pdf/dist/esm/Page/AnnotationLayer.css");
|
|
1440
1461
|
var import_TextLayer = require("react-pdf/dist/esm/Page/TextLayer.css");
|
|
1441
|
-
var
|
|
1462
|
+
var import_jsx_runtime31 = require("react/jsx-runtime");
|
|
1442
1463
|
import_react_pdf.pdfjs.GlobalWorkerOptions.workerSrc = `//unpkg.com/pdfjs-dist@${import_react_pdf.pdfjs.version}/build/pdf.worker.min.mjs`;
|
|
1443
1464
|
|
|
1444
1465
|
// src/components/molecules/viewers/plain-text-viewer.tsx
|
|
1445
1466
|
var import_react6 = require("react");
|
|
1446
|
-
var
|
|
1467
|
+
var import_jsx_runtime32 = require("react/jsx-runtime");
|
|
1447
1468
|
//# sourceMappingURL=index.js.map
|