@od-oneapp/uni-ui 2026.2.1702 → 2026.2.1704

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.
Files changed (81) hide show
  1. package/actions-Ch7h6cYC.d.mts +50 -0
  2. package/actions-QUFON3IL.d.mts +50 -0
  3. package/alert-CfjDnZpm.d.mts +22 -0
  4. package/auth-nav-user-DPFv8dTp.mjs +181 -0
  5. package/badge-D4XnZpXO.d.mts +25 -0
  6. package/badge-DH0tY3wJ.d.mts +25 -0
  7. package/branch-DNK6Mek5.d.mts +58 -0
  8. package/branch-Duq6cW0s.d.mts +58 -0
  9. package/button-B6yQYIC3.d.mts +31 -0
  10. package/button-BAdq0gBE.d.mts +31 -0
  11. package/carousel-D-J1Zgn1.d.mts +49 -0
  12. package/carousel-DXUjFoln.d.mts +49 -0
  13. package/combobox-B-07Hhhi.d.mts +79 -0
  14. package/combobox-DSrxSkSl.d.mts +79 -0
  15. package/components-ai-elements/actions/index.d.mts +2 -2
  16. package/components-ai-elements/artifact/index.d.mts +1 -1
  17. package/components-ai-elements/branch/index.d.mts +2 -2
  18. package/components-ai-elements/chain-of-thought/index.d.mts +1 -1
  19. package/components-ai-elements/checkpoint/index.d.mts +1 -1
  20. package/components-ai-elements/code-block/index.d.mts +1 -1
  21. package/components-ai-elements/confirmation/index.d.mts +2 -2
  22. package/components-ai-elements/context/index.d.mts +1 -1
  23. package/components-ai-elements/conversation/index.d.mts +1 -1
  24. package/components-ai-elements/custom/index.d.mts +1 -1
  25. package/components-ai-elements/inline-citation/index.d.mts +2 -2
  26. package/components-ai-elements/message/index.d.mts +4 -4
  27. package/components-ai-elements/plan/index.d.mts +1 -1
  28. package/components-ai-elements/prompt-input/index.d.mts +3 -3
  29. package/components-ai-elements/queue/index.d.mts +1 -1
  30. package/components-ai-elements/sources/index.d.mts +1 -1
  31. package/components-ai-elements/suggestion/index.d.mts +1 -1
  32. package/components-ai-elements/task/index.d.mts +1 -1
  33. package/components-ai-elements/web-preview/index.d.mts +2 -2
  34. package/components-ai-workflows/resizable-node/index.d.mts +1 -1
  35. package/components-auth-server.d.mts +1 -1
  36. package/components-elements-alert.d.mts +1 -1
  37. package/components-elements-avatar.d.mts +1 -1
  38. package/components-elements-badge.d.mts +1 -1
  39. package/components-elements-button.d.mts +1 -1
  40. package/components-elements-card.d.mts +1 -1
  41. package/components-elements-carousel.d.mts +2 -2
  42. package/components-elements-progress.d.mts +3 -3
  43. package/components-elements-separator.d.mts +1 -1
  44. package/components-elements-status-badge.d.mts +1 -1
  45. package/components-elements-tooltip.d.mts +1 -1
  46. package/components-forms/combobox/index.d.mts +2 -2
  47. package/components-forms/input/index.d.mts +1 -1
  48. package/components-forms/input-group/index.d.mts +2 -2
  49. package/components-forms/switch/index.d.mts +1 -1
  50. package/components-forms/textarea/index.d.mts +1 -1
  51. package/components-layout/app-sidebar/index.d.mts +5 -5
  52. package/components-layout/nav-secondary/index.d.mts +5 -5
  53. package/components-layout/sidebar/index.d.mts +5 -5
  54. package/connection-D_kWZtAX.mjs +105 -0
  55. package/filter-list-B_9aV5Lp.mjs +279 -0
  56. package/fonts/Satoshi-Variable.woff2 +0 -0
  57. package/fonts/Satoshi-VariableItalic.woff2 +0 -0
  58. package/fonts/fonts.css +41 -0
  59. package/fonts/index.ts +106 -0
  60. package/index.d.mts +15 -15
  61. package/input-BfVdnot8.d.mts +19 -0
  62. package/input-CodR5DNS.d.mts +19 -0
  63. package/input-group-DBhNdt3K.d.mts +20 -0
  64. package/input-group-Dl9tBSzS.d.mts +20 -0
  65. package/integrations-C5HLgFJ3.d.mts +60 -0
  66. package/integrations-COjiOhkd.d.mts +60 -0
  67. package/oneapp-CfwhNatF.mjs +322 -0
  68. package/package.json +104 -54
  69. package/prompt-input-SFJ9_lNw.mjs +1149 -0
  70. package/separator-CNQqqwfO.d.mts +20 -0
  71. package/sidebar-ClSozPxN.d.mts +163 -0
  72. package/sidebar-rH-WCLw9.d.mts +163 -0
  73. package/skeleton-9QWseW9E.d.mts +35 -0
  74. package/styles/colors.css +1 -1
  75. package/styles/mantine.css +1 -1
  76. package/styles/spacing.css +1 -1
  77. package/styles/theme.css +6 -6
  78. package/styles/typography.css +1 -1
  79. package/styles/variables.css +1 -1
  80. package/tooltip-BA27ygge.d.mts +44 -0
  81. package/use-artifact-panel-state-CUQTn2Uq.mjs +346 -0
