Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@myinterview/component-library

Package Overview
Dependencies
Maintainers
7
Versions
149
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@myinterview/component-library - npm Package Compare versions

Comparing version 1.0.49 to 1.0.50-beta-45c63ba

dist/atoms/buttons/ButtonSecondary.d.ts

4

dist/atoms/buttons/Button.d.ts
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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc