Repository navigation
Merge upstream/main into zeta/main (3.1.0-rc.1-zeta.2) - #8
Merged
Merged
Conversation
…elled (nativewind#432) Co-authored-by: Sam Moore <sam@paradigmpost.com>
…n optional member (nativewind#418) Co-authored-by: Sam Moore <sam@paradigmpost.com>
…tyle entry by identity (nativewind#436)
… colors (nativewind#457) Co-authored-by: Sam Moore <sam@paradigmpost.com>
…nativewind#585) Co-authored-by: Yevhenii <evgeny.kotyrlo@gmail.com>
… range (nativewind#586) Supersedes nativewind#429. Co-authored-by: Yevhenii <evgeny.kotyrlo@gmail.com>
BREAKING CHANGE: (nativewind#567, affects Tailwind) Variables registered with `inherits: false` no longer pass to children. BREAKING CHANGE: (nativewind#578, affects Tailwind) Transforms (`translate-*`, `rotate-*`, `scale-*`, `skew-*`, `rotate-x/y-*`, `transform-*`) are now combined in the order browsers use. BREAKING CHANGE: (nativewind#580, affects Tailwind) `py-*` and `px-*` now output `paddingVertical` and `paddingHorizontal`. On Android, a TextInput with these classes will lose additional padding it was wrongly keeping. BREAKING CHANGE: (nativewind#432, affects Tailwind) `placeholder:` and `selection:` no longer depend on className order. BREAKING CHANGE: (nativewind#457, affects Tailwind) Hex colours now always clip rather than gamut-map, matching browser behavior. In the default Tailwind color palette, 4 of 242 colors change by 1/255. BREAKING CHANGE: (nativewind#585) `--x: initial` can now override another rule's value or the parent's value, and initial `!important` wins as in browsers. This means `via-none` and `*-initial` Tailwind utilities now work with variants, e.g. `md:`. BREAKING CHANGE: (nativewind#575) Lists read through `var()` keep their commas. - `box-shadow: var(--a) var(--b)` is now one shadow. - Gradient stops and `rgb(var(--c) / a)` held in variables now output correctly. - `transform: var(--t)` gives a flat list. BREAKING CHANGE: (nativewind#578) Style layering is now more accurate to browser behavior: - An `!important` value on a target other than style now sits on top of the class and inline values instead of replacing them. - For object-form mappings, an inline value that holds only CSS variables, or an inline `[]` or `{ height: undefined }`, no longer removes the class's style. BREAKING CHANGE: (nativewind#578) `Pressable` callback styles are now combined with class styles instead of being dropped. BREAKING CHANGE: (nativewind#568, nativewind#418) `styled()` and types changes: - A `mapping` that isn't an object now throws a named error. - A `nativeStyleMapping` entry set to undefined is skipped instead of crashing.
…on-safe work on native (nativewind#591) Co-authored-by: Yevhenii <evgeny.kotyrlo@gmail.com>
…ring block (nativewind#592) Supersedes nativewind#413. Co-authored-by: Yevhenii <evgeny.kotyrlo@gmail.com>
상류 nativewind/react-native-css main 의 rc.1 이후 14커밋을 merge 하고 @scatterlab/react-native-css 를 3.1.0-rc.1-zeta.2 로 올린다. - initial-overrides 테스트 기대값을 fork 의 접두어 없는 backgroundImage 키로 갱신 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QfQGEQHBxrdsqWZLfXpisp
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the
|
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.
개요
상류
nativewind/react-native-cssmain(merge-base2e152c9이후 14커밋, 3.1.0-rc.1 태그 이후 미태그)을zeta/main에 merge 하고@scatterlab/react-native-css@3.1.0-rc.1-zeta.2로 올린다. 상류가 새 버전을 내지 않았으므로 rc.1 위의 zeta 번호만 올린다.상류가 가져온 것
prefers-reduced-motion평가 — 네이티브에서motion-reduce/motion-safe동작 (feat(native): evaluate prefers-reduced-motion so motion-reduce / motion-safe work on native nativewind/react-native-css#591)initial로 설정한 커스텀 프로퍼티가 앞선 선언을 덮음 (via-none,*-initial등) (fix: let a custom property set to initial override other declarations nativewind/react-native-css#585)color-mix용 color space 등록, sRGB 밖 색은 clip (fix(native): register color spaces for color-mix and clip out-of-sRGB colors nativewind/react-native-css#457) — 컴파일 시 hex 접기도 같은 clipundefined허용 (fix(types): accept an explicit undefined wherever a consumer writes an optional member nativewind/react-native-css#418), peer 범위 전체 react-native 에서 color scheme 쓰기 타입 체크 (fix: type-check color scheme writes on every react-native in the peer range nativewind/react-native-css#586)fork 패치 처리
merge 충돌 없음. 상류 변경이 fork 패치 영역(
src/native/styles/index.ts의 캐시 해제,src/compiler/declarations.ts의initial·0/false인자·hex clip)과 겹치지 않아 자동 병합됐다.상류로 대체돼 제거
없음.
유지
src/native/styles/index.ts:undefined값·빈 배열은 걸러진 것으로 취급, non-enumerable own property 객체(Reanimated 4.7 animated style handle)는 그대로 반환src/native/styles/resolve.ts: 리스트로 풀릴 때와 변수 하나에서 문자열로 풀릴 때 모두in oklab등을 제거src/compiler/declarations.ts:background-size/position/repeat,transform-origin,mix-blend-mode,isolation,cursor,font-variation-settings,radial-gradient(), 접두어 없는backgroundImage/backgroundSize/backgroundPosition/backgroundRepeat키react-nativeexport condition: 런타임 엔트리를dist/commonjs한 벌로 고정. 상류 fix(native): share reactivity state across a dual-package split nativewind/react-native-css#427 은 reactivity 상태만 공유하고 packageexports는 그대로라 module/commonjs 두 벌 번들(+ colorjs.io 두 벌)을 막지 않아 유지@scatterlab/react-native-css, GitHub PackagespublishConfig, repository, peerreact-native >=0.88.yarn.lock은 상류 lock 대비 workspace 이름만 다름테스트
origin/zeta/mainupstream/mainvendor/tailwind/initial-overrides의md:via-none2건experimental_backgroundImage→backgroundImageyarn typecheck,yarn lint,yarn build통과배포
이 PR 은 레지스트리 배포를 포함하지 않는다. nativewind 가 react-native-css 를 peer 정확 버전으로 핀하므로 배포 시 nativewind 도 함께 올린다.
🤖 Generated with Claude Code
https://claude.ai/code/session_01QfQGEQHBxrdsqWZLfXpisp