Skip to content

feat(og-tooltip): add new og-tooltip component with examples of usage - #122

Open
ChristianOtto wants to merge 8 commits into
developfrom
ftr_og-tooltip
Open

ChristianOtto wants to merge 8 commits into
developfrom
ftr_og-tooltip

Conversation

@ChristianOtto

Copy link
Copy Markdown
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 thread src/utils/custom-event.ts
Comment on lines +1 to +6
function preventDefault() {
// needed for IE compatibility
Object.defineProperty(this, "defaultPrevented", {
get: () => true
});
}

Copy link
Copy Markdown
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

Comment thread src/utils/add-class.ts Outdated
Comment thread src/utils/has-class.ts Outdated
Comment thread src/utils/remove-class.ts Outdated
Comment thread src/components/og-tooltip/og-tooltip.tsx Outdated
Comment thread src/components/og-tooltip/og-tooltip.tsx Outdated
Comment thread src/components/og-tooltip/og-tooltip.tsx Outdated
@Cr45hCode
Cr45hCode requested a review from demkani January 27, 2020 14:22
Comment thread package.json
"moment": "^2.24.0",
"node-sass": "^4.12.0",
"pre-commit": "^1.2.2",
"popper.js": "^1.16.0",

Copy link
Copy Markdown
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.

2 participants