plataforma-fundacao-componentes 2.25.6 → 2.25.8
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/toast/Toast.stories.d.ts +1 -0
- package/dist/index.css +55 -36
- package/dist/index.js +9 -6
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +9 -6
- package/dist/index.modern.js.map +1 -1
- package/dist/libraries/Toast.d.ts +2 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -67,8 +67,8 @@ var AddIcon = function AddIcon() {
|
|
|
67
67
|
viewBox: '0 0 24 24',
|
|
68
68
|
xmlns: 'http://www.w3.org/2000/svg'
|
|
69
69
|
}, React$1.createElement("path", {
|
|
70
|
-
|
|
71
|
-
|
|
70
|
+
fillRule: 'evenodd',
|
|
71
|
+
clipRule: 'evenodd',
|
|
72
72
|
d: 'M22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12ZM3 12C3 7.02944 7.02944 3 12 3C16.9706 3 21 7.02944 21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12ZM17 11.5C17.2761 11.5 17.5 11.7239 17.5 12C17.5 12.2455 17.3231 12.4496 17.0899 12.4919L17 12.5H12.5V17C12.5 17.2761 12.2761 17.5 12 17.5C11.7545 17.5 11.5504 17.3231 11.5081 17.0899L11.5 17V12.5H7C6.72386 12.5 6.5 12.2761 6.5 12C6.5 11.7545 6.67688 11.5504 6.91012 11.5081L7 11.5H11.5V7C11.5 6.72386 11.7239 6.5 12 6.5C12.2455 6.5 12.4496 6.67688 12.4919 6.91012L12.5 7V11.5H17Z',
|
|
73
73
|
fill: 'currentColor'
|
|
74
74
|
}));
|
|
@@ -9041,6 +9041,8 @@ function Paginator(props) {
|
|
|
9041
9041
|
className: getMergedClassNames([rootClassName$2i, props.className || ''])
|
|
9042
9042
|
}, React$1.createElement("div", {
|
|
9043
9043
|
className: rootClassName$2i + "-center-content"
|
|
9044
|
+
}, React$1.createElement("div", {
|
|
9045
|
+
className: props.loading ? "hidden" : ''
|
|
9044
9046
|
}, props.quantidadeDePaginas > 1 ? React$1.createElement("div", {
|
|
9045
9047
|
className: rootClassName$2i + "-left-arrow"
|
|
9046
9048
|
}, React$1.createElement(IconButton$1, {
|
|
@@ -9073,7 +9075,7 @@ function Paginator(props) {
|
|
|
9073
9075
|
}
|
|
9074
9076
|
},
|
|
9075
9077
|
disabled: props.paginaAtual >= props.quantidadeDePaginas
|
|
9076
|
-
})) : undefined, React$1.createElement(CSSTransition, {
|
|
9078
|
+
})) : undefined), React$1.createElement(CSSTransition, {
|
|
9077
9079
|
classNames: rootClassName$2i + "-loader",
|
|
9078
9080
|
"in": props.loading,
|
|
9079
9081
|
timeout: 300,
|
|
@@ -9404,7 +9406,7 @@ var Pagination = function Pagination(props) {
|
|
|
9404
9406
|
}
|
|
9405
9407
|
return React$1.createElement("ul", {
|
|
9406
9408
|
key: index,
|
|
9407
|
-
className: 'paginationContainer'
|
|
9409
|
+
className: getMergedClassNames(['paginationContainer', loading ? 'hidden' : ''])
|
|
9408
9410
|
}, children);
|
|
9409
9411
|
}), React$1.createElement(CSSTransition, {
|
|
9410
9412
|
"in": loading,
|
|
@@ -11639,6 +11641,7 @@ var ToastTypes;
|
|
|
11639
11641
|
ToastTypes["Default"] = "default";
|
|
11640
11642
|
ToastTypes["Success"] = "success";
|
|
11641
11643
|
ToastTypes["Error"] = "error";
|
|
11644
|
+
ToastTypes["Warning"] = "warning";
|
|
11642
11645
|
})(ToastTypes || (ToastTypes = {}));
|
|
11643
11646
|
|
|
11644
11647
|
var rootClassName$2G = 'component-toast';
|
|
@@ -44140,8 +44143,8 @@ var DecreaseIcon = function DecreaseIcon() {
|
|
|
44140
44143
|
viewBox: '0 0 24 24',
|
|
44141
44144
|
xmlns: 'http://www.w3.org/2000/svg'
|
|
44142
44145
|
}, React$1.createElement("path", {
|
|
44143
|
-
|
|
44144
|
-
|
|
44146
|
+
fillRule: 'evenodd',
|
|
44147
|
+
clipRule: 'evenodd',
|
|
44145
44148
|
d: 'M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2ZM12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3ZM17.5 12C17.5 11.7239 17.2761 11.5 17 11.5H7L6.91012 11.5081C6.67688 11.5504 6.5 11.7545 6.5 12C6.5 12.2761 6.72386 12.5 7 12.5H17L17.0899 12.4919C17.3231 12.4496 17.5 12.2455 17.5 12Z',
|
|
44146
44149
|
fill: 'currentColor'
|
|
44147
44150
|
}));
|