brahma-ui
Advanced tools
Comparing version 1.1.46 to 1.1.47
{ | ||
"name": "brahma-ui", | ||
"version": "1.1.46", | ||
"version": "1.1.47", | ||
"description": "Brahma ui package contained shared components", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -61,11 +61,11 @@ import { Typography } from 'components/Typography' | ||
disabled: (theme: Theme) => css` | ||
background-color: #121f21; //${theme.colors.gray300}; | ||
color: ${theme.colors.karma}; | ||
disabled: (theme: Theme, color: TButtonColorV2) => css` | ||
background-color: ${theme.colors[color]}aa; //${theme.colors.gray300}; | ||
color: ${theme.colors[color]}; | ||
border: 1px solid ${theme.colors.gray600}; | ||
&:hover { | ||
background-color: #121f21; //${theme.colors.gray300}; | ||
/* background-color: #121f21; //${theme.colors.gray300}; | ||
color: ${theme.colors.karma}; | ||
border: 1px solid ${theme.colors.gray600}; | ||
border: 1px solid ${theme.colors.gray600}; */ | ||
cursor: not-allowed; | ||
@@ -99,3 +99,3 @@ } | ||
${!!variant && buttonModifiers[variant](theme, color)}; | ||
${!!disabled && buttonModifiers.disabled(theme)}; | ||
${!!disabled && buttonModifiers.disabled(theme, color)}; | ||
${size === 'fixed' && buttonModifiers.fixedSize()} | ||
@@ -102,0 +102,0 @@ `} |
@@ -37,3 +37,3 @@ import { Typography } from 'components/Typography' | ||
${media.lessThan('medium')` | ||
width: 10rem; | ||
width: 15rem; | ||
`} | ||
@@ -56,3 +56,3 @@ `, | ||
${media.lessThan('medium')` | ||
transform: translateX(calc(${activeTab} * 10rem)); | ||
transform: translateX(calc(${activeTab} * 15rem)); | ||
`} | ||
@@ -59,0 +59,0 @@ `, |
@@ -70,3 +70,3 @@ import styled, { css } from 'styled-components' | ||
${media.lessThan('medium')` | ||
width: 15rem; | ||
width: 13rem; | ||
`} | ||
@@ -73,0 +73,0 @@ `} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1142567
9192