@teach-in/react 1.3.0 → 1.5.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-2UHA3DYG.mjs +62 -0
- package/dist/{chunk-LJIVY6GU.mjs → chunk-46SKVFMZ.mjs} +1 -1
- package/dist/{chunk-JDFRAN4S.mjs → chunk-5FFWQB7D.mjs} +12 -2
- package/dist/{chunk-544SDU73.mjs → chunk-BBUPZCY6.mjs} +1 -1
- package/dist/chunk-C2VWADF5.mjs +34 -0
- package/dist/{chunk-NLHQDWUK.mjs → chunk-CKJ5U5Q4.mjs} +1 -1
- package/dist/chunk-CUEG2BFV.mjs +34 -0
- package/dist/chunk-GTE5VEBV.mjs +68 -0
- package/dist/{chunk-CETCW7DS.mjs → chunk-IU2JYI7W.mjs} +1 -1
- package/dist/{chunk-KTUGFQWJ.mjs → chunk-KTWHCUYV.mjs} +1 -1
- package/dist/chunk-MCQGBAUS.mjs +73 -0
- package/dist/chunk-NSU66J5E.mjs +59 -0
- package/dist/{chunk-UFYLYN5Z.mjs → chunk-QFWSQOF6.mjs} +20 -2
- package/dist/{chunk-R7LDL5CU.mjs → chunk-R46SWVWL.mjs} +1 -1
- package/dist/{chunk-WFNNN6WU.mjs → chunk-RPIOTLYT.mjs} +1 -1
- package/dist/chunk-SEJXJZSK.mjs +64 -0
- package/dist/chunk-TUIN5YJW.mjs +33 -0
- package/dist/chunk-UQAG7TKJ.mjs +1 -0
- package/dist/chunk-VXYV37IM.mjs +74 -0
- package/dist/{chunk-J3OZNLTZ.mjs → chunk-WG4IPOHE.mjs} +5 -5
- package/dist/{chunk-AFVGHUW2.mjs → chunk-YZB4VBX7.mjs} +24 -2
- package/dist/index.js +658 -247
- package/dist/index.mjs +200 -184
- package/dist/ui/data/index.mjs +8 -8
- package/dist/ui/feedback/index.mjs +11 -11
- package/dist/ui/feedback/progress/index.mjs +3 -3
- package/dist/ui/form/index.js +447 -106
- package/dist/ui/form/index.mjs +30 -20
- package/dist/ui/form/rhf/fields/autocomplete-field.mjs +19 -13
- package/dist/ui/form/rhf/fields/checkbox-field.mjs +19 -13
- package/dist/ui/form/rhf/fields/date-picker-field.mjs +19 -13
- package/dist/ui/form/rhf/fields/email-field.js +147 -10
- package/dist/ui/form/rhf/fields/email-field.mjs +20 -14
- package/dist/ui/form/rhf/fields/index.d.ts +1 -0
- package/dist/ui/form/rhf/fields/index.js +443 -102
- package/dist/ui/form/rhf/fields/index.mjs +30 -20
- package/dist/ui/form/rhf/fields/input-field.js +153 -6
- package/dist/ui/form/rhf/fields/input-field.mjs +20 -14
- package/dist/ui/form/rhf/fields/radio-field.mjs +19 -13
- package/dist/ui/form/rhf/fields/search-field.d.ts +10 -0
- package/dist/ui/form/rhf/fields/search-field.js +296 -0
- package/dist/ui/form/rhf/fields/search-field.mjs +37 -0
- package/dist/ui/form/rhf/fields/select-field.js +136 -26
- package/dist/ui/form/rhf/fields/select-field.mjs +20 -14
- package/dist/ui/form/rhf/fields/switch-field.mjs +19 -13
- package/dist/ui/form/rhf/fields/text-field.js +147 -10
- package/dist/ui/form/rhf/fields/text-field.mjs +20 -14
- package/dist/ui/form/rhf/fields/textarea-field.mjs +19 -13
- package/dist/ui/form/rhf/index.js +443 -102
- package/dist/ui/form/rhf/index.mjs +30 -20
- package/dist/ui/format/index.mjs +6 -6
- package/dist/ui/index.js +658 -247
- package/dist/ui/index.mjs +199 -183
- package/dist/ui/inputs/clear-button.d.ts +5 -0
- package/dist/ui/inputs/clear-button.js +67 -0
- package/dist/ui/inputs/clear-button.mjs +8 -0
- package/dist/ui/inputs/email/email.js +144 -7
- package/dist/ui/inputs/email/email.mjs +4 -2
- package/dist/ui/inputs/email/index.js +144 -7
- package/dist/ui/inputs/email/index.mjs +4 -2
- package/dist/ui/inputs/index.d.ts +2 -0
- package/dist/ui/inputs/index.js +396 -59
- package/dist/ui/inputs/index.mjs +33 -21
- package/dist/ui/inputs/input/index.js +140 -3
- package/dist/ui/inputs/input/index.mjs +3 -1
- package/dist/ui/inputs/input/input.d.ts +1 -0
- package/dist/ui/inputs/input/input.js +140 -3
- package/dist/ui/inputs/input/input.mjs +3 -1
- package/dist/ui/inputs/input/use-input.d.ts +19 -0
- package/dist/ui/inputs/input/use-input.js +82 -0
- package/dist/ui/inputs/input/use-input.mjs +7 -0
- package/dist/ui/inputs/radio/index.mjs +3 -3
- package/dist/ui/inputs/search/index.d.ts +1 -0
- package/dist/ui/inputs/search/index.js +270 -0
- package/dist/ui/inputs/search/index.mjs +13 -0
- package/dist/ui/inputs/search/search.d.ts +7 -0
- package/dist/ui/inputs/search/search.js +268 -0
- package/dist/ui/inputs/search/search.mjs +12 -0
- package/dist/ui/inputs/search/use-search.d.ts +12 -0
- package/dist/ui/inputs/search/use-search.js +57 -0
- package/dist/ui/inputs/search/use-search.mjs +7 -0
- package/dist/ui/inputs/select/index.js +132 -22
- package/dist/ui/inputs/select/index.mjs +3 -1
- package/dist/ui/inputs/select/select.d.ts +4 -0
- package/dist/ui/inputs/select/select.js +132 -22
- package/dist/ui/inputs/select/select.mjs +3 -1
- package/dist/ui/inputs/select/use-select.d.ts +17 -0
- package/dist/ui/inputs/select/use-select.js +85 -0
- package/dist/ui/inputs/select/use-select.mjs +7 -0
- package/dist/ui/inputs/switch/favorite-switch.d.ts +23 -2
- package/dist/ui/inputs/switch/favorite-switch.js +34 -4
- package/dist/ui/inputs/switch/favorite-switch.mjs +1 -1
- package/dist/ui/inputs/switch/index.js +34 -4
- package/dist/ui/inputs/switch/index.mjs +3 -3
- package/dist/ui/inputs/text/index.js +144 -7
- package/dist/ui/inputs/text/index.mjs +4 -2
- package/dist/ui/inputs/text/text.js +144 -7
- package/dist/ui/inputs/text/text.mjs +4 -2
- package/dist/ui/layout/container/container.mjs +96 -89
- package/dist/ui/layout/container/index.mjs +96 -89
- package/dist/ui/layout/index.mjs +101 -94
- package/dist/ui/layout/page/index.mjs +7 -7
- package/dist/ui/layout/page/page-loading.mjs +6 -6
- package/dist/ui/layout/page/section-loading.mjs +6 -6
- package/dist/ui/navigation/index.mjs +9 -9
- package/dist/ui/overlays/index.mjs +8 -8
- package/dist/ui/provider/index.mjs +6 -6
- package/dist/ui/provider/ui-provider.mjs +6 -6
- package/dist/ui/surface/bento/bento.d.ts +2 -2
- package/dist/ui/surface/bento/bento.js +5 -5
- package/dist/ui/surface/bento/bento.mjs +1 -1
- package/dist/ui/surface/bento/index.js +5 -5
- package/dist/ui/surface/bento/index.mjs +1 -1
- package/dist/ui/surface/card/card.d.ts +2427 -5
- package/dist/ui/surface/card/card.js +29 -2
- package/dist/ui/surface/card/card.mjs +5 -1
- package/dist/ui/surface/card/index.js +29 -2
- package/dist/ui/surface/card/index.mjs +5 -1
- package/dist/ui/surface/index.js +34 -7
- package/dist/ui/surface/index.mjs +7 -3
- package/dist/ui/theme/colors/index.js +24 -2
- package/dist/ui/theme/colors/index.mjs +2 -2
- package/dist/ui/theme/colors/semantic.js +24 -2
- package/dist/ui/theme/colors/semantic.mjs +1 -1
- package/dist/ui/theme/colors/types.d.ts +2 -0
- package/dist/ui/theme/colors.js +24 -2
- package/dist/ui/theme/colors.mjs +2 -2
- package/dist/ui/theme/index.js +24 -2
- package/dist/ui/theme/index.mjs +3 -3
- package/dist/ui/theme/theme.js +24 -2
- package/dist/ui/theme/theme.mjs +3 -3
- package/package.json +1 -1
- package/dist/chunk-3YOW5DEZ.mjs +0 -45
- package/dist/chunk-E5QSNLSR.mjs +0 -38
- package/dist/chunk-V2G5QHZZ.mjs +0 -14
- /package/dist/{chunk-CZEO3U25.mjs → chunk-5RNCFTW5.mjs} +0 -0
- /package/dist/{chunk-Q6JSJOU4.mjs → chunk-PTCNYQVY.mjs} +0 -0
|
@@ -4,18 +4,18 @@ import {
|
|
|
4
4
|
UIProvider
|
|
5
5
|
} from "../../chunk-FQUYFYMS.mjs";
|
|
6
6
|
import "../../chunk-AR4IYKG5.mjs";
|
|
7
|
+
import "../../chunk-U4FAPNVK.mjs";
|
|
8
|
+
import "../../chunk-JTPBZJ4S.mjs";
|
|
7
9
|
import "../../chunk-CA2EAK5M.mjs";
|
|
10
|
+
import "../../chunk-V77JZXH7.mjs";
|
|
11
|
+
import "../../chunk-K3WTHFIG.mjs";
|
|
12
|
+
import "../../chunk-EEGPGLDC.mjs";
|
|
8
13
|
import "../../chunk-WZDFBWUL.mjs";
|
|
9
14
|
import "../../chunk-ZXCQ73RT.mjs";
|
|
10
15
|
import "../../chunk-3BST3PYD.mjs";
|
|
11
16
|
import "../../chunk-TJBXXTYS.mjs";
|
|
12
|
-
import "../../chunk-V77JZXH7.mjs";
|
|
13
|
-
import "../../chunk-TIFF5WZA.mjs";
|
|
14
|
-
import "../../chunk-U4FAPNVK.mjs";
|
|
15
17
|
import "../../chunk-L6XIUULU.mjs";
|
|
16
|
-
import "../../chunk-
|
|
17
|
-
import "../../chunk-K3WTHFIG.mjs";
|
|
18
|
-
import "../../chunk-EEGPGLDC.mjs";
|
|
18
|
+
import "../../chunk-TIFF5WZA.mjs";
|
|
19
19
|
import "../../chunk-Q2ILWL7L.mjs";
|
|
20
20
|
import "../../chunk-7BTEKEON.mjs";
|
|
21
21
|
export {
|
|
@@ -3,18 +3,18 @@ import {
|
|
|
3
3
|
UIProvider
|
|
4
4
|
} from "../../chunk-FQUYFYMS.mjs";
|
|
5
5
|
import "../../chunk-AR4IYKG5.mjs";
|
|
6
|
+
import "../../chunk-U4FAPNVK.mjs";
|
|
7
|
+
import "../../chunk-JTPBZJ4S.mjs";
|
|
6
8
|
import "../../chunk-CA2EAK5M.mjs";
|
|
9
|
+
import "../../chunk-V77JZXH7.mjs";
|
|
10
|
+
import "../../chunk-K3WTHFIG.mjs";
|
|
11
|
+
import "../../chunk-EEGPGLDC.mjs";
|
|
7
12
|
import "../../chunk-WZDFBWUL.mjs";
|
|
8
13
|
import "../../chunk-ZXCQ73RT.mjs";
|
|
9
14
|
import "../../chunk-3BST3PYD.mjs";
|
|
10
15
|
import "../../chunk-TJBXXTYS.mjs";
|
|
11
|
-
import "../../chunk-V77JZXH7.mjs";
|
|
12
|
-
import "../../chunk-TIFF5WZA.mjs";
|
|
13
|
-
import "../../chunk-U4FAPNVK.mjs";
|
|
14
16
|
import "../../chunk-L6XIUULU.mjs";
|
|
15
|
-
import "../../chunk-
|
|
16
|
-
import "../../chunk-K3WTHFIG.mjs";
|
|
17
|
-
import "../../chunk-EEGPGLDC.mjs";
|
|
17
|
+
import "../../chunk-TIFF5WZA.mjs";
|
|
18
18
|
import "../../chunk-Q2ILWL7L.mjs";
|
|
19
19
|
import "../../chunk-7BTEKEON.mjs";
|
|
20
20
|
export {
|
|
@@ -26,7 +26,7 @@ export declare const bento: import("tailwind-variants").TVReturnType<{
|
|
|
26
26
|
false: string;
|
|
27
27
|
true: string;
|
|
28
28
|
};
|
|
29
|
-
}, undefined, "
|
|
29
|
+
}, undefined, "p-8 transition-colors", {
|
|
30
30
|
color: {
|
|
31
31
|
default: string;
|
|
32
32
|
primary: string;
|
|
@@ -78,7 +78,7 @@ export declare const bento: import("tailwind-variants").TVReturnType<{
|
|
|
78
78
|
false: string;
|
|
79
79
|
true: string;
|
|
80
80
|
};
|
|
81
|
-
}, undefined, "
|
|
81
|
+
}, undefined, "p-8 transition-colors", unknown, unknown, undefined>>;
|
|
82
82
|
type BentoVariants = VariantProps<typeof bento>;
|
|
83
83
|
export interface BentoProps extends Omit<React.HTMLAttributes<HTMLDivElement>, keyof BentoVariants>, BentoVariants {
|
|
84
84
|
}
|
|
@@ -28,10 +28,10 @@ module.exports = __toCommonJS(bento_exports);
|
|
|
28
28
|
var import_tailwind_variants = require("tailwind-variants");
|
|
29
29
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
30
30
|
var bento = (0, import_tailwind_variants.tv)({
|
|
31
|
-
base: "
|
|
31
|
+
base: "p-8 transition-colors",
|
|
32
32
|
variants: {
|
|
33
33
|
color: {
|
|
34
|
-
default: "bg-
|
|
34
|
+
default: "bg-content1 text-foreground",
|
|
35
35
|
primary: "bg-primary-50 text-primary-700",
|
|
36
36
|
secondary: "bg-secondary-50 text-secondary-700",
|
|
37
37
|
success: "bg-success-50 text-success-700",
|
|
@@ -40,9 +40,9 @@ var bento = (0, import_tailwind_variants.tv)({
|
|
|
40
40
|
},
|
|
41
41
|
radius: {
|
|
42
42
|
none: "rounded-none",
|
|
43
|
-
sm: "rounded-
|
|
44
|
-
md: "rounded-
|
|
45
|
-
lg: "rounded-
|
|
43
|
+
sm: "rounded-lg",
|
|
44
|
+
md: "rounded-2xl",
|
|
45
|
+
lg: "rounded-3xl",
|
|
46
46
|
full: "rounded-full"
|
|
47
47
|
},
|
|
48
48
|
shadow: {
|
|
@@ -30,10 +30,10 @@ module.exports = __toCommonJS(bento_exports);
|
|
|
30
30
|
var import_tailwind_variants = require("tailwind-variants");
|
|
31
31
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
32
32
|
var bento = (0, import_tailwind_variants.tv)({
|
|
33
|
-
base: "
|
|
33
|
+
base: "p-8 transition-colors",
|
|
34
34
|
variants: {
|
|
35
35
|
color: {
|
|
36
|
-
default: "bg-
|
|
36
|
+
default: "bg-content1 text-foreground",
|
|
37
37
|
primary: "bg-primary-50 text-primary-700",
|
|
38
38
|
secondary: "bg-secondary-50 text-secondary-700",
|
|
39
39
|
success: "bg-success-50 text-success-700",
|
|
@@ -42,9 +42,9 @@ var bento = (0, import_tailwind_variants.tv)({
|
|
|
42
42
|
},
|
|
43
43
|
radius: {
|
|
44
44
|
none: "rounded-none",
|
|
45
|
-
sm: "rounded-
|
|
46
|
-
md: "rounded-
|
|
47
|
-
lg: "rounded-
|
|
45
|
+
sm: "rounded-lg",
|
|
46
|
+
md: "rounded-2xl",
|
|
47
|
+
lg: "rounded-3xl",
|
|
48
48
|
full: "rounded-full"
|
|
49
49
|
},
|
|
50
50
|
shadow: {
|