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 0.0.1-beta.3 to 1.0.0

6

CHANGELOG.md
# Elvia Box Changelog
## 1.0.0 (07.10.21)
### New features
- First version of box. Padding on title bug fix.
## 0.0.1-alpha (29.06.21)

@@ -4,0 +10,0 @@

69

dist/react/js/elvia-box.js

@@ -13,55 +13,18 @@ /*

};
const BoxArea = styled.div`
position: relative;
display: block;
width: 100%;
box-sizing: border-box;
`;
const BoxColoredLine = styled.div`
position: absolute;
top: 0px;
left: 0px;
width: 100%;
height: 4px;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
background: ${ElviaColors.elviaCharge};
`;
const BoxTitle = styled.div`
font-family: 'Red Hat Text';
font-style: normal;
font-weight: 500;
font-size: 14px;
line-height: 17px;
letter-spacing: 0.8px;
text-transform: uppercase;
color: black;
margin: 0px;
margin-bottom: 8px;
* {
font-family: 'Red Hat Text';
font-style: normal;
font-weight: 500;
font-size: 14px;
line-height: 17px;
letter-spacing: 0.8px;
text-transform: uppercase;
margin: 0;
}
`;
const BoxContent = styled.div`
position: relative;
display: block;
width: 100%;
box-sizing: border-box;
border-radius: 5px;
border: ${props => props.hasBorder === true && `1px solid ${ElviaColors.grey10}`};
background: ${ElviaColors.elviaOn};
text-align: left;
color: black;
padding: 40px;
@media (max-width: 767px) {
padding: 24px;
}
`;
const BoxArea = styled.div.withConfig({
displayName: "elvia-box__BoxArea",
componentId: "sc-smb19g-0"
})(["position:relative;display:block;width:100%;box-sizing:border-box;"]);
const BoxColoredLine = styled.div.withConfig({
displayName: "elvia-box__BoxColoredLine",
componentId: "sc-smb19g-1"
})(["position:absolute;top:0px;left:0px;width:100%;height:4px;border-top-left-radius:5px;border-top-right-radius:5px;background:", ";"], ElviaColors.elviaCharge);
const BoxTitle = styled.div.withConfig({
displayName: "elvia-box__BoxTitle",
componentId: "sc-smb19g-2"
})(["font-family:'Red Hat Text';font-style:normal;font-weight:500;font-size:14px;line-height:17px;letter-spacing:0.8px;text-transform:uppercase;color:black;margin:0px;margin-left:8px;margin-bottom:8px;*{font-family:'Red Hat Text';font-style:normal;font-weight:500;font-size:14px;line-height:17px;letter-spacing:0.8px;text-transform:uppercase;margin:0;}"]);
const BoxContent = styled.div.withConfig({
displayName: "elvia-box__BoxContent",
componentId: "sc-smb19g-3"
})(["position:relative;display:block;width:100%;box-sizing:border-box;border-radius:5px;border:", ";background:", ";text-align:left;color:black;padding:40px;@media (max-width:767px){padding:24px;}"], props => props.hasBorder === true && `1px solid ${ElviaColors.grey10}`, ElviaColors.elviaOn);

@@ -68,0 +31,0 @@ const Box = ({

@@ -19,15 +19,21 @@ /*

"name": "content",
"type": "HTMLElement"
"type": "string",
"propType": "string | HTMLElement"
}, {
"name": "title",
"type": "string"
"type": "string",
"propType": "string | HTMLElement"
}, {
"name": "hasBorder",
"type": "boolean"
"type": "boolean",
"propType": "boolean"
}, {
"name": "isColored",
"type": "boolean"
"type": "boolean",
"propType": "boolean"
}],
"slotItems": true,
"reactName": "Box"
"reactName": "Box",
"useWrapper": false,
"reactTypescriptDeclaration": false
};

@@ -34,0 +40,0 @@ }

{
"name": "@elvia/elvis-box",
"version": "0.0.1-beta.3",
"version": "1.0.0",
"description": "",

@@ -16,2 +16,2 @@ "main": "web_component.js",

}
}
}

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