@me1a/ui 2.1.3 → 2.1.4
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/atoms.cjs.js +1 -1
- package/dist/atoms.d.mts +15 -15
- package/dist/atoms.d.ts +15 -15
- package/dist/atoms.esm.js +1 -1
- package/dist/{chunk-QQTIOIYW.esm.js → chunk-3HTFCAYW.esm.js} +2 -2
- package/dist/chunk-3HTFCAYW.esm.js.map +1 -0
- package/dist/{chunk-BAU346R2.esm.js → chunk-3IRQJ7EB.esm.js} +2 -2
- package/dist/chunk-3IRQJ7EB.esm.js.map +1 -0
- package/dist/{chunk-X5ID4673.esm.js → chunk-7NN2L46N.esm.js} +2 -2
- package/dist/{chunk-X5ID4673.esm.js.map → chunk-7NN2L46N.esm.js.map} +1 -1
- package/dist/{chunk-KHHRPIQY.cjs.js → chunk-BR7Z6MCL.cjs.js} +2 -2
- package/dist/chunk-BR7Z6MCL.cjs.js.map +1 -0
- package/dist/{chunk-PQK6GFRJ.cjs.js → chunk-C4ZAMI2P.cjs.js} +2 -2
- package/dist/chunk-C4ZAMI2P.cjs.js.map +1 -0
- package/dist/{chunk-THOA7DOT.esm.js → chunk-EBPUGBUT.esm.js} +2 -2
- package/dist/chunk-EBPUGBUT.esm.js.map +1 -0
- package/dist/{chunk-LMRZM37Z.cjs.js → chunk-F2K3NFCW.cjs.js} +2 -2
- package/dist/chunk-F2K3NFCW.cjs.js.map +1 -0
- package/dist/{chunk-63AGWKIA.esm.js → chunk-JQGLWFDR.esm.js} +2 -2
- package/dist/chunk-JQGLWFDR.esm.js.map +1 -0
- package/dist/{chunk-Y5ZYAMOS.cjs.js → chunk-LDE4UXZ4.cjs.js} +2 -2
- package/dist/chunk-LDE4UXZ4.cjs.js.map +1 -0
- package/dist/{chunk-HTRP5Z25.esm.js → chunk-LEUTYD7G.esm.js} +2 -2
- package/dist/chunk-LEUTYD7G.esm.js.map +1 -0
- package/dist/{chunk-Z3J4HE4P.cjs.js → chunk-UAZIJGWR.cjs.js} +2 -2
- package/dist/{chunk-Z3J4HE4P.cjs.js.map → chunk-UAZIJGWR.cjs.js.map} +1 -1
- package/dist/{chunk-AZF4HOYC.cjs.js → chunk-YVYCVGPC.cjs.js} +2 -2
- package/dist/chunk-YVYCVGPC.cjs.js.map +1 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.esm.js +1 -1
- package/dist/{input-TJ_d3ROF.d.mts → input-Ruz0ZoY6.d.mts} +1 -1
- package/dist/{input-TJ_d3ROF.d.ts → input-Ruz0ZoY6.d.ts} +1 -1
- package/dist/molecules.cjs.js +1 -1
- package/dist/molecules.d.mts +6 -6
- package/dist/molecules.d.ts +6 -6
- package/dist/molecules.esm.js +1 -1
- package/dist/organisms.cjs.js +1 -1
- package/dist/organisms.d.mts +3 -3
- package/dist/organisms.d.ts +3 -3
- package/dist/organisms.esm.js +1 -1
- package/dist/{tooltip-Vd-UgSJF.d.mts → tooltip-B4jzaurK.d.mts} +2 -2
- package/dist/{tooltip-Vd-UgSJF.d.ts → tooltip-B4jzaurK.d.ts} +2 -2
- package/package.json +5 -5
- package/dist/chunk-63AGWKIA.esm.js.map +0 -1
- package/dist/chunk-AZF4HOYC.cjs.js.map +0 -1
- package/dist/chunk-BAU346R2.esm.js.map +0 -1
- package/dist/chunk-HTRP5Z25.esm.js.map +0 -1
- package/dist/chunk-KHHRPIQY.cjs.js.map +0 -1
- package/dist/chunk-LMRZM37Z.cjs.js.map +0 -1
- package/dist/chunk-PQK6GFRJ.cjs.js.map +0 -1
- package/dist/chunk-QQTIOIYW.esm.js.map +0 -1
- package/dist/chunk-THOA7DOT.esm.js.map +0 -1
- package/dist/chunk-Y5ZYAMOS.cjs.js.map +0 -1
package/dist/atoms.cjs.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkLDE4UXZ4_cjs_js=require('./chunk-LDE4UXZ4.cjs.js');require('./chunk-WJNYKJP6.cjs.js');var chunkUAZIJGWR_cjs_js=require('./chunk-UAZIJGWR.cjs.js'),chunkC4ZAMI2P_cjs_js=require('./chunk-C4ZAMI2P.cjs.js'),chunkBR7Z6MCL_cjs_js=require('./chunk-BR7Z6MCL.cjs.js');require('./chunk-SL2ZUI4G.cjs.js');Object.defineProperty(exports,"Avatar",{enumerable:true,get:function(){return chunkLDE4UXZ4_cjs_js.o}});Object.defineProperty(exports,"AvatarFallback",{enumerable:true,get:function(){return chunkLDE4UXZ4_cjs_js.q}});Object.defineProperty(exports,"AvatarImage",{enumerable:true,get:function(){return chunkLDE4UXZ4_cjs_js.p}});Object.defineProperty(exports,"Badge",{enumerable:true,get:function(){return chunkLDE4UXZ4_cjs_js.s}});Object.defineProperty(exports,"Box",{enumerable:true,get:function(){return chunkLDE4UXZ4_cjs_js.c}});Object.defineProperty(exports,"Container",{enumerable:true,get:function(){return chunkLDE4UXZ4_cjs_js.b}});Object.defineProperty(exports,"Dialog",{enumerable:true,get:function(){return chunkLDE4UXZ4_cjs_js.e}});Object.defineProperty(exports,"DialogClose",{enumerable:true,get:function(){return chunkLDE4UXZ4_cjs_js.h}});Object.defineProperty(exports,"DialogContent",{enumerable:true,get:function(){return chunkLDE4UXZ4_cjs_js.j}});Object.defineProperty(exports,"DialogDescription",{enumerable:true,get:function(){return chunkLDE4UXZ4_cjs_js.n}});Object.defineProperty(exports,"DialogFooter",{enumerable:true,get:function(){return chunkLDE4UXZ4_cjs_js.l}});Object.defineProperty(exports,"DialogHeader",{enumerable:true,get:function(){return chunkLDE4UXZ4_cjs_js.k}});Object.defineProperty(exports,"DialogOverlay",{enumerable:true,get:function(){return chunkLDE4UXZ4_cjs_js.i}});Object.defineProperty(exports,"DialogPortal",{enumerable:true,get:function(){return chunkLDE4UXZ4_cjs_js.g}});Object.defineProperty(exports,"DialogTitle",{enumerable:true,get:function(){return chunkLDE4UXZ4_cjs_js.m}});Object.defineProperty(exports,"DialogTrigger",{enumerable:true,get:function(){return chunkLDE4UXZ4_cjs_js.f}});Object.defineProperty(exports,"PageLoader",{enumerable:true,get:function(){return chunkLDE4UXZ4_cjs_js.v}});Object.defineProperty(exports,"Stack",{enumerable:true,get:function(){return chunkLDE4UXZ4_cjs_js.d}});Object.defineProperty(exports,"TextField",{enumerable:true,get:function(){return chunkLDE4UXZ4_cjs_js.a}});Object.defineProperty(exports,"Toast",{enumerable:true,get:function(){return chunkLDE4UXZ4_cjs_js.y}});Object.defineProperty(exports,"ToastAction",{enumerable:true,get:function(){return chunkLDE4UXZ4_cjs_js.z}});Object.defineProperty(exports,"ToastClose",{enumerable:true,get:function(){return chunkLDE4UXZ4_cjs_js.A}});Object.defineProperty(exports,"ToastDescription",{enumerable:true,get:function(){return chunkLDE4UXZ4_cjs_js.C}});Object.defineProperty(exports,"ToastProvider",{enumerable:true,get:function(){return chunkLDE4UXZ4_cjs_js.w}});Object.defineProperty(exports,"ToastTitle",{enumerable:true,get:function(){return chunkLDE4UXZ4_cjs_js.B}});Object.defineProperty(exports,"ToastViewport",{enumerable:true,get:function(){return chunkLDE4UXZ4_cjs_js.x}});Object.defineProperty(exports,"Toaster",{enumerable:true,get:function(){return chunkLDE4UXZ4_cjs_js.D}});Object.defineProperty(exports,"Typography",{enumerable:true,get:function(){return chunkLDE4UXZ4_cjs_js.u}});Object.defineProperty(exports,"badgeVariants",{enumerable:true,get:function(){return chunkLDE4UXZ4_cjs_js.r}});Object.defineProperty(exports,"typographyVariants",{enumerable:true,get:function(){return chunkLDE4UXZ4_cjs_js.t}});Object.defineProperty(exports,"Label",{enumerable:true,get:function(){return chunkUAZIJGWR_cjs_js.a}});Object.defineProperty(exports,"Button",{enumerable:true,get:function(){return chunkC4ZAMI2P_cjs_js.b}});Object.defineProperty(exports,"Separator",{enumerable:true,get:function(){return chunkC4ZAMI2P_cjs_js.c}});Object.defineProperty(exports,"Sheet",{enumerable:true,get:function(){return chunkC4ZAMI2P_cjs_js.d}});Object.defineProperty(exports,"SheetClose",{enumerable:true,get:function(){return chunkC4ZAMI2P_cjs_js.f}});Object.defineProperty(exports,"SheetContent",{enumerable:true,get:function(){return chunkC4ZAMI2P_cjs_js.i}});Object.defineProperty(exports,"SheetDescription",{enumerable:true,get:function(){return chunkC4ZAMI2P_cjs_js.m}});Object.defineProperty(exports,"SheetFooter",{enumerable:true,get:function(){return chunkC4ZAMI2P_cjs_js.k}});Object.defineProperty(exports,"SheetHeader",{enumerable:true,get:function(){return chunkC4ZAMI2P_cjs_js.j}});Object.defineProperty(exports,"SheetOverlay",{enumerable:true,get:function(){return chunkC4ZAMI2P_cjs_js.h}});Object.defineProperty(exports,"SheetPortal",{enumerable:true,get:function(){return chunkC4ZAMI2P_cjs_js.g}});Object.defineProperty(exports,"SheetTitle",{enumerable:true,get:function(){return chunkC4ZAMI2P_cjs_js.l}});Object.defineProperty(exports,"SheetTrigger",{enumerable:true,get:function(){return chunkC4ZAMI2P_cjs_js.e}});Object.defineProperty(exports,"Skeleton",{enumerable:true,get:function(){return chunkC4ZAMI2P_cjs_js.n}});Object.defineProperty(exports,"Tooltip",{enumerable:true,get:function(){return chunkC4ZAMI2P_cjs_js.p}});Object.defineProperty(exports,"TooltipContent",{enumerable:true,get:function(){return chunkC4ZAMI2P_cjs_js.r}});Object.defineProperty(exports,"TooltipProvider",{enumerable:true,get:function(){return chunkC4ZAMI2P_cjs_js.o}});Object.defineProperty(exports,"TooltipTrigger",{enumerable:true,get:function(){return chunkC4ZAMI2P_cjs_js.q}});Object.defineProperty(exports,"buttonVariants",{enumerable:true,get:function(){return chunkC4ZAMI2P_cjs_js.a}});Object.defineProperty(exports,"Input",{enumerable:true,get:function(){return chunkBR7Z6MCL_cjs_js.a}});//# sourceMappingURL=atoms.cjs.js.map
|
|
2
2
|
//# sourceMappingURL=atoms.cjs.js.map
|
package/dist/atoms.d.mts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { B as Button, a as ButtonProps, T as Tooltip, d as TooltipContent, e as TooltipProvider, c as TooltipTrigger, b as buttonVariants } from './tooltip-
|
|
1
|
+
export { B as Button, a as ButtonProps, T as Tooltip, d as TooltipContent, e as TooltipProvider, c as TooltipTrigger, b as buttonVariants } from './tooltip-B4jzaurK.mjs';
|
|
2
2
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
3
|
import * as React$1 from 'react';
|
|
4
4
|
import { VariantProps } from 'class-variance-authority';
|
|
5
5
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
6
|
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
7
|
-
export { I as Input } from './input-
|
|
7
|
+
export { I as Input } from './input-Ruz0ZoY6.mjs';
|
|
8
8
|
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
9
9
|
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
10
10
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
@@ -51,7 +51,7 @@ declare const textFieldVariants: (props?: ({
|
|
|
51
51
|
* A versatile text field component that supports multiple variants, sizes, and icons.
|
|
52
52
|
* Built on top of shadcn/ui's Input component.
|
|
53
53
|
*
|
|
54
|
-
* @url https://
|
|
54
|
+
* @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-text-field--docs
|
|
55
55
|
*
|
|
56
56
|
* @component
|
|
57
57
|
* @example
|
|
@@ -107,7 +107,7 @@ declare const Container: React$1.ForwardRefExoticComponent<ContainerProps & Reac
|
|
|
107
107
|
* It's a polymorphic component that can render as different HTML elements while maintaining
|
|
108
108
|
* consistent styling and behavior.
|
|
109
109
|
*
|
|
110
|
-
* @url https://
|
|
110
|
+
* @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-box--docs
|
|
111
111
|
*
|
|
112
112
|
* @example
|
|
113
113
|
* ```tsx
|
|
@@ -154,7 +154,7 @@ declare const Box: React$1.ForwardRefExoticComponent<BoxProps & React$1.RefAttri
|
|
|
154
154
|
* with consistent spacing between items. It's built on top of Flexbox and provides
|
|
155
155
|
* a simple way to create consistent layouts.
|
|
156
156
|
*
|
|
157
|
-
* @url https://
|
|
157
|
+
* @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-stack--docs
|
|
158
158
|
*
|
|
159
159
|
* @example
|
|
160
160
|
* ```tsx
|
|
@@ -271,7 +271,7 @@ declare const Stack: React$1.ForwardRefExoticComponent<StackProps & React$1.RefA
|
|
|
271
271
|
* Dialog component for creating accessible dialogs with overlay and content.
|
|
272
272
|
* Built on top of Radix UI's Dialog primitive.
|
|
273
273
|
*
|
|
274
|
-
* @url https://
|
|
274
|
+
* @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-dialog--docs
|
|
275
275
|
*
|
|
276
276
|
* @example
|
|
277
277
|
* ```tsx
|
|
@@ -301,7 +301,7 @@ declare const DialogDescription: React$1.ForwardRefExoticComponent<Omit<DialogPr
|
|
|
301
301
|
* Separator component for creating horizontal or vertical dividers.
|
|
302
302
|
* Built on top of Radix UI's Separator primitive.
|
|
303
303
|
*
|
|
304
|
-
* @url https://
|
|
304
|
+
* @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-separator--docs
|
|
305
305
|
*
|
|
306
306
|
*/
|
|
307
307
|
declare const Separator: React$1.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
@@ -310,7 +310,7 @@ declare const Separator: React$1.ForwardRefExoticComponent<Omit<SeparatorPrimiti
|
|
|
310
310
|
* Sheet component for creating accessible sheets with overlay and content.
|
|
311
311
|
* Built on top of Radix UI's Sheet primitive.
|
|
312
312
|
*
|
|
313
|
-
* @url https://
|
|
313
|
+
* @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-sheet--docs
|
|
314
314
|
*
|
|
315
315
|
* @example
|
|
316
316
|
* ```tsx
|
|
@@ -345,7 +345,7 @@ declare const SheetDescription: React$1.ForwardRefExoticComponent<Omit<DialogPri
|
|
|
345
345
|
* Skeleton component for creating a loading state.
|
|
346
346
|
* Built on top of shadcn/ui's Skeleton component.
|
|
347
347
|
*
|
|
348
|
-
* @url https://
|
|
348
|
+
* @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-skeleton--docs
|
|
349
349
|
*
|
|
350
350
|
* @example
|
|
351
351
|
* ```tsx
|
|
@@ -358,7 +358,7 @@ declare function Skeleton({ className, ...props }: React.HTMLAttributes<HTMLDivE
|
|
|
358
358
|
* Avatar component that displays a user's profile picture or fallback.
|
|
359
359
|
* Built on top of Radix UI's Avatar primitive.
|
|
360
360
|
*
|
|
361
|
-
* @url https://
|
|
361
|
+
* @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-avatar--docs
|
|
362
362
|
*
|
|
363
363
|
* @example
|
|
364
364
|
* ```tsx
|
|
@@ -408,7 +408,7 @@ interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<
|
|
|
408
408
|
* Badge component for displaying status, counts, or labels.
|
|
409
409
|
* Supports various variants, sizes, and optional icons.
|
|
410
410
|
*
|
|
411
|
-
* @url https://
|
|
411
|
+
* @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-badge--docs
|
|
412
412
|
*
|
|
413
413
|
* @example
|
|
414
414
|
* ```tsx
|
|
@@ -430,7 +430,7 @@ interface TypographyProps extends React$1.HTMLAttributes<HTMLElement>, VariantPr
|
|
|
430
430
|
* Typography component for creating accessible text elements.
|
|
431
431
|
* Built on top of shadcn/ui's Typography component.
|
|
432
432
|
*
|
|
433
|
-
* @url https://
|
|
433
|
+
* @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-typography--docs
|
|
434
434
|
*
|
|
435
435
|
*/
|
|
436
436
|
declare const Typography: React$1.ForwardRefExoticComponent<TypographyProps & React$1.RefAttributes<HTMLElement>>;
|
|
@@ -459,7 +459,7 @@ interface PageLoaderProps$1 {
|
|
|
459
459
|
/**
|
|
460
460
|
* PageLoader component for displaying a loading indicator.
|
|
461
461
|
*
|
|
462
|
-
* @url https://
|
|
462
|
+
* @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-page-loader--docs
|
|
463
463
|
*
|
|
464
464
|
*/
|
|
465
465
|
declare function PageLoader({ className, size, text, color }: PageLoaderProps$1): react_jsx_runtime.JSX.Element;
|
|
@@ -490,7 +490,7 @@ interface LabelProps extends React$1.ComponentPropsWithoutRef<typeof LabelPrimit
|
|
|
490
490
|
* Label component for creating accessible labels.
|
|
491
491
|
* Built on top of Radix UI's Label primitive.
|
|
492
492
|
*
|
|
493
|
-
* @url https://
|
|
493
|
+
* @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-label--docs
|
|
494
494
|
*
|
|
495
495
|
*/
|
|
496
496
|
declare const Label: React$1.ForwardRefExoticComponent<LabelProps & React$1.RefAttributes<HTMLLabelElement>>;
|
|
@@ -499,7 +499,7 @@ declare const Label: React$1.ForwardRefExoticComponent<LabelProps & React$1.RefA
|
|
|
499
499
|
* Toaster component for managing and displaying toast notifications.
|
|
500
500
|
* Built on top of the Toast primitive components.
|
|
501
501
|
*
|
|
502
|
-
* @url https://
|
|
502
|
+
* @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-toaster--docs
|
|
503
503
|
*
|
|
504
504
|
* @example
|
|
505
505
|
* ```tsx
|
package/dist/atoms.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { B as Button, a as ButtonProps, T as Tooltip, d as TooltipContent, e as TooltipProvider, c as TooltipTrigger, b as buttonVariants } from './tooltip-
|
|
1
|
+
export { B as Button, a as ButtonProps, T as Tooltip, d as TooltipContent, e as TooltipProvider, c as TooltipTrigger, b as buttonVariants } from './tooltip-B4jzaurK.js';
|
|
2
2
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
3
|
import * as React$1 from 'react';
|
|
4
4
|
import { VariantProps } from 'class-variance-authority';
|
|
5
5
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
6
|
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
7
|
-
export { I as Input } from './input-
|
|
7
|
+
export { I as Input } from './input-Ruz0ZoY6.js';
|
|
8
8
|
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
9
9
|
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
10
10
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
@@ -51,7 +51,7 @@ declare const textFieldVariants: (props?: ({
|
|
|
51
51
|
* A versatile text field component that supports multiple variants, sizes, and icons.
|
|
52
52
|
* Built on top of shadcn/ui's Input component.
|
|
53
53
|
*
|
|
54
|
-
* @url https://
|
|
54
|
+
* @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-text-field--docs
|
|
55
55
|
*
|
|
56
56
|
* @component
|
|
57
57
|
* @example
|
|
@@ -107,7 +107,7 @@ declare const Container: React$1.ForwardRefExoticComponent<ContainerProps & Reac
|
|
|
107
107
|
* It's a polymorphic component that can render as different HTML elements while maintaining
|
|
108
108
|
* consistent styling and behavior.
|
|
109
109
|
*
|
|
110
|
-
* @url https://
|
|
110
|
+
* @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-box--docs
|
|
111
111
|
*
|
|
112
112
|
* @example
|
|
113
113
|
* ```tsx
|
|
@@ -154,7 +154,7 @@ declare const Box: React$1.ForwardRefExoticComponent<BoxProps & React$1.RefAttri
|
|
|
154
154
|
* with consistent spacing between items. It's built on top of Flexbox and provides
|
|
155
155
|
* a simple way to create consistent layouts.
|
|
156
156
|
*
|
|
157
|
-
* @url https://
|
|
157
|
+
* @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-stack--docs
|
|
158
158
|
*
|
|
159
159
|
* @example
|
|
160
160
|
* ```tsx
|
|
@@ -271,7 +271,7 @@ declare const Stack: React$1.ForwardRefExoticComponent<StackProps & React$1.RefA
|
|
|
271
271
|
* Dialog component for creating accessible dialogs with overlay and content.
|
|
272
272
|
* Built on top of Radix UI's Dialog primitive.
|
|
273
273
|
*
|
|
274
|
-
* @url https://
|
|
274
|
+
* @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-dialog--docs
|
|
275
275
|
*
|
|
276
276
|
* @example
|
|
277
277
|
* ```tsx
|
|
@@ -301,7 +301,7 @@ declare const DialogDescription: React$1.ForwardRefExoticComponent<Omit<DialogPr
|
|
|
301
301
|
* Separator component for creating horizontal or vertical dividers.
|
|
302
302
|
* Built on top of Radix UI's Separator primitive.
|
|
303
303
|
*
|
|
304
|
-
* @url https://
|
|
304
|
+
* @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-separator--docs
|
|
305
305
|
*
|
|
306
306
|
*/
|
|
307
307
|
declare const Separator: React$1.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
@@ -310,7 +310,7 @@ declare const Separator: React$1.ForwardRefExoticComponent<Omit<SeparatorPrimiti
|
|
|
310
310
|
* Sheet component for creating accessible sheets with overlay and content.
|
|
311
311
|
* Built on top of Radix UI's Sheet primitive.
|
|
312
312
|
*
|
|
313
|
-
* @url https://
|
|
313
|
+
* @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-sheet--docs
|
|
314
314
|
*
|
|
315
315
|
* @example
|
|
316
316
|
* ```tsx
|
|
@@ -345,7 +345,7 @@ declare const SheetDescription: React$1.ForwardRefExoticComponent<Omit<DialogPri
|
|
|
345
345
|
* Skeleton component for creating a loading state.
|
|
346
346
|
* Built on top of shadcn/ui's Skeleton component.
|
|
347
347
|
*
|
|
348
|
-
* @url https://
|
|
348
|
+
* @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-skeleton--docs
|
|
349
349
|
*
|
|
350
350
|
* @example
|
|
351
351
|
* ```tsx
|
|
@@ -358,7 +358,7 @@ declare function Skeleton({ className, ...props }: React.HTMLAttributes<HTMLDivE
|
|
|
358
358
|
* Avatar component that displays a user's profile picture or fallback.
|
|
359
359
|
* Built on top of Radix UI's Avatar primitive.
|
|
360
360
|
*
|
|
361
|
-
* @url https://
|
|
361
|
+
* @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-avatar--docs
|
|
362
362
|
*
|
|
363
363
|
* @example
|
|
364
364
|
* ```tsx
|
|
@@ -408,7 +408,7 @@ interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<
|
|
|
408
408
|
* Badge component for displaying status, counts, or labels.
|
|
409
409
|
* Supports various variants, sizes, and optional icons.
|
|
410
410
|
*
|
|
411
|
-
* @url https://
|
|
411
|
+
* @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-badge--docs
|
|
412
412
|
*
|
|
413
413
|
* @example
|
|
414
414
|
* ```tsx
|
|
@@ -430,7 +430,7 @@ interface TypographyProps extends React$1.HTMLAttributes<HTMLElement>, VariantPr
|
|
|
430
430
|
* Typography component for creating accessible text elements.
|
|
431
431
|
* Built on top of shadcn/ui's Typography component.
|
|
432
432
|
*
|
|
433
|
-
* @url https://
|
|
433
|
+
* @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-typography--docs
|
|
434
434
|
*
|
|
435
435
|
*/
|
|
436
436
|
declare const Typography: React$1.ForwardRefExoticComponent<TypographyProps & React$1.RefAttributes<HTMLElement>>;
|
|
@@ -459,7 +459,7 @@ interface PageLoaderProps$1 {
|
|
|
459
459
|
/**
|
|
460
460
|
* PageLoader component for displaying a loading indicator.
|
|
461
461
|
*
|
|
462
|
-
* @url https://
|
|
462
|
+
* @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-page-loader--docs
|
|
463
463
|
*
|
|
464
464
|
*/
|
|
465
465
|
declare function PageLoader({ className, size, text, color }: PageLoaderProps$1): react_jsx_runtime.JSX.Element;
|
|
@@ -490,7 +490,7 @@ interface LabelProps extends React$1.ComponentPropsWithoutRef<typeof LabelPrimit
|
|
|
490
490
|
* Label component for creating accessible labels.
|
|
491
491
|
* Built on top of Radix UI's Label primitive.
|
|
492
492
|
*
|
|
493
|
-
* @url https://
|
|
493
|
+
* @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-label--docs
|
|
494
494
|
*
|
|
495
495
|
*/
|
|
496
496
|
declare const Label: React$1.ForwardRefExoticComponent<LabelProps & React$1.RefAttributes<HTMLLabelElement>>;
|
|
@@ -499,7 +499,7 @@ declare const Label: React$1.ForwardRefExoticComponent<LabelProps & React$1.RefA
|
|
|
499
499
|
* Toaster component for managing and displaying toast notifications.
|
|
500
500
|
* Built on top of the Toast primitive components.
|
|
501
501
|
*
|
|
502
|
-
* @url https://
|
|
502
|
+
* @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-toaster--docs
|
|
503
503
|
*
|
|
504
504
|
* @example
|
|
505
505
|
* ```tsx
|
package/dist/atoms.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{o as Avatar,q as AvatarFallback,p as AvatarImage,s as Badge,c as Box,b as Container,e as Dialog,h as DialogClose,j as DialogContent,n as DialogDescription,l as DialogFooter,k as DialogHeader,i as DialogOverlay,g as DialogPortal,m as DialogTitle,f as DialogTrigger,v as PageLoader,d as Stack,a as TextField,y as Toast,z as ToastAction,A as ToastClose,C as ToastDescription,w as ToastProvider,B as ToastTitle,x as ToastViewport,D as Toaster,u as Typography,r as badgeVariants,t as typographyVariants}from'./chunk-
|
|
1
|
+
export{o as Avatar,q as AvatarFallback,p as AvatarImage,s as Badge,c as Box,b as Container,e as Dialog,h as DialogClose,j as DialogContent,n as DialogDescription,l as DialogFooter,k as DialogHeader,i as DialogOverlay,g as DialogPortal,m as DialogTitle,f as DialogTrigger,v as PageLoader,d as Stack,a as TextField,y as Toast,z as ToastAction,A as ToastClose,C as ToastDescription,w as ToastProvider,B as ToastTitle,x as ToastViewport,D as Toaster,u as Typography,r as badgeVariants,t as typographyVariants}from'./chunk-3IRQJ7EB.esm.js';import'./chunk-JKTYFZ5M.esm.js';export{a as Label}from'./chunk-7NN2L46N.esm.js';export{b as Button,c as Separator,d as Sheet,f as SheetClose,i as SheetContent,m as SheetDescription,k as SheetFooter,j as SheetHeader,h as SheetOverlay,g as SheetPortal,l as SheetTitle,e as SheetTrigger,n as Skeleton,p as Tooltip,r as TooltipContent,o as TooltipProvider,q as TooltipTrigger,a as buttonVariants}from'./chunk-3HTFCAYW.esm.js';export{a as Input}from'./chunk-EBPUGBUT.esm.js';import'./chunk-C26U3FL4.esm.js';//# sourceMappingURL=atoms.esm.js.map
|
|
2
2
|
//# sourceMappingURL=atoms.esm.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {a}from'./chunk-C26U3FL4.esm.js';import*as l from'react';import {Slot}from'@radix-ui/react-slot';import {cva}from'class-variance-authority';import {Loader2,X as X$1}from'lucide-react';import {jsx,jsxs}from'react/jsx-runtime';import*as v from'@radix-ui/react-separator';import*as t from'@radix-ui/react-dialog';import*as r from'@radix-ui/react-tooltip';var x=cva("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),V=l.forwardRef(({className:o,variant:e,size:a$1,asChild:s=false,startIcon:m,endIcon:b,loading:p=false,disabled:k,children:f,type:g="button","aria-label":D,...c},P)=>{let R=s?Slot:"button",d=k||p,S=D||(typeof f=="string"?f:void 0),L=u=>{(u.key==="Enter"||u.key===" ")&&(u.preventDefault(),!d&&c.onClick&&c.onClick(u));};return s?jsx(R,{className:a(x({variant:e,size:a$1,className:o})),ref:P,disabled:d,type:g,"aria-label":S,"aria-disabled":d,...c,children:f}):jsxs(R,{className:a(x({variant:e,size:a$1,className:o})),ref:P,disabled:d,type:g,"aria-label":S,"aria-disabled":d,onKeyDown:L,...c,children:[p&&jsx(Loader2,{className:"mr-2 h-4 w-4 animate-spin",role:"status","aria-label":"Loading","aria-hidden":"true"}),!p&&m&&jsx("span",{className:"mr-2","aria-hidden":"true",children:m}),f,!p&&b&&jsx("span",{className:"ml-2","aria-hidden":"true",children:b})]})});V.displayName="Button";var O=l.forwardRef(({className:o,orientation:e="horizontal",decorative:a$1=true,...s},m)=>jsx(v.Root,{ref:m,decorative:a$1,orientation:e,className:a("shrink-0 bg-border",e==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",o),...s}));O.displayName=v.Root.displayName;var me=t.Root,de=t.Trigger,le=t.Close,F=t.Portal,w=l.forwardRef(({className:o,...e},a$1)=>jsx(t.Overlay,{className:a("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",o),...e,ref:a$1}));w.displayName=t.Overlay.displayName;var X=cva("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),q=l.forwardRef(({side:o="right",className:e,children:a$1,...s},m)=>jsxs(F,{children:[jsx(w,{}),jsxs(t.Content,{ref:m,className:a(X({side:o}),e),...s,children:[jsxs(t.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[jsx(X$1,{className:"h-4 w-4"}),jsx("span",{className:"sr-only",children:"Close"})]}),a$1]})]}));q.displayName=t.Content.displayName;var G=({className:o,...e})=>jsx("div",{className:a("flex flex-col space-y-2 text-center sm:text-left",o),...e});G.displayName="SheetHeader";var J=({className:o,...e})=>jsx("div",{className:a("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",o),...e});J.displayName="SheetFooter";var Q=l.forwardRef(({className:o,...e},a$1)=>jsx(t.Title,{ref:a$1,className:a("text-lg font-semibold text-foreground",o),...e}));Q.displayName=t.Title.displayName;var U=l.forwardRef(({className:o,...e},a$1)=>jsx(t.Description,{ref:a$1,className:a("text-sm text-muted-foreground",o),...e}));U.displayName=t.Description.displayName;function ue({className:o,...e}){return jsx("div",{className:a("animate-pulse rounded-md bg-primary/10",o),...e})}var be=r.Provider,ge=r.Root,Pe=r.Trigger,Z=l.forwardRef(({className:o,sideOffset:e=4,...a$1},s)=>jsx(r.Portal,{children:jsx(r.Content,{ref:s,sideOffset:e,className:a("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-tooltip-content-transform-origin]",o),...a$1})}));Z.displayName=r.Content.displayName;export{x as a,V as b,O as c,me as d,de as e,le as f,F as g,w as h,q as i,G as j,J as k,Q as l,U as m,ue as n,be as o,ge as p,Pe as q,Z as r};//# sourceMappingURL=chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import {a}from'./chunk-C26U3FL4.esm.js';import*as l from'react';import {Slot}from'@radix-ui/react-slot';import {cva}from'class-variance-authority';import {Loader2,X as X$1}from'lucide-react';import {jsx,jsxs}from'react/jsx-runtime';import*as v from'@radix-ui/react-separator';import*as t from'@radix-ui/react-dialog';import*as r from'@radix-ui/react-tooltip';var x=cva("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),V=l.forwardRef(({className:o,variant:e,size:a$1,asChild:s=false,startIcon:m,endIcon:b,loading:p=false,disabled:k,children:f,type:g="button","aria-label":D,...c},P)=>{let R=s?Slot:"button",d=k||p,S=D||(typeof f=="string"?f:void 0),L=u=>{(u.key==="Enter"||u.key===" ")&&(u.preventDefault(),!d&&c.onClick&&c.onClick(u));};return s?jsx(R,{className:a(x({variant:e,size:a$1,className:o})),ref:P,disabled:d,type:g,"aria-label":S,"aria-disabled":d,...c,children:f}):jsxs(R,{className:a(x({variant:e,size:a$1,className:o})),ref:P,disabled:d,type:g,"aria-label":S,"aria-disabled":d,onKeyDown:L,...c,children:[p&&jsx(Loader2,{className:"mr-2 h-4 w-4 animate-spin",role:"status","aria-label":"Loading","aria-hidden":"true"}),!p&&m&&jsx("span",{className:"mr-2","aria-hidden":"true",children:m}),f,!p&&b&&jsx("span",{className:"ml-2","aria-hidden":"true",children:b})]})});V.displayName="Button";var O=l.forwardRef(({className:o,orientation:e="horizontal",decorative:a$1=true,...s},m)=>jsx(v.Root,{ref:m,decorative:a$1,orientation:e,className:a("shrink-0 bg-border",e==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",o),...s}));O.displayName=v.Root.displayName;var me=t.Root,de=t.Trigger,le=t.Close,F=t.Portal,w=l.forwardRef(({className:o,...e},a$1)=>jsx(t.Overlay,{className:a("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",o),...e,ref:a$1}));w.displayName=t.Overlay.displayName;var X=cva("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),q=l.forwardRef(({side:o="right",className:e,children:a$1,...s},m)=>jsxs(F,{children:[jsx(w,{}),jsxs(t.Content,{ref:m,className:a(X({side:o}),e),...s,children:[jsxs(t.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[jsx(X$1,{className:"h-4 w-4"}),jsx("span",{className:"sr-only",children:"Close"})]}),a$1]})]}));q.displayName=t.Content.displayName;var G=({className:o,...e})=>jsx("div",{className:a("flex flex-col space-y-2 text-center sm:text-left",o),...e});G.displayName="SheetHeader";var J=({className:o,...e})=>jsx("div",{className:a("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",o),...e});J.displayName="SheetFooter";var Q=l.forwardRef(({className:o,...e},a$1)=>jsx(t.Title,{ref:a$1,className:a("text-lg font-semibold text-foreground",o),...e}));Q.displayName=t.Title.displayName;var U=l.forwardRef(({className:o,...e},a$1)=>jsx(t.Description,{ref:a$1,className:a("text-sm text-muted-foreground",o),...e}));U.displayName=t.Description.displayName;function ue({className:o,...e}){return jsx("div",{className:a("animate-pulse rounded-md bg-primary/10",o),...e})}var be=r.Provider,ge=r.Root,Pe=r.Trigger,Z=l.forwardRef(({className:o,sideOffset:e=4,...a$1},s)=>jsx(r.Portal,{children:jsx(r.Content,{ref:s,sideOffset:e,className:a("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-tooltip-content-transform-origin]",o),...a$1})}));Z.displayName=r.Content.displayName;export{x as a,V as b,O as c,me as d,de as e,le as f,F as g,w as h,q as i,G as j,J as k,Q as l,U as m,ue as n,be as o,ge as p,Pe as q,Z as r};//# sourceMappingURL=chunk-3HTFCAYW.esm.js.map
|
|
2
|
+
//# sourceMappingURL=chunk-3HTFCAYW.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/atoms/button/button.tsx","../src/components/atoms/separator/separator.tsx","../src/components/atoms/sheet/sheet.tsx","../src/components/atoms/skeleton/skeleton.tsx","../src/components/atoms/tooltip/tooltip.tsx"],"names":["buttonVariants","cva","Button","N","className","variant","size","asChild","startIcon","endIcon","loading","disabled","children","type","ariaLabel","props","ref","Comp","Slot","isDisabled","buttonAriaLabel","handleKeyDown","event","jsx","cn","jsxs","Loader2","Separator","T","orientation","decorative","Sheet","SheetTrigger","SheetClose","SheetPortal","SheetOverlay","sheetVariants","SheetContent","side","X","SheetHeader","SheetFooter","SheetTitle","SheetDescription","Skeleton","TooltipProvider","Tooltip","TooltipTrigger","TooltipContent","E","sideOffset"],"mappings":"2WAiBMA,CAAiBC,CAAAA,GAAAA,CACrB,wRACA,CAAA,CACE,SAAU,CACR,OAAA,CAAS,CACP,OAAA,CAAS,gEACT,WAAa,CAAA,8EAAA,CACb,OACE,CAAA,0FAAA,CACF,UAAW,wEACX,CAAA,KAAA,CAAO,8CACP,CAAA,IAAA,CAAM,iDACR,CAAA,CACA,IAAM,CAAA,CACJ,QAAS,eACT,CAAA,EAAA,CAAI,6BACJ,CAAA,EAAA,CAAI,uBACJ,IAAM,CAAA,SACR,CACF,CAAA,CACA,gBAAiB,CACf,OAAA,CAAS,SACT,CAAA,IAAA,CAAM,SACR,CACF,CACF,CAmCMC,CAAAA,CAAAA,CAAeC,aACnB,CACE,CACE,SAAAC,CAAAA,CAAAA,CACA,QAAAC,CACA,CAAA,IAAA,CAAAC,GACA,CAAA,OAAA,CAAAC,EAAU,KACV,CAAA,SAAA,CAAAC,CACA,CAAA,OAAA,CAAAC,CACA,CAAA,OAAA,CAAAC,CAAU,CAAA,KAAA,CACV,SAAAC,CACA,CAAA,QAAA,CAAAC,CACA,CAAA,IAAA,CAAAC,EAAO,QACP,CAAA,YAAA,CAAcC,CACd,CAAA,GAAGC,CACL,CACAC,CAAAA,CAAAA,GACG,CACH,IAAMC,EAAOV,CAAUW,CAAAA,IAAAA,CAAO,QACxBC,CAAAA,CAAAA,CAAaR,GAAYD,CACzBU,CAAAA,CAAAA,CAAkBN,CAAc,GAAA,OAAOF,GAAa,QAAWA,CAAAA,CAAAA,CAAW,MAG1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,UAAA,CAAA,CAAC,CAAE,SAAA,CAAA7C,EAAW,UAAA8C,CAAAA,CAAAA,CAAa,CAAG,CAAA,GAAGnC,GAAM,CAAGC,CAAAA,CAAAA,GAC1CO,GAAkB,CAAA,CAAA,CAAA,MAAA,CAAjB,CACC,QAAAA,CAAAA,GAAAA,CAAkB,CAAjB,CAAA,OAAA,CAAA,CACC,IAAKP,CACL,CAAA,UAAA,CAAYkC,CACZ,CAAA,SAAA,CAAW1B,EACT,qaACApB,CAAAA,CACF,CACC,CAAA,GAAGW,IACN,CACF,CAAA,CACD,EACDiC,CAAAA,CAAe,YAA+B,CAAQ,CAAA,OAAA,CAAA,WAAA","file":"chunk-3HTFCAYW.esm.js","sourcesContent":["import * as React from \"react\"\nimport { Slot } from \"@radix-ui/react-slot\"\nimport { cva, type VariantProps } from \"class-variance-authority\"\nimport { cn } from \"@/utils/cn\"\nimport { ButtonProps } from \"./button.types\"\nimport { Loader2 } from \"lucide-react\"\n\n/**\n * Button variant styles using class-variance-authority.\n * Defines the visual styles for different button variants and sizes.\n * Follows WCAG 2.1 Level AA guidelines for accessibility.\n *\n * @example\n * ```tsx\n * <Button variant=\"primary\" size=\"lg\">Click me</Button>\n * ```\n */\nconst buttonVariants = cva(\n \"inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50\",\n {\n variants: {\n variant: {\n default: \"bg-primary text-primary-foreground shadow hover:bg-primary/90\",\n destructive: \"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90\",\n outline:\n \"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground\",\n secondary: \"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80\",\n ghost: \"hover:bg-accent hover:text-accent-foreground\",\n link: \"text-primary underline-offset-4 hover:underline\"\n } as const,\n size: {\n default: \"h-9 px-4 py-2\",\n sm: \"h-8 rounded-md px-3 text-xs\",\n lg: \"h-10 rounded-md px-8\",\n icon: \"h-9 w-9\"\n } as const\n },\n defaultVariants: {\n variant: \"default\",\n size: \"default\"\n }\n }\n)\n\n/**\n * A versatile button component that supports multiple variants, sizes, and can be rendered as a child component.\n * Built on top of Radix UI's Slot primitive for maximum flexibility.\n * Implements proper accessibility features and follows WCAG 2.1 Level AA guidelines.\n *\n * @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-button--docs\n *\n * @component\n * @example\n * ```tsx\n * // Default button\n * <Button>Click me</Button>\n *\n * // Destructive button with small size\n * <Button variant=\"destructive\" size=\"sm\">Delete</Button>\n *\n * // As a link\n * <Button variant=\"link\" asChild>\n * <a href=\"/about\">About</a>\n * </Button>\n *\n * // With icons\n * <Button startIcon={<Icon />}>With Start Icon</Button>\n * <Button endIcon={<Icon />}>With End Icon</Button>\n *\n * // Loading state\n * <Button loading>Loading</Button>\n * ```\n *\n * @param {ButtonProps} props - The component props\n * @param {React.Ref<HTMLButtonElement>} ref - Forwarded ref\n * @returns {JSX.Element} A button element\n */\nconst Button = React.forwardRef<HTMLButtonElement, ButtonProps>(\n (\n {\n className,\n variant,\n size,\n asChild = false,\n startIcon,\n endIcon,\n loading = false,\n disabled,\n children,\n type = \"button\",\n \"aria-label\": ariaLabel,\n ...props\n },\n ref\n ) => {\n const Comp = asChild ? Slot : \"button\"\n const isDisabled = disabled || loading\n const buttonAriaLabel = ariaLabel || (typeof children === \"string\" ? children : undefined)\n\n // Handle keyboard interaction\n const handleKeyDown = (event: React.KeyboardEvent) => {\n if (event.key === \"Enter\" || event.key === \" \") {\n event.preventDefault()\n if (!isDisabled && props.onClick) {\n props.onClick(event as unknown as React.MouseEvent<HTMLButtonElement>)\n }\n }\n }\n\n if (asChild) {\n return (\n <Comp\n className={cn(buttonVariants({ variant, size, className }))}\n ref={ref}\n disabled={isDisabled}\n type={type}\n aria-label={buttonAriaLabel}\n aria-disabled={isDisabled}\n {...props}\n >\n {children}\n </Comp>\n )\n }\n\n return (\n <Comp\n className={cn(buttonVariants({ variant, size, className }))}\n ref={ref}\n disabled={isDisabled}\n type={type}\n aria-label={buttonAriaLabel}\n aria-disabled={isDisabled}\n onKeyDown={handleKeyDown}\n {...props}\n >\n {loading && (\n <Loader2\n className=\"mr-2 h-4 w-4 animate-spin\"\n role=\"status\"\n aria-label=\"Loading\"\n aria-hidden=\"true\"\n />\n )}\n {!loading && startIcon && (\n <span className=\"mr-2\" aria-hidden=\"true\">\n {startIcon}\n </span>\n )}\n {children}\n {!loading && endIcon && (\n <span className=\"ml-2\" aria-hidden=\"true\">\n {endIcon}\n </span>\n )}\n </Comp>\n )\n }\n)\nButton.displayName = \"Button\"\n\nexport { Button, buttonVariants }\n","import * as React from \"react\"\nimport * as SeparatorPrimitive from \"@radix-ui/react-separator\"\n\nimport { cn } from \"@/utils/index\"\n\n/**\n * Separator component for creating horizontal or vertical dividers.\n * Built on top of Radix UI's Separator primitive.\n *\n * @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-separator--docs\n *\n */\nconst Separator = React.forwardRef<\n React.ElementRef<typeof SeparatorPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof SeparatorPrimitive.Root>\n>(({ className, orientation = \"horizontal\", decorative = true, ...props }, ref) => (\n <SeparatorPrimitive.Root\n ref={ref}\n decorative={decorative}\n orientation={orientation}\n className={cn(\n \"shrink-0 bg-border\",\n orientation === \"horizontal\" ? \"h-[1px] w-full\" : \"h-full w-[1px]\",\n className\n )}\n {...props}\n />\n))\nSeparator.displayName = SeparatorPrimitive.Root.displayName\n\nexport { Separator }\n","\"use client\"\n\nimport * as React from \"react\"\nimport * as SheetPrimitive from \"@radix-ui/react-dialog\"\nimport { cva, type VariantProps } from \"class-variance-authority\"\nimport { X } from \"lucide-react\"\n\nimport { cn } from \"@/utils/index\"\n\n/**\n * Sheet component for creating accessible sheets with overlay and content.\n * Built on top of Radix UI's Sheet primitive.\n *\n * @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-sheet--docs\n *\n * @example\n * ```tsx\n * <Sheet>\n * <SheetTrigger>Open Sheet</SheetTrigger>\n * <SheetContent>Sheet Content</SheetContent>\n * </Sheet>\n */\nconst Sheet = SheetPrimitive.Root\n\nconst SheetTrigger = SheetPrimitive.Trigger\n\nconst SheetClose = SheetPrimitive.Close\n\nconst SheetPortal = SheetPrimitive.Portal\n\nconst SheetOverlay = React.forwardRef<\n React.ElementRef<typeof SheetPrimitive.Overlay>,\n React.ComponentPropsWithoutRef<typeof SheetPrimitive.Overlay>\n>(({ className, ...props }, ref) => (\n <SheetPrimitive.Overlay\n className={cn(\n \"fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0\",\n className\n )}\n {...props}\n ref={ref}\n />\n))\nSheetOverlay.displayName = SheetPrimitive.Overlay.displayName\n\nconst sheetVariants = cva(\n \"fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out\",\n {\n variants: {\n side: {\n top: \"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top\",\n bottom:\n \"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom\",\n left: \"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm\",\n right:\n \"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm\"\n }\n },\n defaultVariants: {\n side: \"right\"\n }\n }\n)\n\ninterface SheetContentProps\n extends React.ComponentPropsWithoutRef<typeof SheetPrimitive.Content>,\n VariantProps<typeof sheetVariants> {}\n\nconst SheetContent = React.forwardRef<\n React.ElementRef<typeof SheetPrimitive.Content>,\n SheetContentProps\n>(({ side = \"right\", className, children, ...props }, ref) => (\n <SheetPortal>\n <SheetOverlay />\n <SheetPrimitive.Content ref={ref} className={cn(sheetVariants({ side }), className)} {...props}>\n <SheetPrimitive.Close className=\"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary\">\n <X className=\"h-4 w-4\" />\n <span className=\"sr-only\">Close</span>\n </SheetPrimitive.Close>\n {children}\n </SheetPrimitive.Content>\n </SheetPortal>\n))\nSheetContent.displayName = SheetPrimitive.Content.displayName\n\nconst SheetHeader = ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => (\n <div className={cn(\"flex flex-col space-y-2 text-center sm:text-left\", className)} {...props} />\n)\nSheetHeader.displayName = \"SheetHeader\"\n\nconst SheetFooter = ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => (\n <div\n className={cn(\"flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2\", className)}\n {...props}\n />\n)\nSheetFooter.displayName = \"SheetFooter\"\n\nconst SheetTitle = React.forwardRef<\n React.ElementRef<typeof SheetPrimitive.Title>,\n React.ComponentPropsWithoutRef<typeof SheetPrimitive.Title>\n>(({ className, ...props }, ref) => (\n <SheetPrimitive.Title\n ref={ref}\n className={cn(\"text-lg font-semibold text-foreground\", className)}\n {...props}\n />\n))\nSheetTitle.displayName = SheetPrimitive.Title.displayName\n\nconst SheetDescription = React.forwardRef<\n React.ElementRef<typeof SheetPrimitive.Description>,\n React.ComponentPropsWithoutRef<typeof SheetPrimitive.Description>\n>(({ className, ...props }, ref) => (\n <SheetPrimitive.Description\n ref={ref}\n className={cn(\"text-sm text-muted-foreground\", className)}\n {...props}\n />\n))\nSheetDescription.displayName = SheetPrimitive.Description.displayName\n\nexport {\n Sheet,\n SheetPortal,\n SheetOverlay,\n SheetTrigger,\n SheetClose,\n SheetContent,\n SheetHeader,\n SheetFooter,\n SheetTitle,\n SheetDescription\n}\n","import { cn } from \"@/utils/index\"\n\n/**\n * Skeleton component for creating a loading state.\n * Built on top of shadcn/ui's Skeleton component.\n *\n * @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-skeleton--docs\n *\n * @example\n * ```tsx\n * <Skeleton className=\"w-10 h-10\" />\n * ```\n */\nfunction Skeleton({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) {\n return <div className={cn(\"animate-pulse rounded-md bg-primary/10\", className)} {...props} />\n}\n\nexport { Skeleton }\n","import * as React from \"react\"\nimport * as TooltipPrimitive from \"@radix-ui/react-tooltip\"\n\nimport { cn } from \"@/utils/index\"\n\n/**\n * TooltipProvider component for creating accessible tooltips.\n * Built on top of Radix UI's Tooltip primitive.\n *\n * @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-tooltip--docs\n *\n * @example\n * ```tsx\n * <TooltipProvider>\n * <Tooltip>\n * <TooltipTrigger>Hover me</TooltipTrigger>\n * <TooltipContent>Tooltip content</TooltipContent>\n * </Tooltip>\n * </TooltipProvider>\n * ```\n */\nconst TooltipProvider = TooltipPrimitive.Provider\n\nconst Tooltip = TooltipPrimitive.Root\n\nconst TooltipTrigger = TooltipPrimitive.Trigger\n\nconst TooltipContent = React.forwardRef<\n React.ElementRef<typeof TooltipPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Content>\n>(({ className, sideOffset = 4, ...props }, ref) => (\n <TooltipPrimitive.Portal>\n <TooltipPrimitive.Content\n ref={ref}\n sideOffset={sideOffset}\n className={cn(\n \"z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-tooltip-content-transform-origin]\",\n className\n )}\n {...props}\n />\n </TooltipPrimitive.Portal>\n))\nTooltipContent.displayName = TooltipPrimitive.Content.displayName\n\nexport { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider }\n"]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {c}from'./chunk-JKTYFZ5M.esm.js';import {a}from'./chunk-X5ID4673.esm.js';import {a as a$1}from'./chunk-THOA7DOT.esm.js';import {a as a$2}from'./chunk-C26U3FL4.esm.js';import*as u from'react';import {cva}from'class-variance-authority';import {Loader2,X as X$1}from'lucide-react';import {jsxs,jsx}from'react/jsx-runtime';import*as s from'@radix-ui/react-dialog';import*as p from'@radix-ui/react-avatar';import*as l from'@radix-ui/react-toast';var te=cva("w-full",{variants:{variant:{default:"",error:"border-destructive focus-visible:ring-destructive"},size:{default:"h-10",sm:"h-8 text-xs",lg:"h-12 text-base"}},defaultVariants:{variant:"default",size:"default"}}),I=u.forwardRef(({className:a$3,variant:t,size:e,startIcon:r,endIcon:n,loading:i=false,error:m,label:d,helperText:x,disabled:D,...C},A)=>{let F=u.useId();return jsxs("div",{className:"w-full space-y-2",children:[d&&jsx(a,{htmlFor:F,children:d}),jsxs("div",{className:"relative",children:[r&&jsx("div",{className:"absolute left-3 top-1/2 -translate-y-1/2 text-muted-foreground",children:r}),jsx(a$1,{id:F,className:a$2(te({variant:m?"error":t,size:e,className:a$3}),r&&"pl-9",(n||i)&&"pr-9"),ref:A,disabled:D||i,...C}),(n||i)&&jsx("div",{className:"absolute right-3 top-1/2 -translate-y-1/2 text-muted-foreground",children:i?jsx(Loader2,{className:"h-4 w-4 animate-spin"}):n})]}),(m||x)&&jsx("p",{className:a$2("text-sm",m?"text-destructive":"text-muted-foreground"),children:m||x})]})});I.displayName="TextField";var ae=u.forwardRef(({className:a,maxWidth:t="lg",disablePadding:e=false,fluid:r=false,...n},i)=>jsx("div",{ref:i,className:a$2("mx-auto w-full",!e&&"px-4 sm:px-6 lg:px-8",!r&&{"max-w-screen-sm":t==="sm","max-w-screen-md":t==="md","max-w-screen-lg":t==="lg","max-w-screen-xl":t==="xl","max-w-full":t==="full"},a),...n}));ae.displayName="Container";var re=u.forwardRef(({as:a="div",className:t,width:e,height:r,style:n,...i},m)=>{let d={width:typeof e=="number"?`${e}px`:e,height:typeof r=="number"?`${r}px`:r,...n};return jsx(a,{ref:m,className:a$2(t),style:d,...i})});re.displayName="Box";var se=u.forwardRef(({className:a,direction:t="vertical",spacing:e="md",wrap:r=false,center:n=false,justify:i,align:m,width:d,height:x,style:D,...C},A)=>jsx("div",{ref:A,className:a$2("flex",t==="vertical"?"flex-col":"flex-row",{"gap-0":e==="none","gap-1":e==="xs","gap-2":e==="sm","gap-4":e==="md","gap-6":e==="lg","gap-8":e==="xl"},r&&"flex-wrap",n&&"items-center justify-center",i&&{"justify-start":i==="start","justify-end":i==="end","justify-center":i==="center","justify-between":i==="between","justify-around":i==="around","justify-evenly":i==="evenly"},m&&{"items-start":m==="start","items-end":m==="end","items-center":m==="center","items-stretch":m==="stretch","items-baseline":m==="baseline"},a),style:{width:d,height:x,...D},...C}));se.displayName="Stack";var Ke=s.Root,Qe=s.Trigger,me=s.Portal,Ue=s.Close,q=u.forwardRef(({className:a,...t},e)=>jsx(s.Overlay,{ref:e,className:a$2("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",a),...t}));q.displayName=s.Overlay.displayName;var pe=u.forwardRef(({className:a,children:t,...e},r)=>jsxs(me,{children:[jsx(q,{}),jsxs(s.Content,{ref:r,className:a$2("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",a),...e,children:[t,jsxs(s.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[jsx(X$1,{className:"h-4 w-4"}),jsx("span",{className:"sr-only",children:"Close"})]})]})]}));pe.displayName=s.Content.displayName;var de=({className:a,...t})=>jsx("div",{className:a$2("flex flex-col space-y-1.5 text-center sm:text-left",a),...t});de.displayName="DialogHeader";var fe=({className:a,...t})=>jsx("div",{className:a$2("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",a),...t});fe.displayName="DialogFooter";var ce=u.forwardRef(({className:a,...t},e)=>jsx(s.Title,{ref:e,className:a$2("text-lg font-semibold leading-none tracking-tight",a),...t}));ce.displayName=s.Title.displayName;var ue=u.forwardRef(({className:a,...t},e)=>jsx(s.Description,{ref:e,className:a$2("text-sm text-muted-foreground",a),...t}));ue.displayName=s.Description.displayName;var X=u.forwardRef(({className:a,...t},e)=>jsx(p.Root,{ref:e,className:a$2("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",a),...t}));X.displayName=p.Root.displayName;var G=u.forwardRef(({className:a,...t},e)=>jsx(p.Image,{ref:e,className:a$2("aspect-square h-full w-full",a),...t}));G.displayName=p.Image.displayName;var J=u.forwardRef(({className:a,...t},e)=>jsx(p.Fallback,{ref:e,className:a$2("flex h-full w-full items-center justify-center rounded-full bg-muted",a),...t}));J.displayName=p.Fallback.displayName;var V=cva("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",outline:"text-foreground",success:"border-transparent bg-green-500 text-white hover:bg-green-500/80",warning:"border-transparent bg-yellow-500 text-white hover:bg-yellow-500/80",info:"border-transparent bg-blue-500 text-white hover:bg-blue-500/80"},size:{default:"h-5",sm:"h-4 text-[10px]",lg:"h-6 text-sm"}},defaultVariants:{variant:"default",size:"default"}});var U=u.forwardRef(({className:a,variant:t,size:e,icon:r,iconAfter:n,children:i,...m},d)=>jsxs("div",{ref:d,className:a$2(V({variant:t,size:e}),a),...m,children:[r&&jsx("span",{className:"mr-1",children:r}),i,n&&jsx("span",{className:"ml-1",children:n})]}));U.displayName="Badge";var ye=cva("",{variants:{variant:{h1:"scroll-m-20 text-4xl font-extrabold tracking-tight lg:text-5xl",h2:"scroll-m-20 text-3xl font-semibold tracking-tight",h3:"scroll-m-20 text-2xl font-semibold tracking-tight",h4:"scroll-m-20 text-xl font-semibold tracking-tight",h5:"scroll-m-20 text-lg font-semibold tracking-tight",h6:"scroll-m-20 text-base font-semibold tracking-tight",p:"leading-7 [&:not(:first-child)]:mt-6",blockquote:"mt-6 border-l-2 border-slate-300 pl-6 italic",list:"my-6 ml-6 list-disc [&>li]:mt-2",lead:"text-xl text-muted-foreground",large:"text-lg font-semibold",small:"text-sm font-medium leading-none",muted:"text-sm text-muted-foreground"},align:{left:"text-left",center:"text-center",right:"text-right",justify:"text-justify"}},defaultVariants:{variant:"p",align:"left"}}),Pe=u.forwardRef(({className:a,variant:t,align:e,as:r="p",...n},i)=>jsx(r,{className:a$2(ye({variant:t,align:e,className:a})),ref:i,...n}));Pe.displayName="Typography";function xt({className:a,size:t="default",text:e,color:r="primary"}){let n={sm:"h-4 w-4",default:"h-8 w-8",lg:"h-12 w-12"},m={primary:"text-primary",secondary:"text-secondary",accent:"text-accent",muted:"text-muted-foreground",destructive:"text-destructive"}[r]||`text-[${r}]`;return jsxs("div",{className:a$2("fixed inset-0 z-50 flex min-h-screen flex-col items-center justify-center bg-background/80 backdrop-blur-sm",a),role:"alert","aria-live":"assertive",children:[jsx(Loader2,{className:a$2("animate-spin",m,n[t]),"aria-hidden":"true"}),e&&jsx("p",{className:"mt-4 text-sm text-muted-foreground","aria-label":e,children:e})]})}var L=l.Provider,R=u.forwardRef(({className:a,...t},e)=>jsx(l.Viewport,{ref:e,className:a$2("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",a),...t}));R.displayName=l.Viewport.displayName;var Ne=cva("group pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md border p-4 pr-6 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),b=u.forwardRef(({className:a,variant:t,...e},r)=>jsx(l.Root,{ref:r,className:a$2(Ne({variant:t}),a),...e}));b.displayName=l.Root.displayName;var _=u.forwardRef(({className:a,...t},e)=>jsx(l.Action,{ref:e,className:a$2("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium transition-colors hover:bg-secondary focus:outline-none focus:ring-1 focus:ring-ring disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",a),...t}));_.displayName=l.Action.displayName;var T=u.forwardRef(({className:a,...t},e)=>jsx(l.Close,{ref:e,className:a$2("absolute right-1 top-1 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-1 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",a),"toast-close":"","aria-label":"Close toast",...t,children:jsx(X$1,{className:"h-4 w-4"})}));T.displayName=l.Close.displayName;var h=u.forwardRef(({className:a,...t},e)=>jsx(l.Title,{ref:e,className:a$2("text-sm font-semibold [&+div]:text-xs",a),...t}));h.displayName=l.Title.displayName;var w=u.forwardRef(({className:a,...t},e)=>jsx(l.Description,{ref:e,className:a$2("text-sm opacity-90",a),...t}));w.displayName=l.Description.displayName;function De(){let{toasts:a}=c();return jsxs(L,{children:[a.map(function({id:t,title:e,description:r,action:n,...i}){return jsxs(b,{...i,children:[jsxs("div",{className:"grid gap-1",children:[e&&jsx(h,{children:e}),r&&jsx(w,{children:r})]}),n,jsx(T,{})]},t)}),jsx(R,{})]})}export{T as A,h as B,w as C,De as D,I as a,ae as b,re as c,se as d,Ke as e,Qe as f,me as g,Ue as h,q as i,pe as j,de as k,fe as l,ce as m,ue as n,X as o,G as p,J as q,V as r,U as s,ye as t,Pe as u,xt as v,L as w,R as x,b as y,_ as z};//# sourceMappingURL=chunk-BAU346R2.esm.js.map
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import {c}from'./chunk-JKTYFZ5M.esm.js';import {a}from'./chunk-7NN2L46N.esm.js';import {a as a$1}from'./chunk-EBPUGBUT.esm.js';import {a as a$2}from'./chunk-C26U3FL4.esm.js';import*as u from'react';import {cva}from'class-variance-authority';import {Loader2,X as X$1}from'lucide-react';import {jsxs,jsx}from'react/jsx-runtime';import*as s from'@radix-ui/react-dialog';import*as p from'@radix-ui/react-avatar';import*as l from'@radix-ui/react-toast';var te=cva("w-full",{variants:{variant:{default:"",error:"border-destructive focus-visible:ring-destructive"},size:{default:"h-10",sm:"h-8 text-xs",lg:"h-12 text-base"}},defaultVariants:{variant:"default",size:"default"}}),I=u.forwardRef(({className:a$3,variant:t,size:e,startIcon:r,endIcon:n,loading:i=false,error:m,label:d,helperText:x,disabled:D,...C},A)=>{let F=u.useId();return jsxs("div",{className:"w-full space-y-2",children:[d&&jsx(a,{htmlFor:F,children:d}),jsxs("div",{className:"relative",children:[r&&jsx("div",{className:"absolute left-3 top-1/2 -translate-y-1/2 text-muted-foreground",children:r}),jsx(a$1,{id:F,className:a$2(te({variant:m?"error":t,size:e,className:a$3}),r&&"pl-9",(n||i)&&"pr-9"),ref:A,disabled:D||i,...C}),(n||i)&&jsx("div",{className:"absolute right-3 top-1/2 -translate-y-1/2 text-muted-foreground",children:i?jsx(Loader2,{className:"h-4 w-4 animate-spin"}):n})]}),(m||x)&&jsx("p",{className:a$2("text-sm",m?"text-destructive":"text-muted-foreground"),children:m||x})]})});I.displayName="TextField";var ae=u.forwardRef(({className:a,maxWidth:t="lg",disablePadding:e=false,fluid:r=false,...n},i)=>jsx("div",{ref:i,className:a$2("mx-auto w-full",!e&&"px-4 sm:px-6 lg:px-8",!r&&{"max-w-screen-sm":t==="sm","max-w-screen-md":t==="md","max-w-screen-lg":t==="lg","max-w-screen-xl":t==="xl","max-w-full":t==="full"},a),...n}));ae.displayName="Container";var re=u.forwardRef(({as:a="div",className:t,width:e,height:r,style:n,...i},m)=>{let d={width:typeof e=="number"?`${e}px`:e,height:typeof r=="number"?`${r}px`:r,...n};return jsx(a,{ref:m,className:a$2(t),style:d,...i})});re.displayName="Box";var se=u.forwardRef(({className:a,direction:t="vertical",spacing:e="md",wrap:r=false,center:n=false,justify:i,align:m,width:d,height:x,style:D,...C},A)=>jsx("div",{ref:A,className:a$2("flex",t==="vertical"?"flex-col":"flex-row",{"gap-0":e==="none","gap-1":e==="xs","gap-2":e==="sm","gap-4":e==="md","gap-6":e==="lg","gap-8":e==="xl"},r&&"flex-wrap",n&&"items-center justify-center",i&&{"justify-start":i==="start","justify-end":i==="end","justify-center":i==="center","justify-between":i==="between","justify-around":i==="around","justify-evenly":i==="evenly"},m&&{"items-start":m==="start","items-end":m==="end","items-center":m==="center","items-stretch":m==="stretch","items-baseline":m==="baseline"},a),style:{width:d,height:x,...D},...C}));se.displayName="Stack";var Ke=s.Root,Qe=s.Trigger,me=s.Portal,Ue=s.Close,q=u.forwardRef(({className:a,...t},e)=>jsx(s.Overlay,{ref:e,className:a$2("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",a),...t}));q.displayName=s.Overlay.displayName;var pe=u.forwardRef(({className:a,children:t,...e},r)=>jsxs(me,{children:[jsx(q,{}),jsxs(s.Content,{ref:r,className:a$2("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",a),...e,children:[t,jsxs(s.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[jsx(X$1,{className:"h-4 w-4"}),jsx("span",{className:"sr-only",children:"Close"})]})]})]}));pe.displayName=s.Content.displayName;var de=({className:a,...t})=>jsx("div",{className:a$2("flex flex-col space-y-1.5 text-center sm:text-left",a),...t});de.displayName="DialogHeader";var fe=({className:a,...t})=>jsx("div",{className:a$2("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",a),...t});fe.displayName="DialogFooter";var ce=u.forwardRef(({className:a,...t},e)=>jsx(s.Title,{ref:e,className:a$2("text-lg font-semibold leading-none tracking-tight",a),...t}));ce.displayName=s.Title.displayName;var ue=u.forwardRef(({className:a,...t},e)=>jsx(s.Description,{ref:e,className:a$2("text-sm text-muted-foreground",a),...t}));ue.displayName=s.Description.displayName;var X=u.forwardRef(({className:a,...t},e)=>jsx(p.Root,{ref:e,className:a$2("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",a),...t}));X.displayName=p.Root.displayName;var G=u.forwardRef(({className:a,...t},e)=>jsx(p.Image,{ref:e,className:a$2("aspect-square h-full w-full",a),...t}));G.displayName=p.Image.displayName;var J=u.forwardRef(({className:a,...t},e)=>jsx(p.Fallback,{ref:e,className:a$2("flex h-full w-full items-center justify-center rounded-full bg-muted",a),...t}));J.displayName=p.Fallback.displayName;var V=cva("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",outline:"text-foreground",success:"border-transparent bg-green-500 text-white hover:bg-green-500/80",warning:"border-transparent bg-yellow-500 text-white hover:bg-yellow-500/80",info:"border-transparent bg-blue-500 text-white hover:bg-blue-500/80"},size:{default:"h-5",sm:"h-4 text-[10px]",lg:"h-6 text-sm"}},defaultVariants:{variant:"default",size:"default"}});var U=u.forwardRef(({className:a,variant:t,size:e,icon:r,iconAfter:n,children:i,...m},d)=>jsxs("div",{ref:d,className:a$2(V({variant:t,size:e}),a),...m,children:[r&&jsx("span",{className:"mr-1",children:r}),i,n&&jsx("span",{className:"ml-1",children:n})]}));U.displayName="Badge";var ye=cva("",{variants:{variant:{h1:"scroll-m-20 text-4xl font-extrabold tracking-tight lg:text-5xl",h2:"scroll-m-20 text-3xl font-semibold tracking-tight",h3:"scroll-m-20 text-2xl font-semibold tracking-tight",h4:"scroll-m-20 text-xl font-semibold tracking-tight",h5:"scroll-m-20 text-lg font-semibold tracking-tight",h6:"scroll-m-20 text-base font-semibold tracking-tight",p:"leading-7 [&:not(:first-child)]:mt-6",blockquote:"mt-6 border-l-2 border-slate-300 pl-6 italic",list:"my-6 ml-6 list-disc [&>li]:mt-2",lead:"text-xl text-muted-foreground",large:"text-lg font-semibold",small:"text-sm font-medium leading-none",muted:"text-sm text-muted-foreground"},align:{left:"text-left",center:"text-center",right:"text-right",justify:"text-justify"}},defaultVariants:{variant:"p",align:"left"}}),Pe=u.forwardRef(({className:a,variant:t,align:e,as:r="p",...n},i)=>jsx(r,{className:a$2(ye({variant:t,align:e,className:a})),ref:i,...n}));Pe.displayName="Typography";function xt({className:a,size:t="default",text:e,color:r="primary"}){let n={sm:"h-4 w-4",default:"h-8 w-8",lg:"h-12 w-12"},m={primary:"text-primary",secondary:"text-secondary",accent:"text-accent",muted:"text-muted-foreground",destructive:"text-destructive"}[r]||`text-[${r}]`;return jsxs("div",{className:a$2("fixed inset-0 z-50 flex min-h-screen flex-col items-center justify-center bg-background/80 backdrop-blur-sm",a),role:"alert","aria-live":"assertive",children:[jsx(Loader2,{className:a$2("animate-spin",m,n[t]),"aria-hidden":"true"}),e&&jsx("p",{className:"mt-4 text-sm text-muted-foreground","aria-label":e,children:e})]})}var L=l.Provider,R=u.forwardRef(({className:a,...t},e)=>jsx(l.Viewport,{ref:e,className:a$2("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",a),...t}));R.displayName=l.Viewport.displayName;var Ne=cva("group pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md border p-4 pr-6 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),b=u.forwardRef(({className:a,variant:t,...e},r)=>jsx(l.Root,{ref:r,className:a$2(Ne({variant:t}),a),...e}));b.displayName=l.Root.displayName;var _=u.forwardRef(({className:a,...t},e)=>jsx(l.Action,{ref:e,className:a$2("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium transition-colors hover:bg-secondary focus:outline-none focus:ring-1 focus:ring-ring disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",a),...t}));_.displayName=l.Action.displayName;var T=u.forwardRef(({className:a,...t},e)=>jsx(l.Close,{ref:e,className:a$2("absolute right-1 top-1 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-1 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",a),"toast-close":"","aria-label":"Close toast",...t,children:jsx(X$1,{className:"h-4 w-4"})}));T.displayName=l.Close.displayName;var h=u.forwardRef(({className:a,...t},e)=>jsx(l.Title,{ref:e,className:a$2("text-sm font-semibold [&+div]:text-xs",a),...t}));h.displayName=l.Title.displayName;var w=u.forwardRef(({className:a,...t},e)=>jsx(l.Description,{ref:e,className:a$2("text-sm opacity-90",a),...t}));w.displayName=l.Description.displayName;function De(){let{toasts:a}=c();return jsxs(L,{children:[a.map(function({id:t,title:e,description:r,action:n,...i}){return jsxs(b,{...i,children:[jsxs("div",{className:"grid gap-1",children:[e&&jsx(h,{children:e}),r&&jsx(w,{children:r})]}),n,jsx(T,{})]},t)}),jsx(R,{})]})}export{T as A,h as B,w as C,De as D,I as a,ae as b,re as c,se as d,Ke as e,Qe as f,me as g,Ue as h,q as i,pe as j,de as k,fe as l,ce as m,ue as n,X as o,G as p,J as q,V as r,U as s,ye as t,Pe as u,xt as v,L as w,R as x,b as y,_ as z};//# sourceMappingURL=chunk-3IRQJ7EB.esm.js.map
|
|
2
|
+
//# sourceMappingURL=chunk-3IRQJ7EB.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/atoms/text-field/text-field.tsx","../src/components/atoms/container/container.tsx","../src/components/atoms/box/box.tsx","../src/components/atoms/stack/stack.tsx","../src/components/atoms/dialog/dialog.tsx","../src/components/atoms/avatar/avatar.tsx","../src/components/atoms/badge/badge.variants.ts","../src/components/atoms/badge/badge.tsx","../src/components/atoms/typography/typography.tsx","../src/components/atoms/page-loader/page-loader.tsx","../src/components/atoms/toast/toast.tsx","../src/components/atoms/toaster/toaster.tsx"],"names":["textFieldVariants","cva","TextField","y","className","variant","size","startIcon","endIcon","loading","error","label","helperText","disabled","props","ref","id","jsxs","jsx","Label","Input","cn","Loader2","Container","O","maxWidth","disablePadding","fluid","Box","S","Component","width","height","style","dimensionStyles","Stack","$","direction","spacing","wrap","center","justify","align","Dialog","DialogTrigger","DialogPortal","DialogClose","DialogOverlay","g","DialogContent","children","X","DialogHeader","DialogFooter","DialogTitle","DialogDescription","Avatar","P","AvatarImage","AvatarFallback","badgeVariants","Badge","Q","icon","iconAfter","typographyVariants","Typography","Y","PageLoader","text","color","sizeClasses","loaderColor","ToastProvider","ToastViewport","toastVariants","Toast","ToastAction","ToastClose","ToastTitle","ToastDescription","Toaster","toasts","useToast","title","description","action"],"mappings":"gcAYA,IAAMA,GAAoBC,GAAI,CAAA,QAAA,CAAU,CACtC,QAAA,CAAU,CACR,OAAS,CAAA,CACP,QAAS,EACT,CAAA,KAAA,CAAO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A,CAAC,CAAE,SAAA5E,CAAAA,CAAAA,CAAW,GAAGU,CAAM,CAAA,CAAGC,CAC1BG,GAAAA,GAAAA,CAAiB,cAAhB,CACC,GAAA,CAAKH,EACL,SAAWM,CAAAA,GAAAA,CAAG,qBAAsBjB,CAAS,CAAA,CAC5C,GAAGU,CAAAA,CACN,CACD,EACDkE,CAAAA,CAAiB,WAA8B,CAAA,CAAA,CAAA,WAAA,CAAY,YCnGpD,SAASC,IAAU,CACxB,GAAM,CAAE,MAAAC,CAAAA,CAAO,CAAIC,CAAAA,CAAAA,GAEnB,OACElE,IAAAA,CAACwD,EAAA,CACE,QAAA,CAAA,CAAAS,EAAO,GAAI,CAAA,SAAU,CAAE,EAAA,CAAAlE,EAAI,KAAAoE,CAAAA,CAAAA,CAAO,YAAAC,CAAa,CAAA,MAAA,CAAAC,EAAQ,GAAGxE,CAAM,CAAG,CAAA,CAClE,OACEG,IAAC2D,CAAAA,CAAAA,CAAA,CAAgB,GAAG9D,CAAAA,CAClB,UAAAG,IAAC,CAAA,KAAA,CAAA,CAAI,SAAU,CAAA,YAAA,CACZ,UAAAmE,CAASlE,EAAAA,GAAAA,CAAC6D,EAAA,CAAY,QAAA,CAAAK,EAAM,CAC5BC,CAAAA,CAAAA,EAAenE,GAAC8D,CAAAA,CAAAA,CAAA,CAAkB,QAAAK,CAAAA,CAAAA,CAAY,GACjD,CACCC,CAAAA,CAAAA,CACDpE,IAAC4D,CAAA,CAAA,EAAW,CANF9D,CAAAA,CAAAA,CAAAA,CAOZ,CAEJ,CAAC,CAAA,CACDE,IAACwD,CAAA,CAAA,EAAc,GACjB,CAEJ","file":"chunk-3IRQJ7EB.esm.js","sourcesContent":["import * as React from \"react\"\nimport { cva } from \"class-variance-authority\"\nimport { cn } from \"@/utils/cn\"\nimport { TextFieldProps } from \"./text-field.types\"\nimport { Loader2 } from \"lucide-react\"\nimport { Input } from \"../input\"\nimport { Label } from \"../label\"\n\n/**\n * Text field variant styles using class-variance-authority.\n * Defines the visual styles for different text field variants and sizes.\n */\nconst textFieldVariants = cva(\"w-full\", {\n variants: {\n variant: {\n default: \"\",\n error: \"border-destructive focus-visible:ring-destructive\"\n },\n size: {\n default: \"h-10\",\n sm: \"h-8 text-xs\",\n lg: \"h-12 text-base\"\n }\n },\n defaultVariants: {\n variant: \"default\",\n size: \"default\"\n }\n})\n\n/**\n * A versatile text field component that supports multiple variants, sizes, and icons.\n * Built on top of shadcn/ui's Input component.\n *\n * @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-text-field--docs\n *\n * @component\n * @example\n * ```tsx\n * // Default text field\n * <TextField placeholder=\"Enter text\" />\n *\n * // With icons\n * <TextField startIcon={<SearchIcon />} placeholder=\"Search...\" />\n * <TextField endIcon={<CalendarIcon />} placeholder=\"Select date\" />\n *\n * // With loading state\n * <TextField loading placeholder=\"Loading...\" />\n *\n * // With error\n * <TextField error=\"Invalid input\" placeholder=\"Enter text\" />\n * ```\n */\nconst TextField = React.forwardRef<HTMLInputElement, TextFieldProps>(\n (\n {\n className,\n variant,\n size,\n startIcon,\n endIcon,\n loading = false,\n error,\n label,\n helperText,\n disabled,\n ...props\n },\n ref\n ) => {\n const id = React.useId()\n\n return (\n <div className=\"w-full space-y-2\">\n {label && <Label htmlFor={id}>{label}</Label>}\n <div className=\"relative\">\n {startIcon && (\n <div className=\"absolute left-3 top-1/2 -translate-y-1/2 text-muted-foreground\">\n {startIcon}\n </div>\n )}\n <Input\n id={id}\n className={cn(\n textFieldVariants({ variant: error ? \"error\" : variant, size, className }),\n startIcon && \"pl-9\",\n (endIcon || loading) && \"pr-9\"\n )}\n ref={ref}\n disabled={disabled || loading}\n {...props}\n />\n {(endIcon || loading) && (\n <div className=\"absolute right-3 top-1/2 -translate-y-1/2 text-muted-foreground\">\n {loading ? <Loader2 className=\"h-4 w-4 animate-spin\" /> : endIcon}\n </div>\n )}\n </div>\n {(error || helperText) && (\n <p className={cn(\"text-sm\", error ? \"text-destructive\" : \"text-muted-foreground\")}>\n {error || helperText}\n </p>\n )}\n </div>\n )\n }\n)\n\nTextField.displayName = \"TextField\"\n\nexport { TextField, textFieldVariants }\n","/**\n * Container is a layout component that provides a centered, max-width wrapper for content.\n * It's designed to create consistent horizontal padding and maximum widths across different screen sizes.\n *\n * @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-container--docs\n *\n * @example\n * ```tsx\n * // Basic usage\n * <Container>\n * <h1>Page Title</h1>\n * <p>Content goes here...</p>\n * </Container>\n *\n * // With custom max width\n * <Container maxWidth=\"xl\">\n * <h1>Wider Content</h1>\n * </Container>\n *\n * // Fluid container (no max-width)\n * <Container fluid>\n * <h1>Full Width Content</h1>\n * </Container>\n *\n * // Without padding\n * <Container disablePadding>\n * <h1>No Padding Content</h1>\n * </Container>\n * ```\n */\nimport { cn } from \"@/utils\"\nimport * as React from \"react\"\n\nexport interface ContainerProps extends React.HTMLAttributes<HTMLDivElement> {\n /**\n * The maximum width of the container.\n * - \"sm\": 640px\n * - \"md\": 768px\n * - \"lg\": 1024px\n * - \"xl\": 1280px\n * - \"full\": 100%\n * - false: No max-width (fluid)\n *\n * @default \"lg\"\n */\n maxWidth?: \"sm\" | \"md\" | \"lg\" | \"xl\" | \"full\" | false\n /**\n * Whether to disable the default horizontal padding.\n * When true, removes the default padding (px-4 sm:px-6 lg:px-8).\n *\n * @default false\n */\n disablePadding?: boolean\n /**\n * Whether to make the container fluid (no max-width).\n * When true, the container will expand to fill its parent's width.\n *\n * @default false\n */\n fluid?: boolean\n}\n\nconst Container = React.forwardRef<HTMLDivElement, ContainerProps>(\n ({ className, maxWidth = \"lg\", disablePadding = false, fluid = false, ...props }, ref) => {\n return (\n <div\n ref={ref}\n className={cn(\n // Base styles\n \"mx-auto w-full\",\n // Padding\n !disablePadding && \"px-4 sm:px-6 lg:px-8\",\n // Max width\n !fluid && {\n \"max-w-screen-sm\": maxWidth === \"sm\",\n \"max-w-screen-md\": maxWidth === \"md\",\n \"max-w-screen-lg\": maxWidth === \"lg\",\n \"max-w-screen-xl\": maxWidth === \"xl\",\n \"max-w-full\": maxWidth === \"full\"\n },\n className\n )}\n {...props}\n />\n )\n }\n)\n\nContainer.displayName = \"Container\"\n\nexport { Container }\n","/**\n * Box is a fundamental layout component that serves as a building block for other components.\n * It's a polymorphic component that can render as different HTML elements while maintaining\n * consistent styling and behavior.\n *\n * @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-box--docs\n *\n * @example\n * ```tsx\n * // Basic usage\n * <Box>Content</Box>\n *\n * // As a different element\n * <Box as=\"section\">Section content</Box>\n *\n * // With custom className\n * <Box className=\"bg-primary text-white p-4\">Styled content</Box>\n *\n * // With custom dimensions\n * <Box width=\"100px\" height=\"200px\">Fixed size content</Box>\n * <Box width=\"50%\" height=\"auto\">Responsive content</Box>\n * ```\n */\nimport * as React from \"react\"\nimport { cn } from \"@/utils\"\n\ntype BoxComponent =\n | \"div\"\n | \"span\"\n | \"section\"\n | \"article\"\n | \"main\"\n | \"aside\"\n | \"header\"\n | \"footer\"\n | \"nav\"\n\ntype DimensionValue = string | number\n\nexport interface BoxProps extends React.HTMLAttributes<HTMLDivElement> {\n /**\n * The HTML element to render the Box as.\n * This allows for semantic HTML while maintaining consistent styling.\n *\n * @default \"div\"\n */\n as?: BoxComponent\n\n /**\n * The width of the Box component.\n * Can be a number (interpreted as pixels) or a string (e.g., \"100%\", \"50px\", \"10rem\").\n */\n width?: DimensionValue\n\n /**\n * The height of the Box component.\n * Can be a number (interpreted as pixels) or a string (e.g., \"100%\", \"50px\", \"10rem\").\n */\n height?: DimensionValue\n}\n\nconst Box = React.forwardRef<HTMLDivElement, BoxProps>(\n ({ as: Component = \"div\", className, width, height, style, ...props }, ref) => {\n const dimensionStyles = {\n width: typeof width === \"number\" ? `${width}px` : width,\n height: typeof height === \"number\" ? `${height}px` : height,\n ...style\n }\n\n return <Component ref={ref} className={cn(className)} style={dimensionStyles} {...props} />\n }\n)\n\nBox.displayName = \"Box\"\n\nexport { Box }\n","/**\n * Stack is a layout component that arranges its children in a vertical or horizontal stack\n * with consistent spacing between items. It's built on top of Flexbox and provides\n * a simple way to create consistent layouts.\n *\n * @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-stack--docs\n *\n * @example\n * ```tsx\n * // Basic vertical stack\n * <Stack>\n * <div>Item 1</div>\n * <div>Item 2</div>\n * <div>Item 3</div>\n * </Stack>\n *\n * // Horizontal stack with custom spacing\n * <Stack direction=\"horizontal\" spacing=\"lg\">\n * <div>Item 1</div>\n * <div>Item 2</div>\n * </Stack>\n *\n * // Centered stack with wrapping\n * <Stack direction=\"horizontal\" center wrap>\n * <div>Item 1</div>\n * <div>Item 2</div>\n * <div>Item 3</div>\n * </Stack>\n *\n * // Stack with custom alignment\n * <Stack align=\"center\" justify=\"between\">\n * <div>Left</div>\n * <div>Center</div>\n * <div>Right</div>\n * </Stack>\n *\n * // Stack with custom dimensions\n * <Stack width=\"100%\" height=\"200px\">\n * <div>Full width, fixed height stack</div>\n * </Stack>\n * ```\n */\nimport * as React from \"react\"\nimport { cn } from \"@/utils\"\n\nexport interface StackProps extends React.HTMLAttributes<HTMLDivElement> {\n /**\n * The direction in which to stack the items.\n * - \"vertical\": Items are stacked top to bottom\n * - \"horizontal\": Items are stacked left to right\n *\n * @default \"vertical\"\n */\n direction?: \"vertical\" | \"horizontal\"\n /**\n * The spacing between items in the stack.\n * - \"none\": 0px\n * - \"xs\": 0.25rem (4px)\n * - \"sm\": 0.5rem (8px)\n * - \"md\": 1rem (16px)\n * - \"lg\": 1.5rem (24px)\n * - \"xl\": 2rem (32px)\n *\n * @default \"md\"\n */\n spacing?: \"none\" | \"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"\n /**\n * Whether to allow items to wrap to the next line when they don't fit.\n * Only applies to horizontal stacks.\n *\n * @default false\n */\n wrap?: boolean\n /**\n * Whether to center items both horizontally and vertically.\n * This is a shorthand for setting both align and justify to \"center\".\n *\n * @default false\n */\n center?: boolean\n /**\n * How to justify items along the main axis.\n * - \"start\": Items are packed toward the start\n * - \"end\": Items are packed toward the end\n * - \"center\": Items are centered\n * - \"between\": Items are evenly distributed with first item at start and last at end\n * - \"around\": Items are evenly distributed with equal space around them\n * - \"evenly\": Items are distributed so that the spacing between any two items is equal\n *\n * @default undefined\n */\n justify?: \"start\" | \"end\" | \"center\" | \"between\" | \"around\" | \"evenly\"\n /**\n * How to align items along the cross axis.\n * - \"start\": Items are aligned at the start\n * - \"end\": Items are aligned at the end\n * - \"center\": Items are centered\n * - \"stretch\": Items are stretched to fill the container\n * - \"baseline\": Items are aligned at their baselines\n *\n * @default undefined\n */\n align?: \"start\" | \"end\" | \"center\" | \"stretch\" | \"baseline\"\n /**\n * The width of the stack container.\n * Can be any valid CSS width value (e.g., \"100%\", \"200px\", \"50vw\").\n *\n * @default undefined\n */\n width?: string\n /**\n * The height of the stack container.\n * Can be any valid CSS height value (e.g., \"100%\", \"200px\", \"50vh\").\n *\n * @default undefined\n */\n height?: string\n}\n\nconst Stack = React.forwardRef<HTMLDivElement, StackProps>(\n (\n {\n className,\n direction = \"vertical\",\n spacing = \"md\",\n wrap = false,\n center = false,\n justify,\n align,\n width,\n height,\n style,\n ...props\n },\n ref\n ) => {\n return (\n <div\n ref={ref}\n className={cn(\n // Base styles\n \"flex\",\n // Direction\n direction === \"vertical\" ? \"flex-col\" : \"flex-row\",\n // Spacing\n {\n \"gap-0\": spacing === \"none\",\n \"gap-1\": spacing === \"xs\",\n \"gap-2\": spacing === \"sm\",\n \"gap-4\": spacing === \"md\",\n \"gap-6\": spacing === \"lg\",\n \"gap-8\": spacing === \"xl\"\n },\n // Wrap\n wrap && \"flex-wrap\",\n // Center\n center && \"items-center justify-center\",\n // Justify\n justify && {\n \"justify-start\": justify === \"start\",\n \"justify-end\": justify === \"end\",\n \"justify-center\": justify === \"center\",\n \"justify-between\": justify === \"between\",\n \"justify-around\": justify === \"around\",\n \"justify-evenly\": justify === \"evenly\"\n },\n // Align\n align && {\n \"items-start\": align === \"start\",\n \"items-end\": align === \"end\",\n \"items-center\": align === \"center\",\n \"items-stretch\": align === \"stretch\",\n \"items-baseline\": align === \"baseline\"\n },\n className\n )}\n style={{\n width,\n height,\n ...style\n }}\n {...props}\n />\n )\n }\n)\n\nStack.displayName = \"Stack\"\n\nexport { Stack }\n","import * as React from \"react\"\nimport * as DialogPrimitive from \"@radix-ui/react-dialog\"\nimport { X } from \"lucide-react\"\nimport { cn } from \"@/utils\"\n\n/**\n * Dialog component for creating accessible dialogs with overlay and content.\n * Built on top of Radix UI's Dialog primitive.\n *\n * @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-dialog--docs\n *\n * @example\n * ```tsx\n * <Dialog>\n * <DialogTrigger>Open Dialog</DialogTrigger>\n * <DialogContent>Dialog Content</DialogContent>\n * </Dialog>\n */\nconst Dialog = DialogPrimitive.Root\n\nconst DialogTrigger = DialogPrimitive.Trigger\n\nconst DialogPortal = DialogPrimitive.Portal\n\nconst DialogClose = DialogPrimitive.Close\n\nconst DialogOverlay = React.forwardRef<\n React.ElementRef<typeof DialogPrimitive.Overlay>,\n React.ComponentPropsWithoutRef<typeof DialogPrimitive.Overlay>\n>(({ className, ...props }, ref) => (\n <DialogPrimitive.Overlay\n ref={ref}\n className={cn(\n \"fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0\",\n className\n )}\n {...props}\n />\n))\nDialogOverlay.displayName = DialogPrimitive.Overlay.displayName\n\nconst DialogContent = React.forwardRef<\n React.ElementRef<typeof DialogPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>\n>(({ className, children, ...props }, ref) => (\n <DialogPortal>\n <DialogOverlay />\n <DialogPrimitive.Content\n ref={ref}\n className={cn(\n \"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\",\n className\n )}\n {...props}\n >\n {children}\n <DialogPrimitive.Close className=\"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground\">\n <X className=\"h-4 w-4\" />\n <span className=\"sr-only\">Close</span>\n </DialogPrimitive.Close>\n </DialogPrimitive.Content>\n </DialogPortal>\n))\nDialogContent.displayName = DialogPrimitive.Content.displayName\n\nconst DialogHeader = ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => (\n <div className={cn(\"flex flex-col space-y-1.5 text-center sm:text-left\", className)} {...props} />\n)\nDialogHeader.displayName = \"DialogHeader\"\n\nconst DialogFooter = ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => (\n <div\n className={cn(\"flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2\", className)}\n {...props}\n />\n)\nDialogFooter.displayName = \"DialogFooter\"\n\nconst DialogTitle = React.forwardRef<\n React.ElementRef<typeof DialogPrimitive.Title>,\n React.ComponentPropsWithoutRef<typeof DialogPrimitive.Title>\n>(({ className, ...props }, ref) => (\n <DialogPrimitive.Title\n ref={ref}\n className={cn(\"text-lg font-semibold leading-none tracking-tight\", className)}\n {...props}\n />\n))\nDialogTitle.displayName = DialogPrimitive.Title.displayName\n\nconst DialogDescription = React.forwardRef<\n React.ElementRef<typeof DialogPrimitive.Description>,\n React.ComponentPropsWithoutRef<typeof DialogPrimitive.Description>\n>(({ className, ...props }, ref) => (\n <DialogPrimitive.Description\n ref={ref}\n className={cn(\"text-sm text-muted-foreground\", className)}\n {...props}\n />\n))\nDialogDescription.displayName = DialogPrimitive.Description.displayName\n\nexport {\n Dialog,\n DialogPortal,\n DialogOverlay,\n DialogTrigger,\n DialogClose,\n DialogContent,\n DialogHeader,\n DialogFooter,\n DialogTitle,\n DialogDescription\n}\n","import * as React from \"react\"\nimport * as AvatarPrimitive from \"@radix-ui/react-avatar\"\nimport { cn } from \"@/utils/index\"\nimport type { AvatarProps, AvatarImageProps, AvatarFallbackProps } from \"./avatar.types\"\n\n/**\n * Avatar component that displays a user's profile picture or fallback.\n * Built on top of Radix UI's Avatar primitive.\n *\n * @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-avatar--docs\n *\n * @example\n * ```tsx\n * <Avatar>\n * <AvatarImage src=\"/path/to/image.jpg\" alt=\"User avatar\" />\n * <AvatarFallback>JD</AvatarFallback>\n * </Avatar>\n * ```\n */\nconst Avatar = React.forwardRef<React.ElementRef<typeof AvatarPrimitive.Root>, AvatarProps>(\n ({ className, ...props }, ref) => (\n <AvatarPrimitive.Root\n ref={ref}\n className={cn(\"relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full\", className)}\n {...props}\n />\n )\n)\nAvatar.displayName = AvatarPrimitive.Root.displayName\n\n/**\n * AvatarImage component that displays the user's profile picture.\n * Falls back to AvatarFallback if the image fails to load.\n */\nconst AvatarImage = React.forwardRef<\n React.ElementRef<typeof AvatarPrimitive.Image>,\n AvatarImageProps\n>(({ className, ...props }, ref) => (\n <AvatarPrimitive.Image\n ref={ref}\n className={cn(\"aspect-square h-full w-full\", className)}\n {...props}\n />\n))\nAvatarImage.displayName = AvatarPrimitive.Image.displayName\n\n/**\n * AvatarFallback component that displays when the image fails to load.\n * Typically shows the user's initials or a placeholder icon.\n */\nconst AvatarFallback = React.forwardRef<\n React.ElementRef<typeof AvatarPrimitive.Fallback>,\n AvatarFallbackProps\n>(({ className, ...props }, ref) => (\n <AvatarPrimitive.Fallback\n ref={ref}\n className={cn(\n \"flex h-full w-full items-center justify-center rounded-full bg-muted\",\n className\n )}\n {...props}\n />\n))\nAvatarFallback.displayName = AvatarPrimitive.Fallback.displayName\n\nexport { Avatar, AvatarImage, AvatarFallback }\n","import { cva } from \"class-variance-authority\"\n\nexport const badgeVariants = cva(\n \"inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2\",\n {\n variants: {\n variant: {\n default: \"border-transparent bg-primary text-primary-foreground hover:bg-primary/80\",\n secondary:\n \"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80\",\n destructive:\n \"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80\",\n outline: \"text-foreground\",\n success: \"border-transparent bg-green-500 text-white hover:bg-green-500/80\",\n warning: \"border-transparent bg-yellow-500 text-white hover:bg-yellow-500/80\",\n info: \"border-transparent bg-blue-500 text-white hover:bg-blue-500/80\"\n },\n size: {\n default: \"h-5\",\n sm: \"h-4 text-[10px]\",\n lg: \"h-6 text-sm\"\n }\n },\n defaultVariants: {\n variant: \"default\",\n size: \"default\"\n }\n }\n)\n","import * as React from \"react\"\nimport { cn } from \"@/utils/index\"\nimport { badgeVariants } from \"./badge.variants\"\nimport type { BadgeProps } from \"./badge.types\"\n\n/**\n * Badge component for displaying status, counts, or labels.\n * Supports various variants, sizes, and optional icons.\n *\n * @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-badge--docs\n *\n * @example\n * ```tsx\n * <Badge variant=\"success\">Active</Badge>\n * <Badge variant=\"warning\" icon={<AlertIcon />}>Warning</Badge>\n * <Badge variant=\"info\" size=\"lg\" iconAfter={<ArrowIcon />}>New</Badge>\n * ```\n */\nconst Badge = React.forwardRef<HTMLDivElement, BadgeProps>(\n ({ className, variant, size, icon, iconAfter, children, ...props }, ref) => {\n return (\n <div ref={ref} className={cn(badgeVariants({ variant, size }), className)} {...props}>\n {icon && <span className=\"mr-1\">{icon}</span>}\n {children}\n {iconAfter && <span className=\"ml-1\">{iconAfter}</span>}\n </div>\n )\n }\n)\n\nBadge.displayName = \"Badge\"\n\nexport { Badge, badgeVariants }\n","import * as React from \"react\"\nimport { cn } from \"@/utils\"\nimport { cva, type VariantProps } from \"class-variance-authority\"\n\nconst typographyVariants = cva(\"\", {\n variants: {\n variant: {\n h1: \"scroll-m-20 text-4xl font-extrabold tracking-tight lg:text-5xl\",\n h2: \"scroll-m-20 text-3xl font-semibold tracking-tight\",\n h3: \"scroll-m-20 text-2xl font-semibold tracking-tight\",\n h4: \"scroll-m-20 text-xl font-semibold tracking-tight\",\n h5: \"scroll-m-20 text-lg font-semibold tracking-tight\",\n h6: \"scroll-m-20 text-base font-semibold tracking-tight\",\n p: \"leading-7 [&:not(:first-child)]:mt-6\",\n blockquote: \"mt-6 border-l-2 border-slate-300 pl-6 italic\",\n list: \"my-6 ml-6 list-disc [&>li]:mt-2\",\n lead: \"text-xl text-muted-foreground\",\n large: \"text-lg font-semibold\",\n small: \"text-sm font-medium leading-none\",\n muted: \"text-sm text-muted-foreground\"\n },\n align: {\n left: \"text-left\",\n center: \"text-center\",\n right: \"text-right\",\n justify: \"text-justify\"\n }\n },\n defaultVariants: {\n variant: \"p\",\n align: \"left\"\n }\n})\n\nexport interface TypographyProps\n extends React.HTMLAttributes<HTMLElement>,\n VariantProps<typeof typographyVariants> {\n as?: React.ElementType\n}\n\n/**\n * Typography component for creating accessible text elements.\n * Built on top of shadcn/ui's Typography component.\n *\n * @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-typography--docs\n *\n */\nconst Typography = React.forwardRef<HTMLElement, TypographyProps>(\n ({ className, variant, align, as: Component = \"p\", ...props }, ref) => {\n return (\n <Component\n className={cn(typographyVariants({ variant, align, className }))}\n ref={ref}\n {...props}\n />\n )\n }\n)\n\nTypography.displayName = \"Typography\"\n\nexport { Typography, typographyVariants }\n","import { cn } from \"@/utils\"\nimport { Loader2 } from \"lucide-react\"\n\nexport interface PageLoaderProps {\n /**\n * Optional className to extend the component's styles\n */\n className?: string\n /**\n * Optional size of the loader (default: \"default\")\n */\n size?: \"sm\" | \"default\" | \"lg\"\n /**\n * Optional text to display below the loader\n */\n text?: string\n /**\n * Optional color of the loader (default: \"primary\")\n */\n color?: \"primary\" | \"secondary\" | \"accent\" | \"muted\" | \"destructive\" | string\n}\n\n/**\n * PageLoader component for displaying a loading indicator.\n *\n * @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-page-loader--docs\n *\n */\n\nexport function PageLoader({\n className,\n size = \"default\",\n text,\n color = \"primary\"\n}: PageLoaderProps) {\n const sizeClasses = {\n sm: \"h-4 w-4\",\n default: \"h-8 w-8\",\n lg: \"h-12 w-12\"\n }\n\n const colorClasses = {\n primary: \"text-primary\",\n secondary: \"text-secondary\",\n accent: \"text-accent\",\n muted: \"text-muted-foreground\",\n destructive: \"text-destructive\"\n }\n\n const loaderColor = colorClasses[color as keyof typeof colorClasses] || `text-[${color}]`\n\n return (\n <div\n className={cn(\n \"fixed inset-0 z-50 flex min-h-screen flex-col items-center justify-center bg-background/80 backdrop-blur-sm\",\n className\n )}\n role=\"alert\"\n aria-live=\"assertive\"\n >\n <Loader2 className={cn(\"animate-spin\", loaderColor, sizeClasses[size])} aria-hidden=\"true\" />\n {text && (\n <p className=\"mt-4 text-sm text-muted-foreground\" aria-label={text}>\n {text}\n </p>\n )}\n </div>\n )\n}\n","/**\n * Toast component for displaying temporary notifications.\n * Built on top of Radix UI's Toast primitive.\n *\n * @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-toast--docs\n *\n * @example\n * ```tsx\n * <ToastProvider>\n * <Toast>\n * <ToastTitle>Title</ToastTitle>\n * <ToastDescription>Description</ToastDescription>\n * <ToastAction>Action</ToastAction>\n * <ToastClose />\n * </Toast>\n * <ToastViewport />\n * </ToastProvider>\n * ```\n */\n\nimport * as React from \"react\"\n// eslint-disable-next-line import/no-extraneous-dependencies\nimport * as ToastPrimitives from \"@radix-ui/react-toast\"\nimport { cva, type VariantProps } from \"class-variance-authority\"\nimport { X } from \"lucide-react\"\n\nimport { cn } from \"@/utils/index\"\n\nconst ToastProvider = ToastPrimitives.Provider\n\nconst ToastViewport = React.forwardRef<\n React.ElementRef<typeof ToastPrimitives.Viewport>,\n React.ComponentPropsWithoutRef<typeof ToastPrimitives.Viewport>\n>(({ className, ...props }, ref) => (\n <ToastPrimitives.Viewport\n ref={ref}\n className={cn(\n \"fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]\",\n className\n )}\n {...props}\n />\n))\nToastViewport.displayName = ToastPrimitives.Viewport.displayName\n\nconst toastVariants = cva(\n \"group pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md border p-4 pr-6 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full\",\n {\n variants: {\n variant: {\n default: \"border bg-background text-foreground\",\n destructive:\n \"destructive group border-destructive bg-destructive text-destructive-foreground\"\n }\n },\n defaultVariants: {\n variant: \"default\"\n }\n }\n)\n\nconst Toast = React.forwardRef<\n React.ElementRef<typeof ToastPrimitives.Root>,\n React.ComponentPropsWithoutRef<typeof ToastPrimitives.Root> & VariantProps<typeof toastVariants>\n>(({ className, variant, ...props }, ref) => {\n return (\n <ToastPrimitives.Root\n ref={ref}\n className={cn(toastVariants({ variant }), className)}\n {...props}\n />\n )\n})\nToast.displayName = ToastPrimitives.Root.displayName\n\nconst ToastAction = React.forwardRef<\n React.ElementRef<typeof ToastPrimitives.Action>,\n React.ComponentPropsWithoutRef<typeof ToastPrimitives.Action>\n>(({ className, ...props }, ref) => (\n <ToastPrimitives.Action\n ref={ref}\n className={cn(\n \"inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium transition-colors hover:bg-secondary focus:outline-none focus:ring-1 focus:ring-ring disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive\",\n className\n )}\n {...props}\n />\n))\nToastAction.displayName = ToastPrimitives.Action.displayName\n\nconst ToastClose = React.forwardRef<\n React.ElementRef<typeof ToastPrimitives.Close>,\n React.ComponentPropsWithoutRef<typeof ToastPrimitives.Close>\n>(({ className, ...props }, ref) => (\n <ToastPrimitives.Close\n ref={ref}\n className={cn(\n \"absolute right-1 top-1 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-1 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600\",\n className\n )}\n toast-close=\"\"\n aria-label=\"Close toast\"\n {...props}\n >\n <X className=\"h-4 w-4\" />\n </ToastPrimitives.Close>\n))\nToastClose.displayName = ToastPrimitives.Close.displayName\n\nconst ToastTitle = React.forwardRef<\n React.ElementRef<typeof ToastPrimitives.Title>,\n React.ComponentPropsWithoutRef<typeof ToastPrimitives.Title>\n>(({ className, ...props }, ref) => (\n <ToastPrimitives.Title\n ref={ref}\n className={cn(\"text-sm font-semibold [&+div]:text-xs\", className)}\n {...props}\n />\n))\nToastTitle.displayName = ToastPrimitives.Title.displayName\n\nconst ToastDescription = React.forwardRef<\n React.ElementRef<typeof ToastPrimitives.Description>,\n React.ComponentPropsWithoutRef<typeof ToastPrimitives.Description>\n>(({ className, ...props }, ref) => (\n <ToastPrimitives.Description\n ref={ref}\n className={cn(\"text-sm opacity-90\", className)}\n {...props}\n />\n))\nToastDescription.displayName = ToastPrimitives.Description.displayName\n\ntype ToastProps = React.ComponentPropsWithoutRef<typeof Toast>\n\ntype ToastActionElement = React.ReactElement<typeof ToastAction>\n\nexport {\n type ToastProps,\n type ToastActionElement,\n ToastProvider,\n ToastViewport,\n Toast,\n ToastTitle,\n ToastDescription,\n ToastClose,\n ToastAction\n}\n","/**\n * Toaster component for managing and displaying toast notifications.\n * Built on top of the Toast primitive components.\n *\n * @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-toaster--docs\n *\n * @example\n * ```tsx\n * // Add Toaster to your app's root layout\n * <Toaster />\n *\n * // Use the toast hook to show notifications\n * const { toast } = useToast()\n *\n * toast({\n * title: \"Success\",\n * description: \"Your changes have been saved.\",\n * action: <ToastAction altText=\"Undo\">Undo</ToastAction>\n * })\n * ```\n */\n\nimport { useToast } from \"@/hooks/use-toast\"\nimport {\n Toast,\n ToastClose,\n ToastDescription,\n ToastProvider,\n ToastTitle,\n ToastViewport\n} from \"@/components/atoms/toast\"\n\nexport function Toaster() {\n const { toasts } = useToast()\n\n return (\n <ToastProvider>\n {toasts.map(function ({ id, title, description, action, ...props }) {\n return (\n <Toast key={id} {...props}>\n <div className=\"grid gap-1\">\n {title && <ToastTitle>{title}</ToastTitle>}\n {description && <ToastDescription>{description}</ToastDescription>}\n </div>\n {action}\n <ToastClose />\n </Toast>\n )\n })}\n <ToastViewport />\n </ToastProvider>\n )\n}\n"]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {a as a$1}from'./chunk-C26U3FL4.esm.js';import*as t from'react';import*as e from'@radix-ui/react-label';import {cva}from'class-variance-authority';import {jsx}from'react/jsx-runtime';var m=cva("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),a=t.forwardRef(({className:r,...i},p)=>jsx(e.Root,{ref:p,className:a$1(m(),r),...i}));a.displayName=e.Root.displayName;export{a};//# sourceMappingURL=chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import {a as a$1}from'./chunk-C26U3FL4.esm.js';import*as t from'react';import*as e from'@radix-ui/react-label';import {cva}from'class-variance-authority';import {jsx}from'react/jsx-runtime';var m=cva("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),a=t.forwardRef(({className:r,...i},p)=>jsx(e.Root,{ref:p,className:a$1(m(),r),...i}));a.displayName=e.Root.displayName;export{a};//# sourceMappingURL=chunk-7NN2L46N.esm.js.map
|
|
2
|
+
//# sourceMappingURL=chunk-7NN2L46N.esm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/atoms/label/label.tsx"],"names":["labelVariants","cva","Label","className","props","ref","jsx","cn"],"mappings":"8LAMA,IAAMA,EAAgBC,GACpB,CAAA,4FACF,EAaMC,CAAc,CAAA,CAAA,CAAA,UAAA,CAClB,CAAC,CAAE,SAAA,CAAAC,EAAW,GAAGC,CAAM,EAAGC,CACxBC,GAAAA,GAAAA,CAAgB,OAAf,CAAoB,GAAA,CAAKD,EAAK,SAAWE,CAAAA,GAAAA,CAAGP,GAAiBG,CAAAA,CAAS,EAAI,GAAGC,CAAAA,CAAO,CAEzF,EACAF,CAAAA,CAAM,YAA6B,CAAK,CAAA,IAAA,CAAA,WAAA","file":"chunk-
|
|
1
|
+
{"version":3,"sources":["../src/components/atoms/label/label.tsx"],"names":["labelVariants","cva","Label","className","props","ref","jsx","cn"],"mappings":"8LAMA,IAAMA,EAAgBC,GACpB,CAAA,4FACF,EAaMC,CAAc,CAAA,CAAA,CAAA,UAAA,CAClB,CAAC,CAAE,SAAA,CAAAC,EAAW,GAAGC,CAAM,EAAGC,CACxBC,GAAAA,GAAAA,CAAgB,OAAf,CAAoB,GAAA,CAAKD,EAAK,SAAWE,CAAAA,GAAAA,CAAGP,GAAiBG,CAAAA,CAAS,EAAI,GAAGC,CAAAA,CAAO,CAEzF,EACAF,CAAAA,CAAM,YAA6B,CAAK,CAAA,IAAA,CAAA,WAAA","file":"chunk-7NN2L46N.esm.js","sourcesContent":["import * as React from \"react\"\nimport * as LabelPrimitive from \"@radix-ui/react-label\"\nimport { cva, type VariantProps } from \"class-variance-authority\"\n\nimport { cn } from \"@/utils/index\"\n\nconst labelVariants = cva(\n \"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70\"\n)\n\nexport interface LabelProps\n extends React.ComponentPropsWithoutRef<typeof LabelPrimitive.Root>,\n VariantProps<typeof labelVariants> {}\n\n/**\n * Label component for creating accessible labels.\n * Built on top of Radix UI's Label primitive.\n *\n * @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-label--docs\n *\n */\nconst Label = React.forwardRef<React.ElementRef<typeof LabelPrimitive.Root>, LabelProps>(\n ({ className, ...props }, ref) => (\n <LabelPrimitive.Root ref={ref} className={cn(labelVariants(), className)} {...props} />\n )\n)\nLabel.displayName = LabelPrimitive.Root.displayName\n\nexport { Label }\n"]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var chunkSL2ZUI4G_cjs_js=require('./chunk-SL2ZUI4G.cjs.js'),t=require('react'),jsxRuntime=require('react/jsx-runtime');function _interopNamespace(e){if(e&&e.__esModule)return e;var n=Object.create(null);if(e){Object.keys(e).forEach(function(k){if(k!=='default'){var d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:true,get:function(){return e[k]}});}})}n.default=e;return Object.freeze(n)}var t__namespace=/*#__PURE__*/_interopNamespace(t);var s=t__namespace.forwardRef(({className:o,type:r,...n},i)=>jsxRuntime.jsx("input",{type:r,className:chunkSL2ZUI4G_cjs_js.a("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",o),ref:i,...n}));s.displayName="Input";exports.a=s;//# sourceMappingURL=chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
'use strict';var chunkSL2ZUI4G_cjs_js=require('./chunk-SL2ZUI4G.cjs.js'),t=require('react'),jsxRuntime=require('react/jsx-runtime');function _interopNamespace(e){if(e&&e.__esModule)return e;var n=Object.create(null);if(e){Object.keys(e).forEach(function(k){if(k!=='default'){var d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:true,get:function(){return e[k]}});}})}n.default=e;return Object.freeze(n)}var t__namespace=/*#__PURE__*/_interopNamespace(t);var s=t__namespace.forwardRef(({className:o,type:r,...n},i)=>jsxRuntime.jsx("input",{type:r,className:chunkSL2ZUI4G_cjs_js.a("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",o),ref:i,...n}));s.displayName="Input";exports.a=s;//# sourceMappingURL=chunk-BR7Z6MCL.cjs.js.map
|
|
2
|
+
//# sourceMappingURL=chunk-BR7Z6MCL.cjs.js.map
|