plataforma-fundacao-componentes 2.23.2 → 2.23.5

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.
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import './Icon.scss';
3
+ export declare const AgencyIcon: () => JSX.Element;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import './Icon.scss';
3
+ export declare const CalendarCheckIcon: () => JSX.Element;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import './Icon.scss';
3
+ export declare const CopyIcon: () => JSX.Element;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import './Icon.scss';
3
+ export declare const DevicePlusIcon: () => JSX.Element;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import './Icon.scss';
3
+ export declare const NotebookIcon: () => JSX.Element;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import './Icon.scss';
3
+ export declare const PrintIcon: () => JSX.Element;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import './Icon.scss';
3
+ export declare const QRCodeIcon: () => JSX.Element;
@@ -4,6 +4,7 @@ interface BigBlockButtonProps {
4
4
  id?: string;
5
5
  icon?: React.ReactNode;
6
6
  label?: React.ReactNode | string | number;
7
+ subtitle?: React.ReactNode | string | number;
7
8
  onClick: (evt?: any) => void;
8
9
  disabled?: boolean;
9
10
  }
@@ -13,4 +13,6 @@ export namespace FirstExample {
13
13
  }
14
14
  }
15
15
  export function MultipleExample(): JSX.Element;
16
+ export function SubtitleExample(): JSX.Element;
17
+ export function MultipleSubtitleExample(): JSX.Element;
16
18
  import BigBlockButton from "./BigBlockButton";
@@ -1,16 +1,14 @@
1
- declare var _default: React.MemoExoticComponent<typeof DatePickerCalendar>;
2
- export default _default;
3
- declare function DatePickerCalendar(props: any): JSX.Element;
4
- declare namespace DatePickerCalendar {
5
- export namespace propTypes {
6
- export const value: PropTypes.Requireable<any>;
7
- export const onChange: PropTypes.Requireable<(...args: any[]) => any>;
8
- export const language: PropTypes.Requireable<PropTypes.InferProps<{
9
- daysOfWeek: PropTypes.Requireable<(string | null | undefined)[]>;
10
- months: PropTypes.Requireable<(string | null | undefined)[]>;
11
- monthsAbrev: PropTypes.Requireable<(string | null | undefined)[]>;
12
- }>>;
13
- }
1
+ import React from 'react';
2
+ import './DatePickerCalendar.scss';
3
+ interface calendarProps {
4
+ value?: any;
5
+ onChange?: (date: string) => void;
6
+ language: {
7
+ daysOfWeek: string[];
8
+ months: string[];
9
+ monthsAbrev: string[];
10
+ };
14
11
  }
15
- import React from "react";
16
- import PropTypes from "prop-types";
12
+ declare function DatePickerCalendar(props: calendarProps): JSX.Element;
13
+ declare const _default: React.MemoExoticComponent<typeof DatePickerCalendar>;
14
+ export default _default;
@@ -0,0 +1,20 @@
1
+ import React from 'react';
2
+ import './QRCode.scss';
3
+ export interface QRCodeProps {
4
+ button?: boolean;
5
+ size: number;
6
+ margin?: number;
7
+ text: string;
8
+ color?: string;
9
+ backgroundColor?: string;
10
+ onClick?: (event: React.MouseEvent<HTMLDivElement>) => void;
11
+ }
12
+ declare function QRCode(props: QRCodeProps): JSX.Element;
13
+ declare namespace QRCode {
14
+ var defaultProps: {
15
+ margin: number;
16
+ color: string;
17
+ };
18
+ }
19
+ declare const _default: React.MemoExoticComponent<typeof QRCode>;
20
+ export default _default;
@@ -0,0 +1,14 @@
1
+ /// <reference types="react" />
2
+ import { QRCodeProps } from './QRCode';
3
+ declare const _default: {
4
+ title: string;
5
+ };
6
+ export default _default;
7
+ export declare const DefaultExample: {
8
+ (args: QRCodeProps): JSX.Element;
9
+ args: QRCodeProps;
10
+ };
11
+ export declare const ColorizedExample: {
12
+ (args: QRCodeProps): JSX.Element;
13
+ args: QRCodeProps;
14
+ };
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import './Title.scss';
3
+ interface TitleProps {
4
+ children: any;
5
+ showBackButton?: boolean;
6
+ onBackClick?: (event?: any) => void;
7
+ rightElement?: React.ReactNode;
8
+ }
9
+ declare function Title(props: TitleProps): JSX.Element;
10
+ declare namespace Title {
11
+ var defaultProps: {};
12
+ }
13
+ export default Title;
@@ -1,6 +1,6 @@
1
1
  declare namespace _default {
2
2
  export const title: string;
3
- export { ModulosTitle as component };
3
+ export { Title as component };
4
4
  }
5
5
  export default _default;
6
6
  export function FirstExample(args: any): JSX.Element;
@@ -19,4 +19,4 @@ export namespace BackExample {
19
19
  export { args_1 as args };
20
20
  }
21
21
  export function RightElementExample(args: any): JSX.Element;
22
- import ModulosTitle from "./ModulosTitle";
22
+ import Title from "./Title";
@@ -0,0 +1,18 @@
1
+ import { RefObject } from 'react';
2
+ declare type queryElementOrRef = string | JSX.Element | RefObject<any>;
3
+ declare type pdfOptions = {
4
+ pdfWidth?: number;
5
+ pdfHeight?: number;
6
+ imageWidth?: number;
7
+ imageHeight?: number;
8
+ imageX?: number;
9
+ imageY?: number;
10
+ quality?: 1;
11
+ orientation?: 'p' | 'portrait' | 'l' | 'landscape';
12
+ scale?: number;
13
+ };
14
+ export default function useHTMLShare(): {
15
+ print: (element: queryElementOrRef) => Promise<void>;
16
+ pdf: (elementOrQuerySelector: queryElementOrRef, fileName: string, options?: ((canvas: HTMLCanvasElement) => pdfOptions) | undefined, scale?: number) => Promise<void>;
17
+ };
18
+ export {};
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ declare const _default: {
3
+ title: string;
4
+ };
5
+ export default _default;
6
+ export declare const FirstExample: () => JSX.Element;