@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.
Files changed (214) hide show
  1. package/dist/{chunk-545OBZ4O.mjs → chunk-2ASQXBDD.mjs} +1 -1
  2. package/dist/{chunk-X7ER4IDJ.mjs → chunk-2CEZXLZR.mjs} +2 -2
  3. package/dist/chunk-2SNKT7I4.mjs +9 -0
  4. package/dist/chunk-4KPEPEPC.mjs +26 -0
  5. package/dist/chunk-C4PCTOGM.mjs +12 -0
  6. package/dist/chunk-CA2EAK5M.mjs +40 -0
  7. package/dist/chunk-E5QSNLSR.mjs +38 -0
  8. package/dist/chunk-FQUYFYMS.mjs +24 -0
  9. package/dist/chunk-ICRO6HS3.mjs +1 -0
  10. package/dist/chunk-J3GK2CGQ.mjs +1 -0
  11. package/dist/chunk-JTPBZJ4S.mjs +14 -0
  12. package/dist/chunk-L6XIUULU.mjs +14 -0
  13. package/dist/chunk-LLP2PTPK.mjs +1 -0
  14. package/dist/{chunk-6UIBJVXP.mjs → chunk-MCZBJUTN.mjs} +1 -1
  15. package/dist/chunk-MJTSZFLC.mjs +1 -0
  16. package/dist/{chunk-WTXPB253.mjs → chunk-N3QOXWJI.mjs} +1 -1
  17. package/dist/chunk-N7GOJBLM.mjs +1 -0
  18. package/dist/chunk-NMMWGIQE.mjs +1 -0
  19. package/dist/chunk-NOXFF2KJ.mjs +16 -0
  20. package/dist/chunk-NVLF7L4R.mjs +1 -0
  21. package/dist/chunk-OZSO3C5Q.mjs +14 -0
  22. package/dist/chunk-PKZZEODR.mjs +29 -0
  23. package/dist/chunk-Q6JSJOU4.mjs +1 -0
  24. package/dist/{chunk-PFLROV3C.mjs → chunk-QCLLPJMB.mjs} +2 -2
  25. package/dist/chunk-QUMDPADZ.mjs +14 -0
  26. package/dist/chunk-RRA7GWP2.mjs +1 -0
  27. package/dist/chunk-SAYYLTIE.mjs +52 -0
  28. package/dist/chunk-U4FAPNVK.mjs +1 -0
  29. package/dist/chunk-UFYLYN5Z.mjs +37 -0
  30. package/dist/chunk-UNBE67YJ.mjs +1 -0
  31. package/dist/chunk-UUKS7JYX.mjs +1 -0
  32. package/dist/chunk-VWGY6KWP.mjs +15 -0
  33. package/dist/chunk-W2A6C27Y.mjs +35 -0
  34. package/dist/chunk-XHCXM5MU.mjs +14 -0
  35. package/dist/chunk-YNCISHAU.mjs +27 -0
  36. package/dist/chunk-ZSYIKEXW.mjs +21 -0
  37. package/dist/index.js +539 -182
  38. package/dist/index.mjs +227 -93
  39. package/dist/ui/data/index.d.ts +2 -0
  40. package/dist/ui/data/index.js +37 -2
  41. package/dist/ui/data/index.mjs +24 -2
  42. package/dist/ui/data/table/index.d.ts +1 -0
  43. package/dist/ui/data/table/index.js +52 -0
  44. package/dist/ui/data/table/index.mjs +20 -0
  45. package/dist/ui/data/table/table.d.ts +23 -0
  46. package/dist/ui/data/table/table.js +50 -0
  47. package/dist/ui/data/table/table.mjs +19 -0
  48. package/dist/ui/data/user/index.d.ts +1 -0
  49. package/dist/ui/data/user/index.js +49 -0
  50. package/dist/ui/data/user/index.mjs +8 -0
  51. package/dist/ui/data/user/user.d.ts +6 -0
  52. package/dist/ui/data/user/user.js +47 -0
  53. package/dist/ui/data/user/user.mjs +7 -0
  54. package/dist/ui/feedback/index.d.ts +2 -0
  55. package/dist/ui/feedback/index.js +67 -10
  56. package/dist/ui/feedback/index.mjs +33 -6
  57. package/dist/ui/feedback/progress/circular-progress.d.ts +9 -0
  58. package/dist/ui/feedback/progress/circular-progress.js +47 -0
  59. package/dist/ui/feedback/progress/circular-progress.mjs +7 -0
  60. package/dist/ui/feedback/progress/index.d.ts +2 -0
  61. package/dist/ui/feedback/progress/index.js +60 -0
  62. package/dist/ui/feedback/progress/index.mjs +12 -0
  63. package/dist/ui/feedback/progress/progress.d.ts +9 -0
  64. package/dist/ui/feedback/progress/progress.js +47 -0
  65. package/dist/ui/feedback/progress/progress.mjs +7 -0
  66. package/dist/ui/feedback/toast/index.d.ts +1 -0
  67. package/dist/ui/feedback/toast/index.js +73 -0
  68. package/dist/ui/feedback/toast/index.mjs +21 -0
  69. package/dist/ui/feedback/toast/toast.d.ts +17 -0
  70. package/dist/ui/feedback/toast/toast.js +71 -0
  71. package/dist/ui/feedback/toast/toast.mjs +21 -0
  72. package/dist/ui/form/index.js +83 -43
  73. package/dist/ui/form/index.mjs +30 -21
  74. package/dist/ui/form/rhf/fields/autocomplete-field.mjs +15 -10
  75. package/dist/ui/form/rhf/fields/checkbox-field.js +1 -1
  76. package/dist/ui/form/rhf/fields/checkbox-field.mjs +16 -11
  77. package/dist/ui/form/rhf/fields/date-picker-field.mjs +15 -10
  78. package/dist/ui/form/rhf/fields/email-field.mjs +15 -10
  79. package/dist/ui/form/rhf/fields/index.d.ts +1 -0
  80. package/dist/ui/form/rhf/fields/index.js +79 -39
  81. package/dist/ui/form/rhf/fields/index.mjs +30 -21
  82. package/dist/ui/form/rhf/fields/input-field.mjs +15 -10
  83. package/dist/ui/form/rhf/fields/radio-field.d.ts +10 -0
  84. package/dist/ui/form/rhf/fields/radio-field.js +78 -0
  85. package/dist/ui/form/rhf/fields/radio-field.mjs +31 -0
  86. package/dist/ui/form/rhf/fields/select-field.mjs +15 -10
  87. package/dist/ui/form/rhf/fields/switch-field.mjs +15 -10
  88. package/dist/ui/form/rhf/fields/text-field.mjs +15 -10
  89. package/dist/ui/form/rhf/fields/textarea-field.mjs +15 -10
  90. package/dist/ui/form/rhf/index.js +79 -39
  91. package/dist/ui/form/rhf/index.mjs +30 -21
  92. package/dist/ui/format/index.mjs +6 -6
  93. package/dist/ui/index.js +539 -182
  94. package/dist/ui/index.mjs +227 -93
  95. package/dist/ui/inputs/checkbox/checkbox-group.d.ts +9 -0
  96. package/dist/ui/inputs/checkbox/checkbox-group.js +45 -0
  97. package/dist/ui/inputs/checkbox/checkbox-group.mjs +7 -0
  98. package/dist/ui/inputs/checkbox/checkbox.js +1 -1
  99. package/dist/ui/inputs/checkbox/checkbox.mjs +1 -1
  100. package/dist/ui/inputs/checkbox/index.d.ts +1 -0
  101. package/dist/ui/inputs/checkbox/index.js +12 -3
  102. package/dist/ui/inputs/checkbox/index.mjs +7 -3
  103. package/dist/ui/inputs/index.d.ts +1 -0
  104. package/dist/ui/inputs/index.js +93 -30
  105. package/dist/ui/inputs/index.mjs +32 -15
  106. package/dist/ui/inputs/radio/index.d.ts +2 -0
  107. package/dist/ui/inputs/radio/index.js +57 -0
  108. package/dist/ui/inputs/radio/index.mjs +12 -0
  109. package/dist/ui/inputs/radio/radio-group.d.ts +9 -0
  110. package/dist/ui/inputs/radio/radio-group.js +49 -0
  111. package/dist/ui/inputs/radio/radio-group.mjs +7 -0
  112. package/dist/ui/inputs/radio/radio.d.ts +6 -0
  113. package/dist/ui/inputs/radio/radio.js +32 -0
  114. package/dist/ui/inputs/radio/radio.mjs +7 -0
  115. package/dist/ui/inputs/switch/favorite-switch.d.ts +6 -0
  116. package/dist/ui/inputs/switch/favorite-switch.js +62 -0
  117. package/dist/ui/inputs/switch/favorite-switch.mjs +8 -0
  118. package/dist/ui/inputs/switch/index.d.ts +1 -0
  119. package/dist/ui/inputs/switch/index.js +35 -0
  120. package/dist/ui/inputs/switch/index.mjs +5 -1
  121. package/dist/ui/layout/accordion/accordion.d.ts +10 -0
  122. package/dist/ui/layout/accordion/accordion.js +35 -0
  123. package/dist/ui/layout/accordion/accordion.mjs +9 -0
  124. package/dist/ui/layout/accordion/index.d.ts +1 -0
  125. package/dist/ui/layout/accordion/index.js +37 -0
  126. package/dist/ui/layout/accordion/index.mjs +10 -0
  127. package/dist/ui/layout/container/container.mjs +85 -55
  128. package/dist/ui/layout/container/index.mjs +85 -55
  129. package/dist/ui/layout/divider/divider.d.ts +6 -0
  130. package/dist/ui/layout/divider/divider.js +48 -0
  131. package/dist/ui/layout/divider/divider.mjs +7 -0
  132. package/dist/ui/layout/divider/index.d.ts +1 -0
  133. package/dist/ui/layout/divider/index.js +50 -0
  134. package/dist/ui/layout/divider/index.mjs +8 -0
  135. package/dist/ui/layout/index.d.ts +3 -0
  136. package/dist/ui/layout/index.js +32 -0
  137. package/dist/ui/layout/index.mjs +98 -57
  138. package/dist/ui/layout/page/index.mjs +10 -6
  139. package/dist/ui/layout/page/page-loading.mjs +7 -3
  140. package/dist/ui/layout/page/section-loading.mjs +7 -3
  141. package/dist/ui/layout/scroll-shadow/index.d.ts +1 -0
  142. package/dist/ui/layout/scroll-shadow/index.js +49 -0
  143. package/dist/ui/layout/scroll-shadow/index.mjs +8 -0
  144. package/dist/ui/layout/scroll-shadow/scroll-shadow.d.ts +9 -0
  145. package/dist/ui/layout/scroll-shadow/scroll-shadow.js +47 -0
  146. package/dist/ui/layout/scroll-shadow/scroll-shadow.mjs +7 -0
  147. package/dist/ui/navigation/breadcrumbs/breadcrumbs.d.ts +6 -0
  148. package/dist/ui/navigation/breadcrumbs/breadcrumbs.js +57 -0
  149. package/dist/ui/navigation/breadcrumbs/breadcrumbs.mjs +9 -0
  150. package/dist/ui/navigation/breadcrumbs/index.d.ts +1 -0
  151. package/dist/ui/navigation/breadcrumbs/index.js +59 -0
  152. package/dist/ui/navigation/breadcrumbs/index.mjs +10 -0
  153. package/dist/ui/navigation/index.d.ts +3 -0
  154. package/dist/ui/navigation/index.js +98 -2
  155. package/dist/ui/navigation/index.mjs +31 -2
  156. package/dist/ui/navigation/navbar/index.d.ts +1 -0
  157. package/dist/ui/navigation/navbar/index.js +85 -0
  158. package/dist/ui/navigation/navbar/index.mjs +20 -0
  159. package/dist/ui/navigation/navbar/navbar.d.ts +26 -0
  160. package/dist/ui/navigation/navbar/navbar.js +83 -0
  161. package/dist/ui/navigation/navbar/navbar.mjs +19 -0
  162. package/dist/ui/navigation/tabs/index.d.ts +1 -0
  163. package/dist/ui/navigation/tabs/index.js +56 -0
  164. package/dist/ui/navigation/tabs/index.mjs +8 -0
  165. package/dist/ui/navigation/tabs/tabs.d.ts +7 -0
  166. package/dist/ui/navigation/tabs/tabs.js +54 -0
  167. package/dist/ui/navigation/tabs/tabs.mjs +7 -0
  168. package/dist/ui/overlays/dropdown/dropdown.d.ts +28 -0
  169. package/dist/ui/overlays/dropdown/dropdown.js +48 -0
  170. package/dist/ui/overlays/dropdown/dropdown.mjs +15 -0
  171. package/dist/ui/overlays/dropdown/index.d.ts +1 -0
  172. package/dist/ui/overlays/dropdown/index.js +50 -0
  173. package/dist/ui/overlays/dropdown/index.mjs +16 -0
  174. package/dist/ui/overlays/index.d.ts +1 -0
  175. package/dist/ui/overlays/index.js +22 -0
  176. package/dist/ui/overlays/index.mjs +14 -1
  177. package/dist/ui/provider/index.js +31 -2
  178. package/dist/ui/provider/index.mjs +14 -1
  179. package/dist/ui/provider/ui-provider.d.ts +3 -1
  180. package/dist/ui/provider/ui-provider.js +31 -2
  181. package/dist/ui/provider/ui-provider.mjs +14 -1
  182. package/dist/ui/surface/card/card.d.ts +36 -0
  183. package/dist/ui/surface/card/card.js +65 -0
  184. package/dist/ui/surface/card/card.mjs +7 -0
  185. package/dist/ui/surface/card/index.d.ts +1 -0
  186. package/dist/ui/surface/card/index.js +67 -0
  187. package/dist/ui/surface/card/index.mjs +8 -0
  188. package/dist/ui/surface/index.d.ts +1 -0
  189. package/dist/ui/surface/index.js +39 -0
  190. package/dist/ui/surface/index.mjs +6 -1
  191. package/dist/ui/theme/colors/common.mjs +4 -4
  192. package/dist/ui/theme/colors/index.js +1 -1
  193. package/dist/ui/theme/colors/index.mjs +6 -6
  194. package/dist/ui/theme/colors/semantic.js +1 -1
  195. package/dist/ui/theme/colors/semantic.mjs +5 -5
  196. package/dist/ui/theme/colors.js +1 -1
  197. package/dist/ui/theme/colors.mjs +6 -6
  198. package/dist/ui/theme/index.js +1 -1
  199. package/dist/ui/theme/index.mjs +7 -7
  200. package/dist/ui/theme/theme.js +1 -1
  201. package/dist/ui/theme/theme.mjs +7 -7
  202. package/package.json +14 -1
  203. package/dist/chunk-6WK4W5LL.mjs +0 -17
  204. package/dist/{chunk-54ZSBA6H.mjs → chunk-54FA62HL.mjs} +0 -0
  205. package/dist/{chunk-5EWHMXCP.mjs → chunk-57JRJHSH.mjs} +0 -0
  206. package/dist/{chunk-IZ5KKF6P.mjs → chunk-773RYGHT.mjs} +0 -0
  207. package/dist/{chunk-5HUR2CNH.mjs → chunk-AR4IYKG5.mjs} +0 -0
  208. package/dist/{chunk-5YMUHF45.mjs → chunk-AT6DX4DN.mjs} +0 -0
  209. package/dist/{chunk-CAJWTQDB.mjs → chunk-BGNMWHME.mjs} +0 -0
  210. package/dist/{chunk-JJHHWDZT.mjs → chunk-CTKWGSNJ.mjs} +0 -0
  211. package/dist/{chunk-OEHJDT6R.mjs → chunk-CYSW4N3T.mjs} +0 -0
  212. package/dist/{chunk-UURZJWWV.mjs → chunk-CZEO3U25.mjs} +0 -0
  213. package/dist/{chunk-WJXIRSSW.mjs → chunk-FKHR6G3R.mjs} +0 -0
  214. package/dist/{chunk-NCM6KIQH.mjs → chunk-IXPMUODA.mjs} +9 -9
