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