@szum-tech/design-system 1.17.7 → 1.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -44,10 +44,7 @@ After installing the [@szum-tech/design-system](https://www.npmjs.com/package/@s
44
44
  ```js
45
45
  /** @type {import('tailwindcss').Config} */
46
46
  module.exports = {
47
- content: [
48
- "...",
49
- "./node_modules/@szum-tech/design-system/{components,hooks,contexts}/**/*{js,ts,jsx,tsx}"
50
- ],
47
+ content: ["...", "./node_modules/@szum-tech/design-system/{components,hooks,contexts}/**/*{js,ts,jsx,tsx}"],
51
48
  theme: {
52
49
  extend: {}
53
50
  },
package/dist/index.d.mts CHANGED
@@ -13,6 +13,7 @@ import { FormProviderProps, FieldValues, FieldPath, ControllerProps } from 'reac
13
13
  import * as ReactLabel from '@radix-ui/react-label';
14
14
  import * as _radix_ui_react_slot from '@radix-ui/react-slot';
15
15
  import { Slot } from '@radix-ui/react-slot';
16
+ import * as ReactAlertDialog from '@radix-ui/react-alert-dialog';
16
17
 
17
18
  declare const avatarCva: (props?: ({
18
19
  size?: "sm" | "md" | "lg" | null | undefined;
@@ -134,9 +135,11 @@ declare const Textarea: (props: OmitStylesProps<Omit<React.DetailedHTMLProps<Rea
134
135
 
135
136
  type SelectProps = OmitStylesProps<ReactSelect.SelectProps> & {
136
137
  placeholder?: React.ReactNode;
138
+ invalid?: boolean;
137
139
  };
138
140
  declare const Select: (props: OmitStylesProps<ReactSelect.SelectProps> & {
139
141
  placeholder?: React.ReactNode;
142
+ invalid?: boolean | undefined;
140
143
  } & React.RefAttributes<HTMLButtonElement>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
141
144
 
142
145
  type SelectItemProps = OmitStylesProps<ReactSelect.SelectItemProps>;
@@ -279,6 +282,33 @@ declare const HelperText: (props: React.HTMLAttributes<HTMLParagraphElement> & {
279
282
  type?: HelperTextType | undefined;
280
283
  } & React.RefAttributes<HTMLParagraphElement>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
281
284
 
285
+ type AlertDialogProps = ReactAlertDialog.AlertDialogProps;
286
+ declare const AlertDialog: React.FC<ReactAlertDialog.AlertDialogProps>;
287
+
288
+ type AlertDialogTriggerProps = ReactAlertDialog.AlertDialogTriggerProps;
289
+ declare const AlertDialogTrigger: React.ForwardRefExoticComponent<ReactAlertDialog.AlertDialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
290
+
291
+ type AlertDialogContentProps = React.ComponentPropsWithoutRef<typeof ReactAlertDialog.Content>;
292
+ declare const AlertDialogContent: (props: Omit<ReactAlertDialog.AlertDialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
293
+
294
+ type AlertDialogHeaderProps = React__default.HTMLAttributes<HTMLDivElement>;
295
+ declare function AlertDialogHeader({ className, ...props }: AlertDialogHeaderProps): react_jsx_runtime.JSX.Element;
296
+
297
+ type AlertDialogFooterProps = React.HTMLAttributes<HTMLDivElement>;
298
+ declare function AlertDialogFooter({ className, ...props }: AlertDialogFooterProps): react_jsx_runtime.JSX.Element;
299
+
300
+ type AlertDialogTitleProps = React.ComponentPropsWithoutRef<typeof ReactAlertDialog.Title>;
301
+ declare const AlertDialogTitle: (props: Omit<ReactAlertDialog.AlertDialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
302
+
303
+ type AlertDialogDescriptionProps = React.ComponentPropsWithoutRef<typeof ReactAlertDialog.Description>;
304
+ declare const AlertDialogDescription: (props: Omit<ReactAlertDialog.AlertDialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
305
+
306
+ type AlertDialogActionProps = ReactAlertDialog.AlertDialogActionProps;
307
+ declare const AlertDialogAction: React.ForwardRefExoticComponent<ReactAlertDialog.AlertDialogActionProps & React.RefAttributes<HTMLButtonElement>>;
308
+
309
+ type AlertDialogCancelProps = ReactAlertDialog.AlertDialogCancelProps;
310
+ declare const AlertDialogCancel: React.ForwardRefExoticComponent<ReactAlertDialog.AlertDialogCancelProps & React.RefAttributes<HTMLButtonElement>>;
311
+
282
312
  type ThemeType = "light" | "dark";
283
313
  interface ThemeContextType {
284
314
  theme: ThemeType;
@@ -305,4 +335,4 @@ declare function ThemeProvider({ children, defaultTheme, theme }: ThemeProviderP
305
335
 
306
336
  declare const useTheme: () => ThemeContextType;
307
337
 
308
- export { Avatar, AvatarFallback, AvatarFallbackProps, AvatarImage, AvatarImageProps, AvatarProps, AvatarSizeType, Button, ButtonColorType, ButtonProps, ButtonSizeType, ButtonVariantType, Card, CardContent, CardContentProps, CardDescription, CardDescriptionProps, CardFooter, CardFooterProps, CardHeader, CardHeaderProps, CardProps, CardTitle, CardTitleProps, Dialog, DialogClose, DialogCloseProps, DialogContent, DialogContentProps, DialogContentWidth, DialogDescription, DialogDescriptionProps, DialogFooter, DialogFooterProps, DialogHeader, DialogHeaderProps, DialogProps, DialogTitle, DialogTitleProps, DialogTrigger, DialogTriggerProps, Form, FormControl, FormControlProps, FormDescription, FormDescriptionProps, FormField, FormItem, FormItemProps, FormLabel, FormLabelProps, FormMessage, FormMessageProps, FormProps, Header, HeaderProps, HelperText, HelperTextProps, HelperTextType, Input, InputProps, Label, LabelProps, Select, SelectItem, SelectItemProps, SelectProps, Separator, SeparatorProps, Sheet, SheetClose, SheetCloseProps, SheetContent, SheetContentProps, SheetContentSide, SheetDescription, SheetDescriptionProps, SheetFooter, SheetFooterProps, SheetHeader, SheetHeaderProps, SheetProps, SheetTitle, SheetTitleProps, SheetTrigger, SheetTriggerProps, Textarea, TextareaProps, ThemeContext, ThemeContextType, ThemeProvider, ThemeProviderProps, ThemeType, Tooltip, TooltipProps, TooltipProvider, TooltipProviderProps, useTheme };
338
+ export { AlertDialog, AlertDialogAction, type AlertDialogActionProps, AlertDialogCancel, type AlertDialogCancelProps, AlertDialogContent, type AlertDialogContentProps, AlertDialogDescription, type AlertDialogDescriptionProps, AlertDialogFooter, type AlertDialogFooterProps, AlertDialogHeader, type AlertDialogHeaderProps, type AlertDialogProps, AlertDialogTitle, type AlertDialogTitleProps, AlertDialogTrigger, type AlertDialogTriggerProps, Avatar, AvatarFallback, type AvatarFallbackProps, AvatarImage, type AvatarImageProps, type AvatarProps, type AvatarSizeType, Button, type ButtonColorType, type ButtonProps, type ButtonSizeType, type ButtonVariantType, Card, CardContent, type CardContentProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps, Dialog, DialogClose, type DialogCloseProps, DialogContent, type DialogContentProps, type DialogContentWidth, DialogDescription, type DialogDescriptionProps, DialogFooter, type DialogFooterProps, DialogHeader, type DialogHeaderProps, type DialogProps, DialogTitle, type DialogTitleProps, DialogTrigger, type DialogTriggerProps, Form, FormControl, type FormControlProps, FormDescription, type FormDescriptionProps, FormField, FormItem, type FormItemProps, FormLabel, type FormLabelProps, FormMessage, type FormMessageProps, type FormProps, Header, type HeaderProps, HelperText, type HelperTextProps, type HelperTextType, Input, type InputProps, Label, type LabelProps, Select, SelectItem, type SelectItemProps, type SelectProps, Separator, type SeparatorProps, Sheet, SheetClose, type SheetCloseProps, SheetContent, type SheetContentProps, type SheetContentSide, SheetDescription, type SheetDescriptionProps, SheetFooter, type SheetFooterProps, SheetHeader, type SheetHeaderProps, type SheetProps, SheetTitle, type SheetTitleProps, SheetTrigger, type SheetTriggerProps, Textarea, type TextareaProps, ThemeContext, type ThemeContextType, ThemeProvider, type ThemeProviderProps, type ThemeType, Tooltip, type TooltipProps, TooltipProvider, type TooltipProviderProps, useTheme };
package/dist/index.d.ts CHANGED
@@ -13,6 +13,7 @@ import { FormProviderProps, FieldValues, FieldPath, ControllerProps } from 'reac
13
13
  import * as ReactLabel from '@radix-ui/react-label';
14
14
  import * as _radix_ui_react_slot from '@radix-ui/react-slot';
15
15
  import { Slot } from '@radix-ui/react-slot';
16
+ import * as ReactAlertDialog from '@radix-ui/react-alert-dialog';
16
17
 
17
18
  declare const avatarCva: (props?: ({
18
19
  size?: "sm" | "md" | "lg" | null | undefined;
@@ -134,9 +135,11 @@ declare const Textarea: (props: OmitStylesProps<Omit<React.DetailedHTMLProps<Rea
134
135
 
135
136
  type SelectProps = OmitStylesProps<ReactSelect.SelectProps> & {
136
137
  placeholder?: React.ReactNode;
138
+ invalid?: boolean;
137
139
  };
138
140
  declare const Select: (props: OmitStylesProps<ReactSelect.SelectProps> & {
139
141
  placeholder?: React.ReactNode;
142
+ invalid?: boolean | undefined;
140
143
  } & React.RefAttributes<HTMLButtonElement>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
141
144
 
142
145
  type SelectItemProps = OmitStylesProps<ReactSelect.SelectItemProps>;
@@ -279,6 +282,33 @@ declare const HelperText: (props: React.HTMLAttributes<HTMLParagraphElement> & {
279
282
  type?: HelperTextType | undefined;
280
283
  } & React.RefAttributes<HTMLParagraphElement>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
281
284
 
285
+ type AlertDialogProps = ReactAlertDialog.AlertDialogProps;
286
+ declare const AlertDialog: React.FC<ReactAlertDialog.AlertDialogProps>;
287
+
288
+ type AlertDialogTriggerProps = ReactAlertDialog.AlertDialogTriggerProps;
289
+ declare const AlertDialogTrigger: React.ForwardRefExoticComponent<ReactAlertDialog.AlertDialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
290
+
291
+ type AlertDialogContentProps = React.ComponentPropsWithoutRef<typeof ReactAlertDialog.Content>;
292
+ declare const AlertDialogContent: (props: Omit<ReactAlertDialog.AlertDialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
293
+
294
+ type AlertDialogHeaderProps = React__default.HTMLAttributes<HTMLDivElement>;
295
+ declare function AlertDialogHeader({ className, ...props }: AlertDialogHeaderProps): react_jsx_runtime.JSX.Element;
296
+
297
+ type AlertDialogFooterProps = React.HTMLAttributes<HTMLDivElement>;
298
+ declare function AlertDialogFooter({ className, ...props }: AlertDialogFooterProps): react_jsx_runtime.JSX.Element;
299
+
300
+ type AlertDialogTitleProps = React.ComponentPropsWithoutRef<typeof ReactAlertDialog.Title>;
301
+ declare const AlertDialogTitle: (props: Omit<ReactAlertDialog.AlertDialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
302
+
303
+ type AlertDialogDescriptionProps = React.ComponentPropsWithoutRef<typeof ReactAlertDialog.Description>;
304
+ declare const AlertDialogDescription: (props: Omit<ReactAlertDialog.AlertDialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
305
+
306
+ type AlertDialogActionProps = ReactAlertDialog.AlertDialogActionProps;
307
+ declare const AlertDialogAction: React.ForwardRefExoticComponent<ReactAlertDialog.AlertDialogActionProps & React.RefAttributes<HTMLButtonElement>>;
308
+
309
+ type AlertDialogCancelProps = ReactAlertDialog.AlertDialogCancelProps;
310
+ declare const AlertDialogCancel: React.ForwardRefExoticComponent<ReactAlertDialog.AlertDialogCancelProps & React.RefAttributes<HTMLButtonElement>>;
311
+
282
312
  type ThemeType = "light" | "dark";
283
313
  interface ThemeContextType {
284
314
  theme: ThemeType;
@@ -305,4 +335,4 @@ declare function ThemeProvider({ children, defaultTheme, theme }: ThemeProviderP
305
335
 
306
336
  declare const useTheme: () => ThemeContextType;
307
337
 
308
- export { Avatar, AvatarFallback, AvatarFallbackProps, AvatarImage, AvatarImageProps, AvatarProps, AvatarSizeType, Button, ButtonColorType, ButtonProps, ButtonSizeType, ButtonVariantType, Card, CardContent, CardContentProps, CardDescription, CardDescriptionProps, CardFooter, CardFooterProps, CardHeader, CardHeaderProps, CardProps, CardTitle, CardTitleProps, Dialog, DialogClose, DialogCloseProps, DialogContent, DialogContentProps, DialogContentWidth, DialogDescription, DialogDescriptionProps, DialogFooter, DialogFooterProps, DialogHeader, DialogHeaderProps, DialogProps, DialogTitle, DialogTitleProps, DialogTrigger, DialogTriggerProps, Form, FormControl, FormControlProps, FormDescription, FormDescriptionProps, FormField, FormItem, FormItemProps, FormLabel, FormLabelProps, FormMessage, FormMessageProps, FormProps, Header, HeaderProps, HelperText, HelperTextProps, HelperTextType, Input, InputProps, Label, LabelProps, Select, SelectItem, SelectItemProps, SelectProps, Separator, SeparatorProps, Sheet, SheetClose, SheetCloseProps, SheetContent, SheetContentProps, SheetContentSide, SheetDescription, SheetDescriptionProps, SheetFooter, SheetFooterProps, SheetHeader, SheetHeaderProps, SheetProps, SheetTitle, SheetTitleProps, SheetTrigger, SheetTriggerProps, Textarea, TextareaProps, ThemeContext, ThemeContextType, ThemeProvider, ThemeProviderProps, ThemeType, Tooltip, TooltipProps, TooltipProvider, TooltipProviderProps, useTheme };
338
+ export { AlertDialog, AlertDialogAction, type AlertDialogActionProps, AlertDialogCancel, type AlertDialogCancelProps, AlertDialogContent, type AlertDialogContentProps, AlertDialogDescription, type AlertDialogDescriptionProps, AlertDialogFooter, type AlertDialogFooterProps, AlertDialogHeader, type AlertDialogHeaderProps, type AlertDialogProps, AlertDialogTitle, type AlertDialogTitleProps, AlertDialogTrigger, type AlertDialogTriggerProps, Avatar, AvatarFallback, type AvatarFallbackProps, AvatarImage, type AvatarImageProps, type AvatarProps, type AvatarSizeType, Button, type ButtonColorType, type ButtonProps, type ButtonSizeType, type ButtonVariantType, Card, CardContent, type CardContentProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps, Dialog, DialogClose, type DialogCloseProps, DialogContent, type DialogContentProps, type DialogContentWidth, DialogDescription, type DialogDescriptionProps, DialogFooter, type DialogFooterProps, DialogHeader, type DialogHeaderProps, type DialogProps, DialogTitle, type DialogTitleProps, DialogTrigger, type DialogTriggerProps, Form, FormControl, type FormControlProps, FormDescription, type FormDescriptionProps, FormField, FormItem, type FormItemProps, FormLabel, type FormLabelProps, FormMessage, type FormMessageProps, type FormProps, Header, type HeaderProps, HelperText, type HelperTextProps, type HelperTextType, Input, type InputProps, Label, type LabelProps, Select, SelectItem, type SelectItemProps, type SelectProps, Separator, type SeparatorProps, Sheet, SheetClose, type SheetCloseProps, SheetContent, type SheetContentProps, type SheetContentSide, SheetDescription, type SheetDescriptionProps, SheetFooter, type SheetFooterProps, SheetHeader, type SheetHeaderProps, type SheetProps, SheetTitle, type SheetTitleProps, SheetTrigger, type SheetTriggerProps, Textarea, type TextareaProps, ThemeContext, type ThemeContextType, ThemeProvider, type ThemeProviderProps, type ThemeType, Tooltip, type TooltipProps, TooltipProvider, type TooltipProviderProps, useTheme };
package/dist/index.js CHANGED
@@ -1,18 +1,19 @@
1
1
  'use strict';
2
2
 
3
3
  var d = require('react');
4
- var Z = require('@radix-ui/react-avatar');
4
+ var j = require('@radix-ui/react-avatar');
5
5
  var tailwindMerge = require('tailwind-merge');
6
6
  var classVarianceAuthority = require('class-variance-authority');
7
7
  var jsxRuntime = require('react/jsx-runtime');
8
8
  var reactSlot = require('@radix-ui/react-slot');
9
- var yr = require('@radix-ui/react-icons');
9
+ var Xr = require('@radix-ui/react-icons');
10
10
  var c = require('@radix-ui/react-tooltip');
11
- var s = require('@radix-ui/react-select');
11
+ var n = require('@radix-ui/react-select');
12
12
  var T = require('@radix-ui/react-dialog');
13
- var We = require('@radix-ui/react-separator');
13
+ var Be = require('@radix-ui/react-separator');
14
14
  var reactHookForm = require('react-hook-form');
15
15
  var st = require('@radix-ui/react-label');
16
+ var M = require('@radix-ui/react-alert-dialog');
16
17
 
17
18
  function _interopNamespace(e) {
18
19
  if (e && e.__esModule) return e;
@@ -33,59 +34,69 @@ function _interopNamespace(e) {
33
34
  }
34
35
 
35
36
  var d__namespace = /*#__PURE__*/_interopNamespace(d);
36
- var Z__namespace = /*#__PURE__*/_interopNamespace(Z);
37
- var yr__namespace = /*#__PURE__*/_interopNamespace(yr);
37
+ var j__namespace = /*#__PURE__*/_interopNamespace(j);
38
+ var Xr__namespace = /*#__PURE__*/_interopNamespace(Xr);
38
39
  var c__namespace = /*#__PURE__*/_interopNamespace(c);
39
- var s__namespace = /*#__PURE__*/_interopNamespace(s);
40
+ var n__namespace = /*#__PURE__*/_interopNamespace(n);
40
41
  var T__namespace = /*#__PURE__*/_interopNamespace(T);
41
- var We__namespace = /*#__PURE__*/_interopNamespace(We);
42
+ var Be__namespace = /*#__PURE__*/_interopNamespace(Be);
42
43
  var st__namespace = /*#__PURE__*/_interopNamespace(st);
44
+ var M__namespace = /*#__PURE__*/_interopNamespace(M);
43
45
 
44
- var K=Object.defineProperty;var ht=Object.getOwnPropertyDescriptor;var yt=Object.getOwnPropertyNames;var xt=Object.prototype.hasOwnProperty;var vt=(e,t)=>{for(var o in t)K(e,o,{get:t[o],enumerable:!0});},J=(e,t,o,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of yt(t))!xt.call(e,a)&&a!==o&&K(e,a,{get:()=>t[a],enumerable:!(r=ht(t,a))||r.enumerable});return e},y=(e,t,o)=>(J(e,t,"default"),o&&J(o,t,"default"));var Q=classVarianceAuthority.cva("relative flex shrink-0 overflow-hidden rounded",{variants:{size:{sm:"h-6 w-6 text-lg",md:"h-10 w-10 text-xl",lg:"h-14 w-14 text-2xl"}},defaultVariants:{size:"md"}});var Yo=d__namespace.forwardRef(function({className:e,size:t,...o},r){let a=Q({size:t});return jsxRuntime.jsx(Z__namespace.Root,{ref:r,className:tailwindMerge.twMerge(a,e),...o})});var tr=d__namespace.forwardRef(function({className:e,...t},o){return jsxRuntime.jsx(Z__namespace.Image,{ref:o,className:tailwindMerge.twMerge("aspect-square h-full w-full",e),...t})});var ir=d__namespace.forwardRef(function({className:e,...t},o){return jsxRuntime.jsx(Z__namespace.Fallback,{ref:o,className:tailwindMerge.twMerge("flex h-full w-full items-center justify-center bg-gray-350",e),...t})});var re=classVarianceAuthority.cva(["inline-flex items-center justify-center align-middle no-underline transition-colors ease-in-out duration-300","font-sans appearance-none select-none rounded-sm border font-medium tracking-[.02857em]","aria-disabled:pointer-events-none aria-disabled:opacity-50 aria-disabled:cursor-not-allowed"],{variants:{fullWidth:{true:"w-full"},color:{neutral:"",primary:"",success:"",warning:"",error:""},size:{sm:"px-2.5 py-1 text-[.8125rem] leading-4",md:"px-4 py-1.5 text-sm leading-5",lg:"px-5 py-2 text-[.9375rem] leading-6"},variant:{text:"border-transparent bg-transparent",outlined:"bg-transparent",contained:""}},compoundVariants:[{variant:"text",color:"neutral",class:["text-gray-100","hover:border-gray-100 hover:bg-gray-100 hover:text-black","active:border-gray-200 active:bg-gray-200"]},{variant:"text",color:"primary",class:["text-primary-500","hover:border-primary-500 hover:bg-primary-500 hover:text-white","active:border-primary-600 active:bg-primary-600 active:text-white"]},{variant:"text",color:"success",class:["text-success-500","hover:border-success-500 hover:bg-success-500 hover:text-white","active:border-success-600 active:bg-success-600 active:text-white"]},{variant:"text",color:"warning",class:["text-warning-500","hover:border-warning-500 hover:bg-warning-500 hover:text-white","active:border-warning-600 active:bg-warning-600 active:text-white"]},{variant:"text",color:"error",class:["text-error-500","hover:border-error-500 hover:bg-error-500 hover:text-white","active:border-error-600 active:bg-error-600 active:text-white"]},{variant:"outlined",color:"neutral",class:["text-gray-100 border-gray-100","hover:bg-gray-100 hover:text-black","active:text-gray-600 active:bg-gray-200"]},{variant:"outlined",color:"primary",class:["text-primary-500 border-primary-500","hover:bg-primary-500 hover:text-white","active:text-white active:bg-primary-600"]},{variant:"outlined",color:"success",class:["text-success-500 border-success-500","hover:bg-success-500 hover:text-white","active:text-white active:bg-success-600"]},{variant:"outlined",color:"warning",class:["text-warning-500 border-warning-500","hover:bg-warning-500 hover:text-white","active:text-white active:bg-warning-600"]},{variant:"outlined",color:"error",class:["text-error-500 border-error-500","hover:bg-error-500 hover:text-white","active:text-white active:bg-error-600"]},{variant:"contained",color:"neutral",class:["border-gray-100 bg-gray-100 text-black","hover:border-white hover:bg-white","active:border-gray-200 active:bg-gray-200"]},{variant:"contained",color:"primary",class:["border-primary-500 bg-primary-500 text-white","hover:border-primary-400 hover:bg-primary-400","active:border-primary-600 active:bg-primary-600"]},{variant:"contained",color:"success",class:["border-success-500 bg-success-500 text-white","hover:border-success-400 hover:bg-success-400","active:border-success-600 active:bg-success-600"]},{variant:"contained",color:"warning",class:["border-warning-500 bg-warning-500 text-white","hover:border-warning-400 hover:bg-warning-400","active:border-warning-600 active:bg-warning-600"]},{variant:"contained",color:"error",class:["border-error-500 bg-error-500 text-white","hover:border-error-400 hover:bg-error-400","active:border-error-600 active:bg-error-600"]}],defaultVariants:{fullWidth:!1,color:"primary",size:"md",variant:"text"}}),A=classVarianceAuthority.cva("",{variants:{site:{left:"",right:""},size:{sm:"",md:"",lg:""}},compoundVariants:[{site:"left",size:"sm",class:"-ml-0.5 mr-1.5"},{site:"left",size:"md",class:"-ml-1 mr-2"},{site:"left",size:"lg",class:"-ml-1.5 mr-2.5"},{site:"right",size:"sm",class:"-mr-0.5 ml-1.5"},{site:"right",size:"md",class:"-mr-1 ml-2"},{site:"right",size:"lg",class:"-mr-1.5 ml-2.5"}],defaultVariants:{site:"left",size:"md"}}),k=classVarianceAuthority.cva("",{variants:{loading:{true:"motion-reduce:hidden animate-spin"},size:{sm:"h-4.5 w-4.5",md:"h-5 w-5",lg:"h-5.5 w-5.5"}},defaultVariants:{loading:!1,size:"md"}});var n={};vt(n,{Auth0LogoIcon:()=>Mt,GoogleLogoIcon:()=>Ft,LoadingIcon:()=>P,XLogoIcon:()=>Et});y(n,yr__namespace);function Ft(e){return jsxRuntime.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",...e,children:[jsxRuntime.jsx("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),jsxRuntime.jsx("path",{d:"M12 2a9.96 9.96 0 0 1 6.29 2.226a1 1 0 0 1 .04 1.52l-1.51 1.362a1 1 0 0 1 -1.265 .06a6 6 0 1 0 2.103 6.836l.001 -.004h-3.66a1 1 0 0 1 -.992 -.883l-.007 -.117v-2a1 1 0 0 1 1 -1h6.945a1 1 0 0 1 .994 .89c.04 .367 .061 .737 .061 1.11c0 5.523 -4.477 10 -10 10s-10 -4.477 -10 -10s4.477 -10 10 -10z",strokeWidth:"0",fill:"currentColor"})]})}function P(e){return jsxRuntime.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",fill:"currentColor",version:"1.1",viewBox:"0 0 26.349 26.35",xmlSpace:"preserve",...e,children:jsxRuntime.jsx("g",{children:jsxRuntime.jsxs("g",{children:[jsxRuntime.jsx("circle",{cx:"13.792",cy:"3.082",r:"3.082"}),jsxRuntime.jsx("circle",{cx:"13.792",cy:"24.501",r:"1.849"}),jsxRuntime.jsx("circle",{cx:"6.219",cy:"6.218",r:"2.774"}),jsxRuntime.jsx("circle",{cx:"21.365",cy:"21.363",r:"1.541"}),jsxRuntime.jsx("circle",{cx:"3.082",cy:"13.792",r:"2.465"}),jsxRuntime.jsx("circle",{cx:"24.501",cy:"13.791",r:"1.232"}),jsxRuntime.jsx("path",{d:"M4.694,19.84c-0.843,0.843-0.843,2.207,0,3.05c0.842,0.843,2.208,0.843,3.05,0c0.843-0.843,0.843-2.207,0-3.05 C6.902,18.996,5.537,18.988,4.694,19.84z"}),jsxRuntime.jsx("circle",{cx:"21.364",cy:"6.218",r:"0.924"})]})})})}function Mt(e){return jsxRuntime.jsxs("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("title",{}),jsxRuntime.jsx("path",{d:"M21.98 7.448L19.62 0H4.347L2.02 7.448c-1.352 4.312.03 9.206 3.815 12.015L12.007 24l6.157-4.552c3.755-2.81 5.182-7.688 3.815-12.015l-6.16 4.58 2.343 7.45-6.157-4.597-6.158 4.58 2.358-7.433-6.188-4.55 7.63-.045L12.008 0l2.356 7.404 7.615.044z",fill:"currentColor"})]})}function Et(e){return jsxRuntime.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",version:"1.1",id:"Layer_1",width:"24px",height:"24px",viewBox:"0 0 24 24",...e,children:jsxRuntime.jsx("path",{d:"M14.095479,10.316482L22.286354,1h-1.940718l-7.115352,8.087682L7.551414,1H1l8.589488,12.231093L1,23h1.940717 l7.509372-8.542861L16.448587,23H23L14.095479,10.316482z M11.436522,13.338465l-0.871624-1.218704l-6.924311-9.68815h2.981339 l5.58978,7.82155l0.867949,1.218704l7.26506,10.166271h-2.981339L11.436522,13.338465z",fill:"currentColor"})})}var Cr=d__namespace.forwardRef(function({asChild:e=!1,variant:t="text",color:o="primary",disabled:r=!1,fullWidth:a=!1,...i},l){let{children:m,type:f="button",loading:g=!1,size:M="md",loadingPosition:b="start",endIcon:H,startIcon:_,...E}=i,h=e?reactSlot.Slot:"button",w=re({fullWidth:a,size:M,variant:t,color:o}),N=r||g;return jsxRuntime.jsx(h,{...e?i:E,"aria-disabled":N||void 0,className:w,"data-state":g?"loading":void 0,disabled:N,ref:l,role:h!=="button"?"button":void 0,tabIndex:N?-1:0,type:h==="button"?f:void 0,children:e?jsxRuntime.jsx(se,{children:m}):jsxRuntime.jsx(se,{...i})})});function se({children:e,loading:t=!1,size:o="md",loadingPosition:r="start",startIcon:a,endIcon:i,...l}){let m=t&&r==="start",f=m?jsxRuntime.jsx(P,{"aria-label":"Loading"}):a||null,g=k({size:o,loading:m}),M=A({size:o,site:"left"}),b=t&&r==="end",H=b?jsxRuntime.jsx(P,{"aria-label":"Loading"}):i||null,_=k({size:o,loading:b}),E=A({size:o,site:"right"}),h=f?jsxRuntime.jsx("span",{className:M,role:m?"progressbar":void 0,children:d__namespace.cloneElement(f,{className:g})}):null,w=H?jsxRuntime.jsx("span",{className:E,role:b?"progressbar":void 0,children:d__namespace.cloneElement(H,{className:_})}):null;return d__namespace.isValidElement(e)?d__namespace.cloneElement(e,{...l,children:jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[h,d__namespace.isValidElement(e)?e.props.children:null,w]})}):jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[h,e,w]})}var me=classVarianceAuthority.cva(["h-10 w-full appearance-none border bg-app-primary py-2 font-poppins outline-0 transition-colors duration-300 ease-in-out","placeholder:select-none placeholder:text-gray-200","invalid:border-error-500 focus:border-primary-400 active:border-primary-400","disabled:border-gray-400 disabled:text-gray-200 disabled:placeholder:text-gray-300"],{variants:{invalid:{true:["text-error-500 border-error-500 hover:border-error-400 focus:text-gray-100"],false:["text-gray-100 border-gray-350 hover:border-primary-500"]},withStartIcon:{true:"pl-11",false:"pl-3"},withEndIcon:{true:"pr-11",false:"pr-3"}},defaultVariants:{invalid:!1,withStartIcon:!1,withEndIcon:!1}}),z=classVarianceAuthority.cva(["pointer-events-none absolute bottom-2 top-2 inline-flex w-10 content-center items-center justify-center text-center"],{variants:{disabled:{true:"text-gray-200"},site:{right:"right-0 border-l border-l-gray-400 pr-1",left:"left-0 border-r border-r-gray-400 pl-1"}},defaultVariants:{disabled:!1}});var Er=d__namespace.forwardRef(function({invalid:e=!1,startIcon:t,endIcon:o,disabled:r=!1,className:a,...i},l){let m=me({withEndIcon:!!o,withStartIcon:!!t,invalid:e}),f=z({site:"left",disabled:r}),g=z({site:"right",disabled:r});return jsxRuntime.jsxs("div",{className:"relative text-gray-100 typography-body-2",children:[t?jsxRuntime.jsx("span",{className:f,children:t}):null,jsxRuntime.jsx("input",{...i,"aria-invalid":e||void 0,disabled:r,className:tailwindMerge.twMerge(m,a),ref:l}),o?jsxRuntime.jsx("span",{"aria-hidden":!0,className:g,children:o}):null]})});function Ar({defaultOpen:e,content:t,open:o,onOpenChange:r,children:a,side:i,align:l,collisionPadding:m=8,sideOffset:f=8,...g}){return jsxRuntime.jsxs(c__namespace.Root,{delayDuration:0,open:o,defaultOpen:e,onOpenChange:r,children:[jsxRuntime.jsx(c__namespace.Trigger,{asChild:!0,children:a}),t?jsxRuntime.jsx(c__namespace.Portal,{children:jsxRuntime.jsxs(c__namespace.Content,{className:"text-typography-primary select-none rounded bg-white p-2 will-change-[transform,opacity] typography-body-1 data-[state=delayed-open]:data-[side=bottom]:animate-slideUpAndFade data-[state=delayed-open]:data-[side=left]:animate-slideRightAndFade data-[state=delayed-open]:data-[side=right]:animate-slideLeftAndFade data-[state=delayed-open]:data-[side=top]:animate-slideDownAndFade",sideOffset:f,side:i,align:l,collisionPadding:m,...g,style:{maxWidth:"var(--radix-tooltip-content-available-width)"},children:[t,jsxRuntime.jsx(c__namespace.Arrow,{width:8,height:4,className:"fill-white"})]})}):null]})}function Or({children:e}){return jsxRuntime.jsx(c__namespace.Provider,{skipDelayDuration:500,children:e})}var Re=classVarianceAuthority.cva(["h-28 min-h-10 w-full appearance-none border bg-app-primary px-3 py-2 font-poppins outline-0 transition-colors duration-300 ease-in-out scroll typography-body-2 placeholder:select-none placeholder:text-gray-200","focus:border-primary-400","active:border-primary-400","disabled:border-gray-400 disabled:text-gray-200 disabled:placeholder:text-gray-300"],{variants:{invalid:{true:["text-error-500 border-error-500","hover:border-error-400","focus:text-gray-100"],false:["text-gray-100 border-gray-350","hover:border-primary-500"]}},defaultVariants:{invalid:!1}});var qr=d__namespace.forwardRef(function({invalid:e=!1,...t},o){let r=Re({invalid:e});return jsxRuntime.jsx("textarea",{"aria-invalid":e||void 0,className:r,ref:o,...t})});var he=classVarianceAuthority.cva(["h-10 w-full appearance-none border bg-app-primary py-2 font-poppins outline-0 inline-flex items-center justify-between text-gray-100 typography-body-2 gap-2 transition-colors duration-300 ease-in-out","placeholder:select-none placeholder:text-gray-200","invalid:border-error-500 focus:border-primary-400 active:border-primary-400","disabled:border-gray-400 disabled:text-gray-200 disabled:placeholder:text-gray-300"],{variants:{invalid:{true:["text-error-500 border-error-500 hover:border-error-400 focus:text-gray-100"],false:["text-gray-100 border-gray-350 hover:border-primary-500"]},withStartIcon:{true:"pl-11",false:"pl-3"},withEndIcon:{true:"pr-11",false:"pr-3"}},defaultVariants:{invalid:!1,withStartIcon:!1,withEndIcon:!1}});var Zr=d__namespace.forwardRef(({children:e,placeholder:t,...o},r)=>{let a=he();return jsxRuntime.jsxs(s__namespace.Root,{...o,children:[jsxRuntime.jsxs(s__namespace.Trigger,{className:a,ref:r,children:[jsxRuntime.jsx(s__namespace.Value,{placeholder:t}),jsxRuntime.jsx(s__namespace.Icon,{className:"-mr-1.5",children:jsxRuntime.jsx(n.CaretSortIcon,{className:"h-5 w-5 text-gray-200"})})]}),jsxRuntime.jsx(s__namespace.Portal,{children:jsxRuntime.jsx(s__namespace.Content,{sideOffset:4,position:"popper",className:"z-[51] w-full overflow-hidden border border-gray-400 bg-foreground py-1",children:jsxRuntime.jsx(s__namespace.Viewport,{children:e})})})]})});var oa=d__namespace.forwardRef(({children:e,...t},o)=>jsxRuntime.jsxs(s__namespace.Item,{className:"flex w-full select-none flex-row items-center justify-between px-3 py-2 font-poppins text-gray-100 data-[disabled]:pointer-events-none data-[highlighted]:bg-gray-400 data-[state=checked]:bg-primary-300 data-[highlighted]:outline-none",ref:o,...t,children:[jsxRuntime.jsx(s__namespace.ItemText,{className:"flex-1",children:e}),jsxRuntime.jsx(s__namespace.ItemIndicator,{children:jsxRuntime.jsx(n.CheckIcon,{className:"h-4 w-4"})})]}));var na=d__namespace.forwardRef(({className:e,...t},o)=>jsxRuntime.jsx("div",{ref:o,className:tailwindMerge.twMerge("h-full rounded border border-gray-400 bg-foreground",e),...t}));var ca=d__namespace.forwardRef(({className:e,...t},o)=>jsxRuntime.jsx("div",{ref:o,className:tailwindMerge.twMerge("flex flex-col p-6",e),...t}));var Ra=d__namespace.default.forwardRef(({className:e,...t},o)=>jsxRuntime.jsx("h3",{ref:o,className:tailwindMerge.twMerge("typography-heading-5",e),...t}));var xa=d__namespace.forwardRef(({className:e,...t},o)=>jsxRuntime.jsx("p",{ref:o,className:tailwindMerge.twMerge("text-gray-200 typography-body-2",e),...t}));var Pa=d__namespace.forwardRef(({className:e,...t},o)=>jsxRuntime.jsx("div",{ref:o,className:tailwindMerge.twMerge("p-6 pt-0",e),...t}));var Da=d__namespace.forwardRef(({className:e,...t},o)=>jsxRuntime.jsx("div",{ref:o,className:tailwindMerge.twMerge("flex items-center p-6 pt-0",e),...t}));var Ia=T__namespace.Root;var Ha=T__namespace.Trigger;var Na=T__namespace.Close;var Ie=d__namespace.default.forwardRef(function(e,t){return jsxRuntime.jsx(T__namespace.Overlay,{...e,className:"fixed inset-0 z-50 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",ref:t})});var He=T__namespace.Portal;var Ee=classVarianceAuthority.cva("fixed z-50 border-gray-400 bg-foreground p-4 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{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"}});var _a=d__namespace.forwardRef(function({side:e="right",className:t,children:o,...r},a){return jsxRuntime.jsxs(He,{children:[jsxRuntime.jsx(Ie,{}),jsxRuntime.jsxs(T__namespace.Content,{ref:a,className:tailwindMerge.twMerge(Ee({side:e}),t),...r,children:[o,jsxRuntime.jsxs(T__namespace.Close,{className:"focus:ring-ring absolute right-4 top-4 rounded-sm opacity-70 ring-primary-500 ring-offset-foreground transition-opacity data-[state=open]:bg-foreground hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-offset-2 disabled:pointer-events-none",children:[jsxRuntime.jsx(n.Cross1Icon,{className:"h-4 w-4"}),jsxRuntime.jsx("span",{className:"sr-only",children:"Close"})]})]})]})});function Ya({className:e,...t}){return jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("flex flex-col space-y-2 text-center sm:text-left",e),...t})}function ti({className:e,...t}){return jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t})}var ii=d__namespace.forwardRef(function({className:e,...t},o){return jsxRuntime.jsx(T__namespace.Title,{ref:o,className:tailwindMerge.twMerge("typography-heading-6",e),...t})});var pi=d__namespace.forwardRef(function({className:e,...t},o){return jsxRuntime.jsx(T__namespace.Description,{ref:o,className:tailwindMerge.twMerge("text-gray-200 typography-body-2",e),...t})});var fi=d__namespace.forwardRef(function({className:e,orientation:t="horizontal",decorative:o=!0,...r},a){return jsxRuntime.jsx(We__namespace.Root,{ref:a,decorative:o,orientation:t,className:tailwindMerge.twMerge("shrink-0 bg-gray-400",t==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",e),...r})});function ui({children:e}){return jsxRuntime.jsx("header",{className:"sticky top-0 z-50 w-full border-b border-gray-400 bg-foreground/95 backdrop-blur supports-[backdrop-filter]:bg-foreground/60",children:jsxRuntime.jsx("div",{className:"container flex h-16 items-center",children:e})})}var xi=T__namespace.Root;var bi=T__namespace.Close;var Xe=classVarianceAuthority.cva(["fixed left-1/2 top-1/2 border-gray-400 z-50 flex flex-col w-full -translate-x-1/2 -translate-y-1/2 border bg-foreground p-4 shadow-lg w-full rounded","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%]"],{variants:{width:{xs:"max-w-xs",sm:"max-w-sm",md:"max-w-md",lg:"max-w-lg",xl:"max-w-xl","2xl":"max-w-2xl","3xl":"max-w-3xl","4xl":"max-w-4xl","5xl":"max-w-5xl","6xl":"max-w-6xl",full:"max-w-full"}},defaultVariants:{width:"md"}});var _e=d__namespace.forwardRef(function(e,t){return jsxRuntime.jsx(T__namespace.Overlay,{...e,className:"fixed inset-0 z-50 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",ref:t})});var Ke=T__namespace.Portal;var Ei=d__namespace.forwardRef(function({className:e,children:t,width:o="md",...r},a){return jsxRuntime.jsxs(Ke,{children:[jsxRuntime.jsx(_e,{}),jsxRuntime.jsxs(T__namespace.Content,{ref:a,className:tailwindMerge.twMerge(Xe({width:o}),e),...r,children:[t,jsxRuntime.jsxs(T__namespace.Close,{className:"focus:ring-ring absolute right-4 top-4 rounded-sm opacity-70 ring-primary-500 ring-offset-foreground transition-opacity data-[state=open]:bg-foreground hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-offset-2 disabled:pointer-events-none",children:[jsxRuntime.jsx(n.Cross1Icon,{className:"h-4 w-4"}),jsxRuntime.jsx("span",{className:"sr-only",children:"Close"})]})]})]})});var Ai=T__namespace.Trigger;function Oi({className:e,...t}){return jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("mb-4 flex flex-col space-y-1.5 text-center sm:text-left",e),...t})}function $i({className:e,...t}){return jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("mt-4 flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",e),...t})}var _i=d__namespace.forwardRef(function({className:e,...t},o){return jsxRuntime.jsx(T__namespace.Title,{ref:o,className:tailwindMerge.twMerge("typography-heading-6",e),...t})});var Yi=d__namespace.forwardRef(function({className:e,...t},o){return jsxRuntime.jsx(T__namespace.Description,{ref:o,className:tailwindMerge.twMerge("text-gray-200 typography-body-2",e),...t})});var on=reactHookForm.FormProvider;var C=d__namespace.createContext({});var ln=d__namespace.forwardRef(function({className:e,...t},o){let r=d__namespace.useId();return jsxRuntime.jsx(C.Provider,{value:{id:r},children:jsxRuntime.jsx("div",{ref:o,className:tailwindMerge.twMerge("space-y-2",e),...t})})});var F=d__namespace.createContext({});var hn=({...e})=>jsxRuntime.jsx(F.Provider,{value:{name:e.name},children:jsxRuntime.jsx(reactHookForm.Controller,{...e})});var lt=d__namespace.forwardRef(function({className:e,...t},o){return jsxRuntime.jsx(st__namespace.Root,{ref:o,className:tailwindMerge.twMerge("typography-subtitle-1 peer-disabled:cursor-not-allowed peer-disabled:opacity-70",e),...t})});var R=()=>{let e=d__namespace.useContext(F),t=d__namespace.useContext(C),{getFieldState:o,formState:r}=reactHookForm.useFormContext(),a=o(e.name,r);if(!e)throw new Error("useFormField should be used within <FormField>");let{id:i}=t;return {id:i,name:e.name,formItemId:`${i}-form-item`,formDescriptionId:`${i}-form-item-description`,formMessageId:`${i}-form-item-message`,...a}};var Mn=d__namespace.forwardRef(({className:e,caption:t,...o},r)=>{let{error:a,formItemId:i}=R();return jsxRuntime.jsxs("div",{className:"flex flex-row items-end justify-between",children:[jsxRuntime.jsx(lt,{ref:r,className:tailwindMerge.twMerge(a?"text-error-500":null,e),htmlFor:i,...o}),t?jsxRuntime.jsx("div",{className:"text-gray-200 typography-caption",children:t}):null]})});var An=d__namespace.forwardRef(function(e,t){let{error:o,formItemId:r,formDescriptionId:a,formMessageId:i}=R(),l={...e,invalid:!!o};return jsxRuntime.jsx(reactSlot.Slot,{ref:t,id:r,"aria-describedby":o?`${a} ${i}`:`${a}`,"aria-invalid":!!o,...l})});var dt=classVarianceAuthority.cva("",{variants:{type:{description:"typography-body-2 text-gray-200",error:"typography-caption text-error-500"}},defaultVariants:{type:"description"}});var L=d__namespace.forwardRef(function({className:e,children:t,type:o="description",role:r,...a},i){return jsxRuntime.jsx("p",{ref:i,className:tailwindMerge.twMerge(dt({type:o}),e),role:o==="error"?"alert":r,...a,children:t})});var _n=d__namespace.forwardRef(function({children:e,...t},o){let{error:r,formMessageId:a}=R(),i=r?String(r?.message):e;return i?jsxRuntime.jsx(L,{ref:o,type:"error",id:a,...t,children:i}):null});var Zn=d__namespace.forwardRef(function(e,t){let{formDescriptionId:o}=R();return jsxRuntime.jsx(L,{ref:t,id:o,...e})});var I=d__namespace.default.createContext({});function $o(e){if(typeof window<"u"&&window.localStorage){let t=window.localStorage.getItem("theme");if(t==="dark"||!t&&window.matchMedia("(prefers-color-scheme: dark)").matches)return "dark"}return e??"light"}function is({children:e,defaultTheme:t,theme:o}){let[r,a]=d__namespace.default.useState(o||$o(t));function i(l){typeof window<"u"&&window.localStorage&&(l==="dark"?document.documentElement.classList.add("dark"):document.documentElement.classList.remove("dark"),localStorage.setItem("theme",l));}return d__namespace.default.useEffect(()=>{i(r);},[r]),jsxRuntime.jsx(I.Provider,{value:{theme:r,setTheme:a},children:e})}var cs=()=>d__namespace.default.useContext(I);
46
+ var Q=Object.defineProperty;var Lt=Object.getOwnPropertyDescriptor;var It=Object.getOwnPropertyNames;var Ht=Object.prototype.hasOwnProperty;var Et=(e,t)=>{for(var o in t)Q(e,o,{get:t[o],enumerable:!0});},K=(e,t,o,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of It(t))!Ht.call(e,a)&&a!==o&&Q(e,a,{get:()=>t[a],enumerable:!(r=Lt(t,a))||r.enumerable});return e},h=(e,t,o)=>(K(e,t,"default"),o&&K(o,t,"default"));var Y=classVarianceAuthority.cva("relative flex shrink-0 overflow-hidden rounded",{variants:{size:{sm:"h-6 w-6 text-lg",md:"h-10 w-10 text-xl",lg:"h-14 w-14 text-2xl"}},defaultVariants:{size:"md"}});var Pr=d__namespace.forwardRef(function({className:e,size:t,...o},r){let a=Y({size:t});return jsxRuntime.jsx(j__namespace.Root,{ref:r,className:tailwindMerge.twMerge(a,e),...o})});var Sr=d__namespace.forwardRef(function({className:e,...t},o){return jsxRuntime.jsx(j__namespace.Image,{ref:o,className:tailwindMerge.twMerge("aspect-square h-full w-full",e),...t})});var Lr=d__namespace.forwardRef(function({className:e,...t},o){return jsxRuntime.jsx(j__namespace.Fallback,{ref:o,className:tailwindMerge.twMerge("flex h-full w-full items-center justify-center bg-gray-350",e),...t})});var ae=classVarianceAuthority.cva(["inline-flex items-center justify-center align-middle no-underline transition-colors ease-in-out duration-300","font-sans appearance-none select-none rounded-sm border font-medium tracking-[.02857em]","aria-disabled:pointer-events-none aria-disabled:opacity-50 aria-disabled:cursor-not-allowed"],{variants:{fullWidth:{true:"w-full"},color:{neutral:"",primary:"",success:"",warning:"",error:""},size:{sm:"px-2.5 py-1 text-[.8125rem] leading-4",md:"px-4 py-1.5 text-sm leading-5",lg:"px-5 py-2 text-[.9375rem] leading-6"},variant:{text:"border-transparent bg-transparent",outlined:"bg-transparent",contained:""}},compoundVariants:[{variant:"text",color:"neutral",class:["text-gray-200","hover:border-gray-350 hover:bg-gray-350 hover:text-gray-100","active:border-gray-300 active:bg-gray-300"]},{variant:"text",color:"primary",class:["text-primary-500","hover:border-primary-500 hover:bg-primary-500 hover:text-white","active:border-primary-600 active:bg-primary-600 active:text-white"]},{variant:"text",color:"success",class:["text-success-500","hover:border-success-500 hover:bg-success-500 hover:text-white","active:border-success-600 active:bg-success-600 active:text-white"]},{variant:"text",color:"warning",class:["text-warning-500","hover:border-warning-500 hover:bg-warning-500 hover:text-white","active:border-warning-600 active:bg-warning-600 active:text-white"]},{variant:"text",color:"error",class:["text-error-500","hover:border-error-500 hover:bg-error-500 hover:text-white","active:border-error-600 active:bg-error-600 active:text-white"]},{variant:"outlined",color:"neutral",class:["text-gray-100 border-gray-100","hover:bg-gray-100 hover:text-black","active:text-gray-600 active:bg-gray-200"]},{variant:"outlined",color:"primary",class:["text-primary-500 border-primary-500","hover:bg-primary-500 hover:text-white","active:text-white active:bg-primary-600"]},{variant:"outlined",color:"success",class:["text-success-500 border-success-500","hover:bg-success-500 hover:text-white","active:text-white active:bg-success-600"]},{variant:"outlined",color:"warning",class:["text-warning-500 border-warning-500","hover:bg-warning-500 hover:text-white","active:text-white active:bg-warning-600"]},{variant:"outlined",color:"error",class:["text-error-500 border-error-500","hover:bg-error-500 hover:text-white","active:text-white active:bg-error-600"]},{variant:"contained",color:"neutral",class:["border-gray-100 bg-gray-100 text-black","hover:border-white hover:bg-white","active:border-gray-200 active:bg-gray-200"]},{variant:"contained",color:"primary",class:["border-primary-500 bg-primary-500 text-white","hover:border-primary-400 hover:bg-primary-400","active:border-primary-600 active:bg-primary-600"]},{variant:"contained",color:"success",class:["border-success-500 bg-success-500 text-white","hover:border-success-400 hover:bg-success-400","active:border-success-600 active:bg-success-600"]},{variant:"contained",color:"warning",class:["border-warning-500 bg-warning-500 text-white","hover:border-warning-400 hover:bg-warning-400","active:border-warning-600 active:bg-warning-600"]},{variant:"contained",color:"error",class:["border-error-500 bg-error-500 text-white","hover:border-error-400 hover:bg-error-400","active:border-error-600 active:bg-error-600"]}],defaultVariants:{fullWidth:!1,color:"primary",size:"md",variant:"text"}}),z=classVarianceAuthority.cva("",{variants:{site:{left:"",right:""},size:{sm:"",md:"",lg:""}},compoundVariants:[{site:"left",size:"sm",class:"-ml-0.5 mr-1.5"},{site:"left",size:"md",class:"-ml-1 mr-2"},{site:"left",size:"lg",class:"-ml-1.5 mr-2.5"},{site:"right",size:"sm",class:"-mr-0.5 ml-1.5"},{site:"right",size:"md",class:"-mr-1 ml-2"},{site:"right",size:"lg",class:"-mr-1.5 ml-2.5"}],defaultVariants:{site:"left",size:"md"}}),k=classVarianceAuthority.cva("",{variants:{loading:{true:"motion-reduce:hidden animate-spin"},size:{sm:"h-4.5 w-4.5",md:"h-5 w-5",lg:"h-5.5 w-5.5"}},defaultVariants:{loading:!1,size:"md"}});var l={};Et(l,{Auth0LogoIcon:()=>qt,GoogleLogoIcon:()=>Gt,LoadingIcon:()=>P,XLogoIcon:()=>_t});h(l,Xr__namespace);function Gt(e){return jsxRuntime.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",...e,children:[jsxRuntime.jsx("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),jsxRuntime.jsx("path",{d:"M12 2a9.96 9.96 0 0 1 6.29 2.226a1 1 0 0 1 .04 1.52l-1.51 1.362a1 1 0 0 1 -1.265 .06a6 6 0 1 0 2.103 6.836l.001 -.004h-3.66a1 1 0 0 1 -.992 -.883l-.007 -.117v-2a1 1 0 0 1 1 -1h6.945a1 1 0 0 1 .994 .89c.04 .367 .061 .737 .061 1.11c0 5.523 -4.477 10 -10 10s-10 -4.477 -10 -10s4.477 -10 10 -10z",strokeWidth:"0",fill:"currentColor"})]})}function P(e){return jsxRuntime.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",fill:"currentColor",version:"1.1",viewBox:"0 0 26.349 26.35",xmlSpace:"preserve",...e,children:jsxRuntime.jsx("g",{children:jsxRuntime.jsxs("g",{children:[jsxRuntime.jsx("circle",{cx:"13.792",cy:"3.082",r:"3.082"}),jsxRuntime.jsx("circle",{cx:"13.792",cy:"24.501",r:"1.849"}),jsxRuntime.jsx("circle",{cx:"6.219",cy:"6.218",r:"2.774"}),jsxRuntime.jsx("circle",{cx:"21.365",cy:"21.363",r:"1.541"}),jsxRuntime.jsx("circle",{cx:"3.082",cy:"13.792",r:"2.465"}),jsxRuntime.jsx("circle",{cx:"24.501",cy:"13.791",r:"1.232"}),jsxRuntime.jsx("path",{d:"M4.694,19.84c-0.843,0.843-0.843,2.207,0,3.05c0.842,0.843,2.208,0.843,3.05,0c0.843-0.843,0.843-2.207,0-3.05 C6.902,18.996,5.537,18.988,4.694,19.84z"}),jsxRuntime.jsx("circle",{cx:"21.364",cy:"6.218",r:"0.924"})]})})})}function qt(e){return jsxRuntime.jsxs("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("title",{}),jsxRuntime.jsx("path",{d:"M21.98 7.448L19.62 0H4.347L2.02 7.448c-1.352 4.312.03 9.206 3.815 12.015L12.007 24l6.157-4.552c3.755-2.81 5.182-7.688 3.815-12.015l-6.16 4.58 2.343 7.45-6.157-4.597-6.158 4.58 2.358-7.433-6.188-4.55 7.63-.045L12.008 0l2.356 7.404 7.615.044z",fill:"currentColor"})]})}function _t(e){return jsxRuntime.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",version:"1.1",id:"Layer_1",width:"24px",height:"24px",viewBox:"0 0 24 24",...e,children:jsxRuntime.jsx("path",{d:"M14.095479,10.316482L22.286354,1h-1.940718l-7.115352,8.087682L7.551414,1H1l8.589488,12.231093L1,23h1.940717 l7.509372-8.542861L16.448587,23H23L14.095479,10.316482z M11.436522,13.338465l-0.871624-1.218704l-6.924311-9.68815h2.981339 l5.58978,7.82155l0.867949,1.218704l7.26506,10.166271h-2.981339L11.436522,13.338465z",fill:"currentColor"})})}var Zr=d__namespace.forwardRef(function({asChild:e=!1,variant:t="text",color:o="primary",disabled:r=!1,fullWidth:a=!1,...i},s){let{children:m,type:f="button",loading:g=!1,size:I="md",loadingPosition:b="start",endIcon:H,startIcon:J,...E}=i,y=e?reactSlot.Slot:"button",w=ae({fullWidth:a,size:I,variant:t,color:o}),N=r||g;return jsxRuntime.jsx(y,{...e?i:E,"aria-disabled":N||void 0,className:w,"data-state":g?"loading":void 0,disabled:N,ref:s,role:y!=="button"?"button":void 0,tabIndex:N?-1:0,type:y==="button"?f:void 0,children:e?jsxRuntime.jsx(se,{children:m}):jsxRuntime.jsx(se,{...i})})});function se({children:e,loading:t=!1,size:o="md",loadingPosition:r="start",startIcon:a,endIcon:i,...s}){let m=t&&r==="start",f=m?jsxRuntime.jsx(P,{"aria-label":"Loading"}):a||null,g=k({size:o,loading:m}),I=z({size:o,site:"left"}),b=t&&r==="end",H=b?jsxRuntime.jsx(P,{"aria-label":"Loading"}):i||null,J=k({size:o,loading:b}),E=z({size:o,site:"right"}),y=f?jsxRuntime.jsx("span",{className:I,role:m?"progressbar":void 0,children:d__namespace.cloneElement(f,{className:g})}):null,w=H?jsxRuntime.jsx("span",{className:E,role:b?"progressbar":void 0,children:d__namespace.cloneElement(H,{className:J})}):null;return d__namespace.isValidElement(e)?d__namespace.cloneElement(e,{...s,children:jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[y,d__namespace.isValidElement(e)?e.props.children:null,w]})}):jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[y,e,w]})}var de=classVarianceAuthority.cva(["h-10 w-full appearance-none border bg-app-primary py-2 font-poppins outline-0 transition-colors duration-300 ease-in-out","placeholder:select-none placeholder:text-gray-200","invalid:border-error-500 focus:border-primary-400 active:border-primary-400","disabled:border-gray-400 disabled:text-gray-200 disabled:placeholder:text-gray-300"],{variants:{invalid:{true:["text-error-500 border-error-500 hover:border-error-400 focus:text-gray-100"],false:["text-gray-100 border-gray-350 hover:border-primary-500"]},withStartIcon:{true:"pl-11",false:"pl-3"},withEndIcon:{true:"pr-11",false:"pr-3"}},defaultVariants:{invalid:!1,withStartIcon:!1,withEndIcon:!1}}),O=classVarianceAuthority.cva(["pointer-events-none absolute bottom-2 top-2 inline-flex w-10 content-center items-center justify-center text-center"],{variants:{disabled:{true:"text-gray-200"},site:{right:"right-0 border-l border-l-gray-400 pr-1",left:"left-0 border-r border-r-gray-400 pl-1"}},defaultVariants:{disabled:!1}});var ia=d__namespace.forwardRef(function({invalid:e=!1,startIcon:t,endIcon:o,disabled:r=!1,className:a,...i},s){let m=de({withEndIcon:!!o,withStartIcon:!!t,invalid:e}),f=O({site:"left",disabled:r}),g=O({site:"right",disabled:r});return jsxRuntime.jsxs("div",{className:"relative text-gray-100 typography-body-2",children:[t?jsxRuntime.jsx("span",{className:f,children:t}):null,jsxRuntime.jsx("input",{...i,"aria-invalid":e||void 0,disabled:r,className:tailwindMerge.twMerge(m,a),ref:s}),o?jsxRuntime.jsx("span",{"aria-hidden":!0,className:g,children:o}):null]})});function sa({defaultOpen:e,content:t,open:o,onOpenChange:r,children:a,side:i,align:s,collisionPadding:m=8,sideOffset:f=8,...g}){return jsxRuntime.jsxs(c__namespace.Root,{delayDuration:0,open:o,defaultOpen:e,onOpenChange:r,children:[jsxRuntime.jsx(c__namespace.Trigger,{asChild:!0,children:a}),t?jsxRuntime.jsx(c__namespace.Portal,{children:jsxRuntime.jsxs(c__namespace.Content,{className:"text-typography-primary select-none rounded bg-white p-2 will-change-[transform,opacity] typography-body-1 data-[state=delayed-open]:data-[side=bottom]:animate-slideUpAndFade data-[state=delayed-open]:data-[side=left]:animate-slideRightAndFade data-[state=delayed-open]:data-[side=right]:animate-slideLeftAndFade data-[state=delayed-open]:data-[side=top]:animate-slideDownAndFade",sideOffset:f,side:i,align:s,collisionPadding:m,...g,style:{maxWidth:"var(--radix-tooltip-content-available-width)"},children:[t,jsxRuntime.jsx(c__namespace.Arrow,{width:8,height:4,className:"fill-white"})]})}):null]})}function ma({children:e}){return jsxRuntime.jsx(c__namespace.Provider,{skipDelayDuration:500,children:e})}var ue=classVarianceAuthority.cva(["h-28 min-h-10 w-full appearance-none border bg-app-primary px-3 py-2 font-poppins outline-0 transition-colors duration-300 ease-in-out scroll typography-body-2 placeholder:select-none placeholder:text-gray-200","focus:border-primary-400","active:border-primary-400","disabled:border-gray-400 disabled:text-gray-200 disabled:placeholder:text-gray-300"],{variants:{invalid:{true:["text-error-500 border-error-500","hover:border-error-400","focus:text-gray-100"],false:["text-gray-100 border-gray-350","hover:border-primary-500"]}},defaultVariants:{invalid:!1}});var ya=d__namespace.forwardRef(function({invalid:e=!1,...t},o){let r=ue({invalid:e});return jsxRuntime.jsx("textarea",{"aria-invalid":e||void 0,className:r,ref:o,...t})});var he=classVarianceAuthority.cva(["h-10 px-3 w-full appearance-none border bg-app-primary py-2 font-poppins outline-0 inline-flex items-center justify-between text-gray-100 typography-body-2 gap-2 transition-colors duration-300 ease-in-out","placeholder:select-none placeholder:text-gray-200","invalid:border-error-500 focus:border-primary-400 active:border-primary-400","disabled:border-gray-400 disabled:text-gray-200 disabled:placeholder:text-gray-300"],{variants:{invalid:{true:["text-error-500 border-error-500 hover:border-error-400 focus:text-gray-100"],false:["text-gray-100 border-gray-350 hover:border-primary-500"]}},defaultVariants:{invalid:!1}});var Ta=d__namespace.forwardRef(function({children:e,placeholder:t,invalid:o=!1,...r},a){let i=he({invalid:o});return jsxRuntime.jsxs(n__namespace.Root,{...r,children:[jsxRuntime.jsxs(n__namespace.Trigger,{className:i,ref:a,children:[jsxRuntime.jsx(n__namespace.Value,{placeholder:t}),jsxRuntime.jsx(n__namespace.Icon,{className:"-mr-1.5",children:jsxRuntime.jsx(l.CaretSortIcon,{className:"h-5 w-5 text-gray-200"})})]}),jsxRuntime.jsx(n__namespace.Portal,{children:jsxRuntime.jsx(n__namespace.Content,{sideOffset:4,className:"w-full overflow-hidden border border-gray-400 bg-foreground py-1 z-50",children:jsxRuntime.jsx(n__namespace.Viewport,{children:e})})})]})});var Aa=d__namespace.forwardRef(({children:e,...t},o)=>jsxRuntime.jsxs(n__namespace.Item,{className:"flex w-full select-none flex-row items-center justify-between px-3 py-2 font-poppins text-gray-100 data-[disabled]:pointer-events-none data-[highlighted]:bg-gray-400 data-[state=checked]:bg-primary-300 data-[highlighted]:outline-none",ref:o,...t,children:[jsxRuntime.jsx(n__namespace.ItemText,{className:"flex-1",children:e}),jsxRuntime.jsx(n__namespace.ItemIndicator,{children:jsxRuntime.jsx(l.CheckIcon,{className:"h-4 w-4"})})]}));var Ia=d__namespace.forwardRef(({className:e,...t},o)=>jsxRuntime.jsx("div",{ref:o,className:tailwindMerge.twMerge("h-full rounded border border-gray-400 bg-foreground",e),...t}));var Va=d__namespace.forwardRef(({className:e,...t},o)=>jsxRuntime.jsx("div",{ref:o,className:tailwindMerge.twMerge("flex flex-col p-6",e),...t}));var Ba=d__namespace.default.forwardRef(({className:e,...t},o)=>jsxRuntime.jsx("h3",{ref:o,className:tailwindMerge.twMerge("typography-heading-5",e),...t}));var qa=d__namespace.forwardRef(({className:e,...t},o)=>jsxRuntime.jsx("p",{ref:o,className:tailwindMerge.twMerge("text-gray-200 typography-body-2",e),...t}));var Ka=d__namespace.forwardRef(({className:e,...t},o)=>jsxRuntime.jsx("div",{ref:o,className:tailwindMerge.twMerge("p-6 pt-0",e),...t}));var ja=d__namespace.forwardRef(({className:e,...t},o)=>jsxRuntime.jsx("div",{ref:o,className:tailwindMerge.twMerge("flex items-center p-6 pt-0",e),...t}));var oi=T__namespace.Root;var ai=T__namespace.Trigger;var li=T__namespace.Close;var Le=d__namespace.default.forwardRef(function(e,t){return jsxRuntime.jsx(T__namespace.Overlay,{...e,className:"fixed inset-0 z-50 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",ref:t})});var He=T__namespace.Portal;var Ee=classVarianceAuthority.cva("fixed z-50 border-gray-400 bg-foreground p-4 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{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"}});var xi=d__namespace.forwardRef(function({side:e="right",className:t,children:o,...r},a){return jsxRuntime.jsxs(He,{children:[jsxRuntime.jsx(Le,{}),jsxRuntime.jsxs(T__namespace.Content,{ref:a,className:tailwindMerge.twMerge(Ee({side:e}),t),...r,children:[o,jsxRuntime.jsxs(T__namespace.Close,{className:"focus:ring-ring absolute right-4 top-4 rounded-sm opacity-70 ring-primary-500 ring-offset-foreground transition-opacity data-[state=open]:bg-foreground hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-offset-2 disabled:pointer-events-none",children:[jsxRuntime.jsx(l.Cross1Icon,{className:"h-4 w-4"}),jsxRuntime.jsx("span",{className:"sr-only",children:"Close"})]})]})]})});function Pi({className:e,...t}){return jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("flex flex-col space-y-2 text-center sm:text-left",e),...t})}function Si({className:e,...t}){return jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t})}var Li=d__namespace.forwardRef(function({className:e,...t},o){return jsxRuntime.jsx(T__namespace.Title,{ref:o,className:tailwindMerge.twMerge("typography-heading-6",e),...t})});var Ni=d__namespace.forwardRef(function({className:e,...t},o){return jsxRuntime.jsx(T__namespace.Description,{ref:o,className:tailwindMerge.twMerge("text-gray-200 typography-body-2",e),...t})});var Oi=d__namespace.forwardRef(function({className:e,orientation:t="horizontal",decorative:o=!0,...r},a){return jsxRuntime.jsx(Be__namespace.Root,{ref:a,decorative:o,orientation:t,className:tailwindMerge.twMerge("shrink-0 bg-gray-400",t==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",e),...r})});function Gi({children:e}){return jsxRuntime.jsx("header",{className:"sticky top-0 z-50 w-full border-b border-gray-400 bg-foreground/95 backdrop-blur supports-[backdrop-filter]:bg-foreground/60",children:jsxRuntime.jsx("div",{className:"container flex h-16 items-center",children:e})})}var qi=T__namespace.Root;var _i=T__namespace.Close;var qe=classVarianceAuthority.cva(["fixed left-1/2 top-1/2 border-gray-400 z-50 flex flex-col w-full -translate-x-1/2 -translate-y-1/2 border bg-foreground p-4 shadow-lg w-full rounded","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%]"],{variants:{width:{xs:"max-w-xs",sm:"max-w-sm",md:"max-w-md",lg:"max-w-lg",xl:"max-w-xl","2xl":"max-w-2xl","3xl":"max-w-3xl","4xl":"max-w-4xl","5xl":"max-w-5xl","6xl":"max-w-6xl",full:"max-w-full"}},defaultVariants:{width:"md"}});var Je=d__namespace.forwardRef(function(e,t){return jsxRuntime.jsx(T__namespace.Overlay,{...e,className:"fixed inset-0 z-50 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",ref:t})});var Qe=T__namespace.Portal;var il=d__namespace.forwardRef(function({className:e,children:t,width:o="md",...r},a){return jsxRuntime.jsxs(Qe,{children:[jsxRuntime.jsx(Je,{}),jsxRuntime.jsxs(T__namespace.Content,{ref:a,className:tailwindMerge.twMerge(qe({width:o}),e),...r,children:[t,jsxRuntime.jsxs(T__namespace.Close,{className:"focus:ring-ring absolute right-4 top-4 rounded-sm opacity-70 ring-primary-500 ring-offset-foreground transition-opacity data-[state=open]:bg-foreground hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-offset-2 disabled:pointer-events-none",children:[jsxRuntime.jsx(l.Cross1Icon,{className:"h-4 w-4"}),jsxRuntime.jsx("span",{className:"sr-only",children:"Close"})]})]})]})});var sl=T__namespace.Trigger;function ml({className:e,...t}){return jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("mb-4 flex flex-col space-y-1.5 text-center sm:text-left",e),...t})}function Rl({className:e,...t}){return jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("mt-4 flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",e),...t})}var xl=d__namespace.forwardRef(function({className:e,...t},o){return jsxRuntime.jsx(T__namespace.Title,{ref:o,className:tailwindMerge.twMerge("typography-heading-6",e),...t})});var Pl=d__namespace.forwardRef(function({className:e,...t},o){return jsxRuntime.jsx(T__namespace.Description,{ref:o,className:tailwindMerge.twMerge("text-gray-200 typography-body-2",e),...t})});var Al=reactHookForm.FormProvider;var C=d__namespace.createContext({});var Hl=d__namespace.forwardRef(function({className:e,...t},o){let r=d__namespace.useId();return jsxRuntime.jsx(C.Provider,{value:{id:r},children:jsxRuntime.jsx("div",{ref:o,className:tailwindMerge.twMerge("space-y-2",e),...t})})});var A=d__namespace.createContext({});var Gl=({...e})=>jsxRuntime.jsx(A.Provider,{value:{name:e.name},children:jsxRuntime.jsx(reactHookForm.Controller,{...e})});var pt=d__namespace.forwardRef(function({className:e,...t},o){return jsxRuntime.jsx(st__namespace.Root,{ref:o,className:tailwindMerge.twMerge("typography-subtitle-1 peer-disabled:cursor-not-allowed peer-disabled:opacity-70",e),...t})});var R=()=>{let e=d__namespace.useContext(A),t=d__namespace.useContext(C),{getFieldState:o,formState:r}=reactHookForm.useFormContext(),a=o(e.name,r);if(!e)throw new Error("useFormField should be used within <FormField>");let{id:i}=t;return {id:i,name:e.name,formItemId:`${i}-form-item`,formDescriptionId:`${i}-form-item-description`,formMessageId:`${i}-form-item-message`,...a}};var on=d__namespace.forwardRef(({className:e,caption:t,...o},r)=>{let{error:a,formItemId:i}=R();return jsxRuntime.jsxs("div",{className:"flex flex-row items-end justify-between",children:[jsxRuntime.jsx(pt,{ref:r,className:tailwindMerge.twMerge(a?"text-error-500":null,e),htmlFor:i,...o}),t?jsxRuntime.jsx("div",{className:"text-gray-200 typography-caption",children:t}):null]})});var sn=d__namespace.forwardRef(function(e,t){let{error:o,formItemId:r,formDescriptionId:a,formMessageId:i}=R(),s={...e,invalid:!!o};return jsxRuntime.jsx(reactSlot.Slot,{ref:t,id:r,"aria-describedby":o?`${a} ${i}`:`${a}`,"aria-invalid":!!o,...s})});var ft=classVarianceAuthority.cva("",{variants:{type:{description:"typography-body-2 text-gray-200",error:"typography-caption text-error-500"}},defaultVariants:{type:"description"}});var F=d__namespace.forwardRef(function({className:e,children:t,type:o="description",role:r,...a},i){return jsxRuntime.jsx("p",{ref:i,className:tailwindMerge.twMerge(ft({type:o}),e),role:o==="error"?"alert":r,...a,children:t})});var xn=d__namespace.forwardRef(function({children:e,...t},o){let{error:r,formMessageId:a}=R(),i=r?String(r?.message):e;return i?jsxRuntime.jsx(F,{ref:o,type:"error",id:a,...t,children:i}):null});var Tn=d__namespace.forwardRef(function(e,t){let{formDescriptionId:o}=R();return jsxRuntime.jsx(F,{ref:t,id:o,...e})});var Sn=M__namespace.Root;var Fn=M__namespace.Trigger;var bt=d__namespace.forwardRef(function({className:e,...t},o){return jsxRuntime.jsx(M__namespace.Overlay,{className:tailwindMerge.twMerge("fixed inset-0 z-60 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:o})});var Vn=d__namespace.forwardRef(function({className:e,...t},o){return jsxRuntime.jsxs(M__namespace.Portal,{children:[jsxRuntime.jsx(bt,{}),jsxRuntime.jsx(M__namespace.Content,{ref:o,className:tailwindMerge.twMerge("fixed left-1/2 top-1/2 border-gray-400 z-50 flex flex-col w-full -translate-x-1/2 -translate-y-1/2 border bg-foreground p-4 shadow-lg rounded 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%] max-w-lg",e),...t})]})});function Wn({className:e,...t}){return jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("flex flex-col space-y-2 text-center sm:text-left mb-4",e),...t})}function Xn({className:e,...t}){return jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("flex flex-col-reverse sm:flex-row sm:justify-end gap-2",e),...t})}var Jn=d__namespace.forwardRef(({className:e,...t},o)=>jsxRuntime.jsx(M__namespace.Title,{ref:o,className:tailwindMerge.twMerge("typography-heading-6",e),...t}));var Zn=d__namespace.forwardRef(function({className:e,...t},o){return jsxRuntime.jsx(M__namespace.Description,{ref:o,className:tailwindMerge.twMerge("text-gray-200 typography-body-2",e),...t})});var ts=M__namespace.Action;var rs=M__namespace.Cancel;var L=d__namespace.default.createContext({});function Rr(e){if(typeof window<"u"&&window.localStorage){let t=window.localStorage.getItem("theme");if(t==="dark"||!t&&window.matchMedia("(prefers-color-scheme: dark)").matches)return "dark"}return e??"light"}function ps({children:e,defaultTheme:t,theme:o}){let[r,a]=d__namespace.default.useState(o||Rr(t));function i(s){typeof window<"u"&&window.localStorage&&(s==="dark"?document.documentElement.classList.add("dark"):document.documentElement.classList.remove("dark"),localStorage.setItem("theme",s));}return d__namespace.default.useEffect(()=>{i(r);},[r]),jsxRuntime.jsx(L.Provider,{value:{theme:r,setTheme:a},children:e})}var gs=()=>d__namespace.default.useContext(L);
45
47
 
46
- exports.Avatar = Yo;
47
- exports.AvatarFallback = ir;
48
- exports.AvatarImage = tr;
49
- exports.Button = Cr;
50
- exports.Card = na;
51
- exports.CardContent = Pa;
52
- exports.CardDescription = xa;
53
- exports.CardFooter = Da;
54
- exports.CardHeader = ca;
55
- exports.CardTitle = Ra;
56
- exports.Dialog = xi;
57
- exports.DialogClose = bi;
58
- exports.DialogContent = Ei;
59
- exports.DialogDescription = Yi;
60
- exports.DialogFooter = $i;
61
- exports.DialogHeader = Oi;
62
- exports.DialogTitle = _i;
63
- exports.DialogTrigger = Ai;
64
- exports.Form = on;
65
- exports.FormControl = An;
66
- exports.FormDescription = Zn;
67
- exports.FormField = hn;
68
- exports.FormItem = ln;
69
- exports.FormLabel = Mn;
70
- exports.FormMessage = _n;
71
- exports.Header = ui;
72
- exports.HelperText = L;
73
- exports.Input = Er;
74
- exports.Label = lt;
75
- exports.Select = Zr;
76
- exports.SelectItem = oa;
77
- exports.Separator = fi;
78
- exports.Sheet = Ia;
79
- exports.SheetClose = Na;
80
- exports.SheetContent = _a;
81
- exports.SheetDescription = pi;
82
- exports.SheetFooter = ti;
83
- exports.SheetHeader = Ya;
84
- exports.SheetTitle = ii;
85
- exports.SheetTrigger = Ha;
86
- exports.Textarea = qr;
87
- exports.ThemeContext = I;
88
- exports.ThemeProvider = is;
89
- exports.Tooltip = Ar;
90
- exports.TooltipProvider = Or;
91
- exports.useTheme = cs;
48
+ exports.AlertDialog = Sn;
49
+ exports.AlertDialogAction = ts;
50
+ exports.AlertDialogCancel = rs;
51
+ exports.AlertDialogContent = Vn;
52
+ exports.AlertDialogDescription = Zn;
53
+ exports.AlertDialogFooter = Xn;
54
+ exports.AlertDialogHeader = Wn;
55
+ exports.AlertDialogTitle = Jn;
56
+ exports.AlertDialogTrigger = Fn;
57
+ exports.Avatar = Pr;
58
+ exports.AvatarFallback = Lr;
59
+ exports.AvatarImage = Sr;
60
+ exports.Button = Zr;
61
+ exports.Card = Ia;
62
+ exports.CardContent = Ka;
63
+ exports.CardDescription = qa;
64
+ exports.CardFooter = ja;
65
+ exports.CardHeader = Va;
66
+ exports.CardTitle = Ba;
67
+ exports.Dialog = qi;
68
+ exports.DialogClose = _i;
69
+ exports.DialogContent = il;
70
+ exports.DialogDescription = Pl;
71
+ exports.DialogFooter = Rl;
72
+ exports.DialogHeader = ml;
73
+ exports.DialogTitle = xl;
74
+ exports.DialogTrigger = sl;
75
+ exports.Form = Al;
76
+ exports.FormControl = sn;
77
+ exports.FormDescription = Tn;
78
+ exports.FormField = Gl;
79
+ exports.FormItem = Hl;
80
+ exports.FormLabel = on;
81
+ exports.FormMessage = xn;
82
+ exports.Header = Gi;
83
+ exports.HelperText = F;
84
+ exports.Input = ia;
85
+ exports.Label = pt;
86
+ exports.Select = Ta;
87
+ exports.SelectItem = Aa;
88
+ exports.Separator = Oi;
89
+ exports.Sheet = oi;
90
+ exports.SheetClose = li;
91
+ exports.SheetContent = xi;
92
+ exports.SheetDescription = Ni;
93
+ exports.SheetFooter = Si;
94
+ exports.SheetHeader = Pi;
95
+ exports.SheetTitle = Li;
96
+ exports.SheetTrigger = ai;
97
+ exports.Textarea = ya;
98
+ exports.ThemeContext = L;
99
+ exports.ThemeProvider = ps;
100
+ exports.Tooltip = sa;
101
+ exports.TooltipProvider = ma;
102
+ exports.useTheme = gs;
package/dist/index.mjs CHANGED
@@ -1,18 +1,19 @@
1
1
  import * as d from 'react';
2
2
  import d__default from 'react';
3
- import * as Z from '@radix-ui/react-avatar';
3
+ import * as j from '@radix-ui/react-avatar';
4
4
  import { twMerge } from 'tailwind-merge';
5
5
  import { cva } from 'class-variance-authority';
6
6
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
7
7
  import { Slot } from '@radix-ui/react-slot';
8
- import * as yr from '@radix-ui/react-icons';
8
+ import * as Xr from '@radix-ui/react-icons';
9
9
  import * as c from '@radix-ui/react-tooltip';
10
- import * as s from '@radix-ui/react-select';
10
+ import * as n from '@radix-ui/react-select';
11
11
  import * as T from '@radix-ui/react-dialog';
12
- import * as We from '@radix-ui/react-separator';
12
+ import * as Be from '@radix-ui/react-separator';
13
13
  import { FormProvider, Controller, useFormContext } from 'react-hook-form';
14
14
  import * as st from '@radix-ui/react-label';
15
+ import * as M from '@radix-ui/react-alert-dialog';
15
16
 
16
- var K=Object.defineProperty;var ht=Object.getOwnPropertyDescriptor;var yt=Object.getOwnPropertyNames;var xt=Object.prototype.hasOwnProperty;var vt=(e,t)=>{for(var o in t)K(e,o,{get:t[o],enumerable:!0});},J=(e,t,o,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of yt(t))!xt.call(e,a)&&a!==o&&K(e,a,{get:()=>t[a],enumerable:!(r=ht(t,a))||r.enumerable});return e},y=(e,t,o)=>(J(e,t,"default"),o&&J(o,t,"default"));var Q=cva("relative flex shrink-0 overflow-hidden rounded",{variants:{size:{sm:"h-6 w-6 text-lg",md:"h-10 w-10 text-xl",lg:"h-14 w-14 text-2xl"}},defaultVariants:{size:"md"}});var Yo=d.forwardRef(function({className:e,size:t,...o},r){let a=Q({size:t});return jsx(Z.Root,{ref:r,className:twMerge(a,e),...o})});var tr=d.forwardRef(function({className:e,...t},o){return jsx(Z.Image,{ref:o,className:twMerge("aspect-square h-full w-full",e),...t})});var ir=d.forwardRef(function({className:e,...t},o){return jsx(Z.Fallback,{ref:o,className:twMerge("flex h-full w-full items-center justify-center bg-gray-350",e),...t})});var re=cva(["inline-flex items-center justify-center align-middle no-underline transition-colors ease-in-out duration-300","font-sans appearance-none select-none rounded-sm border font-medium tracking-[.02857em]","aria-disabled:pointer-events-none aria-disabled:opacity-50 aria-disabled:cursor-not-allowed"],{variants:{fullWidth:{true:"w-full"},color:{neutral:"",primary:"",success:"",warning:"",error:""},size:{sm:"px-2.5 py-1 text-[.8125rem] leading-4",md:"px-4 py-1.5 text-sm leading-5",lg:"px-5 py-2 text-[.9375rem] leading-6"},variant:{text:"border-transparent bg-transparent",outlined:"bg-transparent",contained:""}},compoundVariants:[{variant:"text",color:"neutral",class:["text-gray-100","hover:border-gray-100 hover:bg-gray-100 hover:text-black","active:border-gray-200 active:bg-gray-200"]},{variant:"text",color:"primary",class:["text-primary-500","hover:border-primary-500 hover:bg-primary-500 hover:text-white","active:border-primary-600 active:bg-primary-600 active:text-white"]},{variant:"text",color:"success",class:["text-success-500","hover:border-success-500 hover:bg-success-500 hover:text-white","active:border-success-600 active:bg-success-600 active:text-white"]},{variant:"text",color:"warning",class:["text-warning-500","hover:border-warning-500 hover:bg-warning-500 hover:text-white","active:border-warning-600 active:bg-warning-600 active:text-white"]},{variant:"text",color:"error",class:["text-error-500","hover:border-error-500 hover:bg-error-500 hover:text-white","active:border-error-600 active:bg-error-600 active:text-white"]},{variant:"outlined",color:"neutral",class:["text-gray-100 border-gray-100","hover:bg-gray-100 hover:text-black","active:text-gray-600 active:bg-gray-200"]},{variant:"outlined",color:"primary",class:["text-primary-500 border-primary-500","hover:bg-primary-500 hover:text-white","active:text-white active:bg-primary-600"]},{variant:"outlined",color:"success",class:["text-success-500 border-success-500","hover:bg-success-500 hover:text-white","active:text-white active:bg-success-600"]},{variant:"outlined",color:"warning",class:["text-warning-500 border-warning-500","hover:bg-warning-500 hover:text-white","active:text-white active:bg-warning-600"]},{variant:"outlined",color:"error",class:["text-error-500 border-error-500","hover:bg-error-500 hover:text-white","active:text-white active:bg-error-600"]},{variant:"contained",color:"neutral",class:["border-gray-100 bg-gray-100 text-black","hover:border-white hover:bg-white","active:border-gray-200 active:bg-gray-200"]},{variant:"contained",color:"primary",class:["border-primary-500 bg-primary-500 text-white","hover:border-primary-400 hover:bg-primary-400","active:border-primary-600 active:bg-primary-600"]},{variant:"contained",color:"success",class:["border-success-500 bg-success-500 text-white","hover:border-success-400 hover:bg-success-400","active:border-success-600 active:bg-success-600"]},{variant:"contained",color:"warning",class:["border-warning-500 bg-warning-500 text-white","hover:border-warning-400 hover:bg-warning-400","active:border-warning-600 active:bg-warning-600"]},{variant:"contained",color:"error",class:["border-error-500 bg-error-500 text-white","hover:border-error-400 hover:bg-error-400","active:border-error-600 active:bg-error-600"]}],defaultVariants:{fullWidth:!1,color:"primary",size:"md",variant:"text"}}),A=cva("",{variants:{site:{left:"",right:""},size:{sm:"",md:"",lg:""}},compoundVariants:[{site:"left",size:"sm",class:"-ml-0.5 mr-1.5"},{site:"left",size:"md",class:"-ml-1 mr-2"},{site:"left",size:"lg",class:"-ml-1.5 mr-2.5"},{site:"right",size:"sm",class:"-mr-0.5 ml-1.5"},{site:"right",size:"md",class:"-mr-1 ml-2"},{site:"right",size:"lg",class:"-mr-1.5 ml-2.5"}],defaultVariants:{site:"left",size:"md"}}),k=cva("",{variants:{loading:{true:"motion-reduce:hidden animate-spin"},size:{sm:"h-4.5 w-4.5",md:"h-5 w-5",lg:"h-5.5 w-5.5"}},defaultVariants:{loading:!1,size:"md"}});var n={};vt(n,{Auth0LogoIcon:()=>Mt,GoogleLogoIcon:()=>Ft,LoadingIcon:()=>P,XLogoIcon:()=>Et});y(n,yr);function Ft(e){return jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",...e,children:[jsx("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),jsx("path",{d:"M12 2a9.96 9.96 0 0 1 6.29 2.226a1 1 0 0 1 .04 1.52l-1.51 1.362a1 1 0 0 1 -1.265 .06a6 6 0 1 0 2.103 6.836l.001 -.004h-3.66a1 1 0 0 1 -.992 -.883l-.007 -.117v-2a1 1 0 0 1 1 -1h6.945a1 1 0 0 1 .994 .89c.04 .367 .061 .737 .061 1.11c0 5.523 -4.477 10 -10 10s-10 -4.477 -10 -10s4.477 -10 10 -10z",strokeWidth:"0",fill:"currentColor"})]})}function P(e){return jsx("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",fill:"currentColor",version:"1.1",viewBox:"0 0 26.349 26.35",xmlSpace:"preserve",...e,children:jsx("g",{children:jsxs("g",{children:[jsx("circle",{cx:"13.792",cy:"3.082",r:"3.082"}),jsx("circle",{cx:"13.792",cy:"24.501",r:"1.849"}),jsx("circle",{cx:"6.219",cy:"6.218",r:"2.774"}),jsx("circle",{cx:"21.365",cy:"21.363",r:"1.541"}),jsx("circle",{cx:"3.082",cy:"13.792",r:"2.465"}),jsx("circle",{cx:"24.501",cy:"13.791",r:"1.232"}),jsx("path",{d:"M4.694,19.84c-0.843,0.843-0.843,2.207,0,3.05c0.842,0.843,2.208,0.843,3.05,0c0.843-0.843,0.843-2.207,0-3.05 C6.902,18.996,5.537,18.988,4.694,19.84z"}),jsx("circle",{cx:"21.364",cy:"6.218",r:"0.924"})]})})})}function Mt(e){return jsxs("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsx("title",{}),jsx("path",{d:"M21.98 7.448L19.62 0H4.347L2.02 7.448c-1.352 4.312.03 9.206 3.815 12.015L12.007 24l6.157-4.552c3.755-2.81 5.182-7.688 3.815-12.015l-6.16 4.58 2.343 7.45-6.157-4.597-6.158 4.58 2.358-7.433-6.188-4.55 7.63-.045L12.008 0l2.356 7.404 7.615.044z",fill:"currentColor"})]})}function Et(e){return jsx("svg",{xmlns:"http://www.w3.org/2000/svg",version:"1.1",id:"Layer_1",width:"24px",height:"24px",viewBox:"0 0 24 24",...e,children:jsx("path",{d:"M14.095479,10.316482L22.286354,1h-1.940718l-7.115352,8.087682L7.551414,1H1l8.589488,12.231093L1,23h1.940717 l7.509372-8.542861L16.448587,23H23L14.095479,10.316482z M11.436522,13.338465l-0.871624-1.218704l-6.924311-9.68815h2.981339 l5.58978,7.82155l0.867949,1.218704l7.26506,10.166271h-2.981339L11.436522,13.338465z",fill:"currentColor"})})}var Cr=d.forwardRef(function({asChild:e=!1,variant:t="text",color:o="primary",disabled:r=!1,fullWidth:a=!1,...i},l){let{children:m,type:f="button",loading:g=!1,size:M="md",loadingPosition:b="start",endIcon:H,startIcon:_,...E}=i,h=e?Slot:"button",w=re({fullWidth:a,size:M,variant:t,color:o}),N=r||g;return jsx(h,{...e?i:E,"aria-disabled":N||void 0,className:w,"data-state":g?"loading":void 0,disabled:N,ref:l,role:h!=="button"?"button":void 0,tabIndex:N?-1:0,type:h==="button"?f:void 0,children:e?jsx(se,{children:m}):jsx(se,{...i})})});function se({children:e,loading:t=!1,size:o="md",loadingPosition:r="start",startIcon:a,endIcon:i,...l}){let m=t&&r==="start",f=m?jsx(P,{"aria-label":"Loading"}):a||null,g=k({size:o,loading:m}),M=A({size:o,site:"left"}),b=t&&r==="end",H=b?jsx(P,{"aria-label":"Loading"}):i||null,_=k({size:o,loading:b}),E=A({size:o,site:"right"}),h=f?jsx("span",{className:M,role:m?"progressbar":void 0,children:d.cloneElement(f,{className:g})}):null,w=H?jsx("span",{className:E,role:b?"progressbar":void 0,children:d.cloneElement(H,{className:_})}):null;return d.isValidElement(e)?d.cloneElement(e,{...l,children:jsxs(Fragment,{children:[h,d.isValidElement(e)?e.props.children:null,w]})}):jsxs(Fragment,{children:[h,e,w]})}var me=cva(["h-10 w-full appearance-none border bg-app-primary py-2 font-poppins outline-0 transition-colors duration-300 ease-in-out","placeholder:select-none placeholder:text-gray-200","invalid:border-error-500 focus:border-primary-400 active:border-primary-400","disabled:border-gray-400 disabled:text-gray-200 disabled:placeholder:text-gray-300"],{variants:{invalid:{true:["text-error-500 border-error-500 hover:border-error-400 focus:text-gray-100"],false:["text-gray-100 border-gray-350 hover:border-primary-500"]},withStartIcon:{true:"pl-11",false:"pl-3"},withEndIcon:{true:"pr-11",false:"pr-3"}},defaultVariants:{invalid:!1,withStartIcon:!1,withEndIcon:!1}}),z=cva(["pointer-events-none absolute bottom-2 top-2 inline-flex w-10 content-center items-center justify-center text-center"],{variants:{disabled:{true:"text-gray-200"},site:{right:"right-0 border-l border-l-gray-400 pr-1",left:"left-0 border-r border-r-gray-400 pl-1"}},defaultVariants:{disabled:!1}});var Er=d.forwardRef(function({invalid:e=!1,startIcon:t,endIcon:o,disabled:r=!1,className:a,...i},l){let m=me({withEndIcon:!!o,withStartIcon:!!t,invalid:e}),f=z({site:"left",disabled:r}),g=z({site:"right",disabled:r});return jsxs("div",{className:"relative text-gray-100 typography-body-2",children:[t?jsx("span",{className:f,children:t}):null,jsx("input",{...i,"aria-invalid":e||void 0,disabled:r,className:twMerge(m,a),ref:l}),o?jsx("span",{"aria-hidden":!0,className:g,children:o}):null]})});function Ar({defaultOpen:e,content:t,open:o,onOpenChange:r,children:a,side:i,align:l,collisionPadding:m=8,sideOffset:f=8,...g}){return jsxs(c.Root,{delayDuration:0,open:o,defaultOpen:e,onOpenChange:r,children:[jsx(c.Trigger,{asChild:!0,children:a}),t?jsx(c.Portal,{children:jsxs(c.Content,{className:"text-typography-primary select-none rounded bg-white p-2 will-change-[transform,opacity] typography-body-1 data-[state=delayed-open]:data-[side=bottom]:animate-slideUpAndFade data-[state=delayed-open]:data-[side=left]:animate-slideRightAndFade data-[state=delayed-open]:data-[side=right]:animate-slideLeftAndFade data-[state=delayed-open]:data-[side=top]:animate-slideDownAndFade",sideOffset:f,side:i,align:l,collisionPadding:m,...g,style:{maxWidth:"var(--radix-tooltip-content-available-width)"},children:[t,jsx(c.Arrow,{width:8,height:4,className:"fill-white"})]})}):null]})}function Or({children:e}){return jsx(c.Provider,{skipDelayDuration:500,children:e})}var Re=cva(["h-28 min-h-10 w-full appearance-none border bg-app-primary px-3 py-2 font-poppins outline-0 transition-colors duration-300 ease-in-out scroll typography-body-2 placeholder:select-none placeholder:text-gray-200","focus:border-primary-400","active:border-primary-400","disabled:border-gray-400 disabled:text-gray-200 disabled:placeholder:text-gray-300"],{variants:{invalid:{true:["text-error-500 border-error-500","hover:border-error-400","focus:text-gray-100"],false:["text-gray-100 border-gray-350","hover:border-primary-500"]}},defaultVariants:{invalid:!1}});var qr=d.forwardRef(function({invalid:e=!1,...t},o){let r=Re({invalid:e});return jsx("textarea",{"aria-invalid":e||void 0,className:r,ref:o,...t})});var he=cva(["h-10 w-full appearance-none border bg-app-primary py-2 font-poppins outline-0 inline-flex items-center justify-between text-gray-100 typography-body-2 gap-2 transition-colors duration-300 ease-in-out","placeholder:select-none placeholder:text-gray-200","invalid:border-error-500 focus:border-primary-400 active:border-primary-400","disabled:border-gray-400 disabled:text-gray-200 disabled:placeholder:text-gray-300"],{variants:{invalid:{true:["text-error-500 border-error-500 hover:border-error-400 focus:text-gray-100"],false:["text-gray-100 border-gray-350 hover:border-primary-500"]},withStartIcon:{true:"pl-11",false:"pl-3"},withEndIcon:{true:"pr-11",false:"pr-3"}},defaultVariants:{invalid:!1,withStartIcon:!1,withEndIcon:!1}});var Zr=d.forwardRef(({children:e,placeholder:t,...o},r)=>{let a=he();return jsxs(s.Root,{...o,children:[jsxs(s.Trigger,{className:a,ref:r,children:[jsx(s.Value,{placeholder:t}),jsx(s.Icon,{className:"-mr-1.5",children:jsx(n.CaretSortIcon,{className:"h-5 w-5 text-gray-200"})})]}),jsx(s.Portal,{children:jsx(s.Content,{sideOffset:4,position:"popper",className:"z-[51] w-full overflow-hidden border border-gray-400 bg-foreground py-1",children:jsx(s.Viewport,{children:e})})})]})});var oa=d.forwardRef(({children:e,...t},o)=>jsxs(s.Item,{className:"flex w-full select-none flex-row items-center justify-between px-3 py-2 font-poppins text-gray-100 data-[disabled]:pointer-events-none data-[highlighted]:bg-gray-400 data-[state=checked]:bg-primary-300 data-[highlighted]:outline-none",ref:o,...t,children:[jsx(s.ItemText,{className:"flex-1",children:e}),jsx(s.ItemIndicator,{children:jsx(n.CheckIcon,{className:"h-4 w-4"})})]}));var na=d.forwardRef(({className:e,...t},o)=>jsx("div",{ref:o,className:twMerge("h-full rounded border border-gray-400 bg-foreground",e),...t}));var ca=d.forwardRef(({className:e,...t},o)=>jsx("div",{ref:o,className:twMerge("flex flex-col p-6",e),...t}));var Ra=d__default.forwardRef(({className:e,...t},o)=>jsx("h3",{ref:o,className:twMerge("typography-heading-5",e),...t}));var xa=d.forwardRef(({className:e,...t},o)=>jsx("p",{ref:o,className:twMerge("text-gray-200 typography-body-2",e),...t}));var Pa=d.forwardRef(({className:e,...t},o)=>jsx("div",{ref:o,className:twMerge("p-6 pt-0",e),...t}));var Da=d.forwardRef(({className:e,...t},o)=>jsx("div",{ref:o,className:twMerge("flex items-center p-6 pt-0",e),...t}));var Ia=T.Root;var Ha=T.Trigger;var Na=T.Close;var Ie=d__default.forwardRef(function(e,t){return jsx(T.Overlay,{...e,className:"fixed inset-0 z-50 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",ref:t})});var He=T.Portal;var Ee=cva("fixed z-50 border-gray-400 bg-foreground p-4 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{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"}});var _a=d.forwardRef(function({side:e="right",className:t,children:o,...r},a){return jsxs(He,{children:[jsx(Ie,{}),jsxs(T.Content,{ref:a,className:twMerge(Ee({side:e}),t),...r,children:[o,jsxs(T.Close,{className:"focus:ring-ring absolute right-4 top-4 rounded-sm opacity-70 ring-primary-500 ring-offset-foreground transition-opacity data-[state=open]:bg-foreground hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-offset-2 disabled:pointer-events-none",children:[jsx(n.Cross1Icon,{className:"h-4 w-4"}),jsx("span",{className:"sr-only",children:"Close"})]})]})]})});function Ya({className:e,...t}){return jsx("div",{className:twMerge("flex flex-col space-y-2 text-center sm:text-left",e),...t})}function ti({className:e,...t}){return jsx("div",{className:twMerge("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t})}var ii=d.forwardRef(function({className:e,...t},o){return jsx(T.Title,{ref:o,className:twMerge("typography-heading-6",e),...t})});var pi=d.forwardRef(function({className:e,...t},o){return jsx(T.Description,{ref:o,className:twMerge("text-gray-200 typography-body-2",e),...t})});var fi=d.forwardRef(function({className:e,orientation:t="horizontal",decorative:o=!0,...r},a){return jsx(We.Root,{ref:a,decorative:o,orientation:t,className:twMerge("shrink-0 bg-gray-400",t==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",e),...r})});function ui({children:e}){return jsx("header",{className:"sticky top-0 z-50 w-full border-b border-gray-400 bg-foreground/95 backdrop-blur supports-[backdrop-filter]:bg-foreground/60",children:jsx("div",{className:"container flex h-16 items-center",children:e})})}var xi=T.Root;var bi=T.Close;var Xe=cva(["fixed left-1/2 top-1/2 border-gray-400 z-50 flex flex-col w-full -translate-x-1/2 -translate-y-1/2 border bg-foreground p-4 shadow-lg w-full rounded","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%]"],{variants:{width:{xs:"max-w-xs",sm:"max-w-sm",md:"max-w-md",lg:"max-w-lg",xl:"max-w-xl","2xl":"max-w-2xl","3xl":"max-w-3xl","4xl":"max-w-4xl","5xl":"max-w-5xl","6xl":"max-w-6xl",full:"max-w-full"}},defaultVariants:{width:"md"}});var _e=d.forwardRef(function(e,t){return jsx(T.Overlay,{...e,className:"fixed inset-0 z-50 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",ref:t})});var Ke=T.Portal;var Ei=d.forwardRef(function({className:e,children:t,width:o="md",...r},a){return jsxs(Ke,{children:[jsx(_e,{}),jsxs(T.Content,{ref:a,className:twMerge(Xe({width:o}),e),...r,children:[t,jsxs(T.Close,{className:"focus:ring-ring absolute right-4 top-4 rounded-sm opacity-70 ring-primary-500 ring-offset-foreground transition-opacity data-[state=open]:bg-foreground hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-offset-2 disabled:pointer-events-none",children:[jsx(n.Cross1Icon,{className:"h-4 w-4"}),jsx("span",{className:"sr-only",children:"Close"})]})]})]})});var Ai=T.Trigger;function Oi({className:e,...t}){return jsx("div",{className:twMerge("mb-4 flex flex-col space-y-1.5 text-center sm:text-left",e),...t})}function $i({className:e,...t}){return jsx("div",{className:twMerge("mt-4 flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",e),...t})}var _i=d.forwardRef(function({className:e,...t},o){return jsx(T.Title,{ref:o,className:twMerge("typography-heading-6",e),...t})});var Yi=d.forwardRef(function({className:e,...t},o){return jsx(T.Description,{ref:o,className:twMerge("text-gray-200 typography-body-2",e),...t})});var on=FormProvider;var C=d.createContext({});var ln=d.forwardRef(function({className:e,...t},o){let r=d.useId();return jsx(C.Provider,{value:{id:r},children:jsx("div",{ref:o,className:twMerge("space-y-2",e),...t})})});var F=d.createContext({});var hn=({...e})=>jsx(F.Provider,{value:{name:e.name},children:jsx(Controller,{...e})});var lt=d.forwardRef(function({className:e,...t},o){return jsx(st.Root,{ref:o,className:twMerge("typography-subtitle-1 peer-disabled:cursor-not-allowed peer-disabled:opacity-70",e),...t})});var R=()=>{let e=d.useContext(F),t=d.useContext(C),{getFieldState:o,formState:r}=useFormContext(),a=o(e.name,r);if(!e)throw new Error("useFormField should be used within <FormField>");let{id:i}=t;return {id:i,name:e.name,formItemId:`${i}-form-item`,formDescriptionId:`${i}-form-item-description`,formMessageId:`${i}-form-item-message`,...a}};var Mn=d.forwardRef(({className:e,caption:t,...o},r)=>{let{error:a,formItemId:i}=R();return jsxs("div",{className:"flex flex-row items-end justify-between",children:[jsx(lt,{ref:r,className:twMerge(a?"text-error-500":null,e),htmlFor:i,...o}),t?jsx("div",{className:"text-gray-200 typography-caption",children:t}):null]})});var An=d.forwardRef(function(e,t){let{error:o,formItemId:r,formDescriptionId:a,formMessageId:i}=R(),l={...e,invalid:!!o};return jsx(Slot,{ref:t,id:r,"aria-describedby":o?`${a} ${i}`:`${a}`,"aria-invalid":!!o,...l})});var dt=cva("",{variants:{type:{description:"typography-body-2 text-gray-200",error:"typography-caption text-error-500"}},defaultVariants:{type:"description"}});var L=d.forwardRef(function({className:e,children:t,type:o="description",role:r,...a},i){return jsx("p",{ref:i,className:twMerge(dt({type:o}),e),role:o==="error"?"alert":r,...a,children:t})});var _n=d.forwardRef(function({children:e,...t},o){let{error:r,formMessageId:a}=R(),i=r?String(r?.message):e;return i?jsx(L,{ref:o,type:"error",id:a,...t,children:i}):null});var Zn=d.forwardRef(function(e,t){let{formDescriptionId:o}=R();return jsx(L,{ref:t,id:o,...e})});var I=d__default.createContext({});function $o(e){if(typeof window<"u"&&window.localStorage){let t=window.localStorage.getItem("theme");if(t==="dark"||!t&&window.matchMedia("(prefers-color-scheme: dark)").matches)return "dark"}return e??"light"}function is({children:e,defaultTheme:t,theme:o}){let[r,a]=d__default.useState(o||$o(t));function i(l){typeof window<"u"&&window.localStorage&&(l==="dark"?document.documentElement.classList.add("dark"):document.documentElement.classList.remove("dark"),localStorage.setItem("theme",l));}return d__default.useEffect(()=>{i(r);},[r]),jsx(I.Provider,{value:{theme:r,setTheme:a},children:e})}var cs=()=>d__default.useContext(I);
17
+ var Q=Object.defineProperty;var Lt=Object.getOwnPropertyDescriptor;var It=Object.getOwnPropertyNames;var Ht=Object.prototype.hasOwnProperty;var Et=(e,t)=>{for(var o in t)Q(e,o,{get:t[o],enumerable:!0});},K=(e,t,o,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of It(t))!Ht.call(e,a)&&a!==o&&Q(e,a,{get:()=>t[a],enumerable:!(r=Lt(t,a))||r.enumerable});return e},h=(e,t,o)=>(K(e,t,"default"),o&&K(o,t,"default"));var Y=cva("relative flex shrink-0 overflow-hidden rounded",{variants:{size:{sm:"h-6 w-6 text-lg",md:"h-10 w-10 text-xl",lg:"h-14 w-14 text-2xl"}},defaultVariants:{size:"md"}});var Pr=d.forwardRef(function({className:e,size:t,...o},r){let a=Y({size:t});return jsx(j.Root,{ref:r,className:twMerge(a,e),...o})});var Sr=d.forwardRef(function({className:e,...t},o){return jsx(j.Image,{ref:o,className:twMerge("aspect-square h-full w-full",e),...t})});var Lr=d.forwardRef(function({className:e,...t},o){return jsx(j.Fallback,{ref:o,className:twMerge("flex h-full w-full items-center justify-center bg-gray-350",e),...t})});var ae=cva(["inline-flex items-center justify-center align-middle no-underline transition-colors ease-in-out duration-300","font-sans appearance-none select-none rounded-sm border font-medium tracking-[.02857em]","aria-disabled:pointer-events-none aria-disabled:opacity-50 aria-disabled:cursor-not-allowed"],{variants:{fullWidth:{true:"w-full"},color:{neutral:"",primary:"",success:"",warning:"",error:""},size:{sm:"px-2.5 py-1 text-[.8125rem] leading-4",md:"px-4 py-1.5 text-sm leading-5",lg:"px-5 py-2 text-[.9375rem] leading-6"},variant:{text:"border-transparent bg-transparent",outlined:"bg-transparent",contained:""}},compoundVariants:[{variant:"text",color:"neutral",class:["text-gray-200","hover:border-gray-350 hover:bg-gray-350 hover:text-gray-100","active:border-gray-300 active:bg-gray-300"]},{variant:"text",color:"primary",class:["text-primary-500","hover:border-primary-500 hover:bg-primary-500 hover:text-white","active:border-primary-600 active:bg-primary-600 active:text-white"]},{variant:"text",color:"success",class:["text-success-500","hover:border-success-500 hover:bg-success-500 hover:text-white","active:border-success-600 active:bg-success-600 active:text-white"]},{variant:"text",color:"warning",class:["text-warning-500","hover:border-warning-500 hover:bg-warning-500 hover:text-white","active:border-warning-600 active:bg-warning-600 active:text-white"]},{variant:"text",color:"error",class:["text-error-500","hover:border-error-500 hover:bg-error-500 hover:text-white","active:border-error-600 active:bg-error-600 active:text-white"]},{variant:"outlined",color:"neutral",class:["text-gray-100 border-gray-100","hover:bg-gray-100 hover:text-black","active:text-gray-600 active:bg-gray-200"]},{variant:"outlined",color:"primary",class:["text-primary-500 border-primary-500","hover:bg-primary-500 hover:text-white","active:text-white active:bg-primary-600"]},{variant:"outlined",color:"success",class:["text-success-500 border-success-500","hover:bg-success-500 hover:text-white","active:text-white active:bg-success-600"]},{variant:"outlined",color:"warning",class:["text-warning-500 border-warning-500","hover:bg-warning-500 hover:text-white","active:text-white active:bg-warning-600"]},{variant:"outlined",color:"error",class:["text-error-500 border-error-500","hover:bg-error-500 hover:text-white","active:text-white active:bg-error-600"]},{variant:"contained",color:"neutral",class:["border-gray-100 bg-gray-100 text-black","hover:border-white hover:bg-white","active:border-gray-200 active:bg-gray-200"]},{variant:"contained",color:"primary",class:["border-primary-500 bg-primary-500 text-white","hover:border-primary-400 hover:bg-primary-400","active:border-primary-600 active:bg-primary-600"]},{variant:"contained",color:"success",class:["border-success-500 bg-success-500 text-white","hover:border-success-400 hover:bg-success-400","active:border-success-600 active:bg-success-600"]},{variant:"contained",color:"warning",class:["border-warning-500 bg-warning-500 text-white","hover:border-warning-400 hover:bg-warning-400","active:border-warning-600 active:bg-warning-600"]},{variant:"contained",color:"error",class:["border-error-500 bg-error-500 text-white","hover:border-error-400 hover:bg-error-400","active:border-error-600 active:bg-error-600"]}],defaultVariants:{fullWidth:!1,color:"primary",size:"md",variant:"text"}}),z=cva("",{variants:{site:{left:"",right:""},size:{sm:"",md:"",lg:""}},compoundVariants:[{site:"left",size:"sm",class:"-ml-0.5 mr-1.5"},{site:"left",size:"md",class:"-ml-1 mr-2"},{site:"left",size:"lg",class:"-ml-1.5 mr-2.5"},{site:"right",size:"sm",class:"-mr-0.5 ml-1.5"},{site:"right",size:"md",class:"-mr-1 ml-2"},{site:"right",size:"lg",class:"-mr-1.5 ml-2.5"}],defaultVariants:{site:"left",size:"md"}}),k=cva("",{variants:{loading:{true:"motion-reduce:hidden animate-spin"},size:{sm:"h-4.5 w-4.5",md:"h-5 w-5",lg:"h-5.5 w-5.5"}},defaultVariants:{loading:!1,size:"md"}});var l={};Et(l,{Auth0LogoIcon:()=>qt,GoogleLogoIcon:()=>Gt,LoadingIcon:()=>P,XLogoIcon:()=>_t});h(l,Xr);function Gt(e){return jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",...e,children:[jsx("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),jsx("path",{d:"M12 2a9.96 9.96 0 0 1 6.29 2.226a1 1 0 0 1 .04 1.52l-1.51 1.362a1 1 0 0 1 -1.265 .06a6 6 0 1 0 2.103 6.836l.001 -.004h-3.66a1 1 0 0 1 -.992 -.883l-.007 -.117v-2a1 1 0 0 1 1 -1h6.945a1 1 0 0 1 .994 .89c.04 .367 .061 .737 .061 1.11c0 5.523 -4.477 10 -10 10s-10 -4.477 -10 -10s4.477 -10 10 -10z",strokeWidth:"0",fill:"currentColor"})]})}function P(e){return jsx("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",fill:"currentColor",version:"1.1",viewBox:"0 0 26.349 26.35",xmlSpace:"preserve",...e,children:jsx("g",{children:jsxs("g",{children:[jsx("circle",{cx:"13.792",cy:"3.082",r:"3.082"}),jsx("circle",{cx:"13.792",cy:"24.501",r:"1.849"}),jsx("circle",{cx:"6.219",cy:"6.218",r:"2.774"}),jsx("circle",{cx:"21.365",cy:"21.363",r:"1.541"}),jsx("circle",{cx:"3.082",cy:"13.792",r:"2.465"}),jsx("circle",{cx:"24.501",cy:"13.791",r:"1.232"}),jsx("path",{d:"M4.694,19.84c-0.843,0.843-0.843,2.207,0,3.05c0.842,0.843,2.208,0.843,3.05,0c0.843-0.843,0.843-2.207,0-3.05 C6.902,18.996,5.537,18.988,4.694,19.84z"}),jsx("circle",{cx:"21.364",cy:"6.218",r:"0.924"})]})})})}function qt(e){return jsxs("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsx("title",{}),jsx("path",{d:"M21.98 7.448L19.62 0H4.347L2.02 7.448c-1.352 4.312.03 9.206 3.815 12.015L12.007 24l6.157-4.552c3.755-2.81 5.182-7.688 3.815-12.015l-6.16 4.58 2.343 7.45-6.157-4.597-6.158 4.58 2.358-7.433-6.188-4.55 7.63-.045L12.008 0l2.356 7.404 7.615.044z",fill:"currentColor"})]})}function _t(e){return jsx("svg",{xmlns:"http://www.w3.org/2000/svg",version:"1.1",id:"Layer_1",width:"24px",height:"24px",viewBox:"0 0 24 24",...e,children:jsx("path",{d:"M14.095479,10.316482L22.286354,1h-1.940718l-7.115352,8.087682L7.551414,1H1l8.589488,12.231093L1,23h1.940717 l7.509372-8.542861L16.448587,23H23L14.095479,10.316482z M11.436522,13.338465l-0.871624-1.218704l-6.924311-9.68815h2.981339 l5.58978,7.82155l0.867949,1.218704l7.26506,10.166271h-2.981339L11.436522,13.338465z",fill:"currentColor"})})}var Zr=d.forwardRef(function({asChild:e=!1,variant:t="text",color:o="primary",disabled:r=!1,fullWidth:a=!1,...i},s){let{children:m,type:f="button",loading:g=!1,size:I="md",loadingPosition:b="start",endIcon:H,startIcon:J,...E}=i,y=e?Slot:"button",w=ae({fullWidth:a,size:I,variant:t,color:o}),N=r||g;return jsx(y,{...e?i:E,"aria-disabled":N||void 0,className:w,"data-state":g?"loading":void 0,disabled:N,ref:s,role:y!=="button"?"button":void 0,tabIndex:N?-1:0,type:y==="button"?f:void 0,children:e?jsx(se,{children:m}):jsx(se,{...i})})});function se({children:e,loading:t=!1,size:o="md",loadingPosition:r="start",startIcon:a,endIcon:i,...s}){let m=t&&r==="start",f=m?jsx(P,{"aria-label":"Loading"}):a||null,g=k({size:o,loading:m}),I=z({size:o,site:"left"}),b=t&&r==="end",H=b?jsx(P,{"aria-label":"Loading"}):i||null,J=k({size:o,loading:b}),E=z({size:o,site:"right"}),y=f?jsx("span",{className:I,role:m?"progressbar":void 0,children:d.cloneElement(f,{className:g})}):null,w=H?jsx("span",{className:E,role:b?"progressbar":void 0,children:d.cloneElement(H,{className:J})}):null;return d.isValidElement(e)?d.cloneElement(e,{...s,children:jsxs(Fragment,{children:[y,d.isValidElement(e)?e.props.children:null,w]})}):jsxs(Fragment,{children:[y,e,w]})}var de=cva(["h-10 w-full appearance-none border bg-app-primary py-2 font-poppins outline-0 transition-colors duration-300 ease-in-out","placeholder:select-none placeholder:text-gray-200","invalid:border-error-500 focus:border-primary-400 active:border-primary-400","disabled:border-gray-400 disabled:text-gray-200 disabled:placeholder:text-gray-300"],{variants:{invalid:{true:["text-error-500 border-error-500 hover:border-error-400 focus:text-gray-100"],false:["text-gray-100 border-gray-350 hover:border-primary-500"]},withStartIcon:{true:"pl-11",false:"pl-3"},withEndIcon:{true:"pr-11",false:"pr-3"}},defaultVariants:{invalid:!1,withStartIcon:!1,withEndIcon:!1}}),O=cva(["pointer-events-none absolute bottom-2 top-2 inline-flex w-10 content-center items-center justify-center text-center"],{variants:{disabled:{true:"text-gray-200"},site:{right:"right-0 border-l border-l-gray-400 pr-1",left:"left-0 border-r border-r-gray-400 pl-1"}},defaultVariants:{disabled:!1}});var ia=d.forwardRef(function({invalid:e=!1,startIcon:t,endIcon:o,disabled:r=!1,className:a,...i},s){let m=de({withEndIcon:!!o,withStartIcon:!!t,invalid:e}),f=O({site:"left",disabled:r}),g=O({site:"right",disabled:r});return jsxs("div",{className:"relative text-gray-100 typography-body-2",children:[t?jsx("span",{className:f,children:t}):null,jsx("input",{...i,"aria-invalid":e||void 0,disabled:r,className:twMerge(m,a),ref:s}),o?jsx("span",{"aria-hidden":!0,className:g,children:o}):null]})});function sa({defaultOpen:e,content:t,open:o,onOpenChange:r,children:a,side:i,align:s,collisionPadding:m=8,sideOffset:f=8,...g}){return jsxs(c.Root,{delayDuration:0,open:o,defaultOpen:e,onOpenChange:r,children:[jsx(c.Trigger,{asChild:!0,children:a}),t?jsx(c.Portal,{children:jsxs(c.Content,{className:"text-typography-primary select-none rounded bg-white p-2 will-change-[transform,opacity] typography-body-1 data-[state=delayed-open]:data-[side=bottom]:animate-slideUpAndFade data-[state=delayed-open]:data-[side=left]:animate-slideRightAndFade data-[state=delayed-open]:data-[side=right]:animate-slideLeftAndFade data-[state=delayed-open]:data-[side=top]:animate-slideDownAndFade",sideOffset:f,side:i,align:s,collisionPadding:m,...g,style:{maxWidth:"var(--radix-tooltip-content-available-width)"},children:[t,jsx(c.Arrow,{width:8,height:4,className:"fill-white"})]})}):null]})}function ma({children:e}){return jsx(c.Provider,{skipDelayDuration:500,children:e})}var ue=cva(["h-28 min-h-10 w-full appearance-none border bg-app-primary px-3 py-2 font-poppins outline-0 transition-colors duration-300 ease-in-out scroll typography-body-2 placeholder:select-none placeholder:text-gray-200","focus:border-primary-400","active:border-primary-400","disabled:border-gray-400 disabled:text-gray-200 disabled:placeholder:text-gray-300"],{variants:{invalid:{true:["text-error-500 border-error-500","hover:border-error-400","focus:text-gray-100"],false:["text-gray-100 border-gray-350","hover:border-primary-500"]}},defaultVariants:{invalid:!1}});var ya=d.forwardRef(function({invalid:e=!1,...t},o){let r=ue({invalid:e});return jsx("textarea",{"aria-invalid":e||void 0,className:r,ref:o,...t})});var he=cva(["h-10 px-3 w-full appearance-none border bg-app-primary py-2 font-poppins outline-0 inline-flex items-center justify-between text-gray-100 typography-body-2 gap-2 transition-colors duration-300 ease-in-out","placeholder:select-none placeholder:text-gray-200","invalid:border-error-500 focus:border-primary-400 active:border-primary-400","disabled:border-gray-400 disabled:text-gray-200 disabled:placeholder:text-gray-300"],{variants:{invalid:{true:["text-error-500 border-error-500 hover:border-error-400 focus:text-gray-100"],false:["text-gray-100 border-gray-350 hover:border-primary-500"]}},defaultVariants:{invalid:!1}});var Ta=d.forwardRef(function({children:e,placeholder:t,invalid:o=!1,...r},a){let i=he({invalid:o});return jsxs(n.Root,{...r,children:[jsxs(n.Trigger,{className:i,ref:a,children:[jsx(n.Value,{placeholder:t}),jsx(n.Icon,{className:"-mr-1.5",children:jsx(l.CaretSortIcon,{className:"h-5 w-5 text-gray-200"})})]}),jsx(n.Portal,{children:jsx(n.Content,{sideOffset:4,className:"w-full overflow-hidden border border-gray-400 bg-foreground py-1 z-50",children:jsx(n.Viewport,{children:e})})})]})});var Aa=d.forwardRef(({children:e,...t},o)=>jsxs(n.Item,{className:"flex w-full select-none flex-row items-center justify-between px-3 py-2 font-poppins text-gray-100 data-[disabled]:pointer-events-none data-[highlighted]:bg-gray-400 data-[state=checked]:bg-primary-300 data-[highlighted]:outline-none",ref:o,...t,children:[jsx(n.ItemText,{className:"flex-1",children:e}),jsx(n.ItemIndicator,{children:jsx(l.CheckIcon,{className:"h-4 w-4"})})]}));var Ia=d.forwardRef(({className:e,...t},o)=>jsx("div",{ref:o,className:twMerge("h-full rounded border border-gray-400 bg-foreground",e),...t}));var Va=d.forwardRef(({className:e,...t},o)=>jsx("div",{ref:o,className:twMerge("flex flex-col p-6",e),...t}));var Ba=d__default.forwardRef(({className:e,...t},o)=>jsx("h3",{ref:o,className:twMerge("typography-heading-5",e),...t}));var qa=d.forwardRef(({className:e,...t},o)=>jsx("p",{ref:o,className:twMerge("text-gray-200 typography-body-2",e),...t}));var Ka=d.forwardRef(({className:e,...t},o)=>jsx("div",{ref:o,className:twMerge("p-6 pt-0",e),...t}));var ja=d.forwardRef(({className:e,...t},o)=>jsx("div",{ref:o,className:twMerge("flex items-center p-6 pt-0",e),...t}));var oi=T.Root;var ai=T.Trigger;var li=T.Close;var Le=d__default.forwardRef(function(e,t){return jsx(T.Overlay,{...e,className:"fixed inset-0 z-50 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",ref:t})});var He=T.Portal;var Ee=cva("fixed z-50 border-gray-400 bg-foreground p-4 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{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"}});var xi=d.forwardRef(function({side:e="right",className:t,children:o,...r},a){return jsxs(He,{children:[jsx(Le,{}),jsxs(T.Content,{ref:a,className:twMerge(Ee({side:e}),t),...r,children:[o,jsxs(T.Close,{className:"focus:ring-ring absolute right-4 top-4 rounded-sm opacity-70 ring-primary-500 ring-offset-foreground transition-opacity data-[state=open]:bg-foreground hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-offset-2 disabled:pointer-events-none",children:[jsx(l.Cross1Icon,{className:"h-4 w-4"}),jsx("span",{className:"sr-only",children:"Close"})]})]})]})});function Pi({className:e,...t}){return jsx("div",{className:twMerge("flex flex-col space-y-2 text-center sm:text-left",e),...t})}function Si({className:e,...t}){return jsx("div",{className:twMerge("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t})}var Li=d.forwardRef(function({className:e,...t},o){return jsx(T.Title,{ref:o,className:twMerge("typography-heading-6",e),...t})});var Ni=d.forwardRef(function({className:e,...t},o){return jsx(T.Description,{ref:o,className:twMerge("text-gray-200 typography-body-2",e),...t})});var Oi=d.forwardRef(function({className:e,orientation:t="horizontal",decorative:o=!0,...r},a){return jsx(Be.Root,{ref:a,decorative:o,orientation:t,className:twMerge("shrink-0 bg-gray-400",t==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",e),...r})});function Gi({children:e}){return jsx("header",{className:"sticky top-0 z-50 w-full border-b border-gray-400 bg-foreground/95 backdrop-blur supports-[backdrop-filter]:bg-foreground/60",children:jsx("div",{className:"container flex h-16 items-center",children:e})})}var qi=T.Root;var _i=T.Close;var qe=cva(["fixed left-1/2 top-1/2 border-gray-400 z-50 flex flex-col w-full -translate-x-1/2 -translate-y-1/2 border bg-foreground p-4 shadow-lg w-full rounded","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%]"],{variants:{width:{xs:"max-w-xs",sm:"max-w-sm",md:"max-w-md",lg:"max-w-lg",xl:"max-w-xl","2xl":"max-w-2xl","3xl":"max-w-3xl","4xl":"max-w-4xl","5xl":"max-w-5xl","6xl":"max-w-6xl",full:"max-w-full"}},defaultVariants:{width:"md"}});var Je=d.forwardRef(function(e,t){return jsx(T.Overlay,{...e,className:"fixed inset-0 z-50 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",ref:t})});var Qe=T.Portal;var il=d.forwardRef(function({className:e,children:t,width:o="md",...r},a){return jsxs(Qe,{children:[jsx(Je,{}),jsxs(T.Content,{ref:a,className:twMerge(qe({width:o}),e),...r,children:[t,jsxs(T.Close,{className:"focus:ring-ring absolute right-4 top-4 rounded-sm opacity-70 ring-primary-500 ring-offset-foreground transition-opacity data-[state=open]:bg-foreground hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-offset-2 disabled:pointer-events-none",children:[jsx(l.Cross1Icon,{className:"h-4 w-4"}),jsx("span",{className:"sr-only",children:"Close"})]})]})]})});var sl=T.Trigger;function ml({className:e,...t}){return jsx("div",{className:twMerge("mb-4 flex flex-col space-y-1.5 text-center sm:text-left",e),...t})}function Rl({className:e,...t}){return jsx("div",{className:twMerge("mt-4 flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",e),...t})}var xl=d.forwardRef(function({className:e,...t},o){return jsx(T.Title,{ref:o,className:twMerge("typography-heading-6",e),...t})});var Pl=d.forwardRef(function({className:e,...t},o){return jsx(T.Description,{ref:o,className:twMerge("text-gray-200 typography-body-2",e),...t})});var Al=FormProvider;var C=d.createContext({});var Hl=d.forwardRef(function({className:e,...t},o){let r=d.useId();return jsx(C.Provider,{value:{id:r},children:jsx("div",{ref:o,className:twMerge("space-y-2",e),...t})})});var A=d.createContext({});var Gl=({...e})=>jsx(A.Provider,{value:{name:e.name},children:jsx(Controller,{...e})});var pt=d.forwardRef(function({className:e,...t},o){return jsx(st.Root,{ref:o,className:twMerge("typography-subtitle-1 peer-disabled:cursor-not-allowed peer-disabled:opacity-70",e),...t})});var R=()=>{let e=d.useContext(A),t=d.useContext(C),{getFieldState:o,formState:r}=useFormContext(),a=o(e.name,r);if(!e)throw new Error("useFormField should be used within <FormField>");let{id:i}=t;return {id:i,name:e.name,formItemId:`${i}-form-item`,formDescriptionId:`${i}-form-item-description`,formMessageId:`${i}-form-item-message`,...a}};var on=d.forwardRef(({className:e,caption:t,...o},r)=>{let{error:a,formItemId:i}=R();return jsxs("div",{className:"flex flex-row items-end justify-between",children:[jsx(pt,{ref:r,className:twMerge(a?"text-error-500":null,e),htmlFor:i,...o}),t?jsx("div",{className:"text-gray-200 typography-caption",children:t}):null]})});var sn=d.forwardRef(function(e,t){let{error:o,formItemId:r,formDescriptionId:a,formMessageId:i}=R(),s={...e,invalid:!!o};return jsx(Slot,{ref:t,id:r,"aria-describedby":o?`${a} ${i}`:`${a}`,"aria-invalid":!!o,...s})});var ft=cva("",{variants:{type:{description:"typography-body-2 text-gray-200",error:"typography-caption text-error-500"}},defaultVariants:{type:"description"}});var F=d.forwardRef(function({className:e,children:t,type:o="description",role:r,...a},i){return jsx("p",{ref:i,className:twMerge(ft({type:o}),e),role:o==="error"?"alert":r,...a,children:t})});var xn=d.forwardRef(function({children:e,...t},o){let{error:r,formMessageId:a}=R(),i=r?String(r?.message):e;return i?jsx(F,{ref:o,type:"error",id:a,...t,children:i}):null});var Tn=d.forwardRef(function(e,t){let{formDescriptionId:o}=R();return jsx(F,{ref:t,id:o,...e})});var Sn=M.Root;var Fn=M.Trigger;var bt=d.forwardRef(function({className:e,...t},o){return jsx(M.Overlay,{className:twMerge("fixed inset-0 z-60 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:o})});var Vn=d.forwardRef(function({className:e,...t},o){return jsxs(M.Portal,{children:[jsx(bt,{}),jsx(M.Content,{ref:o,className:twMerge("fixed left-1/2 top-1/2 border-gray-400 z-50 flex flex-col w-full -translate-x-1/2 -translate-y-1/2 border bg-foreground p-4 shadow-lg rounded 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%] max-w-lg",e),...t})]})});function Wn({className:e,...t}){return jsx("div",{className:twMerge("flex flex-col space-y-2 text-center sm:text-left mb-4",e),...t})}function Xn({className:e,...t}){return jsx("div",{className:twMerge("flex flex-col-reverse sm:flex-row sm:justify-end gap-2",e),...t})}var Jn=d.forwardRef(({className:e,...t},o)=>jsx(M.Title,{ref:o,className:twMerge("typography-heading-6",e),...t}));var Zn=d.forwardRef(function({className:e,...t},o){return jsx(M.Description,{ref:o,className:twMerge("text-gray-200 typography-body-2",e),...t})});var ts=M.Action;var rs=M.Cancel;var L=d__default.createContext({});function Rr(e){if(typeof window<"u"&&window.localStorage){let t=window.localStorage.getItem("theme");if(t==="dark"||!t&&window.matchMedia("(prefers-color-scheme: dark)").matches)return "dark"}return e??"light"}function ps({children:e,defaultTheme:t,theme:o}){let[r,a]=d__default.useState(o||Rr(t));function i(s){typeof window<"u"&&window.localStorage&&(s==="dark"?document.documentElement.classList.add("dark"):document.documentElement.classList.remove("dark"),localStorage.setItem("theme",s));}return d__default.useEffect(()=>{i(r);},[r]),jsx(L.Provider,{value:{theme:r,setTheme:a},children:e})}var gs=()=>d__default.useContext(L);
17
18
 
18
- export { Yo as Avatar, ir as AvatarFallback, tr as AvatarImage, Cr as Button, na as Card, Pa as CardContent, xa as CardDescription, Da as CardFooter, ca as CardHeader, Ra as CardTitle, xi as Dialog, bi as DialogClose, Ei as DialogContent, Yi as DialogDescription, $i as DialogFooter, Oi as DialogHeader, _i as DialogTitle, Ai as DialogTrigger, on as Form, An as FormControl, Zn as FormDescription, hn as FormField, ln as FormItem, Mn as FormLabel, _n as FormMessage, ui as Header, L as HelperText, Er as Input, lt as Label, Zr as Select, oa as SelectItem, fi as Separator, Ia as Sheet, Na as SheetClose, _a as SheetContent, pi as SheetDescription, ti as SheetFooter, Ya as SheetHeader, ii as SheetTitle, Ha as SheetTrigger, qr as Textarea, I as ThemeContext, is as ThemeProvider, Ar as Tooltip, Or as TooltipProvider, cs as useTheme };
19
+ export { Sn as AlertDialog, ts as AlertDialogAction, rs as AlertDialogCancel, Vn as AlertDialogContent, Zn as AlertDialogDescription, Xn as AlertDialogFooter, Wn as AlertDialogHeader, Jn as AlertDialogTitle, Fn as AlertDialogTrigger, Pr as Avatar, Lr as AvatarFallback, Sr as AvatarImage, Zr as Button, Ia as Card, Ka as CardContent, qa as CardDescription, ja as CardFooter, Va as CardHeader, Ba as CardTitle, qi as Dialog, _i as DialogClose, il as DialogContent, Pl as DialogDescription, Rl as DialogFooter, ml as DialogHeader, xl as DialogTitle, sl as DialogTrigger, Al as Form, sn as FormControl, Tn as FormDescription, Gl as FormField, Hl as FormItem, on as FormLabel, xn as FormMessage, Gi as Header, F as HelperText, ia as Input, pt as Label, Ta as Select, Aa as SelectItem, Oi as Separator, oi as Sheet, li as SheetClose, xi as SheetContent, Ni as SheetDescription, Si as SheetFooter, Pi as SheetHeader, Li as SheetTitle, ai as SheetTrigger, ya as Textarea, L as ThemeContext, ps as ThemeProvider, sa as Tooltip, ma as TooltipProvider, gs as useTheme };
package/icons/index.js CHANGED
@@ -10,7 +10,7 @@ exports.GoogleLogoIcon = p;
10
10
  exports.LoadingIcon = a;
11
11
  exports.XLogoIcon = m;
12
12
  Object.keys(reactIcons).forEach(function (k) {
13
- if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
13
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
14
14
  enumerable: true,
15
15
  get: function () { return reactIcons[k]; }
16
16
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@szum-tech/design-system",
3
- "version": "1.17.7",
3
+ "version": "1.18.0",
4
4
  "description": "Szum-Tech design system with tailwindcss support",
5
5
  "keywords": [
6
6
  "szum-tech",
@@ -50,18 +50,20 @@
50
50
  "storybook:serve": "serve storybook-static",
51
51
  "test": "vitest",
52
52
  "test:coverage": "vitest run --coverage",
53
+ "test:ui": "vitest --ui",
53
54
  "test:watch": "vitest --watch",
54
55
  "type-check": "tsc --noEmit"
55
56
  },
56
57
  "dependencies": {
58
+ "@radix-ui/react-alert-dialog": "^1.0.5",
57
59
  "@radix-ui/react-avatar": "^1.0.4",
58
60
  "@radix-ui/react-dialog": "^1.0.5",
59
61
  "@radix-ui/react-icons": "^1.3.0",
60
62
  "@radix-ui/react-label": "^2.0.2",
61
- "@radix-ui/react-select": "^1.2.2",
63
+ "@radix-ui/react-select": "^2.0.0",
62
64
  "@radix-ui/react-separator": "^1.0.3",
63
65
  "@radix-ui/react-slot": "^1.0.2",
64
- "@radix-ui/react-tooltip": "^1.0.6",
66
+ "@radix-ui/react-tooltip": "^1.0.7",
65
67
  "@tailwindcss/container-queries": "^0.1.0",
66
68
  "class-variance-authority": "^0.7.0",
67
69
  "tailwind-merge": "^2.0.0",
@@ -69,49 +71,48 @@
69
71
  "tailwindcss-animate": "^1.0.7"
70
72
  },
71
73
  "devDependencies": {
72
- "@babel/core": "^7.22.1",
74
+ "@babel/core": "^7.23.3",
73
75
  "@hookform/resolvers": "^3.3.2",
74
- "@storybook/addon-a11y": "^7.0.18",
75
- "@storybook/addon-essentials": "^7.0.18",
76
- "@storybook/addon-interactions": "^7.0.18",
77
- "@storybook/addon-styling": "^1.0.8",
78
- "@storybook/react": "^7.0.18",
79
- "@storybook/react-vite": "^7.0.18",
80
- "@szum-tech/prettier-config": "^1.2.1",
81
- "@szum-tech/semantic-release-preset": "^1.5.1",
76
+ "@storybook/addon-a11y": "^7.5.3",
77
+ "@storybook/addon-essentials": "^7.5.3",
78
+ "@storybook/addon-interactions": "^7.5.3",
79
+ "@storybook/addon-styling": "^1.3.7",
80
+ "@storybook/react": "^7.5.3",
81
+ "@storybook/react-vite": "^7.5.3",
82
+ "@szum-tech/prettier-config": "^1.3.1",
83
+ "@szum-tech/semantic-release-preset": "^1.5.4",
82
84
  "@testing-library/dom": "^9.3.0",
83
85
  "@testing-library/jest-dom": "^5.16.5",
84
86
  "@testing-library/react": "^14.0.0",
85
87
  "@testing-library/user-event": "^14.4.3",
86
- "@types/react": "^18.2.7",
87
- "@types/react-dom": "^18.2.4",
88
- "@types/semantic-release": "^20.0.1",
89
- "@vitejs/plugin-react": "^4.0.0",
90
- "@vitest/coverage-c8": "^0.31.1",
91
- "autoprefixer": "^10.4.14",
92
- "babel-loader": "^9.1.2",
93
- "concurrently": "^8.0.1",
94
- "cpy-cli": "^4.2.0",
88
+ "@types/react": "^18.2.37",
89
+ "@types/react-dom": "^18.2.15",
90
+ "@types/semantic-release": "^20.0.5",
91
+ "@vitest/coverage-v8": "^0.34.6",
92
+ "@vitest/ui": "^0.34.6",
93
+ "autoprefixer": "^10.4.16",
94
+ "babel-loader": "^9.1.3",
95
+ "concurrently": "^8.2.2",
96
+ "cpy-cli": "^5.0.0",
95
97
  "happy-dom": "^12.10.3",
96
98
  "postcss": "^8.4.24",
97
- "prettier": "^2.8.8",
98
- "prettier-plugin-tailwindcss": "^0.3.0",
99
+ "prettier": "^3.1.0",
100
+ "prettier-plugin-tailwindcss": "^0.5.7",
99
101
  "react": "^18.2.0",
100
- "react-docgen": "^5.4.3",
102
+ "react-docgen": "^7.0.1",
101
103
  "react-docgen-typescript": "^2.2.2",
102
104
  "react-dom": "^18.2.0",
103
- "react-hook-form": "^7.47.0",
104
- "semantic-release": "^21.0.2",
105
- "serve": "^14.2.0",
106
- "storybook": "^7.0.18",
107
- "storybook-addon-pseudo-states": "^2.0.1",
108
- "storybook-dark-mode": "^3.0.0",
105
+ "react-hook-form": "^7.48.2",
106
+ "semantic-release": "^22.0.8",
107
+ "serve": "^14.2.1",
108
+ "storybook": "^7.5.3",
109
+ "storybook-addon-pseudo-states": "^2.1.2",
110
+ "storybook-dark-mode": "^3.0.1",
109
111
  "tailwindcss": "^3.3.5",
110
- "tsup": "^7.2.0",
111
- "typescript": "^5.0.4",
112
- "vite": "^4.3.9",
113
- "vite-tsconfig-paths": "^4.2.0",
114
- "vitest": "^0.31.1",
112
+ "tsup": "^8.0.0",
113
+ "typescript": "^5.3.2",
114
+ "vite": "^5.0.0",
115
+ "vitest": "^0.34.6",
115
116
  "zod": "^3.22.4"
116
117
  },
117
118
  "peerDependencies": {