forked from atomiks/tippyjs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adopt new prettier settings (atomiks#582)
Turn semis on, turn bracketSpacing off, remove proseWrap
- Loading branch information
Showing
133 changed files
with
4,467 additions
and
4,414 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,4 @@ about: Ask a general question about Tippy.js | |
title: '' | ||
labels: "\U0001F4A1 question" | ||
assignees: '' | ||
|
||
--- | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
{ | ||
"semi": false, | ||
"singleQuote": true, | ||
"trailingComma": "all", | ||
"proseWrap": "always" | ||
"bracketSpacing": false, | ||
"trailingComma": "all" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
import '../../src/scss/animations/perspective-extreme.scss' | ||
import '../../src/scss/animations/perspective-extreme.scss'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
import '../../src/scss/animations/perspective-subtle.scss' | ||
import '../../src/scss/animations/perspective-subtle.scss'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
import '../../src/scss/animations/perspective.scss' | ||
import '../../src/scss/animations/perspective.scss'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
import '../../src/scss/animations/scale-extreme.scss' | ||
import '../../src/scss/animations/scale-extreme.scss'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
import '../../src/scss/animations/scale-subtle.scss' | ||
import '../../src/scss/animations/scale-subtle.scss'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
import '../../src/scss/animations/scale.scss' | ||
import '../../src/scss/animations/scale.scss'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
import '../../src/scss/animations/shift-away-extreme.scss' | ||
import '../../src/scss/animations/shift-away-extreme.scss'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
import '../../src/scss/animations/shift-away-subtle.scss' | ||
import '../../src/scss/animations/shift-away-subtle.scss'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
import '../../src/scss/animations/shift-away.scss' | ||
import '../../src/scss/animations/shift-away.scss'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
import '../../src/scss/animations/shift-toward-extreme.scss' | ||
import '../../src/scss/animations/shift-toward-extreme.scss'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
import '../../src/scss/animations/shift-toward-subtle.scss' | ||
import '../../src/scss/animations/shift-toward-subtle.scss'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
import '../../src/scss/animations/shift-toward.scss' | ||
import '../../src/scss/animations/shift-toward.scss'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
import { hideAll, createTippyWithPlugins } from '../src' | ||
import createSingleton from '../src/addons/createSingleton' | ||
import delegate from '../src/addons/delegate' | ||
import animateFill from '../src/plugins/animateFill' | ||
import followCursor from '../src/plugins/followCursor' | ||
import inlinePositioning from '../src/plugins/inlinePositioning' | ||
import sticky from '../src/plugins/sticky' | ||
import { ROUND_ARROW } from '../src/constants' | ||
import {hideAll, createTippyWithPlugins} from '../src'; | ||
import createSingleton from '../src/addons/createSingleton'; | ||
import delegate from '../src/addons/delegate'; | ||
import animateFill from '../src/plugins/animateFill'; | ||
import followCursor from '../src/plugins/followCursor'; | ||
import inlinePositioning from '../src/plugins/inlinePositioning'; | ||
import sticky from '../src/plugins/sticky'; | ||
import {ROUND_ARROW} from '../src/constants'; | ||
|
||
const extendedTippy = createTippyWithPlugins([ | ||
animateFill, | ||
followCursor, | ||
inlinePositioning, | ||
sticky, | ||
]) | ||
]); | ||
|
||
extendedTippy.createSingleton = createSingleton | ||
extendedTippy.delegate = delegate | ||
extendedTippy.hideAll = hideAll | ||
extendedTippy.roundArrow = ROUND_ARROW | ||
extendedTippy.createSingleton = createSingleton; | ||
extendedTippy.delegate = delegate; | ||
extendedTippy.hideAll = hideAll; | ||
extendedTippy.roundArrow = ROUND_ARROW; | ||
|
||
export default extendedTippy | ||
export default extendedTippy; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
export { default, hideAll, createTippyWithPlugins } from '../src' | ||
export { default as createSingleton } from '../src/addons/createSingleton' | ||
export { default as delegate } from '../src/addons/delegate' | ||
export { default as animateFill } from '../src/plugins/animateFill' | ||
export { default as followCursor } from '../src/plugins/followCursor' | ||
export { default as inlinePositioning } from '../src/plugins/inlinePositioning' | ||
export { default as sticky } from '../src/plugins/sticky' | ||
export { ROUND_ARROW as roundArrow } from '../src/constants' | ||
export {default, hideAll, createTippyWithPlugins} from '../src'; | ||
export {default as createSingleton} from '../src/addons/createSingleton'; | ||
export {default as delegate} from '../src/addons/delegate'; | ||
export {default as animateFill} from '../src/plugins/animateFill'; | ||
export {default as followCursor} from '../src/plugins/followCursor'; | ||
export {default as inlinePositioning} from '../src/plugins/inlinePositioning'; | ||
export {default as sticky} from '../src/plugins/sticky'; | ||
export {ROUND_ARROW as roundArrow} from '../src/constants'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,29 @@ | ||
import css from '../dist/tippy.css' | ||
import { injectCSS } from '../src/css' | ||
import { isBrowser } from '../src/browser' | ||
import { hideAll, createTippyWithPlugins } from '../src' | ||
import createSingleton from '../src/addons/createSingleton' | ||
import delegate from '../src/addons/delegate' | ||
import animateFill from '../src/plugins/animateFill' | ||
import followCursor from '../src/plugins/followCursor' | ||
import inlinePositioning from '../src/plugins/inlinePositioning' | ||
import sticky from '../src/plugins/sticky' | ||
import { ROUND_ARROW } from '../src/constants' | ||
import css from '../dist/tippy.css'; | ||
import {injectCSS} from '../src/css'; | ||
import {isBrowser} from '../src/browser'; | ||
import {hideAll, createTippyWithPlugins} from '../src'; | ||
import createSingleton from '../src/addons/createSingleton'; | ||
import delegate from '../src/addons/delegate'; | ||
import animateFill from '../src/plugins/animateFill'; | ||
import followCursor from '../src/plugins/followCursor'; | ||
import inlinePositioning from '../src/plugins/inlinePositioning'; | ||
import sticky from '../src/plugins/sticky'; | ||
import {ROUND_ARROW} from '../src/constants'; | ||
|
||
if (isBrowser) { | ||
injectCSS(css) | ||
injectCSS(css); | ||
} | ||
|
||
const extendedTippy = createTippyWithPlugins([ | ||
animateFill, | ||
followCursor, | ||
inlinePositioning, | ||
sticky, | ||
]) | ||
]); | ||
|
||
extendedTippy.createSingleton = createSingleton | ||
extendedTippy.delegate = delegate | ||
extendedTippy.hideAll = hideAll | ||
extendedTippy.roundArrow = ROUND_ARROW | ||
extendedTippy.createSingleton = createSingleton; | ||
extendedTippy.delegate = delegate; | ||
extendedTippy.hideAll = hideAll; | ||
extendedTippy.roundArrow = ROUND_ARROW; | ||
|
||
export default extendedTippy | ||
export default extendedTippy; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
import css from '../dist/tippy.css' | ||
import tippy from '../src' | ||
import { injectCSS } from '../src/css' | ||
import { isBrowser } from '../src/browser' | ||
import css from '../dist/tippy.css'; | ||
import tippy from '../src'; | ||
import {injectCSS} from '../src/css'; | ||
import {isBrowser} from '../src/browser'; | ||
|
||
if (isBrowser) { | ||
injectCSS(css) | ||
injectCSS(css); | ||
} | ||
|
||
export default tippy | ||
export default tippy; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
import '../../src/scss/backdrop.scss' | ||
import '../../src/scss/backdrop.scss'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
import '../../src/scss/svg-arrow.scss' | ||
import '../../src/scss/svg-arrow.scss'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
import '../../src/scss/index.scss' | ||
import '../../src/scss/index.scss'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
import '../../src/scss/themes/light-border.scss' | ||
import '../../src/scss/themes/light-border.scss'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
import '../../src/scss/themes/light.scss' | ||
import '../../src/scss/themes/light.scss'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
import '../../src/scss/themes/material.scss' | ||
import '../../src/scss/themes/material.scss'; |
Oops, something went wrong.