cozy-harvest-lib 12.3.0 → 12.3.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
@@ -3,6 +3,17 @@
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
+ ## [12.3.1](https://github.com/cozy/cozy-libs/compare/cozy-harvest-lib@12.3.0...cozy-harvest-lib@12.3.1) (2023-01-17)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **harvest:** LaunchTriggerAlert text vertical alignement ([70e3f10](https://github.com/cozy/cozy-libs/commit/70e3f10c524ca320832c31c8a25d3379e9fe638d))
12
+
13
+
14
+
15
+
16
+
6
17
  # [12.3.0](https://github.com/cozy/cozy-libs/compare/cozy-harvest-lib@12.2.0...cozy-harvest-lib@12.3.0) (2023-01-17)
7
18
 
8
19
 
@@ -25,6 +25,10 @@ var styles = {
25
25
  iconButtonWrapper: {
26
26
  height: 32,
27
27
  width: 46
28
+ },
29
+ // Alert is not designed to use 12px text, so this is necessary for now
30
+ typography: {
31
+ paddingTop: 2
28
32
  }
29
33
  };
30
34
  export var LaunchTriggerAlert = function LaunchTriggerAlert(_ref) {
@@ -120,6 +124,7 @@ export var LaunchTriggerAlert = function LaunchTriggerAlert(_ref) {
120
124
  }
121
125
  }, t('card.launchTrigger.configure'))))
122
126
  }, /*#__PURE__*/React.createElement(Typography, {
127
+ style: styles.typography,
123
128
  variant: "caption"
124
129
  }, makeLabel({
125
130
  t: t,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cozy-harvest-lib",
3
- "version": "12.3.0",
3
+ "version": "12.3.1",
4
4
  "description": "Provides logic, modules and components for Cozy's harvest applications.",
5
5
  "main": "dist/index.js",
6
6
  "author": "Cozy",
@@ -88,5 +88,5 @@
88
88
  "react-router-dom": ">=4.3.1"
89
89
  },
90
90
  "sideEffects": false,
91
- "gitHead": "b33303f0e197336675f8b4817576de6c353e6015"
91
+ "gitHead": "5744b6d93444307afd4ce5d2d598fd7985b8eb0b"
92
92
  }
@@ -24,7 +24,9 @@ import { makeLabel } from './helpers'
24
24
  const styles = {
25
25
  // tricks to put 48px wide button inside 32px height container
26
26
  // without enlarging the container
27
- iconButtonWrapper: { height: 32, width: 46 }
27
+ iconButtonWrapper: { height: 32, width: 46 },
28
+ // Alert is not designed to use 12px text, so this is necessary for now
29
+ typography: { paddingTop: 2 }
28
30
  }
29
31
 
30
32
  export const LaunchTriggerAlert = ({
@@ -118,7 +120,7 @@ export const LaunchTriggerAlert = ({
118
120
  )
119
121
  }
120
122
  >
121
- <Typography variant="caption">
123
+ <Typography style={styles.typography} variant="caption">
122
124
  {makeLabel({
123
125
  t,
124
126
  f,