@teach-in/react 0.1.1 → 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-WVF5LVDJ.mjs → chunk-TYMUQULA.mjs} +1 -1
- 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 +519 -51
- package/dist/index.mjs +94 -62
- 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.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/index.js +4 -6
- package/dist/ui/feedback/index.mjs +6 -6
- 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/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.mjs +11 -11
- package/dist/ui/form/rhf/fields/autocomplete-field.mjs +5 -5
- package/dist/ui/form/rhf/fields/checkbox-field.mjs +5 -5
- package/dist/ui/form/rhf/fields/date-picker-field.mjs +5 -5
- package/dist/ui/form/rhf/fields/email-field.mjs +5 -5
- package/dist/ui/form/rhf/fields/index.mjs +11 -11
- package/dist/ui/form/rhf/fields/input-field.mjs +5 -5
- package/dist/ui/form/rhf/fields/select-field.mjs +5 -5
- package/dist/ui/form/rhf/fields/switch-field.mjs +5 -5
- package/dist/ui/form/rhf/fields/text-field.mjs +5 -5
- package/dist/ui/form/rhf/fields/textarea-field.mjs +5 -5
- package/dist/ui/form/rhf/index.mjs +11 -11
- 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 +14 -14
- package/dist/ui/index.d.ts +1 -0
- package/dist/ui/index.js +519 -51
- package/dist/ui/index.mjs +94 -62
- package/dist/ui/inputs/index.mjs +11 -11
- 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 +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 -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 +1 -0
- package/dist/ui/layout/index.js +65 -9
- package/dist/ui/layout/index.mjs +59 -35
- package/dist/ui/layout/page/index.js +3 -5
- package/dist/ui/layout/page/index.mjs +6 -6
- package/dist/ui/layout/page/page-loading.js +3 -5
- package/dist/ui/layout/page/page-loading.mjs +5 -5
- package/dist/ui/layout/page/section-loading.js +3 -5
- package/dist/ui/layout/page/section-loading.mjs +5 -5
- 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 -86
- 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,18 +1,22 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
Container
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-IZ5KKF6P.mjs";
|
|
5
|
+
import "./chunk-JUIVZCH7.mjs";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./chunk-
|
|
7
|
+
Flex
|
|
8
|
+
} from "./chunk-M5F723W7.mjs";
|
|
9
|
+
import "./chunk-NDQAHQFL.mjs";
|
|
10
|
+
import {
|
|
11
|
+
Grid
|
|
12
|
+
} from "./chunk-W6NKLZ73.mjs";
|
|
9
13
|
import "./chunk-CRPCWBXA.mjs";
|
|
10
14
|
import {
|
|
11
15
|
PageLoading
|
|
12
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-SPED4RBS.mjs";
|
|
13
17
|
import {
|
|
14
18
|
SectionLoading
|
|
15
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-25XG46X6.mjs";
|
|
16
20
|
import {
|
|
17
21
|
Actions,
|
|
18
22
|
Body,
|
|
@@ -27,93 +31,114 @@ import {
|
|
|
27
31
|
} from "./chunk-Q4TQYK6N.mjs";
|
|
28
32
|
import "./chunk-DBQTFBA3.mjs";
|
|
29
33
|
import "./chunk-Q6XJI7Q2.mjs";
|
|
34
|
+
import "./chunk-CAJWTQDB.mjs";
|
|
35
|
+
import "./chunk-PON4ZQKG.mjs";
|
|
36
|
+
import {
|
|
37
|
+
Bento,
|
|
38
|
+
bento
|
|
39
|
+
} from "./chunk-J3OZNLTZ.mjs";
|
|
30
40
|
import "./chunk-EVQFKHCM.mjs";
|
|
31
41
|
import "./chunk-XAW35UDV.mjs";
|
|
32
42
|
import {
|
|
33
43
|
breakpoints
|
|
34
44
|
} from "./chunk-NBFOX367.mjs";
|
|
35
|
-
import "./chunk-FELJP42D.mjs";
|
|
36
45
|
import {
|
|
37
|
-
|
|
38
|
-
} from "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import
|
|
42
|
-
|
|
43
|
-
|
|
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";
|
|
44
63
|
import "./chunk-OEHJDT6R.mjs";
|
|
45
64
|
import "./chunk-I5AMV7H7.mjs";
|
|
46
65
|
import {
|
|
47
66
|
Modal
|
|
48
67
|
} from "./chunk-T57H3CGO.mjs";
|
|
68
|
+
import "./chunk-3N5UZODS.mjs";
|
|
69
|
+
import {
|
|
70
|
+
UIProvider
|
|
71
|
+
} from "./chunk-6WK4W5LL.mjs";
|
|
49
72
|
import {
|
|
50
73
|
cn
|
|
51
74
|
} from "./chunk-LOMRTWX5.mjs";
|
|
75
|
+
import "./chunk-5HUR2CNH.mjs";
|
|
76
|
+
import "./chunk-25ISU6R3.mjs";
|
|
77
|
+
import {
|
|
78
|
+
Link
|
|
79
|
+
} from "./chunk-7T3JFARO.mjs";
|
|
52
80
|
import "./chunk-5IHVMMCK.mjs";
|
|
81
|
+
import {
|
|
82
|
+
Number
|
|
83
|
+
} from "./chunk-NZI5NBXF.mjs";
|
|
84
|
+
import {
|
|
85
|
+
Percent
|
|
86
|
+
} from "./chunk-CXAZBWS4.mjs";
|
|
87
|
+
import {
|
|
88
|
+
Plural
|
|
89
|
+
} from "./chunk-UHLC7GOU.mjs";
|
|
53
90
|
import {
|
|
54
91
|
Time
|
|
55
92
|
} from "./chunk-3ZTXXJSO.mjs";
|
|
93
|
+
import {
|
|
94
|
+
Boolean
|
|
95
|
+
} from "./chunk-26RHRVH2.mjs";
|
|
56
96
|
import {
|
|
57
97
|
Currency
|
|
58
98
|
} from "./chunk-LN7WH3OB.mjs";
|
|
59
99
|
import {
|
|
60
100
|
DateFormat
|
|
61
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-BUVPBB4J.mjs";
|
|
62
102
|
import {
|
|
63
103
|
Datetime
|
|
64
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-6NZ4IHNU.mjs";
|
|
65
105
|
import {
|
|
66
106
|
Duration
|
|
67
107
|
} from "./chunk-4QSIBIUI.mjs";
|
|
68
|
-
import {
|
|
69
|
-
Number
|
|
70
|
-
} from "./chunk-NZI5NBXF.mjs";
|
|
71
|
-
import {
|
|
72
|
-
Percent
|
|
73
|
-
} from "./chunk-CXAZBWS4.mjs";
|
|
74
|
-
import {
|
|
75
|
-
Plural
|
|
76
|
-
} from "./chunk-UHLC7GOU.mjs";
|
|
77
108
|
import "./chunk-HZ5YAOU6.mjs";
|
|
78
109
|
import "./chunk-5UKTT75Y.mjs";
|
|
79
110
|
import {
|
|
80
111
|
Button
|
|
81
|
-
} from "./chunk-
|
|
82
|
-
import "./chunk-
|
|
83
|
-
import "./chunk-
|
|
112
|
+
} from "./chunk-TYMUQULA.mjs";
|
|
113
|
+
import "./chunk-54ZSBA6H.mjs";
|
|
114
|
+
import "./chunk-KH4D2C2T.mjs";
|
|
84
115
|
import {
|
|
85
|
-
|
|
86
|
-
} from "./chunk-
|
|
116
|
+
Pagination
|
|
117
|
+
} from "./chunk-O5T4GUJH.mjs";
|
|
118
|
+
import "./chunk-UTZUYZZL.mjs";
|
|
119
|
+
import {
|
|
120
|
+
Avatar
|
|
121
|
+
} from "./chunk-IZEJE6V2.mjs";
|
|
122
|
+
import "./chunk-UURZJWWV.mjs";
|
|
87
123
|
import "./chunk-WZDFBWUL.mjs";
|
|
88
124
|
import {
|
|
89
125
|
Spinner
|
|
90
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-ZXCQ73RT.mjs";
|
|
91
127
|
import "./chunk-3BST3PYD.mjs";
|
|
92
128
|
import {
|
|
93
129
|
Tooltip
|
|
94
|
-
} from "./chunk-
|
|
130
|
+
} from "./chunk-TJBXXTYS.mjs";
|
|
131
|
+
import "./chunk-K3WTHFIG.mjs";
|
|
132
|
+
import {
|
|
133
|
+
Chip
|
|
134
|
+
} from "./chunk-ONQIPN3G.mjs";
|
|
95
135
|
import "./chunk-V77JZXH7.mjs";
|
|
96
136
|
import {
|
|
97
137
|
Alert
|
|
98
138
|
} from "./chunk-TIFF5WZA.mjs";
|
|
99
|
-
import "./chunk-54ZSBA6H.mjs";
|
|
100
|
-
import "./chunk-KH4D2C2T.mjs";
|
|
101
|
-
import {
|
|
102
|
-
Pagination
|
|
103
|
-
} from "./chunk-AS4T5M6E.mjs";
|
|
104
|
-
import "./chunk-UTZUYZZL.mjs";
|
|
105
|
-
import {
|
|
106
|
-
Avatar
|
|
107
|
-
} from "./chunk-IZEJE6V2.mjs";
|
|
108
139
|
import "./chunk-VOG5HJID.mjs";
|
|
109
140
|
import "./chunk-FXXWSYJA.mjs";
|
|
110
141
|
import "./chunk-JJHHWDZT.mjs";
|
|
111
|
-
import {
|
|
112
|
-
SelectField
|
|
113
|
-
} from "./chunk-GEJLG5RP.mjs";
|
|
114
|
-
import {
|
|
115
|
-
SwitchField
|
|
116
|
-
} from "./chunk-EC3NSPHR.mjs";
|
|
117
142
|
import {
|
|
118
143
|
TextField
|
|
119
144
|
} from "./chunk-CETCW7DS.mjs";
|
|
@@ -135,16 +160,29 @@ import {
|
|
|
135
160
|
import {
|
|
136
161
|
InputField
|
|
137
162
|
} from "./chunk-JDFRAN4S.mjs";
|
|
138
|
-
import "./chunk-5YMUHF45.mjs";
|
|
139
|
-
import "./chunk-DUQFM3QS.mjs";
|
|
140
163
|
import {
|
|
141
|
-
|
|
142
|
-
} from "./chunk-
|
|
164
|
+
SelectField
|
|
165
|
+
} from "./chunk-GEJLG5RP.mjs";
|
|
166
|
+
import {
|
|
167
|
+
SwitchField
|
|
168
|
+
} from "./chunk-EC3NSPHR.mjs";
|
|
169
|
+
import "./chunk-5YMUHF45.mjs";
|
|
143
170
|
import "./chunk-5HK7HRTR.mjs";
|
|
144
171
|
import {
|
|
145
172
|
Textarea
|
|
146
173
|
} from "./chunk-HJUZTISD.mjs";
|
|
174
|
+
import "./chunk-5EWHMXCP.mjs";
|
|
175
|
+
import {
|
|
176
|
+
Switch
|
|
177
|
+
} from "./chunk-N3EAW6UO.mjs";
|
|
178
|
+
import "./chunk-DUQFM3QS.mjs";
|
|
179
|
+
import {
|
|
180
|
+
Text
|
|
181
|
+
} from "./chunk-KTUGFQWJ.mjs";
|
|
147
182
|
import "./chunk-V2HNFTTX.mjs";
|
|
183
|
+
import {
|
|
184
|
+
DatePicker
|
|
185
|
+
} from "./chunk-IAJ6G633.mjs";
|
|
148
186
|
import "./chunk-V3KKDSQP.mjs";
|
|
149
187
|
import {
|
|
150
188
|
Email
|
|
@@ -157,10 +195,6 @@ import "./chunk-AQ3ISJKU.mjs";
|
|
|
157
195
|
import {
|
|
158
196
|
Select
|
|
159
197
|
} from "./chunk-GQ3LBZ2Q.mjs";
|
|
160
|
-
import "./chunk-5EWHMXCP.mjs";
|
|
161
|
-
import {
|
|
162
|
-
Switch
|
|
163
|
-
} from "./chunk-N3EAW6UO.mjs";
|
|
164
198
|
import "./chunk-WYJW5NNA.mjs";
|
|
165
199
|
import {
|
|
166
200
|
Autocomplete
|
|
@@ -169,21 +203,16 @@ import "./chunk-WJXIRSSW.mjs";
|
|
|
169
203
|
import {
|
|
170
204
|
Checkbox
|
|
171
205
|
} from "./chunk-WTXPB253.mjs";
|
|
172
|
-
import {
|
|
173
|
-
DatePicker
|
|
174
|
-
} from "./chunk-IAJ6G633.mjs";
|
|
175
206
|
import {
|
|
176
207
|
Form
|
|
177
208
|
} from "./chunk-A3AAC7PF.mjs";
|
|
178
|
-
import {
|
|
179
|
-
Boolean
|
|
180
|
-
} from "./chunk-26RHRVH2.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
|
};
|
|
@@ -53,7 +53,7 @@ var Button = import_react.default.forwardRef((props, ref) => {
|
|
|
53
53
|
BaseButton,
|
|
54
54
|
{
|
|
55
55
|
ref,
|
|
56
|
-
className: props.variant === "flat" && props.color === "default" ? "
|
|
56
|
+
className: props.variant === "flat" && props.color === "default" ? "bg-default-flat/25 !text-default-800" : props.className,
|
|
57
57
|
...props
|
|
58
58
|
}
|
|
59
59
|
);
|
|
@@ -55,7 +55,7 @@ var Button = import_react.default.forwardRef((props, ref) => {
|
|
|
55
55
|
BaseButton,
|
|
56
56
|
{
|
|
57
57
|
ref,
|
|
58
|
-
className: props.variant === "flat" && props.color === "default" ? "
|
|
58
|
+
className: props.variant === "flat" && props.color === "default" ? "bg-default-flat/25 !text-default-800" : props.className,
|
|
59
59
|
...props
|
|
60
60
|
}
|
|
61
61
|
);
|
package/dist/ui/actions/index.js
CHANGED
|
@@ -55,7 +55,7 @@ var Button = import_react.default.forwardRef((props, ref) => {
|
|
|
55
55
|
BaseButton,
|
|
56
56
|
{
|
|
57
57
|
ref,
|
|
58
|
-
className: props.variant === "flat" && props.color === "default" ? "
|
|
58
|
+
className: props.variant === "flat" && props.color === "default" ? "bg-default-flat/25 !text-default-800" : props.className,
|
|
59
59
|
...props
|
|
60
60
|
}
|
|
61
61
|
);
|
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,17 +1,17 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import "../../chunk-UURZJWWV.mjs";
|
|
3
|
-
import "../../chunk-K3WTHFIG.mjs";
|
|
4
|
-
import {
|
|
5
|
-
Chip
|
|
6
|
-
} from "../../chunk-ONQIPN3G.mjs";
|
|
7
3
|
import "../../chunk-WZDFBWUL.mjs";
|
|
8
4
|
import {
|
|
9
5
|
Spinner
|
|
10
|
-
} from "../../chunk-
|
|
6
|
+
} from "../../chunk-ZXCQ73RT.mjs";
|
|
11
7
|
import "../../chunk-3BST3PYD.mjs";
|
|
12
8
|
import {
|
|
13
9
|
Tooltip
|
|
14
|
-
} from "../../chunk-
|
|
10
|
+
} from "../../chunk-TJBXXTYS.mjs";
|
|
11
|
+
import "../../chunk-K3WTHFIG.mjs";
|
|
12
|
+
import {
|
|
13
|
+
Chip
|
|
14
|
+
} from "../../chunk-ONQIPN3G.mjs";
|
|
15
15
|
import "../../chunk-V77JZXH7.mjs";
|
|
16
16
|
import {
|
|
17
17
|
Alert
|
|
@@ -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 = {
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
-
import type { SpinnerProps as HeroUISpinnerProps } from "@heroui/spinner";
|
|
2
1
|
import React from "react";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
import { Spinner as HeroUISpinner } from "@heroui/spinner";
|
|
3
|
+
type HeroUISpinnerProps = React.ComponentPropsWithoutRef<typeof HeroUISpinner>;
|
|
4
|
+
export type SpinnerProps = HeroUISpinnerProps;
|
|
5
|
+
declare const Spinner: React.ForwardRefExoticComponent<(Omit<import("@heroui/system").OmitCommonProps<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, keyof import("@heroui/spinner").SpinnerProps> & import("@heroui/spinner").SpinnerProps & {
|
|
6
|
+
as?: import("@heroui/system").As<any> | undefined;
|
|
7
|
+
}, "ref"> | Omit<Omit<import("@heroui/system").OmitCommonProps<Omit<Omit<any, "ref">, never>, keyof import("@heroui/spinner").SpinnerProps> & import("@heroui/spinner").SpinnerProps & {
|
|
8
|
+
as?: import("@heroui/system").As<any> | undefined;
|
|
9
|
+
}, "ref">, "ref">) & React.RefAttributes<HTMLElement>>;
|
|
6
10
|
export { Spinner };
|
|
@@ -37,11 +37,9 @@ module.exports = __toCommonJS(spinner_exports);
|
|
|
37
37
|
var import_react = __toESM(require("react"));
|
|
38
38
|
var import_spinner = require("@heroui/spinner");
|
|
39
39
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
40
|
-
var Spinner = import_react.default.forwardRef(
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
}
|
|
44
|
-
);
|
|
40
|
+
var Spinner = import_react.default.forwardRef((props, ref) => {
|
|
41
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_spinner.Spinner, { ref, ...props });
|
|
42
|
+
});
|
|
45
43
|
Spinner.displayName = "TeachInUI.Spinner";
|
|
46
44
|
// Annotate the CommonJS export names for ESM import in node:
|
|
47
45
|
0 && (module.exports = {
|
|
@@ -41,7 +41,7 @@ var import_tooltip = require("@heroui/tooltip");
|
|
|
41
41
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
42
42
|
var Tooltip = import_react.default.forwardRef(
|
|
43
43
|
({ placement = "bottom", ...props }, ref) => {
|
|
44
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_tooltip.Tooltip, { ref,
|
|
44
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_tooltip.Tooltip, { ref, placement, ...props });
|
|
45
45
|
}
|
|
46
46
|
);
|
|
47
47
|
Tooltip.displayName = "TeachInUI.Tooltip";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { TooltipProps as HeroUITooltipProps } from "@heroui/tooltip";
|
|
2
2
|
import React from "react";
|
|
3
|
-
interface TooltipProps extends HeroUITooltipProps {
|
|
3
|
+
export interface TooltipProps extends HeroUITooltipProps {
|
|
4
4
|
}
|
|
5
|
-
declare const Tooltip: React.ForwardRefExoticComponent<Omit<TooltipProps, "ref"> & React.RefAttributes<
|
|
5
|
+
declare const Tooltip: React.ForwardRefExoticComponent<Omit<TooltipProps, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
6
6
|
export { Tooltip };
|
|
@@ -39,7 +39,7 @@ var import_tooltip = require("@heroui/tooltip");
|
|
|
39
39
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
40
40
|
var Tooltip = import_react.default.forwardRef(
|
|
41
41
|
({ placement = "bottom", ...props }, ref) => {
|
|
42
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_tooltip.Tooltip, { ref,
|
|
42
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_tooltip.Tooltip, { ref, placement, ...props });
|
|
43
43
|
}
|
|
44
44
|
);
|
|
45
45
|
Tooltip.displayName = "TeachInUI.Tooltip";
|
package/dist/ui/form/index.mjs
CHANGED
|
@@ -2,12 +2,6 @@
|
|
|
2
2
|
import "../../chunk-VOG5HJID.mjs";
|
|
3
3
|
import "../../chunk-FXXWSYJA.mjs";
|
|
4
4
|
import "../../chunk-JJHHWDZT.mjs";
|
|
5
|
-
import {
|
|
6
|
-
SelectField
|
|
7
|
-
} from "../../chunk-GEJLG5RP.mjs";
|
|
8
|
-
import {
|
|
9
|
-
SwitchField
|
|
10
|
-
} from "../../chunk-EC3NSPHR.mjs";
|
|
11
5
|
import {
|
|
12
6
|
TextField
|
|
13
7
|
} from "../../chunk-CETCW7DS.mjs";
|
|
@@ -29,25 +23,31 @@ import {
|
|
|
29
23
|
import {
|
|
30
24
|
InputField
|
|
31
25
|
} from "../../chunk-JDFRAN4S.mjs";
|
|
26
|
+
import {
|
|
27
|
+
SelectField
|
|
28
|
+
} from "../../chunk-GEJLG5RP.mjs";
|
|
29
|
+
import {
|
|
30
|
+
SwitchField
|
|
31
|
+
} from "../../chunk-EC3NSPHR.mjs";
|
|
32
32
|
import "../../chunk-5YMUHF45.mjs";
|
|
33
|
-
import "../../chunk-DUQFM3QS.mjs";
|
|
34
|
-
import "../../chunk-KTUGFQWJ.mjs";
|
|
35
33
|
import "../../chunk-5HK7HRTR.mjs";
|
|
36
34
|
import "../../chunk-HJUZTISD.mjs";
|
|
35
|
+
import "../../chunk-5EWHMXCP.mjs";
|
|
36
|
+
import "../../chunk-N3EAW6UO.mjs";
|
|
37
|
+
import "../../chunk-DUQFM3QS.mjs";
|
|
38
|
+
import "../../chunk-KTUGFQWJ.mjs";
|
|
37
39
|
import "../../chunk-V2HNFTTX.mjs";
|
|
40
|
+
import "../../chunk-IAJ6G633.mjs";
|
|
38
41
|
import "../../chunk-V3KKDSQP.mjs";
|
|
39
42
|
import "../../chunk-LJIVY6GU.mjs";
|
|
40
43
|
import "../../chunk-ZRHEFEFS.mjs";
|
|
41
44
|
import "../../chunk-V2G5QHZZ.mjs";
|
|
42
45
|
import "../../chunk-AQ3ISJKU.mjs";
|
|
43
46
|
import "../../chunk-GQ3LBZ2Q.mjs";
|
|
44
|
-
import "../../chunk-5EWHMXCP.mjs";
|
|
45
|
-
import "../../chunk-N3EAW6UO.mjs";
|
|
46
47
|
import "../../chunk-WYJW5NNA.mjs";
|
|
47
48
|
import "../../chunk-C3MURCMZ.mjs";
|
|
48
49
|
import "../../chunk-WJXIRSSW.mjs";
|
|
49
50
|
import "../../chunk-WTXPB253.mjs";
|
|
50
|
-
import "../../chunk-IAJ6G633.mjs";
|
|
51
51
|
import {
|
|
52
52
|
Form
|
|
53
53
|
} from "../../chunk-A3AAC7PF.mjs";
|