@canonical/react-components 2.7.0 → 2.7.2
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/components/TablePagination/TablePagination.scss +13 -1
- package/dist/components/TablePagination/TablePaginationControls/TablePaginationControls.js +1 -1
- package/dist/esm/components/TablePagination/TablePagination.scss +13 -1
- package/dist/esm/components/TablePagination/TablePaginationControls/TablePaginationControls.js +1 -1
- package/package.json +2 -2
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
.pagination-input {
|
|
37
37
|
margin: 0 $spv--small 0 $spv--large;
|
|
38
38
|
min-width: 0;
|
|
39
|
-
width:
|
|
39
|
+
width: 4rem;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
.pagination-select {
|
|
@@ -45,4 +45,16 @@
|
|
|
45
45
|
min-width: 0;
|
|
46
46
|
width: 7rem;
|
|
47
47
|
}
|
|
48
|
+
|
|
49
|
+
@media screen and (max-width: $breakpoint-small) {
|
|
50
|
+
.back,
|
|
51
|
+
.pagination-input {
|
|
52
|
+
margin-left: 0;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.next {
|
|
56
|
+
margin-left: 0;
|
|
57
|
+
margin-right: 0;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
48
60
|
}
|
|
@@ -94,7 +94,7 @@ const TablePaginationControls = _ref => {
|
|
|
94
94
|
onChange: handleInputPageChange,
|
|
95
95
|
value: currentPage,
|
|
96
96
|
type: "number"
|
|
97
|
-
}), " ", typeof totalPages === "number" ? "of
|
|
97
|
+
}), " ", typeof totalPages === "number" ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, "of\xA0", totalPages) : null) : null, /*#__PURE__*/_react.default.createElement(_Button.default, _extends({
|
|
98
98
|
"aria-label": Label.NEXT_PAGE,
|
|
99
99
|
className: "next",
|
|
100
100
|
appearance: "base",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
.pagination-input {
|
|
37
37
|
margin: 0 $spv--small 0 $spv--large;
|
|
38
38
|
min-width: 0;
|
|
39
|
-
width:
|
|
39
|
+
width: 4rem;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
.pagination-select {
|
|
@@ -45,4 +45,16 @@
|
|
|
45
45
|
min-width: 0;
|
|
46
46
|
width: 7rem;
|
|
47
47
|
}
|
|
48
|
+
|
|
49
|
+
@media screen and (max-width: $breakpoint-small) {
|
|
50
|
+
.back,
|
|
51
|
+
.pagination-input {
|
|
52
|
+
margin-left: 0;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.next {
|
|
56
|
+
margin-left: 0;
|
|
57
|
+
margin-right: 0;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
48
60
|
}
|
package/dist/esm/components/TablePagination/TablePaginationControls/TablePaginationControls.js
CHANGED
|
@@ -90,7 +90,7 @@ var TablePaginationControls = _ref => {
|
|
|
90
90
|
onChange: handleInputPageChange,
|
|
91
91
|
value: currentPage,
|
|
92
92
|
type: "number"
|
|
93
|
-
}), " ", typeof totalPages === "number" ? "of
|
|
93
|
+
}), " ", typeof totalPages === "number" ? /*#__PURE__*/React.createElement(React.Fragment, null, "of\xA0", totalPages) : null) : null, /*#__PURE__*/React.createElement(Button, _extends({
|
|
94
94
|
"aria-label": Label.NEXT_PAGE,
|
|
95
95
|
className: "next",
|
|
96
96
|
appearance: "base",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@canonical/react-components",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.2",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "dist/index.js",
|
|
6
6
|
"author": {
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
"tsc-alias": "1.8.10",
|
|
94
94
|
"typescript": "5.7.3",
|
|
95
95
|
"typescript-eslint": "8.24.1",
|
|
96
|
-
"vanilla-framework": "4.
|
|
96
|
+
"vanilla-framework": "4.24.1",
|
|
97
97
|
"wait-on": "8.0.2",
|
|
98
98
|
"webpack": "5.98.0"
|
|
99
99
|
},
|