@@ -0,0 +1,50 @@
1
+ "use client";
2
+ "use strict";
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
+
21
+ // src/ui/overlays/dropdown/index.ts
22
+ var dropdown_exports = {};
23
+ __export(dropdown_exports, {
24
+ Dropdown: () => Dropdown,
25
+ DropdownItem: () => DropdownItem,
26
+ DropdownMenu: () => DropdownMenu,
27
+ DropdownSection: () => DropdownSection,
28
+ DropdownTrigger: () => DropdownTrigger
29
+ });
30
+ module.exports = __toCommonJS(dropdown_exports);
31
+
32
+ // src/ui/overlays/dropdown/dropdown.tsx
33
+ var import_dropdown = require("@heroui/dropdown");
34
+ var Dropdown = Object.assign(import_dropdown.Dropdown, { displayName: "TeachInUI.Dropdown" });
35
+ var DropdownTrigger = Object.assign(import_dropdown.DropdownTrigger, {
36
+ displayName: "TeachInUI.DropdownTrigger"
37
+ });
38
+ var DropdownMenu = Object.assign(import_dropdown.DropdownMenu, { displayName: "TeachInUI.DropdownMenu" });
39
+ var DropdownItem = Object.assign(import_dropdown.DropdownItem, { displayName: "TeachInUI.DropdownItem" });
40
+ var DropdownSection = Object.assign(import_dropdown.DropdownSection, {
41
+ displayName: "TeachInUI.DropdownSection"
42
+ });
43
+ // Annotate the CommonJS export names for ESM import in node:
44
+ 0 && (module.exports = {
45
+ Dropdown,
46
+ DropdownItem,
47
+ DropdownMenu,
48
+ DropdownSection,
49
+ DropdownTrigger
50
+ });
@@ -0,0 +1,16 @@
1
+ "use client";
2
+ import "../../../chunk-ICRO6HS3.mjs";
3
+ import {
4
+ Dropdown,
5
+ DropdownItem,
6
+ DropdownMenu,
7
+ DropdownSection,
8
+ DropdownTrigger
9
+ } from "../../../chunk-YNCISHAU.mjs";
10
+ export {
11
+ Dropdown,
12
+ DropdownItem,
13
+ DropdownMenu,
14
+ DropdownSection,
15
+ DropdownTrigger
16
+ };
@@ -1 +1,2 @@
1
1
  export * from "./modal";
