Skip to content

Releases: skovhus/styled-components-to-stylex-codemod

v0.0.34

27 Mar 12:53

Choose a tag to compare

What's Changed

  • feat(css-helper): support theme ternary inside conditional css blocks by @skovhus in #373
  • feat(adapter): add markerFile option for custom sidecar path by @skovhus in #375
  • Fix keyframes template interpolation and animation longhand splitting by @skovhus in #376

Full Changelog: v0.0.33...v0.0.34

v0.0.33

26 Mar 22:02

Choose a tag to compare

What's Changed

  • fix(css-ir): skip placeholder recovery inside CSS functions by @skovhus in #366
  • fix(css-ir): prevent duplicate placeholder recovery for slots already used in declarations by @skovhus in #367
  • fix(shorthands): use physical longhands for 2-value padding/margin expansion by @skovhus in #368
  • feat(selector): support &:has(${Component}) same-file selectors by @skovhus in #370
  • Inline intrinsic styled components with identity prop interpolations by @skovhus in #372
  • feat(selectors): support ancestor attribute selectors [attr] & by @skovhus in #371

Full Changelog: v0.0.32...v0.0.33

v0.0.32

24 Mar 12:29

Choose a tag to compare

What's Changed

  • fix(emit): fix styleFn ordering after base merge and variant key collisions by @skovhus in #363
  • feat: resolveThemeCall adapter API, local fn auto-preserve, and prefix pseudo selectors by @skovhus in #365

Full Changelog: v0.0.31...v0.0.32

v0.0.31

22 Mar 23:25

Choose a tag to compare

What's Changed

  • fix(selectors): preserve parent pseudo context for nested attribute selectors by @skovhus in #362

Full Changelog: v0.0.30...v0.0.31

v0.0.30

22 Mar 20:35

Choose a tag to compare

What's Changed

  • Make jscodeshift runner output configurable via silent option by @skovhus in #359
  • feat(adapter): add extraClassNames support for CSS module class output by @skovhus in #361
  • Support CSS custom properties with runtime theme conditionals via useTheme by @skovhus in #360

Full Changelog: v0.0.29...v0.0.30

v0.0.29

16 Mar 19:26

Choose a tag to compare

What's Changed

  • fix: preserve computed media keys and hover pseudo-maps in variant buckets by @skovhus in #335
  • Inline style theme access by @skovhus in #336
  • Selector warning locations by @skovhus in #338
  • StyleX now support dynamic pseudo elements by @skovhus in #337
  • Cross-file selector transform by @skovhus in #340
  • Animation duration fix by @skovhus in #341
  • feat(playground): polish UI with consistent sizing and resizable render panel by @skovhus in #342
  • Style declaration merging by @skovhus in #343
  • Stylex codemod discussion by @skovhus in #344
  • Replace ESLint config file overrides with inline eslint-disable comments by @skovhus in #345
  • Remove blank line between props destructure and return statement by @skovhus in #346
  • refactor: unify 4 inject* AST-walking functions with shared helpers by @skovhus in #348
  • refactor: reduce test case duplication by merging 12 near-duplicate tests by @skovhus in #347
  • Consolidate test cases and expand coverage for styled-components by @skovhus in #349
  • Support dynamic indexed values in pseudo-element selectors by @skovhus in #353
  • Support theme-dependent conditional arguments in mixins by @skovhus in #350
  • Support no-pseudo reverse and cross-component sibling selectors by @skovhus in #352
  • Replace sibling selector warnings with inline code comments by @skovhus in #354
  • Upgrade dependencies by @skovhus in #355
  • Support dynamic prop-based styles in reverse component selectors by @skovhus in #351
  • Use Vitest agent reporter for clean AI-agent test output by @skovhus in #358
  • refactor: replace template-literal input/link emitters with AST builders by @skovhus in #356
  • Support forward descendant component selectors with dynamic prop interpolations by @skovhus in #357

Full Changelog: v0.0.28...v0.0.29

v0.0.28

13 Mar 16:35

Choose a tag to compare

What's Changed

  • fix: expand scrollPadding/scrollMargin to physical longhands by @skovhus in #332
  • chore(deps): bump flatted from 3.3.3 to 3.4.1 by @dependabot[bot] in #333
  • fix: drop literal fallbacks from resolved theme tokens and enable stylex/valid-styles by @skovhus in #334

Full Changelog: v0.0.27...v0.0.28

v0.0.27

13 Mar 14:24

Choose a tag to compare

What's Changed

  • runtime-preserved helper calls with theme arg by @skovhus in #326
  • Improved conditional expression handling by @skovhus in #325
  • arrow function interpolations with binary or unary expressions by @skovhus in #324
  • StyleX gridRow type mismatch by @skovhus in #327
  • Conditional style undefined output by @skovhus in #328
  • feat: reorder style fns, merge static+dynamic, and use named params by @skovhus in #330
  • fix: transient prop rename ordering, promoted merge guard, and event handler scoping by @skovhus in #331

Full Changelog: v0.0.26...v0.0.27

v0.0.26

12 Mar 20:45

Choose a tag to compare

What's Changed

  • fix: naming, ternary merging, and inline variant resolution bugs by @skovhus in #315
  • Scroll-margin property shorthand by @skovhus in #318
  • Pixel value formatting by @skovhus in #317
  • fix: inherit transient prop renames for wrapper components by @skovhus in #319
  • fix(selectors): preserve pseudo-classes with media queries by @skovhus in #321
  • fix: don't forward style-fn props to imported wrapped components by @skovhus in #320
  • feat(prepass): granular consumer prop tracking for narrower TypeScript types by @skovhus in #316
  • fix: shared-type transient prop rename and boolean variant handling by @skovhus in #322
  • feat: directional API for shorthand properties with opaque theme tokens by @skovhus in #323

Full Changelog: v0.0.25...v0.0.26

v0.0.25

11 Mar 18:31

Choose a tag to compare

What's Changed

  • fix: inlining quirks, dead marker cleanup, and sidecar extension by @skovhus in #305
  • Preserve runtime useTheme hook by @skovhus in #306
  • fix: shouldForwardProp theme wiring, dynamic fn params, and consolidation by @skovhus in #309
  • Thin border ternary resolution by @skovhus in #308
  • Consistent prop naming by @skovhus in #307
  • fix(inlineBase): sanitize hyphenated CSS values in style key generation by @skovhus in #310
  • Inline single-use intrinsic styled components and promote style props to stylex.create by @skovhus in #311
  • fix(types): include consumed variant props and fix data-attr types by @skovhus in #312
  • feat: inline intrinsic components with usage:props mixins by @skovhus in #313
  • Duplicated typescript types by @skovhus in #314

Full Changelog: v0.0.24...v0.0.25