Skip to content

feat(react-native): add Expo-first native component package scaffold#117

Open
happy-haki wants to merge 5 commits intov1from
feat/v1-react-native-package
Open

feat(react-native): add Expo-first native component package scaffold#117
happy-haki wants to merge 5 commits intov1from
feat/v1-react-native-package

Conversation

@happy-haki
Copy link
Copy Markdown
Contributor

Summary

  • add a new @cocso-ui/react-native package with Expo/RN-compatible primitives (Box, Text, Stack, Button, Modal, GlassView) and public theme exports
  • implement token generation from @cocso-ui/css/token.css into RN-friendly runtime tokens (including spacing/radius/typography/color and RN shadow objects)
  • document the new package contract in docs/project-react-native.md and update AGENTS.md, then validate with package-level and repo-level check/build

@vercel
Copy link
Copy Markdown

vercel bot commented Mar 25, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
cocso-ui Ready Ready Preview, Comment Mar 26, 2026 8:21am
cocso-ui-storybook Ready Ready Preview, Comment Mar 26, 2026 8:21am

Request Review

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Mar 25, 2026

⚠️ No Changeset found

Latest commit: 27fa164

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 25, 2026

Test Coverage

Package Statements Branches Functions Lines
@cocso-ui/react 🟢 99% 🟢 99.5% 🟢 98.36% 🟢 98.91%
@cocso-ui/baseframe 🟢 95.96% 🟢 90.39% 🟢 100% 🟢 95.89%
@cocso-ui/react — File Coverage
File Stmts Branch Funcs Lines
src/components/badge/badge.tsx 🟢 95.65% 🟢 100% 🟢 94.44% 🟢 94.87%
src/components/switch/switch.tsx 🟢 96.42% 🟢 100% 🟢 95% 🟢 95.65%
src/components/typography/typography.tsx 🟢 97.61% 🟢 95.23% 🟢 95% 🟢 97.36%
src/cn.ts 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/components/accordion/accordion.tsx 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/components/button/button.tsx 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/components/checkbox/checkbox.tsx 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/components/day-picker/day-picker.tsx 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/components/dialog/dialog.tsx 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/components/dropdown/dropdown.tsx 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/components/field/field.tsx 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/components/input/input.tsx 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/components/link/link.tsx 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/components/month-picker/month-picker.tsx 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/components/one-time-password-field/one-time-password-field.tsx 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/components/pagination/pagination.tsx 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/components/popover/popover.tsx 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/components/radio-group/radio-group.tsx 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/components/select/select.tsx 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/components/spinner/spinner.tsx 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/components/stock-quantity-status/stock-quantity-status.tsx 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/components/tab/tab.tsx 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/components/tooltip/tooltip.tsx 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/primitives/accordion.ts 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/primitives/checkbox.ts 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/primitives/dialog.ts 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/primitives/menu.ts 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/primitives/merge-props.ts 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/primitives/popover.ts 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/primitives/radio-group.ts 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/primitives/radio.ts 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/primitives/switch.ts 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/primitives/tabs.ts 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/primitives/tooltip.ts 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/primitives/use-render.ts 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/token/color.ts 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/token/radius.ts 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/token/spacing.ts 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/token/typography.ts 🟢 100% 🟢 100% 🟢 100% 🟢 100%
@cocso-ui/baseframe — File Coverage
File Stmts Branch Funcs Lines
src/core/parsers/value.ts 🟢 92.71% 🟢 90.9% 🟢 100% 🟢 92.61%
src/core/transforms/validate.ts 🟢 95.52% 🔴 68.18% 🟢 100% 🟢 95.52%
src/core/builders/css-vars.ts 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/core/builders/tailwind.ts 🟢 100% 🟢 94.73% 🟢 100% 🟢 100%
src/core/builders/utils/css.ts 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/core/builders/utils/naming.ts 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/core/parsers/ast.ts 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/core/transforms/build.ts 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/core/transforms/resolve.ts 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/utils/fs.ts 🟢 100% 🟢 100% 🟢 100% 🟢 100%

Updated: 2026-03-26 08:21 UTC

@vercel vercel bot temporarily deployed to Preview – cocso-ui-storybook March 25, 2026 07:26 Inactive
@vercel vercel bot temporarily deployed to Preview – cocso-ui March 25, 2026 07:26 Inactive
@ohprettyhak
Copy link
Copy Markdown
Contributor

@codex review

@ohprettyhak
Copy link
Copy Markdown
Contributor

@happy-haki review the Test Coverage comments and list areas needing improvement as issues.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f3f6b3379d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@ohprettyhak
Copy link
Copy Markdown
Contributor

@happy-haki fix pr review and resolve conflicts

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants