+1542
-737
lines changedFilter options
+1542
-737
lines changed Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
1
1
{
2
2
"presets": [
3
-
"es2015",
4
-
"stage-3",
5
-
[
6
-
"env",
7
-
{
8
-
"modules": false,
9
-
"useBuiltIns": false
10
-
}
11
-
]
3
+
"@babel/preset-es2015",
4
+
"@babel/preset-env"
12
5
],
13
6
"plugins": [
14
-
"syntax-dynamic-import"
7
+
"@babel/plugin-syntax-dynamic-import",
8
+
"@babel/plugin-proposal-object-rest-spread"
15
9
],
16
10
"ignore": [
17
11
"dist/*.js"
Original file line number Diff line number Diff line change
@@ -38,11 +38,11 @@ The release strategy will be like this:
38
38
- [X] Multiple themes
39
39
- [x] CSS Variables
40
40
- [ ] CSS-only themes
41
-
- [ ] SSR Support - `NEW`
41
+
- [X] SSR Support - `NEW`
42
42
- [X] Basic Support
43
43
44
44
### Components
45
-
- [ ] MdAutocomplete - `NEW API`
45
+
- [X] MdAutocomplete - `NEW API`
46
46
- [X] MdApp - `NEW`
47
47
- [X] Documentation
48
48
- [X] Reusable App Shell component
@@ -79,8 +79,8 @@ The release strategy will be like this:
79
79
- [X] Prompt
80
80
- [X] Custom
81
81
- [X] MdDivider
82
-
- [ ] MdDrawer - `NEW API`
83
-
- [ ] Documentation
82
+
- [X] MdDrawer - `NEW API`
83
+
- [X] Documentation
84
84
- [x] Deprecate md-sidenav
85
85
- [X] Persistent - `NEW`
86
86
- [X] Permanent - `NEW`
@@ -92,8 +92,8 @@ The release strategy will be like this:
92
92
- [X] Deprecate whiteframe component
93
93
- [X] Elevation classes
94
94
- [X] MdEmptyState - `NEW`
95
-
- [ ] MdField - `NEW API`
96
-
- [ ] Documentation
95
+
- [X] MdField - `NEW API`
96
+
- [X] Documentation
97
97
- [X] Change md-input-container to md-field
98
98
- [X] Input/Textarea
99
99
- [X] Checkbox
@@ -102,8 +102,8 @@ The release strategy will be like this:
102
102
- [X] File - `NEW API`
103
103
- [x] Select
104
104
- [X] MdIcon
105
-
- [ ] MdLayout - `NEW API`
106
-
- [ ] Documentation
105
+
- [X] MdLayout - `NEW API`
106
+
- [X] Documentation
107
107
- [X] Deprecate layout component
108
108
- [X] New flexbox/responsive/class-based grid
109
109
- [ ] MdList - `NEW API`
@@ -112,26 +112,26 @@ The release strategy will be like this:
112
112
- [X] Expansion
113
113
- [X] Input Controls
114
114
- [X] MdMenu - `NEW API`
115
-
- [ ] MdProgress - `NEW API`
116
-
- [ ] Documentation
117
-
- [ ] Spinner
118
-
- [ ] Bar
119
-
- [ ] 0%/100% progress
120
-
- [ ] Indeterminate state
115
+
- [X] MdProgress - `NEW API`
116
+
- [X] Documentation
117
+
- [X] Spinner
118
+
- [X] Bar
119
+
- [X] 0%/100% progress
120
+
- [X] Indeterminate state
121
121
- [X] MdRadio
122
122
- [ ] MdRipple - `NEW API`
123
123
- [ ] Documentation
124
124
- [X] New ripple
125
125
- [ ] Abstract component
126
126
- [ ] Performance improvements
127
-
- [ ] MdSnackbar
128
-
- [ ] Documentation
127
+
- [X] MdSnackbar
128
+
- [X] Documentation
129
129
- [X] Themed Snackbar
130
130
- [X] MdSpeedDial - `NEW API`
131
131
- [X] Click Action
132
132
- [X] Multiple Effects
133
-
- [ ] MdSteppers - `NEW API`
134
-
- [ ] Documentation
133
+
- [X] MdSteppers - `NEW API`
134
+
- [X] Documentation
135
135
- [X] Horizontal
136
136
- [X] Vertical
137
137
- [X] MdSubheader
@@ -146,8 +146,8 @@ The release strategy will be like this:
146
146
- [x] Selection
147
147
- [ ] Pagination
148
148
- [x] Alternate Header
149
-
- [ ] MdTabs
150
-
- [ ] Documentation
149
+
- [X] MdTabs
150
+
- [X] Documentation
151
151
- [X] Router integration - `NEW`
152
152
- [X] Router Sync - `NEW`
153
153
- [X] Symple way to trigger active tab
@@ -160,15 +160,15 @@ The release strategy will be like this:
160
160
- [ ] Guide
161
161
- [ ] Extending Vue Material
162
162
- [ ] Third Party Components
163
-
- [ ] About
163
+
- [X] About
164
164
- [ ] Changelog
165
165
- [ ] Components summary
166
166
- [ ] Contribute
167
-
- [ ] Getting Started
167
+
- [X] Getting Started
168
168
- [ ] Migration Guide
169
-
- [ ] Static docs
170
-
- [ ] Themes
171
-
- [ ] Configuration
169
+
- [X] Static docs
170
+
- [X] Themes
171
+
- [X] Configuration
172
172
- [ ] Dynamic Themes
173
173
- [ ] UI Elements summary
174
174
Original file line number Diff line number Diff line change
@@ -29,7 +29,7 @@ const componentExampleLoader = require.resolve('../loaders/component-example-loa
29
29
const webpackConfig = {
30
30
entry: {
31
31
app: [
32
-
'babel-polyfill',
32
+
'@babel/polyfill',
33
33
'./docs/app/index.js',
34
34
'./build/docs/offline.js'
35
35
]
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@ const path = require('path')
5
5
const compiler = require('vue-template-compiler')
6
6
const { resolvePath } = require('../config')
7
7
const { transform } = require('babel-core')
8
-
const transpile = code => transform(code, {extends: resolvePath('.babelrc')}).code
8
+
const transpile = code => transform(code).code
9
9
const { getIndentedSource } = require('../../docs/app/mixins/codeSource')
10
10
11
11
function camelCaseToDash (str) {
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@ export default {
12
12
devtool: 'cheap-module-eval-source-map',
13
13
entry: {
14
14
docs: [
15
-
'babel-polyfill',
15
+
'@babel/polyfill',
16
16
'./docs/app/index.js',
17
17
'./build/local/client'
18
18
]
Original file line number Diff line number Diff line change
@@ -59,13 +59,13 @@
59
59
}
60
60
}
61
61
},
62
-
async mounted () {
63
-
await this.$nextTick()
62
+
mounted () {
63
+
this.$nextTick().then(() => {
64
+
this.reindentSource()
65
+
this.enableCopy()
64
66
65
-
this.reindentSource()
66
-
this.enableCopy()
67
-
68
-
highlight.highlightBlock(this.$refs.block)
67
+
highlight.highlightBlock(this.$refs.block)
68
+
})
69
69
}
70
70
}
71
71
</script>
Original file line number Diff line number Diff line change
@@ -86,21 +86,22 @@
86
86
}
87
87
},
88
88
methods: {
89
-
async scrollActiveItemIntoView () {
90
-
await this.$nextTick()
91
-
92
-
const activeEl = this.$el.querySelector('.router-link-exact-active')
93
-
94
-
if (activeEl) {
95
-
activeEl.scrollIntoView({
96
-
behavior: 'smooth'
97
-
})
98
-
}
89
+
scrollActiveItemIntoView () {
90
+
this.$nextTick().then(() => {
91
+
const activeEl = this.$el.querySelector('.router-link-exact-active')
92
+
93
+
if (activeEl) {
94
+
activeEl.scrollIntoView({
95
+
behavior: 'smooth'
96
+
})
97
+
}
98
+
})
99
99
}
100
100
},
101
-
async mounted () {
102
-
await this.$nextTick()
103
-
window.setTimeout(this.scrollActiveItemIntoView, 700)
101
+
mounted () {
102
+
this.$nextTick().then(() => {
103
+
window.setTimeout(this.scrollActiveItemIntoView, 700)
104
+
})
104
105
}
105
106
}
106
107
</script>
Original file line number Diff line number Diff line change
@@ -43,18 +43,19 @@
43
43
},
44
44
"dependencies": {},
45
45
"devDependencies": {
46
+
"@babel/cli": "^7.0.0-beta.38",
47
+
"@babel/core": "^7.0.0-beta.38",
48
+
"@babel/node": "^7.0.0-beta.38",
49
+
"@babel/plugin-proposal-object-rest-spread": "^7.0.0-beta.38",
50
+
"@babel/plugin-syntax-dynamic-import": "^7.0.0-beta.38",
51
+
"@babel/polyfill": "^7.0.0-beta.38",
52
+
"@babel/preset-env": "^7.0.0-beta.38",
53
+
"@babel/preset-es2015": "^7.0.0-beta.38",
46
54
"autoprefixer": "^7.1.6",
47
55
"avoriaz": "^6.0.1",
48
56
"axios": "^0.17.0",
49
-
"babel-cli": "^6.26.0",
50
-
"babel-core": "^6.26.0",
51
57
"babel-eslint": "^8.0.1",
52
-
"babel-loader": "^7.1.2",
53
-
"babel-plugin-syntax-dynamic-import": "^6.18.0",
54
-
"babel-polyfill": "^6.26.0",
55
-
"babel-preset-env": "^1.6.1",
56
-
"babel-preset-es2015": "^6.24.1",
57
-
"babel-preset-stage-3": "^6.24.1",
58
+
"babel-loader": "8.0.0-beta.0",
58
59
"chalk": "^2.3.0",
59
60
"clipboard": "^1.7.1",
60
61
"commitizen": "^2.9.6",
Original file line number Diff line number Diff line change
@@ -47,14 +47,15 @@
47
47
return 0
48
48
}
49
49
},
50
-
async mounted () {
51
-
await this.$nextTick()
52
-
this.drawerElement = this.$children[0]
53
-
this.MdApp.drawer.width = this.getDrawerWidth()
54
-
this.MdApp.drawer.active = this.visible
55
-
this.MdApp.drawer.mode = this.mode
56
-
this.MdApp.drawer.submode = this.submode
57
-
this.MdApp.drawer.initialWidth = this.$el.offsetWidth
50
+
mounted () {
51
+
this.$nextTick().then(() => {
52
+
this.drawerElement = this.$children[0]
53
+
this.MdApp.drawer.width = this.getDrawerWidth()
54
+
this.MdApp.drawer.active = this.visible
55
+
this.MdApp.drawer.mode = this.mode
56
+
this.MdApp.drawer.submode = this.submode
57
+
this.MdApp.drawer.initialWidth = this.$el.offsetWidth
58
+
})
58
59
}
59
60
}
60
61
</script>
Original file line number Diff line number Diff line change
@@ -126,11 +126,13 @@
126
126
mdOptions: {
127
127
deep: true,
128
128
immediate: true,
129
-
async handler () {
129
+
handler () {
130
130
if (this.isPromise(this.mdOptions)) {
131
131
this.isPromisePending = true
132
-
this.filteredAsyncOptions = await this.mdOptions
133
-
this.isPromisePending = false
132
+
this.mdOptions.then(options => {
133
+
this.filteredAsyncOptions = options
134
+
this.isPromisePending = false
135
+
})
134
136
}
135
137
}
136
138
},
@@ -191,22 +193,27 @@
191
193
this.$emit('md-changed', this.searchTerm)
192
194
}
193
195
},
194
-
async showOptions () {
196
+
showOptions () {
195
197
if (this.showMenu) {
196
198
return false
197
199
}
198
200
199
201
this.showMenu = true
200
-
await this.$nextTick()
201
-
this.triggerPopover = true
202
-
this.$emit('md-opened')
202
+
this.$nextTick().then(() => {
203
+
this.triggerPopover = true
204
+
this.$emit('md-opened')
205
+
})
203
206
},
204
-
async hideOptions () {
205
-
await this.$nextTick()
206
-
this.showMenu = false
207
-
await this.$nextTick()
208
-
this.triggerPopover = false
209
-
this.$emit('md-closed')
207
+
hideOptions () {
208
+
const clearPopover = () => {
209
+
this.triggerPopover = false
210
+
this.$emit('md-closed')
211
+
}
212
+
213
+
this.$nextTick().then(() => {
214
+
this.showMenu = false
215
+
this.$nextTick().then(clearPopover)
216
+
})
210
217
},
211
218
selectItem (item, $event) {
212
219
const content = $event.target.textContent.trim()
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4