2
+ export * from "./dropdown";
@@ -21,6 +21,11 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
21
21
  // src/ui/overlays/index.ts
22
22
  var overlays_exports = {};
23
23
  __export(overlays_exports, {
24
+ Dropdown: () => Dropdown,
25
+ DropdownItem: () => DropdownItem,
26
+ DropdownMenu: () => DropdownMenu,
27
+ DropdownSection: () => DropdownSection,
28
+ DropdownTrigger: () => DropdownTrigger,
24
29
  Modal: () => Modal
25
30
  });
26
31
  module.exports = __toCommonJS(overlays_exports);
@@ -60,7 +65,24 @@ var Modal = {
60
65
  Body,
61
66
  Footer
62
67
  };
68
+
69
+ // src/ui/overlays/dropdown/dropdown.tsx
70
+ var import_dropdown = require("@heroui/dropdown");
71
+ var Dropdown = Object.assign(import_dropdown.Dropdown, { displayName: "TeachInUI.Dropdown" });
72
+ var DropdownTrigger = Object.assign(import_dropdown.DropdownTrigger, {
73
+ displayName: "TeachInUI.DropdownTrigger"
74
+ });
75
+ var DropdownMenu = Object.assign(import_dropdown.DropdownMenu, { displayName: "TeachInUI.DropdownMenu" });
76
+ var DropdownItem = Object.assign(import_dropdown.DropdownItem, { displayName: "TeachInUI.DropdownItem" });
77
+ var DropdownSection = Object.assign(import_dropdown.DropdownSection, {
78
+ displayName: "TeachInUI.DropdownSection"
79
+ });
63
80
  // Annotate the CommonJS export names for ESM import in node:
