Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@elvia/elvis-box

Package Overview
Dependencies
Maintainers
6
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@elvia/elvis-box - npm Package Compare versions

Comparing version 1.1.5 to 1.1.7

dist/cdn/elvia-box.js

12

CHANGELOG.md
# 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 @@

0

dist/react/js/declarations.d.ts
declare module '*';
declare module '@elvia/elvis-colors';
declare module '@elvia/elvis-typography';

14

dist/react/js/elvia-box.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc