@apipass/design-system 1.9.3 → 1.9.5

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/lib/index.js CHANGED
@@ -3725,21 +3725,22 @@ function K3({
3725
3725
  elementType: r = "p",
3726
3726
  lineHeight: o = "body",
3727
3727
  lineClamp: n,
3728
- ...i
3728
+ style: i,
3729
+ ...a
3729
3730
  }) {
3730
- const a = u(
3731
+ const c = u(
3731
3732
  e,
3732
3733
  !!n && "text-truncate",
3733
3734
  "text-body-base",
3734
3735
  `text-line-height-${o}`
3735
- );
3736
+ ), d = n ? { "--text-truncate-line-clamp": n, ...i } : i;
3736
3737
  return /* @__PURE__ */ t(
3737
3738
  K,
3738
3739
  {
3739
- style: n ? { "--text-truncate-line-clamp": n } : void 0,
3740
+ style: d,
3740
3741
  elementType: r,
3741
- className: a,
3742
- ...i
3742
+ className: c,
3743
+ ...a
3743
3744
  }
3744
3745
  );
3745
3746
  }
@@ -3748,21 +3749,22 @@ function lo({
3748
3749
  elementType: r = "small",
3749
3750
  lineHeight: o = "body",
3750
3751
  lineClamp: n,
3751
- ...i
3752
+ style: i,
3753
+ ...a
3752
3754
  }) {
3753
- const a = u(
3755
+ const c = u(
3754
3756
  e,
3755
3757
  !!n && "text-truncate",
3756
3758
  "text-body-small",
3757
3759
  `text-line-height-${o}`
3758
- );
3760
+ ), d = n ? { "--text-truncate-line-clamp": n, ...i } : i;
3759
3761
  return /* @__PURE__ */ t(
3760
3762
  K,
3761
3763
  {
3762
- style: n ? { "--text-truncate-line-clamp": n } : void 0,
3763
- className: a,
3764
+ style: d,
3765
+ className: c,
3764
3766
  elementType: r,
3765
- ...i
3767
+ ...a
3766
3768
  }
3767
3769
  );
3768
3770
  }
@@ -3771,21 +3773,22 @@ function F5({
3771
3773
  elementType: r = "small",
3772
3774
  lineClamp: o,
3773
3775
  lineHeight: n = "body",
3774
- ...i
3776
+ style: i,
3777
+ ...a
3775
3778
  }) {
3776
- const a = u(
3779
+ const c = u(
3777
3780
  e,
3778
3781
  !!o && "text-truncate",
3779
3782
  "text-body-small-strong",
3780
3783
  `text-line-height-${n}`
3781
- );
3784
+ ), d = o ? { "--text-truncate-line-clamp": o, ...i } : i;
3782
3785
  return /* @__PURE__ */ t(
3783
3786
  K,
3784
3787
  {
3785
- style: o ? { "--text-truncate-line-clamp": o } : void 0,
3786
- className: a,
3788
+ style: d,
3789
+ className: c,
3787
3790
  elementType: r,
3788
- ...i
3791
+ ...a
3789
3792
  }
3790
3793
  );
3791
3794
  }
@@ -3793,20 +3796,21 @@ function ho({
3793
3796
  className: e,
3794
3797
  elementType: r = "strong",
3795
3798
  lineClamp: o,
3796
- ...n
3799
+ style: n,
3800
+ ...i
3797
3801
  }) {
3798
- const i = u(
3802
+ const a = u(
3799
3803
  e,
3800
3804
  !!o && "text-truncate",
3801
3805
  "text-body-strong"
3802
- );
3806
+ ), c = o ? { "--text-truncate-line-clamp": o, ...n } : n;
3803
3807
  return /* @__PURE__ */ t(
3804
3808
  K,
3805
3809
  {
3806
- style: o ? { "--text-truncate-line-clamp": o } : void 0,
3807
- className: i,
3810
+ style: c,
3811
+ className: a,
3808
3812
  elementType: r,
3809
- ...n
3813
+ ...i
3810
3814
  }
3811
3815
  );
3812
3816
  }
