Skip to content

Commit

Permalink
fix(tooltip): export DefinitionTooltip (#10869)
Browse files Browse the repository at this point in the history
* fix(tooltip): export DefinitionTooltip

* fix: typo

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
tay1orjones and kodiakhq[bot] committed Mar 1, 2022
1 parent aadefba commit 81bf1ea
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 0 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 @@ -44,6 +44,7 @@ describe('Carbon Components React', () => {
"DatePicker",
"DatePickerInput",
"DatePickerSkeleton",
"DefinitionTooltip",
"Dropdown",
"DropdownSkeleton",
"ErrorBoundary",
Expand Down
1 change: 1 addition & 0 deletions packages/carbon-react/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ export {
unstable_ThemeContext,
unstable_Theme as Theme,
unstable_Tooltip as Tooltip,
unstable_DefinitionTooltip as DefinitionTooltip,
unstable_TreeNode,
unstable_TreeView,
unstable_useFeatureFlag as useFeatureFlag,
Expand Down
11 changes: 11 additions & 0 deletions packages/react/__tests__/__snapshots__/PublicAPI-test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -7991,6 +7991,17 @@ Map {
},
},
},
"unstable_DefinitionTooltip" => Object {
"propTypes": Object {
"children": Object {
"type": "node",
},
"definition": Object {
"isRequired": true,
"type": "string",
},
},
},
"unstable_FeatureFlags" => Object {
"propTypes": Object {
"children": Object {
Expand Down
1 change: 1 addition & 0 deletions packages/react/src/__tests__/index-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ describe('Carbon Components React', () => {
"TooltipDefinition",
"TooltipIcon",
"UnorderedList",
"unstable_DefinitionTooltip",
"unstable_FeatureFlags",
"unstable_FlexGrid",
"unstable_HStack",
Expand Down
1 change: 1 addition & 0 deletions packages/react/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ export {
VStack as unstable_VStack,
} from './components/Stack';
export { Tooltip as unstable_Tooltip } from './components/Tooltip/next';
export { DefinitionTooltip as unstable_DefinitionTooltip } from './components/Tooltip/next/DefinitionTooltip';
export unstable_TreeView, {
TreeNode as unstable_TreeNode,
} from './components/TreeView';
Expand Down

0 comments on commit 81bf1ea

Please sign in to comment.