@axiom-lattice/react-sdk 2.1.38 → 2.1.40
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.d.mts +400 -206
- package/dist/index.d.ts +400 -206
- package/dist/index.js +12408 -9447
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11320 -8304
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -5
package/dist/index.d.mts
CHANGED
|
@@ -462,7 +462,7 @@ declare const AuthProvider: React__default.FC<AuthProviderProps>;
|
|
|
462
462
|
|
|
463
463
|
/**
|
|
464
464
|
* Login Form Components
|
|
465
|
-
*
|
|
465
|
+
* Uses base styles from design system
|
|
466
466
|
*/
|
|
467
467
|
|
|
468
468
|
interface LoginFormProps {
|
|
@@ -474,18 +474,8 @@ interface LoginFormProps {
|
|
|
474
474
|
footer?: React__default.ReactNode;
|
|
475
475
|
className?: string;
|
|
476
476
|
}
|
|
477
|
-
/**
|
|
478
|
-
* iOS 26 Liquid Glass Login Form
|
|
479
|
-
*/
|
|
480
477
|
declare const LoginForm: React__default.FC<LoginFormProps>;
|
|
481
|
-
|
|
482
|
-
background?: string;
|
|
483
|
-
containerStyle?: React__default.CSSProperties;
|
|
484
|
-
}
|
|
485
|
-
/**
|
|
486
|
-
* iOS 26 Login Page with centered layout
|
|
487
|
-
*/
|
|
488
|
-
declare const LoginPage: React__default.FC<LoginPageProps>;
|
|
478
|
+
declare const LoginPage: React__default.FC<any>;
|
|
489
479
|
interface RegisterFormProps {
|
|
490
480
|
onSuccess?: () => void;
|
|
491
481
|
onCancel?: () => void;
|
|
@@ -495,14 +485,11 @@ interface RegisterFormProps {
|
|
|
495
485
|
footer?: React__default.ReactNode;
|
|
496
486
|
className?: string;
|
|
497
487
|
}
|
|
498
|
-
/**
|
|
499
|
-
* iOS 26 Liquid Glass Registration Form
|
|
500
|
-
*/
|
|
501
488
|
declare const RegisterForm: React__default.FC<RegisterFormProps>;
|
|
502
489
|
|
|
503
490
|
/**
|
|
504
491
|
* User Profile Components
|
|
505
|
-
*
|
|
492
|
+
* Using Axiom Theme with Ant Design
|
|
506
493
|
*/
|
|
507
494
|
|
|
508
495
|
interface UserProfileProps {
|
|
@@ -514,7 +501,7 @@ interface UserProfileProps {
|
|
|
514
501
|
className?: string;
|
|
515
502
|
}
|
|
516
503
|
/**
|
|
517
|
-
*
|
|
504
|
+
* User Profile Component
|
|
518
505
|
*/
|
|
519
506
|
declare const UserProfile: React__default.FC<UserProfileProps>;
|
|
520
507
|
interface ProtectedRouteProps {
|
|
@@ -532,7 +519,7 @@ declare const ProtectedRoute: React__default.FC<ProtectedRouteProps>;
|
|
|
532
519
|
|
|
533
520
|
/**
|
|
534
521
|
* Tenant Selector Components
|
|
535
|
-
*
|
|
522
|
+
* Uses unified auth styles from design system
|
|
536
523
|
*/
|
|
537
524
|
|
|
538
525
|
interface TenantSelectorProps {
|
|
@@ -545,33 +532,7 @@ interface TenantSelectorProps {
|
|
|
545
532
|
title?: string;
|
|
546
533
|
description?: string;
|
|
547
534
|
}
|
|
548
|
-
/**
|
|
549
|
-
* iOS 26 Liquid Glass Tenant Selector
|
|
550
|
-
*/
|
|
551
535
|
declare const TenantSelector: React__default.FC<TenantSelectorProps>;
|
|
552
|
-
interface TenantSwitcherProps {
|
|
553
|
-
tenants: Tenant[];
|
|
554
|
-
currentTenant: Tenant | null;
|
|
555
|
-
onSwitch: (tenant: Tenant) => void;
|
|
556
|
-
isLoading?: boolean;
|
|
557
|
-
className?: string;
|
|
558
|
-
}
|
|
559
|
-
/**
|
|
560
|
-
* iOS 26 Liquid Glass Tenant Switcher
|
|
561
|
-
*/
|
|
562
|
-
declare const TenantSwitcher: React__default.FC<TenantSwitcherProps>;
|
|
563
|
-
interface TenantGuardProps {
|
|
564
|
-
children: React__default.ReactNode;
|
|
565
|
-
tenantSelector: React__default.ReactNode;
|
|
566
|
-
isAuthenticated: boolean;
|
|
567
|
-
currentTenant: Tenant | null;
|
|
568
|
-
loginRedirect?: React__default.ReactNode;
|
|
569
|
-
}
|
|
570
|
-
/**
|
|
571
|
-
* Tenant Guard Component
|
|
572
|
-
* Ensures tenant is selected before rendering children
|
|
573
|
-
*/
|
|
574
|
-
declare const TenantGuard: React__default.FC<TenantGuardProps>;
|
|
575
536
|
|
|
576
537
|
interface UseTenantsOptions {
|
|
577
538
|
baseURL: string;
|
|
@@ -1028,8 +989,8 @@ interface SideMenuItemConfig {
|
|
|
1028
989
|
icon?: ReactNode;
|
|
1029
990
|
/** Order for sorting menu items (lower values first) */
|
|
1030
991
|
order?: number;
|
|
1031
|
-
/** Whether this is a builtin menu item (new-analysis, thread-history, assistants, skill, tools, workspace, settings, database, metrics, projects) */
|
|
1032
|
-
builtin?: "new-analysis" | "thread-history" | "assistants" | "skill" | "tools" | "workspace" | "settings" | "database" | "metrics" | "projects";
|
|
992
|
+
/** Whether this is a builtin menu item (new-analysis, thread-history, assistants, skill, tools, workspace, settings, database, metrics, mcp, projects, logout) */
|
|
993
|
+
builtin?: "new-analysis" | "thread-history" | "assistants" | "skill" | "tools" | "workspace" | "settings" | "database" | "metrics" | "mcp" | "projects" | "logout";
|
|
1033
994
|
/**
|
|
1034
995
|
* Menu group for organizing items
|
|
1035
996
|
*/
|
|
@@ -1454,186 +1415,419 @@ interface SkillCategoryPromptsProps {
|
|
|
1454
1415
|
declare const SkillCategoryPrompts: React__default.FC<SkillCategoryPromptsProps>;
|
|
1455
1416
|
|
|
1456
1417
|
/**
|
|
1457
|
-
*
|
|
1458
|
-
*
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
bgPrimary: string;
|
|
1502
|
-
bgSecondary: string;
|
|
1503
|
-
bgTertiary: string;
|
|
1418
|
+
* Axiom Theme Design Tokens
|
|
1419
|
+
*
|
|
1420
|
+
* Core design tokens for Axiom AI Design System.
|
|
1421
|
+
* Features: Indigo primary, medium radius, subtle shadows, slight transparency.
|
|
1422
|
+
*/
|
|
1423
|
+
declare const colors: {
|
|
1424
|
+
readonly primary: {
|
|
1425
|
+
readonly 50: "#f0f4ff";
|
|
1426
|
+
readonly 100: "#e0e7ff";
|
|
1427
|
+
readonly 200: "#c7d2fe";
|
|
1428
|
+
readonly 300: "#a5b4fc";
|
|
1429
|
+
readonly 400: "#818cf8";
|
|
1430
|
+
readonly 500: "#6366f1";
|
|
1431
|
+
readonly 600: "#4f46e5";
|
|
1432
|
+
readonly 700: "#4338ca";
|
|
1433
|
+
readonly 800: "#3730a3";
|
|
1434
|
+
readonly 900: "#312e81";
|
|
1435
|
+
};
|
|
1436
|
+
readonly success: "#22c55e";
|
|
1437
|
+
readonly warning: "#f59e0b";
|
|
1438
|
+
readonly error: "#ef4444";
|
|
1439
|
+
readonly info: "#3b82f6";
|
|
1440
|
+
readonly light: {
|
|
1441
|
+
readonly bg: "#fafafa";
|
|
1442
|
+
readonly surface: "rgba(255, 255, 255, 1)";
|
|
1443
|
+
readonly surfaceHover: "#f9fafb";
|
|
1444
|
+
readonly surfaceActive: "#f3f4f6";
|
|
1445
|
+
readonly border: "#e5e7eb";
|
|
1446
|
+
readonly borderHover: "#d1d5db";
|
|
1447
|
+
readonly text: "#111827";
|
|
1448
|
+
readonly textSecondary: "#6b7280";
|
|
1449
|
+
readonly textMuted: "#9ca3af";
|
|
1450
|
+
};
|
|
1451
|
+
readonly dark: {
|
|
1452
|
+
readonly bg: "#0a0a0a";
|
|
1453
|
+
readonly surface: "rgba(23, 23, 23, 0.95)";
|
|
1454
|
+
readonly surfaceHover: "#1f1f1f";
|
|
1455
|
+
readonly surfaceActive: "#262626";
|
|
1456
|
+
readonly border: "#27272a";
|
|
1457
|
+
readonly borderHover: "#3f3f46";
|
|
1458
|
+
readonly text: "#fafafa";
|
|
1459
|
+
readonly textSecondary: "#a1a1aa";
|
|
1460
|
+
readonly textMuted: "#71717a";
|
|
1461
|
+
};
|
|
1504
1462
|
};
|
|
1505
|
-
declare const
|
|
1506
|
-
none:
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1463
|
+
declare const radius: {
|
|
1464
|
+
readonly none: "0";
|
|
1465
|
+
readonly sm: "4px";
|
|
1466
|
+
readonly md: "10px";
|
|
1467
|
+
readonly lg: "16px";
|
|
1468
|
+
readonly xl: "20px";
|
|
1469
|
+
readonly xxl: "28px";
|
|
1470
|
+
readonly xxxl: "32px";
|
|
1471
|
+
readonly full: "9999px";
|
|
1514
1472
|
};
|
|
1515
|
-
declare const
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1473
|
+
declare const spacing: {
|
|
1474
|
+
readonly 0: "0";
|
|
1475
|
+
readonly 1: "4px";
|
|
1476
|
+
readonly 2: "8px";
|
|
1477
|
+
readonly 3: "12px";
|
|
1478
|
+
readonly 4: "16px";
|
|
1479
|
+
readonly 5: "20px";
|
|
1480
|
+
readonly 6: "24px";
|
|
1481
|
+
readonly 8: "32px";
|
|
1482
|
+
readonly 10: "40px";
|
|
1483
|
+
readonly 12: "48px";
|
|
1524
1484
|
};
|
|
1525
|
-
declare const
|
|
1526
|
-
none:
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
glow: string;
|
|
1485
|
+
declare const shadows: {
|
|
1486
|
+
readonly none: "none";
|
|
1487
|
+
readonly sm: "0 1px 2px rgba(0, 0, 0, 0.04)";
|
|
1488
|
+
readonly md: "0 2px 8px rgba(0, 0, 0, 0.06)";
|
|
1489
|
+
readonly lg: "0 4px 12px rgba(0, 0, 0, 0.08)";
|
|
1490
|
+
readonly xl: "0 8px 24px rgba(0, 0, 0, 0.1)";
|
|
1532
1491
|
};
|
|
1533
|
-
declare const
|
|
1534
|
-
fontFamily:
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1492
|
+
declare const typography: {
|
|
1493
|
+
readonly fontFamily: "Inter, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, sans-serif";
|
|
1494
|
+
readonly sizes: {
|
|
1495
|
+
readonly xs: {
|
|
1496
|
+
readonly size: "12px";
|
|
1497
|
+
readonly lineHeight: "16px";
|
|
1498
|
+
readonly weight: 400;
|
|
1499
|
+
};
|
|
1500
|
+
readonly sm: {
|
|
1501
|
+
readonly size: "14px";
|
|
1502
|
+
readonly lineHeight: "20px";
|
|
1503
|
+
readonly weight: 400;
|
|
1504
|
+
};
|
|
1505
|
+
readonly base: {
|
|
1506
|
+
readonly size: "16px";
|
|
1507
|
+
readonly lineHeight: "24px";
|
|
1508
|
+
readonly weight: 400;
|
|
1509
|
+
};
|
|
1510
|
+
readonly lg: {
|
|
1511
|
+
readonly size: "18px";
|
|
1512
|
+
readonly lineHeight: "28px";
|
|
1513
|
+
readonly weight: 500;
|
|
1514
|
+
};
|
|
1515
|
+
readonly xl: {
|
|
1516
|
+
readonly size: "20px";
|
|
1517
|
+
readonly lineHeight: "28px";
|
|
1518
|
+
readonly weight: 600;
|
|
1519
|
+
};
|
|
1520
|
+
readonly '2xl': {
|
|
1521
|
+
readonly size: "24px";
|
|
1522
|
+
readonly lineHeight: "32px";
|
|
1523
|
+
readonly weight: 600;
|
|
1524
|
+
};
|
|
1525
|
+
};
|
|
1553
1526
|
};
|
|
1554
|
-
declare const
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
transitionSpring: string;
|
|
1527
|
+
declare const animation: {
|
|
1528
|
+
readonly duration: {
|
|
1529
|
+
readonly fast: "150ms";
|
|
1530
|
+
readonly normal: "250ms";
|
|
1531
|
+
readonly slow: "350ms";
|
|
1532
|
+
};
|
|
1533
|
+
readonly easing: {
|
|
1534
|
+
readonly default: "cubic-bezier(0.4, 0, 0.2, 1)";
|
|
1535
|
+
readonly bounce: "cubic-bezier(0.68, -0.55, 0.265, 1.55)";
|
|
1536
|
+
};
|
|
1565
1537
|
};
|
|
1566
|
-
declare const
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1538
|
+
declare const axiomTokens: {
|
|
1539
|
+
readonly colors: {
|
|
1540
|
+
readonly primary: {
|
|
1541
|
+
readonly 50: "#f0f4ff";
|
|
1542
|
+
readonly 100: "#e0e7ff";
|
|
1543
|
+
readonly 200: "#c7d2fe";
|
|
1544
|
+
readonly 300: "#a5b4fc";
|
|
1545
|
+
readonly 400: "#818cf8";
|
|
1546
|
+
readonly 500: "#6366f1";
|
|
1547
|
+
readonly 600: "#4f46e5";
|
|
1548
|
+
readonly 700: "#4338ca";
|
|
1549
|
+
readonly 800: "#3730a3";
|
|
1550
|
+
readonly 900: "#312e81";
|
|
1551
|
+
};
|
|
1552
|
+
readonly success: "#22c55e";
|
|
1553
|
+
readonly warning: "#f59e0b";
|
|
1554
|
+
readonly error: "#ef4444";
|
|
1555
|
+
readonly info: "#3b82f6";
|
|
1556
|
+
readonly light: {
|
|
1557
|
+
readonly bg: "#fafafa";
|
|
1558
|
+
readonly surface: "rgba(255, 255, 255, 1)";
|
|
1559
|
+
readonly surfaceHover: "#f9fafb";
|
|
1560
|
+
readonly surfaceActive: "#f3f4f6";
|
|
1561
|
+
readonly border: "#e5e7eb";
|
|
1562
|
+
readonly borderHover: "#d1d5db";
|
|
1563
|
+
readonly text: "#111827";
|
|
1564
|
+
readonly textSecondary: "#6b7280";
|
|
1565
|
+
readonly textMuted: "#9ca3af";
|
|
1566
|
+
};
|
|
1567
|
+
readonly dark: {
|
|
1568
|
+
readonly bg: "#0a0a0a";
|
|
1569
|
+
readonly surface: "rgba(23, 23, 23, 0.95)";
|
|
1570
|
+
readonly surfaceHover: "#1f1f1f";
|
|
1571
|
+
readonly surfaceActive: "#262626";
|
|
1572
|
+
readonly border: "#27272a";
|
|
1573
|
+
readonly borderHover: "#3f3f46";
|
|
1574
|
+
readonly text: "#fafafa";
|
|
1575
|
+
readonly textSecondary: "#a1a1aa";
|
|
1576
|
+
readonly textMuted: "#71717a";
|
|
1577
|
+
};
|
|
1574
1578
|
};
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1579
|
+
readonly radius: {
|
|
1580
|
+
readonly none: "0";
|
|
1581
|
+
readonly sm: "4px";
|
|
1582
|
+
readonly md: "10px";
|
|
1583
|
+
readonly lg: "16px";
|
|
1584
|
+
readonly xl: "20px";
|
|
1585
|
+
readonly xxl: "28px";
|
|
1586
|
+
readonly xxxl: "32px";
|
|
1587
|
+
readonly full: "9999px";
|
|
1581
1588
|
};
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
+
readonly spacing: {
|
|
1590
|
+
readonly 0: "0";
|
|
1591
|
+
readonly 1: "4px";
|
|
1592
|
+
readonly 2: "8px";
|
|
1593
|
+
readonly 3: "12px";
|
|
1594
|
+
readonly 4: "16px";
|
|
1595
|
+
readonly 5: "20px";
|
|
1596
|
+
readonly 6: "24px";
|
|
1597
|
+
readonly 8: "32px";
|
|
1598
|
+
readonly 10: "40px";
|
|
1599
|
+
readonly 12: "48px";
|
|
1589
1600
|
};
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1601
|
+
readonly shadows: {
|
|
1602
|
+
readonly none: "none";
|
|
1603
|
+
readonly sm: "0 1px 2px rgba(0, 0, 0, 0.04)";
|
|
1604
|
+
readonly md: "0 2px 8px rgba(0, 0, 0, 0.06)";
|
|
1605
|
+
readonly lg: "0 4px 12px rgba(0, 0, 0, 0.08)";
|
|
1606
|
+
readonly xl: "0 8px 24px rgba(0, 0, 0, 0.1)";
|
|
1593
1607
|
};
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1608
|
+
readonly typography: {
|
|
1609
|
+
readonly fontFamily: "Inter, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, sans-serif";
|
|
1610
|
+
readonly sizes: {
|
|
1611
|
+
readonly xs: {
|
|
1612
|
+
readonly size: "12px";
|
|
1613
|
+
readonly lineHeight: "16px";
|
|
1614
|
+
readonly weight: 400;
|
|
1615
|
+
};
|
|
1616
|
+
readonly sm: {
|
|
1617
|
+
readonly size: "14px";
|
|
1618
|
+
readonly lineHeight: "20px";
|
|
1619
|
+
readonly weight: 400;
|
|
1620
|
+
};
|
|
1621
|
+
readonly base: {
|
|
1622
|
+
readonly size: "16px";
|
|
1623
|
+
readonly lineHeight: "24px";
|
|
1624
|
+
readonly weight: 400;
|
|
1625
|
+
};
|
|
1626
|
+
readonly lg: {
|
|
1627
|
+
readonly size: "18px";
|
|
1628
|
+
readonly lineHeight: "28px";
|
|
1629
|
+
readonly weight: 500;
|
|
1630
|
+
};
|
|
1631
|
+
readonly xl: {
|
|
1632
|
+
readonly size: "20px";
|
|
1633
|
+
readonly lineHeight: "28px";
|
|
1634
|
+
readonly weight: 600;
|
|
1635
|
+
};
|
|
1636
|
+
readonly '2xl': {
|
|
1637
|
+
readonly size: "24px";
|
|
1638
|
+
readonly lineHeight: "32px";
|
|
1639
|
+
readonly weight: 600;
|
|
1640
|
+
};
|
|
1641
|
+
};
|
|
1642
|
+
};
|
|
1643
|
+
readonly animation: {
|
|
1644
|
+
readonly duration: {
|
|
1645
|
+
readonly fast: "150ms";
|
|
1646
|
+
readonly normal: "250ms";
|
|
1647
|
+
readonly slow: "350ms";
|
|
1648
|
+
};
|
|
1649
|
+
readonly easing: {
|
|
1650
|
+
readonly default: "cubic-bezier(0.4, 0, 0.2, 1)";
|
|
1651
|
+
readonly bounce: "cubic-bezier(0.68, -0.55, 0.265, 1.55)";
|
|
1652
|
+
};
|
|
1599
1653
|
};
|
|
1600
|
-
};
|
|
1601
|
-
declare const ios26Breakpoints: {
|
|
1602
|
-
xs: string;
|
|
1603
|
-
sm: string;
|
|
1604
|
-
md: string;
|
|
1605
|
-
lg: string;
|
|
1606
|
-
xl: string;
|
|
1607
|
-
};
|
|
1608
|
-
declare const ios26ZIndex: {
|
|
1609
|
-
base: number;
|
|
1610
|
-
dropdown: number;
|
|
1611
|
-
sticky: number;
|
|
1612
|
-
fixed: number;
|
|
1613
|
-
modalBackdrop: number;
|
|
1614
|
-
modal: number;
|
|
1615
|
-
popover: number;
|
|
1616
|
-
tooltip: number;
|
|
1617
|
-
toast: number;
|
|
1618
1654
|
};
|
|
1619
1655
|
|
|
1620
1656
|
/**
|
|
1621
|
-
*
|
|
1622
|
-
*
|
|
1657
|
+
* Axiom Ant Design Theme Configuration
|
|
1658
|
+
*
|
|
1659
|
+
* Maps Axiom design tokens to Ant Design's theme system.
|
|
1660
|
+
* Used with ConfigProvider to style all antd components.
|
|
1623
1661
|
*/
|
|
1624
1662
|
|
|
1625
1663
|
/**
|
|
1626
|
-
*
|
|
1627
|
-
* Clean, modern, minimal overrides
|
|
1664
|
+
* Axiom Light Theme for Ant Design
|
|
1628
1665
|
*/
|
|
1629
|
-
declare const
|
|
1666
|
+
declare const axiomAntdTheme: ThemeConfig;
|
|
1630
1667
|
/**
|
|
1631
|
-
*
|
|
1668
|
+
* Axiom Dark Theme for Ant Design
|
|
1632
1669
|
*/
|
|
1633
|
-
declare const
|
|
1670
|
+
declare const axiomAntdThemeDark: ThemeConfig;
|
|
1634
1671
|
/**
|
|
1635
|
-
* Get theme based on
|
|
1672
|
+
* Get Axiom theme based on dark mode preference
|
|
1636
1673
|
*/
|
|
1637
|
-
declare const
|
|
1674
|
+
declare const getAxiomAntdTheme: (isDark?: boolean) => ThemeConfig;
|
|
1675
|
+
|
|
1676
|
+
/**
|
|
1677
|
+
* useAxiomTheme Hook
|
|
1678
|
+
*
|
|
1679
|
+
* Provides access to Axiom design tokens and component styles.
|
|
1680
|
+
* Used for custom layouts and component-specific styling.
|
|
1681
|
+
*
|
|
1682
|
+
* Note: Ant Design components are automatically styled via ConfigProvider.
|
|
1683
|
+
* This hook is for custom elements and layout components only.
|
|
1684
|
+
*/
|
|
1685
|
+
declare const useAxiomTheme: () => {
|
|
1686
|
+
tokens: {
|
|
1687
|
+
readonly colors: {
|
|
1688
|
+
readonly primary: {
|
|
1689
|
+
readonly 50: "#f0f4ff";
|
|
1690
|
+
readonly 100: "#e0e7ff";
|
|
1691
|
+
readonly 200: "#c7d2fe";
|
|
1692
|
+
readonly 300: "#a5b4fc";
|
|
1693
|
+
readonly 400: "#818cf8";
|
|
1694
|
+
readonly 500: "#6366f1";
|
|
1695
|
+
readonly 600: "#4f46e5";
|
|
1696
|
+
readonly 700: "#4338ca";
|
|
1697
|
+
readonly 800: "#3730a3";
|
|
1698
|
+
readonly 900: "#312e81";
|
|
1699
|
+
};
|
|
1700
|
+
readonly success: "#22c55e";
|
|
1701
|
+
readonly warning: "#f59e0b";
|
|
1702
|
+
readonly error: "#ef4444";
|
|
1703
|
+
readonly info: "#3b82f6";
|
|
1704
|
+
readonly light: {
|
|
1705
|
+
readonly bg: "#fafafa";
|
|
1706
|
+
readonly surface: "rgba(255, 255, 255, 1)";
|
|
1707
|
+
readonly surfaceHover: "#f9fafb";
|
|
1708
|
+
readonly surfaceActive: "#f3f4f6";
|
|
1709
|
+
readonly border: "#e5e7eb";
|
|
1710
|
+
readonly borderHover: "#d1d5db";
|
|
1711
|
+
readonly text: "#111827";
|
|
1712
|
+
readonly textSecondary: "#6b7280";
|
|
1713
|
+
readonly textMuted: "#9ca3af";
|
|
1714
|
+
};
|
|
1715
|
+
readonly dark: {
|
|
1716
|
+
readonly bg: "#0a0a0a";
|
|
1717
|
+
readonly surface: "rgba(23, 23, 23, 0.95)";
|
|
1718
|
+
readonly surfaceHover: "#1f1f1f";
|
|
1719
|
+
readonly surfaceActive: "#262626";
|
|
1720
|
+
readonly border: "#27272a";
|
|
1721
|
+
readonly borderHover: "#3f3f46";
|
|
1722
|
+
readonly text: "#fafafa";
|
|
1723
|
+
readonly textSecondary: "#a1a1aa";
|
|
1724
|
+
readonly textMuted: "#71717a";
|
|
1725
|
+
};
|
|
1726
|
+
};
|
|
1727
|
+
readonly radius: {
|
|
1728
|
+
readonly none: "0";
|
|
1729
|
+
readonly sm: "4px";
|
|
1730
|
+
readonly md: "10px";
|
|
1731
|
+
readonly lg: "16px";
|
|
1732
|
+
readonly xl: "20px";
|
|
1733
|
+
readonly xxl: "28px";
|
|
1734
|
+
readonly xxxl: "32px";
|
|
1735
|
+
readonly full: "9999px";
|
|
1736
|
+
};
|
|
1737
|
+
readonly spacing: {
|
|
1738
|
+
readonly 0: "0";
|
|
1739
|
+
readonly 1: "4px";
|
|
1740
|
+
readonly 2: "8px";
|
|
1741
|
+
readonly 3: "12px";
|
|
1742
|
+
readonly 4: "16px";
|
|
1743
|
+
readonly 5: "20px";
|
|
1744
|
+
readonly 6: "24px";
|
|
1745
|
+
readonly 8: "32px";
|
|
1746
|
+
readonly 10: "40px";
|
|
1747
|
+
readonly 12: "48px";
|
|
1748
|
+
};
|
|
1749
|
+
readonly shadows: {
|
|
1750
|
+
readonly none: "none";
|
|
1751
|
+
readonly sm: "0 1px 2px rgba(0, 0, 0, 0.04)";
|
|
1752
|
+
readonly md: "0 2px 8px rgba(0, 0, 0, 0.06)";
|
|
1753
|
+
readonly lg: "0 4px 12px rgba(0, 0, 0, 0.08)";
|
|
1754
|
+
readonly xl: "0 8px 24px rgba(0, 0, 0, 0.1)";
|
|
1755
|
+
};
|
|
1756
|
+
readonly typography: {
|
|
1757
|
+
readonly fontFamily: "Inter, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, sans-serif";
|
|
1758
|
+
readonly sizes: {
|
|
1759
|
+
readonly xs: {
|
|
1760
|
+
readonly size: "12px";
|
|
1761
|
+
readonly lineHeight: "16px";
|
|
1762
|
+
readonly weight: 400;
|
|
1763
|
+
};
|
|
1764
|
+
readonly sm: {
|
|
1765
|
+
readonly size: "14px";
|
|
1766
|
+
readonly lineHeight: "20px";
|
|
1767
|
+
readonly weight: 400;
|
|
1768
|
+
};
|
|
1769
|
+
readonly base: {
|
|
1770
|
+
readonly size: "16px";
|
|
1771
|
+
readonly lineHeight: "24px";
|
|
1772
|
+
readonly weight: 400;
|
|
1773
|
+
};
|
|
1774
|
+
readonly lg: {
|
|
1775
|
+
readonly size: "18px";
|
|
1776
|
+
readonly lineHeight: "28px";
|
|
1777
|
+
readonly weight: 500;
|
|
1778
|
+
};
|
|
1779
|
+
readonly xl: {
|
|
1780
|
+
readonly size: "20px";
|
|
1781
|
+
readonly lineHeight: "28px";
|
|
1782
|
+
readonly weight: 600;
|
|
1783
|
+
};
|
|
1784
|
+
readonly '2xl': {
|
|
1785
|
+
readonly size: "24px";
|
|
1786
|
+
readonly lineHeight: "32px";
|
|
1787
|
+
readonly weight: 600;
|
|
1788
|
+
};
|
|
1789
|
+
};
|
|
1790
|
+
};
|
|
1791
|
+
readonly animation: {
|
|
1792
|
+
readonly duration: {
|
|
1793
|
+
readonly fast: "150ms";
|
|
1794
|
+
readonly normal: "250ms";
|
|
1795
|
+
readonly slow: "350ms";
|
|
1796
|
+
};
|
|
1797
|
+
readonly easing: {
|
|
1798
|
+
readonly default: "cubic-bezier(0.4, 0, 0.2, 1)";
|
|
1799
|
+
readonly bounce: "cubic-bezier(0.68, -0.55, 0.265, 1.55)";
|
|
1800
|
+
};
|
|
1801
|
+
};
|
|
1802
|
+
};
|
|
1803
|
+
styles: {
|
|
1804
|
+
input: string;
|
|
1805
|
+
title: string;
|
|
1806
|
+
grid: string;
|
|
1807
|
+
button: string;
|
|
1808
|
+
pageContainer: string;
|
|
1809
|
+
card: string;
|
|
1810
|
+
header: string;
|
|
1811
|
+
logo: string;
|
|
1812
|
+
subtitle: string;
|
|
1813
|
+
buttonGhost: string;
|
|
1814
|
+
form: string;
|
|
1815
|
+
list: string;
|
|
1816
|
+
listItem: string;
|
|
1817
|
+
listItemAvatar: string;
|
|
1818
|
+
listItemContent: string;
|
|
1819
|
+
listItemTitle: string;
|
|
1820
|
+
listItemDescription: string;
|
|
1821
|
+
alert: string;
|
|
1822
|
+
footer: string;
|
|
1823
|
+
emptyIcon: string;
|
|
1824
|
+
emptyTitle: string;
|
|
1825
|
+
emptyDescription: string;
|
|
1826
|
+
createCard: string;
|
|
1827
|
+
createCardList: string;
|
|
1828
|
+
createIconWrapper: string;
|
|
1829
|
+
createText: string;
|
|
1830
|
+
};
|
|
1831
|
+
};
|
|
1638
1832
|
|
|
1639
|
-
export { type AgentChatProps, AgentConversations, type AgentConversationsProps, type AgentState, AgentThreadProvider, type AgentThreadProviderProps, type AnalysisCategory, type AnalysisItem, AssistantContext, AssistantContextProvider, type AssistantContextProviderProps, type AssistantContextValue, AssistantFlow, type AssistantFlowProps, AssistantNode, type AssistantNodeData, type AssistantState, type AttachFile, type AuthContextValue, AuthProvider, AxiomLatticeProvider, type AxiomLatticeProviderProps, type ChatResponse, type ChatState, type ChatStateWithAgent, ChatUIContext, ChatUIContextProvider, Chating, type ChatingProps, type ClientConfig, ColumnLayout, type ColumnLayoutProps, ConversationContext, ConversationContextProvider, type ConversationContextProviderProps, type ConversationContextValue, type ConversationThread, CreateAssistantModal, type ElementMeta, type ElementProps, type ExplorerFile, FileExplorer, type FileExplorerProps, LatticeChat, LatticeChatShell, type LatticeChatShellConfig, LatticeChatShellContext, LatticeChatShellContextProvider, type LatticeChatShellContextProviderProps, type LatticeChatShellContextValue, type LatticeChatShellProps, LoginForm, type LoginFormProps, LoginPage,
|
|
1833
|
+
export { type AgentChatProps, AgentConversations, type AgentConversationsProps, type AgentState, AgentThreadProvider, type AgentThreadProviderProps, type AnalysisCategory, type AnalysisItem, AssistantContext, AssistantContextProvider, type AssistantContextProviderProps, type AssistantContextValue, AssistantFlow, type AssistantFlowProps, AssistantNode, type AssistantNodeData, type AssistantState, type AttachFile, type AuthContextValue, AuthProvider, AxiomLatticeProvider, type AxiomLatticeProviderProps, type ChatResponse, type ChatState, type ChatStateWithAgent, ChatUIContext, ChatUIContextProvider, Chating, type ChatingProps, type ClientConfig, ColumnLayout, type ColumnLayoutProps, ConversationContext, ConversationContextProvider, type ConversationContextProviderProps, type ConversationContextValue, type ConversationThread, CreateAssistantModal, type ElementMeta, type ElementProps, type ExplorerFile, FileExplorer, type FileExplorerProps, LatticeChat, LatticeChatShell, type LatticeChatShellConfig, LatticeChatShellContext, LatticeChatShellContextProvider, type LatticeChatShellContextProviderProps, type LatticeChatShellContextValue, type LatticeChatShellProps, LoginForm, type LoginFormProps, LoginPage, MDResponse, MDViewFormItem, MetricsConfigDrawerContent, type MiddlewareConfigDefinition, type MiddlewareConfigSchema, type MiddlewareConfigSchemaProperty, type MiddlewareToolDefinition, type MiddlewareTypeDefinition, ProtectedRoute, type ProtectedRouteProps, RegisterForm, type RegisterFormProps, type ResourceFolderConfig, ScheduleButton, type ScheduleButtonProps, SideAppViewBrowser, type SideMenuItemConfig, type SideMenuItemType, SkillCategoryPrompts, type SkillCategoryPromptsProps, SkillFlow, type SkillFlowProps, SkillNode, type SkillNodeData, type StreamEventHandlerOptions, TenantSelector, type TenantSelectorProps, type ThreadState, type ToolCallData, type UIMessage, type UseAgentStateOptions, type UseAgentStateReturn, type UseAxiomLatticeOptions, type UseChatOptions, type UseTenantsOptions, type UseTenantsReturn, type UseUsersOptions, type UseUsersReturn, UserProfile, type UserProfileProps, type UserTenantInfo, animation, axiomAntdTheme, axiomAntdThemeDark, axiomTokens, colors, generateLabelFromMessage, getAxiomAntdTheme, getElement, radius, regsiterElement, shadows, spacing, typography, useAgentChat, useAgentGraph, useAgentState, useAgentThreadContext, useAssistantContext, useAuth, useAxiomLattice, useAxiomTheme, useChat, useChatUIContext, useConversationContext, useLatticeChatShellContext, useTenants, useUsers };
|