plataforma-fundacao-componentes 3.0.0-beta.3 → 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.
- package/dist/components/checkbox/checkbox.d.ts +7 -0
- package/dist/components/footerSicredi/footerSicredi.d.ts +2 -1
- package/dist/components/index.d.ts +18 -0
- package/dist/components/steps/fragments/stepStatusIcon/stepStatusIcon.d.ts +11 -0
- package/dist/components/steps/steps.d.ts +14 -0
- package/dist/components/tag/tag.d.ts +5 -0
- package/dist/hooks/index.d.ts +6 -0
- package/dist/index.d.ts +2 -21
- package/dist/index.js +2321 -2061
- package/dist/index.umd.cjs +22 -22
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -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;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
2
|
export interface FooterSicrediProps extends HTMLAttributes<HTMLElement> {
|
|
3
|
+
backgroundWhite?: boolean;
|
|
3
4
|
}
|
|
4
|
-
export default function FooterSicredi({ className, ...props }: FooterSicrediProps): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export default function FooterSicredi({ className, backgroundWhite, ...props }: FooterSicrediProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -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,22 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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 FooterSicredi from './components/footerSicredi/footerSicredi';
|
|
8
|
-
import FormattedText from './components/formattedText/formattedText';
|
|
9
|
-
import FullHeightContainer from './components/fullHeightContainer/fullHeightContainer';
|
|
10
|
-
import Header, { UserLoginButton, VerticalSeparator } from './components/header/header';
|
|
11
|
-
import IconButton from './components/iconButton/iconButton';
|
|
12
|
-
import Row from './components/row/row';
|
|
13
|
-
import Toast, { ToastContainer } from './components/toast/fragments/toast';
|
|
14
|
-
import Typography from './components/typography/typography';
|
|
15
|
-
import useDropOpened from './hooks/useDropOpened/useDropOpened';
|
|
16
|
-
import useEvent from './hooks/useEvent/useEvent';
|
|
17
|
-
import useFloatingPanel from './hooks/useFloatingPanel/useFloatingPanel';
|
|
18
|
-
import useOutsideClick from './hooks/useOutsideClick/useOutsideClick';
|
|
19
|
-
import useScreenSize from './hooks/useScreenSize/useScreenSize';
|
|
20
|
-
export { Banner, Button, Col, Collapse, Container, Dropdown, FormattedText, FullHeightContainer, Header, IconButton, Row, Toast, ToastContainer, Typography, UserLoginButton, VerticalSeparator, FooterSicredi, };
|
|
21
|
-
export { useDropOpened, useEvent, useFloatingPanel, useOutsideClick, useScreenSize, };
|
|
1
|
+
export * from './components';
|
|
2
|
+
export * from './hooks';
|
|
22
3
|
export * from './libraries';
|