@momo-kits/animated-tooltip 0.169.13-beta.1 → 0.169.13

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/animated-tooltip",
3
- "version": "0.169.13-beta.1",
3
+ "version": "0.169.13",
4
4
  "private": false,
5
5
  "main": "index.tsx",
6
6
  "dependencies": {},
package/renderButtons.tsx CHANGED
@@ -122,6 +122,7 @@ export const renderTooltipContent = ({
122
122
  <Text
123
123
  typography={'header_s_semibold'}
124
124
  color={Colors.black_01}
125
+ style={styles.title}
125
126
  >
126
127
  {title}
127
128
  </Text>
@@ -130,7 +131,7 @@ export const renderTooltipContent = ({
130
131
  <Text
131
132
  typography={'description_default_regular'}
132
133
  color={Colors.black_01}
133
- style={title ? styles.description : undefined}
134
+ style={styles.description}
134
135
  >
135
136
  {description}
136
137
  </Text>
package/styles.ts CHANGED
@@ -22,11 +22,13 @@ export default StyleSheet.create({
22
22
  content: {
23
23
  flexDirection: 'column',
24
24
  },
25
+ title: {
26
+ marginBottom: Spacing.XS,
27
+ },
25
28
  description: {
26
- marginTop: Spacing.XS,
29
+ marginBottom: Spacing.M,
27
30
  },
28
31
  buttonsRow: {
29
- marginTop: Spacing.M,
30
32
  flexDirection: 'row',
31
33
  flexWrap: 'wrap',
32
34
  justifyContent: 'flex-end',