Skip to content

Commit

Permalink
Merge branch 'main' into pagination-disable-change
Browse files Browse the repository at this point in the history
  • Loading branch information
tw15egan authored Apr 15, 2021
2 parents 8614495 + 4198db6 commit a6f56f3
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/feature-flags/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@
"directory": "packages/feature-flags"
},
"bugs": "https://github.com/carbon-design-system/carbon/issues",
"files": [
"es",
"lib",
"scss",
"index.scss"
],
"keywords": [
"ibm",
"carbon",
Expand Down
17 changes: 17 additions & 0 deletions packages/react/__tests__/__snapshots__/PublicAPI-test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -7292,6 +7292,23 @@ Map {
},
"render": [Function],
},
"unstable_FeatureFlags" => Object {
"propTypes": Object {
"children": Object {
"type": "node",
},
"flags": Object {
"args": Array [
Object {
"type": "bool",
},
],
"type": "objectOf",
},
},
},
"unstable_useFeatureFlag" => Object {},
"unstable_useFeatureFlags" => Object {},
"unstable_PageSelector" => Object {
"defaultProps": Object {
"className": null,
Expand Down
3 changes: 3 additions & 0 deletions packages/react/src/__tests__/index-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,13 +201,16 @@ describe('Carbon Components React', () => {
"unstable_ContextMenuItem",
"unstable_ContextMenuRadioGroup",
"unstable_ContextMenuSelectableItem",
"unstable_FeatureFlags",
"unstable_Heading",
"unstable_PageSelector",
"unstable_Pagination",
"unstable_Section",
"unstable_TreeNode",
"unstable_TreeView",
"unstable_useContextMenu",
"unstable_useFeatureFlag",
"unstable_useFeatureFlags",
]
`);
});
Expand Down
5 changes: 5 additions & 0 deletions packages/react/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,11 @@ export {
} from './components/UIShell';

// Experimental
export {
FeatureFlags as unstable_FeatureFlags,
useFeatureFlag as unstable_useFeatureFlag,
useFeatureFlags as unstable_useFeatureFlags,
} from './components/FeatureFlags';
export {
PageSelector as unstable_PageSelector,
Pagination as unstable_Pagination,
Expand Down

0 comments on commit a6f56f3

Please sign in to comment.