@butternutbox/pawprint-native 0.13.0 → 0.13.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 +5 -5
- package/CHANGELOG.md +6 -0
- package/dist/index.cjs +12 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +12 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/TextArea/TextAreaField.tsx +15 -1
package/dist/index.js
CHANGED
|
@@ -4690,13 +4690,24 @@ var StyledTextAreaWrapper = styled51(Animated.View)(({ theme: theme2, isDisabled
|
|
|
4690
4690
|
};
|
|
4691
4691
|
});
|
|
4692
4692
|
var StyledTextArea = styled51(TextInput)(({ theme: theme2 }) => {
|
|
4693
|
-
|
|
4693
|
+
var _a, _b;
|
|
4694
|
+
const { colour, field } = theme2.tokens.components.inputs;
|
|
4695
|
+
const typography = field.placeholder.default;
|
|
4696
|
+
const { fontFamily } = resolveFont(
|
|
4697
|
+
typography.fontFamily,
|
|
4698
|
+
typography.fontWeight
|
|
4699
|
+
);
|
|
4700
|
+
const fontSize = parseTokenValue19(typography.fontSize);
|
|
4701
|
+
const letterSpacing = ((_a = typography.letterSpacing) == null ? void 0 : _a.endsWith("%")) ? parseFloat(typography.letterSpacing) / 100 * fontSize : parseFloat((_b = typography.letterSpacing) != null ? _b : "0");
|
|
4694
4702
|
return __spreadValues({
|
|
4695
4703
|
flex: 1,
|
|
4696
4704
|
minWidth: 0,
|
|
4697
4705
|
minHeight: 0,
|
|
4698
4706
|
padding: 0,
|
|
4699
4707
|
color: colour.field.text.default,
|
|
4708
|
+
fontFamily,
|
|
4709
|
+
fontSize,
|
|
4710
|
+
letterSpacing,
|
|
4700
4711
|
textAlignVertical: "top"
|
|
4701
4712
|
}, {
|
|
4702
4713
|
outlineStyle: "none",
|