Skip to content

Commit

Permalink
Merge branch 'main' into 10292-update-tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
kodiakhq[bot] authored Jan 27, 2022
2 parents eca09d1 + 4035903 commit fcc4f97
Show file tree
Hide file tree
Showing 100 changed files with 1,391 additions and 607 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
4 changes: 0 additions & 4 deletions codemods/.npmignore

This file was deleted.

24 changes: 0 additions & 24 deletions codemods/package.json

This file was deleted.

2 changes: 1 addition & 1 deletion config/eslint-config-carbon/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "eslint-config-carbon",
"description": "ESLint configuration for Carbon",
"version": "2.9.0",
"version": "2.10.0-rc.0",
"license": "Apache-2.0",
"main": "index.js",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion config/jest-config-carbon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "jest-config-carbon",
"private": true,
"description": "Jest configuration and preset for Carbon",
"version": "0.11.0",
"version": "0.12.0-rc.0",
"license": "Apache-2.0",
"main": "index.js",
"repository": {
Expand Down
1 change: 0 additions & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"useWorkspaces": true,
"ignoreChanges": [
"actions/**",
"codemods/**",
"**/__fixtures__/**",
"**/__tests__/**",
"**/docs/**",
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
},
"workspaces": [
"actions/*",
"codemods",
"config/*",
"packages/*",
"www"
Expand All @@ -21,7 +20,7 @@
"doctoc": "doctoc --title '## Table of Contents'",
"format": "prettier --write '**/*.{js,md,scss,ts}' '!**/{build,es,lib,storybook,ts,umd}/**'",
"format:diff": "prettier --list-different '**/*.{js,md,scss,ts}' '!**/{build,es,lib,storybook,ts,umd}/**' '!packages/components/**'",
"lint": "eslint actions config codemods packages www",
"lint": "eslint actions config packages www",
"lint:styles": "stylelint '**/*.{css,scss}' --report-needless-disables --report-invalid-scope-disables",
"sync": "carbon-cli sync",
"test": "cross-env BABEL_ENV=test jest",
Expand Down
1 change: 1 addition & 0 deletions packages/carbon-react/__tests__/index-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ describe('Carbon Components React', () => {
"FileUploaderItem",
"FileUploaderSkeleton",
"Filename",
"FlexGrid",
"FluidForm",
"Form",
"FormGroup",
Expand Down
8 changes: 4 additions & 4 deletions packages/carbon-react/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@carbon/react",
"description": "React components for the Carbon Design System",
"version": "0.12.0",
"version": "0.13.0-rc.0",
"license": "Apache-2.0",
"main": "lib/index.js",
"module": "es/index.js",
Expand Down Expand Up @@ -44,10 +44,10 @@
"dependencies": {
"@carbon/feature-flags": "^0.7.0",
"@carbon/icons-react": "^10.45.0",
"@carbon/styles": "^0.12.0",
"@carbon/styles": "^0.13.0-rc.0",
"@carbon/telemetry": "0.0.0-alpha.6",
"carbon-components": "^10.51.0",
"carbon-components-react": "^7.51.0",
"carbon-components": "^10.52.0-rc.0",
"carbon-components-react": "^7.52.0-rc.0",
"carbon-icons": "^7.0.7"
},
"devDependencies": {
Expand Down
8 changes: 0 additions & 8 deletions packages/carbon-react/src/components/Grid/index.js

This file was deleted.

8 changes: 3 additions & 5 deletions packages/carbon-react/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,9 @@ export {
SideNavMenu,
SideNavMenuItem,
SideNavSwitcher,
Grid,
Column,
unstable_FlexGrid as FlexGrid,
// Experimental
unstable_useContextMenu,
unstable_FeatureFlags as FeatureFlags,
Expand Down Expand Up @@ -219,8 +222,3 @@ export {
unstable_useTheme as useTheme,
unstable_VStack as VStack,
} from 'carbon-components-react';
export {
// Grid
Grid,
Column,
} from './components/Grid';
2 changes: 1 addition & 1 deletion packages/components/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "carbon-components",
"description": "The Carbon Design System is IBM’s open-source design system for products and experiences.",
"version": "10.51.0",
"version": "10.52.0-rc.0",
"license": "Apache-2.0",
"main": "umd/index.js",
"module": "es/index.js",
Expand Down
8 changes: 8 additions & 0 deletions packages/components/src/components/checkbox/_checkbox.scss
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
// to match the specs.
.#{$prefix}--checkbox {
@include hidden;

//even though its hidden, positioning is for native validation to be aligned to checkbox
top: 1.25rem;
left: 0.7rem;
Expand Down Expand Up @@ -198,6 +199,13 @@
// Add extra spacing when label is present
margin: rem(1px) 0 0 rem(6px);
}

//-----------------------------------------------
// InlineCheckbox
//-----------------------------------------------
.#{$prefix}--checkbox--inline {
position: relative;
}
}

@include exports('checkbox') {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,15 @@

.#{$prefix}--toolbar-search-container-expandable .#{$prefix}--search-input {
height: 100%;
padding: 0;
cursor: pointer;
opacity: 0;
}

.#{$prefix}--toolbar-search-container-expandable:not(.#{$prefix}--toolbar-search-container-active)
.#{$prefix}--search-input {
padding: 0;
}

.#{$prefix}--toolbar-search-container-expandable
.#{$prefix}--search-magnifier-icon {
left: 0;
Expand Down
32 changes: 32 additions & 0 deletions packages/react/__tests__/__snapshots__/PublicAPI-test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -7889,6 +7889,38 @@ Map {
},
},
},
"unstable_FlexGrid" => Object {
"propTypes": Object {
"as": Object {
"args": Array [
Array [
Object {
"type": "string",
},
Object {
"type": "elementType",
},
],
],
"type": "oneOfType",
},
"children": Object {
"type": "node",
},
"className": Object {
"type": "string",
},
"condensed": Object {
"type": "bool",
},
"fullWidth": Object {
"type": "bool",
},
"narrow": Object {
"type": "bool",
},
},
},
"unstable_HStack" => Object {
"$$typeof": Symbol(react.forward_ref),
"render": [Function],
Expand Down
4 changes: 2 additions & 2 deletions packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "carbon-components-react",
"description": "The Carbon Design System is IBM’s open-source design system for products and experiences.",
"version": "7.51.0",
"version": "7.52.0-rc.0",
"license": "Apache-2.0",
"main": "lib/index.js",
"module": "es/index.js",
Expand Down Expand Up @@ -107,7 +107,7 @@
"babel-plugin-react-docgen": "^4.2.1",
"babel-plugin-transform-inline-environment-variables": "^0.4.3",
"browserslist-config-carbon": "^10.6.1",
"carbon-components": "^10.51.0",
"carbon-components": "^10.52.0-rc.0",
"carbon-icons": "^7.0.5",
"chalk": "^4.1.1",
"cli-table": "^0.3.0",
Expand Down
Loading

0 comments on commit fcc4f97

Please sign in to comment.