@groupeactual/ui-kit 0.3.6 → 0.3.8
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/cjs/DesignSystemProvider.d.ts +2 -2
- package/dist/cjs/components/Button/Button.d.ts +1 -1
- package/dist/cjs/index.js +5943 -4725
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/DesignSystemProvider.d.ts +2 -2
- package/dist/esm/components/Button/Button.d.ts +1 -1
- package/dist/esm/index.js +5938 -4719
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +3 -3
- package/package.json +35 -32
- package/src/components/Accordion/Accordion.tsx +4 -5
- package/src/components/Form/TextField/TextField.tsx +4 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropsWithChildren } from 'react';
|
|
2
|
-
|
|
2
|
+
type Theme = 'Default' | 'Ep';
|
|
3
3
|
export interface DesignSystemContextValues {
|
|
4
4
|
isDarkTheme: boolean;
|
|
5
5
|
themeName: Theme;
|
|
@@ -9,5 +9,5 @@ export declare const DesignSystemContext: import("react").Context<DesignSystemCo
|
|
|
9
9
|
interface Props {
|
|
10
10
|
name?: Theme;
|
|
11
11
|
}
|
|
12
|
-
declare const DesignSystemProvider: ({ children, name }: PropsWithChildren<Props>) => JSX.Element;
|
|
12
|
+
declare const DesignSystemProvider: ({ children, name: themeName }: PropsWithChildren<Props>) => JSX.Element;
|
|
13
13
|
export default DesignSystemProvider;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { ButtonProps } from '@mui/material/Button';
|
|
3
|
-
|
|
3
|
+
type ActButtonType = (props: ButtonProps) => JSX.Element | null;
|
|
4
4
|
declare const ActButton: ActButtonType;
|
|
5
5
|
export default ActButton;
|