@pushwoosh/dumb-components 1.0.20 → 1.0.22
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/FieldBox/FieldBox.js +1 -1
- package/FieldBox/types.d.ts +1 -1
- package/NumberPicker/styles.js +1 -1
- package/native/Textarea.d.ts +1 -0
- package/native/Textarea.js +7 -1
- package/package.json +1 -1
package/FieldBox/FieldBox.js
CHANGED
|
@@ -18,7 +18,7 @@ export function FieldBox(props) {
|
|
|
18
18
|
} = props;
|
|
19
19
|
return React.createElement(Vertical, {
|
|
20
20
|
"$gap": Spacing.S1
|
|
21
|
-
}, React.createElement(Horizontal, {
|
|
21
|
+
}, title && React.createElement(Horizontal, {
|
|
22
22
|
"$alignItems": "center",
|
|
23
23
|
"$justifyContent": "space-between"
|
|
24
24
|
}, React.createElement(TitleBox, null, React.createElement(Text, {
|
package/FieldBox/types.d.ts
CHANGED
package/NumberPicker/styles.js
CHANGED
|
@@ -5,7 +5,7 @@ export const InputStyled = styled.input.attrs({
|
|
|
5
5
|
}).withConfig({
|
|
6
6
|
displayName: "InputStyled",
|
|
7
7
|
componentId: "sc-vq8xnz-0"
|
|
8
|
-
})(["
|
|
8
|
+
})(["width:100%;&:disabled{background-color:", ";}"], Color.FROZEN);
|
|
9
9
|
export const Hint = styled.div.withConfig({
|
|
10
10
|
displayName: "Hint",
|
|
11
11
|
componentId: "sc-vq8xnz-1"
|
package/native/Textarea.d.ts
CHANGED
package/native/Textarea.js
CHANGED
|
@@ -3,6 +3,12 @@ import { Color, FontSize, LineHeight, Spacing, ShapeRadius } from '@pushwoosh/ki
|
|
|
3
3
|
export const NativeTextarea = styled.textarea.withConfig({
|
|
4
4
|
displayName: "NativeTextarea",
|
|
5
5
|
componentId: "sc-1xe83i4-0"
|
|
6
|
-
})(["min-height:56px;padding:", " ", ";border:1px solid ", ";border-radius:", ";font-size:", ";line-height:", ";background-color:", ";&:focus{outline:none;border-color:", ";}&:disabled{background-color:", ";}&::placeholder{color:", ";}"],
|
|
6
|
+
})(["width:", ";min-width:", ";max-width:", ";min-height:56px;padding:", " ", ";border:1px solid ", ";border-radius:", ";font-size:", ";line-height:", ";background-color:", ";&:focus{outline:none;border-color:", ";}&:disabled{background-color:", ";}&::placeholder{color:", ";}"], ({
|
|
7
|
+
$width
|
|
8
|
+
}) => $width || '100%', ({
|
|
9
|
+
$width
|
|
10
|
+
}) => $width || '180px', ({
|
|
11
|
+
$width
|
|
12
|
+
}) => $width || '100%', Spacing.S3, Spacing.S4, ({
|
|
7
13
|
$isErrored
|
|
8
14
|
}) => $isErrored ? Color.DANGER : Color.FORM, ShapeRadius.CONTROL, FontSize.REGULAR, LineHeight.REGULAR, Color.CLEAR, Color.BRIGHT, Color.FROZEN, Color.PHANTOM);
|