@@ -3834,20 +3838,21 @@ function uo({
3834
3838
  className: e,
3835
3839
  elementType: r = "h1",
3836
3840
  lineClamp: o,
3837
- ...n
3841
+ style: n,
3842
+ ...i
3838
3843
  }) {
3839
- const i = u(
3844
+ const a = u(
3840
3845
  e,
3841
3846
  !!o && "text-truncate",
3842
3847
  "text-title-hero"
3843
- );
3848
+ ), c = o ? { "--text-truncate-line-clamp": o, ...n } : n;
3844
3849
  return /* @__PURE__ */ t(
3845
3850
  K,
3846
3851
  {
3847
- style: o ? { "--text-truncate-line-clamp": o } : void 0,
3848
- className: i,
3852
+ style: c,
3853
+ className: a,
3849
3854
  elementType: r,
3850
- ...n
3855
+ ...i
3851
3856
  }
3852
3857
  );
3853
3858
  }
@@ -3855,20 +3860,21 @@ function S1({
3855
3860
  className: e,
3856
3861
  elementType: r = "h2",
3857
3862
  lineClamp: o,
3858
- ...n
3863
+ style: n,
3864
+ ...i
3859
3865
  }) {
3860
- const i = u(
3866
+ const a = u(
3861
3867
  e,
3862
3868
  !!o && "text-truncate",
3863
3869
  "text-title-page"
3864
- );
3870
+ ), c = o ? { "--text-truncate-line-clamp": o, ...n } : n;
3865
3871
  return /* @__PURE__ */ t(
3866
3872
  K,
3867
3873
  {
3868
- style: o ? { "--text-truncate-line-clamp": o } : void 0,
3869
- className: i,
3874
+ style: c,
3875
+ className: a,
3870
3876
  elementType: r,
3871
- ...n
3877
+ ...i
3872
3878
  }
3873
3879
  );
3874
3880
  }
@@ -3876,20 +3882,21 @@ function po({
3876
3882
  className: e,
3877
3883
  elementType: r = "p",
3878
3884
  lineClamp: o,
3879
- ...n
3885
+ style: n,
3886
+ ...i
3880
3887
  }) {
3881
- const i = u(
3888
+ const a = u(
3882
3889
  e,
3883
3890
  !!o && "text-truncate",
3884
3891
  "text-subtitle"
3885
- );
3892
+ ), c = o ? { "--text-truncate-line-clamp": o, ...n } : n;
3886
3893
  return /* @__PURE__ */ t(
3887
3894
  K,
3888
3895
  {
3889
- style: o ? { "--text-truncate-line-clamp": o } : void 0,
3890
- className: i,
3896
+ style: c,
3897
+ className: a,
3891
3898
  elementType: r,
3892
- ...n
3899
+ ...i
3893
3900
  }
3894
3901
  );
3895
3902
  }
@@ -3897,20 +3904,21 @@ function c6({
3897
3904
  className: e,
3898
3905
  elementType: r = "h3",
3899
3906
  lineClamp: o,
3900
- ...n
3907
+ style: n,
3908
+ ...i
3901
3909
  }) {
3902
- const i = u(
3910
+ const a = u(
3903
3911
  e,
3904
3912
  !!o && "text-truncate",
3905
3913
  "text-heading"
3906
- );
3914
+ ), c = o ? { "--text-truncate-line-clamp": o, ...n } : n;
3907
3915
  return /* @__PURE__ */ t(
3908
3916
  K,
3909
3917
  {
3910
- style: o ? { "--text-truncate-line-clamp": o } : void 0,
3911
- className: i,
3918
+ style: c,
3919
+ className: a,
3912
3920
  elementType: r,
3913
- ...n
3921
+ ...i
3914
3922
  }
3915
3923
  );
3916
3924
  }
@@ -3918,20 +3926,21 @@ function Co({
3918
3926
  className: e,
3919
3927
  elementType: r = "p",
3920
3928
  lineClamp: o,
3921
- ...n
3929
+ style: n,
3930
+ ...i
3922
3931
  }) {
3923
- const i = u(
3932
+ const a = u(
3924
3933
  e,
3925
3934
  !!o && "text-truncate",
3926
3935
  "text-subheading"
3927
- );
3936
+ ), c = o ? { "--text-truncate-line-clamp": o, ...n } : n;
3928
3937
  return /* @__PURE__ */ t(
3929
3938
  K,
3930
3939
  {
3931
- style: o ? { "--text-truncate-line-clamp": o } : void 0,
3932
- className: i,
3940
+ style: c,
3941
+ className: a,
3933
3942
  elementType: r,
3934
- ...n
3943
+ ...i
3935
3944
  }
3936
3945
  );
3937
3946
  }