@zohodesk/utils
Version:
Unified Component Library - Utils
32 lines (24 loc) • 639 B
Markdown
# #UNIFIED COMPONENTS LIBRARY - Utils
In this package, We provide lots of util fuctions for web devlopment
# 1.3.14
- **StringUtils**
- String Utils Methods added
# 1.3.13
- `mergeStyle` issue fix
# 1.3.12
- `mergeStyle` functionality updated. Composed classes will also update if it is inside that file.
```js
// Before
const style = mergeStyle(
{ a: '1', b: '1 2' },
{ a: 'a' }
);
// style = { a: '1 a', b: '1 2' }
// After
const style = mergeStyle(
{ a: '1', b: '1 2' },
{ a: 'a' }
);
// style = { a: '1 a', b: '1 a 2' }
```
- `compileClassNames` code optimized. Will not support other than object as argument.