@citygross/components 0.12.7 → 0.12.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.
|
@@ -40,7 +40,7 @@ function Pagination(_a) {
|
|
|
40
40
|
return (React__default["default"].createElement("nav", { "aria-label": "Paginering" },
|
|
41
41
|
React__default["default"].createElement(Pagination_styles.PaginationContainer, null,
|
|
42
42
|
React__default["default"].createElement(Pagination_styles.ArrowButton, { onClick: handlePrev, disabled: !hasPrevPage, "aria-disabled": !hasPrevPage, "aria-label": "F\u00F6reg\u00E5ende sida" },
|
|
43
|
-
React__default["default"].createElement(icons.Icons.ChevronLeft, { width: 20, height: 20, color: !hasPrevPage ? (_b = designTokens.theme.palette) === null || _b === void 0 ? void 0 : _b.placeholder : (_c = designTokens.theme.palette) === null || _c === void 0 ? void 0 : _c.darkest })),
|
|
43
|
+
React__default["default"].createElement(icons.Icons.ChevronLeft, { width: 20, height: 20, color: !hasPrevPage ? (_b = designTokens.theme.palette) === null || _b === void 0 ? void 0 : _b.placeholder : (_c = designTokens.theme.palette) === null || _c === void 0 ? void 0 : _c.darkest, "aria-hidden": "true" })),
|
|
44
44
|
React__default["default"].createElement(Pagination_styles.PageInfo, null,
|
|
45
45
|
React__default["default"].createElement(typography.BodyText, { "aria-live": "polite" },
|
|
46
46
|
pageLabel,
|
|
@@ -49,7 +49,7 @@ function Pagination(_a) {
|
|
|
49
49
|
" av ",
|
|
50
50
|
totalPages)),
|
|
51
51
|
React__default["default"].createElement(Pagination_styles.ArrowButton, { onClick: handleNext, disabled: !hasNextPage, "aria-disabled": !hasNextPage, "aria-label": "N\u00E4sta sida" },
|
|
52
|
-
React__default["default"].createElement(icons.Icons.ChevronRight, { width: 20, height: 20, color: !hasNextPage ? (_d = designTokens.theme.palette) === null || _d === void 0 ? void 0 : _d.placeholder : (_e = designTokens.theme.palette) === null || _e === void 0 ? void 0 : _e.darkest })))));
|
|
52
|
+
React__default["default"].createElement(icons.Icons.ChevronRight, { width: 20, height: 20, color: !hasNextPage ? (_d = designTokens.theme.palette) === null || _d === void 0 ? void 0 : _d.placeholder : (_e = designTokens.theme.palette) === null || _e === void 0 ? void 0 : _e.darkest, "aria-hidden": "true" })))));
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
exports.Pagination = Pagination;
|
|
@@ -32,7 +32,7 @@ function Pagination(_a) {
|
|
|
32
32
|
return (React.createElement("nav", { "aria-label": "Paginering" },
|
|
33
33
|
React.createElement(PaginationContainer, null,
|
|
34
34
|
React.createElement(ArrowButton, { onClick: handlePrev, disabled: !hasPrevPage, "aria-disabled": !hasPrevPage, "aria-label": "F\u00F6reg\u00E5ende sida" },
|
|
35
|
-
React.createElement(Icons.ChevronLeft, { width: 20, height: 20, color: !hasPrevPage ? (_b = theme.palette) === null || _b === void 0 ? void 0 : _b.placeholder : (_c = theme.palette) === null || _c === void 0 ? void 0 : _c.darkest })),
|
|
35
|
+
React.createElement(Icons.ChevronLeft, { width: 20, height: 20, color: !hasPrevPage ? (_b = theme.palette) === null || _b === void 0 ? void 0 : _b.placeholder : (_c = theme.palette) === null || _c === void 0 ? void 0 : _c.darkest, "aria-hidden": "true" })),
|
|
36
36
|
React.createElement(PageInfo, null,
|
|
37
37
|
React.createElement(BodyText, { "aria-live": "polite" },
|
|
38
38
|
pageLabel,
|
|
@@ -41,7 +41,7 @@ function Pagination(_a) {
|
|
|
41
41
|
" av ",
|
|
42
42
|
totalPages)),
|
|
43
43
|
React.createElement(ArrowButton, { onClick: handleNext, disabled: !hasNextPage, "aria-disabled": !hasNextPage, "aria-label": "N\u00E4sta sida" },
|
|
44
|
-
React.createElement(Icons.ChevronRight, { width: 20, height: 20, color: !hasNextPage ? (_d = theme.palette) === null || _d === void 0 ? void 0 : _d.placeholder : (_e = theme.palette) === null || _e === void 0 ? void 0 : _e.darkest })))));
|
|
44
|
+
React.createElement(Icons.ChevronRight, { width: 20, height: 20, color: !hasNextPage ? (_d = theme.palette) === null || _d === void 0 ? void 0 : _d.placeholder : (_e = theme.palette) === null || _e === void 0 ? void 0 : _e.darkest, "aria-hidden": "true" })))));
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
export { Pagination };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@citygross/components",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.8",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "./build/cjs/components/src/index.js",
|
|
@@ -75,5 +75,5 @@
|
|
|
75
75
|
"react-slick": "^0.30.1",
|
|
76
76
|
"slick-carousel": "^1.8.1"
|
|
77
77
|
},
|
|
78
|
-
"gitHead": "
|
|
78
|
+
"gitHead": "1477ee515fedd2ea034c1672c58b77bec3bead74"
|
|
79
79
|
}
|