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