64
81
  0 && (module.exports = {
82
+ Dropdown,
83
+ DropdownItem,
84
+ DropdownMenu,
85
+ DropdownSection,
86
+ DropdownTrigger,
65
87
  Modal
66
88
  });
@@ -1,9 +1,22 @@
1
1
  "use client";
2
- import "../../chunk-OEHJDT6R.mjs";
2
+ import "../../chunk-NMMWGIQE.mjs";
3
3
  import "../../chunk-I5AMV7H7.mjs";
4
4
  import {
5
5
  Modal
6
6
  } from "../../chunk-T57H3CGO.mjs";
7
+ import "../../chunk-ICRO6HS3.mjs";
8
+ import {
9
+ Dropdown,
10
+ DropdownItem,
11
+ DropdownMenu,
12
+ DropdownSection,
13
+ DropdownTrigger
14
+ } from "../../chunk-YNCISHAU.mjs";
7
15
  export {
16
+ Dropdown,
17
+ DropdownItem,
18
+ DropdownMenu,
19
+ DropdownSection,
20
+ DropdownTrigger,
8
21
  Modal
9
22
  };
@@ -1,8 +1,10 @@
1
1
  "use client";
2
2
  "use strict";
3
+ var __create = Object.create;
3
4
  var __defProp = Object.defineProperty;
