Skip to content

Commit

Permalink
Merge pull request #45 from stefenphelps/master
Browse files Browse the repository at this point in the history
Remove FOUC when using reveal-stagger
  • Loading branch information
AntoineW authored Oct 3, 2023
2 parents 0878a8e + aca031c commit 866b941
Show file tree
Hide file tree
Showing 6 changed files with 6,065 additions and 5,866 deletions.
4 changes: 3 additions & 1 deletion dist/css/luge.css
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,8 @@ html.lg-cursor-hide * {

[data-lg-reveal-stagger] {
opacity: 1; }
[data-lg-reveal-stagger] > * {
opacity: 0; }

/* Fade */
.lg-reveal--fade-to-bottom,
Expand Down Expand Up @@ -423,7 +425,7 @@ html.lg-cursor-hide * {
width: 100%;
height: 100%;
background: white;
content: '';
content: "";
transition: transform 0.4s cubic-bezier(0.215, 0.61, 0.355, 1) 0.4s;
z-index: 999; }
.lg-reveal--layer.is-in,
Expand Down
4 changes: 2 additions & 2 deletions dist/js/luge.esm.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/js/luge.js

Large diffs are not rendered by default.

34 changes: 17 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,33 +23,33 @@
},
"test": "exit 0",
"devDependencies": {
"@babel/core": "^7.14.6",
"@babel/eslint-parser": "^7.14.7",
"@babel/core": "^7.23.0",
"@babel/eslint-parser": "^7.22.15",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.14.5",
"@babel/preset-env": "^7.14.7",
"@rollup/plugin-alias": "^3.1.2",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^19.0.0",
"@rollup/plugin-eslint": "^8.0.1",
"@rollup/plugin-node-resolve": "^13.0.0",
"@rollup/plugin-replace": "^2.4.2",
"core-js": "^3.15.2",
"eslint": "^7.29.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.27.5",
"@babel/preset-env": "^7.22.20",
"@rollup/plugin-alias": "^5.0.0",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-commonjs": "^25.0.4",
"@rollup/plugin-eslint": "^9.0.4",
"@rollup/plugin-node-resolve": "^15.2.1",
"@rollup/plugin-replace": "^5.0.2",
"core-js": "^3.32.2",
"eslint": "^8.50.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.1.1",
"gulp": "^4.0.2",
"gulp-autoprefixer": "^8.0.0",
"gulp-sass": "^5.0.0",
"gulp-sass": "^5.1.0",
"gulp-sass-glob": "^1.1.0",
"node-sass": "^7.0.1",
"rollup": "^2.52.3",
"node-sass": "^9.0.0",
"rollup": "^3.29.4",
"rollup-plugin-terser": "^7.0.2"
},
"dependencies": {
"bowser": "^2.11.0",
"virtual-scroll": "^2.2.1",
"whatwg-fetch": "^3.6.2"
"whatwg-fetch": "^3.6.19"
}
}
Loading

0 comments on commit 866b941

Please sign in to comment.