@occmundial/occ-atomic 3.0.0-beta.5 → 3.0.0-beta.6

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ # [3.0.0-beta.6](https://github.com/occmundial/occ-atomic/compare/v3.0.0-beta.5...v3.0.0-beta.6) (2024-06-05)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * Text new emphasis props ([bc3e934](https://github.com/occmundial/occ-atomic/commit/bc3e934299230cb0b3a0fddeb4c8fcd2b72a052f))
7
+
1
8
  # [3.0.0-beta.5](https://github.com/occmundial/occ-atomic/compare/v3.0.0-beta.4...v3.0.0-beta.5) (2024-06-04)
2
9
 
3
10
 
@@ -145,10 +145,8 @@ Object {
145
145
  },
146
146
  "iconRight": Object {
147
147
  "display": "inline-block",
148
- "height": 16,
149
148
  "marginLeft": "8px",
150
149
  "transition": "0.3s all",
151
- "width": 16,
152
150
  },
153
151
  "lg": Object {
154
152
  "&$iconOnly": Object {
@@ -70,6 +70,7 @@ Object {
70
70
  "background": "#E9EEF8",
71
71
  "borderRadius": 34,
72
72
  "display": "inline-block",
73
+ "flexShrink": 0,
73
74
  "height": "24px",
74
75
  "position": "relative",
75
76
  "transition": "0.3s all",
@@ -194,8 +194,10 @@ var Text = /*#__PURE__*/function (_Component) {
194
194
  var _this$props2 = this.props,
195
195
  classes = _this$props2.classes,
196
196
  mid = _this$props2.mid,
197
- low = _this$props2.low;
198
- if (low) return classes.corpDisabled;else if (mid) return classes.corpSecondary;else return classes.corpPrimary;
197
+ low = _this$props2.low,
198
+ corpDisabled = _this$props2.corpDisabled,
199
+ corpSecondary = _this$props2.corpSecondary;
200
+ if (low || corpDisabled) return classes.corpDisabled;else if (mid | corpSecondary) return classes.corpSecondary;else return classes.corpPrimary;
199
201
  }
200
202
  }, {
201
203
  key: "getColor",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@occmundial/occ-atomic",
3
- "version": "3.0.0-beta.5",
3
+ "version": "3.0.0-beta.6",
4
4
  "description": "Collection of shareable styled React components for OCC applications.",
5
5
  "homepage": "http://occmundial.github.io/occ-atomic",
6
6
  "main": "build/index.js",