@swan-io/lake 2.7.11 → 2.7.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
|
@@ -10,6 +10,10 @@ import { ResponsiveContainer } from "./ResponsiveContainer";
|
|
|
10
10
|
import { Line, Svg } from "./Svg";
|
|
11
11
|
import { TransitionView } from "./TransitionView";
|
|
12
12
|
const styles = StyleSheet.create({
|
|
13
|
+
container: {
|
|
14
|
+
flexGrow: 1,
|
|
15
|
+
flexShrink: 1,
|
|
16
|
+
},
|
|
13
17
|
input: {
|
|
14
18
|
transition: "300ms ease-in-out border-color",
|
|
15
19
|
// ResponsiveContainer uses a 200 breaking,
|
|
@@ -98,7 +102,7 @@ export const LakeSearchField = ({ initialValue, placeholder, onChangeText, debou
|
|
|
98
102
|
currentValue,
|
|
99
103
|
renderEnd,
|
|
100
104
|
};
|
|
101
|
-
return (_jsx(ResponsiveContainer, { breakpoint: 200, style: maxWidth != null && { maxWidth }, children: ({ large }) => {
|
|
105
|
+
return (_jsx(ResponsiveContainer, { breakpoint: 200, style: [styles.container, maxWidth != null && { maxWidth }], children: ({ large }) => {
|
|
102
106
|
const Component = large ? ExpandedSearchField : CollapsibleSeachField;
|
|
103
107
|
return _jsx(Component, { ...props });
|
|
104
108
|
} }));
|