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

boxible

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

boxible - npm Package Compare versions

Comparing version 1.7.5 to 1.7.6

7

dist/boxible.js

@@ -142,5 +142,8 @@ import styled from '@emotion/styled';

const basisStyle = basis => `flex-basis: ${BASIS[basis] || basis};`;
const basisStyle = basis => `flex-basis: ${BASIS[basis] || basis};`; // min-width and min-height needed because of this
// https://stackoverflow.com/questions/36247140/why-doesnt-flex-item-shrink-past-content-size
const directionStyle = direction => `
${direction.startsWith('col') ? 'min-width: 0; min-height: 0;' : ''}
flex-direction: ${direction};

@@ -280,4 +283,2 @@ `;

outline: none;
min-width: 0;
min-height: 0;
${({

@@ -284,0 +285,0 @@ centered

@@ -162,5 +162,8 @@ import styled from '@emotion/styled';

const basisStyle = basis => `flex-basis: ${BASIS[basis] || basis};`;
const basisStyle = basis => `flex-basis: ${BASIS[basis] || basis};`; // min-width and min-height needed because of this
// https://stackoverflow.com/questions/36247140/why-doesnt-flex-item-shrink-past-content-size
const directionStyle = direction => `
${direction.startsWith('col') ? 'min-width: 0; min-height: 0;' : ''}
flex-direction: ${direction};

@@ -301,4 +304,2 @@ `;

outline: none;
min-width: 0;
min-height: 0;
${0}

@@ -305,0 +306,0 @@ ${0}

@@ -149,5 +149,8 @@ (function (global, factory) {

const basisStyle = basis => `flex-basis: ${BASIS[basis] || basis};`;
const basisStyle = basis => `flex-basis: ${BASIS[basis] || basis};`; // min-width and min-height needed because of this
// https://stackoverflow.com/questions/36247140/why-doesnt-flex-item-shrink-past-content-size
const directionStyle = direction => `
${direction.startsWith('col') ? 'min-width: 0; min-height: 0;' : ''}
flex-direction: ${direction};

@@ -287,4 +290,2 @@ `;

outline: none;
min-width: 0;
min-height: 0;
${({

@@ -291,0 +292,0 @@ centered

{
"name": "boxible",
"version": "1.7.5",
"version": "1.7.6",
"type": "module",

@@ -5,0 +5,0 @@ "description": "Typescript React component to set flexbox properties on a element",

@@ -16,3 +16,6 @@ import styled, { CSSObject } from '@emotion/styled'

// min-width and min-height needed because of this
// https://stackoverflow.com/questions/36247140/why-doesnt-flex-item-shrink-past-content-size
const directionStyle = (direction: Direction) => `
${direction.startsWith('col') ? 'min-width: 0; min-height: 0;' : ''}
flex-direction: ${direction};

@@ -182,4 +185,2 @@ `

outline: none;
min-width: 0;
min-height: 0;
${({ centered }) => centered && 'align-items: center; justify-content: center;'}

@@ -186,0 +187,0 @@ ${({ align }) => align && responsiveStyle(align, 'align-items', ALIGN_MAP)}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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