Skip to content

Commit

Permalink
feat(react,carbon-react): add unstable_FlexGrid (#10499)
Browse files Browse the repository at this point in the history
* chore: check-in work

* chore: check-in work

* feat(react,carbon-react): add unstable_FlexGrid

* chore(react): fix eslint violations

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
joshblack and kodiakhq[bot] authored Jan 26, 2022
1 parent 885c987 commit fd5db54
Show file tree
Hide file tree
Showing 15 changed files with 499 additions and 303 deletions.
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: 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';
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
Loading

0 comments on commit fd5db54

Please sign in to comment.