Skip to content

Commit 571d65d

Browse files
Version/2.2 (#95)
* feat: support v-html in dynamic modal slot (#73) * feat: add postcss plugin autoprefixer (#71) * refactor: plugin validation, unit test (#70) * feat: vite (#78) * feat: api return promise (#76) * feat: add close method to scoped-slot (#93)
1 parent 408603f commit 571d65d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+3262
-14675
lines changed

.babelrc

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
11
{
2-
"presets": ["@babel/preset-env"]
3-
}
2+
"presets": [
3+
[
4+
"@babel/preset-env",
5+
{
6+
"exclude": ["@babel/plugin-transform-regenerator"]
7+
}
8+
]
9+
]
10+
}

.browserslistrc

Lines changed: 0 additions & 3 deletions
This file was deleted.

.eslintignore

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
# default
12
dist
23
types/**/*.d.ts
3-
docs
4+
5+
# docs
6+
docs/.nuxt
7+
docs/docs
8+
docs/static
9+
10+
# example
11+
example/dist

.eslintrc.js

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
module.exports = {
22
root: true,
33
env: {
4-
node: true
4+
node: true,
5+
jest: true
56
},
67
extends: ['plugin:vue/essential', 'eslint:recommended', '@vue/prettier'],
78
parserOptions: {
@@ -10,16 +11,5 @@ module.exports = {
1011
rules: {
1112
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
1213
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off'
13-
},
14-
overrides: [
15-
{
16-
files: [
17-
'**/__tests__/*.{j,t}s?(x)',
18-
'**/tests/unit/**/*.spec.{j,t}s?(x)'
19-
],
20-
env: {
21-
jest: true
22-
}
23-
}
24-
]
14+
}
2515
}

dist/VueFinalModal.esm.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/VueFinalModal.esm.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/VueFinalModal.umd.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/VueFinalModal.umd.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/components/examples/basic/VDynamicAdvanced.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
</template>
44

55
<script>
6-
import VContent from '../VContent.vue'
6+
import VDescription from '../VDescription.vue'
77
88
export default {
99
methods: {
@@ -48,7 +48,7 @@ export default {
4848
}
4949
},
5050
default: {
51-
component: VContent,
51+
component: VDescription,
5252
bind: {
5353
content: 'Vue Final Modal is a renderless, stackable, detachable and lightweight modal component.'
5454
}

0 commit comments

Comments
 (0)