@via-profit/ui-kit 0.1.0-rc.15 → 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.
@@ -35,11 +35,11 @@ export interface ButtonBaseProps extends Omit<ButtonNativeProps, 'color'> {
35
35
  }
36
36
  export interface ButtonBaseOverrides {
37
37
  /**
38
- * Start icon wrapper
38
+ * Element container
39
39
  */
40
40
  readonly Container?: React.ForwardRefExoticComponent<ButtonContainerProps & React.RefAttributes<HTMLButtonElement>>;
41
41
  /**
42
- * Start icon wrapper
42
+ * icon wrapper
43
43
  */
44
44
  readonly IconWrapper?: React.ForwardRefExoticComponent<ButtonIconWrapperProps & React.RefAttributes<HTMLSpanElement>>;
45
45
  /**
@@ -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 interface UITheme {
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
- readonly zIndex: UIThemeOverrideZIndex;
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@via-profit/ui-kit",
3
- "version": "0.1.0-rc.15",
3
+ "version": "0.1.0-rc.17",
4
4
  "description": "UI Kit",
5
5
  "repository": {
6
6
  "type": "git",