@swan-io/lake 3.4.0 → 4.0.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": "3.4.0",
3
+ "version": "4.0.0",
4
4
  "engines": {
5
5
  "node": ">=18.0.0",
6
6
  "yarn": "^1.22.0"
@@ -1,7 +1,6 @@
1
1
  import { Future, Result } from "@swan-io/boxed";
2
2
  import { MutableRefObject, ReactNode } from "react";
3
3
  type Suggestion<T> = {
4
- id: string;
5
4
  title: string;
6
5
  subtitle: string;
7
6
  value: T;
@@ -17,7 +16,7 @@ type Props<T> = {
17
16
  emptyResultText: string;
18
17
  ListFooterComponent?: ReactNode;
19
18
  shouldDisplaySuggestions?: boolean;
20
- loadSuggestions: (value: string) => Future<Result<Suggestion<T>[], unknown>>;
19
+ loadSuggestions?: (value: string) => Future<Result<Suggestion<T>[], unknown>>;
21
20
  onSuggestion: (suggestion: Suggestion<T>) => void;
22
21
  onLoadError?: (error: unknown) => void;
23
22
  };
@@ -9,7 +9,7 @@ import { Separator } from "./Separator";
9
9
  export const AutocompleteSearchInput = ({ inputRef, value, onValueChange, disabled, id, placeholder, error, emptyResultText, ListFooterComponent, shouldDisplaySuggestions = true, loadSuggestions, onSuggestion, onLoadError, }) => {
10
10
  const [state, setState] = useState(AsyncData.NotAsked());
11
11
  const lastRequest = useRef();
12
- return (_jsx(LakeCombobox, { inputRef: inputRef, id: id, placeholder: placeholder, value: value ?? "", items: state, icon: "search-filled", disabled: disabled, error: error, ListFooterComponent: ListFooterComponent != null && (_jsxs(_Fragment, { children: [match(state)
12
+ return (_jsx(LakeCombobox, { inputRef: inputRef, id: id, placeholder: placeholder, value: value ?? "", items: state, icon: loadSuggestions != null ? "search-filled" : undefined, disabled: disabled, error: error, ListFooterComponent: ListFooterComponent != null && (_jsxs(_Fragment, { children: [match(state)
13
13
  .with(AsyncData.P.Done(Result.P.Ok(P.select())), suggestions => suggestions.length > 0 ? _jsx(Separator, {}) : null)
14
14
  .otherwise(() => null), ListFooterComponent] })), onSelectItem: item => {
15
15
  onSuggestion(item);
@@ -20,12 +20,14 @@ export const AutocompleteSearchInput = ({ inputRef, value, onValueChange, disabl
20
20
  if (value.length <= 3 || !shouldDisplaySuggestions) {
21
21
  return setState(AsyncData.NotAsked());
22
22
  }
23
- setState(AsyncData.Loading());
24
- const request = loadSuggestions(value);
25
- lastRequest.current = request;
26
- if (onLoadError != null) {
27
- request.tapError(onLoadError);
23
+ if (loadSuggestions != null) {
24
+ setState(AsyncData.Loading());
25
+ const request = loadSuggestions(value);
26
+ lastRequest.current = request;
27
+ if (onLoadError != null) {
28
+ request.tapError(onLoadError);
29
+ }
30
+ request.onResolve(value => setState(AsyncData.Done(value)));
28
31
  }
29
- request.onResolve(value => setState(AsyncData.Done(value)));
30
- }, keyExtractor: item => item.id, emptyResultText: emptyResultText, renderItem: item => (_jsxs(_Fragment, { children: [_jsx(LakeText, { numberOfLines: 1, selectable: false, color: colors.gray[900], children: item.title }), _jsx(LakeText, { numberOfLines: 1, selectable: false, variant: "smallRegular", children: item.subtitle })] })) }));
32
+ }, keyExtractor: item => `${item.title} ${item.subtitle}`, emptyResultText: emptyResultText, renderItem: item => (_jsxs(_Fragment, { children: [_jsx(LakeText, { numberOfLines: 1, selectable: false, color: colors.gray[900], children: item.title }), _jsx(LakeText, { numberOfLines: 1, selectable: false, variant: "smallRegular", children: item.subtitle })] })) }));
31
33
  };
@@ -11,6 +11,7 @@ declare const paths: {
11
11
  "lake-card-recurring": string;
12
12
  "lake-card-single-use": string;
13
13
  "lake-card-virtual": string;
14
+ "lake-check": string;
14
15
  "lake-chevron-double": string;
15
16
  "lake-clipboard-bullet": string;
16
17
  "lake-clock": string;
@@ -35,6 +36,7 @@ declare const paths: {
35
36
  "lake-settings": string;
36
37
  "lake-signature": string;
37
38
  "lake-transfer": string;
39
+ "lake-warning": string;
38
40
  "lake-world-map": string;
39
41
  "add-circle-filled": string;
40
42
  "add-circle-regular": string;
@@ -229,7 +229,7 @@ export declare const LakeTextInput: import("react").ForwardRefExoticComponent<{
229
229
  disabled?: boolean | undefined;
230
230
  color?: "gray" | "live" | "sandbox" | "positive" | "warning" | "negative" | "current" | "partner" | "swan" | "shakespear" | "darkPink" | "sunglow" | "mediumSladeBlue" | undefined;
231
231
  multiline?: boolean | undefined;
232
- icon?: "lake-building-bank" | "lake-calendar-arrow-swap" | "lake-card" | "lake-card-add" | "lake-card-filled" | "lake-card-one-off" | "lake-card-physical" | "lake-card-recurring" | "lake-card-single-use" | "lake-card-virtual" | "lake-chevron-double" | "lake-clipboard-bullet" | "lake-clock" | "lake-clock-arrow-swap" | "lake-close" | "lake-currencies" | "lake-delivery-grouped" | "lake-delivery-individual" | "lake-document-csv" | "lake-document-jpg" | "lake-document-pdf" | "lake-document-png" | "lake-document-xls" | "lake-email" | "lake-id-card" | "lake-inbox-empty" | "lake-menu" | "lake-people" | "lake-person-arrow-swap" | "lake-phone" | "lake-receipt" | "lake-settings" | "lake-signature" | "lake-transfer" | "lake-world-map" | "add-circle-filled" | "add-circle-regular" | "add-filled" | "approvals-app-filled" | "apps-list-filled" | "apps-list-regular" | "arrow-counterclockwise-filled" | "arrow-clockwise-filled" | "arrow-down-filled" | "arrow-down-regular" | "arrow-download-filled" | "arrow-left-filled" | "arrow-left-regular" | "arrow-right-filled" | "arrow-right-regular" | "arrow-swap-filled" | "arrow-swap-regular" | "arrow-up-filled" | "arrow-up-regular" | "arrow-upload-filled" | "arrow-upload-regular" | "beaker-filled" | "beaker-regular" | "board-filled" | "board-regular" | "box-regular" | "building-bank-filled" | "building-bank-regular" | "building-filled" | "building-multiple-regular" | "building-regular" | "building-shop-regular" | "calendar-ltr-regular" | "cart-regular" | "chat-help-filled" | "chat-help-regular" | "check-filled" | "check-regular" | "checkmark-circle-regular" | "checkmark-filled" | "chevron-down-filled" | "chevron-left-filled" | "chevron-right-filled" | "chevron-up-down-regular" | "chevron-up-filled" | "clipboard-search-regular" | "clock-filled" | "clock-regular" | "cloud-sync-filled" | "cloud-sync-regular" | "code-filled" | "code-regular" | "color-regular" | "comment-note-regular" | "copy-filled" | "copy-regular" | "cursor-click-regular" | "database-filled" | "database-regular" | "delete-filled" | "delete-regular" | "desktop-regular" | "device-meeting-room-regular" | "dismiss-circle-regular" | "dismiss-filled" | "dismiss-regular" | "document-regular" | "earth-regular" | "edit-filled" | "edit-regular" | "error-circle-filled" | "error-circle-regular" | "eye-filled" | "eye-off-filled" | "eye-regular" | "filter-filled" | "flag-filled" | "flag-regular" | "flash-filled" | "flash-regular" | "form-new-filled" | "form-new-regular" | "hand-right-regular" | "image-add-filled" | "image-add-regular" | "image-filled" | "image-regular" | "info-filled" | "info-regular" | "key-regular" | "link-filled" | "live-filled" | "live-regular" | "lock-closed-filled" | "lock-closed-regular" | "lock-open-filled" | "lock-open-regular" | "mail-filled" | "mail-regular" | "money-regular" | "more-horizontal-filled" | "more-vertical-filled" | "open-filled" | "open-regular" | "options-regular" | "paint-brush-filled" | "paint-brush-regular" | "pause-regular" | "payment-filled" | "payment-regular" | "people-add-regular" | "people-community-filled" | "people-community-regular" | "people-filled" | "people-regular" | "people-team-regular" | "person-accounts-filled" | "person-accounts-regular" | "person-add-regular" | "person-call-filled" | "person-call-regular" | "person-filled" | "person-lock-regular" | "person-regular" | "phone-filled" | "phone-regular" | "pin-regular" | "play-filled" | "play-regular" | "preview-link-filled" | "qr-code-regular" | "question-circle-regular" | "receipt-money-filled" | "receipt-money-regular" | "rocket-regular" | "search-filled" | "send-filled" | "send-regular" | "settings-filled" | "settings-regular" | "shield-checkmark-filled" | "shield-checkmark-regular" | "shield-error-regular" | "shield-regular" | "sign-out-regular" | "signature-filled" | "signature-regular" | "subtract-circle-filled" | "subtract-circle-regular" | "target-arrow-regular" | "task-list-square-ltr-filled" | "task-list-square-ltr-regular" | "warning-filled" | "warning-regular" | "window-dev-tools-filled" | "window-dev-tools-regular" | undefined;
232
+ icon?: "lake-building-bank" | "lake-calendar-arrow-swap" | "lake-card" | "lake-card-add" | "lake-card-filled" | "lake-card-one-off" | "lake-card-physical" | "lake-card-recurring" | "lake-card-single-use" | "lake-card-virtual" | "lake-check" | "lake-chevron-double" | "lake-clipboard-bullet" | "lake-clock" | "lake-clock-arrow-swap" | "lake-close" | "lake-currencies" | "lake-delivery-grouped" | "lake-delivery-individual" | "lake-document-csv" | "lake-document-jpg" | "lake-document-pdf" | "lake-document-png" | "lake-document-xls" | "lake-email" | "lake-id-card" | "lake-inbox-empty" | "lake-menu" | "lake-people" | "lake-person-arrow-swap" | "lake-phone" | "lake-receipt" | "lake-settings" | "lake-signature" | "lake-transfer" | "lake-warning" | "lake-world-map" | "add-circle-filled" | "add-circle-regular" | "add-filled" | "approvals-app-filled" | "apps-list-filled" | "apps-list-regular" | "arrow-counterclockwise-filled" | "arrow-clockwise-filled" | "arrow-down-filled" | "arrow-down-regular" | "arrow-download-filled" | "arrow-left-filled" | "arrow-left-regular" | "arrow-right-filled" | "arrow-right-regular" | "arrow-swap-filled" | "arrow-swap-regular" | "arrow-up-filled" | "arrow-up-regular" | "arrow-upload-filled" | "arrow-upload-regular" | "beaker-filled" | "beaker-regular" | "board-filled" | "board-regular" | "box-regular" | "building-bank-filled" | "building-bank-regular" | "building-filled" | "building-multiple-regular" | "building-regular" | "building-shop-regular" | "calendar-ltr-regular" | "cart-regular" | "chat-help-filled" | "chat-help-regular" | "check-filled" | "check-regular" | "checkmark-circle-regular" | "checkmark-filled" | "chevron-down-filled" | "chevron-left-filled" | "chevron-right-filled" | "chevron-up-down-regular" | "chevron-up-filled" | "clipboard-search-regular" | "clock-filled" | "clock-regular" | "cloud-sync-filled" | "cloud-sync-regular" | "code-filled" | "code-regular" | "color-regular" | "comment-note-regular" | "copy-filled" | "copy-regular" | "cursor-click-regular" | "database-filled" | "database-regular" | "delete-filled" | "delete-regular" | "desktop-regular" | "device-meeting-room-regular" | "dismiss-circle-regular" | "dismiss-filled" | "dismiss-regular" | "document-regular" | "earth-regular" | "edit-filled" | "edit-regular" | "error-circle-filled" | "error-circle-regular" | "eye-filled" | "eye-off-filled" | "eye-regular" | "filter-filled" | "flag-filled" | "flag-regular" | "flash-filled" | "flash-regular" | "form-new-filled" | "form-new-regular" | "hand-right-regular" | "image-add-filled" | "image-add-regular" | "image-filled" | "image-regular" | "info-filled" | "info-regular" | "key-regular" | "link-filled" | "live-filled" | "live-regular" | "lock-closed-filled" | "lock-closed-regular" | "lock-open-filled" | "lock-open-regular" | "mail-filled" | "mail-regular" | "money-regular" | "more-horizontal-filled" | "more-vertical-filled" | "open-filled" | "open-regular" | "options-regular" | "paint-brush-filled" | "paint-brush-regular" | "pause-regular" | "payment-filled" | "payment-regular" | "people-add-regular" | "people-community-filled" | "people-community-regular" | "people-filled" | "people-regular" | "people-team-regular" | "person-accounts-filled" | "person-accounts-regular" | "person-add-regular" | "person-call-filled" | "person-call-regular" | "person-filled" | "person-lock-regular" | "person-regular" | "phone-filled" | "phone-regular" | "pin-regular" | "play-filled" | "play-regular" | "preview-link-filled" | "qr-code-regular" | "question-circle-regular" | "receipt-money-filled" | "receipt-money-regular" | "rocket-regular" | "search-filled" | "send-filled" | "send-regular" | "settings-filled" | "settings-regular" | "shield-checkmark-filled" | "shield-checkmark-regular" | "shield-error-regular" | "shield-regular" | "sign-out-regular" | "signature-filled" | "signature-regular" | "subtract-circle-filled" | "subtract-circle-regular" | "target-arrow-regular" | "task-list-square-ltr-filled" | "task-list-square-ltr-regular" | "warning-filled" | "warning-regular" | "window-dev-tools-filled" | "window-dev-tools-regular" | undefined;
233
233
  unit?: string | undefined;
234
234
  units?: string[] | undefined;
235
235
  inputMode?: TextInputProps["inputMode"];
@@ -9,6 +9,7 @@
9
9
  "lake-card-recurring": "M2.68 9.537h18.64V16.5c0 .768-.623 1.391-1.392 1.391h-5.852a5.137 5.137 0 0 1-.017.646h5.87a2.037 2.037 0 0 0 2.037-2.037V6.643a2.037 2.037 0 0 0-2.038-2.037H4.072a2.037 2.037 0 0 0-2.037 2.037V16.5c0 1.125.912 2.037 2.037 2.037h.11a5.02 5.02 0 0 1-.018-.646h-.092A1.391 1.391 0 0 1 2.68 16.5V9.537Zm0-.646V6.643c0-.769.623-1.392 1.391-1.392h15.857c.769 0 1.392.623 1.392 1.392V8.89H2.68Zm13.177 5.486a.451.451 0 0 0 0 .903h2.571a.451.451 0 1 0 0-.903h-2.571Z M9.12 21.593a3.513 3.513 0 0 0 3.494-3.883c-.017-.162.105-.31.267-.31.152 0 .282.11.298.26a4.08 4.08 0 1 1-1.225-2.516v-.634a.283.283 0 1 1 .566 0v1.473a.283.283 0 0 1-.283.284h-1.474a.283.283 0 0 1 0-.567h.941a3.513 3.513 0 1 0-2.584 5.893Z M9.118 15.614a.283.283 0 0 0-.565.03v2.72l.002.028a.283.283 0 0 0 .282.255h1.813l.029-.002a.283.283 0 0 0-.03-.565H9.12V15.614Z",
10
10
  "lake-card-single-use": "M2.726 9.571h18.64v6.963c0 .769-.623 1.392-1.392 1.392h-8.926l-.594.645h9.52a2.037 2.037 0 0 0 2.038-2.037V6.677a2.037 2.037 0 0 0-2.038-2.037H4.117A2.037 2.037 0 0 0 2.08 6.677v9.857c0 1.125.912 2.037 2.037 2.037h.317a1.061 1.061 0 0 1-.02-.645h-.297a1.391 1.391 0 0 1-1.391-1.392V9.571Zm0-.645V6.677c0-.768.623-1.391 1.391-1.391h15.857c.769 0 1.392.623 1.392 1.391v2.249H2.726Zm13.177 5.485a.451.451 0 0 0 0 .903h2.571a.452.452 0 0 0 0-.903h-2.571ZM5.885 17.925H7.03a.312.312 0 0 1 .244.119.31.31 0 0 1 .056.265l-.576 2.307 3.667-3.99H8.947a.303.303 0 0 1-.113-.02.31.31 0 0 1-.175-.402l.793-2.017h-2.37l-1.197 3.738Zm5.469-1.398a.31.31 0 0 0-.228-.52H9.4l.793-2.017a.31.31 0 0 0-.288-.422h-3.05a.31.31 0 0 0-.295.215L5.167 18.14a.31.31 0 0 0 .295.404h1.172l-.776 3.101a.31.31 0 0 0 .528.285l4.968-5.403Z",
11
11
  "lake-card-virtual": "M15.75 2.416c1.013 0 1.834.821 1.834 1.834v15.5a1.834 1.834 0 0 1-1.834 1.834h-7.5a1.834 1.834 0 0 1-1.834-1.834V4.25c0-1.013.821-1.834 1.834-1.834h7.5Zm0 .668h-7.5c-.644 0-1.166.522-1.166 1.166v15.5c0 .644.522 1.166 1.166 1.166h7.5c.644 0 1.166-.522 1.166-1.166V4.25c0-.644-.522-1.166-1.166-1.166Zm-2.5 14.832a.334.334 0 0 1 0 .668l-2.5.004a.334.334 0 0 1 0-.668l2.5-.004Z",
12
+ "lake-check": "M6.664 18.256a.2.2 0 0 0 .283.01L22.866 3.183a.672.672 0 1 1 .924.976L7.234 19.845a.672.672 0 0 1-.954-.03L.18 13.28a.672.672 0 1 1 .984-.917l5.5 5.893Z",
12
13
  "lake-chevron-double": "M12.3 4.3a1 1 0 0 1 1.31-.09l.1.08 7 7a1 1 0 0 1 .08 1.32l-.08.1-7 7a1 1 0 0 1-1.5-1.33l.08-.09L18.6 12l-6.3-6.3a1 1 0 0 1 0-1.4Zm-7 0A1 1 0 0 1 6.6 4.2l.1.08 7 7a1 1 0 0 1 .08 1.32l-.08.1-7 7a1 1 0 0 1-1.5-1.33l.08-.09L11.6 12l-6.3-6.3a1 1 0 0 1 0-1.4Z",
13
14
  "lake-clipboard-bullet": "M11 9.8a.6.6 0 0 1 .6-.6h4.2a.6.6 0 0 1 0 1.2h-4.2a.6.6 0 0 1-.6-.6Zm0 3.6a.6.6 0 0 1 .6-.6h4.2a.6.6 0 0 1 0 1.2h-4.2a.6.6 0 0 1-.6-.6Zm0 3.6a.6.6 0 0 1 .6-.6h4.2a.6.6 0 0 1 0 1.2h-4.2a.6.6 0 0 1-.6-.6ZM9.8 9.8a.9.9 0 1 1-1.8 0 .9.9 0 0 1 1.8 0Zm0 3.6a.9.9 0 1 1-1.8 0 .9.9 0 0 1 1.8 0Zm-.9 4.5a.9.9 0 1 0 0-1.8.9.9 0 0 0 0 1.8ZM8.702 3.2A1.8 1.8 0 0 1 10.4 2H14c.784 0 1.45.5 1.698 1.2H17.6A1.8 1.8 0 0 1 19.4 5v14.4a1.8 1.8 0 0 1-1.8 1.8H6.8A1.8 1.8 0 0 1 5 19.4V5a1.8 1.8 0 0 1 1.8-1.8h1.902Zm1.698 0a.6.6 0 0 0 0 1.2H14a.6.6 0 0 0 0-1.2h-3.6ZM8.702 4.4H6.8a.6.6 0 0 0-.6.6v14.4a.6.6 0 0 0 .6.6h10.8a.6.6 0 0 0 .6-.6V5a.6.6 0 0 0-.6-.6h-1.902A1.8 1.8 0 0 1 14 5.6h-3.6a1.8 1.8 0 0 1-1.698-1.2Z",
14
15
  "lake-clock": "M11.84 12v.16h2.11a.33.33 0 110 .66h-2.44a.33.33 0 01-.33-.33v-3.9a.33.33 0 01.66 0V12zm6.84 0a6.68 6.68 0 11-13.36 0 6.68 6.68 0 0113.36 0zm-12.7 0a6.02 6.02 0 1012.04 0 6.02 6.02 0 00-12.04 0z",
@@ -33,5 +34,6 @@
33
34
  "lake-settings": "M11.887 5.5c.48.005.958.06 1.426.165a.49.49 0 0 1 .38.423l.112.996a.903.903 0 0 0 1.26.728l.915-.4a.491.491 0 0 1 .556.113 6.385 6.385 0 0 1 1.44 2.473.489.489 0 0 1-.176.539l-.812.597a.9.9 0 0 0 0 1.452l.812.597c.168.124.24.34.178.539a6.388 6.388 0 0 1-1.44 2.474.491.491 0 0 1-.555.114l-.92-.403a.904.904 0 0 0-1.259.727l-.11.995a.49.49 0 0 1-.374.422 6.235 6.235 0 0 1-2.88 0 .49.49 0 0 1-.374-.422l-.11-.994a.901.901 0 0 0-1.26-.724l-.918.402a.491.491 0 0 1-.555-.114 6.388 6.388 0 0 1-1.441-2.476.489.489 0 0 1 .178-.54l.812-.597a.9.9 0 0 0 0-1.452l-.812-.596a.489.489 0 0 1-.177-.539 6.385 6.385 0 0 1 1.44-2.474.491.491 0 0 1 .556-.113l.915.401a.908.908 0 0 0 1.262-.73l.111-.995a.49.49 0 0 1 .381-.424 7.027 7.027 0 0 1 1.439-.164Zm-.006.499a6.464 6.464 0 0 0-1.317.151l-.11.989a1.41 1.41 0 0 1-1.962 1.13l-.908-.397a5.887 5.887 0 0 0-1.322 2.27l.807.592a1.398 1.398 0 0 1 0 2.254l-.807.593a5.895 5.895 0 0 0 1.321 2.273l.913-.4a1.407 1.407 0 0 1 1.957 1.127l.11.989a5.77 5.77 0 0 0 2.633 0l.111-.99A1.4 1.4 0 0 1 14 15.523c.387-.223.857-.25 1.266-.07l.912.398a5.89 5.89 0 0 0 1.321-2.27l-.806-.593a1.398 1.398 0 0 1 0-2.255l.805-.593a5.887 5.887 0 0 0-1.322-2.268l-.907.396a1.409 1.409 0 0 1-1.96-1.129l-.112-.988A6.443 6.443 0 0 0 11.881 6Zm-.002 3.415a2.449 2.449 0 0 1 2.451 2.446 2.449 2.449 0 0 1-2.451 2.446 2.449 2.449 0 0 1-2.451-2.446 2.449 2.449 0 0 1 2.451-2.446Zm0 .498a1.946 1.946 0 0 0-1.95 1.948 1.946 1.946 0 0 0 1.95 1.948 1.946 1.946 0 0 0 1.95-1.948 1.946 1.946 0 0 0-1.95-1.948Z",
34
35
  "lake-signature": "M13.1314909,15.0428121 L13.2488,15.0419636 C13.7787879,15.0419636 14.0571879,15.2616485 14.4006545,15.7821333 L14.5716848,16.0463273 C14.7050182,16.2437091 14.7882424,16.3264 14.8930667,16.3696 C15.0810182,16.4470545 15.2367758,16.4089697 15.8087758,16.1335515 L15.983903,16.0483152 C16.3416485,15.8726788 16.5857697,15.7721212 16.8616,15.7031758 C17.0361212,15.6595394 17.2129939,15.7656485 17.2566303,15.9401939 C17.3002667,16.1147152 17.1941333,16.2915879 17.0196121,16.3352242 C16.8481697,16.3780848 16.6838788,16.4395636 16.4689697,16.5386182 L15.9657455,16.780703 C15.2847758,17.1022788 15.0538182,17.1405091 14.6448242,16.9719515 C14.3733333,16.8600485 14.2189576,16.6981818 13.9930424,16.3527758 L13.9084848,16.2207515 C13.6645091,15.8362909 13.5336242,15.7101576 13.3004121,15.6950303 L13.2488,15.6934545 C13.0106667,15.6934545 12.9635636,15.7231758 12.0584242,16.3949091 C11.3017212,16.9564606 10.7246061,17.2246788 9.99073939,17.2246788 C9.09604848,17.2246788 8.25301818,17.0603152 7.46414545,16.7317333 L8.71602424,16.442303 C9.12601212,16.5295758 9.55076364,16.5731879 9.99073939,16.5731879 C10.551297,16.5731879 11.0159515,16.3572121 11.6701818,15.8717333 L12.1740121,15.4999758 C12.7262061,15.0986182 12.8490424,15.0489212 13.1314909,15.0428121 Z M15.8665455,7.32048485 C16.5934545,8.0473697 16.5934545,9.22591515 15.8665939,9.95282424 L15.4168242,10.4026424 C15.9171636,11.0113455 15.8991515,11.6565091 15.4339636,12.1230545 L14.1305212,13.426497 C14.0032485,13.5536485 13.7969939,13.5535515 13.6698424,13.4262788 C13.5426909,13.2990061 13.5427879,13.0927515 13.6700606,12.9656 L14.9726061,11.6630545 C15.1832727,11.4517576 15.2076364,11.1894545 14.9552485,10.8645333 L10.3537939,15.4658909 C10.2242667,15.5954182 10.0609697,15.6859394 9.88249697,15.7271273 L7.2414303,16.3366061 C7.00686061,16.3907394 6.79665455,16.1805091 6.85076364,15.9459394 L7.46026667,13.3048485 C7.5014303,13.1264 7.59192727,12.963103 7.7214303,12.8336 L13.2342545,7.32050909 C13.9611152,6.5936 15.1396121,6.5936 15.8665455,7.32048485 Z M13.6949333,7.78118788 L8.18213333,13.2942545 C8.13895758,13.3374303 8.1088,13.3918545 8.09505455,13.4513455 L7.60278788,15.5845818 L9.736,15.0923152 C9.79549091,15.0785939 9.84993939,15.0484121 9.89309091,15.0052364 L15.4058909,9.4921697 C15.8783515,9.01968485 15.8783515,8.25364848 15.4058667,7.78116364 C14.9333818,7.30870303 14.1673697,7.30870303 13.6949333,7.78118788 Z",
35
36
  "lake-transfer": "M15.4569 8.95766L7.26978 8.95812C7.12807 8.95812 7.01016 8.85446 6.98841 8.71891L6.98486 8.66626C6.98814 8.52761 7.09064 8.41315 7.22399 8.39175L7.27785 8.38812L15.4583 8.38766L16.0379 8.38763L15.6279 7.97791L13.3752 5.72629C13.276 5.62709 13.2651 5.47254 13.343 5.36152L13.3805 5.31802C13.4799 5.22367 13.6309 5.21454 13.7399 5.29104L13.7911 5.33519L16.9248 8.46956C17.0239 8.56869 17.0348 8.7231 16.9571 8.83412L16.9188 8.87862L13.7785 12.0258C13.6673 12.1372 13.4868 12.1374 13.3754 12.0262C13.2761 11.9271 13.265 11.7726 13.3428 11.6615L13.3812 11.617L15.6267 9.36721L16.0356 8.95763L15.4569 8.95766ZM17.0126 15.2864L17.0152 15.3254C17.0152 15.4671 16.9115 15.585 16.776 15.6067L16.7221 15.6104L8.54299 15.6098L7.9633 15.6097L8.37331 16.0195L10.6281 18.2731C10.7274 18.3723 10.7383 18.5269 10.6605 18.6379L10.623 18.6814C10.5237 18.7758 10.3726 18.785 10.2636 18.7085L10.219 18.6702L7.07527 15.529C6.97602 15.4298 6.96508 15.2753 7.04292 15.1642L7.08131 15.1197L10.2251 11.9733C10.3364 11.862 10.5168 11.8619 10.6281 11.9731C10.7274 12.0723 10.7383 12.2269 10.6605 12.3379L10.6221 12.3824L8.376 14.6301L7.96669 15.0397L8.54575 15.0398L16.7302 15.0404C16.8742 15.0404 16.9937 15.1475 17.0126 15.2864Z",
37
+ "lake-warning": "M12 8.464c.299 0 .541.242.541.541v6.063a.541.541 0 0 1-1.082 0V9.005c0-.299.242-.54.541-.54Zm.92 10.014a.92.92 0 1 1-1.84 0 .92.92 0 0 1 1.84 0ZM10.198 2.066c.781-1.421 2.823-1.421 3.604 0l9.94 18.073c.754 1.37-.237 3.048-1.802 3.048H2.06c-1.565 0-2.556-1.678-1.802-3.048l9.94-18.073Zm2.656.521a.974.974 0 0 0-1.708 0L1.206 20.66a.974.974 0 0 0 .854 1.444h19.88a.974.974 0 0 0 .854-1.444l-9.94-18.073Z",
36
38
  "lake-world-map": "M12 23a11 11 0 1 1 0-22 11 11 0 0 1 0 22Zm-6.4-3.7c1.2 1.1 2.8 2 4.5 2.3-1-1-1.9-2.1-2.5-3.4-.8.3-1.5.7-2 1.1Zm11-1c-.7 1.2-1.5 2.3-2.5 3.2a9.8 9.8 0 0 0 4.4-2.2c-.6-.4-1.3-.8-2-1Zm-4-.8v3.7c1.1-1 2-2 2.7-3.3a13 13 0 0 0-2.7-.4Zm-3.8.3c.7 1.3 1.5 2.3 2.6 3.2v-3.5c-1 0-1.8.2-2.6.3Zm8.3-.7c.8.4 1.6.8 2.2 1.3a9.7 9.7 0 0 0 2.4-5.8h-3.6c-.1 1.6-.5 3.1-1 4.5ZM2.3 12.6c.1 2.2 1 4.2 2.4 5.8.6-.5 1.5-1 2.4-1.3-.6-1.4-1-3-1-4.5H2.3Zm10.3 3.6c1.2 0 2.3.3 3.3.5.5-1.2.8-2.6.9-4h-4.2v3.5Zm-5.2-3.6c0 1.4.3 2.8.9 4l3-.4v-3.6h-4ZM18 11.4h3.6c-.1-2.2-1-4.2-2.4-5.8-.6.5-1.4 1-2.2 1.3.5 1.4.9 2.9 1 4.5Zm-1.3 0c0-1.5-.4-2.9-1-4.1l-3.2.5v3.6h4.2Zm-9.4 0h4V7.8c-1.1 0-2.1-.2-3.1-.5-.5 1.3-.9 2.6-1 4Zm-5.1 0H6c0-1.6.4-3 1-4.5-1-.3-1.8-.8-2.4-1.3a9.7 9.7 0 0 0-2.4 5.8ZM8.8 6c.8.2 1.7.4 2.6.4V3c-1 .9-2 2-2.6 3.1ZM12.6 3v3.6c1 0 1.9-.2 2.7-.4-.7-1.2-1.6-2.3-2.7-3.2Zm-7 1.8c.5.4 1.2.8 2 1 .7-1.2 1.5-2.3 2.5-3.3a9.6 9.6 0 0 0-4.5 2.3ZM14 2.5c1 1 1.8 2 2.4 3.2a8 8 0 0 0 2-1A9.8 9.8 0 0 0 14 2.5Z"
37
39
  }