@micromag/screen-urbania-recommendation 0.3.624 → 0.3.625

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.
Files changed (2) hide show
  1. package/es/index.js +10 -1
  2. package/package.json +2 -2
package/es/index.js CHANGED
@@ -495,7 +495,16 @@ var UrbaniaRecommendation = function UrbaniaRecommendation(_ref) {
495
495
  borderRadius: 0
496
496
  } : null)
497
497
  }, /*#__PURE__*/React.createElement("div", {
498
- className: classNames([styles.visualContainer, _defineProperty({}, styles.modalOpened, visualModalTransitioning || visualModalOpened)])
498
+ className: classNames([styles.visualContainer, _defineProperty({}, styles.modalOpened, visualModalTransitioning || visualModalOpened)]),
499
+ style:
500
+ // eslint-disable-next-line no-nested-ternary
501
+ layoutBorderRadius !== null ? layout === 'bottom' ? {
502
+ borderBottomLeftRadius: layoutBorderRadius,
503
+ borderBottomRightRadius: layoutBorderRadius
504
+ } : {
505
+ borderTopLeftRadius: layoutBorderRadius,
506
+ borderTopRightRadius: layoutBorderRadius
507
+ } : null
499
508
  }, /*#__PURE__*/React.createElement(ScreenElement, {
500
509
  key: "visual",
501
510
  placeholder: /*#__PURE__*/React.createElement(PlaceholderImage, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/screen-urbania-recommendation",
3
- "version": "0.3.624",
3
+ "version": "0.3.625",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "keywords": [
@@ -82,5 +82,5 @@
82
82
  "access": "public",
83
83
  "registry": "https://registry.npmjs.org/"
84
84
  },
85
- "gitHead": "dae93d8ee83abe0aa8f51a31a94e32f7b5ad9104"
85
+ "gitHead": "52a75afce3eaf952e9cdc86f22ef11d189b36e06"
86
86
  }