From 5bd2f154a203455aa9d734e569967423c424af94 Mon Sep 17 00:00:00 2001 From: Enzo Batista <111511512+Enzo707@users.noreply.github.com> Date: Tue, 30 Apr 2024 00:39:42 -0300 Subject: [PATCH] feat: move js code implemented directly on library.html (dynamo side) to librariejs (#225) * feat: move js code implemented directly on library.html (dynamo side) to librariejs * fix: sonarcloud reported issues * 1.0.2 --------- Co-authored-by: enzo707 --- index.html | 459 ++++++++++++++++++++++++++++++++++++++++++---- package-lock.json | 4 +- package.json | 2 +- 3 files changed, 424 insertions(+), 41 deletions(-) diff --git a/index.html b/index.html index f0ee999..33151f2 100644 --- a/index.html +++ b/index.html @@ -5,75 +5,458 @@ Librarie.js sample page - - - + + + + + + +
+ +
+ + - + + document.dispatchEvent(kbEvent); + } + //This function will show the overlay over the Library when the Preferences/PackageManagerSearch are opened otherwiser is not visible + function fullOverlayVisible(enableOverlay) { + if (enableOverlay) + document.getElementById("overlay").style.display = "block"; + else + document.getElementById("overlay").style.display = "none"; + } + - \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 8175f22..3147374 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@dynamods/librariejs", - "version": "1.0.1", + "version": "1.0.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@dynamods/librariejs", - "version": "1.0.1", + "version": "1.0.2", "license": "MIT", "dependencies": { "core-js": "^3.36.1", diff --git a/package.json b/package.json index 14f90f9..7a33330 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@dynamods/librariejs", - "version": "1.0.1", + "version": "1.0.2", "description": "Project that contains all hosted contents of Dynamo Windows client", "main": "index.js", "scripts": {