@swan-io/lake 4.8.0 → 4.9.0

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": "4.8.0",
3
+ "version": "4.9.0",
4
4
  "engines": {
5
5
  "node": ">=18.0.0",
6
6
  "yarn": "^1.22.0"
@@ -27,12 +27,12 @@
27
27
  "license": "MIT",
28
28
  "dependencies": {
29
29
  "@popperjs/core": "^2.11.8",
30
- "@react-three/drei": "^9.94.1",
31
- "@react-three/fiber": "^8.15.14",
30
+ "@react-three/drei": "^9.97.5",
31
+ "@react-three/fiber": "^8.15.16",
32
32
  "@swan-io/boxed": "^2.0.0",
33
33
  "@swan-io/chicane": "^1.4.1",
34
34
  "dayjs": "^1.11.10",
35
- "polished": "^4.2.2",
35
+ "polished": "^4.3.1",
36
36
  "prism-react-renderer": "^2.3.1",
37
37
  "react": "^18.2.0",
38
38
  "react-atomic-state": "^2.0.0",
@@ -41,19 +41,19 @@
41
41
  "react-popper": "^2.3.0",
42
42
  "react-ux-form": "^1.5.0",
43
43
  "rifm": "^0.12.1",
44
- "three": "^0.160.0",
44
+ "three": "^0.161.0",
45
45
  "ts-dedent": "^2.2.0",
46
46
  "ts-pattern": "^5.0.6",
47
47
  "urql": "^4.0.6",
48
48
  "uuid": "^9.0.1"
49
49
  },
50
50
  "devDependencies": {
51
- "@types/react": "^18.2.48",
52
- "@types/react-dom": "^18.2.18",
51
+ "@types/react": "^18.2.55",
52
+ "@types/react-dom": "^18.2.19",
53
53
  "@types/react-native": "^0.72.8",
54
- "@types/three": "^0.160.0",
55
- "@types/uuid": "^9.0.7",
54
+ "@types/three": "^0.161.2",
55
+ "@types/uuid": "^9.0.8",
56
56
  "jsdom": "^23.2.0",
57
- "type-fest": "^4.9.0"
57
+ "type-fest": "^4.10.2"
58
58
  }
59
59
  }
@@ -15,8 +15,6 @@ export type LakeTagInputProps = Merge<TextInputProps, {
15
15
  placeholder?: string;
16
16
  }>;
