@swan-io/lake 15.3.0 → 15.4.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 +5 -6
- package/src/components/Accordion.d.ts +1 -1
- package/src/components/AppOpeningAnimation.d.ts +1 -1
- package/src/components/AutoWidthImage.d.ts +1 -1
- package/src/components/AutocompleteSearchInput.d.ts +1 -1
- package/src/components/AutocompleteSearchInput.js +2 -2
- package/src/components/Avatar.js +3 -6
- package/src/components/BorderedIcon.d.ts +1 -1
- package/src/components/BottomPanel.d.ts +1 -1
- package/src/components/Box.d.ts +1 -1
- package/src/components/Breadcrumbs.d.ts +2 -2
- package/src/components/Breadcrumbs.js +3 -5
- package/src/components/BulletList.d.ts +10 -0
- package/src/components/BulletList.js +12 -0
- package/src/components/Cells.d.ts +6 -6
- package/src/components/Cells.js +1 -1
- package/src/components/ContextMenu.d.ts +2 -2
- package/src/components/ContextMenu.js +1 -1
- package/src/components/EmptyView.d.ts +1 -1
- package/src/components/EmptyView.js +1 -1
- package/src/components/Fill.d.ts +1 -1
- package/src/components/FlatList.d.ts +1 -1
- package/src/components/FlatList.js +3 -3
- package/src/components/FlowPresentation.d.ts +1 -1
- package/src/components/FocusTrap.d.ts +1 -1
- package/src/components/Form.d.ts +120 -123
- package/src/components/FullViewportLayer.d.ts +1 -1
- package/src/components/Grid.d.ts +1 -1
- package/src/components/Icon.d.ts +1 -0
- package/src/components/Icon.js +1 -1
- package/src/components/InputError.d.ts +1 -1
- package/src/components/LakeAlert.d.ts +1 -1
- package/src/components/LakeAlert.js +2 -2
- package/src/components/LakeButton.d.ts +2 -2
- package/src/components/LakeButton.js +1 -1
- package/src/components/LakeCheckbox.d.ts +2 -2
- package/src/components/LakeCheckbox.js +2 -2
- package/src/components/LakeCombobox.d.ts +1 -1
- package/src/components/LakeCopyButton.d.ts +1 -1
- package/src/components/LakeDownloadButton.d.ts +1 -1
- package/src/components/LakeHeading.d.ts +1 -1
- package/src/components/LakeLabel.d.ts +1 -1
- package/src/components/LakeLabel.js +2 -2
- package/src/components/LakeRadio.d.ts +1 -1
- package/src/components/LakeScrollView.d.ts +1 -1
- package/src/components/LakeSelect.d.ts +1 -1
- package/src/components/LakeSelect.js +8 -10
- package/src/components/LakeSlider.d.ts +1 -1
- package/src/components/LakeStepper.d.ts +3 -3
- package/src/components/LakeStepper.js +3 -3
- package/src/components/LakeTagInput.d.ts +1 -1
- package/src/components/LakeText.d.ts +1 -1
- package/src/components/LakeTextInput.d.ts +1 -1
- package/src/components/LakeTextInput.js +1 -1
- package/src/components/LakeTooltip.d.ts +2 -2
- package/src/components/LakeTooltip.js +2 -2
- package/src/components/Link.d.ts +1 -1
- package/src/components/ListRightPanel.d.ts +2 -2
- package/src/components/LoadingView.d.ts +1 -1
- package/src/components/MultiSelect.d.ts +1 -1
- package/src/components/MultiSelect.js +2 -2
- package/src/components/PlainListView.d.ts +3 -9
- package/src/components/PlainListView.js +1 -1
- package/src/components/PopoverContent.d.ts +1 -1
- package/src/components/Pressable.js +3 -3
- package/src/components/ProgressTracker.d.ts +22 -0
- package/src/components/ProgressTracker.js +71 -0
- package/src/components/ProjectEnvTag.d.ts +1 -1
- package/src/components/QuickActions.d.ts +1 -1
- package/src/components/QuickActions.js +6 -9
- package/src/components/RadioGroup.d.ts +1 -1
- package/src/components/RadioGroup.js +1 -1
- package/src/components/ReadOnlyFieldList.d.ts +1 -1
- package/src/components/ReadOnlyFieldList.js +1 -1
- package/src/components/ResponsiveContainer.d.ts +1 -1
- package/src/components/RightPanel.d.ts +1 -1
- package/src/components/RightPanel.js +1 -1
- package/src/components/ScrollView.d.ts +1 -1
- package/src/components/SectionList.d.ts +1 -1
- package/src/components/SectionList.js +3 -3
- package/src/components/SegmentedControl.d.ts +1 -1
- package/src/components/SegmentedControl.js +1 -1
- package/src/components/Separator.d.ts +1 -1
- package/src/components/SidebarNavigationTracker.d.ts +2 -2
- package/src/components/SidebarNavigationTracker.js +2 -1
- package/src/components/SmsOpeningAnimation.d.ts +1 -1
- package/src/components/SortBottomPanel.d.ts +1 -1
- package/src/components/Space.d.ts +1 -1
- package/src/components/Stack.d.ts +1 -1
- package/src/components/StepDots.d.ts +1 -1
- package/src/components/Suspendable.d.ts +1 -1
- package/src/components/Suspendable.js +1 -1
- package/src/components/Svg.d.ts +10 -10
- package/src/components/Svg.js +1 -1
- package/src/components/SwanLogo.d.ts +1 -1
- package/src/components/Switch.d.ts +1 -1
- package/src/components/Switch.js +1 -1
- package/src/components/TabView.d.ts +1 -1
- package/src/components/TabView.js +4 -4
- package/src/components/Tag.d.ts +1 -1
- package/src/components/Tag.js +1 -1
- package/src/components/Tick.d.ts +1 -1
- package/src/components/Tile.d.ts +13 -6
- package/src/components/Tile.js +32 -6
- package/src/components/TilePlaceholder.d.ts +4 -2
- package/src/components/TilePlaceholder.js +3 -3
- package/src/components/TimePicker.d.ts +2 -2
- package/src/components/Toggle.d.ts +1 -1
- package/src/components/Toggle.js +1 -1
- package/src/components/TransitionGroupView.d.ts +1 -1
- package/src/components/TransitionGroupView.js +1 -1
- package/src/components/TransitionView.d.ts +1 -1
- package/src/components/VirtualizedList.d.ts +2 -2
- package/src/components/VirtualizedList.js +2 -2
- package/src/components/WithCurrentColor.d.ts +2 -2
- package/src/components/WithPartnerAccentColor.d.ts +1 -1
- package/src/hooks/useUpdateEffect.js +1 -2
- package/src/icons/fluent-icons.json +15 -14
- package/src/utils/highlights.js +2 -1
- package/src/utils/string.js +1 -1
- package/src/utils/svg.js +5 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swan-io/lake",
|
|
3
|
-
"version": "15.
|
|
3
|
+
"version": "15.4.0",
|
|
4
4
|
"engines": {
|
|
5
5
|
"node": ">22.12.0"
|
|
6
6
|
},
|
|
@@ -33,20 +33,19 @@
|
|
|
33
33
|
"@swan-io/boxed": "^3.2.1",
|
|
34
34
|
"@swan-io/chicane": "^3.0.0",
|
|
35
35
|
"@swan-io/use-form": "^3.1.0",
|
|
36
|
-
"dayjs": "^1.11.
|
|
36
|
+
"dayjs": "^1.11.21",
|
|
37
37
|
"polished": "^4.3.1",
|
|
38
|
-
"prism-react-renderer": "^2.4.1",
|
|
39
38
|
"rifm": "^0.12.1",
|
|
40
39
|
"ts-pattern": "^5.9.0",
|
|
41
|
-
"uuid": "^14.0.
|
|
40
|
+
"uuid": "^14.0.1"
|
|
42
41
|
},
|
|
43
42
|
"devDependencies": {
|
|
44
|
-
"@types/react": "^19.2.
|
|
43
|
+
"@types/react": "^19.2.17",
|
|
45
44
|
"@types/react-dom": "^19.2.3",
|
|
46
45
|
"@types/react-native": "^0.72.8",
|
|
47
46
|
"react": "^19.2.7",
|
|
48
47
|
"react-dom": "^19.2.7",
|
|
49
48
|
"react-native-web": "^0.21.2",
|
|
50
|
-
"type-fest": "^5.
|
|
49
|
+
"type-fest": "^5.8.0"
|
|
51
50
|
}
|
|
52
51
|
}
|
|
@@ -6,5 +6,5 @@ type Props = {
|
|
|
6
6
|
style?: ViewProps["style"];
|
|
7
7
|
contentContainerStyle?: ViewProps["style"];
|
|
8
8
|
};
|
|
9
|
-
export declare const Accordion: ({ children, trigger, style, contentContainerStyle }: Props) => import("react
|
|
9
|
+
export declare const Accordion: ({ children, trigger, style, contentContainerStyle }: Props) => import("react").JSX.Element;
|
|
10
10
|
export {};
|
|
@@ -5,5 +5,5 @@ type Props = {
|
|
|
5
5
|
playing?: boolean;
|
|
6
6
|
style?: StyleProp<ViewStyle>;
|
|
7
7
|
};
|
|
8
|
-
export declare const AppOpeningAnimation: ({ accentColor, appLogo, playing, style }: Props) => import("react
|
|
8
|
+
export declare const AppOpeningAnimation: ({ accentColor, appLogo, playing, style }: Props) => import("react").JSX.Element;
|
|
9
9
|
export {};
|
|
@@ -8,5 +8,5 @@ type Props = Except<ImageProps, "source"> & {
|
|
|
8
8
|
height: number;
|
|
9
9
|
sourceUri: string;
|
|
10
10
|
};
|
|
11
|
-
export declare const AutoWidthImage: import("react").MemoExoticComponent<({ ref, ariaLabel, maxWidth, height, sourceUri, onLoadEnd, style, ...props }: Props) => import("react
|
|
11
|
+
export declare const AutoWidthImage: import("react").MemoExoticComponent<({ ref, ariaLabel, maxWidth, height, sourceUri, onLoadEnd, style, ...props }: Props) => import("react").JSX.Element>;
|
|
12
12
|
export {};
|
|
@@ -20,5 +20,5 @@ type Props<T> = {
|
|
|
20
20
|
onSuggestion: (suggestion: Suggestion<T>) => void;
|
|
21
21
|
onLoadError?: (error: unknown) => void;
|
|
22
22
|
};
|
|
23
|
-
export declare const AutocompleteSearchInput: <T>({ inputRef, value, onValueChange, disabled, id, placeholder, error, emptyResult, ListFooterComponent, shouldDisplaySuggestions, loadSuggestions, onSuggestion, onLoadError, }: Props<T>) => import("react
|
|
23
|
+
export declare const AutocompleteSearchInput: <T>({ inputRef, value, onValueChange, disabled, id, placeholder, error, emptyResult, ListFooterComponent, shouldDisplaySuggestions, loadSuggestions, onSuggestion, onLoadError, }: Props<T>) => import("react").JSX.Element;
|
|
24
24
|
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { AsyncData, Result } from "@swan-io/boxed";
|
|
3
3
|
import { useRef, useState } from "react";
|
|
4
4
|
import { StyleSheet } from "react-native";
|
|
5
|
-
import {
|
|
5
|
+
import { match, P } from "ts-pattern";
|
|
6
6
|
import { colors } from "../constants/design";
|
|
7
7
|
import { LakeCombobox } from "./LakeCombobox";
|
|
8
8
|
import { LakeText } from "./LakeText";
|
package/src/components/Avatar.js
CHANGED
|
@@ -27,14 +27,11 @@ const initialsToVariant = (initials) => {
|
|
|
27
27
|
};
|
|
28
28
|
export const Avatar = memo(({ user, size }) => {
|
|
29
29
|
const initials = match(user)
|
|
30
|
-
.with(P.nonNullable, user => {
|
|
31
|
-
|
|
32
|
-
return ((_b = (_a = user.firstName) === null || _a === void 0 ? void 0 : _a.charAt(0)) !== null && _b !== void 0 ? _b : "") +
|
|
33
|
-
((_e = (_d = ((_c = user.preferredLastName) !== null && _c !== void 0 ? _c : user.lastName)) === null || _d === void 0 ? void 0 : _d.charAt(0)) !== null && _e !== void 0 ? _e : "");
|
|
34
|
-
})
|
|
30
|
+
.with(P.nonNullable, user => { var _a, _b; var _c, _d, _e; return ((_c = (_a = user.firstName) === null || _a === void 0 ? void 0 : _a.charAt(0)) !== null && _c !== void 0 ? _c : "") +
|
|
31
|
+
((_e = (_b = ((_d = user.preferredLastName) !== null && _d !== void 0 ? _d : user.lastName)) === null || _b === void 0 ? void 0 : _b.charAt(0)) !== null && _e !== void 0 ? _e : ""); })
|
|
35
32
|
.otherwise(() => "");
|
|
36
33
|
const variant = initialsToVariant(initials);
|
|
37
|
-
return (_jsx(View, { role: "img", style: [
|
|
34
|
+
return (_jsx(View, { role: "img", "aria-label": initials !== "" ? initials : "avatar", style: [
|
|
38
35
|
commonStyles.center,
|
|
39
36
|
styles.container,
|
|
40
37
|
{
|
|
@@ -10,5 +10,5 @@ type Props = {
|
|
|
10
10
|
size?: number;
|
|
11
11
|
style?: ViewProps["style"];
|
|
12
12
|
};
|
|
13
|
-
export declare const BorderedIcon: ({ name, borderRadius, color, padding, size, style, }: Props) => import("react
|
|
13
|
+
export declare const BorderedIcon: ({ name, borderRadius, color, padding, size, style, }: Props) => import("react").JSX.Element;
|
|
14
14
|
export {};
|
|
@@ -5,5 +5,5 @@ type Props = {
|
|
|
5
5
|
children: ReactNode;
|
|
6
6
|
returnFocus?: boolean;
|
|
7
7
|
};
|
|
8
|
-
export declare const BottomPanel: ({ visible, onPressClose, children, returnFocus }: Props) => import("react
|
|
8
|
+
export declare const BottomPanel: ({ visible, onPressClose, children, returnFocus }: Props) => import("react").JSX.Element | null;
|
|
9
9
|
export {};
|
package/src/components/Box.d.ts
CHANGED
|
@@ -68,5 +68,5 @@ export type BoxProps = ViewProps & {
|
|
|
68
68
|
shrink?: number;
|
|
69
69
|
style?: StyleProp<ViewStyle>;
|
|
70
70
|
};
|
|
71
|
-
export declare const Box: ({ ref, alignItems, direction, justifyContent, wrap, grow, shrink, style, ...props }: BoxProps) => import("react
|
|
71
|
+
export declare const Box: ({ ref, alignItems, direction, justifyContent, wrap, grow, shrink, style, ...props }: BoxProps) => import("react").JSX.Element;
|
|
72
72
|
export {};
|
|
@@ -12,7 +12,7 @@ type Props = {
|
|
|
12
12
|
rootLevelCrumbs?: readonly Crumb[];
|
|
13
13
|
children: ReactNode;
|
|
14
14
|
};
|
|
15
|
-
export declare const BreadcrumbsRoot: ({ rootLevelCrumbs, children }: Props) => import("react
|
|
15
|
+
export declare const BreadcrumbsRoot: ({ rootLevelCrumbs, children }: Props) => import("react").JSX.Element;
|
|
16
16
|
export declare const useCrumb: (crumb?: Crumb) => void;
|
|
17
|
-
export declare const Breadcrumbs: () => import("react
|
|
17
|
+
export declare const Breadcrumbs: () => import("react").JSX.Element;
|
|
18
18
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { createContext, useCallback, useContext, useEffect, useId, useMemo, useReducer, useRef, useState, } from "react";
|
|
3
3
|
import { Pressable, StyleSheet, Text, View, } from "react-native";
|
|
4
|
-
import {
|
|
4
|
+
import { match, P } from "ts-pattern";
|
|
5
5
|
import { v4 as uuid } from "uuid";
|
|
6
6
|
import { animations, backgroundColor, colors, gray75, radii, shadows, spacings, texts, } from "../constants/design";
|
|
7
7
|
import { useHover } from "../hooks/useHover";
|
|
@@ -127,9 +127,7 @@ export const BreadcrumbsRoot = ({ rootLevelCrumbs = emptyCrumbArray, children })
|
|
|
127
127
|
setRootCrumbs(rootLevelCrumbs.map(crumb => ({ id: uuid(), crumb, isRootCrumb: true })));
|
|
128
128
|
}, [rootLevelCrumbs]);
|
|
129
129
|
const orderedCrumbs = useMemo(() => [...crumbs].sort((a, b) => { var _a, _b; return (((_a = b.index) !== null && _a !== void 0 ? _a : -1) > ((_b = a.index) !== null && _b !== void 0 ? _b : -1) ? -1 : 1); }), [crumbs]);
|
|
130
|
-
|
|
131
|
-
// biome-ignore lint/correctness/useExhaustiveDependencies(currentIndexRef):
|
|
132
|
-
const value = useMemo(() => [rootCrumbs, orderedCrumbs, setCrumbs, currentIndexRef], [rootCrumbs, orderedCrumbs, setCrumbs, currentIndexRef]);
|
|
130
|
+
const value = useMemo(() => [rootCrumbs, orderedCrumbs, setCrumbs, currentIndexRef], [rootCrumbs, orderedCrumbs]);
|
|
133
131
|
return _jsx(BreadcrumbsContext.Provider, { value: value, children: children });
|
|
134
132
|
};
|
|
135
133
|
const useBreadcrumbs = () => {
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { StyleProp, ViewStyle } from "react-native";
|
|
2
|
+
import { TextVariant } from "./LakeText";
|
|
3
|
+
type Props = {
|
|
4
|
+
items: string[];
|
|
5
|
+
color?: string;
|
|
6
|
+
variant?: TextVariant;
|
|
7
|
+
style?: StyleProp<ViewStyle>;
|
|
8
|
+
};
|
|
9
|
+
export declare const BulletList: ({ items, color, variant, style, }: Props) => import("react").JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { StyleSheet, View } from "react-native";
|
|
3
|
+
import { colors } from "../constants/design";
|
|
4
|
+
import { Box } from "./Box";
|
|
5
|
+
import { LakeText } from "./LakeText";
|
|
6
|
+
import { Space } from "./Space";
|
|
7
|
+
const styles = StyleSheet.create({
|
|
8
|
+
itemText: {
|
|
9
|
+
flex: 1,
|
|
10
|
+
},
|
|
11
|
+
});
|
|
12
|
+
export const BulletList = ({ items, color = colors.gray[700], variant = "regular", style, }) => (_jsx(View, { role: "list", style: style, children: items.map((item, index) => (_jsxs(Box, { role: "listitem", direction: "row", children: [_jsx(LakeText, { "aria-hidden": true, color: color, variant: variant, children: "\u2022" }), _jsx(Space, { width: 8 }), _jsx(LakeText, { color: color, variant: variant, style: styles.itemText, children: item })] }, index))) }));
|
|
@@ -23,14 +23,14 @@ type CellProps = {
|
|
|
23
23
|
style?: StyleProp<ViewStyle>;
|
|
24
24
|
contentContainerStyle?: StyleProp<ViewStyle>;
|
|
25
25
|
};
|
|
26
|
-
export declare const Cell: ({ children, align, direction, fadeOn, style, contentContainerStyle, }: CellProps) => import("react
|
|
26
|
+
export declare const Cell: ({ children, align, direction, fadeOn, style, contentContainerStyle, }: CellProps) => import("react").JSX.Element;
|
|
27
27
|
type HeaderCellProps = {
|
|
28
28
|
align?: Align;
|
|
29
29
|
sort?: SortDirection;
|
|
30
30
|
text: string;
|
|
31
31
|
onPress?: (direction: SortDirection) => void;
|
|
32
32
|
};
|
|
33
|
-
export declare const HeaderCell: ({ align, sort, text, onPress }: HeaderCellProps) => import("react
|
|
33
|
+
export declare const HeaderCell: ({ align, sort, text, onPress }: HeaderCellProps) => import("react").JSX.Element;
|
|
34
34
|
type TextCellProps = {
|
|
35
35
|
align?: Align;
|
|
36
36
|
color?: string;
|
|
@@ -38,7 +38,7 @@ type TextCellProps = {
|
|
|
38
38
|
tooltip?: TooltipProp;
|
|
39
39
|
variant?: TextVariant;
|
|
40
40
|
};
|
|
41
|
-
export declare const TextCell: ({ align, color, text, tooltip, variant, }: TextCellProps) => import("react
|
|
41
|
+
export declare const TextCell: ({ align, color, text, tooltip, variant, }: TextCellProps) => import("react").JSX.Element;
|
|
42
42
|
type CopyableTextCellProps = {
|
|
43
43
|
copiedWording: string;
|
|
44
44
|
copyWording: string;
|
|
@@ -47,7 +47,7 @@ type CopyableTextCellProps = {
|
|
|
47
47
|
tooltip?: TooltipProp;
|
|
48
48
|
variant?: TextVariant;
|
|
49
49
|
};
|
|
50
|
-
export declare const CopyableTextCell: ({ copiedWording, copyWording, text, textToCopy, tooltip, variant, }: CopyableTextCellProps) => import("react
|
|
50
|
+
export declare const CopyableTextCell: ({ copiedWording, copyWording, text, textToCopy, tooltip, variant, }: CopyableTextCellProps) => import("react").JSX.Element;
|
|
51
51
|
type BalanceCellProps = {
|
|
52
52
|
align?: Align;
|
|
53
53
|
currency: string;
|
|
@@ -59,7 +59,7 @@ type BalanceCellProps = {
|
|
|
59
59
|
value: number;
|
|
60
60
|
variant?: TextVariant;
|
|
61
61
|
};
|
|
62
|
-
export declare const BalanceCell: ({ align, currency, formatCurrency, originalValue, value, variant, }: BalanceCellProps) => import("react
|
|
62
|
+
export declare const BalanceCell: ({ align, currency, formatCurrency, originalValue, value, variant, }: BalanceCellProps) => import("react").JSX.Element;
|
|
63
63
|
type LinkCellProps = {
|
|
64
64
|
buttonPosition?: "start" | "end";
|
|
65
65
|
children: ReactNode;
|
|
@@ -69,5 +69,5 @@ type LinkCellProps = {
|
|
|
69
69
|
tooltip?: TooltipProp;
|
|
70
70
|
variant?: TextVariant;
|
|
71
71
|
};
|
|
72
|
-
export declare const LinkCell: ({ buttonPosition, children, external, fadeOn, onPress, tooltip, variant, }: LinkCellProps) => import("react
|
|
72
|
+
export declare const LinkCell: ({ buttonPosition, children, external, fadeOn, onPress, tooltip, variant, }: LinkCellProps) => import("react").JSX.Element;
|
|
73
73
|
export {};
|
package/src/components/Cells.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useCallback, useState } from "react";
|
|
3
3
|
import { StyleSheet, View } from "react-native";
|
|
4
4
|
import { match } from "ts-pattern";
|
|
@@ -6,11 +6,11 @@ type ContextMenuProps = {
|
|
|
6
6
|
withPill?: boolean;
|
|
7
7
|
verticalPlacement?: VerticalPlacement;
|
|
8
8
|
};
|
|
9
|
-
export declare const ContextMenu: ({ children, ariaLabel, withPill, verticalPlacement, }: ContextMenuProps) => import("react
|
|
9
|
+
export declare const ContextMenu: ({ children, ariaLabel, withPill, verticalPlacement, }: ContextMenuProps) => import("react").JSX.Element;
|
|
10
10
|
type ContextMenuItemProps = {
|
|
11
11
|
children: string;
|
|
12
12
|
withPill?: boolean;
|
|
13
13
|
onPress: () => void;
|
|
14
14
|
};
|
|
15
|
-
export declare const ContextMenuItem: ({ children, withPill, onPress }: ContextMenuItemProps) => import("react
|
|
15
|
+
export declare const ContextMenuItem: ({ children, withPill, onPress }: ContextMenuItemProps) => import("react").JSX.Element;
|
|
16
16
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { createContext, useContext, useRef } from "react";
|
|
3
3
|
import { StyleSheet, View } from "react-native";
|
|
4
4
|
import { colors, spacings } from "../constants/design";
|
|
@@ -9,5 +9,5 @@ type Props = {
|
|
|
9
9
|
subtitle?: ReactNode;
|
|
10
10
|
children?: ReactNode;
|
|
11
11
|
};
|
|
12
|
-
export declare const EmptyView: ({ icon, borderedIcon, borderedIconPadding, title, subtitle, children, }: Props) => import("react
|
|
12
|
+
export declare const EmptyView: ({ icon, borderedIcon, borderedIconPadding, title, subtitle, children, }: Props) => import("react").JSX.Element;
|
|
13
13
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { StyleSheet, View } from "react-native";
|
|
3
3
|
import { colors } from "../constants/design";
|
|
4
4
|
import { BorderedIcon } from "./BorderedIcon";
|
package/src/components/Fill.d.ts
CHANGED
|
@@ -3,5 +3,5 @@ type Props = {
|
|
|
3
3
|
minHeight?: SpacingValue;
|
|
4
4
|
minWidth?: SpacingValue;
|
|
5
5
|
};
|
|
6
|
-
export declare const Fill: ({ minHeight, minWidth }: Props) => import("react
|
|
6
|
+
export declare const Fill: ({ minHeight, minWidth }: Props) => import("react").JSX.Element;
|
|
7
7
|
export {};
|
|
@@ -26,5 +26,5 @@ type Props<T> = {
|
|
|
26
26
|
showsScrollIndicators?: boolean;
|
|
27
27
|
style?: StyleProp<ViewStyle>;
|
|
28
28
|
};
|
|
29
|
-
export declare const FlatList: <T>({ ref, ItemSeparatorComponent, ListEmptyComponent, ListFooterComponent, ListHeaderComponent, contentContainerStyle, data, horizontal, keyExtractor, onEndReached, onEndReachedThresholdPx, onKeyDown, onScroll, renderItem, role, scrollEventThrottle, showsScrollIndicators, style, }: Props<T>) => import("react
|
|
29
|
+
export declare const FlatList: <T>({ ref, ItemSeparatorComponent, ListEmptyComponent, ListFooterComponent, ListHeaderComponent, contentContainerStyle, data, horizontal, keyExtractor, onEndReached, onEndReachedThresholdPx, onKeyDown, onScroll, renderItem, role, scrollEventThrottle, showsScrollIndicators, style, }: Props<T>) => import("react").JSX.Element;
|
|
30
30
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Fragment, useEffect, useRef } from "react";
|
|
3
3
|
import { StyleSheet, View } from "react-native";
|
|
4
4
|
import { ScrollView } from "./ScrollView";
|
|
@@ -15,8 +15,8 @@ export const FlatList = ({ ref, ItemSeparatorComponent, ListEmptyComponent, List
|
|
|
15
15
|
const scrollTrackerStyle = horizontal
|
|
16
16
|
? { top: 0, width: onEndReachedThresholdPx }
|
|
17
17
|
: { left: 0, height: onEndReachedThresholdPx };
|
|
18
|
-
// biome-ignore lint/correctness/useExhaustiveDependencies(onEndReached):
|
|
19
|
-
// biome-ignore lint/correctness/useExhaustiveDependencies(data.length):
|
|
18
|
+
// biome-ignore lint/correctness/useExhaustiveDependencies(onEndReached): re-create an observer only on list length change
|
|
19
|
+
// biome-ignore lint/correctness/useExhaustiveDependencies(data.length): re-create an observer only on list length change
|
|
20
20
|
useEffect(() => {
|
|
21
21
|
const element = scrollTrackerRef.current;
|
|
22
22
|
if (element != null) {
|
|
@@ -8,5 +8,5 @@ type Props = {
|
|
|
8
8
|
steps: FlowStep[];
|
|
9
9
|
mode: "desktop" | "mobile";
|
|
10
10
|
};
|
|
11
|
-
export declare const FlowPresentation: ({ steps, mode }: Props) => import("react
|
|
11
|
+
export declare const FlowPresentation: ({ steps, mode }: Props) => import("react").JSX.Element;
|
|
12
12
|
export {};
|
|
@@ -13,5 +13,5 @@ type Props = {
|
|
|
13
13
|
returnFocus: boolean;
|
|
14
14
|
style?: StyleProp<ViewStyle>;
|
|
15
15
|
};
|
|
16
|
-
export declare const FocusTrap: ({ ref, children, focusLock, onClickOutside, onEscapeKey, returnFocus, style, autoFocus, }: Props) => import("react
|
|
16
|
+
export declare const FocusTrap: ({ ref, children, focusLock, onClickOutside, onEscapeKey, returnFocus, style, autoFocus, }: Props) => import("react").JSX.Element;
|
|
17
17
|
export {};
|
package/src/components/Form.d.ts
CHANGED
|
@@ -8,10 +8,91 @@ type Props = Except<ViewProps, "role"> & {
|
|
|
8
8
|
onSubmit?: (event: React.FormEvent<HTMLElement>) => void;
|
|
9
9
|
};
|
|
10
10
|
export declare const Form: import("react").MemoExoticComponent<({ ref, style, onReset, onSubmit, ...props }: Props) => import("react").ReactElement<{
|
|
11
|
+
onPointerEnter?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
12
|
+
onPointerEnterCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
13
|
+
onPointerLeave?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
14
|
+
onPointerLeaveCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
15
|
+
onPointerMove?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
16
|
+
onPointerMoveCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
17
|
+
onPointerCancel?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
18
|
+
onPointerCancelCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
19
|
+
onPointerDown?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
20
|
+
onPointerDownCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
21
|
+
onPointerUp?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
22
|
+
onPointerUpCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
23
|
+
onStartShouldSetResponder?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
24
|
+
onMoveShouldSetResponder?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
25
|
+
onResponderEnd?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
26
|
+
onResponderGrant?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
27
|
+
onResponderReject?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
28
|
+
onResponderMove?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
29
|
+
onResponderRelease?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
30
|
+
onResponderStart?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
31
|
+
onResponderTerminationRequest?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
32
|
+
onResponderTerminate?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
33
|
+
onStartShouldSetResponderCapture?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
34
|
+
onMoveShouldSetResponderCapture?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
35
|
+
onTouchStart?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
36
|
+
onTouchMove?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
37
|
+
onTouchEnd?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
38
|
+
onTouchCancel?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
39
|
+
onTouchEndCapture?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
40
|
+
accessible?: boolean | undefined;
|
|
41
|
+
accessibilityActions?: readonly import("react-native").AccessibilityActionInfo[] | undefined;
|
|
42
|
+
accessibilityLabel?: string | undefined;
|
|
43
|
+
"aria-label"?: string | undefined;
|
|
44
|
+
accessibilityRole?: import("react-native").AccessibilityRole | undefined;
|
|
45
|
+
accessibilityState?: import("react-native").AccessibilityState | undefined;
|
|
46
|
+
"aria-busy"?: boolean | undefined;
|
|
47
|
+
"aria-checked"?: boolean | "mixed" | undefined;
|
|
48
|
+
"aria-disabled"?: boolean | undefined;
|
|
49
|
+
"aria-expanded"?: boolean | undefined;
|
|
50
|
+
"aria-selected"?: boolean | undefined;
|
|
51
|
+
"aria-labelledby"?: string | undefined;
|
|
52
|
+
accessibilityHint?: string | undefined;
|
|
53
|
+
accessibilityValue?: import("react-native").AccessibilityValue | undefined;
|
|
54
|
+
"aria-valuemax"?: import("react-native").AccessibilityValue["max"] | undefined;
|
|
55
|
+
"aria-valuemin"?: import("react-native").AccessibilityValue["min"] | undefined;
|
|
56
|
+
"aria-valuenow"?: import("react-native").AccessibilityValue["now"] | undefined;
|
|
57
|
+
"aria-valuetext"?: import("react-native").AccessibilityValue["text"] | undefined;
|
|
58
|
+
onAccessibilityAction?: ((event: import("react-native").AccessibilityActionEvent) => void) | undefined;
|
|
59
|
+
importantForAccessibility?: ("auto" | "yes" | "no" | "no-hide-descendants") | undefined;
|
|
60
|
+
"aria-hidden"?: boolean | undefined;
|
|
61
|
+
"aria-live"?: ("polite" | "assertive" | "off") | undefined;
|
|
62
|
+
"aria-modal"?: boolean | undefined;
|
|
63
|
+
accessibilityLiveRegion?: "none" | "polite" | "assertive" | undefined;
|
|
64
|
+
accessibilityLabelledBy?: string | string[] | undefined;
|
|
65
|
+
accessibilityElementsHidden?: boolean | undefined;
|
|
66
|
+
accessibilityViewIsModal?: boolean | undefined;
|
|
67
|
+
onAccessibilityEscape?: (() => void) | undefined;
|
|
68
|
+
onAccessibilityTap?: (() => void) | undefined;
|
|
69
|
+
onMagicTap?: (() => void) | undefined;
|
|
70
|
+
accessibilityIgnoresInvertColors?: boolean | undefined;
|
|
71
|
+
accessibilityLanguage?: string | undefined;
|
|
72
|
+
isTVSelectable?: boolean | undefined;
|
|
73
|
+
hasTVPreferredFocus?: boolean | undefined;
|
|
74
|
+
tvParallaxProperties?: import("react-native").TVParallaxProperties | undefined;
|
|
75
|
+
tvParallaxShiftDistanceX?: number | undefined;
|
|
76
|
+
tvParallaxShiftDistanceY?: number | undefined;
|
|
77
|
+
tvParallaxTiltAngle?: number | undefined;
|
|
78
|
+
tvParallaxMagnification?: number | undefined;
|
|
79
|
+
shouldRasterizeIOS?: boolean | undefined;
|
|
80
|
+
collapsable?: boolean | undefined;
|
|
81
|
+
needsOffscreenAlphaCompositing?: boolean | undefined;
|
|
82
|
+
renderToHardwareTextureAndroid?: boolean | undefined;
|
|
83
|
+
focusable?: boolean | undefined;
|
|
84
|
+
children?: ReactNode;
|
|
85
|
+
hitSlop?: import("react-native").Insets | undefined;
|
|
86
|
+
id?: string | undefined;
|
|
87
|
+
onLayout?: ((event: import("react-native").LayoutChangeEvent) => void) | undefined;
|
|
88
|
+
pointerEvents?: "box-none" | "none" | "box-only" | "auto" | undefined;
|
|
89
|
+
removeClippedSubviews?: boolean | undefined;
|
|
90
|
+
testID?: string | undefined;
|
|
91
|
+
nativeID?: string | undefined;
|
|
11
92
|
ref: Ref<View> | undefined;
|
|
12
93
|
onReset: (event: React.FormEvent<HTMLElement>) => void;
|
|
13
94
|
onSubmit: (event: React.FormEvent<HTMLElement>) => void;
|
|
14
|
-
style: (
|
|
95
|
+
style: ({
|
|
15
96
|
readonly alignItems: "stretch";
|
|
16
97
|
readonly backgroundColor: "transparent";
|
|
17
98
|
readonly borderColor: "black";
|
|
@@ -30,127 +111,43 @@ export declare const Form: import("react").MemoExoticComponent<({ ref, style, on
|
|
|
30
111
|
readonly position: "relative";
|
|
31
112
|
readonly textDecoration: "none";
|
|
32
113
|
readonly zIndex: 0;
|
|
33
|
-
})[];
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
onTouchStart?: ((event: import("react-native").GestureResponderEvent) => void) | undefined | undefined;
|
|
72
|
-
onTouchMove?: ((event: import("react-native").GestureResponderEvent) => void) | undefined | undefined;
|
|
73
|
-
onTouchEnd?: ((event: import("react-native").GestureResponderEvent) => void) | undefined | undefined;
|
|
74
|
-
onTouchCancel?: ((event: import("react-native").GestureResponderEvent) => void) | undefined | undefined;
|
|
75
|
-
onTouchEndCapture?: ((event: import("react-native").GestureResponderEvent) => void) | undefined | undefined;
|
|
76
|
-
onPointerEnter?: ((event: import("react-native").PointerEvent) => void) | undefined | undefined;
|
|
77
|
-
onPointerEnterCapture?: ((event: import("react-native").PointerEvent) => void) | undefined | undefined;
|
|
78
|
-
onPointerLeave?: ((event: import("react-native").PointerEvent) => void) | undefined | undefined;
|
|
79
|
-
onPointerLeaveCapture?: ((event: import("react-native").PointerEvent) => void) | undefined | undefined;
|
|
80
|
-
onPointerMove?: ((event: import("react-native").PointerEvent) => void) | undefined | undefined;
|
|
81
|
-
onPointerMoveCapture?: ((event: import("react-native").PointerEvent) => void) | undefined | undefined;
|
|
82
|
-
onPointerCancel?: ((event: import("react-native").PointerEvent) => void) | undefined | undefined;
|
|
83
|
-
onPointerCancelCapture?: ((event: import("react-native").PointerEvent) => void) | undefined | undefined;
|
|
84
|
-
onPointerDown?: ((event: import("react-native").PointerEvent) => void) | undefined | undefined;
|
|
85
|
-
onPointerDownCapture?: ((event: import("react-native").PointerEvent) => void) | undefined | undefined;
|
|
86
|
-
onPointerUp?: ((event: import("react-native").PointerEvent) => void) | undefined | undefined;
|
|
87
|
-
onPointerUpCapture?: ((event: import("react-native").PointerEvent) => void) | undefined | undefined;
|
|
88
|
-
accessible?: boolean | undefined | undefined;
|
|
89
|
-
accessibilityActions?: readonly Readonly<{
|
|
90
|
-
name: import("react-native").AccessibilityActionName | string;
|
|
91
|
-
label?: string | undefined;
|
|
92
|
-
}>[] | undefined;
|
|
93
|
-
accessibilityLabel?: string | undefined | undefined;
|
|
94
|
-
"aria-label"?: string | undefined | undefined;
|
|
95
|
-
accessibilityRole?: import("react-native").AccessibilityRole | undefined;
|
|
96
|
-
accessibilityState?: import("react-native").AccessibilityState | undefined;
|
|
97
|
-
"aria-busy"?: boolean | undefined | undefined;
|
|
98
|
-
"aria-checked"?: boolean | "mixed" | undefined | undefined;
|
|
99
|
-
"aria-disabled"?: boolean | undefined | undefined;
|
|
100
|
-
"aria-expanded"?: boolean | undefined | undefined;
|
|
101
|
-
"aria-selected"?: boolean | undefined | undefined;
|
|
102
|
-
"aria-labelledby"?: string | undefined | undefined;
|
|
103
|
-
accessibilityHint?: string | undefined | undefined;
|
|
104
|
-
accessibilityValue?: import("react-native").AccessibilityValue | undefined;
|
|
105
|
-
"aria-valuemax"?: number | undefined;
|
|
106
|
-
"aria-valuemin"?: number | undefined;
|
|
107
|
-
"aria-valuenow"?: number | undefined;
|
|
108
|
-
"aria-valuetext"?: string | undefined;
|
|
109
|
-
onAccessibilityAction?: ((event: import("react-native").AccessibilityActionEvent) => void) | undefined | undefined;
|
|
110
|
-
importantForAccessibility?: ("auto" | "yes" | "no" | "no-hide-descendants") | undefined | undefined;
|
|
111
|
-
"aria-hidden"?: boolean | undefined | undefined;
|
|
112
|
-
"aria-live"?: ("polite" | "assertive" | "off") | undefined | undefined;
|
|
113
|
-
"aria-modal"?: boolean | undefined | undefined;
|
|
114
|
-
accessibilityLiveRegion?: "none" | "polite" | "assertive" | undefined | undefined;
|
|
115
|
-
accessibilityLabelledBy?: string | string[] | undefined | undefined;
|
|
116
|
-
accessibilityElementsHidden?: boolean | undefined | undefined;
|
|
117
|
-
accessibilityViewIsModal?: boolean | undefined | undefined;
|
|
118
|
-
onAccessibilityEscape?: (() => void) | undefined | undefined;
|
|
119
|
-
onAccessibilityTap?: (() => void) | undefined | undefined;
|
|
120
|
-
onMagicTap?: (() => void) | undefined | undefined;
|
|
121
|
-
accessibilityIgnoresInvertColors?: boolean | undefined | undefined;
|
|
122
|
-
accessibilityLanguage?: string | undefined | undefined;
|
|
123
|
-
tabIndex?: 0 | -1 | undefined;
|
|
124
|
-
"aria-activedescendant"?: string | undefined;
|
|
125
|
-
"aria-atomic"?: boolean | undefined;
|
|
126
|
-
"aria-autocomplete"?: string | undefined;
|
|
127
|
-
"aria-colcount"?: number | undefined;
|
|
128
|
-
"aria-colindex"?: number | undefined;
|
|
129
|
-
"aria-colspan"?: number | undefined;
|
|
130
|
-
"aria-controls"?: string | undefined;
|
|
131
|
-
"aria-current"?: boolean | "page" | "step" | "location" | "date" | "time" | undefined;
|
|
132
|
-
"aria-describedby"?: string | undefined;
|
|
133
|
-
"aria-details"?: string | undefined;
|
|
134
|
-
"aria-errormessage"?: string | undefined;
|
|
135
|
-
"aria-flowto"?: string | undefined;
|
|
136
|
-
"aria-haspopup"?: string | undefined;
|
|
137
|
-
"aria-invalid"?: boolean | undefined;
|
|
138
|
-
"aria-keyshortcuts"?: string | undefined;
|
|
139
|
-
"aria-level"?: number | undefined;
|
|
140
|
-
"aria-multiline"?: boolean | undefined;
|
|
141
|
-
"aria-multiselectable"?: boolean | undefined;
|
|
142
|
-
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
143
|
-
"aria-owns"?: string | undefined;
|
|
144
|
-
"aria-placeholder"?: string | undefined;
|
|
145
|
-
"aria-posinset"?: number | undefined;
|
|
146
|
-
"aria-pressed"?: boolean | undefined;
|
|
147
|
-
"aria-readonly"?: boolean | undefined;
|
|
148
|
-
"aria-required"?: boolean | undefined;
|
|
149
|
-
"aria-roledescription"?: string | undefined;
|
|
150
|
-
"aria-rowcount"?: number | undefined;
|
|
151
|
-
"aria-rowindex"?: number | undefined;
|
|
152
|
-
"aria-rowspan"?: number | undefined;
|
|
153
|
-
"aria-setsize"?: number | undefined;
|
|
154
|
-
"aria-sort"?: "ascending" | "descending" | "none" | "other" | undefined;
|
|
114
|
+
} | import("react-native").StyleProp<import("react-native").ViewStyle>)[];
|
|
115
|
+
tabIndex?: 0 | -1;
|
|
116
|
+
"aria-activedescendant"?: string;
|
|
117
|
+
"aria-atomic"?: boolean;
|
|
118
|
+
"aria-autocomplete"?: string;
|
|
119
|
+
"aria-colcount"?: number;
|
|
120
|
+
"aria-colindex"?: number;
|
|
121
|
+
"aria-colspan"?: number;
|
|
122
|
+
"aria-controls"?: string;
|
|
123
|
+
"aria-current"?: boolean | "page" | "step" | "location" | "date" | "time";
|
|
124
|
+
"aria-describedby"?: string;
|
|
125
|
+
"aria-details"?: string;
|
|
126
|
+
"aria-errormessage"?: string;
|
|
127
|
+
"aria-flowto"?: string;
|
|
128
|
+
"aria-haspopup"?: string;
|
|
129
|
+
"aria-invalid"?: boolean;
|
|
130
|
+
"aria-keyshortcuts"?: string;
|
|
131
|
+
"aria-level"?: number;
|
|
132
|
+
"aria-multiline"?: boolean;
|
|
133
|
+
"aria-multiselectable"?: boolean;
|
|
134
|
+
"aria-orientation"?: "horizontal" | "vertical";
|
|
135
|
+
"aria-owns"?: string;
|
|
136
|
+
"aria-placeholder"?: string;
|
|
137
|
+
"aria-posinset"?: number;
|
|
138
|
+
"aria-pressed"?: boolean;
|
|
139
|
+
"aria-readonly"?: boolean;
|
|
140
|
+
"aria-required"?: boolean;
|
|
141
|
+
"aria-roledescription"?: string;
|
|
142
|
+
"aria-rowcount"?: number;
|
|
143
|
+
"aria-rowindex"?: number;
|
|
144
|
+
"aria-rowspan"?: number;
|
|
145
|
+
"aria-setsize"?: number;
|
|
146
|
+
"aria-sort"?: "ascending" | "descending" | "none" | "other";
|
|
147
|
+
onKeyDown?: (event: NativeSyntheticEvent<React.KeyboardEvent>) => void;
|
|
148
|
+
onKeyDownCapture?: (event: NativeSyntheticEvent<React.KeyboardEvent>) => void;
|
|
149
|
+
onKeyUp?: (event: NativeSyntheticEvent<React.KeyboardEvent>) => void;
|
|
150
|
+
onKeyUpCapture?: (event: NativeSyntheticEvent<React.KeyboardEvent>) => void;
|
|
151
|
+
onScroll?: (event: NativeSyntheticEvent<React.UIEvent>) => void;
|
|
155
152
|
}, string | import("react").JSXElementConstructor<any>>>;
|
|
156
153
|
export {};
|
|
@@ -3,5 +3,5 @@ type Props = {
|
|
|
3
3
|
visible: boolean;
|
|
4
4
|
children: ReactNode;
|
|
5
5
|
};
|
|
6
|
-
export declare const FullViewportLayer: ({ visible, children }: Props) => import("react
|
|
6
|
+
export declare const FullViewportLayer: ({ visible, children }: Props) => import("react").JSX.Element;
|
|
7
7
|
export {};
|
package/src/components/Grid.d.ts
CHANGED
|
@@ -9,5 +9,5 @@ type Props = {
|
|
|
9
9
|
style?: StyleProp<ViewStyle>;
|
|
10
10
|
verticalSpace?: SpacingValue;
|
|
11
11
|
};
|
|
12
|
-
export declare const Grid: ({ children, horizontalSpace, itemWrapperStyle, numColumns, style, verticalSpace, }: Props) => import("react
|
|
12
|
+
export declare const Grid: ({ children, horizontalSpace, itemWrapperStyle, numColumns, style, verticalSpace, }: Props) => import("react").JSX.Element;
|
|
13
13
|
export {};
|
package/src/components/Icon.d.ts
CHANGED
|
@@ -236,6 +236,7 @@ declare const paths: {
|
|
|
236
236
|
"shield-task-regular": string;
|
|
237
237
|
"shield-checkmark-filled": string;
|
|
238
238
|
"shield-checkmark-regular": string;
|
|
239
|
+
"shield-error-filled": string;
|
|
239
240
|
"shield-error-regular": string;
|
|
240
241
|
"shield-regular": string;
|
|
241
242
|
"shopping-bag-regular": string;
|