@sb1/ffe-pagination 100.12.4 → 101.0.0
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/css/pagination.css +15 -36
- package/package.json +4 -4
package/css/pagination.css
CHANGED
|
@@ -1,61 +1,46 @@
|
|
|
1
1
|
.ffe-pagination {
|
|
2
2
|
--circular-button-size: 2.5rem;
|
|
3
3
|
--buttons-distance: var(--ffe-spacing-xs);
|
|
4
|
-
display: -ms-flexbox;
|
|
5
4
|
display: flex;
|
|
6
|
-
|
|
7
|
-
flex-direction: column;
|
|
5
|
+
flex-direction: column;
|
|
8
6
|
gap: var(--ffe-spacing-md);
|
|
9
7
|
}
|
|
10
8
|
.ffe-pagination__rows {
|
|
11
|
-
display: -ms-flexbox;
|
|
12
9
|
display: flex;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
-
|
|
16
|
-
justify-content: space-between;
|
|
17
|
-
-ms-flex-align: center;
|
|
18
|
-
align-items: center;
|
|
10
|
+
flex-direction: column;
|
|
11
|
+
justify-content: space-between;
|
|
12
|
+
align-items: center;
|
|
19
13
|
gap: var(--ffe-spacing-sm);
|
|
20
14
|
color: var(--ffe-color-foreground-default);
|
|
21
15
|
}
|
|
22
16
|
@media (min-width: 480px) {
|
|
23
17
|
.ffe-pagination__rows {
|
|
24
|
-
|
|
25
|
-
flex-direction: row;
|
|
18
|
+
flex-direction: row;
|
|
26
19
|
}
|
|
27
20
|
}
|
|
28
21
|
.ffe-pagination__rows:empty {
|
|
29
22
|
display: none;
|
|
30
23
|
}
|
|
31
24
|
.ffe-pagination__rows-item {
|
|
32
|
-
|
|
33
|
-
flex-grow: 1;
|
|
25
|
+
flex-grow: 1;
|
|
34
26
|
}
|
|
35
27
|
.ffe-pagination__buttons {
|
|
36
|
-
display: -ms-flexbox;
|
|
37
28
|
display: flex;
|
|
38
|
-
-
|
|
39
|
-
justify-content: center;
|
|
29
|
+
justify-content: center;
|
|
40
30
|
gap: var(--buttons-distance);
|
|
41
31
|
}
|
|
42
32
|
.ffe-pagination__page-buttons {
|
|
43
33
|
list-style: none;
|
|
44
34
|
margin: 0;
|
|
45
35
|
padding: 0;
|
|
46
|
-
display: -ms-flexbox;
|
|
47
36
|
display: flex;
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
-
|
|
51
|
-
justify-content: center;
|
|
52
|
-
-ms-flex-align: center;
|
|
53
|
-
align-items: center;
|
|
37
|
+
flex-wrap: wrap;
|
|
38
|
+
justify-content: center;
|
|
39
|
+
align-items: center;
|
|
54
40
|
gap: var(--buttons-distance);
|
|
55
41
|
}
|
|
56
42
|
.ffe-pagination__buttons-nav {
|
|
57
|
-
|
|
58
|
-
flex-shrink: 0;
|
|
43
|
+
flex-shrink: 0;
|
|
59
44
|
}
|
|
60
45
|
.ffe-pagination-info {
|
|
61
46
|
margin: 0;
|
|
@@ -68,29 +53,23 @@
|
|
|
68
53
|
}
|
|
69
54
|
}
|
|
70
55
|
.ffe-pagination-rows-per-page {
|
|
71
|
-
display: -ms-flexbox;
|
|
72
56
|
display: flex;
|
|
73
|
-
-
|
|
74
|
-
align-items: center;
|
|
57
|
+
align-items: center;
|
|
75
58
|
gap: var(--ffe-spacing-xs);
|
|
76
59
|
width: 100%;
|
|
77
|
-
-
|
|
78
|
-
justify-content: center;
|
|
60
|
+
justify-content: center;
|
|
79
61
|
}
|
|
80
62
|
@media (min-width: 480px) {
|
|
81
63
|
.ffe-pagination-rows-per-page {
|
|
82
|
-
-
|
|
83
|
-
justify-content: end;
|
|
64
|
+
justify-content: end;
|
|
84
65
|
}
|
|
85
66
|
}
|
|
86
67
|
.ffe-pagination-rows-per-page .ffe-dropdown {
|
|
87
68
|
max-width: 90px;
|
|
88
69
|
}
|
|
89
70
|
.ffe-pagination-navigation-block {
|
|
90
|
-
display: -ms-flexbox;
|
|
91
71
|
display: flex;
|
|
92
|
-
-
|
|
93
|
-
align-items: center;
|
|
72
|
+
align-items: center;
|
|
94
73
|
gap: var(--ffe-spacing-xs);
|
|
95
74
|
}
|
|
96
75
|
.ffe-pagination-navigation-block--hidden {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sb1/ffe-pagination",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "101.0.0",
|
|
4
4
|
"description": "Pagination in ffe",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "SpareBank 1",
|
|
@@ -20,13 +20,13 @@
|
|
|
20
20
|
"build": "lessc less/pagination.less css/pagination.css --autoprefix"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@sb1/ffe-core": "^
|
|
23
|
+
"@sb1/ffe-core": "^101.0.0"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@sb1/ffe-buildtool": "^
|
|
26
|
+
"@sb1/ffe-buildtool": "^101.0.0"
|
|
27
27
|
},
|
|
28
28
|
"publishConfig": {
|
|
29
29
|
"access": "public"
|
|
30
30
|
},
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "7714019dbb9001551cb5d1c262c58afd609d4fb0"
|
|
32
32
|
}
|