@swan-io/lake 8.10.3 → 8.10.4

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.
@@ -64,8 +64,8 @@ export declare const LakeTextInput: import("react").ForwardRefExoticComponent<{
64
64
  end?: number | undefined;
65
65
  } | undefined;
66
66
  selectionColor?: import("react-native").ColorValue | undefined;
67
- style?: import("react-native").StyleProp<import("react-native").TextStyle>;
68
- textAlign?: "left" | "right" | "center" | undefined;
67
+ style?: import("react-native").StyleProp<import("react-native").TextStyle> | undefined;
68
+ textAlign?: "left" | "center" | "right" | undefined;
69
69
  testID?: string | undefined;
70
70
  inputAccessoryViewID?: string | undefined;
71
71
  value?: string | undefined;
@@ -73,21 +73,21 @@ export declare const LakeTextInput: import("react").ForwardRefExoticComponent<{
73
73
  role?: import("react-native").WebRole | undefined;
74
74
  lang?: string | undefined;
75
75
  initialValue?: string | undefined;
76
- autoComplete?: "name" | "off" | "email" | "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;
77
- enterKeyHint?: "enter" | "search" | "done" | "go" | "next" | "send" | "previous" | undefined;
76
+ autoComplete?: ("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" | "email" | "family-name" | "given-name" | "honorific-prefix" | "honorific-suffix" | "impp" | "language" | "name" | "new-password" | "nickname" | "off" | "on" | "one-time-code" | "organization" | "organization-title" | "postal-code" | "sex" | "street-address" | "tel" | "tel-area-code" | "tel-country-code" | "tel-extension" | "tel-local" | "tel-national" | "transaction-amount" | "transaction-currency" | "url" | "username") | undefined;
77
+ enterKeyHint?: ("enter" | "done" | "go" | "next" | "previous" | "search" | "send") | undefined;
78
78
  rows?: number | undefined;
79
79
  readOnly?: boolean | undefined;
80
- children?: ReactNode;
80
+ children?: ReactNode | undefined;
81
81
  hitSlop?: import("react-native").Insets | undefined;
82
82
  id?: string | undefined;
83
83
  onLayout?: ((event: import("react-native").LayoutChangeEvent) => void) | undefined;
84
- pointerEvents?: "auto" | "none" | "box-none" | "box-only" | undefined;
84
+ pointerEvents?: "box-none" | "none" | "box-only" | "auto" | undefined;
85
85
  removeClippedSubviews?: boolean | undefined;
86
86
  nativeID?: string | undefined;
87
- onKeyDown?: ((event: NativeSyntheticEvent<import("react").KeyboardEvent<Element>>) => void) | undefined;
88
- onKeyDownCapture?: ((event: NativeSyntheticEvent<import("react").KeyboardEvent<Element>>) => void) | undefined;
89
- onKeyUp?: ((event: NativeSyntheticEvent<import("react").KeyboardEvent<Element>>) => void) | undefined;
90
- onKeyUpCapture?: ((event: NativeSyntheticEvent<import("react").KeyboardEvent<Element>>) => void) | undefined;
87
+ onKeyDown?: ((event: NativeSyntheticEvent<React.KeyboardEvent>) => void) | undefined;
88
+ onKeyDownCapture?: ((event: NativeSyntheticEvent<React.KeyboardEvent>) => void) | undefined;
89
+ onKeyUp?: ((event: NativeSyntheticEvent<React.KeyboardEvent>) => void) | undefined;
90
+ onKeyUpCapture?: ((event: NativeSyntheticEvent<React.KeyboardEvent>) => void) | undefined;
91
91
  collapsable?: boolean | undefined;
92
92
  needsOffscreenAlphaCompositing?: boolean | undefined;
93
93
  renderToHardwareTextureAndroid?: boolean | undefined;
@@ -130,10 +130,7 @@ export declare const LakeTextInput: import("react").ForwardRefExoticComponent<{
130
130
  onPointerUp?: ((event: import("react-native").PointerEvent) => void) | undefined;
131
131
  onPointerUpCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
132
132
  accessible?: boolean | undefined;
133
- accessibilityActions?: readonly Readonly<{
134
- name: string;
135
- label?: string | undefined;
136
- }>[] | undefined;
133
+ accessibilityActions?: readonly import("react-native").AccessibilityActionInfo[] | undefined;
137
134
  accessibilityLabel?: string | undefined;
138
135
  "aria-label"?: string | undefined;
139
136
  accessibilityRole?: import("react-native").AccessibilityRole | undefined;
@@ -146,14 +143,14 @@ export declare const LakeTextInput: import("react").ForwardRefExoticComponent<{
146
143
  "aria-labelledby"?: string | undefined;
147
144
  accessibilityHint?: string | undefined;
148
145
  accessibilityValue?: import("react-native").AccessibilityValue | undefined;
149
- "aria-valuemax"?: number | undefined;
150
- "aria-valuemin"?: number | undefined;
151
- "aria-valuenow"?: number | undefined;
152
- "aria-valuetext"?: string | undefined;
146
+ "aria-valuemax"?: import("react-native").AccessibilityValue["max"] | undefined;
147
+ "aria-valuemin"?: import("react-native").AccessibilityValue["min"] | undefined;
148
+ "aria-valuenow"?: import("react-native").AccessibilityValue["now"] | undefined;
149
+ "aria-valuetext"?: import("react-native").AccessibilityValue["text"] | undefined;
153
150
  onAccessibilityAction?: ((event: import("react-native").AccessibilityActionEvent) => void) | undefined;
154
- importantForAccessibility?: "auto" | "yes" | "no" | "no-hide-descendants" | undefined;
151
+ importantForAccessibility?: ("auto" | "yes" | "no" | "no-hide-descendants") | undefined;
155
152
  "aria-hidden"?: boolean | undefined;
156
- "aria-live"?: "polite" | "assertive" | "off" | undefined;
153
+ "aria-live"?: ("polite" | "assertive" | "off") | undefined;
157
154
  "aria-modal"?: boolean | undefined;
158
155
  accessibilityLiveRegion?: "none" | "polite" | "assertive" | undefined;
159
156
  accessibilityLabelledBy?: string | string[] | undefined;
@@ -164,7 +161,7 @@ export declare const LakeTextInput: import("react").ForwardRefExoticComponent<{
164
161
  onMagicTap?: (() => void) | undefined;
165
162
  accessibilityIgnoresInvertColors?: boolean | undefined;
166
163
  accessibilityLanguage?: string | undefined;
167
- tabIndex?: 0 | -1 | undefined;
164
+ tabIndex?: (0 | -1) | undefined;
168
165
  "aria-activedescendant"?: string | undefined;
169
166
  "aria-atomic"?: boolean | undefined;
170
167
  "aria-autocomplete"?: string | undefined;
@@ -172,7 +169,7 @@ export declare const LakeTextInput: import("react").ForwardRefExoticComponent<{
172
169
  "aria-colindex"?: number | undefined;
173
170
  "aria-colspan"?: number | undefined;
174
171
  "aria-controls"?: string | undefined;
175
- "aria-current"?: boolean | "time" | "page" | "step" | "location" | "date" | undefined;
172
+ "aria-current"?: (boolean | "page" | "step" | "location" | "date" | "time") | undefined;
176
173
  "aria-describedby"?: string | undefined;
177
174
  "aria-details"?: string | undefined;
178
175
  "aria-errormessage"?: string | undefined;
@@ -183,7 +180,7 @@ export declare const LakeTextInput: import("react").ForwardRefExoticComponent<{
183
180
  "aria-level"?: number | undefined;
184
181
  "aria-multiline"?: boolean | undefined;
185
182
  "aria-multiselectable"?: boolean | undefined;
186
- "aria-orientation"?: "horizontal" | "vertical" | undefined;
183
+ "aria-orientation"?: ("horizontal" | "vertical") | undefined;
187
184
  "aria-owns"?: string | undefined;
188
185
  "aria-placeholder"?: string | undefined;
189
186
  "aria-posinset"?: number | undefined;
@@ -195,7 +192,7 @@ export declare const LakeTextInput: import("react").ForwardRefExoticComponent<{
195
192
  "aria-rowindex"?: number | undefined;
196
193
  "aria-rowspan"?: number | undefined;
197
194
  "aria-setsize"?: number | undefined;
198
- "aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
195
+ "aria-sort"?: ("ascending" | "descending" | "none" | "other") | undefined;
199
196
  clearButtonMode?: "never" | "while-editing" | "unless-editing" | "always" | undefined;
200
197
  clearTextOnFocus?: boolean | undefined;
201
198
  dataDetectorTypes?: import("react-native").DataDetectorTypes | import("react-native").DataDetectorTypes[] | undefined;
@@ -205,11 +202,11 @@ export declare const LakeTextInput: import("react").ForwardRefExoticComponent<{
205
202
  rejectResponderTermination?: boolean | null | undefined;
206
203
  selectionState?: import("react-native").DocumentSelectionState | undefined;
207
204
  spellCheck?: boolean | undefined;
208
- textContentType?: "none" | "name" | "location" | "nickname" | "username" | "URL" | "addressCity" | "addressCityAndState" | "addressState" | "countryName" | "creditCardNumber" | "emailAddress" | "familyName" | "fullStreetAddress" | "givenName" | "jobTitle" | "middleName" | "namePrefix" | "nameSuffix" | "organizationName" | "postalCode" | "streetAddressLine1" | "streetAddressLine2" | "sublocality" | "telephoneNumber" | "password" | "newPassword" | "oneTimeCode" | undefined;
205
+ textContentType?: "none" | "URL" | "addressCity" | "addressCityAndState" | "addressState" | "countryName" | "creditCardNumber" | "emailAddress" | "familyName" | "fullStreetAddress" | "givenName" | "jobTitle" | "location" | "middleName" | "name" | "namePrefix" | "nameSuffix" | "nickname" | "organizationName" | "postalCode" | "streetAddressLine1" | "streetAddressLine2" | "sublocality" | "telephoneNumber" | "username" | "password" | "newPassword" | "oneTimeCode" | undefined;
209
206
  scrollEnabled?: boolean | undefined;
210
207
  lineBreakStrategyIOS?: "none" | "standard" | "hangul-word" | "push-out" | undefined;
211
208
  cursorColor?: import("react-native").ColorValue | null | undefined;
212
- importantForAutofill?: "auto" | "yes" | "no" | "noExcludeDescendants" | "yesExcludeDescendants" | undefined;
209
+ importantForAutofill?: "auto" | "no" | "noExcludeDescendants" | "yes" | "yesExcludeDescendants" | undefined;
213
210
  disableFullscreenUI?: boolean | undefined;
214
211
  inlineImageLeft?: string | undefined;
215
212
  inlineImagePadding?: number | undefined;
@@ -217,33 +214,33 @@ export declare const LakeTextInput: import("react").ForwardRefExoticComponent<{
217
214
  returnKeyLabel?: string | undefined;
218
215
  textBreakStrategy?: "simple" | "highQuality" | "balanced" | undefined;
219
216
  underlineColorAndroid?: import("react-native").ColorValue | undefined;
220
- textAlignVertical?: "bottom" | "top" | "auto" | "center" | undefined;
217
+ textAlignVertical?: "auto" | "top" | "bottom" | "center" | undefined;
221
218
  showSoftInputOnFocus?: boolean | undefined;
222
- verticalAlign?: "bottom" | "top" | "auto" | "middle" | undefined;
219
+ verticalAlign?: "auto" | "top" | "bottom" | "middle" | undefined;
223
220
  } & {
224
- ariaExpanded?: boolean | undefined;
225
- ariaControls?: string | undefined;
226
- error?: string | undefined;
227
- readOnly?: boolean | undefined;
228
- validating?: boolean | undefined;
229
- valid?: boolean | undefined;
230
- disabled?: boolean | undefined;
231
- color?: "gray" | "live" | "sandbox" | "positive" | "warning" | "negative" | "current" | "partner" | "swan" | "shakespear" | "darkPink" | "sunglow" | "mediumSladeBlue" | undefined;
232
- multiline?: boolean | undefined;
233
- icon?: "lake-building-bank" | "lake-calendar-arrow-swap" | "lake-call" | "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-compass" | "lake-currencies" | "lake-delivery-grouped" | "lake-delivery-individual" | "lake-denied" | "lake-document-csv" | "lake-document-jpg" | "lake-document-pdf" | "lake-document-png" | "lake-document-xls" | "lake-email" | "lake-eraser" | "lake-error" | "lake-euro" | "lake-face-id" | "lake-fingerprint" | "lake-id-card" | "lake-inbox-empty" | "lake-key" | "lake-lock-closed" | "lake-menu" | "lake-merchant" | "lake-people" | "lake-person-arrow-swap" | "lake-person-support" | "lake-phone" | "lake-receipt" | "lake-settings" | "lake-shield" | "lake-shield-error" | "lake-signature" | "lake-transfer" | "lake-warning" | "lake-world-map" | "add-circle-filled" | "add-circle-regular" | "add-filled" | "airplane-regular" | "approvals-app-filled" | "apps-list-filled" | "apps-list-regular" | "arrow-clockwise-filled" | "arrow-counterclockwise-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-filled" | "building-shop-regular" | "calendar-ltr-regular" | "call-regular" | "cart-regular" | "calculator-regular" | "chat-help-filled" | "chat-help-regular" | "check-filled" | "check-regular" | "checkmark-circle-regular" | "checkmark-filled" | "checkmark-starburst-filled" | "checkmark-starburst-regular" | "chevron-down-filled" | "chevron-left-filled" | "chevron-right-filled" | "chevron-up-down-regular" | "chevron-up-filled" | "clipboard-search-regular" | "clock-alarm-filled" | "clock-alarm-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-off-regular" | "eye-regular" | "filter-filled" | "flag-filled" | "flag-regular" | "flash-filled" | "flash-regular" | "food-regular" | "form-new-filled" | "form-new-regular" | "gavel-regular" | "hand-right-regular" | "heart-pulse-regular" | "home-regular" | "image-add-filled" | "image-add-regular" | "image-filled" | "image-regular" | "info-filled" | "info-regular" | "key-regular" | "laptop-regular" | "link-filled" | "live-filled" | "live-regular" | "local-language-filled" | "local-language-regular" | "lock-closed-filled" | "lock-closed-regular" | "lock-open-filled" | "lock-open-regular" | "mail-filled" | "mail-regular" | "money-calculator-filled" | "money-calculator-regular" | "money-filled" | "money-regular" | "more-horizontal-filled" | "more-vertical-filled" | "movies-and-tv-regular" | "music-note-2-regular" | "open-filled" | "open-regular" | "options-regular" | "paint-brush-filled" | "paint-brush-regular" | "panel-left-contract-filled" | "panel-left-contract-regular" | "panel-left-expand-filled" | "panel-left-expand-regular" | "panel-left-filled" | "panel-left-regular" | "pause-regular" | "payment-filled" | "payment-regular" | "people-add-regular" | "people-community-filled" | "people-community-regular" | "people-filled" | "people-regular" | "people-team-regular" | "people-team-toolbox-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" | "shopping-bag-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" | "vehicle-subway-regular" | "warning-filled" | "warning-regular" | "window-dev-tools-filled" | "window-dev-tools-regular" | undefined;
234
- unit?: string | undefined;
235
- units?: string[] | undefined;
221
+ ariaExpanded?: boolean;
222
+ ariaControls?: string;
223
+ error?: string;
224
+ readOnly?: boolean;
225
+ validating?: boolean;
226
+ valid?: boolean;
227
+ disabled?: boolean;
228
+ color?: ColorVariants;
229
+ multiline?: boolean;
230
+ icon?: IconName;
231
+ unit?: string;
232
+ units?: string[];
236
233
  inputMode?: TextInputProps["inputMode"];
237
- pattern?: string | undefined;
234
+ pattern?: string;
238
235
  children?: ReactNode;
239
- hideErrors?: boolean | undefined;
236
+ hideErrors?: boolean;
240
237
  style?: TextInputProps["style"];
241
238
  containerStyle?: ViewProps["style"];
242
- onChange?: ChangeEventHandler<HTMLInputElement> | undefined;
243
- onUnitChange?: ((value: string) => void) | undefined;
244
- maxCharCount?: number | undefined;
245
- help?: string | undefined;
246
- warning?: boolean | undefined;
247
- renderEnd?: (() => ReactNode) | undefined;
248
- containerRef?: Ref<View> | undefined;
239
+ onChange?: ChangeEventHandler<HTMLInputElement>;
240
+ onUnitChange?: (value: string) => void;
241
+ maxCharCount?: number;
242
+ help?: string;
243
+ warning?: boolean;
244
+ renderEnd?: () => ReactNode;
245
+ containerRef?: Ref<View>;
249
246
  } & import("react").RefAttributes<TextInput | null>>;
@@ -1,5 +1,6 @@
1
1
  import { ReactNode } from "react";
2
2
  import { ViewProps } from "react-native";
3
+ import { IconName } from "./Icon";
3
4
  type Props = {
4
5
  children: ReactNode;
5
6
  content: ReactNode;
@@ -22,7 +23,7 @@ export type TooltipRef = {
22
23
  export declare const LakeTooltip: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<TooltipRef>>;
23
24
  export declare const InformationTooltip: import("react").ForwardRefExoticComponent<{
24
25
  text: string;
25
- icon?: "lake-building-bank" | "lake-calendar-arrow-swap" | "lake-call" | "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-compass" | "lake-currencies" | "lake-delivery-grouped" | "lake-delivery-individual" | "lake-denied" | "lake-document-csv" | "lake-document-jpg" | "lake-document-pdf" | "lake-document-png" | "lake-document-xls" | "lake-email" | "lake-eraser" | "lake-error" | "lake-euro" | "lake-face-id" | "lake-fingerprint" | "lake-id-card" | "lake-inbox-empty" | "lake-key" | "lake-lock-closed" | "lake-menu" | "lake-merchant" | "lake-people" | "lake-person-arrow-swap" | "lake-person-support" | "lake-phone" | "lake-receipt" | "lake-settings" | "lake-shield" | "lake-shield-error" | "lake-signature" | "lake-transfer" | "lake-warning" | "lake-world-map" | "add-circle-filled" | "add-circle-regular" | "add-filled" | "airplane-regular" | "approvals-app-filled" | "apps-list-filled" | "apps-list-regular" | "arrow-clockwise-filled" | "arrow-counterclockwise-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-filled" | "building-shop-regular" | "calendar-ltr-regular" | "call-regular" | "cart-regular" | "calculator-regular" | "chat-help-filled" | "chat-help-regular" | "check-filled" | "check-regular" | "checkmark-circle-regular" | "checkmark-filled" | "checkmark-starburst-filled" | "checkmark-starburst-regular" | "chevron-down-filled" | "chevron-left-filled" | "chevron-right-filled" | "chevron-up-down-regular" | "chevron-up-filled" | "clipboard-search-regular" | "clock-alarm-filled" | "clock-alarm-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-off-regular" | "eye-regular" | "filter-filled" | "flag-filled" | "flag-regular" | "flash-filled" | "flash-regular" | "food-regular" | "form-new-filled" | "form-new-regular" | "gavel-regular" | "hand-right-regular" | "heart-pulse-regular" | "home-regular" | "image-add-filled" | "image-add-regular" | "image-filled" | "image-regular" | "info-filled" | "info-regular" | "key-regular" | "laptop-regular" | "link-filled" | "live-filled" | "live-regular" | "local-language-filled" | "local-language-regular" | "lock-closed-filled" | "lock-closed-regular" | "lock-open-filled" | "lock-open-regular" | "mail-filled" | "mail-regular" | "money-calculator-filled" | "money-calculator-regular" | "money-filled" | "money-regular" | "more-horizontal-filled" | "more-vertical-filled" | "movies-and-tv-regular" | "music-note-2-regular" | "open-filled" | "open-regular" | "options-regular" | "paint-brush-filled" | "paint-brush-regular" | "panel-left-contract-filled" | "panel-left-contract-regular" | "panel-left-expand-filled" | "panel-left-expand-regular" | "panel-left-filled" | "panel-left-regular" | "pause-regular" | "payment-filled" | "payment-regular" | "people-add-regular" | "people-community-filled" | "people-community-regular" | "people-filled" | "people-regular" | "people-team-regular" | "people-team-toolbox-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" | "shopping-bag-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" | "vehicle-subway-regular" | "warning-filled" | "warning-regular" | "window-dev-tools-filled" | "window-dev-tools-regular" | undefined;
26
- iconSize?: number | undefined;
26
+ icon?: IconName;
27
+ iconSize?: number;
27
28
  } & import("react").RefAttributes<TooltipRef>>;
28
29
  export {};
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { HrefAttrs, PressableStateCallbackType, Text, TextProps } from "react-native";
3
2
  import { Except } from "type-fest";
4
3
  import { PressableTextProps } from "./Pressable";
@@ -19,9 +18,9 @@ export type LinkProps = Except<PressableTextProps, "hrefAttrs" | "style" | "onPr
19
18
  };
20
19
  export declare const Link: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<{
21
20
  allowFontScaling?: boolean | undefined;
22
- ellipsizeMode?: "clip" | "middle" | "head" | "tail" | undefined;
21
+ ellipsizeMode?: "head" | "middle" | "tail" | "clip" | undefined;
23
22
  id?: string | undefined;
24
- lineBreakMode?: "clip" | "middle" | "head" | "tail" | undefined;
23
+ lineBreakMode?: "head" | "middle" | "tail" | "clip" | undefined;
25
24
  numberOfLines?: number | undefined;
26
25
  onTextLayout?: ((event: import("react-native").NativeSyntheticEvent<import("react-native").TextLayoutEventData>) => void) | undefined;
27
26
  testID?: string | undefined;
@@ -31,20 +30,17 @@ export declare const Link: import("react").MemoExoticComponent<import("react").F
31
30
  href?: string | undefined;
32
31
  lang?: string | undefined;
33
32
  adjustsFontSizeToFit?: boolean | undefined;
34
- dynamicTypeRamp?: "body" | "caption2" | "caption1" | "footnote" | "subheadline" | "callout" | "headline" | "title3" | "title2" | "title1" | "largeTitle" | undefined;
33
+ dynamicTypeRamp?: "caption2" | "caption1" | "footnote" | "subheadline" | "callout" | "body" | "headline" | "title3" | "title2" | "title1" | "largeTitle" | undefined;
35
34
  minimumFontScale?: number | undefined;
36
35
  suppressHighlighting?: boolean | undefined;
37
36
  lineBreakStrategyIOS?: "none" | "standard" | "hangul-word" | "push-out" | undefined;
38
37
  selectable?: boolean | undefined;
39
38
  selectionColor?: import("react-native").ColorValue | undefined;
40
39
  textBreakStrategy?: "simple" | "highQuality" | "balanced" | undefined;
41
- dataDetectorType?: "none" | "all" | "link" | "phoneNumber" | "email" | null | undefined;
40
+ dataDetectorType?: null | "phoneNumber" | "link" | "email" | "none" | "all" | undefined;
42
41
  android_hyphenationFrequency?: "normal" | "none" | "full" | undefined;
43
42
  accessible?: boolean | undefined;
44
- accessibilityActions?: readonly Readonly<{
45
- name: string;
46
- label?: string | undefined;
47
- }>[] | undefined;
43
+ accessibilityActions?: readonly import("react-native").AccessibilityActionInfo[] | undefined;
48
44
  accessibilityLabel?: string | undefined;
49
45
  "aria-label"?: string | undefined;
50
46
  accessibilityRole?: import("react-native").AccessibilityRole | undefined;
@@ -57,14 +53,14 @@ export declare const Link: import("react").MemoExoticComponent<import("react").F
57
53
  "aria-labelledby"?: string | undefined;
58
54
  accessibilityHint?: string | undefined;
59
55
  accessibilityValue?: import("react-native").AccessibilityValue | undefined;
60
- "aria-valuemax"?: number | undefined;
61
- "aria-valuemin"?: number | undefined;
62
- "aria-valuenow"?: number | undefined;
63
- "aria-valuetext"?: string | undefined;
56
+ "aria-valuemax"?: import("react-native").AccessibilityValue["max"] | undefined;
57
+ "aria-valuemin"?: import("react-native").AccessibilityValue["min"] | undefined;
58
+ "aria-valuenow"?: import("react-native").AccessibilityValue["now"] | undefined;
59
+ "aria-valuetext"?: import("react-native").AccessibilityValue["text"] | undefined;
64
60
  onAccessibilityAction?: ((event: import("react-native").AccessibilityActionEvent) => void) | undefined;
65
- importantForAccessibility?: "auto" | "yes" | "no" | "no-hide-descendants" | undefined;
61
+ importantForAccessibility?: ("auto" | "yes" | "no" | "no-hide-descendants") | undefined;
66
62
  "aria-hidden"?: boolean | undefined;
67
- "aria-live"?: "polite" | "assertive" | "off" | undefined;
63
+ "aria-live"?: ("polite" | "assertive" | "off") | undefined;
68
64
  "aria-modal"?: boolean | undefined;
69
65
  accessibilityLiveRegion?: "none" | "polite" | "assertive" | undefined;
70
66
  accessibilityLabelledBy?: string | string[] | undefined;
@@ -75,7 +71,7 @@ export declare const Link: import("react").MemoExoticComponent<import("react").F
75
71
  onMagicTap?: (() => void) | undefined;
76
72
  accessibilityIgnoresInvertColors?: boolean | undefined;
77
73
  accessibilityLanguage?: string | undefined;
78
- tabIndex?: 0 | -1 | undefined;
74
+ tabIndex?: (0 | -1) | undefined;
79
75
  "aria-activedescendant"?: string | undefined;
80
76
  "aria-atomic"?: boolean | undefined;
81
77
  "aria-autocomplete"?: string | undefined;
@@ -83,7 +79,7 @@ export declare const Link: import("react").MemoExoticComponent<import("react").F
83
79
  "aria-colindex"?: number | undefined;
84
80
  "aria-colspan"?: number | undefined;
85
81
  "aria-controls"?: string | undefined;
86
- "aria-current"?: boolean | "time" | "page" | "step" | "location" | "date" | undefined;
82
+ "aria-current"?: (boolean | "page" | "step" | "location" | "date" | "time") | undefined;
87
83
  "aria-describedby"?: string | undefined;
88
84
  "aria-details"?: string | undefined;
89
85
  "aria-errormessage"?: string | undefined;
@@ -94,7 +90,7 @@ export declare const Link: import("react").MemoExoticComponent<import("react").F
94
90
  "aria-level"?: number | undefined;
95
91
  "aria-multiline"?: boolean | undefined;
96
92
  "aria-multiselectable"?: boolean | undefined;
97
- "aria-orientation"?: "horizontal" | "vertical" | undefined;
93
+ "aria-orientation"?: ("horizontal" | "vertical") | undefined;
98
94
  "aria-owns"?: string | undefined;
99
95
  "aria-placeholder"?: string | undefined;
100
96
  "aria-posinset"?: number | undefined;
@@ -106,35 +102,35 @@ export declare const Link: import("react").MemoExoticComponent<import("react").F
106
102
  "aria-rowindex"?: number | undefined;
107
103
  "aria-rowspan"?: number | undefined;
108
104
  "aria-setsize"?: number | undefined;
109
- "aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
105
+ "aria-sort"?: ("ascending" | "descending" | "none" | "other") | undefined;
110
106
  delayLongPress?: number | undefined;
111
107
  delayPressIn?: number | undefined;
112
108
  delayPressOut?: number | undefined;
113
109
  disabled?: boolean | undefined;
114
- onBlur?: ((event: import("react-native").NativeSyntheticEvent<import("react").FocusEvent<Element, Element>>) => void) | undefined;
115
- onContextMenu?: ((event: import("react-native").NativeSyntheticEvent<import("react").SyntheticEvent<Element, Event>>) => void) | undefined;
116
- onFocus?: ((event: import("react-native").NativeSyntheticEvent<import("react").FocusEvent<Element, Element>>) => void) | undefined;
110
+ onBlur?: ((event: import("react-native").NativeSyntheticEvent<React.FocusEvent>) => void) | undefined;
111
+ onContextMenu?: ((event: import("react-native").NativeSyntheticEvent<React.SyntheticEvent>) => void) | undefined;
112
+ onFocus?: ((event: import("react-native").NativeSyntheticEvent<React.FocusEvent>) => void) | undefined;
117
113
  onHoverIn?: ((event: unknown) => void) | undefined;
118
114
  onHoverOut?: ((event: unknown) => void) | undefined;
119
- onKeyDown?: ((event: import("react-native").NativeSyntheticEvent<import("react").KeyboardEvent<Element>>) => void) | undefined;
115
+ onKeyDown?: ((event: import("react-native").NativeSyntheticEvent<React.KeyboardEvent>) => void) | undefined;
120
116
  onLayout?: ((event: import("react-native").LayoutChangeEvent) => void) | undefined;
121
- onLongPress?: ((event: unknown) => void) | undefined;
122
- onPressIn?: ((event: unknown) => void) | undefined;
123
- onPressMove?: ((event: unknown) => void) | undefined;
124
- onPressOut?: ((event: unknown) => void) | undefined;
117
+ onLongPress?: import("../hooks/usePressEvents").PressResponderConfig["onLongPress"];
118
+ onPressIn?: import("../hooks/usePressEvents").PressResponderConfig["onPressStart"];
119
+ onPressMove?: import("../hooks/usePressEvents").PressResponderConfig["onPressMove"];
120
+ onPressOut?: import("../hooks/usePressEvents").PressResponderConfig["onPressEnd"];
125
121
  testOnly_hovered?: boolean | undefined;
126
122
  testOnly_pressed?: boolean | undefined;
127
123
  } & {
128
124
  to: string;
129
- replace?: boolean | undefined;
130
- disabled?: boolean | undefined;
131
- download?: boolean | undefined;
125
+ replace?: boolean;
126
+ disabled?: boolean;
127
+ download?: boolean;
132
128
  target?: NonNullable<HrefAttrs>["target"];
133
129
  style?: TextProps["style"] | ((state: PressableStateCallbackType & {
134
130
  active: boolean;
135
131
  }) => TextProps["style"]);
136
- ariaCurrentValue?: "page" | "location" | undefined;
137
- onPress?: ((e: React.MouseEvent<HTMLAnchorElement>) => void) | undefined;
132
+ ariaCurrentValue?: "page" | "location";
133
+ onPress?: (e: React.MouseEvent<HTMLAnchorElement>) => void;
138
134
  children?: TextProps["children"] | ((state: PressableStateCallbackType & {
139
135
  active: boolean;
140
136
  }) => TextProps["children"]);
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { StyleProp, View, ViewStyle } from "react-native";
3
2
  type Props = {
4
3
  color?: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { StyleProp, ViewStyle } from "react-native";
3
2
  import { ColorVariants } from "../constants/design";
4
3
  export type MultiSelectItem = {
@@ -197,6 +197,7 @@ export const PlainListView = ({ data: originalData, keyExtractor, rowHeight, gro
197
197
  large && styles.stickyHeaderLarge,
198
198
  {
199
199
  height: groupHeaderHeight,
200
+ paddingTop: groupHeaderHeight / 4,
200
201
  top: stickyOffset + (large ? headerHeight : 0),
201
202
  },
202
203
  ], children: _jsx(LakeHeading, { level: 3, variant: "h3", children: groupName }) })) : null, items.map((item, index) => {