freemium-ui 2.0.55 → 2.0.57

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/lib/index.cjs.js CHANGED
@@ -3560,7 +3560,7 @@ value:""}):null,Array.from(A)):null))
3560
3560
  `,Of=yr.div`
3561
3561
  position: relative;
3562
3562
  width: ${({width:e})=>e||"auto"};
3563
- direction: ${({theme:e})=>e.direction};
3563
+ direction: ${({theme:e})=>e.direction} !important;
3564
3564
  div.input-container {
3565
3565
  padding-right: 8px;
3566
3566
  }
@@ -3586,7 +3586,7 @@ value:""}):null,Array.from(A)):null))
3586
3586
  background-color: ${({theme:e,disabled:t})=>t?e.colors.fill.disabled:e.colors.fill.surface};
3587
3587
  border-radius: 4px;
3588
3588
  transition: all 0.2s ease-in-out;
3589
- direction: ${({theme:e})=>e.direction};
3589
+ direction: ${({theme:e})=>e.direction} !important;
3590
3590
  &:hover {
3591
3591
  border-color: ${({theme:e,disabled:t,$isErrored:n})=>t?e.colors.border.disabled:n?e.colors.border.error:e.colors.border.hover};
3592
3592
  }
@@ -3597,7 +3597,7 @@ value:""}):null,Array.from(A)):null))
3597
3597
  border-color: ${({theme:e,$isErrored:t,disabled:n})=>n?"transparent":t?e.colors.border.error:e.colors.border.active};
3598
3598
  }
3599
3599
  `;yr.span`
3600
- direction: ${({theme:e})=>e.direction};
3600
+ direction: ${({theme:e})=>e.direction} !important;
3601
3601
  color: ${({isP:e,theme:t})=>e?t.colors.text.placeholder:"inherit"};
3602
3602
  margin-right: 8px;
3603
3603
  max-width: 256px;
@@ -3605,7 +3605,7 @@ value:""}):null,Array.from(A)):null))
3605
3605
  overflow: hidden;
3606
3606
  white-space: nowrap;
3607
3607
  `;const Ff=yr.ul`
3608
- direction: ${({theme:e})=>e.direction};
3608
+ direction: ${({theme:e})=>e.direction} !important;
3609
3609
  position: absolute;
3610
3610
  width: calc(100% - 16px);
3611
3611
  padding: 8px;
@@ -3624,7 +3624,7 @@ value:""}):null,Array.from(A)):null))
3624
3624
  ${({theme:e})=>xo(e.colors.shadow,.16)} 0px 4px 20px;
3625
3625
  max-height: 200px;
3626
3626
  `,$f=yr.li`
3627
- direction: ${({theme:e})=>e.direction};
3627
+ direction: ${({theme:e})=>e.direction} !important;
3628
3628
  padding: 8px 12px;
3629
3629
  border-radius: 4px;
3630
3630
  display: flex;
@@ -3642,26 +3642,26 @@ value:""}):null,Array.from(A)):null))
3642
3642
  `,Bf=yr.div`
3643
3643
  cursor: pointer;
3644
3644
  color: ${({theme:e})=>e.colors.text.link};
3645
- direction: ${({theme:e})=>e.direction};
3645
+ direction: ${({theme:e})=>e.direction} !important;
3646
3646
  `,jf=yr.div`
3647
3647
  min-height: 128px;
3648
3648
  display: grid;
3649
3649
  place-content: center;
3650
- direction: ${({theme:e})=>e.direction};
3650
+ direction: ${({theme:e})=>e.direction} !important;
3651
3651
  `,Uf=yr.div`
3652
3652
  display: flex;
3653
3653
  align-items: center;
3654
3654
  gap: 4px;
3655
3655
  height: 100%;
3656
- direction: ${({theme:e})=>e.direction};
3656
+ direction: ${({theme:e})=>e.direction} !important;
3657
3657
  `,Yf=yr.div`
3658
- direction: ${({theme:e})=>e.direction};
3658
+ direction: ${({theme:e})=>e.direction} !important;
3659
3659
  `,Wf=yr.div`
