@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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swan-io/lake",
3
- "version": "2.7.11",
3
+ "version": "2.7.13",
4
4
  "engines": {
5
5
  "node": ">=18.0.0",
6
6
  "yarn": "^1.22.0"
@@ -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
  } }));
@@ -19,9 +19,9 @@ const styles = StyleSheet.create({
19
19
  },
20
20
  container: {
21
21
  flexGrow: 1,
22
+ flexShrink: 1,
22
23
  flexDirection: "row",
23
24
  alignItems: "stretch",
24
- width: "100%",
25
25
  },
26
26
  contents: {
27
27
  flexGrow: 1,