@farm-investimentos/front-mfe-components 11.0.2 → 11.0.3
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/front-mfe-components.common.js +68 -68
- package/dist/front-mfe-components.css +1 -1
- package/dist/front-mfe-components.umd.js +68 -68
- package/package.json +1 -1
- package/src/components/DataTablePaginator/DataTablePaginator.scss +5 -4
- package/src/components/DataTablePaginator/DataTablePaginator.stories.js +5 -5
- package/src/components/TableContextMenu/TableContextMenu.scss +1 -1
package/package.json
CHANGED
|
@@ -13,10 +13,11 @@ ul.farm-paginator {
|
|
|
13
13
|
display: flex;
|
|
14
14
|
|
|
15
15
|
button {
|
|
16
|
-
border: 1px solid var(--
|
|
16
|
+
border: 1px solid var(--farm-stroke-base);
|
|
17
17
|
border-right: 0;
|
|
18
18
|
height: 36px;
|
|
19
|
-
width: 36px;
|
|
19
|
+
min-width: 36px;
|
|
20
|
+
padding-inline: 4px;
|
|
20
21
|
display: inline-flex;
|
|
21
22
|
justify-content: center;
|
|
22
23
|
align-items: center;
|
|
@@ -30,7 +31,7 @@ ul.farm-paginator {
|
|
|
30
31
|
}
|
|
31
32
|
|
|
32
33
|
&:last-child button {
|
|
33
|
-
border-right: 1px solid var(--
|
|
34
|
+
border-right: 1px solid var(--farm-stroke-base);
|
|
34
35
|
border-radius: 0 4px 4px 0;
|
|
35
36
|
}
|
|
36
37
|
|
|
@@ -63,5 +64,5 @@ ul.farm-paginator {
|
|
|
63
64
|
}
|
|
64
65
|
|
|
65
66
|
.farm-paginator--gutter {
|
|
66
|
-
margin:
|
|
67
|
+
margin: 16px 24px 0;
|
|
67
68
|
}
|
|
@@ -28,23 +28,23 @@ export const Primary = () => ({
|
|
|
28
28
|
totalPages: 8,
|
|
29
29
|
};
|
|
30
30
|
},
|
|
31
|
-
template: '<
|
|
31
|
+
template: '<farm-datatable-paginator :totalPages="totalPages" :page="1" />',
|
|
32
32
|
mounted() {
|
|
33
33
|
setTimeout(() => {
|
|
34
|
-
this.totalPages =
|
|
34
|
+
this.totalPages = 2;
|
|
35
35
|
}, 1000);
|
|
36
36
|
},
|
|
37
37
|
});
|
|
38
38
|
|
|
39
39
|
export const Secondary = () => ({
|
|
40
|
-
template: '<
|
|
40
|
+
template: '<farm-datatable-paginator :hidePerPageOptions="true" :totalPages="190000" :page="1" />',
|
|
41
41
|
});
|
|
42
42
|
|
|
43
43
|
export const Disabled = () => ({
|
|
44
|
-
template: '<
|
|
44
|
+
template: '<farm-datatable-paginator :disabled="true":totalPages="19" :page="1" />',
|
|
45
45
|
});
|
|
46
46
|
|
|
47
47
|
export const CustomPerPage = () => ({
|
|
48
48
|
template:
|
|
49
|
-
'<
|
|
49
|
+
'<farm-datatable-paginator :perPageOptions="[1, 2, 4, 12, 27]" :totalPages="19" :page="1" />',
|
|
50
50
|
});
|