@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.
@@ -7,12 +7,12 @@
7
7
  CJS Build start
8
8
  ESM Build start
9
9
  DTS Build start
10
- ESM dist/index.js 498.51 KB
10
+ ESM dist/index.js 498.99 KB
11
11
  ESM dist/index.js.map 1.01 MB
12
- ESM ⚡️ Build success in 7655ms
13
- CJS dist/index.cjs 527.91 KB
12
+ ESM ⚡️ Build success in 6117ms
13
+ CJS dist/index.cjs 528.39 KB
14
14
  CJS dist/index.cjs.map 1.01 MB
15
- CJS ⚡️ Build success in 7657ms
16
- DTS ⚡️ Build success in 21826ms
15
+ CJS ⚡️ Build success in 6119ms
16
+ DTS ⚡️ Build success in 18337ms
17
17
  DTS dist/index.d.cts 94.97 KB
18
18
  DTS dist/index.d.ts 94.97 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @butternutbox/pawprint-native
2
2
 
3
+ ## 0.13.1
4
+
5
+ ### Patch Changes
6
+
7
+ - e925ae4: Fix `TextArea` rendering entered text in the OS system font instead of the brand font. `StyledTextArea` now resolves `fontFamily`/`fontSize`/`letterSpacing` from the input placeholder typography tokens (matching `Input`'s `StyledInput`), so text areas render in IBM Plex Sans Condensed.
8
+
3
9
  ## 0.13.0
4
10
 
5
11
  ### Minor Changes
package/dist/index.cjs CHANGED
@@ -4728,13 +4728,24 @@ var StyledTextAreaWrapper = styled51__default.default(reactNative.Animated.View)
4728
4728
  };
4729
4729
  });
4730
4730
  var StyledTextArea = styled51__default.default(reactNative.TextInput)(({ theme: theme2 }) => {
4731
- const { colour } = theme2.tokens.components.inputs;
4731
+ var _a, _b;
4732
+ const { colour, field } = theme2.tokens.components.inputs;
4733
+ const typography = field.placeholder.default;
4734
+ const { fontFamily } = resolveFont(
4735
+ typography.fontFamily,
4736
+ typography.fontWeight
4737
+ );
4738
+ const fontSize = parseTokenValue19(typography.fontSize);
4739
+ const letterSpacing = ((_a = typography.letterSpacing) == null ? void 0 : _a.endsWith("%")) ? parseFloat(typography.letterSpacing) / 100 * fontSize : parseFloat((_b = typography.letterSpacing) != null ? _b : "0");
4732
4740
  return __spreadValues({
4733
4741
  flex: 1,
4734
4742
  minWidth: 0,
4735
4743
  minHeight: 0,
4736
4744
  padding: 0,
4737
4745
  color: colour.field.text.default,
4746
+ fontFamily,
4747
+ fontSize,
4748
+ letterSpacing,
4738
4749
  textAlignVertical: "top"
4739
4750
  }, {
4740
4751
  outlineStyle: "none",