@sikka/hawa 0.24.1-next → 0.24.2-next

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.
@@ -2,7 +2,7 @@ import * as class_variance_authority_types from 'class-variance-authority/types'
2
2
  import * as React from 'react';
3
3
  import * as ToastPrimitives from '@radix-ui/react-toast';
4
4
  import { VariantProps } from 'class-variance-authority';
5
- import { S as SeverityType, D as DirectionType } from './commonTypes-CKtkuNFH.mjs';
5
+ import { D as DirectionType } from './commonTypes-CKtkuNFH.mjs';
6
6
 
7
7
  declare const ToastProvider: React.FC<ToastPrimitives.ToastProviderProps>;
8
8
  declare const ToastViewport: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastViewportProps & React.RefAttributes<HTMLOListElement>, "ref"> & React.RefAttributes<HTMLOListElement>>;
@@ -10,13 +10,16 @@ declare const Toast: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastP
10
10
  variant?: "default" | "destructive" | null | undefined;
11
11
  severity?: "info" | "warning" | "error" | "success" | "none" | null | undefined;
12
12
  } & class_variance_authority_types.ClassProp) | undefined) => string> & {
13
- severity?: SeverityType | undefined;
14
13
  direction?: DirectionType | undefined;
15
14
  } & React.RefAttributes<HTMLLIElement>>;
16
15
  declare const ToastAction: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
17
16
  declare const ToastClose: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastCloseProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
18
- declare const ToastTitle: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastTitleProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
19
- declare const ToastDescription: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastDescriptionProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
17
+ declare const ToastTitle: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastTitleProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
18
+ size: "default" | "sm";
19
+ } & React.RefAttributes<HTMLDivElement>>;
20
+ declare const ToastDescription: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastDescriptionProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
21
+ size: "default" | "sm";
22
+ } & React.RefAttributes<HTMLDivElement>>;
20
23
  type ToastProps = React.ComponentPropsWithoutRef<typeof Toast>;
21
24
  type ToastActionElement = React.ReactElement<typeof ToastAction>;
22
25
 
@@ -2,7 +2,7 @@ import * as class_variance_authority_types from 'class-variance-authority/types'
2
2
  import * as React from 'react';
3
3
  import * as ToastPrimitives from '@radix-ui/react-toast';
4
4
  import { VariantProps } from 'class-variance-authority';
5
- import { S as SeverityType, D as DirectionType } from './commonTypes-CKtkuNFH.js';
5
+ import { D as DirectionType } from './commonTypes-CKtkuNFH.js';
6
6
 
7
7
  declare const ToastProvider: React.FC<ToastPrimitives.ToastProviderProps>;
8
8
  declare const ToastViewport: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastViewportProps & React.RefAttributes<HTMLOListElement>, "ref"> & React.RefAttributes<HTMLOListElement>>;
@@ -10,13 +10,16 @@ declare const Toast: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastP
10
10
  variant?: "default" | "destructive" | null | undefined;
11
11
  severity?: "info" | "warning" | "error" | "success" | "none" | null | undefined;
12
12
  } & class_variance_authority_types.ClassProp) | undefined) => string> & {
13
- severity?: SeverityType | undefined;
14
13
  direction?: DirectionType | undefined;
15
14
  } & React.RefAttributes<HTMLLIElement>>;
16
15
  declare const ToastAction: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
17
16
  declare const ToastClose: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastCloseProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
18
- declare const ToastTitle: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastTitleProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
19
- declare const ToastDescription: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastDescriptionProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
17
+ declare const ToastTitle: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastTitleProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
18
+ size: "default" | "sm";
19
+ } & React.RefAttributes<HTMLDivElement>>;
20
+ declare const ToastDescription: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastDescriptionProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
21
+ size: "default" | "sm";
22
+ } & React.RefAttributes<HTMLDivElement>>;
20
23
  type ToastProps = React.ComponentPropsWithoutRef<typeof Toast>;
21
24
  type ToastActionElement = React.ReactElement<typeof ToastAction>;
22
25
 
