Skip to content

Typed CSSOM values support#887

Merged
kof merged 22 commits intomasterfrom
csstom
Oct 14, 2018
Merged

Typed CSSOM values support#887
kof merged 22 commits intomasterfrom
csstom

Conversation

@kof
Copy link
Copy Markdown
Member

@kof kof commented Oct 12, 2018

#882
Branch is based on #878 so it needs to be merged first for a sane diff.

@kof kof requested review from HenriBeck and TrySound and removed request for HenriBeck October 12, 2018 18:57
@HenriBeck
Copy link
Copy Markdown
Member

Could we maybe also use the CSS.px etc. functions for the default unit plugin?

@HenriBeck
Copy link
Copy Markdown
Member

Is this branch supposed to have all of the changes of the dynamic values PR or was it an accident?

@kof
Copy link
Copy Markdown
Member Author

kof commented Oct 12, 2018

Could we maybe also use the CSS.px etc. functions for the default unit plugin?

totally, added a separate issue for it #885

Is this branch supposed to have all of the changes of the dynamic values PR or was it an accident?

Just wanted to avoid conflicts, since the other PR is going to be merged soon and its quite massive

@HenriBeck
Copy link
Copy Markdown
Member

👍 will review the dynamic values as soon as possible

@kof kof merged commit 87b9d58 into master Oct 14, 2018
@kof kof deleted the csstom branch October 14, 2018 22:45
HenriBeck pushed a commit that referenced this pull request Oct 16, 2018
* master:
  Support plugins processing for observables by default (#892)
  Typed CSSOM values support (#887)
  Dynamic values full syntax (#878)
  [jss-plugin-cache] Use WeakMap for cache plugin (#890)

# Conflicts:
#	packages/jss-plugin-syntax-rule-value-function/.size-snapshot.json
#	packages/jss-preset-default/.size-snapshot.json
#	packages/jss/.size-snapshot.json
#	packages/react-jss/.size-snapshot.json
HenriBeck pushed a commit that referenced this pull request Oct 22, 2018
* origin/add-ts-typings:
  Scoped keyframes (#888)
  Update readme.md (#897)
  Use CSSTOM in default unit plugin (#893)
  Added .nvmrc (#896)
  [WIP] DONT MERGE Fix ci (#895)
  Update ci (#894)
  Support plugins processing for observables by default (#892)
  Typed CSSOM values support (#887)
  Dynamic values full syntax (#878)
  [jss-plugin-cache] Use WeakMap for cache plugin (#890)
bhupinderbola pushed a commit to bhupinderbola/jss that referenced this pull request Sep 17, 2019
* added fallbacks test to fn rules

* only call onChangeValue if plugins: true

* enable removing props from fn rules

* shorter syntax with coercion

* wip full syntax support

* restore browsers.json

* changelog

* move hook call to the core

* isProcessed flag explanation

* added tests to fn rules

* remove media rule as a function test case

* added a test for cssinjs#796, as part of cssinjs#682

* tests for compose plugin

* observables

- move documentation to the package
- update docs, since plugins don't apply by default
- introduce option process: true to the plugin to enable plugins if user wants that

* move fn values docs

* wording

* support typed cssom

* Update docs/json-api.md

* Update changelog.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants