@majoo-ui/react 1.55.28 → 1.55.29

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.
@@ -0,0 +1 @@
1
+ export * from './Colors';
package/index.esm.js CHANGED
@@ -6391,6 +6391,10 @@ const StyledInput$1 = styled('input', {
6391
6391
  }
6392
6392
  }
6393
6393
  },
6394
+
6395
+ /**
6396
+ * Please insert size with string 'sm' | 'lg'
6397
+ */
6394
6398
  size: {
6395
6399
  sm: {
6396
6400
  height: 32
@@ -6443,7 +6447,7 @@ const InputText = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
6443
6447
  __self: undefined,
6444
6448
  __source: {
6445
6449
  fileName: _jsxFileName$J,
6446
- lineNumber: 181,
6450
+ lineNumber: 184,
6447
6451
  columnNumber: 3
6448
6452
  }
6449
6453
  }));
@@ -20935,25 +20939,17 @@ const PageDialog = props => {
20935
20939
  }), void 0)]
20936
20940
  }), void 0), pageDialogChildren && jsx(Box, Object.assign({}, pageDialogChildren.props, {
20937
20941
  ref: pageDialogChildren === null || pageDialogChildren === void 0 ? void 0 : pageDialogChildren.ref,
20938
- children: jsx(ConditionalWrapper, Object.assign({
20939
- condition: !isMobile && ((_a = pageDialogChildren.props) === null || _a === void 0 ? void 0 : _a.wrapperSize),
20940
- wrapper: child => {
20941
- var _a;
20942
-
20943
- return jsx(ContentWrapper, Object.assign({
20944
- wrapperSize: (_a = pageDialogChildren.props) === null || _a === void 0 ? void 0 : _a.wrapperSize
20945
- }, {
20946
- children: child
20947
- }), void 0);
20948
- }
20949
- }, {
20950
- children: (_b = pageDialogChildren.props) === null || _b === void 0 ? void 0 : _b.children
20951
- }), void 0),
20952
20942
  css: Object.assign({
20953
20943
  flexGrow: 1,
20954
20944
  maxHeight: footerChildren ? `calc(100vh - ${isMobile ? HEADER_HEIGHT_MOBILE : HEADER_HEIGHT}px - ${FOOTER_HEIGHT}px)` : `calc(100vh - ${isMobile ? HEADER_HEIGHT_MOBILE : HEADER_HEIGHT}px)`,
20955
20945
  overflow: 'auto'
20956
20946
  }, pageDialogChildren.props.css)
20947
+ }, {
20948
+ children: jsx(ContentWrapper, Object.assign({}, !isMobile ? {
20949
+ wrapperSize: (_a = pageDialogChildren.props) === null || _a === void 0 ? void 0 : _a.wrapperSize
20950
+ } : {}, {
20951
+ children: (_b = pageDialogChildren.props) === null || _b === void 0 ? void 0 : _b.children
20952
+ }), void 0)
20957
20953
  }), void 0), footerChildren && jsx(Box, Object.assign({}, footerChildren.props, {
20958
20954
  css: Object.assign({
20959
20955
  boxShadow: '$small',
@@ -28642,8 +28638,8 @@ const WrapperDiv = styled('div', {
28642
28638
  });
28643
28639
  const MobileContainer$1 = styled(Flex$1, {
28644
28640
  position: 'absolute',
28645
- margin: '0px -40px 0px -40px',
28646
- padding: '40px 40px 10px 40px',
28641
+ margin: '0px -$spacing-06',
28642
+ padding: '$spacing-08 $spacing-05 10px',
28647
28643
  left: 0,
28648
28644
  right: 0,
28649
28645
  top: -40,
@@ -28915,7 +28911,7 @@ const Navigation = props => {
28915
28911
  css: {
28916
28912
  position: 'absolute',
28917
28913
  top: 40,
28918
- left: 40
28914
+ left: 16
28919
28915
  },
28920
28916
  __self: undefined,
28921
28917
  __source: {
package/index.umd.js CHANGED
@@ -6468,6 +6468,10 @@
6468
6468
  }
6469
6469
  }
6470
6470
  },
6471
+
6472
+ /**
6473
+ * Please insert size with string 'sm' | 'lg'
6474
+ */
6471
6475
  size: {
6472
6476
  sm: {
6473
6477
  height: 32
@@ -6520,7 +6524,7 @@
6520
6524
  __self: undefined,
6521
6525
  __source: {
6522
6526
  fileName: _jsxFileName$J,
6523
- lineNumber: 181,
6527
+ lineNumber: 184,
6524
6528
  columnNumber: 3
6525
6529
  }
6526
6530
  }));
@@ -21325,25 +21329,17 @@
21325
21329
  }), void 0)]
21326
21330
  }), void 0), pageDialogChildren && jsxRuntime.jsx(Box, __assign({}, pageDialogChildren.props, {
21327
21331
  ref: pageDialogChildren === null || pageDialogChildren === void 0 ? void 0 : pageDialogChildren.ref,
21328
- children: jsxRuntime.jsx(ConditionalWrapper, __assign({
21329
- condition: !isMobile && ((_a = pageDialogChildren.props) === null || _a === void 0 ? void 0 : _a.wrapperSize),
21330
- wrapper: function (child) {
21331
- var _a;
21332
-
21333
- return jsxRuntime.jsx(ContentWrapper, __assign({
21334
- wrapperSize: (_a = pageDialogChildren.props) === null || _a === void 0 ? void 0 : _a.wrapperSize
21335
- }, {
21336
- children: child
21337
- }), void 0);
21338
- }
21339
- }, {
21340
- children: (_b = pageDialogChildren.props) === null || _b === void 0 ? void 0 : _b.children
21341
- }), void 0),
21342
21332
  css: __assign({
21343
21333
  flexGrow: 1,
21344
21334
  maxHeight: footerChildren ? "calc(100vh - ".concat(isMobile ? HEADER_HEIGHT_MOBILE : HEADER_HEIGHT, "px - ").concat(FOOTER_HEIGHT, "px)") : "calc(100vh - ".concat(isMobile ? HEADER_HEIGHT_MOBILE : HEADER_HEIGHT, "px)"),
21345
21335
  overflow: 'auto'
21346
21336
  }, pageDialogChildren.props.css)
21337
+ }, {
21338
+ children: jsxRuntime.jsx(ContentWrapper, __assign({}, !isMobile ? {
21339
+ wrapperSize: (_a = pageDialogChildren.props) === null || _a === void 0 ? void 0 : _a.wrapperSize
21340
+ } : {}, {
21341
+ children: (_b = pageDialogChildren.props) === null || _b === void 0 ? void 0 : _b.children
21342
+ }), void 0)
21347
21343
  }), void 0), footerChildren && jsxRuntime.jsx(Box, __assign({}, footerChildren.props, {
21348
21344
  css: __assign({
21349
21345
  boxShadow: '$small',
@@ -29080,8 +29076,8 @@
29080
29076
  });
29081
29077
  const MobileContainer$1 = styled(Flex$1, {
29082
29078
  position: 'absolute',
29083
- margin: '0px -40px 0px -40px',
29084
- padding: '40px 40px 10px 40px',
29079
+ margin: '0px -$spacing-06',
29080
+ padding: '$spacing-08 $spacing-05 10px',
29085
29081
  left: 0,
29086
29082
  right: 0,
29087
29083
  top: -40,
@@ -29353,7 +29349,7 @@
29353
29349
  css: {
29354
29350
  position: 'absolute',
29355
29351
  top: 40,
29356
- left: 40
29352
+ left: 16
29357
29353
  },
29358
29354
  __self: undefined,
29359
29355
  __source: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@majoo-ui/react",
3
- "version": "1.55.28",
3
+ "version": "1.55.29",
4
4
  "dependencies": {
5
5
  "@majoo-ui/core": "^1.31.3",
6
6
  "@majoo-ui/helpers": "^1.30.5",