@teach-in/react 0.1.1 → 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-HH7MLUOF.mjs → chunk-25XG46X6.mjs} +1 -1
- package/dist/chunk-2ASQXBDD.mjs +47 -0
- package/dist/chunk-2CEZXLZR.mjs +167 -0
- package/dist/chunk-2OPPNAW2.mjs +19 -0
- package/dist/chunk-2SNKT7I4.mjs +9 -0
- package/dist/chunk-3LOCA2SP.mjs +19 -0
- package/dist/chunk-4KPEPEPC.mjs +26 -0
- package/dist/{chunk-2W4N27WQ.mjs → chunk-6NZ4IHNU.mjs} +4 -3
- package/dist/{chunk-S2TB4GD2.mjs → chunk-773RYGHT.mjs} +2 -2
- package/dist/{chunk-CLDAITOP.mjs → chunk-BUVPBB4J.mjs} +2 -2
- package/dist/chunk-C4PCTOGM.mjs +12 -0
- package/dist/chunk-CA2EAK5M.mjs +40 -0
- package/dist/chunk-E5QSNLSR.mjs +38 -0
- package/dist/chunk-EJQH6CYW.mjs +1 -0
- package/dist/chunk-FKHR6G3R.mjs +1 -0
- package/dist/chunk-FQUYFYMS.mjs +24 -0
- package/dist/chunk-HOVAPYGJ.mjs +19 -0
- package/dist/chunk-ICRO6HS3.mjs +1 -0
- package/dist/chunk-IXPMUODA.mjs +47 -0
- package/dist/chunk-J3GK2CGQ.mjs +1 -0
- package/dist/chunk-J3OZNLTZ.mjs +50 -0
- package/dist/chunk-JTPBZJ4S.mjs +14 -0
- package/dist/chunk-JUIVZCH7.mjs +1 -0
- package/dist/chunk-JWMPI5AZ.mjs +1 -0
- package/dist/chunk-L6XIUULU.mjs +14 -0
- package/dist/chunk-LLP2PTPK.mjs +1 -0
- package/dist/chunk-LUERGYYZ.mjs +19 -0
- package/dist/{chunk-CUVF3U67.mjs → chunk-M5F723W7.mjs} +1 -1
- 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-NDQAHQFL.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-AS4T5M6E.mjs → chunk-O5T4GUJH.mjs} +3 -0
- package/dist/chunk-OW6U64MG.mjs +19 -0
- package/dist/chunk-OZSO3C5Q.mjs +14 -0
- package/dist/chunk-PKZZEODR.mjs +29 -0
- package/dist/chunk-PON4ZQKG.mjs +1 -0
- package/dist/chunk-Q6JSJOU4.mjs +1 -0
- package/dist/chunk-QCLLPJMB.mjs +17 -0
- package/dist/chunk-QUMDPADZ.mjs +14 -0
- package/dist/chunk-RRA7GWP2.mjs +1 -0
- package/dist/chunk-SAYYLTIE.mjs +52 -0
- package/dist/chunk-SLB2JE3N.mjs +19 -0
- package/dist/{chunk-PEB5ZH76.mjs → chunk-SPED4RBS.mjs} +1 -1
- package/dist/{chunk-GRWFJ4FP.mjs → chunk-TJBXXTYS.mjs} +1 -1
- package/dist/{chunk-WVF5LVDJ.mjs → chunk-TYMUQULA.mjs} +1 -1
- 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-VIPLRFPR.mjs +23 -0
- package/dist/chunk-VWGY6KWP.mjs +15 -0
- package/dist/chunk-W2A6C27Y.mjs +35 -0
- package/dist/chunk-W6NKLZ73.mjs +61 -0
- package/dist/chunk-XHCXM5MU.mjs +14 -0
- package/dist/chunk-XKX5LFH7.mjs +19 -0
- package/dist/chunk-XYQVL4EX.mjs +19 -0
- package/dist/chunk-YBQFG6QJ.mjs +19 -0
- package/dist/chunk-YNCISHAU.mjs +27 -0
- package/dist/chunk-ZSYIKEXW.mjs +21 -0
- package/dist/{chunk-LR4R7GFR.mjs → chunk-ZXCQ73RT.mjs} +3 -5
- package/dist/index.js +1010 -185
- package/dist/index.mjs +244 -78
- package/dist/ui/actions/button/button.js +1 -1
- package/dist/ui/actions/button/button.mjs +1 -1
- package/dist/ui/actions/button/index.js +1 -1
- package/dist/ui/actions/button/index.mjs +1 -1
- package/dist/ui/actions/index.js +1 -1
- package/dist/ui/actions/index.mjs +1 -1
- package/dist/ui/data/index.d.ts +2 -0
- package/dist/ui/data/index.js +38 -2
- package/dist/ui/data/index.mjs +25 -3
- package/dist/ui/data/pagination/index.js +1 -0
- package/dist/ui/data/pagination/index.mjs +1 -1
- package/dist/ui/data/pagination/pagination.d.ts +6 -2
- package/dist/ui/data/pagination/pagination.js +6 -2
- package/dist/ui/data/pagination/pagination.mjs +5 -3
- 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/alert/alert.d.ts +1 -1
- package/dist/ui/feedback/index.d.ts +2 -0
- package/dist/ui/feedback/index.js +68 -13
- package/dist/ui/feedback/index.mjs +34 -7
- 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/spinner/index.js +3 -5
- package/dist/ui/feedback/spinner/index.mjs +1 -1
- package/dist/ui/feedback/spinner/spinner.d.ts +8 -4
- package/dist/ui/feedback/spinner/spinner.js +3 -5
- package/dist/ui/feedback/spinner/spinner.mjs +1 -1
- 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/feedback/tooltip/index.js +1 -1
- package/dist/ui/feedback/tooltip/index.mjs +1 -1
- package/dist/ui/feedback/tooltip/tooltip.d.ts +2 -2
- package/dist/ui/feedback/tooltip/tooltip.js +1 -1
- package/dist/ui/feedback/tooltip/tooltip.mjs +1 -1
- package/dist/ui/form/index.js +83 -43
- package/dist/ui/form/index.mjs +24 -15
- 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 +24 -15
- 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 +24 -15
- package/dist/ui/format/date.js +2 -2
- package/dist/ui/format/date.mjs +1 -1
- package/dist/ui/format/datetime.js +4 -3
- package/dist/ui/format/datetime.mjs +1 -1
- package/dist/ui/format/index.js +6 -5
- package/dist/ui/format/index.mjs +8 -8
- package/dist/ui/index.d.ts +1 -0
- package/dist/ui/index.js +1010 -185
- package/dist/ui/index.mjs +244 -78
- 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 +33 -16
- 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.d.ts → container/container.d.ts} +2 -2
- package/dist/ui/layout/{container.js → container/container.js} +3 -3
- package/dist/ui/layout/container/container.mjs +137 -0
- package/dist/ui/layout/container/index.d.ts +1 -0
- package/dist/ui/layout/container/index.js +66 -0
- package/dist/ui/layout/container/index.mjs +137 -0
- 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/{flex.js → flex/flex.js} +1 -1
- package/dist/ui/layout/{flex.mjs → flex/flex.mjs} +1 -1
- package/dist/ui/layout/flex/index.d.ts +1 -0
- package/dist/ui/layout/flex/index.js +84 -0
- package/dist/ui/layout/flex/index.mjs +8 -0
- package/dist/ui/layout/grid/grid.d.ts +118 -0
- package/dist/ui/layout/grid/grid.js +84 -0
- package/dist/ui/layout/grid/grid.mjs +7 -0
- package/dist/ui/layout/grid/index.d.ts +1 -0
- package/dist/ui/layout/grid/index.js +86 -0
- package/dist/ui/layout/grid/index.mjs +8 -0
- package/dist/ui/layout/index.d.ts +4 -0
- package/dist/ui/layout/index.js +97 -9
- package/dist/ui/layout/index.mjs +115 -50
- package/dist/ui/layout/page/index.js +3 -5
- package/dist/ui/layout/page/index.mjs +13 -9
- package/dist/ui/layout/page/page-loading.js +3 -5
- package/dist/ui/layout/page/page-loading.mjs +10 -6
- package/dist/ui/layout/page/section-loading.js +3 -5
- package/dist/ui/layout/page/section-loading.mjs +10 -6
- 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/bento/bento.d.ts +86 -0
- package/dist/ui/surface/bento/bento.js +74 -0
- package/dist/ui/surface/bento/bento.mjs +9 -0
- package/dist/ui/surface/bento/index.d.ts +1 -0
- package/dist/ui/surface/bento/index.js +76 -0
- package/dist/ui/surface/bento/index.mjs +10 -0
- 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 +2 -0
- package/dist/ui/surface/index.js +115 -0
- package/dist/ui/surface/index.mjs +16 -0
- package/dist/ui/theme/colors/blue.d.ts +12 -0
- package/dist/ui/theme/colors/blue.js +42 -0
- package/dist/ui/theme/colors/blue.mjs +7 -0
- package/dist/ui/theme/colors/common.d.ts +113 -0
- package/dist/ui/theme/colors/common.js +171 -0
- package/dist/ui/theme/colors/common.mjs +16 -0
- package/dist/ui/theme/colors/cyan.d.ts +12 -0
- package/dist/ui/theme/colors/cyan.js +42 -0
- package/dist/ui/theme/colors/cyan.mjs +7 -0
- package/dist/ui/theme/colors/flat.d.ts +22 -0
- package/dist/ui/theme/colors/flat.js +52 -0
- package/dist/ui/theme/colors/flat.mjs +28 -0
- package/dist/ui/theme/colors/green.d.ts +12 -0
- package/dist/ui/theme/colors/green.js +42 -0
- package/dist/ui/theme/colors/green.mjs +7 -0
- package/dist/ui/theme/colors/index.d.ts +118 -0
- package/dist/ui/theme/colors/index.js +353 -0
- package/dist/ui/theme/colors/index.mjs +26 -0
- package/dist/ui/theme/colors/pink.d.ts +12 -0
- package/dist/ui/theme/colors/pink.js +42 -0
- package/dist/ui/theme/colors/pink.mjs +7 -0
- package/dist/ui/theme/colors/purple.d.ts +12 -0
- package/dist/ui/theme/colors/purple.js +42 -0
- package/dist/ui/theme/colors/purple.mjs +7 -0
- package/dist/ui/theme/colors/red.d.ts +12 -0
- package/dist/ui/theme/colors/red.js +42 -0
- package/dist/ui/theme/colors/red.mjs +7 -0
- package/dist/ui/theme/colors/semantic.d.ts +7 -0
- package/dist/ui/theme/colors/semantic.js +347 -0
- package/dist/ui/theme/colors/semantic.mjs +22 -0
- package/dist/ui/theme/colors/shipgray.d.ts +12 -0
- package/dist/ui/theme/colors/shipgray.js +42 -0
- package/dist/ui/theme/colors/shipgray.mjs +7 -0
- package/dist/ui/theme/colors/types.d.ts +38 -0
- package/dist/ui/theme/colors/types.js +19 -0
- package/dist/ui/theme/colors/types.mjs +2 -0
- package/dist/ui/theme/colors/yellow.d.ts +12 -0
- package/dist/ui/theme/colors/yellow.js +42 -0
- package/dist/ui/theme/colors/yellow.mjs +7 -0
- package/dist/ui/theme/colors/zinc.d.ts +12 -0
- package/dist/ui/theme/colors/zinc.js +42 -0
- package/dist/ui/theme/colors/zinc.mjs +7 -0
- package/dist/ui/theme/colors.d.ts +1 -0
- package/dist/ui/theme/colors.js +353 -0
- package/dist/ui/theme/colors.mjs +27 -0
- package/dist/ui/theme/index.js +364 -2
- package/dist/ui/theme/index.mjs +20 -2
- package/dist/ui/theme/swap-color-values.d.ts +1 -0
- package/dist/ui/theme/swap-color-values.js +46 -0
- package/dist/ui/theme/swap-color-values.mjs +7 -0
- package/dist/ui/theme/theme.d.ts +1 -2
- package/dist/ui/theme/theme.js +332 -183
- package/dist/ui/theme/theme.mjs +18 -3
- package/package.json +17 -3
- package/dist/chunk-6WK4W5LL.mjs +0 -17
- package/dist/chunk-FELJP42D.mjs +0 -220
- package/dist/ui/layout/container.mjs +0 -86
- package/dist/ui/theme/theme.css +0 -2
- /package/dist/{chunk-54ZSBA6H.mjs → chunk-54FA62HL.mjs} +0 -0
- /package/dist/{chunk-5EWHMXCP.mjs → chunk-57JRJHSH.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-JJHHWDZT.mjs → chunk-BGNMWHME.mjs} +0 -0
- /package/dist/{chunk-OEHJDT6R.mjs → chunk-CTKWGSNJ.mjs} +0 -0
- /package/dist/{chunk-UURZJWWV.mjs → chunk-CYSW4N3T.mjs} +0 -0
- /package/dist/{chunk-WJXIRSSW.mjs → chunk-CZEO3U25.mjs} +0 -0
- /package/dist/ui/layout/{flex.d.ts → flex/flex.d.ts} +0 -0
|
@@ -6,7 +6,7 @@ import React from "react";
|
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
var Checkbox = React.forwardRef(
|
|
8
8
|
({ label, ...props }, ref) => {
|
|
9
|
-
return /* @__PURE__ */ jsx(HeroUICheckbox, { ref,
|
|
9
|
+
return /* @__PURE__ */ jsx(HeroUICheckbox, { ref, ...props, children: label });
|
|
10
10
|
}
|
|
11
11
|
);
|
|
12
12
|
Checkbox.displayName = "TeachInUI.Checkbox";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// src/ui/inputs/radio/radio-group.tsx
|
|
4
|
+
import React from "react";
|
|
5
|
+
import { RadioGroup as HeroUIRadioGroup } from "@heroui/radio";
|
|
6
|
+
import { jsx } from "react/jsx-runtime";
|
|
7
|
+
var RadioGroup = React.forwardRef(
|
|
8
|
+
(props, ref) => {
|
|
9
|
+
return /* @__PURE__ */ jsx(HeroUIRadioGroup, { ref, ...props });
|
|
10
|
+
}
|
|
11
|
+
);
|
|
12
|
+
RadioGroup.displayName = "TeachInUI.RadioGroup";
|
|
13
|
+
|
|
14
|
+
export {
|
|
15
|
+
RadioGroup
|
|
16
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";
|
|
@@ -3,12 +3,15 @@
|
|
|
3
3
|
// src/ui/data/pagination/pagination.tsx
|
|
4
4
|
import React from "react";
|
|
5
5
|
import { Pagination as HeroUIPagination } from "@heroui/pagination";
|
|
6
|
+
import { PaginationItemType as HeroUIPaginationItemType } from "@heroui/pagination";
|
|
6
7
|
import { jsx } from "react/jsx-runtime";
|
|
8
|
+
var PaginationItemType = HeroUIPaginationItemType;
|
|
7
9
|
var Pagination = React.forwardRef(({ pages, ...props }, ref) => {
|
|
8
10
|
return /* @__PURE__ */ jsx(HeroUIPagination, { ref, isCompact: true, showControls: true, showShadow: true, total: pages, ...props });
|
|
9
11
|
});
|
|
10
12
|
Pagination.displayName = "TeachInUI.Pagination";
|
|
11
13
|
|
|
12
14
|
export {
|
|
15
|
+
PaginationItemType,
|
|
13
16
|
Pagination
|
|
14
17
|
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// src/ui/theme/colors/cyan.ts
|
|
4
|
+
var cyan = {
|
|
5
|
+
50: "#f4fdfe",
|
|
6
|
+
100: "#ddf9fd",
|
|
7
|
+
200: "#a9effb",
|
|
8
|
+
300: "#69e3f8",
|
|
9
|
+
400: "#1cd5f4",
|
|
10
|
+
500: "#18b3cd",
|
|
11
|
+
600: "#12889c",
|
|
12
|
+
700: "#0f6f7f",
|
|
13
|
+
800: "#084049",
|
|
14
|
+
900: "#05262c"
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
export {
|
|
18
|
+
cyan
|
|
19
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// src/ui/layout/scroll-shadow/scroll-shadow.tsx
|
|
4
|
+
import React from "react";
|
|
5
|
+
import { ScrollShadow as HeroUIScrollShadow } from "@heroui/scroll-shadow";
|
|
6
|
+
import { jsx } from "react/jsx-runtime";
|
|
7
|
+
var ScrollShadow = React.forwardRef((props, ref) => {
|
|
8
|
+
return /* @__PURE__ */ jsx(HeroUIScrollShadow, { ref, ...props });
|
|
9
|
+
});
|
|
10
|
+
ScrollShadow.displayName = "TeachInUI.ScrollShadow";
|
|
11
|
+
|
|
12
|
+
export {
|
|
13
|
+
ScrollShadow
|
|
14
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// src/ui/data/table/table.tsx
|
|
4
|
+
import {
|
|
5
|
+
Table as HeroUITable,
|
|
6
|
+
TableHeader as HeroUITableHeader,
|
|
7
|
+
TableColumn as HeroUITableColumn,
|
|
8
|
+
TableBody as HeroUITableBody,
|
|
9
|
+
TableRow as HeroUITableRow,
|
|
10
|
+
TableCell as HeroUITableCell,
|
|
11
|
+
getKeyValue as heroGetKeyValue
|
|
12
|
+
} from "@heroui/table";
|
|
13
|
+
var Table = Object.assign(HeroUITable, { displayName: "TeachInUI.Table" });
|
|
14
|
+
var TableHeader = Object.assign(HeroUITableHeader, { displayName: "TeachInUI.TableHeader" });
|
|
15
|
+
var TableColumn = Object.assign(HeroUITableColumn, { displayName: "TeachInUI.TableColumn" });
|
|
16
|
+
var TableBody = Object.assign(HeroUITableBody, { displayName: "TeachInUI.TableBody" });
|
|
17
|
+
var TableRow = Object.assign(HeroUITableRow, { displayName: "TeachInUI.TableRow" });
|
|
18
|
+
var TableCell = Object.assign(HeroUITableCell, { displayName: "TeachInUI.TableCell" });
|
|
19
|
+
var getKeyValue = heroGetKeyValue;
|
|
20
|
+
|
|
21
|
+
export {
|
|
22
|
+
Table,
|
|
23
|
+
TableHeader,
|
|
24
|
+
TableColumn,
|
|
25
|
+
TableBody,
|
|
26
|
+
TableRow,
|
|
27
|
+
TableCell,
|
|
28
|
+
getKeyValue
|
|
29
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
semanticColors
|
|
4
|
+
} from "./chunk-2CEZXLZR.mjs";
|
|
5
|
+
import {
|
|
6
|
+
commonColors
|
|
7
|
+
} from "./chunk-IXPMUODA.mjs";
|
|
8
|
+
|
|
9
|
+
// src/ui/theme/colors/index.ts
|
|
10
|
+
var colors = {
|
|
11
|
+
...commonColors,
|
|
12
|
+
...semanticColors
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export {
|
|
16
|
+
colors
|
|
17
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// src/ui/layout/accordion/accordion.tsx
|
|
4
|
+
import {
|
|
5
|
+
Accordion as HeroUIAccordion,
|
|
6
|
+
AccordionItem as HeroUIAccordionItem
|
|
7
|
+
} from "@heroui/accordion";
|
|
8
|
+
var Accordion = Object.assign(HeroUIAccordion, { displayName: "TeachInUI.Accordion" });
|
|
9
|
+
var AccordionItem = Object.assign(HeroUIAccordionItem, { displayName: "TeachInUI.AccordionItem" });
|
|
10
|
+
|
|
11
|
+
export {
|
|
12
|
+
Accordion,
|
|
13
|
+
AccordionItem
|
|
14
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// src/ui/navigation/navbar/navbar.tsx
|
|
4
|
+
import React from "react";
|
|
5
|
+
import {
|
|
6
|
+
Navbar as HeroUINavbar,
|
|
7
|
+
NavbarBrand as HeroUINavbarBrand,
|
|
8
|
+
NavbarContent as HeroUINavbarContent,
|
|
9
|
+
NavbarItem as HeroUINavbarItem,
|
|
10
|
+
NavbarMenu as HeroUINavbarMenu,
|
|
11
|
+
NavbarMenuItem as HeroUINavbarMenuItem,
|
|
12
|
+
NavbarMenuToggle as HeroUINavbarMenuToggle
|
|
13
|
+
} from "@heroui/navbar";
|
|
14
|
+
import { jsx } from "react/jsx-runtime";
|
|
15
|
+
var Navbar = React.forwardRef((props, ref) => {
|
|
16
|
+
return /* @__PURE__ */ jsx(HeroUINavbar, { ref, ...props });
|
|
17
|
+
});
|
|
18
|
+
Navbar.displayName = "TeachInUI.Navbar";
|
|
19
|
+
var NavbarBrand = React.forwardRef((props, ref) => {
|
|
20
|
+
return /* @__PURE__ */ jsx(HeroUINavbarBrand, { ref, ...props });
|
|
21
|
+
});
|
|
22
|
+
NavbarBrand.displayName = "TeachInUI.NavbarBrand";
|
|
23
|
+
var NavbarContent = React.forwardRef((props, ref) => {
|
|
24
|
+
return /* @__PURE__ */ jsx(HeroUINavbarContent, { ref, ...props });
|
|
25
|
+
});
|
|
26
|
+
NavbarContent.displayName = "TeachInUI.NavbarContent";
|
|
27
|
+
var NavbarItem = React.forwardRef((props, ref) => {
|
|
28
|
+
return /* @__PURE__ */ jsx(HeroUINavbarItem, { ref, ...props });
|
|
29
|
+
});
|
|
30
|
+
NavbarItem.displayName = "TeachInUI.NavbarItem";
|
|
31
|
+
var NavbarMenu = React.forwardRef((props, ref) => {
|
|
32
|
+
return /* @__PURE__ */ jsx(HeroUINavbarMenu, { ref, ...props });
|
|
33
|
+
});
|
|
34
|
+
NavbarMenu.displayName = "TeachInUI.NavbarMenu";
|
|
35
|
+
var NavbarMenuItem = React.forwardRef((props, ref) => {
|
|
36
|
+
return /* @__PURE__ */ jsx(HeroUINavbarMenuItem, { ref, ...props });
|
|
37
|
+
});
|
|
38
|
+
NavbarMenuItem.displayName = "TeachInUI.NavbarMenuItem";
|
|
39
|
+
var NavbarMenuToggle = React.forwardRef((props, ref) => {
|
|
40
|
+
return /* @__PURE__ */ jsx(HeroUINavbarMenuToggle, { ref, ...props });
|
|
41
|
+
});
|
|
42
|
+
NavbarMenuToggle.displayName = "TeachInUI.NavbarMenuToggle";
|
|
43
|
+
|
|
44
|
+
export {
|
|
45
|
+
Navbar,
|
|
46
|
+
NavbarBrand,
|
|
47
|
+
NavbarContent,
|
|
48
|
+
NavbarItem,
|
|
49
|
+
NavbarMenu,
|
|
50
|
+
NavbarMenuItem,
|
|
51
|
+
NavbarMenuToggle
|
|
52
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// src/ui/theme/colors/red.ts
|
|
4
|
+
var red = {
|
|
5
|
+
50: "#fdf4f3",
|
|
6
|
+
100: "#f8dfdb",
|
|
7
|
+
200: "#eeb2a9",
|
|
8
|
+
300: "#e37f70",
|
|
9
|
+
400: "#d02a11",
|
|
10
|
+
500: "#a6220e",
|
|
11
|
+
600: "#7d190a",
|
|
12
|
+
700: "#681509",
|
|
13
|
+
800: "#3a0c05",
|
|
14
|
+
900: "#1f0603"
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
export {
|
|
18
|
+
red
|
|
19
|
+
};
|
|
@@ -6,7 +6,7 @@ import { Tooltip as HeroUITooltip } from "@heroui/tooltip";
|
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
var Tooltip = React.forwardRef(
|
|
8
8
|
({ placement = "bottom", ...props }, ref) => {
|
|
9
|
-
return /* @__PURE__ */ jsx(HeroUITooltip, { ref,
|
|
9
|
+
return /* @__PURE__ */ jsx(HeroUITooltip, { ref, placement, ...props });
|
|
10
10
|
}
|
|
11
11
|
);
|
|
12
12
|
Tooltip.displayName = "TeachInUI.Tooltip";
|
|
@@ -20,7 +20,7 @@ var Button = React.forwardRef((props, ref) => {
|
|
|
20
20
|
BaseButton,
|
|
21
21
|
{
|
|
22
22
|
ref,
|
|
23
|
-
className: props.variant === "flat" && props.color === "default" ? "
|
|
23
|
+
className: props.variant === "flat" && props.color === "default" ? "bg-default-flat/25 !text-default-800" : props.className,
|
|
24
24
|
...props
|
|
25
25
|
}
|
|
26
26
|
);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// src/ui/surface/card/card.tsx
|
|
4
|
+
import React from "react";
|
|
5
|
+
import {
|
|
6
|
+
Card as HeroUICard,
|
|
7
|
+
CardHeader as HeroUICardHeader,
|
|
8
|
+
CardBody as HeroUICardBody,
|
|
9
|
+
CardFooter as HeroUICardFooter
|
|
10
|
+
} from "@heroui/card";
|
|
11
|
+
import { jsx } from "react/jsx-runtime";
|
|
12
|
+
var Root = React.forwardRef(({ children, ...props }, ref) => {
|
|
13
|
+
return /* @__PURE__ */ jsx(HeroUICard, { ref, ...props, children });
|
|
14
|
+
});
|
|
15
|
+
Root.displayName = "TeachInUI.Card.Root";
|
|
16
|
+
var Header = React.forwardRef(({ children, ...props }, ref) => {
|
|
17
|
+
return /* @__PURE__ */ jsx(HeroUICardHeader, { ref, ...props, children });
|
|
18
|
+
});
|
|
19
|
+
Header.displayName = "TeachInUI.Card.Header";
|
|
20
|
+
var Body = React.forwardRef(({ children, ...props }, ref) => {
|
|
21
|
+
return /* @__PURE__ */ jsx(HeroUICardBody, { ref, ...props, children });
|
|
22
|
+
});
|
|
23
|
+
Body.displayName = "TeachInUI.Card.Body";
|
|
24
|
+
var Footer = React.forwardRef(({ children, ...props }, ref) => {
|
|
25
|
+
return /* @__PURE__ */ jsx(HeroUICardFooter, { ref, ...props, children });
|
|
26
|
+
});
|
|
27
|
+
Footer.displayName = "TeachInUI.Card.Footer";
|
|
28
|
+
var Card = {
|
|
29
|
+
Root,
|
|
30
|
+
Header,
|
|
31
|
+
Body,
|
|
32
|
+
Footer
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
export {
|
|
36
|
+
Card
|
|
37
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// src/ui/theme/swap-color-values.ts
|
|
4
|
+
function swapColorValues(colors) {
|
|
5
|
+
const swappedColors = {};
|
|
6
|
+
const keys = Object.keys(colors);
|
|
7
|
+
const length = keys.length;
|
|
8
|
+
for (let i = 0; i < length / 2; i++) {
|
|
9
|
+
const key1 = keys[i];
|
|
10
|
+
const key2 = keys[length - 1 - i];
|
|
11
|
+
swappedColors[key1] = colors[key2];
|
|
12
|
+
swappedColors[key2] = colors[key1];
|
|
13
|
+
}
|
|
14
|
+
if (length % 2 !== 0) {
|
|
15
|
+
const middleKey = keys[Math.floor(length / 2)];
|
|
16
|
+
swappedColors[middleKey] = colors[middleKey];
|
|
17
|
+
}
|
|
18
|
+
return swappedColors;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export {
|
|
22
|
+
swapColorValues
|
|
23
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// src/ui/layout/divider/divider.tsx
|
|
4
|
+
import React from "react";
|
|
5
|
+
import { Divider as HeroUIDivider } from "@heroui/divider";
|
|
6
|
+
import { jsx } from "react/jsx-runtime";
|
|
7
|
+
var Divider = React.forwardRef((props, ref) => {
|
|
8
|
+
const { ...restProps } = props;
|
|
9
|
+
return /* @__PURE__ */ jsx(HeroUIDivider, { ref, ...restProps });
|
|
10
|
+
});
|
|
11
|
+
Divider.displayName = "TeachInUI.Divider";
|
|
12
|
+
|
|
13
|
+
export {
|
|
14
|
+
Divider
|
|
15
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
RadioGroup
|
|
4
|
+
} from "./chunk-NOXFF2KJ.mjs";
|
|
5
|
+
|
|
6
|
+
// src/ui/form/rhf/fields/radio-field.tsx
|
|
7
|
+
import { Controller, useFormContext } from "react-hook-form";
|
|
8
|
+
import { jsx } from "react/jsx-runtime";
|
|
9
|
+
function RadioField({ name, ...props }) {
|
|
10
|
+
const { control } = useFormContext();
|
|
11
|
+
return /* @__PURE__ */ jsx(
|
|
12
|
+
Controller,
|
|
13
|
+
{
|
|
14
|
+
control,
|
|
15
|
+
name,
|
|
16
|
+
render: ({ field: { ref, value, onChange, ...field }, fieldState: { error } }) => /* @__PURE__ */ jsx(
|
|
17
|
+
RadioGroup,
|
|
18
|
+
{
|
|
19
|
+
...props,
|
|
20
|
+
...field,
|
|
21
|
+
ref,
|
|
22
|
+
errorMessage: error == null ? void 0 : error.message,
|
|
23
|
+
isInvalid: !!error,
|
|
24
|
+
value,
|
|
25
|
+
onValueChange: onChange
|
|
26
|
+
}
|
|
27
|
+
)
|
|
28
|
+
}
|
|
29
|
+
);
|
|
30
|
+
}
|
|
31
|
+
RadioField.displayName = "TeachInUI.RadioField";
|
|
32
|
+
|
|
33
|
+
export {
|
|
34
|
+
RadioField
|
|
35
|
+
};
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// src/ui/layout/grid/grid.tsx
|
|
4
|
+
import { tv } from "tailwind-variants";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
var variants = tv({
|
|
7
|
+
base: "grid",
|
|
8
|
+
variants: {
|
|
9
|
+
columns: {
|
|
10
|
+
1: "grid-cols-1",
|
|
11
|
+
2: "grid-cols-2",
|
|
12
|
+
3: "grid-cols-3",
|
|
13
|
+
4: "grid-cols-4",
|
|
14
|
+
6: "grid-cols-6",
|
|
15
|
+
12: "grid-cols-12"
|
|
16
|
+
},
|
|
17
|
+
gap: {
|
|
18
|
+
0: "gap-0",
|
|
19
|
+
1: "gap-1",
|
|
20
|
+
2: "gap-2",
|
|
21
|
+
4: "gap-4",
|
|
22
|
+
6: "gap-6",
|
|
23
|
+
8: "gap-8"
|
|
24
|
+
},
|
|
25
|
+
align: {
|
|
26
|
+
start: "items-start",
|
|
27
|
+
center: "items-center",
|
|
28
|
+
end: "items-end",
|
|
29
|
+
stretch: "items-stretch"
|
|
30
|
+
},
|
|
31
|
+
justify: {
|
|
32
|
+
start: "justify-start",
|
|
33
|
+
center: "justify-center",
|
|
34
|
+
end: "justify-end",
|
|
35
|
+
between: "justify-between",
|
|
36
|
+
around: "justify-around",
|
|
37
|
+
evenly: "justify-evenly"
|
|
38
|
+
},
|
|
39
|
+
flow: {
|
|
40
|
+
row: "grid-flow-row",
|
|
41
|
+
col: "grid-flow-col",
|
|
42
|
+
"row-dense": "grid-flow-row-dense",
|
|
43
|
+
"col-dense": "grid-flow-col-dense"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
defaultVariants: {
|
|
47
|
+
columns: 3,
|
|
48
|
+
gap: 4,
|
|
49
|
+
align: "stretch",
|
|
50
|
+
justify: "start",
|
|
51
|
+
flow: "row"
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
var Grid = ({ className, ...props }) => {
|
|
55
|
+
return /* @__PURE__ */ jsx("div", { className: variants({ ...props, className }), ...props });
|
|
56
|
+
};
|
|
57
|
+
Grid.displayName = "TeachInUI.Grid";
|
|
58
|
+
|
|
59
|
+
export {
|
|
60
|
+
Grid
|
|
61
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// src/ui/data/user/user.tsx
|
|
4
|
+
import React from "react";
|
|
5
|
+
import { User as HeroUIUser } from "@heroui/user";
|
|
6
|
+
import { jsx } from "react/jsx-runtime";
|
|
7
|
+
var User = React.forwardRef((props, ref) => {
|
|
8
|
+
return /* @__PURE__ */ jsx(HeroUIUser, { ref, ...props });
|
|
9
|
+
});
|
|
10
|
+
User.displayName = "TeachInUI.User";
|
|
11
|
+
|
|
12
|
+
export {
|
|
13
|
+
User
|
|
14
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// src/ui/theme/colors/purple.ts
|
|
4
|
+
var purple = {
|
|
5
|
+
50: "#faf6fe",
|
|
6
|
+
100: "#efe5fd",
|
|
7
|
+
200: "#d6bcfa",
|
|
8
|
+
300: "#b88bf6",
|
|
9
|
+
400: "#9350f2",
|
|
10
|
+
500: "#7b43cb",
|
|
11
|
+
600: "#5e339b",
|
|
12
|
+
700: "#4c2a7e",
|
|
13
|
+
800: "#2c1849",
|
|
14
|
+
900: "#1a0e2c"
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
export {
|
|
18
|
+
purple
|
|
19
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// src/ui/theme/colors/shipgray.ts
|
|
4
|
+
var shipgray = {
|
|
5
|
+
50: "#f8f8fa",
|
|
6
|
+
100: "#f4f4f8",
|
|
7
|
+
200: "#cfcdde",
|
|
8
|
+
300: "#acaac7",
|
|
9
|
+
400: "#7571a2",
|
|
10
|
+
500: "#5e5a82",
|
|
11
|
+
600: "#464461",
|
|
12
|
+
700: "#232231",
|
|
13
|
+
800: "#1a1923",
|
|
14
|
+
900: "#121118"
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
export {
|
|
18
|
+
shipgray
|
|
19
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// src/ui/theme/colors/pink.ts
|
|
4
|
+
var pink = {
|
|
5
|
+
50: "#fef8ff",
|
|
6
|
+
100: "#fce9ff",
|
|
7
|
+
200: "#f8c6ff",
|
|
8
|
+
300: "#f4a8ff",
|
|
9
|
+
400: "#ed6aff",
|
|
10
|
+
500: "#c759d6",
|
|
11
|
+
600: "#9844a3",
|
|
12
|
+
700: "#7b3785",
|
|
13
|
+
800: "#47204d",
|
|
14
|
+
900: "#2b132e"
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
export {
|
|
18
|
+
pink
|
|
19
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// src/ui/overlays/dropdown/dropdown.tsx
|
|
4
|
+
import {
|
|
5
|
+
Dropdown as HeroUIDropdown,
|
|
6
|
+
DropdownTrigger as HeroUIDropdownTrigger,
|
|
7
|
+
DropdownMenu as HeroUIDropdownMenu,
|
|
8
|
+
DropdownItem as HeroUIDropdownItem,
|
|
9
|
+
DropdownSection as HeroUIDropdownSection
|
|
10
|
+
} from "@heroui/dropdown";
|
|
11
|
+
var Dropdown = Object.assign(HeroUIDropdown, { displayName: "TeachInUI.Dropdown" });
|
|
12
|
+
var DropdownTrigger = Object.assign(HeroUIDropdownTrigger, {
|
|
13
|
+
displayName: "TeachInUI.DropdownTrigger"
|
|
14
|
+
});
|
|
15
|
+
var DropdownMenu = Object.assign(HeroUIDropdownMenu, { displayName: "TeachInUI.DropdownMenu" });
|
|
16
|
+
var DropdownItem = Object.assign(HeroUIDropdownItem, { displayName: "TeachInUI.DropdownItem" });
|
|
17
|
+
var DropdownSection = Object.assign(HeroUIDropdownSection, {
|
|
18
|
+
displayName: "TeachInUI.DropdownSection"
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
export {
|
|
22
|
+
Dropdown,
|
|
23
|
+
DropdownTrigger,
|
|
24
|
+
DropdownMenu,
|
|
25
|
+
DropdownItem,
|
|
26
|
+
DropdownSection
|
|
27
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// src/ui/navigation/tabs/tabs.tsx
|
|
4
|
+
import React from "react";
|
|
5
|
+
import { Tab as HeroUITab, Tabs as HeroUITabs } from "@heroui/tabs";
|
|
6
|
+
import { jsx } from "react/jsx-runtime";
|
|
7
|
+
var Root = React.forwardRef(({ children, ...props }, ref) => {
|
|
8
|
+
return /* @__PURE__ */ jsx(HeroUITabs, { ref, ...props, children });
|
|
9
|
+
});
|
|
10
|
+
Root.displayName = "TeachInUI.Tabs.Root";
|
|
11
|
+
var Tab = Object.assign(HeroUITab, {
|
|
12
|
+
displayName: "TeachInUI.Tabs.Tab"
|
|
13
|
+
});
|
|
14
|
+
var Tabs = {
|
|
15
|
+
Root,
|
|
16
|
+
Tab
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
export {
|
|
20
|
+
Tabs
|
|
21
|
+
};
|
|
@@ -4,11 +4,9 @@
|
|
|
4
4
|
import React from "react";
|
|
5
5
|
import { Spinner as HeroUISpinner } from "@heroui/spinner";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
|
-
var Spinner = React.forwardRef(
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
);
|
|
7
|
+
var Spinner = React.forwardRef((props, ref) => {
|
|
8
|
+
return /* @__PURE__ */ jsx(HeroUISpinner, { ref, ...props });
|
|
9
|
+
});
|
|
12
10
|
Spinner.displayName = "TeachInUI.Spinner";
|
|
13
11
|
|
|
14
12
|
export {
|