@soul-refiner/design-system 2.14.102 → 2.14.103

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.
@@ -78,7 +78,7 @@
78
78
  align-items: center;
79
79
  gap: 4px;
80
80
  width: fit-content;
81
- `,m=r.styled.div`
81
+ `,u=r.styled.div`
82
82
  display: flex;
83
83
  flex-direction: column;
84
84
  align-items: flex-end;
@@ -90,7 +90,7 @@
90
90
  justify-content: space-between;
91
91
  align-items: center;
92
92
  }
93
- `,u=r.styled.button`
93
+ `,m=r.styled.button`
94
94
  display: flex;
95
95
  justify-content: center;
96
96
  align-items: center;
@@ -109,4 +109,4 @@
109
109
  background-color: var(--color-grey-5);
110
110
  color: var(--color-primary-blue-2);
111
111
  }
112
- `;exports.HorizontalCourseCard=({author:i,description:r,image:d,numRating:$,price:j,rating:w,title:v,supportLabel:b,supportIcon:k=e.jsx(n.Video,{size:16,color:"white"}),favoriteIcon:H,sx:z,onFavoriteClick:C,theme:S="light",transparent:q=!1})=>{const P="dark"===S,I=P?"white":"grey-2",L=P?"grey-9":"grey-4",_=q?"transparent":P?"var(--color-grey-0)":"var(--color-white)",R=P?"white":"grey-2";return e.jsx(a,{$sx:z,children:e.jsxs(c,{$bgColor:_,children:[e.jsx(x,{children:e.jsx(s.default,{alt:"",height:150,quality:100,src:d,width:275})}),e.jsx(h,{$bgColor:_,children:e.jsxs(p,{children:[e.jsxs(g,{children:[e.jsx(t.H,{$color:I,$textClampLines:2,$semiBold:!0,$fontSize:16,$lineHeight:28,dangerouslySetInnerHTML:{__html:v}}),r&&e.jsx(o.P,{$color:L,$fontSize:16,$lineHeight:20,$textClampLines:2,sx:"font-family: Inter; font-weight: 400; font-style: normal; text-overflow: ellipsis;",dangerouslySetInnerHTML:{__html:r}}),void 0!==w?i&&e.jsxs(o.P,{$color:L,$fontSize:12,$lineHeight:16,children:["by ",i]}):e.jsx("div",{style:{height:"50px"}}),void 0!==w?e.jsxs(f,{children:[e.jsx(o.P,{$color:L,$fontSize:14,$lineHeight:20,$semiBold:!0,children:w/20}),e.jsx(l.Rate,{isRateable:!1,percent:w,size:"small"}),void 0!==$&&e.jsxs(o.P,{$color:L,$fontSize:14,$lineHeight:20,children:["(",$,")"]})]}):i?e.jsxs(o.P,{$color:L,$fontSize:12,$lineHeight:16,children:["by ",i]}):e.jsx("div",{style:{height:"20px"}}),b&&e.jsxs(y,{children:[k,e.jsx(o.P,{$color:"white",$fontSize:10,$lineHeight:14,sx:"font-weight:500",children:b})]})]}),e.jsxs(m,{children:[e.jsx(o.P,{$color:R,$fontSize:16,$lineHeight:24,$bold:!0,children:j}),H&&C&&e.jsx(u,{onClick:C,children:H})]})]})})]})})};
112
+ `;exports.HorizontalCourseCard=({author:i,description:r,image:d,numRating:$,price:j,rating:w,title:b,supportLabel:v,supportIcon:H=e.jsx(n.Video,{size:16,color:"white"}),favoriteIcon:k,sx:z,onFavoriteClick:C,theme:S="light",transparent:q=!1})=>{const P="dark"===S,L=P?"white":"grey-2",I=P?"grey-9":"grey-4",_=q?"transparent":P?"var(--color-grey-0)":"var(--color-white)",R=P?"white":"grey-2";return e.jsx(a,{$sx:z,children:e.jsxs(c,{$bgColor:_,children:[e.jsx(x,{children:e.jsx(s.default,{alt:"",height:150,quality:100,src:d,width:275})}),e.jsx(h,{$bgColor:_,children:e.jsxs(p,{children:[e.jsxs(g,{children:[e.jsx(t.H,{$color:L,$textClampLines:2,$bold:!0,$fontSize:18,$lineHeight:28,dangerouslySetInnerHTML:{__html:b}}),r&&e.jsx(o.P,{$color:I,$fontSize:16,$lineHeight:20,$textClampLines:2,sx:"font-weight: 400; font-style: normal; text-overflow: ellipsis;",dangerouslySetInnerHTML:{__html:r}}),void 0!==w?i&&e.jsxs(o.P,{$color:I,$fontSize:12,$lineHeight:16,children:[e.jsx("i",{children:"by"})," ",i]}):e.jsx("div",{style:{height:"50px"}}),void 0!==w?e.jsxs(f,{children:[e.jsx(o.P,{$color:I,$fontSize:14,$lineHeight:20,$semiBold:!0,children:w/20}),e.jsx(l.Rate,{isRateable:!1,percent:w,size:"small"}),void 0!==$&&e.jsxs(o.P,{$color:I,$fontSize:14,$lineHeight:20,children:["(",$,")"]})]}):i?e.jsxs(o.P,{$color:I,$fontSize:12,$lineHeight:16,children:[e.jsx("i",{children:"by"})," ",i]}):e.jsx("div",{style:{height:"20px"}}),v&&e.jsxs(y,{children:[H,e.jsx(o.P,{$color:"white",$fontSize:12,$lineHeight:14,sx:"font-weight:500",children:v})]})]}),e.jsxs(u,{children:[e.jsx(t.H,{$color:R,$fontSize:18,$lineHeight:28,$bold:!0,children:j}),k&&C&&e.jsx(m,{onClick:C,children:k})]})]})})]})})};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soul-refiner/design-system",
3
- "version": "2.14.102",
3
+ "version": "2.14.103",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "license": "MIT",