@kwantis-id3/frontend-library 1.0.0-rc.35 → 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,6 +1,8 @@
1
1
  export declare const AccordionGroup: import("@emotion/styled").StyledComponent<{
2
2
  theme?: import("@emotion/react").Theme;
3
3
  as?: React.ElementType;
4
+ } & {
5
+ $variant: "default" | "light";
4
6
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
5
7
  export declare const StyledAccordion: import("@emotion/styled").StyledComponent<{
6
8
  theme?: import("@emotion/react").Theme;
@@ -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,12 +147,14 @@ 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<{
154
154
  theme?: _emotion_react.Theme;
155
155
  as?: React.ElementType;
156
+ } & {
157
+ $variant: "default" | "light";
156
158
  }, react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
157
159
 
158
160
  type TAccordionProps = PropsWithChildren & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kwantis-id3/frontend-library",
3
- "version": "1.0.0-rc.35",
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",