@octane-xplat/ui 0.10.0 → 0.11.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/Image.tsrx.js +151 -16
- package/dist/native/hash-image.js +285 -0
- package/dist/native/image-content-binding.js +158 -0
- package/dist/native/image-content.js +206 -0
- package/dist/native/image-sizing.js +102 -0
- package/dist/native/octane-client-build.json +1 -1
- package/dist/native/vendor/ui-svg/index.android.js +1 -1
- package/dist/web/Image.web.tsrx.js +112 -19
- package/dist/web/hash-image.js +285 -0
- package/dist/web/image-content.js +133 -0
- package/dist/web/octane-client-build.json +1 -1
- package/package.json +5 -4
- package/src/Image.macos.tsrx +11 -2
- package/src/Image.tsrx +203 -17
- package/src/Image.web.tsrx +91 -5
- package/src/Tabs.macos.tsrx +2 -0
- package/src/Timestamp.macos.tsrx +1 -1
- package/src/colorScheme.macos.ts +18 -5
- package/src/hash-image.test.ts +72 -0
- package/src/hash-image.ts +310 -0
- package/src/hosted-unsupported.macos.tsrx +1 -2
- package/src/image-content-binding.mobile.test.ts +174 -0
- package/src/image-content-binding.ts +231 -0
- package/src/image-content.mobile.test.tsrx +84 -0
- package/src/image-content.test.ts +219 -0
- package/src/image-content.ts +309 -0
- package/src/image-decoding.web.test.tsrx +26 -0
- package/src/image-placeholder.mobile.test.tsrx +113 -0
- package/src/image-placeholder.web.test.tsrx +48 -0
- package/src/image-recycling.mobile.test.ts +61 -0
- package/src/image-sizing.mobile.test.ts +158 -0
- package/src/image-sizing.ts +117 -0
- package/src/image.mobile.test.tsrx +81 -0
- package/src/index.macos.ts +1 -0
- package/src/index.shared.ts +7 -0
- package/src/index.shared.web.ts +7 -0
- package/src/list-viewability-observer.ios.ts +1 -0
- package/src/list-viewability.mobile.test.ts +1 -0
- package/src/props.ts +100 -1
- package/src/safeAreaInsets.macos.tsrx +6 -1
- package/src/styled.macos.tsrx +1 -1
- package/src/text-controls.macos.tsrx +3 -1
- package/src/vendor/ui-svg/src/index.android.ts +5 -1
- package/types/generated/.tsrx-typegen-manifest.json +170 -0
- package/types/generated/Accordion.macos.d.ts +5 -0
- package/types/generated/Alert.macos.d.ts +3 -0
- package/types/generated/AlertDialog.macos.d.ts +4 -0
- package/types/generated/AppShell.macos.d.ts +7 -0
- package/types/generated/AspectRatio.macos.d.ts +5 -0
- package/types/generated/Avatar.macos.d.ts +6 -0
- package/types/generated/AvatarGroup.macos.d.ts +6 -0
- package/types/generated/Badge.macos.d.ts +5 -0
- package/types/generated/Banner.macos.d.ts +4 -0
- package/types/generated/BaseTypeahead.macos.d.ts +7 -0
- package/types/generated/Blockquote.macos.d.ts +6 -0
- package/types/generated/BottomSheet.macos.d.ts +3 -0
- package/types/generated/Breadcrumb.macos.d.ts +4 -0
- package/types/generated/ButtonGroup.macos.d.ts +3 -0
- package/types/generated/Calendar.macos.d.ts +5 -0
- package/types/generated/Card.macos.d.ts +4 -0
- package/types/generated/Carousel.macos.d.ts +6 -0
- package/types/generated/Center.macos.d.ts +4 -0
- package/types/generated/CheckIndicator.macos.d.ts +4 -0
- package/types/generated/CheckboxGroup.macos.d.ts +3 -0
- package/types/generated/CheckboxIndicator.macos.d.ts +4 -0
- package/types/generated/Chip.macos.d.ts +5 -0
- package/types/generated/Citation.macos.d.ts +4 -0
- package/types/generated/ClickableCard.macos.d.ts +3 -0
- package/types/generated/Code.macos.d.ts +5 -0
- package/types/generated/CodeBlock.macos.d.ts +6 -0
- package/types/generated/Collapsible.macos.d.ts +5 -0
- package/types/generated/CommandPalette.macos.d.ts +3 -0
- package/types/generated/ComplexSelector.macos.d.ts +3 -0
- package/types/generated/ContextMenu.macos.d.ts +5 -0
- package/types/generated/DateInput.macos.d.ts +6 -0
- package/types/generated/DateRangeInput.macos.d.ts +5 -0
- package/types/generated/DateTimeInput.macos.d.ts +5 -0
- package/types/generated/Dialog.macos.d.ts +3 -0
- package/types/generated/Drawer.macos.d.ts +7 -0
- package/types/generated/DropdownMenu.macos.d.ts +5 -0
- package/types/generated/Empty.macos.d.ts +4 -0
- package/types/generated/FieldGroup.macos.d.ts +4 -0
- package/types/generated/FormField.macos.d.ts +4 -0
- package/types/generated/FormLayout.macos.d.ts +6 -0
- package/types/generated/HStack.macos.d.ts +4 -0
- package/types/generated/Heading.macos.d.ts +3 -0
- package/types/generated/Icon.macos.d.ts +3 -0
- package/types/generated/IconButton.macos.d.ts +3 -0
- package/types/generated/Image.d.ts +0 -5
- package/types/generated/Image.macos.d.ts +2 -0
- package/types/generated/Image.web.d.ts +12 -1
- package/types/generated/InputGroup.macos.d.ts +5 -0
- package/types/generated/InputNumber.macos.d.ts +5 -0
- package/types/generated/InputRating.macos.d.ts +4 -0
- package/types/generated/Item.macos.d.ts +3 -0
- package/types/generated/Kbd.macos.d.ts +4 -0
- package/types/generated/KeyboardAvoiding.macos.d.ts +3 -0
- package/types/generated/Lightbox.macos.d.ts +2 -0
- package/types/generated/Link.macos.d.ts +3 -0
- package/types/generated/List.macos.d.ts +4 -0
- package/types/generated/ListItem.macos.d.ts +5 -0
- package/types/generated/MenuParts.macos.d.ts +9 -0
- package/types/generated/MenuSurface.macos.d.ts +4 -0
- package/types/generated/MetadataList.macos.d.ts +4 -0
- package/types/generated/MetadataListItem.macos.d.ts +3 -0
- package/types/generated/Meter.macos.d.ts +3 -0
- package/types/generated/MobileNav.macos.d.ts +15 -0
- package/types/generated/MoreMenu.macos.d.ts +2 -0
- package/types/generated/NavIcon.macos.d.ts +4 -0
- package/types/generated/NavLink.macos.d.ts +3 -0
- package/types/generated/NavMenu.macos.d.ts +11 -0
- package/types/generated/NavigationMenu.macos.d.ts +4 -0
- package/types/generated/Outline.macos.d.ts +5 -0
- package/types/generated/OverflowList.macos.d.ts +6 -0
- package/types/generated/Overlay.macos.d.ts +3 -0
- package/types/generated/Pagination.macos.d.ts +4 -0
- package/types/generated/PinInput.macos.d.ts +4 -0
- package/types/generated/Popover.macos.d.ts +3 -0
- package/types/generated/PowerSearch.macos.d.ts +7 -0
- package/types/generated/PowerSearchFilterEditor.macos.d.ts +12 -0
- package/types/generated/PowerSearchToken.macos.d.ts +7 -0
- package/types/generated/Pressable.macos.d.ts +2 -0
- package/types/generated/ProgressBar.macos.d.ts +6 -0
- package/types/generated/ProgressGroup.macos.d.ts +3 -0
- package/types/generated/RadioGroup.macos.d.ts +5 -0
- package/types/generated/RadioIndicator.macos.d.ts +3 -0
- package/types/generated/ResizeHandle.macos.d.ts +7 -0
- package/types/generated/RouteBoundary.macos.d.ts +8 -0
- package/types/generated/RouteHost.macos.d.ts +13 -0
- package/types/generated/Row.macos.d.ts +2 -0
- package/types/generated/SafeArea.macos.d.ts +3 -0
- package/types/generated/Screen.macos.d.ts +3 -0
- package/types/generated/ScrollableArea.macos.d.ts +7 -0
- package/types/generated/Section.macos.d.ts +5 -0
- package/types/generated/Select.macos.d.ts +3 -0
- package/types/generated/SelectableCard.macos.d.ts +3 -0
- package/types/generated/Separator.macos.d.ts +5 -0
- package/types/generated/SideNav.macos.d.ts +19 -0
- package/types/generated/Skeleton.macos.d.ts +5 -0
- package/types/generated/StatusDot.macos.d.ts +5 -0
- package/types/generated/Stepper.macos.d.ts +4 -0
- package/types/generated/TabList.macos.d.ts +18 -0
- package/types/generated/Table.macos.d.ts +4 -0
- package/types/generated/Tabs.macos.d.ts +3 -0
- package/types/generated/Text.macos.d.ts +5 -0
- package/types/generated/Thumbnail.macos.d.ts +7 -0
- package/types/generated/TimeInput.macos.d.ts +6 -0
- package/types/generated/TimeWheelPanel.macos.d.ts +16 -0
- package/types/generated/Timeline.macos.d.ts +3 -0
- package/types/generated/Timer.macos.d.ts +3 -0
- package/types/generated/Timestamp.macos.d.ts +5 -0
- package/types/generated/Toast.macos.d.ts +3 -0
- package/types/generated/ToggleButton.macos.d.ts +3 -0
- package/types/generated/Token.macos.d.ts +5 -0
- package/types/generated/Tokenizer.macos.d.ts +6 -0
- package/types/generated/Toolbar.macos.d.ts +6 -0
- package/types/generated/TopNav.macos.d.ts +25 -0
- package/types/generated/Tree.macos.d.ts +4 -0
- package/types/generated/Typeahead.macos.d.ts +8 -0
- package/types/generated/TypeaheadItem.macos.d.ts +5 -0
- package/types/generated/User.macos.d.ts +5 -0
- package/types/generated/VStack.macos.d.ts +4 -0
- package/types/generated/View.macos.d.ts +3 -0
- package/types/generated/VirtualList.macos.d.ts +6 -0
- package/types/generated/VisuallyHidden.macos.d.ts +5 -0
- package/types/generated/WebView.macos.d.ts +2 -0
- package/types/generated/aliases.macos.d.ts +3 -0
- package/types/generated/anim.macos.d.ts +3 -0
- package/types/generated/animation-host.macos.d.ts +3 -0
- package/types/generated/bottom-sheet-panel.macos.d.ts +7 -0
- package/types/generated/bottom-sheet-service.macos.d.ts +5 -0
- package/types/generated/clipboard-write.macos.d.ts +3 -0
- package/types/generated/colorScheme.macos.d.ts +4 -0
- package/types/generated/command-palette-keys.macos.d.ts +2 -0
- package/types/generated/command-palette-scroll.macos.d.ts +2 -0
- package/types/generated/controls.macos.d.ts +8 -0
- package/types/generated/date-composition.macos.d.ts +5 -0
- package/types/generated/escape-props.macos.d.ts +5 -0
- package/types/generated/hash-image.d.ts +13 -0
- package/types/generated/hosted-unsupported.macos.d.ts +1 -0
- package/types/generated/image-content-binding.d.ts +64 -0
- package/types/generated/image-content.d.ts +56 -0
- package/types/generated/image-sizing.d.ts +37 -0
- package/types/generated/index.macos.d.ts +196 -0
- package/types/generated/index.shared.d.ts +1 -1
- package/types/generated/index.shared.web.d.ts +1 -1
- package/types/generated/layout-shells.macos.d.ts +3 -0
- package/types/generated/layout.macos.d.ts +9 -0
- package/types/generated/macos-extras.macos.d.ts +4 -0
- package/types/generated/measure-bounds.macos.d.ts +3 -0
- package/types/generated/nav-href.macos.d.ts +4 -0
- package/types/generated/outline-dom.macos.d.ts +2 -0
- package/types/generated/pan.macos.d.ts +3 -0
- package/types/generated/platform.macos.d.ts +1 -0
- package/types/generated/presentation.macos.d.ts +15 -0
- package/types/generated/props.d.ts +76 -1
- package/types/generated/query-storage.macos.d.ts +8 -0
- package/types/generated/resize-basis.macos.d.ts +4 -0
- package/types/generated/resize-persist.macos.d.ts +8 -0
- package/types/generated/route.macos.d.ts +28 -0
- package/types/generated/safeAreaInsets.macos.d.ts +10 -0
- package/types/generated/stacks.macos.d.ts +3 -0
- package/types/generated/styled.macos.d.ts +9 -0
- package/types/generated/surfaces.macos.d.ts +4 -0
- package/types/generated/svg-image.macos.d.ts +3 -0
- package/types/generated/text-controls.macos.d.ts +4 -0
- package/types/generated/theme/theme-scheme.macos.d.ts +8 -0
- package/types/generated/toast-service.macos.d.ts +3 -0
- package/types/generated/toast-viewport.macos.d.ts +5 -0
- package/types/generated/translate.macos.d.ts +1 -0
- package/types/generated/unsupported.macos.d.ts +1 -0
- package/types/generated/use-imperative-alert-dialog.macos.d.ts +2 -0
- package/types/generated/use-imperative-dialog.macos.d.ts +2 -0
- package/types/generated/use-lightbox.macos.d.ts +2 -0
- package/types/generated/use-scrollable-area.macos.d.ts +6 -0
- package/types/generated/useMeasure.macos.d.ts +3 -0
- package/types/generated/useResizable.macos.d.ts +8 -0
- package/types/generated/useStore.macos.d.ts +2 -0
- package/types/generated/windows.macos.d.ts +2 -0
- package/src/CameraView.macos.tsrx +0 -6
- package/types/index.macos.d.ts +0 -448
package/types/index.macos.d.ts
DELETED
|
@@ -1,448 +0,0 @@
|
|
|
1
|
-
// Components exposed on AppKit use ordinary function signatures so they
|
|
2
|
-
// remain valid JSX elements in the AppKit renderer's TypeScript program.
|
|
3
|
-
import type * as P from './generated/props.js'
|
|
4
|
-
import type { MdDoc } from './generated/Markdown.js'
|
|
5
|
-
import type { SafeAreaInsets } from './generated/safeAreaInsets.js'
|
|
6
|
-
|
|
7
|
-
type Component<Props = Record<string, unknown>> = (props: Props & { children?: any }) => unknown
|
|
8
|
-
|
|
9
|
-
export type * from './generated/props.js'
|
|
10
|
-
export type { MdDoc, MdNode, MdInline } from './generated/Markdown.js'
|
|
11
|
-
export {
|
|
12
|
-
ChatComposer,
|
|
13
|
-
ChatComposerDrawer,
|
|
14
|
-
ChatComposerInput,
|
|
15
|
-
ChatComposerTokenElement,
|
|
16
|
-
ChatDictationButton,
|
|
17
|
-
ChatLayout,
|
|
18
|
-
ChatLayoutScrollButton,
|
|
19
|
-
ChatMessage,
|
|
20
|
-
ChatMessageBubble,
|
|
21
|
-
ChatMessageList,
|
|
22
|
-
ChatMessageMetadata,
|
|
23
|
-
ChatSendButton,
|
|
24
|
-
ChatSystemMessage,
|
|
25
|
-
ChatTokenizedText,
|
|
26
|
-
ChatToolCalls,
|
|
27
|
-
useChatComposerContext,
|
|
28
|
-
useChatComposerTokens,
|
|
29
|
-
useChatDictation,
|
|
30
|
-
useChatLayoutContext,
|
|
31
|
-
useChatNewMessages,
|
|
32
|
-
useChatPasteAsToken,
|
|
33
|
-
useChatStreamScroll,
|
|
34
|
-
useSpeechRecognition,
|
|
35
|
-
} from './generated/index.shared.js'
|
|
36
|
-
|
|
37
|
-
export declare const View: Component<P.ViewProps>
|
|
38
|
-
/** Vertical flex container, exported under Astryx's component name. */
|
|
39
|
-
export declare const VStack: Component<P.VStackProps>
|
|
40
|
-
/** Horizontal flex container, exported under Astryx's component name. */
|
|
41
|
-
export declare const HStack: Component<P.HStackProps>
|
|
42
|
-
export declare const Grid: Component<P.GridProps>
|
|
43
|
-
export declare const Stack: Component<P.StackProps>
|
|
44
|
-
export declare const StackItem: Component<P.StackItemProps>
|
|
45
|
-
export declare const Center: Component<P.CenterProps>
|
|
46
|
-
export declare const Section: Component<P.SectionProps>
|
|
47
|
-
export declare const AspectRatio: Component<P.AspectRatioProps>
|
|
48
|
-
export declare const VisuallyHidden: Component<P.VisuallyHiddenProps>
|
|
49
|
-
export declare const Absolute: Component<P.AbsoluteProps>
|
|
50
|
-
export declare const Spacer: Component<P.SpacerProps>
|
|
51
|
-
export declare const Text: Component<P.TextProps>
|
|
52
|
-
export declare const Markdown: Component<P.MarkdownProps>
|
|
53
|
-
export declare const MarkdownScreen: Component<{ data?: MdDoc; error?: unknown }>
|
|
54
|
-
export declare const RichText: Component<P.RichTextProps>
|
|
55
|
-
export declare const RichTextSpan: Component<P.RichTextSpanProps>
|
|
56
|
-
export declare const Pressable: Component<P.PressableProps>
|
|
57
|
-
export declare const Button: Component<P.ButtonProps>
|
|
58
|
-
export declare const IconButton: Component<P.IconButtonProps>
|
|
59
|
-
export declare const ButtonGroup: Component<P.ButtonGroupProps>
|
|
60
|
-
export declare const ToggleButton: Component<P.ToggleButtonProps>
|
|
61
|
-
export declare const ToggleButtonGroup: Component<P.ToggleButtonGroupProps>
|
|
62
|
-
export declare const Collapsible: Component<P.CollapsibleProps>
|
|
63
|
-
export declare const Accordion: Component<P.AccordionProps>
|
|
64
|
-
/** Self-drawn checkbox, exported under Astryx's component name. */
|
|
65
|
-
export declare const CheckboxInput: Component<P.CheckboxInputProps>
|
|
66
|
-
/** Single-choice option list, exported under Astryx's component name. */
|
|
67
|
-
export declare const RadioList: Component<P.RadioListProps>
|
|
68
|
-
export declare const DropdownMenu: Component<P.DropdownMenuProps>
|
|
69
|
-
export declare const MoreMenu: Component<P.MoreMenuProps>
|
|
70
|
-
export declare const ContextMenu: Component<P.ContextMenuProps>
|
|
71
|
-
export declare const Badge: Component<P.BadgeProps>
|
|
72
|
-
/** Visual separator between content sections, exported under Astryx's name. */
|
|
73
|
-
export declare const Divider: Component<P.DividerProps>
|
|
74
|
-
export declare const Skeleton: Component<P.SkeletonProps>
|
|
75
|
-
export declare const Avatar: Component<P.AvatarProps>
|
|
76
|
-
export declare const AvatarGroup: Component<P.AvatarGroupProps>
|
|
77
|
-
/** Labeled control wrapper, exported under Astryx's component name. */
|
|
78
|
-
export declare const Field: Component<P.FieldProps>
|
|
79
|
-
export declare const FieldGroup: Component<P.FieldGroupProps>
|
|
80
|
-
export declare const FormLayout: Component<P.FormLayoutProps>
|
|
81
|
-
export declare const InputGroup: Component<P.InputGroupProps>
|
|
82
|
-
export declare const InputGroupText: Component<P.InputGroupTextProps>
|
|
83
|
-
/** Reusable labeled row, exported under Astryx's component name. */
|
|
84
|
-
export declare const Item: Component<P.ItemProps>
|
|
85
|
-
/** Bounded child-based content list; not a virtualized or OS list. */
|
|
86
|
-
export declare const List: Component<P.ListProps>
|
|
87
|
-
export declare const ListItem: Component<P.ListItemProps>
|
|
88
|
-
export declare const CheckboxIndicator: Component<P.IndicatorProps<'multiSelection'>>
|
|
89
|
-
export declare const CheckIndicator: Component<P.IndicatorProps<'singleSelection'>>
|
|
90
|
-
export declare const RadioIndicator: Component<P.IndicatorProps<'singleSelection'>>
|
|
91
|
-
/** Bounded numeric entry, exported under Astryx's component name. */
|
|
92
|
-
export declare const NumberInput: Component<P.NumberInputProps>
|
|
93
|
-
export declare const PinInput: Component<P.PinInputProps>
|
|
94
|
-
/** Option picker, exported under Astryx's component name. */
|
|
95
|
-
export declare const Selector: Component<P.SelectorProps>
|
|
96
|
-
/** Multi-choice option picker, exported under Astryx's component name. */
|
|
97
|
-
export declare const MultiSelector: Component<P.MultiSelectorProps>
|
|
98
|
-
export declare const BaseTypeahead: Component<P.BaseTypeaheadProps>
|
|
99
|
-
export declare const Typeahead: Component<P.TypeaheadProps>
|
|
100
|
-
export declare const TypeaheadItem: Component<P.TypeaheadItemProps>
|
|
101
|
-
export declare function createStaticSource<T extends P.SearchableItem>(
|
|
102
|
-
items: T[],
|
|
103
|
-
options?: P.CreateStaticSourceOptions<T>,
|
|
104
|
-
): P.SearchSource<T>
|
|
105
|
-
|
|
106
|
-
export declare const Token: Component<P.TokenProps>
|
|
107
|
-
export declare const Tokenizer: Component<P.TokenizerProps>
|
|
108
|
-
export declare const ComplexSelector: Component<P.ComplexSelectorProps<any>>
|
|
109
|
-
export declare const InputRating: Component<P.InputRatingProps>
|
|
110
|
-
/** Multi-choice checkbox list, exported under Astryx's component name. */
|
|
111
|
-
export declare const CheckboxList: Component<P.CheckboxListProps>
|
|
112
|
-
/** Ancestor path trail, exported under Astryx's component name. */
|
|
113
|
-
export declare const Breadcrumbs: Component<P.BreadcrumbsProps>
|
|
114
|
-
export declare const Pagination: Component<P.PaginationProps>
|
|
115
|
-
export declare const Stepper: Component<P.StepperProps>
|
|
116
|
-
export declare const NavigationMenu: Component<P.NavigationMenuProps>
|
|
117
|
-
export declare const CommandPalette: <T extends P.CommandPaletteItem = P.CommandPaletteItem>(
|
|
118
|
-
props: P.CommandPaletteProps<T>,
|
|
119
|
-
) => unknown
|
|
120
|
-
|
|
121
|
-
export declare const AppShell: Component<P.AppShellProps>
|
|
122
|
-
export declare const AppShellMobileContext: any
|
|
123
|
-
export declare function useAppShellMobile(): P.AppShellMobileContextValue
|
|
124
|
-
export declare const TopNav: Component<P.TopNavProps>
|
|
125
|
-
export declare const TopNavHeading: Component<P.TopNavHeadingProps>
|
|
126
|
-
export declare const TopNavItem: Component<P.TopNavItemProps>
|
|
127
|
-
export declare const TopNavMenu: Component<P.TopNavMenuProps>
|
|
128
|
-
export declare const TopNavMegaMenu: Component<P.TopNavMegaMenuProps>
|
|
129
|
-
export declare const TopNavMegaMenuItem: Component<P.TopNavMegaMenuItemProps>
|
|
130
|
-
export declare const TopNavMegaMenuFeaturedCard: Component<P.TopNavMegaMenuFeaturedCardProps>
|
|
131
|
-
export declare const TopNavRenderContext: any
|
|
132
|
-
export declare function useTopNavRenderMode(): P.TopNavRenderMode
|
|
133
|
-
export declare const SideNav: Component<P.SideNavProps>
|
|
134
|
-
export declare const SideNavSection: Component<P.SideNavSectionProps>
|
|
135
|
-
export declare const SideNavHeading: Component<P.SideNavHeadingProps>
|
|
136
|
-
export declare const SideNavItem: Component<P.SideNavItemProps>
|
|
137
|
-
export declare const SideNavCollapseButton: Component<P.SideNavCollapseButtonProps>
|
|
138
|
-
export declare const SideNavRenderContext: any
|
|
139
|
-
export declare function useSideNavCollapse(): P.SideNavCollapseState | null
|
|
140
|
-
export declare function useSideNavRenderMode(): P.SideNavRenderMode
|
|
141
|
-
export declare const MobileNav: Component<P.MobileNavProps>
|
|
142
|
-
export declare const MobileNavToggle: Component<P.MobileNavToggleProps>
|
|
143
|
-
export declare const NavIcon: Component<P.NavIconProps>
|
|
144
|
-
export declare const NavHeadingMenu: Component<P.NavHeadingMenuProps>
|
|
145
|
-
export declare const NavHeadingMenuItem: Component<P.NavHeadingMenuItemProps>
|
|
146
|
-
export declare const NavHeadingMenuContext: any
|
|
147
|
-
export declare const NavHeadingCloseContext: any
|
|
148
|
-
export declare function useNavHeadingMenuContext(): P.NavHeadingMenuContextValue | null
|
|
149
|
-
export declare function useNavHeadingCloseContext(): P.NavHeadingCloseContextValue | null
|
|
150
|
-
export declare const TabList: Component<P.TabListProps>
|
|
151
|
-
export declare const Tab: Component<P.TabProps>
|
|
152
|
-
export declare const TabMenu: Component<P.TabMenuProps>
|
|
153
|
-
export declare function useTabListContext(): P.TabListContextValue
|
|
154
|
-
export declare const Toolbar: Component<P.ToolbarProps>
|
|
155
|
-
export declare const OverflowList: Component<P.OverflowListProps>
|
|
156
|
-
export declare function useResizable(config: P.UseResizableSingleConfig): P.ResizableRegion
|
|
157
|
-
export declare function useResizable(
|
|
158
|
-
config: P.UseResizableMultiConfig,
|
|
159
|
-
): Record<string, P.ResizableRegion>
|
|
160
|
-
|
|
161
|
-
export declare const ResizeHandle: Component<P.ResizeHandleProps>
|
|
162
|
-
export declare function pixel(value: number): P.ResizablePixelSize
|
|
163
|
-
export declare function percent(
|
|
164
|
-
value: number,
|
|
165
|
-
constraint: { min: P.ResizablePixelSize } | { max: P.ResizablePixelSize },
|
|
166
|
-
): P.ResizablePercentSize
|
|
167
|
-
|
|
168
|
-
export declare const Table: Component<P.TableProps>
|
|
169
|
-
export declare const Timeline: Component<P.TimelineProps>
|
|
170
|
-
/** Expandable hierarchy, exported under Astryx's component name. */
|
|
171
|
-
export declare const TreeList: Component<P.TreeListProps>
|
|
172
|
-
export declare const Alert: Component<P.AlertProps>
|
|
173
|
-
export declare const Card: Component<P.CardProps>
|
|
174
|
-
export declare const ClickableCard: Component<P.ClickableCardProps>
|
|
175
|
-
export declare const SelectableCard: Component<P.SelectableCardProps>
|
|
176
|
-
export declare const Chip: Component<P.ChipProps>
|
|
177
|
-
export declare const Kbd: Component<P.KbdProps>
|
|
178
|
-
/** Empty-state block, exported under Astryx's component name. */
|
|
179
|
-
export declare const EmptyState: Component<P.EmptyStateProps>
|
|
180
|
-
export declare const Banner: Component<P.BannerProps>
|
|
181
|
-
export declare const User: Component<P.UserProps>
|
|
182
|
-
export declare const ProgressGroup: Component<P.ProgressGroupProps>
|
|
183
|
-
export declare const Link: Component<P.LinkProps>
|
|
184
|
-
export declare const NavLink: Component<P.NavLinkProps>
|
|
185
|
-
export declare const TextInput: Component<P.TextInputProps>
|
|
186
|
-
export declare const TextArea: Component<P.TextAreaProps>
|
|
187
|
-
export declare const SearchInput: Component<P.SearchInputProps>
|
|
188
|
-
export declare const SegmentedControl: Component<P.SegmentedControlProps>
|
|
189
|
-
export declare const ScrollableArea: Component<P.ScrollableAreaProps>
|
|
190
|
-
/** AppKit fallback with keyed rows and one nonvirtualized scroll view. */
|
|
191
|
-
export declare function VirtualList<T = any>(
|
|
192
|
-
props: P.VirtualListProps<T> & { children?: any },
|
|
193
|
-
): unknown
|
|
194
|
-
|
|
195
|
-
export declare const Image: Component<P.ImageProps>
|
|
196
|
-
export declare const PowerSearch: Component<P.PowerSearchProps>
|
|
197
|
-
export declare const PowerSearchToken: Component<P.PowerSearchTokenProps>
|
|
198
|
-
export declare const PowerSearchFilterEditor: Component<P.PowerSearchEditorProps>
|
|
199
|
-
export {
|
|
200
|
-
createPowerSearchConfig,
|
|
201
|
-
usePowerSearchConfig,
|
|
202
|
-
resolveOperatorLabel,
|
|
203
|
-
} from './generated/power-search-config.js'
|
|
204
|
-
|
|
205
|
-
/** Embedded WKWebView document; use its ref for frame-local navigation. */
|
|
206
|
-
export declare function WebView(props: P.WebViewProps): unknown
|
|
207
|
-
export declare const CameraView: Component
|
|
208
|
-
export declare const Overlay: Component<P.OverlayProps>
|
|
209
|
-
export declare const Popover: Component<P.PopoverProps>
|
|
210
|
-
export declare const Dialog: Component<P.DialogProps>
|
|
211
|
-
export declare const DialogHeader: Component<P.DialogHeaderProps>
|
|
212
|
-
export declare const AlertDialog: Component<P.AlertDialogProps>
|
|
213
|
-
export declare const BottomSheet: Component<P.BottomSheetProps>
|
|
214
|
-
export declare const BottomSheetSwitcher: Component<P.BottomSheetSwitcherProps>
|
|
215
|
-
export declare const HoverCard: Component<P.HoverCardProps>
|
|
216
|
-
export declare const Carousel: Component<P.CarouselProps>
|
|
217
|
-
export declare const Lightbox: Component<P.LightboxProps>
|
|
218
|
-
export declare const Toast: Component<P.ToastProps>
|
|
219
|
-
export declare const ToastViewport: Component<P.ToastViewportProps>
|
|
220
|
-
export declare const Tooltip: Component<P.TooltipProps>
|
|
221
|
-
export { parseMdDoc, parseMdNodes, mdInlineText } from './generated/markdown-parse.js'
|
|
222
|
-
export {
|
|
223
|
-
createMarkdownIncrementalState,
|
|
224
|
-
parseMarkdownIncremental,
|
|
225
|
-
trimStreamingArtifacts,
|
|
226
|
-
computeBoundaries,
|
|
227
|
-
computeSegments,
|
|
228
|
-
markdownTextLength,
|
|
229
|
-
} from './generated/markdown-stream.js'
|
|
230
|
-
|
|
231
|
-
export type { MarkdownIncrementalState, MdTextSegment } from './generated/markdown-stream.js'
|
|
232
|
-
export declare const Tabs: Component<P.TabsProps>
|
|
233
|
-
export declare const Screen: Component<P.ScreenProps>
|
|
234
|
-
export declare const Switch: Component<P.SwitchProps>
|
|
235
|
-
export declare const SafeArea: Component<P.SafeAreaProps>
|
|
236
|
-
export declare const KeyboardAvoiding: Component<P.KeyboardAvoidingProps>
|
|
237
|
-
export declare const Drawer: Component<P.DrawerProps>
|
|
238
|
-
/** Loading indicator, exported under Astryx's component name. */
|
|
239
|
-
export declare const Spinner: Component<P.SpinnerProps>
|
|
240
|
-
export declare const Meter: Component<P.MeterProps>
|
|
241
|
-
export declare const Slider: Component<P.SliderProps>
|
|
242
|
-
export declare const Icon: Component<P.IconProps>
|
|
243
|
-
export declare const Heading: Component<P.HeadingProps>
|
|
244
|
-
|
|
245
|
-
export declare function setTranslate(el: any, x?: number, y?: number): void
|
|
246
|
-
/** Stable imperative value; defaults to translateX. Tween duration is milliseconds.
|
|
247
|
-
* AppKit supports opacity, translations, scale axes and rotation; see AnimatedValue. */
|
|
248
|
-
export declare function useAnimation(initial?: number, property?: string): P.AnimatedValue
|
|
249
|
-
export declare function useThemeScheme(): P.ColorScheme
|
|
250
|
-
export declare function getThemeScheme(): P.ColorScheme
|
|
251
|
-
export declare function setThemePreference(value: 'light' | 'dark' | 'system'): void
|
|
252
|
-
export declare function getThemePreference(): 'light' | 'dark' | 'system'
|
|
253
|
-
export declare function themeSchemeClasses(): string
|
|
254
|
-
export declare function onThemeSchemeChange(listener: () => void): () => void
|
|
255
|
-
export declare function applyThemeClasses(view: any): void
|
|
256
|
-
export declare function useColorScheme(): P.ColorScheme
|
|
257
|
-
export declare function getColorScheme(): P.ColorScheme
|
|
258
|
-
export declare function styled<T>(component: T, options?: any): T
|
|
259
|
-
export declare function openWindow(options?: P.OpenWindowOptions): any
|
|
260
|
-
export declare function useSafeAreaInsets(): SafeAreaInsets
|
|
261
|
-
export declare function useMeasure(options?: P.UseMeasureOptions): P.MeasureResult
|
|
262
|
-
export declare function registerIcon(name: string, glyph: P.IconGlyph): void
|
|
263
|
-
export declare function registerIcons(record: Record<string, P.IconGlyph>): void
|
|
264
|
-
// Keep macOS imperative signatures aligned with the canonical declarations.
|
|
265
|
-
export { showToast, useToast } from './generated/toast-service.js'
|
|
266
|
-
export { useImperativeDialog } from './generated/use-imperative-dialog.js'
|
|
267
|
-
export { useImperativeAlertDialog } from './generated/use-imperative-alert-dialog.js'
|
|
268
|
-
export declare function useHoverCard(options?: P.HoverCardOptions): P.HoverCardReturn
|
|
269
|
-
export { useLightbox } from './generated/use-lightbox.js'
|
|
270
|
-
export declare function useScrollableArea(
|
|
271
|
-
options?: P.UseScrollableAreaOptions,
|
|
272
|
-
): P.UseScrollableAreaResult
|
|
273
|
-
|
|
274
|
-
export declare const defaultIndicators: {
|
|
275
|
-
[N in P.IndicatorName]: P.IndicatorComponent<P.IndicatorMap[N]>
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
export declare const indicatorScope: string
|
|
279
|
-
export declare function registerIndicator<N extends P.IndicatorName>(
|
|
280
|
-
name: N,
|
|
281
|
-
component: P.IndicatorComponent<P.IndicatorMap[N]>,
|
|
282
|
-
): void
|
|
283
|
-
|
|
284
|
-
export declare function registerIndicators(registry: P.IndicatorRegistry): void
|
|
285
|
-
export declare function getIndicator<N extends P.IndicatorName>(
|
|
286
|
-
name: N,
|
|
287
|
-
): P.IndicatorComponent<P.IndicatorMap[N]> | undefined
|
|
288
|
-
|
|
289
|
-
export declare function useIndicator<N extends P.IndicatorName>(
|
|
290
|
-
name: N,
|
|
291
|
-
): P.IndicatorComponent<P.IndicatorMap[N]> | undefined
|
|
292
|
-
|
|
293
|
-
export declare const isNative: true
|
|
294
|
-
export declare function registerStack(name: string, stack: any): void
|
|
295
|
-
export declare function getStack(name: string): any
|
|
296
|
-
export declare function stackEntries(): IterableIterator<[string, any]>
|
|
297
|
-
export declare function pushRoute(route: P.Route): void
|
|
298
|
-
export declare function popRoute(stack?: string): void
|
|
299
|
-
export declare function routeStacks(): string[]
|
|
300
|
-
export declare function pushDeepLink(url: string): void
|
|
301
|
-
export declare function routeFor(stack: string): P.Route | null
|
|
302
|
-
export declare function currentRoute(): P.Route | null
|
|
303
|
-
export declare function currentModalRoute(): P.Route | null
|
|
304
|
-
export declare function canGoBack(stack?: string): boolean
|
|
305
|
-
export declare function useCanGoBack(stack?: string): boolean
|
|
306
|
-
export declare function useRoute(stack?: string): P.Route | null
|
|
307
|
-
export declare function useModalRoute(): P.Route | null
|
|
308
|
-
export declare function redirect(route: P.Route): never
|
|
309
|
-
export declare function addBackInterceptor(fn: () => boolean): () => void
|
|
310
|
-
export declare function registerScreens(table: P.ScreenTable, routes?: P.RouteMeta[]): void
|
|
311
|
-
export declare function registerRoutes(manifest: P.RouteManifest): void
|
|
312
|
-
/** Layer a programmatic manifest (from `defineRoutes`) over the registered
|
|
313
|
-
* routes — same-name entries win over the base with a warn. */
|
|
314
|
-
export declare function addRoutes(manifest: P.RouteManifest): void
|
|
315
|
-
export declare function screenFor(name: string): P.ScreenTable[string] | undefined
|
|
316
|
-
export declare function hrefFor(route: P.Route): string
|
|
317
|
-
export declare function layoutsForRoute(name: string): any[]
|
|
318
|
-
export declare function errorBoundaryFor(name: string): any
|
|
319
|
-
export declare const RouteBoundary: Component<{ boundary?: any; route?: any }>
|
|
320
|
-
export declare function deriveRouteManifest(
|
|
321
|
-
files: Record<string, any>,
|
|
322
|
-
prefer: readonly string[],
|
|
323
|
-
dir?: string,
|
|
324
|
-
): P.RouteManifest
|
|
325
|
-
|
|
326
|
-
export declare function defineRoutes(
|
|
327
|
-
input: readonly P.RouteSpec[] | P.RouteSpecSet,
|
|
328
|
-
): P.RouteManifest
|
|
329
|
-
|
|
330
|
-
export declare function mergeRouteManifests(...manifests: P.RouteManifest[]): P.RouteManifest
|
|
331
|
-
export declare function createStore<T>(initial: T): P.Store<T>
|
|
332
|
-
export declare function useStore<T>(store: P.ReadableStore<T>): T
|
|
333
|
-
export declare const openBottomSheet: P.OpenBottomSheet
|
|
334
|
-
export declare function closeBottomSheet(result?: P.ModalOpenResult): void
|
|
335
|
-
export declare function bottomSheetHost(): null
|
|
336
|
-
|
|
337
|
-
/** Anchored or fixed AppKit popup; content lives in a separate renderer root. */
|
|
338
|
-
export declare function useLayer<O extends P.LayerOptions>(
|
|
339
|
-
options: O,
|
|
340
|
-
): O extends P.FixedLayerOptions ? P.FixedLayerReturn : P.ContextLayerReturn
|
|
341
|
-
|
|
342
|
-
export declare const Calendar: Component<P.CalendarProps>
|
|
343
|
-
export declare const DateInput: Component<P.DateInputProps>
|
|
344
|
-
export declare const DateRangeInput: Component<P.DateRangeInputProps>
|
|
345
|
-
export declare const DateTimeInput: Component<P.DateTimeInputProps>
|
|
346
|
-
export declare const TimeInput: Component<P.TimeInputProps>
|
|
347
|
-
export {
|
|
348
|
-
useCalendarDays,
|
|
349
|
-
useCalendarConstraints,
|
|
350
|
-
useCalendarNavigation,
|
|
351
|
-
} from './generated/calendar-hooks.js'
|
|
352
|
-
|
|
353
|
-
export { isSameDay, isDateInRange, getWeekNumber } from './generated/calendar-core.js'
|
|
354
|
-
export type { CalendarDay, CalendarMonthGrid } from './generated/calendar-core.js'
|
|
355
|
-
export type {
|
|
356
|
-
UseCalendarDaysOptions,
|
|
357
|
-
UseCalendarDaysReturn,
|
|
358
|
-
UseCalendarConstraintsOptions,
|
|
359
|
-
UseCalendarConstraintsReturn,
|
|
360
|
-
UseCalendarNavigationOptions,
|
|
361
|
-
UseCalendarNavigationReturn,
|
|
362
|
-
} from './generated/calendar-hooks.js'
|
|
363
|
-
|
|
364
|
-
export { useFieldControl } from './generated/field-context.js'
|
|
365
|
-
|
|
366
|
-
export declare const Blockquote: Component<P.BlockquoteProps>
|
|
367
|
-
export declare const Code: Component<P.CodeProps>
|
|
368
|
-
export declare const CodeBlock: Component<P.CodeBlockProps>
|
|
369
|
-
export declare const MetadataList: Component<P.MetadataListProps>
|
|
370
|
-
export declare const MetadataListItem: Component<P.MetadataListItemProps>
|
|
371
|
-
export declare const Thumbnail: Component<P.ThumbnailProps>
|
|
372
|
-
export declare const ProgressBar: Component<P.ProgressBarProps>
|
|
373
|
-
export declare const StatusDot: Component<P.StatusDotProps>
|
|
374
|
-
export declare const Timestamp: Component<P.TimestampProps>
|
|
375
|
-
export declare const Timer: Component<P.TimerProps>
|
|
376
|
-
export declare const Citation: Component<P.CitationProps>
|
|
377
|
-
export declare const Outline: Component<P.OutlineProps>
|
|
378
|
-
export { useOutlineFromMarkdown, useOutlineFromDoc } from './generated/outline-hooks.js'
|
|
379
|
-
export declare function useOutlineFromDOM(
|
|
380
|
-
containerRef?: unknown,
|
|
381
|
-
options?: P.OutlineFromDOMOptions,
|
|
382
|
-
): P.OutlineItem[]
|
|
383
|
-
|
|
384
|
-
export {
|
|
385
|
-
parseOutlineFromMarkdown,
|
|
386
|
-
outlineFromDoc,
|
|
387
|
-
markdownHeadings,
|
|
388
|
-
inlineMarkdownText,
|
|
389
|
-
slugify,
|
|
390
|
-
uniqueSlug,
|
|
391
|
-
} from './generated/outline-utils.js'
|
|
392
|
-
|
|
393
|
-
export {
|
|
394
|
-
tokenize,
|
|
395
|
-
tokenizeAsync,
|
|
396
|
-
tokenizeStreaming,
|
|
397
|
-
flatTokensToLines,
|
|
398
|
-
SYNC_TOKENIZE_THRESHOLD,
|
|
399
|
-
TOKEN_TYPES,
|
|
400
|
-
syntaxTokenVar,
|
|
401
|
-
syntaxTokenVarRef,
|
|
402
|
-
} from './generated/code-tokenizer.js'
|
|
403
|
-
|
|
404
|
-
export { DropdownMenuContext, useDropdownMenuContext } from './generated/menu-context.js'
|
|
405
|
-
export declare const DropdownMenuItem: Component<P.MenuItemProps>
|
|
406
|
-
export declare const DropdownMenuDivider: Component<P.MenuDividerProps>
|
|
407
|
-
export declare const DropdownMenuCheckboxItem: Component<P.MenuCheckboxItemProps>
|
|
408
|
-
export declare const DropdownMenuRadioGroup: Component<P.MenuRadioGroupProps>
|
|
409
|
-
export declare const DropdownMenuRadioItem: Component<P.MenuRadioItemProps>
|
|
410
|
-
export declare const DropdownMenuSubMenu: Component<P.MenuSubMenuProps>
|
|
411
|
-
export type {
|
|
412
|
-
MenuItemProps as DropdownMenuItemProps,
|
|
413
|
-
MenuDividerProps as DropdownMenuDividerProps,
|
|
414
|
-
MenuCheckboxItemProps as DropdownMenuCheckboxItemProps,
|
|
415
|
-
MenuRadioGroupProps as DropdownMenuRadioGroupProps,
|
|
416
|
-
MenuRadioItemProps as DropdownMenuRadioItemProps,
|
|
417
|
-
MenuSubMenuProps as DropdownMenuSubMenuProps,
|
|
418
|
-
} from './generated/props.js'
|
|
419
|
-
|
|
420
|
-
export declare const ContextMenuItem: Component<P.MenuItemProps>
|
|
421
|
-
export declare const ContextMenuDivider: Component<P.MenuDividerProps>
|
|
422
|
-
export declare const ContextMenuCheckboxItem: Component<P.MenuCheckboxItemProps>
|
|
423
|
-
export declare const ContextMenuRadioGroup: Component<P.MenuRadioGroupProps>
|
|
424
|
-
export declare const ContextMenuRadioItem: Component<P.MenuRadioItemProps>
|
|
425
|
-
export declare const ContextMenuSubMenu: Component<P.MenuSubMenuProps>
|
|
426
|
-
export type {
|
|
427
|
-
MenuItemProps as ContextMenuItemProps,
|
|
428
|
-
MenuDividerProps as ContextMenuDividerProps,
|
|
429
|
-
MenuCheckboxItemProps as ContextMenuCheckboxItemProps,
|
|
430
|
-
MenuRadioGroupProps as ContextMenuRadioGroupProps,
|
|
431
|
-
MenuRadioItemProps as ContextMenuRadioItemProps,
|
|
432
|
-
MenuSubMenuProps as ContextMenuSubMenuProps,
|
|
433
|
-
} from './generated/props.js'
|
|
434
|
-
|
|
435
|
-
export declare const BreadcrumbMenuItem: Component<P.MenuItemProps>
|
|
436
|
-
export declare const BreadcrumbMenuDivider: Component<P.MenuDividerProps>
|
|
437
|
-
export declare const BreadcrumbMenuCheckboxItem: Component<P.MenuCheckboxItemProps>
|
|
438
|
-
export declare const BreadcrumbMenuRadioGroup: Component<P.MenuRadioGroupProps>
|
|
439
|
-
export declare const BreadcrumbMenuRadioItem: Component<P.MenuRadioItemProps>
|
|
440
|
-
export declare const BreadcrumbMenuSubMenu: Component<P.MenuSubMenuProps>
|
|
441
|
-
export type {
|
|
442
|
-
MenuItemProps as BreadcrumbMenuItemProps,
|
|
443
|
-
MenuDividerProps as BreadcrumbMenuDividerProps,
|
|
444
|
-
MenuCheckboxItemProps as BreadcrumbMenuCheckboxItemProps,
|
|
445
|
-
MenuRadioGroupProps as BreadcrumbMenuRadioGroupProps,
|
|
446
|
-
MenuRadioItemProps as BreadcrumbMenuRadioItemProps,
|
|
447
|
-
MenuSubMenuProps as BreadcrumbMenuSubMenuProps,
|
|
448
|
-
} from './generated/props.js'
|