@occmundial/occ-atomic 1.32.1 → 1.33.0
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 +8 -0
- package/build/SlideDown/SlideDown.js +9 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
# [1.33.0](https://github.com/occmundial/occ-atomic/compare/v1.32.1...v1.33.0) (2023-08-22)
|
2
|
+
|
3
|
+
|
4
|
+
### Features
|
5
|
+
|
6
|
+
* Add noJustified to SlideDown component ([88a6925](https://github.com/occmundial/occ-atomic/commit/88a692587aa5d3328dce4a360f08a8a14cdce94d))
|
7
|
+
* Update description ([d833719](https://github.com/occmundial/occ-atomic/commit/d833719c9fab3c1c12ec4b1f07fa0d8acd4293c5))
|
8
|
+
|
1
9
|
## [1.32.1](https://github.com/occmundial/occ-atomic/compare/v1.32.0...v1.32.1) (2023-05-31)
|
2
10
|
|
3
11
|
|
@@ -107,7 +107,8 @@ var SlideDown = /*#__PURE__*/function (_React$Component) {
|
|
107
107
|
tag = _this$props.tag,
|
108
108
|
textSize = _this$props.textSize,
|
109
109
|
strong = _this$props.strong,
|
110
|
-
theme = _this$props.theme
|
110
|
+
theme = _this$props.theme,
|
111
|
+
noJustified = _this$props.noJustified;
|
111
112
|
|
112
113
|
var getTextSize = function getTextSize() {
|
113
114
|
switch (textSize) {
|
@@ -170,7 +171,7 @@ var SlideDown = /*#__PURE__*/function (_React$Component) {
|
|
170
171
|
}
|
171
172
|
}, /*#__PURE__*/_react["default"].createElement(_Flexbox["default"], {
|
172
173
|
display: "flex",
|
173
|
-
justifyContent:
|
174
|
+
justifyContent: !noJustified ? 'between' : null,
|
174
175
|
alignItems: "start"
|
175
176
|
}, /*#__PURE__*/_react["default"].createElement(_Flexbox["default"], {
|
176
177
|
display: "flex",
|
@@ -208,7 +209,8 @@ SlideDown.defaultProps = {
|
|
208
209
|
expanded: false,
|
209
210
|
textSize: 'md',
|
210
211
|
strong: false,
|
211
|
-
theme: 'default'
|
212
|
+
theme: 'default',
|
213
|
+
noJustified: false
|
212
214
|
};
|
213
215
|
SlideDown.propTypes = {
|
214
216
|
classes: _propTypes["default"].object,
|
@@ -233,7 +235,10 @@ SlideDown.propTypes = {
|
|
233
235
|
strong: _propTypes["default"].bool,
|
234
236
|
|
235
237
|
/** Theme of the SlideDown */
|
236
|
-
theme: _propTypes["default"].oneOf(['default', 'blue'])
|
238
|
+
theme: _propTypes["default"].oneOf(['default', 'blue']),
|
239
|
+
|
240
|
+
/** The Title container has an alignment by default. Use this property if you need to remove it. */
|
241
|
+
noJustified: _propTypes["default"].bool
|
237
242
|
};
|
238
243
|
var _default = SlideDown;
|
239
244
|
exports["default"] = _default;
|
package/package.json
CHANGED