4
5
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
6
  var __getOwnPropNames = Object.getOwnPropertyNames;
7
+ var __getProtoOf = Object.getPrototypeOf;
6
8
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
9
  var __export = (target, all) => {
8
10
  for (var name in all)
@@ -16,6 +18,14 @@ var __copyProps = (to, from, except, desc) => {
16
18
  }
17
19
  return to;
18
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
+ ));
19
29
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
30
 
21
31
  // src/ui/provider/index.ts
@@ -28,14 +38,33 @@ module.exports = __toCommonJS(provider_exports);
28
38
 
29
39
  // src/ui/provider/ui-provider.tsx
30
40
  var import_system = require("@heroui/system");
41
+
42
+ // src/ui/feedback/toast/toast.tsx
43
+ var import_react = __toESM(require("react"));
44
+ var import_toast = require("@heroui/toast");
31
45
  var import_jsx_runtime = require("react/jsx-runtime");
46
+ var Toast = import_react.default.forwardRef((props, ref) => {
47
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_toast.Toast, { ref, ...props });
48
+ });
49
+ Toast.displayName = "TeachInUI.Toast";
50
+ var ToastProvider = (props) => {
51
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_toast.ToastProvider, { ...props });
52
+ };
53
+ ToastProvider.displayName = "TeachInUI.ToastProvider";
54
+
55
+ // src/ui/provider/ui-provider.tsx
56
+ var import_jsx_runtime2 = require("react/jsx-runtime");
32
57
  function UIProvider({
33
58
  children,
34
59
  locale = "ru-RU",
35
60
  labelPlacement = "outside",
36
- navigate
61
+ navigate,
62
+ toastProviderProps
37
63
  }) {
38
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_system.HeroUIProvider, { labelPlacement, locale, navigate, children });
64
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_system.HeroUIProvider, { labelPlacement, locale, navigate, children: [
65
+ children,
66
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(ToastProvider, { ...toastProviderProps })
67
+ ] });
39
68
  }
40
69
  // Annotate the CommonJS export names for ESM import in node:
