plataforma-fundacao-componentes 2.25.6 → 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/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; }
|
package/dist/index.js
CHANGED
|
@@ -70,8 +70,8 @@ var AddIcon = function AddIcon() {
|
|
|
70
70
|
viewBox: '0 0 24 24',
|
|
71
71
|
xmlns: 'http://www.w3.org/2000/svg'
|
|
72
72
|
}, React$1__default.createElement("path", {
|
|
73
|
-
|
|
74
|
-
|
|
73
|
+
fillRule: 'evenodd',
|
|
74
|
+
clipRule: 'evenodd',
|
|
75
75
|
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',
|
|
76
76
|
fill: 'currentColor'
|
|
77
77
|
}));
|
|
@@ -9028,11 +9028,14 @@ function Paginator(props) {
|
|
|
9028
9028
|
}
|
|
9029
9029
|
setArrOfNumbers(arr);
|
|
9030
9030
|
}, [props.quantidadeDePaginas, props.maxLength, props.paginaAtual]);
|
|
9031
|
+
console.log(props.loading);
|
|
9031
9032
|
return React$1__default.createElement("div", {
|
|
9032
9033
|
id: props.id ? props.id : undefined,
|
|
9033
9034
|
className: getMergedClassNames([rootClassName$2i, props.className || ''])
|
|
9034
9035
|
}, React$1__default.createElement("div", {
|
|
9035
9036
|
className: rootClassName$2i + "-center-content"
|
|
9037
|
+
}, React$1__default.createElement("div", {
|
|
9038
|
+
className: props.loading ? "hidden" : ''
|
|
9036
9039
|
}, props.quantidadeDePaginas > 1 ? React$1__default.createElement("div", {
|
|
9037
9040
|
className: rootClassName$2i + "-left-arrow"
|
|
9038
9041
|
}, React$1__default.createElement(IconButton$1, {
|
|
@@ -9065,7 +9068,7 @@ function Paginator(props) {
|
|
|
9065
9068
|
}
|
|
9066
9069
|
},
|
|
9067
9070
|
disabled: props.paginaAtual >= props.quantidadeDePaginas
|
|
9068
|
-
})) : undefined, React$1__default.createElement(reactTransitionGroup.CSSTransition, {
|
|
9071
|
+
})) : undefined), React$1__default.createElement(reactTransitionGroup.CSSTransition, {
|
|
9069
9072
|
classNames: rootClassName$2i + "-loader",
|
|
9070
9073
|
"in": props.loading,
|
|
9071
9074
|
timeout: 300,
|
|
@@ -9396,7 +9399,7 @@ var Pagination = function Pagination(props) {
|
|
|
9396
9399
|
}
|
|
9397
9400
|
return React$1__default.createElement("ul", {
|
|
9398
9401
|
key: index,
|
|
9399
|
-
className: 'paginationContainer'
|
|
9402
|
+
className: getMergedClassNames(['paginationContainer', loading ? 'hidden' : ''])
|
|
9400
9403
|
}, children);
|
|
9401
9404
|
}), React$1__default.createElement(reactTransitionGroup.CSSTransition, {
|
|
9402
9405
|
"in": loading,
|
|
@@ -44129,8 +44132,8 @@ var DecreaseIcon = function DecreaseIcon() {
|
|
|
44129
44132
|
viewBox: '0 0 24 24',
|
|
44130
44133
|
xmlns: 'http://www.w3.org/2000/svg'
|
|
44131
44134
|
}, React$1__default.createElement("path", {
|
|
44132
|
-
|
|
44133
|
-
|
|
44135
|
+
fillRule: 'evenodd',
|
|
44136
|
+
clipRule: 'evenodd',
|
|
44134
44137
|
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',
|
|
44135
44138
|
fill: 'currentColor'
|
|
44136
44139
|
}));
|