3660
3660
  height: ${({theme:e})=>`calc(1.5 * ${e.typography.primary.fontSize})`};
3661
3661
  `,Gf=yr(Mf)``,Kf=yr(kf)``,qf=yr(Ef)`
3662
3662
  flex: 1;
3663
3663
  `,Zf=yr(_f)``,Xf=yr(Lf)`
3664
- direction: ${({theme:e})=>e.direction};
3664
+ direction: ${({theme:e})=>e.direction} !important;
3665
3665
  padding: 8px 12px;
3666
3666
  border-radius: 4px;
3667
3667
  display: flex;
@@ -3696,7 +3696,7 @@ value:""}):null,Array.from(A)):null))
3696
3696
  border-bottom: 1px solid ${({theme:e})=>e.colors.border.light};
3697
3697
  margin: 0;
3698
3698
  `,Qf=yr(Af)`
3699
- direction: ${({theme:e})=>e.direction};
3699
+ direction: ${({theme:e})=>e.direction} !important;
3700
3700
  font-family: ${({theme:e})=>e.typography.fontFamily};
3701
3701
  font-size: ${({theme:e})=>e.typography.secondary.fontSize};
3702
3702
  line-height: ${({theme:e})=>e.typography.secondary.lineHeight};
@@ -3706,7 +3706,7 @@ value:""}):null,Array.from(A)):null))
3706
3706
  gap: 8px;
3707
3707
  align-items: center;
3708
3708
  `,em=yr(Hf)`
3709
- direction: ${({theme:e})=>e.direction};
3709
+ direction: ${({theme:e})=>e.direction} !important;
3710
3710
  padding: 8px;
3711
3711
  overflow: auto;
3712
3712
  list-style: none;
@@ -3729,32 +3729,32 @@ value:""}):null,Array.from(A)):null))
3729
3729
  animation-name: ${xr};
3730
3730
  }
3731
3731
  `,tm=yr(Vf)`
3732
- direction: ${({theme:e})=>e.direction};
3732
+ direction: ${({theme:e})=>e.direction} !important;
3733
3733
  display: flex;
3734
3734
  align-items: center;
3735
3735
  `,nm=yr(Df)`
3736
- direction: ${({theme:e})=>e.direction};
3736
+ direction: ${({theme:e})=>e.direction} !important;
3737
3737
  scrollbar-width: thin !important;
3738
3738
  `,rm=yr(Tf)``;yr(Rf)`
3739
- direction: ${({theme:e})=>e.direction};
3739
+ direction: ${({theme:e})=>e.direction} !important;
3740
3740
  display: grid;
3741
3741
  place-content: center;
3742
3742
  margin-bottom: 8px;
3743
3743
  `,yr(Pf)`
3744
- direction: ${({theme:e})=>e.direction};
3744
+ direction: ${({theme:e})=>e.direction} !important;
3745
3745
  display: grid;
3746
3746
  place-content: center;
3747
3747
  margin-top: 8px;
3748
3748
  transform: rotate(-180deg);
3749
3749
  `;const om=yr(Sf)`
3750
- direction: ${({theme:e})=>e.direction};
3750
+ direction: ${({theme:e})=>e.direction} !important;
3751
3751
  cursor: pointer;
3752
3752
  transform: rotate(-180deg);
3753
3753
  transition: transform 0.2s ease-in-out;
3754
3754
  display: grid;
3755
3755
  place-content: center;
3756
3756
  `,am=yr(xf)`
3757
- direction: ${({theme:e})=>e.direction};
3757
+ direction: ${({theme:e})=>e.direction} !important;
3758
3758
  font-family: ${({theme:e})=>e.typography.fontFamily};
3759
3759
  font-size: ${({theme:e})=>e.typography.primary.fontSize};
3760
3760
  line-height: ${({theme:e})=>e.typography.primary.lineHeight};
