[pull] main from lynx-family:main#334
Merged
pull[bot] merged 6 commits intocolinaaa:mainfrom Sep 15, 2025
Merged
Conversation
…en mode (#1746) To compare: lynx-family/lynx@develop...hzy:lynx:p/hzy/benchx_cli <!-- Thank you for submitting a pull request! We appreciate the time and effort you have invested in making these changes. Please ensure that you provide enough information to allow others to review your pull request. Upon submission, your pull request will be automatically assigned with reviewers. If you want to learn more about contributing to this project, please visit: https://github.com/lynx-family/lynx-stack/blob/main/CONTRIBUTING.md. --> <!-- The AI summary below will be auto-generated - feel free to replace it with your own. --> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * Chores * Updated internal build configuration for Lynx benchx_cli; no user-facing changes. * Build produces the same functionality and performance; no action required for users. * This affects only the packaging pipeline and does not modify app features or UI. * Release artifacts remain compatible with previous versions. * Deployment process unaffected. <!-- end of auto-generated comment: release notes by coderabbit.ai --> ## Checklist <!--- Check and mark with an "x" --> - [ ] Tests updated (or not required). - [ ] Documentation updated (or not required). - [ ] Changeset added, and when a BREAKING CHANGE occurs, it needs to be clearly marked (or not required).
…gration (#1740) <!-- Thank you for submitting a pull request! We appreciate the time and effort you have invested in making these changes. Please ensure that you provide enough information to allow others to review your pull request. Upon submission, your pull request will be automatically assigned with reviewers. If you want to learn more about contributing to this project, please visit: https://github.com/lynx-family/lynx-stack/blob/main/CONTRIBUTING.md. --> <!-- The AI summary below will be auto-generated - feel free to replace it with your own. --> This is a cherry-pick of #1458. I've realized that such a large PR are very difficult to merge in frequent collaborative environments. We need **progressive migration** by introducing some **intermediate states**. Additionally, to support future progressive migration, I've added CODEOWNERS because there might be scenarios where both WASM plugins and NAPI coexist. I need to ensure consistency between both codebases. @coderabbitai summary ## Checklist <!--- Check and mark with an "x" --> - [ ] Tests updated (or not required). - [ ] Documentation updated (or not required). - [ ] Changeset added, and when a BREAKING CHANGE occurs, it needs to be clearly marked (or not required).
<!-- Thank you for submitting a pull request! We appreciate the time and effort you have invested in making these changes. Please ensure that you provide enough information to allow others to review your pull request. Upon submission, your pull request will be automatically assigned with reviewers. If you want to learn more about contributing to this project, please visit: https://github.com/lynx-family/lynx-stack/blob/main/CONTRIBUTING.md. --> ## Summary <!-- Can you explain the reasoning behind implementing this change? What problem or issue does this pull request resolve? --> <!-- It would be helpful if you could provide any relevant context, such as GitHub issues or related discussions. --> ## Checklist <!--- Check and mark with an "x" --> - [x] Tests updated (or not required). - [x] Documentation updated (or not required). <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - New Features - Lazy bundle/component support (requires @lynx-js/lynx-core ≥ 0.1.3). - On-demand component querying and cross-thread template loading. - loadScript supports entry names; dynamic template cache and propagation for multi-thread use. - Refactor - Unified template loader with timing instrumentation and appType-aware generation. - Improved CSS scoping/update flow for lazy components. - Tests - Extensive lazy-component test suite covering loading, failures, isolation, and on-demand scenarios. - Chores - Disabled bundler cache for tests; bumped patch versions across packages. - Other - Exposed OffscreenElement.textContent getter. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
… handling) (#1741) <!-- Thank you for submitting a pull request! We appreciate the time and effort you have invested in making these changes. Please ensure that you provide enough information to allow others to review your pull request. Upon submission, your pull request will be automatically assigned with reviewers. If you want to learn more about contributing to this project, please visit: https://github.com/lynx-family/lynx-stack/blob/main/CONTRIBUTING.md. --> <!-- The AI summary below will be auto-generated - feel free to replace it with your own. --> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added UI variant modifiers: group-*, peer-*, and parent-* (ancestor, sibling, direct-parent); group/peer support optional named modifiers. * **Bug Fixes** * Prefix handling: ui-* state markers remain unprefixed; group/peer selectors honor the configured Tailwind prefix. * **Docs** * Expanded usage examples, quick reference, and guidance for self/parent/group/peer scopes; README samples updated with typed config examples. * **Tests** * Expanded coverage for variants, modifiers, prefix mappings, and edge cases. * **Chores** * Bumped Tailwind CSS peer dependency to ^3.4.0; minor version release. * **Deprecations** * Removed slash-based modifiers for self variants; slash syntax retained for scoped markers. <!-- end of auto-generated comment: release notes by coderabbit.ai --> ## Examples (quick overview) **Self** ```tsx <Button className='ui-open:bg-blue-500' />; ``` ```css .ui-open\:bg-blue-500.ui-open { background-color: #3b82f6; } ``` **Parent** ```tsx <Parent className='ui-open'> <Child className='parent-ui-open:bg-green-500' /> </Parent>; ``` ```css .ui-open > .parent-ui-open\:bg-green-500 { background-color: #10b981; } ``` **Group (Ancestor)** ```tsx <Ancestor className='group ui-open'> <Parent> <Item className='group-ui-open:opacity-50' /> </Parent> </Ancestor>; ``` ```css .group.ui-open .group-ui-open\:opacity-50 { opacity: 0.5; } ``` With example project prefix `tw-`: ```tsx <Ancestor className='tw-group ui-open'> <Parent> <Item className='group-ui-open:tw-opacity-50' /> </Parent> </Ancestor>; ``` ```css .tw-group.ui-open .group-ui-open\:tw-opacity-50 { opacity: 0.5; } ``` **Peer (Sibling)** ```tsx <Input className="peer ui-checked" /> <Label className="peer-ui-checked:text-rose-600" /> ``` ```css .peer.ui-checked ~ .peer-ui-checked\:text-rose-600 { color: #e11d48; } ``` With example project prefix `tw-`: ```tsx <Input className="tw-peer ui-checked" /> <Label className="peer-ui-checked:tw-text-rose-600" /> ``` ```css .tw-peer.ui-checked ~ .peer-ui-checked\:tw-text-rose-600 { color: #e11d48; } ``` ## Checklist <!--- Check and mark with an "x" --> - [x] Tests updated (or not required). - [x] Documentation updated (or not required). - [x] Changeset added, and when a BREAKING CHANGE occurs, it needs to be clearly marked (or not required).
<!-- Thank you for submitting a pull request! We appreciate the time and effort you have invested in making these changes. Please ensure that you provide enough information to allow others to review your pull request. Upon submission, your pull request will be automatically assigned with reviewers. If you want to learn more about contributing to this project, please visit: https://github.com/lynx-family/lynx-stack/blob/main/CONTRIBUTING.md. --> <!-- The AI summary below will be auto-generated - feel free to replace it with your own. --> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Updated repository ownership metadata to improve reviewer assignment and PR routing for relevant components and internal benchmarks. * Ensures faster, clearer code review coverage by assigning appropriate maintainers automatically. * No changes to application functionality, UI, performance, or user workflows. <!-- end of auto-generated comment: release notes by coderabbit.ai --> ## Checklist <!--- Check and mark with an "x" --> - [ ] Tests updated (or not required). - [ ] Documentation updated (or not required). - [ ] Changeset added, and when a BREAKING CHANGE occurs, it needs to be clearly marked (or not required).
…ate file (#1750) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * Refactor * Consolidated delayed main-thread execution data into a dedicated module and updated internal references across the runtime. * Removed redundant public hooks to reduce surface area; no change to behavior or APIs. * Improved internal batching path for queued tasks without altering user-visible functionality. * Chores * Added a placeholder changeset entry; no user-facing version changes. <!-- end of auto-generated comment: release notes by coderabbit.ai --> ## Checklist <!--- Check and mark with an "x" --> - [ ] Tests updated (or not required). - [ ] Documentation updated (or not required). - [ ] Changeset added, and when a BREAKING CHANGE occurs, it needs to be clearly marked (or not required).
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.4)
Can you help keep this open source service alive? 💖 Please sponsor : )