@telefonica/mistica 10.3.1 → 10.4.0
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/CHANGELOG.md +7 -0
- package/README.md +2 -2
- package/dist/card.d.ts +1 -1
- package/dist/card.js +1 -1
- package/dist/card.js.flow +1 -1
- package/dist-es/card.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [10.4.0](https://github.com/Telefonica/mistica-web/compare/v10.3.1...v10.4.0) (2021-09-30)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **MediaCard:** make description optional ([#346](https://github.com/Telefonica/mistica-web/issues/346)) ([ce5a653](https://github.com/Telefonica/mistica-web/commit/ce5a653c099e830e7cb60fb1b8ce8db62d8ffa3a))
|
|
7
|
+
|
|
1
8
|
## [10.3.1](https://github.com/Telefonica/mistica-web/compare/v10.3.0...v10.3.1) (2021-09-23)
|
|
2
9
|
|
|
3
10
|
|
package/README.md
CHANGED
|
@@ -77,10 +77,10 @@ the library. There are multiple settings but the only two mandatory fields are `
|
|
|
77
77
|
|
|
78
78
|
## Components
|
|
79
79
|
|
|
80
|
-
Explore the components in [Mistica storybook](https://mistica-web.
|
|
80
|
+
Explore the components in [Mistica storybook](https://mistica-web.vercel.app)
|
|
81
81
|
|
|
82
82
|
Start prototyping interfaces with Mistica components in the
|
|
83
|
-
[Mistica playroom](https://mistica-web.
|
|
83
|
+
[Mistica playroom](https://mistica-web.vercel.app/playroom)
|
|
84
84
|
|
|
85
85
|
## More docs
|
|
86
86
|
|
package/dist/card.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ declare type MediaCardProps = {
|
|
|
22
22
|
headline?: string | React.ReactElement<TagProps, typeof Tag>;
|
|
23
23
|
pretitle?: string;
|
|
24
24
|
title?: string;
|
|
25
|
-
description
|
|
25
|
+
description?: string;
|
|
26
26
|
extra?: React.ReactNode;
|
|
27
27
|
button?: React.ReactElement<ButtonProps, typeof ButtonPrimary>;
|
|
28
28
|
buttonLink?: React.ReactElement<ButtonProps, typeof ButtonLink>;
|
package/dist/card.js
CHANGED
|
@@ -91,7 +91,7 @@ var CardContent = function CardContent(_ref2) {
|
|
|
91
91
|
regular: true
|
|
92
92
|
}, title), /*#__PURE__*/React.createElement(_text.Text2, {
|
|
93
93
|
regular: true
|
|
94
|
-
}, subtitle))), /*#__PURE__*/React.createElement(_text.Text2, {
|
|
94
|
+
}, subtitle))), description && /*#__PURE__*/React.createElement(_text.Text2, {
|
|
95
95
|
as: "p",
|
|
96
96
|
regular: true,
|
|
97
97
|
color: theme.colors.textSecondary
|
package/dist/card.js.flow
CHANGED
|
@@ -19,7 +19,7 @@ declare type MediaCardProps = {
|
|
|
19
19
|
headline?: string | React.Element<typeof Tag>,
|
|
20
20
|
pretitle?: string,
|
|
21
21
|
title?: string,
|
|
22
|
-
description
|
|
22
|
+
description?: string,
|
|
23
23
|
extra?: React.Node,
|
|
24
24
|
button?: React.Element<typeof ButtonPrimary>,
|
|
25
25
|
buttonLink?: React.Element<typeof ButtonLink>,
|
package/dist-es/card.js
CHANGED
|
@@ -67,7 +67,7 @@ var CardContent = function CardContent(_ref2) {
|
|
|
67
67
|
regular: true
|
|
68
68
|
}, title), /*#__PURE__*/React.createElement(Text2, {
|
|
69
69
|
regular: true
|
|
70
|
-
}, subtitle))), /*#__PURE__*/React.createElement(Text2, {
|
|
70
|
+
}, subtitle))), description && /*#__PURE__*/React.createElement(Text2, {
|
|
71
71
|
as: "p",
|
|
72
72
|
regular: true,
|
|
73
73
|
color: theme.colors.textSecondary
|