@tactics/toddle-styleguide 5.4.26 → 5.4.27

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": "@tactics/toddle-styleguide",
3
- "version": "5.4.26",
3
+ "version": "5.4.27",
4
4
  "main": "index.tsx",
5
5
  "types": "index.d.ts",
6
6
  "prepublish": "tsc",
@@ -45,7 +45,7 @@ export const Stylesheet = (Context, bold, textColor, textAlign) =>
45
45
  }
46
46
  : {
47
47
  ...Font.mediumBold,
48
- },
48
+ },
49
49
  ],
50
50
  allCaps: [
51
51
  {
@@ -61,10 +61,12 @@ const Button = ({
61
61
  />
62
62
  </View>
63
63
  ) : null}
64
- <View>
64
+ <View style={styles.iconGap}>
65
65
  <Heading4
66
66
  textAlign={'center'}
67
67
  textColor={disabled ? context.colors.ui.darkgrey : textColor}
68
+ numberOfLines={1}
69
+ ellipsizeMode={'tail'}
68
70
  >
69
71
  {label}
70
72
  </Heading4>
@@ -20,6 +20,8 @@ export const ChildListTag = ({label, isSelected}: ChildListTagProps) => {
20
20
  textColor={
21
21
  !isSelected ? context.colors.ui.darkgrey : context.colors.ui.white
22
22
  }
23
+ numberOfLines={1}
24
+ ellipsizeMode='tail'
23
25
  >
24
26
  {label}
25
27
  </TinyText>
@@ -57,12 +57,6 @@ export const JournalEntry = ({
57
57
  new Animated.Value(loadingNewEntry ? 0 : 0.5)
58
58
  ).current;
59
59
 
60
- if (Platform.OS === 'android') {
61
- if (UIManager.setLayoutAnimationEnabledExperimental) {
62
- UIManager.setLayoutAnimationEnabledExperimental(true);
63
- }
64
- }
65
-
66
60
  if (loadingNewEntry) {
67
61
  Animated.timing(animatedValue, {
68
62
  toValue: 0.5,