hzc-8008: password field hive v4#640
Merged
fantkolja merged 5 commits intoJun 4, 2026
Merged
Conversation
- lock PasswordField to a single compact size (remove size prop; pass size="small" to TextField) - add circular hover/focus ring to the reveal eye button, matching NumberField - rewrite stories to the v4 pattern: Playground + showcase stories tagged ['!dev'] - add PasswordField.mdx with DocsTabs (Overview/Guidelines/Accessibility) - document the change in docs/migration-v4.md
…style-password-field-hive-v4 # Conflicts: # src/old/index.ts
fantkolja
approved these changes
Jun 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
hzc-8008: password field hive v4
Restyles
PasswordFieldto HIVE v4 and brings its Storybook docs in line with the established v4 pattern (Button / TextField / SelectField).Changes
sizeprop and theTextFieldSizepassthrough —PasswordFieldnow always renders compact (size="small"). This is a breaking change.PasswordField(which keeps thesizeprop) is preserved under@hazelcast/ui/oldfor gradual migration, matching the other v4 field components.--button-size+--hive-border-radius-pill), matching the stepper affordance onNumberField.PasswordField.stories.tsxto the v4 pattern — one dev-visiblePlaygroundplus showcase stories tagged['!dev'](Basic, Visibility, States QA matrix, WithLockIcon, WithHelperText, WithError, Disabled, WithoutToggle, WithFormik, DoVsDont, LegacyV3).PasswordField.mdxwithDocsTabs(Overview / Guidelines / Accessibility), including the Legacy fallback canvas.PasswordFieldrow + section todocs/migration-v4.md, documenting the/oldimport.Verification
npm run compile— clean (includessrc/old)npx jest PasswordField— 8/8 pass