41
70
  0 && (module.exports = {
@@ -2,7 +2,20 @@
2
2
  import "../../chunk-3N5UZODS.mjs";
3
3
  import {
4
4
  UIProvider
5
- } from "../../chunk-6WK4W5LL.mjs";
5
+ } from "../../chunk-FQUYFYMS.mjs";
6
+ import "../../chunk-AR4IYKG5.mjs";
7
+ import "../../chunk-CA2EAK5M.mjs";
8
+ import "../../chunk-U4FAPNVK.mjs";
9
+ import "../../chunk-L6XIUULU.mjs";
10
+ import "../../chunk-JTPBZJ4S.mjs";
11
+ import "../../chunk-WZDFBWUL.mjs";
12
+ import "../../chunk-ZXCQ73RT.mjs";
13
+ import "../../chunk-3BST3PYD.mjs";
14
+ import "../../chunk-TJBXXTYS.mjs";
15
+ import "../../chunk-V77JZXH7.mjs";
16
+ import "../../chunk-TIFF5WZA.mjs";
17
+ import "../../chunk-K3WTHFIG.mjs";
18
+ import "../../chunk-ONQIPN3G.mjs";
6
19
  export {
7
20
  UIProvider as TeachInUIProvider,
8
21
  UIProvider
@@ -1,5 +1,7 @@
1
1
  import type { HeroUIProviderProps } from "@heroui/system";
2
+ import type { ToastProviderProps } from "../feedback";
2
3
  interface UIProviderProps extends HeroUIProviderProps {
4
+ toastProviderProps?: ToastProviderProps;
3
5
  }
4
- export declare function UIProvider({ children, locale, labelPlacement, navigate, }: UIProviderProps): import("react/jsx-runtime").JSX.Element;
6
+ export declare function UIProvider({ children, locale, labelPlacement, navigate, toastProviderProps, }: UIProviderProps): import("react/jsx-runtime").JSX.Element;
5
7
  export {};
@@ -1,8 +1,10 @@
1
1
  "use client";
2
2
  "use strict";
3
+ var __create = Object.create;
3
4
  var __defProp = Object.defineProperty;
4
5
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
6
  var __getOwnPropNames = Object.getOwnPropertyNames;
7
+ var __getProtoOf = Object.getPrototypeOf;
6
8
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
9
  var __export = (target, all) => {
8
10
  for (var name in all)
@@ -16,6 +18,14 @@ var __copyProps = (to, from, except, desc) => {
16
18
  }
17
19
  return to;
18
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
+ ));
19
29
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
30
 
21
31
  // src/ui/provider/ui-provider.tsx
@@ -25,14 +35,33 @@ __export(ui_provider_exports, {
25
35
  });
26
36
  module.exports = __toCommonJS(ui_provider_exports);
27
37
  var import_system = require("@heroui/system");
38
+
39
+ // src/ui/feedback/toast/toast.tsx
40
+ var import_react = __toESM(require("react"));
41
+ var import_toast = require("@heroui/toast");
28
42
  var import_jsx_runtime = require("react/jsx-runtime");
43
+ var Toast = import_react.default.forwardRef((props, ref) => {
44
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_toast.Toast, { ref, ...props });
45
+ });
46
+ Toast.displayName = "TeachInUI.Toast";
47
+ var ToastProvider = (props) => {
48
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_toast.ToastProvider, { ...props });
49
+ };
50
+ ToastProvider.displayName = "TeachInUI.ToastProvider";
51
+
52
+ // src/ui/provider/ui-provider.tsx
53
+ var import_jsx_runtime2 = require("react/jsx-runtime");
29
54
  function UIProvider({
30
55
  children,
31
56
  locale = "ru-RU",
32
57
  labelPlacement = "outside",
33
- navigate
58
+ navigate,
59
+ toastProviderProps
34
60
  }) {
35
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_system.HeroUIProvider, { labelPlacement, locale, navigate, children });
61
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_system.HeroUIProvider, { labelPlacement, locale, navigate, children: [
62
+ children,
63
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(ToastProvider, { ...toastProviderProps })
64
+ ] });
36
65
  }
37
66
  // Annotate the CommonJS export names for ESM import in node:
