@sikka/hawa 0.30.30-next → 0.31.1-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.
- package/dist/commonTypes-eIwARo5g.d.mts +4 -0
- package/dist/commonTypes-eIwARo5g.d.ts +4 -0
- package/dist/index.css +26 -0
- package/dist/sonner/index.d.mts +11 -0
- package/dist/sonner/index.d.ts +11 -0
- package/dist/sonner/index.js +67 -0
- package/dist/sonner/index.js.map +1 -0
- package/dist/sonner/index.mjs +30 -0
- package/dist/sonner/index.mjs.map +1 -0
- package/dist/switch/index.d.mts +1 -2
- package/dist/switch/index.d.ts +1 -2
- package/dist/tabs/index.d.mts +1 -1
- package/dist/tabs/index.d.ts +1 -1
- package/dist/textarea/index.d.mts +1 -1
- package/dist/textarea/index.d.ts +1 -1
- package/dist/toast/index.d.mts +1 -1
- package/dist/toast/index.d.ts +1 -1
- package/dist/toaster/index.d.mts +4 -22
- package/dist/toaster/index.d.ts +4 -22
- package/package.json +3 -2
- package/dist/commonTypes-MeUyaBib.d.mts +0 -5
- package/dist/commonTypes-MeUyaBib.d.ts +0 -5
package/dist/index.css
CHANGED
@@ -3574,13 +3574,39 @@ body {
|
|
3574
3574
|
.hawa-group.success .group-\[\.success\]\:hawa-border-muted\/40 {
|
3575
3575
|
border-color: hsl(var(--muted) / 0.4);
|
3576
3576
|
}
|
3577
|
+
.hawa-group.toaster .group-\[\.toaster\]\:hawa-border-border {
|
3578
|
+
border-color: hsl(var(--border));
|
3579
|
+
}
|
3577
3580
|
.hawa-group.warning .group-\[\.warning\]\:hawa-border-muted\/40 {
|
3578
3581
|
border-color: hsl(var(--muted) / 0.4);
|
3579
3582
|
}
|
3583
|
+
.hawa-group.toast .group-\[\.toast\]\:hawa-bg-muted {
|
3584
|
+
background-color: hsl(var(--muted));
|
3585
|
+
}
|
3586
|
+
.hawa-group.toast .group-\[\.toast\]\:hawa-bg-primary {
|
3587
|
+
background-color: hsl(var(--primary));
|
3588
|
+
}
|
3589
|
+
.hawa-group.toaster .group-\[\.toaster\]\:hawa-bg-background {
|
3590
|
+
background-color: hsl(var(--background));
|
3591
|
+
}
|
3580
3592
|
.hawa-group.destructive .group-\[\.destructive\]\:hawa-text-red-300 {
|
3581
3593
|
--tw-text-opacity: 1;
|
3582
3594
|
color: rgb(252 165 165 / var(--tw-text-opacity));
|
3583
3595
|
}
|
3596
|
+
.hawa-group.toast .group-\[\.toast\]\:hawa-text-muted-foreground {
|
3597
|
+
color: hsl(var(--muted-foreground));
|
3598
|
+
}
|
3599
|
+
.hawa-group.toast .group-\[\.toast\]\:hawa-text-primary-foreground {
|
3600
|
+
color: hsl(var(--primary-foreground));
|
3601
|
+
}
|
3602
|
+
.hawa-group.toaster .group-\[\.toaster\]\:hawa-text-foreground {
|
3603
|
+
color: hsl(var(--foreground));
|
3604
|
+
}
|
3605
|
+
.hawa-group.toaster .group-\[\.toaster\]\:hawa-shadow-lg {
|
3606
|
+
--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
|
3607
|
+
--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
|
3608
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
3609
|
+
}
|
3584
3610
|
.hawa-group.error .group-\[\.error\]\:hover\:hawa-border-error\/30:hover {
|
3585
3611
|
border-color: hsl(var(--error) / 0.3);
|
3586
3612
|
}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import React__default from 'react';
|
2
|
+
import { toast, Toaster } from 'sonner';
|
3
|
+
import { D as DirectionType } from '../commonTypes-2k6FnHw5.mjs';
|
4
|
+
|
5
|
+
type SonnerProps = React__default.ComponentProps<typeof Toaster> & {
|
6
|
+
direction?: DirectionType;
|
7
|
+
};
|
8
|
+
declare const Sonner: ({ ...props }: SonnerProps) => React__default.JSX.Element;
|
9
|
+
declare const createSonner: typeof toast;
|
10
|
+
|
11
|
+
export { Sonner, createSonner };
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import React__default from 'react';
|
2
|
+
import { toast, Toaster } from 'sonner';
|
3
|
+
import { D as DirectionType } from '../commonTypes-2k6FnHw5.js';
|
4
|
+
|
5
|
+
type SonnerProps = React__default.ComponentProps<typeof Toaster> & {
|
6
|
+
direction?: DirectionType;
|
7
|
+
};
|
8
|
+
declare const Sonner: ({ ...props }: SonnerProps) => React__default.JSX.Element;
|
9
|
+
declare const createSonner: typeof toast;
|
10
|
+
|
11
|
+
export { Sonner, createSonner };
|
@@ -0,0 +1,67 @@
|
|
1
|
+
"use client";
|
2
|
+
"use strict";
|
3
|
+
var __create = Object.create;
|
4
|
+
var __defProp = Object.defineProperty;
|
5
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
6
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
7
|
+
var __getProtoOf = Object.getPrototypeOf;
|
8
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
9
|
+
var __export = (target, all) => {
|
10
|
+
for (var name in all)
|
11
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
12
|
+
};
|
13
|
+
var __copyProps = (to, from, except, desc) => {
|
14
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
15
|
+
for (let key of __getOwnPropNames(from))
|
16
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
17
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
18
|
+
}
|
19
|
+
return to;
|
20
|
+
};
|
21
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
22
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
23
|
+
// file that has been converted to a CommonJS file using a Babel-
|
24
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
25
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
26
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
27
|
+
mod
|
28
|
+
));
|
29
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
30
|
+
|
31
|
+
// elements/sonner/index.ts
|
32
|
+
var sonner_exports = {};
|
33
|
+
__export(sonner_exports, {
|
34
|
+
Sonner: () => Sonner,
|
35
|
+
createSonner: () => createSonner
|
36
|
+
});
|
37
|
+
module.exports = __toCommonJS(sonner_exports);
|
38
|
+
|
39
|
+
// elements/sonner/Sonner.tsx
|
40
|
+
var import_react = __toESM(require("react"));
|
41
|
+
var import_sonner = require("sonner");
|
42
|
+
var Sonner = ({ ...props }) => {
|
43
|
+
return /* @__PURE__ */ import_react.default.createElement(
|
44
|
+
import_sonner.Toaster,
|
45
|
+
{
|
46
|
+
dir: props.direction,
|
47
|
+
position: props.direction === "rtl" ? "bottom-left" : "bottom-right",
|
48
|
+
className: "toaster group",
|
49
|
+
toastOptions: {
|
50
|
+
classNames: {
|
51
|
+
toast: "group toast group-[.toaster]:hawa-bg-background group-[.toaster]:hawa-text-foreground group-[.toaster]:hawa-border-border group-[.toaster]:hawa-shadow-lg",
|
52
|
+
description: "group-[.toast]:text-muted-foreground",
|
53
|
+
actionButton: "group-[.toast]:hawa-bg-primary group-[.toast]:hawa-text-primary-foreground",
|
54
|
+
cancelButton: "group-[.toast]:hawa-bg-muted group-[.toast]:hawa-text-muted-foreground"
|
55
|
+
}
|
56
|
+
},
|
57
|
+
...props
|
58
|
+
}
|
59
|
+
);
|
60
|
+
};
|
61
|
+
var createSonner = import_sonner.toast;
|
62
|
+
// Annotate the CommonJS export names for ESM import in node:
|
63
|
+
0 && (module.exports = {
|
64
|
+
Sonner,
|
65
|
+
createSonner
|
66
|
+
});
|
67
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../elements/sonner/index.ts","../../elements/sonner/Sonner.tsx"],"sourcesContent":["export * from \"./Sonner\";\n","import React from \"react\";\n\nimport { Toaster as SonnerToaster, toast } from \"sonner\";\n\nimport { DirectionType } from \"@_types/commonTypes\";\n\ntype SonnerProps = React.ComponentProps<typeof SonnerToaster> & {\n direction?: DirectionType;\n};\n\nconst Sonner = ({ ...props }: SonnerProps) => {\n return (\n <SonnerToaster\n // theme={theme as SonnerProps[\"theme\"]}\n\n dir={props.direction}\n position={props.direction === \"rtl\" ? \"bottom-left\" : \"bottom-right\"}\n className=\"toaster group\"\n toastOptions={{\n classNames: {\n toast:\n \"group toast group-[.toaster]:hawa-bg-background group-[.toaster]:hawa-text-foreground group-[.toaster]:hawa-border-border group-[.toaster]:hawa-shadow-lg\",\n description: \"group-[.toast]:text-muted-foreground\",\n actionButton:\n \"group-[.toast]:hawa-bg-primary group-[.toast]:hawa-text-primary-foreground\",\n cancelButton:\n \"group-[.toast]:hawa-bg-muted group-[.toast]:hawa-text-muted-foreground\",\n },\n }}\n {...props}\n />\n );\n};\n\nconst createSonner: typeof toast = toast;\n\nexport { Sonner, createSonner };\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,mBAAkB;AAElB,oBAAgD;AAQhD,IAAM,SAAS,CAAC,EAAE,GAAG,MAAM,MAAmB;AAC5C,SACE,6BAAAA,QAAA;AAAA,IAAC,cAAAC;AAAA,IAAA;AAAA,MAGC,KAAK,MAAM;AAAA,MACX,UAAU,MAAM,cAAc,QAAQ,gBAAgB;AAAA,MACtD,WAAU;AAAA,MACV,cAAc;AAAA,QACZ,YAAY;AAAA,UACV,OACE;AAAA,UACF,aAAa;AAAA,UACb,cACE;AAAA,UACF,cACE;AAAA,QACJ;AAAA,MACF;AAAA,MACC,GAAG;AAAA;AAAA,EACN;AAEJ;AAEA,IAAM,eAA6B;","names":["React","SonnerToaster"]}
|
@@ -0,0 +1,30 @@
|
|
1
|
+
"use client";
|
2
|
+
|
3
|
+
// elements/sonner/Sonner.tsx
|
4
|
+
import React from "react";
|
5
|
+
import { Toaster as SonnerToaster, toast } from "sonner";
|
6
|
+
var Sonner = ({ ...props }) => {
|
7
|
+
return /* @__PURE__ */ React.createElement(
|
8
|
+
SonnerToaster,
|
9
|
+
{
|
10
|
+
dir: props.direction,
|
11
|
+
position: props.direction === "rtl" ? "bottom-left" : "bottom-right",
|
12
|
+
className: "toaster group",
|
13
|
+
toastOptions: {
|
14
|
+
classNames: {
|
15
|
+
toast: "group toast group-[.toaster]:hawa-bg-background group-[.toaster]:hawa-text-foreground group-[.toaster]:hawa-border-border group-[.toaster]:hawa-shadow-lg",
|
16
|
+
description: "group-[.toast]:text-muted-foreground",
|
17
|
+
actionButton: "group-[.toast]:hawa-bg-primary group-[.toast]:hawa-text-primary-foreground",
|
18
|
+
cancelButton: "group-[.toast]:hawa-bg-muted group-[.toast]:hawa-text-muted-foreground"
|
19
|
+
}
|
20
|
+
},
|
21
|
+
...props
|
22
|
+
}
|
23
|
+
);
|
24
|
+
};
|
25
|
+
var createSonner = toast;
|
26
|
+
export {
|
27
|
+
Sonner,
|
28
|
+
createSonner
|
29
|
+
};
|
30
|
+
//# sourceMappingURL=index.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../elements/sonner/Sonner.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { Toaster as SonnerToaster, toast } from \"sonner\";\n\nimport { DirectionType } from \"@_types/commonTypes\";\n\ntype SonnerProps = React.ComponentProps<typeof SonnerToaster> & {\n direction?: DirectionType;\n};\n\nconst Sonner = ({ ...props }: SonnerProps) => {\n return (\n <SonnerToaster\n // theme={theme as SonnerProps[\"theme\"]}\n\n dir={props.direction}\n position={props.direction === \"rtl\" ? \"bottom-left\" : \"bottom-right\"}\n className=\"toaster group\"\n toastOptions={{\n classNames: {\n toast:\n \"group toast group-[.toaster]:hawa-bg-background group-[.toaster]:hawa-text-foreground group-[.toaster]:hawa-border-border group-[.toaster]:hawa-shadow-lg\",\n description: \"group-[.toast]:text-muted-foreground\",\n actionButton:\n \"group-[.toast]:hawa-bg-primary group-[.toast]:hawa-text-primary-foreground\",\n cancelButton:\n \"group-[.toast]:hawa-bg-muted group-[.toast]:hawa-text-muted-foreground\",\n },\n }}\n {...props}\n />\n );\n};\n\nconst createSonner: typeof toast = toast;\n\nexport { Sonner, createSonner };\n"],"mappings":";;;AAAA,OAAO,WAAW;AAElB,SAAS,WAAW,eAAe,aAAa;AAQhD,IAAM,SAAS,CAAC,EAAE,GAAG,MAAM,MAAmB;AAC5C,SACE;AAAA,IAAC;AAAA;AAAA,MAGC,KAAK,MAAM;AAAA,MACX,UAAU,MAAM,cAAc,QAAQ,gBAAgB;AAAA,MACtD,WAAU;AAAA,MACV,cAAc;AAAA,QACZ,YAAY;AAAA,UACV,OACE;AAAA,UACF,aAAa;AAAA,UACb,cACE;AAAA,UACF,cACE;AAAA,QACJ;AAAA,MACF;AAAA,MACC,GAAG;AAAA;AAAA,EACN;AAEJ;AAEA,IAAM,eAA6B;","names":[]}
|
package/dist/switch/index.d.mts
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
import * as React from 'react';
|
2
2
|
import * as SwitchPrimitives from '@radix-ui/react-switch';
|
3
|
-
|
4
|
-
type RadiusType = "full" | "inherit" | "none";
|
3
|
+
import { R as RadiusType } from '../commonTypes-2k6FnHw5.mjs';
|
5
4
|
|
6
5
|
interface SwitchProps extends React.ComponentPropsWithoutRef<typeof SwitchPrimitives.Root> {
|
7
6
|
size?: "default" | "sm" | "lg";
|
package/dist/switch/index.d.ts
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
import * as React from 'react';
|
2
2
|
import * as SwitchPrimitives from '@radix-ui/react-switch';
|
3
|
-
|
4
|
-
type RadiusType = "full" | "inherit" | "none";
|
3
|
+
import { R as RadiusType } from '../commonTypes-2k6FnHw5.js';
|
5
4
|
|
6
5
|
interface SwitchProps extends React.ComponentPropsWithoutRef<typeof SwitchPrimitives.Root> {
|
7
6
|
size?: "default" | "sm" | "lg";
|
package/dist/tabs/index.d.mts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import * as React from 'react';
|
2
2
|
import React__default from 'react';
|
3
3
|
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
4
|
-
import { R as RadiusType } from '../commonTypes-
|
4
|
+
import { R as RadiusType } from '../commonTypes-eIwARo5g.mjs';
|
5
5
|
|
6
6
|
type ChipColors = "green" | "blue" | "red" | "yellow" | "orange" | "purple" | "cyan" | "hyper" | "oceanic";
|
7
7
|
type ChipTypes = React__default.HTMLAttributes<HTMLSpanElement> & {
|
package/dist/tabs/index.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import * as React from 'react';
|
2
2
|
import React__default from 'react';
|
3
3
|
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
4
|
-
import { R as RadiusType } from '../commonTypes-
|
4
|
+
import { R as RadiusType } from '../commonTypes-eIwARo5g.js';
|
5
5
|
|
6
6
|
type ChipColors = "green" | "blue" | "red" | "yellow" | "orange" | "purple" | "cyan" | "hyper" | "oceanic";
|
7
7
|
type ChipTypes = React__default.HTMLAttributes<HTMLSpanElement> & {
|
package/dist/textarea/index.d.ts
CHANGED
package/dist/toast/index.d.mts
CHANGED
@@ -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 { D as DirectionType } from '../commonTypes-
|
5
|
+
import { D as DirectionType } from '../commonTypes-_11epZYh.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>>;
|
package/dist/toast/index.d.ts
CHANGED
@@ -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 { D as DirectionType } from '../commonTypes-
|
5
|
+
import { D as DirectionType } from '../commonTypes-_11epZYh.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>>;
|
package/dist/toaster/index.d.mts
CHANGED
@@ -1,27 +1,9 @@
|
|
1
|
-
import * as React from 'react';
|
2
1
|
import React__default from 'react';
|
3
2
|
import { D as DirectionType } from '../commonTypes-_11epZYh.mjs';
|
4
|
-
import
|
5
|
-
import
|
6
|
-
import
|
7
|
-
|
8
|
-
declare const Toast: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React.RefAttributes<HTMLLIElement>, "ref"> & VariantProps<(props?: ({
|
9
|
-
variant?: "default" | "destructive" | null | undefined;
|
10
|
-
severity?: "info" | "warning" | "error" | "success" | "none" | null | undefined;
|
11
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
12
|
-
direction?: DirectionType | undefined;
|
13
|
-
} & React.RefAttributes<HTMLLIElement>>;
|
14
|
-
declare const ToastAction: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
15
|
-
type ToastProps = React.ComponentPropsWithoutRef<typeof Toast>;
|
16
|
-
type ToastActionElement = React.ReactElement<typeof ToastAction>;
|
17
|
-
type ToasterToastProps = ToastProps & {
|
18
|
-
id: string;
|
19
|
-
title?: React.ReactNode;
|
20
|
-
description?: React.ReactNode;
|
21
|
-
severity?: "info" | "warning" | "error" | "success" | "none";
|
22
|
-
action?: ToastActionElement;
|
23
|
-
size?: "default" | "sm";
|
24
|
-
};
|
3
|
+
import { ToasterToastProps } from '../toast/index.mjs';
|
4
|
+
import 'class-variance-authority/types';
|
5
|
+
import '@radix-ui/react-toast';
|
6
|
+
import 'class-variance-authority';
|
25
7
|
|
26
8
|
type ToasterProps = {
|
27
9
|
direction?: DirectionType;
|
package/dist/toaster/index.d.ts
CHANGED
@@ -1,27 +1,9 @@
|
|
1
|
-
import * as React from 'react';
|
2
1
|
import React__default from 'react';
|
3
2
|
import { D as DirectionType } from '../commonTypes-_11epZYh.js';
|
4
|
-
import
|
5
|
-
import
|
6
|
-
import
|
7
|
-
|
8
|
-
declare const Toast: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React.RefAttributes<HTMLLIElement>, "ref"> & VariantProps<(props?: ({
|
9
|
-
variant?: "default" | "destructive" | null | undefined;
|
10
|
-
severity?: "info" | "warning" | "error" | "success" | "none" | null | undefined;
|
11
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
12
|
-
direction?: DirectionType | undefined;
|
13
|
-
} & React.RefAttributes<HTMLLIElement>>;
|
14
|
-
declare const ToastAction: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
15
|
-
type ToastProps = React.ComponentPropsWithoutRef<typeof Toast>;
|
16
|
-
type ToastActionElement = React.ReactElement<typeof ToastAction>;
|
17
|
-
type ToasterToastProps = ToastProps & {
|
18
|
-
id: string;
|
19
|
-
title?: React.ReactNode;
|
20
|
-
description?: React.ReactNode;
|
21
|
-
severity?: "info" | "warning" | "error" | "success" | "none";
|
22
|
-
action?: ToastActionElement;
|
23
|
-
size?: "default" | "sm";
|
24
|
-
};
|
3
|
+
import { ToasterToastProps } from '../toast/index.js';
|
4
|
+
import 'class-variance-authority/types';
|
5
|
+
import '@radix-ui/react-toast';
|
6
|
+
import 'class-variance-authority';
|
25
7
|
|
26
8
|
type ToasterProps = {
|
27
9
|
direction?: DirectionType;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@sikka/hawa",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.31.1-next",
|
4
4
|
"description": "Modern UI Kit made with Tailwind",
|
5
5
|
"author": {
|
6
6
|
"name": "Sikka Software",
|
@@ -80,6 +80,7 @@
|
|
80
80
|
"react-hook-form": "^7.51.2",
|
81
81
|
"react-select": "^5.8.0",
|
82
82
|
"signature_pad": "^4.2.0",
|
83
|
+
"sonner": "^1.2.3",
|
83
84
|
"tailwind-merge": "^2.2.2",
|
84
85
|
"tailwind-variants": "^0.2.1",
|
85
86
|
"trim-canvas": "^0.1.2",
|
@@ -89,7 +90,7 @@
|
|
89
90
|
"@babel/preset-react": "^7.24.1",
|
90
91
|
"@sikka/alam": "^0.0.4",
|
91
92
|
"@testing-library/jest-dom": "^6.4.2",
|
92
|
-
"@testing-library/react": "^14.
|
93
|
+
"@testing-library/react": "^14.3.0",
|
93
94
|
"@types/jest": "^29.5.12",
|
94
95
|
"@types/react": "^18.2.74",
|
95
96
|
"@types/react-dom": "^18.2.24",
|