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

@hixme-ui/text

Package Overview
Dependencies
Maintainers
3
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hixme-ui/text - npm Package Compare versions

Comparing version 1.20.0 to 2.0.0-alpha.0

4

lib/TextBase.js

@@ -11,3 +11,3 @@ 'use strict';

var _templateObject = (0, _taggedTemplateLiteral3.default)(['\n color: ', ';\n font-family: ', ';\n font-size: ', ';\n font-weight: ', ';\n border-bottom: ', ';\n ', '\n ', ';\n justify-content: ', ';\n line-height: ', ';\n text-align: ', ';\n text-indent: ', ';\n text-transform: ', ';\n text-overflow: ', ';\n user-select: ', ';\n white-space: ', ';\n width: ', ';\n word-break: ', ';\n'], ['\n color: ', ';\n font-family: ', ';\n font-size: ', ';\n font-weight: ', ';\n border-bottom: ', ';\n ', '\n ', ';\n justify-content: ', ';\n line-height: ', ';\n text-align: ', ';\n text-indent: ', ';\n text-transform: ', ';\n text-overflow: ', ';\n user-select: ', ';\n white-space: ', ';\n width: ', ';\n word-break: ', ';\n']);
var _templateObject = (0, _taggedTemplateLiteral3.default)(['\n color: ', ';\n font-size: ', ';\n font-weight: ', ';\n border-bottom: ', ';\n ', '\n ', ';\n justify-content: ', ';\n line-height: ', ';\n text-align: ', ';\n text-indent: ', ';\n text-transform: ', ';\n text-overflow: ', ';\n user-select: ', ';\n white-space: ', ';\n width: ', ';\n word-break: ', ';\n'], ['\n color: ', ';\n font-size: ', ';\n font-weight: ', ';\n border-bottom: ', ';\n ', '\n ', ';\n justify-content: ', ';\n line-height: ', ';\n text-align: ', ';\n text-indent: ', ';\n text-transform: ', ';\n text-overflow: ', ';\n user-select: ', ';\n white-space: ', ';\n width: ', ';\n word-break: ', ';\n']);

@@ -25,4 +25,2 @@ var _styledComponents = require('styled-components');

}, function (props) {
return props.fontFamily || (0, _themeProps.getFontFamily)(props);
}, function (props) {
return props.fontSize || (0, _themeProps.getFontSize)(props, 'inherit');

@@ -29,0 +27,0 @@ }, function (props) {

{
"name": "@hixme-ui/text",
"version": "1.20.0",
"version": "2.0.0-alpha.0",
"description": "hixme-ui text component. For all your communictation needs.",

@@ -81,4 +81,4 @@ "publishConfig": {

"dependencies": {
"@hixme-ui/theme": "^1.20.0",
"@hixme-ui/theme-props": "^1.19.2",
"@hixme-ui/theme": "^2.0.0-alpha.0",
"@hixme-ui/theme-props": "^2.0.0-alpha.0",
"styled-components": "^2.3.3"

@@ -85,0 +85,0 @@ },

import styled from 'styled-components'
import {
getFontFamily,
getFontSize,

@@ -11,3 +10,2 @@ getFontWeight,

color: ${props => props.color || getTextColor(props, 'inherit')};
font-family: ${props => props.fontFamily || getFontFamily(props)};
font-size: ${props => props.fontSize || getFontSize(props, 'inherit')};

@@ -14,0 +12,0 @@ font-weight: ${props => props.fontWeight || getFontWeight(props)};

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