@thairath/tr-design-system 0.2.15 → 0.2.16
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 +6 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.esm.js +6 -3
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -5595,7 +5595,8 @@ var CardArticle = _ref => {
|
|
|
5595
5595
|
}, thumbnail && /*#__PURE__*/React.createElement(TRO_CardThumbnail, {
|
|
5596
5596
|
className: "tro--card--thumbnail"
|
|
5597
5597
|
}, /*#__PURE__*/React.createElement("a", {
|
|
5598
|
-
href: link
|
|
5598
|
+
href: link,
|
|
5599
|
+
title: title
|
|
5599
5600
|
}, /*#__PURE__*/React.createElement(Thumbnail, {
|
|
5600
5601
|
src: thumbnail,
|
|
5601
5602
|
size: size,
|
|
@@ -5604,7 +5605,8 @@ var CardArticle = _ref => {
|
|
|
5604
5605
|
className: "tro--card--container"
|
|
5605
5606
|
}, /*#__PURE__*/React.createElement("a", {
|
|
5606
5607
|
href: link,
|
|
5607
|
-
className: "tro--card--container--inner"
|
|
5608
|
+
className: "tro--card--container--inner",
|
|
5609
|
+
title: title
|
|
5608
5610
|
}, /*#__PURE__*/React.createElement(TRO_CardTitle, {
|
|
5609
5611
|
variant: "title"
|
|
5610
5612
|
}, title), description !== undefined && /*#__PURE__*/React.createElement(TRO_CardDescription, {
|
|
@@ -5612,7 +5614,8 @@ var CardArticle = _ref => {
|
|
|
5612
5614
|
}, description)), (category || datetime) && /*#__PURE__*/React.createElement(TRO_CardInfo, {
|
|
5613
5615
|
className: "tro--card--info"
|
|
5614
5616
|
}, category && /*#__PURE__*/React.createElement("a", {
|
|
5615
|
-
href: linkCategory
|
|
5617
|
+
href: linkCategory,
|
|
5618
|
+
title: category
|
|
5616
5619
|
}, /*#__PURE__*/React.createElement(TRO_CardCategory, {
|
|
5617
5620
|
variant: "info",
|
|
5618
5621
|
catColor: categoryColor
|