Skip to content

Commit 6f38b33

Browse files
authored
fix(FluidPasswordInput): add missing export (#20538)
* fix: add missing FluidPasswordInput export * chore: update snapshots
1 parent 0eab564 commit 6f38b33

File tree

3 files changed

+82
-0
lines changed

3 files changed

+82
-0
lines changed

packages/react/__tests__/__snapshots__/PublicAPI-test.js.snap

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4875,6 +4875,86 @@ Map {
48754875
},
48764876
},
48774877
},
4878+
"FluidPasswordInput" => {
4879+
"propTypes": {
4880+
"className": {
4881+
"type": "string",
4882+
},
4883+
"defaultValue": {
4884+
"args": [
4885+
[
4886+
{
4887+
"type": "string",
4888+
},
4889+
{
4890+
"type": "number",
4891+
},
4892+
],
4893+
],
4894+
"type": "oneOfType",
4895+
},
4896+
"disabled": {
4897+
"type": "bool",
4898+
},
4899+
"hidePasswordLabel": {
4900+
"type": "string",
4901+
},
4902+
"id": {
4903+
"isRequired": true,
4904+
"type": "string",
4905+
},
4906+
"invalid": {
4907+
"type": "bool",
4908+
},
4909+
"invalidText": {
4910+
"type": "node",
4911+
},
4912+
"isPassword": {
4913+
"type": "bool",
4914+
},
4915+
"labelText": {
4916+
"isRequired": true,
4917+
"type": "node",
4918+
},
4919+
"onChange": {
4920+
"type": "func",
4921+
},
4922+
"onClick": {
4923+
"type": "func",
4924+
},
4925+
"onTogglePasswordVisibility": {
4926+
"type": "func",
4927+
},
4928+
"placeholder": {
4929+
"type": "string",
4930+
},
4931+
"readOnly": {
4932+
"type": "bool",
4933+
},
4934+
"showPasswordLabel": {
4935+
"type": "string",
4936+
},
4937+
"value": {
4938+
"args": [
4939+
[
4940+
{
4941+
"type": "string",
4942+
},
4943+
{
4944+
"type": "number",
4945+
},
4946+
],
4947+
],
4948+
"type": "oneOfType",
4949+
},
4950+
"warn": {
4951+
"type": "bool",
4952+
},
4953+
"warnText": {
4954+
"type": "node",
4955+
},
4956+
},
4957+
},
48784958
"FluidSearch" => {
48794959
"$$typeof": Symbol(react.forward_ref),
48804960
"propTypes": {

packages/react/src/__tests__/index-test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ describe('Carbon Components React', () => {
9191
"FluidMultiSelectSkeleton",
9292
"FluidNumberInput",
9393
"FluidNumberInputSkeleton",
94+
"FluidPasswordInput",
9495
"FluidSearch",
9596
"FluidSearchSkeleton",
9697
"FluidSelect",

packages/react/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@ export {
176176
FluidTextAreaSkeleton as preview__FluidTextAreaSkeleton,
177177
} from './components/FluidTextArea';
178178
export {
179+
FluidPasswordInput,
179180
FluidTextInput,
180181
FluidTextInputSkeleton,
181182
FluidTextInput as unstable__FluidTextInput,

0 commit comments

Comments
 (0)