-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
KHOUBZA Younes
committed
Jun 14, 2023
1 parent
e877be0
commit b8bf1e6
Showing
70 changed files
with
838 additions
and
55 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,3 @@ | ||
# don't ever lint node_modules | ||
node_modules | ||
**/node_modules | ||
|
||
# don't lint build output (make sure it's set to your correct build folder name) | ||
dist/ | ||
**/dist/ | ||
|
||
# don't lint nyc coverage output | ||
build/ | ||
coverage/ | ||
fixtures/ | ||
**/*.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
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"extends": ["stylelint-config-standard"], | ||
"plugins": ["stylelint-scss"], | ||
"rules": { | ||
|
||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import { Envelope, Options, Theme } from './types'; | ||
import { AbstractPlugin } from './plugin'; | ||
export default class FlasherPlugin extends AbstractPlugin { | ||
private theme; | ||
private options; | ||
constructor(theme: Theme); | ||
renderEnvelopes(envelopes: Envelope[]): void; | ||
renderOptions(options: Options): void; | ||
private createContainer; | ||
private addToContainer; | ||
private appendNotification; | ||
private removeNotification; | ||
private handleClick; | ||
private renderProgressBar; | ||
private applyDarkMode; | ||
private stringToHTML; | ||
} | ||
//# sourceMappingURL=flasher-plugin.d.ts.map |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import { Envelope, PluginInterface, Options, Response, Theme } from './types'; | ||
import { AbstractPlugin } from './plugin'; | ||
export default class Flasher extends AbstractPlugin { | ||
private defaultPlugin; | ||
private plugins; | ||
private themes; | ||
render(response: Partial<Response>): Promise<void>; | ||
renderEnvelopes(envelopes: Envelope[]): void; | ||
renderOptions(options: Options): void; | ||
addPlugin(name: string, plugin: PluginInterface): void; | ||
addTheme(name: string, theme: Theme): void; | ||
setDefault(name: string): Flasher; | ||
create(name: string): PluginInterface; | ||
private addStyles; | ||
private addScripts; | ||
private resolveResponse; | ||
private resolveOptions; | ||
private resolveFunction; | ||
private resolvePlugin; | ||
private resolvePluginAlias; | ||
private addAssets; | ||
private addThemeStyles; | ||
} | ||
//# sourceMappingURL=flasher.d.ts.map |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.