Repository navigation
Native Media, List, Tabs, responsive props, safe areas and real React Native tests - #204
Merged
Merged
Conversation
Flex, Row, Column and Card take core's breakpoint objects (xl, l, m, s, xs). Those the window width falls within merge over the base props, larger first so the smaller wins, as the CSS cascade applies core's media queries. The theme now carries width, breakpoints (from the token export; xl at every width, as core's LayoutProvider) and insets. Flex also gains core's position, top/right/bottom/left, aspectRatio, opacity, zIndex, pointerEvents, hide, dark and light, so the breakpoints can set them too. ThemeProvider takes insets (pass useSafeAreaInsets() from react-native-safe-area-context; no new dependency). Dialog pads its sheet by the bottom inset, the toast stack sits above it, and Flex's safeArea prop adds the insets to the padding of the given edges, the native side of core's --safe-area-* tokens. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos
…sIndicator
Ports more core components to @once-ui-system/native with core's props and
token choices:
- Media: an image at core's aspectRatio ("16 / 9" or "original"), Flex props
for radius/border/size, a Skeleton until the image loads, objectFit,
caption and onPress. No enlarge overlay, video or YouTube embeds.
- List and ListItem: bullets, or numbers with as="ol" and start, drawn in
core's 20-step indent since React Native has no list markers.
- Tabs, TabList, Tab and TabPanel: controlled or not via useControlledValue,
first enabled tab adopted, tablist/tab roles with aria-selected,
keepMounted, vertical orientation.
- ToggleButton, which Tab is built on.
- Accordion with LayoutAnimation, aria-expanded/accessibilityState and a
toggle/open/close handle; AvatarGroup; StatusIndicator.
Tests in test/content.test.tsx; README and docs overview list them.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos
…d iOS Jest with React Native's preset runs the demo screens and the components against the real react-native package, and Metro plus Hermes bundle the demo for both platforms. Both run in CI. They caught three accessibility bugs: Select didn't announce the chosen value, and ProgressBar and Avatar weren't single accessible elements. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos
…ve preview Media and StatusIndicator now use flexStyle's userStyle and hidden, so `style` at a breakpoint and `hide` work on them too. Tabs, Accordion and Media also run under the real React Native tests. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
…rGroup The demo build also defines `global`, which react-native-web's animations read. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos
Merged
30 tasks done
lorant-one
pushed a commit
that referenced
this pull request
Oct 18, 2026
The React Native page's examples were typed against core, where ThemeProvider has no insets and Column no safeArea, so preview CI failed since #204. Pages under native/ now auto-import from and resolve @once-ui-system/native's source, and a bad import or prop there is still an error. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01E5ivjExopsYxSMrNg18Ghm
This was referenced Oct 18, 2026
lorant-one
pushed a commit
that referenced
this pull request
Oct 18, 2026
The docs example checker types a snippet with no Once UI import against core, where ThemeProvider has no insets and Column no safeArea, so the docs build on preview went red once both #204 and #206 were in. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_0183UV8SQBGYKctRTFAv64N8
lorant-one
added a commit
that referenced
this pull request
Oct 18, 2026
The React Native page's examples were typed against core, where ThemeProvider has no insets and Column no safeArea, so preview CI failed since #204. Pages under native/ now auto-import from and resolve @once-ui-system/native's source, and a bad import or prop there is still an error. Claude-Session: https://claude.ai/code/session_01E5ivjExopsYxSMrNg18Ghm Co-authored-by: Claude <[email protected]>
lorant-one
added a commit
that referenced
this pull request
Oct 18, 2026
* Accessibility drill, round 2: focus, keyboard and announcements - Dialog and FocusTrap: Tab walks tabbables in document order and wraps; focus moves into a dialog when it opens. - Select keeps an uncontrolled value and focuses its search field reliably; options show a visible keyboard focus. - InfoTip and other hover triggers open with Enter and Space. - ToggleButton defaults to type="button" with aria-pressed; Button and IconButton set aria-busy while loading. - DropdownWrapper puts the button role on the element that takes focus. - ContextMenu closes on Escape and marks disabled state. - Feedback: danger/warning are alerts, info/success polite status. - LinearGauge and RadialGauge are named meters with unique gradient ids. - Reduced motion: transitions and animations end at once under prefers-reduced-motion; Spinner opts out as essential motion. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_0183UV8SQBGYKctRTFAv64N8 * Docs: import the safe-area example's components from native The docs example checker types a snippet with no Once UI import against core, where ThemeProvider has no insets and Column no safeArea, so the docs build on preview went red once both #204 and #206 were in. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_0183UV8SQBGYKctRTFAv64N8 --------- Co-authored-by: Claude <[email protected]>
Merged
lorant-one
added a commit
that referenced
this pull request
Oct 18, 2026
… Native tests (#204) * Native responsive props and safe areas Flex, Row, Column and Card take core's breakpoint objects (xl, l, m, s, xs). Those the window width falls within merge over the base props, larger first so the smaller wins, as the CSS cascade applies core's media queries. The theme now carries width, breakpoints (from the token export; xl at every width, as core's LayoutProvider) and insets. Flex also gains core's position, top/right/bottom/left, aspectRatio, opacity, zIndex, pointerEvents, hide, dark and light, so the breakpoints can set them too. ThemeProvider takes insets (pass useSafeAreaInsets() from react-native-safe-area-context; no new dependency). Dialog pads its sheet by the bottom inset, the toast stack sits above it, and Flex's safeArea prop adds the insets to the padding of the given edges, the native side of core's --safe-area-* tokens. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos * Native Media, List, Tabs, ToggleButton, Accordion, AvatarGroup, StatusIndicator Ports more core components to @once-ui-system/native with core's props and token choices: - Media: an image at core's aspectRatio ("16 / 9" or "original"), Flex props for radius/border/size, a Skeleton until the image loads, objectFit, caption and onPress. No enlarge overlay, video or YouTube embeds. - List and ListItem: bullets, or numbers with as="ol" and start, drawn in core's 20-step indent since React Native has no list markers. - Tabs, TabList, Tab and TabPanel: controlled or not via useControlledValue, first enabled tab adopted, tablist/tab roles with aria-selected, keepMounted, vertical orientation. - ToggleButton, which Tab is built on. - Accordion with LayoutAnimation, aria-expanded/accessibilityState and a toggle/open/close handle; AvatarGroup; StatusIndicator. Tests in test/content.test.tsx; README and docs overview list them. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos * Test native components on real React Native and bundle for Android and iOS Jest with React Native's preset runs the demo screens and the components against the real react-native package, and Metro plus Hermes bundle the demo for both platforms. Both run in CI. They caught three accessibility bugs: Select didn't announce the chosen value, and ProgressBar and Avatar weren't single accessible elements. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos * Native demo: a menu screen for Tabs, Media, List, Accordion and AvatarGroup The demo build also defines `global`, which react-native-web's animations read. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos --------- Co-authored-by: Claude <[email protected]> (cherry picked from commit 1fee217)
lorant-one
added a commit
that referenced
this pull request
Oct 18, 2026
…#221) * Native Accordion, Tabs and StatusIndicator accept core 3.0's prop names defaultOpen/onOpenChange, onValueChange and scheme work alongside the 2.x names, so the 3.0 branch's merge of preview only removes the old ones. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos * Docs: import the native names in the safe-area example The docs example check types unimported names against the web package, where ThemeProvider has no insets and Column no safeArea. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos * Native preview polish and a React Native docs section (#200) Bare strings in Flex and Card render through Text instead of throwing, radius no longer clips children (which hid shadows on iOS; new overflow prop as on the web), an uncontrolled Input keeps its label floating after blur, Button, Switch and Checkbox take taps from core's 2.75rem touch target, and Skeleton holds still under reduce motion. The docs site gets a React Native section, marked unreleased. Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos Co-authored-by: Claude <[email protected]> (cherry picked from commit c574a74) * Native Icon, IconButton and icon names on Button and Tag (#202) The native preview draws core's built-in icons with react-native-svg: src/icons/data.ts is a copy of core's icon data (sync:icons, checked in CI). Icon, IconButton and IconProvider match core's props; Button and Tag take icon names in prefixIcon/suffixIcon as core does, or any element. IconProvider also takes components with size and color, such as @expo/vector-icons. react-native-svg 15 becomes a peer dependency. Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos Co-authored-by: Claude <[email protected]> (cherry picked from commit a9f2b9a) * Native Dialog, Toast, Select and the small controls (#203) * Native Dialog, Toast and Select Dialog opens as a bottom sheet with core's props; the back button and a tap on the backdrop close it. ToastProvider and useToast match core's addToast({ variant, message }); toasts stack at the bottom and hide after their duration. Select is an Input-styled field that opens its options (Option rows) in that sheet, with multiple and searchable. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos * Native RadioGroup, SegmentedControl, Badge, Chip and ProgressBar Token-only ports of core's controls with core's props. Removable chips are plain views so their remove button stays reachable; ProgressBar reports its value through aria-value props. The demo gains an order screen (?screen=order, ?screen=sheet) that uses every new component. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos --------- Co-authored-by: Claude <[email protected]> (cherry picked from commit da85c0e) * Native Media, List, Tabs, responsive props, safe areas and real React Native tests (#204) * Native responsive props and safe areas Flex, Row, Column and Card take core's breakpoint objects (xl, l, m, s, xs). Those the window width falls within merge over the base props, larger first so the smaller wins, as the CSS cascade applies core's media queries. The theme now carries width, breakpoints (from the token export; xl at every width, as core's LayoutProvider) and insets. Flex also gains core's position, top/right/bottom/left, aspectRatio, opacity, zIndex, pointerEvents, hide, dark and light, so the breakpoints can set them too. ThemeProvider takes insets (pass useSafeAreaInsets() from react-native-safe-area-context; no new dependency). Dialog pads its sheet by the bottom inset, the toast stack sits above it, and Flex's safeArea prop adds the insets to the padding of the given edges, the native side of core's --safe-area-* tokens. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos * Native Media, List, Tabs, ToggleButton, Accordion, AvatarGroup, StatusIndicator Ports more core components to @once-ui-system/native with core's props and token choices: - Media: an image at core's aspectRatio ("16 / 9" or "original"), Flex props for radius/border/size, a Skeleton until the image loads, objectFit, caption and onPress. No enlarge overlay, video or YouTube embeds. - List and ListItem: bullets, or numbers with as="ol" and start, drawn in core's 20-step indent since React Native has no list markers. - Tabs, TabList, Tab and TabPanel: controlled or not via useControlledValue, first enabled tab adopted, tablist/tab roles with aria-selected, keepMounted, vertical orientation. - ToggleButton, which Tab is built on. - Accordion with LayoutAnimation, aria-expanded/accessibilityState and a toggle/open/close handle; AvatarGroup; StatusIndicator. Tests in test/content.test.tsx; README and docs overview list them. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos * Test native components on real React Native and bundle for Android and iOS Jest with React Native's preset runs the demo screens and the components against the real react-native package, and Metro plus Hermes bundle the demo for both platforms. Both run in CI. They caught three accessibility bugs: Select didn't announce the chosen value, and ProgressBar and Avatar weren't single accessible elements. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos * Native demo: a menu screen for Tabs, Media, List, Accordion and AvatarGroup The demo build also defines `global`, which react-native-web's animations read. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos --------- Co-authored-by: Claude <[email protected]> (cherry picked from commit 1fee217) * Native Accordion, Tabs and StatusIndicator accept core 3.0's prop names (#211) * Native Accordion, Tabs and StatusIndicator accept core 3.0's prop names defaultOpen/onOpenChange, onValueChange and scheme work alongside the 2.x names, so the 3.0 branch's merge of preview only removes the old ones. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos * Docs: import the native names in the safe-area example The docs example check types unimported names against the web package, where ThemeProvider has no insets and Column no safeArea. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos --------- Co-authored-by: Claude <[email protected]> (cherry picked from commit 9e641d7) * Docs: a page per native component, quick start, config and responsive The React Native section had one overview page. It now has a quick start (Expo and bare apps, safe areas, fonts), a config page for ThemeProvider, useTheme, createTheme and IconProvider, a responsive page, and a page for each of the 34 native components and form controls, with examples checked against the native source, a props table and what differs from the web. The overview becomes an index that links to them. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos --------- Co-authored-by: Claude <[email protected]>
lorant-one
added a commit
that referenced
this pull request
Oct 18, 2026
* Native Accordion, Tabs and StatusIndicator accept core 3.0's prop names defaultOpen/onOpenChange, onValueChange and scheme work alongside the 2.x names, so the 3.0 branch's merge of preview only removes the old ones. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos * Docs: import the native names in the safe-area example The docs example check types unimported names against the web package, where ThemeProvider has no insets and Column no safeArea. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos * Native preview polish and a React Native docs section (#200) Bare strings in Flex and Card render through Text instead of throwing, radius no longer clips children (which hid shadows on iOS; new overflow prop as on the web), an uncontrolled Input keeps its label floating after blur, Button, Switch and Checkbox take taps from core's 2.75rem touch target, and Skeleton holds still under reduce motion. The docs site gets a React Native section, marked unreleased. Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos Co-authored-by: Claude <[email protected]> (cherry picked from commit c574a74) * Native Icon, IconButton and icon names on Button and Tag (#202) The native preview draws core's built-in icons with react-native-svg: src/icons/data.ts is a copy of core's icon data (sync:icons, checked in CI). Icon, IconButton and IconProvider match core's props; Button and Tag take icon names in prefixIcon/suffixIcon as core does, or any element. IconProvider also takes components with size and color, such as @expo/vector-icons. react-native-svg 15 becomes a peer dependency. Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos Co-authored-by: Claude <[email protected]> (cherry picked from commit a9f2b9a) * Native Dialog, Toast, Select and the small controls (#203) * Native Dialog, Toast and Select Dialog opens as a bottom sheet with core's props; the back button and a tap on the backdrop close it. ToastProvider and useToast match core's addToast({ variant, message }); toasts stack at the bottom and hide after their duration. Select is an Input-styled field that opens its options (Option rows) in that sheet, with multiple and searchable. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos * Native RadioGroup, SegmentedControl, Badge, Chip and ProgressBar Token-only ports of core's controls with core's props. Removable chips are plain views so their remove button stays reachable; ProgressBar reports its value through aria-value props. The demo gains an order screen (?screen=order, ?screen=sheet) that uses every new component. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos --------- Co-authored-by: Claude <[email protected]> (cherry picked from commit da85c0e) * Native Media, List, Tabs, responsive props, safe areas and real React Native tests (#204) * Native responsive props and safe areas Flex, Row, Column and Card take core's breakpoint objects (xl, l, m, s, xs). Those the window width falls within merge over the base props, larger first so the smaller wins, as the CSS cascade applies core's media queries. The theme now carries width, breakpoints (from the token export; xl at every width, as core's LayoutProvider) and insets. Flex also gains core's position, top/right/bottom/left, aspectRatio, opacity, zIndex, pointerEvents, hide, dark and light, so the breakpoints can set them too. ThemeProvider takes insets (pass useSafeAreaInsets() from react-native-safe-area-context; no new dependency). Dialog pads its sheet by the bottom inset, the toast stack sits above it, and Flex's safeArea prop adds the insets to the padding of the given edges, the native side of core's --safe-area-* tokens. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos * Native Media, List, Tabs, ToggleButton, Accordion, AvatarGroup, StatusIndicator Ports more core components to @once-ui-system/native with core's props and token choices: - Media: an image at core's aspectRatio ("16 / 9" or "original"), Flex props for radius/border/size, a Skeleton until the image loads, objectFit, caption and onPress. No enlarge overlay, video or YouTube embeds. - List and ListItem: bullets, or numbers with as="ol" and start, drawn in core's 20-step indent since React Native has no list markers. - Tabs, TabList, Tab and TabPanel: controlled or not via useControlledValue, first enabled tab adopted, tablist/tab roles with aria-selected, keepMounted, vertical orientation. - ToggleButton, which Tab is built on. - Accordion with LayoutAnimation, aria-expanded/accessibilityState and a toggle/open/close handle; AvatarGroup; StatusIndicator. Tests in test/content.test.tsx; README and docs overview list them. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos * Test native components on real React Native and bundle for Android and iOS Jest with React Native's preset runs the demo screens and the components against the real react-native package, and Metro plus Hermes bundle the demo for both platforms. Both run in CI. They caught three accessibility bugs: Select didn't announce the chosen value, and ProgressBar and Avatar weren't single accessible elements. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos * Native demo: a menu screen for Tabs, Media, List, Accordion and AvatarGroup The demo build also defines `global`, which react-native-web's animations read. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos --------- Co-authored-by: Claude <[email protected]> (cherry picked from commit 1fee217) * Native Accordion, Tabs and StatusIndicator accept core 3.0's prop names (#211) * Native Accordion, Tabs and StatusIndicator accept core 3.0's prop names defaultOpen/onOpenChange, onValueChange and scheme work alongside the 2.x names, so the 3.0 branch's merge of preview only removes the old ones. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos * Docs: import the native names in the safe-area example The docs example check types unimported names against the web package, where ThemeProvider has no insets and Column no safeArea. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos --------- Co-authored-by: Claude <[email protected]> (cherry picked from commit 9e641d7) * Docs: a page per native component, quick start, config and responsive The React Native section had one overview page. It now has a quick start (Expo and bare apps, safe areas, fonts), a config page for ThemeProvider, useTheme, createTheme and IconProvider, a responsive page, and a page for each of the 34 native components and form controls, with examples checked against the native source, a props table and what differs from the web. The overview becomes an index that links to them. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos * Native RadioButton value, Textarea lines: behave as on the web - RadioGroup takes RadioButton children and checks the one whose `value` it holds, through a group context like core's. Before, `value` did nothing and a group could only be built from `options`. - Textarea `lines` defaults to "auto" and grows with its text; a number fixes the height to that many lines and scrolls, as core's does. Before, a number only set a minimum height. - The docs pages describe the new behaviour; ProgressBar's label already matches core (value with a % sign), so its page now says so. - Version 0.1.0-preview.1 for the next preview release. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos --------- Co-authored-by: Claude <[email protected]>
lorant-one
added a commit
that referenced
this pull request
Oct 18, 2026
* Native Accordion, Tabs and StatusIndicator accept core 3.0's prop names defaultOpen/onOpenChange, onValueChange and scheme work alongside the 2.x names, so the 3.0 branch's merge of preview only removes the old ones. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos * Docs: import the native names in the safe-area example The docs example check types unimported names against the web package, where ThemeProvider has no insets and Column no safeArea. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos * Native preview polish and a React Native docs section (#200) Bare strings in Flex and Card render through Text instead of throwing, radius no longer clips children (which hid shadows on iOS; new overflow prop as on the web), an uncontrolled Input keeps its label floating after blur, Button, Switch and Checkbox take taps from core's 2.75rem touch target, and Skeleton holds still under reduce motion. The docs site gets a React Native section, marked unreleased. Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos Co-authored-by: Claude <[email protected]> (cherry picked from commit c574a74) * Native Icon, IconButton and icon names on Button and Tag (#202) The native preview draws core's built-in icons with react-native-svg: src/icons/data.ts is a copy of core's icon data (sync:icons, checked in CI). Icon, IconButton and IconProvider match core's props; Button and Tag take icon names in prefixIcon/suffixIcon as core does, or any element. IconProvider also takes components with size and color, such as @expo/vector-icons. react-native-svg 15 becomes a peer dependency. Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos Co-authored-by: Claude <[email protected]> (cherry picked from commit a9f2b9a) * Native Dialog, Toast, Select and the small controls (#203) * Native Dialog, Toast and Select Dialog opens as a bottom sheet with core's props; the back button and a tap on the backdrop close it. ToastProvider and useToast match core's addToast({ variant, message }); toasts stack at the bottom and hide after their duration. Select is an Input-styled field that opens its options (Option rows) in that sheet, with multiple and searchable. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos * Native RadioGroup, SegmentedControl, Badge, Chip and ProgressBar Token-only ports of core's controls with core's props. Removable chips are plain views so their remove button stays reachable; ProgressBar reports its value through aria-value props. The demo gains an order screen (?screen=order, ?screen=sheet) that uses every new component. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos --------- Co-authored-by: Claude <[email protected]> (cherry picked from commit da85c0e) * Native Media, List, Tabs, responsive props, safe areas and real React Native tests (#204) * Native responsive props and safe areas Flex, Row, Column and Card take core's breakpoint objects (xl, l, m, s, xs). Those the window width falls within merge over the base props, larger first so the smaller wins, as the CSS cascade applies core's media queries. The theme now carries width, breakpoints (from the token export; xl at every width, as core's LayoutProvider) and insets. Flex also gains core's position, top/right/bottom/left, aspectRatio, opacity, zIndex, pointerEvents, hide, dark and light, so the breakpoints can set them too. ThemeProvider takes insets (pass useSafeAreaInsets() from react-native-safe-area-context; no new dependency). Dialog pads its sheet by the bottom inset, the toast stack sits above it, and Flex's safeArea prop adds the insets to the padding of the given edges, the native side of core's --safe-area-* tokens. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos * Native Media, List, Tabs, ToggleButton, Accordion, AvatarGroup, StatusIndicator Ports more core components to @once-ui-system/native with core's props and token choices: - Media: an image at core's aspectRatio ("16 / 9" or "original"), Flex props for radius/border/size, a Skeleton until the image loads, objectFit, caption and onPress. No enlarge overlay, video or YouTube embeds. - List and ListItem: bullets, or numbers with as="ol" and start, drawn in core's 20-step indent since React Native has no list markers. - Tabs, TabList, Tab and TabPanel: controlled or not via useControlledValue, first enabled tab adopted, tablist/tab roles with aria-selected, keepMounted, vertical orientation. - ToggleButton, which Tab is built on. - Accordion with LayoutAnimation, aria-expanded/accessibilityState and a toggle/open/close handle; AvatarGroup; StatusIndicator. Tests in test/content.test.tsx; README and docs overview list them. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos * Test native components on real React Native and bundle for Android and iOS Jest with React Native's preset runs the demo screens and the components against the real react-native package, and Metro plus Hermes bundle the demo for both platforms. Both run in CI. They caught three accessibility bugs: Select didn't announce the chosen value, and ProgressBar and Avatar weren't single accessible elements. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos * Native demo: a menu screen for Tabs, Media, List, Accordion and AvatarGroup The demo build also defines `global`, which react-native-web's animations read. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos --------- Co-authored-by: Claude <[email protected]> (cherry picked from commit 1fee217) * Native Accordion, Tabs and StatusIndicator accept core 3.0's prop names (#211) * Native Accordion, Tabs and StatusIndicator accept core 3.0's prop names defaultOpen/onOpenChange, onValueChange and scheme work alongside the 2.x names, so the 3.0 branch's merge of preview only removes the old ones. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos * Docs: import the native names in the safe-area example The docs example check types unimported names against the web package, where ThemeProvider has no insets and Column no safeArea. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos --------- Co-authored-by: Claude <[email protected]> (cherry picked from commit 9e641d7) * Docs: a page per native component, quick start, config and responsive The React Native section had one overview page. It now has a quick start (Expo and bare apps, safe areas, fonts), a config page for ThemeProvider, useTheme, createTheme and IconProvider, a responsive page, and a page for each of the 34 native components and form controls, with examples checked against the native source, a props table and what differs from the web. The overview becomes an index that links to them. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos * Native RadioButton value, Textarea lines: behave as on the web - RadioGroup takes RadioButton children and checks the one whose `value` it holds, through a group context like core's. Before, `value` did nothing and a group could only be built from `options`. - Textarea `lines` defaults to "auto" and grows with its text; a number fixes the height to that many lines and scrolls, as core's does. Before, a number only set a minimum height. - The docs pages describe the new behaviour; ProgressBar's label already matches core (value with a % sign), so its page now says so. - Version 0.1.0-preview.1 for the next preview release. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos * feat(native): menus, CodeBlock, charts and 14 more components with docs DropdownWrapper, Dropdown and ContextMenu; CodeBlock, InlineCode and Kbd; BarChart and LineChart on react-native-svg; Grid, Slider, RangeSlider, NumberInput, PasswordInput, OTPInput, Tooltip, InfoTip, User, Banner, BlockQuote, Breadcrumbs, Pagination and Timeline. Each has a docs page listing what differs from the web, and React Native tests. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos * fix(native): Timeline step spacing, Pagination wrap and chart label font; batch 2 demo screens Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos * docs(native): fix chart height type that broke the docs build Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos * test(native): allow 20s per React Native test for cold module loads on CI Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos --------- Co-authored-by: Claude <[email protected]>
lorant-one
added a commit
that referenced
this pull request
Oct 18, 2026
…#221) * Native Accordion, Tabs and StatusIndicator accept core 3.0's prop names defaultOpen/onOpenChange, onValueChange and scheme work alongside the 2.x names, so the 3.0 branch's merge of preview only removes the old ones. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos * Docs: import the native names in the safe-area example The docs example check types unimported names against the web package, where ThemeProvider has no insets and Column no safeArea. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos * Native preview polish and a React Native docs section (#200) Bare strings in Flex and Card render through Text instead of throwing, radius no longer clips children (which hid shadows on iOS; new overflow prop as on the web), an uncontrolled Input keeps its label floating after blur, Button, Switch and Checkbox take taps from core's 2.75rem touch target, and Skeleton holds still under reduce motion. The docs site gets a React Native section, marked unreleased. Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos Co-authored-by: Claude <[email protected]> (cherry picked from commit c574a74) * Native Icon, IconButton and icon names on Button and Tag (#202) The native preview draws core's built-in icons with react-native-svg: src/icons/data.ts is a copy of core's icon data (sync:icons, checked in CI). Icon, IconButton and IconProvider match core's props; Button and Tag take icon names in prefixIcon/suffixIcon as core does, or any element. IconProvider also takes components with size and color, such as @expo/vector-icons. react-native-svg 15 becomes a peer dependency. Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos Co-authored-by: Claude <[email protected]> (cherry picked from commit a9f2b9a) * Native Dialog, Toast, Select and the small controls (#203) * Native Dialog, Toast and Select Dialog opens as a bottom sheet with core's props; the back button and a tap on the backdrop close it. ToastProvider and useToast match core's addToast({ variant, message }); toasts stack at the bottom and hide after their duration. Select is an Input-styled field that opens its options (Option rows) in that sheet, with multiple and searchable. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos * Native RadioGroup, SegmentedControl, Badge, Chip and ProgressBar Token-only ports of core's controls with core's props. Removable chips are plain views so their remove button stays reachable; ProgressBar reports its value through aria-value props. The demo gains an order screen (?screen=order, ?screen=sheet) that uses every new component. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos --------- Co-authored-by: Claude <[email protected]> (cherry picked from commit da85c0e) * Native Media, List, Tabs, responsive props, safe areas and real React Native tests (#204) * Native responsive props and safe areas Flex, Row, Column and Card take core's breakpoint objects (xl, l, m, s, xs). Those the window width falls within merge over the base props, larger first so the smaller wins, as the CSS cascade applies core's media queries. The theme now carries width, breakpoints (from the token export; xl at every width, as core's LayoutProvider) and insets. Flex also gains core's position, top/right/bottom/left, aspectRatio, opacity, zIndex, pointerEvents, hide, dark and light, so the breakpoints can set them too. ThemeProvider takes insets (pass useSafeAreaInsets() from react-native-safe-area-context; no new dependency). Dialog pads its sheet by the bottom inset, the toast stack sits above it, and Flex's safeArea prop adds the insets to the padding of the given edges, the native side of core's --safe-area-* tokens. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos * Native Media, List, Tabs, ToggleButton, Accordion, AvatarGroup, StatusIndicator Ports more core components to @once-ui-system/native with core's props and token choices: - Media: an image at core's aspectRatio ("16 / 9" or "original"), Flex props for radius/border/size, a Skeleton until the image loads, objectFit, caption and onPress. No enlarge overlay, video or YouTube embeds. - List and ListItem: bullets, or numbers with as="ol" and start, drawn in core's 20-step indent since React Native has no list markers. - Tabs, TabList, Tab and TabPanel: controlled or not via useControlledValue, first enabled tab adopted, tablist/tab roles with aria-selected, keepMounted, vertical orientation. - ToggleButton, which Tab is built on. - Accordion with LayoutAnimation, aria-expanded/accessibilityState and a toggle/open/close handle; AvatarGroup; StatusIndicator. Tests in test/content.test.tsx; README and docs overview list them. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos * Test native components on real React Native and bundle for Android and iOS Jest with React Native's preset runs the demo screens and the components against the real react-native package, and Metro plus Hermes bundle the demo for both platforms. Both run in CI. They caught three accessibility bugs: Select didn't announce the chosen value, and ProgressBar and Avatar weren't single accessible elements. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos * Native demo: a menu screen for Tabs, Media, List, Accordion and AvatarGroup The demo build also defines `global`, which react-native-web's animations read. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos --------- Co-authored-by: Claude <[email protected]> (cherry picked from commit 1fee217) * Native Accordion, Tabs and StatusIndicator accept core 3.0's prop names (#211) * Native Accordion, Tabs and StatusIndicator accept core 3.0's prop names defaultOpen/onOpenChange, onValueChange and scheme work alongside the 2.x names, so the 3.0 branch's merge of preview only removes the old ones. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos * Docs: import the native names in the safe-area example The docs example check types unimported names against the web package, where ThemeProvider has no insets and Column no safeArea. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos --------- Co-authored-by: Claude <[email protected]> (cherry picked from commit 9e641d7) * Docs: a page per native component, quick start, config and responsive The React Native section had one overview page. It now has a quick start (Expo and bare apps, safe areas, fonts), a config page for ThemeProvider, useTheme, createTheme and IconProvider, a responsive page, and a page for each of the 34 native components and form controls, with examples checked against the native source, a props table and what differs from the web. The overview becomes an index that links to them. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos --------- Co-authored-by: Claude <[email protected]> (cherry picked from commit ed54369)
lorant-one
added a commit
that referenced
this pull request
Oct 18, 2026
* Native Accordion, Tabs and StatusIndicator accept core 3.0's prop names defaultOpen/onOpenChange, onValueChange and scheme work alongside the 2.x names, so the 3.0 branch's merge of preview only removes the old ones. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos * Docs: import the native names in the safe-area example The docs example check types unimported names against the web package, where ThemeProvider has no insets and Column no safeArea. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos * Native preview polish and a React Native docs section (#200) Bare strings in Flex and Card render through Text instead of throwing, radius no longer clips children (which hid shadows on iOS; new overflow prop as on the web), an uncontrolled Input keeps its label floating after blur, Button, Switch and Checkbox take taps from core's 2.75rem touch target, and Skeleton holds still under reduce motion. The docs site gets a React Native section, marked unreleased. Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos Co-authored-by: Claude <[email protected]> (cherry picked from commit c574a74) * Native Icon, IconButton and icon names on Button and Tag (#202) The native preview draws core's built-in icons with react-native-svg: src/icons/data.ts is a copy of core's icon data (sync:icons, checked in CI). Icon, IconButton and IconProvider match core's props; Button and Tag take icon names in prefixIcon/suffixIcon as core does, or any element. IconProvider also takes components with size and color, such as @expo/vector-icons. react-native-svg 15 becomes a peer dependency. Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos Co-authored-by: Claude <[email protected]> (cherry picked from commit a9f2b9a) * Native Dialog, Toast, Select and the small controls (#203) * Native Dialog, Toast and Select Dialog opens as a bottom sheet with core's props; the back button and a tap on the backdrop close it. ToastProvider and useToast match core's addToast({ variant, message }); toasts stack at the bottom and hide after their duration. Select is an Input-styled field that opens its options (Option rows) in that sheet, with multiple and searchable. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos * Native RadioGroup, SegmentedControl, Badge, Chip and ProgressBar Token-only ports of core's controls with core's props. Removable chips are plain views so their remove button stays reachable; ProgressBar reports its value through aria-value props. The demo gains an order screen (?screen=order, ?screen=sheet) that uses every new component. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos --------- Co-authored-by: Claude <[email protected]> (cherry picked from commit da85c0e) * Native Media, List, Tabs, responsive props, safe areas and real React Native tests (#204) * Native responsive props and safe areas Flex, Row, Column and Card take core's breakpoint objects (xl, l, m, s, xs). Those the window width falls within merge over the base props, larger first so the smaller wins, as the CSS cascade applies core's media queries. The theme now carries width, breakpoints (from the token export; xl at every width, as core's LayoutProvider) and insets. Flex also gains core's position, top/right/bottom/left, aspectRatio, opacity, zIndex, pointerEvents, hide, dark and light, so the breakpoints can set them too. ThemeProvider takes insets (pass useSafeAreaInsets() from react-native-safe-area-context; no new dependency). Dialog pads its sheet by the bottom inset, the toast stack sits above it, and Flex's safeArea prop adds the insets to the padding of the given edges, the native side of core's --safe-area-* tokens. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos * Native Media, List, Tabs, ToggleButton, Accordion, AvatarGroup, StatusIndicator Ports more core components to @once-ui-system/native with core's props and token choices: - Media: an image at core's aspectRatio ("16 / 9" or "original"), Flex props for radius/border/size, a Skeleton until the image loads, objectFit, caption and onPress. No enlarge overlay, video or YouTube embeds. - List and ListItem: bullets, or numbers with as="ol" and start, drawn in core's 20-step indent since React Native has no list markers. - Tabs, TabList, Tab and TabPanel: controlled or not via useControlledValue, first enabled tab adopted, tablist/tab roles with aria-selected, keepMounted, vertical orientation. - ToggleButton, which Tab is built on. - Accordion with LayoutAnimation, aria-expanded/accessibilityState and a toggle/open/close handle; AvatarGroup; StatusIndicator. Tests in test/content.test.tsx; README and docs overview list them. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos * Test native components on real React Native and bundle for Android and iOS Jest with React Native's preset runs the demo screens and the components against the real react-native package, and Metro plus Hermes bundle the demo for both platforms. Both run in CI. They caught three accessibility bugs: Select didn't announce the chosen value, and ProgressBar and Avatar weren't single accessible elements. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos * Native demo: a menu screen for Tabs, Media, List, Accordion and AvatarGroup The demo build also defines `global`, which react-native-web's animations read. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos --------- Co-authored-by: Claude <[email protected]> (cherry picked from commit 1fee217) * Native Accordion, Tabs and StatusIndicator accept core 3.0's prop names (#211) * Native Accordion, Tabs and StatusIndicator accept core 3.0's prop names defaultOpen/onOpenChange, onValueChange and scheme work alongside the 2.x names, so the 3.0 branch's merge of preview only removes the old ones. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos * Docs: import the native names in the safe-area example The docs example check types unimported names against the web package, where ThemeProvider has no insets and Column no safeArea. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos --------- Co-authored-by: Claude <[email protected]> (cherry picked from commit 9e641d7) * Docs: a page per native component, quick start, config and responsive The React Native section had one overview page. It now has a quick start (Expo and bare apps, safe areas, fonts), a config page for ThemeProvider, useTheme, createTheme and IconProvider, a responsive page, and a page for each of the 34 native components and form controls, with examples checked against the native source, a props table and what differs from the web. The overview becomes an index that links to them. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos * Native RadioButton value, Textarea lines: behave as on the web - RadioGroup takes RadioButton children and checks the one whose `value` it holds, through a group context like core's. Before, `value` did nothing and a group could only be built from `options`. - Textarea `lines` defaults to "auto" and grows with its text; a number fixes the height to that many lines and scrolls, as core's does. Before, a number only set a minimum height. - The docs pages describe the new behaviour; ProgressBar's label already matches core (value with a % sign), so its page now says so. - Version 0.1.0-preview.1 for the next preview release. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos --------- Co-authored-by: Claude <[email protected]> (cherry picked from commit 8dfae66)
lorant-one
added a commit
that referenced
this pull request
Oct 18, 2026
* Native Accordion, Tabs and StatusIndicator accept core 3.0's prop names defaultOpen/onOpenChange, onValueChange and scheme work alongside the 2.x names, so the 3.0 branch's merge of preview only removes the old ones. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos * Docs: import the native names in the safe-area example The docs example check types unimported names against the web package, where ThemeProvider has no insets and Column no safeArea. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos * Native preview polish and a React Native docs section (#200) Bare strings in Flex and Card render through Text instead of throwing, radius no longer clips children (which hid shadows on iOS; new overflow prop as on the web), an uncontrolled Input keeps its label floating after blur, Button, Switch and Checkbox take taps from core's 2.75rem touch target, and Skeleton holds still under reduce motion. The docs site gets a React Native section, marked unreleased. Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos Co-authored-by: Claude <[email protected]> (cherry picked from commit c574a74) * Native Icon, IconButton and icon names on Button and Tag (#202) The native preview draws core's built-in icons with react-native-svg: src/icons/data.ts is a copy of core's icon data (sync:icons, checked in CI). Icon, IconButton and IconProvider match core's props; Button and Tag take icon names in prefixIcon/suffixIcon as core does, or any element. IconProvider also takes components with size and color, such as @expo/vector-icons. react-native-svg 15 becomes a peer dependency. Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos Co-authored-by: Claude <[email protected]> (cherry picked from commit a9f2b9a) * Native Dialog, Toast, Select and the small controls (#203) * Native Dialog, Toast and Select Dialog opens as a bottom sheet with core's props; the back button and a tap on the backdrop close it. ToastProvider and useToast match core's addToast({ variant, message }); toasts stack at the bottom and hide after their duration. Select is an Input-styled field that opens its options (Option rows) in that sheet, with multiple and searchable. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos * Native RadioGroup, SegmentedControl, Badge, Chip and ProgressBar Token-only ports of core's controls with core's props. Removable chips are plain views so their remove button stays reachable; ProgressBar reports its value through aria-value props. The demo gains an order screen (?screen=order, ?screen=sheet) that uses every new component. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos --------- Co-authored-by: Claude <[email protected]> (cherry picked from commit da85c0e) * Native Media, List, Tabs, responsive props, safe areas and real React Native tests (#204) * Native responsive props and safe areas Flex, Row, Column and Card take core's breakpoint objects (xl, l, m, s, xs). Those the window width falls within merge over the base props, larger first so the smaller wins, as the CSS cascade applies core's media queries. The theme now carries width, breakpoints (from the token export; xl at every width, as core's LayoutProvider) and insets. Flex also gains core's position, top/right/bottom/left, aspectRatio, opacity, zIndex, pointerEvents, hide, dark and light, so the breakpoints can set them too. ThemeProvider takes insets (pass useSafeAreaInsets() from react-native-safe-area-context; no new dependency). Dialog pads its sheet by the bottom inset, the toast stack sits above it, and Flex's safeArea prop adds the insets to the padding of the given edges, the native side of core's --safe-area-* tokens. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos * Native Media, List, Tabs, ToggleButton, Accordion, AvatarGroup, StatusIndicator Ports more core components to @once-ui-system/native with core's props and token choices: - Media: an image at core's aspectRatio ("16 / 9" or "original"), Flex props for radius/border/size, a Skeleton until the image loads, objectFit, caption and onPress. No enlarge overlay, video or YouTube embeds. - List and ListItem: bullets, or numbers with as="ol" and start, drawn in core's 20-step indent since React Native has no list markers. - Tabs, TabList, Tab and TabPanel: controlled or not via useControlledValue, first enabled tab adopted, tablist/tab roles with aria-selected, keepMounted, vertical orientation. - ToggleButton, which Tab is built on. - Accordion with LayoutAnimation, aria-expanded/accessibilityState and a toggle/open/close handle; AvatarGroup; StatusIndicator. Tests in test/content.test.tsx; README and docs overview list them. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos * Test native components on real React Native and bundle for Android and iOS Jest with React Native's preset runs the demo screens and the components against the real react-native package, and Metro plus Hermes bundle the demo for both platforms. Both run in CI. They caught three accessibility bugs: Select didn't announce the chosen value, and ProgressBar and Avatar weren't single accessible elements. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos * Native demo: a menu screen for Tabs, Media, List, Accordion and AvatarGroup The demo build also defines `global`, which react-native-web's animations read. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos --------- Co-authored-by: Claude <[email protected]> (cherry picked from commit 1fee217) * Native Accordion, Tabs and StatusIndicator accept core 3.0's prop names (#211) * Native Accordion, Tabs and StatusIndicator accept core 3.0's prop names defaultOpen/onOpenChange, onValueChange and scheme work alongside the 2.x names, so the 3.0 branch's merge of preview only removes the old ones. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos * Docs: import the native names in the safe-area example The docs example check types unimported names against the web package, where ThemeProvider has no insets and Column no safeArea. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos --------- Co-authored-by: Claude <[email protected]> (cherry picked from commit 9e641d7) * Docs: a page per native component, quick start, config and responsive The React Native section had one overview page. It now has a quick start (Expo and bare apps, safe areas, fonts), a config page for ThemeProvider, useTheme, createTheme and IconProvider, a responsive page, and a page for each of the 34 native components and form controls, with examples checked against the native source, a props table and what differs from the web. The overview becomes an index that links to them. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos * Native RadioButton value, Textarea lines: behave as on the web - RadioGroup takes RadioButton children and checks the one whose `value` it holds, through a group context like core's. Before, `value` did nothing and a group could only be built from `options`. - Textarea `lines` defaults to "auto" and grows with its text; a number fixes the height to that many lines and scrolls, as core's does. Before, a number only set a minimum height. - The docs pages describe the new behaviour; ProgressBar's label already matches core (value with a % sign), so its page now says so. - Version 0.1.0-preview.1 for the next preview release. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos * feat(native): menus, CodeBlock, charts and 14 more components with docs DropdownWrapper, Dropdown and ContextMenu; CodeBlock, InlineCode and Kbd; BarChart and LineChart on react-native-svg; Grid, Slider, RangeSlider, NumberInput, PasswordInput, OTPInput, Tooltip, InfoTip, User, Banner, BlockQuote, Breadcrumbs, Pagination and Timeline. Each has a docs page listing what differs from the web, and React Native tests. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos * fix(native): Timeline step spacing, Pagination wrap and chart label font; batch 2 demo screens Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos * docs(native): fix chart height type that broke the docs build Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos * test(native): allow 20s per React Native test for cold module loads on CI Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WH2VptULRpwysRyx2fUFos --------- Co-authored-by: Claude <[email protected]> (cherry picked from commit 02729c9)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Before:
@once-ui-system/nativehad no Media, List, Tabs or Accordion. Layouts couldn't change with screen width or clear a notch or home indicator, and every test ran through react-native-web in a browser stand-in.After: the package adds Media, List/ListItem, Tabs (TabList, Tab, TabPanel), ToggleButton, Accordion, AvatarGroup and StatusIndicator.
xl,l,m,s,xs) andhide.ThemeProvidertakes the screen's safe-areainsets. Dialog sheets and toasts clear the home indicator, andsafeAreapads any Flex.react-nativepackage with Jest and React Native's preset.The real React Native tests found three screen reader bugs, all fixed here:
How: the new components follow core's props and are covered in
test/content.test.tsx. Responsive props merge in core's cascade order insideflexStyle, covered intest/responsive.test.tsx.test-native/runs the demo screens and the components under@testing-library/react-native.scripts/bundle-native.mjsruns Metro'srunBuildandhermesc. The README and the docs overview list the new components and the differences from the web.Generated by Claude Code