-
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
refactor(core): integrate new CSS selector parser (from Tokey) #1884
Commits on Jun 22, 2021
-
refactor: processor use new selector parser
- add `@tokey/css-selector-parser` dependency to core - only internal processor process effected - keep backwards compatibility with SRule - future intentions comments and removed export in selector-utils
Configuration menu - View commit details
-
Copy full SHA for a436340 - Browse repository at this point
Copy the full SHA a436340View commit details -
chore: deprecate SRule and SDecl
- move to types / utils into deprecation folder - mark fields and related utils as deprecated with intention to remove - add alternative getStylableAstData/setStylableAstData - no breaking change - keep lib exports
Configuration menu - View commit details
-
Copy full SHA for 739d3fa - Browse repository at this point
Copy the full SHA 739d3faView commit details
Commits on Jun 27, 2021
-
refactor: transformer use new selector parser
- there are probably breaking changes: - some exports are not exported anymore - ast return type from scopeSelector / resolveSelectorElements
Configuration menu - View commit details
-
Copy full SHA for 0280022 - Browse repository at this point
Copy the full SHA 0280022View commit details -
refactor: use nesting selector ast
- transformer uses the new ast insterad of an & element - new scopeNestedSelector to replace previous scopeSelector - deprecated stylable-utils/scopeSelector - fix infinite loop issues when scoping selecotr contained an &
Configuration menu - View commit details
-
Copy full SHA for a58ecc0 - Browse repository at this point
Copy the full SHA a58ecc0View commit details
Commits on Jun 28, 2021
-
chore: deprecate selector-util matchSelectorTarget
- move to deprecated folder - mark as deprecated on index export - kept tests until removed (moved to proper folder)
Configuration menu - View commit details
-
Copy full SHA for e2fc0d4 - Browse repository at this point
Copy the full SHA e2fc0d4View commit details
Commits on Jun 29, 2021
-
chore: deprecate the rest of selector-utils
- move current exported api to deprecation folder - mark as deprecated on index exports
Configuration menu - View commit details
-
Copy full SHA for a822a81 - Browse repository at this point
Copy the full SHA a822a81View commit details -
Configuration menu - View commit details
-
Copy full SHA for e9edad5 - Browse repository at this point
Copy the full SHA e9edad5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 02d3f74 - Browse repository at this point
Copy the full SHA 02d3f74View commit details
Commits on Jul 1, 2021
-
refactor: deprecate some stylable utils
- utils that used deprected stylable/selector utils - change all stylable utils to use non deprecated helpers - moved old tests to deprecated folder - new utils that work with new ast to replace deprecated utils - copied tests for new utils - changed scopeNestedSelector to return both ast & selector (immutable)
Configuration menu - View commit details
-
Copy full SHA for 23ccca2 - Browse repository at this point
Copy the full SHA 23ccca2View commit details
Commits on Jul 6, 2021
-
refactor: parseSelector with cache replace astData
- new util to parse and cache selectors (return readonly by default) - new util to figure out isSimpleSelector - remove setting of selectorAst/isSimpleSelector/selectorType on astData - remove all usages of selectorAst/isSimpleSelector/selectorType - change utils to specify they accept readonly if they don't mutate - add reverse map for scoped class names on meta
Configuration menu - View commit details
-
Copy full SHA for dae06d4 - Browse repository at this point
Copy the full SHA dae06d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1645f7c - Browse repository at this point
Copy the full SHA 1645f7cView commit details
Commits on Jul 13, 2021
-
refactor: change deprecated usages in all packages
- change parsing to tokey css selector parser
Configuration menu - View commit details
-
Copy full SHA for 203c105 - Browse repository at this point
Copy the full SHA 203c105View commit details -
test: validate non native functional selectors
- add errors for selectors stylable doesn't support - exception for pseudo classes value() reference
Configuration menu - View commit details
-
Copy full SHA for 9716d01 - Browse repository at this point
Copy the full SHA 9716d01View commit details -
refactor: SRule.stScopeSelector alternative
- export getRuleScopeSelector(rule) as a backwards/forwards alternative - use getRuleScopeSelector internally
Configuration menu - View commit details
-
Copy full SHA for 44e6c6e - Browse repository at this point
Copy the full SHA 44e6c6eView commit details -
refactor: deprecate SRule.mixins and meta.mixins
- add deprecated warn on stylableMeta.mixins - add deprecation warn on SRule.mixins - still use SRule.mixins internally for now - removed unused stylable AST data - rename ignoreWarn to ignoreDeprecationWarn
Configuration menu - View commit details
-
Copy full SHA for fae73b1 - Browse repository at this point
Copy the full SHA fae73b1View commit details -
chore: add deprecation annotation
- add to deprecated types and functions
Configuration menu - View commit details
-
Copy full SHA for 26e1a85 - Browse repository at this point
Copy the full SHA 26e1a85View commit details -
Configuration menu - View commit details
-
Copy full SHA for e921c7a - Browse repository at this point
Copy the full SHA e921c7aView commit details
Commits on Jul 14, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 8e6a8ce - Browse repository at this point
Copy the full SHA 8e6a8ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 719739b - Browse repository at this point
Copy the full SHA 719739bView commit details
Commits on Jul 15, 2021
-
Configuration menu - View commit details
-
Copy full SHA for e60f530 - Browse repository at this point
Copy the full SHA e60f530View commit details -
Configuration menu - View commit details
-
Copy full SHA for b5ce4ab - Browse repository at this point
Copy the full SHA b5ce4abView commit details -
Configuration menu - View commit details
-
Copy full SHA for 581a727 - Browse repository at this point
Copy the full SHA 581a727View commit details
Commits on Jul 18, 2021
-
- breaking change for defining escaped state - breaking change for escaped classes in js
Configuration menu - View commit details
-
Copy full SHA for 283235b - Browse repository at this point
Copy the full SHA 283235bView commit details
Commits on Jul 19, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 7fe146c - Browse repository at this point
Copy the full SHA 7fe146cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 143c3e4 - Browse repository at this point
Copy the full SHA 143c3e4View commit details -
refactor: validate state in transform pre scoping
- remove reverse class map - deprecate validateStateDefinition - new validateRuleStateDefinition to replace validateStateDefinition
Configuration menu - View commit details
-
Copy full SHA for f5021fc - Browse repository at this point
Copy the full SHA f5021fcView commit details -
chore: upgrade to tokey selector parser 0.3.0
- change AST names - removed unnecessary readonly casting
Configuration menu - View commit details
-
Copy full SHA for f6711f3 - Browse repository at this point
Copy the full SHA f6711f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 176ecc4 - Browse repository at this point
Copy the full SHA 176ecc4View commit details
Commits on Aug 1, 2021
-
fix: transform custom state param only as state
- no selector transformation on the parameter itself - stop collecting reserved pseudo classes as -st-states - new warning when collecting reserved classes as states
Configuration menu - View commit details
-
Copy full SHA for 23ced6c - Browse repository at this point
Copy the full SHA 23ced6cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a1c487 - Browse repository at this point
Copy the full SHA 7a1c487View commit details
Commits on Aug 10, 2021
-
Configuration menu - View commit details
-
Copy full SHA for a9e579d - Browse repository at this point
Copy the full SHA a9e579dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 85a8b9f - Browse repository at this point
Copy the full SHA 85a8b9fView commit details
Commits on Aug 16, 2021
-
refactor: use readonly walk from tokey
- replace 2 versions of selector walk with a single one from tokey - use immutable type versions from tokey - remove DeepReadOnlyAll type
Configuration menu - View commit details
-
Copy full SHA for 626f179 - Browse repository at this point
Copy the full SHA 626f179View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2044c4e - Browse repository at this point
Copy the full SHA 2044c4eView commit details -
chore: stop spreading inner selector
- no change is done directly on it during transform
Configuration menu - View commit details
-
Copy full SHA for 7961203 - Browse repository at this point
Copy the full SHA 7961203View commit details -
chore: upgrade @Tokey pacakges
- moved from toky to @Tokey - removed unused dependency in @stylable/rollup-plugin
Configuration menu - View commit details
-
Copy full SHA for 5c49314 - Browse repository at this point
Copy the full SHA 5c49314View commit details
Commits on Aug 17, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 347846d - Browse repository at this point
Copy the full SHA 347846dView commit details
Commits on Aug 24, 2021
-
Configuration menu - View commit details
-
Copy full SHA for cf54124 - Browse repository at this point
Copy the full SHA cf54124View commit details -
Configuration menu - View commit details
-
Copy full SHA for d752f93 - Browse repository at this point
Copy the full SHA d752f93View commit details
Commits on Aug 29, 2021
-
Configuration menu - View commit details
-
Copy full SHA for b271173 - Browse repository at this point
Copy the full SHA b271173View commit details
Commits on Sep 9, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 9f5f8cb - Browse repository at this point
Copy the full SHA 9f5f8cbView commit details
Commits on Sep 19, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 421173f - Browse repository at this point
Copy the full SHA 421173fView commit details
Commits on Oct 4, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 1b0d7c4 - Browse repository at this point
Copy the full SHA 1b0d7c4View commit details
Commits on Oct 5, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 92264d2 - Browse repository at this point
Copy the full SHA 92264d2View commit details
Commits on Oct 6, 2021
-
Configuration menu - View commit details
-
Copy full SHA for d80da19 - Browse repository at this point
Copy the full SHA d80da19View commit details
Commits on Oct 21, 2021
-
Configuration menu - View commit details
-
Copy full SHA for acece4e - Browse repository at this point
Copy the full SHA acece4eView commit details