@via-profit/ui-kit 0.1.0-rc.16 → 0.1.0-rc.17
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/Button/ButtonBase.d.ts
CHANGED
|
@@ -35,11 +35,11 @@ export interface ButtonBaseProps extends Omit<ButtonNativeProps, 'color'> {
|
|
|
35
35
|
}
|
|
36
36
|
export interface ButtonBaseOverrides {
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
38
|
+
* Element container
|
|
39
39
|
*/
|
|
40
40
|
readonly Container?: React.ForwardRefExoticComponent<ButtonContainerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
41
41
|
/**
|
|
42
|
-
*
|
|
42
|
+
* icon wrapper
|
|
43
43
|
*/
|
|
44
44
|
readonly IconWrapper?: React.ForwardRefExoticComponent<ButtonIconWrapperProps & React.RefAttributes<HTMLSpanElement>>;
|
|
45
45
|
/**
|
package/ThemeProvider/index.d.ts
CHANGED
|
@@ -3,13 +3,13 @@ import { useTheme } from '@emotion/react';
|
|
|
3
3
|
import type Color from '../Color';
|
|
4
4
|
export { useTheme };
|
|
5
5
|
export * from './createTheme';
|
|
6
|
-
export
|
|
6
|
+
export type UITheme = Required<Omit<UIThemeOverrides, 'isDark' | 'fontSize' | 'zIndex' | 'shape' | 'color'>> & {
|
|
7
7
|
readonly isDark: boolean;
|
|
8
8
|
readonly fontSize: Record<keyof UIThemeOverrideFontSize, number>;
|
|
9
9
|
readonly zIndex: Required<UIThemeOverrideZIndex>;
|
|
10
10
|
readonly color: Record<keyof UIThemeOverrideColor, Color>;
|
|
11
11
|
readonly shape: Required<UIThemeOverrideShape>;
|
|
12
|
-
}
|
|
12
|
+
};
|
|
13
13
|
export interface UIThemeOverrideColor {
|
|
14
14
|
readonly backgroundPrimary?: string;
|
|
15
15
|
readonly backgroundSecondary?: string;
|