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