Skip to content

Commit

Permalink
Merge branch 'main' into 9831-add-stack-component
Browse files Browse the repository at this point in the history
  • Loading branch information
kodiakhq[bot] committed Oct 25, 2021
2 parents a760577 + 4c044be commit 9af6c40
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/components/src/components/checkbox/_checkbox.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
@mixin checkbox {
// Spacing between checkboxes
.#{$prefix}--form-item.#{$prefix}--checkbox-wrapper {
position: relative;
margin-bottom: $carbon--spacing-02;
}

Expand Down
1 change: 1 addition & 0 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
"react-dom": "^16.8.6 || ^17.0.1"
},
"dependencies": {
"@babel/runtime": "^7.14.6",
"@carbon/feature-flags": "^0.6.0",
"@carbon/icons-react": "^10.41.0",
"@carbon/layout": "^10.33.0",
Expand Down
4 changes: 4 additions & 0 deletions packages/react/scripts/env.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ const docgenConfig = {
};

module.exports = () => ({
plugins:
BABEL_ENV === 'es' || BABEL_ENV === 'cjs'
? ['@babel/plugin-transform-runtime']
: undefined,
presets: [
[
require.resolve('@babel/preset-env'),
Expand Down
1 change: 1 addition & 0 deletions packages/styles/scss/components/checkbox/_checkbox.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
@mixin checkbox {
// Spacing between checkboxes
.#{$prefix}--form-item.#{$prefix}--checkbox-wrapper {
position: relative;
margin-bottom: $spacing-02;
}

Expand Down
1 change: 1 addition & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10308,6 +10308,7 @@ __metadata:
"@babel/plugin-transform-object-assign": ^7.14.5
"@babel/preset-env": ^7.14.7
"@babel/preset-react": ^7.14.5
"@babel/runtime": ^7.14.6
"@carbon/feature-flags": ^0.6.0
"@carbon/icons-react": ^10.41.0
"@carbon/layout": ^10.33.0
Expand Down

0 comments on commit 9af6c40

Please sign in to comment.