@app-studio/web 0.9.66 → 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 +12 -11
- 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 +12 -11
- package/dist/web.esm.js.map +1 -1
- package/dist/web.umd.development.js +12 -11
- 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
package/dist/web.esm.js
CHANGED
|
@@ -4835,17 +4835,17 @@ var Loader = LoaderComponent;
|
|
|
4835
4835
|
*/
|
|
4836
4836
|
var ButtonFontSize = {
|
|
4837
4837
|
xs: 10,
|
|
4838
|
-
sm:
|
|
4839
|
-
md:
|
|
4840
|
-
lg:
|
|
4838
|
+
sm: 12,
|
|
4839
|
+
md: 14,
|
|
4840
|
+
lg: 16,
|
|
4841
4841
|
xl: 20
|
|
4842
4842
|
};
|
|
4843
4843
|
var ButtonLineHeight = {
|
|
4844
|
-
xs:
|
|
4845
|
-
sm:
|
|
4846
|
-
md:
|
|
4847
|
-
lg:
|
|
4848
|
-
xl:
|
|
4844
|
+
xs: 12,
|
|
4845
|
+
sm: 16,
|
|
4846
|
+
md: 20,
|
|
4847
|
+
lg: 24,
|
|
4848
|
+
xl: 28
|
|
4849
4849
|
};
|
|
4850
4850
|
var getButtonSize = size => {
|
|
4851
4851
|
return {
|
|
@@ -19664,16 +19664,17 @@ var TitleView = _ref => {
|
|
|
19664
19664
|
// Get the text to display
|
|
19665
19665
|
var text = typeof finalDisplayedText === 'string' ? finalDisplayedText : typeof children === 'string' ? children : '';
|
|
19666
19666
|
// Common container props
|
|
19667
|
-
var containerProps = {
|
|
19667
|
+
var containerProps = Object.assign({
|
|
19668
19668
|
ref,
|
|
19669
19669
|
as: 'h1',
|
|
19670
|
+
animate: inView ? controlledAnimate : undefined
|
|
19671
|
+
}, !textComponent && {
|
|
19670
19672
|
fontSize: useResponsive ? undefined : fontSize,
|
|
19671
19673
|
fontWeight: useResponsive ? responsiveStyles == null ? void 0 : responsiveStyles.fontWeight : 'bold',
|
|
19672
19674
|
letterSpacing: useResponsive ? responsiveStyles == null ? void 0 : responsiveStyles.letterSpacing : undefined,
|
|
19673
19675
|
marginBottom: useResponsive ? responsiveStyles == null ? void 0 : responsiveStyles.marginBottom : undefined,
|
|
19674
|
-
animate: inView ? controlledAnimate : undefined,
|
|
19675
19676
|
media: useResponsive ? responsiveStyles == null ? void 0 : responsiveStyles.media : undefined
|
|
19676
|
-
};
|
|
19677
|
+
});
|
|
19677
19678
|
// Render highlighted text content (typewriter, slide, or plain)
|
|
19678
19679
|
var renderHighlightedContent = content => {
|
|
19679
19680
|
// If animations are enabled but not in view, render invisible placeholder
|