Svelte bug fixes and code cleanup (#1074)

* Fix middle click tab close

* Fix swapping colors in the ColorPicker

* Cleanup

* Fix field inputs

* Fix tab key-based navigation

* Fix ColorPicker reseting Initial color when opened

* Prevent backend fighting with user dragging NumberInput

* Remaining fixes and comment cleanup
This commit is contained in:
Keavon Chambers
2023-03-10 03:47:06 -08:00
parent 2327524690
commit 9bd319fba4
26 changed files with 220 additions and 179 deletions
-25
View File
@@ -136,29 +136,6 @@ const config: webpack.Configuration = {
// new SvelteCheckPlugin(),
],
devtool: mode === 'development' ? 'source-map' : false,
// // https://cli.vuejs.org/guide/webpack.html
// chainWebpack: (config) => {
// // Change the loaders used by the Vue compilation process
// config.module
// // Replace Vue's existing base loader by first clearing it
// // https://cli.vuejs.org/guide/webpack.html#replacing-loaders-of-a-rule
// .rule("svg")
// .uses.clear()
// .end()
// // Required (since upgrading vue-cli to v5) to stop the default import behavior, as documented in:
// // https://webpack.js.org/configuration/module/#ruletype
// .type("javascript/auto")
// // Add vue-loader as a loader for Vue single-file components
// // https://www.npmjs.com/package/vue-loader
// .use("vue-loader")
// .loader("vue-loader")
// .end()
// // Add vue-svg-loader as a loader for importing .svg files into Vue single-file components
// // Located in ./vue-svg-loader.js
// .use("./vue-svg-loader")
// .loader("./vue-svg-loader")
// .end();
// },
experiments: {
asyncWebAssembly: true,
},
@@ -353,8 +330,6 @@ function htmlDecode(input: string): string {
gt: ">",
amp: "&",
apos: "'",
// TODO: Svelte: check if this can be removed
// eslint-disable-next-line quotes
quot: '"',
};