@binamik/components 0.1.6 → 0.2.0

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.
@@ -1,17 +1,3 @@
1
- /// <reference types="react" />
2
- interface SpinnerStylesProps {
3
- size: string;
4
- }
5
- export declare const SpinnerContainer: import("@emotion/styled").StyledComponent<{
6
- theme?: import("@emotion/react").Theme | undefined;
7
- as?: import("react").ElementType<any> | undefined;
8
- } & SpinnerStylesProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
9
- export declare const SpinnerComponent: import("@emotion/styled").StyledComponent<{
10
- theme?: import("@emotion/react").Theme | undefined;
11
- as?: import("react").ElementType<any> | undefined;
12
- }, import("react").SVGProps<SVGSVGElement>, {}>;
13
- export declare const Circle: import("@emotion/styled").StyledComponent<{
14
- theme?: import("@emotion/react").Theme | undefined;
15
- as?: import("react").ElementType<any> | undefined;
16
- }, import("react").SVGProps<SVGCircleElement>, {}>;
17
- export {};
1
+ export declare const SpinnerContainer: any;
2
+ export declare const SpinnerComponent: any;
3
+ export declare const Circle: any;
@@ -1,10 +1 @@
1
- /// <reference types="react" />
2
- interface ButtonProps {
3
- isLoading: boolean;
4
- hasLoadingText: boolean;
5
- }
6
- export declare const DefaultButtonContainer: import("@emotion/styled").StyledComponent<{
7
- theme?: import("@emotion/react").Theme | undefined;
8
- as?: import("react").ElementType<any> | undefined;
9
- } & ButtonProps, import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {}>;
10
- export {};
1
+ export declare const DefaultButtonContainer: any;
@@ -0,0 +1,5 @@
1
+ export declare const localeMap: {
2
+ 'pt-BR': any;
3
+ 'en-US': any;
4
+ 'es-ES': any;
5
+ };
@@ -0,0 +1,2 @@
1
+ import { DatePickerProps } from './DatePicker.types';
2
+ export declare function DatePicker({ onChange, locale, placeholder, maxDate, minDate }: DatePickerProps): JSX.Element;
@@ -0,0 +1,8 @@
1
+ export declare type DatePickerValue = Date | undefined;
2
+ export interface DatePickerProps {
3
+ onChange?: (value: DatePickerValue) => void;
4
+ locale?: 'pt-BR' | 'en-US' | 'es-ES';
5
+ placeholder?: string;
6
+ maxDate?: DatePickerValue;
7
+ minDate?: DatePickerValue;
8
+ }
@@ -0,0 +1 @@
1
+ export * from './DatePicker';
@@ -1 +1 @@
1
- export declare const binamikCssReset: import("@emotion/utils").SerializedStyles;
1
+ export declare const binamikCssReset: any;
@@ -1 +1 @@
1
- export declare const binamikGlobalStyles: import("@emotion/utils").SerializedStyles;
1
+ export declare const binamikGlobalStyles: any;
@@ -1 +1 @@
1
- export declare const binamikTheme: import("@emotion/utils").SerializedStyles;
1
+ export declare const binamikTheme: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { IndexedColumnProps, SortOrder } from './Table';
3
2
  interface SortMenuProps {
4
3
  onSortingChange: (column: IndexedColumnProps) => (order: SortOrder) => void;
@@ -6,7 +6,7 @@ export interface SortingProps {
6
6
  order: SortOrder;
7
7
  }
8
8
  export interface ColumnProps {
9
- label: string;
9
+ label: string | React.ReactNode;
10
10
  name: string;
11
11
  sortable?: boolean;
12
12
  width?: string;