38
67
  0 && (module.exports = {
@@ -1,7 +1,20 @@
1
1
  "use client";
2
2
  import {
3
3
  UIProvider
4
- } from "../../chunk-6WK4W5LL.mjs";
4
+ } from "../../chunk-FQUYFYMS.mjs";
5
+ import "../../chunk-AR4IYKG5.mjs";
6
+ import "../../chunk-CA2EAK5M.mjs";
7
+ import "../../chunk-U4FAPNVK.mjs";
8
+ import "../../chunk-L6XIUULU.mjs";
9
+ import "../../chunk-JTPBZJ4S.mjs";
10
+ import "../../chunk-WZDFBWUL.mjs";
11
+ import "../../chunk-ZXCQ73RT.mjs";
12
+ import "../../chunk-3BST3PYD.mjs";
13
+ import "../../chunk-TJBXXTYS.mjs";
14
+ import "../../chunk-V77JZXH7.mjs";
15
+ import "../../chunk-TIFF5WZA.mjs";
16
+ import "../../chunk-K3WTHFIG.mjs";
17
+ import "../../chunk-ONQIPN3G.mjs";
5
18
  export {
6
19
  UIProvider
7
20
  };
@@ -0,0 +1,36 @@
1
+ import React from "react";
2
+ import { Card as HeroUICard, CardHeader as HeroUICardHeader, CardBody as HeroUICardBody, CardFooter as HeroUICardFooter } from "@heroui/card";
3
+ export type CardProps = React.ComponentProps<typeof HeroUICard>;
4
+ export type CardHeaderProps = React.ComponentProps<typeof HeroUICardHeader>;
5
+ export type CardBodyProps = React.ComponentProps<typeof HeroUICardBody>;
6
+ export type CardFooterProps = React.ComponentProps<typeof HeroUICardFooter>;
7
+ export declare const Card: {
8
+ Root: React.ForwardRefExoticComponent<(Omit<import("@heroui/system").OmitCommonProps<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, keyof import("@heroui/card").CardProps> & import("@heroui/card").CardProps & {
9
+ as?: import("@heroui/system").As<any> | undefined;
10
+ }, "ref"> | Omit<import("@heroui/system").OmitCommonProps<Omit<Omit<any, "ref">, never>, keyof import("@heroui/card").CardProps> & import("@heroui/card").CardProps & {
11
+ as?: import("@heroui/system").As<any> | undefined;
12
+ }, "ref">) & React.RefAttributes<HTMLDivElement>>;
13
+ Header: React.ForwardRefExoticComponent<((import("@heroui/system").OmitCommonProps<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "as" | "style" | "title" | "key" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture"> & Omit<import("@heroui/system").PropsOf<"div">, "size" | "color" | "slot" | "ref" | "defaultChecked" | "defaultValue"> & {
14
+ as?: import("@heroui/system").As;
15
+ } & {
16
+ as?: import("@heroui/system").As<any> | undefined;
17
+ }) | Omit<import("@heroui/system").OmitCommonProps<Omit<Omit<any, "ref">, never>, "as" | "style" | "title" | "key" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture"> & Omit<import("@heroui/system").PropsOf<"div">, "size" | "color" | "slot" | "ref" | "defaultChecked" | "defaultValue"> & {
18
+ as?: import("@heroui/system").As;
19
+ } & {
20
+ as?: import("@heroui/system").As<any> | undefined;
21
+ }, "ref">) & React.RefAttributes<HTMLDivElement>>;
22
+ Body: React.ForwardRefExoticComponent<((import("@heroui/system").OmitCommonProps<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "as" | "style" | "title" | "key" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture"> & Omit<import("@heroui/system").PropsOf<"div">, "size" | "color" | "slot" | "ref" | "defaultChecked" | "defaultValue"> & {
23
+ as?: import("@heroui/system").As;
24
+ } & {
25
+ as?: import("@heroui/system").As<any> | undefined;
26
+ }) | Omit<import("@heroui/system").OmitCommonProps<Omit<Omit<any, "ref">, never>, "as" | "style" | "title" | "key" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture"> & Omit<import("@heroui/system").PropsOf<"div">, "size" | "color" | "slot" | "ref" | "defaultChecked" | "defaultValue"> & {
27
+ as?: import("@heroui/system").As;
28
+ } & {
29
+ as?: import("@heroui/system").As<any> | undefined;
30
+ }, "ref">) & React.RefAttributes<HTMLDivElement>>;
31
+ Footer: React.ForwardRefExoticComponent<((import("@heroui/system").OmitCommonProps<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, keyof import("@heroui/card").CardFooterProps> & import("@heroui/card").CardFooterProps & {
32
+ as?: import("@heroui/system").As<any> | undefined;
33
+ }) | Omit<import("@heroui/system").OmitCommonProps<Omit<Omit<any, "ref">, never>, keyof import("@heroui/card").CardFooterProps> & import("@heroui/card").CardFooterProps & {
34
+ as?: import("@heroui/system").As<any> | undefined;
35
+ }, "ref">) & React.RefAttributes<HTMLDivElement>>;
36
+ };
@@ -0,0 +1,65 @@
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/surface/card/card.tsx
32
+ var card_exports = {};
33
+ __export(card_exports, {
34
+ Card: () => Card
35
+ });
36
+ module.exports = __toCommonJS(card_exports);
37
+ var import_react = __toESM(require("react"));
38
+ var import_card = require("@heroui/card");
39
+ var import_jsx_runtime = require("react/jsx-runtime");
40
+ var Root = import_react.default.forwardRef(({ children, ...props }, ref) => {
41
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_card.Card, { ref, ...props, children });
42
+ });
43
+ Root.displayName = "TeachInUI.Card.Root";
44
+ var Header = import_react.default.forwardRef(({ children, ...props }, ref) => {
45
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_card.CardHeader, { ref, ...props, children });
46
+ });
47
+ Header.displayName = "TeachInUI.Card.Header";
48
+ var Body = import_react.default.forwardRef(({ children, ...props }, ref) => {
49
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_card.CardBody, { ref, ...props, children });
50
+ });
51
+ Body.displayName = "TeachInUI.Card.Body";
52
+ var Footer = import_react.default.forwardRef(({ children, ...props }, ref) => {
53
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_card.CardFooter, { ref, ...props, children });
54
+ });
55
+ Footer.displayName = "TeachInUI.Card.Footer";
56
+ var Card = {
57
+ Root,
58
+ Header,
59
+ Body,
60
+ Footer
61
+ };
62
+ // Annotate the CommonJS export names for ESM import in node:
63
+ 0 && (module.exports = {
64
+ Card
65
+ });
@@ -0,0 +1,7 @@
1
+ "use client";
2
+ import {
3
+ Card
4
+ } from "../../../chunk-UFYLYN5Z.mjs";
5
+ export {
6
+ Card
7
+ };
@@ -0,0 +1 @@
1
+ export * from "./card";
@@ -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
+ // src/ui/surface/card/index.ts
32
+ var card_exports = {};
33
+ __export(card_exports, {
34
+ Card: () => Card
35
+ });
36
+ module.exports = __toCommonJS(card_exports);
37
+
38
+ // src/ui/surface/card/card.tsx
39
+ var import_react = __toESM(require("react"));
40
+ var import_card = require("@heroui/card");
41
+ var import_jsx_runtime = require("react/jsx-runtime");
42
+ var Root = import_react.default.forwardRef(({ children, ...props }, ref) => {
43
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_card.Card, { ref, ...props, children });
44
+ });
45
+ Root.displayName = "TeachInUI.Card.Root";
46
+ var Header = import_react.default.forwardRef(({ children, ...props }, ref) => {
47
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_card.CardHeader, { ref, ...props, children });
48
+ });
49
+ Header.displayName = "TeachInUI.Card.Header";
50
+ var Body = import_react.default.forwardRef(({ children, ...props }, ref) => {
51
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_card.CardBody, { ref, ...props, children });
52
+ });
53
+ Body.displayName = "TeachInUI.Card.Body";
54
+ var Footer = import_react.default.forwardRef(({ children, ...props }, ref) => {
55
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_card.CardFooter, { ref, ...props, children });
56
+ });
57
+ Footer.displayName = "TeachInUI.Card.Footer";
58
+ var Card = {
59
+ Root,
60
+ Header,
61
+ Body,
62
+ Footer
63
+ };
64
+ // Annotate the CommonJS export names for ESM import in node:
65
+ 0 && (module.exports = {
66
+ Card
67
+ });
@@ -0,0 +1,8 @@
1
+ "use client";
2
+ import "../../../chunk-57JRJHSH.mjs";
3
+ import {
4
+ Card
5
+ } from "../../../chunk-UFYLYN5Z.mjs";
6
+ export {
7
+ Card
8
+ };
@@ -1 +1,2 @@
1
1
  export * from "./bento";
