carbon-addons-iot-react 2.149.0-next.32 → 2.149.0-next.35
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 +32 -0
- package/css/carbon-addons-iot-react.css +11 -1
- package/css/carbon-addons-iot-react.css.map +1 -1
- package/es/components/Card/DataStateRenderer.js +5 -5
- package/es/components/ReadOnlyValue/ReadOnlyValue.js +109 -0
- package/es/components/ValueCard/Attribute.js +32 -3
- package/es/components/ValueCard/ValueCard.js +24 -44
- package/es/components/ValueCard/ValueContent.js +230 -0
- package/es/components/ValueCard/ValueRenderer.js +23 -5
- package/es/constants/CardPropTypes.js +2 -2
- package/es/index.js +2 -0
- package/lib/components/Card/DataStateRenderer.js +4 -4
- package/lib/components/ReadOnlyValue/ReadOnlyValue.js +118 -0
- package/lib/components/ValueCard/Attribute.js +32 -3
- package/lib/components/ValueCard/ValueCard.js +22 -42
- package/lib/components/ValueCard/ValueContent.js +240 -0
- package/lib/components/ValueCard/ValueRenderer.js +23 -5
- package/lib/constants/CardPropTypes.js +2 -2
- package/lib/css/carbon-addons-iot-react.css +11 -1
- package/lib/css/carbon-addons-iot-react.css.map +1 -1
- package/lib/index.js +4 -0
- package/lib/scss/components/Card/_card.scss +1 -1
- package/lib/scss/components/ValueCard/_attribute.scss +3 -0
- package/lib/scss/components/ValueCard/_value-renderer.scss +4 -0
- package/package.json +2 -2
- package/scss/components/Card/_card.scss +1 -1
- package/scss/components/ValueCard/_attribute.scss +3 -0
- package/scss/components/ValueCard/_value-renderer.scss +4 -0
- package/umd/carbon-addons-iot-react.js +1632 -1292
package/lib/index.js
CHANGED
|
@@ -56,6 +56,7 @@ var suiteHeaderData = require('./components/SuiteHeader/util/suiteHeaderData.js'
|
|
|
56
56
|
var useUiResources = require('./components/SuiteHeader/hooks/useUiResources.js');
|
|
57
57
|
var uiresources = require('./components/SuiteHeader/util/uiresources.js');
|
|
58
58
|
var Walkme = require('./components/Walkme/Walkme.js');
|
|
59
|
+
var ReadOnlyValue = require('./components/ReadOnlyValue/ReadOnlyValue.js');
|
|
59
60
|
var Dashboard = require('./components/Dashboard/Dashboard.js');
|
|
60
61
|
var DashboardHeader = require('./components/Dashboard/DashboardHeader.js');
|
|
61
62
|
var DashboardGrid = require('./components/Dashboard/DashboardGrid.js');
|
|
@@ -71,6 +72,7 @@ var ImageCard = require('./components/ImageCard/ImageCard.js');
|
|
|
71
72
|
var TableCard = require('./components/TableCard/TableCard.js');
|
|
72
73
|
var GaugeCard = require('./components/GaugeCard/GaugeCard.js');
|
|
73
74
|
var DragAndDropUtils = require('./utils/DragAndDropUtils.js');
|
|
75
|
+
var ValueContent = require('./components/ValueCard/ValueContent.js');
|
|
74
76
|
var ListCard = require('./components/ListCard/ListCard.js');
|
|
75
77
|
var PageWizard = require('./components/PageWizard/PageWizard.js');
|
|
76
78
|
var PageWizardStep = require('./components/PageWizard/PageWizardStep/PageWizardStep.js');
|
|
@@ -196,6 +198,7 @@ exports.suiteHeaderData = suiteHeaderData['default'];
|
|
|
196
198
|
exports.useUiResources = useUiResources;
|
|
197
199
|
exports.uiresources = uiresources['default'];
|
|
198
200
|
exports.Walkme = Walkme;
|
|
201
|
+
exports.ReadOnlyValue = ReadOnlyValue;
|
|
199
202
|
exports.Dashboard = Dashboard;
|
|
200
203
|
exports.DashboardHeader = DashboardHeader;
|
|
201
204
|
exports.DashboardGrid = DashboardGrid['default'];
|
|
@@ -211,6 +214,7 @@ exports.ImageCard = ImageCard;
|
|
|
211
214
|
exports.TableCard = TableCard;
|
|
212
215
|
exports.GaugeCard = GaugeCard['default'];
|
|
213
216
|
exports.DragAndDrop = DragAndDropUtils.DragAndDrop;
|
|
217
|
+
exports.ValueContent = ValueContent;
|
|
214
218
|
exports.ListCard = ListCard;
|
|
215
219
|
exports.PageWizard = PageWizard['default'];
|
|
216
220
|
exports.PageWizardStep = PageWizardStep;
|
|
@@ -42,7 +42,7 @@ $lineHeightSize: 1.375em;
|
|
|
42
42
|
// min-width value is required to ensure flex child with text properly truncates
|
|
43
43
|
// https://css-tricks.com/flexbox-truncated-text/
|
|
44
44
|
min-width: 0;
|
|
45
|
-
margin-top: $spacing-04;
|
|
45
|
+
margin-top: calc(#{$spacing-04} + 1px);
|
|
46
46
|
padding-right: $spacing-05;
|
|
47
47
|
width: 100%;
|
|
48
48
|
|
package/package.json
CHANGED
|
@@ -340,10 +340,10 @@
|
|
|
340
340
|
"whatwg-fetch": "^3.0.0"
|
|
341
341
|
},
|
|
342
342
|
"sideEffects": false,
|
|
343
|
-
"version": "2.149.0-next.
|
|
343
|
+
"version": "2.149.0-next.35",
|
|
344
344
|
"resolutions": {
|
|
345
345
|
"chokidar": "3.3.1",
|
|
346
346
|
"react-grid-layout": "1.2.2"
|
|
347
347
|
},
|
|
348
|
-
"gitHead": "
|
|
348
|
+
"gitHead": "ee3762e68bd1b05fd8a39def9bcdebf614973669"
|
|
349
349
|
}
|
|
@@ -42,7 +42,7 @@ $lineHeightSize: 1.375em;
|
|
|
42
42
|
// min-width value is required to ensure flex child with text properly truncates
|
|
43
43
|
// https://css-tricks.com/flexbox-truncated-text/
|
|
44
44
|
min-width: 0;
|
|
45
|
-
margin-top: $spacing-04;
|
|
45
|
+
margin-top: calc(#{$spacing-04} + 1px);
|
|
46
46
|
padding-right: $spacing-05;
|
|
47
47
|
width: 100%;
|
|
48
48
|
|