Sergii Lavrin

Results 107 issues of Sergii Lavrin

### Version `3.2.23` ### Expected behaviour Errors should be same or at least close ### Actual behaviour This is follow up of https://github.com/gcanti/tcomb/issues/295#issuecomment-329029432. After using of union of interfaces instead...

Hello Im sure this question caused by lack of my understanding, but I'm kinda stuck and don't see the way to handle this scenario. I will be grateful for any...

In strict mode, intersections of interfaces are always returning errors. Consider this example: ```js const TypeA = t.interface({ one: t.String, two: t.String }) const TypeB = t.interface({ two: t.String })...

For some reason `tcomb-validation` outputs different from `tcomb` error message β€” it doesn't account for `name` option of `t.struct`. Example: ``` js const Schema = t.struct({ name: t.String, surname: t.maybe(t.String),...

I wonder, can this library be adopted to extract gettext from non-js files, like Nunjucks templates? In Nunjucks gettext functions have same signature, like `{{ gettext('My text') }}`. Or it...

Instead of ``` scss $ekzo-spacing-unit: $ekzo-line-height !default; ``` We can allow to do ``` scss $ekzo-spacing-units: ( base: $ekzo-line-height, blog: $ekzo-blog-line-height ) !default; ``` Yet, all benefits of such change...

enhancement

This one is tricky. We might allow to specify ration instead of px value for base line-heights: Instead of ``` scss $ekzo-line-height-ratios: ( base: ekzo-font-size(base) * 1.5, blog: ekzo-font-size(text, blog)...

enhancement

Yet to be decided do we really need it. We could allow to define specific for certain scopes font sizes, which will generated all needed sets of helpers classes. Like...

enhancement

- [x] Better alignment classes for flexbox. Current conjured with `text-align` classes may cause some issues... needs testing. - [ ] vertical aligment helpers/mixins. Probably as per http://www.sitepoint.com/centering-with-sass/, http://howtocenterincss.com/ and...

enhancement

Merge constructions like ``` scss @if $ekzo-enable-responsive-widths { @each $breakpoint, $value in $ekzo-breakpoints { @include ekzo-breakpoint($breakpoint) { @include ekzo-widths('#{$breakpoint}-'); } } } // endif ``` into single `each-breakpoint()` mixin

enhancement