@social-mail/social-mail-client 1.7.3 → 1.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/site-editor/properties/groups/AnimateGroupEditor.d.ts.map +1 -1
- package/dist/site-editor/properties/groups/AnimateGroupEditor.js +11 -0
- package/dist/site-editor/properties/groups/AnimateGroupEditor.js.map +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.js +11 -0
- package/dist/site-editor-app/SiteEditorApp.pack.js.map +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.min.js +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.min.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/site-editor/properties/groups/AnimateGroupEditor.tsx +15 -0
- package/styler/styler.css +23 -0
- package/styler/styler.css.map +1 -1
- package/styler/styles/animations/scroll-animations.less +27 -0
package/package.json
CHANGED
|
@@ -33,5 +33,20 @@ export default function AnimateGroupEditor() {
|
|
|
33
33
|
attributeName="styler-on-enter-duration"
|
|
34
34
|
/>
|
|
35
35
|
</div>
|
|
36
|
+
|
|
37
|
+
<DropDownProperty
|
|
38
|
+
label="On Scroll"
|
|
39
|
+
attributeName="styler-on-scroll"
|
|
40
|
+
/>
|
|
41
|
+
<div style-display={BindEditor.oneWay((s) => s.selection.element.matches("[styler-on-scroll]"))}>
|
|
42
|
+
<DropDownProperty
|
|
43
|
+
label="Effect 1"
|
|
44
|
+
attributeName="styler-on-scroll-effect-1"
|
|
45
|
+
/>
|
|
46
|
+
<DropDownProperty
|
|
47
|
+
label="Effect 2"
|
|
48
|
+
attributeName="styler-on-scroll-effect-2"
|
|
49
|
+
/>
|
|
50
|
+
</div>
|
|
36
51
|
</ExpanderPropertyEditor>;
|
|
37
52
|
}
|
package/styler/styler.css
CHANGED
|
@@ -18749,6 +18749,29 @@ animated-text[styler-on-hover=zoom-out]:hover > * {
|
|
|
18749
18749
|
[styler-on-hover-effect-2-delay=10s] {
|
|
18750
18750
|
--styler-on-hover-effect-2-delay: 10s;
|
|
18751
18751
|
}
|
|
18752
|
+
[styler-on-scroll] {
|
|
18753
|
+
position: relative;
|
|
18754
|
+
}
|
|
18755
|
+
[styler-on-scroll] > * {
|
|
18756
|
+
transition: all var(--styler-on-scroll-delay, 0.1s) ease-in-out;
|
|
18757
|
+
}
|
|
18758
|
+
[above-body][styler-on-scroll=move-away] > * {
|
|
18759
|
+
transform: translateY(calc(var(--above-body-ratio) * 100%)) scale(clamp(0.2, var(--body-ratio), 1), clamp(-0.2, var(--body-ratio), 1));
|
|
18760
|
+
}
|
|
18761
|
+
[above-body][styler-on-scroll-effect-1=fade-out] > * {
|
|
18762
|
+
opacity: clamp(0.5, var(--body-ratio), 1);
|
|
18763
|
+
}
|
|
18764
|
+
[above-body][styler-on-scroll-effect-2=blur]::after {
|
|
18765
|
+
display: block;
|
|
18766
|
+
position: absolute;
|
|
18767
|
+
left: 0;
|
|
18768
|
+
top: 0;
|
|
18769
|
+
right: 0;
|
|
18770
|
+
bottom: 0;
|
|
18771
|
+
content: "";
|
|
18772
|
+
pointer-events: none;
|
|
18773
|
+
backdrop-filter: blur(clamp(1px, calc(var(--above-body-ratio) * 10px), 10px));
|
|
18774
|
+
}
|
|
18752
18775
|
body {
|
|
18753
18776
|
font-family: var(--font-default, --default-fonts);
|
|
18754
18777
|
}
|