carbon-addons-iot-react 4.1.19 → 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.
- package/css/carbon-addons-iot-react.css +8 -5
- package/css/carbon-addons-iot-react.css.map +1 -1
- package/es/components/PageWizard/PageWizardStep/PageWizardStep.js +7 -4
- package/es/components/Table/TableHead/FilterHeaderRow/FilterHeaderRow.js +2 -1
- package/lib/components/PageWizard/PageWizardStep/PageWizardStep.js +7 -4
- package/lib/components/Table/TableHead/FilterHeaderRow/FilterHeaderRow.js +2 -1
- package/lib/css/carbon-addons-iot-react.css +8 -5
- package/lib/css/carbon-addons-iot-react.css.map +1 -1
- package/lib/scss/components/PageWizard/_page-wizard.scss +8 -5
- package/package.json +2 -2
- package/scss/components/PageWizard/_page-wizard.scss +8 -5
- package/umd/carbon-addons-iot-react.js +8 -5
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import _defineProperty from '@babel/runtime/helpers/defineProperty';
|
|
2
|
+
import 'core-js/modules/es.array.concat.js';
|
|
2
3
|
import React__default from 'react';
|
|
3
4
|
import PropTypes from 'prop-types';
|
|
4
5
|
import { InlineNotification } from '@carbon/react';
|
|
@@ -103,13 +104,15 @@ var PageWizardStep = function PageWizardStep(_ref) {
|
|
|
103
104
|
className: "".concat(iotPrefix, "--page-wizard--inline-notificaton")
|
|
104
105
|
}) : null, children, /*#__PURE__*/React__default.createElement("div", {
|
|
105
106
|
className: classnames(_defineProperty(_defineProperty(_defineProperty({}, "".concat(iotPrefix, "--page-wizard--content--actions--sticky"), hasStickyFooter), "".concat(iotPrefix, "--page-wizard--content--actions"), !hasStickyFooter), "".concat(iotPrefix, "--page-wizard--content--after-footer"), !!afterFooterContent))
|
|
106
|
-
},
|
|
107
|
+
}, /*#__PURE__*/React__default.createElement("div", {
|
|
108
|
+
className: "".concat(iotPrefix, "--page-wizard--content--footer ").concat(iotPrefix, "--page-wizard--content--footer--before--content")
|
|
109
|
+
}, beforeFooterContent), !hasPrev ? /*#__PURE__*/React__default.createElement(Button, {
|
|
107
110
|
onClick: onClose,
|
|
108
111
|
kind: "secondary"
|
|
109
|
-
}, i18n.cancel) :
|
|
112
|
+
}, i18n.cancel) : /*#__PURE__*/React__default.createElement(Button, {
|
|
110
113
|
onClick: onBack,
|
|
111
114
|
kind: "secondary"
|
|
112
|
-
}, i18n.back)
|
|
115
|
+
}, i18n.back), hasNext ? /*#__PURE__*/React__default.createElement(Button, {
|
|
113
116
|
onClick: function onClick() {
|
|
114
117
|
if (onValidate()) {
|
|
115
118
|
if (onNext) onNext();
|
|
@@ -123,7 +126,7 @@ var PageWizardStep = function PageWizardStep(_ref) {
|
|
|
123
126
|
disabled: nextDisabled,
|
|
124
127
|
loading: sendingData
|
|
125
128
|
}, i18n.submit), afterFooterContent && /*#__PURE__*/React__default.createElement("div", {
|
|
126
|
-
className: "".concat(iotPrefix, "--page-wizard--content--
|
|
129
|
+
className: "".concat(iotPrefix, "--page-wizard--content--footer ").concat(iotPrefix, "--page-wizard--content--footer--after--content")
|
|
127
130
|
}, afterFooterContent)));
|
|
128
131
|
};
|
|
129
132
|
PageWizardStep.propTypes = PageWizardStepPropTypes;
|
|
@@ -376,8 +376,9 @@ var FilterHeaderRow = /*#__PURE__*/function (_Component) {
|
|
|
376
376
|
ref: isLastVisibleColumn ? _this2.filterCellRef : undefined
|
|
377
377
|
}, headerContent, hasFilterRowIcon && isLastVisibleColumn ? /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(TableToolbarSVGButton, {
|
|
378
378
|
testId: "filter-row-icon",
|
|
379
|
-
className: classnames("".concat(iotPrefix, "--filter-header-icon"), _defineProperty(_defineProperty({}, "".concat(iotPrefix, "--filter-header-icon--with-border"), hasResize && showColumnGroups && !hasRowActions), "".concat(iotPrefix, "--filter-header-icon--with-margin"), hasRowActions)),
|
|
379
|
+
className: classnames("".concat(iotPrefix, "--filter-header-icon ").concat(iotPrefix, "-hide-tooltip-icon"), _defineProperty(_defineProperty({}, "".concat(iotPrefix, "--filter-header-icon--with-border"), hasResize && showColumnGroups && !hasRowActions), "".concat(iotPrefix, "--filter-header-icon--with-margin"), hasRowActions)),
|
|
380
380
|
description: filterRowIconDescription,
|
|
381
|
+
title: filterRowIconDescription,
|
|
381
382
|
onClick: onFilterRowIconClick,
|
|
382
383
|
renderIcon: filterRowIcon,
|
|
383
384
|
size: "field",
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var _defineProperty = require('@babel/runtime/helpers/defineProperty');
|
|
4
|
+
require('core-js/modules/es.array.concat.js');
|
|
4
5
|
var React = require('react');
|
|
5
6
|
var PropTypes = require('prop-types');
|
|
6
7
|
var react = require('@carbon/react');
|
|
@@ -112,13 +113,15 @@ var PageWizardStep = function PageWizardStep(_ref) {
|
|
|
112
113
|
className: "".concat(iotPrefix, "--page-wizard--inline-notificaton")
|
|
113
114
|
}) : null, children, /*#__PURE__*/React__default.default.createElement("div", {
|
|
114
115
|
className: classnames__default.default(_defineProperty__default.default(_defineProperty__default.default(_defineProperty__default.default({}, "".concat(iotPrefix, "--page-wizard--content--actions--sticky"), hasStickyFooter), "".concat(iotPrefix, "--page-wizard--content--actions"), !hasStickyFooter), "".concat(iotPrefix, "--page-wizard--content--after-footer"), !!afterFooterContent))
|
|
115
|
-
},
|
|
116
|
+
}, /*#__PURE__*/React__default.default.createElement("div", {
|
|
117
|
+
className: "".concat(iotPrefix, "--page-wizard--content--footer ").concat(iotPrefix, "--page-wizard--content--footer--before--content")
|
|
118
|
+
}, beforeFooterContent), !hasPrev ? /*#__PURE__*/React__default.default.createElement(Button, {
|
|
116
119
|
onClick: onClose,
|
|
117
120
|
kind: "secondary"
|
|
118
|
-
}, i18n.cancel) :
|
|
121
|
+
}, i18n.cancel) : /*#__PURE__*/React__default.default.createElement(Button, {
|
|
119
122
|
onClick: onBack,
|
|
120
123
|
kind: "secondary"
|
|
121
|
-
}, i18n.back)
|
|
124
|
+
}, i18n.back), hasNext ? /*#__PURE__*/React__default.default.createElement(Button, {
|
|
122
125
|
onClick: function onClick() {
|
|
123
126
|
if (onValidate()) {
|
|
124
127
|
if (onNext) onNext();
|
|
@@ -132,7 +135,7 @@ var PageWizardStep = function PageWizardStep(_ref) {
|
|
|
132
135
|
disabled: nextDisabled,
|
|
133
136
|
loading: sendingData
|
|
134
137
|
}, i18n.submit), afterFooterContent && /*#__PURE__*/React__default.default.createElement("div", {
|
|
135
|
-
className: "".concat(iotPrefix, "--page-wizard--content--
|
|
138
|
+
className: "".concat(iotPrefix, "--page-wizard--content--footer ").concat(iotPrefix, "--page-wizard--content--footer--after--content")
|
|
136
139
|
}, afterFooterContent)));
|
|
137
140
|
};
|
|
138
141
|
PageWizardStep.propTypes = PageWizardStepPropTypes;
|
|
@@ -391,8 +391,9 @@ var FilterHeaderRow = /*#__PURE__*/function (_Component) {
|
|
|
391
391
|
ref: isLastVisibleColumn ? _this2.filterCellRef : undefined
|
|
392
392
|
}, headerContent, hasFilterRowIcon && isLastVisibleColumn ? /*#__PURE__*/React__default.default.createElement(React__default.default.Fragment, null, /*#__PURE__*/React__default.default.createElement(TableToolbarSVGButton, {
|
|
393
393
|
testId: "filter-row-icon",
|
|
394
|
-
className: classnames__default.default("".concat(iotPrefix, "--filter-header-icon"), _defineProperty__default.default(_defineProperty__default.default({}, "".concat(iotPrefix, "--filter-header-icon--with-border"), hasResize && showColumnGroups && !hasRowActions), "".concat(iotPrefix, "--filter-header-icon--with-margin"), hasRowActions)),
|
|
394
|
+
className: classnames__default.default("".concat(iotPrefix, "--filter-header-icon ").concat(iotPrefix, "-hide-tooltip-icon"), _defineProperty__default.default(_defineProperty__default.default({}, "".concat(iotPrefix, "--filter-header-icon--with-border"), hasResize && showColumnGroups && !hasRowActions), "".concat(iotPrefix, "--filter-header-icon--with-margin"), hasRowActions)),
|
|
395
395
|
description: filterRowIconDescription,
|
|
396
|
+
title: filterRowIconDescription,
|
|
396
397
|
onClick: onFilterRowIconClick,
|
|
397
398
|
renderIcon: filterRowIcon,
|
|
398
399
|
size: "field",
|
|
@@ -30881,6 +30881,7 @@ html[dir=rtl] .cds--number .cds--number__controls {
|
|
|
30881
30881
|
margin-right: 1rem;
|
|
30882
30882
|
}
|
|
30883
30883
|
.iot--page-wizard--content--actions--sticky {
|
|
30884
|
+
display: flex;
|
|
30884
30885
|
position: fixed;
|
|
30885
30886
|
bottom: 0;
|
|
30886
30887
|
left: 0;
|
|
@@ -30892,13 +30893,15 @@ html[dir=rtl] .cds--number .cds--number__controls {
|
|
|
30892
30893
|
.iot--page-wizard--content--actions--sticky .cds--btn {
|
|
30893
30894
|
margin-right: 1rem;
|
|
30894
30895
|
}
|
|
30895
|
-
.iot--page-wizard--content--
|
|
30896
|
-
display: flex;
|
|
30897
|
-
}
|
|
30898
|
-
.iot--page-wizard--content--after-footer--content {
|
|
30896
|
+
.iot--page-wizard--content--footer {
|
|
30899
30897
|
display: flex;
|
|
30900
|
-
width: 100%;
|
|
30901
30898
|
align-items: center;
|
|
30899
|
+
}
|
|
30900
|
+
.iot--page-wizard--content--footer--before--content {
|
|
30901
|
+
flex: 1;
|
|
30902
|
+
justify-content: flex-start;
|
|
30903
|
+
}
|
|
30904
|
+
.iot--page-wizard--content--footer--after--content {
|
|
30902
30905
|
justify-content: flex-end;
|
|
30903
30906
|
}
|
|
30904
30907
|
.iot--page-wizard--inline-notificaton {
|