Skip to content
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: popup: add more props to style and global css vars #592

Conversation

dkilgore-eightfold
Copy link
Contributor

SUMMARY:

Adds new props and global CSS variables.
animate - whether to animate the show/hide of Popup and/or Tooltip (default is true)
bordered - whether to display a border on Popup and/or Tooltip (default is false)
dropShadow - whether to display a drop shadow on Popup and/or Tooltip (default is true)

Fixes bug where the PopupTheme wasn't being mapped to its Tooltip component.

JIRA TASK (Eightfold Employees Only):

ENG-49411

CHANGE TYPE:

  • Bugfix Pull Request
  • Feature Pull Request

TEST COVERAGE:

  • Tests for this change already exist
  • I have added unittests for this change

TEST PLAN:

Pull the PR branch and run yarn and yarn storybook. Verify the Popup and Tooltip stories behave as expected.

@codesandbox-ci
Copy link

codesandbox-ci bot commented Apr 11, 2023

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit ed69572:

Sandbox Source
React Configuration
Vanilla Configuration

src/styles/themes/_definitions.scss Outdated Show resolved Hide resolved
src/styles/themes/_definitions.scss Outdated Show resolved Hide resolved
@dkilgore-eightfold dkilgore-eightfold merged commit 5a1a533 into EightfoldAI:main Apr 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants