@bigbinary/neetoui-rn 0.0.198 → 0.0.199

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.
Files changed (2) hide show
  1. package/index.d.ts +17 -3
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -10,7 +10,7 @@ import {
10
10
  LayoutProps,
11
11
  PositionProps,
12
12
  ButtonStyleProps,
13
- TypographyProps,
13
+ TypographyProps as SSTypographyProps,
14
14
  } from "styled-system";
15
15
  import {
16
16
  ImageProps as RNImageProps,
@@ -71,7 +71,21 @@ interface StyleProps
71
71
  BorderProps,
72
72
  ColorProps,
73
73
  LayoutProps,
74
- PositionProps {}
74
+ PositionProps {
75
+ borderColor?: typeof theme.colors.border;
76
+ borderTopColor?: typeof theme.colors.border;
77
+ borderBottomColor?: typeof theme.colors.border;
78
+ borderLeftColor?: typeof theme.colors.border;
79
+ borderRightColor?: typeof theme.colors.border;
80
+ backgroundColor?: typeof theme.colors.background;
81
+ bg?: typeof theme.colors.background;
82
+ color?: typeof theme.colors.font;
83
+ }
84
+
85
+ interface TypographyProps extends SSTypographyProps {
86
+ fontFamily?: typeof theme.fonts;
87
+ fontSize?: typeof theme.fontSizes;
88
+ }
75
89
 
76
90
  interface ViewProps extends RNViewProps, StyleProps {
77
91
  children?: React.ReactNode;
@@ -383,7 +397,7 @@ interface SegmentedTopBarProps extends MaterialTopTabBarProps {
383
397
  }
384
398
 
385
399
  interface SelectProps
386
- extends Omit<MultiSelectProps, "value" | "selectedValue" | "deletedValue"> {
400
+ extends Omit<MultiSelectProps, "selectedValue" | "deletedValue"> {
387
401
  value: any;
388
402
  }
389
403
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigbinary/neetoui-rn",
3
- "version": "0.0.198",
3
+ "version": "0.0.199",
4
4
  "main": "lib/index.js",
5
5
  "author": "BigBinary",
6
6
  "license": "MIT",