@dafaz-ui/react 3.0.5 → 4.0.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/.turbo/turbo-build.log +8 -8
- package/CHANGELOG.md +12 -0
- package/dist/index.d.mts +227 -5
- package/dist/index.d.ts +227 -5
- package/dist/index.js +150 -22
- package/dist/index.mjs +149 -22
- package/package.json +1 -1
- package/src/components/CheckBox/index.tsx +3 -2
- package/src/components/CheckBox/styles.ts +13 -0
- package/src/components/Radio/RadioItem/index.tsx +3 -2
- package/src/components/Radio/RadioItem/styles.ts +11 -0
- package/src/components/Radio/index.tsx +9 -2
- package/src/components/Radio/styles.ts +5 -0
- package/src/components/Select/index.tsx +36 -0
- package/src/components/Select/styles.ts +83 -0
- package/src/components/TextArea/styles.ts +1 -1
- package/src/components/TextInput/index.tsx +2 -1
- package/src/index.tsx +1 -0
package/.turbo/turbo-build.log
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
|
2
|
-
> @dafaz-ui/react@
|
2
|
+
> @dafaz-ui/react@4.0.1 build
|
3
3
|
> tsup src/index.tsx --format esm,cjs --dts --external react
|
4
4
|
|
5
5
|
[34mCLI[39m Building entry: src/index.tsx
|
@@ -8,11 +8,11 @@
|
|
8
8
|
[34mCLI[39m Target: es6
|
9
9
|
[34mESM[39m Build start
|
10
10
|
[34mCJS[39m Build start
|
11
|
-
[32mESM[39m [1mdist/index.mjs [22m[
|
12
|
-
[32mESM[39m ⚡️ Build success in
|
13
|
-
[32mCJS[39m [1mdist/index.js [22m[
|
14
|
-
[32mCJS[39m ⚡️ Build success in
|
11
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m19.39 KB[39m
|
12
|
+
[32mESM[39m ⚡️ Build success in 42ms
|
13
|
+
[32mCJS[39m [1mdist/index.js [22m[32m21.90 KB[39m
|
14
|
+
[32mCJS[39m ⚡️ Build success in 43ms
|
15
15
|
[34mDTS[39m Build start
|
16
|
-
[32mDTS[39m ⚡️ Build success in
|
17
|
-
[32mDTS[39m [1mdist/index.d.mts [22m[
|
18
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[
|
16
|
+
[32mDTS[39m ⚡️ Build success in 4470ms
|
17
|
+
[32mDTS[39m [1mdist/index.d.mts [22m[32m103.69 KB[39m
|
18
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m103.69 KB[39m
|
package/CHANGELOG.md
CHANGED
package/dist/index.d.mts
CHANGED
@@ -658,13 +658,14 @@ declare const CheckBoxUI: _stitches_react_types_styled_component.StyledComponent
|
|
658
658
|
}, {}>>;
|
659
659
|
interface CheckboxIUProps extends ComponentProps<typeof CheckBoxUI> {
|
660
660
|
size?: 'sm' | 'md' | 'lg';
|
661
|
+
disabled?: boolean;
|
661
662
|
}
|
662
663
|
|
663
664
|
interface CheckboxProps {
|
664
665
|
id: string;
|
665
666
|
label: string;
|
666
667
|
}
|
667
|
-
declare function CheckBox({ id, label, size, ...props }: CheckboxIUProps & CheckboxProps): react_jsx_runtime.JSX.Element;
|
668
|
+
declare function CheckBox({ id, label, size, disabled, ...props }: CheckboxIUProps & CheckboxProps): react_jsx_runtime.JSX.Element;
|
668
669
|
declare namespace CheckBox {
|
669
670
|
var displayName: string;
|
670
671
|
}
|
@@ -1092,19 +1093,240 @@ interface RadioUIProps extends ComponentProps<typeof RadioUI> {
|
|
1092
1093
|
size?: 'sm' | 'md' | 'lg';
|
1093
1094
|
}
|
1094
1095
|
|
1095
|
-
interface Item {
|
1096
|
+
interface Item$1 {
|
1096
1097
|
id: string;
|
1097
1098
|
label: string;
|
1098
1099
|
value: string;
|
1100
|
+
disabled: boolean;
|
1099
1101
|
}
|
1100
1102
|
interface RadioGroupProps extends RadioUIProps {
|
1101
|
-
items: Item[];
|
1103
|
+
items: Item$1[];
|
1102
1104
|
}
|
1103
|
-
declare function Radio({ items, size, ...props }: RadioGroupProps): react_jsx_runtime.JSX.Element;
|
1105
|
+
declare function Radio({ items, size, disabled, ...props }: RadioGroupProps): react_jsx_runtime.JSX.Element;
|
1104
1106
|
declare namespace Radio {
|
1105
1107
|
var displayName: string;
|
1106
1108
|
}
|
1107
1109
|
|
1110
|
+
declare const SelectUI: _stitches_react_types_styled_component.StyledComponent<"select", {
|
1111
|
+
size?: "sm" | "md" | "lg" | undefined;
|
1112
|
+
}, {}, _stitches_react_types_css_util.CSS<{}, {
|
1113
|
+
colors: {
|
1114
|
+
white: string;
|
1115
|
+
black: string;
|
1116
|
+
gray100: string;
|
1117
|
+
gray200: string;
|
1118
|
+
gray400: string;
|
1119
|
+
gray800: string;
|
1120
|
+
dafaz100: string;
|
1121
|
+
dafaz200: string;
|
1122
|
+
dafaz400: string;
|
1123
|
+
dafaz600: string;
|
1124
|
+
dafaz800: string;
|
1125
|
+
};
|
1126
|
+
fontSizes: {
|
1127
|
+
xxs: string;
|
1128
|
+
xs: string;
|
1129
|
+
sm: string;
|
1130
|
+
md: string;
|
1131
|
+
lg: string;
|
1132
|
+
xl: string;
|
1133
|
+
'2xl': string;
|
1134
|
+
};
|
1135
|
+
fontWeights: {
|
1136
|
+
regular: string;
|
1137
|
+
medium: string;
|
1138
|
+
bold: string;
|
1139
|
+
};
|
1140
|
+
fonts: {
|
1141
|
+
default: string;
|
1142
|
+
app: string;
|
1143
|
+
web: string;
|
1144
|
+
offer: string;
|
1145
|
+
code: string;
|
1146
|
+
};
|
1147
|
+
lineHeights: {
|
1148
|
+
shorter: string;
|
1149
|
+
short: string;
|
1150
|
+
base: string;
|
1151
|
+
tall: string;
|
1152
|
+
};
|
1153
|
+
radii: {
|
1154
|
+
px: string;
|
1155
|
+
sm: string;
|
1156
|
+
md: string;
|
1157
|
+
full: string;
|
1158
|
+
};
|
1159
|
+
space: {
|
1160
|
+
1: string;
|
1161
|
+
2: string;
|
1162
|
+
3: string;
|
1163
|
+
4: string;
|
1164
|
+
5: string;
|
1165
|
+
6: string;
|
1166
|
+
7: string;
|
1167
|
+
8: string;
|
1168
|
+
10: string;
|
1169
|
+
12: string;
|
1170
|
+
16: string;
|
1171
|
+
20: string;
|
1172
|
+
40: string;
|
1173
|
+
64: string;
|
1174
|
+
80: string;
|
1175
|
+
};
|
1176
|
+
opacities: {
|
1177
|
+
opacity400: string;
|
1178
|
+
opacity600: string;
|
1179
|
+
opacity800: string;
|
1180
|
+
opacity900: string;
|
1181
|
+
};
|
1182
|
+
}, {
|
1183
|
+
height: "space";
|
1184
|
+
width: "space";
|
1185
|
+
gap: "space";
|
1186
|
+
gridGap: "space";
|
1187
|
+
columnGap: "space";
|
1188
|
+
gridColumnGap: "space";
|
1189
|
+
rowGap: "space";
|
1190
|
+
gridRowGap: "space";
|
1191
|
+
inset: "space";
|
1192
|
+
insetBlock: "space";
|
1193
|
+
insetBlockEnd: "space";
|
1194
|
+
insetBlockStart: "space";
|
1195
|
+
insetInline: "space";
|
1196
|
+
insetInlineEnd: "space";
|
1197
|
+
insetInlineStart: "space";
|
1198
|
+
margin: "space";
|
1199
|
+
marginTop: "space";
|
1200
|
+
marginRight: "space";
|
1201
|
+
marginBottom: "space";
|
1202
|
+
marginLeft: "space";
|
1203
|
+
marginBlock: "space";
|
1204
|
+
marginBlockEnd: "space";
|
1205
|
+
marginBlockStart: "space";
|
1206
|
+
marginInline: "space";
|
1207
|
+
marginInlineEnd: "space";
|
1208
|
+
marginInlineStart: "space";
|
1209
|
+
padding: "space";
|
1210
|
+
paddingTop: "space";
|
1211
|
+
paddingRight: "space";
|
1212
|
+
paddingBottom: "space";
|
1213
|
+
paddingLeft: "space";
|
1214
|
+
paddingBlock: "space";
|
1215
|
+
paddingBlockEnd: "space";
|
1216
|
+
paddingBlockStart: "space";
|
1217
|
+
paddingInline: "space";
|
1218
|
+
paddingInlineEnd: "space";
|
1219
|
+
paddingInlineStart: "space";
|
1220
|
+
scrollMargin: "space";
|
1221
|
+
scrollMarginTop: "space";
|
1222
|
+
scrollMarginRight: "space";
|
1223
|
+
scrollMarginBottom: "space";
|
1224
|
+
scrollMarginLeft: "space";
|
1225
|
+
scrollMarginBlock: "space";
|
1226
|
+
scrollMarginBlockEnd: "space";
|
1227
|
+
scrollMarginBlockStart: "space";
|
1228
|
+
scrollMarginInline: "space";
|
1229
|
+
scrollMarginInlineEnd: "space";
|
1230
|
+
scrollMarginInlineStart: "space";
|
1231
|
+
scrollPadding: "space";
|
1232
|
+
scrollPaddingTop: "space";
|
1233
|
+
scrollPaddingRight: "space";
|
1234
|
+
scrollPaddingBottom: "space";
|
1235
|
+
scrollPaddingLeft: "space";
|
1236
|
+
scrollPaddingBlock: "space";
|
1237
|
+
scrollPaddingBlockEnd: "space";
|
1238
|
+
scrollPaddingBlockStart: "space";
|
1239
|
+
scrollPaddingInline: "space";
|
1240
|
+
scrollPaddingInlineEnd: "space";
|
1241
|
+
scrollPaddingInlineStart: "space";
|
1242
|
+
top: "space";
|
1243
|
+
right: "space";
|
1244
|
+
bottom: "space";
|
1245
|
+
left: "space";
|
1246
|
+
fontSize: "fontSizes";
|
1247
|
+
background: "colors";
|
1248
|
+
backgroundColor: "colors";
|
1249
|
+
backgroundImage: "colors";
|
1250
|
+
borderImage: "colors";
|
1251
|
+
border: "colors";
|
1252
|
+
borderBlock: "colors";
|
1253
|
+
borderBlockEnd: "colors";
|
1254
|
+
borderBlockStart: "colors";
|
1255
|
+
borderBottom: "colors";
|
1256
|
+
borderBottomColor: "colors";
|
1257
|
+
borderColor: "colors";
|
1258
|
+
borderInline: "colors";
|
1259
|
+
borderInlineEnd: "colors";
|
1260
|
+
borderInlineStart: "colors";
|
1261
|
+
borderLeft: "colors";
|
1262
|
+
borderLeftColor: "colors";
|
1263
|
+
borderRight: "colors";
|
1264
|
+
borderRightColor: "colors";
|
1265
|
+
borderTop: "colors";
|
1266
|
+
borderTopColor: "colors";
|
1267
|
+
caretColor: "colors";
|
1268
|
+
color: "colors";
|
1269
|
+
columnRuleColor: "colors";
|
1270
|
+
outline: "colors";
|
1271
|
+
outlineColor: "colors";
|
1272
|
+
fill: "colors";
|
1273
|
+
stroke: "colors";
|
1274
|
+
textDecorationColor: "colors";
|
1275
|
+
fontFamily: "fonts";
|
1276
|
+
fontWeight: "fontWeights";
|
1277
|
+
lineHeight: "lineHeights";
|
1278
|
+
letterSpacing: "letterSpacings";
|
1279
|
+
blockSize: "sizes";
|
1280
|
+
minBlockSize: "sizes";
|
1281
|
+
maxBlockSize: "sizes";
|
1282
|
+
inlineSize: "sizes";
|
1283
|
+
minInlineSize: "sizes";
|
1284
|
+
maxInlineSize: "sizes";
|
1285
|
+
minWidth: "sizes";
|
1286
|
+
maxWidth: "sizes";
|
1287
|
+
minHeight: "sizes";
|
1288
|
+
maxHeight: "sizes";
|
1289
|
+
flexBasis: "sizes";
|
1290
|
+
gridTemplateColumns: "sizes";
|
1291
|
+
gridTemplateRows: "sizes";
|
1292
|
+
borderWidth: "borderWidths";
|
1293
|
+
borderTopWidth: "borderWidths";
|
1294
|
+
borderLeftWidth: "borderWidths";
|
1295
|
+
borderRightWidth: "borderWidths";
|
1296
|
+
borderBottomWidth: "borderWidths";
|
1297
|
+
borderStyle: "borderStyles";
|
1298
|
+
borderTopStyle: "borderStyles";
|
1299
|
+
borderLeftStyle: "borderStyles";
|
1300
|
+
borderRightStyle: "borderStyles";
|
1301
|
+
borderBottomStyle: "borderStyles";
|
1302
|
+
borderRadius: "radii";
|
1303
|
+
borderTopLeftRadius: "radii";
|
1304
|
+
borderTopRightRadius: "radii";
|
1305
|
+
borderBottomRightRadius: "radii";
|
1306
|
+
borderBottomLeftRadius: "radii";
|
1307
|
+
boxShadow: "shadows";
|
1308
|
+
textShadow: "shadows";
|
1309
|
+
transition: "transitions";
|
1310
|
+
zIndex: "zIndices";
|
1311
|
+
}, {}>>;
|
1312
|
+
interface SelectUIProps extends ComponentProps<typeof SelectUI> {
|
1313
|
+
size?: 'sm' | 'md' | 'lg';
|
1314
|
+
}
|
1315
|
+
|
1316
|
+
interface Item {
|
1317
|
+
id: string;
|
1318
|
+
label: string;
|
1319
|
+
value: string;
|
1320
|
+
}
|
1321
|
+
interface SelectProps {
|
1322
|
+
items: Item[];
|
1323
|
+
placeholder?: string;
|
1324
|
+
}
|
1325
|
+
declare function Select({ size, placeholder, items, ...props }: SelectUIProps & SelectProps): react_jsx_runtime.JSX.Element;
|
1326
|
+
declare namespace Select {
|
1327
|
+
var displayName: string;
|
1328
|
+
}
|
1329
|
+
|
1108
1330
|
declare const TextUI: _stitches_react_types_styled_component.StyledComponent<"p", {
|
1109
1331
|
size?: "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
1110
1332
|
}, {}, _stitches_react_types_css_util.CSS<{}, {
|
@@ -3417,4 +3639,4 @@ declare const config: {
|
|
3417
3639
|
utils: {};
|
3418
3640
|
};
|
3419
3641
|
|
3420
|
-
export { Box, Button, CheckBox, Heading, Radio, Text, TextArea, TextInput, type TextInputProps, config, createTheme, css, getCssText, globalCss, keyframes, styled, theme };
|
3642
|
+
export { Box, Button, CheckBox, Heading, Radio, Select, Text, TextArea, TextInput, type TextInputProps, config, createTheme, css, getCssText, globalCss, keyframes, styled, theme };
|
package/dist/index.d.ts
CHANGED
@@ -658,13 +658,14 @@ declare const CheckBoxUI: _stitches_react_types_styled_component.StyledComponent
|
|
658
658
|
}, {}>>;
|
659
659
|
interface CheckboxIUProps extends ComponentProps<typeof CheckBoxUI> {
|
660
660
|
size?: 'sm' | 'md' | 'lg';
|
661
|
+
disabled?: boolean;
|
661
662
|
}
|
662
663
|
|
663
664
|
interface CheckboxProps {
|
664
665
|
id: string;
|
665
666
|
label: string;
|
666
667
|
}
|
667
|
-
declare function CheckBox({ id, label, size, ...props }: CheckboxIUProps & CheckboxProps): react_jsx_runtime.JSX.Element;
|
668
|
+
declare function CheckBox({ id, label, size, disabled, ...props }: CheckboxIUProps & CheckboxProps): react_jsx_runtime.JSX.Element;
|
668
669
|
declare namespace CheckBox {
|
669
670
|
var displayName: string;
|
670
671
|
}
|
@@ -1092,19 +1093,240 @@ interface RadioUIProps extends ComponentProps<typeof RadioUI> {
|
|
1092
1093
|
size?: 'sm' | 'md' | 'lg';
|
1093
1094
|
}
|
1094
1095
|
|
1095
|
-
interface Item {
|
1096
|
+
interface Item$1 {
|
1096
1097
|
id: string;
|
1097
1098
|
label: string;
|
1098
1099
|
value: string;
|
1100
|
+
disabled: boolean;
|
1099
1101
|
}
|
1100
1102
|
interface RadioGroupProps extends RadioUIProps {
|
1101
|
-
items: Item[];
|
1103
|
+
items: Item$1[];
|
1102
1104
|
}
|
1103
|
-
declare function Radio({ items, size, ...props }: RadioGroupProps): react_jsx_runtime.JSX.Element;
|
1105
|
+
declare function Radio({ items, size, disabled, ...props }: RadioGroupProps): react_jsx_runtime.JSX.Element;
|
1104
1106
|
declare namespace Radio {
|
1105
1107
|
var displayName: string;
|
1106
1108
|
}
|
1107
1109
|
|
1110
|
+
declare const SelectUI: _stitches_react_types_styled_component.StyledComponent<"select", {
|
1111
|
+
size?: "sm" | "md" | "lg" | undefined;
|
1112
|
+
}, {}, _stitches_react_types_css_util.CSS<{}, {
|
1113
|
+
colors: {
|
1114
|
+
white: string;
|
1115
|
+
black: string;
|
1116
|
+
gray100: string;
|
1117
|
+
gray200: string;
|
1118
|
+
gray400: string;
|
1119
|
+
gray800: string;
|
1120
|
+
dafaz100: string;
|
1121
|
+
dafaz200: string;
|
1122
|
+
dafaz400: string;
|
1123
|
+
dafaz600: string;
|
1124
|
+
dafaz800: string;
|
1125
|
+
};
|
1126
|
+
fontSizes: {
|
1127
|
+
xxs: string;
|
1128
|
+
xs: string;
|
1129
|
+
sm: string;
|
1130
|
+
md: string;
|
1131
|
+
lg: string;
|
1132
|
+
xl: string;
|
1133
|
+
'2xl': string;
|
1134
|
+
};
|
1135
|
+
fontWeights: {
|
1136
|
+
regular: string;
|
1137
|
+
medium: string;
|
1138
|
+
bold: string;
|
1139
|
+
};
|
1140
|
+
fonts: {
|
1141
|
+
default: string;
|
1142
|
+
app: string;
|
1143
|
+
web: string;
|
1144
|
+
offer: string;
|
1145
|
+
code: string;
|
1146
|
+
};
|
1147
|
+
lineHeights: {
|
1148
|
+
shorter: string;
|
1149
|
+
short: string;
|
1150
|
+
base: string;
|
1151
|
+
tall: string;
|
1152
|
+
};
|
1153
|
+
radii: {
|
1154
|
+
px: string;
|
1155
|
+
sm: string;
|
1156
|
+
md: string;
|
1157
|
+
full: string;
|
1158
|
+
};
|
1159
|
+
space: {
|
1160
|
+
1: string;
|
1161
|
+
2: string;
|
1162
|
+
3: string;
|
1163
|
+
4: string;
|
1164
|
+
5: string;
|
1165
|
+
6: string;
|
1166
|
+
7: string;
|
1167
|
+
8: string;
|
1168
|
+
10: string;
|
1169
|
+
12: string;
|
1170
|
+
16: string;
|
1171
|
+
20: string;
|
1172
|
+
40: string;
|
1173
|
+
64: string;
|
1174
|
+
80: string;
|
1175
|
+
};
|
1176
|
+
opacities: {
|
1177
|
+
opacity400: string;
|
1178
|
+
opacity600: string;
|
1179
|
+
opacity800: string;
|
1180
|
+
opacity900: string;
|
1181
|
+
};
|
1182
|
+
}, {
|
1183
|
+
height: "space";
|
1184
|
+
width: "space";
|
1185
|
+
gap: "space";
|
1186
|
+
gridGap: "space";
|
1187
|
+
columnGap: "space";
|
1188
|
+
gridColumnGap: "space";
|
1189
|
+
rowGap: "space";
|
1190
|
+
gridRowGap: "space";
|
1191
|
+
inset: "space";
|
1192
|
+
insetBlock: "space";
|
1193
|
+
insetBlockEnd: "space";
|
1194
|
+
insetBlockStart: "space";
|
1195
|
+
insetInline: "space";
|
1196
|
+
insetInlineEnd: "space";
|
1197
|
+
insetInlineStart: "space";
|
1198
|
+
margin: "space";
|
1199
|
+
marginTop: "space";
|
1200
|
+
marginRight: "space";
|
1201
|
+
marginBottom: "space";
|
1202
|
+
marginLeft: "space";
|
1203
|
+
marginBlock: "space";
|
1204
|
+
marginBlockEnd: "space";
|
1205
|
+
marginBlockStart: "space";
|
1206
|
+
marginInline: "space";
|
1207
|
+
marginInlineEnd: "space";
|
1208
|
+
marginInlineStart: "space";
|
1209
|
+
padding: "space";
|
1210
|
+
paddingTop: "space";
|
1211
|
+
paddingRight: "space";
|
1212
|
+
paddingBottom: "space";
|
1213
|
+
paddingLeft: "space";
|
1214
|
+
paddingBlock: "space";
|
1215
|
+
paddingBlockEnd: "space";
|
1216
|
+
paddingBlockStart: "space";
|
1217
|
+
paddingInline: "space";
|
1218
|
+
paddingInlineEnd: "space";
|
1219
|
+
paddingInlineStart: "space";
|
1220
|
+
scrollMargin: "space";
|
1221
|
+
scrollMarginTop: "space";
|
1222
|
+
scrollMarginRight: "space";
|
1223
|
+
scrollMarginBottom: "space";
|
1224
|
+
scrollMarginLeft: "space";
|
1225
|
+
scrollMarginBlock: "space";
|
1226
|
+
scrollMarginBlockEnd: "space";
|
1227
|
+
scrollMarginBlockStart: "space";
|
1228
|
+
scrollMarginInline: "space";
|
1229
|
+
scrollMarginInlineEnd: "space";
|
1230
|
+
scrollMarginInlineStart: "space";
|
1231
|
+
scrollPadding: "space";
|
1232
|
+
scrollPaddingTop: "space";
|
1233
|
+
scrollPaddingRight: "space";
|
1234
|
+
scrollPaddingBottom: "space";
|
1235
|
+
scrollPaddingLeft: "space";
|
1236
|
+
scrollPaddingBlock: "space";
|
1237
|
+
scrollPaddingBlockEnd: "space";
|
1238
|
+
scrollPaddingBlockStart: "space";
|
1239
|
+
scrollPaddingInline: "space";
|
1240
|
+
scrollPaddingInlineEnd: "space";
|
1241
|
+
scrollPaddingInlineStart: "space";
|
1242
|
+
top: "space";
|
1243
|
+
right: "space";
|
1244
|
+
bottom: "space";
|
1245
|
+
left: "space";
|
1246
|
+
fontSize: "fontSizes";
|
1247
|
+
background: "colors";
|
1248
|
+
backgroundColor: "colors";
|
1249
|
+
backgroundImage: "colors";
|
1250
|
+
borderImage: "colors";
|
1251
|
+
border: "colors";
|
1252
|
+
borderBlock: "colors";
|
1253
|
+
borderBlockEnd: "colors";
|
1254
|
+
borderBlockStart: "colors";
|
1255
|
+
borderBottom: "colors";
|
1256
|
+
borderBottomColor: "colors";
|
1257
|
+
borderColor: "colors";
|
1258
|
+
borderInline: "colors";
|
1259
|
+
borderInlineEnd: "colors";
|
1260
|
+
borderInlineStart: "colors";
|
1261
|
+
borderLeft: "colors";
|
1262
|
+
borderLeftColor: "colors";
|
1263
|
+
borderRight: "colors";
|
1264
|
+
borderRightColor: "colors";
|
1265
|
+
borderTop: "colors";
|
1266
|
+
borderTopColor: "colors";
|
1267
|
+
caretColor: "colors";
|
1268
|
+
color: "colors";
|
1269
|
+
columnRuleColor: "colors";
|
1270
|
+
outline: "colors";
|
1271
|
+
outlineColor: "colors";
|
1272
|
+
fill: "colors";
|
1273
|
+
stroke: "colors";
|
1274
|
+
textDecorationColor: "colors";
|
1275
|
+
fontFamily: "fonts";
|
1276
|
+
fontWeight: "fontWeights";
|
1277
|
+
lineHeight: "lineHeights";
|
1278
|
+
letterSpacing: "letterSpacings";
|
1279
|
+
blockSize: "sizes";
|
1280
|
+
minBlockSize: "sizes";
|
1281
|
+
maxBlockSize: "sizes";
|
1282
|
+
inlineSize: "sizes";
|
1283
|
+
minInlineSize: "sizes";
|
1284
|
+
maxInlineSize: "sizes";
|
1285
|
+
minWidth: "sizes";
|
1286
|
+
maxWidth: "sizes";
|
1287
|
+
minHeight: "sizes";
|
1288
|
+
maxHeight: "sizes";
|
1289
|
+
flexBasis: "sizes";
|
1290
|
+
gridTemplateColumns: "sizes";
|
1291
|
+
gridTemplateRows: "sizes";
|
1292
|
+
borderWidth: "borderWidths";
|
1293
|
+
borderTopWidth: "borderWidths";
|
1294
|
+
borderLeftWidth: "borderWidths";
|
1295
|
+
borderRightWidth: "borderWidths";
|
1296
|
+
borderBottomWidth: "borderWidths";
|
1297
|
+
borderStyle: "borderStyles";
|
1298
|
+
borderTopStyle: "borderStyles";
|
1299
|
+
borderLeftStyle: "borderStyles";
|
1300
|
+
borderRightStyle: "borderStyles";
|
1301
|
+
borderBottomStyle: "borderStyles";
|
1302
|
+
borderRadius: "radii";
|
1303
|
+
borderTopLeftRadius: "radii";
|
1304
|
+
borderTopRightRadius: "radii";
|
1305
|
+
borderBottomRightRadius: "radii";
|
1306
|
+
borderBottomLeftRadius: "radii";
|
1307
|
+
boxShadow: "shadows";
|
1308
|
+
textShadow: "shadows";
|
1309
|
+
transition: "transitions";
|
1310
|
+
zIndex: "zIndices";
|
1311
|
+
}, {}>>;
|
1312
|
+
interface SelectUIProps extends ComponentProps<typeof SelectUI> {
|
1313
|
+
size?: 'sm' | 'md' | 'lg';
|
1314
|
+
}
|
1315
|
+
|
1316
|
+
interface Item {
|
1317
|
+
id: string;
|
1318
|
+
label: string;
|
1319
|
+
value: string;
|
1320
|
+
}
|
1321
|
+
interface SelectProps {
|
1322
|
+
items: Item[];
|
1323
|
+
placeholder?: string;
|
1324
|
+
}
|
1325
|
+
declare function Select({ size, placeholder, items, ...props }: SelectUIProps & SelectProps): react_jsx_runtime.JSX.Element;
|
1326
|
+
declare namespace Select {
|
1327
|
+
var displayName: string;
|
1328
|
+
}
|
1329
|
+
|
1108
1330
|
declare const TextUI: _stitches_react_types_styled_component.StyledComponent<"p", {
|
1109
1331
|
size?: "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
1110
1332
|
}, {}, _stitches_react_types_css_util.CSS<{}, {
|
@@ -3417,4 +3639,4 @@ declare const config: {
|
|
3417
3639
|
utils: {};
|
3418
3640
|
};
|
3419
3641
|
|
3420
|
-
export { Box, Button, CheckBox, Heading, Radio, Text, TextArea, TextInput, type TextInputProps, config, createTheme, css, getCssText, globalCss, keyframes, styled, theme };
|
3642
|
+
export { Box, Button, CheckBox, Heading, Radio, Select, Text, TextArea, TextInput, type TextInputProps, config, createTheme, css, getCssText, globalCss, keyframes, styled, theme };
|