-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: allow customizing css filter and establish modified defaults #97
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍🏻
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍🏻
Changes to expose the `arcgisCSSWhiteList` as a public readonly property to allow users to get our defaults as well as use them as a base to modify. Eliminated unnecessary code and expanded the tests for this refactor.
@ssylvia Thanks for the great suggestions. I've exposed the ArcGIS defaults as |
Sets the default CSS filter to turn on
overflow
,line-height
and the flexbox options:flex
,flex-basis
,flex-direction
,flex-flow
,flex-grow
,flex-shrink
,flex-wrap
.Also added code to ensure that overriding or extending default css whiteList takes our defaults into account. Added tests to ensure that extending defaults and overriding work as intended, as well as to test out the CSS properties enabled by default.