From c2cf83bcb3e2130ea1e61e394d7aa0a41f86a9d3 Mon Sep 17 00:00:00 2001 From: Matteias Collet Date: Sun, 28 Jun 2020 17:35:18 +0200 Subject: [PATCH] prevent flickering & .prettier --- .prettierrc | 7 + docs/.vuepress/components/ButtonComponent.vue | 18 +- docs/.vuepress/components/CodeList.vue | 17 +- docs/.vuepress/components/DownloadButton.vue | 18 +- docs/.vuepress/components/FormatSelect.vue | 6 +- docs/.vuepress/components/Generator.vue | 187 +++++++++++------- .../components/GroupSelectComponent.vue | 19 +- docs/.vuepress/components/SelectComponent.vue | 17 +- docs/.vuepress/components/StageLoader.vue | 84 ++++---- docs/.vuepress/components/VersionSelect.vue | 6 +- .../components/scripts/codeFormatter.js | 27 ++- .../scripts/generateStageLoadercode.js | 85 ++++---- docs/.vuepress/components/scripts/parseXml.js | 23 ++- docs/.vuepress/config.js | 36 ++-- docs/.vuepress/enhanceApp.js | 4 +- .../.vuepress/public/favicon.ico | Bin package.json | 4 +- 17 files changed, 293 insertions(+), 265 deletions(-) create mode 100644 .prettierrc rename favicon.ico => docs/.vuepress/public/favicon.ico (100%) diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..7f51337 --- /dev/null +++ b/.prettierrc @@ -0,0 +1,7 @@ +{ + "printWidth": 100, + "singleQuote": true, + "useTabs": false, + "tabWidth": 2, + "trailingComma": "all" +} diff --git a/docs/.vuepress/components/ButtonComponent.vue b/docs/.vuepress/components/ButtonComponent.vue index d2c15dd..1607644 100644 --- a/docs/.vuepress/components/ButtonComponent.vue +++ b/docs/.vuepress/components/ButtonComponent.vue @@ -1,33 +1,28 @@ diff --git a/docs/.vuepress/components/DownloadButton.vue b/docs/.vuepress/components/DownloadButton.vue index 6db4e8e..c34f280 100644 --- a/docs/.vuepress/components/DownloadButton.vue +++ b/docs/.vuepress/components/DownloadButton.vue @@ -7,8 +7,8 @@ @@ -72,6 +69,10 @@ select { user-select: none; } +select::-ms-expand { + display: none; +} + .select-wrapper:hover { background-color: #47c38b; } diff --git a/docs/.vuepress/components/SelectComponent.vue b/docs/.vuepress/components/SelectComponent.vue index 781ac8d..c6dfac7 100644 --- a/docs/.vuepress/components/SelectComponent.vue +++ b/docs/.vuepress/components/SelectComponent.vue @@ -1,15 +1,16 @@ @@ -20,11 +21,11 @@ export default { selectedValue: { type: String }, placeholder: { type: String }, options: { type: Array }, - onChange: { type: Function }, + onChange: { type: Function } }, data() { return {}; - }, + } }; @@ -62,6 +63,10 @@ select { user-select: none; } +select::-ms-expand { + display: none; +} + .select-wrapper:hover { background-color: #47c38b; } diff --git a/docs/.vuepress/components/StageLoader.vue b/docs/.vuepress/components/StageLoader.vue index e67c86e..d483a08 100644 --- a/docs/.vuepress/components/StageLoader.vue +++ b/docs/.vuepress/components/StageLoader.vue @@ -35,25 +35,17 @@
Route: