From 3b91493995dd667538e639d1a8a07aa132997589 Mon Sep 17 00:00:00 2001 From: DebaucheryLibrarian Date: Tue, 27 Apr 2021 03:56:38 +0200 Subject: [PATCH] Using Tippy.js for directive tooltips. --- assets/components/alerts/add.vue | 2 ++ assets/components/header/notifications.vue | 27 ++++++++++++------- assets/js/main.js | 15 +++++++++-- assets/js/ui/actions.js | 8 ++++++ package-lock.json | 31 ++++++++++++++++++++++ package.json | 1 + webpack.config.js | 2 +- 7 files changed, 73 insertions(+), 13 deletions(-) diff --git a/assets/components/alerts/add.vue b/assets/components/alerts/add.vue index 6d6cf312..abea97f5 100644 --- a/assets/components/alerts/add.vue +++ b/assets/components/alerts/add.vue @@ -148,12 +148,14 @@ />Notify me in traxxx +
+ + =8" } }, + "node_modules/tippy.js": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/tippy.js/-/tippy.js-6.3.1.tgz", + "integrity": "sha512-JnFncCq+rF1dTURupoJ4yPie5Cof978inW6/4S6kmWV7LL9YOSEVMifED3KdrVPEG+Z/TFH2CDNJcQEfaeuQww==", + "dependencies": { + "@popperjs/core": "^2.8.3" + } + }, "node_modules/tmp": { "version": "0.0.33", "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", @@ -16755,6 +16773,11 @@ "upath": "^1.1.1" } }, + "@popperjs/core": { + "version": "2.9.2", + "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.9.2.tgz", + "integrity": "sha512-VZMYa7+fXHdwIq1TDhSXoVmSPEGM/aa+6Aiq3nVVJ9bXr24zScr+NlKFKC3iPljA7ho/GAZr+d2jOf5GIRC30Q==" + }, "@tokenizer/token": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/@tokenizer/token/-/token-0.1.1.tgz", @@ -26804,6 +26827,14 @@ "resolved": "https://registry.npmjs.org/tildify/-/tildify-2.0.0.tgz", "integrity": "sha512-Cc+OraorugtXNfs50hU9KS369rFXCfgGLpfCfvlc+Ud5u6VWmUQsOAa9HbTvheQdYnrdJqqv1e5oIqXppMYnSw==" }, + "tippy.js": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/tippy.js/-/tippy.js-6.3.1.tgz", + "integrity": "sha512-JnFncCq+rF1dTURupoJ4yPie5Cof978inW6/4S6kmWV7LL9YOSEVMifED3KdrVPEG+Z/TFH2CDNJcQEfaeuQww==", + "requires": { + "@popperjs/core": "^2.8.3" + } + }, "tmp": { "version": "0.0.33", "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", diff --git a/package.json b/package.json index 246f99a1..742bbdbf 100644 --- a/package.json +++ b/package.json @@ -129,6 +129,7 @@ "showdown": "^1.9.1", "source-map-support": "^0.5.16", "template-format": "^1.2.5", + "tippy.js": "^6.3.1", "tough-cookie": "^3.0.1", "tty-table": "^2.8.12", "tunnel": "0.0.6", diff --git a/webpack.config.js b/webpack.config.js index 08da0a97..9954e763 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -39,7 +39,7 @@ module.exports = { ], }, { - test: /\.scss$/, + test: /\.s?css$/, use: [ MiniCssExtractPlugin.loader, {