17
17
  export declare const LakeTagInput: import("react").ForwardRefExoticComponent<{
18
- values: string[];
19
- onValuesChanged: (values: string[]) => void;
20
18
  allowFontScaling?: boolean | undefined;
21
19
  autoCapitalize?: "none" | "sentences" | "words" | "characters" | undefined;
22
20
  autoCorrect?: boolean | undefined;
@@ -52,7 +50,7 @@ export declare const LakeTagInput: import("react").ForwardRefExoticComponent<{
52
50
  end?: number | undefined;
53
51
  } | undefined;
54
52
  selectionColor?: import("react-native").ColorValue | undefined;
55
- style?: false | import("react-native").TextStyle | import("react-native").RegisteredStyle<import("react-native").TextStyle> | import("react-native").RecursiveArray<import("react-native").TextStyle | import("react-native").Falsy | import("react-native").RegisteredStyle<import("react-native").TextStyle>> | null | undefined;
53
+ style?: import("react-native").StyleProp<import("react-native").TextStyle>;
56
54
  textAlign?: "left" | "right" | "center" | undefined;
57
55
  testID?: string | undefined;
58
56
  inputAccessoryViewID?: string | undefined;
@@ -61,10 +59,10 @@ export declare const LakeTagInput: import("react").ForwardRefExoticComponent<{
61
59
  role?: import("react-native").WebRole | undefined;
62
60
  lang?: string | undefined;
63
61
  initialValue?: string | undefined;
64
- autoComplete?: "name" | "email" | "off" | "url" | "tel" | "additional-name" | "address-level1" | "address-level2" | "address-level3" | "address-level4" | "address-line1" | "address-line2" | "address-line3" | "bday" | "bday-day" | "bday-month" | "bday-year" | "cc-additional-name" | "cc-csc" | "cc-exp" | "cc-exp-month" | "cc-exp-year" | "cc-family-name" | "cc-given-name" | "cc-name" | "cc-number" | "cc-type" | "country" | "country-name" | "current-password" | "family-name" | "given-name" | "honorific-prefix" | "honorific-suffix" | "impp" | "language" | "new-password" | "nickname" | "on" | "one-time-code" | "organization" | "organization-title" | "postal-code" | "sex" | "street-address" | "tel-area-code" | "tel-country-code" | "tel-extension" | "tel-local" | "tel-national" | "transaction-amount" | "transaction-currency" | "username" | undefined;
62
+ autoComplete?: "name" | "email" | "off" | "tel" | "url" | "additional-name" | "address-level1" | "address-level2" | "address-level3" | "address-level4" | "address-line1" | "address-line2" | "address-line3" | "bday" | "bday-day" | "bday-month" | "bday-year" | "cc-additional-name" | "cc-csc" | "cc-exp" | "cc-exp-month" | "cc-exp-year" | "cc-family-name" | "cc-given-name" | "cc-name" | "cc-number" | "cc-type" | "country" | "country-name" | "current-password" | "family-name" | "given-name" | "honorific-prefix" | "honorific-suffix" | "impp" | "language" | "new-password" | "nickname" | "on" | "one-time-code" | "organization" | "organization-title" | "postal-code" | "sex" | "street-address" | "tel-area-code" | "tel-country-code" | "tel-extension" | "tel-local" | "tel-national" | "transaction-amount" | "transaction-currency" | "username" | undefined;
65
63
  enterKeyHint?: "enter" | "search" | "done" | "next" | "go" | "send" | "previous" | undefined;
66
64
  rows?: number | undefined;
67
- children?: string | number | boolean | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | import("react").ReactPortal | null | undefined;
65
+ children?: import("react").ReactNode;
68
66
  hitSlop?: import("react-native").Insets | undefined;
69
67
  id?: string | undefined;
70
68
  onLayout?: ((event: import("react-native").LayoutChangeEvent) => void) | undefined;
@@ -215,5 +213,7 @@ export declare const LakeTagInput: import("react").ForwardRefExoticComponent<{
215
213
  validateOnBlur?: boolean | undefined;
216
214
  help?: string | undefined;
217
215
  validator?: ((value: string) => boolean) | undefined;
216
+ values: string[];
217
+ onValuesChanged: (values: string[]) => void;
218
218
  placeholder?: string | undefined;
219
219
  } & import("react").RefAttributes<TextInput | null>>;
@@ -72,7 +72,7 @@ export declare const LakeTextInput: import("react").ForwardRefExoticComponent<{
72
72
  role?: import("react-native").WebRole | undefined;
73
73
  lang?: string | undefined;
74
74
  initialValue?: string | undefined;
75
- autoComplete?: "name" | "email" | "off" | "url" | "tel" | "additional-name" | "address-level1" | "address-level2" | "address-level3" | "address-level4" | "address-line1" | "address-line2" | "address-line3" | "bday" | "bday-day" | "bday-month" | "bday-year" | "cc-additional-name" | "cc-csc" | "cc-exp" | "cc-exp-month" | "cc-exp-year" | "cc-family-name" | "cc-given-name" | "cc-name" | "cc-number" | "cc-type" | "country" | "country-name" | "current-password" | "family-name" | "given-name" | "honorific-prefix" | "honorific-suffix" | "impp" | "language" | "new-password" | "nickname" | "on" | "one-time-code" | "organization" | "organization-title" | "postal-code" | "sex" | "street-address" | "tel-area-code" | "tel-country-code" | "tel-extension" | "tel-local" | "tel-national" | "transaction-amount" | "transaction-currency" | "username" | undefined;
75
+ autoComplete?: "name" | "email" | "off" | "tel" | "url" | "additional-name" | "address-level1" | "address-level2" | "address-level3" | "address-level4" | "address-line1" | "address-line2" | "address-line3" | "bday" | "bday-day" | "bday-month" | "bday-year" | "cc-additional-name" | "cc-csc" | "cc-exp" | "cc-exp-month" | "cc-exp-year" | "cc-family-name" | "cc-given-name" | "cc-name" | "cc-number" | "cc-type" | "country" | "country-name" | "current-password" | "family-name" | "given-name" | "honorific-prefix" | "honorific-suffix" | "impp" | "language" | "new-password" | "nickname" | "on" | "one-time-code" | "organization" | "organization-title" | "postal-code" | "sex" | "street-address" | "tel-area-code" | "tel-country-code" | "tel-extension" | "tel-local" | "tel-national" | "transaction-amount" | "transaction-currency" | "username" | undefined;
76
76
  enterKeyHint?: "enter" | "search" | "done" | "next" | "go" | "send" | "previous" | undefined;
77
77
  rows?: number | undefined;
78
78
  readOnly?: boolean | undefined;
@@ -128,7 +128,7 @@ export declare const PressableText: FC<{
128
128
  "aria-rowspan"?: number | undefined;
129
129
  "aria-setsize"?: number | undefined;
130
130
  "aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
131
- children?: string | number | boolean | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | import("react").ReactPortal | ((state: PressableStateCallbackType) => ReactNode) | null | undefined;
131
+ children?: ReactNode | ((state: PressableStateCallbackType) => ReactNode);
132
132
  delayLongPress?: number | undefined;
133
133
  delayPressIn?: number | undefined;
134
134
  delayPressOut?: number | undefined;
@@ -145,7 +145,7 @@ export declare const PressableText: FC<{
145
145
  onPressIn?: PressResponderConfig["onPressStart"];
146
146
  onPressMove?: PressResponderConfig["onPressMove"];
147
147
  onPressOut?: PressResponderConfig["onPressEnd"];
148
- style?: false | import("react-native").TextStyle | import("react-native").RegisteredStyle<import("react-native").TextStyle> | import("react-native").RecursiveArray<import("react-native").TextStyle | import("react-native").Falsy | import("react-native").RegisteredStyle<import("react-native").TextStyle>> | ((state: PressableStateCallbackType) => import("react-native").StyleProp<import("react-native").TextStyle>) | null | undefined;
148
+ style?: import("react-native").StyleProp<import("react-native").TextStyle> | ((state: PressableStateCallbackType) => import("react-native").StyleProp<import("react-native").TextStyle>);
149
149
  testOnly_hovered?: boolean | undefined;
150
150
  testOnly_pressed?: boolean | undefined;
151
151
  } & {
@@ -190,7 +190,7 @@ export declare const PressableTextInput: FC<{
190
190
  role?: import("react-native").WebRole | undefined;
191
191
  lang?: string | undefined;
192
192
  initialValue?: string | undefined;
193
- autoComplete?: "name" | "email" | "off" | "url" | "tel" | "additional-name" | "address-level1" | "address-level2" | "address-level3" | "address-level4" | "address-line1" | "address-line2" | "address-line3" | "bday" | "bday-day" | "bday-month" | "bday-year" | "cc-additional-name" | "cc-csc" | "cc-exp" | "cc-exp-month" | "cc-exp-year" | "cc-family-name" | "cc-given-name" | "cc-name" | "cc-number" | "cc-type" | "country" | "country-name" | "current-password" | "family-name" | "given-name" | "honorific-prefix" | "honorific-suffix" | "impp" | "language" | "new-password" | "nickname" | "on" | "one-time-code" | "organization" | "organization-title" | "postal-code" | "sex" | "street-address" | "tel-area-code" | "tel-country-code" | "tel-extension" | "tel-local" | "tel-national" | "transaction-amount" | "transaction-currency" | "username" | undefined;
193
+ autoComplete?: "name" | "email" | "off" | "tel" | "url" | "additional-name" | "address-level1" | "address-level2" | "address-level3" | "address-level4" | "address-line1" | "address-line2" | "address-line3" | "bday" | "bday-day" | "bday-month" | "bday-year" | "cc-additional-name" | "cc-csc" | "cc-exp" | "cc-exp-month" | "cc-exp-year" | "cc-family-name" | "cc-given-name" | "cc-name" | "cc-number" | "cc-type" | "country" | "country-name" | "current-password" | "family-name" | "given-name" | "honorific-prefix" | "honorific-suffix" | "impp" | "language" | "new-password" | "nickname" | "on" | "one-time-code" | "organization" | "organization-title" | "postal-code" | "sex" | "street-address" | "tel-area-code" | "tel-country-code" | "tel-extension" | "tel-local" | "tel-national" | "transaction-amount" | "transaction-currency" | "username" | undefined;
194
194
  enterKeyHint?: "enter" | "search" | "done" | "next" | "go" | "send" | "previous" | undefined;
195
195
  rows?: number | undefined;
196
196
  readOnly?: boolean | undefined;
@@ -349,7 +349,7 @@ export declare const PressableTextInput: FC<{
349
349
  onPressIn?: PressResponderConfig["onPressStart"];
350
350
  onPressMove?: PressResponderConfig["onPressMove"];
351
351
  onPressOut?: PressResponderConfig["onPressEnd"];
352
- style?: false | import("react-native").TextStyle | import("react-native").RegisteredStyle<import("react-native").TextStyle> | import("react-native").RecursiveArray<import("react-native").TextStyle | import("react-native").Falsy | import("react-native").RegisteredStyle<import("react-native").TextStyle>> | ((state: PressableStateCallbackType) => import("react-native").StyleProp<import("react-native").TextStyle>) | null | undefined;
352
+ style?: import("react-native").StyleProp<import("react-native").TextStyle> | ((state: PressableStateCallbackType) => import("react-native").StyleProp<import("react-native").TextStyle>);
353
353
  testOnly_hovered?: boolean | undefined;
354
354
  testOnly_pressed?: boolean | undefined;
355
355
  } & {