carbon-addons-iot-react 4.1.20 → 4.1.21

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.
@@ -58,6 +58,7 @@
58
58
  }
59
59
 
60
60
  &--actions--sticky {
61
+ display: flex;
61
62
  position: fixed;
62
63
  bottom: 0;
63
64
  left: 0;
@@ -70,13 +71,15 @@
70
71
  }
71
72
  }
72
73
 
73
- &--after-footer {
74
+ &--footer {
74
75
  display: flex;
76
+ align-items: center;
77
+ &--before--content {
78
+ flex: 1;
79
+ justify-content: flex-start;
80
+ }
75
81
 
76
- &--content {
77
- display: flex;
78
- width: 100%;
79
- align-items: center;
82
+ &--after--content {
80
83
  justify-content: flex-end;
81
84
  }
82
85
  }
package/package.json CHANGED
@@ -345,11 +345,11 @@
345
345
  "whatwg-fetch": "^3.0.0"
346
346
  },
347
347
  "sideEffects": false,
348
- "version": "4.1.20",
348
+ "version": "4.1.21",
349
349
  "resolutions": {
350
350
  "chokidar": "3.3.1",
351
351
  "react-grid-layout": "1.2.2",
352
352
  "got": "11.8.5"
353
353
  },
354
- "gitHead": "81684e1fa1f6c51cab1d574908fc84b85bcedd76"
354
+ "gitHead": "34c3861baa0887e05624c5a92c3efb60f8a09e28"
355
355
  }
@@ -58,6 +58,7 @@
58
58
  }
59
59
 
60
60
  &--actions--sticky {
61
+ display: flex;
61
62
  position: fixed;
62
63
  bottom: 0;
63
64
  left: 0;
@@ -70,13 +71,15 @@
70
71
  }
71
72
  }
72
73
 
73
- &--after-footer {
74
+ &--footer {
74
75
  display: flex;
76
+ align-items: center;
77
+ &--before--content {
78
+ flex: 1;
79
+ justify-content: flex-start;
80
+ }
75
81
 
76
- &--content {
77
- display: flex;
78
- width: 100%;
79
- align-items: center;
82
+ &--after--content {
80
83
  justify-content: flex-end;
81
84
  }
82
85
  }
@@ -322432,13 +322432,15 @@ React keys must be passed directly to JSX without using spread:
322432
322432
  className: "".concat(iotPrefix$o, "--page-wizard--inline-notificaton")
322433
322433
  }) : null, children, /*#__PURE__*/React$1.createElement("div", {
322434
322434
  className: classnames(_defineProperty$c(_defineProperty$c(_defineProperty$c({}, "".concat(iotPrefix$o, "--page-wizard--content--actions--sticky"), hasStickyFooter), "".concat(iotPrefix$o, "--page-wizard--content--actions"), !hasStickyFooter), "".concat(iotPrefix$o, "--page-wizard--content--after-footer"), !!afterFooterContent))
322435
- }, beforeFooterContent, !hasPrev ? /*#__PURE__*/React$1.createElement(Button$2, {
322435
+ }, /*#__PURE__*/React$1.createElement("div", {
322436
+ className: "".concat(iotPrefix$o, "--page-wizard--content--footer ").concat(iotPrefix$o, "--page-wizard--content--footer--before--content")
322437
+ }, beforeFooterContent), !hasPrev ? /*#__PURE__*/React$1.createElement(Button$2, {
322436
322438
  onClick: onClose,
322437
322439
  kind: "secondary"
322438
- }, i18n.cancel) : null, hasPrev ? /*#__PURE__*/React$1.createElement(Button$2, {
322440
+ }, i18n.cancel) : /*#__PURE__*/React$1.createElement(Button$2, {
322439
322441
  onClick: onBack,
322440
322442
  kind: "secondary"
322441
- }, i18n.back) : null, hasNext ? /*#__PURE__*/React$1.createElement(Button$2, {
322443
+ }, i18n.back), hasNext ? /*#__PURE__*/React$1.createElement(Button$2, {
322442
322444
  onClick: function onClick() {
322443
322445
  if (onValidate()) {
322444
322446
  if (onNext) onNext();
@@ -322452,7 +322454,7 @@ React keys must be passed directly to JSX without using spread:
322452
322454
  disabled: nextDisabled,
322453
322455
  loading: sendingData
322454
322456
  }, i18n.submit), afterFooterContent && /*#__PURE__*/React$1.createElement("div", {
322455
- className: "".concat(iotPrefix$o, "--page-wizard--content--after-footer--content")
322457
+ className: "".concat(iotPrefix$o, "--page-wizard--content--footer ").concat(iotPrefix$o, "--page-wizard--content--footer--after--content")
322456
322458
  }, afterFooterContent)));
322457
322459
  };
322458
322460
  PageWizardStep.propTypes = PageWizardStepPropTypes;