@teach-in/react 0.1.0 → 0.2.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-2OPPNAW2.mjs +19 -0
- package/dist/chunk-3LOCA2SP.mjs +19 -0
- package/dist/chunk-545OBZ4O.mjs +47 -0
- package/dist/{chunk-2W4N27WQ.mjs → chunk-6NZ4IHNU.mjs} +4 -3
- package/dist/{chunk-CLDAITOP.mjs → chunk-BUVPBB4J.mjs} +2 -2
- package/dist/chunk-CAJWTQDB.mjs +1 -0
- package/dist/chunk-EJQH6CYW.mjs +1 -0
- package/dist/chunk-HOVAPYGJ.mjs +19 -0
- package/dist/{chunk-S2TB4GD2.mjs → chunk-IZ5KKF6P.mjs} +2 -2
- package/dist/chunk-J3OZNLTZ.mjs +50 -0
- package/dist/chunk-JUIVZCH7.mjs +1 -0
- package/dist/chunk-JWMPI5AZ.mjs +1 -0
- package/dist/chunk-LUERGYYZ.mjs +19 -0
- package/dist/{chunk-CUVF3U67.mjs → chunk-M5F723W7.mjs} +1 -1
- package/dist/chunk-NCM6KIQH.mjs +47 -0
- package/dist/chunk-NDQAHQFL.mjs +1 -0
- package/dist/{chunk-AS4T5M6E.mjs → chunk-O5T4GUJH.mjs} +3 -0
- package/dist/chunk-OW6U64MG.mjs +19 -0
- package/dist/chunk-PFLROV3C.mjs +17 -0
- package/dist/chunk-PON4ZQKG.mjs +1 -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-QU35SWES.mjs → chunk-TYMUQULA.mjs} +9 -5
- package/dist/chunk-VIPLRFPR.mjs +23 -0
- package/dist/chunk-W6NKLZ73.mjs +61 -0
- package/dist/chunk-X7ER4IDJ.mjs +167 -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-LR4R7GFR.mjs → chunk-ZXCQ73RT.mjs} +3 -5
- package/dist/index.js +527 -55
- package/dist/index.mjs +110 -78
- package/dist/ui/actions/button/button.d.ts +0 -4
- package/dist/ui/actions/button/button.js +9 -6
- package/dist/ui/actions/button/button.mjs +1 -2
- package/dist/ui/actions/button/index.js +9 -5
- package/dist/ui/actions/button/index.mjs +1 -1
- package/dist/ui/actions/index.js +9 -5
- package/dist/ui/actions/index.mjs +1 -1
- package/dist/ui/data/index.js +1 -0
- package/dist/ui/data/index.mjs +1 -1
- 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/feedback/alert/alert.d.ts +1 -1
- package/dist/ui/feedback/alert/alert.js +0 -1
- package/dist/ui/feedback/alert/alert.mjs +0 -1
- package/dist/ui/feedback/chip/chip.js +0 -1
- package/dist/ui/feedback/chip/chip.mjs +0 -1
- package/dist/ui/feedback/index.js +4 -6
- package/dist/ui/feedback/index.mjs +8 -8
- 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 -6
- package/dist/ui/feedback/spinner/spinner.mjs +1 -2
- 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 -2
- package/dist/ui/feedback/tooltip/tooltip.mjs +1 -2
- package/dist/ui/form/index.mjs +14 -14
- package/dist/ui/form/rhf/fields/autocomplete-field.js +0 -1
- package/dist/ui/form/rhf/fields/autocomplete-field.mjs +6 -7
- package/dist/ui/form/rhf/fields/checkbox-field.js +0 -1
- package/dist/ui/form/rhf/fields/checkbox-field.mjs +6 -7
- package/dist/ui/form/rhf/fields/date-picker-field.js +0 -1
- package/dist/ui/form/rhf/fields/date-picker-field.mjs +6 -7
- package/dist/ui/form/rhf/fields/email-field.js +0 -1
- package/dist/ui/form/rhf/fields/email-field.mjs +6 -7
- package/dist/ui/form/rhf/fields/index.mjs +12 -12
- package/dist/ui/form/rhf/fields/input-field.js +0 -1
- package/dist/ui/form/rhf/fields/input-field.mjs +6 -7
- package/dist/ui/form/rhf/fields/select-field.js +0 -1
- package/dist/ui/form/rhf/fields/select-field.mjs +6 -7
- package/dist/ui/form/rhf/fields/switch-field.js +0 -1
- package/dist/ui/form/rhf/fields/switch-field.mjs +6 -7
- package/dist/ui/form/rhf/fields/text-field.js +0 -1
- package/dist/ui/form/rhf/fields/text-field.mjs +6 -7
- package/dist/ui/form/rhf/fields/textarea-field.js +0 -1
- package/dist/ui/form/rhf/fields/textarea-field.mjs +6 -7
- package/dist/ui/form/rhf/index.mjs +12 -12
- package/dist/ui/format/boolean.js +0 -1
- package/dist/ui/format/boolean.mjs +0 -1
- package/dist/ui/format/currency.js +0 -1
- package/dist/ui/format/currency.mjs +0 -1
- package/dist/ui/format/date.js +2 -3
- package/dist/ui/format/date.mjs +1 -2
- package/dist/ui/format/datetime.js +4 -4
- package/dist/ui/format/datetime.mjs +1 -2
- package/dist/ui/format/duration.js +0 -1
- package/dist/ui/format/duration.mjs +0 -1
- package/dist/ui/format/index.js +6 -5
- package/dist/ui/format/index.mjs +2 -2
- package/dist/ui/format/number.js +0 -1
- package/dist/ui/format/number.mjs +0 -1
- package/dist/ui/format/percent.js +0 -1
- package/dist/ui/format/percent.mjs +0 -1
- package/dist/ui/format/plural.js +0 -1
- package/dist/ui/format/plural.mjs +0 -1
- package/dist/ui/format/time.js +0 -1
- package/dist/ui/format/time.mjs +0 -1
- package/dist/ui/index.d.ts +1 -0
- package/dist/ui/index.js +527 -55
- package/dist/ui/index.mjs +110 -78
- package/dist/ui/inputs/index.mjs +10 -10
- package/dist/ui/inputs/switch/switch.js +0 -1
- package/dist/ui/inputs/switch/switch.mjs +0 -1
- package/dist/ui/layout/{container.d.ts → container/container.d.ts} +2 -2
- package/dist/ui/layout/{container.js → container/container.js} +3 -4
- package/dist/ui/layout/container/container.mjs +107 -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 +107 -0
- package/dist/ui/layout/{flex.js → flex/flex.js} +1 -2
- package/dist/ui/layout/{flex.mjs → flex/flex.mjs} +1 -2
- 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 +1 -0
- package/dist/ui/layout/index.js +65 -9
- package/dist/ui/layout/index.mjs +72 -48
- package/dist/ui/layout/page/breadcrumbs.js +0 -1
- package/dist/ui/layout/page/breadcrumbs.mjs +0 -1
- package/dist/ui/layout/page/index.js +3 -5
- package/dist/ui/layout/page/index.mjs +11 -11
- package/dist/ui/layout/page/page-loading.js +3 -5
- package/dist/ui/layout/page/page-loading.mjs +6 -6
- package/dist/ui/layout/page/section-loading.js +3 -5
- package/dist/ui/layout/page/section-loading.mjs +6 -6
- package/dist/ui/overlays/modal/modal.js +0 -1
- package/dist/ui/overlays/modal/modal.mjs +0 -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/index.d.ts +1 -0
- package/dist/ui/surface/index.js +76 -0
- package/dist/ui/surface/index.mjs +11 -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 +4 -3
- package/dist/chunk-FELJP42D.mjs +0 -220
- package/dist/ui/layout/container.mjs +0 -87
- package/dist/ui/theme/theme.css +0 -2
- /package/dist/ui/layout/{flex.d.ts → flex/flex.d.ts} +0 -0
package/dist/index.mjs
CHANGED
|
@@ -1,8 +1,22 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
Container
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-IZ5KKF6P.mjs";
|
|
5
|
+
import "./chunk-JUIVZCH7.mjs";
|
|
6
|
+
import {
|
|
7
|
+
Flex
|
|
8
|
+
} from "./chunk-M5F723W7.mjs";
|
|
9
|
+
import "./chunk-NDQAHQFL.mjs";
|
|
10
|
+
import {
|
|
11
|
+
Grid
|
|
12
|
+
} from "./chunk-W6NKLZ73.mjs";
|
|
5
13
|
import "./chunk-CRPCWBXA.mjs";
|
|
14
|
+
import {
|
|
15
|
+
PageLoading
|
|
16
|
+
} from "./chunk-SPED4RBS.mjs";
|
|
17
|
+
import {
|
|
18
|
+
SectionLoading
|
|
19
|
+
} from "./chunk-25XG46X6.mjs";
|
|
6
20
|
import {
|
|
7
21
|
Actions,
|
|
8
22
|
Body,
|
|
@@ -15,41 +29,37 @@ import {
|
|
|
15
29
|
SectionTitle,
|
|
16
30
|
Title
|
|
17
31
|
} from "./chunk-Q4TQYK6N.mjs";
|
|
18
|
-
import {
|
|
19
|
-
PageLoading
|
|
20
|
-
} from "./chunk-PEB5ZH76.mjs";
|
|
21
|
-
import {
|
|
22
|
-
SectionLoading
|
|
23
|
-
} from "./chunk-HH7MLUOF.mjs";
|
|
24
32
|
import "./chunk-DBQTFBA3.mjs";
|
|
25
|
-
import "./chunk-5HUR2CNH.mjs";
|
|
26
|
-
import "./chunk-25ISU6R3.mjs";
|
|
27
|
-
import {
|
|
28
|
-
Link
|
|
29
|
-
} from "./chunk-7T3JFARO.mjs";
|
|
30
33
|
import "./chunk-Q6XJI7Q2.mjs";
|
|
34
|
+
import "./chunk-CAJWTQDB.mjs";
|
|
35
|
+
import "./chunk-PON4ZQKG.mjs";
|
|
31
36
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
37
|
+
Bento,
|
|
38
|
+
bento
|
|
39
|
+
} from "./chunk-J3OZNLTZ.mjs";
|
|
34
40
|
import "./chunk-EVQFKHCM.mjs";
|
|
35
41
|
import "./chunk-XAW35UDV.mjs";
|
|
36
42
|
import {
|
|
37
43
|
breakpoints
|
|
38
44
|
} from "./chunk-NBFOX367.mjs";
|
|
39
|
-
import "./chunk-FELJP42D.mjs";
|
|
40
|
-
import "./chunk-5IHVMMCK.mjs";
|
|
41
|
-
import {
|
|
42
|
-
Number
|
|
43
|
-
} from "./chunk-NZI5NBXF.mjs";
|
|
44
45
|
import {
|
|
45
|
-
|
|
46
|
-
} from "./chunk-
|
|
47
|
-
import
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
import
|
|
51
|
-
|
|
52
|
-
|
|
46
|
+
theme
|
|
47
|
+
} from "./chunk-545OBZ4O.mjs";
|
|
48
|
+
import "./chunk-JWMPI5AZ.mjs";
|
|
49
|
+
import "./chunk-PFLROV3C.mjs";
|
|
50
|
+
import "./chunk-X7ER4IDJ.mjs";
|
|
51
|
+
import "./chunk-EJQH6CYW.mjs";
|
|
52
|
+
import "./chunk-NCM6KIQH.mjs";
|
|
53
|
+
import "./chunk-SLB2JE3N.mjs";
|
|
54
|
+
import "./chunk-XYQVL4EX.mjs";
|
|
55
|
+
import "./chunk-HOVAPYGJ.mjs";
|
|
56
|
+
import "./chunk-3LOCA2SP.mjs";
|
|
57
|
+
import "./chunk-2OPPNAW2.mjs";
|
|
58
|
+
import "./chunk-OW6U64MG.mjs";
|
|
59
|
+
import "./chunk-LUERGYYZ.mjs";
|
|
60
|
+
import "./chunk-YBQFG6QJ.mjs";
|
|
61
|
+
import "./chunk-XKX5LFH7.mjs";
|
|
62
|
+
import "./chunk-VIPLRFPR.mjs";
|
|
53
63
|
import "./chunk-OEHJDT6R.mjs";
|
|
54
64
|
import "./chunk-I5AMV7H7.mjs";
|
|
55
65
|
import {
|
|
@@ -59,39 +69,27 @@ import "./chunk-3N5UZODS.mjs";
|
|
|
59
69
|
import {
|
|
60
70
|
UIProvider
|
|
61
71
|
} from "./chunk-6WK4W5LL.mjs";
|
|
62
|
-
import "./chunk-VOG5HJID.mjs";
|
|
63
|
-
import "./chunk-FXXWSYJA.mjs";
|
|
64
|
-
import "./chunk-JJHHWDZT.mjs";
|
|
65
|
-
import {
|
|
66
|
-
SelectField
|
|
67
|
-
} from "./chunk-GEJLG5RP.mjs";
|
|
68
|
-
import {
|
|
69
|
-
SwitchField
|
|
70
|
-
} from "./chunk-EC3NSPHR.mjs";
|
|
71
72
|
import {
|
|
72
|
-
|
|
73
|
-
} from "./chunk-
|
|
74
|
-
import
|
|
75
|
-
|
|
76
|
-
} from "./chunk-V4HKGJYK.mjs";
|
|
77
|
-
import {
|
|
78
|
-
AutocompleteField
|
|
79
|
-
} from "./chunk-S3ET5HKP.mjs";
|
|
73
|
+
cn
|
|
74
|
+
} from "./chunk-LOMRTWX5.mjs";
|
|
75
|
+
import "./chunk-5HUR2CNH.mjs";
|
|
76
|
+
import "./chunk-25ISU6R3.mjs";
|
|
80
77
|
import {
|
|
81
|
-
|
|
82
|
-
} from "./chunk-
|
|
78
|
+
Link
|
|
79
|
+
} from "./chunk-7T3JFARO.mjs";
|
|
80
|
+
import "./chunk-5IHVMMCK.mjs";
|
|
83
81
|
import {
|
|
84
|
-
|
|
85
|
-
} from "./chunk-
|
|
82
|
+
Number
|
|
83
|
+
} from "./chunk-NZI5NBXF.mjs";
|
|
86
84
|
import {
|
|
87
|
-
|
|
88
|
-
} from "./chunk-
|
|
85
|
+
Percent
|
|
86
|
+
} from "./chunk-CXAZBWS4.mjs";
|
|
89
87
|
import {
|
|
90
|
-
|
|
91
|
-
} from "./chunk-
|
|
88
|
+
Plural
|
|
89
|
+
} from "./chunk-UHLC7GOU.mjs";
|
|
92
90
|
import {
|
|
93
|
-
|
|
94
|
-
} from "./chunk-
|
|
91
|
+
Time
|
|
92
|
+
} from "./chunk-3ZTXXJSO.mjs";
|
|
95
93
|
import {
|
|
96
94
|
Boolean
|
|
97
95
|
} from "./chunk-26RHRVH2.mjs";
|
|
@@ -100,10 +98,10 @@ import {
|
|
|
100
98
|
} from "./chunk-LN7WH3OB.mjs";
|
|
101
99
|
import {
|
|
102
100
|
DateFormat
|
|
103
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-BUVPBB4J.mjs";
|
|
104
102
|
import {
|
|
105
103
|
Datetime
|
|
106
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-6NZ4IHNU.mjs";
|
|
107
105
|
import {
|
|
108
106
|
Duration
|
|
109
107
|
} from "./chunk-4QSIBIUI.mjs";
|
|
@@ -111,54 +109,84 @@ import "./chunk-HZ5YAOU6.mjs";
|
|
|
111
109
|
import "./chunk-5UKTT75Y.mjs";
|
|
112
110
|
import {
|
|
113
111
|
Button
|
|
114
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-TYMUQULA.mjs";
|
|
115
113
|
import "./chunk-54ZSBA6H.mjs";
|
|
116
114
|
import "./chunk-KH4D2C2T.mjs";
|
|
117
115
|
import {
|
|
118
116
|
Pagination
|
|
119
|
-
} from "./chunk-
|
|
117
|
+
} from "./chunk-O5T4GUJH.mjs";
|
|
120
118
|
import "./chunk-UTZUYZZL.mjs";
|
|
121
119
|
import {
|
|
122
120
|
Avatar
|
|
123
121
|
} from "./chunk-IZEJE6V2.mjs";
|
|
124
122
|
import "./chunk-UURZJWWV.mjs";
|
|
123
|
+
import "./chunk-WZDFBWUL.mjs";
|
|
124
|
+
import {
|
|
125
|
+
Spinner
|
|
126
|
+
} from "./chunk-ZXCQ73RT.mjs";
|
|
125
127
|
import "./chunk-3BST3PYD.mjs";
|
|
126
128
|
import {
|
|
127
129
|
Tooltip
|
|
128
|
-
} from "./chunk-
|
|
129
|
-
import "./chunk-
|
|
130
|
+
} from "./chunk-TJBXXTYS.mjs";
|
|
131
|
+
import "./chunk-K3WTHFIG.mjs";
|
|
130
132
|
import {
|
|
131
|
-
|
|
132
|
-
} from "./chunk-
|
|
133
|
+
Chip
|
|
134
|
+
} from "./chunk-ONQIPN3G.mjs";
|
|
133
135
|
import "./chunk-V77JZXH7.mjs";
|
|
134
136
|
import {
|
|
135
137
|
Alert
|
|
136
138
|
} from "./chunk-TIFF5WZA.mjs";
|
|
137
|
-
import "./chunk-
|
|
139
|
+
import "./chunk-VOG5HJID.mjs";
|
|
140
|
+
import "./chunk-FXXWSYJA.mjs";
|
|
141
|
+
import "./chunk-JJHHWDZT.mjs";
|
|
138
142
|
import {
|
|
139
|
-
|
|
140
|
-
} from "./chunk-
|
|
141
|
-
import "./chunk-5YMUHF45.mjs";
|
|
142
|
-
import "./chunk-DUQFM3QS.mjs";
|
|
143
|
+
TextField
|
|
144
|
+
} from "./chunk-CETCW7DS.mjs";
|
|
143
145
|
import {
|
|
144
|
-
|
|
145
|
-
} from "./chunk-
|
|
146
|
-
import "./chunk-5EWHMXCP.mjs";
|
|
146
|
+
TextareaField
|
|
147
|
+
} from "./chunk-V4HKGJYK.mjs";
|
|
147
148
|
import {
|
|
148
|
-
|
|
149
|
-
} from "./chunk-
|
|
149
|
+
AutocompleteField
|
|
150
|
+
} from "./chunk-S3ET5HKP.mjs";
|
|
151
|
+
import {
|
|
152
|
+
CheckboxField
|
|
153
|
+
} from "./chunk-6UIBJVXP.mjs";
|
|
154
|
+
import {
|
|
155
|
+
DatePickerField
|
|
156
|
+
} from "./chunk-7GHK5XYK.mjs";
|
|
157
|
+
import {
|
|
158
|
+
EmailField
|
|
159
|
+
} from "./chunk-R7LDL5CU.mjs";
|
|
160
|
+
import {
|
|
161
|
+
InputField
|
|
162
|
+
} from "./chunk-JDFRAN4S.mjs";
|
|
163
|
+
import {
|
|
164
|
+
SelectField
|
|
165
|
+
} from "./chunk-GEJLG5RP.mjs";
|
|
166
|
+
import {
|
|
167
|
+
SwitchField
|
|
168
|
+
} from "./chunk-EC3NSPHR.mjs";
|
|
169
|
+
import "./chunk-5YMUHF45.mjs";
|
|
150
170
|
import "./chunk-5HK7HRTR.mjs";
|
|
151
171
|
import {
|
|
152
172
|
Textarea
|
|
153
173
|
} from "./chunk-HJUZTISD.mjs";
|
|
154
|
-
import "./chunk-
|
|
174
|
+
import "./chunk-5EWHMXCP.mjs";
|
|
155
175
|
import {
|
|
156
|
-
|
|
157
|
-
} from "./chunk-
|
|
176
|
+
Switch
|
|
177
|
+
} from "./chunk-N3EAW6UO.mjs";
|
|
178
|
+
import "./chunk-DUQFM3QS.mjs";
|
|
179
|
+
import {
|
|
180
|
+
Text
|
|
181
|
+
} from "./chunk-KTUGFQWJ.mjs";
|
|
158
182
|
import "./chunk-V2HNFTTX.mjs";
|
|
159
183
|
import {
|
|
160
184
|
DatePicker
|
|
161
185
|
} from "./chunk-IAJ6G633.mjs";
|
|
186
|
+
import "./chunk-V3KKDSQP.mjs";
|
|
187
|
+
import {
|
|
188
|
+
Email
|
|
189
|
+
} from "./chunk-LJIVY6GU.mjs";
|
|
162
190
|
import "./chunk-ZRHEFEFS.mjs";
|
|
163
191
|
import {
|
|
164
192
|
Input
|
|
@@ -176,14 +204,15 @@ import {
|
|
|
176
204
|
Checkbox
|
|
177
205
|
} from "./chunk-WTXPB253.mjs";
|
|
178
206
|
import {
|
|
179
|
-
|
|
180
|
-
} from "./chunk-
|
|
207
|
+
Form
|
|
208
|
+
} from "./chunk-A3AAC7PF.mjs";
|
|
181
209
|
export {
|
|
182
210
|
Actions,
|
|
183
211
|
Alert,
|
|
184
212
|
Autocomplete,
|
|
185
213
|
AutocompleteField,
|
|
186
214
|
Avatar,
|
|
215
|
+
Bento,
|
|
187
216
|
Body,
|
|
188
217
|
Button,
|
|
189
218
|
Checkbox,
|
|
@@ -205,6 +234,7 @@ export {
|
|
|
205
234
|
Percent as FormatPercent,
|
|
206
235
|
Plural as FormatPlural,
|
|
207
236
|
Time as FormatTime,
|
|
237
|
+
Grid,
|
|
208
238
|
Header,
|
|
209
239
|
Input,
|
|
210
240
|
InputField,
|
|
@@ -232,6 +262,8 @@ export {
|
|
|
232
262
|
Title,
|
|
233
263
|
Tooltip,
|
|
234
264
|
UIProvider,
|
|
265
|
+
bento,
|
|
235
266
|
breakpoints,
|
|
236
|
-
cn
|
|
267
|
+
cn,
|
|
268
|
+
theme
|
|
237
269
|
};
|
|
@@ -2,24 +2,20 @@ import React from "react";
|
|
|
2
2
|
declare const BaseButton: React.ForwardRefExoticComponent<(Omit<import("@heroui/system").OmitCommonProps<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref">, keyof import("@heroui/button").ButtonProps> & import("@heroui/button").ButtonProps & {
|
|
3
3
|
as?: import("@heroui/system").As<any> | undefined;
|
|
4
4
|
} & {
|
|
5
|
-
color?: "primary" | undefined;
|
|
6
5
|
size?: "lg" | undefined;
|
|
7
6
|
}, "ref"> | Omit<import("@heroui/system").OmitCommonProps<Omit<Omit<any, "ref">, never>, keyof import("@heroui/button").ButtonProps> & import("@heroui/button").ButtonProps & {
|
|
8
7
|
as?: import("@heroui/system").As<any> | undefined;
|
|
9
8
|
} & {
|
|
10
|
-
color?: "primary" | undefined;
|
|
11
9
|
size?: "lg" | undefined;
|
|
12
10
|
}, "ref">) & React.RefAttributes<HTMLButtonElement>>;
|
|
13
11
|
export type ButtonProps = React.ComponentProps<typeof BaseButton>;
|
|
14
12
|
export declare const Button: React.ForwardRefExoticComponent<(Omit<Omit<import("@heroui/system").OmitCommonProps<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref">, keyof import("@heroui/button").ButtonProps> & import("@heroui/button").ButtonProps & {
|
|
15
13
|
as?: import("@heroui/system").As<any> | undefined;
|
|
16
14
|
} & {
|
|
17
|
-
color?: "primary" | undefined;
|
|
18
15
|
size?: "lg" | undefined;
|
|
19
16
|
}, "ref"> & React.RefAttributes<HTMLButtonElement>, "ref"> | Omit<Omit<import("@heroui/system").OmitCommonProps<Omit<Omit<any, "ref">, never>, keyof import("@heroui/button").ButtonProps> & import("@heroui/button").ButtonProps & {
|
|
20
17
|
as?: import("@heroui/system").As<any> | undefined;
|
|
21
18
|
} & {
|
|
22
|
-
color?: "primary" | undefined;
|
|
23
19
|
size?: "lg" | undefined;
|
|
24
20
|
}, "ref"> & React.RefAttributes<HTMLButtonElement>, "ref">) & React.RefAttributes<HTMLButtonElement>>;
|
|
25
21
|
export {};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
|
-
"use client";
|
|
4
3
|
var __create = Object.create;
|
|
5
4
|
var __defProp = Object.defineProperty;
|
|
6
5
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -41,11 +40,8 @@ var import_system = require("@heroui/system");
|
|
|
41
40
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
42
41
|
var BaseButton = (0, import_system.extendVariants)(import_button.Button, {
|
|
43
42
|
variants: {
|
|
44
|
-
color: {
|
|
45
|
-
primary: "bg-primary-400"
|
|
46
|
-
},
|
|
47
43
|
size: {
|
|
48
|
-
lg: "min-w-20 h-14 text-base gap-2
|
|
44
|
+
lg: "px-6 min-w-20 h-14 text-base gap-2 rounded-large"
|
|
49
45
|
}
|
|
50
46
|
},
|
|
51
47
|
defaultVariants: {
|
|
@@ -53,7 +49,14 @@ var BaseButton = (0, import_system.extendVariants)(import_button.Button, {
|
|
|
53
49
|
}
|
|
54
50
|
});
|
|
55
51
|
var Button = import_react.default.forwardRef((props, ref) => {
|
|
56
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
52
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
53
|
+
BaseButton,
|
|
54
|
+
{
|
|
55
|
+
ref,
|
|
56
|
+
className: props.variant === "flat" && props.color === "default" ? "bg-default-flat/25 !text-default-800" : props.className,
|
|
57
|
+
...props
|
|
58
|
+
}
|
|
59
|
+
);
|
|
57
60
|
});
|
|
58
61
|
Button.displayName = "TeachInUI.Button";
|
|
59
62
|
// Annotate the CommonJS export names for ESM import in node:
|
|
@@ -42,11 +42,8 @@ var import_system = require("@heroui/system");
|
|
|
42
42
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
43
43
|
var BaseButton = (0, import_system.extendVariants)(import_button.Button, {
|
|
44
44
|
variants: {
|
|
45
|
-
color: {
|
|
46
|
-
primary: "bg-primary-400"
|
|
47
|
-
},
|
|
48
45
|
size: {
|
|
49
|
-
lg: "min-w-20 h-14 text-base gap-2
|
|
46
|
+
lg: "px-6 min-w-20 h-14 text-base gap-2 rounded-large"
|
|
50
47
|
}
|
|
51
48
|
},
|
|
52
49
|
defaultVariants: {
|
|
@@ -54,7 +51,14 @@ var BaseButton = (0, import_system.extendVariants)(import_button.Button, {
|
|
|
54
51
|
}
|
|
55
52
|
});
|
|
56
53
|
var Button = import_react.default.forwardRef((props, ref) => {
|
|
57
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
54
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
55
|
+
BaseButton,
|
|
56
|
+
{
|
|
57
|
+
ref,
|
|
58
|
+
className: props.variant === "flat" && props.color === "default" ? "bg-default-flat/25 !text-default-800" : props.className,
|
|
59
|
+
...props
|
|
60
|
+
}
|
|
61
|
+
);
|
|
58
62
|
});
|
|
59
63
|
Button.displayName = "TeachInUI.Button";
|
|
60
64
|
// Annotate the CommonJS export names for ESM import in node:
|
package/dist/ui/actions/index.js
CHANGED
|
@@ -42,11 +42,8 @@ var import_system = require("@heroui/system");
|
|
|
42
42
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
43
43
|
var BaseButton = (0, import_system.extendVariants)(import_button.Button, {
|
|
44
44
|
variants: {
|
|
45
|
-
color: {
|
|
46
|
-
primary: "bg-primary-400"
|
|
47
|
-
},
|
|
48
45
|
size: {
|
|
49
|
-
lg: "min-w-20 h-14 text-base gap-2
|
|
46
|
+
lg: "px-6 min-w-20 h-14 text-base gap-2 rounded-large"
|
|
50
47
|
}
|
|
51
48
|
},
|
|
52
49
|
defaultVariants: {
|
|
@@ -54,7 +51,14 @@ var BaseButton = (0, import_system.extendVariants)(import_button.Button, {
|
|
|
54
51
|
}
|
|
55
52
|
});
|
|
56
53
|
var Button = import_react.default.forwardRef((props, ref) => {
|
|
57
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
54
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
55
|
+
BaseButton,
|
|
56
|
+
{
|
|
57
|
+
ref,
|
|
58
|
+
className: props.variant === "flat" && props.color === "default" ? "bg-default-flat/25 !text-default-800" : props.className,
|
|
59
|
+
...props
|
|
60
|
+
}
|
|
61
|
+
);
|
|
58
62
|
});
|
|
59
63
|
Button.displayName = "TeachInUI.Button";
|
|
60
64
|
// Annotate the CommonJS export names for ESM import in node:
|
package/dist/ui/data/index.js
CHANGED
|
@@ -48,6 +48,7 @@ Avatar.displayName = "TeachInUI.Avatar";
|
|
|
48
48
|
// src/ui/data/pagination/pagination.tsx
|
|
49
49
|
var import_react2 = __toESM(require("react"));
|
|
50
50
|
var import_pagination = require("@heroui/pagination");
|
|
51
|
+
var import_pagination2 = require("@heroui/pagination");
|
|
51
52
|
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
52
53
|
var Pagination = import_react2.default.forwardRef(({ pages, ...props }, ref) => {
|
|
53
54
|
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_pagination.Pagination, { ref, isCompact: true, showControls: true, showShadow: true, total: pages, ...props });
|
package/dist/ui/data/index.mjs
CHANGED
|
@@ -38,6 +38,7 @@ module.exports = __toCommonJS(pagination_exports);
|
|
|
38
38
|
// src/ui/data/pagination/pagination.tsx
|
|
39
39
|
var import_react = __toESM(require("react"));
|
|
40
40
|
var import_pagination = require("@heroui/pagination");
|
|
41
|
+
var import_pagination2 = require("@heroui/pagination");
|
|
41
42
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
42
43
|
var Pagination = import_react.default.forwardRef(({ pages, ...props }, ref) => {
|
|
43
44
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_pagination.Pagination, { ref, isCompact: true, showControls: true, showShadow: true, total: pages, ...props });
|
|
@@ -1,7 +1,11 @@
|
|
|
1
|
-
import type { PaginationProps as HeroUIPaginationProps } from "@heroui/pagination";
|
|
1
|
+
import type { PaginationProps as HeroUIPaginationProps, PaginationItemRenderProps as HeroUIPaginationItemRenderProps } from "@heroui/pagination";
|
|
2
2
|
import React from "react";
|
|
3
|
-
|
|
3
|
+
import { PaginationItemType as HeroUIPaginationItemType } from "@heroui/pagination";
|
|
4
|
+
export interface PaginationProps extends Omit<HeroUIPaginationProps, "total"> {
|
|
4
5
|
pages: number;
|
|
5
6
|
}
|
|
7
|
+
export interface PaginationItemRenderProps extends HeroUIPaginationItemRenderProps {
|
|
8
|
+
}
|
|
9
|
+
export declare const PaginationItemType: typeof HeroUIPaginationItemType;
|
|
6
10
|
declare const Pagination: React.ForwardRefExoticComponent<Omit<PaginationProps, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
7
11
|
export { Pagination };
|
|
@@ -31,17 +31,21 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
31
31
|
// src/ui/data/pagination/pagination.tsx
|
|
32
32
|
var pagination_exports = {};
|
|
33
33
|
__export(pagination_exports, {
|
|
34
|
-
Pagination: () => Pagination
|
|
34
|
+
Pagination: () => Pagination,
|
|
35
|
+
PaginationItemType: () => PaginationItemType
|
|
35
36
|
});
|
|
36
37
|
module.exports = __toCommonJS(pagination_exports);
|
|
37
38
|
var import_react = __toESM(require("react"));
|
|
38
39
|
var import_pagination = require("@heroui/pagination");
|
|
40
|
+
var import_pagination2 = require("@heroui/pagination");
|
|
39
41
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
42
|
+
var PaginationItemType = import_pagination2.PaginationItemType;
|
|
40
43
|
var Pagination = import_react.default.forwardRef(({ pages, ...props }, ref) => {
|
|
41
44
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_pagination.Pagination, { ref, isCompact: true, showControls: true, showShadow: true, total: pages, ...props });
|
|
42
45
|
});
|
|
43
46
|
Pagination.displayName = "TeachInUI.Pagination";
|
|
44
47
|
// Annotate the CommonJS export names for ESM import in node:
|
|
45
48
|
0 && (module.exports = {
|
|
46
|
-
Pagination
|
|
49
|
+
Pagination,
|
|
50
|
+
PaginationItemType
|
|
47
51
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ReactNode } from "react";
|
|
2
2
|
import type { AlertProps as HeroUIAlertProps } from "@heroui/alert";
|
|
3
3
|
import React from "react";
|
|
4
|
-
interface AlertProps extends Omit<HeroUIAlertProps, "title"> {
|
|
4
|
+
export interface AlertProps extends Omit<HeroUIAlertProps, "title"> {
|
|
5
5
|
children?: ReactNode;
|
|
6
6
|
}
|
|
7
7
|
declare const Alert: React.ForwardRefExoticComponent<Omit<AlertProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -60,11 +60,9 @@ Chip.displayName = "TeachInUI.Chip";
|
|
|
60
60
|
var import_react3 = __toESM(require("react"));
|
|
61
61
|
var import_spinner = require("@heroui/spinner");
|
|
62
62
|
var import_jsx_runtime3 = require("react/jsx-runtime");
|
|
63
|
-
var Spinner = import_react3.default.forwardRef(
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
}
|
|
67
|
-
);
|
|
63
|
+
var Spinner = import_react3.default.forwardRef((props, ref) => {
|
|
64
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_spinner.Spinner, { ref, ...props });
|
|
65
|
+
});
|
|
68
66
|
Spinner.displayName = "TeachInUI.Spinner";
|
|
69
67
|
|
|
70
68
|
// src/ui/feedback/tooltip/tooltip.tsx
|
|
@@ -73,7 +71,7 @@ var import_tooltip = require("@heroui/tooltip");
|
|
|
73
71
|
var import_jsx_runtime4 = require("react/jsx-runtime");
|
|
74
72
|
var Tooltip = import_react4.default.forwardRef(
|
|
75
73
|
({ placement = "bottom", ...props }, ref) => {
|
|
76
|
-
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_tooltip.Tooltip, { ref,
|
|
74
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_tooltip.Tooltip, { ref, placement, ...props });
|
|
77
75
|
}
|
|
78
76
|
);
|
|
79
77
|
Tooltip.displayName = "TeachInUI.Tooltip";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import "../../chunk-UURZJWWV.mjs";
|
|
3
|
-
import "../../chunk-3BST3PYD.mjs";
|
|
4
|
-
import {
|
|
5
|
-
Tooltip
|
|
6
|
-
} from "../../chunk-GRWFJ4FP.mjs";
|
|
7
3
|
import "../../chunk-WZDFBWUL.mjs";
|
|
8
4
|
import {
|
|
9
5
|
Spinner
|
|
10
|
-
} from "../../chunk-
|
|
11
|
-
import "../../chunk-
|
|
6
|
+
} from "../../chunk-ZXCQ73RT.mjs";
|
|
7
|
+
import "../../chunk-3BST3PYD.mjs";
|
|
12
8
|
import {
|
|
13
|
-
|
|
14
|
-
} from "../../chunk-
|
|
9
|
+
Tooltip
|
|
10
|
+
} from "../../chunk-TJBXXTYS.mjs";
|
|
15
11
|
import "../../chunk-K3WTHFIG.mjs";
|
|
16
12
|
import {
|
|
17
13
|
Chip
|
|
18
14
|
} from "../../chunk-ONQIPN3G.mjs";
|
|
15
|
+
import "../../chunk-V77JZXH7.mjs";
|
|
16
|
+
import {
|
|
17
|
+
Alert
|
|
18
|
+
} from "../../chunk-TIFF5WZA.mjs";
|
|
19
19
|
export {
|
|
20
20
|
Alert,
|
|
21
21
|
Chip,
|
|
@@ -39,11 +39,9 @@ module.exports = __toCommonJS(spinner_exports);
|
|
|
39
39
|
var import_react = __toESM(require("react"));
|
|
40
40
|
var import_spinner = require("@heroui/spinner");
|
|
41
41
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
42
|
-
var Spinner = import_react.default.forwardRef(
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
}
|
|
46
|
-
);
|
|
42
|
+
var Spinner = import_react.default.forwardRef((props, ref) => {
|
|
43
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_spinner.Spinner, { ref, ...props });
|
|
44
|
+
});
|
|
47
45
|
Spinner.displayName = "TeachInUI.Spinner";
|
|
48
46
|
// Annotate the CommonJS export names for ESM import in node:
|
|
49
47
|
0 && (module.exports = {
|