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

@commercetools-uikit/flat-button

Package Overview
Dependencies
Maintainers
4
Versions
870
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@commercetools-uikit/flat-button - npm Package Compare versions

Comparing version 10.18.7-canary.4 to 10.18.7-canary.5

8

dist/flat-button.cjs.js

@@ -107,5 +107,5 @@ 'use strict';

var FlatButton = function FlatButton(props) {
var dataProps = _objectSpread2({
var dataProps = _objectSpread2(_objectSpread2({
'data-track-component': 'FlatButton'
}, utils.filterInvalidAttributes(omit(props, propsToOmit)), {
}, utils.filterInvalidAttributes(omit(props, propsToOmit))), {}, {
disabled: props.isDisabled

@@ -120,3 +120,3 @@ });

css: function css(theme) {
var overwrittenVars = _objectSpread2({}, designSystem.customProperties, {}, theme);
var overwrittenVars = _objectSpread2(_objectSpread2({}, designSystem.customProperties), theme);
return core.css("min-height:initial;align-items:center;", props.as && props.as !== 'button' ? "white-space: normal;\n display: inline-block;" : '', ";span{color:", props.isDisabled ? overwrittenVars.colorNeutral : getTextColor(props.tone, false, overwrittenVars), ";}svg *{fill:", props.isDisabled ? overwrittenVars.colorNeutral : getTextColor(props.tone, false, overwrittenVars), ";}* + span,* + svg{margin-left:", designSystem.customProperties.spacingXs, ";}", !props.isDisabled ? "\n &:hover,\n &:focus {\n span {\n color: ".concat(getTextColor(props.tone, true, overwrittenVars), ";\n }\n svg * {\n fill: ").concat(getTextColor(props.tone, true, overwrittenVars), ";\n }\n }") : '');

@@ -149,5 +149,5 @@ },

var version = '10.18.7-canary.4+635c2bdf';
var version = '10.18.7-canary.5+37850586';
exports.default = FlatButton;
exports.version = version;

@@ -101,5 +101,5 @@ import React from 'react';

var FlatButton = function FlatButton(props) {
var dataProps = _objectSpread2({
var dataProps = _objectSpread2(_objectSpread2({
'data-track-component': 'FlatButton'
}, filterInvalidAttributes(omit(props, propsToOmit)), {
}, filterInvalidAttributes(omit(props, propsToOmit))), {}, {
disabled: props.isDisabled

@@ -114,3 +114,3 @@ });

css: function css$1(theme) {
var overwrittenVars = _objectSpread2({}, customProperties, {}, theme);
var overwrittenVars = _objectSpread2(_objectSpread2({}, customProperties), theme);
return css("min-height:initial;align-items:center;", props.as && props.as !== 'button' ? "white-space: normal;\n display: inline-block;" : '', ";span{color:", props.isDisabled ? overwrittenVars.colorNeutral : getTextColor(props.tone, false, overwrittenVars), ";}svg *{fill:", props.isDisabled ? overwrittenVars.colorNeutral : getTextColor(props.tone, false, overwrittenVars), ";}* + span,* + svg{margin-left:", customProperties.spacingXs, ";}", !props.isDisabled ? "\n &:hover,\n &:focus {\n span {\n color: ".concat(getTextColor(props.tone, true, overwrittenVars), ";\n }\n svg * {\n fill: ").concat(getTextColor(props.tone, true, overwrittenVars), ";\n }\n }") : '');

@@ -143,5 +143,5 @@ },

var version = '10.18.7-canary.4+635c2bdf';
var version = '10.18.7-canary.5+37850586';
export default FlatButton;
export { version };
{
"name": "@commercetools-uikit/flat-button",
"version": "10.18.7-canary.4+635c2bdf",
"version": "10.18.7-canary.5+37850586",
"description": "",

@@ -22,7 +22,7 @@ "main": "dist/flat-button.cjs.js",

"dependencies": {
"@commercetools-uikit/accessible-button": "10.18.7-canary.4+635c2bdf",
"@commercetools-uikit/design-system": "10.18.7-canary.4+635c2bdf",
"@commercetools-uikit/spacings-inline": "10.18.7-canary.4+635c2bdf",
"@commercetools-uikit/text": "10.18.7-canary.4+635c2bdf",
"@commercetools-uikit/utils": "10.18.7-canary.4+635c2bdf",
"@commercetools-uikit/accessible-button": "10.18.7-canary.5+37850586",
"@commercetools-uikit/design-system": "10.18.7-canary.5+37850586",
"@commercetools-uikit/spacings-inline": "10.18.7-canary.5+37850586",
"@commercetools-uikit/text": "10.18.7-canary.5+37850586",
"@commercetools-uikit/utils": "10.18.7-canary.5+37850586",
"@emotion/core": "10.0.28",

@@ -38,3 +38,3 @@ "@emotion/styled": "10.0.27",

},
"gitHead": "635c2bdf3baf85f99a493ca78a75216ef4383f40"
"gitHead": "37850586b5473b8ece407856e358f56b284bd60c"
}
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