@doist/reactist 11.4.0 → 11.6.0

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 (36) hide show
  1. package/dist/reactist.cjs.development.js +8 -5
  2. package/dist/reactist.cjs.development.js.map +1 -1
  3. package/dist/reactist.cjs.production.min.js +1 -1
  4. package/dist/reactist.cjs.production.min.js.map +1 -1
  5. package/es/new-components/loading/loading.js +1 -0
  6. package/es/new-components/loading/loading.js.map +1 -1
  7. package/es/new-components/modal/modal.js +4 -2
  8. package/es/new-components/modal/modal.js.map +1 -1
  9. package/es/new-components/modal/modal.module.css.js +1 -1
  10. package/es/new-components/text/text.module.css.js +1 -1
  11. package/es/new-components/text-link/text-link.module.css.js +1 -1
  12. package/lib/new-components/common-types.d.ts +1 -1
  13. package/lib/new-components/heading/heading.d.ts +1 -1
  14. package/lib/new-components/loading/loading.d.ts +1 -1
  15. package/lib/new-components/loading/loading.js +1 -1
  16. package/lib/new-components/loading/loading.js.map +1 -1
  17. package/lib/new-components/modal/modal.js +1 -1
  18. package/lib/new-components/modal/modal.js.map +1 -1
  19. package/lib/new-components/modal/modal.module.css.js +1 -1
  20. package/lib/new-components/text/text.module.css.js +1 -1
  21. package/lib/new-components/text-link/text-link.module.css.js +1 -1
  22. package/package.json +3 -3
  23. package/styles/base-field.css +1 -1
  24. package/styles/checkbox-field.css +1 -1
  25. package/styles/modal.css +1 -1
  26. package/styles/modal.module.css.css +1 -1
  27. package/styles/password-field.css +1 -1
  28. package/styles/reactist.css +4 -4
  29. package/styles/select-field.css +1 -1
  30. package/styles/switch-field.css +1 -1
  31. package/styles/text-area.css +1 -1
  32. package/styles/text-field.css +1 -1
  33. package/styles/text-link.css +1 -1
  34. package/styles/text-link.module.css.css +1 -1
  35. package/styles/text.css +1 -1
  36. package/styles/text.module.css.css +1 -1
@@ -823,6 +823,7 @@ function Alert(_ref) {
823
823
 
824
824
  var _excluded$a = ["size", "exceptionallySetClassName"];
825
825
  var sizeMapping = {
826
+ xsmall: 16,
826
827
  small: 24,
827
828
  medium: 36,
828
829
  large: 48
@@ -905,7 +906,7 @@ var Heading = /*#__PURE__*/React.forwardRef(function Heading(_ref, ref) {
905
906
  }), children);
906
907
  });
907
908
 
908
- var modules_a9637dd3 = {"text":"c5028ea8","size-caption":"_05d3a546","size-copy":"_100565e3","size-subtitle":"b8f72625","weight-semibold":"_398ecda1","weight-bold":"_8054cd6b","tone-secondary":"_6abd56b1","tone-danger":"_274b4a47","lineClampMultipleLines":"_724b0054","lineClamp-1":"_51ac6ee4","lineClamp-2":"b0742803","lineClamp-3":"dd664c95","lineClamp-4":"b02775b5","lineClamp-5":"da91b300"};
909
+ var modules_a9637dd3 = {"text":"_2282cb83","size-caption":"_087a8179","size-copy":"a4423c2a","size-subtitle":"_03365a63","weight-semibold":"_5213e4ab","weight-bold":"_3d58c8f2","tone-secondary":"_892a359a","tone-danger":"f9cb5d8a","tone-positive":"fcedb234","lineClampMultipleLines":"_765949c1","lineClamp-1":"c3e4800e","lineClamp-2":"b25b652b","lineClamp-3":"bb13d214","lineClamp-4":"_6db1928e","lineClamp-5":"e9944c1d"};
909
910
 
910
911
  var _excluded$c = ["as", "size", "weight", "tone", "align", "children", "lineClamp", "exceptionallySetClassName"];
911
912
  var Text = /*#__PURE__*/polymorphicComponent(function Text(_ref, ref) {
@@ -967,7 +968,7 @@ var ButtonLink = /*#__PURE__*/polymorphicComponent(function ButtonLink(_ref, ref
967
968
  }));
968
969
  });
969
970
 
970
- var modules_3d05deee = {"container":"b55607a1"};
971
+ var modules_3d05deee = {"container":"_232127ef"};
971
972
 
972
973
  var _excluded$e = ["as", "openInNewTab", "exceptionallySetClassName"];
973
974
  var TextLink = /*#__PURE__*/polymorphicComponent(function TextLink(_ref, ref) {
@@ -1665,7 +1666,7 @@ function TabAwareSlot(_ref5) {
1665
1666
  }) : null;
1666
1667
  }
1667
1668
 
1668
- var modules_8f59d13b = {"reach-portal":"dddb40c3","fadein":"_955f2d73","fitContent":"_95c7550e","container":"_88079712","full":"_4779d078","large":"_5fd86231","medium":"bdfb5931","small":"_4e848a11","xlarge":"d673fba2","overlay":"ea9ae0cc","expand":"a8bf8a4f","buttonContainer":"_44d6850e"};
1669
+ var modules_8f59d13b = {"reach-portal":"_37bef8d8","fadein":"_77f9687f","fitContent":"bcc4e0a5","container":"d4832c2d","full":"b0c3b021","large":"_573d6aa5","medium":"_8550d996","small":"_43bb18f5","xlarge":"_57b4159d","overlay":"cb63f300","expand":"e741893e","buttonContainer":"bb1ce281","headerContent":"c5ef989c"};
1669
1670
 
1670
1671
  var _excluded$n = ["isOpen", "onDismiss", "height", "width", "exceptionallySetClassName", "autoFocus", "children"],
1671
1672
  _excluded2$2 = ["children", "button", "withDivider", "exceptionallySetClassName"],
@@ -1788,7 +1789,7 @@ function ModalHeader(_ref2) {
1788
1789
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Box, Object.assign({}, props, {
1789
1790
  as: "header",
1790
1791
  paddingLeft: "large",
1791
- paddingRight: "small",
1792
+ paddingRight: button === false || button === null ? 'large' : 'small',
1792
1793
  paddingY: "small",
1793
1794
  className: exceptionallySetClassName
1794
1795
  }), /*#__PURE__*/React.createElement(Columns, {
@@ -1796,7 +1797,9 @@ function ModalHeader(_ref2) {
1796
1797
  alignY: "center"
1797
1798
  }, /*#__PURE__*/React.createElement(Column, {
1798
1799
  width: "auto"
1799
- }, children), button === false || button === null ? null : /*#__PURE__*/React.createElement(Column, {
1800
+ }, children), button === false || button === null ? /*#__PURE__*/React.createElement("div", {
1801
+ className: modules_8f59d13b.headerContent
1802
+ }) : /*#__PURE__*/React.createElement(Column, {
1800
1803
  width: "content",
1801
1804
  exceptionallySetClassName: modules_8f59d13b.buttonContainer,
1802
1805
  "data-testid": "button-container"