@sikka/hawa 0.26.26 → 0.26.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-KCE3K4QX.mjs → chunk-JNUGOUYJ.mjs} +2 -1
- package/dist/elements/index.js +9 -5
- package/dist/elements/index.mjs +8 -5
- package/dist/hooks/index.js +2 -1
- package/dist/hooks/index.mjs +1 -1
- package/dist/index.js +9 -5
- package/dist/index.mjs +9 -5
- package/dist/toaster/index.js +16 -12
- package/dist/toaster/index.mjs +9 -5
- package/package.json +1 -1
@@ -102,11 +102,12 @@ function useToast() {
|
|
102
102
|
React.useEffect(() => {
|
103
103
|
console.log("useToast triggered in useEffect");
|
104
104
|
console.log("toast state", state);
|
105
|
-
console.log("listerners", listeners);
|
105
|
+
console.log("listerners BEFORE", listeners);
|
106
106
|
console.log("TOAST: setState is ", setState);
|
107
107
|
listeners.push(setState);
|
108
108
|
return () => {
|
109
109
|
const index = listeners.indexOf(setState);
|
110
|
+
console.log("listerners AFTER", listeners);
|
110
111
|
if (index > -1) {
|
111
112
|
listeners.splice(index, 1);
|
112
113
|
}
|
package/dist/elements/index.js
CHANGED
@@ -7467,11 +7467,12 @@ function useToast() {
|
|
7467
7467
|
React58.useEffect(() => {
|
7468
7468
|
console.log("useToast triggered in useEffect");
|
7469
7469
|
console.log("toast state", state);
|
7470
|
-
console.log("listerners", listeners);
|
7470
|
+
console.log("listerners BEFORE", listeners);
|
7471
7471
|
console.log("TOAST: setState is ", setState);
|
7472
7472
|
listeners.push(setState);
|
7473
7473
|
return () => {
|
7474
7474
|
const index = listeners.indexOf(setState);
|
7475
|
+
console.log("listerners AFTER", listeners);
|
7475
7476
|
if (index > -1) {
|
7476
7477
|
listeners.splice(index, 1);
|
7477
7478
|
}
|
@@ -7488,7 +7489,7 @@ function useToast() {
|
|
7488
7489
|
function Toaster(props) {
|
7489
7490
|
const { toasts } = useToast();
|
7490
7491
|
let isRTL = props.direction === "rtl";
|
7491
|
-
return /* @__PURE__ */ import_react33.default.createElement(ToastProvider, { swipeDirection: isRTL ? "left" : "right" }, toasts.map(function({
|
7492
|
+
return /* @__PURE__ */ import_react33.default.createElement("div", null, /* @__PURE__ */ import_react33.default.createElement("div", null, "I AM INSIDE MAIN TOASTER"), /* @__PURE__ */ import_react33.default.createElement(ToastProvider, { swipeDirection: isRTL ? "left" : "right" }, /* @__PURE__ */ import_react33.default.createElement("div", null, "I AM INSIDE TOASTPROVIDER"), toasts.map(function({
|
7492
7493
|
id,
|
7493
7494
|
title,
|
7494
7495
|
description,
|
@@ -7496,7 +7497,7 @@ function Toaster(props) {
|
|
7496
7497
|
action,
|
7497
7498
|
...toastProps
|
7498
7499
|
}) {
|
7499
|
-
return /* @__PURE__ */ import_react33.default.createElement(Toast, { direction: props.direction, key: id, ...toastProps }, /* @__PURE__ */ import_react33.default.createElement(
|
7500
|
+
return /* @__PURE__ */ import_react33.default.createElement(Toast, { direction: props.direction, key: id, ...toastProps }, /* @__PURE__ */ import_react33.default.createElement("div", null, "I AM INSIDE TOAST"), /* @__PURE__ */ import_react33.default.createElement(
|
7500
7501
|
"div",
|
7501
7502
|
{
|
7502
7503
|
className: cn(
|
@@ -7511,7 +7512,10 @@ function Toaster(props) {
|
|
7511
7512
|
{
|
7512
7513
|
className: cn(
|
7513
7514
|
"hawa-flex hawa-w-full hawa-flex-row hawa-justify-between hawa-gap-2",
|
7514
|
-
{
|
7515
|
+
{
|
7516
|
+
"hawa-p-4": size === "default",
|
7517
|
+
"hawa-p-2": size === "sm"
|
7518
|
+
}
|
7515
7519
|
)
|
7516
7520
|
},
|
7517
7521
|
/* @__PURE__ */ import_react33.default.createElement("div", { className: "hawa-grid hawa-gap-1 hawa-text-start" }, title && /* @__PURE__ */ import_react33.default.createElement(ToastTitle, { size }, title), description && /* @__PURE__ */ import_react33.default.createElement(ToastDescription, { size }, description)),
|
@@ -7523,7 +7527,7 @@ function Toaster(props) {
|
|
7523
7527
|
{
|
7524
7528
|
className: cn("hawa-gap-2", isRTL && "hawa-fixed hawa-left-0")
|
7525
7529
|
}
|
7526
|
-
));
|
7530
|
+
)));
|
7527
7531
|
}
|
7528
7532
|
|
7529
7533
|
// elements/destroyableCard/DestroyableCard.tsx
|
package/dist/elements/index.mjs
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import {
|
2
2
|
useClipboard,
|
3
3
|
useToast
|
4
|
-
} from "../chunk-
|
4
|
+
} from "../chunk-JNUGOUYJ.mjs";
|
5
5
|
import {
|
6
6
|
Alert,
|
7
7
|
CheckMark,
|
@@ -3073,7 +3073,7 @@ import React31 from "react";
|
|
3073
3073
|
function Toaster(props) {
|
3074
3074
|
const { toasts } = useToast();
|
3075
3075
|
let isRTL = props.direction === "rtl";
|
3076
|
-
return /* @__PURE__ */ React31.createElement(ToastProvider, { swipeDirection: isRTL ? "left" : "right" }, toasts.map(function({
|
3076
|
+
return /* @__PURE__ */ React31.createElement("div", null, /* @__PURE__ */ React31.createElement("div", null, "I AM INSIDE MAIN TOASTER"), /* @__PURE__ */ React31.createElement(ToastProvider, { swipeDirection: isRTL ? "left" : "right" }, /* @__PURE__ */ React31.createElement("div", null, "I AM INSIDE TOASTPROVIDER"), toasts.map(function({
|
3077
3077
|
id,
|
3078
3078
|
title,
|
3079
3079
|
description,
|
@@ -3081,7 +3081,7 @@ function Toaster(props) {
|
|
3081
3081
|
action,
|
3082
3082
|
...toastProps
|
3083
3083
|
}) {
|
3084
|
-
return /* @__PURE__ */ React31.createElement(Toast, { direction: props.direction, key: id, ...toastProps }, /* @__PURE__ */ React31.createElement(
|
3084
|
+
return /* @__PURE__ */ React31.createElement(Toast, { direction: props.direction, key: id, ...toastProps }, /* @__PURE__ */ React31.createElement("div", null, "I AM INSIDE TOAST"), /* @__PURE__ */ React31.createElement(
|
3085
3085
|
"div",
|
3086
3086
|
{
|
3087
3087
|
className: cn(
|
@@ -3096,7 +3096,10 @@ function Toaster(props) {
|
|
3096
3096
|
{
|
3097
3097
|
className: cn(
|
3098
3098
|
"hawa-flex hawa-w-full hawa-flex-row hawa-justify-between hawa-gap-2",
|
3099
|
-
{
|
3099
|
+
{
|
3100
|
+
"hawa-p-4": size === "default",
|
3101
|
+
"hawa-p-2": size === "sm"
|
3102
|
+
}
|
3100
3103
|
)
|
3101
3104
|
},
|
3102
3105
|
/* @__PURE__ */ React31.createElement("div", { className: "hawa-grid hawa-gap-1 hawa-text-start" }, title && /* @__PURE__ */ React31.createElement(ToastTitle, { size }, title), description && /* @__PURE__ */ React31.createElement(ToastDescription, { size }, description)),
|
@@ -3108,7 +3111,7 @@ function Toaster(props) {
|
|
3108
3111
|
{
|
3109
3112
|
className: cn("hawa-gap-2", isRTL && "hawa-fixed hawa-left-0")
|
3110
3113
|
}
|
3111
|
-
));
|
3114
|
+
)));
|
3112
3115
|
}
|
3113
3116
|
|
3114
3117
|
// elements/destroyableCard/DestroyableCard.tsx
|
package/dist/hooks/index.js
CHANGED
@@ -159,11 +159,12 @@ function useToast() {
|
|
159
159
|
React3.useEffect(() => {
|
160
160
|
console.log("useToast triggered in useEffect");
|
161
161
|
console.log("toast state", state);
|
162
|
-
console.log("listerners", listeners);
|
162
|
+
console.log("listerners BEFORE", listeners);
|
163
163
|
console.log("TOAST: setState is ", setState);
|
164
164
|
listeners.push(setState);
|
165
165
|
return () => {
|
166
166
|
const index = listeners.indexOf(setState);
|
167
|
+
console.log("listerners AFTER", listeners);
|
167
168
|
if (index > -1) {
|
168
169
|
listeners.splice(index, 1);
|
169
170
|
}
|
package/dist/hooks/index.mjs
CHANGED
package/dist/index.js
CHANGED
@@ -7623,11 +7623,12 @@ function useToast() {
|
|
7623
7623
|
React58.useEffect(() => {
|
7624
7624
|
console.log("useToast triggered in useEffect");
|
7625
7625
|
console.log("toast state", state);
|
7626
|
-
console.log("listerners", listeners);
|
7626
|
+
console.log("listerners BEFORE", listeners);
|
7627
7627
|
console.log("TOAST: setState is ", setState);
|
7628
7628
|
listeners.push(setState);
|
7629
7629
|
return () => {
|
7630
7630
|
const index = listeners.indexOf(setState);
|
7631
|
+
console.log("listerners AFTER", listeners);
|
7631
7632
|
if (index > -1) {
|
7632
7633
|
listeners.splice(index, 1);
|
7633
7634
|
}
|
@@ -7644,7 +7645,7 @@ function useToast() {
|
|
7644
7645
|
function Toaster(props) {
|
7645
7646
|
const { toasts } = useToast();
|
7646
7647
|
let isRTL = props.direction === "rtl";
|
7647
|
-
return /* @__PURE__ */ import_react33.default.createElement(ToastProvider, { swipeDirection: isRTL ? "left" : "right" }, toasts.map(function({
|
7648
|
+
return /* @__PURE__ */ import_react33.default.createElement("div", null, /* @__PURE__ */ import_react33.default.createElement("div", null, "I AM INSIDE MAIN TOASTER"), /* @__PURE__ */ import_react33.default.createElement(ToastProvider, { swipeDirection: isRTL ? "left" : "right" }, /* @__PURE__ */ import_react33.default.createElement("div", null, "I AM INSIDE TOASTPROVIDER"), toasts.map(function({
|
7648
7649
|
id,
|
7649
7650
|
title,
|
7650
7651
|
description,
|
@@ -7652,7 +7653,7 @@ function Toaster(props) {
|
|
7652
7653
|
action,
|
7653
7654
|
...toastProps
|
7654
7655
|
}) {
|
7655
|
-
return /* @__PURE__ */ import_react33.default.createElement(Toast, { direction: props.direction, key: id, ...toastProps }, /* @__PURE__ */ import_react33.default.createElement(
|
7656
|
+
return /* @__PURE__ */ import_react33.default.createElement(Toast, { direction: props.direction, key: id, ...toastProps }, /* @__PURE__ */ import_react33.default.createElement("div", null, "I AM INSIDE TOAST"), /* @__PURE__ */ import_react33.default.createElement(
|
7656
7657
|
"div",
|
7657
7658
|
{
|
7658
7659
|
className: cn(
|
@@ -7667,7 +7668,10 @@ function Toaster(props) {
|
|
7667
7668
|
{
|
7668
7669
|
className: cn(
|
7669
7670
|
"hawa-flex hawa-w-full hawa-flex-row hawa-justify-between hawa-gap-2",
|
7670
|
-
{
|
7671
|
+
{
|
7672
|
+
"hawa-p-4": size === "default",
|
7673
|
+
"hawa-p-2": size === "sm"
|
7674
|
+
}
|
7671
7675
|
)
|
7672
7676
|
},
|
7673
7677
|
/* @__PURE__ */ import_react33.default.createElement("div", { className: "hawa-grid hawa-gap-1 hawa-text-start" }, title && /* @__PURE__ */ import_react33.default.createElement(ToastTitle, { size }, title), description && /* @__PURE__ */ import_react33.default.createElement(ToastDescription, { size }, description)),
|
@@ -7679,7 +7683,7 @@ function Toaster(props) {
|
|
7679
7683
|
{
|
7680
7684
|
className: cn("hawa-gap-2", isRTL && "hawa-fixed hawa-left-0")
|
7681
7685
|
}
|
7682
|
-
));
|
7686
|
+
)));
|
7683
7687
|
}
|
7684
7688
|
|
7685
7689
|
// elements/destroyableCard/DestroyableCard.tsx
|
package/dist/index.mjs
CHANGED
@@ -7409,11 +7409,12 @@ function useToast() {
|
|
7409
7409
|
React58.useEffect(() => {
|
7410
7410
|
console.log("useToast triggered in useEffect");
|
7411
7411
|
console.log("toast state", state);
|
7412
|
-
console.log("listerners", listeners);
|
7412
|
+
console.log("listerners BEFORE", listeners);
|
7413
7413
|
console.log("TOAST: setState is ", setState);
|
7414
7414
|
listeners.push(setState);
|
7415
7415
|
return () => {
|
7416
7416
|
const index = listeners.indexOf(setState);
|
7417
|
+
console.log("listerners AFTER", listeners);
|
7417
7418
|
if (index > -1) {
|
7418
7419
|
listeners.splice(index, 1);
|
7419
7420
|
}
|
@@ -7430,7 +7431,7 @@ function useToast() {
|
|
7430
7431
|
function Toaster(props) {
|
7431
7432
|
const { toasts } = useToast();
|
7432
7433
|
let isRTL = props.direction === "rtl";
|
7433
|
-
return /* @__PURE__ */ React59.createElement(ToastProvider, { swipeDirection: isRTL ? "left" : "right" }, toasts.map(function({
|
7434
|
+
return /* @__PURE__ */ React59.createElement("div", null, /* @__PURE__ */ React59.createElement("div", null, "I AM INSIDE MAIN TOASTER"), /* @__PURE__ */ React59.createElement(ToastProvider, { swipeDirection: isRTL ? "left" : "right" }, /* @__PURE__ */ React59.createElement("div", null, "I AM INSIDE TOASTPROVIDER"), toasts.map(function({
|
7434
7435
|
id,
|
7435
7436
|
title,
|
7436
7437
|
description,
|
@@ -7438,7 +7439,7 @@ function Toaster(props) {
|
|
7438
7439
|
action,
|
7439
7440
|
...toastProps
|
7440
7441
|
}) {
|
7441
|
-
return /* @__PURE__ */ React59.createElement(Toast, { direction: props.direction, key: id, ...toastProps }, /* @__PURE__ */ React59.createElement(
|
7442
|
+
return /* @__PURE__ */ React59.createElement(Toast, { direction: props.direction, key: id, ...toastProps }, /* @__PURE__ */ React59.createElement("div", null, "I AM INSIDE TOAST"), /* @__PURE__ */ React59.createElement(
|
7442
7443
|
"div",
|
7443
7444
|
{
|
7444
7445
|
className: cn(
|
@@ -7453,7 +7454,10 @@ function Toaster(props) {
|
|
7453
7454
|
{
|
7454
7455
|
className: cn(
|
7455
7456
|
"hawa-flex hawa-w-full hawa-flex-row hawa-justify-between hawa-gap-2",
|
7456
|
-
{
|
7457
|
+
{
|
7458
|
+
"hawa-p-4": size === "default",
|
7459
|
+
"hawa-p-2": size === "sm"
|
7460
|
+
}
|
7457
7461
|
)
|
7458
7462
|
},
|
7459
7463
|
/* @__PURE__ */ React59.createElement("div", { className: "hawa-grid hawa-gap-1 hawa-text-start" }, title && /* @__PURE__ */ React59.createElement(ToastTitle, { size }, title), description && /* @__PURE__ */ React59.createElement(ToastDescription, { size }, description)),
|
@@ -7465,7 +7469,7 @@ function Toaster(props) {
|
|
7465
7469
|
{
|
7466
7470
|
className: cn("hawa-gap-2", isRTL && "hawa-fixed hawa-left-0")
|
7467
7471
|
}
|
7468
|
-
));
|
7472
|
+
)));
|
7469
7473
|
}
|
7470
7474
|
|
7471
7475
|
// elements/destroyableCard/DestroyableCard.tsx
|
package/dist/toaster/index.js
CHANGED
@@ -37,6 +37,13 @@ module.exports = __toCommonJS(toaster_exports);
|
|
37
37
|
// elements/toaster/Toaster.tsx
|
38
38
|
var import_react = __toESM(require("react"));
|
39
39
|
|
40
|
+
// util/index.ts
|
41
|
+
var import_clsx = require("clsx");
|
42
|
+
var import_tailwind_merge = require("tailwind-merge");
|
43
|
+
function cn(...inputs) {
|
44
|
+
return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
|
45
|
+
}
|
46
|
+
|
40
47
|
// hooks/useToast.ts
|
41
48
|
var React = __toESM(require("react"));
|
42
49
|
var TOAST_LIMIT = 5;
|
@@ -141,11 +148,12 @@ function useToast() {
|
|
141
148
|
React.useEffect(() => {
|
142
149
|
console.log("useToast triggered in useEffect");
|
143
150
|
console.log("toast state", state);
|
144
|
-
console.log("listerners", listeners);
|
151
|
+
console.log("listerners BEFORE", listeners);
|
145
152
|
console.log("TOAST: setState is ", setState);
|
146
153
|
listeners.push(setState);
|
147
154
|
return () => {
|
148
155
|
const index = listeners.indexOf(setState);
|
156
|
+
console.log("listerners AFTER", listeners);
|
149
157
|
if (index > -1) {
|
150
158
|
listeners.splice(index, 1);
|
151
159
|
}
|
@@ -158,13 +166,6 @@ function useToast() {
|
|
158
166
|
};
|
159
167
|
}
|
160
168
|
|
161
|
-
// util/index.ts
|
162
|
-
var import_clsx = require("clsx");
|
163
|
-
var import_tailwind_merge = require("tailwind-merge");
|
164
|
-
function cn(...inputs) {
|
165
|
-
return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
|
166
|
-
}
|
167
|
-
|
168
169
|
// elements/toast/Toast.tsx
|
169
170
|
var React2 = __toESM(require("react"));
|
170
171
|
var ToastPrimitives = __toESM(require("@radix-ui/react-toast"));
|
@@ -306,7 +307,7 @@ ToastDescription.displayName = ToastPrimitives.Description.displayName;
|
|
306
307
|
function Toaster(props) {
|
307
308
|
const { toasts } = useToast();
|
308
309
|
let isRTL = props.direction === "rtl";
|
309
|
-
return /* @__PURE__ */ import_react.default.createElement(ToastProvider, { swipeDirection: isRTL ? "left" : "right" }, toasts.map(function({
|
310
|
+
return /* @__PURE__ */ import_react.default.createElement("div", null, /* @__PURE__ */ import_react.default.createElement("div", null, "I AM INSIDE MAIN TOASTER"), /* @__PURE__ */ import_react.default.createElement(ToastProvider, { swipeDirection: isRTL ? "left" : "right" }, /* @__PURE__ */ import_react.default.createElement("div", null, "I AM INSIDE TOASTPROVIDER"), toasts.map(function({
|
310
311
|
id,
|
311
312
|
title,
|
312
313
|
description,
|
@@ -314,7 +315,7 @@ function Toaster(props) {
|
|
314
315
|
action,
|
315
316
|
...toastProps
|
316
317
|
}) {
|
317
|
-
return /* @__PURE__ */ import_react.default.createElement(Toast, { direction: props.direction, key: id, ...toastProps }, /* @__PURE__ */ import_react.default.createElement(
|
318
|
+
return /* @__PURE__ */ import_react.default.createElement(Toast, { direction: props.direction, key: id, ...toastProps }, /* @__PURE__ */ import_react.default.createElement("div", null, "I AM INSIDE TOAST"), /* @__PURE__ */ import_react.default.createElement(
|
318
319
|
"div",
|
319
320
|
{
|
320
321
|
className: cn(
|
@@ -329,7 +330,10 @@ function Toaster(props) {
|
|
329
330
|
{
|
330
331
|
className: cn(
|
331
332
|
"hawa-flex hawa-w-full hawa-flex-row hawa-justify-between hawa-gap-2",
|
332
|
-
{
|
333
|
+
{
|
334
|
+
"hawa-p-4": size === "default",
|
335
|
+
"hawa-p-2": size === "sm"
|
336
|
+
}
|
333
337
|
)
|
334
338
|
},
|
335
339
|
/* @__PURE__ */ import_react.default.createElement("div", { className: "hawa-grid hawa-gap-1 hawa-text-start" }, title && /* @__PURE__ */ import_react.default.createElement(ToastTitle, { size }, title), description && /* @__PURE__ */ import_react.default.createElement(ToastDescription, { size }, description)),
|
@@ -341,7 +345,7 @@ function Toaster(props) {
|
|
341
345
|
{
|
342
346
|
className: cn("hawa-gap-2", isRTL && "hawa-fixed hawa-left-0")
|
343
347
|
}
|
344
|
-
));
|
348
|
+
)));
|
345
349
|
}
|
346
350
|
// Annotate the CommonJS export names for ESM import in node:
|
347
351
|
0 && (module.exports = {
|
package/dist/toaster/index.mjs
CHANGED
@@ -117,11 +117,12 @@ function useToast() {
|
|
117
117
|
React.useEffect(() => {
|
118
118
|
console.log("useToast triggered in useEffect");
|
119
119
|
console.log("toast state", state);
|
120
|
-
console.log("listerners", listeners);
|
120
|
+
console.log("listerners BEFORE", listeners);
|
121
121
|
console.log("TOAST: setState is ", setState);
|
122
122
|
listeners.push(setState);
|
123
123
|
return () => {
|
124
124
|
const index = listeners.indexOf(setState);
|
125
|
+
console.log("listerners AFTER", listeners);
|
125
126
|
if (index > -1) {
|
126
127
|
listeners.splice(index, 1);
|
127
128
|
}
|
@@ -138,7 +139,7 @@ function useToast() {
|
|
138
139
|
function Toaster(props) {
|
139
140
|
const { toasts } = useToast();
|
140
141
|
let isRTL = props.direction === "rtl";
|
141
|
-
return /* @__PURE__ */ React2.createElement(ToastProvider, { swipeDirection: isRTL ? "left" : "right" }, toasts.map(function({
|
142
|
+
return /* @__PURE__ */ React2.createElement("div", null, /* @__PURE__ */ React2.createElement("div", null, "I AM INSIDE MAIN TOASTER"), /* @__PURE__ */ React2.createElement(ToastProvider, { swipeDirection: isRTL ? "left" : "right" }, /* @__PURE__ */ React2.createElement("div", null, "I AM INSIDE TOASTPROVIDER"), toasts.map(function({
|
142
143
|
id,
|
143
144
|
title,
|
144
145
|
description,
|
@@ -146,7 +147,7 @@ function Toaster(props) {
|
|
146
147
|
action,
|
147
148
|
...toastProps
|
148
149
|
}) {
|
149
|
-
return /* @__PURE__ */ React2.createElement(Toast, { direction: props.direction, key: id, ...toastProps }, /* @__PURE__ */ React2.createElement(
|
150
|
+
return /* @__PURE__ */ React2.createElement(Toast, { direction: props.direction, key: id, ...toastProps }, /* @__PURE__ */ React2.createElement("div", null, "I AM INSIDE TOAST"), /* @__PURE__ */ React2.createElement(
|
150
151
|
"div",
|
151
152
|
{
|
152
153
|
className: cn(
|
@@ -161,7 +162,10 @@ function Toaster(props) {
|
|
161
162
|
{
|
162
163
|
className: cn(
|
163
164
|
"hawa-flex hawa-w-full hawa-flex-row hawa-justify-between hawa-gap-2",
|
164
|
-
{
|
165
|
+
{
|
166
|
+
"hawa-p-4": size === "default",
|
167
|
+
"hawa-p-2": size === "sm"
|
168
|
+
}
|
165
169
|
)
|
166
170
|
},
|
167
171
|
/* @__PURE__ */ React2.createElement("div", { className: "hawa-grid hawa-gap-1 hawa-text-start" }, title && /* @__PURE__ */ React2.createElement(ToastTitle, { size }, title), description && /* @__PURE__ */ React2.createElement(ToastDescription, { size }, description)),
|
@@ -173,7 +177,7 @@ function Toaster(props) {
|
|
173
177
|
{
|
174
178
|
className: cn("hawa-gap-2", isRTL && "hawa-fixed hawa-left-0")
|
175
179
|
}
|
176
|
-
));
|
180
|
+
)));
|
177
181
|
}
|
178
182
|
export {
|
179
183
|
Toaster
|