@widergy/mobile-ui 0.39.0 → 0.39.1

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 CHANGED
@@ -1,3 +1,10 @@
1
+ ## [0.39.1](https://github.com/widergy/mobile-ui/compare/v0.39.0...v0.39.1) (2023-08-14)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * add markdown in UTWorkflowContainer ([2666788](https://github.com/widergy/mobile-ui/commit/2666788a7fdfb70f3828ad29b084b1384a134767))
7
+
1
8
  # [0.39.0](https://github.com/widergy/mobile-ui/compare/v0.38.0...v0.39.0) (2023-08-11)
2
9
 
3
10
 
@@ -25,7 +25,8 @@ const UTWorkflowContainer = ({
25
25
  subtitle,
26
26
  stepCounter,
27
27
  bottomHandler,
28
- hideHeader = false
28
+ hideHeader = false,
29
+ useMarkdown
29
30
  }) => {
30
31
  useEffect(() => () => onExit?.(), []);
31
32
  const theme = useTheme();
@@ -45,7 +46,13 @@ const UTWorkflowContainer = ({
45
46
  const Subtitle = React.isValidElement(subtitle) ? (
46
47
  subtitle
47
48
  ) : (
48
- <Label medium {...subtitleProps} style={themedStyles.subtitle} markdownStyles={themedStyles.markdown}>
49
+ <Label
50
+ medium
51
+ {...subtitleProps}
52
+ style={themedStyles.subtitle}
53
+ markdownStyles={themedStyles.markdown}
54
+ useMarkdown={useMarkdown}
55
+ >
49
56
  {subtitle}
50
57
  </Label>
51
58
  );
@@ -95,6 +102,7 @@ UTWorkflowContainer.propTypes = {
95
102
  subtitle: string,
96
103
  stepCounter: oneOf([func, string]),
97
104
  bottomHandler: bool,
98
- hideHeader: bool
105
+ hideHeader: bool,
106
+ useMarkdown: bool
99
107
  };
100
108
  export default UTWorkflowContainer;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@widergy/mobile-ui",
3
3
  "description": "Widergy Mobile Components",
4
4
  "author": "widergy",
5
- "version": "0.39.0",
5
+ "version": "0.39.1",
6
6
  "repository": "https://github.com/widergy/mobile-ui.git",
7
7
  "main": "lib/index.js",
8
8
  "files": [