Skip to content

Commit

Permalink
fix: export fluid search and fluid skeleton (#17023)
Browse files Browse the repository at this point in the history
* fix: export fluid search and fluid skeleton

* fix: updated snapshots
  • Loading branch information
riddhybansal authored Jul 25, 2024
1 parent 4bdf29d commit 546b279
Show file tree
Hide file tree
Showing 3 changed files with 82 additions and 0 deletions.
76 changes: 76 additions & 0 deletions packages/react/__tests__/__snapshots__/PublicAPI-test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -10395,6 +10395,82 @@ Map {
},
},
},
"unstable__FluidSearch" => Object {
"$$typeof": Symbol(react.forward_ref),
"propTypes": Object {
"autoComplete": Object {
"type": "string",
},
"className": Object {
"type": "string",
},
"closeButtonLabelText": Object {
"type": "string",
},
"defaultValue": Object {
"args": Array [
Array [
Object {
"type": "string",
},
Object {
"type": "number",
},
],
],
"type": "oneOfType",
},
"disabled": Object {
"type": "bool",
},
"id": Object {
"type": "string",
},
"labelText": Object {
"isRequired": true,
"type": "node",
},
"onChange": Object {
"type": "func",
},
"onClear": Object {
"type": "func",
},
"onKeyDown": Object {
"type": "func",
},
"placeholder": Object {
"type": "string",
},
"role": Object {
"type": "string",
},
"type": Object {
"type": "string",
},
"value": Object {
"args": Array [
Array [
Object {
"type": "string",
},
Object {
"type": "number",
},
],
],
"type": "oneOfType",
},
},
"render": [Function],
},
"unstable__FluidSearchSkeleton" => Object {
"propTypes": Object {
"className": Object {
"type": "string",
},
},
},
"unstable__FluidSelect" => Object {
"$$typeof": Symbol(react.forward_ref),
"propTypes": Object {
Expand Down
2 changes: 2 additions & 0 deletions packages/react/src/__tests__/index-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,8 @@ describe('Carbon Components React', () => {
"unstable__FluidDropdownSkeleton",
"unstable__FluidMultiSelect",
"unstable__FluidMultiSelectSkeleton",
"unstable__FluidSearch",
"unstable__FluidSearchSkeleton",
"unstable__FluidSelect",
"unstable__FluidSelectSkeleton",
"unstable__FluidTextArea",
Expand Down
4 changes: 4 additions & 0 deletions packages/react/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,10 @@ export {
FluidSelect as unstable__FluidSelect,
FluidSelectSkeleton as unstable__FluidSelectSkeleton,
} from './components/FluidSelect';
export {
FluidSearch as unstable__FluidSearch,
FluidSearchSkeleton as unstable__FluidSearchSkeleton,
} from './components/FluidSearch';
export {
FluidTextArea as unstable__FluidTextArea,
FluidTextAreaSkeleton as unstable__FluidTextAreaSkeleton,
Expand Down

0 comments on commit 546b279

Please sign in to comment.