cozy-harvest-lib 20.2.3 → 20.2.5

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
@@ -3,6 +3,28 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [20.2.5](https://github.com/cozy/cozy-libs/compare/cozy-harvest-lib@20.2.4...cozy-harvest-lib@20.2.5) (2023-11-27)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **harvest:** Illustration as title in Suggestion ([daecc19](https://github.com/cozy/cozy-libs/commit/daecc19961922bc2ddff12874f551489d2519811))
12
+
13
+
14
+
15
+
16
+
17
+ ## [20.2.4](https://github.com/cozy/cozy-libs/compare/cozy-harvest-lib@20.2.3...cozy-harvest-lib@20.2.4) (2023-11-16)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * **harvest:** Remove SuggestionContainer from flow ([24db015](https://github.com/cozy/cozy-libs/commit/24db0153359fd50b46950fa9898c87099d8faa74))
23
+
24
+
25
+
26
+
27
+
6
28
  ## [20.2.3](https://github.com/cozy/cozy-libs/compare/cozy-harvest-lib@20.2.2...cozy-harvest-lib@20.2.3) (2023-11-15)
7
29
 
8
30
 
@@ -83,18 +83,20 @@ var KonnectorSuggestionModal = function KonnectorSuggestionModal(_ref) {
83
83
  }();
84
84
 
85
85
  return /*#__PURE__*/React.createElement(CozyTheme, {
86
- variant: "normal"
86
+ variant: "normal",
87
+ className: "u-pos-absolute"
87
88
  }, /*#__PURE__*/React.createElement(IllustrationDialog, {
88
89
  open: true,
89
90
  onClose: onClose,
90
- content: /*#__PURE__*/React.createElement("div", {
91
- className: "u-flex u-flex-column u-flex-items-center u-h-100"
92
- }, /*#__PURE__*/React.createElement(Illustration, {
91
+ title: /*#__PURE__*/React.createElement(Illustration, {
93
92
  alt: t('app.logo.alt', {
94
93
  name: name
95
94
  }),
96
95
  app: slug
97
- }), /*#__PURE__*/React.createElement(Typography, {
96
+ }),
97
+ content: /*#__PURE__*/React.createElement("div", {
98
+ className: "u-flex u-flex-column u-flex-items-center"
99
+ }, /*#__PURE__*/React.createElement(Typography, {
98
100
  className: "u-mb-half",
99
101
  variant: "h4"
100
102
  }, t('suggestions.title', {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cozy-harvest-lib",
3
- "version": "20.2.3",
3
+ "version": "20.2.5",
4
4
  "description": "Provides logic, modules and components for Cozy's harvest applications.",
5
5
  "main": "dist/index.js",
6
6
  "author": "Cozy",
@@ -112,5 +112,5 @@
112
112
  "react-router-dom": ">=4.3.1"
113
113
  },
114
114
  "sideEffects": false,
115
- "gitHead": "3164146a21d9137b145a3ed37d466e57acb4f63c"
115
+ "gitHead": "5974d8151555736b2af3a2c1cb16d4093f7b2894"
116
116
  }
@@ -44,14 +44,13 @@ const KonnectorSuggestionModal = ({
44
44
  }
45
45
 
46
46
  return (
47
- <CozyTheme variant="normal">
47
+ <CozyTheme variant="normal" className="u-pos-absolute">
48
48
  <IllustrationDialog
49
49
  open
50
50
  onClose={onClose}
51
+ title={<Illustration alt={t('app.logo.alt', { name })} app={slug} />}
51
52
  content={
52
- <div className="u-flex u-flex-column u-flex-items-center u-h-100">
53
- <Illustration alt={t('app.logo.alt', { name })} app={slug} />
54
-
53
+ <div className="u-flex u-flex-column u-flex-items-center">
55
54
  <Typography className="u-mb-half" variant="h4">
56
55
  {t('suggestions.title', { name })}
57
56
  </Typography>