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(og-tooltip): add new og-tooltip component with examples of usage #122

Open
wants to merge 8 commits into
base: develop
Choose a base branch
from

Conversation

ChristianOtto
Copy link
Collaborator

Pull Request

Type of change

  • New feature (a non-breaking change)

Description

Adds a new og-tooltip component and provides examples of usage.

Checklist

  • Local build is still running with my changes
  • I added tests
  • New and existing unit test pass locally with my changes
  • My changes do not contain any dead or commented out code
  • I added documentation for public functionality
  • I added comments, at least in hard-to-understand areas

Comment on lines +1 to +6
function preventDefault() {
// needed for IE compatibility
Object.defineProperty(this, "defaultPrevented", {
get: () => true
});
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Please remove, as we are not supporting IE anyways

src/utils/add-class.ts Outdated Show resolved Hide resolved
src/utils/has-class.ts Outdated Show resolved Hide resolved
src/utils/remove-class.ts Outdated Show resolved Hide resolved
src/components/og-tooltip/og-tooltip.tsx Outdated Show resolved Hide resolved
src/components/og-tooltip/og-tooltip.tsx Outdated Show resolved Hide resolved
src/components/og-tooltip/og-tooltip.tsx Outdated Show resolved Hide resolved
"moment": "^2.24.0",
"node-sass": "^4.12.0",
"pre-commit": "^1.2.2",
"popper.js": "^1.16.0",
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
"popper.js": "^1.16.0",
"@popperjs/core": "^1.0.0",

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.

None yet

2 participants