@oxy.so/bloom 19.5.2 → 19.7.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/docs/adoption-matrix.mdx +19 -19
- package/docs/app-shell.mdx +18 -11
- package/docs/bottom-bar.mdx +57 -1
- package/docs/button.mdx +19 -0
- package/docs/chat-composer.mdx +59 -1
- package/docs/compose-layouts.mdx +114 -2
- package/docs/dialog.mdx +7 -0
- package/docs/engagement-bar.mdx +9 -0
- package/docs/icons.mdx +22 -0
- package/docs/layout.mdx +1 -1
- package/docs/list.mdx +4 -3
- package/docs/page-header.mdx +7 -0
- package/docs/public-parts.mdx +14 -3
- package/docs/screen.mdx +4 -0
- package/docs/scroll.mdx +6 -3
- package/docs/sidebar.mdx +26 -5
- package/docs/tab-pager.mdx +10 -0
- package/docs/task-catalog.json +1 -1
- package/docs/task-catalog.mdx +1 -1
- package/lib/commonjs/app-shell/AppShell.js +3 -3
- package/lib/commonjs/app-shell/AppShell.js.map +1 -1
- package/lib/commonjs/app-shell/AppShellEngine.js +2 -1
- package/lib/commonjs/app-shell/AppShellEngine.js.map +1 -1
- package/lib/commonjs/app-shell/AppShellPanelLayout.js +345 -172
- package/lib/commonjs/app-shell/AppShellPanelLayout.js.map +1 -1
- package/lib/commonjs/app-shell/RetainedPanelLayout.js +6 -0
- package/lib/commonjs/app-shell/RetainedPanelLayout.js.map +1 -1
- package/lib/commonjs/app-shell/panel-layout-css.js +20 -13
- package/lib/commonjs/app-shell/panel-layout-css.js.map +1 -1
- package/lib/commonjs/app-shell/panel-layout.js +33 -185
- package/lib/commonjs/app-shell/panel-layout.js.map +1 -1
- package/lib/commonjs/app-shell/panel-motion.js +13 -36
- package/lib/commonjs/app-shell/panel-motion.js.map +1 -1
- package/lib/commonjs/app-shell/panel-transitions.js +26 -0
- package/lib/commonjs/app-shell/panel-transitions.js.map +1 -0
- package/lib/commonjs/app-shell/shell-layout-css.js +2 -2
- package/lib/commonjs/app-shell/shell-layout-css.js.map +1 -1
- package/lib/commonjs/app-shell/use-panel-exit-completion.js +100 -0
- package/lib/commonjs/app-shell/use-panel-exit-completion.js.map +1 -0
- package/lib/commonjs/app-shell/use-panel-resize.js +21 -7
- package/lib/commonjs/app-shell/use-panel-resize.js.map +1 -1
- package/lib/commonjs/app-shell/use-panel-reveal.js +2 -1
- package/lib/commonjs/app-shell/use-panel-reveal.js.map +1 -1
- package/lib/commonjs/bottom-bar/BottomBarBase.js +141 -37
- package/lib/commonjs/bottom-bar/BottomBarBase.js.map +1 -1
- package/lib/commonjs/bottom-sheet/BottomSheetBase.js +3 -2
- package/lib/commonjs/bottom-sheet/BottomSheetBase.js.map +1 -1
- package/lib/commonjs/button/GlyphAttention.js +110 -0
- package/lib/commonjs/button/GlyphAttention.js.map +1 -0
- package/lib/commonjs/button/GlyphButton.js +18 -7
- package/lib/commonjs/button/GlyphButton.js.map +1 -1
- package/lib/commonjs/chat-composer/CompactComposer.js +18 -0
- package/lib/commonjs/chat-composer/CompactComposer.js.map +1 -0
- package/lib/commonjs/chat-composer/CompactComposer.web.js +18 -0
- package/lib/commonjs/chat-composer/CompactComposer.web.js.map +1 -0
- package/lib/commonjs/chat-composer/compact-text.js +11 -0
- package/lib/commonjs/chat-composer/compact-text.js.map +1 -0
- package/lib/commonjs/chat-composer/compact-types.js +6 -0
- package/lib/commonjs/chat-composer/compact-types.js.map +1 -0
- package/lib/commonjs/chat-composer/create-compact-composer.js +185 -0
- package/lib/commonjs/chat-composer/create-compact-composer.js.map +1 -0
- package/lib/commonjs/chat-composer/index.js +14 -0
- package/lib/commonjs/chat-composer/index.js.map +1 -1
- package/lib/commonjs/chat-composer/index.web.js +14 -0
- package/lib/commonjs/chat-composer/index.web.js.map +1 -1
- package/lib/commonjs/chat-composer/messages.js +8 -1
- package/lib/commonjs/chat-composer/messages.js.map +1 -1
- package/lib/commonjs/dialog/DialogBottomSheet.js +6 -3
- package/lib/commonjs/dialog/DialogBottomSheet.js.map +1 -1
- package/lib/commonjs/engagement-bar/EngagementAction.js +6 -5
- package/lib/commonjs/engagement-bar/EngagementAction.js.map +1 -1
- package/lib/commonjs/engagement-bar/EngagementBar.js +31 -7
- package/lib/commonjs/engagement-bar/EngagementBar.js.map +1 -1
- package/lib/commonjs/engagement-bar/EngagementPop.js +10 -3
- package/lib/commonjs/engagement-bar/EngagementPop.js.map +1 -1
- package/lib/commonjs/engagement-bar/context.js.map +1 -1
- package/lib/commonjs/engagement-bar/paint.js +59 -12
- package/lib/commonjs/engagement-bar/paint.js.map +1 -1
- package/lib/commonjs/hooks/use-border-box-size.js +46 -0
- package/lib/commonjs/hooks/use-border-box-size.js.map +1 -0
- package/lib/commonjs/icons/index.js +12 -0
- package/lib/commonjs/icons/index.js.map +1 -1
- package/lib/commonjs/icons/social/BookmarkFillIcon.js +12 -0
- package/lib/commonjs/icons/social/BookmarkFillIcon.js.map +1 -0
- package/lib/commonjs/icons/social/BookmarkIcon.js +12 -0
- package/lib/commonjs/icons/social/BookmarkIcon.js.map +1 -0
- package/lib/commonjs/icons/social/GifAttachmentIcon.js +12 -0
- package/lib/commonjs/icons/social/GifAttachmentIcon.js.map +1 -0
- package/lib/commonjs/icons/social/LikeFillIcon.js +13 -0
- package/lib/commonjs/icons/social/LikeFillIcon.js.map +1 -0
- package/lib/commonjs/icons/social/LikeIcon.js +14 -0
- package/lib/commonjs/icons/social/LikeIcon.js.map +1 -0
- package/lib/commonjs/icons/social/MediaAttachmentIcon.js +12 -0
- package/lib/commonjs/icons/social/MediaAttachmentIcon.js.map +1 -0
- package/lib/commonjs/icons/social/ReplyIcon.js +14 -0
- package/lib/commonjs/icons/social/ReplyIcon.js.map +1 -0
- package/lib/commonjs/icons/social/RepostIcon.js +12 -0
- package/lib/commonjs/icons/social/RepostIcon.js.map +1 -0
- package/lib/commonjs/icons/social/ShareIcon.js +12 -0
- package/lib/commonjs/icons/social/ShareIcon.js.map +1 -0
- package/lib/commonjs/icons/social/index.js +69 -0
- package/lib/commonjs/icons/social/index.js.map +1 -0
- package/lib/commonjs/index.js +14 -0
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/index.web.js +14 -0
- package/lib/commonjs/index.web.js.map +1 -1
- package/lib/commonjs/layout/ScrollBar.web.js +62 -29
- package/lib/commonjs/layout/ScrollBar.web.js.map +1 -1
- package/lib/commonjs/layout/bottom-edge.js +14 -0
- package/lib/commonjs/layout/bottom-edge.js.map +1 -1
- package/lib/commonjs/layout/scroll-metrics.js.map +1 -1
- package/lib/commonjs/list/VirtualList.js +12 -0
- package/lib/commonjs/list/VirtualList.js.map +1 -1
- package/lib/commonjs/list/VirtualList.web.js +40 -19
- package/lib/commonjs/list/VirtualList.web.js.map +1 -1
- package/lib/commonjs/list/flash-list-module.js.map +1 -1
- package/lib/commonjs/locale/translations/ar.js +8 -0
- package/lib/commonjs/locale/translations/ar.js.map +1 -1
- package/lib/commonjs/locale/translations/bn.js +8 -0
- package/lib/commonjs/locale/translations/bn.js.map +1 -1
- package/lib/commonjs/locale/translations/ca.js +8 -0
- package/lib/commonjs/locale/translations/ca.js.map +1 -1
- package/lib/commonjs/locale/translations/de.js +8 -0
- package/lib/commonjs/locale/translations/de.js.map +1 -1
- package/lib/commonjs/locale/translations/es.js +8 -0
- package/lib/commonjs/locale/translations/es.js.map +1 -1
- package/lib/commonjs/locale/translations/fr.js +8 -0
- package/lib/commonjs/locale/translations/fr.js.map +1 -1
- package/lib/commonjs/locale/translations/hi.js +8 -0
- package/lib/commonjs/locale/translations/hi.js.map +1 -1
- package/lib/commonjs/locale/translations/id.js +8 -0
- package/lib/commonjs/locale/translations/id.js.map +1 -1
- package/lib/commonjs/locale/translations/it.js +8 -0
- package/lib/commonjs/locale/translations/it.js.map +1 -1
- package/lib/commonjs/locale/translations/ja.js +8 -0
- package/lib/commonjs/locale/translations/ja.js.map +1 -1
- package/lib/commonjs/locale/translations/pt.js +8 -0
- package/lib/commonjs/locale/translations/pt.js.map +1 -1
- package/lib/commonjs/locale/translations/ru.js +8 -0
- package/lib/commonjs/locale/translations/ru.js.map +1 -1
- package/lib/commonjs/locale/translations/tr.js +8 -0
- package/lib/commonjs/locale/translations/tr.js.map +1 -1
- package/lib/commonjs/locale/translations/zh.js +8 -0
- package/lib/commonjs/locale/translations/zh.js.map +1 -1
- package/lib/commonjs/page-header/EdgeScrim.js +14 -4
- package/lib/commonjs/page-header/EdgeScrim.js.map +1 -1
- package/lib/commonjs/page-header/PageHeader.js +19 -6
- package/lib/commonjs/page-header/PageHeader.js.map +1 -1
- package/lib/commonjs/screen/ScreenBase.js +15 -6
- package/lib/commonjs/screen/ScreenBase.js.map +1 -1
- package/lib/commonjs/screen/ScreenScrollViewBase.js +12 -2
- package/lib/commonjs/screen/ScreenScrollViewBase.js.map +1 -1
- package/lib/commonjs/screen/context.js.map +1 -1
- package/lib/commonjs/screen/use-intrinsic-content-height.js +53 -0
- package/lib/commonjs/screen/use-intrinsic-content-height.js.map +1 -0
- package/lib/commonjs/screen/use-screen-viewport.js +37 -6
- package/lib/commonjs/screen/use-screen-viewport.js.map +1 -1
- package/lib/commonjs/scroll/constants.js +4 -1
- package/lib/commonjs/scroll/constants.js.map +1 -1
- package/lib/commonjs/scroll/owner-handoff.js +27 -7
- package/lib/commonjs/scroll/owner-handoff.js.map +1 -1
- package/lib/commonjs/scroll/use-scroll-restoration.web.js +2 -11
- package/lib/commonjs/scroll/use-scroll-restoration.web.js.map +1 -1
- package/lib/commonjs/sidebar/Sidebar.js +121 -87
- package/lib/commonjs/sidebar/Sidebar.js.map +1 -1
- package/lib/commonjs/sidebar/arrangement.js +36 -0
- package/lib/commonjs/sidebar/arrangement.js.map +1 -0
- package/lib/commonjs/sidebar/index.js.map +1 -1
- package/lib/commonjs/tab-bar/TabBarBase.js +126 -20
- package/lib/commonjs/tab-bar/TabBarBase.js.map +1 -1
- package/lib/commonjs/tab-bar/shared.js +3 -1
- package/lib/commonjs/tab-bar/shared.js.map +1 -1
- package/lib/commonjs/tab-pager/TabPagerBottomBar.js +12 -2
- package/lib/commonjs/tab-pager/TabPagerBottomBar.js.map +1 -1
- package/lib/module/app-shell/AppShell.js +3 -3
- package/lib/module/app-shell/AppShell.js.map +1 -1
- package/lib/module/app-shell/AppShellEngine.js +2 -1
- package/lib/module/app-shell/AppShellEngine.js.map +1 -1
- package/lib/module/app-shell/AppShellPanelLayout.js +319 -147
- package/lib/module/app-shell/AppShellPanelLayout.js.map +1 -1
- package/lib/module/app-shell/RetainedPanelLayout.js +7 -1
- package/lib/module/app-shell/RetainedPanelLayout.js.map +1 -1
- package/lib/module/app-shell/panel-layout-css.js +19 -12
- package/lib/module/app-shell/panel-layout-css.js.map +1 -1
- package/lib/module/app-shell/panel-layout.js +32 -183
- package/lib/module/app-shell/panel-layout.js.map +1 -1
- package/lib/module/app-shell/panel-motion.js +14 -36
- package/lib/module/app-shell/panel-motion.js.map +1 -1
- package/lib/module/app-shell/panel-transitions.js +21 -0
- package/lib/module/app-shell/panel-transitions.js.map +1 -0
- package/lib/module/app-shell/shell-layout-css.js +2 -2
- package/lib/module/app-shell/shell-layout-css.js.map +1 -1
- package/lib/module/app-shell/use-panel-exit-completion.js +97 -0
- package/lib/module/app-shell/use-panel-exit-completion.js.map +1 -0
- package/lib/module/app-shell/use-panel-resize.js +22 -8
- package/lib/module/app-shell/use-panel-resize.js.map +1 -1
- package/lib/module/app-shell/use-panel-reveal.js +2 -1
- package/lib/module/app-shell/use-panel-reveal.js.map +1 -1
- package/lib/module/bottom-bar/BottomBarBase.js +143 -39
- package/lib/module/bottom-bar/BottomBarBase.js.map +1 -1
- package/lib/module/bottom-sheet/BottomSheetBase.js +3 -2
- package/lib/module/bottom-sheet/BottomSheetBase.js.map +1 -1
- package/lib/module/button/GlyphAttention.js +104 -0
- package/lib/module/button/GlyphAttention.js.map +1 -0
- package/lib/module/button/GlyphButton.js +18 -7
- package/lib/module/button/GlyphButton.js.map +1 -1
- package/lib/module/chat-composer/CompactComposer.js +14 -0
- package/lib/module/chat-composer/CompactComposer.js.map +1 -0
- package/lib/module/chat-composer/CompactComposer.web.js +14 -0
- package/lib/module/chat-composer/CompactComposer.web.js.map +1 -0
- package/lib/module/chat-composer/compact-text.js +7 -0
- package/lib/module/chat-composer/compact-text.js.map +1 -0
- package/lib/module/chat-composer/compact-types.js +4 -0
- package/lib/module/chat-composer/compact-types.js.map +1 -0
- package/lib/module/chat-composer/create-compact-composer.js +181 -0
- package/lib/module/chat-composer/create-compact-composer.js.map +1 -0
- package/lib/module/chat-composer/index.js +2 -0
- package/lib/module/chat-composer/index.js.map +1 -1
- package/lib/module/chat-composer/index.web.js +2 -0
- package/lib/module/chat-composer/index.web.js.map +1 -1
- package/lib/module/chat-composer/messages.js +7 -0
- package/lib/module/chat-composer/messages.js.map +1 -1
- package/lib/module/dialog/DialogBottomSheet.js +6 -3
- package/lib/module/dialog/DialogBottomSheet.js.map +1 -1
- package/lib/module/engagement-bar/EngagementAction.js +7 -6
- package/lib/module/engagement-bar/EngagementAction.js.map +1 -1
- package/lib/module/engagement-bar/EngagementBar.js +29 -5
- package/lib/module/engagement-bar/EngagementBar.js.map +1 -1
- package/lib/module/engagement-bar/EngagementPop.js +10 -3
- package/lib/module/engagement-bar/EngagementPop.js.map +1 -1
- package/lib/module/engagement-bar/context.js.map +1 -1
- package/lib/module/engagement-bar/paint.js +60 -13
- package/lib/module/engagement-bar/paint.js.map +1 -1
- package/lib/module/hooks/use-border-box-size.js +42 -0
- package/lib/module/hooks/use-border-box-size.js.map +1 -0
- package/lib/module/icons/index.js +2 -1
- package/lib/module/icons/index.js.map +1 -1
- package/lib/module/icons/social/BookmarkFillIcon.js +9 -0
- package/lib/module/icons/social/BookmarkFillIcon.js.map +1 -0
- package/lib/module/icons/social/BookmarkIcon.js +9 -0
- package/lib/module/icons/social/BookmarkIcon.js.map +1 -0
- package/lib/module/icons/social/GifAttachmentIcon.js +9 -0
- package/lib/module/icons/social/GifAttachmentIcon.js.map +1 -0
- package/lib/module/icons/social/LikeFillIcon.js +10 -0
- package/lib/module/icons/social/LikeFillIcon.js.map +1 -0
- package/lib/module/icons/social/LikeIcon.js +11 -0
- package/lib/module/icons/social/LikeIcon.js.map +1 -0
- package/lib/module/icons/social/MediaAttachmentIcon.js +9 -0
- package/lib/module/icons/social/MediaAttachmentIcon.js.map +1 -0
- package/lib/module/icons/social/ReplyIcon.js +11 -0
- package/lib/module/icons/social/ReplyIcon.js.map +1 -0
- package/lib/module/icons/social/RepostIcon.js +9 -0
- package/lib/module/icons/social/RepostIcon.js.map +1 -0
- package/lib/module/icons/social/ShareIcon.js +9 -0
- package/lib/module/icons/social/ShareIcon.js.map +1 -0
- package/lib/module/icons/social/index.js +12 -0
- package/lib/module/icons/social/index.js.map +1 -0
- package/lib/module/index.js +1 -1
- package/lib/module/index.js.map +1 -1
- package/lib/module/index.web.js +1 -1
- package/lib/module/index.web.js.map +1 -1
- package/lib/module/layout/ScrollBar.web.js +64 -31
- package/lib/module/layout/ScrollBar.web.js.map +1 -1
- package/lib/module/layout/bottom-edge.js +14 -1
- package/lib/module/layout/bottom-edge.js.map +1 -1
- package/lib/module/layout/scroll-metrics.js.map +1 -1
- package/lib/module/list/VirtualList.js +12 -0
- package/lib/module/list/VirtualList.js.map +1 -1
- package/lib/module/list/VirtualList.web.js +41 -20
- package/lib/module/list/VirtualList.web.js.map +1 -1
- package/lib/module/list/flash-list-module.js.map +1 -1
- package/lib/module/locale/translations/ar.js +8 -0
- package/lib/module/locale/translations/ar.js.map +1 -1
- package/lib/module/locale/translations/bn.js +8 -0
- package/lib/module/locale/translations/bn.js.map +1 -1
- package/lib/module/locale/translations/ca.js +8 -0
- package/lib/module/locale/translations/ca.js.map +1 -1
- package/lib/module/locale/translations/de.js +8 -0
- package/lib/module/locale/translations/de.js.map +1 -1
- package/lib/module/locale/translations/es.js +8 -0
- package/lib/module/locale/translations/es.js.map +1 -1
- package/lib/module/locale/translations/fr.js +8 -0
- package/lib/module/locale/translations/fr.js.map +1 -1
- package/lib/module/locale/translations/hi.js +8 -0
- package/lib/module/locale/translations/hi.js.map +1 -1
- package/lib/module/locale/translations/id.js +8 -0
- package/lib/module/locale/translations/id.js.map +1 -1
- package/lib/module/locale/translations/it.js +8 -0
- package/lib/module/locale/translations/it.js.map +1 -1
- package/lib/module/locale/translations/ja.js +8 -0
- package/lib/module/locale/translations/ja.js.map +1 -1
- package/lib/module/locale/translations/pt.js +8 -0
- package/lib/module/locale/translations/pt.js.map +1 -1
- package/lib/module/locale/translations/ru.js +8 -0
- package/lib/module/locale/translations/ru.js.map +1 -1
- package/lib/module/locale/translations/tr.js +8 -0
- package/lib/module/locale/translations/tr.js.map +1 -1
- package/lib/module/locale/translations/zh.js +8 -0
- package/lib/module/locale/translations/zh.js.map +1 -1
- package/lib/module/page-header/EdgeScrim.js +14 -4
- package/lib/module/page-header/EdgeScrim.js.map +1 -1
- package/lib/module/page-header/PageHeader.js +19 -6
- package/lib/module/page-header/PageHeader.js.map +1 -1
- package/lib/module/screen/ScreenBase.js +15 -6
- package/lib/module/screen/ScreenBase.js.map +1 -1
- package/lib/module/screen/ScreenScrollViewBase.js +12 -2
- package/lib/module/screen/ScreenScrollViewBase.js.map +1 -1
- package/lib/module/screen/context.js.map +1 -1
- package/lib/module/screen/use-intrinsic-content-height.js +50 -0
- package/lib/module/screen/use-intrinsic-content-height.js.map +1 -0
- package/lib/module/screen/use-screen-viewport.js +39 -8
- package/lib/module/screen/use-screen-viewport.js.map +1 -1
- package/lib/module/scroll/constants.js +3 -0
- package/lib/module/scroll/constants.js.map +1 -1
- package/lib/module/scroll/owner-handoff.js +27 -8
- package/lib/module/scroll/owner-handoff.js.map +1 -1
- package/lib/module/scroll/use-scroll-restoration.web.js +1 -10
- package/lib/module/scroll/use-scroll-restoration.web.js.map +1 -1
- package/lib/module/sidebar/Sidebar.js +121 -87
- package/lib/module/sidebar/Sidebar.js.map +1 -1
- package/lib/module/sidebar/arrangement.js +32 -0
- package/lib/module/sidebar/arrangement.js.map +1 -0
- package/lib/module/sidebar/index.js.map +1 -1
- package/lib/module/tab-bar/TabBarBase.js +130 -23
- package/lib/module/tab-bar/TabBarBase.js.map +1 -1
- package/lib/module/tab-bar/shared.js +2 -0
- package/lib/module/tab-bar/shared.js.map +1 -1
- package/lib/module/tab-pager/TabPagerBottomBar.js +13 -3
- package/lib/module/tab-pager/TabPagerBottomBar.js.map +1 -1
- package/lib/typescript/commonjs/app-shell/AppShell.d.ts.map +1 -1
- package/lib/typescript/commonjs/app-shell/AppShellEngine.d.ts.map +1 -1
- package/lib/typescript/commonjs/app-shell/AppShellPanelLayout.d.ts.map +1 -1
- package/lib/typescript/commonjs/app-shell/RetainedPanelLayout.d.ts.map +1 -1
- package/lib/typescript/commonjs/app-shell/panel-layout-css.d.ts +2 -1
- package/lib/typescript/commonjs/app-shell/panel-layout-css.d.ts.map +1 -1
- package/lib/typescript/commonjs/app-shell/panel-layout-types.d.ts +11 -2
- package/lib/typescript/commonjs/app-shell/panel-layout-types.d.ts.map +1 -1
- package/lib/typescript/commonjs/app-shell/panel-layout.d.ts +13 -27
- package/lib/typescript/commonjs/app-shell/panel-layout.d.ts.map +1 -1
- package/lib/typescript/commonjs/app-shell/panel-motion.d.ts +1 -12
- package/lib/typescript/commonjs/app-shell/panel-motion.d.ts.map +1 -1
- package/lib/typescript/commonjs/app-shell/panel-transitions.d.ts +4 -0
- package/lib/typescript/commonjs/app-shell/panel-transitions.d.ts.map +1 -0
- package/lib/typescript/commonjs/app-shell/shell-layout-css.d.ts.map +1 -1
- package/lib/typescript/commonjs/app-shell/types.d.ts +4 -0
- package/lib/typescript/commonjs/app-shell/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/app-shell/use-panel-exit-completion.d.ts +14 -0
- package/lib/typescript/commonjs/app-shell/use-panel-exit-completion.d.ts.map +1 -0
- package/lib/typescript/commonjs/app-shell/use-panel-reorder.d.ts +2 -2
- package/lib/typescript/commonjs/app-shell/use-panel-reorder.d.ts.map +1 -1
- package/lib/typescript/commonjs/app-shell/use-panel-resize.d.ts +4 -2
- package/lib/typescript/commonjs/app-shell/use-panel-resize.d.ts.map +1 -1
- package/lib/typescript/commonjs/app-shell/use-panel-reveal.d.ts +2 -2
- package/lib/typescript/commonjs/app-shell/use-panel-reveal.d.ts.map +1 -1
- package/lib/typescript/commonjs/bottom-bar/BottomBarBase.d.ts +1 -1
- package/lib/typescript/commonjs/bottom-bar/BottomBarBase.d.ts.map +1 -1
- package/lib/typescript/commonjs/bottom-bar/types.d.ts +10 -2
- package/lib/typescript/commonjs/bottom-bar/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/bottom-sheet/BottomSheetBase.d.ts.map +1 -1
- package/lib/typescript/commonjs/bottom-sheet/types.d.ts +2 -0
- package/lib/typescript/commonjs/bottom-sheet/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/button/GlyphAttention.d.ts +11 -0
- package/lib/typescript/commonjs/button/GlyphAttention.d.ts.map +1 -0
- package/lib/typescript/commonjs/button/GlyphButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/button/types.d.ts +11 -0
- package/lib/typescript/commonjs/button/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/chat-composer/CompactComposer.d.ts +2 -0
- package/lib/typescript/commonjs/chat-composer/CompactComposer.d.ts.map +1 -0
- package/lib/typescript/commonjs/chat-composer/CompactComposer.web.d.ts +2 -0
- package/lib/typescript/commonjs/chat-composer/CompactComposer.web.d.ts.map +1 -0
- package/lib/typescript/commonjs/chat-composer/compact-text.d.ts +3 -0
- package/lib/typescript/commonjs/chat-composer/compact-text.d.ts.map +1 -0
- package/lib/typescript/commonjs/chat-composer/compact-types.d.ts +45 -0
- package/lib/typescript/commonjs/chat-composer/compact-types.d.ts.map +1 -0
- package/lib/typescript/commonjs/chat-composer/create-compact-composer.d.ts +13 -0
- package/lib/typescript/commonjs/chat-composer/create-compact-composer.d.ts.map +1 -0
- package/lib/typescript/commonjs/chat-composer/index.d.ts +3 -0
- package/lib/typescript/commonjs/chat-composer/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/chat-composer/index.web.d.ts +3 -0
- package/lib/typescript/commonjs/chat-composer/index.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/chat-composer/messages.d.ts +8 -0
- package/lib/typescript/commonjs/chat-composer/messages.d.ts.map +1 -1
- package/lib/typescript/commonjs/dialog/DialogBottomSheet.d.ts +2 -2
- package/lib/typescript/commonjs/dialog/DialogBottomSheet.d.ts.map +1 -1
- package/lib/typescript/commonjs/dialog/types.d.ts +2 -0
- package/lib/typescript/commonjs/dialog/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/engagement-bar/EngagementAction.d.ts.map +1 -1
- package/lib/typescript/commonjs/engagement-bar/EngagementBar.d.ts +3 -3
- package/lib/typescript/commonjs/engagement-bar/EngagementBar.d.ts.map +1 -1
- package/lib/typescript/commonjs/engagement-bar/EngagementPop.d.ts +2 -1
- package/lib/typescript/commonjs/engagement-bar/EngagementPop.d.ts.map +1 -1
- package/lib/typescript/commonjs/engagement-bar/context.d.ts +1 -0
- package/lib/typescript/commonjs/engagement-bar/context.d.ts.map +1 -1
- package/lib/typescript/commonjs/engagement-bar/paint.d.ts +4 -2
- package/lib/typescript/commonjs/engagement-bar/paint.d.ts.map +1 -1
- package/lib/typescript/commonjs/engagement-bar/types.d.ts +10 -1
- package/lib/typescript/commonjs/engagement-bar/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/hooks/use-border-box-size.d.ts +13 -0
- package/lib/typescript/commonjs/hooks/use-border-box-size.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/index.d.ts +1 -0
- package/lib/typescript/commonjs/icons/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/icons/social/BookmarkFillIcon.d.ts +8 -0
- package/lib/typescript/commonjs/icons/social/BookmarkFillIcon.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/social/BookmarkIcon.d.ts +8 -0
- package/lib/typescript/commonjs/icons/social/BookmarkIcon.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/social/GifAttachmentIcon.d.ts +8 -0
- package/lib/typescript/commonjs/icons/social/GifAttachmentIcon.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/social/LikeFillIcon.d.ts +8 -0
- package/lib/typescript/commonjs/icons/social/LikeFillIcon.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/social/LikeIcon.d.ts +8 -0
- package/lib/typescript/commonjs/icons/social/LikeIcon.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/social/MediaAttachmentIcon.d.ts +8 -0
- package/lib/typescript/commonjs/icons/social/MediaAttachmentIcon.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/social/ReplyIcon.d.ts +8 -0
- package/lib/typescript/commonjs/icons/social/ReplyIcon.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/social/RepostIcon.d.ts +8 -0
- package/lib/typescript/commonjs/icons/social/RepostIcon.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/social/ShareIcon.d.ts +8 -0
- package/lib/typescript/commonjs/icons/social/ShareIcon.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/social/index.d.ts +10 -0
- package/lib/typescript/commonjs/icons/social/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/index.d.ts +2 -2
- package/lib/typescript/commonjs/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/index.web.d.ts +2 -2
- package/lib/typescript/commonjs/index.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/layout/ScrollBar.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/layout/bottom-edge.d.ts +2 -0
- package/lib/typescript/commonjs/layout/bottom-edge.d.ts.map +1 -1
- package/lib/typescript/commonjs/layout/scroll-metrics.d.ts +2 -0
- package/lib/typescript/commonjs/layout/scroll-metrics.d.ts.map +1 -1
- package/lib/typescript/commonjs/layout/types.d.ts +2 -2
- package/lib/typescript/commonjs/layout/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/list/VirtualList.d.ts.map +1 -1
- package/lib/typescript/commonjs/list/VirtualList.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/list/flash-list-module.d.ts +1 -1
- package/lib/typescript/commonjs/list/flash-list-module.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/ar.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/bn.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/ca.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/de.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/es.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/fr.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/hi.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/id.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/it.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/ja.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/pt.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/ru.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/tr.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/types.d.ts +2 -1
- package/lib/typescript/commonjs/locale/translations/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/zh.d.ts.map +1 -1
- package/lib/typescript/commonjs/page-header/EdgeScrim.d.ts +3 -1
- package/lib/typescript/commonjs/page-header/EdgeScrim.d.ts.map +1 -1
- package/lib/typescript/commonjs/page-header/PageHeader.d.ts +1 -1
- package/lib/typescript/commonjs/page-header/PageHeader.d.ts.map +1 -1
- package/lib/typescript/commonjs/page-header/types.d.ts +2 -0
- package/lib/typescript/commonjs/page-header/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/screen/ScreenBase.d.ts.map +1 -1
- package/lib/typescript/commonjs/screen/ScreenScrollViewBase.d.ts.map +1 -1
- package/lib/typescript/commonjs/screen/context.d.ts +3 -0
- package/lib/typescript/commonjs/screen/context.d.ts.map +1 -1
- package/lib/typescript/commonjs/screen/use-intrinsic-content-height.d.ts +3 -0
- package/lib/typescript/commonjs/screen/use-intrinsic-content-height.d.ts.map +1 -0
- package/lib/typescript/commonjs/screen/use-screen-viewport.d.ts.map +1 -1
- package/lib/typescript/commonjs/scroll/constants.d.ts +2 -0
- package/lib/typescript/commonjs/scroll/constants.d.ts.map +1 -1
- package/lib/typescript/commonjs/scroll/owner-handoff.d.ts +3 -1
- package/lib/typescript/commonjs/scroll/owner-handoff.d.ts.map +1 -1
- package/lib/typescript/commonjs/scroll/use-scroll-restoration.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/sidebar/Sidebar.d.ts.map +1 -1
- package/lib/typescript/commonjs/sidebar/arrangement.d.ts +32 -0
- package/lib/typescript/commonjs/sidebar/arrangement.d.ts.map +1 -0
- package/lib/typescript/commonjs/sidebar/index.d.ts +1 -0
- package/lib/typescript/commonjs/sidebar/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/sidebar/types.d.ts +13 -1
- package/lib/typescript/commonjs/sidebar/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/tab-bar/TabBarBase.d.ts.map +1 -1
- package/lib/typescript/commonjs/tab-bar/shared.d.ts +2 -0
- package/lib/typescript/commonjs/tab-bar/shared.d.ts.map +1 -1
- package/lib/typescript/commonjs/tab-bar/types.d.ts +2 -0
- package/lib/typescript/commonjs/tab-bar/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/tab-pager/TabPagerBottomBar.d.ts +1 -1
- package/lib/typescript/commonjs/tab-pager/TabPagerBottomBar.d.ts.map +1 -1
- package/lib/typescript/commonjs/tab-pager/types.d.ts +4 -1
- package/lib/typescript/commonjs/tab-pager/types.d.ts.map +1 -1
- package/lib/typescript/module/app-shell/AppShell.d.ts.map +1 -1
- package/lib/typescript/module/app-shell/AppShellEngine.d.ts.map +1 -1
- package/lib/typescript/module/app-shell/AppShellPanelLayout.d.ts.map +1 -1
- package/lib/typescript/module/app-shell/RetainedPanelLayout.d.ts.map +1 -1
- package/lib/typescript/module/app-shell/panel-layout-css.d.ts +2 -1
- package/lib/typescript/module/app-shell/panel-layout-css.d.ts.map +1 -1
- package/lib/typescript/module/app-shell/panel-layout-types.d.ts +11 -2
- package/lib/typescript/module/app-shell/panel-layout-types.d.ts.map +1 -1
- package/lib/typescript/module/app-shell/panel-layout.d.ts +13 -27
- package/lib/typescript/module/app-shell/panel-layout.d.ts.map +1 -1
- package/lib/typescript/module/app-shell/panel-motion.d.ts +1 -12
- package/lib/typescript/module/app-shell/panel-motion.d.ts.map +1 -1
- package/lib/typescript/module/app-shell/panel-transitions.d.ts +4 -0
- package/lib/typescript/module/app-shell/panel-transitions.d.ts.map +1 -0
- package/lib/typescript/module/app-shell/shell-layout-css.d.ts.map +1 -1
- package/lib/typescript/module/app-shell/types.d.ts +4 -0
- package/lib/typescript/module/app-shell/types.d.ts.map +1 -1
- package/lib/typescript/module/app-shell/use-panel-exit-completion.d.ts +14 -0
- package/lib/typescript/module/app-shell/use-panel-exit-completion.d.ts.map +1 -0
- package/lib/typescript/module/app-shell/use-panel-reorder.d.ts +2 -2
- package/lib/typescript/module/app-shell/use-panel-reorder.d.ts.map +1 -1
- package/lib/typescript/module/app-shell/use-panel-resize.d.ts +4 -2
- package/lib/typescript/module/app-shell/use-panel-resize.d.ts.map +1 -1
- package/lib/typescript/module/app-shell/use-panel-reveal.d.ts +2 -2
- package/lib/typescript/module/app-shell/use-panel-reveal.d.ts.map +1 -1
- package/lib/typescript/module/bottom-bar/BottomBarBase.d.ts +1 -1
- package/lib/typescript/module/bottom-bar/BottomBarBase.d.ts.map +1 -1
- package/lib/typescript/module/bottom-bar/types.d.ts +10 -2
- package/lib/typescript/module/bottom-bar/types.d.ts.map +1 -1
- package/lib/typescript/module/bottom-sheet/BottomSheetBase.d.ts.map +1 -1
- package/lib/typescript/module/bottom-sheet/types.d.ts +2 -0
- package/lib/typescript/module/bottom-sheet/types.d.ts.map +1 -1
- package/lib/typescript/module/button/GlyphAttention.d.ts +11 -0
- package/lib/typescript/module/button/GlyphAttention.d.ts.map +1 -0
- package/lib/typescript/module/button/GlyphButton.d.ts.map +1 -1
- package/lib/typescript/module/button/types.d.ts +11 -0
- package/lib/typescript/module/button/types.d.ts.map +1 -1
- package/lib/typescript/module/chat-composer/CompactComposer.d.ts +2 -0
- package/lib/typescript/module/chat-composer/CompactComposer.d.ts.map +1 -0
- package/lib/typescript/module/chat-composer/CompactComposer.web.d.ts +2 -0
- package/lib/typescript/module/chat-composer/CompactComposer.web.d.ts.map +1 -0
- package/lib/typescript/module/chat-composer/compact-text.d.ts +3 -0
- package/lib/typescript/module/chat-composer/compact-text.d.ts.map +1 -0
- package/lib/typescript/module/chat-composer/compact-types.d.ts +45 -0
- package/lib/typescript/module/chat-composer/compact-types.d.ts.map +1 -0
- package/lib/typescript/module/chat-composer/create-compact-composer.d.ts +13 -0
- package/lib/typescript/module/chat-composer/create-compact-composer.d.ts.map +1 -0
- package/lib/typescript/module/chat-composer/index.d.ts +3 -0
- package/lib/typescript/module/chat-composer/index.d.ts.map +1 -1
- package/lib/typescript/module/chat-composer/index.web.d.ts +3 -0
- package/lib/typescript/module/chat-composer/index.web.d.ts.map +1 -1
- package/lib/typescript/module/chat-composer/messages.d.ts +8 -0
- package/lib/typescript/module/chat-composer/messages.d.ts.map +1 -1
- package/lib/typescript/module/dialog/DialogBottomSheet.d.ts +2 -2
- package/lib/typescript/module/dialog/DialogBottomSheet.d.ts.map +1 -1
- package/lib/typescript/module/dialog/types.d.ts +2 -0
- package/lib/typescript/module/dialog/types.d.ts.map +1 -1
- package/lib/typescript/module/engagement-bar/EngagementAction.d.ts.map +1 -1
- package/lib/typescript/module/engagement-bar/EngagementBar.d.ts +3 -3
- package/lib/typescript/module/engagement-bar/EngagementBar.d.ts.map +1 -1
- package/lib/typescript/module/engagement-bar/EngagementPop.d.ts +2 -1
- package/lib/typescript/module/engagement-bar/EngagementPop.d.ts.map +1 -1
- package/lib/typescript/module/engagement-bar/context.d.ts +1 -0
- package/lib/typescript/module/engagement-bar/context.d.ts.map +1 -1
- package/lib/typescript/module/engagement-bar/paint.d.ts +4 -2
- package/lib/typescript/module/engagement-bar/paint.d.ts.map +1 -1
- package/lib/typescript/module/engagement-bar/types.d.ts +10 -1
- package/lib/typescript/module/engagement-bar/types.d.ts.map +1 -1
- package/lib/typescript/module/hooks/use-border-box-size.d.ts +13 -0
- package/lib/typescript/module/hooks/use-border-box-size.d.ts.map +1 -0
- package/lib/typescript/module/icons/index.d.ts +1 -0
- package/lib/typescript/module/icons/index.d.ts.map +1 -1
- package/lib/typescript/module/icons/social/BookmarkFillIcon.d.ts +8 -0
- package/lib/typescript/module/icons/social/BookmarkFillIcon.d.ts.map +1 -0
- package/lib/typescript/module/icons/social/BookmarkIcon.d.ts +8 -0
- package/lib/typescript/module/icons/social/BookmarkIcon.d.ts.map +1 -0
- package/lib/typescript/module/icons/social/GifAttachmentIcon.d.ts +8 -0
- package/lib/typescript/module/icons/social/GifAttachmentIcon.d.ts.map +1 -0
- package/lib/typescript/module/icons/social/LikeFillIcon.d.ts +8 -0
- package/lib/typescript/module/icons/social/LikeFillIcon.d.ts.map +1 -0
- package/lib/typescript/module/icons/social/LikeIcon.d.ts +8 -0
- package/lib/typescript/module/icons/social/LikeIcon.d.ts.map +1 -0
- package/lib/typescript/module/icons/social/MediaAttachmentIcon.d.ts +8 -0
- package/lib/typescript/module/icons/social/MediaAttachmentIcon.d.ts.map +1 -0
- package/lib/typescript/module/icons/social/ReplyIcon.d.ts +8 -0
- package/lib/typescript/module/icons/social/ReplyIcon.d.ts.map +1 -0
- package/lib/typescript/module/icons/social/RepostIcon.d.ts +8 -0
- package/lib/typescript/module/icons/social/RepostIcon.d.ts.map +1 -0
- package/lib/typescript/module/icons/social/ShareIcon.d.ts +8 -0
- package/lib/typescript/module/icons/social/ShareIcon.d.ts.map +1 -0
- package/lib/typescript/module/icons/social/index.d.ts +10 -0
- package/lib/typescript/module/icons/social/index.d.ts.map +1 -0
- package/lib/typescript/module/index.d.ts +2 -2
- package/lib/typescript/module/index.d.ts.map +1 -1
- package/lib/typescript/module/index.web.d.ts +2 -2
- package/lib/typescript/module/index.web.d.ts.map +1 -1
- package/lib/typescript/module/layout/ScrollBar.web.d.ts.map +1 -1
- package/lib/typescript/module/layout/bottom-edge.d.ts +2 -0
- package/lib/typescript/module/layout/bottom-edge.d.ts.map +1 -1
- package/lib/typescript/module/layout/scroll-metrics.d.ts +2 -0
- package/lib/typescript/module/layout/scroll-metrics.d.ts.map +1 -1
- package/lib/typescript/module/layout/types.d.ts +2 -2
- package/lib/typescript/module/layout/types.d.ts.map +1 -1
- package/lib/typescript/module/list/VirtualList.d.ts.map +1 -1
- package/lib/typescript/module/list/VirtualList.web.d.ts.map +1 -1
- package/lib/typescript/module/list/flash-list-module.d.ts +1 -1
- package/lib/typescript/module/list/flash-list-module.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/ar.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/bn.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/ca.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/de.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/es.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/fr.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/hi.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/id.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/it.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/ja.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/pt.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/ru.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/tr.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/types.d.ts +2 -1
- package/lib/typescript/module/locale/translations/types.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/zh.d.ts.map +1 -1
- package/lib/typescript/module/page-header/EdgeScrim.d.ts +3 -1
- package/lib/typescript/module/page-header/EdgeScrim.d.ts.map +1 -1
- package/lib/typescript/module/page-header/PageHeader.d.ts +1 -1
- package/lib/typescript/module/page-header/PageHeader.d.ts.map +1 -1
- package/lib/typescript/module/page-header/types.d.ts +2 -0
- package/lib/typescript/module/page-header/types.d.ts.map +1 -1
- package/lib/typescript/module/screen/ScreenBase.d.ts.map +1 -1
- package/lib/typescript/module/screen/ScreenScrollViewBase.d.ts.map +1 -1
- package/lib/typescript/module/screen/context.d.ts +3 -0
- package/lib/typescript/module/screen/context.d.ts.map +1 -1
- package/lib/typescript/module/screen/use-intrinsic-content-height.d.ts +3 -0
- package/lib/typescript/module/screen/use-intrinsic-content-height.d.ts.map +1 -0
- package/lib/typescript/module/screen/use-screen-viewport.d.ts.map +1 -1
- package/lib/typescript/module/scroll/constants.d.ts +2 -0
- package/lib/typescript/module/scroll/constants.d.ts.map +1 -1
- package/lib/typescript/module/scroll/owner-handoff.d.ts +3 -1
- package/lib/typescript/module/scroll/owner-handoff.d.ts.map +1 -1
- package/lib/typescript/module/scroll/use-scroll-restoration.web.d.ts.map +1 -1
- package/lib/typescript/module/sidebar/Sidebar.d.ts.map +1 -1
- package/lib/typescript/module/sidebar/arrangement.d.ts +32 -0
- package/lib/typescript/module/sidebar/arrangement.d.ts.map +1 -0
- package/lib/typescript/module/sidebar/index.d.ts +1 -0
- package/lib/typescript/module/sidebar/index.d.ts.map +1 -1
- package/lib/typescript/module/sidebar/types.d.ts +13 -1
- package/lib/typescript/module/sidebar/types.d.ts.map +1 -1
- package/lib/typescript/module/tab-bar/TabBarBase.d.ts.map +1 -1
- package/lib/typescript/module/tab-bar/shared.d.ts +2 -0
- package/lib/typescript/module/tab-bar/shared.d.ts.map +1 -1
- package/lib/typescript/module/tab-bar/types.d.ts +2 -0
- package/lib/typescript/module/tab-bar/types.d.ts.map +1 -1
- package/lib/typescript/module/tab-pager/TabPagerBottomBar.d.ts +1 -1
- package/lib/typescript/module/tab-pager/TabPagerBottomBar.d.ts.map +1 -1
- package/lib/typescript/module/tab-pager/types.d.ts +4 -1
- package/lib/typescript/module/tab-pager/types.d.ts.map +1 -1
- package/package.json +154 -1
- package/src/__tests__/support/public-part-classifications.json +22 -1
- package/src/__tests__/support/yoga-host-tree.ts +67 -4
- package/src/app-shell/AppShell.tsx +7 -3
- package/src/app-shell/AppShellEngine.tsx +6 -2
- package/src/app-shell/AppShellPanelLayout.tsx +466 -189
- package/src/app-shell/RetainedPanelLayout.tsx +7 -1
- package/src/app-shell/panel-layout-css.ts +41 -27
- package/src/app-shell/panel-layout-types.ts +11 -2
- package/src/app-shell/panel-layout.ts +49 -256
- package/src/app-shell/panel-motion.ts +34 -52
- package/src/app-shell/panel-transitions.ts +39 -0
- package/src/app-shell/shell-layout-css.ts +6 -2
- package/src/app-shell/types.ts +4 -0
- package/src/app-shell/use-panel-exit-completion.ts +95 -0
- package/src/app-shell/use-panel-reorder.ts +2 -2
- package/src/app-shell/use-panel-resize.ts +37 -10
- package/src/app-shell/use-panel-reveal.ts +4 -9
- package/src/bottom-bar/BottomBarBase.tsx +230 -46
- package/src/bottom-bar/types.ts +10 -2
- package/src/bottom-sheet/BottomSheetBase.tsx +6 -2
- package/src/bottom-sheet/types.ts +2 -0
- package/src/button/GlyphAttention.tsx +100 -0
- package/src/button/GlyphButton.tsx +21 -6
- package/src/button/types.ts +11 -0
- package/src/chat-composer/CompactComposer.tsx +7 -0
- package/src/chat-composer/CompactComposer.web.tsx +7 -0
- package/src/chat-composer/compact-text.ts +4 -0
- package/src/chat-composer/compact-types.ts +47 -0
- package/src/chat-composer/create-compact-composer.tsx +213 -0
- package/src/chat-composer/index.ts +8 -0
- package/src/chat-composer/index.web.ts +8 -0
- package/src/chat-composer/messages.ts +16 -0
- package/src/dialog/DialogBottomSheet.tsx +13 -2
- package/src/dialog/types.ts +2 -0
- package/src/engagement-bar/EngagementAction.tsx +5 -4
- package/src/engagement-bar/EngagementBar.tsx +30 -5
- package/src/engagement-bar/EngagementPop.tsx +11 -3
- package/src/engagement-bar/context.ts +1 -0
- package/src/engagement-bar/paint.ts +60 -13
- package/src/engagement-bar/types.ts +10 -1
- package/src/hooks/use-border-box-size.ts +38 -0
- package/src/icons/index.ts +2 -1
- package/src/icons/social/BookmarkFillIcon.tsx +6 -0
- package/src/icons/social/BookmarkIcon.tsx +6 -0
- package/src/icons/social/GifAttachmentIcon.tsx +6 -0
- package/src/icons/social/LikeFillIcon.tsx +7 -0
- package/src/icons/social/LikeIcon.tsx +8 -0
- package/src/icons/social/MediaAttachmentIcon.tsx +6 -0
- package/src/icons/social/ReplyIcon.tsx +8 -0
- package/src/icons/social/RepostIcon.tsx +6 -0
- package/src/icons/social/ShareIcon.tsx +6 -0
- package/src/icons/social/index.ts +9 -0
- package/src/index.ts +5 -0
- package/src/index.web.ts +5 -0
- package/src/layout/ScrollBar.web.tsx +74 -40
- package/src/layout/bottom-edge.tsx +17 -0
- package/src/layout/scroll-metrics.tsx +2 -0
- package/src/layout/types.ts +2 -2
- package/src/list/VirtualList.tsx +18 -0
- package/src/list/VirtualList.web.tsx +69 -22
- package/src/list/flash-list-module.ts +2 -0
- package/src/locale/translations/ar.ts +9 -0
- package/src/locale/translations/bn.ts +9 -0
- package/src/locale/translations/ca.ts +10 -0
- package/src/locale/translations/de.ts +10 -0
- package/src/locale/translations/es.ts +10 -0
- package/src/locale/translations/fr.ts +10 -0
- package/src/locale/translations/hi.ts +9 -0
- package/src/locale/translations/id.ts +10 -0
- package/src/locale/translations/it.ts +10 -0
- package/src/locale/translations/ja.ts +10 -0
- package/src/locale/translations/pt.ts +10 -0
- package/src/locale/translations/ru.ts +10 -0
- package/src/locale/translations/tr.ts +10 -0
- package/src/locale/translations/types.ts +5 -1
- package/src/locale/translations/zh.ts +9 -0
- package/src/page-header/EdgeScrim.tsx +29 -9
- package/src/page-header/PageHeader.tsx +10 -6
- package/src/page-header/types.ts +2 -0
- package/src/screen/ScreenBase.tsx +13 -6
- package/src/screen/ScreenScrollViewBase.tsx +24 -2
- package/src/screen/context.ts +3 -0
- package/src/screen/use-intrinsic-content-height.ts +56 -0
- package/src/screen/use-screen-viewport.ts +60 -11
- package/src/scroll/constants.ts +3 -0
- package/src/scroll/owner-handoff.ts +45 -11
- package/src/scroll/use-scroll-restoration.web.ts +4 -10
- package/src/sidebar/Sidebar.tsx +146 -121
- package/src/sidebar/arrangement.ts +47 -0
- package/src/sidebar/index.ts +6 -0
- package/src/sidebar/types.ts +13 -1
- package/src/tab-bar/TabBarBase.tsx +193 -27
- package/src/tab-bar/shared.ts +2 -0
- package/src/tab-bar/types.ts +2 -0
- package/src/tab-pager/TabPagerBottomBar.tsx +23 -3
- package/src/tab-pager/types.ts +4 -1
|
@@ -287,6 +287,14 @@ const CARD_FORM_MESSAGES: Translations['CARD_FORM_MESSAGES'] = {
|
|
|
287
287
|
selectCountry: 'একটি দেশ বেছে নিন',
|
|
288
288
|
};
|
|
289
289
|
|
|
290
|
+
const COMPACT_COMPOSER_MESSAGES: Translations['COMPACT_COMPOSER_MESSAGES'] = {
|
|
291
|
+
input: 'একটি বার্তা লিখুন',
|
|
292
|
+
expand: 'সম্পূর্ণ সম্পাদক খুলুন',
|
|
293
|
+
characterCount: 'অক্ষর',
|
|
294
|
+
characterCountValue: (count, max) => `${max}টির মধ্যে ${count}টি অক্ষর`,
|
|
295
|
+
limitHint: (max) => `সংক্ষিপ্ত বার্তায় ${max}টি অক্ষর লেখা যায়। আরও লিখতে সম্পাদক প্রসারিত করুন।`,
|
|
296
|
+
};
|
|
297
|
+
|
|
290
298
|
const CHAT_COMPOSER_MESSAGES: Translations['CHAT_COMPOSER_MESSAGES'] = {
|
|
291
299
|
attach: 'সংযুক্ত করুন',
|
|
292
300
|
emoji: 'ইমোজি',
|
|
@@ -2987,6 +2995,7 @@ const translations: Translations = {
|
|
|
2987
2995
|
SIDEBAR_MESSAGES,
|
|
2988
2996
|
FILE_SIZE_UNITS,
|
|
2989
2997
|
CARD_FORM_MESSAGES,
|
|
2998
|
+
COMPACT_COMPOSER_MESSAGES,
|
|
2990
2999
|
CHAT_COMPOSER_MESSAGES,
|
|
2991
3000
|
MAIL_COMPOSE_MESSAGES,
|
|
2992
3001
|
MEDIA_PLAYER_MESSAGES,
|
|
@@ -291,6 +291,15 @@ const CARD_FORM_MESSAGES: Translations['CARD_FORM_MESSAGES'] = {
|
|
|
291
291
|
selectCountry: 'Selecciona un país',
|
|
292
292
|
};
|
|
293
293
|
|
|
294
|
+
const COMPACT_COMPOSER_MESSAGES: Translations['COMPACT_COMPOSER_MESSAGES'] = {
|
|
295
|
+
input: 'Escriu un missatge',
|
|
296
|
+
expand: 'Obre l’editor complet',
|
|
297
|
+
characterCount: 'Caràcters',
|
|
298
|
+
characterCountValue: (count, max) => `${count} de ${max} caràcters`,
|
|
299
|
+
limitHint: (max) =>
|
|
300
|
+
`Els missatges compactes permeten ${max} caràcters. Amplia l’editor per escriure més.`,
|
|
301
|
+
};
|
|
302
|
+
|
|
294
303
|
const CHAT_COMPOSER_MESSAGES: Translations['CHAT_COMPOSER_MESSAGES'] = {
|
|
295
304
|
attach: 'Adjunta',
|
|
296
305
|
emoji: 'Emoji',
|
|
@@ -3083,6 +3092,7 @@ const translations: Translations = {
|
|
|
3083
3092
|
SIDEBAR_MESSAGES,
|
|
3084
3093
|
FILE_SIZE_UNITS,
|
|
3085
3094
|
CARD_FORM_MESSAGES,
|
|
3095
|
+
COMPACT_COMPOSER_MESSAGES,
|
|
3086
3096
|
CHAT_COMPOSER_MESSAGES,
|
|
3087
3097
|
MAIL_COMPOSE_MESSAGES,
|
|
3088
3098
|
MEDIA_PLAYER_MESSAGES,
|
|
@@ -292,6 +292,15 @@ const CARD_FORM_MESSAGES: Translations['CARD_FORM_MESSAGES'] = {
|
|
|
292
292
|
selectCountry: 'Land auswählen',
|
|
293
293
|
};
|
|
294
294
|
|
|
295
|
+
const COMPACT_COMPOSER_MESSAGES: Translations['COMPACT_COMPOSER_MESSAGES'] = {
|
|
296
|
+
input: 'Nachricht schreiben',
|
|
297
|
+
expand: 'Vollständigen Editor öffnen',
|
|
298
|
+
characterCount: 'Zeichen',
|
|
299
|
+
characterCountValue: (count, max) => `${count} von ${max} Zeichen`,
|
|
300
|
+
limitHint: (max) =>
|
|
301
|
+
`Kompakte Nachrichten erlauben ${max} Zeichen. Erweitere den Editor, um mehr zu schreiben.`,
|
|
302
|
+
};
|
|
303
|
+
|
|
295
304
|
const CHAT_COMPOSER_MESSAGES: Translations['CHAT_COMPOSER_MESSAGES'] = {
|
|
296
305
|
attach: 'Anhängen',
|
|
297
306
|
emoji: 'Emoji',
|
|
@@ -3117,6 +3126,7 @@ const translations: Translations = {
|
|
|
3117
3126
|
SIDEBAR_MESSAGES,
|
|
3118
3127
|
FILE_SIZE_UNITS,
|
|
3119
3128
|
CARD_FORM_MESSAGES,
|
|
3129
|
+
COMPACT_COMPOSER_MESSAGES,
|
|
3120
3130
|
CHAT_COMPOSER_MESSAGES,
|
|
3121
3131
|
MAIL_COMPOSE_MESSAGES,
|
|
3122
3132
|
MEDIA_PLAYER_MESSAGES,
|
|
@@ -296,6 +296,15 @@ const CARD_FORM_MESSAGES: Translations['CARD_FORM_MESSAGES'] = {
|
|
|
296
296
|
selectCountry: 'Selecciona un país',
|
|
297
297
|
};
|
|
298
298
|
|
|
299
|
+
const COMPACT_COMPOSER_MESSAGES: Translations['COMPACT_COMPOSER_MESSAGES'] = {
|
|
300
|
+
input: 'Escribe un mensaje',
|
|
301
|
+
expand: 'Abrir el editor completo',
|
|
302
|
+
characterCount: 'Caracteres',
|
|
303
|
+
characterCountValue: (count, max) => `${count} de ${max} caracteres`,
|
|
304
|
+
limitHint: (max) =>
|
|
305
|
+
`Los mensajes compactos permiten ${max} caracteres. Amplía el editor para escribir más.`,
|
|
306
|
+
};
|
|
307
|
+
|
|
299
308
|
const CHAT_COMPOSER_MESSAGES: Translations['CHAT_COMPOSER_MESSAGES'] = {
|
|
300
309
|
attach: 'Adjuntar',
|
|
301
310
|
emoji: 'Emoji',
|
|
@@ -3111,6 +3120,7 @@ const translations: Translations = {
|
|
|
3111
3120
|
SIDEBAR_MESSAGES,
|
|
3112
3121
|
FILE_SIZE_UNITS,
|
|
3113
3122
|
CARD_FORM_MESSAGES,
|
|
3123
|
+
COMPACT_COMPOSER_MESSAGES,
|
|
3114
3124
|
CHAT_COMPOSER_MESSAGES,
|
|
3115
3125
|
MAIL_COMPOSE_MESSAGES,
|
|
3116
3126
|
MEDIA_PLAYER_MESSAGES,
|
|
@@ -301,6 +301,15 @@ const CARD_FORM_MESSAGES: Translations['CARD_FORM_MESSAGES'] = {
|
|
|
301
301
|
selectCountry: 'Choisissez un pays',
|
|
302
302
|
};
|
|
303
303
|
|
|
304
|
+
const COMPACT_COMPOSER_MESSAGES: Translations['COMPACT_COMPOSER_MESSAGES'] = {
|
|
305
|
+
input: 'Écrire un message',
|
|
306
|
+
expand: 'Ouvrir l’éditeur complet',
|
|
307
|
+
characterCount: 'Caractères',
|
|
308
|
+
characterCountValue: (count, max) => `${count} caractères sur ${max}`,
|
|
309
|
+
limitHint: (max) =>
|
|
310
|
+
`Les messages compacts autorisent ${max} caractères. Agrandissez l’éditeur pour écrire davantage.`,
|
|
311
|
+
};
|
|
312
|
+
|
|
304
313
|
const CHAT_COMPOSER_MESSAGES: Translations['CHAT_COMPOSER_MESSAGES'] = {
|
|
305
314
|
attach: 'Joindre',
|
|
306
315
|
emoji: 'Émoji',
|
|
@@ -3125,6 +3134,7 @@ const translations: Translations = {
|
|
|
3125
3134
|
SIDEBAR_MESSAGES,
|
|
3126
3135
|
FILE_SIZE_UNITS,
|
|
3127
3136
|
CARD_FORM_MESSAGES,
|
|
3137
|
+
COMPACT_COMPOSER_MESSAGES,
|
|
3128
3138
|
CHAT_COMPOSER_MESSAGES,
|
|
3129
3139
|
MAIL_COMPOSE_MESSAGES,
|
|
3130
3140
|
MEDIA_PLAYER_MESSAGES,
|
|
@@ -284,6 +284,14 @@ const CARD_FORM_MESSAGES: Translations['CARD_FORM_MESSAGES'] = {
|
|
|
284
284
|
selectCountry: 'देश चुनें',
|
|
285
285
|
};
|
|
286
286
|
|
|
287
|
+
const COMPACT_COMPOSER_MESSAGES: Translations['COMPACT_COMPOSER_MESSAGES'] = {
|
|
288
|
+
input: 'संदेश लिखें',
|
|
289
|
+
expand: 'पूरा संपादक खोलें',
|
|
290
|
+
characterCount: 'अक्षर',
|
|
291
|
+
characterCountValue: (count, max) => `${max} में से ${count} अक्षर`,
|
|
292
|
+
limitHint: (max) => `संक्षिप्त संदेशों में ${max} अक्षर हो सकते हैं। अधिक लिखने के लिए संपादक विस्तृत करें।`,
|
|
293
|
+
};
|
|
294
|
+
|
|
287
295
|
const CHAT_COMPOSER_MESSAGES: Translations['CHAT_COMPOSER_MESSAGES'] = {
|
|
288
296
|
attach: 'अटैच करें',
|
|
289
297
|
emoji: 'इमोजी',
|
|
@@ -3006,6 +3014,7 @@ const translations: Translations = {
|
|
|
3006
3014
|
SIDEBAR_MESSAGES,
|
|
3007
3015
|
FILE_SIZE_UNITS,
|
|
3008
3016
|
CARD_FORM_MESSAGES,
|
|
3017
|
+
COMPACT_COMPOSER_MESSAGES,
|
|
3009
3018
|
CHAT_COMPOSER_MESSAGES,
|
|
3010
3019
|
MAIL_COMPOSE_MESSAGES,
|
|
3011
3020
|
MEDIA_PLAYER_MESSAGES,
|
|
@@ -288,6 +288,15 @@ const CARD_FORM_MESSAGES: Translations['CARD_FORM_MESSAGES'] = {
|
|
|
288
288
|
selectCountry: 'Pilih negara',
|
|
289
289
|
};
|
|
290
290
|
|
|
291
|
+
const COMPACT_COMPOSER_MESSAGES: Translations['COMPACT_COMPOSER_MESSAGES'] = {
|
|
292
|
+
input: 'Tulis pesan',
|
|
293
|
+
expand: 'Buka editor lengkap',
|
|
294
|
+
characterCount: 'Karakter',
|
|
295
|
+
characterCountValue: (count, max) => `${count} dari ${max} karakter`,
|
|
296
|
+
limitHint: (max) =>
|
|
297
|
+
`Pesan ringkas dibatasi ${max} karakter. Perluas editor untuk menulis lebih banyak.`,
|
|
298
|
+
};
|
|
299
|
+
|
|
291
300
|
const CHAT_COMPOSER_MESSAGES: Translations['CHAT_COMPOSER_MESSAGES'] = {
|
|
292
301
|
attach: 'Lampirkan',
|
|
293
302
|
emoji: 'Emoji',
|
|
@@ -3069,6 +3078,7 @@ const translations: Translations = {
|
|
|
3069
3078
|
SIDEBAR_MESSAGES,
|
|
3070
3079
|
FILE_SIZE_UNITS,
|
|
3071
3080
|
CARD_FORM_MESSAGES,
|
|
3081
|
+
COMPACT_COMPOSER_MESSAGES,
|
|
3072
3082
|
CHAT_COMPOSER_MESSAGES,
|
|
3073
3083
|
MAIL_COMPOSE_MESSAGES,
|
|
3074
3084
|
MEDIA_PLAYER_MESSAGES,
|
|
@@ -292,6 +292,15 @@ const CARD_FORM_MESSAGES: Translations['CARD_FORM_MESSAGES'] = {
|
|
|
292
292
|
selectCountry: 'Seleziona un paese',
|
|
293
293
|
};
|
|
294
294
|
|
|
295
|
+
const COMPACT_COMPOSER_MESSAGES: Translations['COMPACT_COMPOSER_MESSAGES'] = {
|
|
296
|
+
input: 'Scrivi un messaggio',
|
|
297
|
+
expand: 'Apri l’editor completo',
|
|
298
|
+
characterCount: 'Caratteri',
|
|
299
|
+
characterCountValue: (count, max) => `${count} di ${max} caratteri`,
|
|
300
|
+
limitHint: (max) =>
|
|
301
|
+
`I messaggi compatti consentono ${max} caratteri. Espandi l’editor per scrivere di più.`,
|
|
302
|
+
};
|
|
303
|
+
|
|
295
304
|
const CHAT_COMPOSER_MESSAGES: Translations['CHAT_COMPOSER_MESSAGES'] = {
|
|
296
305
|
attach: 'Allega',
|
|
297
306
|
emoji: 'Emoji',
|
|
@@ -3110,6 +3119,7 @@ const translations: Translations = {
|
|
|
3110
3119
|
SIDEBAR_MESSAGES,
|
|
3111
3120
|
FILE_SIZE_UNITS,
|
|
3112
3121
|
CARD_FORM_MESSAGES,
|
|
3122
|
+
COMPACT_COMPOSER_MESSAGES,
|
|
3113
3123
|
CHAT_COMPOSER_MESSAGES,
|
|
3114
3124
|
MAIL_COMPOSE_MESSAGES,
|
|
3115
3125
|
MEDIA_PLAYER_MESSAGES,
|
|
@@ -284,6 +284,15 @@ const CARD_FORM_MESSAGES: Translations['CARD_FORM_MESSAGES'] = {
|
|
|
284
284
|
selectCountry: '国を選択',
|
|
285
285
|
};
|
|
286
286
|
|
|
287
|
+
const COMPACT_COMPOSER_MESSAGES: Translations['COMPACT_COMPOSER_MESSAGES'] = {
|
|
288
|
+
input: 'メッセージを書く',
|
|
289
|
+
expand: '完全なエディターを開く',
|
|
290
|
+
characterCount: '文字数',
|
|
291
|
+
characterCountValue: (count, max) => `${max}文字中${count}文字`,
|
|
292
|
+
limitHint: (max) =>
|
|
293
|
+
`コンパクトなメッセージは${max}文字までです。さらに書くにはエディターを展開してください。`,
|
|
294
|
+
};
|
|
295
|
+
|
|
287
296
|
const CHAT_COMPOSER_MESSAGES: Translations['CHAT_COMPOSER_MESSAGES'] = {
|
|
288
297
|
attach: '添付',
|
|
289
298
|
emoji: '絵文字',
|
|
@@ -3020,6 +3029,7 @@ const translations: Translations = {
|
|
|
3020
3029
|
SIDEBAR_MESSAGES,
|
|
3021
3030
|
FILE_SIZE_UNITS,
|
|
3022
3031
|
CARD_FORM_MESSAGES,
|
|
3032
|
+
COMPACT_COMPOSER_MESSAGES,
|
|
3023
3033
|
CHAT_COMPOSER_MESSAGES,
|
|
3024
3034
|
MAIL_COMPOSE_MESSAGES,
|
|
3025
3035
|
MEDIA_PLAYER_MESSAGES,
|
|
@@ -298,6 +298,15 @@ const CARD_FORM_MESSAGES: Translations['CARD_FORM_MESSAGES'] = {
|
|
|
298
298
|
selectCountry: 'Selecione um país',
|
|
299
299
|
};
|
|
300
300
|
|
|
301
|
+
const COMPACT_COMPOSER_MESSAGES: Translations['COMPACT_COMPOSER_MESSAGES'] = {
|
|
302
|
+
input: 'Escreva uma mensagem',
|
|
303
|
+
expand: 'Abrir o editor completo',
|
|
304
|
+
characterCount: 'Caracteres',
|
|
305
|
+
characterCountValue: (count, max) => `${count} de ${max} caracteres`,
|
|
306
|
+
limitHint: (max) =>
|
|
307
|
+
`As mensagens compactas permitem ${max} caracteres. Expanda o editor para escrever mais.`,
|
|
308
|
+
};
|
|
309
|
+
|
|
301
310
|
const CHAT_COMPOSER_MESSAGES: Translations['CHAT_COMPOSER_MESSAGES'] = {
|
|
302
311
|
attach: 'Anexar',
|
|
303
312
|
emoji: 'Emoji',
|
|
@@ -3129,6 +3138,7 @@ const translations: Translations = {
|
|
|
3129
3138
|
SIDEBAR_MESSAGES,
|
|
3130
3139
|
FILE_SIZE_UNITS,
|
|
3131
3140
|
CARD_FORM_MESSAGES,
|
|
3141
|
+
COMPACT_COMPOSER_MESSAGES,
|
|
3132
3142
|
CHAT_COMPOSER_MESSAGES,
|
|
3133
3143
|
MAIL_COMPOSE_MESSAGES,
|
|
3134
3144
|
MEDIA_PLAYER_MESSAGES,
|
|
@@ -304,6 +304,15 @@ const CARD_FORM_MESSAGES: Translations['CARD_FORM_MESSAGES'] = {
|
|
|
304
304
|
selectCountry: 'Выберите страну',
|
|
305
305
|
};
|
|
306
306
|
|
|
307
|
+
const COMPACT_COMPOSER_MESSAGES: Translations['COMPACT_COMPOSER_MESSAGES'] = {
|
|
308
|
+
input: 'Напишите сообщение',
|
|
309
|
+
expand: 'Открыть полный редактор',
|
|
310
|
+
characterCount: 'Символы',
|
|
311
|
+
characterCountValue: (count, max) => `${count} из ${max} символов`,
|
|
312
|
+
limitHint: (max) =>
|
|
313
|
+
`Компактные сообщения ограничены ${max} символами. Разверните редактор, чтобы написать больше.`,
|
|
314
|
+
};
|
|
315
|
+
|
|
307
316
|
const CHAT_COMPOSER_MESSAGES: Translations['CHAT_COMPOSER_MESSAGES'] = {
|
|
308
317
|
attach: 'Прикрепить',
|
|
309
318
|
emoji: 'Эмодзи',
|
|
@@ -3410,6 +3419,7 @@ const translations: Translations = {
|
|
|
3410
3419
|
SIDEBAR_MESSAGES,
|
|
3411
3420
|
FILE_SIZE_UNITS,
|
|
3412
3421
|
CARD_FORM_MESSAGES,
|
|
3422
|
+
COMPACT_COMPOSER_MESSAGES,
|
|
3413
3423
|
CHAT_COMPOSER_MESSAGES,
|
|
3414
3424
|
MAIL_COMPOSE_MESSAGES,
|
|
3415
3425
|
MEDIA_PLAYER_MESSAGES,
|
|
@@ -288,6 +288,15 @@ const CARD_FORM_MESSAGES: Translations['CARD_FORM_MESSAGES'] = {
|
|
|
288
288
|
selectCountry: 'Ülke seçin',
|
|
289
289
|
};
|
|
290
290
|
|
|
291
|
+
const COMPACT_COMPOSER_MESSAGES: Translations['COMPACT_COMPOSER_MESSAGES'] = {
|
|
292
|
+
input: 'Mesaj yazın',
|
|
293
|
+
expand: 'Tam düzenleyiciyi aç',
|
|
294
|
+
characterCount: 'Karakterler',
|
|
295
|
+
characterCountValue: (count, max) => `${max} karakterden ${count}`,
|
|
296
|
+
limitHint: (max) =>
|
|
297
|
+
`Kısa mesajlar ${max} karakterle sınırlıdır. Daha fazla yazmak için düzenleyiciyi genişletin.`,
|
|
298
|
+
};
|
|
299
|
+
|
|
291
300
|
const CHAT_COMPOSER_MESSAGES: Translations['CHAT_COMPOSER_MESSAGES'] = {
|
|
292
301
|
attach: 'Ekle',
|
|
293
302
|
emoji: 'Emoji',
|
|
@@ -3040,6 +3049,7 @@ const translations: Translations = {
|
|
|
3040
3049
|
SIDEBAR_MESSAGES,
|
|
3041
3050
|
FILE_SIZE_UNITS,
|
|
3042
3051
|
CARD_FORM_MESSAGES,
|
|
3052
|
+
COMPACT_COMPOSER_MESSAGES,
|
|
3043
3053
|
CHAT_COMPOSER_MESSAGES,
|
|
3044
3054
|
MAIL_COMPOSE_MESSAGES,
|
|
3045
3055
|
MEDIA_PLAYER_MESSAGES,
|
|
@@ -20,7 +20,10 @@ import type { SIDEBAR_MESSAGES } from '../../sidebar/messages';
|
|
|
20
20
|
import type { FILE_SIZE_UNITS } from '../format-number';
|
|
21
21
|
import type { COMMON_MESSAGES } from '../common-messages';
|
|
22
22
|
import type { CARD_FORM_MESSAGES } from '../../card-form/messages';
|
|
23
|
-
import type {
|
|
23
|
+
import type {
|
|
24
|
+
COMPACT_COMPOSER_MESSAGES,
|
|
25
|
+
CHAT_COMPOSER_MESSAGES,
|
|
26
|
+
} from '../../chat-composer/messages';
|
|
24
27
|
import type { MAIL_COMPOSE_MESSAGES } from '../../mail-compose/messages';
|
|
25
28
|
import type { MEDIA_PLAYER_MESSAGES } from '../../media-player/messages';
|
|
26
29
|
import type { ADDRESS_MESSAGES } from '../../address/messages';
|
|
@@ -170,6 +173,7 @@ export interface Translations {
|
|
|
170
173
|
readonly FILE_SIZE_UNITS: CatalogMessages<typeof FILE_SIZE_UNITS>;
|
|
171
174
|
readonly COMMON_MESSAGES: CatalogMessages<typeof COMMON_MESSAGES>;
|
|
172
175
|
readonly CARD_FORM_MESSAGES: CatalogMessages<typeof CARD_FORM_MESSAGES>;
|
|
176
|
+
readonly COMPACT_COMPOSER_MESSAGES: CatalogMessages<typeof COMPACT_COMPOSER_MESSAGES>;
|
|
173
177
|
readonly CHAT_COMPOSER_MESSAGES: CatalogMessages<typeof CHAT_COMPOSER_MESSAGES>;
|
|
174
178
|
readonly MAIL_COMPOSE_MESSAGES: CatalogMessages<typeof MAIL_COMPOSE_MESSAGES>;
|
|
175
179
|
readonly MEDIA_PLAYER_MESSAGES: CatalogMessages<typeof MEDIA_PLAYER_MESSAGES>;
|
|
@@ -284,6 +284,14 @@ const CARD_FORM_MESSAGES: Translations['CARD_FORM_MESSAGES'] = {
|
|
|
284
284
|
selectCountry: '选择国家/地区',
|
|
285
285
|
};
|
|
286
286
|
|
|
287
|
+
const COMPACT_COMPOSER_MESSAGES: Translations['COMPACT_COMPOSER_MESSAGES'] = {
|
|
288
|
+
input: '撰写消息',
|
|
289
|
+
expand: '打开完整编辑器',
|
|
290
|
+
characterCount: '字符数',
|
|
291
|
+
characterCountValue: (count, max) => `${count}/${max} 个字符`,
|
|
292
|
+
limitHint: (max) => `简洁消息最多允许 ${max} 个字符。展开编辑器以输入更多内容。`,
|
|
293
|
+
};
|
|
294
|
+
|
|
287
295
|
const CHAT_COMPOSER_MESSAGES: Translations['CHAT_COMPOSER_MESSAGES'] = {
|
|
288
296
|
attach: '添加附件',
|
|
289
297
|
emoji: '表情',
|
|
@@ -2946,6 +2954,7 @@ const translations: Translations = {
|
|
|
2946
2954
|
SIDEBAR_MESSAGES,
|
|
2947
2955
|
FILE_SIZE_UNITS,
|
|
2948
2956
|
CARD_FORM_MESSAGES,
|
|
2957
|
+
COMPACT_COMPOSER_MESSAGES,
|
|
2949
2958
|
CHAT_COMPOSER_MESSAGES,
|
|
2950
2959
|
MAIL_COMPOSE_MESSAGES,
|
|
2951
2960
|
MEDIA_PLAYER_MESSAGES,
|
|
@@ -88,6 +88,10 @@ export const SCRIM_STOPS = [
|
|
|
88
88
|
{ offset: 0.72, opacity: 0.38 },
|
|
89
89
|
{ offset: 1, opacity: 0 },
|
|
90
90
|
] as const;
|
|
91
|
+
const LINEAR_STOPS = [
|
|
92
|
+
{ offset: 0, opacity: 1 },
|
|
93
|
+
{ offset: 1, opacity: 0 },
|
|
94
|
+
] as const;
|
|
91
95
|
|
|
92
96
|
export interface EdgeScrimProps {
|
|
93
97
|
/** The page colour the ramp starts from — opaque, alpha travels separately. */
|
|
@@ -99,6 +103,8 @@ export interface EdgeScrimProps {
|
|
|
99
103
|
* put it on every platform.
|
|
100
104
|
*/
|
|
101
105
|
edge?: 'top' | 'bottom';
|
|
106
|
+
/** Smooth legibility curve by default; linear has only the opaque and transparent endpoints. */
|
|
107
|
+
falloff?: 'smooth' | 'linear';
|
|
102
108
|
testID?: string;
|
|
103
109
|
}
|
|
104
110
|
|
|
@@ -112,29 +118,43 @@ export interface EdgeScrimProps {
|
|
|
112
118
|
* spans exactly that view. Alpha travels in the colour here, which a CSS
|
|
113
119
|
* gradient honours (the `stopOpacity` reason above is react-native-svg's).
|
|
114
120
|
*/
|
|
115
|
-
export function edgeScrimGradient(
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
121
|
+
export function edgeScrimGradient(
|
|
122
|
+
color: string,
|
|
123
|
+
edge: 'top' | 'bottom',
|
|
124
|
+
falloff: 'smooth' | 'linear' = 'smooth',
|
|
125
|
+
): string {
|
|
126
|
+
const stops = (falloff === 'linear' ? LINEAR_STOPS : SCRIM_STOPS)
|
|
127
|
+
.map((stop) => `${withAlpha(color, stop.opacity)} ${Math.round(stop.offset * 100)}%`)
|
|
128
|
+
.join(', ');
|
|
119
129
|
return `linear-gradient(to ${edge === 'bottom' ? 'top' : 'bottom'}, ${stops})`;
|
|
120
130
|
}
|
|
121
131
|
|
|
122
|
-
const EdgeScrimComponent: React.FC<EdgeScrimProps> = ({
|
|
132
|
+
const EdgeScrimComponent: React.FC<EdgeScrimProps> = ({
|
|
133
|
+
color,
|
|
134
|
+
edge = 'top',
|
|
135
|
+
falloff = 'smooth',
|
|
136
|
+
testID,
|
|
137
|
+
}) => {
|
|
123
138
|
if (Platform.OS === 'android') {
|
|
124
139
|
return (
|
|
125
140
|
<View
|
|
126
141
|
testID={testID}
|
|
127
142
|
style={[
|
|
128
143
|
StyleSheet.absoluteFill,
|
|
129
|
-
{ experimental_backgroundImage: edgeScrimGradient(color, edge) },
|
|
144
|
+
{ experimental_backgroundImage: edgeScrimGradient(color, edge, falloff) },
|
|
130
145
|
]}
|
|
131
146
|
/>
|
|
132
147
|
);
|
|
133
148
|
}
|
|
134
|
-
return <SvgEdgeScrim color={color} edge={edge} testID={testID} />;
|
|
149
|
+
return <SvgEdgeScrim color={color} edge={edge} falloff={falloff} testID={testID} />;
|
|
135
150
|
};
|
|
136
151
|
|
|
137
|
-
const SvgEdgeScrim: React.FC<EdgeScrimProps> = ({
|
|
152
|
+
const SvgEdgeScrim: React.FC<EdgeScrimProps> = ({
|
|
153
|
+
color,
|
|
154
|
+
edge = 'top',
|
|
155
|
+
falloff = 'smooth',
|
|
156
|
+
testID,
|
|
157
|
+
}) => {
|
|
138
158
|
const id = `${useSvgIdPrefix('bloom-page-header-scrim')}gradient`;
|
|
139
159
|
const fromBottom = edge === 'bottom';
|
|
140
160
|
return (
|
|
@@ -147,7 +167,7 @@ const SvgEdgeScrim: React.FC<EdgeScrimProps> = ({ color, edge = 'top', testID })
|
|
|
147
167
|
x2="0"
|
|
148
168
|
y2={fromBottom ? '0' : '1'}
|
|
149
169
|
>
|
|
150
|
-
{SCRIM_STOPS.map((stop) => (
|
|
170
|
+
{(falloff === 'linear' ? LINEAR_STOPS : SCRIM_STOPS).map((stop) => (
|
|
151
171
|
<Stop
|
|
152
172
|
key={stop.offset}
|
|
153
173
|
offset={String(stop.offset)}
|
|
@@ -15,6 +15,7 @@ import { ServerStyleSheet } from '../styles/ServerStyleSheet';
|
|
|
15
15
|
import { dataHook, dataHooks } from '../styles/data-hook';
|
|
16
16
|
import { Platform, StyleSheet, View, type LayoutChangeEvent } from 'react-native';
|
|
17
17
|
import { useMeasuredSizeClass } from '../hooks/use-width-class';
|
|
18
|
+
import { useBorderBoxSize } from '../hooks/use-border-box-size';
|
|
18
19
|
import Animated, {
|
|
19
20
|
Extrapolation,
|
|
20
21
|
interpolate,
|
|
@@ -190,6 +191,7 @@ function PageHeaderComponent({
|
|
|
190
191
|
border = 'auto',
|
|
191
192
|
transparent = false,
|
|
192
193
|
scrim = 'auto',
|
|
194
|
+
scrimFalloff = 'smooth',
|
|
193
195
|
scrimColor,
|
|
194
196
|
scrollY: externalScrollY,
|
|
195
197
|
scrollThreshold = DEFAULT_THRESHOLD,
|
|
@@ -374,11 +376,13 @@ function PageHeaderComponent({
|
|
|
374
376
|
setNativeLeadingPresent(e.nativeEvent.layout.width > 0);
|
|
375
377
|
updateActionBudget();
|
|
376
378
|
};
|
|
377
|
-
const
|
|
378
|
-
const nextWidth = e.nativeEvent.layout.width;
|
|
379
|
+
const containerSize = useBorderBoxSize(({ width: nextWidth, height: nextHeight }) => {
|
|
379
380
|
actionGeometry.current.width = nextWidth;
|
|
380
381
|
updateActionBudget();
|
|
381
|
-
if (!isWeb)
|
|
382
|
+
if (!isWeb)
|
|
383
|
+
measured.onLayout({
|
|
384
|
+
nativeEvent: { layout: { width: nextWidth, height: nextHeight, x: 0, y: 0 } },
|
|
385
|
+
} as LayoutChangeEvent);
|
|
382
386
|
const nextCompact = nextWidth < BREAKPOINTS.sm;
|
|
383
387
|
if (lastActionsCompact.current !== nextCompact) {
|
|
384
388
|
lastActionsCompact.current = nextCompact;
|
|
@@ -389,12 +393,11 @@ function PageHeaderComponent({
|
|
|
389
393
|
lastActionsSpacious.current = nextSpacious;
|
|
390
394
|
setActionsSpacious(nextSpacious);
|
|
391
395
|
}
|
|
392
|
-
const nextHeight = e.nativeEvent.layout.height;
|
|
393
396
|
if (lastHeight.current !== nextHeight) {
|
|
394
397
|
lastHeight.current = nextHeight;
|
|
395
398
|
setMeasuredHeight(nextHeight);
|
|
396
399
|
}
|
|
397
|
-
};
|
|
400
|
+
});
|
|
398
401
|
|
|
399
402
|
// An overlaying header occupies no layout, so it declares what it covers and
|
|
400
403
|
// the content reads it back. Measured rather than computed: a second title
|
|
@@ -782,6 +785,7 @@ function PageHeaderComponent({
|
|
|
782
785
|
// Fade into the containing surface (ContentPanel publishes its fill),
|
|
783
786
|
// falling back to the page. Explicit scrimColor remains an override.
|
|
784
787
|
color={scrimColor ?? surfaceFill}
|
|
788
|
+
falloff={scrimFalloff}
|
|
785
789
|
testID={testID ? `${testID}-scrim-gradient` : undefined}
|
|
786
790
|
/>
|
|
787
791
|
</Animated.View>
|
|
@@ -841,7 +845,7 @@ function PageHeaderComponent({
|
|
|
841
845
|
bloomPageHeaderPresentation: presentation,
|
|
842
846
|
})}
|
|
843
847
|
testID={testID}
|
|
844
|
-
|
|
848
|
+
{...containerSize}
|
|
845
849
|
style={[
|
|
846
850
|
[
|
|
847
851
|
styles.container,
|
package/src/page-header/types.ts
CHANGED
|
@@ -149,6 +149,8 @@ export interface PageHeaderProps {
|
|
|
149
149
|
transparent?: boolean;
|
|
150
150
|
/** `presentation="floating"` only. Default `auto`. */
|
|
151
151
|
scrim?: PageHeaderScrim;
|
|
152
|
+
/** Floating gradient curve. Default smooth; linear fades uniformly from opaque to transparent. */
|
|
153
|
+
scrimFalloff?: 'smooth' | 'linear';
|
|
152
154
|
/**
|
|
153
155
|
* The colour the edge effect fades FROM. Defaults to `theme.colors.background`
|
|
154
156
|
* — the page colour, which is what the content scrolling under the header is
|
|
@@ -10,6 +10,7 @@ import type React from 'react';
|
|
|
10
10
|
import { useContext, useEffect, useMemo, useRef, useState } from 'react';
|
|
11
11
|
import { Platform, View, StyleSheet } from 'react-native';
|
|
12
12
|
import { useKeyboardVisible } from '../hooks/use-keyboard-visible';
|
|
13
|
+
import { useBorderBoxSize } from '../hooks/use-border-box-size';
|
|
13
14
|
import { SafeAreaInsetsContext } from 'react-native-safe-area-context';
|
|
14
15
|
import { useBottomEdgeInset } from '../layout/bottom-edge';
|
|
15
16
|
import { windowEdgeGap } from '../layout/edge';
|
|
@@ -226,6 +227,8 @@ export function createScreen(
|
|
|
226
227
|
lastBottom.current = height;
|
|
227
228
|
setMeasuredBottom(height);
|
|
228
229
|
};
|
|
230
|
+
const headerSize = useBorderBoxSize(({ height }) => setTop(height));
|
|
231
|
+
const footerSize = useBorderBoxSize(({ height }) => setBottom(height));
|
|
229
232
|
const top =
|
|
230
233
|
measuredTop ?? headerHeight ?? 56 + (Platform.OS === 'web' ? 0 : (insets?.top ?? 0));
|
|
231
234
|
const bottom = measuredBottom ?? bottomBarHeight ?? 58 + windowEdgeGap(insets?.bottom ?? 0);
|
|
@@ -376,7 +379,7 @@ export function createScreen(
|
|
|
376
379
|
disabled={windowChrome == null}
|
|
377
380
|
testID={testID ? `${testID}-header` : undefined}
|
|
378
381
|
pointerEvents={windowChrome == null ? 'box-none' : undefined}
|
|
379
|
-
|
|
382
|
+
{...headerSize}
|
|
380
383
|
style={headerSlotStyle}
|
|
381
384
|
>
|
|
382
385
|
<WindowChromeProvider value={windowChrome}>
|
|
@@ -387,7 +390,7 @@ export function createScreen(
|
|
|
387
390
|
<View
|
|
388
391
|
testID={testID ? `${testID}-header` : undefined}
|
|
389
392
|
pointerEvents="box-none"
|
|
390
|
-
|
|
393
|
+
{...headerSize}
|
|
391
394
|
style={headerSlotStyle}
|
|
392
395
|
>
|
|
393
396
|
<ScreenHeaderContext.Provider value={value}>{header}</ScreenHeaderContext.Provider>
|
|
@@ -436,7 +439,7 @@ export function createScreen(
|
|
|
436
439
|
{...(keyboardFollow ? { enabled: active } : {})}
|
|
437
440
|
testID={testID ? `${testID}-bottom` : undefined}
|
|
438
441
|
pointerEvents="box-none"
|
|
439
|
-
|
|
442
|
+
{...footerSize}
|
|
440
443
|
style={
|
|
441
444
|
document
|
|
442
445
|
? {
|
|
@@ -644,12 +647,16 @@ export function createScreen(
|
|
|
644
647
|
) : (
|
|
645
648
|
children
|
|
646
649
|
)}
|
|
647
|
-
{ownWebViewport &&
|
|
648
|
-
<ScrollBar
|
|
650
|
+
{ownWebViewport && !document ? (
|
|
651
|
+
<ScrollBar
|
|
652
|
+
target={scrollbarTarget}
|
|
653
|
+
scrollbar={active ? 'scroll' : 'never'}
|
|
654
|
+
/>
|
|
649
655
|
) : null}
|
|
650
|
-
{ownWebViewport &&
|
|
656
|
+
{ownWebViewport && document && region?.flow !== 'document' ? (
|
|
651
657
|
<ScrollBar
|
|
652
658
|
target="document"
|
|
659
|
+
scrollbar={active ? 'scroll' : 'never'}
|
|
653
660
|
insets={{ start: reservedTop, end: reservedBottom }}
|
|
654
661
|
/>
|
|
655
662
|
) : null}
|
|
@@ -29,6 +29,7 @@ import type { ScrollBarProps } from '../layout/types';
|
|
|
29
29
|
import { StyledView } from '../styles/styled-primitives';
|
|
30
30
|
import { useScreen } from './context';
|
|
31
31
|
import { useScreenViewport } from './context';
|
|
32
|
+
import { useIntrinsicContentHeight } from './use-intrinsic-content-height';
|
|
32
33
|
import { END_SENTINEL_STYLE, useDocumentEndReached } from './use-document-end-reached';
|
|
33
34
|
import { DEFAULT_END_REACHED_THRESHOLD, useEndReached } from './use-end-reached';
|
|
34
35
|
import { useScreenScroll } from './use-screen-scroll';
|
|
@@ -95,6 +96,7 @@ export function createScreenScrollView(
|
|
|
95
96
|
...props
|
|
96
97
|
}: InnerProps) {
|
|
97
98
|
const viewport = useScreenViewport();
|
|
99
|
+
const publishIntrinsic = useIntrinsicContentHeight();
|
|
98
100
|
const screen = useScreen();
|
|
99
101
|
const activeRef = useRef(active !== false);
|
|
100
102
|
activeRef.current = active !== false;
|
|
@@ -137,9 +139,27 @@ export function createScreenScrollView(
|
|
|
137
139
|
if (!active) return;
|
|
138
140
|
end.onContentSizeChange(width, height);
|
|
139
141
|
if (viewport) viewport.metrics.contentHeight.value = height;
|
|
142
|
+
// A growing ScrollView content container reports at least its viewport,
|
|
143
|
+
// not its natural content extent. Keep that case explicitly unknown.
|
|
144
|
+
if (publishIntrinsic) {
|
|
145
|
+
const flat = StyleSheet.flatten(contentContainerStyle);
|
|
146
|
+
publishIntrinsic(
|
|
147
|
+
contentContainerClassName != null || flat?.flexGrow || flat?.flex || flat?.minHeight
|
|
148
|
+
? -1
|
|
149
|
+
: height,
|
|
150
|
+
);
|
|
151
|
+
}
|
|
140
152
|
onContentSizeChange?.(width, height);
|
|
141
153
|
},
|
|
142
|
-
[
|
|
154
|
+
[
|
|
155
|
+
active,
|
|
156
|
+
end.onContentSizeChange,
|
|
157
|
+
onContentSizeChange,
|
|
158
|
+
viewport,
|
|
159
|
+
publishIntrinsic,
|
|
160
|
+
contentContainerStyle,
|
|
161
|
+
contentContainerClassName,
|
|
162
|
+
],
|
|
143
163
|
);
|
|
144
164
|
// A class's padding cannot be read back to add the chrome footprint to it, and
|
|
145
165
|
// an inline padding would override it — so with a class the footprint pads
|
|
@@ -260,6 +280,7 @@ export function createScreenScrollView(
|
|
|
260
280
|
}: InnerProps) {
|
|
261
281
|
const screen = useScreen();
|
|
262
282
|
const viewport = useScreenViewport();
|
|
283
|
+
const publishIntrinsic = useIntrinsicContentHeight();
|
|
263
284
|
const activeRef = useRef(active !== false);
|
|
264
285
|
activeRef.current = active !== false;
|
|
265
286
|
useEffect(() => {
|
|
@@ -374,10 +395,11 @@ export function createScreenScrollView(
|
|
|
374
395
|
(event: LayoutChangeEvent) => {
|
|
375
396
|
if (!active) return;
|
|
376
397
|
const { width, height } = event.nativeEvent.layout;
|
|
398
|
+
publishIntrinsic?.(height, contentRef.current as unknown as HTMLElement | null);
|
|
377
399
|
if (tracksEnd) setContentHeight(height);
|
|
378
400
|
onContentSizeChange?.(width, height);
|
|
379
401
|
},
|
|
380
|
-
[active, tracksEnd, onContentSizeChange],
|
|
402
|
+
[active, tracksEnd, onContentSizeChange, publishIntrinsic],
|
|
381
403
|
);
|
|
382
404
|
return (
|
|
383
405
|
<View
|
package/src/screen/context.ts
CHANGED
|
@@ -53,6 +53,9 @@ export interface ScreenViewportValue {
|
|
|
53
53
|
metrics: ScrollMetrics;
|
|
54
54
|
active: boolean;
|
|
55
55
|
scrollTo(options: { x?: number; y?: number; animated?: boolean }): void;
|
|
56
|
+
/** Internal natural-content measurement, independent of the viewport's flex fill. */
|
|
57
|
+
contentRef?: RefObject<unknown>;
|
|
58
|
+
setIntrinsicContentHeight?: (source: object, height: number | null) => void;
|
|
56
59
|
}
|
|
57
60
|
export const ScreenViewportContext = createContext<ScreenViewportValue | null>(null);
|
|
58
61
|
/** The screen's existing scroll owner; never creates another scroll container. */
|