@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 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?: 'very small' | 'small' | 'regular' | 'medium' | 'large' | 'very large' | number;
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
@@ -1,4 +1,4 @@
1
- /** @license UiReact v1.0.49
1
+ /** @license UiReact v1.0.50
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onesy/ui-react",
3
- "version": "1.0.49",
3
+ "version": "1.0.50",
4
4
  "description": "UI for React",
5
5
  "repository": "https://github.com/onesy-me/onesy.git",
6
6
  "author": "Lazar <lazareric2@gmail.com>",
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>>;