@cube-dev/ui-kit 0.4.0 → 0.4.1

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.
@@ -2,6 +2,6 @@
2
2
  import THEMES from '../../../data/themes';
3
3
  import { BaseProps, ContainerStyleProps } from '../../types';
4
4
  export interface CubeBadgeProps extends BaseProps, ContainerStyleProps {
5
- type?: keyof typeof THEMES;
5
+ type?: keyof typeof THEMES | string;
6
6
  }
7
7
  export declare const Badge: import("react").ForwardRefExoticComponent<CubeBadgeProps & import("react").RefAttributes<unknown>>;
@@ -2,7 +2,7 @@
2
2
  import { Styles } from '../../../styles/types';
3
3
  import { BaseProps, ContainerStyleProps } from '../../types';
4
4
  export interface CubePlaceholderProps extends BaseProps, ContainerStyleProps {
5
- size?: Styles['size'];
5
+ size?: Styles['fontSize'];
6
6
  circle?: boolean;
7
7
  }
8
8
  export declare const Placeholder: import("react").ForwardRefExoticComponent<CubePlaceholderProps & import("react").RefAttributes<unknown>>;
@@ -36,7 +36,7 @@ export interface BasePropsWithoutChildren extends Pick<AllHTMLAttributes<HTMLEle
36
36
  }
37
37
  export interface BaseProps extends BasePropsWithoutChildren, Pick<AllHTMLAttributes<HTMLElementTagNameMap['div']>, 'children'> {
38
38
  }
39
- export interface AllBaseProps<K extends keyof HTMLElementTagNameMap = 'div'> extends BaseProps, Omit<AllHTMLAttributes<HTMLElementTagNameMap[K]>, 'style'> {
39
+ export interface AllBaseProps<K extends keyof HTMLElementTagNameMap = 'div'> extends BaseProps, Omit<AllHTMLAttributes<HTMLElementTagNameMap[K]>, 'style' | 'size'> {
40
40
  as?: string;
41
41
  }
42
42
  export declare type BaseStyleProps = Pick<Styles, typeof BASE_STYLES[number]>;
@@ -76,6 +76,7 @@ declare const PROPS: {
76
76
  'h5m-font-weight': string;
77
77
  'h6-font-size': string;
78
78
  'h6-line-height': string;
79
+ 'h6-font-weight': string;
79
80
  't1-font-size': string;
80
81
  't1-line-height': string;
81
82
  't1-letter-spacing': string;