These are chat archives for Semantic-Org/Semantic-UI-Angular

9th
Apr 2016
Edward Carroll
@edcarroll
Apr 09 2016 18:15
I've started a project that provides Semantic UI components in Angular 2 without depending at all on jQuery, called ng2-semantic-ui. Currently it supports 5 components but that is growing quickly. I know that we already have a similar project in ngSemantic however it relies on jQuery which I can forsee a few people not wanting to include. This library also doesn't include any components that don't need any javascript - mainly to keep it clean but also to avoid any potential needless css conflicts when Semantic UI is updated. Let me know your thoughts! :smile:
Vlado Tesanovic
@vladotesanovic
Apr 09 2016 19:34
@edcarroll interesting project :+1: It will be challenge to rewrite all jquery code to vanilla js, but it can be done.
I am planning to invest some time and try to use ngAnimation once they publish it
Edward Carroll
@edcarroll
Apr 09 2016 20:25
@vladotesanovic thanks! I am currently porting some of ng2-bootstrap's components over to semantic UI which takes a lot of the work out. I feel that aiming for 1:1 functionality between the jQuery library and the non jQuery Angular 2 library would be a pointless exercise given how much can be done with the inbuilt directives, what do you think? Regarding ngAnimation - that was my intention too, I feel it would be wiser to combine our efforts if you would be interested in that?
Vlado Tesanovic
@vladotesanovic
Apr 09 2016 20:43
@edcarroll Yes, i like your combination of core directives ( host listeners and etc. ) and css, you achieve great stuff with it. Only problem that i see is a lot of hard-coded stuff, imagine if they change something in SUI ( bug fix or improvement ) than you need to do it in your code too. To be dependent on jquery and min.css is easier, but as you said, it add jquery as dependency and developers don't like it. We can continue in private chat? Once we figure out something we can publish it here
Edward Carroll
@edcarroll
Apr 09 2016 20:46
@vladotesanovic sounds like a plan.