@app-studio/web 0.8.86 → 0.8.87

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.
@@ -3593,11 +3593,11 @@
3593
3593
  var ButtonSizes = {
3594
3594
  xs: {
3595
3595
  // Height: 24px (6 × 4px)
3596
- minHeight: 24,
3596
+ minHeight: 4 * 4,
3597
3597
  paddingTop: 2,
3598
3598
  paddingBottom: 2,
3599
- paddingLeft: 6,
3600
- paddingRight: 6,
3599
+ paddingLeft: 4,
3600
+ paddingRight: 4,
3601
3601
  // Typography
3602
3602
  fontSize: 12,
3603
3603
  fontWeight: '500',
@@ -3606,54 +3606,53 @@
3606
3606
  },
3607
3607
  sm: {
3608
3608
  // Height: 32px (8 × 4px)
3609
- minHeight: 32,
3609
+ minHeight: 6 * 4,
3610
3610
  paddingTop: 6,
3611
3611
  paddingBottom: 6,
3612
3612
  paddingLeft: 12,
3613
3613
  paddingRight: 12,
3614
3614
  // Typography
3615
- fontSize: 14,
3615
+ fontSize: 12,
3616
3616
  fontWeight: '500',
3617
- lineHeight: 20,
3617
+ lineHeight: 12,
3618
3618
  letterSpacing: '-0.01em'
3619
3619
  },
3620
3620
  md: {
3621
3621
  // Height: 40px (10 × 4px) - standard height for interactive elements
3622
- minHeight: 40,
3622
+ minHeight: 8 * 4,
3623
3623
  paddingTop: 8,
3624
3624
  paddingBottom: 8,
3625
3625
  paddingLeft: 16,
3626
3626
  paddingRight: 16,
3627
3627
  // Typography
3628
- fontSize: 14,
3628
+ fontSize: 16,
3629
3629
  fontWeight: '500',
3630
- lineHeight: 24,
3630
+ lineHeight: 16,
3631
3631
  letterSpacing: '-0.01em'
3632
3632
  },
3633
3633
  lg: {
3634
- // Height: 48px (12 × 4px)
3635
- minHeight: 48,
3636
- paddingTop: 12,
3637
- paddingBottom: 12,
3634
+ minHeight: 10 * 4,
3635
+ paddingTop: 10,
3636
+ paddingBottom: 10,
3638
3637
  paddingLeft: 20,
3639
3638
  paddingRight: 20,
3640
3639
  // Typography
3641
3640
  fontSize: 16,
3642
3641
  fontWeight: '500',
3643
- lineHeight: 24,
3642
+ lineHeight: 20,
3644
3643
  letterSpacing: '-0.01em'
3645
3644
  },
3646
3645
  xl: {
3647
3646
  // Height: 60px (15 × 4px)
3648
- minHeight: 60,
3649
- paddingTop: 16,
3650
- paddingBottom: 16,
3651
- paddingLeft: 28,
3652
- paddingRight: 28,
3647
+ minHeight: 12 * 4,
3648
+ paddingTop: 12,
3649
+ paddingBottom: 12,
3650
+ paddingLeft: 24,
3651
+ paddingRight: 24,
3653
3652
  // Typography
3654
3653
  fontSize: 18,
3655
3654
  fontWeight: '500',
3656
- lineHeight: 28,
3655
+ lineHeight: 24,
3657
3656
  letterSpacing: '-0.01em'
3658
3657
  }
3659
3658
  };
@@ -3703,15 +3702,16 @@
3703
3702
  borderStyle: 'solid',
3704
3703
  borderColor: 'transparent',
3705
3704
  _hover: {
3706
- backgroundColor: 'transparent',
3707
- color: color,
3708
- borderColor: color,
3709
- transform: 'translateY(-1px)'
3705
+ transform: 'translateY(-1px)',
3706
+ textDecoration: 'underline',
3707
+ textUnderlineOffset: '1px',
3708
+ textDecorationThickness: '1px'
3710
3709
  },
3711
3710
  _active: {
3712
- color: color,
3713
- borderColor: color,
3714
- transform: 'translateY(0)'
3711
+ transform: 'translateY(-1px)',
3712
+ textDecoration: 'underline',
3713
+ textUnderlineOffset: '1px',
3714
+ textDecorationThickness: '1px'
3715
3715
  },
3716
3716
  transition: 'all 0.2s ease'
3717
3717
  },
