@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
|
@@ -4842,17 +4842,17 @@ var Loader = LoaderComponent;
|
|
|
4842
4842
|
*/
|
|
4843
4843
|
var ButtonFontSize = {
|
|
4844
4844
|
xs: 10,
|
|
4845
|
-
sm:
|
|
4846
|
-
md:
|
|
4847
|
-
lg:
|
|
4845
|
+
sm: 12,
|
|
4846
|
+
md: 14,
|
|
4847
|
+
lg: 16,
|
|
4848
4848
|
xl: 20
|
|
4849
4849
|
};
|
|
4850
4850
|
var ButtonLineHeight = {
|
|
4851
|
-
xs:
|
|
4852
|
-
sm:
|
|
4853
|
-
md:
|
|
4854
|
-
lg:
|
|
4855
|
-
xl:
|
|
4851
|
+
xs: 12,
|
|
4852
|
+
sm: 16,
|
|
4853
|
+
md: 20,
|
|
4854
|
+
lg: 24,
|
|
4855
|
+
xl: 28
|
|
4856
4856
|
};
|
|
4857
4857
|
var getButtonSize = size => {
|
|
4858
4858
|
return {
|
|
@@ -19671,16 +19671,17 @@ var TitleView = _ref => {
|
|
|
19671
19671
|
// Get the text to display
|
|
19672
19672
|
var text = typeof finalDisplayedText === 'string' ? finalDisplayedText : typeof children === 'string' ? children : '';
|
|
19673
19673
|
// Common container props
|
|
19674
|
-
var containerProps = {
|
|
19674
|
+
var containerProps = Object.assign({
|
|
19675
19675
|
ref,
|
|
19676
19676
|
as: 'h1',
|
|
19677
|
+
animate: inView ? controlledAnimate : undefined
|
|
19678
|
+
}, !textComponent && {
|
|
19677
19679
|
fontSize: useResponsive ? undefined : fontSize,
|
|
19678
19680
|
fontWeight: useResponsive ? responsiveStyles == null ? void 0 : responsiveStyles.fontWeight : 'bold',
|
|
19679
19681
|
letterSpacing: useResponsive ? responsiveStyles == null ? void 0 : responsiveStyles.letterSpacing : undefined,
|
|
19680
19682
|
marginBottom: useResponsive ? responsiveStyles == null ? void 0 : responsiveStyles.marginBottom : undefined,
|
|
19681
|
-
animate: inView ? controlledAnimate : undefined,
|
|
19682
19683
|
media: useResponsive ? responsiveStyles == null ? void 0 : responsiveStyles.media : undefined
|
|
19683
|
-
};
|
|
19684
|
+
});
|
|
19684
19685
|
// Render highlighted text content (typewriter, slide, or plain)
|
|
19685
19686
|
var renderHighlightedContent = content => {
|
|
19686
19687
|
// If animations are enabled but not in view, render invisible placeholder
|