@@ -20,7 +20,7 @@ const meta = {
20
20
invalidMessage : '' ,
21
21
optional : false ,
22
22
isSearch : false ,
23
- clearSearchLabel : 'Clear search ' ,
23
+ clearSearchLabel : 'Clear' ,
24
24
disabled : false ,
25
25
id : '' ,
26
26
isPassword : false ,
@@ -33,7 +33,7 @@ const meta = {
33
33
export default meta
34
34
type Story = StoryObj < typeof meta >
35
35
36
- const template = '<NeTextInput v-bind="args" class="max-w-md " />'
36
+ const template = '<NeTextInput v-bind="args" class="max-w-xs " />'
37
37
38
38
export const Default : Story = {
39
39
render : ( args ) => ( {
@@ -100,10 +100,10 @@ export const Password: Story = {
100
100
} ,
101
101
template : template
102
102
} ) ,
103
- args : { isPassword : true , label : 'Enter password' , placeholder : '' }
103
+ args : { isPassword : true , label : 'Enter password' , placeholder : 'Current password ' }
104
104
}
105
105
106
- const typeNumberTemplate = '<NeTextInput v-bind="args" type="number" class="max-w-md " />'
106
+ const typeNumberTemplate = '<NeTextInput v-bind="args" type="number" class="max-w-xs " />'
107
107
108
108
export const TypeNumber : Story = {
109
109
render : ( args ) => ( {
@@ -117,7 +117,7 @@ export const TypeNumber: Story = {
117
117
}
118
118
119
119
const templateWithTooltip =
120
- '<NeTextInput v-bind="args" class="max-w-md ">\
120
+ '<NeTextInput v-bind="args" class="max-w-xs ">\
121
121
<template #tooltip>\
122
122
<NeTooltip>\
123
123
<template #content>Tooltip</template>\
0 commit comments