New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@paubox/ui

Package Overview
Dependencies
Maintainers
0
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@paubox/ui - npm Package Compare versions

Comparing version 0.3.3 to 0.4.0

src/lib/RadioButton/RadioButton.d.ts

2

package.json

@@ -5,3 +5,3 @@ {

"description": "Paubox Component Library",
"version": "0.3.3",
"version": "0.4.0",
"type": "module",

@@ -8,0 +8,0 @@ "peerDependencies": {

import { RefObject } from 'react';
export declare const useClickOutside: (ref: RefObject<HTMLElement | undefined>, callback: () => void, addEventListener?: boolean) => void;
export declare const useClickOutside: (ref: RefObject<HTMLElement | null> | RefObject<HTMLElement | null>[], callback: () => void, addEventListener?: boolean) => void;

@@ -11,2 +11,4 @@ export * from './lib/AlertBar/AlertBar';

export * from './lib/Popper/Popper';
export * from './lib/RadioButton/RadioButton';
export * from './lib/RadioGroup/RadioGroup';
export * from './lib/Table/Table';

@@ -13,0 +15,0 @@ export * from './lib/Tooltip/Tooltip';

@@ -10,2 +10,3 @@ import { CSSProperties, MouseEventHandler } from 'react';

style?: CSSProperties;
className?: string;
}

@@ -12,0 +13,0 @@ export declare const BaseButton: import("@emotion/styled").StyledComponent<{

import { FC, KeyboardEvent, MouseEvent } from 'react';
import 'react-datepicker/dist/react-datepicker.min.css';
export type CalendarProps = {

@@ -4,0 +3,0 @@ rangeSelect?: boolean;

import { PropsWithChildren } from 'react';
import 'react-datepicker/dist/react-datepicker.min.css';
export declare const CalendarContainer: ({ children }: PropsWithChildren) => import("@emotion/react/jsx-runtime").JSX.Element;

@@ -1,2 +0,3 @@

import { FC } from 'react';
import { FC, MutableRefObject } from 'react';
import { AnchorAlign, AnchorSide } from '../Popper/Popper';
export interface DatePickerProps {

@@ -8,3 +9,6 @@ rangeSelect?: boolean;

onChange: ((date: Date | null) => void) | ((dates: [Date, Date | null]) => void);
side?: AnchorSide;
align?: AnchorAlign;
containerRefOverride?: MutableRefObject<HTMLDivElement | null>;
}
export declare const DatePicker: FC<DatePickerProps>;

@@ -1,2 +0,4 @@

import { FC, MutableRefObject, ReactNode } from 'react';
import { FC, MutableRefObject, ReactNode, RefObject } from 'react';
export type AnchorSide = 'top' | 'right' | 'bottom' | 'left';
export type AnchorAlign = 'start' | 'middle' | 'end';
export interface PopperProps {

@@ -6,4 +8,13 @@ anchorRef: MutableRefObject<HTMLElement | null>;

onClose: () => void;
side?: AnchorSide;
align?: AnchorAlign;
offset?: number;
minWidth?: number;
minHeight?: number;
maxWidth?: number;
maxHeight?: number;
children: ReactNode;
containerRefOverride?: RefObject<HTMLDivElement>;
childContainerRefs?: RefObject<HTMLElement>[];
}
export declare const Popper: FC<PopperProps>;
import { SerializedStyles } from '@emotion/react';
import React from 'react';
export type TypographyProps = {
variant: 'headline100Regular' | 'headline100Semibold' | 'headline200Regular' | 'headline200Semibold' | 'headline300Regular' | 'headline300Semibold' | 'paragraph100Regular' | 'paragraph100Semibold' | 'paragraph200Regular' | 'paragraph200Semibold' | 'paragraph300Regular' | 'paragraph300Medium' | 'paragraph300Semibold' | 'paragraph300Bold' | 'button100Medium' | 'button200Medium' | 'label100Regular' | 'label100Medium' | 'label100Semibold' | 'label200Regular' | 'label200Medium' | 'label200Semibold';
variant: 'headline100Regular' | 'headline100Semibold' | 'headline200Regular' | 'headline200Semibold' | 'headline300Regular' | 'headline300Semibold' | 'paragraph100Regular' | 'paragraph100Semibold' | 'paragraph200Regular' | 'paragraph200Semibold' | 'paragraph300Regular' | 'paragraph300Medium' | 'paragraph300Semibold' | 'paragraph300Bold' | 'button100Medium' | 'button200Medium' | 'label100Regular' | 'label100Medium' | 'label100Semibold' | 'label200Regular' | 'label200Medium' | 'label200Semibold' | 'label300Regular' | 'label300Medium' | 'label300Semibold';
/**

@@ -13,3 +13,4 @@ * The color of the text. This can be any css color string or one of the following:

as?: keyof React.JSX.IntrinsicElements;
htmlFor?: string;
} & React.HTMLAttributes<HTMLDivElement>;
export declare const Typography: React.FC<TypographyProps>;

@@ -32,1 +32,4 @@ export declare const BASE_FONT_SIZE = 16;

export declare const label200LetterSpacing: number;
export declare const label300FontSize = 12;
export declare const label300LineHeight = 12;
export declare const label300LetterSpacing: number;

@@ -23,1 +23,4 @@ export declare const $headline100Regular: import("@emotion/react").SerializedStyles;

export declare const $label200Semibold: import("@emotion/react").SerializedStyles;
export declare const $label300Regular: import("@emotion/react").SerializedStyles;
export declare const $label300Medium: import("@emotion/react").SerializedStyles;
export declare const $label300Semibold: import("@emotion/react").SerializedStyles;

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