sapo-components-ui-rn 1.0.19 → 1.0.20

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.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  export { ThemeColors } from "./styles/themes/tokens";
2
2
  export { CONSTANTS } from "./styles/themes/tokens";
3
+ export { ThemeColors as ThemeColorsProps } from "./types";
3
4
  export { useTheme, ThemeProvider, DefaultTheme, adaptNavigationTheme, } from "./core/theming";
4
5
  export * from "./styles/themes";
5
6
  export { default as shadow } from "./styles/shadow";
package/dist/types.d.ts CHANGED
@@ -13,7 +13,7 @@ export type Fonts = {
13
13
  };
14
14
  type Mode = "adaptive" | "exact";
15
15
  export type ThemeColors = {
16
- elevation: MD3ElevationColors;
16
+ elevation?: MD3ElevationColors;
17
17
  backgroundPrimary: string;
18
18
  backgroundSecondary: string;
19
19
  borderBrandDefault: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sapo-components-ui-rn",
3
- "version": "1.0.19",
3
+ "version": "1.0.20",
4
4
  "description": "React Native UI Components Library",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",
package/src/index.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  export { ThemeColors } from "./styles/themes/tokens";
2
2
  export { CONSTANTS } from "./styles/themes/tokens";
3
+ export { ThemeColors as ThemeColorsProps } from "./types";
3
4
  export {
4
5
  useTheme,
5
6
  ThemeProvider,
package/src/index.tsx CHANGED
@@ -1,5 +1,6 @@
1
1
  export { ThemeColors } from "./styles/themes/tokens";
2
2
  export { CONSTANTS } from "./styles/themes/tokens";
3
+ export { ThemeColors as ThemeColorsProps } from "./types";
3
4
  export {
4
5
  useTheme,
5
6
  ThemeProvider,
package/src/types.ts CHANGED
@@ -30,7 +30,7 @@ type Mode = "adaptive" | "exact";
30
30
 
31
31
  export type ThemeColors = {
32
32
 
33
- elevation: MD3ElevationColors;
33
+ elevation?: MD3ElevationColors;
34
34
  //background
35
35
  backgroundPrimary: string;
36
36
  backgroundSecondary: string;