plataforma-fundacao-componentes 2.25.5 → 2.25.7
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/paginator/Paginator.stories.d.ts +1 -0
- package/dist/components/textEditor/TextEditor.d.ts +19 -20
- package/dist/components/textEditor/components/textEditorColorPicker/TextEditorColorPicker.d.ts +11 -11
- package/dist/components/textEditor/components/textEditorHeaderButton/TextEditorHeaderButton.d.ts +7 -10
- package/dist/components/textEditor/components/textEditorInput/TextEditorHeaderInput.d.ts +10 -12
- package/dist/components/textEditor/components/textEditorMenuButton/TextEditorMenuButton.d.ts +3 -9
- package/dist/components/textEditor/components/textEditorTitleChoser/TextEditorTitleChoser.d.ts +10 -10
- package/dist/components/textEditor/components/textEditorUrlCreator/TextEditorUrlCreator.d.ts +11 -11
- package/dist/index.css +49 -36
- package/dist/index.js +193 -197
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +193 -197
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,23 +1,22 @@
|
|
|
1
|
-
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
import './TextEditor.scss';
|
|
3
|
+
interface Props {
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
value?: string;
|
|
6
|
+
onChange?: (s: string, f: string) => void;
|
|
7
|
+
topLabel?: ReactNode;
|
|
8
|
+
helperText?: ReactNode;
|
|
9
|
+
hideTopLabel?: boolean;
|
|
10
|
+
hideHelperText?: boolean;
|
|
11
|
+
error?: boolean;
|
|
12
|
+
className?: string;
|
|
13
|
+
}
|
|
14
|
+
declare function TextEditor(props: Props): React.JSX.Element;
|
|
2
15
|
declare namespace TextEditor {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export const helperText: PropTypes.Requireable<string | object>;
|
|
9
|
-
export const hideTopLabel: PropTypes.Requireable<boolean>;
|
|
10
|
-
export const hideHelperText: PropTypes.Requireable<boolean>;
|
|
11
|
-
export const error: PropTypes.Requireable<boolean>;
|
|
12
|
-
}
|
|
13
|
-
export namespace defaultProps {
|
|
14
|
-
const disabled_1: boolean;
|
|
15
|
-
export { disabled_1 as disabled };
|
|
16
|
-
const value_1: string;
|
|
17
|
-
export { value_1 as value };
|
|
18
|
-
export function onChange_1(): void;
|
|
19
|
-
export { onChange_1 as onChange };
|
|
20
|
-
}
|
|
16
|
+
var defaultProps: {
|
|
17
|
+
disabled: boolean;
|
|
18
|
+
value: string;
|
|
19
|
+
onChange: () => void;
|
|
20
|
+
};
|
|
21
21
|
}
|
|
22
22
|
export default TextEditor;
|
|
23
|
-
import PropTypes from "prop-types";
|
package/dist/components/textEditor/components/textEditorColorPicker/TextEditorColorPicker.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './TextEditorColorPicker.scss';
|
|
3
|
+
interface Props {
|
|
4
|
+
onChange: (color: string) => void;
|
|
5
|
+
atualColor?: string;
|
|
6
|
+
opened: boolean;
|
|
7
|
+
}
|
|
8
|
+
declare function TextEditorColorPicker(props: Props): React.JSX.Element;
|
|
2
9
|
declare namespace TextEditorColorPicker {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export const opened: PropTypes.Requireable<boolean>;
|
|
7
|
-
}
|
|
8
|
-
export namespace defaultProps {
|
|
9
|
-
export function onChange_1(): void;
|
|
10
|
-
export { onChange_1 as onChange };
|
|
11
|
-
}
|
|
10
|
+
var defaultProps: {
|
|
11
|
+
onChange: () => void;
|
|
12
|
+
};
|
|
12
13
|
}
|
|
13
14
|
export default TextEditorColorPicker;
|
|
14
|
-
import PropTypes from "prop-types";
|
package/dist/components/textEditor/components/textEditorHeaderButton/TextEditorHeaderButton.d.ts
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export const active: PropTypes.Requireable<boolean>;
|
|
7
|
-
export const disabled: PropTypes.Requireable<boolean>;
|
|
8
|
-
}
|
|
1
|
+
import React, { ButtonHTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
import './TextEditorHeaderButton.scss';
|
|
3
|
+
interface Props extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
4
|
+
icon?: ReactNode;
|
|
5
|
+
active?: boolean;
|
|
9
6
|
}
|
|
10
|
-
export default TextEditorHeaderButton;
|
|
11
|
-
|
|
7
|
+
export default function TextEditorHeaderButton({ icon, active, ...props }: Props): React.JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -1,15 +1,13 @@
|
|
|
1
|
-
|
|
1
|
+
import React, { InputHTMLAttributes } from 'react';
|
|
2
|
+
import './TextEditorHeaderInput.scss';
|
|
3
|
+
interface Props extends InputHTMLAttributes<HTMLInputElement> {
|
|
4
|
+
label?: string;
|
|
5
|
+
onEnter: () => void;
|
|
6
|
+
}
|
|
7
|
+
declare function TextEditorHeaderInput(props: Props): React.JSX.Element;
|
|
2
8
|
declare namespace TextEditorHeaderInput {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export const value: PropTypes.Requireable<import("react").Key>;
|
|
7
|
-
export const onEnter: PropTypes.Requireable<(...args: any[]) => any>;
|
|
8
|
-
}
|
|
9
|
-
export namespace defaultProps {
|
|
10
|
-
export function onChange_1(): void;
|
|
11
|
-
export { onChange_1 as onChange };
|
|
12
|
-
}
|
|
9
|
+
var defaultProps: {
|
|
10
|
+
onChange: () => void;
|
|
11
|
+
};
|
|
13
12
|
}
|
|
14
13
|
export default TextEditorHeaderInput;
|
|
15
|
-
import PropTypes from "prop-types";
|
package/dist/components/textEditor/components/textEditorMenuButton/TextEditorMenuButton.d.ts
CHANGED
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export const onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
5
|
-
export const disabled: PropTypes.Requireable<boolean>;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
export default TextEditorMenuButton;
|
|
9
|
-
import PropTypes from "prop-types";
|
|
1
|
+
import React, { ButtonHTMLAttributes } from 'react';
|
|
2
|
+
import './TextEditorMenuButton.scss';
|
|
3
|
+
export default function TextEditorMenuButton(props: ButtonHTMLAttributes<HTMLButtonElement>): React.JSX.Element;
|
package/dist/components/textEditor/components/textEditorTitleChoser/TextEditorTitleChoser.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './TextEditorTitleChoser.scss';
|
|
3
|
+
interface Props {
|
|
4
|
+
onChange: (text: string) => void;
|
|
5
|
+
opened: boolean;
|
|
6
|
+
}
|
|
7
|
+
declare function TextEditorTitleChoser(props: Props): React.JSX.Element;
|
|
2
8
|
declare namespace TextEditorTitleChoser {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
export namespace defaultProps {
|
|
8
|
-
export function onChange_1(): void;
|
|
9
|
-
export { onChange_1 as onChange };
|
|
10
|
-
}
|
|
9
|
+
var defaultProps: {
|
|
10
|
+
onChange: () => void;
|
|
11
|
+
};
|
|
11
12
|
}
|
|
12
13
|
export default TextEditorTitleChoser;
|
|
13
|
-
import PropTypes from "prop-types";
|
package/dist/components/textEditor/components/textEditorUrlCreator/TextEditorUrlCreator.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './TextEditorUrlCreator.scss';
|
|
3
|
+
interface Props {
|
|
4
|
+
opened?: boolean;
|
|
5
|
+
onChange: (textValue: string, urlValue: string, newTab: boolean) => void;
|
|
6
|
+
editorId: string;
|
|
7
|
+
}
|
|
8
|
+
declare function TextEditorUrlCreator(props: Props): React.JSX.Element;
|
|
2
9
|
declare namespace TextEditorUrlCreator {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export const editorId: PropTypes.Requireable<string>;
|
|
7
|
-
}
|
|
8
|
-
export namespace defaultProps {
|
|
9
|
-
export function onChange_1(): void;
|
|
10
|
-
export { onChange_1 as onChange };
|
|
11
|
-
}
|
|
10
|
+
var defaultProps: {
|
|
11
|
+
onChange: () => void;
|
|
12
|
+
};
|
|
12
13
|
}
|
|
13
14
|
export default TextEditorUrlCreator;
|
|
14
|
-
import PropTypes from "prop-types";
|
package/dist/index.css
CHANGED
|
@@ -5311,37 +5311,46 @@ header.component-header {
|
|
|
5311
5311
|
justify-content: center;
|
|
5312
5312
|
margin-left: auto;
|
|
5313
5313
|
margin-right: auto; }
|
|
5314
|
-
.component-paginator .component-paginator-center-content
|
|
5315
|
-
|
|
5316
|
-
|
|
5317
|
-
|
|
5318
|
-
|
|
5319
|
-
|
|
5320
|
-
|
|
5321
|
-
|
|
5322
|
-
|
|
5323
|
-
|
|
5324
|
-
-
|
|
5325
|
-
|
|
5326
|
-
|
|
5327
|
-
|
|
5328
|
-
|
|
5329
|
-
|
|
5330
|
-
|
|
5331
|
-
|
|
5332
|
-
|
|
5333
|
-
|
|
5334
|
-
|
|
5335
|
-
|
|
5336
|
-
|
|
5337
|
-
|
|
5338
|
-
|
|
5339
|
-
|
|
5340
|
-
|
|
5341
|
-
|
|
5342
|
-
|
|
5343
|
-
|
|
5344
|
-
|
|
5314
|
+
.component-paginator .component-paginator-center-content > div {
|
|
5315
|
+
display: flex;
|
|
5316
|
+
align-items: center;
|
|
5317
|
+
visibility: visible;
|
|
5318
|
+
opacity: 1;
|
|
5319
|
+
transition: 0.3s ease; }
|
|
5320
|
+
.component-paginator .component-paginator-center-content > div.hidden {
|
|
5321
|
+
visibility: hidden;
|
|
5322
|
+
opacity: 0; }
|
|
5323
|
+
.component-paginator .component-paginator-center-content > div .component-paginator-numbers {
|
|
5324
|
+
overflow-x: auto;
|
|
5325
|
+
display: flex; }
|
|
5326
|
+
.component-paginator .component-paginator-center-content > div .component-paginator-numbers .component-paginator-number {
|
|
5327
|
+
-webkit-user-select: none;
|
|
5328
|
+
-moz-user-select: none;
|
|
5329
|
+
user-select: none;
|
|
5330
|
+
display: flex;
|
|
5331
|
+
justify-content: center;
|
|
5332
|
+
align-items: center;
|
|
5333
|
+
-webkit-appearance: none;
|
|
5334
|
+
-moz-appearance: none;
|
|
5335
|
+
appearance: none;
|
|
5336
|
+
border: none;
|
|
5337
|
+
outline: none;
|
|
5338
|
+
background-color: rgba(0, 0, 0, 0);
|
|
5339
|
+
color: #323c32;
|
|
5340
|
+
cursor: pointer;
|
|
5341
|
+
padding: 2px;
|
|
5342
|
+
border-radius: 200px;
|
|
5343
|
+
width: 25px;
|
|
5344
|
+
height: 25px;
|
|
5345
|
+
font-size: 16px;
|
|
5346
|
+
font-weight: 500;
|
|
5347
|
+
transition: background-color 0.3s ease, color 0.3s ease; }
|
|
5348
|
+
.component-paginator .component-paginator-center-content > div .component-paginator-numbers .component-paginator-number:hover {
|
|
5349
|
+
background-color: #f3f5f1; }
|
|
5350
|
+
.component-paginator .component-paginator-center-content > div .component-paginator-numbers .component-paginator-number.active {
|
|
5351
|
+
cursor: default;
|
|
5352
|
+
background-color: #3fa110;
|
|
5353
|
+
color: #fefefe; }
|
|
5345
5354
|
.component-paginator .component-paginator-center-content .component-paginator-loader {
|
|
5346
5355
|
position: absolute;
|
|
5347
5356
|
top: 0;
|
|
@@ -5351,8 +5360,8 @@ header.component-header {
|
|
|
5351
5360
|
display: flex;
|
|
5352
5361
|
align-items: center;
|
|
5353
5362
|
justify-content: center;
|
|
5354
|
-
|
|
5355
|
-
|
|
5363
|
+
opacity: 1;
|
|
5364
|
+
transition: 0.3s ease; }
|
|
5356
5365
|
.component-paginator .component-paginator-center-content .component-paginator-loader.component-paginator-loader-enter {
|
|
5357
5366
|
opacity: 0; }
|
|
5358
5367
|
.component-paginator .component-paginator-center-content .component-paginator-loader.component-paginator-loader-enter-active {
|
|
@@ -5598,12 +5607,18 @@ h5 {
|
|
|
5598
5607
|
.pagination-component .paginationContainer {
|
|
5599
5608
|
display: flex;
|
|
5600
5609
|
align-items: center;
|
|
5610
|
+
transition: 0.3s ease;
|
|
5611
|
+
opacity: 1;
|
|
5612
|
+
visibility: visible;
|
|
5601
5613
|
list-style-type: none;
|
|
5602
5614
|
gap: 12px;
|
|
5603
5615
|
color: #3fa110;
|
|
5604
5616
|
margin: 0;
|
|
5605
5617
|
padding: 0;
|
|
5606
5618
|
position: relative; }
|
|
5619
|
+
.pagination-component .paginationContainer.hidden {
|
|
5620
|
+
opacity: 0;
|
|
5621
|
+
visibility: hidden; }
|
|
5607
5622
|
.pagination-component .paginationContainer .paginationItem {
|
|
5608
5623
|
display: flex;
|
|
5609
5624
|
align-items: center;
|
|
@@ -5649,8 +5664,7 @@ h5 {
|
|
|
5649
5664
|
width: 100%;
|
|
5650
5665
|
background: #33820d;
|
|
5651
5666
|
border-radius: 2px;
|
|
5652
|
-
transition: 0.3s ease-in-out;
|
|
5653
|
-
z-index: -1; }
|
|
5667
|
+
transition: 0.3s ease-in-out; }
|
|
5654
5668
|
.pagination-component .paginationContainer .paginationItem:active {
|
|
5655
5669
|
transform: scale(0.9); }
|
|
5656
5670
|
.pagination-component .paginationContainer .paginationItem.disabled {
|
|
@@ -5682,7 +5696,6 @@ h5 {
|
|
|
5682
5696
|
left: 0;
|
|
5683
5697
|
width: 100%;
|
|
5684
5698
|
height: 100%;
|
|
5685
|
-
background-color: #f8f9f7;
|
|
5686
5699
|
opacity: 1; }
|
|
5687
5700
|
.pagination-component .paginationContainerLoader.enter {
|
|
5688
5701
|
opacity: 0; }
|