@octane-xplat/ui 0.7.0 → 0.7.1
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/dist/native/octane-client-build.json +1 -1
- package/dist/web/octane-client-build.json +1 -1
- package/dist/web/ui.js +0 -1
- package/package.json +18 -2
- package/src/VirtualList.macos.tsrx +45 -8
- package/src/index.web.ts +261 -1
- package/types/generated/.tsrx-typegen-manifest.json +0 -1
- package/types/generated/index.web.d.ts +111 -1
- package/dist/web/index.shared.web.js +0 -92
- package/src/index.shared.web.ts +0 -270
- package/types/generated/index.shared.web.d.ts +0 -111
package/dist/web/ui.js
CHANGED
|
@@ -89,5 +89,4 @@ import { createStore } from "./store.js";
|
|
|
89
89
|
import { useStore } from "./use-store.web.tsrx.js";
|
|
90
90
|
import { Sheet } from "./Sheet.web.tsrx.js";
|
|
91
91
|
import { closeSheet, openSheet } from "./sheet-service.web.js";
|
|
92
|
-
import "./index.shared.web.js";
|
|
93
92
|
export { Absolute, Accordion, ActivityIndicator, Alert, Avatar, AvatarGroup, Badge, Banner, Breadcrumb, Button, Card, Checkbox, CheckboxGroup, Chip, Collapsible, View as Column, Combobox, CommandPalette, ContextMenu, Drawer, DropdownMenu, Empty, FieldGroup, FormField, Grid, Heading, Hoverable, Icon, Image, InputMenu, InputNumber, InputRating, InputTags, Kbd, Link, ListItem, Meter, NavLink, NavigationMenu, Overlay, Pagination, PinInput, Popover, Pressable, ProgressGroup, RadioGroup, RichText, RichTextSpan, Row, SafeArea, Screen, ScrollBox, ScrollView, SearchInput, SegmentedControl, Select, SelectMenu, Separator, Sheet, Skeleton, Slider, Spacer, Stack, Stepper, Switch, Table, Tabs, Text, TextArea, TextInput, Timeline, Tooltip, Tree, User, View, VirtualList, WebView, addBackInterceptor, addRoutes, applyThemeClasses, canGoBack, closeSheet, createStore, currentModalRoute, currentRoute, defineRoutes, deriveRouteManifest, getColorScheme, getStack, getThemePreference, getThemeScheme, hrefFor, isNative, layoutsFor as layoutsForRoute, mergeRouteManifests, onThemeSchemeChange, openSheet, openWindow, popRoute, pushDeepLink, pushRoute, redirect, registerIcon, registerIcons, registerRoutes, registerScreens, registerStack, routeFor, routeStacks, screenFor, setThemePreference, setTranslate, showToast, stackEntries, styled, themeSchemeClasses, useAnimation, useBackInterceptor, useCanGoBack, useColorScheme, useMeasure, useModalRoute, useRoute, useSafeAreaInsets, useStore, useThemeScheme };
|
package/package.json
CHANGED
|
@@ -1,6 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@octane-xplat/ui",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.1",
|
|
4
|
+
"description": "Cross-platform UI for Octane xplat — shared primitives, stacks, routes and theming across web (DOM), iOS and Android (NativeScript)",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"octane",
|
|
7
|
+
"xplat",
|
|
8
|
+
"cross-platform",
|
|
9
|
+
"ui",
|
|
10
|
+
"ui-components",
|
|
11
|
+
"primitives",
|
|
12
|
+
"design-system",
|
|
13
|
+
"nativescript",
|
|
14
|
+
"ios",
|
|
15
|
+
"android",
|
|
16
|
+
"web"
|
|
17
|
+
],
|
|
18
|
+
"license": "MIT",
|
|
19
|
+
"homepage": "https://github.com/octane-xplat/octane-xplat/tree/main/packages/ui",
|
|
4
20
|
"files": [
|
|
5
21
|
"dist",
|
|
6
22
|
"types",
|
|
@@ -90,7 +106,7 @@
|
|
|
90
106
|
"directory": "packages/ui"
|
|
91
107
|
},
|
|
92
108
|
"scripts": {
|
|
93
|
-
"build": "
|
|
109
|
+
"build": "vite build && vite build --mode native && tsrx-typegen --target ui && node ../../scripts/check-native-dist.mjs",
|
|
94
110
|
"test:packed": "node tests/packed-consumer.mjs",
|
|
95
111
|
"test:native": "vitest run --config vitest.native.config.mts"
|
|
96
112
|
}
|
|
@@ -77,6 +77,9 @@ export function VirtualList<T = any>(props: VirtualListProps<T>) @{
|
|
|
77
77
|
const anchorRestoreTimerRef = useRef<any>(null)
|
|
78
78
|
const anchorRestoreScheduledRef = useRef(false)
|
|
79
79
|
const queuedAnchorRef = useRef<{ rowKey: string; within: number } | null>(null)
|
|
80
|
+
const estimateAnchorRef = useRef<{ rowKey: string; within: number } | null>(null)
|
|
81
|
+
const estimateTimerRef = useRef<any>(null)
|
|
82
|
+
const pendingRowMeasureRef = useRef(new Map<string, number>())
|
|
80
83
|
const hasSeparator = Boolean(props.renderSeparator)
|
|
81
84
|
const hasSeparatorRef = useRef(hasSeparator)
|
|
82
85
|
hasSeparatorRef.current = hasSeparator
|
|
@@ -173,6 +176,22 @@ export function VirtualList<T = any>(props: VirtualListProps<T>) @{
|
|
|
173
176
|
anchorRestoreTimerRef.current = timer
|
|
174
177
|
}
|
|
175
178
|
|
|
179
|
+
function scheduleEstimateRebuild(anchor: { rowKey: string; within: number } | null) {
|
|
180
|
+
if (anchor) {estimateAnchorRef.current = anchor}
|
|
181
|
+
if (estimateTimerRef.current) {return}
|
|
182
|
+
// Debounce: each rebuild rescales every unmeasured prefix, so one
|
|
183
|
+
// rebuild per measurement burst — not per row — keeps the AppKit
|
|
184
|
+
// relayout/anchor cycle count bounded while samples accumulate.
|
|
185
|
+
estimateTimerRef.current = setTimeout(() => {
|
|
186
|
+
estimateTimerRef.current = null
|
|
187
|
+
const scheduledAnchor = estimateAnchorRef.current
|
|
188
|
+
estimateAnchorRef.current = null
|
|
189
|
+
rebuildLayout(entriesRef.current, viewportWidthRef.current)
|
|
190
|
+
restoreAnchor(scheduledAnchor)
|
|
191
|
+
refreshWindow()
|
|
192
|
+
}, 120)
|
|
193
|
+
}
|
|
194
|
+
|
|
176
195
|
function recordRowSize(rowKey: string, width: number, height: number) {
|
|
177
196
|
if (!Number.isFinite(height) || height < 0) {return}
|
|
178
197
|
const index = indexByRowKeyRef.current.get(rowKey)
|
|
@@ -180,14 +199,16 @@ export function VirtualList<T = any>(props: VirtualListProps<T>) @{
|
|
|
180
199
|
const entry = entriesRef.current[index]
|
|
181
200
|
if (!entry) {return}
|
|
182
201
|
|
|
202
|
+
const hasRowSeparator = hasSeparatorRef.current && index < entriesRef.current.length - 1
|
|
203
|
+
const cacheKey = virtualListMeasurementKey(rowKey, hasRowSeparator)
|
|
204
|
+
const cached = sizeCacheRef.current.get(cacheKey)
|
|
205
|
+
// NSViewFrameDidChangeNotification fires on origin moves too, not just
|
|
206
|
+
// resizes — spacer shifts move every mounted row and would otherwise
|
|
207
|
+
// re-run this whole path (and reschedule estimate rebuilds) forever.
|
|
208
|
+
if (cached && sameSize(cached.height, height) && sameSize(cached.width, width)) {return}
|
|
209
|
+
|
|
183
210
|
const anchor = queuedAnchorRef.current ?? captureAnchor()
|
|
184
|
-
sizeCacheRef.current.set(
|
|
185
|
-
virtualListMeasurementKey(
|
|
186
|
-
rowKey,
|
|
187
|
-
hasSeparatorRef.current && index < entriesRef.current.length - 1,
|
|
188
|
-
),
|
|
189
|
-
{ width, height },
|
|
190
|
-
)
|
|
211
|
+
sizeCacheRef.current.set(cacheKey, { width, height })
|
|
191
212
|
|
|
192
213
|
const delta = sizeIndexRef.current.set(index, height)
|
|
193
214
|
if (Math.abs(delta) >= 0.5) {
|
|
@@ -195,6 +216,8 @@ export function VirtualList<T = any>(props: VirtualListProps<T>) @{
|
|
|
195
216
|
if (anchor && anchorIndex !== undefined && index < anchorIndex) {restoreAnchor(anchor)}
|
|
196
217
|
refreshWindow()
|
|
197
218
|
}
|
|
219
|
+
|
|
220
|
+
scheduleEstimateRebuild(anchor)
|
|
198
221
|
}
|
|
199
222
|
|
|
200
223
|
function syncViewport() {
|
|
@@ -236,7 +259,21 @@ export function VirtualList<T = any>(props: VirtualListProps<T>) @{
|
|
|
236
259
|
}
|
|
237
260
|
|
|
238
261
|
function onRowLayout(entry: VirtualListEntry<T>, event: AppKitLayoutEvent) {
|
|
239
|
-
|
|
262
|
+
const view = event?.object
|
|
263
|
+
if (!view) {return}
|
|
264
|
+
// Frame notifications arrive mid-layout: a row can report h=0 (or a
|
|
265
|
+
// stack-stretched transient) before its final size is known, and rows
|
|
266
|
+
// unmounted before the second pass would keep the bogus measurement.
|
|
267
|
+
// Read the frame on the next tick instead, once layout has settled.
|
|
268
|
+
const coalesced = (pendingRowMeasureRef.current.get(entry.rowKey) ?? 0) + 1
|
|
269
|
+
pendingRowMeasureRef.current.set(entry.rowKey, coalesced)
|
|
270
|
+
setTimeout(() => {
|
|
271
|
+
if (pendingRowMeasureRef.current.get(entry.rowKey) !== coalesced) {return}
|
|
272
|
+
pendingRowMeasureRef.current.delete(entry.rowKey)
|
|
273
|
+
if (!view.superview) {return}
|
|
274
|
+
const size = view.frame?.size ?? view.bounds?.size
|
|
275
|
+
recordRowSize(entry.rowKey, Number(size?.width ?? 0), Number(size?.height ?? 0))
|
|
276
|
+
}, 0)
|
|
240
277
|
}
|
|
241
278
|
|
|
242
279
|
const range = currentRange()
|
package/src/index.web.ts
CHANGED
|
@@ -1 +1,261 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { View } from './View.web.tsrx'
|
|
2
|
+
export { View as Column } from './View.web.tsrx'
|
|
3
|
+
export { Row } from './Row.web.tsrx'
|
|
4
|
+
export { Grid } from './Grid.web.tsrx'
|
|
5
|
+
export { Stack } from './Stack.web.tsrx'
|
|
6
|
+
export { Absolute } from './Absolute.web.tsrx'
|
|
7
|
+
export type { PanEvent, SwipeEvent, SetTranslate } from './props'
|
|
8
|
+
export { setTranslate } from './translate.web'
|
|
9
|
+
export { Spacer } from './Spacer.web.tsrx'
|
|
10
|
+
export { Text } from './Text.web.tsrx'
|
|
11
|
+
export { RichText, RichTextSpan } from './RichText.web.tsrx'
|
|
12
|
+
export { Pressable } from './Pressable.web.tsrx'
|
|
13
|
+
export { Button } from './Button.web.tsrx'
|
|
14
|
+
export { Collapsible } from './Collapsible.web.tsrx'
|
|
15
|
+
export { Accordion } from './Accordion.web.tsrx'
|
|
16
|
+
export { Checkbox } from './Checkbox.web.tsrx'
|
|
17
|
+
export { RadioGroup } from './RadioGroup.web.tsrx'
|
|
18
|
+
export { DropdownMenu } from './DropdownMenu.web.tsrx'
|
|
19
|
+
export { ContextMenu } from './ContextMenu.web.tsrx'
|
|
20
|
+
export { Badge } from './Badge.web.tsrx'
|
|
21
|
+
export { Separator } from './Separator.web.tsrx'
|
|
22
|
+
export { Skeleton } from './Skeleton.web.tsrx'
|
|
23
|
+
export { Avatar } from './Avatar.web.tsrx'
|
|
24
|
+
export { AvatarGroup } from './AvatarGroup.web.tsrx'
|
|
25
|
+
export type {
|
|
26
|
+
AccordionItemSpec,
|
|
27
|
+
AccordionProps,
|
|
28
|
+
AvatarGroupProps,
|
|
29
|
+
AvatarProps,
|
|
30
|
+
BadgeProps,
|
|
31
|
+
ButtonProps,
|
|
32
|
+
CheckboxProps,
|
|
33
|
+
CollapsibleProps,
|
|
34
|
+
ContextMenuProps,
|
|
35
|
+
DropdownMenuProps,
|
|
36
|
+
MenuItem,
|
|
37
|
+
RadioGroupProps,
|
|
38
|
+
RadioOption,
|
|
39
|
+
SegmentedControlProps,
|
|
40
|
+
SeparatorProps,
|
|
41
|
+
SkeletonProps,
|
|
42
|
+
} from './props'
|
|
43
|
+
|
|
44
|
+
export { FormField } from './FormField.web.tsrx'
|
|
45
|
+
export { FieldGroup } from './FieldGroup.web.tsrx'
|
|
46
|
+
export { ListItem } from './ListItem.web.tsrx'
|
|
47
|
+
export { InputNumber } from './InputNumber.web.tsrx'
|
|
48
|
+
export { PinInput } from './PinInput.web.tsrx'
|
|
49
|
+
export { Select } from './Select.web.tsrx'
|
|
50
|
+
export { SelectMenu, Combobox, InputMenu } from './aliases.web.tsrx'
|
|
51
|
+
export { InputTags } from './InputTags.web.tsrx'
|
|
52
|
+
export { InputRating } from './InputRating.web.tsrx'
|
|
53
|
+
export { CheckboxGroup } from './CheckboxGroup.web.tsrx'
|
|
54
|
+
export type {
|
|
55
|
+
CheckboxGroupProps,
|
|
56
|
+
FieldGroupProps,
|
|
57
|
+
ListItemComponent,
|
|
58
|
+
ListItemProps,
|
|
59
|
+
ListItemSlotProps,
|
|
60
|
+
FormFieldProps,
|
|
61
|
+
InputNumberProps,
|
|
62
|
+
InputRatingProps,
|
|
63
|
+
InputTagsProps,
|
|
64
|
+
PinInputProps,
|
|
65
|
+
SelectOption,
|
|
66
|
+
SelectProps,
|
|
67
|
+
} from './props'
|
|
68
|
+
|
|
69
|
+
export { Breadcrumb } from './Breadcrumb.web.tsrx'
|
|
70
|
+
export { Pagination } from './Pagination.web.tsrx'
|
|
71
|
+
export { Stepper } from './Stepper.web.tsrx'
|
|
72
|
+
export { NavigationMenu } from './NavigationMenu.web.tsrx'
|
|
73
|
+
export { CommandPalette } from './CommandPalette.web.tsrx'
|
|
74
|
+
export type {
|
|
75
|
+
BreadcrumbItem,
|
|
76
|
+
BreadcrumbProps,
|
|
77
|
+
CommandPaletteProps,
|
|
78
|
+
NavigationMenuItem,
|
|
79
|
+
NavigationMenuProps,
|
|
80
|
+
PaginationProps,
|
|
81
|
+
StepperProps,
|
|
82
|
+
StepperStep,
|
|
83
|
+
} from './props'
|
|
84
|
+
|
|
85
|
+
export { Table } from './Table.web.tsrx'
|
|
86
|
+
export { Timeline } from './Timeline.web.tsrx'
|
|
87
|
+
export { Tree } from './Tree.web.tsrx'
|
|
88
|
+
export { Alert } from './Alert.web.tsrx'
|
|
89
|
+
export { Card } from './Card.web.tsrx'
|
|
90
|
+
export { Chip } from './Chip.web.tsrx'
|
|
91
|
+
export { Kbd } from './Kbd.web.tsrx'
|
|
92
|
+
export { Empty } from './Empty.web.tsrx'
|
|
93
|
+
export { Banner } from './Banner.web.tsrx'
|
|
94
|
+
export { User } from './User.web.tsrx'
|
|
95
|
+
export { ProgressGroup } from './ProgressGroup.web.tsrx'
|
|
96
|
+
export type {
|
|
97
|
+
AlertProps,
|
|
98
|
+
BannerProps,
|
|
99
|
+
CardProps,
|
|
100
|
+
ChipProps,
|
|
101
|
+
EmptyProps,
|
|
102
|
+
KbdProps,
|
|
103
|
+
ProgressGroupProps,
|
|
104
|
+
TableColumn,
|
|
105
|
+
TableProps,
|
|
106
|
+
TimelineItem,
|
|
107
|
+
TimelineProps,
|
|
108
|
+
TreeNode,
|
|
109
|
+
TreeProps,
|
|
110
|
+
UserProps,
|
|
111
|
+
} from './props'
|
|
112
|
+
|
|
113
|
+
export { Link } from './Link.web.tsrx'
|
|
114
|
+
export { NavLink } from './NavLink.web.tsrx'
|
|
115
|
+
export { TextInput } from './TextInput.web.tsrx'
|
|
116
|
+
export { TextArea } from './TextArea.web.tsrx'
|
|
117
|
+
export { SearchInput } from './SearchInput.web.tsrx'
|
|
118
|
+
export { SegmentedControl } from './SegmentedControl.web.tsrx'
|
|
119
|
+
export { ScrollBox } from './ScrollBox.web.tsrx'
|
|
120
|
+
export { ScrollView } from './ScrollView.web.tsrx'
|
|
121
|
+
export { VirtualList } from './VirtualList.web.tsrx'
|
|
122
|
+
export type { VirtualListProps } from './props'
|
|
123
|
+
export { Image } from './Image.web.tsrx'
|
|
124
|
+
export { WebView } from './WebView.web.tsrx'
|
|
125
|
+
export type { WebViewContentSize, WebViewHandle, WebViewLoadEvent, WebViewProps } from './props'
|
|
126
|
+
export { Overlay } from './Overlay.web.tsrx'
|
|
127
|
+
export { Popover } from './Popover.web.tsrx'
|
|
128
|
+
export { Hoverable } from './Hoverable.web.tsrx'
|
|
129
|
+
export { Tooltip } from './Tooltip.web.tsrx'
|
|
130
|
+
export { showToast } from './toast-anchor.web.tsrx'
|
|
131
|
+
export type {
|
|
132
|
+
HoverableProps,
|
|
133
|
+
OverlayProps,
|
|
134
|
+
PopoverAnchorRef,
|
|
135
|
+
PopoverProps,
|
|
136
|
+
PopoverPlacement,
|
|
137
|
+
ToastContent,
|
|
138
|
+
ToastOptions,
|
|
139
|
+
ToastPosition,
|
|
140
|
+
TooltipProps,
|
|
141
|
+
} from './props'
|
|
142
|
+
|
|
143
|
+
export { useAnimation } from './anim.web.tsrx'
|
|
144
|
+
export type { AnimatedValue } from './anim.web.tsrx'
|
|
145
|
+
export {
|
|
146
|
+
useThemeScheme,
|
|
147
|
+
getThemeScheme,
|
|
148
|
+
setThemePreference,
|
|
149
|
+
getThemePreference,
|
|
150
|
+
themeSchemeClasses,
|
|
151
|
+
onThemeSchemeChange,
|
|
152
|
+
applyThemeClasses,
|
|
153
|
+
} from './theme/theme-scheme'
|
|
154
|
+
|
|
155
|
+
export { useColorScheme, getColorScheme } from './theme/colorScheme.web'
|
|
156
|
+
export type { ColorScheme } from './theme/colorScheme.web'
|
|
157
|
+
export { styled } from './styled.web.tsrx'
|
|
158
|
+
export { openWindow } from './windows.web'
|
|
159
|
+
export { Screen } from './Screen.web.tsrx'
|
|
160
|
+
export { Tabs } from './Tabs.web.tsrx'
|
|
161
|
+
export type { TabSpec } from './Tabs.web.tsrx'
|
|
162
|
+
export { Switch } from './Switch.web.tsrx'
|
|
163
|
+
export { SafeArea } from './SafeArea.web.tsrx'
|
|
164
|
+
export { Drawer } from './Drawer.web.tsrx'
|
|
165
|
+
export { useSafeAreaInsets } from './safeAreaInsets.web.tsrx'
|
|
166
|
+
export type { SafeAreaInsets } from './safeAreaInsets.web.tsrx'
|
|
167
|
+
export { useMeasure } from './useMeasure.web.tsrx'
|
|
168
|
+
export type { MeasureBounds, MeasureResult, UseMeasureOptions } from './props'
|
|
169
|
+
export { ActivityIndicator } from './ActivityIndicator.web.tsrx'
|
|
170
|
+
export { Meter } from './Meter.web.tsrx'
|
|
171
|
+
export { Slider } from './Slider.web.tsrx'
|
|
172
|
+
export { Icon } from './Icon.web.tsrx'
|
|
173
|
+
export { Heading } from './Heading.web.tsrx'
|
|
174
|
+
export { registerIcon, registerIcons } from './icons'
|
|
175
|
+
export type { IconGlyph } from './icons'
|
|
176
|
+
export type {
|
|
177
|
+
ActivityIndicatorProps,
|
|
178
|
+
HeadingProps,
|
|
179
|
+
IconProps,
|
|
180
|
+
MeterProps,
|
|
181
|
+
RefreshProps,
|
|
182
|
+
SearchInputProps,
|
|
183
|
+
SliderProps,
|
|
184
|
+
} from './props'
|
|
185
|
+
|
|
186
|
+
export { isNative } from './platform.web'
|
|
187
|
+
export { registerStack, getStack, stackEntries } from './stacks.web'
|
|
188
|
+
export {
|
|
189
|
+
pushRoute,
|
|
190
|
+
popRoute,
|
|
191
|
+
routeStacks,
|
|
192
|
+
pushDeepLink,
|
|
193
|
+
routeFor,
|
|
194
|
+
currentRoute,
|
|
195
|
+
currentModalRoute,
|
|
196
|
+
canGoBack,
|
|
197
|
+
useCanGoBack,
|
|
198
|
+
useRoute,
|
|
199
|
+
useModalRoute,
|
|
200
|
+
redirect,
|
|
201
|
+
addBackInterceptor,
|
|
202
|
+
registerScreens,
|
|
203
|
+
registerRoutes,
|
|
204
|
+
addRoutes,
|
|
205
|
+
screenFor,
|
|
206
|
+
hrefFor,
|
|
207
|
+
layoutsFor as layoutsForRoute,
|
|
208
|
+
} from './route.web'
|
|
209
|
+
|
|
210
|
+
export { useBackInterceptor } from './use-back.web.tsrx'
|
|
211
|
+
|
|
212
|
+
export { deriveRouteManifest, defineRoutes, mergeRouteManifests } from './route-table'
|
|
213
|
+
export type {
|
|
214
|
+
BeforeLoad,
|
|
215
|
+
BeforeLoadArgs,
|
|
216
|
+
LinkProps,
|
|
217
|
+
NavLinkProps,
|
|
218
|
+
Route,
|
|
219
|
+
RouteContext,
|
|
220
|
+
RouteHead,
|
|
221
|
+
RouteHeadExport,
|
|
222
|
+
RouteMeta,
|
|
223
|
+
RouteManifest,
|
|
224
|
+
RouteSpec,
|
|
225
|
+
RouteSpecSet,
|
|
226
|
+
ScreenTable,
|
|
227
|
+
ModalOpenResult,
|
|
228
|
+
OpenWindowOptions,
|
|
229
|
+
} from './props'
|
|
230
|
+
|
|
231
|
+
export { createStore } from './store'
|
|
232
|
+
export type { Store, ReadableStore } from './store'
|
|
233
|
+
export { useStore } from './use-store.web.tsrx'
|
|
234
|
+
export { Sheet } from './Sheet.web.tsrx'
|
|
235
|
+
export { openSheet, closeSheet } from './sheet-service.web'
|
|
236
|
+
export type { SheetProps, SheetOpenOptions, OpenSheet } from './props'
|
|
237
|
+
|
|
238
|
+
// These props are shared type-only exports added after the explicit web barrel.
|
|
239
|
+
export type {
|
|
240
|
+
AbsoluteProps,
|
|
241
|
+
DrawerProps,
|
|
242
|
+
GridProps,
|
|
243
|
+
ImageProps,
|
|
244
|
+
LayoutChildProps,
|
|
245
|
+
PressableProps,
|
|
246
|
+
RichTextProps,
|
|
247
|
+
RichTextSpanProps,
|
|
248
|
+
RowProps,
|
|
249
|
+
SafeAreaProps,
|
|
250
|
+
ScreenProps,
|
|
251
|
+
ScrollBoxProps,
|
|
252
|
+
ScrollViewProps,
|
|
253
|
+
SpacerProps,
|
|
254
|
+
StackProps,
|
|
255
|
+
SwitchProps,
|
|
256
|
+
TabsProps,
|
|
257
|
+
TextAreaProps,
|
|
258
|
+
TextInputProps,
|
|
259
|
+
TextProps,
|
|
260
|
+
ViewProps,
|
|
261
|
+
} from './props'
|
|
@@ -1 +1,111 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { View } from './View.web.js';
|
|
2
|
+
export { View as Column } from './View.web.js';
|
|
3
|
+
export { Row } from './Row.web.js';
|
|
4
|
+
export { Grid } from './Grid.web.js';
|
|
5
|
+
export { Stack } from './Stack.web.js';
|
|
6
|
+
export { Absolute } from './Absolute.web.js';
|
|
7
|
+
export type { PanEvent, SwipeEvent, SetTranslate } from './props.js';
|
|
8
|
+
export { setTranslate } from './translate.web.js';
|
|
9
|
+
export { Spacer } from './Spacer.web.js';
|
|
10
|
+
export { Text } from './Text.web.js';
|
|
11
|
+
export { RichText, RichTextSpan } from './RichText.web.js';
|
|
12
|
+
export { Pressable } from './Pressable.web.js';
|
|
13
|
+
export { Button } from './Button.web.js';
|
|
14
|
+
export { Collapsible } from './Collapsible.web.js';
|
|
15
|
+
export { Accordion } from './Accordion.web.js';
|
|
16
|
+
export { Checkbox } from './Checkbox.web.js';
|
|
17
|
+
export { RadioGroup } from './RadioGroup.web.js';
|
|
18
|
+
export { DropdownMenu } from './DropdownMenu.web.js';
|
|
19
|
+
export { ContextMenu } from './ContextMenu.web.js';
|
|
20
|
+
export { Badge } from './Badge.web.js';
|
|
21
|
+
export { Separator } from './Separator.web.js';
|
|
22
|
+
export { Skeleton } from './Skeleton.web.js';
|
|
23
|
+
export { Avatar } from './Avatar.web.js';
|
|
24
|
+
export { AvatarGroup } from './AvatarGroup.web.js';
|
|
25
|
+
export type { AccordionItemSpec, AccordionProps, AvatarGroupProps, AvatarProps, BadgeProps, ButtonProps, CheckboxProps, CollapsibleProps, ContextMenuProps, DropdownMenuProps, MenuItem, RadioGroupProps, RadioOption, SegmentedControlProps, SeparatorProps, SkeletonProps, } from './props.js';
|
|
26
|
+
export { FormField } from './FormField.web.js';
|
|
27
|
+
export { FieldGroup } from './FieldGroup.web.js';
|
|
28
|
+
export { ListItem } from './ListItem.web.js';
|
|
29
|
+
export { InputNumber } from './InputNumber.web.js';
|
|
30
|
+
export { PinInput } from './PinInput.web.js';
|
|
31
|
+
export { Select } from './Select.web.js';
|
|
32
|
+
export { SelectMenu, Combobox, InputMenu } from './aliases.web.js';
|
|
33
|
+
export { InputTags } from './InputTags.web.js';
|
|
34
|
+
export { InputRating } from './InputRating.web.js';
|
|
35
|
+
export { CheckboxGroup } from './CheckboxGroup.web.js';
|
|
36
|
+
export type { CheckboxGroupProps, FieldGroupProps, ListItemComponent, ListItemProps, ListItemSlotProps, FormFieldProps, InputNumberProps, InputRatingProps, InputTagsProps, PinInputProps, SelectOption, SelectProps, } from './props.js';
|
|
37
|
+
export { Breadcrumb } from './Breadcrumb.web.js';
|
|
38
|
+
export { Pagination } from './Pagination.web.js';
|
|
39
|
+
export { Stepper } from './Stepper.web.js';
|
|
40
|
+
export { NavigationMenu } from './NavigationMenu.web.js';
|
|
41
|
+
export { CommandPalette } from './CommandPalette.web.js';
|
|
42
|
+
export type { BreadcrumbItem, BreadcrumbProps, CommandPaletteProps, NavigationMenuItem, NavigationMenuProps, PaginationProps, StepperProps, StepperStep, } from './props.js';
|
|
43
|
+
export { Table } from './Table.web.js';
|
|
44
|
+
export { Timeline } from './Timeline.web.js';
|
|
45
|
+
export { Tree } from './Tree.web.js';
|
|
46
|
+
export { Alert } from './Alert.web.js';
|
|
47
|
+
export { Card } from './Card.web.js';
|
|
48
|
+
export { Chip } from './Chip.web.js';
|
|
49
|
+
export { Kbd } from './Kbd.web.js';
|
|
50
|
+
export { Empty } from './Empty.web.js';
|
|
51
|
+
export { Banner } from './Banner.web.js';
|
|
52
|
+
export { User } from './User.web.js';
|
|
53
|
+
export { ProgressGroup } from './ProgressGroup.web.js';
|
|
54
|
+
export type { AlertProps, BannerProps, CardProps, ChipProps, EmptyProps, KbdProps, ProgressGroupProps, TableColumn, TableProps, TimelineItem, TimelineProps, TreeNode, TreeProps, UserProps, } from './props.js';
|
|
55
|
+
export { Link } from './Link.web.js';
|
|
56
|
+
export { NavLink } from './NavLink.web.js';
|
|
57
|
+
export { TextInput } from './TextInput.web.js';
|
|
58
|
+
export { TextArea } from './TextArea.web.js';
|
|
59
|
+
export { SearchInput } from './SearchInput.web.js';
|
|
60
|
+
export { SegmentedControl } from './SegmentedControl.web.js';
|
|
61
|
+
export { ScrollBox } from './ScrollBox.web.js';
|
|
62
|
+
export { ScrollView } from './ScrollView.web.js';
|
|
63
|
+
export { VirtualList } from './VirtualList.web.js';
|
|
64
|
+
export type { VirtualListProps } from './props.js';
|
|
65
|
+
export { Image } from './Image.web.js';
|
|
66
|
+
export { WebView } from './WebView.web.js';
|
|
67
|
+
export type { WebViewContentSize, WebViewHandle, WebViewLoadEvent, WebViewProps } from './props.js';
|
|
68
|
+
export { Overlay } from './Overlay.web.js';
|
|
69
|
+
export { Popover } from './Popover.web.js';
|
|
70
|
+
export { Hoverable } from './Hoverable.web.js';
|
|
71
|
+
export { Tooltip } from './Tooltip.web.js';
|
|
72
|
+
export { showToast } from './toast-anchor.web.js';
|
|
73
|
+
export type { HoverableProps, OverlayProps, PopoverAnchorRef, PopoverProps, PopoverPlacement, ToastContent, ToastOptions, ToastPosition, TooltipProps, } from './props.js';
|
|
74
|
+
export { useAnimation } from './anim.web.js';
|
|
75
|
+
export type { AnimatedValue } from './anim.web.js';
|
|
76
|
+
export { useThemeScheme, getThemeScheme, setThemePreference, getThemePreference, themeSchemeClasses, onThemeSchemeChange, applyThemeClasses, } from './theme/theme-scheme.js';
|
|
77
|
+
export { useColorScheme, getColorScheme } from './theme/colorScheme.web.js';
|
|
78
|
+
export type { ColorScheme } from './theme/colorScheme.web.js';
|
|
79
|
+
export { styled } from './styled.web.js';
|
|
80
|
+
export { openWindow } from './windows.web.js';
|
|
81
|
+
export { Screen } from './Screen.web.js';
|
|
82
|
+
export { Tabs } from './Tabs.web.js';
|
|
83
|
+
export type { TabSpec } from './Tabs.web.js';
|
|
84
|
+
export { Switch } from './Switch.web.js';
|
|
85
|
+
export { SafeArea } from './SafeArea.web.js';
|
|
86
|
+
export { Drawer } from './Drawer.web.js';
|
|
87
|
+
export { useSafeAreaInsets } from './safeAreaInsets.web.js';
|
|
88
|
+
export type { SafeAreaInsets } from './safeAreaInsets.web.js';
|
|
89
|
+
export { useMeasure } from './useMeasure.web.js';
|
|
90
|
+
export type { MeasureBounds, MeasureResult, UseMeasureOptions } from './props.js';
|
|
91
|
+
export { ActivityIndicator } from './ActivityIndicator.web.js';
|
|
92
|
+
export { Meter } from './Meter.web.js';
|
|
93
|
+
export { Slider } from './Slider.web.js';
|
|
94
|
+
export { Icon } from './Icon.web.js';
|
|
95
|
+
export { Heading } from './Heading.web.js';
|
|
96
|
+
export { registerIcon, registerIcons } from './icons.js';
|
|
97
|
+
export type { IconGlyph } from './icons.js';
|
|
98
|
+
export type { ActivityIndicatorProps, HeadingProps, IconProps, MeterProps, RefreshProps, SearchInputProps, SliderProps, } from './props.js';
|
|
99
|
+
export { isNative } from './platform.web.js';
|
|
100
|
+
export { registerStack, getStack, stackEntries } from './stacks.web.js';
|
|
101
|
+
export { pushRoute, popRoute, routeStacks, pushDeepLink, routeFor, currentRoute, currentModalRoute, canGoBack, useCanGoBack, useRoute, useModalRoute, redirect, addBackInterceptor, registerScreens, registerRoutes, addRoutes, screenFor, hrefFor, layoutsFor as layoutsForRoute, } from './route.web.js';
|
|
102
|
+
export { useBackInterceptor } from './use-back.web.js';
|
|
103
|
+
export { deriveRouteManifest, defineRoutes, mergeRouteManifests } from './route-table.js';
|
|
104
|
+
export type { BeforeLoad, BeforeLoadArgs, LinkProps, NavLinkProps, Route, RouteContext, RouteHead, RouteHeadExport, RouteMeta, RouteManifest, RouteSpec, RouteSpecSet, ScreenTable, ModalOpenResult, OpenWindowOptions, } from './props.js';
|
|
105
|
+
export { createStore } from './store.js';
|
|
106
|
+
export type { Store, ReadableStore } from './store.js';
|
|
107
|
+
export { useStore } from './use-store.web.js';
|
|
108
|
+
export { Sheet } from './Sheet.web.js';
|
|
109
|
+
export { openSheet, closeSheet } from './sheet-service.web.js';
|
|
110
|
+
export type { SheetProps, SheetOpenOptions, OpenSheet } from './props.js';
|
|
111
|
+
export type { AbsoluteProps, DrawerProps, GridProps, ImageProps, LayoutChildProps, PressableProps, RichTextProps, RichTextSpanProps, RowProps, SafeAreaProps, ScreenProps, ScrollBoxProps, ScrollViewProps, SpacerProps, StackProps, SwitchProps, TabsProps, TextAreaProps, TextInputProps, TextProps, ViewProps, } from './props.js';
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
import { View } from "./View.web.tsrx.js";
|
|
2
|
-
import { Row } from "./Row.web.tsrx.js";
|
|
3
|
-
import { Grid } from "./Grid.web.tsrx.js";
|
|
4
|
-
import { Stack } from "./Stack.web.tsrx.js";
|
|
5
|
-
import { Absolute } from "./Absolute.web.tsrx.js";
|
|
6
|
-
import { setTranslate } from "./translate.web.js";
|
|
7
|
-
import { Spacer } from "./Spacer.web.tsrx.js";
|
|
8
|
-
import { Text } from "./Text.web.tsrx.js";
|
|
9
|
-
import { RichText, RichTextSpan } from "./RichText.web.tsrx.js";
|
|
10
|
-
import { Pressable } from "./Pressable.web.tsrx.js";
|
|
11
|
-
import { ActivityIndicator } from "./ActivityIndicator.web.tsrx.js";
|
|
12
|
-
import { Button } from "./Button.web.tsrx.js";
|
|
13
|
-
import { Collapsible } from "./Collapsible.web.tsrx.js";
|
|
14
|
-
import { Accordion } from "./Accordion.web.tsrx.js";
|
|
15
|
-
import { Checkbox } from "./Checkbox.web.tsrx.js";
|
|
16
|
-
import { RadioGroup } from "./RadioGroup.web.tsrx.js";
|
|
17
|
-
import { getColorScheme, useColorScheme } from "./theme/colorScheme.web.js";
|
|
18
|
-
import { applyThemeClasses, getThemePreference, getThemeScheme, onThemeSchemeChange, setThemePreference, themeSchemeClasses, useThemeScheme } from "./theme/theme-scheme.js";
|
|
19
|
-
import { Popover } from "./Popover.web.tsrx.js";
|
|
20
|
-
import { registerIcon, registerIcons } from "./icons.js";
|
|
21
|
-
import { Icon } from "./Icon.web.tsrx.js";
|
|
22
|
-
import { DropdownMenu } from "./DropdownMenu.web.tsrx.js";
|
|
23
|
-
import { ContextMenu } from "./ContextMenu.web.tsrx.js";
|
|
24
|
-
import { Badge } from "./Badge.web.tsrx.js";
|
|
25
|
-
import { Separator } from "./Separator.web.tsrx.js";
|
|
26
|
-
import { Skeleton } from "./Skeleton.web.tsrx.js";
|
|
27
|
-
import { Avatar } from "./Avatar.web.tsrx.js";
|
|
28
|
-
import { AvatarGroup } from "./AvatarGroup.web.tsrx.js";
|
|
29
|
-
import { FormField } from "./FormField.web.tsrx.js";
|
|
30
|
-
import { FieldGroup } from "./FieldGroup.web.tsrx.js";
|
|
31
|
-
import { ListItem } from "./ListItem.web.tsrx.js";
|
|
32
|
-
import { TextInput } from "./TextInput.web.tsrx.js";
|
|
33
|
-
import { InputNumber } from "./InputNumber.web.tsrx.js";
|
|
34
|
-
import { PinInput } from "./PinInput.web.tsrx.js";
|
|
35
|
-
import { Select } from "./Select.web.tsrx.js";
|
|
36
|
-
import { Combobox, InputMenu, SelectMenu } from "./aliases.web.tsrx.js";
|
|
37
|
-
import { InputTags } from "./InputTags.web.tsrx.js";
|
|
38
|
-
import { InputRating } from "./InputRating.web.tsrx.js";
|
|
39
|
-
import { CheckboxGroup } from "./CheckboxGroup.web.tsrx.js";
|
|
40
|
-
import { Breadcrumb } from "./Breadcrumb.web.tsrx.js";
|
|
41
|
-
import { Pagination } from "./Pagination.web.tsrx.js";
|
|
42
|
-
import { Stepper } from "./Stepper.web.tsrx.js";
|
|
43
|
-
import { NavigationMenu } from "./NavigationMenu.web.tsrx.js";
|
|
44
|
-
import { Overlay } from "./Overlay.web.tsrx.js";
|
|
45
|
-
import { CommandPalette } from "./CommandPalette.web.tsrx.js";
|
|
46
|
-
import { Table } from "./Table.web.tsrx.js";
|
|
47
|
-
import { Timeline } from "./Timeline.web.tsrx.js";
|
|
48
|
-
import { Tree } from "./Tree.web.tsrx.js";
|
|
49
|
-
import { Alert } from "./Alert.web.tsrx.js";
|
|
50
|
-
import { Card } from "./Card.web.tsrx.js";
|
|
51
|
-
import { Chip } from "./Chip.web.tsrx.js";
|
|
52
|
-
import { Kbd } from "./Kbd.web.tsrx.js";
|
|
53
|
-
import { Empty } from "./Empty.web.tsrx.js";
|
|
54
|
-
import { Banner } from "./Banner.web.tsrx.js";
|
|
55
|
-
import { User } from "./User.web.tsrx.js";
|
|
56
|
-
import { Meter } from "./Meter.web.tsrx.js";
|
|
57
|
-
import { ProgressGroup } from "./ProgressGroup.web.tsrx.js";
|
|
58
|
-
import { Link } from "./Link.web.tsrx.js";
|
|
59
|
-
import { defineRoutes, deriveRouteManifest, mergeRouteManifests } from "./route-table.js";
|
|
60
|
-
import { addBackInterceptor, addRoutes, canGoBack, currentModalRoute, currentRoute, hrefFor, layoutsFor, popRoute, pushDeepLink, pushRoute, redirect, registerRoutes, registerScreens, routeFor, routeStacks, screenFor, useCanGoBack, useModalRoute, useRoute } from "./route.web.js";
|
|
61
|
-
import { NavLink } from "./NavLink.web.tsrx.js";
|
|
62
|
-
import { TextArea } from "./TextArea.web.tsrx.js";
|
|
63
|
-
import { SearchInput } from "./SearchInput.web.tsrx.js";
|
|
64
|
-
import { SegmentedControl } from "./SegmentedControl.web.tsrx.js";
|
|
65
|
-
import { ScrollView } from "./ScrollView.web.tsrx.js";
|
|
66
|
-
import { ScrollBox } from "./ScrollBox.web.tsrx.js";
|
|
67
|
-
import { VirtualList } from "./VirtualList.web.tsrx.js";
|
|
68
|
-
import { Image } from "./Image.web.tsrx.js";
|
|
69
|
-
import { WebView } from "./WebView.web.tsrx.js";
|
|
70
|
-
import { Hoverable } from "./Hoverable.web.tsrx.js";
|
|
71
|
-
import { Tooltip } from "./Tooltip.web.tsrx.js";
|
|
72
|
-
import { showToast } from "./toast-anchor.web.tsrx.js";
|
|
73
|
-
import { useAnimation } from "./anim.web.tsrx.js";
|
|
74
|
-
import { styled } from "./styled.web.tsrx.js";
|
|
75
|
-
import { openWindow } from "./windows.web.js";
|
|
76
|
-
import { Screen } from "./Screen.web.tsrx.js";
|
|
77
|
-
import { Tabs } from "./Tabs.web.tsrx.js";
|
|
78
|
-
import { Switch } from "./Switch.web.tsrx.js";
|
|
79
|
-
import { useSafeAreaInsets } from "./safeAreaInsets.web.tsrx.js";
|
|
80
|
-
import { SafeArea } from "./SafeArea.web.tsrx.js";
|
|
81
|
-
import { Drawer } from "./Drawer.web.tsrx.js";
|
|
82
|
-
import { useMeasure } from "./useMeasure.web.tsrx.js";
|
|
83
|
-
import { Slider } from "./Slider.web.tsrx.js";
|
|
84
|
-
import { Heading } from "./Heading.web.tsrx.js";
|
|
85
|
-
import { isNative } from "./platform.web.js";
|
|
86
|
-
import { getStack, registerStack, stackEntries } from "./stacks.web.js";
|
|
87
|
-
import { useBackInterceptor } from "./use-back.web.tsrx.js";
|
|
88
|
-
import { createStore } from "./store.js";
|
|
89
|
-
import { useStore } from "./use-store.web.tsrx.js";
|
|
90
|
-
import { Sheet } from "./Sheet.web.tsrx.js";
|
|
91
|
-
import { closeSheet, openSheet } from "./sheet-service.web.js";
|
|
92
|
-
export { Absolute, Accordion, ActivityIndicator, Alert, Avatar, AvatarGroup, Badge, Banner, Breadcrumb, Button, Card, Checkbox, CheckboxGroup, Chip, Collapsible, View as Column, Combobox, CommandPalette, ContextMenu, Drawer, DropdownMenu, Empty, FieldGroup, FormField, Grid, Heading, Hoverable, Icon, Image, InputMenu, InputNumber, InputRating, InputTags, Kbd, Link, ListItem, Meter, NavLink, NavigationMenu, Overlay, Pagination, PinInput, Popover, Pressable, ProgressGroup, RadioGroup, RichText, RichTextSpan, Row, SafeArea, Screen, ScrollBox, ScrollView, SearchInput, SegmentedControl, Select, SelectMenu, Separator, Sheet, Skeleton, Slider, Spacer, Stack, Stepper, Switch, Table, Tabs, Text, TextArea, TextInput, Timeline, Tooltip, Tree, User, View, VirtualList, WebView, addBackInterceptor, addRoutes, applyThemeClasses, canGoBack, closeSheet, createStore, currentModalRoute, currentRoute, defineRoutes, deriveRouteManifest, getColorScheme, getStack, getThemePreference, getThemeScheme, hrefFor, isNative, layoutsFor as layoutsForRoute, mergeRouteManifests, onThemeSchemeChange, openSheet, openWindow, popRoute, pushDeepLink, pushRoute, redirect, registerIcon, registerIcons, registerRoutes, registerScreens, registerStack, routeFor, routeStacks, screenFor, setThemePreference, setTranslate, showToast, stackEntries, styled, themeSchemeClasses, useAnimation, useBackInterceptor, useCanGoBack, useColorScheme, useMeasure, useModalRoute, useRoute, useSafeAreaInsets, useStore, useThemeScheme };
|
package/src/index.shared.web.ts
DELETED
|
@@ -1,270 +0,0 @@
|
|
|
1
|
-
// Generated by scripts/sync-ui-barrels.mjs from index.shared.ts. Do not edit.
|
|
2
|
-
// Foundations and common controls
|
|
3
|
-
export { View } from './View.web.tsrx'
|
|
4
|
-
export { View as Column } from './View.web.tsrx'
|
|
5
|
-
export { Row } from './Row.web.tsrx'
|
|
6
|
-
export { Grid } from './Grid.web.tsrx'
|
|
7
|
-
export { Stack } from './Stack.web.tsrx'
|
|
8
|
-
export { Absolute } from './Absolute.web.tsrx'
|
|
9
|
-
export type { PanEvent, SwipeEvent, SetTranslate } from './props'
|
|
10
|
-
export { setTranslate } from './translate.web'
|
|
11
|
-
export { Spacer } from './Spacer.web.tsrx'
|
|
12
|
-
export { Text } from './Text.web.tsrx'
|
|
13
|
-
export { RichText, RichTextSpan } from './RichText.web.tsrx'
|
|
14
|
-
export { Pressable } from './Pressable.web.tsrx'
|
|
15
|
-
export { Button } from './Button.web.tsrx'
|
|
16
|
-
export { Collapsible } from './Collapsible.web.tsrx'
|
|
17
|
-
export { Accordion } from './Accordion.web.tsrx'
|
|
18
|
-
export { Checkbox } from './Checkbox.web.tsrx'
|
|
19
|
-
export { RadioGroup } from './RadioGroup.web.tsrx'
|
|
20
|
-
export { DropdownMenu } from './DropdownMenu.web.tsrx'
|
|
21
|
-
export { ContextMenu } from './ContextMenu.web.tsrx'
|
|
22
|
-
export { Badge } from './Badge.web.tsrx'
|
|
23
|
-
export { Separator } from './Separator.web.tsrx'
|
|
24
|
-
export { Skeleton } from './Skeleton.web.tsrx'
|
|
25
|
-
export { Avatar } from './Avatar.web.tsrx'
|
|
26
|
-
export { AvatarGroup } from './AvatarGroup.web.tsrx'
|
|
27
|
-
export type {
|
|
28
|
-
AccordionItemSpec,
|
|
29
|
-
AccordionProps,
|
|
30
|
-
AvatarGroupProps,
|
|
31
|
-
AvatarProps,
|
|
32
|
-
BadgeProps,
|
|
33
|
-
ButtonProps,
|
|
34
|
-
CheckboxProps,
|
|
35
|
-
CollapsibleProps,
|
|
36
|
-
ContextMenuProps,
|
|
37
|
-
DropdownMenuProps,
|
|
38
|
-
MenuItem,
|
|
39
|
-
RadioGroupProps,
|
|
40
|
-
RadioOption,
|
|
41
|
-
SegmentedControlProps,
|
|
42
|
-
SeparatorProps,
|
|
43
|
-
SkeletonProps,
|
|
44
|
-
} from './props'
|
|
45
|
-
|
|
46
|
-
// Forms and data entry
|
|
47
|
-
export { FormField } from './FormField.web.tsrx'
|
|
48
|
-
export { FieldGroup } from './FieldGroup.web.tsrx'
|
|
49
|
-
export { ListItem } from './ListItem.web.tsrx'
|
|
50
|
-
export { InputNumber } from './InputNumber.web.tsrx'
|
|
51
|
-
export { PinInput } from './PinInput.web.tsrx'
|
|
52
|
-
export { Select } from './Select.web.tsrx'
|
|
53
|
-
export { SelectMenu, Combobox, InputMenu } from './aliases.web.tsrx'
|
|
54
|
-
export { InputTags } from './InputTags.web.tsrx'
|
|
55
|
-
export { InputRating } from './InputRating.web.tsrx'
|
|
56
|
-
export { CheckboxGroup } from './CheckboxGroup.web.tsrx'
|
|
57
|
-
export type {
|
|
58
|
-
CheckboxGroupProps,
|
|
59
|
-
FieldGroupProps,
|
|
60
|
-
ListItemComponent,
|
|
61
|
-
ListItemProps,
|
|
62
|
-
ListItemSlotProps,
|
|
63
|
-
FormFieldProps,
|
|
64
|
-
InputNumberProps,
|
|
65
|
-
InputRatingProps,
|
|
66
|
-
InputTagsProps,
|
|
67
|
-
PinInputProps,
|
|
68
|
-
SelectOption,
|
|
69
|
-
SelectProps,
|
|
70
|
-
} from './props'
|
|
71
|
-
|
|
72
|
-
// Navigation and command surfaces
|
|
73
|
-
export { Breadcrumb } from './Breadcrumb.web.tsrx'
|
|
74
|
-
export { Pagination } from './Pagination.web.tsrx'
|
|
75
|
-
export { Stepper } from './Stepper.web.tsrx'
|
|
76
|
-
export { NavigationMenu } from './NavigationMenu.web.tsrx'
|
|
77
|
-
export { CommandPalette } from './CommandPalette.web.tsrx'
|
|
78
|
-
export type {
|
|
79
|
-
BreadcrumbItem,
|
|
80
|
-
BreadcrumbProps,
|
|
81
|
-
CommandPaletteProps,
|
|
82
|
-
NavigationMenuItem,
|
|
83
|
-
NavigationMenuProps,
|
|
84
|
-
PaginationProps,
|
|
85
|
-
StepperProps,
|
|
86
|
-
StepperStep,
|
|
87
|
-
} from './props'
|
|
88
|
-
|
|
89
|
-
// Content and display
|
|
90
|
-
export { Table } from './Table.web.tsrx'
|
|
91
|
-
export { Timeline } from './Timeline.web.tsrx'
|
|
92
|
-
export { Tree } from './Tree.web.tsrx'
|
|
93
|
-
export { Alert } from './Alert.web.tsrx'
|
|
94
|
-
export { Card } from './Card.web.tsrx'
|
|
95
|
-
export { Chip } from './Chip.web.tsrx'
|
|
96
|
-
export { Kbd } from './Kbd.web.tsrx'
|
|
97
|
-
export { Empty } from './Empty.web.tsrx'
|
|
98
|
-
export { Banner } from './Banner.web.tsrx'
|
|
99
|
-
export { User } from './User.web.tsrx'
|
|
100
|
-
export { ProgressGroup } from './ProgressGroup.web.tsrx'
|
|
101
|
-
export type {
|
|
102
|
-
AlertProps,
|
|
103
|
-
BannerProps,
|
|
104
|
-
CardProps,
|
|
105
|
-
ChipProps,
|
|
106
|
-
EmptyProps,
|
|
107
|
-
KbdProps,
|
|
108
|
-
ProgressGroupProps,
|
|
109
|
-
TableColumn,
|
|
110
|
-
TableProps,
|
|
111
|
-
TimelineItem,
|
|
112
|
-
TimelineProps,
|
|
113
|
-
TreeNode,
|
|
114
|
-
TreeProps,
|
|
115
|
-
UserProps,
|
|
116
|
-
} from './props'
|
|
117
|
-
|
|
118
|
-
// Links, input, scrolling, media, and overlays
|
|
119
|
-
export { Link } from './Link.web.tsrx'
|
|
120
|
-
export { NavLink } from './NavLink.web.tsrx'
|
|
121
|
-
export { TextInput } from './TextInput.web.tsrx'
|
|
122
|
-
export { TextArea } from './TextArea.web.tsrx'
|
|
123
|
-
export { SearchInput } from './SearchInput.web.tsrx'
|
|
124
|
-
export { SegmentedControl } from './SegmentedControl.web.tsrx'
|
|
125
|
-
export { ScrollBox } from './ScrollBox.web.tsrx'
|
|
126
|
-
export { ScrollView } from './ScrollView.web.tsrx'
|
|
127
|
-
export { VirtualList } from './VirtualList.web.tsrx'
|
|
128
|
-
export type { VirtualListProps } from './props'
|
|
129
|
-
export { Image } from './Image.web.tsrx'
|
|
130
|
-
export { WebView } from './WebView.web.tsrx'
|
|
131
|
-
export type { WebViewContentSize, WebViewHandle, WebViewLoadEvent, WebViewProps } from './props'
|
|
132
|
-
export { Overlay } from './Overlay.web.tsrx'
|
|
133
|
-
export { Popover } from './Popover.web.tsrx'
|
|
134
|
-
export { Hoverable } from './Hoverable.web.tsrx'
|
|
135
|
-
export { Tooltip } from './Tooltip.web.tsrx'
|
|
136
|
-
export { showToast } from './toast-anchor.web.tsrx'
|
|
137
|
-
export type {
|
|
138
|
-
HoverableProps,
|
|
139
|
-
OverlayProps,
|
|
140
|
-
PopoverAnchorRef,
|
|
141
|
-
PopoverProps,
|
|
142
|
-
PopoverPlacement,
|
|
143
|
-
ToastContent,
|
|
144
|
-
ToastOptions,
|
|
145
|
-
ToastPosition,
|
|
146
|
-
TooltipProps,
|
|
147
|
-
} from './props'
|
|
148
|
-
|
|
149
|
-
// Animation, theme, styling, and host services
|
|
150
|
-
export { useAnimation } from './anim.web.tsrx'
|
|
151
|
-
export type { AnimatedValue } from './anim.web.tsrx'
|
|
152
|
-
export {
|
|
153
|
-
useThemeScheme,
|
|
154
|
-
getThemeScheme,
|
|
155
|
-
setThemePreference,
|
|
156
|
-
getThemePreference,
|
|
157
|
-
themeSchemeClasses,
|
|
158
|
-
onThemeSchemeChange,
|
|
159
|
-
applyThemeClasses,
|
|
160
|
-
} from './theme/theme-scheme'
|
|
161
|
-
|
|
162
|
-
export { useColorScheme, getColorScheme } from './theme/colorScheme.web'
|
|
163
|
-
export type { ColorScheme } from './theme/colorScheme.web'
|
|
164
|
-
export { styled } from './styled.web.tsrx'
|
|
165
|
-
export { openWindow } from './windows.web'
|
|
166
|
-
|
|
167
|
-
// Screens, visual controls, and icons
|
|
168
|
-
export { Screen } from './Screen.web.tsrx'
|
|
169
|
-
export { Tabs } from './Tabs.web.tsrx'
|
|
170
|
-
export type { TabSpec } from './Tabs.web.tsrx'
|
|
171
|
-
export { Switch } from './Switch.web.tsrx'
|
|
172
|
-
export { SafeArea } from './SafeArea.web.tsrx'
|
|
173
|
-
export { Drawer } from './Drawer.web.tsrx'
|
|
174
|
-
export { useSafeAreaInsets } from './safeAreaInsets.web.tsrx'
|
|
175
|
-
export type { SafeAreaInsets } from './safeAreaInsets.web.tsrx'
|
|
176
|
-
export { useMeasure } from './useMeasure.web.tsrx'
|
|
177
|
-
export type { MeasureBounds, MeasureResult, UseMeasureOptions } from './props'
|
|
178
|
-
export { ActivityIndicator } from './ActivityIndicator.web.tsrx'
|
|
179
|
-
export { Meter } from './Meter.web.tsrx'
|
|
180
|
-
export { Slider } from './Slider.web.tsrx'
|
|
181
|
-
export { Icon } from './Icon.web.tsrx'
|
|
182
|
-
export { Heading } from './Heading.web.tsrx'
|
|
183
|
-
export { registerIcon, registerIcons } from './icons'
|
|
184
|
-
export type { IconGlyph } from './icons'
|
|
185
|
-
export type {
|
|
186
|
-
ActivityIndicatorProps,
|
|
187
|
-
HeadingProps,
|
|
188
|
-
IconProps,
|
|
189
|
-
MeterProps,
|
|
190
|
-
RefreshProps,
|
|
191
|
-
SearchInputProps,
|
|
192
|
-
SliderProps,
|
|
193
|
-
} from './props'
|
|
194
|
-
|
|
195
|
-
// Platform state and routing
|
|
196
|
-
export { isNative } from './platform.web'
|
|
197
|
-
export { registerStack, getStack, stackEntries } from './stacks.web'
|
|
198
|
-
export {
|
|
199
|
-
pushRoute,
|
|
200
|
-
popRoute,
|
|
201
|
-
routeStacks,
|
|
202
|
-
pushDeepLink,
|
|
203
|
-
routeFor,
|
|
204
|
-
currentRoute,
|
|
205
|
-
currentModalRoute,
|
|
206
|
-
canGoBack,
|
|
207
|
-
useCanGoBack,
|
|
208
|
-
useRoute,
|
|
209
|
-
useModalRoute,
|
|
210
|
-
redirect,
|
|
211
|
-
addBackInterceptor,
|
|
212
|
-
registerScreens,
|
|
213
|
-
registerRoutes,
|
|
214
|
-
addRoutes,
|
|
215
|
-
screenFor,
|
|
216
|
-
hrefFor,
|
|
217
|
-
layoutsForRoute,
|
|
218
|
-
} from './route.web'
|
|
219
|
-
|
|
220
|
-
export { useBackInterceptor } from './use-back.web.tsrx'
|
|
221
|
-
|
|
222
|
-
export { deriveRouteManifest, defineRoutes, mergeRouteManifests } from './route-table'
|
|
223
|
-
export type {
|
|
224
|
-
BeforeLoad,
|
|
225
|
-
BeforeLoadArgs,
|
|
226
|
-
LinkProps,
|
|
227
|
-
NavLinkProps,
|
|
228
|
-
Route,
|
|
229
|
-
RouteContext,
|
|
230
|
-
RouteHead,
|
|
231
|
-
RouteHeadExport,
|
|
232
|
-
RouteMeta,
|
|
233
|
-
RouteManifest,
|
|
234
|
-
RouteSpec,
|
|
235
|
-
RouteSpecSet,
|
|
236
|
-
ScreenTable,
|
|
237
|
-
ModalOpenResult,
|
|
238
|
-
OpenWindowOptions,
|
|
239
|
-
} from './props'
|
|
240
|
-
|
|
241
|
-
// Stores, sheets, and shared prop types
|
|
242
|
-
export { createStore } from './store'
|
|
243
|
-
export type { Store, ReadableStore } from './store'
|
|
244
|
-
export { useStore } from './use-store.web.tsrx'
|
|
245
|
-
export { Sheet } from './Sheet.web.tsrx'
|
|
246
|
-
export { openSheet, closeSheet } from './sheet-service.web'
|
|
247
|
-
export type { SheetProps, SheetOpenOptions, OpenSheet } from './props'
|
|
248
|
-
export type {
|
|
249
|
-
AbsoluteProps,
|
|
250
|
-
DrawerProps,
|
|
251
|
-
GridProps,
|
|
252
|
-
ImageProps,
|
|
253
|
-
LayoutChildProps,
|
|
254
|
-
PressableProps,
|
|
255
|
-
RichTextProps,
|
|
256
|
-
RichTextSpanProps,
|
|
257
|
-
RowProps,
|
|
258
|
-
ScreenProps,
|
|
259
|
-
SafeAreaProps,
|
|
260
|
-
ScrollBoxProps,
|
|
261
|
-
ScrollViewProps,
|
|
262
|
-
SpacerProps,
|
|
263
|
-
StackProps,
|
|
264
|
-
SwitchProps,
|
|
265
|
-
TabsProps,
|
|
266
|
-
TextAreaProps,
|
|
267
|
-
TextInputProps,
|
|
268
|
-
TextProps,
|
|
269
|
-
ViewProps,
|
|
270
|
-
} from './props'
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
export { View } from './View.web.js';
|
|
2
|
-
export { View as Column } from './View.web.js';
|
|
3
|
-
export { Row } from './Row.web.js';
|
|
4
|
-
export { Grid } from './Grid.web.js';
|
|
5
|
-
export { Stack } from './Stack.web.js';
|
|
6
|
-
export { Absolute } from './Absolute.web.js';
|
|
7
|
-
export type { PanEvent, SwipeEvent, SetTranslate } from './props.js';
|
|
8
|
-
export { setTranslate } from './translate.web.js';
|
|
9
|
-
export { Spacer } from './Spacer.web.js';
|
|
10
|
-
export { Text } from './Text.web.js';
|
|
11
|
-
export { RichText, RichTextSpan } from './RichText.web.js';
|
|
12
|
-
export { Pressable } from './Pressable.web.js';
|
|
13
|
-
export { Button } from './Button.web.js';
|
|
14
|
-
export { Collapsible } from './Collapsible.web.js';
|
|
15
|
-
export { Accordion } from './Accordion.web.js';
|
|
16
|
-
export { Checkbox } from './Checkbox.web.js';
|
|
17
|
-
export { RadioGroup } from './RadioGroup.web.js';
|
|
18
|
-
export { DropdownMenu } from './DropdownMenu.web.js';
|
|
19
|
-
export { ContextMenu } from './ContextMenu.web.js';
|
|
20
|
-
export { Badge } from './Badge.web.js';
|
|
21
|
-
export { Separator } from './Separator.web.js';
|
|
22
|
-
export { Skeleton } from './Skeleton.web.js';
|
|
23
|
-
export { Avatar } from './Avatar.web.js';
|
|
24
|
-
export { AvatarGroup } from './AvatarGroup.web.js';
|
|
25
|
-
export type { AccordionItemSpec, AccordionProps, AvatarGroupProps, AvatarProps, BadgeProps, ButtonProps, CheckboxProps, CollapsibleProps, ContextMenuProps, DropdownMenuProps, MenuItem, RadioGroupProps, RadioOption, SegmentedControlProps, SeparatorProps, SkeletonProps, } from './props.js';
|
|
26
|
-
export { FormField } from './FormField.web.js';
|
|
27
|
-
export { FieldGroup } from './FieldGroup.web.js';
|
|
28
|
-
export { ListItem } from './ListItem.web.js';
|
|
29
|
-
export { InputNumber } from './InputNumber.web.js';
|
|
30
|
-
export { PinInput } from './PinInput.web.js';
|
|
31
|
-
export { Select } from './Select.web.js';
|
|
32
|
-
export { SelectMenu, Combobox, InputMenu } from './aliases.web.js';
|
|
33
|
-
export { InputTags } from './InputTags.web.js';
|
|
34
|
-
export { InputRating } from './InputRating.web.js';
|
|
35
|
-
export { CheckboxGroup } from './CheckboxGroup.web.js';
|
|
36
|
-
export type { CheckboxGroupProps, FieldGroupProps, ListItemComponent, ListItemProps, ListItemSlotProps, FormFieldProps, InputNumberProps, InputRatingProps, InputTagsProps, PinInputProps, SelectOption, SelectProps, } from './props.js';
|
|
37
|
-
export { Breadcrumb } from './Breadcrumb.web.js';
|
|
38
|
-
export { Pagination } from './Pagination.web.js';
|
|
39
|
-
export { Stepper } from './Stepper.web.js';
|
|
40
|
-
export { NavigationMenu } from './NavigationMenu.web.js';
|
|
41
|
-
export { CommandPalette } from './CommandPalette.web.js';
|
|
42
|
-
export type { BreadcrumbItem, BreadcrumbProps, CommandPaletteProps, NavigationMenuItem, NavigationMenuProps, PaginationProps, StepperProps, StepperStep, } from './props.js';
|
|
43
|
-
export { Table } from './Table.web.js';
|
|
44
|
-
export { Timeline } from './Timeline.web.js';
|
|
45
|
-
export { Tree } from './Tree.web.js';
|
|
46
|
-
export { Alert } from './Alert.web.js';
|
|
47
|
-
export { Card } from './Card.web.js';
|
|
48
|
-
export { Chip } from './Chip.web.js';
|
|
49
|
-
export { Kbd } from './Kbd.web.js';
|
|
50
|
-
export { Empty } from './Empty.web.js';
|
|
51
|
-
export { Banner } from './Banner.web.js';
|
|
52
|
-
export { User } from './User.web.js';
|
|
53
|
-
export { ProgressGroup } from './ProgressGroup.web.js';
|
|
54
|
-
export type { AlertProps, BannerProps, CardProps, ChipProps, EmptyProps, KbdProps, ProgressGroupProps, TableColumn, TableProps, TimelineItem, TimelineProps, TreeNode, TreeProps, UserProps, } from './props.js';
|
|
55
|
-
export { Link } from './Link.web.js';
|
|
56
|
-
export { NavLink } from './NavLink.web.js';
|
|
57
|
-
export { TextInput } from './TextInput.web.js';
|
|
58
|
-
export { TextArea } from './TextArea.web.js';
|
|
59
|
-
export { SearchInput } from './SearchInput.web.js';
|
|
60
|
-
export { SegmentedControl } from './SegmentedControl.web.js';
|
|
61
|
-
export { ScrollBox } from './ScrollBox.web.js';
|
|
62
|
-
export { ScrollView } from './ScrollView.web.js';
|
|
63
|
-
export { VirtualList } from './VirtualList.web.js';
|
|
64
|
-
export type { VirtualListProps } from './props.js';
|
|
65
|
-
export { Image } from './Image.web.js';
|
|
66
|
-
export { WebView } from './WebView.web.js';
|
|
67
|
-
export type { WebViewContentSize, WebViewHandle, WebViewLoadEvent, WebViewProps } from './props.js';
|
|
68
|
-
export { Overlay } from './Overlay.web.js';
|
|
69
|
-
export { Popover } from './Popover.web.js';
|
|
70
|
-
export { Hoverable } from './Hoverable.web.js';
|
|
71
|
-
export { Tooltip } from './Tooltip.web.js';
|
|
72
|
-
export { showToast } from './toast-anchor.web.js';
|
|
73
|
-
export type { HoverableProps, OverlayProps, PopoverAnchorRef, PopoverProps, PopoverPlacement, ToastContent, ToastOptions, ToastPosition, TooltipProps, } from './props.js';
|
|
74
|
-
export { useAnimation } from './anim.web.js';
|
|
75
|
-
export type { AnimatedValue } from './anim.web.js';
|
|
76
|
-
export { useThemeScheme, getThemeScheme, setThemePreference, getThemePreference, themeSchemeClasses, onThemeSchemeChange, applyThemeClasses, } from './theme/theme-scheme.js';
|
|
77
|
-
export { useColorScheme, getColorScheme } from './theme/colorScheme.web.js';
|
|
78
|
-
export type { ColorScheme } from './theme/colorScheme.web.js';
|
|
79
|
-
export { styled } from './styled.web.js';
|
|
80
|
-
export { openWindow } from './windows.web.js';
|
|
81
|
-
export { Screen } from './Screen.web.js';
|
|
82
|
-
export { Tabs } from './Tabs.web.js';
|
|
83
|
-
export type { TabSpec } from './Tabs.web.js';
|
|
84
|
-
export { Switch } from './Switch.web.js';
|
|
85
|
-
export { SafeArea } from './SafeArea.web.js';
|
|
86
|
-
export { Drawer } from './Drawer.web.js';
|
|
87
|
-
export { useSafeAreaInsets } from './safeAreaInsets.web.js';
|
|
88
|
-
export type { SafeAreaInsets } from './safeAreaInsets.web.js';
|
|
89
|
-
export { useMeasure } from './useMeasure.web.js';
|
|
90
|
-
export type { MeasureBounds, MeasureResult, UseMeasureOptions } from './props.js';
|
|
91
|
-
export { ActivityIndicator } from './ActivityIndicator.web.js';
|
|
92
|
-
export { Meter } from './Meter.web.js';
|
|
93
|
-
export { Slider } from './Slider.web.js';
|
|
94
|
-
export { Icon } from './Icon.web.js';
|
|
95
|
-
export { Heading } from './Heading.web.js';
|
|
96
|
-
export { registerIcon, registerIcons } from './icons.js';
|
|
97
|
-
export type { IconGlyph } from './icons.js';
|
|
98
|
-
export type { ActivityIndicatorProps, HeadingProps, IconProps, MeterProps, RefreshProps, SearchInputProps, SliderProps, } from './props.js';
|
|
99
|
-
export { isNative } from './platform.web.js';
|
|
100
|
-
export { registerStack, getStack, stackEntries } from './stacks.web.js';
|
|
101
|
-
export { pushRoute, popRoute, routeStacks, pushDeepLink, routeFor, currentRoute, currentModalRoute, canGoBack, useCanGoBack, useRoute, useModalRoute, redirect, addBackInterceptor, registerScreens, registerRoutes, addRoutes, screenFor, hrefFor, layoutsForRoute, } from './route.web.js';
|
|
102
|
-
export { useBackInterceptor } from './use-back.web.js';
|
|
103
|
-
export { deriveRouteManifest, defineRoutes, mergeRouteManifests } from './route-table.js';
|
|
104
|
-
export type { BeforeLoad, BeforeLoadArgs, LinkProps, NavLinkProps, Route, RouteContext, RouteHead, RouteHeadExport, RouteMeta, RouteManifest, RouteSpec, RouteSpecSet, ScreenTable, ModalOpenResult, OpenWindowOptions, } from './props.js';
|
|
105
|
-
export { createStore } from './store.js';
|
|
106
|
-
export type { Store, ReadableStore } from './store.js';
|
|
107
|
-
export { useStore } from './use-store.web.js';
|
|
108
|
-
export { Sheet } from './Sheet.web.js';
|
|
109
|
-
export { openSheet, closeSheet } from './sheet-service.web.js';
|
|
110
|
-
export type { SheetProps, SheetOpenOptions, OpenSheet } from './props.js';
|
|
111
|
-
export type { AbsoluteProps, DrawerProps, GridProps, ImageProps, LayoutChildProps, PressableProps, RichTextProps, RichTextSpanProps, RowProps, ScreenProps, SafeAreaProps, ScrollBoxProps, ScrollViewProps, SpacerProps, StackProps, SwitchProps, TabsProps, TextAreaProps, TextInputProps, TextProps, ViewProps, } from './props.js';
|