@@ -3818,7 +3818,7 @@ className:`input-helper ${t.className??""}`.trim()},t.children),cm=yr.textarea`
3818
3818
  font-family: ${({theme:e})=>e.typography.fontFamily};
3819
3819
  background-color: ${({theme:e})=>e.colors.fill.surface};
3820
3820
  color: ${({theme:e})=>e.colors.text.primary};
3821
- direction: ${({theme:e,$forceInputDir:t})=>t||e.direction};
3821
+ direction: ${({theme:e,$forceInputDir:t})=>t||e.direction} !important;
3822
3822
  &::placeholder {
3823
3823
  font-family: ${({theme:e})=>e.typography.fontFamily};
3824
3824
  font-size: ${({theme:e})=>e.typography.primary.fontSize};
@@ -3845,7 +3845,7 @@ className:`input-helper ${t.className??""}`.trim()},t.children),cm=yr.textarea`
3845
3845
  font-family: ${({theme:e})=>e.typography.fontFamily};
3846
3846
  background-color: ${({theme:e})=>e.colors.fill.surface};
3847
3847
  color: ${({theme:e})=>e.colors.text.primary};
3848
- direction: ${({theme:e,$forceInputDir:t})=>t||e.direction};
3848
+ direction: ${({theme:e,$forceInputDir:t})=>t||e.direction} !important;
3849
3849
  &::placeholder {
3850
3850
  font-family: ${({theme:e})=>e.typography.fontFamily};
3851
3851
  font-size: ${({theme:e})=>e.typography.primary.fontSize};
@@ -3864,7 +3864,7 @@ className:`input-helper ${t.className??""}`.trim()},t.children),cm=yr.textarea`
3864
3864
  font-size: ${({theme:e})=>e.typography.primary.fontSize};
3865
3865
  line-height: ${({theme:e})=>e.typography.primary.lineHeight};
3866
3866
  color: ${({theme:e})=>e.colors.text.primary};
3867
- direction: ${({theme:e,$forceInputDir:t})=>t||e.direction};
3867
+ direction: ${({theme:e,$forceInputDir:t})=>t||e.direction} !important;
3868
3868
  div.end-adornment {
3869
3869
  display: grid;
3870
3870
  place-content: center;
@@ -3889,7 +3889,7 @@ className:`input-helper ${t.className??""}`.trim()},t.children),cm=yr.textarea`
3889
3889
  background-color: ${({theme:e})=>e.colors.fill.surface};
3890
3890
  border-radius: 4px;
3891
3891
  transition: all 0.2s ease-in-out;
3892
- direction: ${({theme:e,$forceInputDir:t})=>t||e.direction};
3892
+ direction: ${({theme:e,$forceInputDir:t})=>t||e.direction} !important;
3893
3893
  &:hover {
3894
3894
  border-color: ${({theme:e,disabled:t,$isErrored:n})=>t?e.colors.border.normal:n?e.colors.border.error:e.colors.border.hover};
3895
3895
  }
@@ -17402,7 +17402,8 @@ cell:t=>e.accessorFn(t.row.original)}))),...k?[{id:"rowMenuOptions",
17402
17402
  header:()=>e.createElement("div",{id:"more-actions-header"}),
17403
17403
  cell:({row:t})=>e.createElement(sb,{trigger:e.createElement(co,{
17404
17404
  className:"more-actions",fill:"currentcolor"}),options:k(t.original)||[],
17405
- onSelect:e=>{e.id&&$?.(e.id,t.original)},side:"bottom",align:"end"})
17405
+ onSelect:e=>{e.id&&$?.(e.id,t.original)},side:"bottom",
17406
+ align:"rtl"===ee.direction?"start":"end"})
17406
17407
  }]:[]]),[o,I,O,ee.colors.text.primary]),ie=e.useMemo((()=>{const e={}
17407
17408
  ;return o.forEach((t=>{e[t.id]=!(W??[]).includes(t.id)})),e
17408
17409
  }),[o,W]),le=e.useMemo((()=>({pageIndex:x,pageSize:E})),[E,x]),ce=function(e){
package/lib/index.js CHANGED
@@ -3521,7 +3521,7 @@ autoComplete:m,value:H,onChange:e=>D(e.target.value),disabled:v
3521
3521
  `,im=Or.div`
3522
3522
  position: relative;
3523
3523
  width: ${({width:e})=>e||"auto"};
3524
- direction: ${({theme:e})=>e.direction};
3524
+ direction: ${({theme:e})=>e.direction} !important;
3525
3525
  div.input-container {
3526
3526
  padding-right: 8px;
3527
3527
  }
@@ -3547,7 +3547,7 @@ autoComplete:m,value:H,onChange:e=>D(e.target.value),disabled:v
3547
3547
  background-color: ${({theme:e,disabled:t})=>t?e.colors.fill.disabled:e.colors.fill.surface};
3548
3548
  border-radius: 4px;
3549
3549
  transition: all 0.2s ease-in-out;
3550
- direction: ${({theme:e})=>e.direction};
3550
+ direction: ${({theme:e})=>e.direction} !important;
3551
3551
  &:hover {
3552
3552
  border-color: ${({theme:e,disabled:t,$isErrored:n})=>t?e.colors.border.disabled:n?e.colors.border.error:e.colors.border.hover};
3553
3553
  }
@@ -3558,7 +3558,7 @@ autoComplete:m,value:H,onChange:e=>D(e.target.value),disabled:v
3558
3558
  border-color: ${({theme:e,$isErrored:t,disabled:n})=>n?"transparent":t?e.colors.border.error:e.colors.border.active};
3559
3559
  }
