Skip to content

Commit

Permalink
Merge branch 'main' into 8698-datepicker-onopen
Browse files Browse the repository at this point in the history
  • Loading branch information
kodiakhq[bot] authored May 18, 2021
2 parents f01bc2d + 5ca86ba commit a4ce010
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 6 deletions.
4 changes: 4 additions & 0 deletions config/babel-preset-carbon/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
**/__mocks__/**
**/__tests__/**
**/examples/**
**/tasks/**
16 changes: 15 additions & 1 deletion config/babel-preset-carbon/package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,22 @@
{
"name": "babel-preset-carbon",
"version": "0.0.0",
"private": true,
"version": "0.0.0",
"license": "Apache-2.0",
"main": "index.js",
"repository": {
"type": "git",
"url": "https://github.com/carbon-design-system/carbon.git",
"directory": "config/babel-preset-carbon"
},
"bugs": "https://github.com/carbon-design-system/carbon/issues",
"keywords": [
"ibm",
"carbon",
"carbon-design-system",
"components",
"react"
],
"dependencies": {
"@babel/core": "^7.14.2",
"@babel/plugin-proposal-class-properties": "^7.13.0",
Expand Down
11 changes: 6 additions & 5 deletions packages/components/src/components/button/_button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,10 @@
height: rem(20px);
}

.#{$prefix}--btn-set .#{$prefix}--btn.#{$prefix}--btn--expressive {
max-width: rem(320px);
}

// Skeleton State
.#{$prefix}--btn.#{$prefix}--skeleton {
@include skeleton;
Expand All @@ -475,6 +479,8 @@

.#{$prefix}--btn-set .#{$prefix}--btn {
width: 100%;
// 196px from design kit
max-width: rem(196px);

&:not(:focus) {
box-shadow: rem(-1px) 0 0 0 $button-separator;
Expand All @@ -485,11 +491,6 @@
}
}

.#{$prefix}--btn-set .#{$prefix}--btn:not(.#{$prefix}--btn--expressive) {
// 196px from design kit
max-width: rem(196px);
}

.#{$prefix}--btn-set .#{$prefix}--btn:focus + .#{$prefix}--btn {
box-shadow: inherit;
}
Expand Down

0 comments on commit a4ce010

Please sign in to comment.