New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.4 to 1.1.5

7

CHANGELOG.md
# Elvia Box Changelog
## 1.1.5 (30.11.21)
### Patch
- Now using elvis-colors package for colors.
- Now using elvis-typography package for typography.
## 1.1.4 (30.11.21)

@@ -4,0 +11,0 @@

2

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

21

dist/react/js/elvia-box.js

@@ -7,8 +7,13 @@ /*

import styled from 'styled-components';
const ElviaColors = {
elviaCharge: '#29d305',
elviaOn: '#ffffff',
elviaOff: '#000000',
grey10: '#E9E9E9'
import { getColor } from '@elvia/elvis-colors';
import ElviaTypography from '@elvia/elvis-typography';
const colors = {
elviaCharge: getColor('elvia-charge'),
elviaWhite: getColor('white'),
elviaBlack: getColor('black'),
grey10: getColor('grey-10')
};
const typography = {
titleCaps: ElviaTypography['title-caps']
};
const BoxArea = styled.div.withConfig({

@@ -21,11 +26,11 @@ displayName: "elvia-box__BoxArea",

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);
})(["position:absolute;top:0px;left:0px;width:100%;height:4px;border-top-left-radius:5px;border-top-right-radius:5px;background:", ";"], colors.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;}"]);
})(["", " font-style:normal;color:", ";margin:0px;margin-left:8px;margin-bottom:8px;*{", " font-style:normal;text-transform:uppercase;margin:0;}"], typography.titleCaps, colors.elviaBlack, typography.titleCaps);
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);
})(["position:relative;display:block;width:100%;box-sizing:border-box;border-radius:5px;border:", ";background:", ";text-align:left;color:", ";padding:40px;@media (max-width:767px){padding:24px;}"], props => props.hasBorder === true && `1px solid ${colors.grey10}`, colors.elviaWhite, colors.elviaBlack);

@@ -32,0 +37,0 @@ const Box = ({

{
"name": "@elvia/elvis-box",
"version": "1.1.4",
"version": "1.1.5",
"description": "",

@@ -14,4 +14,6 @@ "main": "web_component.js",

"@elvia/elvis-toolbox": "^1.2.0",
"@elvia/elvis-colors": "^1.1.0",
"@elvia/elvis-typography": "^1.1.0",
"styled-components": "^5.3.3"
}
}
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