carbon-addons-iot-react 2.152.0-next.13 → 2.152.0-next.14
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/CHANGELOG.md +18 -0
- package/css/carbon-addons-iot-react.css +8 -3
- package/css/carbon-addons-iot-react.css.map +1 -1
- package/es/components/Card/CardTitle.js +8 -2
- package/es/components/DateTimePicker/DateTimePickerV2WithTimeSpinner.js +3 -3
- package/es/components/DateTimePicker/DateTimePickerV2WithoutTimeSpinner.js +3 -3
- package/es/components/Table/Table.js +7 -17
- package/es/components/Table/TableBody/TableBody.js +5 -16
- package/es/components/Table/TableBody/TableBodyRow/TableBodyRow.js +9 -20
- package/es/components/Table/TableBody/TableBodyRowRenderer.js +5 -16
- package/es/components/Table/TableCellRenderer/TableCellRenderer.js +6 -17
- package/es/components/Table/TableHead/TableHead.js +4 -15
- package/es/constants/SharedPropTypes.js +2 -1
- package/es/hooks/usePopoverPositioning.js +53 -11
- package/lib/components/Card/CardTitle.js +8 -2
- package/lib/components/DateTimePicker/DateTimePickerV2WithTimeSpinner.js +3 -3
- package/lib/components/DateTimePicker/DateTimePickerV2WithoutTimeSpinner.js +3 -3
- package/lib/components/Table/Table.js +7 -17
- package/lib/components/Table/TableBody/TableBody.js +5 -16
- package/lib/components/Table/TableBody/TableBodyRow/TableBodyRow.js +9 -20
- package/lib/components/Table/TableBody/TableBodyRowRenderer.js +5 -16
- package/lib/components/Table/TableCellRenderer/TableCellRenderer.js +6 -17
- package/lib/components/Table/TableHead/TableHead.js +4 -15
- package/lib/constants/SharedPropTypes.js +2 -0
- package/lib/css/carbon-addons-iot-react.css +8 -3
- package/lib/css/carbon-addons-iot-react.css.map +1 -1
- package/lib/hooks/usePopoverPositioning.js +53 -11
- package/lib/scss/components/DateTimePicker/_date-time-pickerv2.scss +4 -4
- package/lib/scss/components/Table/_table.scss +5 -0
- package/package.json +4 -3
- package/scss/components/DateTimePicker/_date-time-pickerv2.scss +4 -4
- package/scss/components/Table/_table.scss +5 -0
- package/umd/carbon-addons-iot-react.js +98 -120
|
@@ -41,6 +41,7 @@ var useLangDirection = require('use-lang-direction');
|
|
|
41
41
|
var warning = require('warning');
|
|
42
42
|
var componentUtilityFunctions = require('../../utils/componentUtilityFunctions.js');
|
|
43
43
|
var Settings = require('../../constants/Settings.js');
|
|
44
|
+
var SharedPropTypes = require('../../constants/SharedPropTypes.js');
|
|
44
45
|
var FilterTags = require('../FilterTags/FilterTags.js');
|
|
45
46
|
var RuleBuilderPropTypes = require('../RuleBuilder/RuleBuilderPropTypes.js');
|
|
46
47
|
var experimental = require('../../internal/experimental.js');
|
|
@@ -175,8 +176,9 @@ var propTypes = {
|
|
|
175
176
|
* always - Wrap if needed for all table column configurations
|
|
176
177
|
* never - Tables with dynamic columns widths grow larger and tables with fixed or resizable columns truncate.
|
|
177
178
|
* alwaysTruncate - Always truncate if needed for all table column configurations
|
|
179
|
+
* expand - Expand to fit text width (by horizontal scrollbar) for table with fixed columns
|
|
178
180
|
*/
|
|
179
|
-
wrapCellText:
|
|
181
|
+
wrapCellText: SharedPropTypes.WrapCellTextPropTypes,
|
|
180
182
|
|
|
181
183
|
/** use white-space: pre; css when true */
|
|
182
184
|
preserveCellWhiteSpace: PropTypes__default['default'].bool
|
|
@@ -725,7 +727,7 @@ var Table = function Table(props) {
|
|
|
725
727
|
forceUpdateCellTextWidth = _useState4[1];
|
|
726
728
|
|
|
727
729
|
var useCellTextTruncate = React.useMemo(function () {
|
|
728
|
-
return options ? options.wrapCellText === 'alwaysTruncate' || options.wrapCellText !== 'always' && (options.hasResize && !options.useAutoTableLayoutForResize || columns.some(function (col) {
|
|
730
|
+
return options ? options.wrapCellText === 'alwaysTruncate' || options.wrapCellText !== 'always' && options.wrapCellText !== 'expand' && (options.hasResize && !options.useAutoTableLayoutForResize || columns.some(function (col) {
|
|
729
731
|
return col.hasOwnProperty('width');
|
|
730
732
|
})) : undefined;
|
|
731
733
|
}, [options, columns]);
|
|
@@ -1335,21 +1337,9 @@ Table.__docgenInfo = {
|
|
|
1335
1337
|
"required": false
|
|
1336
1338
|
},
|
|
1337
1339
|
"wrapCellText": {
|
|
1338
|
-
"name": "
|
|
1339
|
-
"
|
|
1340
|
-
|
|
1341
|
-
"computed": false
|
|
1342
|
-
}, {
|
|
1343
|
-
"value": "'never'",
|
|
1344
|
-
"computed": false
|
|
1345
|
-
}, {
|
|
1346
|
-
"value": "'auto'",
|
|
1347
|
-
"computed": false
|
|
1348
|
-
}, {
|
|
1349
|
-
"value": "'alwaysTruncate'",
|
|
1350
|
-
"computed": false
|
|
1351
|
-
}],
|
|
1352
|
-
"description": "auto - Wrap for tables with dynamic columns widths and truncate for tables with fixed or resizable columns\nalways - Wrap if needed for all table column configurations\nnever - Tables with dynamic columns widths grow larger and tables with fixed or resizable columns truncate.\nalwaysTruncate - Always truncate if needed for all table column configurations",
|
|
1340
|
+
"name": "custom",
|
|
1341
|
+
"raw": "WrapCellTextPropTypes",
|
|
1342
|
+
"description": "auto - Wrap for tables with dynamic columns widths and truncate for tables with fixed or resizable columns\nalways - Wrap if needed for all table column configurations\nnever - Tables with dynamic columns widths grow larger and tables with fixed or resizable columns truncate.\nalwaysTruncate - Always truncate if needed for all table column configurations\nexpand - Expand to fit text width (by horizontal scrollbar) for table with fixed columns",
|
|
1353
1343
|
"required": false
|
|
1354
1344
|
},
|
|
1355
1345
|
"preserveCellWhiteSpace": {
|
|
@@ -24,6 +24,7 @@ var PropTypes = require('prop-types');
|
|
|
24
24
|
var carbonComponentsReact = require('carbon-components-react');
|
|
25
25
|
var TablePropTypes = require('../TablePropTypes.js');
|
|
26
26
|
var deprecate = require('../../../internal/deprecate.js');
|
|
27
|
+
var SharedPropTypes = require('../../../constants/SharedPropTypes.js');
|
|
27
28
|
var tableUtilities = require('../tableUtilities.js');
|
|
28
29
|
var TableBodyRowRenderer = require('./TableBodyRowRenderer.js');
|
|
29
30
|
|
|
@@ -83,7 +84,7 @@ var propTypes = {
|
|
|
83
84
|
hasSingleNestedHierarchy: PropTypes__default['default'].bool
|
|
84
85
|
})]),
|
|
85
86
|
hasRowActions: PropTypes__default['default'].bool,
|
|
86
|
-
wrapCellText:
|
|
87
|
+
wrapCellText: SharedPropTypes.WrapCellTextPropTypes.isRequired,
|
|
87
88
|
truncateCellText: PropTypes__default['default'].bool.isRequired,
|
|
88
89
|
|
|
89
90
|
/** the current state of the row actions */
|
|
@@ -785,22 +786,10 @@ TableBody.__docgenInfo = {
|
|
|
785
786
|
},
|
|
786
787
|
"wrapCellText": {
|
|
787
788
|
"type": {
|
|
788
|
-
"name": "
|
|
789
|
-
"
|
|
790
|
-
"value": "'always'",
|
|
791
|
-
"computed": false
|
|
792
|
-
}, {
|
|
793
|
-
"value": "'never'",
|
|
794
|
-
"computed": false
|
|
795
|
-
}, {
|
|
796
|
-
"value": "'auto'",
|
|
797
|
-
"computed": false
|
|
798
|
-
}, {
|
|
799
|
-
"value": "'alwaysTruncate'",
|
|
800
|
-
"computed": false
|
|
801
|
-
}]
|
|
789
|
+
"name": "custom",
|
|
790
|
+
"raw": "WrapCellTextPropTypes.isRequired"
|
|
802
791
|
},
|
|
803
|
-
"required":
|
|
792
|
+
"required": false,
|
|
804
793
|
"description": ""
|
|
805
794
|
},
|
|
806
795
|
"truncateCellText": {
|
|
@@ -14,6 +14,7 @@ var PropTypes = require('prop-types');
|
|
|
14
14
|
var carbonComponentsReact = require('carbon-components-react');
|
|
15
15
|
var classnames = require('classnames');
|
|
16
16
|
var Settings = require('../../../../constants/Settings.js');
|
|
17
|
+
var SharedPropTypes = require('../../../../constants/SharedPropTypes.js');
|
|
17
18
|
var RowActionsCell = require('../RowActionsCell/RowActionsCell.js');
|
|
18
19
|
var TableCellRenderer = require('../../TableCellRenderer/TableCellRenderer.js');
|
|
19
20
|
var TablePropTypes = require('../../TablePropTypes.js');
|
|
@@ -72,7 +73,7 @@ var propTypes = {
|
|
|
72
73
|
})]),
|
|
73
74
|
hasRowActions: PropTypes__default['default'].bool,
|
|
74
75
|
shouldExpandOnRowClick: PropTypes__default['default'].bool,
|
|
75
|
-
wrapCellText:
|
|
76
|
+
wrapCellText: SharedPropTypes.WrapCellTextPropTypes.isRequired,
|
|
76
77
|
truncateCellText: PropTypes__default['default'].bool.isRequired,
|
|
77
78
|
|
|
78
79
|
/** use white-space: pre; css when true */
|
|
@@ -194,7 +195,7 @@ var defaultProps = {
|
|
|
194
195
|
};
|
|
195
196
|
|
|
196
197
|
var TableBodyRow = function TableBodyRow(_ref) {
|
|
197
|
-
var
|
|
198
|
+
var _classnames5, _classnames6, _classnames7;
|
|
198
199
|
|
|
199
200
|
var id = _ref.id,
|
|
200
201
|
tableId = _ref.tableId,
|
|
@@ -320,7 +321,7 @@ var TableBodyRow = function TableBodyRow(_ref) {
|
|
|
320
321
|
className: classnames__default['default']("data-table-".concat(align), (_classnames = {}, _defineProperty__default['default'](_classnames, "".concat(iotPrefix, "--table__cell--truncate"), truncateCellText), _defineProperty__default['default'](_classnames, "".concat(iotPrefix, "--table__cell--sortable"), sortable), _classnames)),
|
|
321
322
|
width: initialColumnWidth
|
|
322
323
|
}, /*#__PURE__*/React__default['default'].createElement("span", {
|
|
323
|
-
className: "".concat(iotPrefix, "--table__cell__offset"),
|
|
324
|
+
className: classnames__default['default']("".concat(iotPrefix, "--table__cell__offset"), _defineProperty__default['default']({}, "".concat(iotPrefix, "--table__cell__offset__expand"), wrapCellText === 'expand')),
|
|
324
325
|
style: {
|
|
325
326
|
'--row-nesting-offset': "".concat(offset, "px")
|
|
326
327
|
}
|
|
@@ -408,7 +409,7 @@ var TableBodyRow = function TableBodyRow(_ref) {
|
|
|
408
409
|
}, rowDetails))) : /*#__PURE__*/React__default['default'].createElement(TableExpandRow, {
|
|
409
410
|
key: id,
|
|
410
411
|
expandHeaderId: "".concat(tableId, "-expand"),
|
|
411
|
-
className: classnames__default['default']("".concat(iotPrefix, "--expandable-tablerow"), (
|
|
412
|
+
className: classnames__default['default']("".concat(iotPrefix, "--expandable-tablerow"), (_classnames5 = {}, _defineProperty__default['default'](_classnames5, "".concat(iotPrefix, "--expandable-tablerow--parent"), hasRowNesting && (hasRowNesting === null || hasRowNesting === void 0 ? void 0 : hasRowNesting.hasSingleNestedHierarchy) && nestingChildCount > 0), _defineProperty__default['default'](_classnames5, "".concat(iotPrefix, "--expandable-tablerow--childless"), hasRowNesting && nestingChildCount === 0), _defineProperty__default['default'](_classnames5, "".concat(iotPrefix, "--expandable-tablerow--indented"), parseInt(nestingOffset, 10) > 0), _defineProperty__default['default'](_classnames5, "".concat(iotPrefix, "--expandable-tablerow--singly-selected"), hasRowSelection === 'single' && isSelected && !useRadioButtonSingleSelect), _defineProperty__default['default'](_classnames5, "".concat(iotPrefix, "--expandable-tablerow--last-child"), isLastChild), _classnames5)),
|
|
412
413
|
"data-row-nesting": hasRowNesting,
|
|
413
414
|
"data-child-count": nestingChildCount,
|
|
414
415
|
"data-nesting-offset": nestingOffset,
|
|
@@ -439,7 +440,7 @@ var TableBodyRow = function TableBodyRow(_ref) {
|
|
|
439
440
|
rowId: id,
|
|
440
441
|
langDir: langDir
|
|
441
442
|
}, tableCells) : hasRowSelection === 'single' && isSelected ? /*#__PURE__*/React__default['default'].createElement(carbonComponentsReact.TableRow, {
|
|
442
|
-
className: classnames__default['default']("".concat(iotPrefix, "--table__row"), (
|
|
443
|
+
className: classnames__default['default']("".concat(iotPrefix, "--table__row"), (_classnames6 = {}, _defineProperty__default['default'](_classnames6, "".concat(iotPrefix, "--table__row--singly-selected"), isSelected && !useRadioButtonSingleSelect), _defineProperty__default['default'](_classnames6, "".concat(iotPrefix, "--table__row--background"), isSelected), _classnames6)),
|
|
443
444
|
key: id,
|
|
444
445
|
onClick: function onClick() {
|
|
445
446
|
if (isSelectable !== false) {
|
|
@@ -451,7 +452,7 @@ var TableBodyRow = function TableBodyRow(_ref) {
|
|
|
451
452
|
}
|
|
452
453
|
}
|
|
453
454
|
}, tableCells) : /*#__PURE__*/React__default['default'].createElement(carbonComponentsReact.TableRow, {
|
|
454
|
-
className: classnames__default['default']("".concat(iotPrefix, "--table__row"), (
|
|
455
|
+
className: classnames__default['default']("".concat(iotPrefix, "--table__row"), (_classnames7 = {}, _defineProperty__default['default'](_classnames7, "".concat(iotPrefix, "--table__row--unselectable"), isSelectable === false), _defineProperty__default['default'](_classnames7, "".concat(iotPrefix, "--table__row--selectable"), isSelectable !== false), _defineProperty__default['default'](_classnames7, "".concat(iotPrefix, "--table__row--editing"), isEditMode), _defineProperty__default['default'](_classnames7, "".concat(iotPrefix, "--table__row--selected"), isSelected), _classnames7)),
|
|
455
456
|
key: id,
|
|
456
457
|
onClick: function onClick() {
|
|
457
458
|
if (isSelectable !== false) {
|
|
@@ -645,20 +646,8 @@ TableBodyRow.__docgenInfo = {
|
|
|
645
646
|
"required": false
|
|
646
647
|
},
|
|
647
648
|
"wrapCellText": {
|
|
648
|
-
"name": "
|
|
649
|
-
"
|
|
650
|
-
"value": "'always'",
|
|
651
|
-
"computed": false
|
|
652
|
-
}, {
|
|
653
|
-
"value": "'never'",
|
|
654
|
-
"computed": false
|
|
655
|
-
}, {
|
|
656
|
-
"value": "'auto'",
|
|
657
|
-
"computed": false
|
|
658
|
-
}, {
|
|
659
|
-
"value": "'alwaysTruncate'",
|
|
660
|
-
"computed": false
|
|
661
|
-
}],
|
|
649
|
+
"name": "custom",
|
|
650
|
+
"raw": "WrapCellTextPropTypes.isRequired",
|
|
662
651
|
"required": true
|
|
663
652
|
},
|
|
664
653
|
"truncateCellText": {
|
|
@@ -21,6 +21,7 @@ require('core-js/modules/es.array.map.js');
|
|
|
21
21
|
var React = require('react');
|
|
22
22
|
var PropTypes = require('prop-types');
|
|
23
23
|
var useVisibilityObserver = require('../../../hooks/useVisibilityObserver.js');
|
|
24
|
+
var SharedPropTypes = require('../../../constants/SharedPropTypes.js');
|
|
24
25
|
var TablePropTypes = require('../TablePropTypes.js');
|
|
25
26
|
var TableBodyRow = require('./TableBodyRow/TableBodyRow.js');
|
|
26
27
|
var TableBodyLoadMoreRow = require('./TableBodyLoadMoreRow/TableBodyLoadMoreRow.js');
|
|
@@ -84,7 +85,7 @@ var propTypes = {
|
|
|
84
85
|
hasSingleNestedHierarchy: PropTypes__default['default'].bool
|
|
85
86
|
})]),
|
|
86
87
|
hasRowActions: PropTypes__default['default'].bool,
|
|
87
|
-
wrapCellText:
|
|
88
|
+
wrapCellText: SharedPropTypes.WrapCellTextPropTypes.isRequired,
|
|
88
89
|
truncateCellText: PropTypes__default['default'].bool.isRequired,
|
|
89
90
|
|
|
90
91
|
/** the current state of the row actions */
|
|
@@ -807,22 +808,10 @@ TableBodyRowRenderer.__docgenInfo = {
|
|
|
807
808
|
},
|
|
808
809
|
"wrapCellText": {
|
|
809
810
|
"type": {
|
|
810
|
-
"name": "
|
|
811
|
-
"
|
|
812
|
-
"value": "'always'",
|
|
813
|
-
"computed": false
|
|
814
|
-
}, {
|
|
815
|
-
"value": "'never'",
|
|
816
|
-
"computed": false
|
|
817
|
-
}, {
|
|
818
|
-
"value": "'auto'",
|
|
819
|
-
"computed": false
|
|
820
|
-
}, {
|
|
821
|
-
"value": "'alwaysTruncate'",
|
|
822
|
-
"computed": false
|
|
823
|
-
}]
|
|
811
|
+
"name": "custom",
|
|
812
|
+
"raw": "WrapCellTextPropTypes.isRequired"
|
|
824
813
|
},
|
|
825
|
-
"required":
|
|
814
|
+
"required": false,
|
|
826
815
|
"description": ""
|
|
827
816
|
},
|
|
828
817
|
"truncateCellText": {
|
|
@@ -11,6 +11,7 @@ var classnames = require('classnames');
|
|
|
11
11
|
var carbonComponentsReact = require('carbon-components-react');
|
|
12
12
|
var warning = require('warning');
|
|
13
13
|
var Settings = require('../../../constants/Settings.js');
|
|
14
|
+
var SharedPropTypes = require('../../../constants/SharedPropTypes.js');
|
|
14
15
|
|
|
15
16
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
16
17
|
|
|
@@ -25,7 +26,7 @@ var warning__default = /*#__PURE__*/_interopDefaultLegacy(warning);
|
|
|
25
26
|
var iotPrefix = Settings.settings.iotPrefix;
|
|
26
27
|
var propTypes = {
|
|
27
28
|
children: PropTypes__default['default'].oneOfType([PropTypes__default['default'].node, PropTypes__default['default'].bool, PropTypes__default['default'].object, PropTypes__default['default'].array]),
|
|
28
|
-
wrapText:
|
|
29
|
+
wrapText: SharedPropTypes.WrapCellTextPropTypes.isRequired,
|
|
29
30
|
truncateCellText: PropTypes__default['default'].bool.isRequired,
|
|
30
31
|
allowTooltip: PropTypes__default['default'].bool,
|
|
31
32
|
|
|
@@ -86,7 +87,7 @@ var TableCellRenderer = function TableCellRenderer(_ref) {
|
|
|
86
87
|
filterFunction = _ref.filterFunction,
|
|
87
88
|
preserveCellWhiteSpace = _ref.preserveCellWhiteSpace;
|
|
88
89
|
var mySpanRef = /*#__PURE__*/React__default['default'].createRef();
|
|
89
|
-
var myClasses = classnames__default['default']((_classnames = {}, _defineProperty__default['default'](_classnames, "".concat(iotPrefix, "--table__cell-text--truncate"), wrapText !== 'always' && truncateCellText), _defineProperty__default['default'](_classnames, "".concat(iotPrefix, "--table__cell-text--no-wrap"), wrapText === 'never'), _defineProperty__default['default'](_classnames, "".concat(iotPrefix, "--table__cell-text--preserve"), preserveCellWhiteSpace), _classnames));
|
|
90
|
+
var myClasses = classnames__default['default']((_classnames = {}, _defineProperty__default['default'](_classnames, "".concat(iotPrefix, "--table__cell-text--truncate"), wrapText !== 'always' && truncateCellText), _defineProperty__default['default'](_classnames, "".concat(iotPrefix, "--table__cell-text--no-wrap"), wrapText === 'never' || wrapText === 'expand'), _defineProperty__default['default'](_classnames, "".concat(iotPrefix, "--table__cell-text--preserve"), preserveCellWhiteSpace), _classnames));
|
|
90
91
|
|
|
91
92
|
var _useState = React.useState(false),
|
|
92
93
|
_useState2 = _slicedToArray__default['default'](_useState, 2),
|
|
@@ -266,22 +267,10 @@ TableCellRenderer.__docgenInfo = {
|
|
|
266
267
|
},
|
|
267
268
|
"wrapText": {
|
|
268
269
|
"type": {
|
|
269
|
-
"name": "
|
|
270
|
-
"
|
|
271
|
-
"value": "'always'",
|
|
272
|
-
"computed": false
|
|
273
|
-
}, {
|
|
274
|
-
"value": "'never'",
|
|
275
|
-
"computed": false
|
|
276
|
-
}, {
|
|
277
|
-
"value": "'auto'",
|
|
278
|
-
"computed": false
|
|
279
|
-
}, {
|
|
280
|
-
"value": "'alwaysTruncate'",
|
|
281
|
-
"computed": false
|
|
282
|
-
}]
|
|
270
|
+
"name": "custom",
|
|
271
|
+
"raw": "WrapCellTextPropTypes.isRequired"
|
|
283
272
|
},
|
|
284
|
-
"required":
|
|
273
|
+
"required": false,
|
|
285
274
|
"description": ""
|
|
286
275
|
},
|
|
287
276
|
"truncateCellText": {
|
|
@@ -31,6 +31,7 @@ var TablePropTypes = require('../TablePropTypes.js');
|
|
|
31
31
|
var TableCellRenderer = require('../TableCellRenderer/TableCellRenderer.js');
|
|
32
32
|
var componentUtilityFunctions = require('../../../utils/componentUtilityFunctions.js');
|
|
33
33
|
var Settings = require('../../../constants/Settings.js');
|
|
34
|
+
var SharedPropTypes = require('../../../constants/SharedPropTypes.js');
|
|
34
35
|
var index = require('../../OverflowMenu/index.js');
|
|
35
36
|
var usePrevious = require('../../../hooks/usePrevious.js');
|
|
36
37
|
var deprecate = require('../../../internal/deprecate.js');
|
|
@@ -69,7 +70,7 @@ var propTypes = {
|
|
|
69
70
|
/** If the hierarchy only has 1 nested level of children */
|
|
70
71
|
hasSingleNestedHierarchy: PropTypes__default['default'].bool
|
|
71
72
|
})]),
|
|
72
|
-
wrapCellText:
|
|
73
|
+
wrapCellText: SharedPropTypes.WrapCellTextPropTypes.isRequired,
|
|
73
74
|
truncateCellText: PropTypes__default['default'].bool.isRequired,
|
|
74
75
|
hasMultiSort: PropTypes__default['default'].bool,
|
|
75
76
|
useAutoTableLayoutForResize: PropTypes__default['default'].bool,
|
|
@@ -710,20 +711,8 @@ TableHead.__docgenInfo = {
|
|
|
710
711
|
"required": false
|
|
711
712
|
},
|
|
712
713
|
"wrapCellText": {
|
|
713
|
-
"name": "
|
|
714
|
-
"
|
|
715
|
-
"value": "'always'",
|
|
716
|
-
"computed": false
|
|
717
|
-
}, {
|
|
718
|
-
"value": "'never'",
|
|
719
|
-
"computed": false
|
|
720
|
-
}, {
|
|
721
|
-
"value": "'auto'",
|
|
722
|
-
"computed": false
|
|
723
|
-
}, {
|
|
724
|
-
"value": "'alwaysTruncate'",
|
|
725
|
-
"computed": false
|
|
726
|
-
}],
|
|
714
|
+
"name": "custom",
|
|
715
|
+
"raw": "WrapCellTextPropTypes.isRequired",
|
|
727
716
|
"required": true
|
|
728
717
|
},
|
|
729
718
|
"truncateCellText": {
|
|
@@ -159,6 +159,7 @@ var CarbonIconPropType = PropTypes__default['default'].oneOfType([PropTypes__def
|
|
|
159
159
|
var HtmlElementRefProp = PropTypes__default['default'].oneOfType([PropTypes__default['default'].func, PropTypes__default['default'].shape({
|
|
160
160
|
current: PropTypes__default['default'].oneOfType([PropTypes__default['default'].object])
|
|
161
161
|
})]);
|
|
162
|
+
var WrapCellTextPropTypes = PropTypes__default['default'].oneOf(['always', 'never', 'auto', 'alwaysTruncate', 'expand']);
|
|
162
163
|
|
|
163
164
|
exports.ButtonIconPropType = ButtonIconPropType;
|
|
164
165
|
exports.CarbonIconPropType = CarbonIconPropType;
|
|
@@ -169,3 +170,4 @@ exports.HotspotPropTypes = HotspotPropTypes;
|
|
|
169
170
|
exports.HtmlElementRefProp = HtmlElementRefProp;
|
|
170
171
|
exports.OverridePropTypes = OverridePropTypes;
|
|
171
172
|
exports.SvgPropType = SvgPropType;
|
|
173
|
+
exports.WrapCellTextPropTypes = WrapCellTextPropTypes;
|
|
@@ -30780,9 +30780,6 @@ html[dir=rtl] .iot--date-time-picker__wrapper .iot--date-time-picker__box .iot--
|
|
|
30780
30780
|
.iot--date-time-pickerv2__wrapper .iot--date-time-picker__box--light {
|
|
30781
30781
|
background-color: #f4f4f4;
|
|
30782
30782
|
}
|
|
30783
|
-
.iot--date-time-pickerv2__wrapper .iot--date-time-picker__box--invalid {
|
|
30784
|
-
outline: 2px solid #da1e28;
|
|
30785
|
-
}
|
|
30786
30783
|
.iot--date-time-pickerv2__wrapper .iot--date-time-picker__box--disabled {
|
|
30787
30784
|
border: none;
|
|
30788
30785
|
}
|
|
@@ -30795,6 +30792,10 @@ html[dir=rtl] .iot--date-time-picker__wrapper .iot--date-time-picker__box .iot--
|
|
|
30795
30792
|
pointer-events: none;
|
|
30796
30793
|
}
|
|
30797
30794
|
|
|
30795
|
+
.iot--date-time-pickerv2__wrapper--invalid {
|
|
30796
|
+
outline: 2px solid #da1e28;
|
|
30797
|
+
}
|
|
30798
|
+
|
|
30798
30799
|
.iot--flyout-menu--content.iot--date-time-picker--menu {
|
|
30799
30800
|
--zIndex: 0;
|
|
30800
30801
|
padding: 0;
|
|
@@ -37604,6 +37605,10 @@ button.bx--btn.iot--tooltip-svg-wrapper.bx--btn--ghost.iot--table-toolbar__advan
|
|
|
37604
37605
|
left: unset;
|
|
37605
37606
|
right: var(--row-nesting-offset);
|
|
37606
37607
|
}
|
|
37608
|
+
.iot--table__cell__offset__expand {
|
|
37609
|
+
left: unset;
|
|
37610
|
+
margin-left: var(--row-nesting-offset);
|
|
37611
|
+
}
|
|
37607
37612
|
|
|
37608
37613
|
.iot--expanded-tablerow td {
|
|
37609
37614
|
padding: 0;
|