@teach-in/react 0.2.0 → 0.3.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/dist/{chunk-545OBZ4O.mjs → chunk-2ASQXBDD.mjs} +1 -1
- package/dist/{chunk-X7ER4IDJ.mjs → chunk-2CEZXLZR.mjs} +2 -2
- package/dist/chunk-2SNKT7I4.mjs +9 -0
- package/dist/chunk-4KPEPEPC.mjs +26 -0
- package/dist/chunk-C4PCTOGM.mjs +12 -0
- package/dist/chunk-CA2EAK5M.mjs +40 -0
- package/dist/chunk-E5QSNLSR.mjs +38 -0
- package/dist/chunk-FQUYFYMS.mjs +24 -0
- package/dist/chunk-ICRO6HS3.mjs +1 -0
- package/dist/chunk-J3GK2CGQ.mjs +1 -0
- package/dist/chunk-JTPBZJ4S.mjs +14 -0
- package/dist/chunk-L6XIUULU.mjs +14 -0
- package/dist/chunk-LLP2PTPK.mjs +1 -0
- package/dist/{chunk-6UIBJVXP.mjs → chunk-MCZBJUTN.mjs} +1 -1
- package/dist/chunk-MJTSZFLC.mjs +1 -0
- package/dist/{chunk-WTXPB253.mjs → chunk-N3QOXWJI.mjs} +1 -1
- package/dist/chunk-N7GOJBLM.mjs +1 -0
- package/dist/chunk-NMMWGIQE.mjs +1 -0
- package/dist/chunk-NOXFF2KJ.mjs +16 -0
- package/dist/chunk-NVLF7L4R.mjs +1 -0
- package/dist/chunk-OZSO3C5Q.mjs +14 -0
- package/dist/chunk-PKZZEODR.mjs +29 -0
- package/dist/chunk-Q6JSJOU4.mjs +1 -0
- package/dist/{chunk-PFLROV3C.mjs → chunk-QCLLPJMB.mjs} +2 -2
- package/dist/chunk-QUMDPADZ.mjs +14 -0
- package/dist/chunk-RRA7GWP2.mjs +1 -0
- package/dist/chunk-SAYYLTIE.mjs +52 -0
- package/dist/chunk-U4FAPNVK.mjs +1 -0
- package/dist/chunk-UFYLYN5Z.mjs +37 -0
- package/dist/chunk-UNBE67YJ.mjs +1 -0
- package/dist/chunk-UUKS7JYX.mjs +1 -0
- package/dist/chunk-VWGY6KWP.mjs +15 -0
- package/dist/chunk-W2A6C27Y.mjs +35 -0
- package/dist/chunk-XHCXM5MU.mjs +14 -0
- package/dist/chunk-YNCISHAU.mjs +27 -0
- package/dist/chunk-ZSYIKEXW.mjs +21 -0
- package/dist/index.js +539 -182
- package/dist/index.mjs +227 -93
- package/dist/ui/data/index.d.ts +2 -0
- package/dist/ui/data/index.js +37 -2
- package/dist/ui/data/index.mjs +24 -2
- package/dist/ui/data/table/index.d.ts +1 -0
- package/dist/ui/data/table/index.js +52 -0
- package/dist/ui/data/table/index.mjs +20 -0
- package/dist/ui/data/table/table.d.ts +23 -0
- package/dist/ui/data/table/table.js +50 -0
- package/dist/ui/data/table/table.mjs +19 -0
- package/dist/ui/data/user/index.d.ts +1 -0
- package/dist/ui/data/user/index.js +49 -0
- package/dist/ui/data/user/index.mjs +8 -0
- package/dist/ui/data/user/user.d.ts +6 -0
- package/dist/ui/data/user/user.js +47 -0
- package/dist/ui/data/user/user.mjs +7 -0
- package/dist/ui/feedback/index.d.ts +2 -0
- package/dist/ui/feedback/index.js +67 -10
- package/dist/ui/feedback/index.mjs +33 -6
- package/dist/ui/feedback/progress/circular-progress.d.ts +9 -0
- package/dist/ui/feedback/progress/circular-progress.js +47 -0
- package/dist/ui/feedback/progress/circular-progress.mjs +7 -0
- package/dist/ui/feedback/progress/index.d.ts +2 -0
- package/dist/ui/feedback/progress/index.js +60 -0
- package/dist/ui/feedback/progress/index.mjs +12 -0
- package/dist/ui/feedback/progress/progress.d.ts +9 -0
- package/dist/ui/feedback/progress/progress.js +47 -0
- package/dist/ui/feedback/progress/progress.mjs +7 -0
- package/dist/ui/feedback/toast/index.d.ts +1 -0
- package/dist/ui/feedback/toast/index.js +73 -0
- package/dist/ui/feedback/toast/index.mjs +21 -0
- package/dist/ui/feedback/toast/toast.d.ts +17 -0
- package/dist/ui/feedback/toast/toast.js +71 -0
- package/dist/ui/feedback/toast/toast.mjs +21 -0
- package/dist/ui/form/index.js +83 -43
- package/dist/ui/form/index.mjs +30 -21
- package/dist/ui/form/rhf/fields/autocomplete-field.mjs +15 -10
- package/dist/ui/form/rhf/fields/checkbox-field.js +1 -1
- package/dist/ui/form/rhf/fields/checkbox-field.mjs +16 -11
- package/dist/ui/form/rhf/fields/date-picker-field.mjs +15 -10
- package/dist/ui/form/rhf/fields/email-field.mjs +15 -10
- package/dist/ui/form/rhf/fields/index.d.ts +1 -0
- package/dist/ui/form/rhf/fields/index.js +79 -39
- package/dist/ui/form/rhf/fields/index.mjs +30 -21
- package/dist/ui/form/rhf/fields/input-field.mjs +15 -10
- package/dist/ui/form/rhf/fields/radio-field.d.ts +10 -0
- package/dist/ui/form/rhf/fields/radio-field.js +78 -0
- package/dist/ui/form/rhf/fields/radio-field.mjs +31 -0
- package/dist/ui/form/rhf/fields/select-field.mjs +15 -10
- package/dist/ui/form/rhf/fields/switch-field.mjs +15 -10
- package/dist/ui/form/rhf/fields/text-field.mjs +15 -10
- package/dist/ui/form/rhf/fields/textarea-field.mjs +15 -10
- package/dist/ui/form/rhf/index.js +79 -39
- package/dist/ui/form/rhf/index.mjs +30 -21
- package/dist/ui/format/index.mjs +6 -6
- package/dist/ui/index.js +539 -182
- package/dist/ui/index.mjs +227 -93
- package/dist/ui/inputs/checkbox/checkbox-group.d.ts +9 -0
- package/dist/ui/inputs/checkbox/checkbox-group.js +45 -0
- package/dist/ui/inputs/checkbox/checkbox-group.mjs +7 -0
- package/dist/ui/inputs/checkbox/checkbox.js +1 -1
- package/dist/ui/inputs/checkbox/checkbox.mjs +1 -1
- package/dist/ui/inputs/checkbox/index.d.ts +1 -0
- package/dist/ui/inputs/checkbox/index.js +12 -3
- package/dist/ui/inputs/checkbox/index.mjs +7 -3
- package/dist/ui/inputs/index.d.ts +1 -0
- package/dist/ui/inputs/index.js +93 -30
- package/dist/ui/inputs/index.mjs +32 -15
- package/dist/ui/inputs/radio/index.d.ts +2 -0
- package/dist/ui/inputs/radio/index.js +57 -0
- package/dist/ui/inputs/radio/index.mjs +12 -0
- package/dist/ui/inputs/radio/radio-group.d.ts +9 -0
- package/dist/ui/inputs/radio/radio-group.js +49 -0
- package/dist/ui/inputs/radio/radio-group.mjs +7 -0
- package/dist/ui/inputs/radio/radio.d.ts +6 -0
- package/dist/ui/inputs/radio/radio.js +32 -0
- package/dist/ui/inputs/radio/radio.mjs +7 -0
- package/dist/ui/inputs/switch/favorite-switch.d.ts +6 -0
- package/dist/ui/inputs/switch/favorite-switch.js +62 -0
- package/dist/ui/inputs/switch/favorite-switch.mjs +8 -0
- package/dist/ui/inputs/switch/index.d.ts +1 -0
- package/dist/ui/inputs/switch/index.js +35 -0
- package/dist/ui/inputs/switch/index.mjs +5 -1
- package/dist/ui/layout/accordion/accordion.d.ts +10 -0
- package/dist/ui/layout/accordion/accordion.js +35 -0
- package/dist/ui/layout/accordion/accordion.mjs +9 -0
- package/dist/ui/layout/accordion/index.d.ts +1 -0
- package/dist/ui/layout/accordion/index.js +37 -0
- package/dist/ui/layout/accordion/index.mjs +10 -0
- package/dist/ui/layout/container/container.mjs +85 -55
- package/dist/ui/layout/container/index.mjs +85 -55
- package/dist/ui/layout/divider/divider.d.ts +6 -0
- package/dist/ui/layout/divider/divider.js +48 -0
- package/dist/ui/layout/divider/divider.mjs +7 -0
- package/dist/ui/layout/divider/index.d.ts +1 -0
- package/dist/ui/layout/divider/index.js +50 -0
- package/dist/ui/layout/divider/index.mjs +8 -0
- package/dist/ui/layout/index.d.ts +3 -0
- package/dist/ui/layout/index.js +32 -0
- package/dist/ui/layout/index.mjs +98 -57
- package/dist/ui/layout/page/index.mjs +10 -6
- package/dist/ui/layout/page/page-loading.mjs +7 -3
- package/dist/ui/layout/page/section-loading.mjs +7 -3
- package/dist/ui/layout/scroll-shadow/index.d.ts +1 -0
- package/dist/ui/layout/scroll-shadow/index.js +49 -0
- package/dist/ui/layout/scroll-shadow/index.mjs +8 -0
- package/dist/ui/layout/scroll-shadow/scroll-shadow.d.ts +9 -0
- package/dist/ui/layout/scroll-shadow/scroll-shadow.js +47 -0
- package/dist/ui/layout/scroll-shadow/scroll-shadow.mjs +7 -0
- package/dist/ui/navigation/breadcrumbs/breadcrumbs.d.ts +6 -0
- package/dist/ui/navigation/breadcrumbs/breadcrumbs.js +57 -0
- package/dist/ui/navigation/breadcrumbs/breadcrumbs.mjs +9 -0
- package/dist/ui/navigation/breadcrumbs/index.d.ts +1 -0
- package/dist/ui/navigation/breadcrumbs/index.js +59 -0
- package/dist/ui/navigation/breadcrumbs/index.mjs +10 -0
- package/dist/ui/navigation/index.d.ts +3 -0
- package/dist/ui/navigation/index.js +98 -2
- package/dist/ui/navigation/index.mjs +31 -2
- package/dist/ui/navigation/navbar/index.d.ts +1 -0
- package/dist/ui/navigation/navbar/index.js +85 -0
- package/dist/ui/navigation/navbar/index.mjs +20 -0
- package/dist/ui/navigation/navbar/navbar.d.ts +26 -0
- package/dist/ui/navigation/navbar/navbar.js +83 -0
- package/dist/ui/navigation/navbar/navbar.mjs +19 -0
- package/dist/ui/navigation/tabs/index.d.ts +1 -0
- package/dist/ui/navigation/tabs/index.js +56 -0
- package/dist/ui/navigation/tabs/index.mjs +8 -0
- package/dist/ui/navigation/tabs/tabs.d.ts +7 -0
- package/dist/ui/navigation/tabs/tabs.js +54 -0
- package/dist/ui/navigation/tabs/tabs.mjs +7 -0
- package/dist/ui/overlays/dropdown/dropdown.d.ts +28 -0
- package/dist/ui/overlays/dropdown/dropdown.js +48 -0
- package/dist/ui/overlays/dropdown/dropdown.mjs +15 -0
- package/dist/ui/overlays/dropdown/index.d.ts +1 -0
- package/dist/ui/overlays/dropdown/index.js +50 -0
- package/dist/ui/overlays/dropdown/index.mjs +16 -0
- package/dist/ui/overlays/index.d.ts +1 -0
- package/dist/ui/overlays/index.js +22 -0
- package/dist/ui/overlays/index.mjs +14 -1
- package/dist/ui/provider/index.js +31 -2
- package/dist/ui/provider/index.mjs +14 -1
- package/dist/ui/provider/ui-provider.d.ts +3 -1
- package/dist/ui/provider/ui-provider.js +31 -2
- package/dist/ui/provider/ui-provider.mjs +14 -1
- package/dist/ui/surface/card/card.d.ts +36 -0
- package/dist/ui/surface/card/card.js +65 -0
- package/dist/ui/surface/card/card.mjs +7 -0
- package/dist/ui/surface/card/index.d.ts +1 -0
- package/dist/ui/surface/card/index.js +67 -0
- package/dist/ui/surface/card/index.mjs +8 -0
- package/dist/ui/surface/index.d.ts +1 -0
- package/dist/ui/surface/index.js +39 -0
- package/dist/ui/surface/index.mjs +6 -1
- package/dist/ui/theme/colors/common.mjs +4 -4
- package/dist/ui/theme/colors/index.js +1 -1
- package/dist/ui/theme/colors/index.mjs +6 -6
- package/dist/ui/theme/colors/semantic.js +1 -1
- package/dist/ui/theme/colors/semantic.mjs +5 -5
- package/dist/ui/theme/colors.js +1 -1
- package/dist/ui/theme/colors.mjs +6 -6
- package/dist/ui/theme/index.js +1 -1
- package/dist/ui/theme/index.mjs +7 -7
- package/dist/ui/theme/theme.js +1 -1
- package/dist/ui/theme/theme.mjs +7 -7
- package/package.json +14 -1
- package/dist/chunk-6WK4W5LL.mjs +0 -17
- package/dist/{chunk-54ZSBA6H.mjs → chunk-54FA62HL.mjs} +0 -0
- package/dist/{chunk-5EWHMXCP.mjs → chunk-57JRJHSH.mjs} +0 -0
- package/dist/{chunk-IZ5KKF6P.mjs → chunk-773RYGHT.mjs} +0 -0
- package/dist/{chunk-5HUR2CNH.mjs → chunk-AR4IYKG5.mjs} +0 -0
- package/dist/{chunk-5YMUHF45.mjs → chunk-AT6DX4DN.mjs} +0 -0
- package/dist/{chunk-CAJWTQDB.mjs → chunk-BGNMWHME.mjs} +0 -0
- package/dist/{chunk-JJHHWDZT.mjs → chunk-CTKWGSNJ.mjs} +0 -0
- package/dist/{chunk-OEHJDT6R.mjs → chunk-CYSW4N3T.mjs} +0 -0
- package/dist/{chunk-UURZJWWV.mjs → chunk-CZEO3U25.mjs} +0 -0
- package/dist/{chunk-WJXIRSSW.mjs → chunk-FKHR6G3R.mjs} +0 -0
- package/dist/{chunk-NCM6KIQH.mjs → chunk-IXPMUODA.mjs} +9 -9
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
Table,
|
|
4
|
+
TableBody,
|
|
5
|
+
TableCell,
|
|
6
|
+
TableColumn,
|
|
7
|
+
TableHeader,
|
|
8
|
+
TableRow,
|
|
9
|
+
getKeyValue
|
|
10
|
+
} from "../../../chunk-PKZZEODR.mjs";
|
|
11
|
+
export {
|
|
12
|
+
Table,
|
|
13
|
+
TableBody,
|
|
14
|
+
TableCell,
|
|
15
|
+
TableColumn,
|
|
16
|
+
TableHeader,
|
|
17
|
+
TableRow,
|
|
18
|
+
getKeyValue
|
|
19
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./user";
|
|
@@ -0,0 +1,49 @@
|
|
|
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
|
+
// src/ui/data/user/index.ts
|
|
32
|
+
var user_exports = {};
|
|
33
|
+
__export(user_exports, {
|
|
34
|
+
User: () => User
|
|
35
|
+
});
|
|
36
|
+
module.exports = __toCommonJS(user_exports);
|
|
37
|
+
|
|
38
|
+
// src/ui/data/user/user.tsx
|
|
39
|
+
var import_react = __toESM(require("react"));
|
|
40
|
+
var import_user = require("@heroui/user");
|
|
41
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
42
|
+
var User = import_react.default.forwardRef((props, ref) => {
|
|
43
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_user.User, { ref, ...props });
|
|
44
|
+
});
|
|
45
|
+
User.displayName = "TeachInUI.User";
|
|
46
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
47
|
+
0 && (module.exports = {
|
|
48
|
+
User
|
|
49
|
+
});
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { UserProps as HeroUIUserProps } from "@heroui/user";
|
|
2
|
+
import React from "react";
|
|
3
|
+
export interface UserProps extends HeroUIUserProps {
|
|
4
|
+
}
|
|
5
|
+
declare const User: React.ForwardRefExoticComponent<Omit<UserProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
6
|
+
export { User };
|
|
@@ -0,0 +1,47 @@
|
|
|
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
|
+
// src/ui/data/user/user.tsx
|
|
32
|
+
var user_exports = {};
|
|
33
|
+
__export(user_exports, {
|
|
34
|
+
User: () => User
|
|
35
|
+
});
|
|
36
|
+
module.exports = __toCommonJS(user_exports);
|
|
37
|
+
var import_react = __toESM(require("react"));
|
|
38
|
+
var import_user = require("@heroui/user");
|
|
39
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
40
|
+
var User = import_react.default.forwardRef((props, ref) => {
|
|
41
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_user.User, { ref, ...props });
|
|
42
|
+
});
|
|
43
|
+
User.displayName = "TeachInUI.User";
|
|
44
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
45
|
+
0 && (module.exports = {
|
|
46
|
+
User
|
|
47
|
+
});
|
|
@@ -33,8 +33,18 @@ var feedback_exports = {};
|
|
|
33
33
|
__export(feedback_exports, {
|
|
34
34
|
Alert: () => Alert,
|
|
35
35
|
Chip: () => Chip,
|
|
36
|
+
CircularProgress: () => CircularProgress,
|
|
37
|
+
Progress: () => Progress,
|
|
36
38
|
Spinner: () => Spinner,
|
|
37
|
-
|
|
39
|
+
Toast: () => Toast,
|
|
40
|
+
ToastProvider: () => ToastProvider,
|
|
41
|
+
Tooltip: () => Tooltip,
|
|
42
|
+
addToast: () => addToast,
|
|
43
|
+
closeAll: () => closeAll,
|
|
44
|
+
closeToast: () => closeToast,
|
|
45
|
+
getToastQueue: () => getToastQueue,
|
|
46
|
+
isToastClosing: () => isToastClosing,
|
|
47
|
+
useToast: () => useToast
|
|
38
48
|
});
|
|
39
49
|
module.exports = __toCommonJS(feedback_exports);
|
|
40
50
|
|
|
@@ -56,22 +66,59 @@ var Chip = import_react2.default.forwardRef(({ variant = "flat", ...props }, ref
|
|
|
56
66
|
});
|
|
57
67
|
Chip.displayName = "TeachInUI.Chip";
|
|
58
68
|
|
|
59
|
-
// src/ui/feedback/
|
|
69
|
+
// src/ui/feedback/progress/progress.tsx
|
|
60
70
|
var import_react3 = __toESM(require("react"));
|
|
61
|
-
var
|
|
71
|
+
var import_progress = require("@heroui/progress");
|
|
62
72
|
var import_jsx_runtime3 = require("react/jsx-runtime");
|
|
63
|
-
var
|
|
64
|
-
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
73
|
+
var Progress = import_react3.default.forwardRef((props, ref) => {
|
|
74
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_progress.Progress, { ref, ...props });
|
|
75
|
+
});
|
|
76
|
+
Progress.displayName = "TeachInUI.Progress";
|
|
77
|
+
|
|
78
|
+
// src/ui/feedback/progress/circular-progress.tsx
|
|
79
|
+
var import_react4 = __toESM(require("react"));
|
|
80
|
+
var import_progress2 = require("@heroui/progress");
|
|
81
|
+
var import_jsx_runtime4 = require("react/jsx-runtime");
|
|
82
|
+
var CircularProgress = import_react4.default.forwardRef((props, ref) => {
|
|
83
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_progress2.CircularProgress, { ref, ...props });
|
|
84
|
+
});
|
|
85
|
+
CircularProgress.displayName = "TeachInUI.CircularProgress";
|
|
86
|
+
|
|
87
|
+
// src/ui/feedback/spinner/spinner.tsx
|
|
88
|
+
var import_react5 = __toESM(require("react"));
|
|
89
|
+
var import_spinner = require("@heroui/spinner");
|
|
90
|
+
var import_jsx_runtime5 = require("react/jsx-runtime");
|
|
91
|
+
var Spinner = import_react5.default.forwardRef((props, ref) => {
|
|
92
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_spinner.Spinner, { ref, ...props });
|
|
65
93
|
});
|
|
66
94
|
Spinner.displayName = "TeachInUI.Spinner";
|
|
67
95
|
|
|
96
|
+
// src/ui/feedback/toast/toast.tsx
|
|
97
|
+
var import_react6 = __toESM(require("react"));
|
|
98
|
+
var import_toast = require("@heroui/toast");
|
|
99
|
+
var import_jsx_runtime6 = require("react/jsx-runtime");
|
|
100
|
+
var Toast = import_react6.default.forwardRef((props, ref) => {
|
|
101
|
+
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_toast.Toast, { ref, ...props });
|
|
102
|
+
});
|
|
103
|
+
Toast.displayName = "TeachInUI.Toast";
|
|
104
|
+
var ToastProvider = (props) => {
|
|
105
|
+
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_toast.ToastProvider, { ...props });
|
|
106
|
+
};
|
|
107
|
+
ToastProvider.displayName = "TeachInUI.ToastProvider";
|
|
108
|
+
var useToast = (...args) => (0, import_toast.useToast)(...args);
|
|
109
|
+
var addToast = (...args) => (0, import_toast.addToast)(...args);
|
|
110
|
+
var closeToast = (...args) => (0, import_toast.closeToast)(...args);
|
|
111
|
+
var closeAll = (...args) => (0, import_toast.closeAll)(...args);
|
|
112
|
+
var getToastQueue = (...args) => (0, import_toast.getToastQueue)(...args);
|
|
113
|
+
var isToastClosing = (...args) => (0, import_toast.isToastClosing)(...args);
|
|
114
|
+
|
|
68
115
|
// src/ui/feedback/tooltip/tooltip.tsx
|
|
69
|
-
var
|
|
116
|
+
var import_react7 = __toESM(require("react"));
|
|
70
117
|
var import_tooltip = require("@heroui/tooltip");
|
|
71
|
-
var
|
|
72
|
-
var Tooltip =
|
|
118
|
+
var import_jsx_runtime7 = require("react/jsx-runtime");
|
|
119
|
+
var Tooltip = import_react7.default.forwardRef(
|
|
73
120
|
({ placement = "bottom", ...props }, ref) => {
|
|
74
|
-
return /* @__PURE__ */ (0,
|
|
121
|
+
return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_tooltip.Tooltip, { ref, placement, ...props });
|
|
75
122
|
}
|
|
76
123
|
);
|
|
77
124
|
Tooltip.displayName = "TeachInUI.Tooltip";
|
|
@@ -79,6 +126,16 @@ Tooltip.displayName = "TeachInUI.Tooltip";
|
|
|
79
126
|
0 && (module.exports = {
|
|
80
127
|
Alert,
|
|
81
128
|
Chip,
|
|
129
|
+
CircularProgress,
|
|
130
|
+
Progress,
|
|
82
131
|
Spinner,
|
|
83
|
-
|
|
132
|
+
Toast,
|
|
133
|
+
ToastProvider,
|
|
134
|
+
Tooltip,
|
|
135
|
+
addToast,
|
|
136
|
+
closeAll,
|
|
137
|
+
closeToast,
|
|
138
|
+
getToastQueue,
|
|
139
|
+
isToastClosing,
|
|
140
|
+
useToast
|
|
84
141
|
});
|
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import "../../chunk-
|
|
2
|
+
import "../../chunk-AR4IYKG5.mjs";
|
|
3
|
+
import {
|
|
4
|
+
Toast,
|
|
5
|
+
ToastProvider,
|
|
6
|
+
addToast,
|
|
7
|
+
closeAll,
|
|
8
|
+
closeToast,
|
|
9
|
+
getToastQueue,
|
|
10
|
+
isToastClosing,
|
|
11
|
+
useToast
|
|
12
|
+
} from "../../chunk-CA2EAK5M.mjs";
|
|
13
|
+
import "../../chunk-U4FAPNVK.mjs";
|
|
14
|
+
import {
|
|
15
|
+
CircularProgress
|
|
16
|
+
} from "../../chunk-L6XIUULU.mjs";
|
|
17
|
+
import {
|
|
18
|
+
Progress
|
|
19
|
+
} from "../../chunk-JTPBZJ4S.mjs";
|
|
3
20
|
import "../../chunk-WZDFBWUL.mjs";
|
|
4
21
|
import {
|
|
5
22
|
Spinner
|
|
@@ -8,17 +25,27 @@ import "../../chunk-3BST3PYD.mjs";
|
|
|
8
25
|
import {
|
|
9
26
|
Tooltip
|
|
10
27
|
} from "../../chunk-TJBXXTYS.mjs";
|
|
11
|
-
import "../../chunk-K3WTHFIG.mjs";
|
|
12
|
-
import {
|
|
13
|
-
Chip
|
|
14
|
-
} from "../../chunk-ONQIPN3G.mjs";
|
|
15
28
|
import "../../chunk-V77JZXH7.mjs";
|
|
16
29
|
import {
|
|
17
30
|
Alert
|
|
18
31
|
} from "../../chunk-TIFF5WZA.mjs";
|
|
32
|
+
import "../../chunk-K3WTHFIG.mjs";
|
|
33
|
+
import {
|
|
34
|
+
Chip
|
|
35
|
+
} from "../../chunk-ONQIPN3G.mjs";
|
|
19
36
|
export {
|
|
20
37
|
Alert,
|
|
21
38
|
Chip,
|
|
39
|
+
CircularProgress,
|
|
40
|
+
Progress,
|
|
22
41
|
Spinner,
|
|
23
|
-
|
|
42
|
+
Toast,
|
|
43
|
+
ToastProvider,
|
|
44
|
+
Tooltip,
|
|
45
|
+
addToast,
|
|
46
|
+
closeAll,
|
|
47
|
+
closeToast,
|
|
48
|
+
getToastQueue,
|
|
49
|
+
isToastClosing,
|
|
50
|
+
useToast
|
|
24
51
|
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { CircularProgress as HeroUICircularProgress } from "@heroui/progress";
|
|
3
|
+
export type CircularProgressProps = React.ComponentProps<typeof HeroUICircularProgress>;
|
|
4
|
+
declare const CircularProgress: React.ForwardRefExoticComponent<(Omit<import("@heroui/system").OmitCommonProps<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, keyof import("@heroui/progress").CircularProgressProps> & import("@heroui/progress").CircularProgressProps & {
|
|
5
|
+
as?: import("@heroui/system").As<any> | undefined;
|
|
6
|
+
}, "ref"> | Omit<import("@heroui/system").OmitCommonProps<Omit<Omit<any, "ref">, never>, keyof import("@heroui/progress").CircularProgressProps> & import("@heroui/progress").CircularProgressProps & {
|
|
7
|
+
as?: import("@heroui/system").As<any> | undefined;
|
|
8
|
+
}, "ref">) & React.RefAttributes<HTMLElement>>;
|
|
9
|
+
export { CircularProgress };
|
|
@@ -0,0 +1,47 @@
|
|
|
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
|
+
// src/ui/feedback/progress/circular-progress.tsx
|
|
32
|
+
var circular_progress_exports = {};
|
|
33
|
+
__export(circular_progress_exports, {
|
|
34
|
+
CircularProgress: () => CircularProgress
|
|
35
|
+
});
|
|
36
|
+
module.exports = __toCommonJS(circular_progress_exports);
|
|
37
|
+
var import_react = __toESM(require("react"));
|
|
38
|
+
var import_progress = require("@heroui/progress");
|
|
39
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
40
|
+
var CircularProgress = import_react.default.forwardRef((props, ref) => {
|
|
41
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_progress.CircularProgress, { ref, ...props });
|
|
42
|
+
});
|
|
43
|
+
CircularProgress.displayName = "TeachInUI.CircularProgress";
|
|
44
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
45
|
+
0 && (module.exports = {
|
|
46
|
+
CircularProgress
|
|
47
|
+
});
|
|
@@ -0,0 +1,60 @@
|
|
|
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
|
+
// src/ui/feedback/progress/index.ts
|
|
32
|
+
var progress_exports = {};
|
|
33
|
+
__export(progress_exports, {
|
|
34
|
+
CircularProgress: () => CircularProgress,
|
|
35
|
+
Progress: () => Progress
|
|
36
|
+
});
|
|
37
|
+
module.exports = __toCommonJS(progress_exports);
|
|
38
|
+
|
|
39
|
+
// src/ui/feedback/progress/progress.tsx
|
|
40
|
+
var import_react = __toESM(require("react"));
|
|
41
|
+
var import_progress = require("@heroui/progress");
|
|
42
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
43
|
+
var Progress = import_react.default.forwardRef((props, ref) => {
|
|
44
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_progress.Progress, { ref, ...props });
|
|
45
|
+
});
|
|
46
|
+
Progress.displayName = "TeachInUI.Progress";
|
|
47
|
+
|
|
48
|
+
// src/ui/feedback/progress/circular-progress.tsx
|
|
49
|
+
var import_react2 = __toESM(require("react"));
|
|
50
|
+
var import_progress2 = require("@heroui/progress");
|
|
51
|
+
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
52
|
+
var CircularProgress = import_react2.default.forwardRef((props, ref) => {
|
|
53
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_progress2.CircularProgress, { ref, ...props });
|
|
54
|
+
});
|
|
55
|
+
CircularProgress.displayName = "TeachInUI.CircularProgress";
|
|
56
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
57
|
+
0 && (module.exports = {
|
|
58
|
+
CircularProgress,
|
|
59
|
+
Progress
|
|
60
|
+
});
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Progress as HeroUIProgress } from "@heroui/progress";
|
|
3
|
+
export type ProgressProps = React.ComponentProps<typeof HeroUIProgress>;
|
|
4
|
+
declare const Progress: React.ForwardRefExoticComponent<(Omit<import("@heroui/system").OmitCommonProps<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, keyof import("@heroui/progress").ProgressProps> & import("@heroui/progress").ProgressProps & {
|
|
5
|
+
as?: import("@heroui/system").As<any> | undefined;
|
|
6
|
+
}, "ref"> | Omit<import("@heroui/system").OmitCommonProps<Omit<Omit<any, "ref">, never>, keyof import("@heroui/progress").ProgressProps> & import("@heroui/progress").ProgressProps & {
|
|
7
|
+
as?: import("@heroui/system").As<any> | undefined;
|
|
8
|
+
}, "ref">) & React.RefAttributes<HTMLElement>>;
|
|
9
|
+
export { Progress };
|
|
@@ -0,0 +1,47 @@
|
|
|
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
|
+
// src/ui/feedback/progress/progress.tsx
|
|
32
|
+
var progress_exports = {};
|
|
33
|
+
__export(progress_exports, {
|
|
34
|
+
Progress: () => Progress
|
|
35
|
+
});
|
|
36
|
+
module.exports = __toCommonJS(progress_exports);
|
|
37
|
+
var import_react = __toESM(require("react"));
|
|
38
|
+
var import_progress = require("@heroui/progress");
|
|
39
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
40
|
+
var Progress = import_react.default.forwardRef((props, ref) => {
|
|
41
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_progress.Progress, { ref, ...props });
|
|
42
|
+
});
|
|
43
|
+
Progress.displayName = "TeachInUI.Progress";
|
|
44
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
45
|
+
0 && (module.exports = {
|
|
46
|
+
Progress
|
|
47
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./toast";
|
|
@@ -0,0 +1,73 @@
|
|
|
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
|
+
// src/ui/feedback/toast/index.ts
|
|
32
|
+
var toast_exports = {};
|
|
33
|
+
__export(toast_exports, {
|
|
34
|
+
Toast: () => Toast,
|
|
35
|
+
ToastProvider: () => ToastProvider,
|
|
36
|
+
addToast: () => addToast,
|
|
37
|
+
closeAll: () => closeAll,
|
|
38
|
+
closeToast: () => closeToast,
|
|
39
|
+
getToastQueue: () => getToastQueue,
|
|
40
|
+
isToastClosing: () => isToastClosing,
|
|
41
|
+
useToast: () => useToast
|
|
42
|
+
});
|
|
43
|
+
module.exports = __toCommonJS(toast_exports);
|
|
44
|
+
|
|
45
|
+
// src/ui/feedback/toast/toast.tsx
|
|
46
|
+
var import_react = __toESM(require("react"));
|
|
47
|
+
var import_toast = require("@heroui/toast");
|
|
48
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
49
|
+
var Toast = import_react.default.forwardRef((props, ref) => {
|
|
50
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_toast.Toast, { ref, ...props });
|
|
51
|
+
});
|
|
52
|
+
Toast.displayName = "TeachInUI.Toast";
|
|
53
|
+
var ToastProvider = (props) => {
|
|
54
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_toast.ToastProvider, { ...props });
|
|
55
|
+
};
|
|
56
|
+
ToastProvider.displayName = "TeachInUI.ToastProvider";
|
|
57
|
+
var useToast = (...args) => (0, import_toast.useToast)(...args);
|
|
58
|
+
var addToast = (...args) => (0, import_toast.addToast)(...args);
|
|
59
|
+
var closeToast = (...args) => (0, import_toast.closeToast)(...args);
|
|
60
|
+
var closeAll = (...args) => (0, import_toast.closeAll)(...args);
|
|
61
|
+
var getToastQueue = (...args) => (0, import_toast.getToastQueue)(...args);
|
|
62
|
+
var isToastClosing = (...args) => (0, import_toast.isToastClosing)(...args);
|
|
63
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
64
|
+
0 && (module.exports = {
|
|
65
|
+
Toast,
|
|
66
|
+
ToastProvider,
|
|
67
|
+
addToast,
|
|
68
|
+
closeAll,
|
|
69
|
+
closeToast,
|
|
70
|
+
getToastQueue,
|
|
71
|
+
isToastClosing,
|
|
72
|
+
useToast
|
|
73
|
+
});
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
Toast,
|
|
4
|
+
ToastProvider,
|
|
5
|
+
addToast,
|
|
6
|
+
closeAll,
|
|
7
|
+
closeToast,
|
|
8
|
+
getToastQueue,
|
|
9
|
+
isToastClosing,
|
|
10
|
+
useToast
|
|
11
|
+
} from "../../../chunk-CA2EAK5M.mjs";
|
|
12
|
+
export {
|
|
13
|
+
Toast,
|
|
14
|
+
ToastProvider,
|
|
15
|
+
addToast,
|
|
16
|
+
closeAll,
|
|
17
|
+
closeToast,
|
|
18
|
+
getToastQueue,
|
|
19
|
+
isToastClosing,
|
|
20
|
+
useToast
|
|
21
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { ToastProps as HeroToastProps } from "@heroui/toast";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { ToastProvider as HeroToastProvider, addToast as heroAddToast, closeAll as heroCloseAll, closeToast as heroCloseToast, getToastQueue as heroGetToastQueue, isToastClosing as heroIsToastClosing, useToast as useHeroToast } from "@heroui/toast";
|
|
4
|
+
export type ToastProps = HeroToastProps;
|
|
5
|
+
export type ToastProviderProps = React.ComponentProps<typeof HeroToastProvider>;
|
|
6
|
+
declare const Toast: React.ForwardRefExoticComponent<Omit<HeroToastProps, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
7
|
+
declare const ToastProvider: {
|
|
8
|
+
(props: ToastProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
displayName: string;
|
|
10
|
+
};
|
|
11
|
+
declare const useToast: typeof useHeroToast;
|
|
12
|
+
declare const addToast: typeof heroAddToast;
|
|
13
|
+
declare const closeToast: typeof heroCloseToast;
|
|
14
|
+
declare const closeAll: typeof heroCloseAll;
|
|
15
|
+
declare const getToastQueue: typeof heroGetToastQueue;
|
|
16
|
+
declare const isToastClosing: typeof heroIsToastClosing;
|
|
17
|
+
export { Toast, ToastProvider, useToast, addToast, closeToast, closeAll, getToastQueue, isToastClosing, };
|