ng2-semantic-ui icon indicating copy to clipboard operation
ng2-semantic-ui copied to clipboard

Directive [xxx]. Property '[xxx]' is private and only accessible within class '[xxx]'

Open pewinski opened this issue 6 years ago • 4 comments

Please read https://github.com/edcarroll/ng2-semantic-ui/blob/master/CONTRIBUTING.md and search existing issues (both open and closed) prior to opening any new issue and ensure you follow the instructions therein.

Bug description:

I'm using ng2-semantic-ui in my npm angular package. I'm getting an exception while building the package that says: "Directive SuiCheckbox, Property '_checkboxClasses' is private and only accessible within class 'SuiCheckbox'."

Version of Angular, ng2-semantic-ui, and Semantic UI:

Angular: 7

ng2-semantic-ui: 0.9.7

Semantic UI: 2.4.1

pewinski avatar Mar 12 '19 10:03 pewinski

+1

ltranco avatar Jul 09 '19 20:07 ltranco

is there any workaround for this?

venkateshwarans avatar Jan 13 '21 10:01 venkateshwarans

is there any workaround for this?

My workaround was to download the repository and adjust it on my own. Then I released a package onto my private npm repository (I'm using Verdaccio to host the repository on my server).

I am still using SemanticUI for some legacy code and vanilla js, but for new features development I switched to different UI library written in (and made for) angular, as I use angular on the project.

pewinski avatar Jan 13 '21 11:01 pewinski

btw @venkateshwarans , as far as I remember the fix is already in the repository. It just wasn't released yet, so all you need to do is to release it yourself. You can read my discussion with anna-bass here: #431

pewinski avatar Jan 13 '21 11:01 pewinski