@broxus/react-uikit 0.13.0 → 0.13.2
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/components/Flex/Flex.d.ts +2 -2
- package/dist/cjs/components/Text/index.d.ts +2 -2
- package/dist/cjs/tsconfig.cjs.tsbuildinfo +1 -1
- package/dist/esm/components/Flex/Flex.d.ts +2 -2
- package/dist/esm/components/Text/index.d.ts +2 -2
- package/dist/esm/tsconfig.esm.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -6,13 +6,13 @@ export type FlexAlignItems = 'stretch' | 'start' | 'center' | 'end';
|
|
|
6
6
|
export type FlexDirection = 'row' | 'row-reverse' | 'column' | 'column-reverse';
|
|
7
7
|
export type FlexWrap = 'wrap' | 'nowrap' | 'wrap-reverse';
|
|
8
8
|
export type FlexJustifyContent = 'start' | 'center' | 'end' | 'between' | 'around';
|
|
9
|
-
export
|
|
9
|
+
export interface FlexBreakpoint {
|
|
10
10
|
alignContent?: FlexAlignContent;
|
|
11
11
|
alignItems?: FlexAlignItems;
|
|
12
12
|
flexDirection?: FlexDirection;
|
|
13
13
|
flexWrap?: FlexWrap;
|
|
14
14
|
justifyContent?: FlexJustifyContent | BreakpointsConfig<FlexJustifyContent>;
|
|
15
|
-
}
|
|
15
|
+
}
|
|
16
16
|
export type FlexBreakpointsConfig = BreakpointsConfig<FlexBreakpoint>;
|
|
17
17
|
export interface FlexOwnProps extends FlexBreakpoint, FlexBreakpointsConfig {
|
|
18
18
|
inline?: boolean;
|
|
@@ -12,10 +12,10 @@ export type TextOwnProps = {
|
|
|
12
12
|
italic?: boolean;
|
|
13
13
|
kind?: 'meta' | 'lead' | 'base';
|
|
14
14
|
prefixCls?: string;
|
|
15
|
-
size?: 'xsmall' | 'small' | 'large';
|
|
15
|
+
size?: 'xsmall' | 'small' | 'medium' | 'large';
|
|
16
16
|
transform?: 'capitalize' | 'uppercase' | 'lowercase';
|
|
17
17
|
verticalAlign?: 'top' | 'middle' | 'bottom' | 'baseline';
|
|
18
|
-
weight?: 'thin' | 'light' | 'normal' | '
|
|
18
|
+
weight?: 'thin' | 'light' | 'normal' | 'semibold' | 'bold' | 'lighter' | 'bolder';
|
|
19
19
|
wrap?: 'truncate' | 'break' | 'nowrap';
|
|
20
20
|
};
|
|
21
21
|
export type TextProps<E extends React.ElementType = React.ElementType> = React.PropsWithChildren<TextOwnProps & PolymorphicProps<E>> & PolymorphicProps<E, TextOwnProps>;
|