@app-studio/web 0.9.38 → 0.9.39

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.
@@ -19,7 +19,6 @@ export declare const LineHeights: Record<TitleSize, number>;
19
19
  * Based on the Typography system with dynamic breakpoint sizing
20
20
  */
21
21
  export declare const ResponsiveTypography: Record<TitleSize, {
22
- lineHeight: string;
23
22
  fontWeight: number;
24
23
  marginBottom?: number;
25
24
  letterSpacing?: number;
@@ -18772,16 +18772,6 @@ var TitleSizes = {
18772
18772
  lg: 64,
18773
18773
  xl: 72
18774
18774
  };
18775
- /**
18776
- * Line heights for different title sizes
18777
- */
18778
- var LineHeights = {
18779
- xs: 32,
18780
- sm: 48,
18781
- md: 56,
18782
- lg: 72,
18783
- xl: 80
18784
- };
18785
18775
  /**
18786
18776
  * Responsive typography system that maps title sizes to responsive breakpoints
18787
18777
  * Based on the Typography system with dynamic breakpoint sizing
@@ -18789,7 +18779,6 @@ var LineHeights = {
18789
18779
  var ResponsiveTypography = {
18790
18780
  // xl maps to H1 - Largest heading
18791
18781
  xl: {
18792
- lineHeight: '120%',
18793
18782
  fontWeight: 500,
18794
18783
  marginBottom: 20,
18795
18784
  letterSpacing: 1.25,
@@ -18810,7 +18799,6 @@ var ResponsiveTypography = {
18810
18799
  },
18811
18800
  // lg maps to H2 - Large heading
18812
18801
  lg: {
18813
- lineHeight: '100%',
18814
18802
  fontWeight: 500,
18815
18803
  media: {
18816
18804
  mobile: {
@@ -18826,7 +18814,6 @@ var ResponsiveTypography = {
18826
18814
  },
18827
18815
  // md maps to H3 - Medium heading
18828
18816
  md: {
18829
- lineHeight: '100%',
18830
18817
  fontWeight: 500,
18831
18818
  media: {
18832
18819
  mobile: {
@@ -18842,7 +18829,6 @@ var ResponsiveTypography = {
18842
18829
  },
18843
18830
  // sm maps to T1 - Title text
18844
18831
  sm: {
18845
- lineHeight: '100%',
18846
18832
  fontWeight: 400,
18847
18833
  letterSpacing: -0.2,
18848
18834
  media: {
@@ -18859,7 +18845,6 @@ var ResponsiveTypography = {
18859
18845
  },
18860
18846
  // xs maps to S1 - Subtitle text
18861
18847
  xs: {
18862
- lineHeight: '120%',
18863
18848
  fontWeight: 400,
18864
18849
  letterSpacing: -0.2,
18865
18850
  media: {
@@ -19059,7 +19044,6 @@ var TitleView = _ref => {
19059
19044
  // Determine if we should use responsive sizing or static sizing
19060
19045
  var useResponsive = responsive && !props.media; // Don't override if media prop is already provided
19061
19046
  var fontSize = TitleSizes[size];
19062
- var lineHeight = LineHeights[size];
19063
19047
  // Get responsive styles if responsive prop is true
19064
19048
  var responsiveStyles = useResponsive ? ResponsiveTypography[size] : null;
19065
19049
  // Helper function to apply loop control to animations
@@ -19101,7 +19085,6 @@ var TitleView = _ref => {
19101
19085
  ref: ref,
19102
19086
  as: "h1",
19103
19087
  fontSize: useResponsive ? undefined : fontSize,
19104
- lineHeight: useResponsive ? responsiveStyles == null ? void 0 : responsiveStyles.lineHeight : lineHeight + "px",
19105
19088
  fontWeight: useResponsive ? responsiveStyles == null ? void 0 : responsiveStyles.fontWeight : 'bold',
19106
19089
  letterSpacing: useResponsive ? responsiveStyles == null ? void 0 : responsiveStyles.letterSpacing : undefined,
19107
19090
  marginBottom: useResponsive ? responsiveStyles == null ? void 0 : responsiveStyles.marginBottom : undefined,
@@ -19127,7 +19110,6 @@ var TitleView = _ref => {
19127
19110
  ref: ref,
19128
19111
  as: "h1",
19129
19112
  fontSize: useResponsive ? undefined : fontSize,
19130
- lineHeight: useResponsive ? responsiveStyles == null ? void 0 : responsiveStyles.lineHeight : lineHeight + "px",
19131
19113
  fontWeight: useResponsive ? responsiveStyles == null ? void 0 : responsiveStyles.fontWeight : 'bold',
19132
19114
  letterSpacing: useResponsive ? responsiveStyles == null ? void 0 : responsiveStyles.letterSpacing : undefined,
19133
19115
  marginBottom: useResponsive ? responsiveStyles == null ? void 0 : responsiveStyles.marginBottom : undefined,
@@ -19151,7 +19133,6 @@ var TitleView = _ref => {
19151
19133
  ref: ref,
19152
19134
  as: "h1",
19153
19135
  fontSize: fontSize,
19154
- lineHeight: useResponsive ? responsiveStyles == null ? void 0 : responsiveStyles.lineHeight : lineHeight + "px",
19155
19136
  fontWeight: useResponsive ? responsiveStyles == null ? void 0 : responsiveStyles.fontWeight : 'bold',
19156
19137
  letterSpacing: useResponsive ? responsiveStyles == null ? void 0 : responsiveStyles.letterSpacing : undefined,
19157
19138
  marginBottom: useResponsive ? responsiveStyles == null ? void 0 : responsiveStyles.marginBottom : undefined,