plataforma-fundacao-componentes 2.23.34 → 2.24.1
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/chip/Chip.d.ts +2 -0
- package/dist/components/chip/Chip.stories.d.ts +6 -0
- package/dist/components/container/Container.d.ts +1 -7
- package/dist/components/formattedText/FormattedText.d.ts +14 -0
- package/dist/components/formattedText/FormattedText.stories.d.ts +6 -0
- package/dist/components/inputArea/InputArea.d.ts +0 -1
- package/dist/components/textEditor/components/textEditorInput/TextEditorHeaderInput.d.ts +1 -2
- package/dist/index.css +1029 -3142
- package/dist/index.d.ts +2 -23
- package/dist/index.js +32288 -29731
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +32263 -29708
- package/dist/index.modern.js.map +1 -1
- package/dist/utils/ArrayUtils.d.ts +1 -1
- package/package.json +26 -34
- package/dist/components/aconteceu/Aconteceu.d.ts +0 -24
- package/dist/components/aconteceu/Aconteceu.stories.d.ts +0 -9
- package/dist/components/advancedSemiHeader/AdvancedSemiHeader.d.ts +0 -10
- package/dist/components/advancedSemiHeader/AdvancedSemiHeader.stories.d.ts +0 -8
- package/dist/components/assembleiaItem/AssembleiaItem.d.ts +0 -23
- package/dist/components/assembleiaItem/AssembleiaItem.stories.d.ts +0 -11
- package/dist/components/assembleiaPauta/AssembleiaPauta.d.ts +0 -71
- package/dist/components/assembleiaPauta/AssembleiaPauta.stories.d.ts +0 -170
- package/dist/components/bannerAssembleia/BannerAssembleia.d.ts +0 -13
- package/dist/components/bannerAssembleia/BannerAssembleia.stories.d.ts +0 -8
- package/dist/components/bannerPesquisaCpfCnpj/BannerPesquisaCpfCnpj.d.ts +0 -19
- package/dist/components/bannerPesquisaCpfCnpj/BannerPesquisaCpfCnpj.stories.d.ts +0 -8
- package/dist/components/blocoDeNotas/BlocoDeNotas.d.ts +0 -53
- package/dist/components/blocoDeNotas/BlocoDeNotas.stories.d.ts +0 -9
- package/dist/components/blocoMinhasAssembleias/BlocoMinhasAssembleias.d.ts +0 -22
- package/dist/components/blocoMinhasAssembleias/BlocoMinhasAssembleias.stories.d.ts +0 -20
- package/dist/components/editableVideoItem/EditableVideoItem.d.ts +0 -28
- package/dist/components/editableVideoItem/EditableVideoItem.stories.d.ts +0 -7
- package/dist/components/headerSearchField/HeaderSearchField.d.ts +0 -23
- package/dist/components/headerSearchField/HeaderSearchField.stories.d.ts +0 -7
- package/dist/components/iconButtonWithLabel/IconButtonWithLabel.d.ts +0 -16
- package/dist/components/iconButtonWithLabel/IconButtonWithLabel.stories.d.ts +0 -7
- package/dist/components/informativoAssembleiasComImagem/InformativoAssembleiasComImagem.d.ts +0 -14
- package/dist/components/informativoAssembleiasComImagem/InformativoAssembleiasComImagem.stories.d.ts +0 -40
- package/dist/components/informativoAssembleiasComVideo/InformativoAssembleiasComVideo.d.ts +0 -13
- package/dist/components/informativoAssembleiasComVideo/InformativoAssembleiasComVideo.stories.d.ts +0 -10
- package/dist/components/notaEdit/NotaEdit.d.ts +0 -22
- package/dist/components/notaEdit/NotaEdit.stories.d.ts +0 -7
- package/dist/components/progressBar/ProgressBar.d.ts +0 -13
- package/dist/components/progressBar/ProgressBar.stories.d.ts +0 -54
- package/dist/components/searchBlocoDeNotas/SearchBlocoDeNotas.d.ts +0 -16
- package/dist/components/searchBlocoDeNotas/SearchBlocoDeNotas.stories.d.ts +0 -7
- package/dist/components/videoItem/VideoItem.d.ts +0 -16
- package/dist/components/videoItem/VideoItem.stories.d.ts +0 -7
- package/dist/libraries/InformativoAssembleiasComVideoAlign.d.ts +0 -4
- package/dist/utils/ErrorUtils.d.ts +0 -5
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import './Chip.scss';
|
|
3
|
+
declare type ChipTheme = 'primary' | 'primary-outline' | 'danger';
|
|
3
4
|
export interface ChipProps {
|
|
4
5
|
label?: string;
|
|
5
6
|
w100?: boolean;
|
|
6
7
|
allClickable?: boolean;
|
|
7
8
|
onClick: () => void;
|
|
8
9
|
disabled?: boolean;
|
|
10
|
+
theme?: ChipTheme;
|
|
9
11
|
}
|
|
10
12
|
declare function Chip(props: ChipProps): JSX.Element;
|
|
11
13
|
declare const _default: React.MemoExoticComponent<typeof Chip>;
|
|
@@ -13,13 +13,7 @@ interface ContainerProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
13
13
|
}
|
|
14
14
|
declare function Container(props: ContainerProps): JSX.Element;
|
|
15
15
|
declare namespace Container {
|
|
16
|
-
var defaultProps:
|
|
17
|
-
fluid: boolean;
|
|
18
|
-
verticalPadding: boolean;
|
|
19
|
-
hasMobileButton: boolean;
|
|
20
|
-
hasAdvancedHeader: boolean;
|
|
21
|
-
hasHeader: boolean;
|
|
22
|
-
};
|
|
16
|
+
var defaultProps: Partial<ContainerProps>;
|
|
23
17
|
}
|
|
24
18
|
declare const _default: React.MemoExoticComponent<typeof Container>;
|
|
25
19
|
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { HTMLAttributes, ReactElement, ReactHTML } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
* @param text Texto a ser substituído (pode incluir HTML).
|
|
5
|
+
* \*NEGRITO\*, \__ITÁLICO_\_, \~TACHADO\~.
|
|
6
|
+
* #N# Para os N replacers
|
|
7
|
+
* @param replacers N Replacers do texto
|
|
8
|
+
* @returns SPAN FORMATADA
|
|
9
|
+
*/
|
|
10
|
+
export default function FormattedText<T extends keyof ReactHTML = keyof ReactHTML>(text: string | {
|
|
11
|
+
text: string;
|
|
12
|
+
tag?: T;
|
|
13
|
+
props?: HTMLAttributes<T>;
|
|
14
|
+
}, ...replacers: string[]): ReactElement;
|
|
@@ -4,7 +4,6 @@ import './InputArea.scss';
|
|
|
4
4
|
interface InputAreaProps extends TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
5
5
|
'tooltip-position'?: TooltipPosition;
|
|
6
6
|
'tooltip-text'?: string;
|
|
7
|
-
onChange?: (event: any) => void;
|
|
8
7
|
value?: string | number;
|
|
9
8
|
loading?: boolean;
|
|
10
9
|
disabled?: boolean;
|
|
@@ -3,7 +3,7 @@ declare namespace TextEditorHeaderInput {
|
|
|
3
3
|
export namespace propTypes {
|
|
4
4
|
export const onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
5
5
|
export const label: PropTypes.Requireable<string>;
|
|
6
|
-
export const value: PropTypes.Requireable<
|
|
6
|
+
export const value: PropTypes.Requireable<import("react").Key>;
|
|
7
7
|
export const onEnter: PropTypes.Requireable<(...args: any[]) => any>;
|
|
8
8
|
}
|
|
9
9
|
export namespace defaultProps {
|
|
@@ -13,4 +13,3 @@ declare namespace TextEditorHeaderInput {
|
|
|
13
13
|
}
|
|
14
14
|
export default TextEditorHeaderInput;
|
|
15
15
|
import PropTypes from "prop-types";
|
|
16
|
-
import React from "react";
|