Skip to content

Commit

Permalink
remove tippy (#1046)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherChudzicki authored Jan 23, 2023
1 parent dd7c55a commit 4dc0d43
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 30 deletions.
4 changes: 0 additions & 4 deletions base-theme/assets/css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@
@import "pdf";
@import "video";

a.coming-soon {
cursor: pointer;
}

/* CUSTOM STYLES */
body {
font-family: "Helvetica";
Expand Down
12 changes: 0 additions & 12 deletions base-theme/assets/index.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
import "../../node_modules/tippy.js/dist/tippy.css"

import "./css/main.scss"
import "video.js/dist/video-js.css"

import "bootstrap"
import Popper from "popper.js"
import tippy from "tippy.js"
import "shifty"
import "hammerjs"
import "imagesloaded"
Expand All @@ -32,14 +29,5 @@ window.Popper = Popper
window.PDFObject = PDFObject

$(function() {
// hacky coming-soon popover
document.querySelectorAll(".coming-soon").forEach(el => {
tippy(el, {
content: "Coming soon!",
trigger: "click",
placement: "top"
})
})

window.Sentry = initSentry()
})
2 changes: 1 addition & 1 deletion course-v2/layouts/partials/partial_collapse_list.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{ $params := . }}
{{ $className := .klass | default "coming-soon" }}
{{ $className := .klass | default "" }}
{{ $useLinks := .useLinks | default true }}
{{ $showCollapse := .showCollapse | default true }}
{{ if and (gt (len .list) 4) $showCollapse }}
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@
"spinkit": "^2.0.1",
"style-loader": "^1.0.0",
"terser-webpack-plugin": "^5.3.3",
"tippy.js": "^6.2.5",
"tmp": "^0.2.1",
"ts-jest": "^27.1.2",
"ts-loader": "9.3.1",
Expand Down
1 change: 0 additions & 1 deletion www/assets/www.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import "../../node_modules/tippy.js/dist/tippy.css"
import "../../node_modules/nanogallery2/src/css/nanogallery2.css"

import "./css/www.scss"
Expand Down
12 changes: 1 addition & 11 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1323,7 +1323,7 @@ __metadata:
languageName: node
linkType: hard

"@popperjs/core@npm:^2.8.3, @popperjs/core@npm:^2.8.6":
"@popperjs/core@npm:^2.8.6":
version: 2.9.2
resolution: "@popperjs/core@npm:2.9.2"
checksum: a5916302e706b7dfbbbcd8728bafc1682b450d5ec70dd10da84a07c89a419fa72f83cbf990798589e6e69e1b520d6768176ea4bd360d7450d08a2fbc25a14e1c
Expand Down Expand Up @@ -13199,7 +13199,6 @@ __metadata:
spinkit: ^2.0.1
style-loader: ^1.0.0
terser-webpack-plugin: ^5.3.3
tippy.js: ^6.2.5
tmp: ^0.2.1
ts-jest: ^27.1.2
ts-loader: 9.3.1
Expand Down Expand Up @@ -17822,15 +17821,6 @@ __metadata:
languageName: node
linkType: hard

"tippy.js@npm:^6.2.5":
version: 6.3.1
resolution: "tippy.js@npm:6.3.1"
dependencies:
"@popperjs/core": ^2.8.3
checksum: a2e8559590e7149bb08274bc52bca497fc63ee3cac9a28b1ab76a143cebdcddb0f2d01452c7c1be26df2e60d54785bc4f5a2aac7af3628cb76e674e70bfc7381
languageName: node
linkType: hard

"title-case@npm:^3.0.2":
version: 3.0.3
resolution: "title-case@npm:3.0.3"
Expand Down

0 comments on commit 4dc0d43

Please sign in to comment.