Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat(ui-library): add storybook storie examples #343

Merged
merged 23 commits into from
Sep 26, 2023
Merged
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
374474d
fix(ui-library): add storybook storie examples
JpunktWpunkt Sep 8, 2023
a4c72d2
feat(ui-library): adds hasError, disabled and default example to stor…
JpunktWpunkt Sep 8, 2023
0875c89
fix(ui-library): change the hint message
JpunktWpunkt Sep 11, 2023
ea08e2a
feat(ui-library): adds some example on one page and add font
JpunktWpunkt Sep 13, 2023
73b3abe
fix(ui-library): fix font issue
JpunktWpunkt Sep 13, 2023
71c09a5
feat(ui-library): adds dark theme to storybook storie, not yet compl…
JpunktWpunkt Sep 13, 2023
5cd4fb2
Merge branch 'develop' into feat/textarea-storybook
ChristianHoffmannS2 Sep 13, 2023
8a7d62c
Merge branch 'develop' into feat/textarea-storybook
ChristianHoffmannS2 Sep 13, 2023
08c1d85
core(ui-library): deleted some issues
JpunktWpunkt Sep 14, 2023
9921136
adds dark and lightmode status from storybook ui to show darkmode
JpunktWpunkt Sep 14, 2023
66253ac
adds some display flex to story
JpunktWpunkt Sep 14, 2023
c07ac74
fix(ui-libarary): adds some css values to try out the focus
JpunktWpunkt Sep 15, 2023
ceb6b6e
fix(ui-library): adds focus and blur
JpunktWpunkt Sep 20, 2023
7d1bca8
fix(ui-library): adds the structure from figma for showcase
JpunktWpunkt Sep 20, 2023
17c1fe4
fix(ui-library): fixed font size
JpunktWpunkt Sep 21, 2023
9b11e36
chore(ux-library): refactoring storybook story
JpunktWpunkt Sep 21, 2023
8651585
feat(ux-library): add lifecylce update for shouldFocusState
JpunktWpunkt Sep 21, 2023
2f71ca7
fix(ui-library): add new story to solve the focus issue
JpunktWpunkt Sep 21, 2023
9d0b570
fix(ui-library): fixed readonly issue
JpunktWpunkt Sep 21, 2023
ac2c570
fix(ux-library): change storybook title for showingcase
JpunktWpunkt Sep 21, 2023
84d4875
fix(ux-library): change storybook darkmode title color
JpunktWpunkt Sep 21, 2023
7f836af
fix(ui-library): fix some titles
JpunktWpunkt Sep 21, 2023
b674d90
chore(ux-library): cleaned up
JpunktWpunkt Sep 21, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix(ui-library): fix font issue
JpunktWpunkt committed Sep 13, 2023
commit 73b3abe2e303257c3f3c6593da769262c3d81a28
14 changes: 10 additions & 4 deletions packages/ui-library/src/components/textarea/examples.stories.ts
Original file line number Diff line number Diff line change
@@ -50,11 +50,16 @@ export default {
},
};

export const Example1 = () =>
html`
<div>
export const Example1 = () => {
return html`
${fontStyle}
<style>
.stories-textarea {
font-family: 'Source Sans Pro', 'Source Code Pro', sans-serif;
}
</style>
<div class="stories-textarea">
<h3>Default</h3>
${fontStyle}
${BlrTextareaRenderFunction({
...defaultParams,
theme: 'Light',
@@ -71,6 +76,7 @@ export const Example1 = () =>
})}
</div>
`;
};
Example1.storyName = 'Default';

export const Example2 = () =>