Skip to content
This repository has been archived by the owner on Nov 30, 2020. It is now read-only.

Commit

Permalink
fix: incomplete rename from 'textfield' to 'text-field' (#206)
Browse files Browse the repository at this point in the history
* chore(package): update @babel/core to version 7.4.0

* chore(package): update @babel/plugin-proposal-object-rest-spread to version 7.4.0

* chore(package): update @babel/preset-env to version 7.4.1

* fix: incomplete rename from 'textfield' to 'text-field'
  • Loading branch information
tychenjiajun authored and matsp committed Mar 29, 2019
1 parent 1d63f37 commit 2ce1299
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 27 deletions.
2 changes: 1 addition & 1 deletion docs/.vuepress/components/ChipsInputDemo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
{{city}}
</m-chip>
</m-chip-set>
<m-textfield
<m-text-field
id="input-chip"
v-if="edit"
v-model="city"
Expand Down
44 changes: 22 additions & 22 deletions docs/.vuepress/components/TextfieldDemo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
:upgraded="checkboxProps[1].value"
:use-native-validation="checkboxProps[4].value"
:valid="checkboxProps[3].value"
id="textfield1"
id="text-field1"
style="flex: 1; margin: 2px"
>
<m-floating-label
for="textfield1">Label
for="text-field1">Label
</m-floating-label>
<m-line-ripple slot="bottomLine"/>
</m-text-field>
Expand All @@ -25,13 +25,13 @@
:upgraded="checkboxProps[1].value"
:use-native-validation="checkboxProps[4].value"
:valid="checkboxProps[3].value"
id="textfield1-lead"
id="text-field1-lead"
style="flex: 1; margin: 2px"

>
<m-icon icon="event" slot="leadingIcon"></m-icon>
<m-floating-label
for="textfield1-lead">Label
for="text-field1-lead">Label
</m-floating-label>
<m-line-ripple slot="bottomLine"/>
</m-text-field>
Expand All @@ -42,13 +42,13 @@
:upgraded="checkboxProps[1].value"
:use-native-validation="checkboxProps[4].value"
:valid="checkboxProps[3].value"
id="textfield1-trail"
id="text-field1-trail"
style="flex: 1; margin: 2px"

>
<m-icon icon="event" slot="trailingIcon"></m-icon>
<m-floating-label
for="textfield1-trail">Label
for="text-field1-trail">Label
</m-floating-label>
<m-line-ripple slot="bottomLine"/>
</m-text-field>
Expand All @@ -64,12 +64,12 @@
:upgraded="checkboxProps[1].value"
:use-native-validation="checkboxProps[4].value"
:valid="checkboxProps[3].value"
id="textfield2"
id="text-field2"
outlined
style="flex:1; margin: 2px"
>
<m-floating-label
for="textfield2">Label
for="text-field2">Label
</m-floating-label>
</m-text-field>

Expand All @@ -80,13 +80,13 @@
:upgraded="checkboxProps[1].value"
:use-native-validation="checkboxProps[4].value"
:valid="checkboxProps[3].value"
id="textfield2-lead"
id="text-field2-lead"
outlined
style="flex:1; margin: 2px"
>
<m-icon icon="event" slot="leadingIcon"></m-icon>
<m-floating-label
for="textfield2-lead">Label
for="text-field2-lead">Label
</m-floating-label>
</m-text-field>

Expand All @@ -97,12 +97,12 @@
:upgraded="checkboxProps[1].value"
:use-native-validation="checkboxProps[4].value"
:valid="checkboxProps[3].value"
id="textfield2-trail"
id="text-field2-trail"
outlined
style="flex:1; margin: 2px"
>
<m-floating-label
for="textfield2-trail">Label
for="text-field2-trail">Label
</m-floating-label>
<m-icon icon="event" slot="trailingIcon"></m-icon>
</m-text-field>
Expand All @@ -117,7 +117,7 @@
:use-native-validation="checkboxProps[4].value"
:valid="checkboxProps[3].value"
full-width
id="textfield3"
id="text-field3"
>
<m-line-ripple slot="bottomLine"/>
</m-text-field>
Expand All @@ -130,11 +130,11 @@
:upgraded="checkboxProps[1].value"
:use-native-validation="checkboxProps[4].value"
:valid="checkboxProps[3].value"
id="textfield4"
id="text-field4"
textarea
>
<m-floating-label
for="textfield4">Label
for="text-field4">Label
</m-floating-label>
<m-line-ripple slot="bottomLine"/>
</m-text-field>
Expand All @@ -147,7 +147,7 @@
:upgraded="checkboxProps[1].value"
:use-native-validation="checkboxProps[4].value"
:valid="checkboxProps[3].value"
id="textfield5"
id="text-field5"
>
<m-line-ripple slot="bottomLine"/>
</m-text-field>
Expand All @@ -160,7 +160,7 @@
:upgraded="checkboxProps[1].value"
:use-native-validation="checkboxProps[4].value"
:valid="checkboxProps[3].value"
id="textfield6"
id="text-field6"
outlined
>
</m-text-field>
Expand All @@ -173,7 +173,7 @@
:upgraded="checkboxProps[1].value"
:use-native-validation="checkboxProps[4].value"
:valid="checkboxProps[3].value"
id="textfield7"
id="text-field7"
textarea
>
<m-line-ripple slot="bottomLine"/>
Expand All @@ -190,10 +190,10 @@
:valid="checkboxProps[3].value"
aria-controls="helper-text1"
aria-describedby="helper-text1"
id="textfield8"
id="text-field8"
>
<m-floating-label
for="textfield8">Label
for="text-field8">Label
</m-floating-label>
<m-line-ripple slot="bottomLine"/>
</m-text-field>
Expand All @@ -214,11 +214,11 @@
:valid="checkboxProps[3].value"
aria-controls="helper-text2"
aria-describedby="helper-text2"
id="textfield9"
id="text-field9"
outlined
>
<m-floating-label
for="textfield9">Label
for="text-field9">Label
</m-floating-label>
<m-line-ripple slot="bottomLine"/>
</m-text-field>
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@
"vue-template-compiler": "^2.6.8"
},
"devDependencies": {
"@babel/core": "^7.3.4",
"@babel/plugin-proposal-object-rest-spread": "^7.3.4",
"@babel/core": "^7.4.0",
"@babel/plugin-proposal-object-rest-spread": "^7.4.0",
"@babel/plugin-transform-object-assign": "^7.2.0",
"@babel/preset-env": "^7.3.4",
"@babel/preset-env": "^7.4.1",
"@vue/test-utils": "^1.0.0-beta.29",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.0.1",
Expand Down
2 changes: 1 addition & 1 deletion webpack.config.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ module.exports = {
switch: path.resolve(components + '/switch/index.js'),
// tab: path.resolve(components + '/tab/index.js'),
tabs: path.resolve(components + '/tabs/index.js'),
textfield: path.resolve(components + '/text-field/index.js'),
'text-field': path.resolve(components + '/text-field/index.js'),
theme: path.resolve(components + '/theme/index.js'),
toolbar: path.resolve(components + '/toolbar/index.js'),
'top-app-bar': path.resolve(components + '/top-app-bar/index.js'),
Expand Down

0 comments on commit 2ce1299

Please sign in to comment.