Naman Goel

Results 68 issues of Naman Goel

We currently use `postcss-value-parser` to parse the values used in `stylex.create` and normalize them. However, this is a basic parser and we're mostly limited in the normalisation we can perform...

enhancement

## What changed / motivation ? This a rebased implementation of #810 with bug fixes. --- # **[Feature] Automatically Discover StyleX Aliases from Configuration Files** ## Linked Issues Fixes #765...

CLA Signed

The StyleX website has an empty page for a playground. This can be implemented using "WebContainers". A basic playground should ship React, StyleX and a simple bundler. It should have...

documentation
help wanted

## What changed / motivation ? Made some changes to the Flow types so that the generated Typescript types are valid. Also made some changes to a typescript `.d.ts` file...

CLA Signed

Define an API to support the CSS pseudo-elements and `@`-rules that are part of the [View Transition API](https://developer.mozilla.org/en-US/docs/Web/API/View_Transition_API). ```css ::view-transition-group() ::view-transition-image-pair() ::view-transition-old() ::view-transition-new() ``` For example: ```tsx const viewTransition =...

enhancement

### Discussed in https://github.com/facebook/stylex/discussions/827 Originally posted by **zaydek** December 30, 2024 I love using TS namespaces to create conceptual boundaries so it's easier to reason about what different chunks of...

enhancement
good first issue
help wanted

Depends on #517 --- Implement a new `stylex.defineConsts` API that works exactly like `stylex.defineVars` with two differences: 1. It is impossible to create themes for these sets of constants. 2....

enhancement
question

The ESlint `valid-styles` rules was initially created by refactoring static types. As such, in many cases it allows arbitrary strings when only a particular CSS type should be allowed. We...

enhancement

Validate all styles that are created with `stylex.create` (and other APIs) in the Babel compiler itself, in addition to the `stylex/valid-styles` ESLint rule. Throw an error during the build when...

enhancement

Depends on #724 --- If we implement a `stylex.defineConsts` API, we should also have a lint rule that enforces consistent usage of those constants in your codebase. For example, you...

enhancement
good first issue