Skip to content

Commit

Permalink
fix: textarea prop name in stories, run tests once in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
aAmorim27 committed Nov 27, 2023
1 parent bfbe7e4 commit e626849
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,4 @@ jobs:
run: pnpm lint

- name: Run tests 🧪
run: pnpm test

- name: Run coverage 📈
run: pnpm coverage
8 changes: 4 additions & 4 deletions packages/components/textarea/stories/textarea.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export default {
}
}
},
maxlength: {
maxLength: {
control: 'number',
description: 'Set the max number of character',
table: {
Expand Down Expand Up @@ -186,7 +186,7 @@ export default {
autoGrow: true,
rows: 2,
maxRows: 2,
maxlength: undefined,
maxLength: undefined,
modelValue: ''
}
} as Meta;
Expand Down Expand Up @@ -315,7 +315,7 @@ export const Error: StoryObj = {
export const CharacterCount: StoryObj = {
render: Template,
args: {
maxlength: 50
maxLength: 50
},
parameters: {
docs: {
Expand All @@ -326,7 +326,7 @@ export const CharacterCount: StoryObj = {
source: {
code: `
<!--VueJS Snippet-->
<puik-textarea id="textarea" v-model="value" :maxlength="50"></puik-textarea>
<puik-textarea id="textarea" v-model="value" :max-length="50"></puik-textarea>
<!--HTML/CSS Snippet-->
<div class="puik-textarea">
Expand Down

0 comments on commit e626849

Please sign in to comment.