@blockchain-com/constellation
Advanced tools
Comparing version 0.0.30 to 0.0.31
import { ComponentMeta, ComponentStory } from '@storybook/react'; | ||
import React from 'react'; | ||
import Icon from '.'; | ||
declare const meta: ComponentMeta<React.MemoExoticComponent<({ children, color, label, size, ...props }: import("./types").IconComponentProps) => JSX.Element>>; | ||
declare const meta: ComponentMeta<React.MemoExoticComponent<({ children, color, label, size }: import("./types").IconComponentProps) => JSX.Element>>; | ||
declare const Default: ComponentStory<typeof Icon>; | ||
@@ -6,0 +6,0 @@ export default meta; |
import React from 'react'; | ||
import { IconComponentProps } from './types'; | ||
declare const _default: React.MemoExoticComponent<({ children, color, label, size, ...props }: IconComponentProps) => JSX.Element>; | ||
declare const _default: React.MemoExoticComponent<({ children, color, label, size }: IconComponentProps) => JSX.Element>; | ||
export default _default; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -1,5 +0,5 @@ | ||
import { HTMLProps } from 'react'; | ||
/// <reference types="react" /> | ||
import { ColorKeysType } from '../../colors/types'; | ||
export declare type IconSizesType = 'sm' | 'md' | 'lg'; | ||
export declare type IconComponentProps = Omit<HTMLProps<HTMLDivElement>, 'ref' | 'as' | 'css' | 'size'> & { | ||
export declare type IconComponentProps = { | ||
children: JSX.Element; | ||
@@ -6,0 +6,0 @@ color?: ColorKeysType; |
import { ComponentMeta, ComponentStory } from '@storybook/react'; | ||
import React from 'react'; | ||
import Icon from '.'; | ||
declare const meta: ComponentMeta<React.MemoExoticComponent<({ children, color, label, size, ...props }: import("./types").IconComponentProps) => JSX.Element>>; | ||
declare const meta: ComponentMeta<React.MemoExoticComponent<({ children, color, label, size }: import("./types").IconComponentProps) => JSX.Element>>; | ||
declare const Default: ComponentStory<typeof Icon>; | ||
@@ -6,0 +6,0 @@ export default meta; |
import React from 'react'; | ||
import { IconComponentProps } from './types'; | ||
declare const _default: React.MemoExoticComponent<({ children, color, label, size, ...props }: IconComponentProps) => JSX.Element>; | ||
declare const _default: React.MemoExoticComponent<({ children, color, label, size }: IconComponentProps) => JSX.Element>; | ||
export default _default; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -1,5 +0,5 @@ | ||
import { HTMLProps } from 'react'; | ||
/// <reference types="react" /> | ||
import { ColorKeysType } from '../../colors/types'; | ||
export declare type IconSizesType = 'sm' | 'md' | 'lg'; | ||
export declare type IconComponentProps = Omit<HTMLProps<HTMLDivElement>, 'ref' | 'as' | 'css' | 'size'> & { | ||
export declare type IconComponentProps = { | ||
children: JSX.Element; | ||
@@ -6,0 +6,0 @@ color?: ColorKeysType; |
@@ -121,3 +121,3 @@ /// <reference types="react" /> | ||
declare type IconSizesType = 'sm' | 'md' | 'lg'; | ||
declare type IconComponentProps = Omit<HTMLProps<HTMLDivElement>, 'ref' | 'as' | 'css' | 'size'> & { | ||
declare type IconComponentProps = { | ||
children: JSX.Element; | ||
@@ -129,3 +129,3 @@ color?: ColorKeysType; | ||
declare const _default$3: react__default.MemoExoticComponent<({ children, color, label, size, ...props }: IconComponentProps) => JSX.Element>; | ||
declare const _default$3: react__default.MemoExoticComponent<({ children, color, label, size }: IconComponentProps) => JSX.Element>; | ||
//# sourceMappingURL=index.d.ts.map | ||
@@ -132,0 +132,0 @@ |
{ | ||
"name": "@blockchain-com/constellation", | ||
"version": "0.0.30", | ||
"version": "0.0.31", | ||
"license": "MIT", | ||
@@ -37,3 +37,3 @@ "main": "dist/cjs/index.js", | ||
"@babel/runtime": "7.16.7", | ||
"@blockchain-com/icons": "0.0.1", | ||
"@blockchain-com/icons": "0.0.2", | ||
"@rollup/plugin-babel": "5.3.0", | ||
@@ -40,0 +40,0 @@ "@rollup/plugin-commonjs": "21.0.1", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1124300
6470