3560
3560
  `;Or.span`
3561
- direction: ${({theme:e})=>e.direction};
3561
+ direction: ${({theme:e})=>e.direction} !important;
3562
3562
  color: ${({isP:e,theme:t})=>e?t.colors.text.placeholder:"inherit"};
3563
3563
  margin-right: 8px;
3564
3564
  max-width: 256px;
@@ -3566,7 +3566,7 @@ autoComplete:m,value:H,onChange:e=>D(e.target.value),disabled:v
3566
3566
  overflow: hidden;
3567
3567
  white-space: nowrap;
3568
3568
  `;const cm=Or.ul`
3569
- direction: ${({theme:e})=>e.direction};
3569
+ direction: ${({theme:e})=>e.direction} !important;
3570
3570
  position: absolute;
3571
3571
  width: calc(100% - 16px);
3572
3572
  padding: 8px;
@@ -3585,7 +3585,7 @@ autoComplete:m,value:H,onChange:e=>D(e.target.value),disabled:v
3585
3585
  ${({theme:e})=>Yo(e.colors.shadow,.16)} 0px 4px 20px;
3586
3586
  max-height: 200px;
3587
3587
  `,sm=Or.li`
3588
- direction: ${({theme:e})=>e.direction};
3588
+ direction: ${({theme:e})=>e.direction} !important;
3589
3589
  padding: 8px 12px;
3590
3590
  border-radius: 4px;
3591
3591
  display: flex;
@@ -3603,26 +3603,26 @@ autoComplete:m,value:H,onChange:e=>D(e.target.value),disabled:v
3603
3603
  `,um=Or.div`
3604
3604
  cursor: pointer;
3605
3605
  color: ${({theme:e})=>e.colors.text.link};
3606
- direction: ${({theme:e})=>e.direction};
3606
+ direction: ${({theme:e})=>e.direction} !important;
3607
3607
  `,dm=Or.div`
3608
3608
  min-height: 128px;
3609
3609
  display: grid;
3610
3610
  place-content: center;
3611
- direction: ${({theme:e})=>e.direction};
3611
+ direction: ${({theme:e})=>e.direction} !important;
3612
3612
  `,hm=Or.div`
3613
3613
  display: flex;
3614
3614
  align-items: center;
3615
3615
  gap: 4px;
3616
3616
  height: 100%;
3617
- direction: ${({theme:e})=>e.direction};
3617
+ direction: ${({theme:e})=>e.direction} !important;
3618
3618
  `,pm=Or.div`
3619
- direction: ${({theme:e})=>e.direction};
3619
+ direction: ${({theme:e})=>e.direction} !important;
3620
3620
  `,fm=Or.div`
3621
3621
  height: ${({theme:e})=>`calc(1.5 * ${e.typography.primary.fontSize})`};
3622
3622
  `,mm=Or(Yf)``,vm=Or(Jf)``,gm=Or(Gf)`
3623
3623
  flex: 1;