2
+ export * from "./card";
@@ -1,8 +1,10 @@
1
1
  "use client";
2
2
  "use strict";
3
+ var __create = Object.create;
3
4
  var __defProp = Object.defineProperty;
4
5
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
6
  var __getOwnPropNames = Object.getOwnPropertyNames;
7
+ var __getProtoOf = Object.getPrototypeOf;
6
8
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
9
  var __export = (target, all) => {
8
10
  for (var name in all)
@@ -16,12 +18,21 @@ var __copyProps = (to, from, except, desc) => {
16
18
  }
17
19
  return to;
18
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
+ ));
19
29
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
30
 
21
31
  // src/ui/surface/index.ts
22
32
  var surface_exports = {};
23
33
  __export(surface_exports, {
24
34
  Bento: () => Bento,
35
+ Card: () => Card,
25
36
  bento: () => bento
26
37
  });
27
38
  module.exports = __toCommonJS(surface_exports);
@@ -69,8 +80,36 @@ var Bento = ({ className, ...props }) => {
69
80
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: bento({ ...props, className }), ...props });
70
81
  };
71
82
  Bento.displayName = "TeachInUI.Bento";
83
+
84
+ // src/ui/surface/card/card.tsx
85
+ var import_react = __toESM(require("react"));
86
+ var import_card = require("@heroui/card");
87
+ var import_jsx_runtime2 = require("react/jsx-runtime");
88
+ var Root = import_react.default.forwardRef(({ children, ...props }, ref) => {
89
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_card.Card, { ref, ...props, children });
90
+ });
91
+ Root.displayName = "TeachInUI.Card.Root";
92
+ var Header = import_react.default.forwardRef(({ children, ...props }, ref) => {
93
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_card.CardHeader, { ref, ...props, children });
94
+ });
95
+ Header.displayName = "TeachInUI.Card.Header";
96
+ var Body = import_react.default.forwardRef(({ children, ...props }, ref) => {
97
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_card.CardBody, { ref, ...props, children });
98
+ });
99
+ Body.displayName = "TeachInUI.Card.Body";
100
+ var Footer = import_react.default.forwardRef(({ children, ...props }, ref) => {
101
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_card.CardFooter, { ref, ...props, children });
102
+ });
103
+ Footer.displayName = "TeachInUI.Card.Footer";
104
+ var Card = {
105
+ Root,
106
+ Header,
107
+ Body,
108
+ Footer
109
+ };
72
110
  // Annotate the CommonJS export names for ESM import in node:
73
111
  0 && (module.exports = {
74
112
  Bento,
113
+ Card,
75
114
  bento
76
115
  });