plataforma-fundacao-componentes 2.25.11 → 2.26.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.
- package/dist/assets/icons/PercentLoaderIcon.d.ts +1 -1
- package/dist/assets/icons/ThreeDotsLoader.d.ts +3 -4
- package/dist/components/accordion/Accordion.stories.d.ts +9 -10
- package/dist/components/bigBlockButton/BigBlockButton.d.ts +4 -6
- package/dist/components/bottomNavigation/BottomNavigation.d.ts +1 -1
- package/dist/components/bottomNavigation/BottomNavigation.stories.d.ts +14 -14
- package/dist/components/breadCrumb/BreadCrumb.stories.d.ts +5 -6
- package/dist/components/button/Button.d.ts +6 -27
- package/dist/components/calendar/Calendar.d.ts +1 -1
- package/dist/components/calendar/components/calendarDays/CalendarDays.d.ts +4 -4
- package/dist/components/calendar/components/calendarMonthDay/CalendarMonthDay.d.ts +1 -1
- package/dist/components/card/Card.stories.d.ts +8 -7
- package/dist/components/carousel/Carousel.stories.d.ts +6 -7
- package/dist/components/carouselPersona/CarouselPersona.stories.d.ts +5 -6
- package/dist/components/carouselTouchFrendly/CarouselTouchFrendly.stories.d.ts +6 -7
- package/dist/components/chart/components/moneyMonthLineChart/MoneyMonthLineChart.d.ts +2 -1
- package/dist/components/chart/doughnutSquare/DoughnutSquare.stories.d.ts +9 -8
- package/dist/components/chart/moneyByMonth/MoneyByMonth.d.ts +2 -1
- package/dist/components/chart/moneyByMonth/MoneyByMonth.stories.d.ts +3 -2
- package/dist/components/checkbox/Checkbox.d.ts +0 -1
- package/dist/components/checkbox/Checkbox.stories.d.ts +9 -10
- package/dist/components/col/Col.stories.d.ts +6 -7
- package/dist/components/collapse/Collapse.stories.d.ts +5 -6
- package/dist/components/container/Container.stories.d.ts +6 -7
- package/dist/components/controlLabel/ControlLabel.d.ts +1 -1
- package/dist/components/datePicker/DatePicker.d.ts +1 -6
- package/dist/components/datePicker/DatePicker.stories.d.ts +7 -8
- package/dist/components/doughnut/Doughnut.d.ts +1 -6
- package/dist/components/doughnut/Doughnut.stories.d.ts +21 -25
- package/dist/components/elementPaginator/ElementPaginator.stories.d.ts +5 -6
- package/dist/components/etapas/Etapas.stories.d.ts +10 -11
- package/dist/components/etiqueta/Etiqueta.stories.d.ts +28 -34
- package/dist/components/fileLoader/FileLoader.stories.d.ts +7 -8
- package/dist/components/fileUpload/FileUpload.d.ts +1 -2
- package/dist/components/fileUpload/FileUpload.stories.d.ts +14 -13
- package/dist/components/footerSicredi/FooterSicredi.stories.d.ts +9 -10
- package/dist/components/fullHeightContainer/FullHeightContainer.stories.d.ts +7 -8
- package/dist/components/header/Header.d.ts +2 -3
- package/dist/components/header/Header.stories.d.ts +12 -13
- package/dist/components/iconButton/IconButton.d.ts +0 -1
- package/dist/components/iconButton/IconButton.stories.d.ts +7 -8
- package/dist/components/inputArea/InputArea.d.ts +0 -1
- package/dist/components/inputArea/InputArea.stories.d.ts +16 -17
- package/dist/components/menu/components/menuItem/MenuItem.d.ts +1 -2
- package/dist/components/menu/components/menuItem/MenuItem.stories.d.ts +8 -9
- package/dist/components/modal/Modal.d.ts +280 -20
- package/dist/components/modal/Modal.stories.d.ts +1 -0
- package/dist/components/modal/ModalMask.d.ts +2 -1
- package/dist/components/modal/ModalTypes.d.ts +3 -18
- package/dist/components/pageTitle/PageTitle.stories.d.ts +7 -6
- package/dist/components/pagination/Pagination.d.ts +1 -1
- package/dist/components/pagination/Pagination.stories.d.ts +46 -60
- package/dist/components/paginator/Paginator.stories.d.ts +16 -15
- package/dist/components/radioButton/RadioButton.d.ts +1 -2
- package/dist/components/row/Row.stories.d.ts +5 -6
- package/dist/components/select/Select.stories.d.ts +1 -0
- package/dist/components/switch/Switch.d.ts +0 -1
- package/dist/components/switch/Switch.stories.d.ts +8 -9
- package/dist/components/table/Table.d.ts +1 -1
- package/dist/components/tableFileNameAndAction/TableFileNameAndAction.d.ts +10 -9
- package/dist/components/tableFileNameAndAction/TableFileNameAndAction.stories.d.ts +7 -8
- package/dist/components/textEditor/TextEditor.d.ts +0 -1
- package/dist/components/textEditor/TextEditor.stories.d.ts +11 -12
- package/dist/components/textEditor/components/textEditorColorPicker/TextEditorColorPicker.d.ts +3 -8
- package/dist/components/textEditor/components/textEditorInput/TextEditorHeaderInput.d.ts +2 -7
- package/dist/components/textEditor/components/textEditorTitleChoser/TextEditorTitleChoser.d.ts +3 -8
- package/dist/components/textEditor/components/textEditorUrlCreator/TextEditorUrlCreator.d.ts +3 -8
- package/dist/components/toast/Toast.d.ts +0 -2
- package/dist/components/toastManager/ToastManager.d.ts +7 -1
- package/dist/components/toastManager/ToastManager.stories.d.ts +5 -6
- package/dist/components/tooltip/Tooltip.stories.d.ts +8 -9
- package/dist/components/tooltipManager/TooltipManager.stories.d.ts +7 -8
- package/dist/components/topLoader/TopLoader.stories.d.ts +6 -7
- package/dist/components/videoModal/VideoModal.d.ts +273 -10
- package/dist/components/videoPlayer/VideoPlayer.stories.d.ts +10 -11
- package/dist/hooks/useDebounce/useDebounce.d.ts +5 -0
- package/dist/hooks/useDebounce/useDebounce.stories.d.ts +10 -0
- package/dist/hooks/useHTMLShare/useHTMLShare.d.ts +1 -1
- package/dist/hooks/usePagination/usePagination.d.ts +1 -1
- package/dist/hooks/usePublicMenuList/usePublicMenuList.d.ts +1 -1
- package/dist/hooks/useScreenSize/useScreenSize.d.ts +7 -8
- package/dist/hooks/useStorageState/useStorageState.d.ts +1 -1
- package/dist/hooks/useToastManager/useToastManager.d.ts +1 -1
- package/dist/hooks/useValidatedState/useValidatedState.d.ts +1 -1
- package/dist/index.css +74 -75
- package/dist/index.d.ts +3 -2
- package/dist/index.js +2704 -2676
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +2380 -2351
- package/dist/index.modern.js.map +1 -1
- package/dist/libraries/ModalSize.d.ts +2 -1
- package/dist/libraries/ScreenSizes.d.ts +7 -0
- package/dist/utils/ArrayUtils.d.ts +1 -2
- package/dist/utils/HTMLutils.d.ts +3 -3
- package/dist/utils/MaskUtils.d.ts +8 -8
- package/dist/utils/ScrollUtils.d.ts +1 -1
- package/package.json +4 -4
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import React, { HTMLAttributes } from 'react';
|
|
2
2
|
import './ThreeDotsLoader.scss';
|
|
3
3
|
export declare type ThreeDotsThemes = 'primary' | 'secondary' | 'dark';
|
|
4
4
|
export declare type ThreeDotsSizes = 1 | 2 | 3 | 4;
|
|
5
|
-
export interface ThreeDotsProps {
|
|
5
|
+
export interface ThreeDotsProps extends HTMLAttributes<HTMLDivElement> {
|
|
6
6
|
theme?: ThreeDotsThemes;
|
|
7
7
|
size?: 1 | 2 | 3 | 4;
|
|
8
|
-
style?: any;
|
|
9
8
|
}
|
|
10
|
-
export declare const ThreeDotsLoader: (
|
|
9
|
+
export declare const ThreeDotsLoader: ({ theme, size, className, ...rest }: ThreeDotsProps) => React.JSX.Element;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
};
|
|
5
5
|
export default _default;
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
import Accordion from "./Accordion";
|
|
6
|
+
export declare const Primary: () => React.JSX.Element;
|
|
7
|
+
export declare const WithIcon: () => React.JSX.Element;
|
|
8
|
+
export declare const Shadow: () => React.JSX.Element;
|
|
9
|
+
export declare const FigmaExample: () => React.JSX.Element;
|
|
10
|
+
export declare const FigmaOnlyOneOpenedExample: () => React.JSX.Element;
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import React, { ButtonHTMLAttributes } from 'react';
|
|
2
2
|
import './BigBlockButton.scss';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
declare type omit = 'children';
|
|
4
|
+
interface BigBlockButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, omit> {
|
|
5
5
|
icon?: React.ReactNode;
|
|
6
6
|
label?: React.ReactNode | string | number;
|
|
7
7
|
subtitle?: React.ReactNode | string | number;
|
|
8
|
-
onClick: (evt?: any) => void;
|
|
9
|
-
disabled?: boolean;
|
|
10
8
|
}
|
|
11
|
-
export default function BigBlockButton(props: BigBlockButtonProps): React.JSX.Element;
|
|
9
|
+
export default function BigBlockButton({ icon, label, subtitle, className, ...props }: BigBlockButtonProps): React.JSX.Element;
|
|
12
10
|
export {};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import React, { ComponentProps } from 'react';
|
|
2
|
+
import BottomNavigation from './BottomNavigation';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
};
|
|
5
6
|
export default _default;
|
|
6
|
-
export
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
export declare const FirstExample: {
|
|
8
|
+
(args: ComponentProps<typeof BottomNavigation>): React.JSX.Element;
|
|
9
|
+
args: {
|
|
10
|
+
theme: string;
|
|
11
|
+
itens: ({
|
|
11
12
|
label: string;
|
|
12
|
-
icon:
|
|
13
|
+
icon: React.JSX.Element;
|
|
13
14
|
notificationCount?: undefined;
|
|
14
15
|
} | {
|
|
15
16
|
label: string;
|
|
16
|
-
icon:
|
|
17
|
+
icon: React.JSX.Element;
|
|
17
18
|
notificationCount: number;
|
|
18
19
|
})[];
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
import BottomNavigation from "./BottomNavigation";
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
};
|
|
5
5
|
export default _default;
|
|
6
|
-
export
|
|
7
|
-
import BreadCrumb from "./BreadCrumb";
|
|
6
|
+
export declare const Primary: () => React.JSX.Element;
|
|
@@ -1,40 +1,19 @@
|
|
|
1
1
|
import React, { ButtonHTMLAttributes, ReactNode } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { ThreeDotsProps } from '../../assets/icons/ThreeDotsLoader';
|
|
3
3
|
import { ButtonThemes } from '../../libraries/ButtonTheme';
|
|
4
4
|
import { TooltipPosition } from '../../libraries/Tooltips';
|
|
5
5
|
import './Button.scss';
|
|
6
6
|
export interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
7
7
|
'tooltip-position'?: TooltipPosition;
|
|
8
8
|
'tooltip-text'?: string;
|
|
9
|
-
onClick?: (evt?: any) => void;
|
|
10
9
|
theme?: ButtonThemes;
|
|
11
|
-
disabled?: boolean;
|
|
12
10
|
w100?: boolean;
|
|
13
|
-
leftIcon?:
|
|
14
|
-
rightIcon?:
|
|
11
|
+
leftIcon?: ReactNode;
|
|
12
|
+
rightIcon?: ReactNode;
|
|
15
13
|
mobileBottomPage?: boolean;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
loaderTheme: ThreeDotsThemes;
|
|
19
|
-
loaderSize: ThreeDotsSizes;
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
declare function Button(props: ButtonProps): React.JSX.Element;
|
|
23
|
-
declare namespace Button {
|
|
24
|
-
var defaultProps: {
|
|
25
|
-
onClick: () => void;
|
|
26
|
-
theme: ButtonThemes;
|
|
27
|
-
disabled: boolean;
|
|
28
|
-
w100: boolean;
|
|
29
|
-
leftIcon: undefined;
|
|
30
|
-
rightIcon: undefined;
|
|
31
|
-
mobileBottomPage: boolean;
|
|
32
|
-
loader: {
|
|
33
|
-
loading: boolean;
|
|
34
|
-
loaderTheme: string;
|
|
35
|
-
loaderSize: number;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
14
|
+
loading?: boolean;
|
|
15
|
+
loader?: ReactNode | ThreeDotsProps;
|
|
38
16
|
}
|
|
17
|
+
declare function Button({ className, theme, w100, leftIcon, rightIcon, mobileBottomPage, loader, loading, children, ...props }: ButtonProps): React.JSX.Element;
|
|
39
18
|
declare const _default: React.MemoExoticComponent<typeof Button>;
|
|
40
19
|
export default _default;
|
|
@@ -18,7 +18,7 @@ export interface CalendarProps {
|
|
|
18
18
|
onPlusButtonClick?: (day: Date, evt: MouseEvent<HTMLButtonElement | HTMLDivElement>) => void;
|
|
19
19
|
onDateClick?: (day: Date, evt: MouseEvent<HTMLButtonElement | HTMLDivElement>) => void;
|
|
20
20
|
}
|
|
21
|
-
declare function Calendar(props: CalendarProps): React.JSX.Element;
|
|
21
|
+
declare function Calendar({ language, visao, referencia, ...props }: CalendarProps): React.JSX.Element;
|
|
22
22
|
declare namespace Calendar {
|
|
23
23
|
var defaultProps: CalendarProps;
|
|
24
24
|
}
|
|
@@ -6,12 +6,12 @@ interface CalendarDaysProps {
|
|
|
6
6
|
visao: CalendarView;
|
|
7
7
|
pocket?: boolean;
|
|
8
8
|
referencia: Date;
|
|
9
|
-
disabledNextMonth
|
|
10
|
-
disabledPrevMonth
|
|
9
|
+
disabledNextMonth?: boolean;
|
|
10
|
+
disabledPrevMonth?: boolean;
|
|
11
11
|
eventos?: Map<string, CalendarEventProps[]>;
|
|
12
12
|
language: CalendarLanguage;
|
|
13
|
-
highlightWeekends
|
|
14
|
-
loading
|
|
13
|
+
highlightWeekends?: boolean;
|
|
14
|
+
loading?: boolean;
|
|
15
15
|
showAddButton?: boolean;
|
|
16
16
|
disabledPrevAddButton?: boolean;
|
|
17
17
|
onAddButtonClick?: (day: Date, evt: MouseEvent<HTMLButtonElement | HTMLDivElement>) => void;
|
|
@@ -15,7 +15,7 @@ export interface CalendarMonthDayProps {
|
|
|
15
15
|
onPlusButtonClick?: (day: Date, evt: MouseEvent<HTMLButtonElement | HTMLDivElement>) => void;
|
|
16
16
|
onDateClick?: (day: Date, evt: MouseEvent<HTMLButtonElement | HTMLDivElement>) => void;
|
|
17
17
|
showPlusIcon?: boolean;
|
|
18
|
-
highlightWeekends
|
|
18
|
+
highlightWeekends?: boolean;
|
|
19
19
|
}
|
|
20
20
|
declare function CalendarMonthDay(props: CalendarMonthDayProps): React.JSX.Element;
|
|
21
21
|
declare const _default: React.MemoExoticComponent<typeof CalendarMonthDay>;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import Card from './Card';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof Card;
|
|
6
|
+
};
|
|
5
7
|
export default _default;
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
import Card from "./Card";
|
|
8
|
+
export declare const White: () => React.JSX.Element;
|
|
9
|
+
export declare const Green: () => React.JSX.Element;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
};
|
|
5
5
|
export default _default;
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
import Carousel from "./Carousel";
|
|
6
|
+
export declare const FirstExample: () => React.JSX.Element;
|
|
7
|
+
export declare const ChangingStates: () => React.JSX.Element;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
};
|
|
5
5
|
export default _default;
|
|
6
|
-
export
|
|
7
|
-
import CarouselPersona from "./CarouselPersona";
|
|
6
|
+
export declare const FirstExample: () => React.JSX.Element;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
};
|
|
5
5
|
export default _default;
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
import CarouselTouchFrendly from "./CarouselTouchFrendly";
|
|
6
|
+
export declare const FirstExample: () => React.JSX.Element;
|
|
7
|
+
export declare const exampleWithBanners: () => React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare function MoneyMonthLineChart(props: any):
|
|
1
|
+
declare function MoneyMonthLineChart(props: any): React.JSX.Element;
|
|
2
2
|
declare namespace MoneyMonthLineChart {
|
|
3
3
|
export namespace propTypes {
|
|
4
4
|
export const data: PropTypes.Requireable<(number | null | undefined)[]>;
|
|
@@ -12,4 +12,5 @@ declare namespace MoneyMonthLineChart {
|
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
14
|
export default MoneyMonthLineChart;
|
|
15
|
+
import React from "react";
|
|
15
16
|
import PropTypes from "prop-types";
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import DoughnutSquare from './DoughnutSquare';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof DoughnutSquare;
|
|
6
|
+
};
|
|
5
7
|
export default _default;
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
import DoughnutSquare from "./DoughnutSquare";
|
|
8
|
+
export declare const Quarenta: () => React.JSX.Element;
|
|
9
|
+
export declare const Noventa: () => React.JSX.Element;
|
|
10
|
+
export declare const InsideOfRow: () => React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare function MoneyByMonth(props: any):
|
|
1
|
+
declare function MoneyByMonth(props: any): React.JSX.Element;
|
|
2
2
|
declare namespace MoneyByMonth {
|
|
3
3
|
export namespace propTypes {
|
|
4
4
|
export const data: PropTypes.Requireable<(number | null | undefined)[]>;
|
|
@@ -14,4 +14,5 @@ declare namespace MoneyByMonth {
|
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
export default MoneyByMonth;
|
|
17
|
+
import React from "react";
|
|
17
18
|
import PropTypes from "prop-types";
|
|
@@ -3,6 +3,7 @@ declare namespace _default {
|
|
|
3
3
|
export { MoneyByMonth as component };
|
|
4
4
|
}
|
|
5
5
|
export default _default;
|
|
6
|
-
export function MoneyMonth():
|
|
7
|
-
export function ThreeMonths():
|
|
6
|
+
export function MoneyMonth(): React.JSX.Element;
|
|
7
|
+
export function ThreeMonths(): React.JSX.Element;
|
|
8
8
|
import MoneyByMonth from "./MoneyByMonth";
|
|
9
|
+
import React from "react";
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
};
|
|
5
5
|
export default _default;
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
import Checkbox from "./Checkbox";
|
|
6
|
+
export declare const Primary: () => React.JSX.Element;
|
|
7
|
+
export declare const Dark: () => React.JSX.Element;
|
|
8
|
+
export declare const Classic: () => React.JSX.Element;
|
|
9
|
+
export declare const DisabledOn: () => React.JSX.Element;
|
|
10
|
+
export declare const DisabledOff: () => React.JSX.Element;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
};
|
|
5
5
|
export default _default;
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
import Col from "./Col";
|
|
6
|
+
export declare const FirstExample: () => React.JSX.Element;
|
|
7
|
+
export declare const SecondExample: () => React.JSX.Element;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
};
|
|
5
5
|
export default _default;
|
|
6
|
-
export
|
|
7
|
-
import Collapse from "./Collapse";
|
|
6
|
+
export declare const Normal: () => React.JSX.Element;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
};
|
|
5
5
|
export default _default;
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
import Container from "./Container";
|
|
6
|
+
export declare const Primary: () => React.JSX.Element;
|
|
7
|
+
export declare const ScrollTest: () => React.JSX.Element;
|
|
@@ -7,6 +7,6 @@ export interface ControlLabelProps extends LabelHTMLAttributes<HTMLLabelElement>
|
|
|
7
7
|
labelGap?: number;
|
|
8
8
|
label: string | number;
|
|
9
9
|
}
|
|
10
|
-
declare function ControlLabel(props: ControlLabelProps): React.JSX.Element;
|
|
10
|
+
declare function ControlLabel({ control, labelPosition, labelGap, label, className, ...props }: ControlLabelProps): React.JSX.Element;
|
|
11
11
|
declare const _default: React.MemoExoticComponent<typeof ControlLabel>;
|
|
12
12
|
export default _default;
|
|
@@ -9,14 +9,9 @@ interface DatePickerProps {
|
|
|
9
9
|
language?: CalendarLanguage;
|
|
10
10
|
closeOnChange?: boolean;
|
|
11
11
|
}
|
|
12
|
-
declare function DatePicker(props: DatePickerProps): React.JSX.Element;
|
|
12
|
+
declare function DatePicker({ language, ...props }: DatePickerProps): React.JSX.Element;
|
|
13
13
|
declare namespace DatePicker {
|
|
14
14
|
var defaultProps: {
|
|
15
|
-
language: {
|
|
16
|
-
daysOfWeek: string[];
|
|
17
|
-
months: string[];
|
|
18
|
-
monthsAbrev: string[];
|
|
19
|
-
};
|
|
20
15
|
closeOnChange: boolean;
|
|
21
16
|
};
|
|
22
17
|
}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
};
|
|
5
5
|
export default _default;
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
import DatePicker from "./DatePicker";
|
|
6
|
+
export declare const Primary: () => React.JSX.Element;
|
|
7
|
+
export declare const CloseOnSelect: () => React.JSX.Element;
|
|
8
|
+
export declare const Three: () => React.JSX.Element;
|
|
@@ -5,11 +5,6 @@ interface DoughnutProps {
|
|
|
5
5
|
showLabel?: boolean;
|
|
6
6
|
red?: boolean;
|
|
7
7
|
}
|
|
8
|
-
declare function Doughnut(props: DoughnutProps): React.JSX.Element;
|
|
9
|
-
declare namespace Doughnut {
|
|
10
|
-
var defaultProps: {
|
|
11
|
-
showLabel: boolean;
|
|
12
|
-
};
|
|
13
|
-
}
|
|
8
|
+
declare function Doughnut({ showLabel, ...props }: DoughnutProps): React.JSX.Element;
|
|
14
9
|
declare const _default: React.MemoExoticComponent<typeof Doughnut>;
|
|
15
10
|
export default _default;
|
|
@@ -1,26 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import Doughnut from './Doughnut';
|
|
2
|
+
import React, { ComponentProps } from 'react';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
};
|
|
5
6
|
export default _default;
|
|
6
|
-
export
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
export
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
export { red_1 as red };
|
|
23
|
-
}
|
|
24
|
-
export { args_1 as args };
|
|
25
|
-
}
|
|
26
|
-
import Doughnut from "./Doughnut";
|
|
7
|
+
export declare const WithNumber: {
|
|
8
|
+
(args: ComponentProps<typeof Doughnut>): React.JSX.Element;
|
|
9
|
+
args: {
|
|
10
|
+
showLabel: boolean;
|
|
11
|
+
value: number;
|
|
12
|
+
red: boolean;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export declare const WithString: {
|
|
16
|
+
(args: ComponentProps<typeof Doughnut>): React.JSX.Element;
|
|
17
|
+
args: {
|
|
18
|
+
showLabel: boolean;
|
|
19
|
+
value: string;
|
|
20
|
+
red: boolean;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
};
|
|
5
5
|
export default _default;
|
|
6
|
-
export
|
|
7
|
-
import ElementPaginator from "./ElementPaginator";
|
|
6
|
+
export declare const FirstExample: () => React.JSX.Element;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
};
|
|
5
5
|
export default _default;
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export
|
|
12
|
-
import Etapas from "./Etapas";
|
|
6
|
+
export declare const First: () => React.JSX.Element;
|
|
7
|
+
export declare const EscondendoLabels: () => React.JSX.Element;
|
|
8
|
+
export declare const WithoutScrollOnChange: () => React.JSX.Element;
|
|
9
|
+
export declare const Second: () => React.JSX.Element;
|
|
10
|
+
export declare const Third: () => React.JSX.Element;
|
|
11
|
+
export declare const WithError: () => React.JSX.Element;
|
|
@@ -1,35 +1,29 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
1
|
+
import React, { ComponentProps } from 'react';
|
|
2
|
+
import { EtiquetasStyle } from '../../libraries/EtiquetasThemes';
|
|
3
|
+
import Etiqueta from './Etiqueta';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: typeof Etiqueta;
|
|
7
|
+
argTypes: {
|
|
8
|
+
theme: {
|
|
9
|
+
type: string;
|
|
10
|
+
options: typeof EtiquetasStyle;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
};
|
|
13
14
|
export default _default;
|
|
14
|
-
export
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
export { theme_2 as theme };
|
|
30
|
-
}
|
|
31
|
-
export { args_1 as args };
|
|
32
|
-
}
|
|
33
|
-
import Etiqueta from "./Etiqueta";
|
|
34
|
-
import { EtiquetasStyle } from "../../libraries/EtiquetasThemes";
|
|
35
|
-
import React from "react";
|
|
15
|
+
export declare const FirstExample: {
|
|
16
|
+
(args: ComponentProps<typeof Etiqueta>): React.JSX.Element;
|
|
17
|
+
args: {
|
|
18
|
+
label: string;
|
|
19
|
+
theme: EtiquetasStyle;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
export declare const IconExample: {
|
|
23
|
+
(args: ComponentProps<typeof Etiqueta>): React.JSX.Element;
|
|
24
|
+
args: {
|
|
25
|
+
label: string;
|
|
26
|
+
icon: React.JSX.Element;
|
|
27
|
+
theme: EtiquetasStyle;
|
|
28
|
+
};
|
|
29
|
+
};
|