@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
|
@@ -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
|
+
};
|
|
@@ -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-
|
|
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,
|
|
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-
|
|
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,
|
|
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-
|
|
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,86 @@
|
|
|
1
|
+
import type { VariantProps } from "tailwind-variants";
|
|
2
|
+
import React from "react";
|
|
3
|
+
export declare const bento: import("tailwind-variants").TVReturnType<{
|
|
4
|
+
color: {
|
|
5
|
+
default: string;
|
|
6
|
+
primary: string;
|
|
7
|
+
secondary: string;
|
|
8
|
+
success: string;
|
|
9
|
+
warning: string;
|
|
10
|
+
danger: string;
|
|
11
|
+
};
|
|
12
|
+
radius: {
|
|
13
|
+
none: string;
|
|
14
|
+
sm: string;
|
|
15
|
+
md: string;
|
|
16
|
+
lg: string;
|
|
17
|
+
full: string;
|
|
18
|
+
};
|
|
19
|
+
shadow: {
|
|
20
|
+
none: string;
|
|
21
|
+
sm: string;
|
|
22
|
+
md: string;
|
|
23
|
+
lg: string;
|
|
24
|
+
};
|
|
25
|
+
bordered: {
|
|
26
|
+
false: string;
|
|
27
|
+
true: string;
|
|
28
|
+
};
|
|
29
|
+
}, undefined, "rounded-xl p-6 transition-colors", {
|
|
30
|
+
color: {
|
|
31
|
+
default: string;
|
|
32
|
+
primary: string;
|
|
33
|
+
secondary: string;
|
|
34
|
+
success: string;
|
|
35
|
+
warning: string;
|
|
36
|
+
danger: string;
|
|
37
|
+
};
|
|
38
|
+
radius: {
|
|
39
|
+
none: string;
|
|
40
|
+
sm: string;
|
|
41
|
+
md: string;
|
|
42
|
+
lg: string;
|
|
43
|
+
full: string;
|
|
44
|
+
};
|
|
45
|
+
shadow: {
|
|
46
|
+
none: string;
|
|
47
|
+
sm: string;
|
|
48
|
+
md: string;
|
|
49
|
+
lg: string;
|
|
50
|
+
};
|
|
51
|
+
bordered: {
|
|
52
|
+
false: string;
|
|
53
|
+
true: string;
|
|
54
|
+
};
|
|
55
|
+
}, undefined, import("tailwind-variants").TVReturnType<{
|
|
56
|
+
color: {
|
|
57
|
+
default: string;
|
|
58
|
+
primary: string;
|
|
59
|
+
secondary: string;
|
|
60
|
+
success: string;
|
|
61
|
+
warning: string;
|
|
62
|
+
danger: string;
|
|
63
|
+
};
|
|
64
|
+
radius: {
|
|
65
|
+
none: string;
|
|
66
|
+
sm: string;
|
|
67
|
+
md: string;
|
|
68
|
+
lg: string;
|
|
69
|
+
full: string;
|
|
70
|
+
};
|
|
71
|
+
shadow: {
|
|
72
|
+
none: string;
|
|
73
|
+
sm: string;
|
|
74
|
+
md: string;
|
|
75
|
+
lg: string;
|
|
76
|
+
};
|
|
77
|
+
bordered: {
|
|
78
|
+
false: string;
|
|
79
|
+
true: string;
|
|
80
|
+
};
|
|
81
|
+
}, undefined, "rounded-xl p-6 transition-colors", unknown, unknown, undefined>>;
|
|
82
|
+
type BentoVariants = VariantProps<typeof bento>;
|
|
83
|
+
export interface BentoProps extends Omit<React.HTMLAttributes<HTMLDivElement>, keyof BentoVariants>, BentoVariants {
|
|
84
|
+
}
|
|
85
|
+
export declare const Bento: React.FC<BentoProps>;
|
|
86
|
+
export {};
|
|
@@ -0,0 +1,74 @@
|
|
|
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/surface/bento/bento.tsx
|
|
22
|
+
var bento_exports = {};
|
|
23
|
+
__export(bento_exports, {
|
|
24
|
+
Bento: () => Bento,
|
|
25
|
+
bento: () => bento
|
|
26
|
+
});
|
|
27
|
+
module.exports = __toCommonJS(bento_exports);
|
|
28
|
+
var import_tailwind_variants = require("tailwind-variants");
|
|
29
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
30
|
+
var bento = (0, import_tailwind_variants.tv)({
|
|
31
|
+
base: "rounded-xl p-6 transition-colors",
|
|
32
|
+
variants: {
|
|
33
|
+
color: {
|
|
34
|
+
default: "bg-default-50 text-default-700",
|
|
35
|
+
primary: "bg-primary-50 text-primary-700",
|
|
36
|
+
secondary: "bg-secondary-50 text-secondary-700",
|
|
37
|
+
success: "bg-success-50 text-success-700",
|
|
38
|
+
warning: "bg-warning-50 text-warning-700",
|
|
39
|
+
danger: "bg-danger-50 text-danger-700"
|
|
40
|
+
},
|
|
41
|
+
radius: {
|
|
42
|
+
none: "rounded-none",
|
|
43
|
+
sm: "rounded-md",
|
|
44
|
+
md: "rounded-lg",
|
|
45
|
+
lg: "rounded-xl",
|
|
46
|
+
full: "rounded-full"
|
|
47
|
+
},
|
|
48
|
+
shadow: {
|
|
49
|
+
none: "",
|
|
50
|
+
sm: "shadow-small",
|
|
51
|
+
md: "shadow-medium",
|
|
52
|
+
lg: "shadow-large"
|
|
53
|
+
},
|
|
54
|
+
bordered: {
|
|
55
|
+
false: "",
|
|
56
|
+
true: "border border-default-200"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
defaultVariants: {
|
|
60
|
+
color: "default",
|
|
61
|
+
radius: "lg",
|
|
62
|
+
shadow: "none",
|
|
63
|
+
bordered: false
|
|
64
|
+
}
|
|
65
|
+
});
|
|
66
|
+
var Bento = ({ className, ...props }) => {
|
|
67
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: bento({ ...props, className }), ...props });
|
|
68
|
+
};
|
|
69
|
+
Bento.displayName = "TeachInUI.Bento";
|
|
70
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
71
|
+
0 && (module.exports = {
|
|
72
|
+
Bento,
|
|
73
|
+
bento
|
|
74
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./bento";
|
|
@@ -0,0 +1,76 @@
|
|
|
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/surface/bento/index.ts
|
|
22
|
+
var bento_exports = {};
|
|
23
|
+
__export(bento_exports, {
|
|
24
|
+
Bento: () => Bento,
|
|
25
|
+
bento: () => bento
|
|
26
|
+
});
|
|
27
|
+
module.exports = __toCommonJS(bento_exports);
|
|
28
|
+
|
|
29
|
+
// src/ui/surface/bento/bento.tsx
|
|
30
|
+
var import_tailwind_variants = require("tailwind-variants");
|
|
31
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
32
|
+
var bento = (0, import_tailwind_variants.tv)({
|
|
33
|
+
base: "rounded-xl p-6 transition-colors",
|
|
34
|
+
variants: {
|
|
35
|
+
color: {
|
|
36
|
+
default: "bg-default-50 text-default-700",
|
|
37
|
+
primary: "bg-primary-50 text-primary-700",
|
|
38
|
+
secondary: "bg-secondary-50 text-secondary-700",
|
|
39
|
+
success: "bg-success-50 text-success-700",
|
|
40
|
+
warning: "bg-warning-50 text-warning-700",
|
|
41
|
+
danger: "bg-danger-50 text-danger-700"
|
|
42
|
+
},
|
|
43
|
+
radius: {
|
|
44
|
+
none: "rounded-none",
|
|
45
|
+
sm: "rounded-md",
|
|
46
|
+
md: "rounded-lg",
|
|
47
|
+
lg: "rounded-xl",
|
|
48
|
+
full: "rounded-full"
|
|
49
|
+
},
|
|
50
|
+
shadow: {
|
|
51
|
+
none: "",
|
|
52
|
+
sm: "shadow-small",
|
|
53
|
+
md: "shadow-medium",
|
|
54
|
+
lg: "shadow-large"
|
|
55
|
+
},
|
|
56
|
+
bordered: {
|
|
57
|
+
false: "",
|
|
58
|
+
true: "border border-default-200"
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
defaultVariants: {
|
|
62
|
+
color: "default",
|
|
63
|
+
radius: "lg",
|
|
64
|
+
shadow: "none",
|
|
65
|
+
bordered: false
|
|
66
|
+
}
|
|
67
|
+
});
|
|
68
|
+
var Bento = ({ className, ...props }) => {
|
|
69
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: bento({ ...props, className }), ...props });
|
|
70
|
+
};
|
|
71
|
+
Bento.displayName = "TeachInUI.Bento";
|
|
72
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
73
|
+
0 && (module.exports = {
|
|
74
|
+
Bento,
|
|
75
|
+
bento
|
|
76
|
+
});
|