feat(credentials): hide credential data until revealed

- add a RevealableCodeBlock ui component that renders its code only
  after the user clicks Reveal, with a storybook story
- use it for the data section of the credential page
- bump version to 1.21.1
This commit is contained in:
ars9 committed 2026-10-01 10:36:37 +03:00
1 parent 2129708819
commit f43d902297
9 files changed
+122 -6

No files matched your search

@@ -0,0 +1,17 @@
.wrapper {
display: flex;
align-items: flex-start;
gap: var(--space-3);
}
.content {
flex: 1;
min-width: 0;
}
.placeholder {
margin: 0;
color: var(--color-text-muted);
font-size: var(--font-size-sm);
line-height: 1.6;
}