@rolster/react-components 1.5.2 → 1.5.4
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/cjs/assets/{lib.cjs-84f064a5.css → lib.cjs-c7838c89.css} +4 -4
- package/dist/cjs/lib.cjs.js +2 -2
- package/dist/cjs/lib.cjs.js.map +1 -1
- package/dist/es/assets/{lib-84f064a5.css → lib-c7838c89.css} +4 -4
- package/dist/es/lib.js +2 -2
- package/dist/es/lib.js.map +1 -1
- package/dist/esm/components/molecules/Pagination/Pagination.css +4 -4
- package/dist/esm/components/molecules/Pagination/Pagination.d.ts +1 -1
- package/dist/esm/components/molecules/Pagination/Pagination.js +1 -1
- package/dist/esm/components/molecules/Pagination/Pagination.js.map +1 -1
- package/package.json +1 -1
|
@@ -1200,11 +1200,11 @@
|
|
|
1200
1200
|
border-radius: var(--sizing-4);
|
|
1201
1201
|
}
|
|
1202
1202
|
.rls-pagination__page:hover {
|
|
1203
|
-
background: var(--color-
|
|
1204
|
-
color: var(--color-
|
|
1203
|
+
background: var(--color-rolster-300);
|
|
1204
|
+
color: var(--color-rolster-900);
|
|
1205
1205
|
}
|
|
1206
1206
|
.rls-pagination__page--active {
|
|
1207
|
-
background: var(--gradient-
|
|
1207
|
+
background: var(--gradient-rolster-500);
|
|
1208
1208
|
color: var(--color-light-500);
|
|
1209
1209
|
}
|
|
1210
1210
|
.rls-pagination__description {
|
|
@@ -1230,7 +1230,7 @@
|
|
|
1230
1230
|
margin: var(--sizing-2) 0rem;
|
|
1231
1231
|
}
|
|
1232
1232
|
.rls-pagination__action:hover {
|
|
1233
|
-
color: var(--color-
|
|
1233
|
+
color: var(--color-rolster-300);
|
|
1234
1234
|
cursor: pointer;
|
|
1235
1235
|
}
|
|
1236
1236
|
.rls-pagination__action:disabled {
|
package/dist/cjs/lib.cjs.js
CHANGED
|
@@ -2040,7 +2040,7 @@ const DEFAULT_COUNT_ELEMENT = 20;
|
|
|
2040
2040
|
const MIN_NUMBER_PAGE = 1;
|
|
2041
2041
|
const FIRST_PAGE = 0;
|
|
2042
2042
|
const DEFAULT_MAX_VISIBLE = 4;
|
|
2043
|
-
function
|
|
2043
|
+
function RlsPagination({ elements, count: defaultCount, filter, onElements, onPagination }) {
|
|
2044
2044
|
const count = defaultCount || DEFAULT_COUNT_ELEMENT;
|
|
2045
2045
|
const [collection, setCollection] = require$$0.useState([]);
|
|
2046
2046
|
const [index, setIndex] = require$$0.useState(0);
|
|
@@ -3301,7 +3301,6 @@ function RlsApplication({ children }) {
|
|
|
3301
3301
|
exports.ConfirmationResult = ConfirmationResult;
|
|
3302
3302
|
exports.DateRange = DateRange;
|
|
3303
3303
|
exports.ListFieldSuggestions = ListFieldSuggestions;
|
|
3304
|
-
exports.Pagination = Pagination;
|
|
3305
3304
|
exports.RlsAmount = RlsAmount;
|
|
3306
3305
|
exports.RlsApplication = RlsApplication;
|
|
3307
3306
|
exports.RlsAutocompleteField = RlsAutocompleteField;
|
|
@@ -3339,6 +3338,7 @@ exports.RlsMoneyField = RlsMoneyField;
|
|
|
3339
3338
|
exports.RlsMonthPicker = RlsMonthPicker;
|
|
3340
3339
|
exports.RlsMonthTitlePicker = RlsMonthTitlePicker;
|
|
3341
3340
|
exports.RlsNumberField = RlsNumberField;
|
|
3341
|
+
exports.RlsPagination = RlsPagination;
|
|
3342
3342
|
exports.RlsPasswordField = RlsPasswordField;
|
|
3343
3343
|
exports.RlsPoster = RlsPoster;
|
|
3344
3344
|
exports.RlsProgressBar = RlsProgressBar;
|