@paubox/ui
Advanced tools
Comparing version 0.1.1 to 0.2.0
@@ -12,2 +12,3 @@ export * from './Add'; | ||
export * from './Warning'; | ||
export * from './Cancel'; | ||
export * from './SvgProps'; |
export * from './lib/AlertBar/AlertBar'; | ||
export * from './lib/Button/Button'; | ||
export * from './lib/Calendar/Calendar'; | ||
export * from './lib/DatePicker/DatePicker'; | ||
export * from './lib/Dropdown/Dropdown'; | ||
export * from './lib/Dropdown/DropdownOption'; | ||
export * from './lib/Inputs/index'; | ||
export * from './lib/Popper/Popper'; | ||
export * from './lib/Tooltip/Tooltip'; | ||
@@ -6,0 +10,0 @@ export * from './lib/Typography/Typography'; |
@@ -0,3 +1,5 @@ | ||
import { CSSProperties } from 'react'; | ||
export interface BaseButtonProps { | ||
color: 'primary' | 'secondary' | 'danger'; | ||
color?: 'primary' | 'secondary' | 'danger'; | ||
disabled?: boolean; | ||
@@ -8,2 +10,3 @@ size?: 'large' | 'small'; | ||
onClick?: () => void; | ||
style?: CSSProperties; | ||
} | ||
@@ -10,0 +13,0 @@ declare const BaseButton: import('@emotion/styled').StyledComponent<{ |
@@ -8,3 +8,3 @@ import { BaseButtonProps } from './BaseButton'; | ||
} | ||
export declare const Button: React.FC<ButtonProps>; | ||
export declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>; | ||
export default Button; |
@@ -8,5 +8,5 @@ import { FC, KeyboardEvent, MouseEvent } from 'react'; | ||
endDate?: Date | null; | ||
onChange?: ((date: Date | null, event?: MouseEvent<HTMLElement> | KeyboardEvent<HTMLElement>) => void) | ((dates: [Date | null, Date | null], event?: MouseEvent<HTMLElement, MouseEvent> | KeyboardEvent<HTMLElement>) => void); | ||
onChange?: ((date: Date, event?: MouseEvent<HTMLElement> | KeyboardEvent<HTMLElement>) => void) | ((dates: [Date, Date | null], event?: MouseEvent<HTMLElement, MouseEvent> | KeyboardEvent<HTMLElement>) => void); | ||
}; | ||
declare const Calendar: FC<CalendarProps>; | ||
export default Calendar; |
@@ -7,3 +7,3 @@ export interface DropdownOptionProps { | ||
} | ||
declare const DropdownOption: ({ label, href, onClick, icon, }: DropdownOptionProps) => import("@emotion/react/jsx-runtime").JSX.Element; | ||
export declare const DropdownOption: ({ label, href, onClick, icon, }: DropdownOptionProps) => import("@emotion/react/jsx-runtime").JSX.Element; | ||
export default DropdownOption; |
@@ -10,4 +10,7 @@ export interface MultiSelectOption { | ||
rightIcon?: React.ElementType; | ||
options: MultiSelectOption[]; | ||
options?: MultiSelectOption[]; | ||
} | ||
export interface ChipProps { | ||
sz?: 'sm' | 'lg'; | ||
} | ||
export declare const InputWrapper: import('@emotion/styled').StyledComponent<{ | ||
@@ -17,3 +20,3 @@ theme?: import('@emotion/react').Theme; | ||
}, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>; | ||
export declare const MultiSelect: ({ sz, error, ...props }: MultiSelectProps) => import("@emotion/react/jsx-runtime").JSX.Element; | ||
export declare const MultiSelect: ({ sz, error, options, ...props }: MultiSelectProps) => import("@emotion/react/jsx-runtime").JSX.Element; | ||
export default MultiSelect; |
@@ -5,3 +5,3 @@ { | ||
"description": "Paubox Component Library", | ||
"version": "0.1.1", | ||
"version": "0.2.0", | ||
"main": "./index.js", | ||
@@ -8,0 +8,0 @@ "types": "./index.d.ts", |
@@ -0,4 +1,5 @@ | ||
export * as baseTypography from './baseTypography'; | ||
export * as colors from './colors'; | ||
export * as baseTypography from './baseTypography'; | ||
export * as elevation from './elevation'; | ||
export * from './spacing'; | ||
export * as typography from './typography'; | ||
export * as elevation from './elevation'; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
187681
44
3744
33
16
7
9
0
16