3624
3624
  `,ym=Or(qf)``,bm=Or(em)`
3625
- direction: ${({theme:e})=>e.direction};
3625
+ direction: ${({theme:e})=>e.direction} !important;
3626
3626
  padding: 8px 12px;
3627
3627
  border-radius: 4px;
3628
3628
  display: flex;
@@ -3657,7 +3657,7 @@ autoComplete:m,value:H,onChange:e=>D(e.target.value),disabled:v
3657
3657
  border-bottom: 1px solid ${({theme:e})=>e.colors.border.light};
3658
3658
  margin: 0;
3659
3659
  `,Cm=Or(Qf)`
3660
- direction: ${({theme:e})=>e.direction};
3660
+ direction: ${({theme:e})=>e.direction} !important;
3661
3661
  font-family: ${({theme:e})=>e.typography.fontFamily};
3662
3662
  font-size: ${({theme:e})=>e.typography.secondary.fontSize};
3663
3663
  line-height: ${({theme:e})=>e.typography.secondary.lineHeight};
@@ -3667,7 +3667,7 @@ autoComplete:m,value:H,onChange:e=>D(e.target.value),disabled:v
3667
3667
  gap: 8px;
3668
3668
  align-items: center;
3669
3669
  `,zm=Or(Zf)`
3670
- direction: ${({theme:e})=>e.direction};
3670
+ direction: ${({theme:e})=>e.direction} !important;
3671
3671
  padding: 8px;
3672
3672
  overflow: auto;
3673
3673
  list-style: none;
@@ -3690,32 +3690,32 @@ autoComplete:m,value:H,onChange:e=>D(e.target.value),disabled:v
3690
3690
  animation-name: ${Ur};
3691
3691
  }
3692
3692
  `,Mm=Or(tm)`
3693
- direction: ${({theme:e})=>e.direction};
3693
+ direction: ${({theme:e})=>e.direction} !important;
3694
3694
  display: flex;
3695
3695
  align-items: center;
3696
3696
  `,xm=Or(Xf)`
3697
- direction: ${({theme:e})=>e.direction};
3697
+ direction: ${({theme:e})=>e.direction} !important;
3698
3698
  scrollbar-width: thin !important;
3699
3699
  `,Em=Or(nm)``;Or(rm)`
3700
- direction: ${({theme:e})=>e.direction};
3700
+ direction: ${({theme:e})=>e.direction} !important;
3701
3701
  display: grid;
3702
3702
  place-content: center;
3703
3703
  margin-bottom: 8px;
3704
3704
  `,Or(om)`
3705
- direction: ${({theme:e})=>e.direction};
3705
+ direction: ${({theme:e})=>e.direction} !important;
3706
3706
  display: grid;
3707
3707
  place-content: center;
3708
3708
  margin-top: 8px;
3709
3709
  transform: rotate(-180deg);
3710
3710
  `;const Sm=Or(Kf)`
3711
- direction: ${({theme:e})=>e.direction};
3711
+ direction: ${({theme:e})=>e.direction} !important;
3712
3712
  cursor: pointer;
3713
3713
  transform: rotate(-180deg);
3714
3714
  transition: transform 0.2s ease-in-out;
3715
3715
  display: grid;
3716
3716
  place-content: center;
3717
3717
  `,_m=Or(Wf)`
3718
- direction: ${({theme:e})=>e.direction};
3718
+ direction: ${({theme:e})=>e.direction} !important;
3719
3719
  font-family: ${({theme:e})=>e.typography.fontFamily};
3720
3720
  font-size: ${({theme:e})=>e.typography.primary.fontSize};
3721
3721
  line-height: ${({theme:e})=>e.typography.primary.lineHeight};
