Skip to content

Commit 041be6a

Browse files
author
Eric Olkowski
committed
chore(Password demos): moved to Patterns
1 parent af8cfad commit 041be6a

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

packages/react-core/src/demos/PasswordGenerator.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
id: Password generator
3-
section: components
3+
section: patterns
44
---
55

66
import RedoIcon from '@patternfly/react-icons/dist/esm/icons/redo-icon';

packages/react-core/src/demos/PasswordStrength.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
id: Password strength
3-
section: components
3+
section: patterns
44
---
55

66
import HelpIcon from '@patternfly/react-icons/dist/esm/icons/help-icon';
@@ -13,7 +13,7 @@ import formStyles from '@patternfly/react-styles/css/components/Form/form';
1313

1414
### Basic validation
1515

16-
Note, the validation and password strength rules are only examples, demonstrating the changes in the UI when certain conditions are met. We expect consumers will substitute their own, more robust, validation algorithm. In this demo the password strength is determined by how often validation rules are met. A good open-source password strength estimator, recommended by InfoSec, can be found here: https://github.com/dropbox/zxcvbn
16+
Note, the validation and password strength rules are only examples, demonstrating the changes in the UI when certain conditions are met. We expect consumers will substitute their own, more robust, validation algorithm. In this demo the password strength is determined by how often validation rules are met. A good open-source password strength estimator, recommended by InfoSec, is [zxcvbn](https://github.com/dropbox/zxcvbn).
1717

1818
```ts file="./examples/PasswordStrength/PasswordStrengthDemo.tsx"
1919

packages/react-core/src/demos/examples/PasswordStrength/PasswordStrengthDemo.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, { type JSX } from 'react';
1+
import React, { JSX } from 'react';
22
import { Form, FormGroup, FormHelperText, HelperText, HelperTextItem, TextInput } from '@patternfly/react-core';
33
import ExclamationCircleIcon from '@patternfly/react-icons/dist/esm/icons/exclamation-circle-icon';
44
import ExclamationTriangleIcon from '@patternfly/react-icons/dist/esm/icons/exclamation-triangle-icon';

0 commit comments

Comments
 (0)