@@ -0,0 +1,50 @@
1
+
2
+ import { t as Button } from "./button-BAdq0gBE.mjs";
3
+ import { ComponentProps, ReactNode } from "react";
4
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
5
+
6
+ //#region src/components/ai-elements/actions/actions.d.ts
7
+ type ActionsProps = ComponentProps<'div'> & {
8
+ initial?: unknown;
9
+ animate?: unknown;
10
+ exit?: unknown;
11
+ variants?: unknown;
12
+ transition?: unknown;
13
+ };
14
+ declare const Actions: ({
15
+ className,
16
+ children,
17
+ initial: _initial,
18
+ animate: _animate,
19
+ exit: _exit,
20
+ variants: _variants,
21
+ transition: _transition,
22
+ ...props
23
+ }: ActionsProps) => react_jsx_runtime0.JSX.Element;
24
+ type ActionProps = ComponentProps<typeof Button> & {
25
+ tooltip?: ReactNode;
26
+ label?: string;
27
+ toggleable?: boolean;
28
+ pressed?: boolean;
29
+ defaultPressed?: boolean;
30
+ onPressedChange?: (pressed: boolean) => void;
31
+ isPending?: boolean;
32
+ };
33
+ declare const Action: ({
34
+ tooltip,
35
+ children,
36
+ label,
37
+ className,
38
+ variant,
39
+ size,
40
+ toggleable,
41
+ pressed: pressedProp,
42
+ defaultPressed,
43
+ onPressedChange,
44
+ onClick,
45
+ isPending: isPendingProp,
46
+ ...props
47
+ }: ActionProps) => react_jsx_runtime0.JSX.Element;
48
+ //#endregion
49
+ export { ActionsProps as i, ActionProps as n, Actions as r, Action as t };
50
+ //# sourceMappingURL=actions-Ch7h6cYC.d.mts.map
@@ -0,0 +1,50 @@
1
+
2
+ import { t as Button } from "./button-B6yQYIC3.mjs";
3
+ import { ComponentProps, ReactNode } from "react";
4
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
5
+
6
+ //#region src/components/ai-elements/actions/actions.d.ts
7
+ type ActionsProps = ComponentProps<'div'> & {
8
+ initial?: unknown;
9
+ animate?: unknown;
10
+ exit?: unknown;
11
+ variants?: unknown;
12
+ transition?: unknown;
13
+ };
14
+ declare const Actions: ({
15
+ className,
16
+ children,
17
+ initial: _initial,
18
+ animate: _animate,
19
+ exit: _exit,
20
+ variants: _variants,
21
+ transition: _transition,
22
+ ...props
23
+ }: ActionsProps) => react_jsx_runtime0.JSX.Element;
24
+ type ActionProps = ComponentProps<typeof Button> & {
25
+ tooltip?: ReactNode;
26
+ label?: string;
27
+ toggleable?: boolean;
28
+ pressed?: boolean;
29
+ defaultPressed?: boolean;
30
+ onPressedChange?: (pressed: boolean) => void;
31
+ isPending?: boolean;
32
+ };
33
+ declare const Action: ({
34
+ tooltip,
35
+ children,
36
+ label,
37
+ className,
38
+ variant,
39
+ size,
40
+ toggleable,
41
+ pressed: pressedProp,
42
+ defaultPressed,
43
+ onPressedChange,
44
+ onClick,
45
+ isPending: isPendingProp,
46
+ ...props
47
+ }: ActionProps) => react_jsx_runtime0.JSX.Element;
48
+ //#endregion
49
+ export { ActionsProps as i, ActionProps as n, Actions as r, Action as t };
50
+ //# sourceMappingURL=actions-QUFON3IL.d.mts.map
@@ -0,0 +1,22 @@
1
+
2
+ import * as react from "react";
3
+ import { ComponentProps } from "react";
4
+ import { VariantProps } from "class-variance-authority";
5
+ import * as class_variance_authority_types0 from "class-variance-authority/types";
6
+
7
+ //#region src/components/elements/atoms/alert/alert.d.ts
8
+ declare const alertVariants: (props?: ({
9
+ variant?: "success" | "info" | "warning" | "default" | "destructive" | null | undefined;
10
+ size?: "default" | "sm" | "lg" | null | undefined;
11
+ } & class_variance_authority_types0.ClassProp) | undefined) => string;
12
+ interface AlertProps extends ComponentProps<'div'>, VariantProps<typeof alertVariants> {
13
+ animate?: boolean;
14
+ }
15
+ declare const Alert: react.NamedExoticComponent<AlertProps>;
16
+ interface AlertTitleProps extends ComponentProps<'div'> {}
17
+ declare const AlertTitle: react.NamedExoticComponent<AlertTitleProps>;
18
+ interface AlertDescriptionProps extends ComponentProps<'div'> {}
19
+ declare const AlertDescription: react.NamedExoticComponent<AlertDescriptionProps>;
20
+ //#endregion
21
+ export { AlertTitle as a, AlertProps as i, AlertDescription as n, AlertTitleProps as o, AlertDescriptionProps as r, alertVariants as s, Alert as t };
22
+ //# sourceMappingURL=alert-CfjDnZpm.d.mts.map
@@ -0,0 +1,181 @@
1
+ 'use client';
2
+ import { AI_FOCUS } from "./components-ai-elements-constants.mjs";
3
+ import { n as AvatarFallback, r as AvatarImage, t as Avatar } from "./avatar-DjiX7nT8.mjs";
4
+ import { a as DropdownMenuItem, h as DropdownMenuTrigger, i as DropdownMenuGroup, o as DropdownMenuLabel, r as DropdownMenuContent, t as DropdownMenu, u as DropdownMenuSeparator } from "./dropdown-menu-91g1g_Cl.mjs";
5
+ import { d as SidebarMenu, h as SidebarMenuItem, m as SidebarMenuButton, w as useSidebar } from "./sidebar-CdWE7H3R.mjs";
6
+ import { useMediaQuery, useReducedMotion } from "@mantine/hooks";
7
+ import { BadgeCheck, ChevronsUpDown, LogIn, LogOut, Moon, Sun, User } from "lucide-react";
8
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
9
+ import { Logger } from "@repo/shared";
10
+
11
+ //#region src/components/auth/client/nav-user/auth-nav-user.tsx
12
+ /**
13
+ * @fileoverview AuthNavUser Component - Premium Harmony V2
14
+ *
15
+ * Authentication-aware user menu component for sidebar navigation. Displays user avatar,
16
+ * name, email, and provides dropdown menu with authentication actions, account settings,
17
+ * and theme toggle. Supports anonymous sessions and authenticated users.
18
+ *
19
+ * Features:
20
+ * - ES2023 syntax with modern patterns
21
+ * - Tailwind v4 CSS-first theming with semantic color tokens
22
+ * - Premium Harmony V2 focus rings for keyboard navigation (AI_FOCUS)
23
+ * - Touch detection with automatic sizing for mobile devices (pointer: coarse)
24
+ * - Reduced motion support for accessibility compliance
25
+ * - WCAG 2.5.5 compliant 44px minimum touch targets on touch devices
26
+ * - Data attributes for state management (data-state=open/closed)
27
+ * - Responsive dropdown positioning (mobile vs desktop)
28
+ * - Anonymous session support with guest user fallback
29
+ * - Conditional menu items based on authentication state
30
+ *
31
+ * @module @od-oneapp/uni-ui/components/auth/client/nav-user
32
+ * @component AuthNavUser
33
+ *
34
+ * @useCases
35
+ * - Application sidebar user profile menu with sign in/out actions
36
+ * - Dashboard layouts with quick access to authentication and preferences
37
+ * - Admin panels with user-specific actions and theme controls
38
+ * - Multi-tenant applications with organization/account switching
39
+ * - Mobile-responsive navigation with touch-optimized user menu
40
+ * - Accessibility-compliant user menu for keyboard and screen reader users
41
+ * - Anonymous session management with upgrade prompts
42
+ * - Quick access to profile, account settings, and theme toggle from any page
43
+ *
44
+ * @example <AuthNavUser user={user} onSignOut={handleSignOut} onProfile={handleProfile} />
45
+ *
46
+ * @example <AuthNavUser user={anonymousUser} onSignIn={handleSignIn} onHome={handleHome} />
47
+ *
48
+ * @example <AuthNavUser user={user} onThemeChange={(theme) => setTheme(theme)} />
49
+ */
50
+ const logger = new Logger("uni-ui:auth-nav-user");
51
+ /**
52
+ * User navigation component for sidebar footer.
53
+ * Shows user avatar, name, email and provides auth actions.
54
+ * Implements Premium Harmony V2 patterns for accessibility and touch support.
55
+ */
56
+ function AuthNavUser({ user, onSignOut, onSignIn, onProfile, onHome, onThemeChange }) {
57
+ const { isMobile } = useSidebar();
58
+ const isTouch = useMediaQuery("(pointer: coarse)");
59
+ const reducedMotion = useReducedMotion();
60
+ const isAnonymous = user?.isAnonymous ?? false;
61
+ const isAuthenticated = Boolean(user) && !isAnonymous;
62
+ const displayName = isAnonymous ? "Guest User" : user?.name ?? "Guest User";
63
+ const displayEmail = isAnonymous ? "Anonymous session" : user?.email ?? "Not signed in";
64
+ const avatarUrl = user?.image ?? void 0;
65
+ const handleSignIn = async () => {
66
+ await onSignIn?.();
67
+ };
68
+ const handleSignOut = async () => {
69
+ try {
70
+ if (onSignOut) await onSignOut();
71
+ await onHome?.();
72
+ } catch (error) {
73
+ logger.error("Sign out failed", { error });
74
+ }
75
+ };
76
+ const handleProfile = async () => {
77
+ await onProfile?.();
78
+ };
79
+ const handleThemeChange = (theme) => {
80
+ onThemeChange?.(theme);
81
+ };
82
+ return /* @__PURE__ */ jsx(SidebarMenu, { children: /* @__PURE__ */ jsx(SidebarMenuItem, { children: /* @__PURE__ */ jsxs(DropdownMenu, { children: [/* @__PURE__ */ jsx(DropdownMenuTrigger, {
83
+ asChild: true,
84
+ children: /* @__PURE__ */ jsxs(SidebarMenuButton, {
85
+ size: "lg",
86
+ className: `data-[state=open]:bg-sidebar-accent data-[state=open]:text-sidebar-accent-foreground ${AI_FOCUS.ring}`,
87
+ "data-touch": isTouch ? "true" : "false",
88
+ "data-reduced-motion": reducedMotion ? "true" : "false",
89
+ children: [
90
+ /* @__PURE__ */ jsxs(Avatar, {
91
+ className: "h-8 w-8 rounded-lg",
92
+ children: [/* @__PURE__ */ jsx(AvatarImage, {
93
+ src: avatarUrl,
94
+ alt: displayName
95
+ }), /* @__PURE__ */ jsx(AvatarFallback, {
96
+ className: "rounded-lg",
97
+ children: isAuthenticated ? displayName.slice(0, 2).toUpperCase() : "?"
98
+ })]
99
+ }),
100
+ /* @__PURE__ */ jsxs("div", {
101
+ className: "grid flex-1 text-left text-sm leading-tight",
102
+ children: [/* @__PURE__ */ jsx("span", {
103
+ className: "truncate font-medium",
104
+ children: displayName
105
+ }), /* @__PURE__ */ jsx("span", {
106
+ className: "text-muted-foreground truncate text-xs",
107
+ children: displayEmail
108
+ })]
109
+ }),
110
+ /* @__PURE__ */ jsx(ChevronsUpDown, { className: "ml-auto size-4" })
111
+ ]
112
+ })
113
+ }), /* @__PURE__ */ jsxs(DropdownMenuContent, {
114
+ className: "w-[--radix-dropdown-menu-trigger-width] min-w-56 rounded-lg",
115
+ side: isMobile ? "bottom" : "right",
116
+ align: "end",
117
+ sideOffset: 4,
118
+ "data-touch": isTouch ? "true" : "false",
119
+ children: [
120
+ /* @__PURE__ */ jsx(DropdownMenuLabel, {
121
+ className: "p-0 font-normal",
122
+ children: /* @__PURE__ */ jsxs("div", {
123
+ className: "flex items-center gap-2 px-1 py-1.5 text-left text-sm",
124
+ children: [/* @__PURE__ */ jsxs(Avatar, {
125
+ className: "h-8 w-8 rounded-lg",
126
+ children: [/* @__PURE__ */ jsx(AvatarImage, {
127
+ src: avatarUrl,
128
+ alt: displayName
129
+ }), /* @__PURE__ */ jsx(AvatarFallback, {
130
+ className: "rounded-lg",
131
+ children: isAuthenticated ? displayName.slice(0, 2).toUpperCase() : "?"
132
+ })]
133
+ }), /* @__PURE__ */ jsxs("div", {
134
+ className: "grid flex-1 text-left text-sm leading-tight",
135
+ children: [/* @__PURE__ */ jsx("span", {
136
+ className: "truncate font-medium",
137
+ children: displayName
138
+ }), /* @__PURE__ */ jsx("span", {
139
+ className: "text-muted-foreground truncate text-xs",
140
+ children: displayEmail
141
+ })]
142
+ })]
143
+ })
144
+ }),
145
+ /* @__PURE__ */ jsx(DropdownMenuSeparator, {}),
146
+ !isAuthenticated ? /* @__PURE__ */ jsx(DropdownMenuGroup, { children: /* @__PURE__ */ jsxs(DropdownMenuItem, {
147
+ onClick: () => void handleSignIn(),
148
+ "data-action": "sign-in",
149
+ "data-anonymous": isAnonymous ? "true" : "false",
150
+ children: [/* @__PURE__ */ jsx(LogIn, {}), isAnonymous ? "Sign In or Create Account" : "Sign In"]
151
+ }) }) : /* @__PURE__ */ jsxs(DropdownMenuGroup, { children: [/* @__PURE__ */ jsxs(DropdownMenuItem, {
152
+ onClick: () => void handleProfile(),
153
+ "data-action": "profile",
154
+ children: [/* @__PURE__ */ jsx(User, {}), "Profile"]
155
+ }), /* @__PURE__ */ jsxs(DropdownMenuItem, {
156
+ onClick: () => void handleProfile(),
157
+ "data-action": "account-settings",
158
+ children: [/* @__PURE__ */ jsx(BadgeCheck, {}), "Account Settings"]
159
+ })] }),
160
+ /* @__PURE__ */ jsx(DropdownMenuSeparator, {}),
161
+ /* @__PURE__ */ jsxs(DropdownMenuGroup, { children: [/* @__PURE__ */ jsxs(DropdownMenuItem, {
162
+ onClick: () => handleThemeChange("light"),
163
+ "data-action": "theme-light",
164
+ children: [/* @__PURE__ */ jsx(Sun, {}), "Light Theme"]
165
+ }), /* @__PURE__ */ jsxs(DropdownMenuItem, {
166
+ onClick: () => handleThemeChange("dark"),
167
+ "data-action": "theme-dark",
168
+ children: [/* @__PURE__ */ jsx(Moon, {}), "Dark Theme"]
169
+ })] }),
170
+ isAuthenticated && onSignOut ? /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(DropdownMenuSeparator, {}), /* @__PURE__ */ jsxs(DropdownMenuItem, {
171
+ onClick: () => void handleSignOut(),
172
+ "data-action": "sign-out",
173
+ children: [/* @__PURE__ */ jsx(LogOut, {}), "Sign Out"]
174
+ })] }) : null
175
+ ]
176
+ })] }) }) });
177
+ }
178
+
179
+ //#endregion
180
+ export { AuthNavUser as t };
181
+ //# sourceMappingURL=auth-nav-user-DPFv8dTp.mjs.map
@@ -0,0 +1,25 @@
1
+
2
+ import { i as SkeletonProps } from "./skeleton-9QWseW9E.mjs";
3
+ import * as React$1 from "react";
4
+ import { ComponentProps } from "react";
5
+ import { VariantProps } from "class-variance-authority";
6
+ import * as class_variance_authority_types0 from "class-variance-authority/types";
7
+
8
+ //#region src/components/elements/atoms/badge/badge.d.ts
9
+ declare const badgeVariants: (props?: ({
10
+ variant?: "success" | "info" | "warning" | "default" | "destructive" | "outline" | "secondary" | "neutral" | null | undefined;
11
+ size?: "default" | "sm" | "lg" | "touch" | null | undefined;
12
+ } & class_variance_authority_types0.ClassProp) | undefined) => string;
13
+ declare const BadgeSkeleton: React$1.NamedExoticComponent<VariantProps<(props?: ({
14
+ variant?: "success" | "info" | "warning" | "default" | "destructive" | "outline" | "secondary" | "neutral" | null | undefined;
15
+ size?: "default" | "sm" | "lg" | "touch" | null | undefined;
16
+ } & class_variance_authority_types0.ClassProp) | undefined) => string> & SkeletonProps>;
17
+ interface BadgeProps extends ComponentProps<'span'>, VariantProps<typeof badgeVariants> {
18
+ asChild?: boolean;
19
+ pulse?: boolean;
20
+ disableEntranceAnimation?: boolean;
21
+ }
22
+ declare const Badge: React$1.NamedExoticComponent<BadgeProps>;
23
+ //#endregion
24
+ export { badgeVariants as i, BadgeProps as n, BadgeSkeleton as r, Badge as t };
25
+ //# sourceMappingURL=badge-D4XnZpXO.d.mts.map
@@ -0,0 +1,25 @@
1
+
2
+ import { i as SkeletonProps } from "./skeleton-ByXUFNDF.mjs";
3
+ import * as React$1 from "react";
4
+ import { ComponentProps } from "react";
5
+ import { VariantProps } from "class-variance-authority";
6
+ import * as class_variance_authority_types0 from "class-variance-authority/types";
7
+
8
+ //#region src/components/elements/atoms/badge/badge.d.ts
9
+ declare const badgeVariants: (props?: ({
10
+ variant?: "success" | "info" | "warning" | "default" | "destructive" | "outline" | "secondary" | "neutral" | null | undefined;
11
+ size?: "default" | "sm" | "lg" | "touch" | null | undefined;
12
+ } & class_variance_authority_types0.ClassProp) | undefined) => string;
13
+ declare const BadgeSkeleton: React$1.NamedExoticComponent<VariantProps<(props?: ({
14
+ variant?: "success" | "info" | "warning" | "default" | "destructive" | "outline" | "secondary" | "neutral" | null | undefined;
15
+ size?: "default" | "sm" | "lg" | "touch" | null | undefined;
16
+ } & class_variance_authority_types0.ClassProp) | undefined) => string> & SkeletonProps>;
17
+ interface BadgeProps extends ComponentProps<'span'>, VariantProps<typeof badgeVariants> {
18
+ asChild?: boolean;
19
+ pulse?: boolean;
20
+ disableEntranceAnimation?: boolean;
21
+ }
22
+ declare const Badge: React$1.NamedExoticComponent<BadgeProps>;
23
+ //#endregion
24
+ export { badgeVariants as i, BadgeProps as n, BadgeSkeleton as r, Badge as t };
25
+ //# sourceMappingURL=badge-DH0tY3wJ.d.mts.map
@@ -0,0 +1,58 @@
1
+
2
+ import { t as Button } from "./button-B6yQYIC3.mjs";
3
+ import { ComponentProps, HTMLAttributes } from "react";
4
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
5
+ import { UIMessage } from "ai";
6
+
7
+ //#region src/components/ai-elements/branch/branch.d.ts
8
+ type BranchProps = HTMLAttributes<HTMLDivElement> & {
9
+ defaultBranch?: number;
10
+ branch?: number;
11
+ onBranchChange?: (branchIndex: number) => void;
12
+ };
13
+ declare const Branch: ({
14
+ defaultBranch,
15
+ branch: branchProp,
16
+ onBranchChange,
17
+ className,
18
+ children,
19
+ ...props
20
+ }: BranchProps) => react_jsx_runtime0.JSX.Element;
21
+ type BranchMessagesProps = HTMLAttributes<HTMLDivElement> & {
22
+ animate?: boolean;
23
+ };
24
+ declare const BranchMessages: ({
25
+ className,
26
+ children,
27
+ animate,
28
+ ...props
29
+ }: BranchMessagesProps) => react_jsx_runtime0.JSX.Element;
30
+ type BranchSelectorProps = HTMLAttributes<HTMLDivElement> & {
31
+ from: UIMessage['role'];
32
+ };
33
+ declare const BranchSelector: ({
34
+ className,
35
+ from,
36
+ children,
37
+ ...props
38
+ }: BranchSelectorProps) => react_jsx_runtime0.JSX.Element | null;
39
+ type BranchPreviousProps = ComponentProps<typeof Button>;
40
+ declare const BranchPrevious: ({
41
+ className,
42
+ children,
43
+ ...props
44
+ }: BranchPreviousProps) => react_jsx_runtime0.JSX.Element;
45
+ type BranchNextProps = ComponentProps<typeof Button>;
46
+ declare const BranchNext: ({
47
+ className,
48
+ children,
49
+ ...props
50
+ }: BranchNextProps) => react_jsx_runtime0.JSX.Element;
51
+ type BranchPageProps = HTMLAttributes<HTMLSpanElement>;
52
+ declare const BranchPage: ({
53
+ className,
54
+ ...props
55
+ }: BranchPageProps) => react_jsx_runtime0.JSX.Element;
56
+ //#endregion
57
+ export { BranchNextProps as a, BranchPrevious as c, BranchSelector as d, BranchSelectorProps as f, BranchNext as i, BranchPreviousProps as l, BranchMessages as n, BranchPage as o, BranchMessagesProps as r, BranchPageProps as s, Branch as t, BranchProps as u };
58
+ //# sourceMappingURL=branch-DNK6Mek5.d.mts.map
@@ -0,0 +1,58 @@
1
+
2
+ import { t as Button } from "./button-BAdq0gBE.mjs";
3
+ import { ComponentProps, HTMLAttributes } from "react";
4
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
5
+ import { UIMessage } from "ai";
6
+
7
+ //#region src/components/ai-elements/branch/branch.d.ts
8
+ type BranchProps = HTMLAttributes<HTMLDivElement> & {
9
+ defaultBranch?: number;
10
+ branch?: number;
11
+ onBranchChange?: (branchIndex: number) => void;
12
+ };
13
+ declare const Branch: ({
14
+ defaultBranch,
15
+ branch: branchProp,
16
+ onBranchChange,
17
+ className,
18
+ children,
19
+ ...props
20
+ }: BranchProps) => react_jsx_runtime0.JSX.Element;
21
+ type BranchMessagesProps = HTMLAttributes<HTMLDivElement> & {
22
+ animate?: boolean;
23
+ };
24
+ declare const BranchMessages: ({
25
+ className,
26
+ children,
27
+ animate,
28
+ ...props
29
+ }: BranchMessagesProps) => react_jsx_runtime0.JSX.Element;
30
+ type BranchSelectorProps = HTMLAttributes<HTMLDivElement> & {
31
+ from: UIMessage['role'];
32
+ };
33
+ declare const BranchSelector: ({
34
+ className,
35
+ from,
36
+ children,
37
+ ...props
38
+ }: BranchSelectorProps) => react_jsx_runtime0.JSX.Element | null;
39
+ type BranchPreviousProps = ComponentProps<typeof Button>;
40
+ declare const BranchPrevious: ({
41
+ className,
42
+ children,
43
+ ...props
44
+ }: BranchPreviousProps) => react_jsx_runtime0.JSX.Element;
45
+ type BranchNextProps = ComponentProps<typeof Button>;
46
+ declare const BranchNext: ({
47
+ className,
48
+ children,
49
+ ...props
50
+ }: BranchNextProps) => react_jsx_runtime0.JSX.Element;
51
+ type BranchPageProps = HTMLAttributes<HTMLSpanElement>;
52
+ declare const BranchPage: ({
53
+ className,
54
+ ...props
55
+ }: BranchPageProps) => react_jsx_runtime0.JSX.Element;
56
+ //#endregion
57
+ export { BranchNextProps as a, BranchPrevious as c, BranchSelector as d, BranchSelectorProps as f, BranchNext as i, BranchPreviousProps as l, BranchMessages as n, BranchPage as o, BranchMessagesProps as r, BranchPageProps as s, Branch as t, BranchProps as u };
58
+ //# sourceMappingURL=branch-Duq6cW0s.d.mts.map
@@ -0,0 +1,31 @@
1
+
2
+ import { i as SkeletonProps } from "./skeleton-9QWseW9E.mjs";
3
+ import * as React$1 from "react";
4
+ import { VariantProps } from "class-variance-authority";
5
+ import { HTMLMotionProps } from "motion/react";
6
+ import * as class_variance_authority_types0 from "class-variance-authority/types";
7
+
8
+ //#region src/components/elements/atoms/button/button.d.ts
9
+ type IconColorName = 'purple' | 'violet' | 'blue' | 'green' | 'red' | 'yellow' | 'amber' | 'orange' | 'pink' | 'indigo' | 'slate' | 'gray' | 'zinc' | 'magenta' | 'primary';
10
+ declare const buttonVariants: (props?: ({
11
+ variant?: "default" | "destructive" | "ghost" | "link" | "outline" | "outlineSecondary" | "secondary" | "goBack" | "leftIcon" | "leftIconSecondary" | "rightIcon" | "rightIconSecondary" | null | undefined;
12
+ size?: "default" | "sm" | "lg" | "touch" | "icon" | "icon-sm" | "icon-lg" | "icon-touch" | null | undefined;
13
+ } & class_variance_authority_types0.ClassProp) | undefined) => string;
14
+ declare const ButtonSkeleton: React$1.NamedExoticComponent<VariantProps<(props?: ({
15
+ variant?: "default" | "destructive" | "ghost" | "link" | "outline" | "outlineSecondary" | "secondary" | "goBack" | "leftIcon" | "leftIconSecondary" | "rightIcon" | "rightIconSecondary" | null | undefined;
16
+ size?: "default" | "sm" | "lg" | "touch" | "icon" | "icon-sm" | "icon-lg" | "icon-touch" | null | undefined;
17
+ } & class_variance_authority_types0.ClassProp) | undefined) => string> & Omit<SkeletonProps, "variant">>;
18
+ interface ButtonProps extends Omit<HTMLMotionProps<'button'>, 'color' | 'children' | 'onAnimationStart' | 'onDragStart' | 'onDragEnd' | 'onDrag'>, VariantProps<typeof buttonVariants> {
19
+ asChild?: boolean;
20
+ children?: React$1.ReactNode;
21
+ icon?: React$1.ReactNode;
22
+ iconColor?: IconColorName;
23
+ color?: IconColorName;
24
+ loading?: boolean;
25
+ loadingText?: string;
26
+ disableEntranceAnimation?: boolean;
27
+ }
28
+ declare const Button: React$1.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
29
+ //#endregion
30
+ export { buttonVariants as a, IconColorName as i, ButtonProps as n, ButtonSkeleton as r, Button as t };
31
+ //# sourceMappingURL=button-B6yQYIC3.d.mts.map
@@ -0,0 +1,31 @@
1
+
2
+ import { i as SkeletonProps } from "./skeleton-ByXUFNDF.mjs";
3
+ import * as React$1 from "react";
4
+ import { VariantProps } from "class-variance-authority";
5
+ import { HTMLMotionProps } from "motion/react";
6
+ import * as class_variance_authority_types0 from "class-variance-authority/types";
7
+
8
+ //#region src/components/elements/atoms/button/button.d.ts
9
+ type IconColorName = 'purple' | 'violet' | 'blue' | 'green' | 'red' | 'yellow' | 'amber' | 'orange' | 'pink' | 'indigo' | 'slate' | 'gray' | 'zinc' | 'magenta' | 'primary';
10
+ declare const buttonVariants: (props?: ({
11
+ variant?: "link" | "default" | "destructive" | "outline" | "outlineSecondary" | "secondary" | "ghost" | "goBack" | "leftIcon" | "leftIconSecondary" | "rightIcon" | "rightIconSecondary" | null | undefined;
12
+ size?: "default" | "sm" | "lg" | "touch" | "icon" | "icon-sm" | "icon-lg" | "icon-touch" | null | undefined;
13
+ } & class_variance_authority_types0.ClassProp) | undefined) => string;
14
+ declare const ButtonSkeleton: React$1.NamedExoticComponent<VariantProps<(props?: ({
15
+ variant?: "link" | "default" | "destructive" | "outline" | "outlineSecondary" | "secondary" | "ghost" | "goBack" | "leftIcon" | "leftIconSecondary" | "rightIcon" | "rightIconSecondary" | null | undefined;
16
+ size?: "default" | "sm" | "lg" | "touch" | "icon" | "icon-sm" | "icon-lg" | "icon-touch" | null | undefined;
17
+ } & class_variance_authority_types0.ClassProp) | undefined) => string> & Omit<SkeletonProps, "variant">>;
18
+ interface ButtonProps extends Omit<HTMLMotionProps<'button'>, 'color' | 'children' | 'onAnimationStart' | 'onDragStart' | 'onDragEnd' | 'onDrag'>, VariantProps<typeof buttonVariants> {
19
+ asChild?: boolean;
20
+ children?: React$1.ReactNode;
21
+ icon?: React$1.ReactNode;
22
+ iconColor?: IconColorName;
23
+ color?: IconColorName;
24
+ loading?: boolean;
25
+ loadingText?: string;
26
+ disableEntranceAnimation?: boolean;
27
+ }
28
+ declare const Button: React$1.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
29
+ //#endregion
30
+ export { buttonVariants as a, IconColorName as i, ButtonProps as n, ButtonSkeleton as r, Button as t };
31
+ //# sourceMappingURL=button-BAdq0gBE.d.mts.map
@@ -0,0 +1,49 @@
1
+
2
+ import { t as Button } from "./button-BAdq0gBE.mjs";
3
+ import * as React$1 from "react";
4
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
5
+ import useEmblaCarousel, { UseEmblaCarouselType } from "embla-carousel-react";
6
+
7
+ //#region src/components/elements/organisms/carousel/carousel.d.ts
8
+ type CarouselApi = UseEmblaCarouselType[1];
9
+ type UseCarouselParameters = Parameters<typeof useEmblaCarousel>;
10
+ type CarouselOptions = UseCarouselParameters[0];
11
+ type CarouselPlugin = UseCarouselParameters[1];
12
+ type CarouselProps = {
13
+ opts?: CarouselOptions;
14
+ plugins?: CarouselPlugin;
15
+ orientation?: 'horizontal' | 'vertical';
16
+ setApi?: (api: CarouselApi) => void;
17
+ };
18
+ declare function Carousel({
19
+ orientation,
20
+ opts,
21
+ setApi,
22
+ plugins,
23
+ className,
24
+ children,
25
+ ...props
26
+ }: React$1.ComponentProps<'div'> & CarouselProps): react_jsx_runtime0.JSX.Element;
27
+ declare function CarouselContent({
28
+ className,
29
+ ...props
30
+ }: React$1.ComponentProps<'div'>): react_jsx_runtime0.JSX.Element;
31
+ declare function CarouselItem({
32
+ className,
33
+ ...props
34
+ }: React$1.ComponentProps<'div'>): react_jsx_runtime0.JSX.Element;
35
+ declare function CarouselPrevious({
36
+ className,
37
+ variant,
38
+ size,
39
+ ...props
40
+ }: React$1.ComponentProps<typeof Button>): react_jsx_runtime0.JSX.Element;
41
+ declare function CarouselNext({
42
+ className,
43
+ variant,
44
+ size,
45
+ ...props
46
+ }: React$1.ComponentProps<typeof Button>): react_jsx_runtime0.JSX.Element;
47
+ //#endregion
48
+ export { CarouselNext as a, CarouselItem as i, CarouselApi as n, CarouselPrevious as o, CarouselContent as r, Carousel as t };
49
+ //# sourceMappingURL=carousel-D-J1Zgn1.d.mts.map
@@ -0,0 +1,49 @@
1
+
2
+ import { t as Button } from "./button-B6yQYIC3.mjs";
3
+ import * as React$1 from "react";
4
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
5
+ import useEmblaCarousel, { UseEmblaCarouselType } from "embla-carousel-react";
6
+
7
+ //#region src/components/elements/organisms/carousel/carousel.d.ts
8
+ type CarouselApi = UseEmblaCarouselType[1];
9
+ type UseCarouselParameters = Parameters<typeof useEmblaCarousel>;
10
+ type CarouselOptions = UseCarouselParameters[0];
11
+ type CarouselPlugin = UseCarouselParameters[1];
12
+ type CarouselProps = {
13
+ opts?: CarouselOptions;
14
+ plugins?: CarouselPlugin;
15
+ orientation?: 'horizontal' | 'vertical';
16
+ setApi?: (api: CarouselApi) => void;
17
+ };
18
+ declare function Carousel({
19
+ orientation,
20
+ opts,
21
+ setApi,
22
+ plugins,
23
+ className,
24
+ children,
25
+ ...props
26
+ }: React$1.ComponentProps<'div'> & CarouselProps): react_jsx_runtime0.JSX.Element;
27
+ declare function CarouselContent({
28
+ className,
29
+ ...props
30
+ }: React$1.ComponentProps<'div'>): react_jsx_runtime0.JSX.Element;
31
+ declare function CarouselItem({
32
+ className,
33
+ ...props
34
+ }: React$1.ComponentProps<'div'>): react_jsx_runtime0.JSX.Element;
35
+ declare function CarouselPrevious({
36
+ className,
37
+ variant,
38
+ size,
39
+ ...props
40
+ }: React$1.ComponentProps<typeof Button>): react_jsx_runtime0.JSX.Element;
41
+ declare function CarouselNext({
42
+ className,
43
+ variant,
44
+ size,
45
+ ...props
46
+ }: React$1.ComponentProps<typeof Button>): react_jsx_runtime0.JSX.Element;
47
+ //#endregion
48
+ export { CarouselNext as a, CarouselItem as i, CarouselApi as n, CarouselPrevious as o, CarouselContent as r, Carousel as t };
49
+ //# sourceMappingURL=carousel-DXUjFoln.d.mts.map