@@ -3724,12 +3724,18 @@
3724
3724
  _hover: {
3725
3725
  backgroundColor: color,
3726
3726
  color: isLight ? 'light.black' : 'light.white',
3727
- transform: 'translateY(-1px)'
3727
+ transform: 'translateY(-1px)',
3728
+ textDecoration: 'underline',
3729
+ textUnderlineOffset: '1px',
3730
+ textDecorationThickness: '1px'
3728
3731
  },
3729
3732
  _active: {
3730
3733
  backgroundColor: color,
3731
3734
  color: isLight ? 'light.black' : 'light.white',
3732
- transform: 'translateY(0)'
3735
+ transform: 'translateY(0)',
3736
+ textDecoration: 'underline',
3737
+ textUnderlineOffset: '1px',
3738
+ textDecorationThickness: '1px'
3733
3739
  },
3734
3740
  transition: 'all 0.2s ease'
3735
3741
  },
@@ -3742,12 +3748,18 @@
3742
3748
  _hover: {
3743
3749
  backgroundColor: color,
3744
3750
  color: isLight ? 'light.black' : 'light.white',
3745
- transform: 'translateY(-1px)'
3751
+ transform: 'translateY(-1px)',
3752
+ textDecoration: 'underline',
3753
+ textUnderlineOffset: '1px',
3754
+ textDecorationThickness: '1px'
3746
3755
  },
3747
3756
  _active: {
3748
3757
  backgroundColor: color,
3749
3758
  color: isLight ? 'light.black' : 'light.white',
3750
- transform: 'translateY(0)'
3759
+ transform: 'translateY(0)',
3760
+ textDecoration: 'underline',
3761
+ textUnderlineOffset: '1px',
3762
+ textDecorationThickness: '1px'
3751
3763
  },
3752
3764
  transition: 'all 0.2s ease'
3753
3765
  },
@@ -3758,12 +3770,13 @@
3758
3770
  borderStyle: 'none',
3759
3771
  borderColor: 'transparent',
3760
3772
  textDecoration: 'underline',
3761
- textUnderlineOffset: 2,
3773
+ textUnderlineOffset: '1px',
3774
+ textDecorationThickness: '1px',
3762
3775
  _hover: {
3763
- textDecorationThickness: 2
3776
+ textDecorationThickness: '2px'
3764
3777
  },
3765
3778
  _active: {
3766
- textDecorationThickness: 2
3779
+ textDecorationThickness: '2px'
3767
3780
  },
3768
3781
  transition: 'all 0.2s ease'
3769
3782
  }
@@ -3781,10 +3794,8 @@
3781
3794
  loaderPosition = 'left',
3782
3795
  backgroundColor,
3783
3796
  // primary candidate for main color
3784
- color,
3785
- // 2nd candidate for main color (NOT text‑color)
3786
- isAuto,
3787
- isFilled,
3797
+ color // 2nd candidate for main color (NOT text‑color)
3798
+ ,
3788
3799
  isDisabled,
3789
3800
  isLoading,
3790
3801
  isIconRounded,
@@ -3859,21 +3870,14 @@
3859
3870
  display: "flex",
3860
3871
  alignItems: "center",
3861
3872
  justifyContent: "center",
3862
- width: isAuto ? 'fit-content' : isFilled ? '100%' : undefined,
3873
+ // width={isAuto ? 'fit-content' : isFilled ? '100%' : undefined}
3863
3874
  /* visuals */
3864
3875
  borderRadius: ButtonShapes[shape],
3865
- backgroundColor: base.backgroundColor,
3866
- color: base.color,
3867
- borderWidth: base.borderWidth,
3868
- borderStyle: base.borderStyle,
3869
- borderColor: base.borderColor,
3870
- _hover: base._hover,
3871
- _active: base._active,
3872
3876
  boxShadow: shadow,
3873
3877
  transition: "all 0.2s ease",
3874
3878
  cursor: isDisabled ? 'default' : 'pointer',
3875
3879
  onClick: onClick
3876
- }, views == null ? void 0 : views.container, props), to ? (/*#__PURE__*/React__default.createElement(Link, Object.assign({
3880
+ }, base, views == null ? void 0 : views.container, props), to ? (/*#__PURE__*/React__default.createElement(Link, Object.assign({
3877
3881
  to: to,
3878
3882
  isExternal: isExternal,
3879
3883
  color: 'inherit',