@thairath/tr-design-system 0.2.5 → 0.2.6
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/index.cjs +9 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.esm.js +9 -3
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -5583,20 +5583,26 @@ var CardArticle = _ref => {
|
|
|
5583
5583
|
return /*#__PURE__*/React.createElement(TRO_Card, {
|
|
5584
5584
|
variant: variant,
|
|
5585
5585
|
className: className ? className : ''
|
|
5586
|
-
}, thumbnail && /*#__PURE__*/React.createElement(TRO_CardThumbnail,
|
|
5586
|
+
}, thumbnail && /*#__PURE__*/React.createElement(TRO_CardThumbnail, {
|
|
5587
|
+
className: "tro--card--thumbnail"
|
|
5588
|
+
}, /*#__PURE__*/React.createElement("a", {
|
|
5587
5589
|
href: link
|
|
5588
5590
|
}, /*#__PURE__*/React.createElement(Thumbnail, {
|
|
5589
5591
|
src: thumbnail,
|
|
5590
5592
|
size: size,
|
|
5591
5593
|
alt: title
|
|
5592
|
-
}))), /*#__PURE__*/React.createElement(TRO_CardContainer,
|
|
5594
|
+
}))), /*#__PURE__*/React.createElement(TRO_CardContainer, {
|
|
5595
|
+
className: "tro--card--container"
|
|
5596
|
+
}, /*#__PURE__*/React.createElement("a", {
|
|
5593
5597
|
href: link,
|
|
5594
5598
|
className: "tro--card--container--inner"
|
|
5595
5599
|
}, /*#__PURE__*/React.createElement(TRO_CardTitle, {
|
|
5596
5600
|
variant: "title"
|
|
5597
5601
|
}, title), description !== undefined && /*#__PURE__*/React.createElement(TRO_CardDescription, {
|
|
5598
5602
|
variant: "description"
|
|
5599
|
-
}, description)), (category || datetime) && /*#__PURE__*/React.createElement(TRO_CardInfo,
|
|
5603
|
+
}, description)), (category || datetime) && /*#__PURE__*/React.createElement(TRO_CardInfo, {
|
|
5604
|
+
className: "tro--card--info"
|
|
5605
|
+
}, category && /*#__PURE__*/React.createElement("a", {
|
|
5600
5606
|
href: linkCategory
|
|
5601
5607
|
}, /*#__PURE__*/React.createElement(TRO_CardCategory, {
|
|
5602
5608
|
variant: "info"
|