livevegas-ui-kit 1.0.206 → 1.0.207

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.
@@ -2,6 +2,7 @@ import { IActiveBonus } from '../../utils/helpers';
2
2
 
3
3
  interface WagerProps {
4
4
  activeBonus: IActiveBonus;
5
+ isMobileFromLeft: boolean;
5
6
  }
6
- export declare const Wager: ({ activeBonus }: WagerProps) => import("react/jsx-runtime").JSX.Element;
7
+ export declare const Wager: ({ activeBonus, isMobileFromLeft }: WagerProps) => import("react/jsx-runtime").JSX.Element;
7
8
  export {};
@@ -1,7 +1,11 @@
1
- export declare const WagerContainer: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
1
+ interface IWager {
2
+ $isMobileFromLeft: boolean;
3
+ }
4
+ export declare const WagerContainer: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, IWager>> & string;
2
5
  export declare const WagerText: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
3
6
  export declare const FsText: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
4
7
  export declare const WagerAmount: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
5
8
  export declare const FsCount: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
6
9
  export declare const Divider: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
7
10
  export declare const Stars: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, never>> & string;
11
+ export {};
@@ -11586,15 +11586,14 @@ const Gc = {
11586
11586
  background: var(--black-80, rgba(17, 17, 17, 0.8));
11587
11587
  border-top-right-radius: 8px;
11588
11588
  border-bottom-right-radius: 8px;
11589
- /* @media (max-width: 768px) and (orientation: landscape) {} */
11590
11589
  @media (max-width: 768px) {
11591
11590
  top: 35px;
11592
11591
  left: unset;
11593
- right: 0;
11594
- border-top-right-radius: 0;
11595
- border-bottom-right-radius: 0;
11596
- border-top-left-radius: 8px;
11597
- border-bottom-left-radius: 8px;
11592
+ ${({ $isMobileFromLeft: e }) => e ? "left: 0;" : "right: 0;"}
11593
+ border-top-left-radius: ${({ $isMobileFromLeft: e }) => e ? "0" : "8px"};
11594
+ border-top-right-radius: ${({ $isMobileFromLeft: e }) => e ? "8px" : "0"};
11595
+ border-bottom-left-radius: ${({ $isMobileFromLeft: e }) => e ? "0" : "8px"};
11596
+ border-bottom-right-radius: ${({ $isMobileFromLeft: e }) => e ? "8px" : "0"};
11598
11597
  }
11599
11598
  `, ah = m.div`
11600
11599
  font-size: 12px;
@@ -11623,24 +11622,24 @@ const Gc = {
11623
11622
  position: absolute;
11624
11623
  top: -13px;
11625
11624
  object-fit: contain;
11626
- `, A7 = ({ activeBonus: e }) => {
11627
- const t = e.freeSpinsCount && e.freeSpinsCount > 0, { t: n } = W();
11628
- return /* @__PURE__ */ a.jsxs(th, { children: [
11629
- !t && /* @__PURE__ */ a.jsx(oh, { src: ca, alt: "stars" }),
11630
- t ? /* @__PURE__ */ a.jsx(nh, { children: n("Freespins left") }) : /* @__PURE__ */ a.jsxs(ah, { children: [
11631
- n("Wager to"),
11625
+ `, A7 = ({ activeBonus: e, isMobileFromLeft: t }) => {
11626
+ const n = e.freeSpinsCount && e.freeSpinsCount > 0, { t: i } = W();
11627
+ return /* @__PURE__ */ a.jsxs(th, { $isMobileFromLeft: t, children: [
11628
+ !n && /* @__PURE__ */ a.jsx(oh, { src: ca, alt: "stars" }),
11629
+ n ? /* @__PURE__ */ a.jsx(nh, { children: i("Freespins left") }) : /* @__PURE__ */ a.jsxs(ah, { children: [
11630
+ i("Wager to"),
11632
11631
  " ",
11633
11632
  e.wager,
11634
11633
  " ",
11635
11634
  Ra(e.currencyId)
11636
11635
  ] }),
11637
11636
  /* @__PURE__ */ a.jsx(sh, {}),
11638
- t ? /* @__PURE__ */ a.jsx(rh, { children: e.freeSpinsCount }) : /* @__PURE__ */ a.jsxs(ih, { children: [
11637
+ n ? /* @__PURE__ */ a.jsx(rh, { children: e.freeSpinsCount }) : /* @__PURE__ */ a.jsxs(ih, { children: [
11639
11638
  Ra(e.currencyId),
11640
11639
  " ",
11641
11640
  e.playedAmount,
11642
11641
  " ",
11643
- n("left")
11642
+ i("left")
11644
11643
  ] })
11645
11644
  ] });
11646
11645
  }, lh = m.div`
@@ -3562,15 +3562,14 @@ See https://s-c.sh/2BAXzed for more info.`),window[Et]+=1);const Js=m.div`
3562
3562
  background: var(--black-80, rgba(17, 17, 17, 0.8));
3563
3563
  border-top-right-radius: 8px;
3564
3564
  border-bottom-right-radius: 8px;
3565
- /* @media (max-width: 768px) and (orientation: landscape) {} */
3566
3565
  @media (max-width: 768px) {
3567
3566
  top: 35px;
3568
3567
  left: unset;
3569
- right: 0;
3570
- border-top-right-radius: 0;
3571
- border-bottom-right-radius: 0;
3572
- border-top-left-radius: 8px;
3573
- border-bottom-left-radius: 8px;
3568
+ ${({$isMobileFromLeft:e})=>e?"left: 0;":"right: 0;"}
3569
+ border-top-left-radius: ${({$isMobileFromLeft:e})=>e?"0":"8px"};
3570
+ border-top-right-radius: ${({$isMobileFromLeft:e})=>e?"8px":"0"};
3571
+ border-bottom-left-radius: ${({$isMobileFromLeft:e})=>e?"0":"8px"};
3572
+ border-bottom-right-radius: ${({$isMobileFromLeft:e})=>e?"8px":"0"};
3574
3573
  }
3575
3574
  `,zc=m.div`
3576
3575
  font-size: 12px;
@@ -3599,7 +3598,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Et]+=1);const Js=m.div`
3599
3598
  position: absolute;
3600
3599
  top: -13px;
3601
3600
  object-fit: contain;
3602
- `,Ec=({activeBonus:e})=>{const t=e.freeSpinsCount&&e.freeSpinsCount>0,{t:n}=W();return a.jsxs(Dc,{children:[!t&&a.jsx(Wc,{src:_t,alt:"stars"}),t?a.jsx(Hc,{children:n("Freespins left")}):a.jsxs(zc,{children:[n("Wager to")," ",e.wager," ",Ha(e.currencyId)]}),a.jsx(Rc,{}),t?a.jsx(Mc,{children:e.freeSpinsCount}):a.jsxs(Oc,{children:[Ha(e.currencyId)," ",e.playedAmount," ",n("left")]})]})},Kc=m.div`
3601
+ `,Ec=({activeBonus:e,isMobileFromLeft:t})=>{const n=e.freeSpinsCount&&e.freeSpinsCount>0,{t:i}=W();return a.jsxs(Dc,{$isMobileFromLeft:t,children:[!n&&a.jsx(Wc,{src:_t,alt:"stars"}),n?a.jsx(Hc,{children:i("Freespins left")}):a.jsxs(zc,{children:[i("Wager to")," ",e.wager," ",Ha(e.currencyId)]}),a.jsx(Rc,{}),n?a.jsx(Mc,{children:e.freeSpinsCount}):a.jsxs(Oc,{children:[Ha(e.currencyId)," ",e.playedAmount," ",i("left")]})]})},Kc=m.div`
3603
3602
  width: 320px;
3604
3603
  height: 330px;
3605
3604
  background: rgba(17, 17, 17);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "livevegas-ui-kit",
3
- "version": "1.0.206",
3
+ "version": "1.0.207",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"