v0.0.10
What's Changed
- Support css helper switch patterns and improve warnings/errors by @skovhus in #49
- fix: Handle ternary expressions with empty branches in css helper by @skovhus in #50
- feat: Support conditional nullish coalescing with theme fallbacks by @skovhus in #51
- fix: Handle styled() with CallExpression base components by @skovhus in #52
- fix: Use ComponentPropsWithRef for wrapper components by @skovhus in #53
- Refactor functions passed in emit-wrappers by @skovhus in #54
- Add support for import variables by @skovhus in #56
- fix: Avoid parameter name clash with resolved StyleX variable by @skovhus in #55
- feat!: Unified externalInterface adapter method for styles and as prop by @skovhus in #57
- feat(css-helper): Support mixed static/dynamic values in conditional css blocks by @skovhus in #58
- feat(css-block): Support nested ternary interpolations in conditional CSS blocks by @skovhus in #59
- feat(border): Support arrow function helper calls with theme arguments by @skovhus in #61
- feat(interpolation): Support arrow functions with block body in CSS interpolations by @skovhus in #62
- feat(interpolation): Support template literals with theme in ternary branches by @skovhus in #63
- feat(css-block): support conditional string CSS blocks by @skovhus in #64
- feat(interpolation): Support member expression CSS interpolations by @skovhus in #65
- feat(interpolation): Support template literals in LogicalExpression conditionals by @skovhus in #66
- feat(interpolation): Support indexed theme lookup with prop fallback by @skovhus in #67
- Update warnings by @skovhus in #68
- feat(interpolation): Support conditional prop with theme fallback in CSS template literals by @skovhus in #69
- feat: Add support for local styled-component interpolations by @skovhus in #70
- feat: enhance CSS helpers spport by @skovhus in #71
- refactor: Consolidate utility functions in utilities folder by @skovhus in #72
- Refactor transform pipeline by @skovhus in #73
- fix: wrapper delegation for chained styled by @skovhus in #74
- Handle border helper pseudos by @skovhus in #75
- fix: Propagate needsWrapperComponent transitively through chains by @skovhus in #77
- Inline styleFnFromProps for imported component wrappers by @skovhus in #76
- Fix attrs forwarding and add as prop support for external styles by @skovhus in #78
- Add resolveSelector adapter for media query helper resolution by @skovhus in #79
- Preserve template literal prop styles by @skovhus in #80
- Fix duplicate React imports when input has named imports by @skovhus in #81
- Handle imported interpolations and warnings by @skovhus in #83
- Improve error messages with adapter method names and location info by @skovhus in #82
- Bail on unsupported styled factories by @skovhus in #85
- Fix JSX prop ordering when spreads precede explicit attributes by @skovhus in #84
- Fix TS error when conditional style prop could be empty string by @skovhus in #86
- Support multiple interpolations in gradient values by @skovhus in #87
- Add support for destructured prop renaming by @skovhus in #88
- Add support for arrow function template literal bodies by @skovhus in #89
- Refactor: Extract shared helpers in nullish coalesce feature by @skovhus in #90
- Support logical AND with template literal theme expressions by @skovhus in #91
- Improve warning logs by @skovhus in #92
- Unnecessary type casts by @skovhus in #95
- Support static member-expression interpolations by @skovhus in #94
- Grid template support by @skovhus in #98
- Support destructured props with fallbacks and defaults by @skovhus in #99
- Code duplication skill by @skovhus in #101
- Heterogeneous background support by @skovhus in #102
- Redundant type assertions by @skovhus in #100
- feat: Support mixed static/dynamic conditional expressions by @skovhus in #104
- fix(borders): handle resolved styles in border helpers by @skovhus in #106
- Support logical AND expressions in styled-components by @skovhus in #107
- Support empty string and helper call conditionals by @skovhus in #108
- Simplify static values in template literals and improve test cases by @skovhus in #109
- fix: Improve warning location reporting by @skovhus in #111
- feat: Support styled components as mixins by @skovhus in #112
- Support directional borders and simplify resolveCall API by @skovhus in #113
- fix: Preserve tabIndex and other element props from attrs with defaults by @skovhus in #115
- Rename CallResolveResult.kind to usage by @skovhus in #114
- feat(transform): support custom media queries by @skovhus in #116
- Fix empty stylex props emission by @skovhus in #117
- Support shadowed imports and clean up empty styles by @skovhus in #119
- Standalone css helper support by @skovhus in #110
- Add browser conditional if-block support and refactor shared utilities by @skovhus in #118
- feat(css-helper): Support function calls in styled component interpolations by @skovhus in #123
- fix(emit): Use ternary for non-boolean conditional styles in stylex.props by @skovhus in #124
- fix(attrs): Properly destructure props with nullish coalescing by @skovhus in #125
- fix(emit): Collect props from extraStylexPropsArgs.when conditions by @skovhus in #128
- fix(conditions): handle complex prop condition chains by @skovhus in #127
- fix(emit): Quote CSS variable keys in style functions and improve type inference by @skovhus in #129
- fix: simplify mixin handling and improve test clarity by @skovhus in #130
- fix(mixins): preserve base defaults for pseudo-only css helpers by @skovhus in #131
- Detect closure variables in css helper functions by @skovhus in #134
- chore(deps): bump @isaacs/brace-expansion from 5.0.0 to 5.0.1 by @dependabot[bot] in #135
- feat: revamp polymorphic as prop type generation by @skovhus in #136
- Lower-rules structure plan by @skovhus in #126
- Upgrade Storybook to 10.2.5 by @skovhus in #137
- Minimize formatting changes by preserving original whitespace by @skovhus in #138
- Inline simple props types when no custom props by @skovhus in #139
- fix: generate wrapper for intrinsic elements with defaultAttrs by @skovhus in #140
- Fix invalid condition names and theme-prop bail-out by @skovhus in #141
- Emit intrinsic file split by @skovhus in #142
- refactor: use direct imports for pure helper functions by @skovhus in #144
- Fix rest spread being dropped for exported components by @skovhus in #143
- feat(collect): support styled(MemberExpression).attrs() pattern by @skovhus in #145
- fix(transform): hoist styles declaration to avoid TDZ when used at module level by @skovhus in #146
- fix(emit-wrappers): Add className/style to wrapper type when external styles enabled by @skovhus in #147
- Fix as prop type to use generic C parameter by @skovhus in #148
- Split code even more by @skovhus in #149
- feat: support theme boolean conditionals (isDark, mode === "dark", etc.) by @skovhus in #151
- Wrapper emitter file structure by @skovhus in #152
- Builtin handlers file split by @skovhus in #153
- Bug bash + test renames by @skovhus in #155
- Argument bag removal by @skovhus in #154
- Tinter agents guide by @skovhus in #156
- Theme conditional inline style by @skovhus in #157
- PR commit playground previews by @skovhus in #159
- Playground test rendering toggle by @skovhus in #120
- Dependencies update by @skovhus in #162
- Mobile playground visibility by @skovhus in #164
- Theme provider calls allowance by @skovhus in #165
- Playground StyleX styling by @skovhus in #166
- Support conditional helper transform by @skovhus in #160
- Static props support by @skovhus in #167
- Transform array destructuring holes by @skovhus in #169
- Ternary conditionals inside pseudo selectors using css helper by @skovhus in #168
- remove invalid test by @skovhus in #170
New Contributors
- @dependabot[bot] made their first contribution in #135
Full Changelog: v0.0.9...v0.0.10