Skip to content

Commit

Permalink
build v4.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
nateplusplus committed May 23, 2022
1 parent 4bd97f8 commit b80414c
Show file tree
Hide file tree
Showing 9 changed files with 81 additions and 11 deletions.
1 change: 1 addition & 0 deletions dist/esm/constants.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ export declare const PUSH_IN_SPEED_DATA_ATTRIBUTE = "pushinSpeed";
export declare const PUSH_IN_TO_DATA_ATTRIBUTE = "pushinTo";
export declare const PUSH_IN_FROM_DATA_ATTRIBUTE = "pushinFrom";
export declare const PUSH_IN_DEFAULT_BREAKPOINTS: number[];
export declare const PUSH_IN_LAYER_INDEX_ATTRIBUTE = "data-pushin-layer-index";
10 changes: 7 additions & 3 deletions dist/esm/pushInLayer.d.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { PushInScene } from './pushInScene';
import { LayerOptions } from './types';
import { LayerOptions, LayerParams } from './types';
export declare class PushInLayer {
private element;
private index;
private scene;
scene: PushInScene;
private options;
params: LayerParams;
private originalScale;
private ref;
private params;
constructor(element: HTMLElement, index: number, scene: PushInScene, options: LayerOptions | null);
/**
* Get all inpoints for the layer.
Expand Down Expand Up @@ -65,4 +65,8 @@ export declare class PushInLayer {
* as the user scrolls.
*/
setLayerStyle(): void;
/**
* Set a css class depending on current opacity.
*/
setLayerVisibility(): void;
}
34 changes: 32 additions & 2 deletions dist/esm/pushin.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/esm/pushin.js.map

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions dist/pushin.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,16 @@
justify-content: center;
left: 0;
opacity: 0;
pointer-events: none;
position: absolute;
top: 0;
width: 100%;
}

.pushin-layer--visible * {
pointer-events: auto;
}

/* Debug */
.pushin-debug {
background-color: white;
Expand Down
2 changes: 1 addition & 1 deletion dist/pushin.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

34 changes: 32 additions & 2 deletions dist/umd/pushin.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/umd/pushin.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit b80414c

Please sign in to comment.