Conversation
…rations css(a, b) composing classes whose styles the build knows, bound to css() in the file or exported by another module, merges their atoms per property, selector, breakpoint and layer, conditions included, instead of joining classes whose winner the stylesheet order picked. vanilla-extract style([...]) passes each composed style as its own argument, keeping a style composed again later. Refs #688 Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Refs #688 Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Refs #688 Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Refs #688 Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
…asurable Refs #688 Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
…JSX spreads win Refs #688 Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
…led order and JSX element className Refs #688 Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Refs #689 Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
…uate shouldForwardProp at build time Refs #689 Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
…ring Refs #689 Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Refs #691 Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Refs #690 Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
… and conditional styles Refs #690 Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Contributor
Changepacks@devup-ui/wasm@1.0.82 → 1.0.83 - bindings/devup-ui-wasm/package.jsonPatch
@devup-ui/bun-plugin@1.0.21 → 1.0.22 - packages/bun-plugin/package.jsonPatch
@devup-ui/components@0.1.59 → 0.1.60 - packages/components/package.jsonPatch
@devup-ui/eslint-plugin@1.0.21 → 1.0.22 - packages/eslint-plugin/package.jsonPatch
@devup-ui/next-plugin@1.0.89 → 1.0.90 - packages/next-plugin/package.jsonPatch
@devup-ui/plugin-utils@1.0.16 → 1.0.17 - packages/plugin-utils/package.jsonPatch
@devup-ui/react@1.0.44 → 1.0.45 - packages/react/package.jsonPatch
@devup-ui/reset-css@1.0.31 → 1.0.32 - packages/reset-css/package.jsonPatch
@devup-ui/rsbuild-plugin@1.0.66 → 1.0.67 - packages/rsbuild-plugin/package.jsonPatch
@devup-ui/vite-plugin@1.0.72 → 1.0.73 - packages/vite-plugin/package.jsonPatch
@devup-ui/webpack-plugin@1.0.70 → 1.0.71 - packages/webpack-plugin/package.jsonPatch
|
Codecov Report✅ All modified and coverable lines are covered by tests.
🚀 New features to boost your workflow:
|
This was referenced Oct 2, 2026
Open
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.
Refs #690 (D 필수 — EMO-01, EMO-05 일부). #722 위에 쌓은 브랜치입니다(#706→#707→#710→#711→#722가 병합되면 차이는 커밋 하나).
문제
cssprop이 어떤 형태로도 컴파일되지 않았습니다.<div css={{ color: 'red' }} />는 그대로 남고 CSS가 나오지 않았습니다.@emotion/react/jsx-runtime으로 컴파일된 코드의jsx('div', { css })와css()결과를 넘긴css={style}도 마찬가지였습니다.@emotion/react의jsx가 런타임 의존성으로 남았습니다.수정
@emotion/reactalias가 켜져 있을 때)cssprop은 항상 컴파일합니다.@emotion/react나@emotion/styled(하위 경로 포함)를 import하거나@jsxImportSource @emotion/reactpragma가 있으면 모든 요소의cssprop을 컴파일합니다.@emotion/react/jsx-runtime·jsx-dev-runtime의jsx/jsxs/jsxDEV와@emotion/react의jsx/createElement호출도 같은 규칙을 따릅니다.include라이브러리의 컴파일된 코드도 포함됩니다.&&/||/??는 합성입니다. 뒤의 부분이 같은 속성·선택자·breakpoint·layer를 덮어씁니다(D1 정적 합성).css()클래스는 스타일로 합성합니다. 그 밖의 식별자와 멤버는 런타임 클래스로 붙입니다.css태그 템플릿의 mixin(${base};)은 그 자리에서 텍스트를 나눠 합성하고, 인라인css(...)호출은 인자를 합성 부분으로 펼칩니다.theme => ({ ... })는 값 위치의theme.a.b를var(--a-b)로 읽습니다. 구조 분해(({ colors }) => ...)와theme.space[2]도 읽습니다.px입니다. 최상위 상수에서 읽은 숫자도 같고,lineHeight같은 단위 없는 속성은 숫자로 둡니다.style에 넣습니다.className에 붙고, 변수는 기존style아래에 병합됩니다. 스프레드 위치에 따른className/style최종값(JSX-01 규칙)을 따릅니다.className에 파일이 아는css()클래스가 있으면 Emotion의 registered class처럼cssprop을 덮어씁니다.cssprop을 합성합니다.cssprop을 합성합니다. 조건은 태그를 렌더링하고 attrs·props 읽기·런타임 값이 없으며, 요소에 스프레드·as·forwardedAs가 없는 것입니다. 그 밖에는 스타일이 겹치지 않을 때className으로 넘깁니다.@emotion/react/jsx-runtime(dev 포함) import는react/jsx-runtime으로,@jsxImportSource @emotion/reactpragma는react로 바뀝니다.@emotion/react의jsx/createElement는@devup-ui/react/compat의jsx(ReactcreateElement)로 바뀝니다.@devup-ui/react/compat/css-prop이React.Attributes에css를 추가하고,compat/emotion이 이를 참조합니다.@emotion/react선언에jsx와createElement를 추가했습니다.clone_in이 바인딩 정보를 잃었습니다. 그래서css(a, b)의 부분이 읽는 바인딩(예: keyframes 이름)이 읽히지 않았습니다.clone_in_with_semantic_ids로 고쳤습니다.동작 변화
<div css={...}>가 이제 클래스로 컴파일됩니다. Emotion 신호가 없는 파일의 사용자 컴포넌트(<Custom css={...}>)는 이전처럼 그대로 둡니다.<Box css>는 이전에 객체만 우연히 중첩 스타일로 처리되었습니다. 이제 위 규칙(합성,px, CSS 텍스트)을 따릅니다.css(yellow, fade)처럼 합성 부분이 아는 바인딩을 읽으면 그 값이 클래스 문자열에 들어갑니다. 런타임 결과는 같으며, 기존 테스트 1건의 기대값을 갱신했습니다.새로 생기는 오류
모두
파일:줄:열, 코드, 원인, 해결 방법을 함께 보여 줍니다.cssprop 부분(호출, JSX 요소, 스프레드 등).let/var로 선언한 스타일 객체·배열·함수·텍스트를 부분으로 사용. 인라인으로 쓰거나 최상위const로 선언하도록 안내합니다.theme을 읽음(theme.spacing(2),theme.colors[key], 조건 등).styled(Component)(...)로 옮기도록 안내합니다.남는 한계
props.className등)와의 우선순위는 CSS 특성을 따릅니다(K 문서화).className과style을 모두 전달해야 합니다(D8, K 문서화).jsxImportSource만으로 Emotion을 쓰는 파일은 신호가 없어 사용자 컴포넌트를 컴파일하지 않고, 번들러가 Emotion JSX 런타임을 import합니다. tsconfig를 읽는 후속 PR에서 처리합니다.hasDevupUI게이트는 alias를 모릅니다(H 범위).cssprop 객체의 속성 배열 처리를 확인해야 합니다.확인
cargo clippy -D warnings(Rust 1.99),cargo test --workspace(extractor 1463건) 통과.bun test5475건 통과, 커버리지 100%.bun lint통과.css-prop-*12개를 probe로 확인했습니다.@types/react)에서cssprop 타입 검사를 확인했습니다.