@octane-xplat/ui 0.9.0 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +40 -5
- package/dist/native/AlertDialog.tsrx.js +183 -0
- package/dist/native/AppShell.tsrx.js +311 -0
- package/dist/native/AspectRatio.tsrx.js +77 -0
- package/dist/native/AvatarGroup.tsrx.js +4 -19
- package/dist/native/BaseTypeahead.tsrx.js +420 -0
- package/dist/native/Blockquote.tsrx.js +51 -0
- package/dist/native/BottomSheet.tsrx.js +289 -0
- package/dist/native/Breadcrumb.tsrx.js +60 -15
- package/dist/native/Button.tsrx.js +73 -10
- package/dist/native/ButtonGroup.tsrx.js +47 -0
- package/dist/native/Calendar.tsrx.js +465 -0
- package/dist/native/Card.tsrx.js +8 -2
- package/dist/native/Carousel.tsrx.js +317 -0
- package/dist/native/Center.tsrx.js +70 -0
- package/dist/native/ChatComposer.tsrx.js +249 -0
- package/dist/native/ChatComposerDrawer.tsrx.js +124 -0
- package/dist/native/ChatComposerInput.tsrx.js +354 -0
- package/dist/native/ChatDictationButton.tsrx.js +101 -0
- package/dist/native/ChatLayout.tsrx.js +176 -0
- package/dist/native/ChatLayoutScrollButton.tsrx.js +77 -0
- package/dist/native/ChatMessage.tsrx.js +136 -0
- package/dist/native/ChatMessageBubble.tsrx.js +81 -0
- package/dist/native/ChatMessageList.tsrx.js +144 -0
- package/dist/native/ChatMessageMetadata.tsrx.js +144 -0
- package/dist/native/ChatSendButton.tsrx.js +87 -0
- package/dist/native/ChatSystemMessage.tsrx.js +103 -0
- package/dist/native/ChatTokenizedText.tsrx.js +72 -0
- package/dist/native/ChatToolCalls.tsrx.js +450 -0
- package/dist/native/CheckIndicator.tsrx.js +74 -0
- package/dist/native/Checkbox.tsrx.js +49 -27
- package/dist/native/CheckboxGroup.tsrx.js +25 -11
- package/dist/native/CheckboxIndicator.tsrx.js +57 -0
- package/dist/native/Citation.tsrx.js +195 -0
- package/dist/native/ClickableCard.tsrx.js +70 -0
- package/dist/native/Code.tsrx.js +39 -0
- package/dist/native/CodeBlock.tsrx.js +423 -0
- package/dist/native/CommandPalette.tsrx.js +339 -100
- package/dist/native/ComplexSelector.tsrx.js +324 -0
- package/dist/native/ContextMenu.tsrx.js +67 -64
- package/dist/native/DateInput.tsrx.js +645 -0
- package/dist/native/DateRangeInput.tsrx.js +489 -0
- package/dist/native/DateTimeInput.tsrx.js +987 -0
- package/dist/native/Dialog.tsrx.js +377 -0
- package/dist/native/DropdownMenu.tsrx.js +56 -66
- package/dist/native/FormField.tsrx.js +249 -16
- package/dist/native/FormLayout.tsrx.js +129 -0
- package/dist/native/HStack.tsrx.js +29 -0
- package/dist/native/HoverCard.mobile.tsrx.js +52 -0
- package/dist/native/Icon.tsrx.js +3 -1
- package/dist/native/{ScrollBox.tsrx.js → IconButton.tsrx.js} +9 -5
- package/dist/native/Image.tsrx.js +153 -17
- package/dist/native/InputGroup.tsrx.js +188 -0
- package/dist/native/InputNumber.tsrx.js +20 -11
- package/dist/native/InputRating.tsrx.js +20 -11
- package/dist/native/Item.tsrx.js +178 -0
- package/dist/native/Kbd.tsrx.js +7 -2
- package/dist/native/Lightbox.tsrx.js +464 -0
- package/dist/native/List.tsrx.js +143 -0
- package/dist/native/ListItem.tsrx.js +121 -144
- package/dist/native/Markdown.tsrx.js +321 -93
- package/dist/native/MenuParts.tsrx.js +762 -0
- package/dist/native/MenuSurface.tsrx.js +81 -0
- package/dist/native/MetadataList.tsrx.js +170 -0
- package/dist/native/MetadataListItem.tsrx.js +115 -0
- package/dist/native/MobileNav.tsrx.js +183 -0
- package/dist/native/MoreMenu.tsrx.js +264 -0
- package/dist/native/NavIcon.tsrx.js +57 -0
- package/dist/native/NavMenu.tsrx.js +180 -0
- package/dist/native/NavigationMenu.tsrx.js +59 -19
- package/dist/native/Outline.tsrx.js +229 -0
- package/dist/native/OverflowList.tsrx.js +202 -0
- package/dist/native/Overlay.tsrx.js +7 -2
- package/dist/native/PinInput.tsrx.js +110 -56
- package/dist/native/Popover.tsrx.js +50 -15
- package/dist/native/PowerSearch.tsrx.js +502 -0
- package/dist/native/PowerSearchFilterEditor.tsrx.js +234 -0
- package/dist/native/PowerSearchToken.tsrx.js +90 -0
- package/dist/native/Pressable.tsrx.js +15 -9
- package/dist/native/ProgressBar.tsrx.js +243 -0
- package/dist/native/RadioGroup.tsrx.js +48 -28
- package/dist/native/RadioIndicator.tsrx.js +50 -0
- package/dist/native/Resizable.js +3 -0
- package/dist/native/ResizeHandle.tsrx.js +104 -0
- package/dist/native/RouteBoundary.tsrx.js +51 -0
- package/dist/native/{RouteHost.mobile.tsrx.js → RouteHost.tsrx.js} +19 -3
- package/dist/native/SafeArea.tsrx.js +2 -5
- package/dist/native/Screen.tsrx.js +1 -1
- package/dist/native/ScrollableArea.tsrx.js +265 -0
- package/dist/native/SearchInput.tsrx.js +30 -22
- package/dist/native/Section.tsrx.js +71 -0
- package/dist/native/SegmentedControl.tsrx.js +23 -10
- package/dist/native/Select.tsrx.js +395 -95
- package/dist/native/SelectableCard.tsrx.js +64 -0
- package/dist/native/SideNav.tsrx.js +1222 -0
- package/dist/native/Slider.tsrx.js +2 -2
- package/dist/native/Stack.tsrx.js +134 -28
- package/dist/native/StackItem.tsrx.js +121 -0
- package/dist/native/StatusDot.tsrx.js +95 -0
- package/dist/native/Switch.tsrx.js +19 -6
- package/dist/native/TabList.tsrx.js +501 -0
- package/dist/native/Tabs.tsrx.js +85 -79
- package/dist/native/TextArea.tsrx.js +34 -22
- package/dist/native/TextInput.tsrx.js +93 -31
- package/dist/native/Thumbnail.tsrx.js +302 -0
- package/dist/native/TimeInput.tsrx.js +487 -0
- package/dist/native/TimeWheelPanel.tsrx.js +213 -0
- package/dist/native/Timer.tsrx.js +65 -0
- package/dist/native/Timestamp.tsrx.js +74 -0
- package/dist/native/Toast.tsrx.js +134 -0
- package/dist/native/ToggleButton.tsrx.js +126 -0
- package/dist/native/Token.tsrx.js +195 -0
- package/dist/native/Tokenizer.tsrx.js +818 -0
- package/dist/native/Toolbar.tsrx.js +223 -0
- package/dist/native/Tooltip.tsrx.js +131 -0
- package/dist/native/TopNav.tsrx.js +1315 -0
- package/dist/native/Typeahead.tsrx.js +462 -0
- package/dist/native/TypeaheadItem.tsrx.js +92 -0
- package/dist/native/VStack.tsrx.js +29 -0
- package/dist/native/View.tsrx.js +15 -9
- package/dist/native/VirtualList.tsrx.js +72 -45
- package/dist/native/VisuallyHidden.tsrx.js +49 -0
- package/dist/native/WebView.tsrx.js +10 -9
- package/dist/native/aliases.tsrx.js +19 -28
- package/dist/native/android/BottomNavigationView.android.tsrx.js +13 -3
- package/dist/native/android/MaterialDialog.android.tsrx.js +1 -1
- package/dist/native/android/RecyclerView.android.tsrx.js +94 -12
- package/dist/native/android/openModal.android.js +1 -1
- package/dist/native/anim.tsrx.js +16 -52
- package/dist/native/animated-value.js +96 -0
- package/dist/native/app-shell-config.js +19 -0
- package/dist/native/bottom-sheet-context.js +8 -0
- package/dist/native/bottom-sheet-service.js +87 -0
- package/dist/native/busy-lane.js +23 -0
- package/dist/native/button-group-context.js +11 -0
- package/dist/native/calendar-core.js +216 -0
- package/dist/native/calendar-hooks.tsrx.js +62 -0
- package/dist/native/chat-context.js +28 -0
- package/dist/native/chat-group-items.js +36 -0
- package/dist/native/chat-tokenize.js +41 -0
- package/dist/native/chat-tokens.tsrx.js +60 -0
- package/dist/native/child-array.js +8 -11
- package/dist/native/clipboard-write.js +13 -0
- package/dist/native/code-tokenizer.js +802 -0
- package/dist/native/codeblock-shared.tsrx.js +63 -0
- package/dist/native/command-palette-accessibility.mobile.js +12 -0
- package/dist/native/command-palette-state.js +191 -0
- package/dist/native/date-composition.js +11 -0
- package/dist/native/date-field-action.js +16 -0
- package/dist/native/date-messages.js +27 -0
- package/dist/native/datetime.js +759 -0
- package/dist/native/dialog-context.js +8 -0
- package/dist/native/escape-props.js +24 -4
- package/dist/native/field-context.js +57 -0
- package/dist/native/form-layout-context.js +10 -0
- package/dist/native/hash-image.js +285 -0
- package/dist/native/icons.js +22 -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/index.shared.js +134 -27
- package/dist/native/indicators.js +40 -0
- package/dist/native/input-group-context.js +6 -0
- package/dist/native/ios/UIModal.ios.tsrx.js +1 -1
- package/dist/native/ios/UITableView.ios.tsrx.js +94 -12
- package/dist/native/ios/openModal.ios.js +1 -1
- package/dist/native/is-renderable.js +8 -0
- package/dist/native/{keyboard-inset.mobile.js → keyboard-inset.js} +2 -2
- package/dist/native/layer-dismissal.tsrx.js +50 -0
- package/dist/native/layer-keys.js +37 -0
- package/dist/native/layer-stack.js +61 -0
- package/dist/native/list-context.js +13 -0
- package/dist/native/list-viewability-core.js +100 -0
- package/dist/native/list-viewability-observer.android.js +78 -0
- package/dist/native/list-viewability-observer.ios.js +74 -0
- package/dist/native/list-viewability-runtime.js +81 -0
- package/dist/native/markdown-parse.js +342 -0
- package/dist/native/markdown-stream.js +264 -0
- package/dist/native/menu-context.js +11 -0
- package/dist/native/metadata-list-context.js +6 -0
- package/dist/native/{modal-presenter.mobile.js → modal-presenter.js} +1 -1
- package/dist/native/native/index.js +3 -3
- package/dist/native/native-color.mobile.tsrx.js +6 -0
- package/dist/native/nav-contexts.js +79 -0
- package/dist/native/nav-href.js +22 -0
- package/dist/native/octane-client-build.json +1 -1
- package/dist/native/outline-dom.tsrx.js +21 -0
- package/dist/native/outline-hooks.tsrx.js +14 -0
- package/dist/native/outline-utils.js +122 -0
- package/dist/native/outline-view-tree.js +63 -0
- package/dist/native/overflow-math.js +126 -0
- package/dist/native/{overlay-lifetime.mobile.js → overlay-lifetime.js} +1 -3
- package/dist/native/popover-position.js +51 -7
- package/dist/native/power-search-config.js +566 -0
- package/dist/native/power-search-strings.js +74 -0
- package/dist/native/query-cache.js +358 -0
- package/dist/native/query-storage.js +30 -0
- package/dist/native/ref-list.js +19 -0
- package/dist/native/relative-position.js +7 -0
- package/dist/native/resize-basis.js +28 -0
- package/dist/native/resize-math.js +85 -0
- package/dist/native/resize-persist.js +25 -0
- package/dist/native/resize-state.js +208 -0
- package/dist/native/{root-layout.mobile.js → root-layout.js} +1 -1
- package/dist/native/route-host.js +2 -0
- package/dist/native/route-table.js +115 -39
- package/dist/native/route.js +15 -6
- package/dist/native/safe-url.js +13 -0
- package/dist/native/scheme-colors.js +41 -0
- package/dist/native/select-options.js +31 -0
- package/dist/native/shared.js +133 -27
- package/dist/native/sheet-detents.js +27 -21
- package/dist/native/sheet-snap.js +23 -1
- package/dist/native/spacing.js +9 -0
- package/dist/native/stack-layout.js +72 -0
- package/dist/native/svg-glyph.js +12 -0
- package/dist/native/svg-source.js +29 -0
- package/dist/native/svg.mobile.js +2 -34
- package/dist/native/tap-to-blur.ios.js +13 -16
- package/dist/native/text-role.js +50 -0
- package/dist/native/text-slot.tsrx.js +34 -0
- package/dist/native/time-format.js +215 -0
- package/dist/native/timer-format.js +49 -0
- package/dist/native/toast-context.js +8 -0
- package/dist/native/toast-service.tsrx.js +280 -0
- package/dist/native/toast-store.js +68 -0
- package/dist/native/toast-viewport.tsrx.js +65 -0
- package/dist/native/toggle-button-group-context.js +9 -0
- package/dist/native/typeahead-source.js +71 -0
- package/dist/native/ui.js +133 -27
- package/dist/native/use-hover-card.mobile.tsrx.js +127 -0
- package/dist/native/use-imperative-alert-dialog.tsrx.js +45 -0
- package/dist/native/use-imperative-dialog.tsrx.js +44 -0
- package/dist/native/use-layer.mobile.tsrx.js +412 -0
- package/dist/native/use-lightbox.tsrx.js +83 -0
- package/dist/native/use-scrollable-area.tsrx.js +85 -0
- package/dist/native/useChatComposerTokens.tsrx.js +47 -0
- package/dist/native/useChatDictation.tsrx.js +9 -0
- package/dist/native/useChatNewMessages.tsrx.js +56 -0
- package/dist/native/useChatPasteAsToken.tsrx.js +25 -0
- package/dist/native/useChatStreamScroll.tsrx.js +136 -0
- package/dist/native/useMeasure.tsrx.js +2 -2
- package/dist/native/useResizable.tsrx.js +71 -0
- package/dist/native/useSelect.js +133 -0
- package/dist/native/useSpeechRecognition.tsrx.js +32 -0
- package/dist/native/useTriggerMenu.tsrx.js +352 -0
- package/dist/native/vendor/ui-svg/index.android.js +14 -15
- package/dist/web/AlertDialog.web.tsrx.js +45 -0
- package/dist/web/AppShell.web.tsrx.js +234 -0
- package/dist/web/AspectRatio.web.tsrx.js +92 -0
- package/dist/web/AvatarGroup.web.tsrx.js +15 -39
- package/dist/web/BaseTypeahead.web.tsrx.js +489 -0
- package/dist/web/Blockquote.web.tsrx.js +55 -0
- package/dist/web/BottomSheet.web.tsrx.js +350 -0
- package/dist/web/Breadcrumb.web.tsrx.js +74 -39
- package/dist/web/Button.web.tsrx.js +122 -23
- package/dist/web/ButtonGroup.web.tsrx.js +98 -0
- package/dist/web/Calendar.web.tsrx.js +568 -0
- package/dist/web/Card.web.tsrx.js +52 -17
- package/dist/web/Carousel.web.tsrx.js +189 -0
- package/dist/web/Center.web.tsrx.js +86 -0
- package/dist/web/ChatComposer.web.tsrx.js +193 -0
- package/dist/web/ChatComposerDrawer.web.tsrx.js +196 -0
- package/dist/web/ChatComposerInput.web.tsrx.js +686 -0
- package/dist/web/ChatDictationButton.web.tsrx.js +159 -0
- package/dist/web/ChatLayout.web.tsrx.js +154 -0
- package/dist/web/ChatLayoutScrollButton.web.tsrx.js +62 -0
- package/dist/web/ChatMessage.web.tsrx.js +124 -0
- package/dist/web/ChatMessageBubble.web.tsrx.js +66 -0
- package/dist/web/ChatMessageList.web.tsrx.js +155 -0
- package/dist/web/ChatMessageMetadata.web.tsrx.js +139 -0
- package/dist/web/ChatPastedTextToken.web.tsrx.js +33 -0
- package/dist/web/ChatSendButton.web.tsrx.js +64 -0
- package/dist/web/ChatSystemMessage.web.tsrx.js +28 -0
- package/dist/web/ChatTokenizedText.web.tsrx.js +42 -0
- package/dist/web/ChatToolCalls.web.tsrx.js +263 -0
- package/dist/web/CheckIndicator.web.tsrx.js +114 -0
- package/dist/web/Checkbox.web.tsrx.js +83 -44
- package/dist/web/CheckboxGroup.web.tsrx.js +40 -22
- package/dist/web/CheckboxIndicator.web.tsrx.js +62 -0
- package/dist/web/Citation.web.tsrx.js +57 -0
- package/dist/web/ClickableCard.web.tsrx.js +85 -0
- package/dist/web/Code.web.tsrx.js +43 -0
- package/dist/web/CodeBlock.web.tsrx.js +292 -0
- package/dist/web/CommandPalette.web.tsrx.js +447 -78
- package/dist/web/ComplexSelector.web.tsrx.js +173 -0
- package/dist/web/ContextMenu.web.tsrx.js +72 -101
- package/dist/web/DateInput.web.tsrx.js +419 -0
- package/dist/web/DateRangeInput.web.tsrx.js +270 -0
- package/dist/web/DateTimeInput.web.tsrx.js +695 -0
- package/dist/web/Dialog.web.tsrx.js +253 -0
- package/dist/web/DropdownMenu.web.tsrx.js +74 -113
- package/dist/web/FormField.web.tsrx.js +194 -59
- package/dist/web/FormLayout.web.tsrx.js +79 -0
- package/dist/web/HStack.tsrx.js +14 -0
- package/dist/web/HoverCard.web.tsrx.js +93 -0
- package/dist/web/IconButton.web.tsrx.js +12 -0
- package/dist/web/Image.web.tsrx.js +112 -19
- package/dist/web/InputGroup.web.tsrx.js +136 -0
- package/dist/web/InputNumber.web.tsrx.js +26 -16
- package/dist/web/InputRating.web.tsrx.js +31 -15
- package/dist/web/Item.web.tsrx.js +139 -0
- package/dist/web/Lightbox.web.tsrx.js +225 -0
- package/dist/web/List.web.tsrx.js +129 -0
- package/dist/web/ListItem.web.tsrx.js +165 -120
- package/dist/web/Markdown.tsrx.js +169 -36
- package/dist/web/MenuParts.web.tsrx.js +605 -0
- package/dist/web/MenuSurface.web.tsrx.js +106 -0
- package/dist/web/MetadataList.web.tsrx.js +138 -0
- package/dist/web/MetadataListItem.web.tsrx.js +24 -0
- package/dist/web/MobileNav.web.tsrx.js +262 -0
- package/dist/web/MoreMenu.web.tsrx.js +193 -0
- package/dist/web/NavIcon.web.tsrx.js +62 -0
- package/dist/web/NavMenu.web.tsrx.js +246 -0
- package/dist/web/NavigationMenu.web.tsrx.js +84 -67
- package/dist/web/Outline.web.tsrx.js +279 -0
- package/dist/web/OverflowList.web.tsrx.js +228 -0
- package/dist/web/Overlay.web.tsrx.js +7 -6
- package/dist/web/PinInput.web.tsrx.js +73 -35
- package/dist/web/Popover.web.tsrx.js +55 -15
- package/dist/web/PowerSearch.web.tsrx.js +329 -0
- package/dist/web/PowerSearchFilterEditor.web.tsrx.js +157 -0
- package/dist/web/PowerSearchToken.web.tsrx.js +51 -0
- package/dist/web/Pressable.web.tsrx.js +85 -75
- package/dist/web/ProgressBar.web.tsrx.js +125 -0
- package/dist/web/RadioGroup.web.tsrx.js +50 -23
- package/dist/web/RadioIndicator.web.tsrx.js +65 -0
- package/dist/web/Resizable.js +3 -0
- package/dist/web/ResizeHandle.web.tsrx.js +207 -0
- package/dist/web/RouteBoundary.web.tsrx.js +48 -0
- package/dist/web/ScrollableArea.web.tsrx.js +539 -0
- package/dist/web/SearchInput.web.tsrx.js +70 -40
- package/dist/web/Section.web.tsrx.js +121 -0
- package/dist/web/SegmentedControl.web.tsrx.js +40 -22
- package/dist/web/Select.web.tsrx.js +418 -118
- package/dist/web/SelectableCard.web.tsrx.js +62 -0
- package/dist/web/SideNav.web.tsrx.js +1158 -0
- package/dist/web/Slider.web.tsrx.js +2 -2
- package/dist/web/Stack.web.tsrx.js +69 -40
- package/dist/web/StackItem.web.tsrx.js +74 -0
- package/dist/web/StatusDot.web.tsrx.js +30 -0
- package/dist/web/Switch.web.tsrx.js +33 -12
- package/dist/web/TabList.web.tsrx.js +692 -0
- package/dist/web/Tabs.web.tsrx.js +86 -91
- package/dist/web/TextArea.web.tsrx.js +64 -30
- package/dist/web/TextInput.web.tsrx.js +129 -52
- package/dist/web/Thumbnail.web.tsrx.js +105 -0
- package/dist/web/TimeInput.web.tsrx.js +377 -0
- package/dist/web/TimeWheelPanel.web.tsrx.js +114 -0
- package/dist/web/Timer.web.tsrx.js +81 -0
- package/dist/web/Timestamp.web.tsrx.js +205 -0
- package/dist/web/Toast.web.tsrx.js +107 -0
- package/dist/web/ToggleButton.web.tsrx.js +98 -0
- package/dist/web/Token.web.tsrx.js +132 -0
- package/dist/web/Tokenizer.web.tsrx.js +421 -0
- package/dist/web/Toolbar.web.tsrx.js +209 -0
- package/dist/web/Tooltip.web.tsrx.js +46 -57
- package/dist/web/TopNav.web.tsrx.js +1156 -0
- package/dist/web/Typeahead.web.tsrx.js +234 -0
- package/dist/web/TypeaheadItem.web.tsrx.js +78 -0
- package/dist/web/VStack.tsrx.js +14 -0
- package/dist/web/View.web.tsrx.js +15 -18
- package/dist/web/VirtualList.web.tsrx.js +31 -23
- package/dist/web/VisuallyHidden.web.tsrx.js +58 -0
- package/dist/web/WebView.web.tsrx.js +8 -9
- package/dist/web/aliases.web.tsrx.js +5 -15
- package/dist/web/anim.web.tsrx.js +14 -52
- package/dist/web/animated-value.js +96 -0
- package/dist/web/app-shell-config.js +19 -0
- package/dist/web/bottom-sheet-context.js +8 -0
- package/dist/web/bottom-sheet-service.web.js +70 -0
- package/dist/web/busy-lane.js +23 -0
- package/dist/web/button-group-context.js +11 -0
- package/dist/web/calendar-core.js +227 -0
- package/dist/web/calendar-hooks.tsrx.js +62 -0
- package/dist/web/chat-context.js +28 -0
- package/dist/web/chat-group-items.js +36 -0
- package/dist/web/chat-tokenize.js +41 -0
- package/dist/web/chat-tokens.web.tsrx.js +43 -0
- package/dist/web/chatComposerSelection.web.js +87 -0
- package/dist/web/child-array.js +8 -11
- package/dist/web/clipboard-write.web.js +13 -0
- package/dist/web/code-highlight.web.js +148 -0
- package/dist/web/code-tokenizer.js +764 -0
- package/dist/web/codeblock-shared.tsrx.js +77 -0
- package/dist/web/command-palette-state.js +191 -0
- package/dist/web/date-field-action.js +16 -0
- package/dist/web/date-keyboard.js +80 -0
- package/dist/web/date-messages.js +27 -0
- package/dist/web/datetime.js +770 -0
- package/dist/web/dialog-context.js +8 -0
- package/dist/web/field-context.js +57 -0
- package/dist/web/form-layout-context.js +10 -0
- package/dist/web/hash-image.js +285 -0
- package/dist/web/icons.js +22 -0
- package/dist/web/image-content.js +133 -0
- package/dist/web/index.shared.web.js +132 -25
- package/dist/web/indicators.js +40 -0
- package/dist/web/input-group-context.js +6 -0
- package/dist/web/is-renderable.js +8 -0
- package/dist/web/layer-dismissal.tsrx.js +50 -0
- package/dist/web/layer-keys.web.js +25 -0
- package/dist/web/layer-position.web.js +41 -0
- package/dist/web/layer-stack.js +67 -0
- package/dist/web/list-context.js +13 -0
- package/dist/web/list-focus.web.tsrx.js +124 -0
- package/dist/web/markdown-parse.js +342 -0
- package/dist/web/markdown-stream.js +264 -0
- package/dist/web/menu-context.js +11 -0
- package/dist/web/metadata-list-context.js +6 -0
- package/dist/web/modal-focus.web.js +51 -16
- package/dist/web/nav-contexts.js +82 -0
- package/dist/web/nav-href.web.js +1 -0
- package/dist/web/octane-client-build.json +1 -1
- package/dist/web/outline-dom.web.tsrx.js +52 -0
- package/dist/web/outline-hooks.tsrx.js +17 -0
- package/dist/web/outline-utils.js +122 -0
- package/dist/web/overflow-math.js +126 -0
- package/dist/web/popover-position.js +32 -7
- package/dist/web/power-search-config.js +566 -0
- package/dist/web/power-search-strings.js +74 -0
- package/dist/web/query-cache.js +358 -0
- package/dist/web/query-storage.web.js +28 -0
- package/dist/web/ref-list.js +12 -0
- package/dist/web/resize-basis.web.js +30 -0
- package/dist/web/resize-math.js +85 -0
- package/dist/web/resize-persist.web.js +23 -0
- package/dist/web/resize-state.js +208 -0
- package/dist/web/route-table.js +115 -39
- package/dist/web/route.web.js +57 -13
- package/dist/web/safe-url.js +13 -0
- package/dist/web/select-options.js +31 -0
- package/dist/web/sheet-detents.web.js +22 -9
- package/dist/web/sheet-snap.js +23 -1
- package/dist/web/spacing.js +9 -0
- package/dist/web/stack-layout.js +89 -0
- package/dist/web/text-role.js +50 -0
- package/dist/web/theme/theme-scheme.js +1 -1
- package/dist/web/time-format.js +256 -0
- package/dist/web/timer-format.js +49 -0
- package/dist/web/toast-context.js +8 -0
- package/dist/web/toast-service.web.tsrx.js +38 -0
- package/dist/web/toast-store.js +79 -0
- package/dist/web/toast-viewport.web.tsrx.js +209 -0
- package/dist/web/toggle-button-group-context.js +9 -0
- package/dist/web/translate.web.js +1 -1
- package/dist/web/typeahead-source.js +71 -0
- package/dist/web/ui.js +131 -25
- package/dist/web/use-hover-card.web.tsrx.js +254 -0
- package/dist/web/use-imperative-alert-dialog.web.tsrx.js +35 -0
- package/dist/web/use-imperative-dialog.web.tsrx.js +34 -0
- package/dist/web/use-layer.web.tsrx.js +225 -0
- package/dist/web/use-lightbox.web.tsrx.js +52 -0
- package/dist/web/use-scrollable-area.web.tsrx.js +128 -0
- package/dist/web/useChatComposerTokens.web.tsrx.js +129 -0
- package/dist/web/useChatDictation.web.tsrx.js +310 -0
- package/dist/web/useChatNewMessages.web.tsrx.js +57 -0
- package/dist/web/useChatPasteAsToken.web.tsrx.js +23 -0
- package/dist/web/useChatStreamScroll.web.tsrx.js +208 -0
- package/dist/web/useMeasure.web.tsrx.js +2 -2
- package/dist/web/useMediaQuery.web.tsrx.js +22 -0
- package/dist/web/useResizable.web.tsrx.js +71 -0
- package/dist/web/useSelect.js +133 -0
- package/dist/web/useSpeechRecognition.web.tsrx.js +276 -0
- package/dist/web/useTriggerMenu.web.tsrx.js +347 -0
- package/dist/web/web/index.js +2 -2
- package/package.json +10 -18
- package/src/Accordion.macos.tsrx +1 -1
- package/src/Accordion.tsrx +1 -1
- package/src/Alert.macos.tsrx +1 -1
- package/src/Alert.tsrx +1 -1
- package/src/AlertDialog.macos.tsrx +59 -0
- package/src/AlertDialog.tsrx +68 -0
- package/src/AlertDialog.web.tsrx +63 -0
- package/src/AppShell.macos.tsrx +162 -0
- package/src/AppShell.tsrx +164 -0
- package/src/AppShell.web.tsrx +177 -0
- package/src/AspectRatio.macos.tsrx +43 -0
- package/src/AspectRatio.tsrx +56 -0
- package/src/AspectRatio.web.tsrx +39 -0
- package/src/Avatar.macos.tsrx +1 -1
- package/src/Avatar.tsrx +1 -1
- package/src/AvatarGroup.macos.tsrx +4 -4
- package/src/AvatarGroup.tsrx +4 -4
- package/src/AvatarGroup.web.tsrx +8 -4
- package/src/Badge.macos.tsrx +1 -1
- package/src/Banner.macos.tsrx +1 -1
- package/src/Banner.tsrx +1 -1
- package/src/BaseTypeahead.macos.tsrx +252 -0
- package/src/BaseTypeahead.tsrx +297 -0
- package/src/BaseTypeahead.web.tsrx +414 -0
- package/src/Blockquote.macos.tsrx +29 -0
- package/src/Blockquote.tsrx +25 -0
- package/src/Blockquote.web.tsrx +18 -0
- package/src/BottomSheet.macos.tsrx +124 -0
- package/src/BottomSheet.tsrx +347 -0
- package/src/BottomSheet.web.tsrx +220 -0
- package/src/Breadcrumb.macos.tsrx +8 -2
- package/src/Breadcrumb.tsrx +7 -1
- package/src/Breadcrumb.web.tsrx +8 -2
- package/src/Button.tsrx +57 -9
- package/src/Button.web.tsrx +81 -14
- package/src/ButtonGroup.macos.tsrx +15 -0
- package/src/ButtonGroup.tsrx +15 -0
- package/src/ButtonGroup.web.tsrx +45 -0
- package/src/Calendar.macos.tsrx +236 -0
- package/src/Calendar.tsrx +236 -0
- package/src/Calendar.web.tsrx +347 -0
- package/src/Card.macos.tsrx +2 -2
- package/src/Card.tsrx +1 -1
- package/src/Card.web.tsrx +1 -1
- package/src/Carousel.macos.tsrx +33 -0
- package/src/Carousel.tsrx +223 -0
- package/src/Carousel.web.tsrx +230 -0
- package/src/Center.macos.tsrx +41 -0
- package/src/Center.tsrx +45 -0
- package/src/Center.web.tsrx +52 -0
- package/src/ChatComposer.tsrx +111 -0
- package/src/ChatComposer.web.tsrx +128 -0
- package/src/ChatComposerDrawer.tsrx +65 -0
- package/src/ChatComposerDrawer.web.tsrx +70 -0
- package/src/ChatComposerInput.tsrx +305 -0
- package/src/ChatComposerInput.web.tsrx +492 -0
- package/src/ChatDictationButton.tsrx +56 -0
- package/src/ChatDictationButton.web.tsrx +76 -0
- package/src/ChatLayout.tsrx +113 -0
- package/src/ChatLayout.web.tsrx +84 -0
- package/src/ChatLayoutScrollButton.tsrx +32 -0
- package/src/ChatLayoutScrollButton.web.tsrx +29 -0
- package/src/ChatMessage.tsrx +54 -0
- package/src/ChatMessage.web.tsrx +46 -0
- package/src/ChatMessageBubble.tsrx +56 -0
- package/src/ChatMessageBubble.web.tsrx +54 -0
- package/src/ChatMessageList.tsrx +90 -0
- package/src/ChatMessageList.web.tsrx +84 -0
- package/src/ChatMessageMetadata.tsrx +65 -0
- package/src/ChatMessageMetadata.web.tsrx +58 -0
- package/src/ChatPastedTextToken.web.tsrx +37 -0
- package/src/ChatSendButton.tsrx +47 -0
- package/src/ChatSendButton.web.tsrx +46 -0
- package/src/ChatSystemMessage.tsrx +41 -0
- package/src/ChatSystemMessage.web.tsrx +35 -0
- package/src/ChatTokenizedText.tsrx +37 -0
- package/src/ChatTokenizedText.web.tsrx +27 -0
- package/src/ChatToolCalls.tsrx +163 -0
- package/src/ChatToolCalls.web.tsrx +180 -0
- package/src/CheckIndicator.macos.tsrx +37 -0
- package/src/CheckIndicator.tsrx +39 -0
- package/src/CheckIndicator.web.tsrx +38 -0
- package/src/Checkbox.tsrx +16 -8
- package/src/Checkbox.web.tsrx +25 -12
- package/src/CheckboxGroup.macos.tsrx +11 -5
- package/src/CheckboxGroup.tsrx +12 -5
- package/src/CheckboxGroup.web.tsrx +14 -4
- package/src/CheckboxIndicator.macos.tsrx +32 -0
- package/src/CheckboxIndicator.tsrx +39 -0
- package/src/CheckboxIndicator.web.tsrx +36 -0
- package/src/Chip.macos.tsrx +1 -1
- package/src/Chip.tsrx +1 -1
- package/src/Citation.macos.tsrx +81 -0
- package/src/Citation.tsrx +99 -0
- package/src/Citation.web.tsrx +78 -0
- package/src/ClickableCard.macos.tsrx +7 -0
- package/src/ClickableCard.tsrx +12 -0
- package/src/ClickableCard.web.tsrx +14 -0
- package/src/Code.macos.tsrx +16 -0
- package/src/Code.tsrx +27 -0
- package/src/Code.web.tsrx +22 -0
- package/src/CodeBlock.macos.tsrx +133 -0
- package/src/CodeBlock.tsrx +208 -0
- package/src/CodeBlock.web.tsrx +220 -0
- package/src/Collapsible.macos.tsrx +1 -1
- package/src/Collapsible.tsrx +1 -1
- package/src/CommandPalette.macos.tsrx +103 -52
- package/src/CommandPalette.tsrx +60 -55
- package/src/CommandPalette.web.test.tsrx +88 -0
- package/src/CommandPalette.web.tsrx +84 -48
- package/src/ComplexSelector.macos.tsrx +106 -0
- package/src/ComplexSelector.tsrx +106 -0
- package/src/ComplexSelector.web.tsrx +80 -0
- package/src/ContextMenu.macos.tsrx +16 -27
- package/src/ContextMenu.tsrx +16 -27
- package/src/ContextMenu.web.tsrx +20 -35
- package/src/DateInput.macos.tsrx +207 -0
- package/src/DateInput.tsrx +286 -0
- package/src/DateInput.web.tsrx +429 -0
- package/src/DateRangeInput.macos.tsrx +167 -0
- package/src/DateRangeInput.tsrx +166 -0
- package/src/DateRangeInput.web.tsrx +179 -0
- package/src/DateTimeInput.macos.tsrx +328 -0
- package/src/DateTimeInput.tsrx +424 -0
- package/src/DateTimeInput.web.tsrx +639 -0
- package/src/Dialog.macos.tsrx +59 -0
- package/src/Dialog.tsrx +216 -0
- package/src/Dialog.web.tsrx +258 -0
- package/src/Drawer.macos.tsrx +1 -1
- package/src/DropdownMenu.macos.tsrx +20 -29
- package/src/DropdownMenu.tsrx +21 -30
- package/src/DropdownMenu.web.tsrx +22 -45
- package/src/Empty.macos.tsrx +1 -1
- package/src/Empty.tsrx +1 -1
- package/src/FieldGroup.macos.tsrx +1 -1
- package/src/FormField.macos.tsrx +64 -18
- package/src/FormField.tsrx +65 -17
- package/src/FormField.web.tsrx +70 -19
- package/src/FormLayout.macos.tsrx +35 -0
- package/src/FormLayout.tsrx +70 -0
- package/src/FormLayout.web.tsrx +38 -0
- package/src/HStack.macos.tsrx +13 -0
- package/src/HStack.tsrx +14 -0
- package/src/Heading.macos.tsrx +1 -1
- package/src/HoverCard.mobile.tsrx +36 -0
- package/src/HoverCard.tsrx +41 -0
- package/src/HoverCard.web.tsrx +99 -0
- package/src/Icon.macos.tsrx +10 -6
- package/src/Icon.tsrx +1 -1
- package/src/IconButton.macos.tsrx +11 -0
- package/src/IconButton.tsrx +7 -0
- package/src/IconButton.web.tsrx +5 -0
- package/src/Image.macos.tsrx +17 -4
- package/src/Image.tsrx +204 -18
- package/src/Image.web.tsrx +91 -5
- package/src/InputGroup.macos.tsrx +63 -0
- package/src/InputGroup.tsrx +68 -0
- package/src/InputGroup.web.tsrx +71 -0
- package/src/InputNumber.macos.tsrx +9 -6
- package/src/InputNumber.tsrx +10 -7
- package/src/InputNumber.web.tsrx +8 -5
- package/src/InputRating.macos.tsrx +11 -6
- package/src/InputRating.tsrx +12 -7
- package/src/InputRating.web.tsrx +18 -7
- package/src/Item.macos.tsrx +52 -0
- package/src/Item.tsrx +52 -0
- package/src/Item.web.tsrx +50 -0
- package/src/Kbd.macos.tsrx +1 -1
- package/src/Kbd.tsrx +2 -1
- package/src/KeyboardAvoiding.macos.tsrx +1 -1
- package/src/Lightbox.macos.tsrx +63 -0
- package/src/Lightbox.tsrx +277 -0
- package/src/Lightbox.web.tsrx +258 -0
- package/src/Link.macos.tsrx +1 -1
- package/src/Link.tsrx +1 -1
- package/src/List.macos.tsrx +51 -0
- package/src/List.tsrx +61 -0
- package/src/List.web.tsrx +59 -0
- package/src/ListItem.macos.tsrx +58 -41
- package/src/ListItem.tsrx +72 -40
- package/src/ListItem.web.tsrx +83 -42
- package/src/Markdown.tsrx +166 -50
- package/src/Markdown.web.test.tsrx +68 -0
- package/src/MenuParts.macos.tsrx +137 -0
- package/src/MenuParts.tsrx +137 -0
- package/src/MenuParts.web.tsrx +138 -0
- package/src/MenuSurface.macos.tsrx +18 -0
- package/src/MenuSurface.tsrx +18 -0
- package/src/MenuSurface.web.tsrx +53 -0
- package/src/MetadataList.macos.tsrx +80 -0
- package/src/MetadataList.tsrx +94 -0
- package/src/MetadataList.web.tsrx +93 -0
- package/src/MetadataListItem.macos.tsrx +55 -0
- package/src/MetadataListItem.tsrx +59 -0
- package/src/MetadataListItem.web.tsrx +49 -0
- package/src/Meter.macos.tsrx +1 -1
- package/src/Meter.tsrx +1 -1
- package/src/MobileNav.macos.tsrx +93 -0
- package/src/MobileNav.tsrx +97 -0
- package/src/MobileNav.web.tsrx +163 -0
- package/src/MoreMenu.macos.tsrx +35 -0
- package/src/MoreMenu.tsrx +35 -0
- package/src/MoreMenu.web.tsrx +39 -0
- package/src/NavIcon.macos.tsrx +17 -0
- package/src/NavIcon.tsrx +21 -0
- package/src/NavIcon.web.tsrx +18 -0
- package/src/NavLink.macos.tsrx +1 -1
- package/src/NavLink.tsrx +1 -1
- package/src/NavMenu.macos.tsrx +83 -0
- package/src/NavMenu.tsrx +83 -0
- package/src/NavMenu.web.tsrx +157 -0
- package/src/NavigationMenu.macos.tsrx +27 -18
- package/src/NavigationMenu.tsrx +28 -14
- package/src/NavigationMenu.web.tsrx +42 -21
- package/src/Outline.macos.tsrx +74 -0
- package/src/Outline.tsrx +169 -0
- package/src/Outline.web.tsrx +252 -0
- package/src/OverflowList.macos.tsrx +128 -0
- package/src/OverflowList.tsrx +128 -0
- package/src/OverflowList.web.tsrx +137 -0
- package/src/Overlay.macos.tsrx +2 -2
- package/src/Overlay.tsrx +7 -3
- package/src/Overlay.web.tsrx +1 -1
- package/src/Pagination.macos.tsrx +1 -1
- package/src/PinInput.macos.tsrx +7 -5
- package/src/PinInput.mobile.test.ts +9 -4
- package/src/PinInput.tsrx +16 -7
- package/src/PinInput.web.test.tsrx +2 -2
- package/src/PinInput.web.tsrx +15 -6
- package/src/Popover.macos.tsrx +38 -6
- package/src/Popover.tsrx +19 -12
- package/src/Popover.web.tsrx +22 -7
- package/src/PowerSearch.macos.tsrx +82 -0
- package/src/PowerSearch.tsrx +82 -0
- package/src/PowerSearch.web.tsrx +48 -0
- package/src/PowerSearchFilterEditor.macos.tsrx +66 -0
- package/src/PowerSearchFilterEditor.tsrx +66 -0
- package/src/PowerSearchFilterEditor.web.tsrx +41 -0
- package/src/PowerSearchToken.macos.tsrx +17 -0
- package/src/PowerSearchToken.tsrx +17 -0
- package/src/PowerSearchToken.web.tsrx +15 -0
- package/src/Pressable.macos.tsrx +5 -1
- package/src/Pressable.tsrx +6 -2
- package/src/Pressable.web.test.tsrx +26 -1
- package/src/Pressable.web.tsrx +6 -2
- package/src/ProgressBar.macos.tsrx +75 -0
- package/src/ProgressBar.tsrx +175 -0
- package/src/ProgressBar.web.tsrx +99 -0
- package/src/ProgressGroup.macos.tsrx +1 -1
- package/src/ProgressGroup.tsrx +1 -1
- package/src/RadioGroup.macos.tsrx +15 -7
- package/src/RadioGroup.tsrx +17 -10
- package/src/RadioGroup.web.tsrx +23 -10
- package/src/RadioIndicator.macos.tsrx +29 -0
- package/src/RadioIndicator.tsrx +36 -0
- package/src/RadioIndicator.web.tsrx +33 -0
- package/src/Resizable.ts +2 -0
- package/src/ResizeHandle.macos.tsrx +89 -0
- package/src/ResizeHandle.tsrx +90 -0
- package/src/ResizeHandle.web.tsrx +207 -0
- package/src/RouteBoundary.macos.tsrx +21 -0
- package/src/RouteBoundary.mobile.test.tsrx +89 -0
- package/src/RouteBoundary.tsrx +26 -0
- package/src/RouteBoundary.web.test.tsrx +76 -0
- package/src/RouteBoundary.web.tsrx +19 -0
- package/src/RouteHost.macos.tsrx +11 -2
- package/src/{RouteHost.mobile.tsrx → RouteHost.tsrx} +12 -1
- package/src/Row.macos.tsrx +1 -1
- package/src/Row.tsrx +6 -2
- package/src/Row.web.tsrx +5 -2
- package/src/SafeArea.macos.tsrx +1 -1
- package/src/SafeArea.tsrx +3 -4
- package/src/Screen.macos.tsrx +1 -1
- package/src/Screen.tsrx +1 -1
- package/src/ScrollableArea.macos.tsrx +20 -0
- package/src/ScrollableArea.tsrx +159 -0
- package/src/ScrollableArea.web.tsrx +183 -0
- package/src/SearchInput.tsrx +14 -8
- package/src/SearchInput.web.test.tsrx +165 -0
- package/src/SearchInput.web.tsrx +18 -6
- package/src/Section.macos.tsrx +48 -0
- package/src/Section.tsrx +56 -0
- package/src/Section.web.tsrx +67 -0
- package/src/SegmentedControl.tsrx +11 -5
- package/src/SegmentedControl.web.test.tsrx +1 -1
- package/src/SegmentedControl.web.tsrx +20 -8
- package/src/Select.macos.tsrx +48 -98
- package/src/Select.tsrx +49 -97
- package/src/Select.web.test.tsrx +146 -0
- package/src/Select.web.tsrx +161 -102
- package/src/SelectableCard.macos.tsrx +7 -0
- package/src/SelectableCard.tsrx +8 -0
- package/src/SelectableCard.web.tsrx +6 -0
- package/src/Separator.macos.tsrx +1 -1
- package/src/SideNav.macos.tsrx +362 -0
- package/src/SideNav.tsrx +367 -0
- package/src/SideNav.web.tsrx +419 -0
- package/src/Skeleton.macos.tsrx +1 -1
- package/src/Slider.tsrx +3 -3
- package/src/Slider.web.tsrx +1 -1
- package/src/Stack.tsrx +76 -17
- package/src/Stack.web.tsrx +26 -5
- package/src/StackItem.tsrx +57 -0
- package/src/StackItem.web.tsrx +41 -0
- package/src/StatusDot.macos.tsrx +65 -0
- package/src/StatusDot.tsrx +86 -0
- package/src/StatusDot.web.tsrx +32 -0
- package/src/Stepper.macos.tsrx +1 -1
- package/src/Switch.tsrx +11 -4
- package/src/Switch.web.tsrx +17 -4
- package/src/TabList.macos.tsrx +199 -0
- package/src/TabList.tsrx +199 -0
- package/src/TabList.web.tsrx +325 -0
- package/src/Table.macos.tsrx +1 -1
- package/src/Tabs.macos.tsrx +17 -14
- package/src/Tabs.tsrx +16 -18
- package/src/Tabs.web.tsrx +46 -23
- package/src/Text.macos.tsrx +1 -1
- package/src/Text.tsrx +1 -1
- package/src/TextArea.tsrx +14 -7
- package/src/TextArea.web.tsrx +16 -6
- package/src/TextInput.tsrx +45 -24
- package/src/TextInput.web.tsrx +49 -22
- package/src/Thumbnail.macos.tsrx +92 -0
- package/src/Thumbnail.tsrx +135 -0
- package/src/Thumbnail.web.tsrx +137 -0
- package/src/TimeInput.macos.tsrx +164 -0
- package/src/TimeInput.tsrx +238 -0
- package/src/TimeInput.web.tsrx +371 -0
- package/src/TimeWheelPanel.macos.tsrx +91 -0
- package/src/TimeWheelPanel.tsrx +91 -0
- package/src/TimeWheelPanel.web.tsrx +85 -0
- package/src/Timeline.macos.tsrx +1 -1
- package/src/Timeline.tsrx +1 -1
- package/src/Timer.macos.tsrx +62 -0
- package/src/Timer.tsrx +66 -0
- package/src/Timer.web.tsrx +66 -0
- package/src/Timestamp.macos.tsrx +115 -0
- package/src/Timestamp.tsrx +82 -0
- package/src/Timestamp.web.tsrx +163 -0
- package/src/Toast.macos.tsrx +72 -0
- package/src/Toast.tsrx +104 -0
- package/src/Toast.web.tsrx +133 -0
- package/src/ToggleButton.macos.tsrx +24 -0
- package/src/ToggleButton.tsrx +48 -0
- package/src/ToggleButton.web.tsrx +40 -0
- package/src/Token.macos.tsrx +109 -0
- package/src/Token.tsrx +89 -0
- package/src/Token.web.tsrx +145 -0
- package/src/Tokenizer.macos.tsrx +341 -0
- package/src/Tokenizer.tsrx +340 -0
- package/src/Tokenizer.web.tsrx +376 -0
- package/src/Toolbar.macos.tsrx +57 -0
- package/src/Toolbar.tsrx +57 -0
- package/src/Toolbar.web.tsrx +70 -0
- package/src/Tooltip.mobile.tsrx +1 -1
- package/src/Tooltip.tsrx +2 -2
- package/src/Tooltip.web.test.tsrx +30 -0
- package/src/Tooltip.web.tsrx +21 -23
- package/src/TopNav.macos.tsrx +366 -0
- package/src/TopNav.tsrx +372 -0
- package/src/TopNav.web.tsrx +425 -0
- package/src/Tree.macos.tsrx +1 -1
- package/src/Typeahead.macos.tsrx +155 -0
- package/src/Typeahead.tsrx +163 -0
- package/src/Typeahead.web.tsrx +202 -0
- package/src/TypeaheadItem.macos.tsrx +33 -0
- package/src/TypeaheadItem.tsrx +39 -0
- package/src/TypeaheadItem.web.tsrx +36 -0
- package/src/User.macos.tsrx +1 -1
- package/src/User.tsrx +1 -1
- package/src/VStack.macos.tsrx +13 -0
- package/src/VStack.tsrx +14 -0
- package/src/View.macos.tsrx +4 -2
- package/src/View.tsrx +6 -2
- package/src/View.web.tsrx +6 -3
- package/src/VirtualList.macos.tsrx +1 -1
- package/src/VirtualList.mobile.test.tsrx +69 -5
- package/src/VirtualList.tsrx +41 -7
- package/src/VirtualList.web.test.tsrx +113 -0
- package/src/VirtualList.web.tsrx +12 -1
- package/src/VisuallyHidden.macos.tsrx +23 -0
- package/src/VisuallyHidden.tsrx +28 -0
- package/src/VisuallyHidden.web.tsrx +32 -0
- package/src/WebView.macos.tsrx +42 -3
- package/src/WebView.tsrx +10 -9
- package/src/WebView.web.tsrx +4 -3
- package/src/aliases.macos.tsrx +9 -14
- package/src/aliases.tsrx +9 -14
- package/src/aliases.web.tsrx +8 -13
- package/src/android/BottomNavigationView.android.tsrx +4 -2
- package/src/android/DrawerLayout.android.tsrx +0 -7
- package/src/android/MaterialDialog.android.tsrx +1 -1
- package/src/android/RecyclerView.android.tsrx +91 -12
- package/src/android/index.ts +6 -1
- package/src/android/openModal.android.ts +1 -1
- package/src/anim.macos.tsrx +19 -16
- package/src/anim.tsrx +20 -62
- package/src/anim.web.tsrx +17 -52
- package/src/animated-value.ts +154 -0
- package/src/animation-host.macos.ts +47 -0
- package/src/app-shell-config.ts +25 -0
- package/src/bottom-sheet-context.ts +29 -0
- package/src/bottom-sheet-panel.macos.tsrx +21 -0
- package/src/bottom-sheet-service.macos.ts +72 -0
- package/src/{sheet-service.ts → bottom-sheet-service.ts} +37 -31
- package/src/bottom-sheet-service.web.ts +85 -0
- package/src/busy-lane.ts +39 -0
- package/src/button-group-context.ts +18 -0
- package/src/calendar-core.ts +457 -0
- package/src/calendar-hooks.tsrx +119 -0
- package/src/chat-context.ts +39 -0
- package/src/chat-group-items.ts +40 -0
- package/src/chat-tokenize.mobile.test.ts +29 -0
- package/src/chat-tokenize.ts +46 -0
- package/src/chat-tokens.tsrx +31 -0
- package/src/chat-tokens.web.test.tsrx +31 -0
- package/src/chat-tokens.web.tsrx +26 -0
- package/src/chatComposerSelection.web.ts +148 -0
- package/src/checkbox-accessibility.mobile.test.tsrx +32 -0
- package/src/child-array.ts +8 -18
- package/src/children.mobile.test.ts +228 -0
- package/src/children.web.test.tsrx +19 -0
- package/src/clipboard-write.macos.ts +9 -0
- package/src/clipboard-write.ts +14 -0
- package/src/clipboard-write.web.ts +10 -0
- package/src/code-highlight.web.ts +358 -0
- package/src/code-tokenizer.ts +582 -0
- package/src/codeblock-shared.tsrx +90 -0
- package/src/command-palette-accessibility.mobile.ts +18 -0
- package/src/command-palette-keys.macos.test.ts +92 -0
- package/src/command-palette-keys.macos.ts +75 -0
- package/src/command-palette-scroll.macos.test.ts +10 -0
- package/src/command-palette-scroll.macos.ts +4 -0
- package/src/command-palette-state.test.ts +244 -0
- package/src/command-palette-state.ts +281 -0
- package/src/content-display.mobile.test.ts +45 -0
- package/src/controls.macos.tsrx +54 -20
- package/src/data-driver.mobile.test.ts +34 -0
- package/src/date-composition.macos.ts +16 -0
- package/src/date-composition.mobile.test.ts +26 -0
- package/src/date-composition.ts +17 -0
- package/src/date-composition.web.ts +6 -0
- package/src/date-entry.web.test.tsx +809 -0
- package/src/date-field-action.ts +17 -0
- package/src/date-keyboard.test.ts +86 -0
- package/src/date-keyboard.ts +153 -0
- package/src/date-messages.ts +29 -0
- package/src/datetime.test.ts +141 -0
- package/src/datetime.ts +890 -0
- package/src/dialog-context.ts +18 -0
- package/src/escape-props.ts +32 -3
- package/src/field-context.ts +101 -0
- package/src/form-layout-context.ts +14 -0
- package/src/forms-layout.mobile.test.ts +234 -0
- package/src/forms-layout.web.test.tsrx +318 -0
- package/src/hash-image.test.ts +72 -0
- package/src/hash-image.ts +310 -0
- package/src/hosted-unsupported.macos.tsrx +2 -7
- package/src/icons.ts +131 -0
- 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 +351 -29
- package/src/index.shared.ts +751 -31
- package/src/index.shared.web.ts +751 -31
- package/src/indicators.ts +61 -0
- package/src/input-group-context.ts +21 -0
- package/src/ios/SideDrawer.ios.tsrx +0 -7
- package/src/ios/UIModal.ios.tsrx +1 -1
- package/src/ios/UITableView.ios.tsrx +87 -9
- package/src/ios/index.ts +6 -1
- package/src/ios/openModal.ios.ts +1 -1
- package/src/is-renderable.ts +5 -0
- package/src/keyboard-inset.mobile.test.ts +1 -1
- package/src/{keyboard-inset.mobile.ts → keyboard-inset.ts} +1 -1
- package/src/keyboard-inset.web.ts +4 -0
- package/src/layer-dismissal.mobile.test.tsrx +163 -0
- package/src/layer-dismissal.tsrx +57 -0
- package/src/layer-dismissal.web.test.tsrx +205 -0
- package/src/layer-keys.ts +55 -0
- package/src/layer-keys.web.ts +30 -0
- package/src/layer-position.web.ts +71 -0
- package/src/layer-stack.ts +117 -0
- package/src/layout-shells.macos.tsrx +1 -1
- package/src/layout.macos.tsrx +110 -20
- package/src/list-context.ts +19 -0
- package/src/list-focus.web.tsrx +116 -0
- package/src/list-viewability-core.ts +146 -0
- package/src/list-viewability-observer.android.ts +127 -0
- package/src/list-viewability-observer.ios.ts +111 -0
- package/src/list-viewability-runtime.ts +156 -0
- package/src/list-viewability.mobile.test.ts +193 -0
- package/src/macos-extras.macos.tsrx +1 -1
- package/src/markdown-parse.ts +424 -0
- package/src/markdown-stream.mobile.test.ts +27 -0
- package/src/markdown-stream.test.ts +278 -0
- package/src/markdown-stream.ts +440 -0
- package/src/measure-bounds.macos.ts +24 -0
- package/src/menu-context.ts +11 -0
- package/src/menu-family.mobile.test.tsrx +110 -0
- package/src/menu-family.web.test.tsrx +171 -0
- package/src/metadata-list-context.ts +14 -0
- package/src/modal-focus.web.test.tsrx +26 -2
- package/src/modal-focus.web.ts +89 -26
- package/src/native/index.ts +2 -2
- package/src/native-color.mobile.tsrx +5 -0
- package/src/native-color.ts +2 -0
- package/src/nav-contexts.ts +127 -0
- package/src/nav-family.web.test.tsrx +252 -0
- package/src/nav-href.macos.ts +21 -0
- package/src/nav-href.ts +30 -0
- package/src/nav-href.web.ts +16 -0
- package/src/outline-dom.macos.tsrx +26 -0
- package/src/outline-dom.tsrx +32 -0
- package/src/outline-dom.web.tsrx +63 -0
- package/src/outline-hooks.tsrx +21 -0
- package/src/outline-utils.ts +181 -0
- package/src/outline-view-tree.ts +101 -0
- package/src/overflow-math.ts +237 -0
- package/src/overlay-lifecycle.mobile.test.ts +38 -23
- package/src/{overlay-lifetime.mobile.ts → overlay-lifetime.ts} +16 -7
- package/src/pan.macos.tsrx +19 -0
- package/src/pan.mobile.test.tsrx +1 -1
- package/src/platform-list.mobile.test.tsrx +99 -0
- package/src/popover-position.test.ts +68 -0
- package/src/popover-position.ts +101 -6
- package/src/popover.mobile.test.ts +1 -1
- package/src/power-search-config.test.ts +50 -0
- package/src/power-search-config.ts +893 -0
- package/src/power-search-strings.ts +88 -0
- package/src/presentation.macos.tsrx +59 -0
- package/src/props.ts +5290 -285
- package/src/query-cache.mobile.test.ts +152 -0
- package/src/query-cache.test.ts +390 -0
- package/src/query-cache.ts +721 -0
- package/src/query-storage.macos.ts +9 -0
- package/src/query-storage.ts +33 -0
- package/src/query-storage.web.ts +31 -0
- package/src/ref-list.ts +35 -0
- package/src/ref-list.web.test.ts +32 -0
- package/src/refs.mobile.test.tsrx +105 -0
- package/src/refs.web.test.tsrx +82 -0
- package/src/relative-position.ts +4 -0
- package/src/relative-position.windows.ts +19 -0
- package/src/resize-basis.macos.ts +31 -0
- package/src/resize-basis.ts +29 -0
- package/src/resize-basis.web.ts +37 -0
- package/src/resize-math.ts +121 -0
- package/src/resize-persist.macos.ts +39 -0
- package/src/resize-persist.ts +42 -0
- package/src/resize-persist.web.ts +38 -0
- package/src/resize-state.ts +338 -0
- package/src/root-layout.web.ts +16 -0
- package/src/route-android.test.ts +1 -1
- package/src/route-history.web.test.ts +36 -0
- package/src/route-host.ts +1 -0
- package/src/route-navigation.web.test.ts +1 -1
- package/src/route-scroll.web.test.ts +142 -0
- package/src/route-table.test.ts +256 -2
- package/src/route-table.ts +192 -53
- package/src/route.macos.ts +8 -0
- package/src/route.ts +12 -2
- package/src/route.web.ts +122 -17
- package/src/safe-url.test.ts +14 -0
- package/src/safe-url.ts +28 -0
- package/src/safeAreaInsets.macos.tsrx +6 -1
- package/src/scheme-colors.ts +53 -0
- package/src/select-options.test.ts +24 -0
- package/src/select-options.ts +43 -0
- package/src/sheet-detents.ts +55 -7
- package/src/sheet-detents.web.ts +54 -9
- package/src/sheet-snap.ts +45 -0
- package/src/spacing.ts +6 -0
- package/src/stack-layout.ts +183 -0
- package/src/styled.macos.tsrx +1 -1
- package/src/styled.tsrx +1 -1
- package/src/surfaces.macos.tsrx +3 -11
- package/src/svg-glyph.ts +19 -0
- package/src/svg-image.macos.ts +33 -0
- package/src/svg-source.ts +39 -0
- package/src/svg.mobile.ts +1 -73
- package/src/svg.ts +1 -0
- package/src/svg.windows.ts +139 -0
- package/src/tablist.web.test.tsrx +165 -0
- package/src/tap-to-blur.ios.ts +32 -25
- package/src/tap-to-blur.ts +4 -0
- package/src/text-controls.macos.tsrx +31 -5
- package/src/text-input.mobile.test.ts +12 -4
- package/src/text-role.ts +69 -0
- package/src/text-slot.tsrx +26 -0
- package/src/text-slot.web.tsrx +4 -0
- package/src/theme/chrome.css +2440 -0
- package/src/theme/tokens.css +2816 -646
- package/src/time-format.ts +435 -0
- package/src/timer-format.ts +85 -0
- package/src/toast-context.ts +18 -0
- package/src/toast-service.macos.tsrx +43 -0
- package/src/toast-service.tsrx +289 -0
- package/src/toast-service.web.tsrx +55 -0
- package/src/toast-store.test.ts +77 -0
- package/src/toast-store.ts +113 -0
- package/src/toast-viewport.macos.tsrx +78 -0
- package/src/toast-viewport.tsrx +45 -0
- package/src/toast-viewport.web.tsrx +240 -0
- package/src/toggle-button-group-context.ts +21 -0
- package/src/translate.web.ts +1 -1
- package/src/typeahead-source.test.ts +34 -0
- package/src/typeahead-source.ts +99 -0
- package/src/unsupported.macos.tsrx +1 -1
- package/src/use-hover-card.mobile.tsrx +126 -0
- package/src/use-hover-card.tsrx +153 -0
- package/src/use-hover-card.web.tsrx +282 -0
- package/src/use-imperative-alert-dialog.macos.tsrx +34 -0
- package/src/use-imperative-alert-dialog.tsrx +38 -0
- package/src/use-imperative-alert-dialog.web.tsrx +37 -0
- package/src/use-imperative-dialog.macos.tsrx +34 -0
- package/src/use-imperative-dialog.tsrx +38 -0
- package/src/use-imperative-dialog.web.tsrx +37 -0
- package/src/use-layer-host.mobile.test.tsrx +91 -0
- package/src/use-layer.mobile.test.tsrx +132 -0
- package/src/use-layer.mobile.tsrx +228 -0
- package/src/use-layer.tsrx +132 -0
- package/src/use-layer.web.test.tsrx +77 -0
- package/src/use-layer.web.tsrx +199 -0
- package/src/use-lightbox.macos.tsrx +67 -0
- package/src/use-lightbox.tsrx +68 -0
- package/src/use-lightbox.web.tsrx +71 -0
- package/src/use-scrollable-area.macos.tsrx +59 -0
- package/src/use-scrollable-area.tsrx +110 -0
- package/src/use-scrollable-area.web.tsrx +174 -0
- package/src/useChatComposerTokens.tsrx +61 -0
- package/src/useChatComposerTokens.web.tsrx +196 -0
- package/src/useChatDictation.tsrx +10 -0
- package/src/useChatDictation.web.tsrx +340 -0
- package/src/useChatNewMessages.tsrx +62 -0
- package/src/useChatNewMessages.web.tsrx +60 -0
- package/src/useChatPasteAsToken.tsrx +36 -0
- package/src/useChatPasteAsToken.web.tsrx +32 -0
- package/src/useChatStreamScroll.tsrx +147 -0
- package/src/useChatStreamScroll.web.tsrx +247 -0
- package/src/useMeasure.macos.tsrx +37 -18
- package/src/useMeasure.tsrx +2 -2
- package/src/useMeasure.web.tsrx +2 -2
- package/src/useMediaQuery.web.tsrx +28 -0
- package/src/useResizable.macos.tsrx +95 -0
- package/src/useResizable.tsrx +95 -0
- package/src/useResizable.web.tsrx +94 -0
- package/src/useSelect.tsx +210 -0
- package/src/useSpeechRecognition.tsrx +33 -0
- package/src/useSpeechRecognition.web.tsrx +293 -0
- package/src/useTriggerMenu.tsrx +303 -0
- package/src/useTriggerMenu.web.tsrx +406 -0
- package/src/vendor/ui-svg/src/index.android.ts +40 -24
- package/src/web/index.ts +6 -6
- package/types/generated/.tsrx-typegen-manifest.json +470 -23
- package/types/generated/Accordion.macos.d.ts +5 -0
- package/types/generated/Alert.macos.d.ts +3 -0
- package/types/generated/AlertDialog.d.ts +6 -0
- package/types/generated/AlertDialog.macos.d.ts +4 -0
- package/types/generated/AlertDialog.web.d.ts +7 -0
- package/types/generated/AppShell.d.ts +7 -0
- package/types/generated/AppShell.macos.d.ts +7 -0
- package/types/generated/AppShell.web.d.ts +7 -0
- package/types/generated/AspectRatio.d.ts +9 -0
- package/types/generated/AspectRatio.macos.d.ts +5 -0
- package/types/generated/AspectRatio.web.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/AvatarGroup.web.d.ts +4 -2
- package/types/generated/Badge.macos.d.ts +5 -0
- package/types/generated/Banner.macos.d.ts +4 -0
- package/types/generated/BaseTypeahead.d.ts +7 -0
- package/types/generated/BaseTypeahead.macos.d.ts +7 -0
- package/types/generated/BaseTypeahead.web.d.ts +6 -0
- package/types/generated/Blockquote.d.ts +5 -0
- package/types/generated/Blockquote.macos.d.ts +6 -0
- package/types/generated/Blockquote.web.d.ts +7 -0
- package/types/generated/BottomSheet.d.ts +25 -0
- package/types/generated/BottomSheet.macos.d.ts +3 -0
- package/types/generated/BottomSheet.web.d.ts +10 -0
- package/types/generated/Breadcrumb.macos.d.ts +4 -0
- package/types/generated/Breadcrumb.web.d.ts +0 -1
- package/types/generated/Button.d.ts +8 -4
- package/types/generated/Button.web.d.ts +8 -4
- package/types/generated/ButtonGroup.d.ts +3 -0
- package/types/generated/ButtonGroup.macos.d.ts +3 -0
- package/types/generated/ButtonGroup.web.d.ts +2 -0
- package/types/generated/Calendar.d.ts +5 -0
- package/types/generated/Calendar.macos.d.ts +5 -0
- package/types/generated/Calendar.web.d.ts +6 -0
- package/types/generated/Card.macos.d.ts +4 -0
- package/types/generated/Carousel.d.ts +7 -0
- package/types/generated/Carousel.macos.d.ts +6 -0
- package/types/generated/Carousel.web.d.ts +9 -0
- package/types/generated/Center.d.ts +5 -0
- package/types/generated/Center.macos.d.ts +4 -0
- package/types/generated/Center.web.d.ts +5 -0
- package/types/generated/ChatComposer.d.ts +7 -0
- package/types/generated/ChatComposer.web.d.ts +6 -0
- package/types/generated/ChatComposerDrawer.d.ts +7 -0
- package/types/generated/ChatComposerDrawer.web.d.ts +6 -0
- package/types/generated/ChatComposerInput.d.ts +11 -0
- package/types/generated/ChatComposerInput.web.d.ts +10 -0
- package/types/generated/ChatDictationButton.d.ts +7 -0
- package/types/generated/ChatDictationButton.web.d.ts +7 -0
- package/types/generated/ChatLayout.d.ts +8 -0
- package/types/generated/ChatLayout.web.d.ts +9 -0
- package/types/generated/ChatLayoutScrollButton.d.ts +7 -0
- package/types/generated/ChatLayoutScrollButton.web.d.ts +5 -0
- package/types/generated/ChatMessage.d.ts +8 -0
- package/types/generated/ChatMessage.web.d.ts +6 -0
- package/types/generated/ChatMessageBubble.d.ts +9 -0
- package/types/generated/ChatMessageBubble.web.d.ts +7 -0
- package/types/generated/ChatMessageList.d.ts +7 -0
- package/types/generated/ChatMessageList.web.d.ts +7 -0
- package/types/generated/ChatMessageMetadata.d.ts +6 -0
- package/types/generated/ChatMessageMetadata.web.d.ts +6 -0
- package/types/generated/ChatPastedTextToken.web.d.ts +7 -0
- package/types/generated/ChatSendButton.d.ts +6 -0
- package/types/generated/ChatSendButton.web.d.ts +7 -0
- package/types/generated/ChatSystemMessage.d.ts +5 -0
- package/types/generated/ChatSystemMessage.web.d.ts +5 -0
- package/types/generated/ChatTokenizedText.d.ts +7 -0
- package/types/generated/ChatTokenizedText.web.d.ts +6 -0
- package/types/generated/ChatToolCalls.d.ts +5 -0
- package/types/generated/ChatToolCalls.web.d.ts +5 -0
- package/types/generated/CheckIndicator.d.ts +6 -0
- package/types/generated/CheckIndicator.macos.d.ts +4 -0
- package/types/generated/CheckIndicator.web.d.ts +5 -0
- package/types/generated/Checkbox.d.ts +1 -1
- package/types/generated/Checkbox.web.d.ts +1 -1
- package/types/generated/CheckboxGroup.d.ts +1 -1
- package/types/generated/CheckboxGroup.macos.d.ts +3 -0
- package/types/generated/CheckboxGroup.web.d.ts +1 -1
- package/types/generated/CheckboxIndicator.d.ts +6 -0
- package/types/generated/CheckboxIndicator.macos.d.ts +4 -0
- package/types/generated/CheckboxIndicator.web.d.ts +5 -0
- package/types/generated/Chip.macos.d.ts +5 -0
- package/types/generated/Citation.d.ts +5 -0
- package/types/generated/Citation.macos.d.ts +4 -0
- package/types/generated/Citation.web.d.ts +8 -0
- package/types/generated/ClickableCard.d.ts +3 -0
- package/types/generated/ClickableCard.macos.d.ts +3 -0
- package/types/generated/ClickableCard.web.d.ts +3 -0
- package/types/generated/Code.d.ts +8 -0
- package/types/generated/Code.macos.d.ts +5 -0
- package/types/generated/Code.web.d.ts +6 -0
- package/types/generated/CodeBlock.d.ts +8 -0
- package/types/generated/CodeBlock.macos.d.ts +6 -0
- package/types/generated/CodeBlock.web.d.ts +8 -0
- package/types/generated/Collapsible.macos.d.ts +5 -0
- package/types/generated/CommandPalette.d.ts +3 -4
- package/types/generated/CommandPalette.macos.d.ts +3 -0
- package/types/generated/CommandPalette.web.d.ts +3 -4
- package/types/generated/ComplexSelector.d.ts +3 -0
- package/types/generated/ComplexSelector.macos.d.ts +3 -0
- package/types/generated/ComplexSelector.web.d.ts +3 -0
- package/types/generated/ContextMenu.macos.d.ts +5 -0
- package/types/generated/DateInput.d.ts +8 -0
- package/types/generated/DateInput.macos.d.ts +6 -0
- package/types/generated/DateInput.web.d.ts +7 -0
- package/types/generated/DateRangeInput.d.ts +6 -0
- package/types/generated/DateRangeInput.macos.d.ts +5 -0
- package/types/generated/DateRangeInput.web.d.ts +5 -0
- package/types/generated/DateTimeInput.d.ts +6 -0
- package/types/generated/DateTimeInput.macos.d.ts +5 -0
- package/types/generated/DateTimeInput.web.d.ts +7 -0
- package/types/generated/Dialog.d.ts +11 -0
- package/types/generated/Dialog.macos.d.ts +3 -0
- package/types/generated/Dialog.web.d.ts +11 -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.d.ts +4 -3
- package/types/generated/FormField.macos.d.ts +4 -0
- package/types/generated/FormField.web.d.ts +4 -3
- package/types/generated/FormLayout.d.ts +8 -0
- package/types/generated/FormLayout.macos.d.ts +6 -0
- package/types/generated/FormLayout.web.d.ts +7 -0
- package/types/generated/HStack.d.ts +5 -0
- package/types/generated/HStack.macos.d.ts +4 -0
- package/types/generated/Heading.macos.d.ts +3 -0
- package/types/generated/HoverCard.d.ts +8 -0
- package/types/generated/HoverCard.mobile.d.ts +7 -0
- package/types/generated/HoverCard.web.d.ts +8 -0
- package/types/generated/Icon.macos.d.ts +3 -0
- package/types/generated/IconButton.d.ts +3 -0
- package/types/generated/IconButton.macos.d.ts +3 -0
- package/types/generated/IconButton.web.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.d.ts +10 -0
- package/types/generated/InputGroup.macos.d.ts +5 -0
- package/types/generated/InputGroup.web.d.ts +10 -0
- package/types/generated/InputNumber.macos.d.ts +5 -0
- package/types/generated/InputRating.d.ts +1 -1
- package/types/generated/InputRating.macos.d.ts +4 -0
- package/types/generated/InputRating.web.d.ts +1 -1
- package/types/generated/Item.d.ts +3 -0
- package/types/generated/Item.macos.d.ts +3 -0
- package/types/generated/Item.web.d.ts +3 -0
- package/types/generated/Kbd.d.ts +0 -1
- package/types/generated/Kbd.macos.d.ts +4 -0
- package/types/generated/KeyboardAvoiding.macos.d.ts +3 -0
- package/types/generated/Lightbox.d.ts +7 -0
- package/types/generated/Lightbox.macos.d.ts +2 -0
- package/types/generated/Lightbox.web.d.ts +5 -0
- package/types/generated/Link.macos.d.ts +3 -0
- package/types/generated/List.d.ts +8 -0
- package/types/generated/List.macos.d.ts +4 -0
- package/types/generated/List.web.d.ts +6 -0
- package/types/generated/ListItem.d.ts +8 -3
- package/types/generated/ListItem.macos.d.ts +5 -0
- package/types/generated/ListItem.web.d.ts +8 -3
- package/types/generated/Markdown.d.ts +8 -52
- package/types/generated/MenuParts.d.ts +9 -0
- package/types/generated/MenuParts.macos.d.ts +9 -0
- package/types/generated/MenuParts.web.d.ts +9 -0
- package/types/generated/MenuSurface.d.ts +4 -0
- package/types/generated/MenuSurface.macos.d.ts +4 -0
- package/types/generated/MenuSurface.web.d.ts +3 -0
- package/types/generated/MetadataList.d.ts +7 -0
- package/types/generated/MetadataList.macos.d.ts +4 -0
- package/types/generated/MetadataList.web.d.ts +10 -0
- package/types/generated/MetadataListItem.d.ts +5 -0
- package/types/generated/MetadataListItem.macos.d.ts +3 -0
- package/types/generated/MetadataListItem.web.d.ts +5 -0
- package/types/generated/Meter.d.ts +1 -1
- package/types/generated/Meter.macos.d.ts +3 -0
- package/types/generated/MobileNav.d.ts +15 -0
- package/types/generated/MobileNav.macos.d.ts +15 -0
- package/types/generated/MobileNav.web.d.ts +11 -0
- package/types/generated/MoreMenu.d.ts +2 -0
- package/types/generated/MoreMenu.macos.d.ts +2 -0
- package/types/generated/MoreMenu.web.d.ts +2 -0
- package/types/generated/NavIcon.d.ts +6 -0
- package/types/generated/NavIcon.macos.d.ts +4 -0
- package/types/generated/NavIcon.web.d.ts +6 -0
- package/types/generated/NavLink.macos.d.ts +3 -0
- package/types/generated/NavMenu.d.ts +11 -0
- package/types/generated/NavMenu.macos.d.ts +11 -0
- package/types/generated/NavMenu.web.d.ts +12 -0
- package/types/generated/NavigationMenu.d.ts +3 -3
- package/types/generated/NavigationMenu.macos.d.ts +4 -0
- package/types/generated/NavigationMenu.web.d.ts +4 -4
- package/types/generated/Outline.d.ts +7 -0
- package/types/generated/Outline.macos.d.ts +5 -0
- package/types/generated/Outline.web.d.ts +7 -0
- package/types/generated/OverflowList.d.ts +6 -0
- package/types/generated/OverflowList.macos.d.ts +6 -0
- package/types/generated/OverflowList.web.d.ts +9 -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.d.ts +7 -0
- package/types/generated/PowerSearch.macos.d.ts +7 -0
- package/types/generated/PowerSearch.web.d.ts +6 -0
- package/types/generated/PowerSearchFilterEditor.d.ts +12 -0
- package/types/generated/PowerSearchFilterEditor.macos.d.ts +12 -0
- package/types/generated/PowerSearchFilterEditor.web.d.ts +2 -0
- package/types/generated/PowerSearchToken.d.ts +7 -0
- package/types/generated/PowerSearchToken.macos.d.ts +7 -0
- package/types/generated/PowerSearchToken.web.d.ts +7 -0
- package/types/generated/Pressable.macos.d.ts +2 -0
- package/types/generated/ProgressBar.d.ts +7 -0
- package/types/generated/ProgressBar.macos.d.ts +6 -0
- package/types/generated/ProgressBar.web.d.ts +6 -0
- package/types/generated/ProgressGroup.macos.d.ts +3 -0
- package/types/generated/RadioGroup.d.ts +1 -1
- package/types/generated/RadioGroup.macos.d.ts +5 -0
- package/types/generated/RadioGroup.web.d.ts +1 -1
- package/types/generated/RadioIndicator.d.ts +5 -0
- package/types/generated/RadioIndicator.macos.d.ts +3 -0
- package/types/generated/RadioIndicator.web.d.ts +4 -0
- package/types/generated/Resizable.d.ts +2 -0
- package/types/generated/ResizeHandle.d.ts +7 -0
- package/types/generated/ResizeHandle.macos.d.ts +7 -0
- package/types/generated/ResizeHandle.web.d.ts +7 -0
- package/types/generated/RouteBoundary.d.ts +13 -0
- package/types/generated/RouteBoundary.macos.d.ts +8 -0
- package/types/generated/RouteBoundary.web.d.ts +8 -0
- package/types/generated/{RouteHost.mobile.d.ts → RouteHost.d.ts} +4 -0
- package/types/generated/RouteHost.macos.d.ts +13 -0
- package/types/generated/Row.macos.d.ts +2 -0
- package/types/generated/SafeArea.d.ts +1 -0
- package/types/generated/SafeArea.macos.d.ts +3 -0
- package/types/generated/Screen.macos.d.ts +3 -0
- package/types/generated/ScrollableArea.d.ts +8 -0
- package/types/generated/ScrollableArea.macos.d.ts +7 -0
- package/types/generated/ScrollableArea.web.d.ts +8 -0
- package/types/generated/Section.d.ts +5 -0
- package/types/generated/Section.macos.d.ts +5 -0
- package/types/generated/Section.web.d.ts +9 -0
- package/types/generated/SegmentedControl.d.ts +1 -1
- package/types/generated/SegmentedControl.web.d.ts +1 -1
- package/types/generated/Select.d.ts +3 -6
- package/types/generated/Select.macos.d.ts +3 -0
- package/types/generated/Select.web.d.ts +3 -6
- package/types/generated/SelectableCard.d.ts +3 -0
- package/types/generated/SelectableCard.macos.d.ts +3 -0
- package/types/generated/SelectableCard.web.d.ts +3 -0
- package/types/generated/Separator.macos.d.ts +5 -0
- package/types/generated/SideNav.d.ts +19 -0
- package/types/generated/SideNav.macos.d.ts +19 -0
- package/types/generated/SideNav.web.d.ts +22 -0
- package/types/generated/Skeleton.macos.d.ts +5 -0
- package/types/generated/Stack.d.ts +5 -1
- package/types/generated/Stack.web.d.ts +3 -1
- package/types/generated/StackItem.d.ts +5 -0
- package/types/generated/StackItem.web.d.ts +6 -0
- package/types/generated/StatusDot.d.ts +6 -0
- package/types/generated/StatusDot.macos.d.ts +5 -0
- package/types/generated/StatusDot.web.d.ts +7 -0
- package/types/generated/Stepper.macos.d.ts +4 -0
- package/types/generated/Switch.d.ts +1 -1
- package/types/generated/Switch.web.d.ts +1 -1
- package/types/generated/TabList.d.ts +18 -0
- package/types/generated/TabList.macos.d.ts +18 -0
- package/types/generated/TabList.web.d.ts +15 -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/TextArea.d.ts +1 -1
- package/types/generated/TextArea.web.d.ts +1 -1
- package/types/generated/TextInput.d.ts +2 -2
- package/types/generated/Thumbnail.d.ts +6 -0
- package/types/generated/Thumbnail.macos.d.ts +7 -0
- package/types/generated/Thumbnail.web.d.ts +8 -0
- package/types/generated/TimeInput.d.ts +8 -0
- package/types/generated/TimeInput.macos.d.ts +6 -0
- package/types/generated/TimeInput.web.d.ts +6 -0
- package/types/generated/TimeWheelPanel.d.ts +16 -0
- package/types/generated/TimeWheelPanel.macos.d.ts +16 -0
- package/types/generated/TimeWheelPanel.web.d.ts +16 -0
- package/types/generated/Timeline.macos.d.ts +3 -0
- package/types/generated/Timer.d.ts +5 -0
- package/types/generated/Timer.macos.d.ts +3 -0
- package/types/generated/Timer.web.d.ts +6 -0
- package/types/generated/Timestamp.d.ts +8 -0
- package/types/generated/Timestamp.macos.d.ts +5 -0
- package/types/generated/Timestamp.web.d.ts +7 -0
- package/types/generated/Toast.d.ts +7 -0
- package/types/generated/Toast.macos.d.ts +3 -0
- package/types/generated/Toast.web.d.ts +9 -0
- package/types/generated/ToggleButton.d.ts +3 -0
- package/types/generated/ToggleButton.macos.d.ts +3 -0
- package/types/generated/ToggleButton.web.d.ts +3 -0
- package/types/generated/Token.d.ts +4 -0
- package/types/generated/Token.macos.d.ts +5 -0
- package/types/generated/Token.web.d.ts +7 -0
- package/types/generated/Tokenizer.d.ts +6 -0
- package/types/generated/Tokenizer.macos.d.ts +6 -0
- package/types/generated/Tokenizer.web.d.ts +5 -0
- package/types/generated/Toolbar.d.ts +6 -0
- package/types/generated/Toolbar.macos.d.ts +6 -0
- package/types/generated/Toolbar.web.d.ts +5 -0
- package/types/generated/Tooltip.web.d.ts +2 -2
- package/types/generated/TopNav.d.ts +25 -0
- package/types/generated/TopNav.macos.d.ts +25 -0
- package/types/generated/TopNav.web.d.ts +23 -0
- package/types/generated/Tree.macos.d.ts +4 -0
- package/types/generated/Typeahead.d.ts +6 -0
- package/types/generated/Typeahead.macos.d.ts +8 -0
- package/types/generated/Typeahead.web.d.ts +6 -0
- package/types/generated/TypeaheadItem.d.ts +4 -0
- package/types/generated/TypeaheadItem.macos.d.ts +5 -0
- package/types/generated/TypeaheadItem.web.d.ts +5 -0
- package/types/generated/User.macos.d.ts +5 -0
- package/types/generated/VStack.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/View.web.d.ts +1 -1
- package/types/generated/VirtualList.macos.d.ts +6 -0
- package/types/generated/VisuallyHidden.d.ts +6 -0
- package/types/generated/VisuallyHidden.macos.d.ts +5 -0
- package/types/generated/VisuallyHidden.web.d.ts +6 -0
- package/types/generated/WebView.macos.d.ts +2 -0
- package/types/generated/aliases.d.ts +2 -6
- package/types/generated/aliases.macos.d.ts +3 -0
- package/types/generated/aliases.web.d.ts +2 -6
- package/types/generated/android/DrawerLayout.android.d.ts +0 -6
- package/types/generated/android/RecyclerView.android.d.ts +8 -7
- package/types/generated/android/index.d.ts +1 -1
- package/types/generated/anim.d.ts +1 -8
- package/types/generated/anim.macos.d.ts +3 -0
- package/types/generated/anim.web.d.ts +1 -1
- package/types/generated/animated-value.d.ts +12 -0
- package/types/generated/animation-host.macos.d.ts +3 -0
- package/types/generated/app-shell-config.d.ts +5 -0
- package/types/generated/bottom-sheet-context.d.ts +24 -0
- package/types/generated/bottom-sheet-panel.macos.d.ts +7 -0
- package/types/generated/bottom-sheet-service.d.ts +13 -0
- package/types/generated/bottom-sheet-service.macos.d.ts +5 -0
- package/types/generated/bottom-sheet-service.web.d.ts +7 -0
- package/types/generated/busy-lane.d.ts +15 -0
- package/types/generated/button-group-context.d.ts +12 -0
- package/types/generated/calendar-core.d.ts +111 -0
- package/types/generated/calendar-hooks.d.ts +37 -0
- package/types/generated/chat-context.d.ts +17 -0
- package/types/generated/chat-group-items.d.ts +8 -0
- package/types/generated/chat-tokenize.d.ts +14 -0
- package/types/generated/chat-tokens.d.ts +11 -0
- package/types/generated/chat-tokens.web.d.ts +11 -0
- package/types/generated/chatComposerSelection.web.d.ts +13 -0
- package/types/generated/child-array.d.ts +3 -2
- package/types/generated/clipboard-write.d.ts +2 -0
- package/types/generated/clipboard-write.macos.d.ts +3 -0
- package/types/generated/clipboard-write.web.d.ts +3 -0
- package/types/generated/code-highlight.web.d.ts +31 -0
- package/types/generated/code-tokenizer.d.ts +50 -0
- package/types/generated/codeblock-shared.d.ts +11 -0
- package/types/generated/colorScheme.macos.d.ts +4 -0
- package/types/generated/command-palette-accessibility.mobile.d.ts +2 -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/command-palette-state.d.ts +27 -0
- package/types/generated/controls.macos.d.ts +8 -0
- package/types/generated/date-composition.d.ts +5 -0
- package/types/generated/date-composition.macos.d.ts +5 -0
- package/types/generated/date-composition.web.d.ts +4 -0
- package/types/generated/date-field-action.d.ts +4 -0
- package/types/generated/date-keyboard.d.ts +27 -0
- package/types/generated/date-messages.d.ts +2 -0
- package/types/generated/datetime.d.ts +114 -0
- package/types/generated/dialog-context.d.ts +14 -0
- package/types/generated/escape-props.d.ts +1 -0
- package/types/generated/escape-props.macos.d.ts +5 -0
- package/types/generated/field-context.d.ts +38 -0
- package/types/generated/form-layout-context.d.ts +11 -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 +171 -30
- package/types/generated/index.shared.web.d.ts +171 -30
- package/types/generated/indicators.d.ts +23 -0
- package/types/generated/input-group-context.d.ts +16 -0
- package/types/generated/ios/SideDrawer.ios.d.ts +0 -6
- package/types/generated/ios/UITableView.ios.d.ts +4 -4
- package/types/generated/ios/index.d.ts +1 -1
- package/types/generated/is-renderable.d.ts +3 -0
- package/types/generated/{keyboard-inset.mobile.d.ts → keyboard-inset.d.ts} +1 -1
- package/types/generated/keyboard-inset.web.d.ts +2 -0
- package/types/generated/layer-dismissal.d.ts +15 -0
- package/types/generated/layer-keys.d.ts +1 -0
- package/types/generated/layer-keys.web.d.ts +1 -0
- package/types/generated/layer-position.web.d.ts +4 -0
- package/types/generated/layer-stack.d.ts +26 -0
- package/types/generated/layout-shells.macos.d.ts +3 -0
- package/types/generated/layout.macos.d.ts +9 -0
- package/types/generated/list-context.d.ts +13 -0
- package/types/generated/list-focus.web.d.ts +26 -0
- package/types/generated/list-viewability-core.d.ts +13 -0
- package/types/generated/list-viewability-observer.android.d.ts +8 -0
- package/types/generated/list-viewability-observer.ios.d.ts +8 -0
- package/types/generated/list-viewability-runtime.d.ts +37 -0
- package/types/generated/macos-extras.macos.d.ts +4 -0
- package/types/generated/markdown-parse.d.ts +28 -0
- package/types/generated/markdown-stream.d.ts +61 -0
- package/types/generated/measure-bounds.macos.d.ts +3 -0
- package/types/generated/menu-context.d.ts +6 -0
- package/types/generated/metadata-list-context.d.ts +9 -0
- package/types/generated/modal-focus.web.d.ts +2 -1
- package/types/generated/native/index.d.ts +2 -2
- package/types/generated/native-color.d.ts +2 -0
- package/types/generated/native-color.mobile.d.ts +4 -0
- package/types/generated/nav-contexts.d.ts +49 -0
- package/types/generated/nav-href.d.ts +1 -0
- package/types/generated/nav-href.macos.d.ts +4 -0
- package/types/generated/nav-href.web.d.ts +4 -0
- package/types/generated/outline-dom.d.ts +8 -0
- package/types/generated/outline-dom.macos.d.ts +2 -0
- package/types/generated/outline-dom.web.d.ts +8 -0
- package/types/generated/outline-hooks.d.ts +9 -0
- package/types/generated/outline-utils.d.ts +36 -0
- package/types/generated/outline-view-tree.d.ts +7 -0
- package/types/generated/overflow-math.d.ts +31 -0
- package/types/generated/overlay-lifetime.d.ts +19 -0
- package/types/generated/pan.macos.d.ts +3 -0
- package/types/generated/platform.macos.d.ts +1 -0
- package/types/generated/popover-position.d.ts +17 -3
- package/types/generated/power-search-config.d.ts +57 -0
- package/types/generated/power-search-strings.d.ts +12 -0
- package/types/generated/presentation.macos.d.ts +15 -0
- package/types/generated/props.d.ts +4660 -199
- package/types/generated/query-cache.d.ts +129 -0
- package/types/generated/query-storage.d.ts +9 -0
- package/types/generated/query-storage.macos.d.ts +8 -0
- package/types/generated/query-storage.web.d.ts +8 -0
- package/types/generated/ref-list.d.ts +7 -0
- package/types/generated/relative-position.d.ts +5 -0
- package/types/generated/resize-basis.d.ts +5 -0
- package/types/generated/resize-basis.macos.d.ts +4 -0
- package/types/generated/resize-basis.web.d.ts +6 -0
- package/types/generated/resize-math.d.ts +27 -0
- package/types/generated/resize-persist.d.ts +7 -0
- package/types/generated/resize-persist.macos.d.ts +8 -0
- package/types/generated/resize-persist.web.d.ts +9 -0
- package/types/generated/resize-state.d.ts +39 -0
- package/types/generated/root-layout.web.d.ts +6 -0
- package/types/generated/route-host.d.ts +1 -0
- package/types/generated/route-table.d.ts +21 -9
- package/types/generated/route.d.ts +3 -0
- package/types/generated/route.macos.d.ts +28 -0
- package/types/generated/route.web.d.ts +3 -0
- package/types/generated/safe-url.d.ts +4 -0
- package/types/generated/safeAreaInsets.macos.d.ts +10 -0
- package/types/generated/scheme-colors.d.ts +11 -0
- package/types/generated/select-options.d.ts +10 -0
- package/types/generated/sheet-detents.d.ts +13 -2
- package/types/generated/sheet-detents.web.d.ts +12 -2
- package/types/generated/sheet-snap.d.ts +8 -0
- package/types/generated/spacing.d.ts +4 -0
- package/types/generated/stack-layout.d.ts +40 -0
- package/types/generated/stacks.macos.d.ts +3 -0
- package/types/generated/styled.d.ts +3 -1
- package/types/generated/styled.macos.d.ts +9 -0
- package/types/generated/surfaces.macos.d.ts +4 -0
- package/types/generated/svg-glyph.d.ts +6 -0
- package/types/generated/svg-image.macos.d.ts +3 -0
- package/types/generated/svg-source.d.ts +8 -0
- package/types/generated/svg.d.ts +1 -0
- package/types/generated/svg.mobile.d.ts +1 -23
- package/types/generated/tap-to-blur.d.ts +2 -0
- package/types/generated/text-controls.macos.d.ts +4 -0
- package/types/generated/text-role.d.ts +8 -0
- package/types/generated/text-slot.d.ts +6 -0
- package/types/generated/text-slot.web.d.ts +6 -0
- package/types/generated/theme/theme-scheme.macos.d.ts +8 -0
- package/types/generated/time-format.d.ts +40 -0
- package/types/generated/timer-format.d.ts +13 -0
- package/types/generated/toast-context.d.ts +14 -0
- package/types/generated/toast-service.d.ts +24 -0
- package/types/generated/toast-service.macos.d.ts +3 -0
- package/types/generated/toast-service.web.d.ts +8 -0
- package/types/generated/toast-store.d.ts +37 -0
- package/types/generated/toast-viewport.d.ts +8 -0
- package/types/generated/toast-viewport.macos.d.ts +5 -0
- package/types/generated/toast-viewport.web.d.ts +15 -0
- package/types/generated/toggle-button-group-context.d.ts +13 -0
- package/types/generated/translate.macos.d.ts +1 -0
- package/types/generated/translate.web.d.ts +1 -1
- package/types/generated/typeahead-source.d.ts +20 -0
- package/types/generated/unsupported.macos.d.ts +1 -0
- package/types/generated/use-hover-card.d.ts +8 -0
- package/types/generated/use-hover-card.mobile.d.ts +9 -0
- package/types/generated/use-hover-card.web.d.ts +10 -0
- package/types/generated/use-imperative-alert-dialog.d.ts +6 -0
- package/types/generated/use-imperative-alert-dialog.macos.d.ts +2 -0
- package/types/generated/use-imperative-alert-dialog.web.d.ts +6 -0
- package/types/generated/use-imperative-dialog.d.ts +6 -0
- package/types/generated/use-imperative-dialog.macos.d.ts +2 -0
- package/types/generated/use-imperative-dialog.web.d.ts +6 -0
- package/types/generated/use-layer.d.ts +8 -0
- package/types/generated/use-layer.mobile.d.ts +7 -0
- package/types/generated/use-layer.web.d.ts +9 -0
- package/types/generated/use-lightbox.d.ts +3 -0
- package/types/generated/use-lightbox.macos.d.ts +2 -0
- package/types/generated/use-lightbox.web.d.ts +5 -0
- package/types/generated/use-scrollable-area.d.ts +10 -0
- package/types/generated/use-scrollable-area.macos.d.ts +6 -0
- package/types/generated/use-scrollable-area.web.d.ts +9 -0
- package/types/generated/useChatComposerTokens.d.ts +9 -0
- package/types/generated/useChatComposerTokens.web.d.ts +10 -0
- package/types/generated/useChatDictation.d.ts +6 -0
- package/types/generated/useChatDictation.web.d.ts +6 -0
- package/types/generated/useChatNewMessages.d.ts +6 -0
- package/types/generated/useChatNewMessages.web.d.ts +6 -0
- package/types/generated/useChatPasteAsToken.d.ts +7 -0
- package/types/generated/useChatPasteAsToken.web.d.ts +4 -0
- package/types/generated/useChatStreamScroll.d.ts +7 -0
- package/types/generated/useChatStreamScroll.web.d.ts +6 -0
- package/types/generated/useMeasure.macos.d.ts +3 -0
- package/types/generated/useMediaQuery.web.d.ts +6 -0
- package/types/generated/useResizable.d.ts +8 -0
- package/types/generated/useResizable.macos.d.ts +8 -0
- package/types/generated/useResizable.web.d.ts +8 -0
- package/types/generated/useSelect.d.ts +25 -0
- package/types/generated/useSpeechRecognition.d.ts +6 -0
- package/types/generated/useSpeechRecognition.web.d.ts +5 -0
- package/types/generated/useStore.macos.d.ts +2 -0
- package/types/generated/useTriggerMenu.d.ts +72 -0
- package/types/generated/useTriggerMenu.web.d.ts +52 -0
- package/types/generated/web/index.d.ts +2 -2
- package/types/generated/windows.macos.d.ts +2 -0
- package/dist/native/Hoverable.mobile.tsrx.js +0 -39
- package/dist/native/InputTags.tsrx.js +0 -131
- package/dist/native/Row.tsrx.js +0 -98
- package/dist/native/ScrollView.tsrx.js +0 -233
- package/dist/native/Sheet.tsrx.js +0 -109
- package/dist/native/route-host.mobile.js +0 -2
- package/dist/native/sheet-service.js +0 -92
- package/dist/native/toast-anchor.tsrx.js +0 -185
- package/dist/web/Hoverable.web.tsrx.js +0 -151
- package/dist/web/InputTags.web.tsrx.js +0 -122
- package/dist/web/Row.web.tsrx.js +0 -250
- package/dist/web/ScrollBox.web.tsrx.js +0 -32
- package/dist/web/ScrollView.web.tsrx.js +0 -388
- package/dist/web/Sheet.web.tsrx.js +0 -94
- package/dist/web/sheet-service.web.js +0 -58
- package/dist/web/toast-anchor.web.tsrx.js +0 -142
- package/src/CameraView.macos.tsrx +0 -6
- package/src/Hoverable.mobile.tsrx +0 -21
- package/src/Hoverable.tsrx +0 -113
- package/src/Hoverable.web.tsrx +0 -98
- package/src/InputTags.macos.tsrx +0 -49
- package/src/InputTags.tsrx +0 -49
- package/src/InputTags.web.tsrx +0 -49
- package/src/ScrollBox.tsrx +0 -8
- package/src/ScrollBox.web.tsrx +0 -7
- package/src/ScrollView.macos.tsrx +0 -19
- package/src/ScrollView.tsrx +0 -117
- package/src/ScrollView.web.tsrx +0 -109
- package/src/Sheet.macos.tsrx +0 -15
- package/src/Sheet.tsrx +0 -101
- package/src/Sheet.web.tsrx +0 -64
- package/src/route-host.mobile.ts +0 -1
- package/src/sheet-service.macos.ts +0 -64
- package/src/sheet-service.web.ts +0 -72
- package/src/toast-anchor.macos.tsrx +0 -3
- package/src/toast-anchor.tsrx +0 -122
- package/src/toast-anchor.web.tsrx +0 -92
- package/src/toast.tsrx +0 -90
- package/src/toast.web.tsrx +0 -50
- package/types/generated/Hoverable.d.ts +0 -10
- package/types/generated/Hoverable.mobile.d.ts +0 -8
- package/types/generated/Hoverable.web.d.ts +0 -9
- package/types/generated/InputTags.d.ts +0 -4
- package/types/generated/InputTags.web.d.ts +0 -5
- package/types/generated/ScrollBox.d.ts +0 -3
- package/types/generated/ScrollBox.web.d.ts +0 -3
- package/types/generated/ScrollView.d.ts +0 -7
- package/types/generated/ScrollView.web.d.ts +0 -6
- package/types/generated/Sheet.d.ts +0 -5
- package/types/generated/Sheet.web.d.ts +0 -7
- package/types/generated/overlay-lifetime.mobile.d.ts +0 -10
- package/types/generated/route-host.mobile.d.ts +0 -1
- package/types/generated/sheet-service.d.ts +0 -11
- package/types/generated/sheet-service.web.d.ts +0 -6
- package/types/generated/toast-anchor.d.ts +0 -4
- package/types/generated/toast-anchor.web.d.ts +0 -4
- package/types/generated/toast.d.ts +0 -3
- package/types/generated/toast.web.d.ts +0 -3
- package/types/index.macos.d.ts +0 -154
- /package/src/{modal-presenter.mobile.ts → modal-presenter.ts} +0 -0
- /package/src/{root-layout.mobile.ts → root-layout.ts} +0 -0
- /package/types/generated/{modal-presenter.mobile.d.ts → modal-presenter.d.ts} +0 -0
- /package/types/generated/{root-layout.mobile.d.ts → root-layout.d.ts} +0 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { createContext } from "octane";
|
|
2
|
+
//#region src/dialog-context.ts
|
|
3
|
+
var DialogContext = /* @__PURE__ */ createContext(null);
|
|
4
|
+
/** JSX-provider form — the universal renderer's context is a callable
|
|
5
|
+
* rather than a `.Provider` member (same aliasing as FieldProvider). */
|
|
6
|
+
var DialogProvider = DialogContext;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { DialogContext, DialogProvider };
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { FormLayoutContext } from "./form-layout-context.js";
|
|
2
|
+
import { InputGroupContext } from "./input-group-context.js";
|
|
3
|
+
import { createContext, useContext } from "octane";
|
|
4
|
+
//#region src/field-context.ts
|
|
5
|
+
var FieldContext = /* @__PURE__ */ createContext(null);
|
|
6
|
+
var FieldProvider = FieldContext;
|
|
7
|
+
/** Resolve wrapper defaults and the accessibility links for a field control. */
|
|
8
|
+
function useFieldControlProps(props) {
|
|
9
|
+
const field = useContext(FieldContext);
|
|
10
|
+
const form = useContext(FormLayoutContext);
|
|
11
|
+
const group = useContext(InputGroupContext);
|
|
12
|
+
const status = field?.status ?? props.status;
|
|
13
|
+
const description = field?.description ?? props.description;
|
|
14
|
+
const ownLabel = props.accessibilityLabel ?? (props.label && props.label !== field?.label ? props.label : void 0);
|
|
15
|
+
const ariaDescribedBy = [
|
|
16
|
+
props.web?.["aria-describedby"],
|
|
17
|
+
field?.descriptionId,
|
|
18
|
+
field?.statusId
|
|
19
|
+
].filter(Boolean).join(" ") || void 0;
|
|
20
|
+
const disabledReason = (field?.isDisabled ?? props.isDisabled) || props.isDisabled ? field?.disabledMessage ?? props.disabledMessage : void 0;
|
|
21
|
+
const hint = [
|
|
22
|
+
props.accessibilityHint,
|
|
23
|
+
description,
|
|
24
|
+
status?.message,
|
|
25
|
+
disabledReason
|
|
26
|
+
].filter(Boolean).join(". ") || void 0;
|
|
27
|
+
const isOptional = field?.isOptional ?? props.isOptional;
|
|
28
|
+
const isRequired = !isOptional && Boolean(field?.isRequired ?? props.isRequired ?? form.defaultOptionality === "required");
|
|
29
|
+
return {
|
|
30
|
+
...props,
|
|
31
|
+
isDisabled: Boolean(field?.isDisabled || group?.isDisabled || props.isDisabled),
|
|
32
|
+
isReadOnly: Boolean(field?.isReadOnly || props.isReadOnly),
|
|
33
|
+
isLoading: field?.isLoading ?? props.isLoading,
|
|
34
|
+
isRequired,
|
|
35
|
+
isOptional,
|
|
36
|
+
size: field?.size ?? group?.size ?? props.size,
|
|
37
|
+
inInputGroup: group != null,
|
|
38
|
+
status,
|
|
39
|
+
id: props.id ?? field?.controlId,
|
|
40
|
+
fieldLabel: field?.label,
|
|
41
|
+
ariaLabel: ownLabel ?? (field ? void 0 : props.label),
|
|
42
|
+
ariaLabelledBy: ownLabel ? void 0 : props.web?.["aria-labelledby"] ?? field?.labelId,
|
|
43
|
+
ariaDescribedBy,
|
|
44
|
+
accessibilityHint: hint
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
/** Resolve field-control props and report whether a surrounding Field owns
|
|
48
|
+
* the label, so third-party controls can compose with Field without nesting. */
|
|
49
|
+
function useFieldControl(props) {
|
|
50
|
+
const inField = useContext(FieldContext) != null;
|
|
51
|
+
return {
|
|
52
|
+
props: useFieldControlProps(props),
|
|
53
|
+
inField
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
//#endregion
|
|
57
|
+
export { FieldContext, FieldProvider, useFieldControl, useFieldControlProps };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { createContext } from "octane";
|
|
2
|
+
//#region src/form-layout-context.ts
|
|
3
|
+
/** Layered arrangement context: `Field`/`FormField` switches to a
|
|
4
|
+
* horizontal-labels render under `direction === 'horizontal-labels'`, and
|
|
5
|
+
* `useFieldControlProps` resolves `aria-required` from
|
|
6
|
+
* `defaultOptionality`. Nested FormLayouts shadow the outer value. */
|
|
7
|
+
var FormLayoutContext = /* @__PURE__ */ createContext({ direction: "vertical" });
|
|
8
|
+
var FormLayoutProvider = FormLayoutContext;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { FormLayoutContext, FormLayoutProvider };
|
|
@@ -0,0 +1,285 @@
|
|
|
1
|
+
//#region src/hash-image.ts
|
|
2
|
+
/** `blurhash:<hash>` / `thumbhash:<base64>` → PNG bytes as base64, or null. */
|
|
3
|
+
function hashToPngBase64(src) {
|
|
4
|
+
if (src.startsWith("blurhash:")) {
|
|
5
|
+
const rgba = decodeBlurHash(src.slice(9), 32, 32);
|
|
6
|
+
return rgba ? base64Encode(rgbaToPng(32, 32, rgba)) : null;
|
|
7
|
+
}
|
|
8
|
+
if (src.startsWith("thumbhash:")) {
|
|
9
|
+
const hash = base64Decode(src.slice(10));
|
|
10
|
+
const decoded = hash ? thumbHashToRGBA(hash) : null;
|
|
11
|
+
return decoded ? base64Encode(rgbaToPng(decoded.w, decoded.h, decoded.rgba)) : null;
|
|
12
|
+
}
|
|
13
|
+
return null;
|
|
14
|
+
}
|
|
15
|
+
var BASE83 = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz#$%*+,-.:;=?@[]^_{|}~";
|
|
16
|
+
function decode83(str, start, end) {
|
|
17
|
+
let value = 0;
|
|
18
|
+
for (let i = start; i < end; i++) {
|
|
19
|
+
const digit = BASE83.indexOf(str[i]);
|
|
20
|
+
if (digit === -1) return -1;
|
|
21
|
+
value = value * 83 + digit;
|
|
22
|
+
}
|
|
23
|
+
return value;
|
|
24
|
+
}
|
|
25
|
+
function srgbToLinear(value) {
|
|
26
|
+
const v = value / 255;
|
|
27
|
+
return v <= .04045 ? v / 12.92 : Math.pow((v + .055) / 1.055, 2.4);
|
|
28
|
+
}
|
|
29
|
+
function linearToSrgb(value) {
|
|
30
|
+
const v = Math.max(0, Math.min(1, value));
|
|
31
|
+
return v <= .0031308 ? Math.round(v * 12.92 * 255 + .5) : Math.round((1.055 * Math.pow(v, 1 / 2.4) - .055) * 255 + .5);
|
|
32
|
+
}
|
|
33
|
+
function signPow(value, exp) {
|
|
34
|
+
return Math.sign(value) * Math.pow(Math.abs(value), exp);
|
|
35
|
+
}
|
|
36
|
+
function decodeBlurHash(hash, width, height) {
|
|
37
|
+
if (hash.length < 6) return null;
|
|
38
|
+
const sizeFlag = decode83(hash, 0, 1);
|
|
39
|
+
const quantisedMax = decode83(hash, 1, 2);
|
|
40
|
+
const dcValue = decode83(hash, 2, 6);
|
|
41
|
+
if (sizeFlag < 0 || quantisedMax < 0 || dcValue < 0) return null;
|
|
42
|
+
const numY = Math.floor(sizeFlag / 9) + 1;
|
|
43
|
+
const numX = sizeFlag % 9 + 1;
|
|
44
|
+
if (hash.length !== 4 + 2 * numX * numY) return null;
|
|
45
|
+
const maximumValue = (quantisedMax + 1) / 166;
|
|
46
|
+
const colors = new Array(numX * numY);
|
|
47
|
+
colors[0] = [
|
|
48
|
+
srgbToLinear(dcValue >> 16),
|
|
49
|
+
srgbToLinear(dcValue >> 8 & 255),
|
|
50
|
+
srgbToLinear(dcValue & 255)
|
|
51
|
+
];
|
|
52
|
+
for (let i = 1; i < numX * numY; i++) {
|
|
53
|
+
const value = decode83(hash, 4 + i * 2, 6 + i * 2);
|
|
54
|
+
if (value < 0) return null;
|
|
55
|
+
const quantR = Math.floor(value / 361);
|
|
56
|
+
const quantG = Math.floor(value / 19) % 19;
|
|
57
|
+
const quantB = value % 19;
|
|
58
|
+
colors[i] = [
|
|
59
|
+
signPow((quantR - 9) / 9, 2) * maximumValue,
|
|
60
|
+
signPow((quantG - 9) / 9, 2) * maximumValue,
|
|
61
|
+
signPow((quantB - 9) / 9, 2) * maximumValue
|
|
62
|
+
];
|
|
63
|
+
}
|
|
64
|
+
const pixels = new Uint8ClampedArray(width * height * 4);
|
|
65
|
+
for (let y = 0; y < height; y++) for (let x = 0; x < width; x++) {
|
|
66
|
+
let r = 0;
|
|
67
|
+
let g = 0;
|
|
68
|
+
let b = 0;
|
|
69
|
+
for (let j = 0; j < numY; j++) for (let i = 0; i < numX; i++) {
|
|
70
|
+
const basis = Math.cos(Math.PI * x * i / width) * Math.cos(Math.PI * y * j / height);
|
|
71
|
+
const color = colors[i + j * numX];
|
|
72
|
+
r += color[0] * basis;
|
|
73
|
+
g += color[1] * basis;
|
|
74
|
+
b += color[2] * basis;
|
|
75
|
+
}
|
|
76
|
+
const o = (x + y * width) * 4;
|
|
77
|
+
pixels[o] = linearToSrgb(r);
|
|
78
|
+
pixels[o + 1] = linearToSrgb(g);
|
|
79
|
+
pixels[o + 2] = linearToSrgb(b);
|
|
80
|
+
pixels[o + 3] = 255;
|
|
81
|
+
}
|
|
82
|
+
return pixels;
|
|
83
|
+
}
|
|
84
|
+
function thumbHashToApproximateAspectRatio(hash) {
|
|
85
|
+
const header = hash[3];
|
|
86
|
+
const hasAlpha = (hash[2] & 128) !== 0;
|
|
87
|
+
const isLandscape = (hash[4] & 128) !== 0;
|
|
88
|
+
return (isLandscape ? hasAlpha ? 5 : 7 : header & 7) / (isLandscape ? header & 7 : hasAlpha ? 5 : 7);
|
|
89
|
+
}
|
|
90
|
+
function thumbHashToRGBA(hash) {
|
|
91
|
+
if (hash.length < 5) return null;
|
|
92
|
+
const { PI, min, max, cos, round } = Math;
|
|
93
|
+
const header24 = hash[0] | hash[1] << 8 | hash[2] << 16;
|
|
94
|
+
const header16 = hash[3] | hash[4] << 8;
|
|
95
|
+
const l_dc = (header24 & 63) / 63;
|
|
96
|
+
const p_dc = (header24 >> 6 & 63) / 31.5 - 1;
|
|
97
|
+
const q_dc = (header24 >> 12 & 63) / 31.5 - 1;
|
|
98
|
+
const l_scale = (header24 >> 18 & 31) / 31;
|
|
99
|
+
const hasAlpha = header24 >> 23 !== 0;
|
|
100
|
+
const p_scale = (header16 >> 3 & 63) / 63;
|
|
101
|
+
const q_scale = (header16 >> 9 & 63) / 63;
|
|
102
|
+
const isLandscape = header16 >> 15 !== 0;
|
|
103
|
+
const lx = max(3, isLandscape ? hasAlpha ? 5 : 7 : header16 & 7);
|
|
104
|
+
const ly = max(3, isLandscape ? header16 & 7 : hasAlpha ? 5 : 7);
|
|
105
|
+
const a_dc = hasAlpha ? (hash[5] & 15) / 15 : 1;
|
|
106
|
+
const a_scale = (hash[5] >> 4) / 15;
|
|
107
|
+
const ac_start = hasAlpha ? 6 : 5;
|
|
108
|
+
let ac_index = 0;
|
|
109
|
+
const decodeChannel = (nx, ny, scale) => {
|
|
110
|
+
const ac = [];
|
|
111
|
+
for (let cy = 0; cy < ny; cy++) for (let cx = cy ? 0 : 1; cx * ny < nx * (ny - cy); cx++) {
|
|
112
|
+
const byte = hash[ac_start + (ac_index >> 1)];
|
|
113
|
+
if (byte === void 0) return null;
|
|
114
|
+
ac.push(((byte >> ((ac_index++ & 1) << 2) & 15) / 7.5 - 1) * scale);
|
|
115
|
+
}
|
|
116
|
+
return ac;
|
|
117
|
+
};
|
|
118
|
+
const l_ac = decodeChannel(lx, ly, l_scale);
|
|
119
|
+
const p_ac = decodeChannel(3, 3, p_scale * 1.25);
|
|
120
|
+
const q_ac = decodeChannel(3, 3, q_scale * 1.25);
|
|
121
|
+
const a_ac = hasAlpha ? decodeChannel(5, 5, a_scale) : null;
|
|
122
|
+
if (!l_ac || !p_ac || !q_ac || hasAlpha && !a_ac) return null;
|
|
123
|
+
const ratio = thumbHashToApproximateAspectRatio(hash);
|
|
124
|
+
const w = round(ratio > 1 ? 32 : 32 * ratio);
|
|
125
|
+
const h = round(ratio > 1 ? 32 / ratio : 32);
|
|
126
|
+
const rgba = new Uint8Array(w * h * 4);
|
|
127
|
+
const fx = [];
|
|
128
|
+
const fy = [];
|
|
129
|
+
for (let y = 0, i = 0; y < h; y++) for (let x = 0; x < w; x++, i += 4) {
|
|
130
|
+
let l = l_dc;
|
|
131
|
+
let p = p_dc;
|
|
132
|
+
let q = q_dc;
|
|
133
|
+
let a = a_dc;
|
|
134
|
+
for (let cx = 0, n = max(lx, hasAlpha ? 5 : 3); cx < n; cx++) fx[cx] = cos(PI / w * (x + .5) * cx);
|
|
135
|
+
for (let cy = 0, n = max(ly, hasAlpha ? 5 : 3); cy < n; cy++) fy[cy] = cos(PI / h * (y + .5) * cy);
|
|
136
|
+
for (let cy = 0, j = 0; cy < ly; cy++) for (let cx = cy ? 0 : 1, fy2 = fy[cy] * 2; cx * ly < lx * (ly - cy); cx++, j++) l += l_ac[j] * fx[cx] * fy2;
|
|
137
|
+
for (let cy = 0, j = 0; cy < 3; cy++) for (let cx = cy ? 0 : 1, fy2 = fy[cy] * 2; cx < 3 - cy; cx++, j++) {
|
|
138
|
+
const f = fx[cx] * fy2;
|
|
139
|
+
p += p_ac[j] * f;
|
|
140
|
+
q += q_ac[j] * f;
|
|
141
|
+
}
|
|
142
|
+
if (hasAlpha && a_ac) for (let cy = 0, j = 0; cy < 5; cy++) for (let cx = cy ? 0 : 1, fy2 = fy[cy] * 2; cx < 5 - cy; cx++, j++) a += a_ac[j] * fx[cx] * fy2;
|
|
143
|
+
const b = l - 2 / 3 * p;
|
|
144
|
+
const r = (3 * l - b + q) / 2;
|
|
145
|
+
const g = r - q;
|
|
146
|
+
rgba[i] = max(0, 255 * min(1, r));
|
|
147
|
+
rgba[i + 1] = max(0, 255 * min(1, g));
|
|
148
|
+
rgba[i + 2] = max(0, 255 * min(1, b));
|
|
149
|
+
rgba[i + 3] = max(0, 255 * min(1, a));
|
|
150
|
+
}
|
|
151
|
+
return {
|
|
152
|
+
w,
|
|
153
|
+
h,
|
|
154
|
+
rgba
|
|
155
|
+
};
|
|
156
|
+
}
|
|
157
|
+
var PNG_CRC_TABLE = [
|
|
158
|
+
0,
|
|
159
|
+
498536548,
|
|
160
|
+
997073096,
|
|
161
|
+
651767980,
|
|
162
|
+
1994146192,
|
|
163
|
+
1802195444,
|
|
164
|
+
1303535960,
|
|
165
|
+
1342533948,
|
|
166
|
+
-306674912,
|
|
167
|
+
-267414716,
|
|
168
|
+
-690576408,
|
|
169
|
+
-882789492,
|
|
170
|
+
-1687895376,
|
|
171
|
+
-2032938284,
|
|
172
|
+
-1609899400,
|
|
173
|
+
-1111625188
|
|
174
|
+
];
|
|
175
|
+
/** Uncompressed PNG (zlib store blocks) — correctness over size; inputs are
|
|
176
|
+
* ~32px placeholders so the payload stays small. */
|
|
177
|
+
function rgbaToPng(w, h, rgba) {
|
|
178
|
+
const row = w * 4 + 1;
|
|
179
|
+
const idat = 6 + h * (5 + row);
|
|
180
|
+
const bytes = [
|
|
181
|
+
137,
|
|
182
|
+
80,
|
|
183
|
+
78,
|
|
184
|
+
71,
|
|
185
|
+
13,
|
|
186
|
+
10,
|
|
187
|
+
26,
|
|
188
|
+
10,
|
|
189
|
+
0,
|
|
190
|
+
0,
|
|
191
|
+
0,
|
|
192
|
+
13,
|
|
193
|
+
73,
|
|
194
|
+
72,
|
|
195
|
+
68,
|
|
196
|
+
82,
|
|
197
|
+
0,
|
|
198
|
+
0,
|
|
199
|
+
w >> 8,
|
|
200
|
+
w & 255,
|
|
201
|
+
0,
|
|
202
|
+
0,
|
|
203
|
+
h >> 8,
|
|
204
|
+
h & 255,
|
|
205
|
+
8,
|
|
206
|
+
6,
|
|
207
|
+
0,
|
|
208
|
+
0,
|
|
209
|
+
0,
|
|
210
|
+
0,
|
|
211
|
+
0,
|
|
212
|
+
0,
|
|
213
|
+
0,
|
|
214
|
+
idat >>> 24,
|
|
215
|
+
idat >> 16 & 255,
|
|
216
|
+
idat >> 8 & 255,
|
|
217
|
+
idat & 255,
|
|
218
|
+
73,
|
|
219
|
+
68,
|
|
220
|
+
65,
|
|
221
|
+
84,
|
|
222
|
+
120,
|
|
223
|
+
1
|
|
224
|
+
];
|
|
225
|
+
let a = 1;
|
|
226
|
+
let b = 0;
|
|
227
|
+
for (let y = 0, i = 0, end = row - 1; y < h; y++, end += row - 1) {
|
|
228
|
+
bytes.push(y + 1 < h ? 0 : 1, row & 255, row >> 8, ~row & 255, row >> 8 ^ 255, 0);
|
|
229
|
+
for (b = (b + a) % 65521; i < end; i++) {
|
|
230
|
+
const u = rgba[i] & 255;
|
|
231
|
+
bytes.push(u);
|
|
232
|
+
a = (a + u) % 65521;
|
|
233
|
+
b = (b + a) % 65521;
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
bytes.push(b >> 8, b & 255, a >> 8, a & 255, 0, 0, 0, 0, 0, 0, 0, 0, 73, 69, 78, 68, 174, 66, 96, 130);
|
|
237
|
+
for (let [start, end] of [[12, 29], [37, 41 + idat]]) {
|
|
238
|
+
let c = -1;
|
|
239
|
+
for (let i = start; i < end; i++) {
|
|
240
|
+
c ^= bytes[i];
|
|
241
|
+
c = c >>> 4 ^ PNG_CRC_TABLE[c & 15];
|
|
242
|
+
c = c >>> 4 ^ PNG_CRC_TABLE[c & 15];
|
|
243
|
+
}
|
|
244
|
+
c = ~c;
|
|
245
|
+
bytes[end++] = c >>> 24;
|
|
246
|
+
bytes[end++] = c >> 16 & 255;
|
|
247
|
+
bytes[end++] = c >> 8 & 255;
|
|
248
|
+
bytes[end++] = c & 255;
|
|
249
|
+
}
|
|
250
|
+
return bytes;
|
|
251
|
+
}
|
|
252
|
+
var BASE64_CHARS = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
|
|
253
|
+
function base64Encode(bytes) {
|
|
254
|
+
let out = "";
|
|
255
|
+
for (let i = 0; i < bytes.length; i += 3) {
|
|
256
|
+
const b0 = bytes[i];
|
|
257
|
+
const b1 = i + 1 < bytes.length ? bytes[i + 1] : 0;
|
|
258
|
+
const b2 = i + 2 < bytes.length ? bytes[i + 2] : 0;
|
|
259
|
+
out += BASE64_CHARS[b0 >> 2];
|
|
260
|
+
out += BASE64_CHARS[(b0 & 3) << 4 | b1 >> 4];
|
|
261
|
+
out += i + 1 < bytes.length ? BASE64_CHARS[(b1 & 15) << 2 | b2 >> 6] : "=";
|
|
262
|
+
out += i + 2 < bytes.length ? BASE64_CHARS[b2 & 63] : "=";
|
|
263
|
+
}
|
|
264
|
+
return out;
|
|
265
|
+
}
|
|
266
|
+
function base64Decode(text) {
|
|
267
|
+
const clean = text.replace(/-/g, "+").replace(/_/g, "/").replace(/[\s=]/g, "");
|
|
268
|
+
const bytes = new Uint8Array(Math.floor(clean.length * 3 / 4));
|
|
269
|
+
let out = 0;
|
|
270
|
+
let acc = 0;
|
|
271
|
+
let bits = 0;
|
|
272
|
+
for (const ch of clean) {
|
|
273
|
+
const digit = BASE64_CHARS.indexOf(ch);
|
|
274
|
+
if (digit === -1) return null;
|
|
275
|
+
acc = acc << 6 | digit;
|
|
276
|
+
bits += 6;
|
|
277
|
+
if (bits >= 8) {
|
|
278
|
+
bits -= 8;
|
|
279
|
+
if (out < bytes.length) bytes[out++] = acc >> bits & 255;
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
return bytes.subarray(0, out);
|
|
283
|
+
}
|
|
284
|
+
//#endregion
|
|
285
|
+
export { hashToPngBase64 };
|
package/dist/web/icons.js
CHANGED
|
@@ -17,9 +17,31 @@ function getIcon(name) {
|
|
|
17
17
|
}
|
|
18
18
|
if (!icons.has("xplat-search")) icons.set("xplat-search", { svg: "M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z" });
|
|
19
19
|
if (!icons.has("xplat-clear")) icons.set("xplat-clear", { svg: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" });
|
|
20
|
+
if (!icons.has("xplat-copy")) icons.set("xplat-copy", { svg: "M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z" });
|
|
21
|
+
if (!icons.has("xplat-check")) icons.set("xplat-check", { svg: "M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z" });
|
|
22
|
+
if (!icons.has("xplat-chevron-down")) icons.set("xplat-chevron-down", { svg: "M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z" });
|
|
23
|
+
if (!icons.has("xplat-chevron-up")) icons.set("xplat-chevron-up", { svg: "M12 8l-6 6 1.41 1.41L12 9.83l4.59 4.58L18 14z" });
|
|
24
|
+
if (!icons.has("xplat-doc-image")) icons.set("xplat-doc-image", { svg: "M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z" });
|
|
25
|
+
if (!icons.has("xplat-more-horizontal")) icons.set("xplat-more-horizontal", { svg: "M5 10a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm7 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm7 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4z" });
|
|
20
26
|
if (!icons.has("xplat-play")) icons.set("xplat-play", { svg: "M8 5v14l11-7z" });
|
|
21
27
|
if (!icons.has("xplat-pause")) icons.set("xplat-pause", { svg: "M6 19h4V5H6v14zm8-14v14h4V5h-4z" });
|
|
22
28
|
if (!icons.has("xplat-volume")) icons.set("xplat-volume", { svg: "M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z" });
|
|
29
|
+
if (!icons.has("xplat-calendar")) icons.set("xplat-calendar", { svg: "M19 4h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V10h14v10zM9 14H7v-2h2v2zm4 0h-2v-2h2v2zm4 0h-2v-2h2v2z" });
|
|
30
|
+
if (!icons.has("xplat-clock")) icons.set("xplat-clock", { svg: "M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z" });
|
|
31
|
+
if (!icons.has("xplat-upload")) icons.set("xplat-upload", { svg: "M9 16h6v-6h4l-7-7-7 7h4v6zm-4 2h14v2H5v-2z" });
|
|
32
|
+
if (!icons.has("xplat-close")) icons.set("xplat-close", { svg: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" });
|
|
33
|
+
if (!icons.has("xplat-chevron-left")) icons.set("xplat-chevron-left", { svg: "M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z" });
|
|
34
|
+
if (!icons.has("xplat-chevron-right")) icons.set("xplat-chevron-right", { svg: "M8.59 16.59 10 18l6-6-6-6-1.41 1.41L13.17 12z" });
|
|
23
35
|
if (!icons.has("xplat-volume-off")) icons.set("xplat-volume-off", { svg: "M16.5 12c0-1.77-1.02-3.29-2.5-4.03v2.21l2.45 2.45c.03-.2.05-.41.05-.63zm2.5 0c0 .94-.2 1.82-.54 2.64l1.51 1.51C20.63 14.91 21 13.5 21 12c0-4.28-2.99-7.86-7-8.77v2.06c2.89.86 5 3.54 5 6.71zM4.27 3L3 4.27 7.73 9H3v6h4l5 5v-6.73l4.25 4.25c-.67.52-1.42.93-2.25 1.18v2.06c1.45-.54 2.78-1.32 3.97-2.27L19.73 21 21 19.73l-9-9L4.27 3zM12 4L9.91 6.09 12 8.18V4z" });
|
|
36
|
+
if (!icons.has("xplat-send")) icons.set("xplat-send", { svg: "M4 12l1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8-8 8z" });
|
|
37
|
+
if (!icons.has("xplat-stop")) icons.set("xplat-stop", { svg: "M6 6h12v12H6z" });
|
|
38
|
+
if (!icons.has("xplat-chevron-down")) icons.set("xplat-chevron-down", { svg: "M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z" });
|
|
39
|
+
if (!icons.has("xplat-clock")) icons.set("xplat-clock", { svg: "M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z" });
|
|
40
|
+
if (!icons.has("xplat-check")) icons.set("xplat-check", { svg: "M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z" });
|
|
41
|
+
if (!icons.has("xplat-check-double")) icons.set("xplat-check-double", { svg: "M0.41 13.41L6 19l1.41-1.42L1.83 12zM22.24 5.58L11.66 16.17 7.5 12l-1.43 1.41 5.59 5.59L23.66 7zM18 7l-1.41-1.42-6.35 6.35 1.41 1.41L18 7z" });
|
|
42
|
+
if (!icons.has("xplat-error")) icons.set("xplat-error", { svg: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z" });
|
|
43
|
+
if (!icons.has("xplat-warning")) icons.set("xplat-warning", { svg: "M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z" });
|
|
44
|
+
if (!icons.has("xplat-wrench")) icons.set("xplat-wrench", { svg: "M22.7 19l-9.1-9.1c.9-2.3.4-5-1.5-6.9-2-2-5-2.4-7.4-1.3L9 6 6 9 1.6 4.7C.4 7.1.9 10.1 2.9 12.1c1.9 1.9 4.6 2.4 6.9 1.5l9.1 9.1c.4.4 1 .4 1.4 0l2.3-2.3c.5-.4.5-1.1.1-1.4z" });
|
|
45
|
+
if (!icons.has("xplat-mic")) icons.set("xplat-mic", { svg: "M12 14c1.66 0 2.99-1.34 2.99-3L15 5c0-1.66-1.34-3-3-3S9 3.34 9 5v6c0 1.66 1.34 3 3 3zm5.3-3c0 3-2.54 5.1-5.3 5.1S6.7 14 6.7 11H5c0 3.41 2.72 6.23 6 6.72V21h2v-3.28c3.28-.48 6-3.3 6-6.72h-1.7z" });
|
|
24
46
|
//#endregion
|
|
25
47
|
export { getIcon, registerIcon, registerIcons };
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
//#region src/image-content.ts
|
|
2
|
+
/** Shared `contentFit`/`contentPosition` + multi-source math for `Image` —
|
|
3
|
+
* pure functions used by every leaf (docs/notes/expo-image-study.md L7/L8).
|
|
4
|
+
* Semantics mirror CSS `object-fit`/`object-position`, which is also
|
|
5
|
+
* expo-image's contract: the leaves compute the drawn-content rect
|
|
6
|
+
* themselves instead of delegating to platform scaleType/contentMode,
|
|
7
|
+
* so all platforms get the same answer.
|
|
8
|
+
*
|
|
9
|
+
* The default fit is 'cover' everywhere (the expo/RN default). Today's
|
|
10
|
+
* platform defaults disagree — web <img> is 'fill' and NS stretch is
|
|
11
|
+
* 'aspectFit' — so an un-propped Image was silently divergent. */
|
|
12
|
+
var DEFAULT_CONTENT_FIT = "cover";
|
|
13
|
+
function resolveContentFit(fit) {
|
|
14
|
+
return fit ?? "cover";
|
|
15
|
+
}
|
|
16
|
+
/** expo-image's keyword shorthands; the object form positions relative to
|
|
17
|
+
* any corner pair ({top,left}, {top,right}, {bottom,left}, {bottom,right}). */
|
|
18
|
+
var POSITION_KEYWORDS = {
|
|
19
|
+
center: {
|
|
20
|
+
top: "50%",
|
|
21
|
+
left: "50%"
|
|
22
|
+
},
|
|
23
|
+
top: {
|
|
24
|
+
top: 0,
|
|
25
|
+
left: "50%"
|
|
26
|
+
},
|
|
27
|
+
right: {
|
|
28
|
+
top: "50%",
|
|
29
|
+
right: 0
|
|
30
|
+
},
|
|
31
|
+
bottom: {
|
|
32
|
+
bottom: 0,
|
|
33
|
+
left: "50%"
|
|
34
|
+
},
|
|
35
|
+
left: {
|
|
36
|
+
top: "50%",
|
|
37
|
+
left: 0
|
|
38
|
+
},
|
|
39
|
+
"top center": {
|
|
40
|
+
top: 0,
|
|
41
|
+
left: "50%"
|
|
42
|
+
},
|
|
43
|
+
"top right": {
|
|
44
|
+
top: 0,
|
|
45
|
+
right: 0
|
|
46
|
+
},
|
|
47
|
+
"top left": {
|
|
48
|
+
top: 0,
|
|
49
|
+
left: 0
|
|
50
|
+
},
|
|
51
|
+
"right center": {
|
|
52
|
+
top: "50%",
|
|
53
|
+
right: 0
|
|
54
|
+
},
|
|
55
|
+
"right top": {
|
|
56
|
+
top: 0,
|
|
57
|
+
right: 0
|
|
58
|
+
},
|
|
59
|
+
"right bottom": {
|
|
60
|
+
bottom: 0,
|
|
61
|
+
right: 0
|
|
62
|
+
},
|
|
63
|
+
"bottom center": {
|
|
64
|
+
bottom: 0,
|
|
65
|
+
left: "50%"
|
|
66
|
+
},
|
|
67
|
+
"bottom right": {
|
|
68
|
+
bottom: 0,
|
|
69
|
+
right: 0
|
|
70
|
+
},
|
|
71
|
+
"bottom left": {
|
|
72
|
+
bottom: 0,
|
|
73
|
+
left: 0
|
|
74
|
+
},
|
|
75
|
+
"left center": {
|
|
76
|
+
top: "50%",
|
|
77
|
+
left: 0
|
|
78
|
+
},
|
|
79
|
+
"left top": {
|
|
80
|
+
top: 0,
|
|
81
|
+
left: 0
|
|
82
|
+
},
|
|
83
|
+
"left bottom": {
|
|
84
|
+
bottom: 0,
|
|
85
|
+
left: 0
|
|
86
|
+
}
|
|
87
|
+
};
|
|
88
|
+
function resolveContentPosition(position) {
|
|
89
|
+
if (typeof position === "string") return POSITION_KEYWORDS[position] ?? POSITION_KEYWORDS.center;
|
|
90
|
+
return position ?? POSITION_KEYWORDS.center;
|
|
91
|
+
}
|
|
92
|
+
function ensureWebUnits(value) {
|
|
93
|
+
const text = String(value).trim();
|
|
94
|
+
return text.endsWith("%") ? text : `${text}px`;
|
|
95
|
+
}
|
|
96
|
+
/** Browser `object-position` for a resolved position — mirrors expo-image
|
|
97
|
+
* web's `getObjectPositionFromContentPositionObject`. */
|
|
98
|
+
function objectPositionCSSValue(position) {
|
|
99
|
+
const resolved = { ...position };
|
|
100
|
+
if (resolved.top == null && resolved.bottom == null) resolved.top = "50%";
|
|
101
|
+
if (resolved.left == null && resolved.right == null) resolved.left = "50%";
|
|
102
|
+
return [
|
|
103
|
+
"top",
|
|
104
|
+
"bottom",
|
|
105
|
+
"left",
|
|
106
|
+
"right"
|
|
107
|
+
].map((edge) => resolved[edge] != null ? `${edge} ${ensureWebUnits(resolved[edge])}` : "").filter((part) => part !== "").join(" ") || "50% 50%";
|
|
108
|
+
}
|
|
109
|
+
/** Browser `srcset` candidates for a source array: `w` descriptors (real
|
|
110
|
+
* file px = width·scale) when every source is sized, `x` descriptors when
|
|
111
|
+
* every source only carries density. `src` falls back to the largest
|
|
112
|
+
* declared pixel count — guaranteed coverage where srcset is ignored. */
|
|
113
|
+
function imageSrcSet(sources) {
|
|
114
|
+
if (sources.length === 0) return { src: "" };
|
|
115
|
+
const everyWidth = sources.every((source) => typeof source.width === "number" && source.width > 0);
|
|
116
|
+
const everyScale = !everyWidth && sources.every((source) => typeof source.scale === "number" && source.scale > 0);
|
|
117
|
+
const srcSet = everyWidth ? sources.map((source) => `${source.uri} ${Math.round(source.width * (source.scale ?? 1))}w`).join(", ") : everyScale ? sources.map((source) => `${source.uri} ${source.scale}x`).join(", ") : void 0;
|
|
118
|
+
let fallback = sources[0];
|
|
119
|
+
let bestCount = -Infinity;
|
|
120
|
+
for (const source of sources) {
|
|
121
|
+
const count = (source.width ?? 0) * (source.height ?? 0) * (source.scale ?? 1) ** 2;
|
|
122
|
+
if (count > bestCount) {
|
|
123
|
+
bestCount = count;
|
|
124
|
+
fallback = source;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
return {
|
|
128
|
+
src: fallback.uri,
|
|
129
|
+
srcSet
|
|
130
|
+
};
|
|
131
|
+
}
|
|
132
|
+
//#endregion
|
|
133
|
+
export { DEFAULT_CONTENT_FIT, imageSrcSet, objectPositionCSSValue, resolveContentFit, resolveContentPosition };
|