plataforma-fundacao-componentes 3.0.0-beta.2 → 3.0.0-beta.4

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,7 @@
1
+ import { InputHTMLAttributes } from 'react';
2
+ export interface CheckboxProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'type'> {
3
+ radio?: boolean;
4
+ label?: string;
5
+ labelPlacement?: 'left' | 'right' | 'top' | 'bottom';
6
+ }
7
+ export default function Checkbox({ className, radio, label, labelPlacement, disabled, ...props }: CheckboxProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export default function LogoHandTalk(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export default function LogoWhatsapp(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export default function QrAtendimentoLibras(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export default function QrAtendimentoPt(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,34 @@
1
+ export declare const footerLinks: {
2
+ title: string;
3
+ content: {
4
+ label: string;
5
+ link: string;
6
+ }[];
7
+ }[];
8
+ export declare const footerWhatsApp: {
9
+ title: string;
10
+ num: {
11
+ label: string;
12
+ link: string;
13
+ };
14
+ label: string;
15
+ portuguese: {
16
+ label: string;
17
+ link: string;
18
+ };
19
+ libras: {
20
+ label: string;
21
+ link: string;
22
+ };
23
+ };
24
+ export declare const footerNumbers: {
25
+ title: string;
26
+ sub: string;
27
+ label: string;
28
+ link: string;
29
+ }[];
30
+ export declare const footerSocial: {
31
+ label: string;
32
+ link: string;
33
+ }[];
34
+ export declare const footerInformation: string[];
@@ -0,0 +1,5 @@
1
+ import { HTMLAttributes } from 'react';
2
+ export interface FooterSicrediProps extends HTMLAttributes<HTMLElement> {
3
+ backgroundWhite?: boolean;
4
+ }
5
+ export default function FooterSicredi({ className, backgroundWhite, ...props }: FooterSicrediProps): import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,5 @@
1
1
  import { HTMLAttributes, ReactElement, ReactHTML } from 'react';
2
2
  /**
3
- *
4
3
  * @param text Texto a ser substituído (pode incluir HTML).
5
4
  * \*NEGRITO\*, \__ITÁLICO_\_, \~TACHADO\~.
6
5
  * #N# Para os N replacers
@@ -0,0 +1,18 @@
1
+ import Banner from './banner/banner';
2
+ import Button from './button/button';
3
+ import Checkbox from './checkbox/checkbox';
4
+ import Col from './col/col';
5
+ import Collapse from './collapse/collapse';
6
+ import Container from './container/container';
7
+ import Dropdown from './dropdown/dropdown';
8
+ import FooterSicredi from './footerSicredi/footerSicredi';
9
+ import FormattedText from './formattedText/formattedText';
10
+ import FullHeightContainer from './fullHeightContainer/fullHeightContainer';
11
+ import Header, { UserLoginButton, VerticalSeparator } from './header/header';
12
+ import IconButton from './iconButton/iconButton';
13
+ import Row from './row/row';
14
+ import Steps from './steps/steps';
15
+ import Tag from './tag/tag';
16
+ import Toast, { ToastContainer } from './toast/fragments/toast';
17
+ import Typography from './typography/typography';
18
+ export { Banner, Button, Checkbox, Col, Collapse, Container, Dropdown, FooterSicredi, FormattedText, FullHeightContainer, Header, IconButton, Row, Steps, Tag, Toast, ToastContainer, Typography, UserLoginButton, VerticalSeparator, };
@@ -0,0 +1,11 @@
1
+ export declare enum StepStatus {
2
+ FUTURE = 0,
3
+ ATUAL = 1,
4
+ COMPLETED = 2
5
+ }
6
+ interface Props {
7
+ status?: StepStatus;
8
+ whiteBackground?: boolean;
9
+ }
10
+ export default function StepStatusIcon({ status, whiteBackground, }: Props): import("react/jsx-runtime").JSX.Element;
11
+ export {};
@@ -0,0 +1,14 @@
1
+ import { MouseEvent } from 'react';
2
+ interface StepsProps {
3
+ atual?: number;
4
+ steps?: {
5
+ label: string;
6
+ disabled?: boolean;
7
+ }[];
8
+ onChange?: (at: number, evt: MouseEvent) => void;
9
+ aditionalPercentage?: number;
10
+ w100?: boolean;
11
+ strokeWidth?: number;
12
+ }
13
+ export default function Steps({ atual, steps, onChange, aditionalPercentage, w100, strokeWidth, }: StepsProps): import("react/jsx-runtime").JSX.Element;
14
+ export {};
@@ -0,0 +1,5 @@
1
+ import { HTMLAttributes } from 'react';
2
+ export interface TagProps extends HTMLAttributes<HTMLDivElement> {
3
+ theme?: 'primary' | 'primary-dark' | 'red' | 'orange' | 'yellow' | 'light-blue';
4
+ }
5
+ export default function Tag({ className, theme, ...props }: TagProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,6 @@
1
+ import useDropOpened from './useDropOpened/useDropOpened';
2
+ import useEvent from './useEvent/useEvent';
3
+ import useFloatingPanel from './useFloatingPanel/useFloatingPanel';
4
+ import useOutsideClick from './useOutsideClick/useOutsideClick';
5
+ import useScreenSize from './useScreenSize/useScreenSize';
6
+ export { useDropOpened, useEvent, useFloatingPanel, useOutsideClick, useScreenSize, };
package/dist/index.d.ts CHANGED
@@ -1,21 +1,3 @@
1
- import Banner from './components/banner/banner';
2
- import Button from './components/button/button';
3
- import Col from './components/col/col';
4
- import Collapse from './components/collapse/collapse';
5
- import Container from './components/container/container';
6
- import Dropdown from './components/dropdown/dropdown';
7
- import FormattedText from './components/formattedText/formattedText';
8
- import FullHeightContainer from './components/fullHeightContainer/fullHeightContainer';
9
- import Header, { UserLoginButton, VerticalSeparator } from './components/header/header';
10
- import IconButton from './components/iconButton/iconButton';
11
- import Row from './components/row/row';
12
- import Toast, { ToastContainer } from './components/toast/fragments/toast';
13
- import Typography from './components/typography/typography';
14
- import useDropOpened from './hooks/useDropOpened/useDropOpened';
15
- import useEvent from './hooks/useEvent/useEvent';
16
- import useFloatingPanel from './hooks/useFloatingPanel/useFloatingPanel';
17
- import useOutsideClick from './hooks/useOutsideClick/useOutsideClick';
18
- import useScreenSize from './hooks/useScreenSize/useScreenSize';
19
- export { Banner, Button, Col, Collapse, Container, Dropdown, FormattedText, FullHeightContainer, Header, IconButton, Row, Toast, ToastContainer, Typography, UserLoginButton, VerticalSeparator, };
20
- export { useDropOpened, useEvent, useFloatingPanel, useOutsideClick, useScreenSize, };
1
+ export * from './components';
2
+ export * from './hooks';
21
3
  export * from './libraries';