@proulr/sdui-components 0.1.7 → 0.1.8

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": "@proulr/sdui-components",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "main": "./src/renderer/index.ts",
5
5
  "types": "./src/renderer/index.ts",
6
6
  "exports": {
@@ -50,10 +50,10 @@ export function FloatingCreateMenu({
50
50
  pressed && { opacity: 0.9 },
51
51
  ]}
52
52
  >
53
- <Text style={[styles.mainFabGlyph, open && styles.mainFabGlyphOpen]}>{open ? '\u2715' : '+'}</Text>
53
+ <Text style={[styles.mainFabGlyph]}>{open ? '\u2715' : '\u002B'}</Text>
54
54
  </Pressable>
55
55
 
56
- <Modal visible={open} transparent animationType="fade" onRequestClose={close}>
56
+ <Modal visible={open} animationType="fade" onRequestClose={close}>
57
57
  <View style={styles.overlay}>
58
58
  <Pressable style={styles.backdrop} onPress={close} accessibilityLabel="Fechar menu" />
59
59
 
@@ -115,18 +115,12 @@ const styles = StyleSheet.create({
115
115
  color: m3Colors.onSecondary,
116
116
  fontSize: 30,
117
117
  fontFamily: fonts.bold,
118
- marginTop: -2,
119
- },
120
- mainFabGlyphOpen: {
121
- color: m3Colors.onSurface,
122
- fontSize: 22,
123
118
  },
124
119
  overlay: {
125
120
  flex: 1,
126
121
  },
127
122
  backdrop: {
128
123
  ...StyleSheet.absoluteFill,
129
- backgroundColor: m3Colors.scrim,
130
124
  },
131
125
  stack: {
132
126
  position: 'absolute',