@majoo-ui/react 1.62.2 → 1.62.3

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.
Files changed (2) hide show
  1. package/index.esm.js +10 -20
  2. package/package.json +1 -1
package/index.esm.js CHANGED
@@ -27936,14 +27936,9 @@ const TemplateAlertFunction = props => {
27936
27936
  props == null || props.onOpenAutoFocus();
27937
27937
  }
27938
27938
  }
27939
- }, /*#__PURE__*/React__default.createElement(StyledTitle, {
27939
+ }, /*#__PURE__*/React__default.createElement(ADialog.Title, {
27940
27940
  asChild: true
27941
- }, /*#__PURE__*/React__default.createElement("div", {
27942
- style: {
27943
- display: 'flex',
27944
- justifyContent: 'space-between'
27945
- }
27946
- }, /*#__PURE__*/React__default.createElement(Heading, {
27941
+ }, /*#__PURE__*/React__default.createElement(StyledTitle, null, /*#__PURE__*/React__default.createElement(Heading, {
27947
27942
  heading: "pageTitle"
27948
27943
  }, props.title), !props.hideCloseButton && /*#__PURE__*/React__default.createElement(ADialog.Cancel, {
27949
27944
  asChild: true
@@ -27956,14 +27951,14 @@ const TemplateAlertFunction = props => {
27956
27951
  size: 22
27957
27952
  }))))), /*#__PURE__*/React__default.createElement(Separator$2, {
27958
27953
  orientation: "horizontal"
27959
- }), /*#__PURE__*/React__default.createElement(StyledDescription$1, {
27954
+ }), /*#__PURE__*/React__default.createElement(ADialog.Description, {
27960
27955
  asChild: true
27961
- }, /*#__PURE__*/React__default.createElement(Paragraph, {
27956
+ }, /*#__PURE__*/React__default.createElement(StyledDescription$1, null, /*#__PURE__*/React__default.createElement(Paragraph, {
27962
27957
  paragraph: "longContentRegular",
27963
27958
  css: {
27964
27959
  textAlign: 'justify'
27965
27960
  }
27966
- }, props.description)), /*#__PURE__*/React__default.createElement(Box, {
27961
+ }, props.description))), /*#__PURE__*/React__default.createElement(Box, {
27967
27962
  css: {
27968
27963
  width: '100%',
27969
27964
  display: props != null && props.singleButton && props != null && props.hideActionButton ? 'none' : 'inherit'
@@ -28045,14 +28040,9 @@ function AlertDialog(props) {
28045
28040
  onOpenAutoFocus: e => {
28046
28041
  if (!props.onOpenAutoFocus) e.preventDefault();else props.onOpenAutoFocus(e);
28047
28042
  }
28048
- }, /*#__PURE__*/React__default.createElement(StyledTitle, {
28043
+ }, /*#__PURE__*/React__default.createElement(ADialog.Title, {
28049
28044
  asChild: true
28050
- }, /*#__PURE__*/React__default.createElement("div", {
28051
- style: {
28052
- display: 'flex',
28053
- justifyContent: 'space-between'
28054
- }
28055
- }, /*#__PURE__*/React__default.createElement(Heading, {
28045
+ }, /*#__PURE__*/React__default.createElement(StyledTitle, null, /*#__PURE__*/React__default.createElement(Heading, {
28056
28046
  heading: "pageTitle"
28057
28047
  }, props.title), !props.hideCloseButton && /*#__PURE__*/React__default.createElement(AlertDialogCancel, {
28058
28048
  asChild: true
@@ -28065,15 +28055,15 @@ function AlertDialog(props) {
28065
28055
  size: 22
28066
28056
  }))))), /*#__PURE__*/React__default.createElement(Separator$2, {
28067
28057
  orientation: "horizontal"
28068
- }), /*#__PURE__*/React__default.createElement(StyledDescription$1, {
28058
+ }), /*#__PURE__*/React__default.createElement(ADialog.Description, {
28069
28059
  asChild: true
28070
- }, /*#__PURE__*/React__default.createElement(Paragraph, {
28060
+ }, /*#__PURE__*/React__default.createElement(StyledDescription$1, null, /*#__PURE__*/React__default.createElement(Paragraph, {
28071
28061
  paragraph: "longContentRegular",
28072
28062
  css: {
28073
28063
  textAlign: 'justify',
28074
28064
  wordBreak: 'break-word'
28075
28065
  }
28076
- }, props.description)), /*#__PURE__*/React__default.createElement(Box, {
28066
+ }, props.description))), /*#__PURE__*/React__default.createElement(Box, {
28077
28067
  css: {
28078
28068
  width: '100%',
28079
28069
  display: props != null && props.singleButton && props != null && props.hideActionButton ? 'none' : 'inherit'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@majoo-ui/react",
3
- "version": "1.62.2",
3
+ "version": "1.62.3",
4
4
  "main": "./index.esm.js",
5
5
  "exports": {
6
6
  ".": {