@paubox/ui 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,12 +4,5 @@ export interface AlertBarProps {
4
4
  type?: 'info' | 'warning' | 'success' | 'error';
5
5
  size?: 'small' | 'large';
6
6
  }
7
- export declare const AlertBar: {
8
- (props: AlertBarProps): import("@emotion/react/jsx-runtime").JSX.Element;
9
- defaultProps: {
10
- type: string;
11
- text: string;
12
- size: string;
13
- };
14
- };
7
+ export declare const AlertBar: (props: AlertBarProps) => import("@emotion/react/jsx-runtime").JSX.Element;
15
8
  export default AlertBar;
@@ -0,0 +1,11 @@
1
+ import { FC, KeyboardEvent, MouseEvent } from 'react';
2
+
3
+ export type CalendarProps = {
4
+ rangeSelect?: boolean;
5
+ selectedDate?: Date | null;
6
+ startDate?: Date | null;
7
+ endDate?: Date | null;
8
+ onChange?: ((date: Date | null, event?: MouseEvent<HTMLElement> | KeyboardEvent<HTMLElement>) => void) | ((dates: [Date | null, Date | null], event?: MouseEvent<HTMLElement, MouseEvent> | KeyboardEvent<HTMLElement>) => void);
9
+ };
10
+ declare const Calendar: FC<CalendarProps>;
11
+ export default Calendar;
@@ -0,0 +1,4 @@
1
+ import { PropsWithChildren } from 'react';
2
+
3
+ declare const CalendarContainer: ({ children }: PropsWithChildren) => import("@emotion/react/jsx-runtime").JSX.Element;
4
+ export default CalendarContainer;
@@ -7,13 +7,5 @@ export interface DropdownProps {
7
7
  top?: number;
8
8
  bottom?: number;
9
9
  }
10
- export declare const Dropdown: {
11
- ({ children, open, setOpen, ...rest }: DropdownProps): import("@emotion/react/jsx-runtime").JSX.Element;
12
- defaultProps: {
13
- right: number;
14
- left: number;
15
- top: number;
16
- bottom: number;
17
- };
18
- };
10
+ export declare const Dropdown: ({ children, open, setOpen, right, left, top, bottom, ...rest }: DropdownProps) => import("@emotion/react/jsx-runtime").JSX.Element;
19
11
  export default Dropdown;
@@ -4,12 +4,5 @@ export interface DropdownOptionProps {
4
4
  onClick?: () => void;
5
5
  icon?: React.ReactNode;
6
6
  }
7
- declare const DropdownOption: {
8
- ({ label, href, onClick, icon, }: DropdownOptionProps): import("@emotion/react/jsx-runtime").JSX.Element;
9
- defaultProps: {
10
- href: undefined;
11
- onClick: undefined;
12
- icon: undefined;
13
- };
14
- };
7
+ declare const DropdownOption: ({ label, href, onClick, icon, }: DropdownOptionProps) => import("@emotion/react/jsx-runtime").JSX.Element;
15
8
  export default DropdownOption;
@@ -4,13 +4,5 @@ export interface InputProps extends React.InputHTMLAttributes<HTMLInputElement>
4
4
  leftIcon?: React.ElementType;
5
5
  rightIcon?: React.ElementType;
6
6
  }
7
- export declare const Input: {
8
- ({ leftIcon: LeftIcon, rightIcon: RightIcon, ...props }: InputProps): import("@emotion/react/jsx-runtime").JSX.Element;
9
- defaultProps: {
10
- sz: string;
11
- error: boolean;
12
- leftIcon: undefined;
13
- rightIcon: undefined;
14
- };
15
- };
7
+ export declare const Input: ({ leftIcon: LeftIcon, rightIcon: RightIcon, sz, error, ...props }: InputProps) => import("@emotion/react/jsx-runtime").JSX.Element;
16
8
  export default Input;
@@ -13,11 +13,5 @@ export declare const InputWrapper: import('@emotion/styled').StyledComponent<{
13
13
  theme?: import('@emotion/react').Theme;
14
14
  as?: React.ElementType;
15
15
  }, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
16
- export declare const MultiSelect: {
17
- (props: MultiSelectProps): import("@emotion/react/jsx-runtime").JSX.Element;
18
- defaultProps: {
19
- sz: string;
20
- error: boolean;
21
- };
22
- };
16
+ export declare const MultiSelect: ({ sz, error, ...props }: MultiSelectProps) => import("@emotion/react/jsx-runtime").JSX.Element;
23
17
  export default MultiSelect;
@@ -5,10 +5,5 @@ export interface SearchProps extends React.InputHTMLAttributes<HTMLInputElement>
5
5
  setSearchValue: (value: string) => void;
6
6
  }
7
7
  export declare const loadingWheelStyle: import('@emotion/react').SerializedStyles;
8
- export declare const Search: {
9
- (props: SearchProps): import("@emotion/react/jsx-runtime").JSX.Element;
10
- defaultProps: {
11
- sz: string;
12
- };
13
- };
8
+ export declare const Search: ({ loading, setLoading, setSearchValue, sz, ...props }: SearchProps) => import("@emotion/react/jsx-runtime").JSX.Element;
14
9
  export default Search;
@@ -0,0 +1,11 @@
1
+ import { default as Quill } from 'quill/core/quill';
2
+ import { default as React } from 'react';
3
+
4
+ export interface RichTextToolbarProps {
5
+ setValue: (val: string) => void;
6
+ inputRef: React.RefObject<HTMLDivElement>;
7
+ setInitialValue: (quillInstance: Quill) => void;
8
+ className?: string;
9
+ }
10
+ declare const RichTextToolbar: React.FC<RichTextToolbarProps>;
11
+ export default RichTextToolbar;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@paubox/ui",
3
3
  "author": "Paubox, Inc.",
4
4
  "description": "Paubox Component Library",
5
- "version": "0.1.0",
5
+ "version": "0.1.1",
6
6
  "main": "./index.js",
7
7
  "types": "./index.d.ts",
8
8
  "exports": {