@kwantis-id3/frontend-library 1.0.0-rc.36 → 1.0.0-rc.37

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,7 +1,7 @@
1
- import { PropsWithChildren, ReactNode } from "react";
1
+ import { PropsWithChildren, ReactElement } from "react";
2
2
  import { ICommonColors, IPalette, IThemeContextProps, IThemeContextValue } from "./ThemeInterfaces";
3
3
  export declare const commonColors: ICommonColors;
4
4
  export declare const defaultLightPalette: IPalette;
5
5
  export declare const defaultDarkPalette: IPalette;
6
- export declare const ThemeContextProvider: ({ palettes, defaultMode, children, }: PropsWithChildren<IThemeContextProps>) => ReactNode;
6
+ export declare const ThemeContextProvider: ({ palettes, defaultMode, children, }: PropsWithChildren<IThemeContextProps>) => ReactElement;
7
7
  export declare const useThemeContext: () => IThemeContextValue;
package/dist/index.d.ts CHANGED
@@ -3,7 +3,7 @@ import * as _emotion_react from '@emotion/react';
3
3
  import { Interpolation, Theme as Theme$1 } from '@emotion/react';
4
4
  import { Theme } from '@emotion/react/dist/declarations/src';
5
5
  import * as react from 'react';
6
- import { PropsWithChildren, ReactNode, FC } from 'react';
6
+ import { PropsWithChildren, ReactElement, FC, ReactNode } from 'react';
7
7
  import * as _emotion_styled from '@emotion/styled';
8
8
  import { CreateStyled } from '@emotion/styled';
9
9
  import { ColumnDef } from '@tanstack/react-table';
@@ -147,7 +147,7 @@ interface IThemeContextValue {
147
147
  declare const commonColors: ICommonColors;
148
148
  declare const defaultLightPalette: IPalette;
149
149
  declare const defaultDarkPalette: IPalette;
150
- declare const ThemeContextProvider: ({ palettes, defaultMode, children, }: PropsWithChildren<IThemeContextProps>) => ReactNode;
150
+ declare const ThemeContextProvider: ({ palettes, defaultMode, children, }: PropsWithChildren<IThemeContextProps>) => ReactElement;
151
151
  declare const useThemeContext: () => IThemeContextValue;
152
152
 
153
153
  declare const AccordionGroup: _emotion_styled.StyledComponent<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kwantis-id3/frontend-library",
3
- "version": "1.0.0-rc.36",
3
+ "version": "1.0.0-rc.37",
4
4
  "description": "Kwantis frontend components collection",
5
5
  "scriptsComments": {
6
6
  "storybook": "Starts storybook in development mode",