Comparing version 1.3.0 to 1.3.1
@@ -7,3 +7,3 @@ module.exports = { | ||
head: [ | ||
['script', { src: 'https://rawgit.com/onboardist/coachmarks/1.2.1/dist/coachmarks.min.js'} ] | ||
['script', { src: 'https://cdn.rawgit.com/onboardist/coachmarks/v1.3.1/dist/coachmarks.umd.min.js'} ] | ||
], | ||
@@ -10,0 +10,0 @@ |
@@ -8,3 +8,3 @@ --- | ||
- title: Do-One-Thing-Well | ||
details: | ||
details: Coachmarks gives you an API to render helpful text and arrows that point to elements on your page. That's it; no cruft. | ||
- title: Vanilla JS | ||
@@ -15,2 +15,3 @@ details: Built with Svelte.js so everything is compiled into straight JavaScript. Use it in every framework, or no framework! | ||
footer: GPLv3 Licensed | Copyright © 2018-present Brian Hann | Curved arrow by Andres Vrant from the Noun Project | ||
pageClass: myhome | ||
--- |
{ | ||
"name": "coachmarks", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "On-board new users to your app and introduce new features with SVG sketches (coachmarks)", | ||
@@ -5,0 +5,0 @@ "source": "src/index.js", |
@@ -65,2 +65,3 @@ <!-- START doctoc generated TOC please keep comment here to allow auto update --> | ||
- [ ] Clean up readme | ||
- [ ] Make `coachmarks.show()` return a promise | ||
- [x] Remove extraneous packages that are no longer needed now that we're doing leader-line for arrows | ||
@@ -67,0 +68,0 @@ - [x] Change to hand-drawn font |
@@ -208,18 +208,2 @@ 'use strict'; | ||
function elementRect(node, offsetParent) { | ||
if (offsetParent === true) offsetParent = node.offsetParent; | ||
const rect = node.getBoundingClientRect(); | ||
const prect = offsetParent ? | ||
offsetParent.getBoundingClientRect() : | ||
{ left: 0, top: 0 }; | ||
return { | ||
left: rect.left - prect.left, | ||
top: rect.top - prect.top, | ||
width: rect.width, | ||
height: rect.height, | ||
}; | ||
} | ||
/* NOTE: not in use currently | ||
@@ -226,0 +210,0 @@ function intersectionEdge(point, rect) { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
122
0
650007
44
4542