css-in-js-utils
css-in-js-utils copied to clipboard
Useful utility functions for CSS in JS solutions
Otherwise: ```ts camelCaseProperty("--my-css-var") // => "-MyCssVar" ``` There's a workaround downstream in [fela-dom/rehydration/rehydrateRules.js#L60](https://github.com/robinweser/fela/blob/master/packages/fela-dom/src/dom/rehydration/rehydrateRules.js#L60) that also motivates this change. A similar fix is needed in [`hyphenateProperty()`](https://github.com/robinweser/css-in-js-utils/blob/master/modules/hyphenateProperty.ts#L3). (I'd recommend dropping the dependency...
Based on the benchmark (https://jsben.ch/kxBxv), the "for in" loop appears to be 10% slower than the "for" loop. This pull request optimizes object traversal loops. Also ESLint errors fixed.
Bumps [json5](https://github.com/json5/json5) from 2.1.2 to 2.2.3. Release notes Sourced from json5's releases. v2.2.3 Fix: [email protected] is now the 'latest' release according to npm instead of v1.0.2. (#299) v2.2.2 Fix: Properties...
Bumps [qs](https://github.com/ljharb/qs) from 6.5.2 to 6.5.3. Changelog Sourced from qs's changelog. 6.5.3 [Fix] parse: ignore __proto__ keys (#428) [Fix] utils.merge: avoid a crash with a null target and a truthy...
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2. Release notes Sourced from decode-uri-component's releases. v0.2.2 Prevent overwriting previously decoded tokens 980e0bf https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.1...v0.2.2 v0.2.1 Switch to GitHub workflows 76abc93 Fix issue where decode...