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/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,38 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [2.149.0-next.35](https://github.com/carbon-design-system/carbon-addons-iot-react/compare/v2.149.0-next.34...v2.149.0-next.35) (2022-03-28)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **readonlyvalue:** export component ([f9a647c](https://github.com/carbon-design-system/carbon-addons-iot-react/commit/f9a647c481b35996efd24ead46be62791678c27c))
|
|
12
|
+
* **readonlyvalue:** export component ([38ff876](https://github.com/carbon-design-system/carbon-addons-iot-react/commit/38ff8764c35285df73efb24bd8b25c37dbdea390))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
# [2.149.0-next.34](https://github.com/carbon-design-system/carbon-addons-iot-react/compare/v2.149.0-next.33...v2.149.0-next.34) (2022-03-24)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Features
|
|
22
|
+
|
|
23
|
+
* **valuecard:** support to measurement unit; secondaryValue as a link ([6322676](https://github.com/carbon-design-system/carbon-addons-iot-react/commit/63226765fb4f7b27cc27067f61ee69d5e135d20b))
|
|
24
|
+
* **valuecard:** value card decoupled content into new component ([c3f65eb](https://github.com/carbon-design-system/carbon-addons-iot-react/commit/c3f65eb2398dd0f2edebd2ab9fa100790213c3e8))
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
# [2.149.0-next.33](https://github.com/carbon-design-system/carbon-addons-iot-react/compare/v2.149.0-next.32...v2.149.0-next.33) (2022-03-23)
|
|
31
|
+
|
|
32
|
+
**Note:** Version bump only for package carbon-addons-iot-react
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
6
38
|
# [2.149.0-next.32](https://github.com/carbon-design-system/carbon-addons-iot-react/compare/v2.149.0-next.31...v2.149.0-next.32) (2022-03-22)
|
|
7
39
|
|
|
8
40
|
|
|
@@ -29865,7 +29865,7 @@ html[dir=rtl] .iot--data-state-grid > *:first-child {
|
|
|
29865
29865
|
display: flex;
|
|
29866
29866
|
flex-wrap: wrap;
|
|
29867
29867
|
min-width: 0;
|
|
29868
|
-
margin-top: 0.75rem;
|
|
29868
|
+
margin-top: calc(0.75rem + 1px);
|
|
29869
29869
|
padding-right: 1rem;
|
|
29870
29870
|
width: 100%;
|
|
29871
29871
|
}
|
|
@@ -38605,6 +38605,9 @@ html[dir=rtl] .iot--time-picker__wrapper .iot--time-picker__controls {
|
|
|
38605
38605
|
margin-bottom: 0.25rem;
|
|
38606
38606
|
color: var(--secondary-value-color);
|
|
38607
38607
|
}
|
|
38608
|
+
.iot--value-card__attribute-secondary-value--link {
|
|
38609
|
+
cursor: pointer;
|
|
38610
|
+
}
|
|
38608
38611
|
|
|
38609
38612
|
html[dir=rtl] .iot--value-card__attribute {
|
|
38610
38613
|
padding-right: 0;
|
|
@@ -38660,6 +38663,13 @@ html[dir=rtl] .iot--value-card__attribute {
|
|
|
38660
38663
|
.iot--value-card__value-renderer--value--vertical {
|
|
38661
38664
|
text-align: left;
|
|
38662
38665
|
}
|
|
38666
|
+
.iot--value-card__value-renderer--value--measurement-unit {
|
|
38667
|
+
font-size: 1.25rem;
|
|
38668
|
+
font-weight: 400;
|
|
38669
|
+
line-height: 1.4;
|
|
38670
|
+
letter-spacing: 0;
|
|
38671
|
+
margin-left: 0.75rem;
|
|
38672
|
+
}
|
|
38663
38673
|
.iot--value-card__value-renderer--boolean {
|
|
38664
38674
|
text-transform: capitalize;
|
|
38665
38675
|
}
|