@@ -3779,7 +3779,7 @@ className:`input-helper ${e.className??""}`.trim()},e.children),Am=Or.textarea`
3779
3779
  font-family: ${({theme:e})=>e.typography.fontFamily};
3780
3780
  background-color: ${({theme:e})=>e.colors.fill.surface};
3781
3781
  color: ${({theme:e})=>e.colors.text.primary};
3782
- direction: ${({theme:e,$forceInputDir:t})=>t||e.direction};
3782
+ direction: ${({theme:e,$forceInputDir:t})=>t||e.direction} !important;
3783
3783
  &::placeholder {
3784
3784
  font-family: ${({theme:e})=>e.typography.fontFamily};
3785
3785
  font-size: ${({theme:e})=>e.typography.primary.fontSize};
@@ -3806,7 +3806,7 @@ className:`input-helper ${e.className??""}`.trim()},e.children),Am=Or.textarea`
3806
3806
  font-family: ${({theme:e})=>e.typography.fontFamily};
3807
3807
  background-color: ${({theme:e})=>e.colors.fill.surface};
3808
3808
  color: ${({theme:e})=>e.colors.text.primary};
3809
- direction: ${({theme:e,$forceInputDir:t})=>t||e.direction};
3809
+ direction: ${({theme:e,$forceInputDir:t})=>t||e.direction} !important;
3810
3810
  &::placeholder {
3811
3811
  font-family: ${({theme:e})=>e.typography.fontFamily};
3812
3812
  font-size: ${({theme:e})=>e.typography.primary.fontSize};
@@ -3825,7 +3825,7 @@ className:`input-helper ${e.className??""}`.trim()},e.children),Am=Or.textarea`
3825
3825
  font-size: ${({theme:e})=>e.typography.primary.fontSize};
3826
3826
  line-height: ${({theme:e})=>e.typography.primary.lineHeight};
3827
3827
  color: ${({theme:e})=>e.colors.text.primary};
3828
- direction: ${({theme:e,$forceInputDir:t})=>t||e.direction};
3828
+ direction: ${({theme:e,$forceInputDir:t})=>t||e.direction} !important;
3829
3829
  div.end-adornment {
3830
3830
  display: grid;
3831
3831
  place-content: center;
@@ -3850,7 +3850,7 @@ className:`input-helper ${e.className??""}`.trim()},e.children),Am=Or.textarea`
3850
3850
  background-color: ${({theme:e})=>e.colors.fill.surface};
3851
3851
  border-radius: 4px;
3852
3852
  transition: all 0.2s ease-in-out;
3853
- direction: ${({theme:e,$forceInputDir:t})=>t||e.direction};
3853
+ direction: ${({theme:e,$forceInputDir:t})=>t||e.direction} !important;
3854
3854
  &:hover {
3855
3855
  border-color: ${({theme:e,disabled:t,$isErrored:n})=>t?e.colors.border.normal:n?e.colors.border.error:e.colors.border.hover};
3856
3856
  }
@@ -16649,7 +16649,8 @@ cell:t=>e.accessorFn(t.row.original)}))),...A?[{id:"rowMenuOptions",
16649
16649
  header:()=>t.createElement("div",{id:"more-actions-header"}),
16650
16650
  cell:({row:e})=>t.createElement(Rb,{trigger:t.createElement(Do,{
16651
16651
  className:"more-actions",fill:"currentcolor"}),options:A(e.original)||[],
16652
- onSelect:t=>{t.id&&$?.(t.id,e.original)},side:"bottom",align:"end"})
16652
+ onSelect:t=>{t.id&&$?.(t.id,e.original)},side:"bottom",
16653
+ align:"rtl"===ee.direction?"start":"end"})
16653
16654
  }]:[]]),[o,I,O,ee.colors.text.primary]),ie=t.useMemo((()=>{const e={}
16654
16655
  ;return o.forEach((t=>{e[t.id]=!(W??[]).includes(t.id)})),e
16655
16656
  }),[o,W]),le=t.useMemo((()=>({pageIndex:x,pageSize:E})),[E,x]),ce=function(t){
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "freemium-ui",
3
- "version": "2.0.55",
3
+ "version": "2.0.57",
4
4
  "description": "React Ui Components for Freemium Apps",
5
5
  "main": "./index.js",
6
6
  "module": "./index.js",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "freemium-ui",
3
- "version": "2.0.55",
3
+ "version": "2.0.57",
4
4
  "description": "React Ui Components for Freemium Apps",
5
5
  "main": "lib/index.cjs.js",
6
6
  "module": "lib/index.js",