@butternutbox/pawprint-native 0.13.0 → 0.14.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/dist/index.d.cts CHANGED
@@ -417,7 +417,7 @@ type IconButtonProps = IconButtonOwnProps & Omit<PressableProps, keyof IconButto
417
417
  */
418
418
  declare const IconButton: React.ForwardRefExoticComponent<IconButtonOwnProps & Omit<PressableProps, "children" | keyof IconButtonOwnProps> & React.RefAttributes<View>>;
419
419
 
420
- type IllustrationSize = "sm" | "lg" | "xl";
420
+ type IllustrationSize = "sm" | "lg" | "xl" | "xxl" | "xxxl";
421
421
  type PawprintIllustration$2 = React.ComponentType<{
422
422
  width?: number;
423
423
  height?: number;
@@ -440,7 +440,7 @@ type IllustrationProps = IllustrationOwnProps & Omit<ViewProps, keyof Illustrati
440
440
  * ```
441
441
  *
442
442
  * @param illustration - **(required)** Illustration component
443
- * @param size - *(optional)* Size variant: sm (default), lg, xl
443
+ * @param size - *(optional)* Size variant: sm (default), lg, xl, xxl, xxxl
444
444
  * @param aria-label - *(optional)* Accessible label
445
445
  */
446
446
  declare const Illustration: React.ForwardRefExoticComponent<IllustrationOwnProps & Omit<ViewProps, keyof IllustrationOwnProps> & React.RefAttributes<View>>;
package/dist/index.d.ts CHANGED
@@ -417,7 +417,7 @@ type IconButtonProps = IconButtonOwnProps & Omit<PressableProps, keyof IconButto
417
417
  */
418
418
  declare const IconButton: React.ForwardRefExoticComponent<IconButtonOwnProps & Omit<PressableProps, "children" | keyof IconButtonOwnProps> & React.RefAttributes<View>>;
419
419
 
420
- type IllustrationSize = "sm" | "lg" | "xl";
420
+ type IllustrationSize = "sm" | "lg" | "xl" | "xxl" | "xxxl";
421
421
  type PawprintIllustration$2 = React.ComponentType<{
422
422
  width?: number;
423
423
  height?: number;
@@ -440,7 +440,7 @@ type IllustrationProps = IllustrationOwnProps & Omit<ViewProps, keyof Illustrati
440
440
  * ```
441
441
  *
442
442
  * @param illustration - **(required)** Illustration component
443
- * @param size - *(optional)* Size variant: sm (default), lg, xl
443
+ * @param size - *(optional)* Size variant: sm (default), lg, xl, xxl, xxxl
444
444
  * @param aria-label - *(optional)* Accessible label
445
445
  */
446
446
  declare const Illustration: React.ForwardRefExoticComponent<IllustrationOwnProps & Omit<ViewProps, keyof IllustrationOwnProps> & React.RefAttributes<View>>;
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
- const { colour } = theme2.tokens.components.inputs;
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",