@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.esm.js
CHANGED
|
@@ -5593,7 +5593,8 @@ var CardArticle = _ref => {
|
|
|
5593
5593
|
}, thumbnail && /*#__PURE__*/React.createElement(TRO_CardThumbnail, {
|
|
5594
5594
|
className: "tro--card--thumbnail"
|
|
5595
5595
|
}, /*#__PURE__*/React.createElement("a", {
|
|
5596
|
-
href: link
|
|
5596
|
+
href: link,
|
|
5597
|
+
title: title
|
|
5597
5598
|
}, /*#__PURE__*/React.createElement(Thumbnail, {
|
|
5598
5599
|
src: thumbnail,
|
|
5599
5600
|
size: size,
|
|
@@ -5602,7 +5603,8 @@ var CardArticle = _ref => {
|
|
|
5602
5603
|
className: "tro--card--container"
|
|
5603
5604
|
}, /*#__PURE__*/React.createElement("a", {
|
|
5604
5605
|
href: link,
|
|
5605
|
-
className: "tro--card--container--inner"
|
|
5606
|
+
className: "tro--card--container--inner",
|
|
5607
|
+
title: title
|
|
5606
5608
|
}, /*#__PURE__*/React.createElement(TRO_CardTitle, {
|
|
5607
5609
|
variant: "title"
|
|
5608
5610
|
}, title), description !== undefined && /*#__PURE__*/React.createElement(TRO_CardDescription, {
|
|
@@ -5610,7 +5612,8 @@ var CardArticle = _ref => {
|
|
|
5610
5612
|
}, description)), (category || datetime) && /*#__PURE__*/React.createElement(TRO_CardInfo, {
|
|
5611
5613
|
className: "tro--card--info"
|
|
5612
5614
|
}, category && /*#__PURE__*/React.createElement("a", {
|
|
5613
|
-
href: linkCategory
|
|
5615
|
+
href: linkCategory,
|
|
5616
|
+
title: category
|
|
5614
5617
|
}, /*#__PURE__*/React.createElement(TRO_CardCategory, {
|
|
5615
5618
|
variant: "info",
|
|
5616
5619
|
catColor: categoryColor
|