@onesy/ui-react 1.0.49 → 1.0.50
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/Icon/Icon.d.ts +3 -3
- package/esm/index.js +1 -1
- package/package.json +1 -1
- package/types.d.ts +2 -0
package/Icon/Icon.d.ts
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { TTone } from '@onesy/style-react';
|
3
|
-
import { IBaseElement } from '../types';
|
3
|
+
import { IBaseElement, ISizeExtendedAny } from '../types';
|
4
4
|
export declare const rtl_icons: string[];
|
5
|
-
export declare type IIcon = IBaseElement & {
|
6
|
-
size?:
|
5
|
+
export declare type IIcon = Omit<IBaseElement, 'size'> & {
|
6
|
+
size?: ISizeExtendedAny;
|
7
7
|
tone?: TTone;
|
8
8
|
viewBox?: string;
|
9
9
|
name?: string;
|
package/esm/index.js
CHANGED
package/package.json
CHANGED
package/types.d.ts
CHANGED
@@ -11,7 +11,9 @@ declare type Color = RGB | RGBA | HSL | HSLA | HEX;
|
|
11
11
|
export declare type IColor = 'default' | 'themed' | 'inverted' | 'inherit' | TPaletteVersion | Color;
|
12
12
|
export declare type IVersion = 'filled' | 'outlined' | 'outlined-without-background' | 'text';
|
13
13
|
export declare type ISize = 'small' | 'regular' | 'large';
|
14
|
+
export declare type ISizeExtended = 'very small' | 'small' | 'regular' | 'medium' | 'large' | 'very large';
|
14
15
|
export declare type ISizeAny = ISize | number;
|
16
|
+
export declare type ISizeExtendedAny = ISizeExtended | number;
|
15
17
|
export declare type IElevation = 0 | 1 | 2 | 3 | 4 | 6 | 8 | 9 | 12 | 16 | 24;
|
16
18
|
export declare type IElementReference = string | React.FC<any> | (React.ForwardRefExoticComponent<any>);
|
17
19
|
export declare type IElement = React.ReactNode | React.ReactNode[] | React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|