@teach-in/react 0.1.0 → 0.1.1
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-QU35SWES.mjs → chunk-WVF5LVDJ.mjs} +9 -5
- package/dist/index.js +9 -5
- package/dist/index.mjs +80 -80
- 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/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.mjs +7 -7
- package/dist/ui/feedback/spinner/spinner.js +0 -1
- package/dist/ui/feedback/spinner/spinner.mjs +0 -1
- package/dist/ui/feedback/tooltip/tooltip.js +0 -1
- package/dist/ui/feedback/tooltip/tooltip.mjs +0 -1
- package/dist/ui/form/index.mjs +7 -7
- package/dist/ui/form/rhf/fields/autocomplete-field.js +0 -1
- package/dist/ui/form/rhf/fields/autocomplete-field.mjs +4 -5
- package/dist/ui/form/rhf/fields/checkbox-field.js +0 -1
- package/dist/ui/form/rhf/fields/checkbox-field.mjs +4 -5
- package/dist/ui/form/rhf/fields/date-picker-field.js +0 -1
- package/dist/ui/form/rhf/fields/date-picker-field.mjs +4 -5
- package/dist/ui/form/rhf/fields/email-field.js +0 -1
- package/dist/ui/form/rhf/fields/email-field.mjs +4 -5
- package/dist/ui/form/rhf/fields/index.mjs +4 -4
- package/dist/ui/form/rhf/fields/input-field.js +0 -1
- package/dist/ui/form/rhf/fields/input-field.mjs +4 -5
- package/dist/ui/form/rhf/fields/select-field.js +0 -1
- package/dist/ui/form/rhf/fields/select-field.mjs +4 -5
- package/dist/ui/form/rhf/fields/switch-field.js +0 -1
- package/dist/ui/form/rhf/fields/switch-field.mjs +4 -5
- package/dist/ui/form/rhf/fields/text-field.js +0 -1
- package/dist/ui/form/rhf/fields/text-field.mjs +4 -5
- package/dist/ui/form/rhf/fields/textarea-field.js +0 -1
- package/dist/ui/form/rhf/fields/textarea-field.mjs +4 -5
- package/dist/ui/form/rhf/index.mjs +4 -4
- 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 +0 -1
- package/dist/ui/format/date.mjs +0 -1
- package/dist/ui/format/datetime.js +0 -1
- package/dist/ui/format/datetime.mjs +0 -1
- package/dist/ui/format/duration.js +0 -1
- package/dist/ui/format/duration.mjs +0 -1
- package/dist/ui/format/index.mjs +12 -12
- 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.js +9 -5
- package/dist/ui/index.mjs +80 -80
- package/dist/ui/inputs/index.mjs +8 -8
- package/dist/ui/inputs/switch/switch.js +0 -1
- package/dist/ui/inputs/switch/switch.mjs +0 -1
- package/dist/ui/layout/container.js +0 -1
- package/dist/ui/layout/container.mjs +39 -40
- package/dist/ui/layout/flex.js +0 -1
- package/dist/ui/layout/flex.mjs +0 -1
- package/dist/ui/layout/index.mjs +46 -46
- package/dist/ui/layout/page/breadcrumbs.js +0 -1
- package/dist/ui/layout/page/breadcrumbs.mjs +0 -1
- package/dist/ui/layout/page/index.mjs +10 -10
- package/dist/ui/layout/page/page-loading.mjs +4 -4
- package/dist/ui/layout/page/section-loading.mjs +4 -4
- package/dist/ui/overlays/modal/modal.js +0 -1
- package/dist/ui/overlays/modal/modal.mjs +0 -1
- package/package.json +1 -1
|
@@ -7,11 +7,8 @@ import { extendVariants } from "@heroui/system";
|
|
|
7
7
|
import { jsx } from "react/jsx-runtime";
|
|
8
8
|
var BaseButton = extendVariants(HeroUIButton, {
|
|
9
9
|
variants: {
|
|
10
|
-
color: {
|
|
11
|
-
primary: "bg-primary-400"
|
|
12
|
-
},
|
|
13
10
|
size: {
|
|
14
|
-
lg: "min-w-20 h-14 text-base gap-2
|
|
11
|
+
lg: "px-6 min-w-20 h-14 text-base gap-2 rounded-large"
|
|
15
12
|
}
|
|
16
13
|
},
|
|
17
14
|
defaultVariants: {
|
|
@@ -19,7 +16,14 @@ var BaseButton = extendVariants(HeroUIButton, {
|
|
|
19
16
|
}
|
|
20
17
|
});
|
|
21
18
|
var Button = React.forwardRef((props, ref) => {
|
|
22
|
-
return /* @__PURE__ */ jsx(
|
|
19
|
+
return /* @__PURE__ */ jsx(
|
|
20
|
+
BaseButton,
|
|
21
|
+
{
|
|
22
|
+
ref,
|
|
23
|
+
className: props.variant === "flat" && props.color === "default" ? "!bg-default-flat !text-default-800" : props.className,
|
|
24
|
+
...props
|
|
25
|
+
}
|
|
26
|
+
);
|
|
23
27
|
});
|
|
24
28
|
Button.displayName = "TeachInUI.Button";
|
|
25
29
|
|
package/dist/index.js
CHANGED
|
@@ -96,11 +96,8 @@ var import_system = require("@heroui/system");
|
|
|
96
96
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
97
97
|
var BaseButton = (0, import_system.extendVariants)(import_button.Button, {
|
|
98
98
|
variants: {
|
|
99
|
-
color: {
|
|
100
|
-
primary: "bg-primary-400"
|
|
101
|
-
},
|
|
102
99
|
size: {
|
|
103
|
-
lg: "min-w-20 h-14 text-base gap-2
|
|
100
|
+
lg: "px-6 min-w-20 h-14 text-base gap-2 rounded-large"
|
|
104
101
|
}
|
|
105
102
|
},
|
|
106
103
|
defaultVariants: {
|
|
@@ -108,7 +105,14 @@ var BaseButton = (0, import_system.extendVariants)(import_button.Button, {
|
|
|
108
105
|
}
|
|
109
106
|
});
|
|
110
107
|
var Button = import_react.default.forwardRef((props, ref) => {
|
|
111
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
108
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
109
|
+
BaseButton,
|
|
110
|
+
{
|
|
111
|
+
ref,
|
|
112
|
+
className: props.variant === "flat" && props.color === "default" ? "!bg-default-flat !text-default-800" : props.className,
|
|
113
|
+
...props
|
|
114
|
+
}
|
|
115
|
+
);
|
|
112
116
|
});
|
|
113
117
|
Button.displayName = "TeachInUI.Button";
|
|
114
118
|
|
package/dist/index.mjs
CHANGED
|
@@ -2,7 +2,17 @@
|
|
|
2
2
|
import {
|
|
3
3
|
Container
|
|
4
4
|
} from "./chunk-S2TB4GD2.mjs";
|
|
5
|
+
import "./chunk-3N5UZODS.mjs";
|
|
6
|
+
import {
|
|
7
|
+
UIProvider
|
|
8
|
+
} from "./chunk-6WK4W5LL.mjs";
|
|
5
9
|
import "./chunk-CRPCWBXA.mjs";
|
|
10
|
+
import {
|
|
11
|
+
PageLoading
|
|
12
|
+
} from "./chunk-PEB5ZH76.mjs";
|
|
13
|
+
import {
|
|
14
|
+
SectionLoading
|
|
15
|
+
} from "./chunk-HH7MLUOF.mjs";
|
|
6
16
|
import {
|
|
7
17
|
Actions,
|
|
8
18
|
Body,
|
|
@@ -15,29 +25,46 @@ import {
|
|
|
15
25
|
SectionTitle,
|
|
16
26
|
Title
|
|
17
27
|
} from "./chunk-Q4TQYK6N.mjs";
|
|
28
|
+
import "./chunk-DBQTFBA3.mjs";
|
|
29
|
+
import "./chunk-Q6XJI7Q2.mjs";
|
|
30
|
+
import "./chunk-EVQFKHCM.mjs";
|
|
31
|
+
import "./chunk-XAW35UDV.mjs";
|
|
18
32
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./chunk-
|
|
33
|
+
breakpoints
|
|
34
|
+
} from "./chunk-NBFOX367.mjs";
|
|
35
|
+
import "./chunk-FELJP42D.mjs";
|
|
21
36
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-DBQTFBA3.mjs";
|
|
37
|
+
Flex
|
|
38
|
+
} from "./chunk-CUVF3U67.mjs";
|
|
25
39
|
import "./chunk-5HUR2CNH.mjs";
|
|
26
40
|
import "./chunk-25ISU6R3.mjs";
|
|
27
41
|
import {
|
|
28
42
|
Link
|
|
29
43
|
} from "./chunk-7T3JFARO.mjs";
|
|
30
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-OEHJDT6R.mjs";
|
|
45
|
+
import "./chunk-I5AMV7H7.mjs";
|
|
46
|
+
import {
|
|
47
|
+
Modal
|
|
48
|
+
} from "./chunk-T57H3CGO.mjs";
|
|
31
49
|
import {
|
|
32
50
|
cn
|
|
33
51
|
} from "./chunk-LOMRTWX5.mjs";
|
|
34
|
-
import "./chunk-EVQFKHCM.mjs";
|
|
35
|
-
import "./chunk-XAW35UDV.mjs";
|
|
36
|
-
import {
|
|
37
|
-
breakpoints
|
|
38
|
-
} from "./chunk-NBFOX367.mjs";
|
|
39
|
-
import "./chunk-FELJP42D.mjs";
|
|
40
52
|
import "./chunk-5IHVMMCK.mjs";
|
|
53
|
+
import {
|
|
54
|
+
Time
|
|
55
|
+
} from "./chunk-3ZTXXJSO.mjs";
|
|
56
|
+
import {
|
|
57
|
+
Currency
|
|
58
|
+
} from "./chunk-LN7WH3OB.mjs";
|
|
59
|
+
import {
|
|
60
|
+
DateFormat
|
|
61
|
+
} from "./chunk-CLDAITOP.mjs";
|
|
62
|
+
import {
|
|
63
|
+
Datetime
|
|
64
|
+
} from "./chunk-2W4N27WQ.mjs";
|
|
65
|
+
import {
|
|
66
|
+
Duration
|
|
67
|
+
} from "./chunk-4QSIBIUI.mjs";
|
|
41
68
|
import {
|
|
42
69
|
Number
|
|
43
70
|
} from "./chunk-NZI5NBXF.mjs";
|
|
@@ -47,18 +74,37 @@ import {
|
|
|
47
74
|
import {
|
|
48
75
|
Plural
|
|
49
76
|
} from "./chunk-UHLC7GOU.mjs";
|
|
77
|
+
import "./chunk-HZ5YAOU6.mjs";
|
|
78
|
+
import "./chunk-5UKTT75Y.mjs";
|
|
50
79
|
import {
|
|
51
|
-
|
|
52
|
-
} from "./chunk-
|
|
53
|
-
import "./chunk-
|
|
54
|
-
import "./chunk-
|
|
80
|
+
Button
|
|
81
|
+
} from "./chunk-WVF5LVDJ.mjs";
|
|
82
|
+
import "./chunk-UURZJWWV.mjs";
|
|
83
|
+
import "./chunk-K3WTHFIG.mjs";
|
|
55
84
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./chunk-
|
|
58
|
-
import "./chunk-
|
|
85
|
+
Chip
|
|
86
|
+
} from "./chunk-ONQIPN3G.mjs";
|
|
87
|
+
import "./chunk-WZDFBWUL.mjs";
|
|
59
88
|
import {
|
|
60
|
-
|
|
61
|
-
} from "./chunk-
|
|
89
|
+
Spinner
|
|
90
|
+
} from "./chunk-LR4R7GFR.mjs";
|
|
91
|
+
import "./chunk-3BST3PYD.mjs";
|
|
92
|
+
import {
|
|
93
|
+
Tooltip
|
|
94
|
+
} from "./chunk-GRWFJ4FP.mjs";
|
|
95
|
+
import "./chunk-V77JZXH7.mjs";
|
|
96
|
+
import {
|
|
97
|
+
Alert
|
|
98
|
+
} 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";
|
|
62
108
|
import "./chunk-VOG5HJID.mjs";
|
|
63
109
|
import "./chunk-FXXWSYJA.mjs";
|
|
64
110
|
import "./chunk-JJHHWDZT.mjs";
|
|
@@ -89,76 +135,20 @@ import {
|
|
|
89
135
|
import {
|
|
90
136
|
InputField
|
|
91
137
|
} from "./chunk-JDFRAN4S.mjs";
|
|
92
|
-
import {
|
|
93
|
-
Form
|
|
94
|
-
} from "./chunk-A3AAC7PF.mjs";
|
|
95
|
-
import {
|
|
96
|
-
Boolean
|
|
97
|
-
} from "./chunk-26RHRVH2.mjs";
|
|
98
|
-
import {
|
|
99
|
-
Currency
|
|
100
|
-
} from "./chunk-LN7WH3OB.mjs";
|
|
101
|
-
import {
|
|
102
|
-
DateFormat
|
|
103
|
-
} from "./chunk-CLDAITOP.mjs";
|
|
104
|
-
import {
|
|
105
|
-
Datetime
|
|
106
|
-
} from "./chunk-2W4N27WQ.mjs";
|
|
107
|
-
import {
|
|
108
|
-
Duration
|
|
109
|
-
} from "./chunk-4QSIBIUI.mjs";
|
|
110
|
-
import "./chunk-HZ5YAOU6.mjs";
|
|
111
|
-
import "./chunk-5UKTT75Y.mjs";
|
|
112
|
-
import {
|
|
113
|
-
Button
|
|
114
|
-
} from "./chunk-QU35SWES.mjs";
|
|
115
|
-
import "./chunk-54ZSBA6H.mjs";
|
|
116
|
-
import "./chunk-KH4D2C2T.mjs";
|
|
117
|
-
import {
|
|
118
|
-
Pagination
|
|
119
|
-
} from "./chunk-AS4T5M6E.mjs";
|
|
120
|
-
import "./chunk-UTZUYZZL.mjs";
|
|
121
|
-
import {
|
|
122
|
-
Avatar
|
|
123
|
-
} from "./chunk-IZEJE6V2.mjs";
|
|
124
|
-
import "./chunk-UURZJWWV.mjs";
|
|
125
|
-
import "./chunk-3BST3PYD.mjs";
|
|
126
|
-
import {
|
|
127
|
-
Tooltip
|
|
128
|
-
} from "./chunk-GRWFJ4FP.mjs";
|
|
129
|
-
import "./chunk-WZDFBWUL.mjs";
|
|
130
|
-
import {
|
|
131
|
-
Spinner
|
|
132
|
-
} from "./chunk-LR4R7GFR.mjs";
|
|
133
|
-
import "./chunk-V77JZXH7.mjs";
|
|
134
|
-
import {
|
|
135
|
-
Alert
|
|
136
|
-
} from "./chunk-TIFF5WZA.mjs";
|
|
137
|
-
import "./chunk-K3WTHFIG.mjs";
|
|
138
|
-
import {
|
|
139
|
-
Chip
|
|
140
|
-
} from "./chunk-ONQIPN3G.mjs";
|
|
141
138
|
import "./chunk-5YMUHF45.mjs";
|
|
142
139
|
import "./chunk-DUQFM3QS.mjs";
|
|
143
140
|
import {
|
|
144
141
|
Text
|
|
145
142
|
} from "./chunk-KTUGFQWJ.mjs";
|
|
146
|
-
import "./chunk-5EWHMXCP.mjs";
|
|
147
|
-
import {
|
|
148
|
-
Switch
|
|
149
|
-
} from "./chunk-N3EAW6UO.mjs";
|
|
150
143
|
import "./chunk-5HK7HRTR.mjs";
|
|
151
144
|
import {
|
|
152
145
|
Textarea
|
|
153
146
|
} from "./chunk-HJUZTISD.mjs";
|
|
147
|
+
import "./chunk-V2HNFTTX.mjs";
|
|
154
148
|
import "./chunk-V3KKDSQP.mjs";
|
|
155
149
|
import {
|
|
156
150
|
Email
|
|
157
151
|
} from "./chunk-LJIVY6GU.mjs";
|
|
158
|
-
import "./chunk-V2HNFTTX.mjs";
|
|
159
|
-
import {
|
|
160
|
-
DatePicker
|
|
161
|
-
} from "./chunk-IAJ6G633.mjs";
|
|
162
152
|
import "./chunk-ZRHEFEFS.mjs";
|
|
163
153
|
import {
|
|
164
154
|
Input
|
|
@@ -167,6 +157,10 @@ import "./chunk-AQ3ISJKU.mjs";
|
|
|
167
157
|
import {
|
|
168
158
|
Select
|
|
169
159
|
} from "./chunk-GQ3LBZ2Q.mjs";
|
|
160
|
+
import "./chunk-5EWHMXCP.mjs";
|
|
161
|
+
import {
|
|
162
|
+
Switch
|
|
163
|
+
} from "./chunk-N3EAW6UO.mjs";
|
|
170
164
|
import "./chunk-WYJW5NNA.mjs";
|
|
171
165
|
import {
|
|
172
166
|
Autocomplete
|
|
@@ -176,8 +170,14 @@ import {
|
|
|
176
170
|
Checkbox
|
|
177
171
|
} from "./chunk-WTXPB253.mjs";
|
|
178
172
|
import {
|
|
179
|
-
|
|
180
|
-
} from "./chunk-
|
|
173
|
+
DatePicker
|
|
174
|
+
} from "./chunk-IAJ6G633.mjs";
|
|
175
|
+
import {
|
|
176
|
+
Form
|
|
177
|
+
} from "./chunk-A3AAC7PF.mjs";
|
|
178
|
+
import {
|
|
179
|
+
Boolean
|
|
180
|
+
} from "./chunk-26RHRVH2.mjs";
|
|
181
181
|
export {
|
|
182
182
|
Actions,
|
|
183
183
|
Alert,
|
|
@@ -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 !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 !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 !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:
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import "../../chunk-UURZJWWV.mjs";
|
|
3
|
-
import "../../chunk-
|
|
3
|
+
import "../../chunk-K3WTHFIG.mjs";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "../../chunk-
|
|
5
|
+
Chip
|
|
6
|
+
} from "../../chunk-ONQIPN3G.mjs";
|
|
7
7
|
import "../../chunk-WZDFBWUL.mjs";
|
|
8
8
|
import {
|
|
9
9
|
Spinner
|
|
10
10
|
} from "../../chunk-LR4R7GFR.mjs";
|
|
11
|
+
import "../../chunk-3BST3PYD.mjs";
|
|
12
|
+
import {
|
|
13
|
+
Tooltip
|
|
14
|
+
} from "../../chunk-GRWFJ4FP.mjs";
|
|
11
15
|
import "../../chunk-V77JZXH7.mjs";
|
|
12
16
|
import {
|
|
13
17
|
Alert
|
|
14
18
|
} from "../../chunk-TIFF5WZA.mjs";
|
|
15
|
-
import "../../chunk-K3WTHFIG.mjs";
|
|
16
|
-
import {
|
|
17
|
-
Chip
|
|
18
|
-
} from "../../chunk-ONQIPN3G.mjs";
|
|
19
19
|
export {
|
|
20
20
|
Alert,
|
|
21
21
|
Chip,
|
package/dist/ui/form/index.mjs
CHANGED
|
@@ -29,28 +29,28 @@ import {
|
|
|
29
29
|
import {
|
|
30
30
|
InputField
|
|
31
31
|
} from "../../chunk-JDFRAN4S.mjs";
|
|
32
|
-
import {
|
|
33
|
-
Form
|
|
34
|
-
} from "../../chunk-A3AAC7PF.mjs";
|
|
35
32
|
import "../../chunk-5YMUHF45.mjs";
|
|
36
33
|
import "../../chunk-DUQFM3QS.mjs";
|
|
37
34
|
import "../../chunk-KTUGFQWJ.mjs";
|
|
38
|
-
import "../../chunk-5EWHMXCP.mjs";
|
|
39
|
-
import "../../chunk-N3EAW6UO.mjs";
|
|
40
35
|
import "../../chunk-5HK7HRTR.mjs";
|
|
41
36
|
import "../../chunk-HJUZTISD.mjs";
|
|
37
|
+
import "../../chunk-V2HNFTTX.mjs";
|
|
42
38
|
import "../../chunk-V3KKDSQP.mjs";
|
|
43
39
|
import "../../chunk-LJIVY6GU.mjs";
|
|
44
|
-
import "../../chunk-V2HNFTTX.mjs";
|
|
45
|
-
import "../../chunk-IAJ6G633.mjs";
|
|
46
40
|
import "../../chunk-ZRHEFEFS.mjs";
|
|
47
41
|
import "../../chunk-V2G5QHZZ.mjs";
|
|
48
42
|
import "../../chunk-AQ3ISJKU.mjs";
|
|
49
43
|
import "../../chunk-GQ3LBZ2Q.mjs";
|
|
44
|
+
import "../../chunk-5EWHMXCP.mjs";
|
|
45
|
+
import "../../chunk-N3EAW6UO.mjs";
|
|
50
46
|
import "../../chunk-WYJW5NNA.mjs";
|
|
51
47
|
import "../../chunk-C3MURCMZ.mjs";
|
|
52
48
|
import "../../chunk-WJXIRSSW.mjs";
|
|
53
49
|
import "../../chunk-WTXPB253.mjs";
|
|
50
|
+
import "../../chunk-IAJ6G633.mjs";
|
|
51
|
+
import {
|
|
52
|
+
Form
|
|
53
|
+
} from "../../chunk-A3AAC7PF.mjs";
|
|
54
54
|
export {
|
|
55
55
|
AutocompleteField,
|
|
56
56
|
CheckboxField,
|
|
@@ -1,27 +1,26 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use client";
|
|
3
2
|
import {
|
|
4
3
|
AutocompleteField
|
|
5
4
|
} from "../../../../chunk-S3ET5HKP.mjs";
|
|
6
5
|
import "../../../../chunk-5YMUHF45.mjs";
|
|
7
6
|
import "../../../../chunk-DUQFM3QS.mjs";
|
|
8
7
|
import "../../../../chunk-KTUGFQWJ.mjs";
|
|
9
|
-
import "../../../../chunk-5EWHMXCP.mjs";
|
|
10
|
-
import "../../../../chunk-N3EAW6UO.mjs";
|
|
11
8
|
import "../../../../chunk-5HK7HRTR.mjs";
|
|
12
9
|
import "../../../../chunk-HJUZTISD.mjs";
|
|
10
|
+
import "../../../../chunk-V2HNFTTX.mjs";
|
|
13
11
|
import "../../../../chunk-V3KKDSQP.mjs";
|
|
14
12
|
import "../../../../chunk-LJIVY6GU.mjs";
|
|
15
|
-
import "../../../../chunk-V2HNFTTX.mjs";
|
|
16
|
-
import "../../../../chunk-IAJ6G633.mjs";
|
|
17
13
|
import "../../../../chunk-ZRHEFEFS.mjs";
|
|
18
14
|
import "../../../../chunk-V2G5QHZZ.mjs";
|
|
19
15
|
import "../../../../chunk-AQ3ISJKU.mjs";
|
|
20
16
|
import "../../../../chunk-GQ3LBZ2Q.mjs";
|
|
17
|
+
import "../../../../chunk-5EWHMXCP.mjs";
|
|
18
|
+
import "../../../../chunk-N3EAW6UO.mjs";
|
|
21
19
|
import "../../../../chunk-WYJW5NNA.mjs";
|
|
22
20
|
import "../../../../chunk-C3MURCMZ.mjs";
|
|
23
21
|
import "../../../../chunk-WJXIRSSW.mjs";
|
|
24
22
|
import "../../../../chunk-WTXPB253.mjs";
|
|
23
|
+
import "../../../../chunk-IAJ6G633.mjs";
|
|
25
24
|
export {
|
|
26
25
|
AutocompleteField
|
|
27
26
|
};
|
|
@@ -1,27 +1,26 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use client";
|
|
3
2
|
import {
|
|
4
3
|
CheckboxField
|
|
5
4
|
} from "../../../../chunk-6UIBJVXP.mjs";
|
|
6
5
|
import "../../../../chunk-5YMUHF45.mjs";
|
|
7
6
|
import "../../../../chunk-DUQFM3QS.mjs";
|
|
8
7
|
import "../../../../chunk-KTUGFQWJ.mjs";
|
|
9
|
-
import "../../../../chunk-5EWHMXCP.mjs";
|
|
10
|
-
import "../../../../chunk-N3EAW6UO.mjs";
|
|
11
8
|
import "../../../../chunk-5HK7HRTR.mjs";
|
|
12
9
|
import "../../../../chunk-HJUZTISD.mjs";
|
|
10
|
+
import "../../../../chunk-V2HNFTTX.mjs";
|
|
13
11
|
import "../../../../chunk-V3KKDSQP.mjs";
|
|
14
12
|
import "../../../../chunk-LJIVY6GU.mjs";
|
|
15
|
-
import "../../../../chunk-V2HNFTTX.mjs";
|
|
16
|
-
import "../../../../chunk-IAJ6G633.mjs";
|
|
17
13
|
import "../../../../chunk-ZRHEFEFS.mjs";
|
|
18
14
|
import "../../../../chunk-V2G5QHZZ.mjs";
|
|
19
15
|
import "../../../../chunk-AQ3ISJKU.mjs";
|
|
20
16
|
import "../../../../chunk-GQ3LBZ2Q.mjs";
|
|
17
|
+
import "../../../../chunk-5EWHMXCP.mjs";
|
|
18
|
+
import "../../../../chunk-N3EAW6UO.mjs";
|
|
21
19
|
import "../../../../chunk-WYJW5NNA.mjs";
|
|
22
20
|
import "../../../../chunk-C3MURCMZ.mjs";
|
|
23
21
|
import "../../../../chunk-WJXIRSSW.mjs";
|
|
24
22
|
import "../../../../chunk-WTXPB253.mjs";
|
|
23
|
+
import "../../../../chunk-IAJ6G633.mjs";
|
|
25
24
|
export {
|
|
26
25
|
CheckboxField
|
|
27
26
|
};
|