New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

buoy-text

Package Overview
Dependencies
Maintainers
4
Versions
105
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

buoy-text - npm Package Compare versions

Comparing version 1.1.8 to 1.1.9

4

dist/components/Paragraph.js

@@ -21,3 +21,3 @@ "use strict";

var Paragraph = _styledComponents2.default.p(_templateObject, _buoyTheme.fontFamily, function (props) {
return (0, _buoyTheme.fontSize)(props.small ? "body2" : props.large ? "body3" : "body1")(props);
return (0, _buoyTheme.fontSize)(props.small ? "body2" : props.large ? "body3" : props.longContent ? "body4" : "body1")(props);
}, _buoyTheme.fontWeight.light, function (props) {

@@ -32,3 +32,3 @@ return props.theme.colors[props.color];

}, function (props) {
return props.longContent && "margin-bottom: 32px; margin-top:0; " + (0, _buoyTheme.fontSize)('body4');
return props.longContent && "margin-bottom: 32px; margin-top:0;}";
}, function (props) {

@@ -35,0 +35,0 @@ return (0, _buoyTheme.responsive)("max-width", props.maxWidth, props.maxWidth, props.maxWidth, "320px");

{
"name": "buoy-text",
"version": "1.1.8",
"version": "1.1.9",
"description": "Basic Buoy text styles",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -6,3 +6,3 @@ import styled from "styled-components"

font-family: ${fontFamily};
${props => fontSize(props.small ? "body2" : props.large ? "body3" : "body1")(props)}
${props => fontSize(props.small ? "body2" : props.large ? "body3" : props.longContent ? "body4": "body1")(props)}
font-weight: ${fontWeight.light};

@@ -17,3 +17,3 @@ line-height: 1.44;

${props => props.maxWidth && `max-width: ${props.maxWidth};`}
${props => props.longContent && `margin-bottom: 32px; margin-top:0; ${fontSize('body4')}`}
${props => props.longContent && `margin-bottom: 32px; margin-top:0;}`}
${props =>

@@ -20,0 +20,0 @@ responsive(

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