@dafaz-ui/react 2.2.1 → 3.0.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/.turbo/turbo-build.log +8 -8
- package/CHANGELOG.md +12 -0
- package/dist/index.d.mts +660 -12
- package/dist/index.d.ts +660 -12
- package/dist/index.js +391 -29
- package/dist/index.mjs +376 -27
- package/package.json +4 -1
- package/src/components/Box/index.tsx +2 -0
- package/src/components/Box/styles.ts +2 -0
- package/src/components/CheckBox/index.tsx +25 -0
- package/src/components/CheckBox/styles.ts +128 -0
- package/src/components/Radio/RadioItem/index.tsx +32 -0
- package/src/components/Radio/RadioItem/styles.ts +130 -0
- package/src/components/Radio/index.tsx +29 -0
- package/src/components/Radio/styles.ts +25 -0
- package/src/components/TextArea/index.tsx +21 -0
- package/src/components/TextArea/styles.ts +40 -0
- package/src/components/TextInput/index.tsx +1 -1
- package/src/components/TextInput/styles.ts +4 -1
- package/src/index.tsx +4 -1
package/dist/index.d.mts
CHANGED
@@ -3,6 +3,9 @@ import * as react from 'react';
|
|
3
3
|
import { ComponentProps, ElementType, ReactNode } from 'react';
|
4
4
|
import * as _stitches_react_types_styled_component from '@stitches/react/types/styled-component';
|
5
5
|
import * as _stitches_react_types_css_util from '@stitches/react/types/css-util';
|
6
|
+
import { CSS } from '@stitches/react';
|
7
|
+
import * as Checkbox from '@radix-ui/react-checkbox';
|
8
|
+
import * as RadioGroup from '@radix-ui/react-radio-group';
|
6
9
|
import * as _stitches_react_types_theme from '@stitches/react/types/theme';
|
7
10
|
import * as _stitches_react_types_css from '@stitches/react/types/css';
|
8
11
|
import * as _stitches_react_types_stitches from '@stitches/react/types/stitches';
|
@@ -215,12 +218,16 @@ interface BoxUIProps extends ComponentProps<typeof BoxUI> {
|
|
215
218
|
as?: ElementType;
|
216
219
|
stretch?: boolean;
|
217
220
|
dark?: boolean;
|
221
|
+
css?: CSS;
|
218
222
|
}
|
219
223
|
|
220
224
|
interface BoxProps {
|
221
225
|
children: ReactNode;
|
222
226
|
}
|
223
227
|
declare function Box({ children, ...props }: BoxUIProps & BoxProps): react_jsx_runtime.JSX.Element;
|
228
|
+
declare namespace Box {
|
229
|
+
var displayName: string;
|
230
|
+
}
|
224
231
|
|
225
232
|
/** Primary UI component for user interaction */
|
226
233
|
declare const ButtonUI: _stitches_react_types_styled_component.StyledComponent<"button", {
|
@@ -444,8 +451,8 @@ interface ButtonProps {
|
|
444
451
|
}
|
445
452
|
declare function Button({ children, variant, size, ...props }: ButtonUIProps & ButtonProps): react_jsx_runtime.JSX.Element;
|
446
453
|
|
447
|
-
declare const
|
448
|
-
size?: "
|
454
|
+
declare const CheckBoxUI: _stitches_react_types_styled_component.StyledComponent<react.ForwardRefExoticComponent<Checkbox.CheckboxProps & react.RefAttributes<HTMLButtonElement>>, {
|
455
|
+
size?: "sm" | "md" | "lg" | undefined;
|
449
456
|
}, {}, _stitches_react_types_css_util.CSS<{}, {
|
450
457
|
colors: {
|
451
458
|
white: string;
|
@@ -646,18 +653,15 @@ declare const TextUI: _stitches_react_types_styled_component.StyledComponent<"p"
|
|
646
653
|
transition: "transitions";
|
647
654
|
zIndex: "zIndices";
|
648
655
|
}, {}>>;
|
649
|
-
interface
|
650
|
-
|
651
|
-
size?: 'xxs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
656
|
+
interface CheckboxIUProps extends ComponentProps<typeof CheckBoxUI> {
|
657
|
+
size?: 'sm' | 'md' | 'lg';
|
652
658
|
}
|
653
659
|
|
654
|
-
interface
|
655
|
-
|
656
|
-
|
657
|
-
declare function Text({ children, size, ...props }: TextUIProps & TextProps): react_jsx_runtime.JSX.Element;
|
658
|
-
declare namespace Text {
|
659
|
-
var displayName: string;
|
660
|
+
interface CheckboxProps {
|
661
|
+
id: string;
|
662
|
+
label: string;
|
660
663
|
}
|
664
|
+
declare function CheckBox({ id, label, size, ...props }: CheckboxIUProps & CheckboxProps): react_jsx_runtime.JSX.Element;
|
661
665
|
|
662
666
|
declare const HeadingUI: _stitches_react_types_styled_component.StyledComponent<"h2", {
|
663
667
|
mode?: "white" | "default" | undefined;
|
@@ -876,6 +880,650 @@ declare namespace Heading {
|
|
876
880
|
var displayName: string;
|
877
881
|
}
|
878
882
|
|
883
|
+
declare const RadioUI: _stitches_react_types_styled_component.StyledComponent<react.ForwardRefExoticComponent<RadioGroup.RadioGroupProps & react.RefAttributes<HTMLDivElement>>, {
|
884
|
+
size?: "sm" | "md" | "lg" | undefined;
|
885
|
+
}, {}, _stitches_react_types_css_util.CSS<{}, {
|
886
|
+
colors: {
|
887
|
+
white: string;
|
888
|
+
black: string;
|
889
|
+
gray100: string;
|
890
|
+
gray200: string;
|
891
|
+
gray400: string;
|
892
|
+
gray800: string;
|
893
|
+
dafaz100: string;
|
894
|
+
dafaz200: string;
|
895
|
+
dafaz400: string;
|
896
|
+
dafaz600: string;
|
897
|
+
dafaz800: string;
|
898
|
+
};
|
899
|
+
fontSizes: {
|
900
|
+
xxs: string;
|
901
|
+
xs: string;
|
902
|
+
sm: string;
|
903
|
+
md: string;
|
904
|
+
lg: string;
|
905
|
+
xl: string;
|
906
|
+
'2xl': string;
|
907
|
+
};
|
908
|
+
fontWeights: {
|
909
|
+
regular: string;
|
910
|
+
medium: string;
|
911
|
+
bold: string;
|
912
|
+
};
|
913
|
+
fonts: {
|
914
|
+
default: string;
|
915
|
+
app: string;
|
916
|
+
web: string;
|
917
|
+
offer: string;
|
918
|
+
code: string;
|
919
|
+
};
|
920
|
+
lineHeights: {
|
921
|
+
shorter: string;
|
922
|
+
short: string;
|
923
|
+
base: string;
|
924
|
+
tall: string;
|
925
|
+
};
|
926
|
+
radii: {
|
927
|
+
px: string;
|
928
|
+
sm: string;
|
929
|
+
md: string;
|
930
|
+
full: string;
|
931
|
+
};
|
932
|
+
space: {
|
933
|
+
1: string;
|
934
|
+
2: string;
|
935
|
+
3: string;
|
936
|
+
4: string;
|
937
|
+
5: string;
|
938
|
+
6: string;
|
939
|
+
7: string;
|
940
|
+
8: string;
|
941
|
+
10: string;
|
942
|
+
12: string;
|
943
|
+
16: string;
|
944
|
+
20: string;
|
945
|
+
40: string;
|
946
|
+
64: string;
|
947
|
+
80: string;
|
948
|
+
};
|
949
|
+
opacities: {
|
950
|
+
opacity400: string;
|
951
|
+
opacity600: string;
|
952
|
+
opacity800: string;
|
953
|
+
opacity900: string;
|
954
|
+
};
|
955
|
+
}, {
|
956
|
+
height: "space";
|
957
|
+
width: "space";
|
958
|
+
gap: "space";
|
959
|
+
gridGap: "space";
|
960
|
+
columnGap: "space";
|
961
|
+
gridColumnGap: "space";
|
962
|
+
rowGap: "space";
|
963
|
+
gridRowGap: "space";
|
964
|
+
inset: "space";
|
965
|
+
insetBlock: "space";
|
966
|
+
insetBlockEnd: "space";
|
967
|
+
insetBlockStart: "space";
|
968
|
+
insetInline: "space";
|
969
|
+
insetInlineEnd: "space";
|
970
|
+
insetInlineStart: "space";
|
971
|
+
margin: "space";
|
972
|
+
marginTop: "space";
|
973
|
+
marginRight: "space";
|
974
|
+
marginBottom: "space";
|
975
|
+
marginLeft: "space";
|
976
|
+
marginBlock: "space";
|
977
|
+
marginBlockEnd: "space";
|
978
|
+
marginBlockStart: "space";
|
979
|
+
marginInline: "space";
|
980
|
+
marginInlineEnd: "space";
|
981
|
+
marginInlineStart: "space";
|
982
|
+
padding: "space";
|
983
|
+
paddingTop: "space";
|
984
|
+
paddingRight: "space";
|
985
|
+
paddingBottom: "space";
|
986
|
+
paddingLeft: "space";
|
987
|
+
paddingBlock: "space";
|
988
|
+
paddingBlockEnd: "space";
|
989
|
+
paddingBlockStart: "space";
|
990
|
+
paddingInline: "space";
|
991
|
+
paddingInlineEnd: "space";
|
992
|
+
paddingInlineStart: "space";
|
993
|
+
scrollMargin: "space";
|
994
|
+
scrollMarginTop: "space";
|
995
|
+
scrollMarginRight: "space";
|
996
|
+
scrollMarginBottom: "space";
|
997
|
+
scrollMarginLeft: "space";
|
998
|
+
scrollMarginBlock: "space";
|
999
|
+
scrollMarginBlockEnd: "space";
|
1000
|
+
scrollMarginBlockStart: "space";
|
1001
|
+
scrollMarginInline: "space";
|
1002
|
+
scrollMarginInlineEnd: "space";
|
1003
|
+
scrollMarginInlineStart: "space";
|
1004
|
+
scrollPadding: "space";
|
1005
|
+
scrollPaddingTop: "space";
|
1006
|
+
scrollPaddingRight: "space";
|
1007
|
+
scrollPaddingBottom: "space";
|
1008
|
+
scrollPaddingLeft: "space";
|
1009
|
+
scrollPaddingBlock: "space";
|
1010
|
+
scrollPaddingBlockEnd: "space";
|
1011
|
+
scrollPaddingBlockStart: "space";
|
1012
|
+
scrollPaddingInline: "space";
|
1013
|
+
scrollPaddingInlineEnd: "space";
|
1014
|
+
scrollPaddingInlineStart: "space";
|
1015
|
+
top: "space";
|
1016
|
+
right: "space";
|
1017
|
+
bottom: "space";
|
1018
|
+
left: "space";
|
1019
|
+
fontSize: "fontSizes";
|
1020
|
+
background: "colors";
|
1021
|
+
backgroundColor: "colors";
|
1022
|
+
backgroundImage: "colors";
|
1023
|
+
borderImage: "colors";
|
1024
|
+
border: "colors";
|
1025
|
+
borderBlock: "colors";
|
1026
|
+
borderBlockEnd: "colors";
|
1027
|
+
borderBlockStart: "colors";
|
1028
|
+
borderBottom: "colors";
|
1029
|
+
borderBottomColor: "colors";
|
1030
|
+
borderColor: "colors";
|
1031
|
+
borderInline: "colors";
|
1032
|
+
borderInlineEnd: "colors";
|
1033
|
+
borderInlineStart: "colors";
|
1034
|
+
borderLeft: "colors";
|
1035
|
+
borderLeftColor: "colors";
|
1036
|
+
borderRight: "colors";
|
1037
|
+
borderRightColor: "colors";
|
1038
|
+
borderTop: "colors";
|
1039
|
+
borderTopColor: "colors";
|
1040
|
+
caretColor: "colors";
|
1041
|
+
color: "colors";
|
1042
|
+
columnRuleColor: "colors";
|
1043
|
+
outline: "colors";
|
1044
|
+
outlineColor: "colors";
|
1045
|
+
fill: "colors";
|
1046
|
+
stroke: "colors";
|
1047
|
+
textDecorationColor: "colors";
|
1048
|
+
fontFamily: "fonts";
|
1049
|
+
fontWeight: "fontWeights";
|
1050
|
+
lineHeight: "lineHeights";
|
1051
|
+
letterSpacing: "letterSpacings";
|
1052
|
+
blockSize: "sizes";
|
1053
|
+
minBlockSize: "sizes";
|
1054
|
+
maxBlockSize: "sizes";
|
1055
|
+
inlineSize: "sizes";
|
1056
|
+
minInlineSize: "sizes";
|
1057
|
+
maxInlineSize: "sizes";
|
1058
|
+
minWidth: "sizes";
|
1059
|
+
maxWidth: "sizes";
|
1060
|
+
minHeight: "sizes";
|
1061
|
+
maxHeight: "sizes";
|
1062
|
+
flexBasis: "sizes";
|
1063
|
+
gridTemplateColumns: "sizes";
|
1064
|
+
gridTemplateRows: "sizes";
|
1065
|
+
borderWidth: "borderWidths";
|
1066
|
+
borderTopWidth: "borderWidths";
|
1067
|
+
borderLeftWidth: "borderWidths";
|
1068
|
+
borderRightWidth: "borderWidths";
|
1069
|
+
borderBottomWidth: "borderWidths";
|
1070
|
+
borderStyle: "borderStyles";
|
1071
|
+
borderTopStyle: "borderStyles";
|
1072
|
+
borderLeftStyle: "borderStyles";
|
1073
|
+
borderRightStyle: "borderStyles";
|
1074
|
+
borderBottomStyle: "borderStyles";
|
1075
|
+
borderRadius: "radii";
|
1076
|
+
borderTopLeftRadius: "radii";
|
1077
|
+
borderTopRightRadius: "radii";
|
1078
|
+
borderBottomRightRadius: "radii";
|
1079
|
+
borderBottomLeftRadius: "radii";
|
1080
|
+
boxShadow: "shadows";
|
1081
|
+
textShadow: "shadows";
|
1082
|
+
transition: "transitions";
|
1083
|
+
zIndex: "zIndices";
|
1084
|
+
}, {}>>;
|
1085
|
+
interface RadioUIProps extends ComponentProps<typeof RadioUI> {
|
1086
|
+
size?: 'sm' | 'md' | 'lg';
|
1087
|
+
}
|
1088
|
+
|
1089
|
+
interface Item {
|
1090
|
+
id: string;
|
1091
|
+
label: string;
|
1092
|
+
value: string;
|
1093
|
+
}
|
1094
|
+
interface RadioGroupProps extends RadioUIProps {
|
1095
|
+
items: Item[];
|
1096
|
+
}
|
1097
|
+
declare function Radio({ items, size, ...props }: RadioGroupProps): react_jsx_runtime.JSX.Element;
|
1098
|
+
|
1099
|
+
declare const TextUI: _stitches_react_types_styled_component.StyledComponent<"p", {
|
1100
|
+
size?: "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
1101
|
+
}, {}, _stitches_react_types_css_util.CSS<{}, {
|
1102
|
+
colors: {
|
1103
|
+
white: string;
|
1104
|
+
black: string;
|
1105
|
+
gray100: string;
|
1106
|
+
gray200: string;
|
1107
|
+
gray400: string;
|
1108
|
+
gray800: string;
|
1109
|
+
dafaz100: string;
|
1110
|
+
dafaz200: string;
|
1111
|
+
dafaz400: string;
|
1112
|
+
dafaz600: string;
|
1113
|
+
dafaz800: string;
|
1114
|
+
};
|
1115
|
+
fontSizes: {
|
1116
|
+
xxs: string;
|
1117
|
+
xs: string;
|
1118
|
+
sm: string;
|
1119
|
+
md: string;
|
1120
|
+
lg: string;
|
1121
|
+
xl: string;
|
1122
|
+
'2xl': string;
|
1123
|
+
};
|
1124
|
+
fontWeights: {
|
1125
|
+
regular: string;
|
1126
|
+
medium: string;
|
1127
|
+
bold: string;
|
1128
|
+
};
|
1129
|
+
fonts: {
|
1130
|
+
default: string;
|
1131
|
+
app: string;
|
1132
|
+
web: string;
|
1133
|
+
offer: string;
|
1134
|
+
code: string;
|
1135
|
+
};
|
1136
|
+
lineHeights: {
|
1137
|
+
shorter: string;
|
1138
|
+
short: string;
|
1139
|
+
base: string;
|
1140
|
+
tall: string;
|
1141
|
+
};
|
1142
|
+
radii: {
|
1143
|
+
px: string;
|
1144
|
+
sm: string;
|
1145
|
+
md: string;
|
1146
|
+
full: string;
|
1147
|
+
};
|
1148
|
+
space: {
|
1149
|
+
1: string;
|
1150
|
+
2: string;
|
1151
|
+
3: string;
|
1152
|
+
4: string;
|
1153
|
+
5: string;
|
1154
|
+
6: string;
|
1155
|
+
7: string;
|
1156
|
+
8: string;
|
1157
|
+
10: string;
|
1158
|
+
12: string;
|
1159
|
+
16: string;
|
1160
|
+
20: string;
|
1161
|
+
40: string;
|
1162
|
+
64: string;
|
1163
|
+
80: string;
|
1164
|
+
};
|
1165
|
+
opacities: {
|
1166
|
+
opacity400: string;
|
1167
|
+
opacity600: string;
|
1168
|
+
opacity800: string;
|
1169
|
+
opacity900: string;
|
1170
|
+
};
|
1171
|
+
}, {
|
1172
|
+
height: "space";
|
1173
|
+
width: "space";
|
1174
|
+
gap: "space";
|
1175
|
+
gridGap: "space";
|
1176
|
+
columnGap: "space";
|
1177
|
+
gridColumnGap: "space";
|
1178
|
+
rowGap: "space";
|
1179
|
+
gridRowGap: "space";
|
1180
|
+
inset: "space";
|
1181
|
+
insetBlock: "space";
|
1182
|
+
insetBlockEnd: "space";
|
1183
|
+
insetBlockStart: "space";
|
1184
|
+
insetInline: "space";
|
1185
|
+
insetInlineEnd: "space";
|
1186
|
+
insetInlineStart: "space";
|
1187
|
+
margin: "space";
|
1188
|
+
marginTop: "space";
|
1189
|
+
marginRight: "space";
|
1190
|
+
marginBottom: "space";
|
1191
|
+
marginLeft: "space";
|
1192
|
+
marginBlock: "space";
|
1193
|
+
marginBlockEnd: "space";
|
1194
|
+
marginBlockStart: "space";
|
1195
|
+
marginInline: "space";
|
1196
|
+
marginInlineEnd: "space";
|
1197
|
+
marginInlineStart: "space";
|
1198
|
+
padding: "space";
|
1199
|
+
paddingTop: "space";
|
1200
|
+
paddingRight: "space";
|
1201
|
+
paddingBottom: "space";
|
1202
|
+
paddingLeft: "space";
|
1203
|
+
paddingBlock: "space";
|
1204
|
+
paddingBlockEnd: "space";
|
1205
|
+
paddingBlockStart: "space";
|
1206
|
+
paddingInline: "space";
|
1207
|
+
paddingInlineEnd: "space";
|
1208
|
+
paddingInlineStart: "space";
|
1209
|
+
scrollMargin: "space";
|
1210
|
+
scrollMarginTop: "space";
|
1211
|
+
scrollMarginRight: "space";
|
1212
|
+
scrollMarginBottom: "space";
|
1213
|
+
scrollMarginLeft: "space";
|
1214
|
+
scrollMarginBlock: "space";
|
1215
|
+
scrollMarginBlockEnd: "space";
|
1216
|
+
scrollMarginBlockStart: "space";
|
1217
|
+
scrollMarginInline: "space";
|
1218
|
+
scrollMarginInlineEnd: "space";
|
1219
|
+
scrollMarginInlineStart: "space";
|
1220
|
+
scrollPadding: "space";
|
1221
|
+
scrollPaddingTop: "space";
|
1222
|
+
scrollPaddingRight: "space";
|
1223
|
+
scrollPaddingBottom: "space";
|
1224
|
+
scrollPaddingLeft: "space";
|
1225
|
+
scrollPaddingBlock: "space";
|
1226
|
+
scrollPaddingBlockEnd: "space";
|
1227
|
+
scrollPaddingBlockStart: "space";
|
1228
|
+
scrollPaddingInline: "space";
|
1229
|
+
scrollPaddingInlineEnd: "space";
|
1230
|
+
scrollPaddingInlineStart: "space";
|
1231
|
+
top: "space";
|
1232
|
+
right: "space";
|
1233
|
+
bottom: "space";
|
1234
|
+
left: "space";
|
1235
|
+
fontSize: "fontSizes";
|
1236
|
+
background: "colors";
|
1237
|
+
backgroundColor: "colors";
|
1238
|
+
backgroundImage: "colors";
|
1239
|
+
borderImage: "colors";
|
1240
|
+
border: "colors";
|
1241
|
+
borderBlock: "colors";
|
1242
|
+
borderBlockEnd: "colors";
|
1243
|
+
borderBlockStart: "colors";
|
1244
|
+
borderBottom: "colors";
|
1245
|
+
borderBottomColor: "colors";
|
1246
|
+
borderColor: "colors";
|
1247
|
+
borderInline: "colors";
|
1248
|
+
borderInlineEnd: "colors";
|
1249
|
+
borderInlineStart: "colors";
|
1250
|
+
borderLeft: "colors";
|
1251
|
+
borderLeftColor: "colors";
|
1252
|
+
borderRight: "colors";
|
1253
|
+
borderRightColor: "colors";
|
1254
|
+
borderTop: "colors";
|
1255
|
+
borderTopColor: "colors";
|
1256
|
+
caretColor: "colors";
|
1257
|
+
color: "colors";
|
1258
|
+
columnRuleColor: "colors";
|
1259
|
+
outline: "colors";
|
1260
|
+
outlineColor: "colors";
|
1261
|
+
fill: "colors";
|
1262
|
+
stroke: "colors";
|
1263
|
+
textDecorationColor: "colors";
|
1264
|
+
fontFamily: "fonts";
|
1265
|
+
fontWeight: "fontWeights";
|
1266
|
+
lineHeight: "lineHeights";
|
1267
|
+
letterSpacing: "letterSpacings";
|
1268
|
+
blockSize: "sizes";
|
1269
|
+
minBlockSize: "sizes";
|
1270
|
+
maxBlockSize: "sizes";
|
1271
|
+
inlineSize: "sizes";
|
1272
|
+
minInlineSize: "sizes";
|
1273
|
+
maxInlineSize: "sizes";
|
1274
|
+
minWidth: "sizes";
|
1275
|
+
maxWidth: "sizes";
|
1276
|
+
minHeight: "sizes";
|
1277
|
+
maxHeight: "sizes";
|
1278
|
+
flexBasis: "sizes";
|
1279
|
+
gridTemplateColumns: "sizes";
|
1280
|
+
gridTemplateRows: "sizes";
|
1281
|
+
borderWidth: "borderWidths";
|
1282
|
+
borderTopWidth: "borderWidths";
|
1283
|
+
borderLeftWidth: "borderWidths";
|
1284
|
+
borderRightWidth: "borderWidths";
|
1285
|
+
borderBottomWidth: "borderWidths";
|
1286
|
+
borderStyle: "borderStyles";
|
1287
|
+
borderTopStyle: "borderStyles";
|
1288
|
+
borderLeftStyle: "borderStyles";
|
1289
|
+
borderRightStyle: "borderStyles";
|
1290
|
+
borderBottomStyle: "borderStyles";
|
1291
|
+
borderRadius: "radii";
|
1292
|
+
borderTopLeftRadius: "radii";
|
1293
|
+
borderTopRightRadius: "radii";
|
1294
|
+
borderBottomRightRadius: "radii";
|
1295
|
+
borderBottomLeftRadius: "radii";
|
1296
|
+
boxShadow: "shadows";
|
1297
|
+
textShadow: "shadows";
|
1298
|
+
transition: "transitions";
|
1299
|
+
zIndex: "zIndices";
|
1300
|
+
}, {}>>;
|
1301
|
+
interface TextUIProps extends ComponentProps<typeof TextUI> {
|
1302
|
+
as?: ElementType;
|
1303
|
+
size?: 'xxs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
1304
|
+
}
|
1305
|
+
|
1306
|
+
interface TextProps {
|
1307
|
+
children: ReactNode;
|
1308
|
+
}
|
1309
|
+
declare function Text({ children, size, ...props }: TextUIProps & TextProps): react_jsx_runtime.JSX.Element;
|
1310
|
+
declare namespace Text {
|
1311
|
+
var displayName: string;
|
1312
|
+
}
|
1313
|
+
|
1314
|
+
declare const TextAreaUI: _stitches_react_types_styled_component.StyledComponent<"textarea", {}, {}, _stitches_react_types_css_util.CSS<{}, {
|
1315
|
+
colors: {
|
1316
|
+
white: string;
|
1317
|
+
black: string;
|
1318
|
+
gray100: string;
|
1319
|
+
gray200: string;
|
1320
|
+
gray400: string;
|
1321
|
+
gray800: string;
|
1322
|
+
dafaz100: string;
|
1323
|
+
dafaz200: string;
|
1324
|
+
dafaz400: string;
|
1325
|
+
dafaz600: string;
|
1326
|
+
dafaz800: string;
|
1327
|
+
};
|
1328
|
+
fontSizes: {
|
1329
|
+
xxs: string;
|
1330
|
+
xs: string;
|
1331
|
+
sm: string;
|
1332
|
+
md: string;
|
1333
|
+
lg: string;
|
1334
|
+
xl: string;
|
1335
|
+
'2xl': string;
|
1336
|
+
};
|
1337
|
+
fontWeights: {
|
1338
|
+
regular: string;
|
1339
|
+
medium: string;
|
1340
|
+
bold: string;
|
1341
|
+
};
|
1342
|
+
fonts: {
|
1343
|
+
default: string;
|
1344
|
+
app: string;
|
1345
|
+
web: string;
|
1346
|
+
offer: string;
|
1347
|
+
code: string;
|
1348
|
+
};
|
1349
|
+
lineHeights: {
|
1350
|
+
shorter: string;
|
1351
|
+
short: string;
|
1352
|
+
base: string;
|
1353
|
+
tall: string;
|
1354
|
+
};
|
1355
|
+
radii: {
|
1356
|
+
px: string;
|
1357
|
+
sm: string;
|
1358
|
+
md: string;
|
1359
|
+
full: string;
|
1360
|
+
};
|
1361
|
+
space: {
|
1362
|
+
1: string;
|
1363
|
+
2: string;
|
1364
|
+
3: string;
|
1365
|
+
4: string;
|
1366
|
+
5: string;
|
1367
|
+
6: string;
|
1368
|
+
7: string;
|
1369
|
+
8: string;
|
1370
|
+
10: string;
|
1371
|
+
12: string;
|
1372
|
+
16: string;
|
1373
|
+
20: string;
|
1374
|
+
40: string;
|
1375
|
+
64: string;
|
1376
|
+
80: string;
|
1377
|
+
};
|
1378
|
+
opacities: {
|
1379
|
+
opacity400: string;
|
1380
|
+
opacity600: string;
|
1381
|
+
opacity800: string;
|
1382
|
+
opacity900: string;
|
1383
|
+
};
|
1384
|
+
}, {
|
1385
|
+
height: "space";
|
1386
|
+
width: "space";
|
1387
|
+
gap: "space";
|
1388
|
+
gridGap: "space";
|
1389
|
+
columnGap: "space";
|
1390
|
+
gridColumnGap: "space";
|
1391
|
+
rowGap: "space";
|
1392
|
+
gridRowGap: "space";
|
1393
|
+
inset: "space";
|
1394
|
+
insetBlock: "space";
|
1395
|
+
insetBlockEnd: "space";
|
1396
|
+
insetBlockStart: "space";
|
1397
|
+
insetInline: "space";
|
1398
|
+
insetInlineEnd: "space";
|
1399
|
+
insetInlineStart: "space";
|
1400
|
+
margin: "space";
|
1401
|
+
marginTop: "space";
|
1402
|
+
marginRight: "space";
|
1403
|
+
marginBottom: "space";
|
1404
|
+
marginLeft: "space";
|
1405
|
+
marginBlock: "space";
|
1406
|
+
marginBlockEnd: "space";
|
1407
|
+
marginBlockStart: "space";
|
1408
|
+
marginInline: "space";
|
1409
|
+
marginInlineEnd: "space";
|
1410
|
+
marginInlineStart: "space";
|
1411
|
+
padding: "space";
|
1412
|
+
paddingTop: "space";
|
1413
|
+
paddingRight: "space";
|
1414
|
+
paddingBottom: "space";
|
1415
|
+
paddingLeft: "space";
|
1416
|
+
paddingBlock: "space";
|
1417
|
+
paddingBlockEnd: "space";
|
1418
|
+
paddingBlockStart: "space";
|
1419
|
+
paddingInline: "space";
|
1420
|
+
paddingInlineEnd: "space";
|
1421
|
+
paddingInlineStart: "space";
|
1422
|
+
scrollMargin: "space";
|
1423
|
+
scrollMarginTop: "space";
|
1424
|
+
scrollMarginRight: "space";
|
1425
|
+
scrollMarginBottom: "space";
|
1426
|
+
scrollMarginLeft: "space";
|
1427
|
+
scrollMarginBlock: "space";
|
1428
|
+
scrollMarginBlockEnd: "space";
|
1429
|
+
scrollMarginBlockStart: "space";
|
1430
|
+
scrollMarginInline: "space";
|
1431
|
+
scrollMarginInlineEnd: "space";
|
1432
|
+
scrollMarginInlineStart: "space";
|
1433
|
+
scrollPadding: "space";
|
1434
|
+
scrollPaddingTop: "space";
|
1435
|
+
scrollPaddingRight: "space";
|
1436
|
+
scrollPaddingBottom: "space";
|
1437
|
+
scrollPaddingLeft: "space";
|
1438
|
+
scrollPaddingBlock: "space";
|
1439
|
+
scrollPaddingBlockEnd: "space";
|
1440
|
+
scrollPaddingBlockStart: "space";
|
1441
|
+
scrollPaddingInline: "space";
|
1442
|
+
scrollPaddingInlineEnd: "space";
|
1443
|
+
scrollPaddingInlineStart: "space";
|
1444
|
+
top: "space";
|
1445
|
+
right: "space";
|
1446
|
+
bottom: "space";
|
1447
|
+
left: "space";
|
1448
|
+
fontSize: "fontSizes";
|
1449
|
+
background: "colors";
|
1450
|
+
backgroundColor: "colors";
|
1451
|
+
backgroundImage: "colors";
|
1452
|
+
borderImage: "colors";
|
1453
|
+
border: "colors";
|
1454
|
+
borderBlock: "colors";
|
1455
|
+
borderBlockEnd: "colors";
|
1456
|
+
borderBlockStart: "colors";
|
1457
|
+
borderBottom: "colors";
|
1458
|
+
borderBottomColor: "colors";
|
1459
|
+
borderColor: "colors";
|
1460
|
+
borderInline: "colors";
|
1461
|
+
borderInlineEnd: "colors";
|
1462
|
+
borderInlineStart: "colors";
|
1463
|
+
borderLeft: "colors";
|
1464
|
+
borderLeftColor: "colors";
|
1465
|
+
borderRight: "colors";
|
1466
|
+
borderRightColor: "colors";
|
1467
|
+
borderTop: "colors";
|
1468
|
+
borderTopColor: "colors";
|
1469
|
+
caretColor: "colors";
|
1470
|
+
color: "colors";
|
1471
|
+
columnRuleColor: "colors";
|
1472
|
+
outline: "colors";
|
1473
|
+
outlineColor: "colors";
|
1474
|
+
fill: "colors";
|
1475
|
+
stroke: "colors";
|
1476
|
+
textDecorationColor: "colors";
|
1477
|
+
fontFamily: "fonts";
|
1478
|
+
fontWeight: "fontWeights";
|
1479
|
+
lineHeight: "lineHeights";
|
1480
|
+
letterSpacing: "letterSpacings";
|
1481
|
+
blockSize: "sizes";
|
1482
|
+
minBlockSize: "sizes";
|
1483
|
+
maxBlockSize: "sizes";
|
1484
|
+
inlineSize: "sizes";
|
1485
|
+
minInlineSize: "sizes";
|
1486
|
+
maxInlineSize: "sizes";
|
1487
|
+
minWidth: "sizes";
|
1488
|
+
maxWidth: "sizes";
|
1489
|
+
minHeight: "sizes";
|
1490
|
+
maxHeight: "sizes";
|
1491
|
+
flexBasis: "sizes";
|
1492
|
+
gridTemplateColumns: "sizes";
|
1493
|
+
gridTemplateRows: "sizes";
|
1494
|
+
borderWidth: "borderWidths";
|
1495
|
+
borderTopWidth: "borderWidths";
|
1496
|
+
borderLeftWidth: "borderWidths";
|
1497
|
+
borderRightWidth: "borderWidths";
|
1498
|
+
borderBottomWidth: "borderWidths";
|
1499
|
+
borderStyle: "borderStyles";
|
1500
|
+
borderTopStyle: "borderStyles";
|
1501
|
+
borderLeftStyle: "borderStyles";
|
1502
|
+
borderRightStyle: "borderStyles";
|
1503
|
+
borderBottomStyle: "borderStyles";
|
1504
|
+
borderRadius: "radii";
|
1505
|
+
borderTopLeftRadius: "radii";
|
1506
|
+
borderTopRightRadius: "radii";
|
1507
|
+
borderBottomRightRadius: "radii";
|
1508
|
+
borderBottomLeftRadius: "radii";
|
1509
|
+
boxShadow: "shadows";
|
1510
|
+
textShadow: "shadows";
|
1511
|
+
transition: "transitions";
|
1512
|
+
zIndex: "zIndices";
|
1513
|
+
}, {}>>;
|
1514
|
+
interface TextAreaUIProps extends ComponentProps<typeof TextAreaUI> {
|
1515
|
+
}
|
1516
|
+
|
1517
|
+
interface TextAreaProps {
|
1518
|
+
children?: ReactNode;
|
1519
|
+
placeholder?: string;
|
1520
|
+
disabled?: boolean;
|
1521
|
+
}
|
1522
|
+
declare function TextArea({ children, ...props }: TextAreaUIProps & TextAreaProps): react_jsx_runtime.JSX.Element;
|
1523
|
+
declare namespace TextArea {
|
1524
|
+
var displayName: string;
|
1525
|
+
}
|
1526
|
+
|
879
1527
|
declare const InputUI: _stitches_react_types_styled_component.StyledComponent<"input", {}, {}, _stitches_react_types_css_util.CSS<{}, {
|
880
1528
|
colors: {
|
881
1529
|
white: string;
|
@@ -2760,4 +3408,4 @@ declare const config: {
|
|
2760
3408
|
utils: {};
|
2761
3409
|
};
|
2762
3410
|
|
2763
|
-
export { Box, Button, Heading, Text, TextInput, type TextInputProps, config, createTheme, css, getCssText, globalCss, keyframes, styled, theme };
|
3411
|
+
export { Box, Button, CheckBox, Heading, Radio, Text, TextArea, TextInput, type TextInputProps, config, createTheme, css, getCssText, globalCss, keyframes, styled, theme };
|