@@ -137,7 +137,7 @@ var Loading = ({
137
137
  color,
138
138
  ...props
139
139
  }) => {
140
- let sizeStyles = {
140
+ let sizeStyles2 = {
141
141
  button: "hawa-h-4 hawa-w-4",
142
142
  xs: "hawa-h-1 hawa-w-1",
143
143
  sm: "hawa-h-6 hawa-w-6",
@@ -161,7 +161,7 @@ var Loading = ({
161
161
  {
162
162
  className: cn(
163
163
  "hawa-animate-bounce hawa-rounded-full hawa-delay-100 hawa-repeat-infinite",
164
- size === "button" ? "hawa-h-2 hawa-w-2" : sizeStyles[size],
164
+ size === "button" ? "hawa-h-2 hawa-w-2" : sizeStyles2[size],
165
165
  animationStyles[design.split("-")[1]],
166
166
  color ? color : "hawa-bg-primary"
167
167
  )
@@ -172,7 +172,7 @@ var Loading = ({
172
172
  {
173
173
  className: cn(
174
174
  "hawa-animate-bounce hawa-rounded-full hawa-delay-200 hawa-repeat-infinite",
175
- size === "button" ? "hawa-h-2 hawa-w-2" : sizeStyles[size],
175
+ size === "button" ? "hawa-h-2 hawa-w-2" : sizeStyles2[size],
176
176
  animationStyles[design.split("-")[1]],
177
177
  color ? color : "hawa-bg-primary"
178
178
  )
@@ -183,7 +183,7 @@ var Loading = ({
183
183
  {
184
184
  className: cn(
185
185
  "hawa-animate-bounce hawa-rounded-full hawa-delay-300 hawa-repeat-infinite",
186
- size === "button" ? "hawa-h-2 hawa-w-2" : sizeStyles[size],
186
+ size === "button" ? "hawa-h-2 hawa-w-2" : sizeStyles2[size],
187
187
  animationStyles[design.split("-")[1]],
188
188
  color ? color : "hawa-bg-primary"
189
189
  )
@@ -194,7 +194,7 @@ var Loading = ({
194
194
  return /* @__PURE__ */ import_react.default.createElement(
195
195
  "svg",
196
196
  {
197
- className: cn("squircle-container", sizeStyles[size]),
197
+ className: cn("squircle-container", sizeStyles2[size]),
198
198
  viewBox: "0 0 35 35",
199
199
  height: "35",
200
200
  width: "35"
@@ -229,7 +229,7 @@ var Loading = ({
229
229
  return /* @__PURE__ */ import_react.default.createElement(
230
230
  "svg",
231
231
  {
232
- className: cn("squircle-container", sizeStyles[size]),
232
+ className: cn("squircle-container", sizeStyles2[size]),
233
233
  x: "0px",
234
234
  y: "0px",
235
235
  viewBox: "0 0 37 37",
@@ -266,7 +266,7 @@ var Loading = ({
266
266
  return /* @__PURE__ */ import_react.default.createElement(
267
267
  "svg",
268
268
  {
269
- className: cn("circle-container", sizeStyles[size]),
269
+ className: cn("circle-container", sizeStyles2[size]),
270
270
  viewBox: "0 0 40 40",
271
271
  height: "40",
272
272
  width: "40"
@@ -585,7 +585,7 @@ var Chip = import_react4.default.forwardRef(
585
585
  full: "hawa-rounded-full",
586
586
  none: "hawa-rounded-none"
587
587
  };
588
- let sizeStyles = {
588
+ let sizeStyles2 = {
589
589
  small: "hawa-h-[15px] hawa-leading-4 hawa-px-0 hawa-py-0 hawa-text-[9px] hawa-gap-0.5 ",
590
590
  normal: "hawa-h-fit hawa-text-xs",
591
591
  large: "hawa-text-base"
@@ -618,7 +618,7 @@ var Chip = import_react4.default.forwardRef(
618
618
  ref,
619
619
  className: cn(
620
620
  defaultStyles,
621
- sizeStyles[size],
621
+ sizeStyles2[size],
622
622
  radiusStyles[radius],
623
623
  color ? colorStyles[color] : "hawa-border hawa-bg-none"
624
624
  )
@@ -2479,7 +2479,7 @@ var React56 = __toESM(require("react"));
2479
2479
  var ToastPrimitives = __toESM(require("@radix-ui/react-toast"));
2480
2480
  var import_class_variance_authority4 = require("class-variance-authority");
2481
2481
  var toastVariants = (0, import_class_variance_authority4.cva)(
2482
- "hawa-group hawa-z-[900] hawa-pointer-events-auto hawa-relative hawa-flex hawa-w-full hawa-items-center hawa-justify-between hawa-space-x-4 hawa-overflow-hidden hawa-rounded-md hawa-border hawa-shadow-lg hawa-transition-all data-[swipe=cancel]:hawa-translate-x-0 data-[swipe=end]:hawa-translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:hawa-translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:hawa-transition-none data-[state=open]:hawa-animate-in data-[state=closed]:hawa-animate-out data-[swipe=end]:hawa-animate-out data-[state=closed]:hawa-fade-out-80 data-[state=open]:hawa-slide-in-from-top-full data-[state=open]:sm:hawa-slide-in-from-bottom-full",
2482
+ "hawa-group hawa-z-[900] hawa-pointer-events-auto hawa-relative hawa-flex hawa-w-full hawa-items-center hawa-justify-between hawa-overflow-hidden hawa-rounded-md hawa-border hawa-shadow-lg hawa-transition-all data-[swipe=cancel]:hawa-translate-x-0 data-[swipe=end]:hawa-translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:hawa-translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:hawa-transition-none data-[state=open]:hawa-animate-in data-[state=closed]:hawa-animate-out data-[swipe=end]:hawa-animate-out data-[state=closed]:hawa-fade-out-80 data-[state=open]:hawa-slide-in-from-top-full data-[state=open]:sm:hawa-slide-in-from-bottom-full",
2483
2483
  {
2484
2484
  variants: {
2485
2485
  variant: {
@@ -2494,11 +2494,14 @@ var toastVariants = (0, import_class_variance_authority4.cva)(
2494
2494
  none: ""
2495
2495
  }
2496
2496
  },
2497
- defaultVariants: {
2498
- variant: "default"
2499
- }
2497
+ defaultVariants: { variant: "default" }
2500
2498
  }
2501
2499
  );
2500
+ var sizeStyles = {
2501
+ default: "hawa-text-sm",
2502
+ // Update this based on the desired padding for rtl
2503
+ sm: "hawa-text-xs"
2504
+ };
2502
2505
  var ToastViewport = React56.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React56.createElement(
2503
2506
  ToastPrimitives.Viewport,
2504
2507
  {
@@ -2519,7 +2522,7 @@ var Toast = React56.forwardRef(({ className, variant, severity = "none", directi
2519
2522
  className: cn(
2520
2523
  toastVariants({ variant, severity }),
2521
2524
  className,
2522
- direction === "rtl" ? "hawa-p-6 hawa-pl-0 hawa-pr-10 data-[state=closed]:hawa-slide-out-to-left-full" : "hawa-p-6 hawa-pr-8 data-[state=closed]:hawa-slide-out-to-right-full"
2525
+ direction === "rtl" ? "data-[state=closed]:hawa-slide-out-to-left-full" : "data-[state=closed]:hawa-slide-out-to-right-full"
2523
2526
  ),
2524
2527
  dir: direction,
2525
2528
  ...props
@@ -2538,6 +2541,7 @@ var ToastAction = React56.forwardRef(({ className, ...props }, ref) => {
2538
2541
  "group-[.error]:hawa-border-muted/40 group-[.error]:hover:hawa-border-error/30 group-[.error]:hover:hawa-bg-error group-[.error]:hover:hawa-text-error-foreground group-[.error]:focus:hawa-ring-error",
2539
2542
  "group-[.success]:hawa-border-muted/40 group-[.success]:hover:hawa-border-success/30 group-[.success]:hover:hawa-bg-success group-[.success]:hover:hawa-text-success-foreground group-[.success]:focus:hawa-ring-success",
2540
2543
  "group-[.warning]:hawa-border-muted/40 group-[.warning]:hover:hawa-border-warning/30 group-[.warning]:hover:hawa-bg-warning group-[.warning]:hover:hawa-text-warning-foreground group-[.warning]:focus:hawa-ring-warning",
2544
+ "hawa-whitespace-nowrap",
2541
2545
  className
2542
2546
  ),
2543
2547
  ...props
@@ -2550,7 +2554,10 @@ var ToastClose = React56.forwardRef(({ className, ...props }, ref) => /* @__PURE
2550
2554
  {
2551
2555
  ref,
2552
2556
  className: cn(
2553
- "hawa-absolute hawa-right-2 hawa-top-2 hawa-rounded-md hawa-p-1 hawa-text-foreground/50 hawa-opacity-0 hawa-transition-opacity hover:hawa-text-foreground focus:hawa-opacity-100 focus:hawa-outline-none focus:hawa-ring-2 group-hover:hawa-opacity-100 group-[.destructive]:hawa-text-red-300 group-[.destructive]:hover:hawa-text-red-50 group-[.destructive]:focus:hawa-ring-red-400 group-[.destructive]:focus:hawa-ring-offset-red-600",
2557
+ // "hawa-absolute hawa-start-2 hawa-top-2",
2558
+ // "group-hover:hawa-opacity-100",
2559
+ "hawa-opacity-100",
2560
+ "hawa-rounded-md hawa-p-1 hawa-text-foreground/50 hawa-transition-opacity hover:hawa-text-foreground focus:hawa-opacity-100 focus:hawa-outline-none focus:hawa-ring-2 group-[.destructive]:hawa-text-red-300 group-[.destructive]:hover:hawa-text-red-50 group-[.destructive]:focus:hawa-ring-red-400 group-[.destructive]:focus:hawa-ring-offset-red-600",
2554
2561
  className
2555
2562
  ),
2556
2563
  "toast-close": "",
@@ -2576,23 +2583,28 @@ var ToastClose = React56.forwardRef(({ className, ...props }, ref) => /* @__PURE
2576
2583
  )
2577
2584
  ));
2578
2585
  ToastClose.displayName = ToastPrimitives.Close.displayName;
2579
- var ToastTitle = React56.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React56.createElement(
2586
+ var ToastTitle = React56.forwardRef(({ className, size = "default", ...props }, ref) => /* @__PURE__ */ React56.createElement(
2580
2587
  ToastPrimitives.Title,
2581
2588
  {
2582
2589
  ref,
2583
2590
  className: cn(
2584
2591
  "hawa-select-text hawa-text-sm hawa-font-semibold",
2592
+ sizeStyles[size],
2585
2593
  className
2586
2594
  ),
2587
2595
  ...props
2588
2596
  }
2589
2597
  ));
2590
2598
  ToastTitle.displayName = ToastPrimitives.Title.displayName;
2591
- var ToastDescription = React56.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React56.createElement(
2599
+ var ToastDescription = React56.forwardRef(({ className, size = "default", ...props }, ref) => /* @__PURE__ */ React56.createElement(
2592
2600
  ToastPrimitives.Description,
2593
2601
  {
2594
2602
  ref,
2595
- className: cn("hawa-select-text hawa-text-sm hawa-opacity-90", className),
2603
+ className: cn(
2604
+ "hawa-select-text hawa-opacity-90",
2605
+ sizeStyles[size],
2606
+ className
2607
+ ),
2596
2608
  ...props
2597
2609
  }
2598
2610
  ));
@@ -1990,7 +1990,7 @@ import * as React48 from "react";
1990
1990
  import * as ToastPrimitives from "@radix-ui/react-toast";
1991
1991
  import { cva as cva3 } from "class-variance-authority";
1992
1992
  var toastVariants = cva3(
1993
- "hawa-group hawa-z-[900] hawa-pointer-events-auto hawa-relative hawa-flex hawa-w-full hawa-items-center hawa-justify-between hawa-space-x-4 hawa-overflow-hidden hawa-rounded-md hawa-border hawa-shadow-lg hawa-transition-all data-[swipe=cancel]:hawa-translate-x-0 data-[swipe=end]:hawa-translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:hawa-translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:hawa-transition-none data-[state=open]:hawa-animate-in data-[state=closed]:hawa-animate-out data-[swipe=end]:hawa-animate-out data-[state=closed]:hawa-fade-out-80 data-[state=open]:hawa-slide-in-from-top-full data-[state=open]:sm:hawa-slide-in-from-bottom-full",
1993
+ "hawa-group hawa-z-[900] hawa-pointer-events-auto hawa-relative hawa-flex hawa-w-full hawa-items-center hawa-justify-between hawa-overflow-hidden hawa-rounded-md hawa-border hawa-shadow-lg hawa-transition-all data-[swipe=cancel]:hawa-translate-x-0 data-[swipe=end]:hawa-translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:hawa-translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:hawa-transition-none data-[state=open]:hawa-animate-in data-[state=closed]:hawa-animate-out data-[swipe=end]:hawa-animate-out data-[state=closed]:hawa-fade-out-80 data-[state=open]:hawa-slide-in-from-top-full data-[state=open]:sm:hawa-slide-in-from-bottom-full",
1994
1994
  {
1995
1995
  variants: {
1996
1996
  variant: {
@@ -2005,11 +2005,14 @@ var toastVariants = cva3(
2005
2005
  none: ""
2006
2006
  }
2007
2007
  },
2008
- defaultVariants: {
2009
- variant: "default"
2010
- }
2008
+ defaultVariants: { variant: "default" }
2011
2009
  }
2012
2010
  );
2011
+ var sizeStyles = {
2012
+ default: "hawa-text-sm",
2013
+ // Update this based on the desired padding for rtl
2014
+ sm: "hawa-text-xs"
2015
+ };
2013
2016
  var ToastViewport = React48.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React48.createElement(
2014
2017
  ToastPrimitives.Viewport,
2015
2018
  {
@@ -2030,7 +2033,7 @@ var Toast = React48.forwardRef(({ className, variant, severity = "none", directi
2030
2033
  className: cn(
2031
2034
  toastVariants({ variant, severity }),
2032
2035
  className,
2033
- direction === "rtl" ? "hawa-p-6 hawa-pl-0 hawa-pr-10 data-[state=closed]:hawa-slide-out-to-left-full" : "hawa-p-6 hawa-pr-8 data-[state=closed]:hawa-slide-out-to-right-full"
2036
+ direction === "rtl" ? "data-[state=closed]:hawa-slide-out-to-left-full" : "data-[state=closed]:hawa-slide-out-to-right-full"
2034
2037
  ),
2035
2038
  dir: direction,
2036
2039
  ...props
@@ -2049,6 +2052,7 @@ var ToastAction = React48.forwardRef(({ className, ...props }, ref) => {
2049
2052
  "group-[.error]:hawa-border-muted/40 group-[.error]:hover:hawa-border-error/30 group-[.error]:hover:hawa-bg-error group-[.error]:hover:hawa-text-error-foreground group-[.error]:focus:hawa-ring-error",
2050
2053
  "group-[.success]:hawa-border-muted/40 group-[.success]:hover:hawa-border-success/30 group-[.success]:hover:hawa-bg-success group-[.success]:hover:hawa-text-success-foreground group-[.success]:focus:hawa-ring-success",
2051
2054
  "group-[.warning]:hawa-border-muted/40 group-[.warning]:hover:hawa-border-warning/30 group-[.warning]:hover:hawa-bg-warning group-[.warning]:hover:hawa-text-warning-foreground group-[.warning]:focus:hawa-ring-warning",
2055
+ "hawa-whitespace-nowrap",
2052
2056
  className
2053
2057
  ),
2054
2058
  ...props
@@ -2061,7 +2065,10 @@ var ToastClose = React48.forwardRef(({ className, ...props }, ref) => /* @__PURE
2061
2065
  {
2062
2066
  ref,
2063
2067
  className: cn(
2064
- "hawa-absolute hawa-right-2 hawa-top-2 hawa-rounded-md hawa-p-1 hawa-text-foreground/50 hawa-opacity-0 hawa-transition-opacity hover:hawa-text-foreground focus:hawa-opacity-100 focus:hawa-outline-none focus:hawa-ring-2 group-hover:hawa-opacity-100 group-[.destructive]:hawa-text-red-300 group-[.destructive]:hover:hawa-text-red-50 group-[.destructive]:focus:hawa-ring-red-400 group-[.destructive]:focus:hawa-ring-offset-red-600",
2068
+ // "hawa-absolute hawa-start-2 hawa-top-2",
2069
+ // "group-hover:hawa-opacity-100",
2070
+ "hawa-opacity-100",
2071
+ "hawa-rounded-md hawa-p-1 hawa-text-foreground/50 hawa-transition-opacity hover:hawa-text-foreground focus:hawa-opacity-100 focus:hawa-outline-none focus:hawa-ring-2 group-[.destructive]:hawa-text-red-300 group-[.destructive]:hover:hawa-text-red-50 group-[.destructive]:focus:hawa-ring-red-400 group-[.destructive]:focus:hawa-ring-offset-red-600",
2065
2072
  className
2066
2073
  ),
2067
2074
  "toast-close": "",
@@ -2087,23 +2094,28 @@ var ToastClose = React48.forwardRef(({ className, ...props }, ref) => /* @__PURE
2087
2094
  )
2088
2095
  ));
2089
2096
  ToastClose.displayName = ToastPrimitives.Close.displayName;
2090
- var ToastTitle = React48.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React48.createElement(
2097
+ var ToastTitle = React48.forwardRef(({ className, size = "default", ...props }, ref) => /* @__PURE__ */ React48.createElement(
2091
2098
  ToastPrimitives.Title,
2092
2099
  {
2093
2100
  ref,
2094
2101
  className: cn(
2095
2102
  "hawa-select-text hawa-text-sm hawa-font-semibold",
2103
+ sizeStyles[size],
2096
2104
  className
2097
2105
  ),
2098
2106
  ...props
2099
2107
  }
2100
2108
  ));
2101
2109
  ToastTitle.displayName = ToastPrimitives.Title.displayName;
2102
- var ToastDescription = React48.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React48.createElement(
2110
+ var ToastDescription = React48.forwardRef(({ className, size = "default", ...props }, ref) => /* @__PURE__ */ React48.createElement(
2103
2111
  ToastPrimitives.Description,
2104
2112
  {
2105
2113
  ref,
2106
- className: cn("hawa-select-text hawa-text-sm hawa-opacity-90", className),
2114
+ className: cn(
2115
+ "hawa-select-text hawa-opacity-90",
2116
+ sizeStyles[size],
2117
+ className
2118
+ ),
2107
2119
  ...props
2108
2120
  }
2109
2121
  ));
@@ -22,7 +22,7 @@ import * as ProgressPrimitive from '@radix-ui/react-progress';
22
22
  import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
23
23
  import * as SliderPrimitive from '@radix-ui/react-slider';
24
24
  import { EmblaOptionsType } from 'embla-carousel-react';
25
- export { d as Toast, h as ToastAction, a as ToastActionElement, g as ToastClose, f as ToastDescription, T as ToastProps, b as ToastProvider, e as ToastTitle, c as ToastViewport } from '../Toast-jAb16JQg.mjs';
25
+ export { d as Toast, h as ToastAction, a as ToastActionElement, g as ToastClose, f as ToastDescription, T as ToastProps, b as ToastProvider, e as ToastTitle, c as ToastViewport } from '../Toast-VBd4UvlM.mjs';
26
26
  import '@radix-ui/react-dropdown-menu';
27
27
  import '@radix-ui/react-toast';
28
28
 
@@ -22,7 +22,7 @@ import * as ProgressPrimitive from '@radix-ui/react-progress';
22
22
  import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
23
23
  import * as SliderPrimitive from '@radix-ui/react-slider';
24
24
  import { EmblaOptionsType } from 'embla-carousel-react';
25
- export { d as Toast, h as ToastAction, a as ToastActionElement, g as ToastClose, f as ToastDescription, T as ToastProps, b as ToastProvider, e as ToastTitle, c as ToastViewport } from '../Toast-xcELwcIX.js';
25
+ export { d as Toast, h as ToastAction, a as ToastActionElement, g as ToastClose, f as ToastDescription, T as ToastProps, b as ToastProvider, e as ToastTitle, c as ToastViewport } from '../Toast-pOd4uGZz.js';
26
26
  import '@radix-ui/react-dropdown-menu';
27
27
  import '@radix-ui/react-toast';
28
28