@refy-design/mobile 0.0.0-stage → 1.1.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/LICENSE +21 -0
- package/README.md +61 -2
- package/dist/index.js +10298 -0
- package/dist/types/_contracts/accordion.d.ts +34 -0
- package/dist/types/_contracts/account.d.ts +113 -0
- package/dist/types/_contracts/activity-item.d.ts +23 -0
- package/dist/types/_contracts/aspect-ratio.d.ts +5 -0
- package/dist/types/_contracts/avatar-group.d.ts +20 -0
- package/dist/types/_contracts/avatar.d.ts +23 -0
- package/dist/types/_contracts/badge.d.ts +9 -0
- package/dist/types/_contracts/boards.d.ts +42 -0
- package/dist/types/_contracts/brand-logo.d.ts +12 -0
- package/dist/types/_contracts/bubble.d.ts +5 -0
- package/dist/types/_contracts/button-group.d.ts +12 -0
- package/dist/types/_contracts/button.d.ts +27 -0
- package/dist/types/_contracts/calendar.d.ts +33 -0
- package/dist/types/_contracts/callout.d.ts +19 -0
- package/dist/types/_contracts/capture.d.ts +29 -0
- package/dist/types/_contracts/card.d.ts +26 -0
- package/dist/types/_contracts/charts.d.ts +79 -0
- package/dist/types/_contracts/checkbox.d.ts +17 -0
- package/dist/types/_contracts/chip.d.ts +23 -0
- package/dist/types/_contracts/choice-card.d.ts +34 -0
- package/dist/types/_contracts/combobox.d.ts +57 -0
- package/dist/types/_contracts/connector-card.d.ts +26 -0
- package/dist/types/_contracts/content.d.ts +83 -0
- package/dist/types/_contracts/divider.d.ts +12 -0
- package/dist/types/_contracts/empty-state.d.ts +13 -0
- package/dist/types/_contracts/fab.d.ts +13 -0
- package/dist/types/_contracts/form-fields.d.ts +41 -0
- package/dist/types/_contracts/guided.d.ts +67 -0
- package/dist/types/_contracts/icon-button.d.ts +9 -0
- package/dist/types/_contracts/index.d.ts +62 -0
- package/dist/types/_contracts/input.d.ts +15 -0
- package/dist/types/_contracts/item.d.ts +11 -0
- package/dist/types/_contracts/modal.d.ts +18 -0
- package/dist/types/_contracts/nav-card.d.ts +12 -0
- package/dist/types/_contracts/oauth-button.d.ts +8 -0
- package/dist/types/_contracts/organisms.d.ts +133 -0
- package/dist/types/_contracts/otp.d.ts +23 -0
- package/dist/types/_contracts/overlay.d.ts +118 -0
- package/dist/types/_contracts/page-header.d.ts +14 -0
- package/dist/types/_contracts/pagination.d.ts +10 -0
- package/dist/types/_contracts/person-cell.d.ts +9 -0
- package/dist/types/_contracts/progress-bar.d.ts +19 -0
- package/dist/types/_contracts/radio-group.d.ts +15 -0
- package/dist/types/_contracts/score-gauge.d.ts +15 -0
- package/dist/types/_contracts/scroll-area.d.ts +3 -0
- package/dist/types/_contracts/section-header.d.ts +13 -0
- package/dist/types/_contracts/segmented.d.ts +22 -0
- package/dist/types/_contracts/select.d.ts +7 -0
- package/dist/types/_contracts/setting-row.d.ts +27 -0
- package/dist/types/_contracts/skeleton.d.ts +9 -0
- package/dist/types/_contracts/slider.d.ts +45 -0
- package/dist/types/_contracts/stat.d.ts +37 -0
- package/dist/types/_contracts/status-dot.d.ts +11 -0
- package/dist/types/_contracts/sticky.d.ts +14 -0
- package/dist/types/_contracts/switch.d.ts +10 -0
- package/dist/types/_contracts/table.d.ts +33 -0
- package/dist/types/_contracts/tabs.d.ts +23 -0
- package/dist/types/_contracts/textarea.d.ts +7 -0
- package/dist/types/_contracts/toast.d.ts +28 -0
- package/dist/types/_contracts/toggle-group.d.ts +19 -0
- package/dist/types/_contracts/usage-meter.d.ts +19 -0
- package/dist/types/_contracts/wizard-stepper.d.ts +21 -0
- package/dist/types/_contracts/workflow.d.ts +103 -0
- package/dist/types/_tokens/index.d.ts +422 -0
- package/dist/types/chart/Charts.d.ts +77 -0
- package/dist/types/chart/D3Chart.d.ts +11 -0
- package/dist/types/chart/SceneChart.d.ts +19 -0
- package/dist/types/chart/d3/cartesian.d.ts +4 -0
- package/dist/types/chart/d3/hierarchy.d.ts +3 -0
- package/dist/types/chart/d3/radial.d.ts +3 -0
- package/dist/types/chart/d3/relations.d.ts +3 -0
- package/dist/types/chart/d3/shared.d.ts +21 -0
- package/dist/types/chart/d3/styles.d.ts +10 -0
- package/dist/types/chart/d3/svg.d.ts +6 -0
- package/dist/types/chart/d3/types.d.ts +228 -0
- package/dist/types/chart/scales.d.ts +17 -0
- package/dist/types/chart/scene.d.ts +32 -0
- package/dist/types/chart/types.d.ts +92 -0
- package/dist/types/components/Accordion.d.ts +10 -0
- package/dist/types/components/ActivityItem.d.ts +7 -0
- package/dist/types/components/AlertDialog.d.ts +8 -0
- package/dist/types/components/ApprovalWorkbench.d.ts +11 -0
- package/dist/types/components/AspectRatio.d.ts +6 -0
- package/dist/types/components/Avatar.d.ts +9 -0
- package/dist/types/components/AvatarGroup.d.ts +9 -0
- package/dist/types/components/Badge.d.ts +7 -0
- package/dist/types/components/BillingCard.d.ts +6 -0
- package/dist/types/components/BrandLogo.d.ts +7 -0
- package/dist/types/components/Bubble.d.ts +6 -0
- package/dist/types/components/Button.d.ts +13 -0
- package/dist/types/components/ButtonGroup.d.ts +6 -0
- package/dist/types/components/Calendar.d.ts +17 -0
- package/dist/types/components/Callout.d.ts +7 -0
- package/dist/types/components/Card.d.ts +10 -0
- package/dist/types/components/Carousel.d.ts +11 -0
- package/dist/types/components/Checkbox.d.ts +10 -0
- package/dist/types/components/Chip.d.ts +9 -0
- package/dist/types/components/ChoiceCard.d.ts +14 -0
- package/dist/types/components/CodeBlock.d.ts +22 -0
- package/dist/types/components/Collapsible.d.ts +6 -0
- package/dist/types/components/Combobox.d.ts +32 -0
- package/dist/types/components/ConnectorCard.d.ts +6 -0
- package/dist/types/components/ContextMenu.d.ts +10 -0
- package/dist/types/components/Coverflow.d.ts +12 -0
- package/dist/types/components/DangerZone.d.ts +10 -0
- package/dist/types/components/DatePicker.d.ts +7 -0
- package/dist/types/components/Divider.d.ts +7 -0
- package/dist/types/components/Drawer.d.ts +23 -0
- package/dist/types/components/EmptyState.d.ts +6 -0
- package/dist/types/components/EventTimeline.d.ts +15 -0
- package/dist/types/components/Fab.d.ts +8 -0
- package/dist/types/components/FabMenu.d.ts +11 -0
- package/dist/types/components/Field.d.ts +24 -0
- package/dist/types/components/FileUpload.d.ts +37 -0
- package/dist/types/components/GeoAreaPicker.d.ts +17 -0
- package/dist/types/components/GoogleButton.d.ts +5 -0
- package/dist/types/components/GuidedTour.d.ts +15 -0
- package/dist/types/components/HelpField.d.ts +11 -0
- package/dist/types/components/HelpMenu.d.ts +7 -0
- package/dist/types/components/IconButton.d.ts +10 -0
- package/dist/types/components/Input.d.ts +9 -0
- package/dist/types/components/IntentComposer.d.ts +14 -0
- package/dist/types/components/Item.d.ts +6 -0
- package/dist/types/components/KanbanBoard.d.ts +15 -0
- package/dist/types/components/KanbanCard.d.ts +8 -0
- package/dist/types/components/Marker.d.ts +4 -0
- package/dist/types/components/Matrix2x2.d.ts +15 -0
- package/dist/types/components/Menu.d.ts +15 -0
- package/dist/types/components/Message.d.ts +14 -0
- package/dist/types/components/Modal.d.ts +9 -0
- package/dist/types/components/Multiselect.d.ts +18 -0
- package/dist/types/components/NavCard.d.ts +8 -0
- package/dist/types/components/NotificationBell.d.ts +11 -0
- package/dist/types/components/OAuthButton.d.ts +8 -0
- package/dist/types/components/Otp.d.ts +10 -0
- package/dist/types/components/PageHeader.d.ts +6 -0
- package/dist/types/components/Pagination.d.ts +8 -0
- package/dist/types/components/PersonCell.d.ts +6 -0
- package/dist/types/components/PhoneInput.d.ts +13 -0
- package/dist/types/components/PlanCard.d.ts +6 -0
- package/dist/types/components/Popover.d.ts +12 -0
- package/dist/types/components/PostalCodeInput.d.ts +12 -0
- package/dist/types/components/ProgressBar.d.ts +7 -0
- package/dist/types/components/PropertyActionGroup.d.ts +11 -0
- package/dist/types/components/PropertyCard.d.ts +15 -0
- package/dist/types/components/PropertyMedia.d.ts +15 -0
- package/dist/types/components/Questionnaire.d.ts +8 -0
- package/dist/types/components/RadioGroup.d.ts +7 -0
- package/dist/types/components/Range.d.ts +10 -0
- package/dist/types/components/ScoreGauge.d.ts +8 -0
- package/dist/types/components/ScrollArea.d.ts +9 -0
- package/dist/types/components/SectionHeader.d.ts +6 -0
- package/dist/types/components/Segmented.d.ts +10 -0
- package/dist/types/components/Select.d.ts +16 -0
- package/dist/types/components/SettingRow.d.ts +14 -0
- package/dist/types/components/SettingsSubnav.d.ts +12 -0
- package/dist/types/components/Skeleton.d.ts +6 -0
- package/dist/types/components/Slider.d.ts +9 -0
- package/dist/types/components/Snackbar.d.ts +6 -0
- package/dist/types/components/Spinner.d.ts +7 -0
- package/dist/types/components/SplitButton.d.ts +8 -0
- package/dist/types/components/Stat.d.ts +13 -0
- package/dist/types/components/StatusDot.d.ts +7 -0
- package/dist/types/components/Sticky.d.ts +15 -0
- package/dist/types/components/SwipeDeck.d.ts +18 -0
- package/dist/types/components/Switch.d.ts +10 -0
- package/dist/types/components/Table.d.ts +28 -0
- package/dist/types/components/Tabs.d.ts +7 -0
- package/dist/types/components/Textarea.d.ts +11 -0
- package/dist/types/components/Timeline.d.ts +18 -0
- package/dist/types/components/Toast.d.ts +20 -0
- package/dist/types/components/ToggleGroup.d.ts +7 -0
- package/dist/types/components/Tooltip.d.ts +9 -0
- package/dist/types/components/Trace.d.ts +11 -0
- package/dist/types/components/Track.d.ts +53 -0
- package/dist/types/components/UsageMeter.d.ts +12 -0
- package/dist/types/components/UserMenu.d.ts +11 -0
- package/dist/types/components/VisitSchedulePicker.d.ts +12 -0
- package/dist/types/components/VoiceRecorder.d.ts +13 -0
- package/dist/types/components/WizardStepper.d.ts +7 -0
- package/dist/types/components/WorkspaceSwitcher.d.ts +11 -0
- package/dist/types/components/providerIcons.d.ts +9 -0
- package/dist/types/hooks.d.ts +4 -0
- package/dist/types/icon.d.ts +14 -0
- package/dist/types/index.d.ts +114 -0
- package/dist/types/messages/en.d.ts +523 -0
- package/dist/types/overlay.d.ts +69 -0
- package/dist/types/primitives.d.ts +41 -0
- package/dist/types/theme.d.ts +37 -0
- package/package.json +108 -4
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
export { RefyProvider, RefyScope, useRefy } from "./theme";
|
|
2
|
+
export type { FontResolver, RefyContext, RefyNativeMode, RefyProviderProps } from "./theme";
|
|
3
|
+
export { MIN_TOUCH } from "./primitives";
|
|
4
|
+
export { useReducedMotion } from "./hooks";
|
|
5
|
+
export * from "./components/Badge";
|
|
6
|
+
export * from "./components/BrandLogo";
|
|
7
|
+
export * from "./components/Button";
|
|
8
|
+
export * from "./components/Card";
|
|
9
|
+
export * from "./components/ChoiceCard";
|
|
10
|
+
export * from "./components/ConnectorCard";
|
|
11
|
+
export * from "./components/EmptyState";
|
|
12
|
+
export * from "./components/Input";
|
|
13
|
+
export * from "./components/Item";
|
|
14
|
+
export * from "./components/Modal";
|
|
15
|
+
export * from "./components/OAuthButton";
|
|
16
|
+
export * from "./components/PageHeader";
|
|
17
|
+
export * from "./components/ProgressBar";
|
|
18
|
+
export { ScrollArea } from "./components/ScrollArea";
|
|
19
|
+
export type { ScrollAreaProps } from "./components/ScrollArea";
|
|
20
|
+
export * from "./components/Segmented";
|
|
21
|
+
export * from "./components/Select";
|
|
22
|
+
export * from "./components/SettingRow";
|
|
23
|
+
export * from "./components/Stat";
|
|
24
|
+
export * from "./components/Tabs";
|
|
25
|
+
export * from "./components/Textarea";
|
|
26
|
+
export * from "./components/Toast";
|
|
27
|
+
export * from "./components/WizardStepper";
|
|
28
|
+
export * from "./chart/D3Chart";
|
|
29
|
+
export { IconSlot, useIconStyle } from "./icon";
|
|
30
|
+
export type { IconStyle } from "./icon";
|
|
31
|
+
export * from "./components/Avatar";
|
|
32
|
+
export * from "./components/Chip";
|
|
33
|
+
export * from "./components/Fab";
|
|
34
|
+
export * from "./components/IconButton";
|
|
35
|
+
export * from "./components/Checkbox";
|
|
36
|
+
export * from "./components/Divider";
|
|
37
|
+
export * from "./components/RadioGroup";
|
|
38
|
+
export * from "./components/Skeleton";
|
|
39
|
+
export * from "./components/Spinner";
|
|
40
|
+
export * from "./components/StatusDot";
|
|
41
|
+
export * from "./components/Switch";
|
|
42
|
+
export { FieldLabel as Label } from "./components/Field";
|
|
43
|
+
export { useControllable } from "./hooks";
|
|
44
|
+
export * from "./components/AspectRatio";
|
|
45
|
+
export * from "./components/Bubble";
|
|
46
|
+
export * from "./components/GoogleButton";
|
|
47
|
+
export * from "./components/Marker";
|
|
48
|
+
export * from "./components/Otp";
|
|
49
|
+
export * from "./components/Pagination";
|
|
50
|
+
export * from "./components/Range";
|
|
51
|
+
export * from "./components/Slider";
|
|
52
|
+
export * from "./components/ToggleGroup";
|
|
53
|
+
export * from "./components/Accordion";
|
|
54
|
+
export * from "./components/AvatarGroup";
|
|
55
|
+
export * from "./components/ButtonGroup";
|
|
56
|
+
export * from "./components/Callout";
|
|
57
|
+
export * from "./components/Collapsible";
|
|
58
|
+
export * from "./components/SectionHeader";
|
|
59
|
+
export * from "./components/ActivityItem";
|
|
60
|
+
export * from "./components/NavCard";
|
|
61
|
+
export * from "./components/PersonCell";
|
|
62
|
+
export * from "./components/ScoreGauge";
|
|
63
|
+
export * from "./components/Sticky";
|
|
64
|
+
export * from "./components/UsageMeter";
|
|
65
|
+
export { AnchoredLayer, floatingPosition } from "./overlay";
|
|
66
|
+
export type { AnchoredLayerProps } from "./overlay";
|
|
67
|
+
export * from "./components/Menu";
|
|
68
|
+
export * from "./components/ContextMenu";
|
|
69
|
+
export * from "./components/Popover";
|
|
70
|
+
export * from "./components/Tooltip";
|
|
71
|
+
export * from "./components/Snackbar";
|
|
72
|
+
export * from "./components/SplitButton";
|
|
73
|
+
export * from "./components/FabMenu";
|
|
74
|
+
export * from "./components/Calendar";
|
|
75
|
+
export * from "./components/DatePicker";
|
|
76
|
+
export * from "./components/PhoneInput";
|
|
77
|
+
export * from "./components/PostalCodeInput";
|
|
78
|
+
export * from "./components/HelpField";
|
|
79
|
+
export * from "./components/Combobox";
|
|
80
|
+
export * from "./components/Multiselect";
|
|
81
|
+
export * from "./components/Carousel";
|
|
82
|
+
export * from "./components/Message";
|
|
83
|
+
export * from "./components/CodeBlock";
|
|
84
|
+
export * from "./components/BillingCard";
|
|
85
|
+
export * from "./components/PlanCard";
|
|
86
|
+
export * from "./components/DangerZone";
|
|
87
|
+
export * from "./components/UserMenu";
|
|
88
|
+
export * from "./components/HelpMenu";
|
|
89
|
+
export * from "./components/NotificationBell";
|
|
90
|
+
export * from "./components/WorkspaceSwitcher";
|
|
91
|
+
export * from "./components/SettingsSubnav";
|
|
92
|
+
export * from "./components/KanbanCard";
|
|
93
|
+
export * from "./components/PropertyActionGroup";
|
|
94
|
+
export * from "./components/PropertyMedia";
|
|
95
|
+
export * from "./components/FileUpload";
|
|
96
|
+
export * from "./components/VoiceRecorder";
|
|
97
|
+
export * from "./components/AlertDialog";
|
|
98
|
+
export * from "./components/Drawer";
|
|
99
|
+
export * from "./components/Timeline";
|
|
100
|
+
export * from "./components/EventTimeline";
|
|
101
|
+
export * from "./components/PropertyCard";
|
|
102
|
+
export * from "./components/Matrix2x2";
|
|
103
|
+
export * from "./components/Table";
|
|
104
|
+
export * from "./components/KanbanBoard";
|
|
105
|
+
export * from "./components/SwipeDeck";
|
|
106
|
+
export * from "./components/Questionnaire";
|
|
107
|
+
export * from "./components/GuidedTour";
|
|
108
|
+
export * from "./components/Coverflow";
|
|
109
|
+
export * from "./components/ApprovalWorkbench";
|
|
110
|
+
export * from "./components/Trace";
|
|
111
|
+
export * from "./components/VisitSchedulePicker";
|
|
112
|
+
export * from "./components/GeoAreaPicker";
|
|
113
|
+
export * from "./components/IntentComposer";
|
|
114
|
+
export * from "./chart/Charts";
|
|
@@ -0,0 +1,523 @@
|
|
|
1
|
+
export declare const en: {
|
|
2
|
+
activityTimeline: {
|
|
3
|
+
title: string;
|
|
4
|
+
emptyTitle: string;
|
|
5
|
+
emptyMessage: string;
|
|
6
|
+
loadError: string;
|
|
7
|
+
retry: string;
|
|
8
|
+
label: string;
|
|
9
|
+
};
|
|
10
|
+
alertDialog: {
|
|
11
|
+
confirm: string;
|
|
12
|
+
cancel: string;
|
|
13
|
+
};
|
|
14
|
+
appShell: {
|
|
15
|
+
openNavigation: string;
|
|
16
|
+
navigation: string;
|
|
17
|
+
};
|
|
18
|
+
approvalWorkbench: {
|
|
19
|
+
label: string;
|
|
20
|
+
notStarted: string;
|
|
21
|
+
inProgress: string;
|
|
22
|
+
complete: string;
|
|
23
|
+
summary: (done: number, total: number) => string;
|
|
24
|
+
progress: (done: number, total: number) => string;
|
|
25
|
+
};
|
|
26
|
+
avatarGroup: {
|
|
27
|
+
more: (n: number) => string;
|
|
28
|
+
};
|
|
29
|
+
billingCard: {
|
|
30
|
+
nextCharge: string;
|
|
31
|
+
};
|
|
32
|
+
breadcrumb: {
|
|
33
|
+
label: string;
|
|
34
|
+
home: string;
|
|
35
|
+
showHidden: string;
|
|
36
|
+
};
|
|
37
|
+
calendar: {
|
|
38
|
+
previousMonth: string;
|
|
39
|
+
nextMonth: string;
|
|
40
|
+
};
|
|
41
|
+
callout: {
|
|
42
|
+
dismiss: string;
|
|
43
|
+
};
|
|
44
|
+
carousel: {
|
|
45
|
+
label: string;
|
|
46
|
+
slide: (n: number, total: number, label: string) => string;
|
|
47
|
+
empty: string;
|
|
48
|
+
previous: string;
|
|
49
|
+
next: string;
|
|
50
|
+
position: (n: number, total: number) => string;
|
|
51
|
+
};
|
|
52
|
+
charts: {
|
|
53
|
+
keyboardHelp: string;
|
|
54
|
+
noData: string;
|
|
55
|
+
selectSeries: string;
|
|
56
|
+
reference: string;
|
|
57
|
+
values: string;
|
|
58
|
+
legend: (title: string) => string;
|
|
59
|
+
series: (n: number) => string;
|
|
60
|
+
viewData: (title: string) => string;
|
|
61
|
+
dataOf: (title: string) => string;
|
|
62
|
+
};
|
|
63
|
+
codeBlock: {
|
|
64
|
+
copy: string;
|
|
65
|
+
copied: string;
|
|
66
|
+
reveal: string;
|
|
67
|
+
hide: string;
|
|
68
|
+
};
|
|
69
|
+
combobox: {
|
|
70
|
+
empty: string;
|
|
71
|
+
placeholder: string;
|
|
72
|
+
clear: string;
|
|
73
|
+
};
|
|
74
|
+
command: {
|
|
75
|
+
placeholder: string;
|
|
76
|
+
empty: string;
|
|
77
|
+
label: string;
|
|
78
|
+
results: string;
|
|
79
|
+
};
|
|
80
|
+
common: {
|
|
81
|
+
close: string;
|
|
82
|
+
panel: string;
|
|
83
|
+
};
|
|
84
|
+
contextMenu: {
|
|
85
|
+
label: string;
|
|
86
|
+
};
|
|
87
|
+
coverflow: {
|
|
88
|
+
label: string;
|
|
89
|
+
empty: string;
|
|
90
|
+
};
|
|
91
|
+
d3Chart: {
|
|
92
|
+
cyclicSankey: string;
|
|
93
|
+
cannotRender: string;
|
|
94
|
+
zoomIn: string;
|
|
95
|
+
zoomOut: string;
|
|
96
|
+
previous: string;
|
|
97
|
+
next: string;
|
|
98
|
+
resetView: string;
|
|
99
|
+
brushHint: string;
|
|
100
|
+
visibleRange: string;
|
|
101
|
+
clearRange: string;
|
|
102
|
+
keyboardHelp: string;
|
|
103
|
+
reactivate: string;
|
|
104
|
+
nothingToDraw: string;
|
|
105
|
+
navigate: (title: string) => string;
|
|
106
|
+
rangeOf: (title: string) => string;
|
|
107
|
+
frequency: string;
|
|
108
|
+
region: (n: number) => string;
|
|
109
|
+
value: string;
|
|
110
|
+
series: string;
|
|
111
|
+
size: string;
|
|
112
|
+
level: string;
|
|
113
|
+
minimum: string;
|
|
114
|
+
median: string;
|
|
115
|
+
maximum: string;
|
|
116
|
+
outliers: string;
|
|
117
|
+
none: string;
|
|
118
|
+
open: string;
|
|
119
|
+
close: string;
|
|
120
|
+
low: string;
|
|
121
|
+
high: string;
|
|
122
|
+
percent: string;
|
|
123
|
+
flow: string;
|
|
124
|
+
connections: string;
|
|
125
|
+
item: string;
|
|
126
|
+
data: string;
|
|
127
|
+
};
|
|
128
|
+
datePicker: {
|
|
129
|
+
calendar: (label: string) => string;
|
|
130
|
+
clear: string;
|
|
131
|
+
choose: string;
|
|
132
|
+
};
|
|
133
|
+
deviceFrame: {
|
|
134
|
+
page: string;
|
|
135
|
+
};
|
|
136
|
+
fabMenu: {
|
|
137
|
+
open: string;
|
|
138
|
+
close: string;
|
|
139
|
+
};
|
|
140
|
+
fileUpload: {
|
|
141
|
+
label: string;
|
|
142
|
+
hint: string;
|
|
143
|
+
notAdded: string;
|
|
144
|
+
sent: string;
|
|
145
|
+
done: string;
|
|
146
|
+
tooLarge: (name: string, limit: string) => string;
|
|
147
|
+
uploadOf: (name: string) => string;
|
|
148
|
+
remove: (name: string) => string;
|
|
149
|
+
sending: (n: number) => string;
|
|
150
|
+
sendingProgress: (n: number, percent: number) => string;
|
|
151
|
+
selected: (n: number) => string;
|
|
152
|
+
fileType: string;
|
|
153
|
+
choose: (multiple: boolean) => string;
|
|
154
|
+
selectedList: string;
|
|
155
|
+
};
|
|
156
|
+
geoAreaPicker: {
|
|
157
|
+
mapLabel: string;
|
|
158
|
+
label: string;
|
|
159
|
+
mapError: string;
|
|
160
|
+
mapUnavailable: string;
|
|
161
|
+
mapFallback: string;
|
|
162
|
+
mainArea: string;
|
|
163
|
+
nearbyIncluded: string;
|
|
164
|
+
addReached: string;
|
|
165
|
+
explanation: string;
|
|
166
|
+
inSearch: string;
|
|
167
|
+
inSearchHint: string;
|
|
168
|
+
includedLabel: string;
|
|
169
|
+
mainNeighborhood: string;
|
|
170
|
+
main: string;
|
|
171
|
+
included: string;
|
|
172
|
+
outside: string;
|
|
173
|
+
outsideHint: string;
|
|
174
|
+
excludedLabel: string;
|
|
175
|
+
allIncluded: string;
|
|
176
|
+
none: string;
|
|
177
|
+
surroundings: (area: string) => string;
|
|
178
|
+
inRadius: (n: number) => string;
|
|
179
|
+
distance: (km: string) => string;
|
|
180
|
+
isMain: (name: string) => string;
|
|
181
|
+
removeFrom: (name: string) => string;
|
|
182
|
+
addTo: (name: string) => string;
|
|
183
|
+
summary: (areas: string, left: number) => string;
|
|
184
|
+
include: string;
|
|
185
|
+
};
|
|
186
|
+
guidedTour: {
|
|
187
|
+
close: string;
|
|
188
|
+
back: string;
|
|
189
|
+
finish: string;
|
|
190
|
+
next: string;
|
|
191
|
+
position: (n: number, total: number) => string;
|
|
192
|
+
step: (n: number, total: number) => string;
|
|
193
|
+
};
|
|
194
|
+
helpField: {
|
|
195
|
+
help: (label: string) => string;
|
|
196
|
+
learnMore: string;
|
|
197
|
+
};
|
|
198
|
+
helpMenu: {
|
|
199
|
+
label: string;
|
|
200
|
+
docs: string;
|
|
201
|
+
shortcuts: string;
|
|
202
|
+
support: string;
|
|
203
|
+
};
|
|
204
|
+
intentComposer: {
|
|
205
|
+
label: string;
|
|
206
|
+
placeholder: string;
|
|
207
|
+
submit: string;
|
|
208
|
+
error: string;
|
|
209
|
+
composer: string;
|
|
210
|
+
needContext: string;
|
|
211
|
+
examples: string;
|
|
212
|
+
tryThis: string;
|
|
213
|
+
voice: string;
|
|
214
|
+
organizing: string;
|
|
215
|
+
organizingHint: string;
|
|
216
|
+
selectGroup: (group: string) => string;
|
|
217
|
+
initialFilters: string;
|
|
218
|
+
understood: string;
|
|
219
|
+
reviewDetails: string;
|
|
220
|
+
understanding: string;
|
|
221
|
+
editRequest: string;
|
|
222
|
+
processing: string;
|
|
223
|
+
};
|
|
224
|
+
kanbanBoard: {
|
|
225
|
+
label: string;
|
|
226
|
+
unavailable: string;
|
|
227
|
+
notAllowed: string;
|
|
228
|
+
staleCancel: string;
|
|
229
|
+
cancelled: string;
|
|
230
|
+
picked: string;
|
|
231
|
+
instructions: string;
|
|
232
|
+
stageActions: string;
|
|
233
|
+
addCard: string;
|
|
234
|
+
dragTitle: string;
|
|
235
|
+
cardActions: string;
|
|
236
|
+
openDetails: string;
|
|
237
|
+
moveFirst: string;
|
|
238
|
+
moveLast: string;
|
|
239
|
+
emptyFilter: string;
|
|
240
|
+
emptyStage: string;
|
|
241
|
+
noDescription: string;
|
|
242
|
+
card: string;
|
|
243
|
+
chosenStage: string;
|
|
244
|
+
thisStage: string;
|
|
245
|
+
stage: string;
|
|
246
|
+
wipReached: (limit: number) => string;
|
|
247
|
+
moved: (card: string, stage: string) => string;
|
|
248
|
+
dropTo: (stage: string) => string;
|
|
249
|
+
target: (stage: string) => string;
|
|
250
|
+
count: (n: number, limit?: number) => string;
|
|
251
|
+
stageActionsOf: (stage: string) => string;
|
|
252
|
+
addCardTo: (stage: string) => string;
|
|
253
|
+
drag: (card: string) => string;
|
|
254
|
+
moveTo: string;
|
|
255
|
+
actionsOf: (card: string) => string;
|
|
256
|
+
};
|
|
257
|
+
matrix2x2: {
|
|
258
|
+
xLabel: string;
|
|
259
|
+
yLabel: string;
|
|
260
|
+
high: string;
|
|
261
|
+
low: string;
|
|
262
|
+
aria: (y: string, x: string, n: number) => string;
|
|
263
|
+
};
|
|
264
|
+
menu: {
|
|
265
|
+
label: string;
|
|
266
|
+
};
|
|
267
|
+
menubar: {
|
|
268
|
+
label: string;
|
|
269
|
+
};
|
|
270
|
+
message: {
|
|
271
|
+
from: (author: string) => string;
|
|
272
|
+
};
|
|
273
|
+
messageScroller: {
|
|
274
|
+
label: string;
|
|
275
|
+
latest: string;
|
|
276
|
+
};
|
|
277
|
+
modal: {
|
|
278
|
+
label: string;
|
|
279
|
+
};
|
|
280
|
+
multiselect: {
|
|
281
|
+
empty: string;
|
|
282
|
+
placeholder: string;
|
|
283
|
+
close: string;
|
|
284
|
+
open: string;
|
|
285
|
+
remove: (label: string) => string;
|
|
286
|
+
hidden: (n: number) => string;
|
|
287
|
+
};
|
|
288
|
+
navigationMenu: {
|
|
289
|
+
label: string;
|
|
290
|
+
};
|
|
291
|
+
notificationBell: {
|
|
292
|
+
title: string;
|
|
293
|
+
empty: string;
|
|
294
|
+
markAll: string;
|
|
295
|
+
unread: (n: number) => string;
|
|
296
|
+
};
|
|
297
|
+
oauthButton: {
|
|
298
|
+
continueWith: (provider: string) => string;
|
|
299
|
+
};
|
|
300
|
+
otp: {
|
|
301
|
+
label: string;
|
|
302
|
+
digit: (i: number, n: number) => string;
|
|
303
|
+
};
|
|
304
|
+
pagination: {
|
|
305
|
+
label: string;
|
|
306
|
+
prev: string;
|
|
307
|
+
next: string;
|
|
308
|
+
page: (p: number) => string;
|
|
309
|
+
};
|
|
310
|
+
phoneInput: {
|
|
311
|
+
country: string;
|
|
312
|
+
};
|
|
313
|
+
planCard: {
|
|
314
|
+
current: string;
|
|
315
|
+
recommended: string;
|
|
316
|
+
};
|
|
317
|
+
postalCodeInput: {
|
|
318
|
+
invalid: string;
|
|
319
|
+
searching: string;
|
|
320
|
+
notFound: string;
|
|
321
|
+
failed: string;
|
|
322
|
+
loading: string;
|
|
323
|
+
search: string;
|
|
324
|
+
found: (city: string, state: string) => string;
|
|
325
|
+
};
|
|
326
|
+
propertyActionGroup: {
|
|
327
|
+
reject: string;
|
|
328
|
+
save: string;
|
|
329
|
+
visit: string;
|
|
330
|
+
unavailable: string;
|
|
331
|
+
idle: string;
|
|
332
|
+
group: string;
|
|
333
|
+
processing: (action: string) => string;
|
|
334
|
+
completed: (action: string) => string;
|
|
335
|
+
};
|
|
336
|
+
propertyCard: {
|
|
337
|
+
badges: string;
|
|
338
|
+
compatShort: string;
|
|
339
|
+
compatibility: string;
|
|
340
|
+
compatAria: (n: number) => string;
|
|
341
|
+
};
|
|
342
|
+
propertyMedia: {
|
|
343
|
+
label: string;
|
|
344
|
+
carousel: string;
|
|
345
|
+
loading: string;
|
|
346
|
+
unavailable: string;
|
|
347
|
+
error: string;
|
|
348
|
+
prev: string;
|
|
349
|
+
next: string;
|
|
350
|
+
choose: string;
|
|
351
|
+
retry: string;
|
|
352
|
+
show: (i: number, n: number) => string;
|
|
353
|
+
position: (i: number, n: number) => string;
|
|
354
|
+
};
|
|
355
|
+
questionnaire: {
|
|
356
|
+
empty: string;
|
|
357
|
+
sent: string;
|
|
358
|
+
review: string;
|
|
359
|
+
required: string;
|
|
360
|
+
progress: string;
|
|
361
|
+
back: string;
|
|
362
|
+
submit: string;
|
|
363
|
+
next: string;
|
|
364
|
+
step: (i: number, n: number) => string;
|
|
365
|
+
};
|
|
366
|
+
range: {
|
|
367
|
+
value: string;
|
|
368
|
+
min: string;
|
|
369
|
+
max: string;
|
|
370
|
+
};
|
|
371
|
+
resizable: {
|
|
372
|
+
label: string;
|
|
373
|
+
};
|
|
374
|
+
settingsSubnav: {
|
|
375
|
+
label: string;
|
|
376
|
+
};
|
|
377
|
+
sidebar: {
|
|
378
|
+
expand: string;
|
|
379
|
+
collapse: string;
|
|
380
|
+
switchWorkspace: string;
|
|
381
|
+
currentWorkspace: string;
|
|
382
|
+
account: (name: string) => string;
|
|
383
|
+
};
|
|
384
|
+
spinner: {
|
|
385
|
+
loading: string;
|
|
386
|
+
};
|
|
387
|
+
splitButton: {
|
|
388
|
+
loading: string;
|
|
389
|
+
more: string;
|
|
390
|
+
};
|
|
391
|
+
stat: {
|
|
392
|
+
up: string;
|
|
393
|
+
down: string;
|
|
394
|
+
};
|
|
395
|
+
swipeDeck: {
|
|
396
|
+
title: string;
|
|
397
|
+
doneTitle: string;
|
|
398
|
+
doneMessage: string;
|
|
399
|
+
restart: string;
|
|
400
|
+
queue: string;
|
|
401
|
+
photosHint: string;
|
|
402
|
+
gestureHint: string;
|
|
403
|
+
buttonsHint: string;
|
|
404
|
+
recording: string;
|
|
405
|
+
keyboardHint: string;
|
|
406
|
+
rejected: string;
|
|
407
|
+
saved: string;
|
|
408
|
+
selected: string;
|
|
409
|
+
remaining: (n: number) => string;
|
|
410
|
+
item: (i: number, n: number) => string;
|
|
411
|
+
decision: (action: string, i: number, n: number) => string;
|
|
412
|
+
};
|
|
413
|
+
table: {
|
|
414
|
+
search: string;
|
|
415
|
+
of: string;
|
|
416
|
+
filters: string;
|
|
417
|
+
clear: string;
|
|
418
|
+
clearFilters: string;
|
|
419
|
+
noMatch: string;
|
|
420
|
+
empty: string;
|
|
421
|
+
perPage: string;
|
|
422
|
+
perPageLabel: string;
|
|
423
|
+
filterBy: (label: string) => string;
|
|
424
|
+
};
|
|
425
|
+
tableOfContents: {
|
|
426
|
+
label: string;
|
|
427
|
+
};
|
|
428
|
+
tabs: {
|
|
429
|
+
completeAria: string;
|
|
430
|
+
attentionAria: string;
|
|
431
|
+
complete: string;
|
|
432
|
+
attention: string;
|
|
433
|
+
};
|
|
434
|
+
timeline: {
|
|
435
|
+
empty: string;
|
|
436
|
+
emptyTitle: string;
|
|
437
|
+
label: string;
|
|
438
|
+
scroll: string;
|
|
439
|
+
completed: string;
|
|
440
|
+
current: string;
|
|
441
|
+
planned: string;
|
|
442
|
+
};
|
|
443
|
+
topbar: {
|
|
444
|
+
search: string;
|
|
445
|
+
viewMode: string;
|
|
446
|
+
};
|
|
447
|
+
trace: {
|
|
448
|
+
label: string;
|
|
449
|
+
pending: string;
|
|
450
|
+
running: string;
|
|
451
|
+
complete: string;
|
|
452
|
+
error: string;
|
|
453
|
+
};
|
|
454
|
+
usageMeter: {
|
|
455
|
+
of: string;
|
|
456
|
+
};
|
|
457
|
+
userMenu: {
|
|
458
|
+
profile: string;
|
|
459
|
+
settings: string;
|
|
460
|
+
logout: string;
|
|
461
|
+
account: (name: string) => string;
|
|
462
|
+
};
|
|
463
|
+
visitSchedulePicker: {
|
|
464
|
+
label: string;
|
|
465
|
+
chooseDays: string;
|
|
466
|
+
chooseDaysHint: string;
|
|
467
|
+
selectedDays: string;
|
|
468
|
+
selectedDaysHint: string;
|
|
469
|
+
editingDay: string;
|
|
470
|
+
times: string;
|
|
471
|
+
timesHint: string;
|
|
472
|
+
summary: string;
|
|
473
|
+
summaryHint: string;
|
|
474
|
+
pickTimes: string;
|
|
475
|
+
days: (n: number) => string;
|
|
476
|
+
slots: (n: number) => string;
|
|
477
|
+
timezone: (tz: string) => string;
|
|
478
|
+
timesOf: (date: string) => string;
|
|
479
|
+
withTime: (n: number) => string;
|
|
480
|
+
shownIn: (tz: string) => string;
|
|
481
|
+
};
|
|
482
|
+
voiceRecorder: {
|
|
483
|
+
error: string;
|
|
484
|
+
errorTitle: string;
|
|
485
|
+
retry: string;
|
|
486
|
+
useDictation: string;
|
|
487
|
+
fallbackTitle: string;
|
|
488
|
+
gotIt: string;
|
|
489
|
+
fallbackHint: string;
|
|
490
|
+
start: string;
|
|
491
|
+
prefer: string;
|
|
492
|
+
preferHint: string;
|
|
493
|
+
panel: string;
|
|
494
|
+
listening: string;
|
|
495
|
+
paused: string;
|
|
496
|
+
listeningHint: string;
|
|
497
|
+
pausedHint: string;
|
|
498
|
+
micPaused: string;
|
|
499
|
+
cancel: string;
|
|
500
|
+
pause: string;
|
|
501
|
+
resume: string;
|
|
502
|
+
finish: string;
|
|
503
|
+
level: (n: number) => string;
|
|
504
|
+
};
|
|
505
|
+
wizardStepper: {
|
|
506
|
+
label: string;
|
|
507
|
+
back: string;
|
|
508
|
+
step: string;
|
|
509
|
+
complete: string;
|
|
510
|
+
current: string;
|
|
511
|
+
notStarted: string;
|
|
512
|
+
position: (label: string, i: number, n: number) => string;
|
|
513
|
+
count: (i: number, n: number) => string;
|
|
514
|
+
};
|
|
515
|
+
workspaceSwitcher: {
|
|
516
|
+
search: string;
|
|
517
|
+
searchPlaceholder: string;
|
|
518
|
+
list: string;
|
|
519
|
+
empty: string;
|
|
520
|
+
current: (name: string) => string;
|
|
521
|
+
};
|
|
522
|
+
};
|
|
523
|
+
export type RefyMessages = typeof en;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import type { ReactNode, RefObject } from "react";
|
|
2
|
+
import { View } from "react-native";
|
|
3
|
+
import type { StyleProp, ViewStyle } from "react-native";
|
|
4
|
+
import { useRefy } from "./theme";
|
|
5
|
+
export type Side = "top" | "bottom" | "left" | "right";
|
|
6
|
+
export type Align = "start" | "center" | "end";
|
|
7
|
+
export type Rect = {
|
|
8
|
+
left: number;
|
|
9
|
+
right: number;
|
|
10
|
+
top: number;
|
|
11
|
+
bottom: number;
|
|
12
|
+
width: number;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Cópia de floatingPosition (src/lib/AnchoredSurface.tsx). O teste de paridade compara as
|
|
16
|
+
* duas: o painel vira de lado e encosta na borda pelas mesmas regras da web.
|
|
17
|
+
*/
|
|
18
|
+
export declare function floatingPosition(anchor: Rect, size: {
|
|
19
|
+
width: number;
|
|
20
|
+
height: number;
|
|
21
|
+
}, viewport: {
|
|
22
|
+
width: number;
|
|
23
|
+
height: number;
|
|
24
|
+
}, side: Side, align: Align, gap?: number): {
|
|
25
|
+
left: number;
|
|
26
|
+
top: number;
|
|
27
|
+
maxHeight: number;
|
|
28
|
+
side: Side;
|
|
29
|
+
};
|
|
30
|
+
export interface AnchoredLayerProps {
|
|
31
|
+
open: boolean;
|
|
32
|
+
onClose: () => void;
|
|
33
|
+
/** Gatilho medido na janela. Sem ele, vale `anchorPoint`. */
|
|
34
|
+
anchorRef?: RefObject<View | null>;
|
|
35
|
+
anchorPoint?: {
|
|
36
|
+
x: number;
|
|
37
|
+
y: number;
|
|
38
|
+
};
|
|
39
|
+
side?: Side;
|
|
40
|
+
align?: Align;
|
|
41
|
+
gap?: number;
|
|
42
|
+
/** Painel com a largura do gatilho. */
|
|
43
|
+
matchWidth?: boolean;
|
|
44
|
+
/** Cor do fundo atrás do painel; transparente quando ausente. */
|
|
45
|
+
scrim?: string;
|
|
46
|
+
/** Com `scrim`, deixa o gatilho aceso: o fundo escurece em volta dele, com folga de `spotlight` pt. */
|
|
47
|
+
spotlight?: number;
|
|
48
|
+
label?: string;
|
|
49
|
+
role?: "menu" | "none";
|
|
50
|
+
panelStyle?: StyleProp<ViewStyle>;
|
|
51
|
+
children: ReactNode;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Camada ancorada do nativo: o equivalente do AnchoredSurface. Abre num Modal transparente,
|
|
55
|
+
* fecha no toque fora, no voltar do Android e no gesto de escape do VoiceOver.
|
|
56
|
+
*/
|
|
57
|
+
export declare function AnchoredLayer({ open, onClose, anchorRef, anchorPoint, side, align, gap, matchWidth, scrim, spotlight, label, role, panelStyle, children }: AnchoredLayerProps): import("react/jsx-runtime").JSX.Element | null;
|
|
58
|
+
/** Quatro faixas de fundo em volta do gatilho, com folga: o "buraco" que acende o alvo do tour. */
|
|
59
|
+
export declare function spotlightRects(anchor: Rect, pad: number, viewport: {
|
|
60
|
+
width: number;
|
|
61
|
+
height: number;
|
|
62
|
+
}): {
|
|
63
|
+
left: number;
|
|
64
|
+
top: number;
|
|
65
|
+
width: number;
|
|
66
|
+
height: number;
|
|
67
|
+
}[];
|
|
68
|
+
/** Superfície dos painéis (Popover, Menu): a mesma cadeia de tokens da web. */
|
|
69
|
+
export declare function panelSurface(t: ReturnType<typeof useRefy>): ViewStyle;
|