@elvia/elvis-box
Advanced tools
Comparing version 1.1.5 to 1.1.7
# Elvia Box Changelog | ||
## 1.1.7 (14.12.21) | ||
### Patch | ||
- Fix for slotting | ||
## 1.1.6 (03.12.21) | ||
### Patch | ||
- Added unit tests for box | ||
## 1.1.5 (30.11.21) | ||
@@ -4,0 +16,0 @@ |
declare module '*'; | ||
declare module '@elvia/elvis-colors'; | ||
declare module '@elvia/elvis-typography'; |
@@ -60,8 +60,14 @@ /* | ||
}, [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, title && /*#__PURE__*/React.createElement(BoxTitle, { | ||
"data-testid": "box-title" | ||
}, title), !title && /*#__PURE__*/React.createElement(BoxTitle, { | ||
ref: boxTitle | ||
}), content && /*#__PURE__*/React.createElement(BoxContent, { | ||
hasBorder: hasBorder | ||
}, isColored && /*#__PURE__*/React.createElement(BoxColoredLine, null), content), !content && /*#__PURE__*/React.createElement(BoxContent, { | ||
hasBorder: hasBorder | ||
hasBorder: hasBorder, | ||
"data-testid": "box-content" | ||
}, isColored && /*#__PURE__*/React.createElement(BoxColoredLine, { | ||
"data-testid": "box-colored-line" | ||
}), content), !content && /*#__PURE__*/React.createElement(BoxContent, { | ||
hasBorder: hasBorder, | ||
"data-testid": "box-no-content" | ||
}, isColored && /*#__PURE__*/React.createElement(BoxColoredLine, null), /*#__PURE__*/React.createElement("div", { | ||
@@ -68,0 +74,0 @@ ref: boxContent |
{ | ||
"name": "@elvia/elvis-box", | ||
"version": "1.1.5", | ||
"version": "1.1.7", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "web_component.js", |
export { default as Box } from './dist/react/js/elvia-box'; |
# Elvia Box | ||
This component only works in React right now. The webcomponent will be ready shortly. |
declare module '*'; | ||
declare module '@elvia/elvis-colors'; | ||
declare module '@elvia/elvis-typography'; |
export { default as Box } from './dist/web_component/js/elvia-box'; |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
148851
14
578
0