@semcore/flex-box
Advanced tools
Comparing version 4.5.6 to 4.5.7
@@ -5,2 +5,8 @@ # Changelog | ||
## [4.5.7] - 2022-07-22 | ||
### Changed | ||
- Version patch update due to children dependencies update (`@semcore/utils` [3.34.0 ~> 3.35.0]). | ||
## [4.5.6] - 2022-07-07 | ||
@@ -7,0 +13,0 @@ |
@@ -40,9 +40,9 @@ "use strict"; | ||
/*__inner_css_start__*/ | ||
".___SBoxSizing_8om4t_gg_{box-sizing:border-box}.___SBoxInline_8om4t_gg_{display:inline-block}" | ||
".___SBoxSizing_tat19_gg_{box-sizing:border-box}.___SBoxInline_tat19_gg_{display:inline-block}" | ||
/*__inner_css_end__*/ | ||
, "c2jjx9_gg_") | ||
, "tat19_gg_") | ||
/*__reshadow_css_end__*/ | ||
, { | ||
"__SBoxSizing": "___SBoxSizing_8om4t_gg_", | ||
"__SBoxInline": "___SBoxInline_8om4t_gg_" | ||
"__SBoxSizing": "___SBoxSizing_tat19_gg_", | ||
"__SBoxInline": "___SBoxInline_tat19_gg_" | ||
}); | ||
@@ -49,0 +49,0 @@ |
@@ -43,12 +43,14 @@ "use strict"; | ||
/*__inner_css_start__*/ | ||
".___SFlex_3onux_gg_{display:flex}.___SFlex_3onux_gg_.__inline_3onux_gg_{display:inline-flex}" | ||
".___SFlex_a8xo0_gg_{display:flex}.___SFlex_a8xo0_gg_.__inline_a8xo0_gg_{display:inline-flex}" | ||
/*__inner_css_end__*/ | ||
, "s4gfms_gg_") | ||
, "a8xo0_gg_") | ||
/*__reshadow_css_end__*/ | ||
, { | ||
"__SFlex": "___SFlex_3onux_gg_", | ||
"_inline": "__inline_3onux_gg_" | ||
"__SFlex": "___SFlex_a8xo0_gg_", | ||
"_inline": "__inline_a8xo0_gg_" | ||
}); | ||
function calculateFlexStyles(props) { | ||
var _props$scaleIndent; | ||
var DirectionReverse = { | ||
@@ -58,3 +60,3 @@ row: 'row-reverse', | ||
}; | ||
var scaleIndent = props.scaleIndent ?? 4; | ||
var scaleIndent = (_props$scaleIndent = props.scaleIndent) !== null && _props$scaleIndent !== void 0 ? _props$scaleIndent : 4; | ||
return (0, _useBox3.removeUndefinedKeys)({ | ||
@@ -61,0 +63,0 @@ alignItems: props.alignItems, |
@@ -23,9 +23,9 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty"; | ||
/*__inner_css_start__*/ | ||
".___SBoxSizing_8om4t_gg_{box-sizing:border-box}.___SBoxInline_8om4t_gg_{display:inline-block}" | ||
".___SBoxSizing_tat19_gg_{box-sizing:border-box}.___SBoxInline_tat19_gg_{display:inline-block}" | ||
/*__inner_css_end__*/ | ||
, "c2jjx9_gg_") | ||
, "tat19_gg_") | ||
/*__reshadow_css_end__*/ | ||
, { | ||
"__SBoxSizing": "___SBoxSizing_8om4t_gg_", | ||
"__SBoxInline": "___SBoxInline_8om4t_gg_" | ||
"__SBoxSizing": "___SBoxSizing_tat19_gg_", | ||
"__SBoxInline": "___SBoxInline_tat19_gg_" | ||
}); | ||
@@ -32,0 +32,0 @@ import { getAutoOrScaleIndent } from '../utils'; |
@@ -22,9 +22,9 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty"; | ||
/*__inner_css_start__*/ | ||
".___SFlex_3onux_gg_{display:flex}.___SFlex_3onux_gg_.__inline_3onux_gg_{display:inline-flex}" | ||
".___SFlex_a8xo0_gg_{display:flex}.___SFlex_a8xo0_gg_.__inline_a8xo0_gg_{display:inline-flex}" | ||
/*__inner_css_end__*/ | ||
, "s4gfms_gg_") | ||
, "a8xo0_gg_") | ||
/*__reshadow_css_end__*/ | ||
, { | ||
"__SFlex": "___SFlex_3onux_gg_", | ||
"_inline": "__inline_3onux_gg_" | ||
"__SFlex": "___SFlex_a8xo0_gg_", | ||
"_inline": "__inline_a8xo0_gg_" | ||
}); | ||
@@ -34,2 +34,4 @@ import { getAutoOrScaleIndent } from '../utils'; | ||
function calculateFlexStyles(props) { | ||
var _props$scaleIndent; | ||
var DirectionReverse = { | ||
@@ -39,3 +41,3 @@ row: 'row-reverse', | ||
}; | ||
var scaleIndent = props.scaleIndent ?? 4; | ||
var scaleIndent = (_props$scaleIndent = props.scaleIndent) !== null && _props$scaleIndent !== void 0 ? _props$scaleIndent : 4; | ||
return removeUndefinedKeys({ | ||
@@ -42,0 +44,0 @@ alignItems: props.alignItems, |
{ | ||
"name": "@semcore/flex-box", | ||
"description": "SEMRush FlexBox Component", | ||
"version": "4.5.6", | ||
"version": "4.5.7", | ||
"main": "lib/cjs/index.js", | ||
@@ -6,0 +6,0 @@ "module": "lib/es6/index.js", |
@@ -45,4 +45,2 @@ # @semcore/flex-box | ||
</details> | ||
```jsx | ||
@@ -52,2 +50,4 @@ import { Flex, Box } from '@semcore/flex-box'; | ||
</details> | ||
## 👤 Author | ||
@@ -54,0 +54,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
90331
37
796