-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: support selector intersection #2827
Commits on Mar 8, 2023
-
refactor: inferred selector data structure
- combine resolved selector data into a common type that can later be used to retrieve intersection resolve of multiple selectors
Configuration menu - View commit details
-
Copy full SHA for b5e71b0 - Browse repository at this point
Copy the full SHA b5e71b0View commit details -
feat: add experimental flag for new selector behavior
- not doing anything atm
Configuration menu - View commit details
-
Copy full SHA for 4254f6b - Browse repository at this point
Copy the full SHA 4254f6bView commit details
Commits on Mar 12, 2023
-
Configuration menu - View commit details
-
Copy full SHA for e9fbf22 - Browse repository at this point
Copy the full SHA e9fbf22View commit details -
Configuration menu - View commit details
-
Copy full SHA for c734e81 - Browse repository at this point
Copy the full SHA c734e81View commit details -
feat: LSP support for intersection pseudo-states completion
- selectorAstResolveMap stores inferred selectors - InferredSelector API for all pseudo-states
Configuration menu - View commit details
-
Copy full SHA for 9bc539a - Browse repository at this point
Copy the full SHA 9bc539aView commit details
Commits on Mar 13, 2023
-
feat: infer nested selectors in native pseudo-classes
- add `nth-child/nth-last-child` to list of pseudo-classes with nested selectors
Configuration menu - View commit details
-
Copy full SHA for 6f2be1a - Browse repository at this point
Copy the full SHA 6f2be1aView commit details
Commits on Mar 14, 2023
-
feat: support multi selector infer for st-scope
- flatten `@st-scope` at the end of the transformation - pass nesting inferred selector between rules - fix lsp completions to differ selector inferred context and nesting
Configuration menu - View commit details
-
Copy full SHA for ffb4688 - Browse repository at this point
Copy the full SHA ffb4688View commit details -
feat: set inferred selector after universal, global and native elemen…
…t type - native element already set the inference - just added tests
Configuration menu - View commit details
-
Copy full SHA for 7dd59bd - Browse repository at this point
Copy the full SHA 7dd59bdView commit details -
refactor: move inline custom selector transform into transform process
- tech-debt: with the flag on the transformation of inline custom selector move
Configuration menu - View commit details
-
Copy full SHA for f9404e6 - Browse repository at this point
Copy the full SHA f9404e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for e3c4779 - Browse repository at this point
Copy the full SHA e3c4779View commit details -
- remove extra exp flag arg from ScopeContext - comment about InferredSelector assumptions - add test to check that :not() does nothing yet
Configuration menu - View commit details
-
Copy full SHA for 45e8901 - Browse repository at this point
Copy the full SHA 45e8901View commit details
Commits on Mar 15, 2023
-
- use "selectorNode" or "ruleOrAtRule" instead of "rule" to describe potential rule or atrule - remove commented imports - remove self referencing module import - changed internal transformer name from "selectorContext" to "inferredNestSelector" - cleaned transformer.createSelectorContext args - remove temp "setCurrentInferredSelectorNode" - unified "duplicateSelectors" pushes - add explanation for SelectorMultiplier.duplicateSelectors
Configuration menu - View commit details
-
Copy full SHA for 0eab5f1 - Browse repository at this point
Copy the full SHA 0eab5f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 166796a - Browse repository at this point
Copy the full SHA 166796aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 04f4e8b - Browse repository at this point
Copy the full SHA 04f4e8bView commit details -
fix: completion from nested selector context
inferred selector for nesting is inferred to the ast node (&), in any other case, fallback to infer the stylesheet root
Configuration menu - View commit details
-
Copy full SHA for 3504790 - Browse repository at this point
Copy the full SHA 3504790View commit details
Commits on Mar 16, 2023
-
- fix parent selector collection order - clone selectors to avoid attaching inference to the wrong selector
Configuration menu - View commit details
-
Copy full SHA for 90cb7ee - Browse repository at this point
Copy the full SHA 90cb7eeView commit details -
refactor: copy instead of delete when filtering collection
- prefer to not delete fields from JS objects
Configuration menu - View commit details
-
Copy full SHA for 8128fed - Browse repository at this point
Copy the full SHA 8128fedView commit details -
Configuration menu - View commit details
-
Copy full SHA for e702f82 - Browse repository at this point
Copy the full SHA e702f82View commit details -
Configuration menu - View commit details
-
Copy full SHA for e3c8478 - Browse repository at this point
Copy the full SHA e3c8478View commit details -
feat: support matching intersection states
- support same stats from the same meta - support identical global states
Configuration menu - View commit details
-
Copy full SHA for 0ee3a64 - Browse repository at this point
Copy the full SHA 0ee3a64View commit details