@dynamic-framework/ui-react 1.2.1 → 1.2.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/index.esm.js +7 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +8 -0
- package/dist/index.js.map +1 -1
- package/dist/types/components/index.d.ts +1 -0
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -37,6 +37,7 @@ const react = require('@floating-ui/react');
|
|
|
37
37
|
const formik = require('formik');
|
|
38
38
|
const reactDropzone = require('react-dropzone');
|
|
39
39
|
const reactSplide = require('@splidejs/react-splide');
|
|
40
|
+
const ResponsivePagination = require('react-responsive-pagination');
|
|
40
41
|
const i18n = require('i18next');
|
|
41
42
|
const reactI18next = require('react-i18next');
|
|
42
43
|
const html2canvas = require('html2canvas');
|
|
@@ -48,6 +49,7 @@ const DatePicker__default = /*#__PURE__*/_interopDefaultLegacy(DatePicker);
|
|
|
48
49
|
const React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
49
50
|
const ContentLoader__default = /*#__PURE__*/_interopDefaultLegacy(ContentLoader);
|
|
50
51
|
const classNames__default = /*#__PURE__*/_interopDefaultLegacy(classNames);
|
|
52
|
+
const ResponsivePagination__default = /*#__PURE__*/_interopDefaultLegacy(ResponsivePagination);
|
|
51
53
|
const i18n__default = /*#__PURE__*/_interopDefaultLegacy(i18n);
|
|
52
54
|
const html2canvas__default = /*#__PURE__*/_interopDefaultLegacy(html2canvas);
|
|
53
55
|
|
|
@@ -988,6 +990,11 @@ function MCardFooter({ className, children, }) {
|
|
|
988
990
|
return (jsxRuntime.jsx("div", Object.assign({ className: classNames__default["default"]('card-footer', className) }, { children: children })));
|
|
989
991
|
}
|
|
990
992
|
|
|
993
|
+
function MPaginator(_a) {
|
|
994
|
+
var { className, nextLabel, previousLabel, showArrows = true } = _a, props = tslib.__rest(_a, ["className", "nextLabel", "previousLabel", "showArrows"]);
|
|
995
|
+
return (jsxRuntime.jsx(ResponsivePagination__default["default"], Object.assign({ extraClassName: classNames__default["default"]('m-pagination', className), nextClassName: classNames__default["default"]('m-arrow m-arrow-next', !nextLabel && 'no-label'), nextLabel: nextLabel, previousClassName: classNames__default["default"]('m-arrow m-arrow-prev', !previousLabel && 'no-label'), previousLabel: previousLabel, renderNav: showArrows }, props)));
|
|
996
|
+
}
|
|
997
|
+
|
|
991
998
|
const LANG = ui.liquidParser.parse('{{site.language}}');
|
|
992
999
|
async function configureI8n(resources, _a = {}) {
|
|
993
1000
|
var { lng = LANG, fallbackLng = 'es' } = _a, config = tslib.__rest(_a, ["lng", "fallbackLng"]);
|
|
@@ -1044,6 +1051,7 @@ exports.MListItem = MListItem;
|
|
|
1044
1051
|
exports.MListItemMovement = MListItemMovement;
|
|
1045
1052
|
exports.MModal = MModal;
|
|
1046
1053
|
exports.MOffcanvas = MOffcanvas;
|
|
1054
|
+
exports.MPaginator = MPaginator;
|
|
1047
1055
|
exports.MPermissionGroup = MPermissionGroup;
|
|
1048
1056
|
exports.MPermissionItem = MPermissionItem;
|
|
1049
1057
|
exports.MPopover = MPopover;
|