Commit Graph

5 Commits

Author SHA1 Message Date
Krist Wongsuphasawat
77e7a5319a feat: optimize functions for getting text dimension (#199)
* feat: add function for getting multiple text dimensions

* feat: lazy deletion

* feat: use lazy factory

* fix: comments

* fix: rename variable
2021-11-26 11:44:54 +08:00
Krist Wongsuphasawat
5a79a7000f feat: add parseLength function to @superset-ui/dimension (#171)
* feat: add parseLength function

* feat: export

* fix: address Kim's comment
2021-11-26 11:44:51 +08:00
Krist Wongsuphasawat
aedc1b405d feat: improve margin merging (#159) 2021-11-26 11:44:49 +08:00
Krist Wongsuphasawat
e5d7e50ee2 feat: add mergeMargin() function (#114)
* feat: add mergeMargin()

* fix: typings

* refactor: address chris' comments
2021-11-26 11:44:44 +08:00
Krist Wongsuphasawat
92f7794a44 Add @superset-ui/dimension (#88)
* add code for computing text dimension

* update readme

* Add unit tests

* remove dependency

* refactor util function

* add description
2021-11-26 11:44:40 +08:00