plataforma-fundacao-componentes 2.25.10 → 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.
Files changed (99) hide show
  1. package/dist/assets/icons/AlertIcon.d.ts +3 -0
  2. package/dist/assets/icons/PercentLoaderIcon.d.ts +1 -1
  3. package/dist/assets/icons/ThreeDotsLoader.d.ts +3 -4
  4. package/dist/components/accordion/Accordion.stories.d.ts +9 -10
  5. package/dist/components/bigBlockButton/BigBlockButton.d.ts +4 -6
  6. package/dist/components/bottomNavigation/BottomNavigation.d.ts +1 -1
  7. package/dist/components/bottomNavigation/BottomNavigation.stories.d.ts +14 -14
  8. package/dist/components/breadCrumb/BreadCrumb.stories.d.ts +5 -6
  9. package/dist/components/button/Button.d.ts +6 -27
  10. package/dist/components/calendar/Calendar.d.ts +1 -1
  11. package/dist/components/calendar/components/calendarDays/CalendarDays.d.ts +4 -4
  12. package/dist/components/calendar/components/calendarMonthDay/CalendarMonthDay.d.ts +1 -1
  13. package/dist/components/card/Card.stories.d.ts +8 -7
  14. package/dist/components/carousel/Carousel.stories.d.ts +6 -7
  15. package/dist/components/carouselPersona/CarouselPersona.stories.d.ts +5 -6
  16. package/dist/components/carouselTouchFrendly/CarouselTouchFrendly.stories.d.ts +6 -7
  17. package/dist/components/chart/components/moneyMonthLineChart/MoneyMonthLineChart.d.ts +2 -1
  18. package/dist/components/chart/doughnutSquare/DoughnutSquare.stories.d.ts +9 -8
  19. package/dist/components/chart/moneyByMonth/MoneyByMonth.d.ts +2 -1
  20. package/dist/components/chart/moneyByMonth/MoneyByMonth.stories.d.ts +3 -2
  21. package/dist/components/checkbox/Checkbox.d.ts +0 -1
  22. package/dist/components/checkbox/Checkbox.stories.d.ts +9 -10
  23. package/dist/components/col/Col.stories.d.ts +6 -7
  24. package/dist/components/collapse/Collapse.stories.d.ts +5 -6
  25. package/dist/components/container/Container.stories.d.ts +6 -7
  26. package/dist/components/controlLabel/ControlLabel.d.ts +1 -1
  27. package/dist/components/datePicker/DatePicker.d.ts +1 -6
  28. package/dist/components/datePicker/DatePicker.stories.d.ts +7 -8
  29. package/dist/components/doughnut/Doughnut.d.ts +1 -6
  30. package/dist/components/doughnut/Doughnut.stories.d.ts +21 -25
  31. package/dist/components/dropdownMenu/DropdownMenu.stories.d.ts +1 -0
  32. package/dist/components/elementPaginator/ElementPaginator.stories.d.ts +5 -6
  33. package/dist/components/etapas/Etapas.stories.d.ts +10 -11
  34. package/dist/components/etiqueta/Etiqueta.stories.d.ts +28 -34
  35. package/dist/components/fileLoader/FileLoader.stories.d.ts +7 -8
  36. package/dist/components/fileUpload/FileUpload.d.ts +1 -2
  37. package/dist/components/fileUpload/FileUpload.stories.d.ts +14 -13
  38. package/dist/components/footerSicredi/FooterSicredi.stories.d.ts +9 -10
  39. package/dist/components/fullHeightContainer/FullHeightContainer.stories.d.ts +7 -8
  40. package/dist/components/header/Header.d.ts +2 -3
  41. package/dist/components/header/Header.stories.d.ts +12 -13
  42. package/dist/components/iconButton/IconButton.d.ts +0 -1
  43. package/dist/components/iconButton/IconButton.stories.d.ts +7 -8
  44. package/dist/components/inputArea/InputArea.d.ts +0 -1
  45. package/dist/components/inputArea/InputArea.stories.d.ts +16 -17
  46. package/dist/components/menu/components/menuItem/MenuItem.d.ts +1 -2
  47. package/dist/components/menu/components/menuItem/MenuItem.stories.d.ts +8 -9
  48. package/dist/components/modal/Modal.d.ts +280 -20
  49. package/dist/components/modal/Modal.stories.d.ts +1 -0
  50. package/dist/components/modal/ModalMask.d.ts +2 -1
  51. package/dist/components/modal/ModalTypes.d.ts +3 -18
  52. package/dist/components/pageTitle/PageTitle.stories.d.ts +7 -6
  53. package/dist/components/pagination/Pagination.d.ts +1 -1
  54. package/dist/components/pagination/Pagination.stories.d.ts +46 -60
  55. package/dist/components/paginator/Paginator.stories.d.ts +16 -15
  56. package/dist/components/radioButton/RadioButton.d.ts +1 -2
  57. package/dist/components/row/Row.stories.d.ts +5 -6
  58. package/dist/components/select/Select.stories.d.ts +1 -0
  59. package/dist/components/switch/Switch.d.ts +0 -1
  60. package/dist/components/switch/Switch.stories.d.ts +8 -9
  61. package/dist/components/table/Table.d.ts +1 -1
  62. package/dist/components/tableFileNameAndAction/TableFileNameAndAction.d.ts +10 -9
  63. package/dist/components/tableFileNameAndAction/TableFileNameAndAction.stories.d.ts +7 -8
  64. package/dist/components/textEditor/TextEditor.d.ts +0 -1
  65. package/dist/components/textEditor/TextEditor.stories.d.ts +11 -12
  66. package/dist/components/textEditor/components/textEditorColorPicker/TextEditorColorPicker.d.ts +3 -8
  67. package/dist/components/textEditor/components/textEditorInput/TextEditorHeaderInput.d.ts +2 -7
  68. package/dist/components/textEditor/components/textEditorTitleChoser/TextEditorTitleChoser.d.ts +3 -8
  69. package/dist/components/textEditor/components/textEditorUrlCreator/TextEditorUrlCreator.d.ts +3 -8
  70. package/dist/components/toast/Toast.d.ts +0 -2
  71. package/dist/components/toastManager/ToastManager.d.ts +7 -1
  72. package/dist/components/toastManager/ToastManager.stories.d.ts +5 -6
  73. package/dist/components/tooltip/Tooltip.stories.d.ts +8 -9
  74. package/dist/components/tooltipManager/TooltipManager.stories.d.ts +7 -8
  75. package/dist/components/topLoader/TopLoader.stories.d.ts +6 -7
  76. package/dist/components/videoModal/VideoModal.d.ts +273 -10
  77. package/dist/components/videoPlayer/VideoPlayer.stories.d.ts +10 -11
  78. package/dist/hooks/useDebounce/useDebounce.d.ts +5 -0
  79. package/dist/hooks/useDebounce/useDebounce.stories.d.ts +10 -0
  80. package/dist/hooks/useHTMLShare/useHTMLShare.d.ts +1 -1
  81. package/dist/hooks/usePagination/usePagination.d.ts +1 -1
  82. package/dist/hooks/usePublicMenuList/usePublicMenuList.d.ts +1 -1
  83. package/dist/hooks/useScreenSize/useScreenSize.d.ts +7 -8
  84. package/dist/hooks/useStorageState/useStorageState.d.ts +1 -1
  85. package/dist/hooks/useToastManager/useToastManager.d.ts +1 -1
  86. package/dist/hooks/useValidatedState/useValidatedState.d.ts +1 -1
  87. package/dist/index.css +74 -75
  88. package/dist/index.d.ts +5 -3
  89. package/dist/index.js +3295 -3253
  90. package/dist/index.js.map +1 -1
  91. package/dist/index.modern.js +2966 -2924
  92. package/dist/index.modern.js.map +1 -1
  93. package/dist/libraries/ModalSize.d.ts +2 -1
  94. package/dist/libraries/ScreenSizes.d.ts +7 -0
  95. package/dist/utils/ArrayUtils.d.ts +1 -2
  96. package/dist/utils/HTMLutils.d.ts +3 -3
  97. package/dist/utils/MaskUtils.d.ts +8 -8
  98. package/dist/utils/ScrollUtils.d.ts +1 -1
  99. package/package.json +4 -4
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import './Icon.scss';
3
+ export declare const AlertIcon: () => React.JSX.Element;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import './PercentLoaderIcon.scss';
3
3
  export declare const PercentLoaderIcon: (props: {
4
- value?: string;
4
+ value?: string | number;
5
5
  hideCheck?: boolean;
6
6
  indefinido?: boolean;
7
7
  }) => React.JSX.Element;
