@sb1/ffe-pagination 102.0.12 → 102.0.13
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 +19 -5
- package/less/pagination.less +7 -5
- package/package.json +4 -4
package/css/pagination.css
CHANGED
|
@@ -78,14 +78,28 @@
|
|
|
78
78
|
.ffe-pagination-navigation-block--next .ffe-icons {
|
|
79
79
|
transform: rotate(180deg);
|
|
80
80
|
}
|
|
81
|
-
|
|
82
|
-
display: none;
|
|
83
|
-
}
|
|
84
|
-
@media (min-width: 480px) {
|
|
81
|
+
@media (max-width: 479px) {
|
|
85
82
|
.ffe-pagination-navigation-block__button-text {
|
|
86
|
-
|
|
83
|
+
border: 0;
|
|
84
|
+
clip: rect(0, 0, 0, 0);
|
|
85
|
+
height: 1px;
|
|
86
|
+
margin: -1px;
|
|
87
|
+
overflow: hidden;
|
|
88
|
+
padding: 0;
|
|
89
|
+
position: absolute !important;
|
|
90
|
+
width: 1px;
|
|
87
91
|
}
|
|
88
92
|
}
|
|
93
|
+
.ffe-pagination-navigation-block--no-text .ffe-pagination-navigation-block__button-text {
|
|
94
|
+
border: 0;
|
|
95
|
+
clip: rect(0, 0, 0, 0);
|
|
96
|
+
height: 1px;
|
|
97
|
+
margin: -1px;
|
|
98
|
+
overflow: hidden;
|
|
99
|
+
padding: 0;
|
|
100
|
+
position: absolute !important;
|
|
101
|
+
width: 1px;
|
|
102
|
+
}
|
|
89
103
|
.ffe-pagination-navigation-block--prev .ffe-button,
|
|
90
104
|
.ffe-pagination-navigation-block--next .ffe-button,
|
|
91
105
|
.ffe-pagination-navigation-block--no-text .ffe-button {
|
package/less/pagination.less
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@import (reference) '@sb1/ffe-core/less/accessibility';
|
|
1
2
|
@import (reference) '@sb1/ffe-core/less/breakpoints';
|
|
2
3
|
|
|
3
4
|
.ffe-pagination {
|
|
@@ -92,14 +93,15 @@
|
|
|
92
93
|
}
|
|
93
94
|
}
|
|
94
95
|
|
|
96
|
+
// Skjules visuelt, men blir i accessibility-treet, så knappen har et navn.
|
|
95
97
|
&__button-text {
|
|
96
|
-
|
|
98
|
+
@media (max-width: (@breakpoint-sm - 1px)) {
|
|
99
|
+
.ffe-screenreader-only();
|
|
100
|
+
}
|
|
97
101
|
}
|
|
98
102
|
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
display: block;
|
|
102
|
-
}
|
|
103
|
+
&--no-text &__button-text {
|
|
104
|
+
.ffe-screenreader-only();
|
|
103
105
|
}
|
|
104
106
|
|
|
105
107
|
&--prev,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sb1/ffe-pagination",
|
|
3
|
-
"version": "102.0.
|
|
3
|
+
"version": "102.0.13",
|
|
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": "^102.0.
|
|
23
|
+
"@sb1/ffe-core": "^102.0.13"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@sb1/ffe-buildtool": "^102.0.
|
|
26
|
+
"@sb1/ffe-buildtool": "^102.0.13"
|
|
27
27
|
},
|
|
28
28
|
"publishConfig": {
|
|
29
29
|
"access": "public"
|
|
30
30
|
},
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "1acbefd00951f28f74d205b589561fada4e6b414"
|
|
32
32
|
}
|