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.1 to 0.0.1-beta.2

dist/react/js/useFocusTrap.js

13

dist/react/js/elvia-box.js

@@ -7,2 +7,3 @@ /*

import styled from 'styled-components';
import { useFocusTrap } from './useFocusTrap';
const ElviaColors = {

@@ -73,6 +74,10 @@ elviaCharge: '#29d305',

hasBorder = false,
hasFocusTrap = false,
webcomponent
}) => {
const boxContentWrapper = useRef(null);
const boxContent = useRef(null);
const boxTitle = useRef(null);
const boxTitle = useRef(null); // console.log(hasFocusTrap);
hasFocusTrap && useFocusTrap(boxContentWrapper);
useEffect(() => {

@@ -98,6 +103,8 @@ if (!webcomponent) {

hasBorder: hasBorder,
isColored: isColored
isColored: isColored,
ref: boxContentWrapper
}, isColored && /*#__PURE__*/React.createElement(BoxColoredLine, null), content), !content && /*#__PURE__*/React.createElement(BoxContent, {
hasBorder: hasBorder,
isColored: isColored
isColored: isColored,
ref: boxContentWrapper
}, isColored && /*#__PURE__*/React.createElement(BoxColoredLine, null), /*#__PURE__*/React.createElement("div", {

@@ -104,0 +111,0 @@ ref: boxContent

{
"name": "@elvia/elvis-box",
"version": "0.0.1-beta.1",
"version": "0.0.1-beta.2",
"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