@occmundial/occ-atomic 3.0.0-beta.47 → 3.0.0-beta.49
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +15 -0
- package/build/Tabs/Tab/Tab.js +2 -2
- package/build/Tabs/Tab/styles.js +3 -0
- package/build/Tip/Tip.js +3 -2
- package/build/Tip/styles.js +1 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,18 @@
|
|
1
|
+
# [3.0.0-beta.49](https://github.com/occmundial/occ-atomic/compare/v3.0.0-beta.48...v3.0.0-beta.49) (2024-08-27)
|
2
|
+
|
3
|
+
|
4
|
+
### Bug Fixes
|
5
|
+
|
6
|
+
* Tip banner align ([f1b3ad2](https://github.com/occmundial/occ-atomic/commit/f1b3ad2143c360978d9e067b8298b3c90a306ddc))
|
7
|
+
|
8
|
+
# [3.0.0-beta.48](https://github.com/occmundial/occ-atomic/compare/v3.0.0-beta.47...v3.0.0-beta.48) (2024-08-26)
|
9
|
+
|
10
|
+
|
11
|
+
### Bug Fixes
|
12
|
+
|
13
|
+
* Validate tab status to set correct styles ([1261415](https://github.com/occmundial/occ-atomic/commit/1261415e7ae4cc06336cd62fc6122c5a3152b0f5))
|
14
|
+
* Validate tab status to set correct styles ([c125026](https://github.com/occmundial/occ-atomic/commit/c125026d0af8504be3188e1f04a2a83c48ce0c46))
|
15
|
+
|
1
16
|
# [3.0.0-beta.47](https://github.com/occmundial/occ-atomic/compare/v3.0.0-beta.46...v3.0.0-beta.47) (2024-08-26)
|
2
17
|
|
3
18
|
|
package/build/Tabs/Tab/Tab.js
CHANGED
@@ -40,7 +40,7 @@ function Tab(props) {
|
|
40
40
|
role: "tab",
|
41
41
|
onClick: onClickHandler,
|
42
42
|
disabled: disabled,
|
43
|
-
className: "".concat(classes.button, " ").concat(classes[size]).concat(value === currentValue ? " ".concat(classes.selected) : '').concat(!disabled ? " ".concat(classes.enabled) : " ".concat(classes.disabled)),
|
43
|
+
className: "".concat(classes.button, " ").concat(classes[size]).concat(value === currentValue && !disabled ? " ".concat(classes.selected) : '').concat(!disabled ? " ".concat(classes.enabled) : " ".concat(classes.disabled)),
|
44
44
|
type: "button",
|
45
45
|
id: "tab-".concat(value),
|
46
46
|
tabIndex: value === currentValue ? 0 : -1,
|
@@ -50,7 +50,7 @@ function Tab(props) {
|
|
50
50
|
width: iconSize,
|
51
51
|
height: iconSize,
|
52
52
|
iconName: icon,
|
53
|
-
className: "".concat(classes.icon).concat(disabled ? " ".concat(classes.iconDisabled) : ''),
|
53
|
+
className: "".concat(classes.icon).concat(value === currentValue && !disabled ? " ".concat(classes.iconSelected) : '').concat(disabled ? " ".concat(classes.iconDisabled) : ''),
|
54
54
|
transition: "all cubic-bezier(0.25,0.46,0.45,0.94) 0.2s"
|
55
55
|
}) : '', title, counter ? /*#__PURE__*/_react["default"].createElement("span", null, counter) : '');
|
56
56
|
}
|
package/build/Tabs/Tab/styles.js
CHANGED
package/build/Tip/Tip.js
CHANGED
@@ -72,7 +72,8 @@ var Tip = function Tip(_ref) {
|
|
72
72
|
}, /*#__PURE__*/_react["default"].createElement(_Flexbox["default"], {
|
73
73
|
display: "flex",
|
74
74
|
flex: "1",
|
75
|
-
alignItems: "stretch"
|
75
|
+
alignItems: "stretch",
|
76
|
+
justifyContent: banner ? 'center' : ' '
|
76
77
|
}, icon && theme !== PROMOTE && /*#__PURE__*/_react["default"].createElement(_Icon["default"], {
|
77
78
|
iconName: icons[theme],
|
78
79
|
className: classes.icon,
|
@@ -82,7 +83,7 @@ var Tip = function Tip(_ref) {
|
|
82
83
|
direction: size === 'small' ? 'col' : 'row',
|
83
84
|
justifyContent: banner ? 'center' : 'start',
|
84
85
|
alignSelf: "center",
|
85
|
-
flex: "1",
|
86
|
+
flex: banner ? "" : "1",
|
86
87
|
className: banner ? " ".concat(classes.maxWidth) : ''
|
87
88
|
}, /*#__PURE__*/_react["default"].createElement(_TipText["default"], {
|
88
89
|
classes: "".concat(classes.normalText, " ").concat(classes[colorTextClasses[theme]]).concat(!banner ? " ".concat(classes.growText) : ''),
|
package/build/Tip/styles.js
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@occmundial/occ-atomic",
|
3
|
-
"version": "3.0.0-beta.
|
3
|
+
"version": "3.0.0-beta.49",
|
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",
|