Skip to content

Feature/modal overlay border radius - #854

Merged
chuckcarpenter merged 3 commits into
shipshapecode:masterfrom
danierdev:feature/modal-overlay-radius
Mar 20, 2020
Merged

chuckcarpenter merged 3 commits into
shipshapecode:masterfrom
danierdev:feature/modal-overlay-radius

Conversation

@danierdev

@danierdev danierdev commented Mar 20, 2020 •

Copy link
Copy Markdown

The issue was we were not able to give rounded borders to the highlighted elements and no convincing methods were found in the docs or issues whatsoever.

The PR contains the ability to pass modalOverlayOpeningRadius as a parameter in options of the step to add rounded corners with customized radius. Please go ahead and review the PR. I would be happy to solve any doubts or changes if required.

The feature includes:

  • Added modalOverlayOpeningRadius as an optional parameter in step.d.ts / step.js.
  • Added the entry in the wiki for 02-usage.md.
  • Modified SVG building to support modalOverlayOpeningRadius
    and necessary code changes to accept modalOverlayOpeningRadius just like modalOverlayOpeningPadding feature in shepherd-model.svelte.
  • Modified Unit Tests to support modalOverlayOpeningRadius and added a new test for the same feature.

Thanks with regards.

Based on this PR and complete it

@RobbieTheWagner

Copy link
Copy Markdown
Member

Thanks @drivas! Have you confirmed it did not have the issues we encountered in the previous PR?

@danierdev

Copy link
Copy Markdown
Author

Thanks @drivas! Have you confirmed it did not have the issues we encountered in the previous PR?

Correct, in this the errors presented by the previous PR are fixed :)

@chuckcarpenter chuckcarpenter left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@drivas thank you for the comprehensive PR. I tested locally and reran Travis, it sometimes times out. GTG from me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants