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

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 CHANGED
@@ -1,3 +1,17 @@
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
+
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)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * Remove fixed size for right-side icon in button ([1228467](https://github.com/occmundial/occ-atomic/commit/1228467ba0d107bba0e70603c28a3ccffaec306b))
14
+
1
15
  # [3.0.0-beta.4](https://github.com/occmundial/occ-atomic/compare/v3.0.0-beta.3...v3.0.0-beta.4) (2024-06-04)
2
16
 
3
17
 
@@ -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 {
@@ -346,8 +346,6 @@ var _default = {
346
346
  transition: '0.3s all'
347
347
  },
348
348
  iconRight: {
349
- width: 16,
350
- height: 16,
351
349
  marginLeft: _spacing["default"]['size-2'],
352
350
  display: 'inline-block',
353
351
  transition: '0.3s all'
@@ -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.4",
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",