@@ -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: (props: ThreeDotsProps) => React.JSX.Element;
9
+ export declare const ThreeDotsLoader: ({ theme, size, className, ...rest }: ThreeDotsProps) => React.JSX.Element;
@@ -1,11 +1,10 @@
1
- declare namespace _default {
2
- export const title: string;
3
- export { Accordion as component };
4
- }
1
+ import React from 'react';
2
+ declare const _default: {
3
+ title: string;
4
+ };
5
5
  export default _default;
6
- export function Primary(): import("react").JSX.Element;
7
- export function WithIcon(): import("react").JSX.Element;
8
- export function Shadow(): import("react").JSX.Element;
9
- export function FigmaExample(): import("react").JSX.Element;
10
- export function FigmaOnlyOneOpenedExample(): import("react").JSX.Element;
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
- interface BigBlockButtonProps {
4
- id?: string;
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,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import './BottomNavigation.scss';
3
- interface BottomNavigationProps {
3
+ export interface BottomNavigationProps {
4
4
  atual: number;
5
5
  setAtual: (newAtual: number) => void;
6
6
  itens: {
@@ -1,21 +1,21 @@
1
- declare namespace _default {
2
- export const title: string;
3
- export { BottomNavigation as component };
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 function FirstExample(args: any): import("react").JSX.Element;
7
- export namespace FirstExample {
8
- export namespace args {
9
- export const theme: string;
10
- export const itens: ({
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: import("react").JSX.Element;
13
+ icon: React.JSX.Element;
13
14
  notificationCount?: undefined;
14
15
  } | {
15
16
  label: string;
16
- icon: import("react").JSX.Element;
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
- declare namespace _default {
2
- export const title: string;
3
- export { BreadCrumb as component };
4
- }
1
+ import React from 'react';
2
+ declare const _default: {
3
+ title: string;
4
+ };
5
5
  export default _default;
6
- export function Primary(): import("react").JSX.Element;
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 { ThreeDotsSizes, ThreeDotsThemes } from '../../assets/icons/ThreeDotsLoader';
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?: JSX.Element | ReactNode;
14
- rightIcon?: JSX.Element | ReactNode;
11
+ leftIcon?: ReactNode;
12
+ rightIcon?: ReactNode;
15
13
  mobileBottomPage?: boolean;
16
- loader?: {
17
- loading: boolean;
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: boolean;
10
- disabledPrevMonth: boolean;
9
+ disabledNextMonth?: boolean;
10
+ disabledPrevMonth?: boolean;
11
11
  eventos?: Map<string, CalendarEventProps[]>;
12
12
  language: CalendarLanguage;
13
- highlightWeekends: boolean;
14
- loading: boolean;
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: boolean;
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
- declare namespace _default {
2
- export const title: string;
3
- export { Card as component };
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 function White(): import("react").JSX.Element;
7
- export function Green(): import("react").JSX.Element;
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
- declare namespace _default {
2
- export const title: string;
3
- export { Carousel as component };
4
- }
1
+ import React from 'react';
2
+ declare const _default: {
3
+ title: string;
4
+ };
5
5
  export default _default;
6
- export function FirstExample(): import("react").JSX.Element;
7
- export function ChangingStates(): import("react").JSX.Element;
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
- declare namespace _default {
2
- export const title: string;
3
- export { CarouselPersona as component };
4
- }
1
+ import React from 'react';
2
+ declare const _default: {
3
+ title: string;
4
+ };
5
5
  export default _default;
6
- export function FirstExample(): import("react").JSX.Element;
7
- import CarouselPersona from "./CarouselPersona";
6
+ export declare const FirstExample: () => React.JSX.Element;
@@ -1,8 +1,7 @@
1
- declare namespace _default {
2
- export const title: string;
3
- export { CarouselTouchFrendly as component };
4
- }
1
+ import React from 'react';
2
+ declare const _default: {
3
+ title: string;
4
+ };
5
5
  export default _default;
6
- export function FirstExample(): import("react").JSX.Element;
7
- export function exampleWithBanners(): import("react").JSX.Element;
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): import("react").JSX.Element;
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
- declare namespace _default {
2
- export const title: string;
3
- export { DoughnutSquare as component };
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 function Quarenta(): import("react").JSX.Element;
7
- export function Noventa(): import("react").JSX.Element;
8
- export function InsideOfRow(): import("react").JSX.Element;
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): import("react").JSX.Element;
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(): import("react").JSX.Element;
7
- export function ThreeMonths(): import("react").JSX.Element;
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";
@@ -18,7 +18,6 @@ declare namespace Checkbox {
18
18
  disabled: boolean;
19
19
  value: boolean;
20
20
  theme: string;
21
- onChange: () => void;
22
21
  };
23
22
  }
24
23
  declare const _default: React.MemoExoticComponent<typeof Checkbox>;
@@ -1,11 +1,10 @@
1
- declare namespace _default {
2
- export const title: string;
3
- export { Checkbox as component };
4
- }
1
+ import React from 'react';
2
+ declare const _default: {
3
+ title: string;
4
+ };
5
5
  export default _default;
6
- export function Primary(): import("react").JSX.Element;
7
- export function Dark(): import("react").JSX.Element;
8
- export function Classic(): import("react").JSX.Element;
9
- export function DisabledOn(): import("react").JSX.Element;
10
- export function DisabledOff(): import("react").JSX.Element;
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
- declare namespace _default {
2
- export const title: string;
3
- export { Col as component };
4
- }
1
+ import React from 'react';
2
+ declare const _default: {
3
+ title: string;
4
+ };
5
5
  export default _default;
6
- export function FirstExample(): import("react").JSX.Element;
7
- export function SecondExample(): import("react").JSX.Element;
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
- declare namespace _default {
2
- export const title: string;
3
- export { Collapse as component };
4
- }
1
+ import React from 'react';
2
+ declare const _default: {
3
+ title: string;
4
+ };
5
5
  export default _default;
6
- export function Normal(): import("react").JSX.Element;
7
- import Collapse from "./Collapse";
6
+ export declare const Normal: () => React.JSX.Element;
@@ -1,8 +1,7 @@
1
- declare namespace _default {
2
- export const title: string;
3
- export { Container as component };
4
- }
1
+ import React from 'react';
2
+ declare const _default: {
3
+ title: string;
4
+ };
5
5
  export default _default;
6
- export function Primary(): import("react").JSX.Element;
7
- export function ScrollTest(): import("react").JSX.Element;
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
- declare namespace _default {
2
- export const title: string;
3
- export { DatePicker as component };
4
- }
1
+ import React from 'react';
2
+ declare const _default: {
3
+ title: string;
4
+ };
5
5
  export default _default;
6
- export function Primary(): import("react").JSX.Element;
7
- export function CloseOnSelect(): import("react").JSX.Element;
8
- export function Three(): import("react").JSX.Element;
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
- declare namespace _default {
2
- export const title: string;
3
- export { Doughnut as component };
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 function WithNumber(args: any): import("react").JSX.Element;
7
- export namespace WithNumber {
8
- export namespace args {
9
- export const showLabel: boolean;
10
- export const value: number;
11
- export const red: boolean;
12
- }
13
- }
14
- export function WithString(args: any): import("react").JSX.Element;
15
- export namespace WithString {
16
- export namespace args_1 {
17
- const showLabel_1: boolean;
18
- export { showLabel_1 as showLabel };
19
- const value_1: string;
20
- export { value_1 as value };
21
- const red_1: boolean;
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
+ };
@@ -7,3 +7,4 @@ declare const _default: {
7
7
  export default _default;
8
8
  export declare const Example: () => React.JSX.Element;
9
9
  export declare const Oversized: () => React.JSX.Element;
10
+ export declare const HeaderExample: () => React.JSX.Element;
@@ -1,7 +1,6 @@
1
- declare namespace _default {
2
- export const title: string;
3
- export { ElementPaginator as component };
4
- }
1
+ import React from 'react';
2
+ declare const _default: {
3
+ title: string;
4
+ };
5
5
  export default _default;
6
- export function FirstExample(): import("react").JSX.Element;
7
- import ElementPaginator from "./ElementPaginator";
6
+ export declare const FirstExample: () => React.JSX.Element;
@@ -1,12 +1,11 @@
1
- declare namespace _default {
2
- export const title: string;
3
- export { Etapas as component };
4
- }
1
+ import React from 'react';
2
+ declare const _default: {
3
+ title: string;
4
+ };
5
5
  export default _default;
6
- export function First(): import("react").JSX.Element;
7
- export function EscondendoLabels(): import("react").JSX.Element;
8
- export function WithoutScrollOnChange(): import("react").JSX.Element;
9
- export function Second(): import("react").JSX.Element;
10
- export function Third(): import("react").JSX.Element;
11
- export function WithError(): import("react").JSX.Element;
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;