@myinterview/component-library
Advanced tools
Comparing version 1.0.49 to 1.0.50-beta-45c63ba
import React from 'react'; | ||
import './button.scss'; | ||
import { IColors, IBackgroundColors, ISizes } from '../../interfaces/variables'; | ||
import { IColors, IBackgroundColors, IButtonSizes } from '../../interfaces/variables'; | ||
export interface IButton extends React.ButtonHTMLAttributes<HTMLButtonElement> { | ||
children: React.ReactChild; | ||
size?: ISizes; | ||
size?: IButtonSizes; | ||
backgroundColor?: IBackgroundColors; | ||
@@ -8,0 +8,0 @@ color?: IColors; |
@@ -6,1 +6,4 @@ import React from 'react'; | ||
export declare const ButtonPrimary: ComponentStory<React.ForwardRefExoticComponent<import("./Button").IButton & React.RefAttributes<HTMLButtonElement>>>; | ||
export declare const ButtonPrimarySmall: ComponentStory<React.ForwardRefExoticComponent<import("./Button").IButton & React.RefAttributes<HTMLButtonElement>>>; | ||
export declare const ButtonSecondary: ComponentStory<React.ForwardRefExoticComponent<import("./ButtonSecondary").IButton & React.RefAttributes<HTMLButtonElement>>>; | ||
export declare const ButtonSecondarySmall: ComponentStory<React.ForwardRefExoticComponent<import("./ButtonSecondary").IButton & React.RefAttributes<HTMLButtonElement>>>; |
import React from 'react'; | ||
import './text.scss'; | ||
import { IBodySizes, IColors, IDisplaySizes, IHeaderSizes } from '../../interfaces/variables'; | ||
import { IColors, ITextSizes } from '../../interfaces/variables'; | ||
export interface IText extends React.HTMLAttributes<HTMLElement> { | ||
children: string | any; | ||
size?: IDisplaySizes | IHeaderSizes | IBodySizes; | ||
size?: ITextSizes; | ||
fontStyle?: 'italic'; | ||
@@ -8,0 +8,0 @@ color?: IColors; |
import { Story, Meta } from '@storybook/react/types-6-0'; | ||
import { IText } from './Text'; | ||
import { IBodySizes, IDisplaySizes, IHeaderSizes } from '../../interfaces/variables'; | ||
import { ITextSizes } from '../../interfaces/variables'; | ||
declare const _default: Meta<import("@storybook/react/types-6-0").Args>; | ||
export default _default; | ||
interface ITemplateSizes extends IText { | ||
list: IDisplaySizes[] | IHeaderSizes[] | IBodySizes[]; | ||
} | ||
export declare const DisplaySizes: Story<ITemplateSizes>; | ||
export declare const HeaderSizes: Story<ITemplateSizes>; | ||
export declare const BodySizes: Story<ITemplateSizes>; | ||
export declare const Regular: Story<IText>; | ||
export declare const SemiBold: Story<IText>; | ||
declare const textSizes: ITextSizes[]; | ||
export declare const allTextSizes: Story<{ | ||
textSizes: typeof textSizes; | ||
}>; |
export declare type IColors = 'primary' | 'secondary' | 'premium' | 'special' | 'neutral-10' | 'neutral-20' | 'neutral-30' | 'neutral-40' | 'neutral-50' | 'neutral-60' | 'neutral-70' | 'neutral-90' | 'white' | 'black' | 'success' | 'warning' | 'error' | 'info'; | ||
export declare type IBackgroundColors = IColors | 'malibu'; | ||
export declare type ISizes = 'small' | 'medium' | 'large'; | ||
export declare type IDisplaySizes = 'D1-Regular' | 'D1-Semibold' | 'D1-Bold' | 'D2-Regular' | 'D2-Semibold' | 'D2-Bold' | 'D3-Regular' | 'D3-Semibold' | 'D3-Bold'; | ||
export declare type IHeaderSizes = 'H1-Regular' | 'H1-Semibold' | 'H1-Bold' | 'H2-Regular' | 'H2-Semibold' | 'H2-Bold' | 'H3-Regular' | 'H3-Semibold' | 'H3-Bold'; | ||
export declare type IBodySizes = 'L-Regular' | 'L-Semibold' | 'L-Bold' | 'M-Regular' | 'M-Semibold' | 'M-Bold' | 'S-Regular' | 'S-Semibold' | 'S-Bold' | 'XS-Regular' | 'XS-Semibold' | 'XS-Bold'; | ||
export declare type IButtonSizes = 'regular' | 'small'; | ||
export declare type ITextSizes = 'H1' | 'H2' | 'H3' | 'H4' | 'H5' | 'H6' | 'P1-XL' | 'P1-L' | 'P1-M' | 'P1-S'; | ||
export declare type ITooltipLocation = 'top-left' | 'top-middle' | 'top-right' | 'bottom-left' | 'bottom-middle' | 'bottom-right' | 'left-side-top' | 'left-side-middle' | 'left-side-bottom' | 'right-side-top' | 'right-side-middle' | 'right-side-bottom'; |
{ | ||
"name": "@myinterview/component-library", | ||
"version": "1.0.49", | ||
"version": "1.0.50-beta-45c63ba", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "type": "module", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
2094
0
447667
2