@elvia/elvis-box
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -7,2 +7,3 @@ import { FC } from 'react'; | ||
hasBorder?: boolean; | ||
hiddenProp?: boolean; | ||
webcomponent: any; | ||
@@ -9,0 +10,0 @@ } |
@@ -35,2 +35,3 @@ /* | ||
hasBorder = false, | ||
hiddenProp = true, | ||
webcomponent | ||
@@ -56,10 +57,8 @@ }) => { | ||
}, [webcomponent]); | ||
return /*#__PURE__*/React.createElement(BoxArea, null, title && /*#__PURE__*/React.createElement(BoxTitle, null, title), !title && /*#__PURE__*/React.createElement(BoxTitle, { | ||
return /*#__PURE__*/React.createElement(BoxArea, null, hiddenProp && /*#__PURE__*/React.createElement("div", null, "YOYOYOYO"), title && /*#__PURE__*/React.createElement(BoxTitle, null, title), !title && /*#__PURE__*/React.createElement(BoxTitle, { | ||
ref: boxTitle | ||
}), content && /*#__PURE__*/React.createElement(BoxContent, { | ||
hasBorder: hasBorder, | ||
isColored: isColored | ||
hasBorder: hasBorder | ||
}, isColored && /*#__PURE__*/React.createElement(BoxColoredLine, null), content), !content && /*#__PURE__*/React.createElement(BoxContent, { | ||
hasBorder: hasBorder, | ||
isColored: isColored | ||
hasBorder: hasBorder | ||
}, isColored && /*#__PURE__*/React.createElement(BoxColoredLine, null), /*#__PURE__*/React.createElement("div", { | ||
@@ -66,0 +65,0 @@ ref: boxContent |
@@ -37,3 +37,3 @@ /* | ||
"useWrapper": false, | ||
"reactTypescriptDeclaration": false | ||
"reactTypescriptDeclaration": true | ||
}; | ||
@@ -40,0 +40,0 @@ } |
{ | ||
"name": "@elvia/elvis-box", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "web_component.js", |
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
139557
13
503