@vitality-ds/system-react-native 4.12.0 → 4.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.
@@ -1,6 +1,5 @@
1
- /// <reference types="react" />
2
1
  import { ThemeProviderProps } from "../ThemeProvider/types";
3
- export declare type ProviderProps = {
2
+ export type ProviderProps = {
4
3
  children: React.ReactElement;
5
4
  config?: {
6
5
  theme: ThemeProviderProps["config"];
@@ -1,13 +1,13 @@
1
1
  import React from "react";
2
2
  import { Appearance } from "react-native";
3
- declare type Themes = NonNullable<Appearance.AppearancePreferences["colorScheme"]>;
4
- export declare type ThemeProviderProps = {
3
+ type Themes = NonNullable<Appearance.AppearancePreferences["colorScheme"]>;
4
+ export type ThemeProviderProps = {
5
5
  config?: {
6
6
  themeOverride?: Themes;
7
7
  };
8
8
  children: React.ReactElement;
9
9
  };
10
- export declare type UseTheme = {
10
+ export type UseTheme = {
11
11
  theme: Themes;
12
12
  setTheme: (newTheme: Themes) => void;
13
13
  useSystemTheme: () => void;
@@ -1,4 +1,4 @@
1
- declare type ExcludedStyleProps = {
1
+ type ExcludedStyleProps = {
2
2
  /**
3
3
  * @ignore
4
4
  */
@@ -8,7 +8,7 @@ declare type ExcludedStyleProps = {
8
8
  */
9
9
  style?: never;
10
10
  };
11
- declare type ExcludedStitchesProps = {
11
+ type ExcludedStitchesProps = {
12
12
  /**
13
13
  * @ignore
14
14
  */
@@ -22,5 +22,5 @@ declare type ExcludedStitchesProps = {
22
22
  */
23
23
  asChild?: never;
24
24
  };
25
- export declare type ExcludedProps = ExcludedStyleProps & ExcludedStitchesProps;
25
+ export type ExcludedProps = ExcludedStyleProps & ExcludedStitchesProps;
26
26
  export {};