@app-studio/web 0.9.67 → 0.9.68
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/web.cjs.development.js +4 -3
- package/dist/web.cjs.development.js.map +1 -1
- package/dist/web.cjs.production.min.js +1 -1
- package/dist/web.cjs.production.min.js.map +1 -1
- package/dist/web.esm.js +4 -3
- package/dist/web.esm.js.map +1 -1
- package/dist/web.umd.development.js +4 -3
- package/dist/web.umd.development.js.map +1 -1
- package/dist/web.umd.production.min.js +1 -1
- package/dist/web.umd.production.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -19633,16 +19633,17 @@
|
|
|
19633
19633
|
// Get the text to display
|
|
19634
19634
|
var text = typeof finalDisplayedText === 'string' ? finalDisplayedText : typeof children === 'string' ? children : '';
|
|
19635
19635
|
// Common container props
|
|
19636
|
-
var containerProps = {
|
|
19636
|
+
var containerProps = Object.assign({
|
|
19637
19637
|
ref,
|
|
19638
19638
|
as: 'h1',
|
|
19639
|
+
animate: inView ? controlledAnimate : undefined
|
|
19640
|
+
}, !textComponent && {
|
|
19639
19641
|
fontSize: useResponsive ? undefined : fontSize,
|
|
19640
19642
|
fontWeight: useResponsive ? responsiveStyles == null ? void 0 : responsiveStyles.fontWeight : 'bold',
|
|
19641
19643
|
letterSpacing: useResponsive ? responsiveStyles == null ? void 0 : responsiveStyles.letterSpacing : undefined,
|
|
19642
19644
|
marginBottom: useResponsive ? responsiveStyles == null ? void 0 : responsiveStyles.marginBottom : undefined,
|
|
19643
|
-
animate: inView ? controlledAnimate : undefined,
|
|
19644
19645
|
media: useResponsive ? responsiveStyles == null ? void 0 : responsiveStyles.media : undefined
|
|
19645
|
-
};
|
|
19646
|
+
});
|
|
19646
19647
|
// Render highlighted text content (typewriter, slide, or plain)
|
|
19647
19648
|
var renderHighlightedContent = content => {
|
|
19648
19649
|
// If animations are enabled but not in view, render invisible placeholder
|