@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
|
@@ -4804,17 +4804,17 @@
|
|
|
4804
4804
|
*/
|
|
4805
4805
|
var ButtonFontSize = {
|
|
4806
4806
|
xs: 10,
|
|
4807
|
-
sm:
|
|
4808
|
-
md:
|
|
4809
|
-
lg:
|
|
4807
|
+
sm: 12,
|
|
4808
|
+
md: 14,
|
|
4809
|
+
lg: 16,
|
|
4810
4810
|
xl: 20
|
|
4811
4811
|
};
|
|
4812
4812
|
var ButtonLineHeight = {
|
|
4813
|
-
xs:
|
|
4814
|
-
sm:
|
|
4815
|
-
md:
|
|
4816
|
-
lg:
|
|
4817
|
-
xl:
|
|
4813
|
+
xs: 12,
|
|
4814
|
+
sm: 16,
|
|
4815
|
+
md: 20,
|
|
4816
|
+
lg: 24,
|
|
4817
|
+
xl: 28
|
|
4818
4818
|
};
|
|
4819
4819
|
var getButtonSize = size => {
|
|
4820
4820
|
return {
|
|
@@ -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
|