You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* opts.margin and opts.offset are no longer directly recognized by the
offset calculation functions
* margin will be baked into the Shadow DOM CSS
* offset will be replaced with dX or dY (depending on the positioning function)
* opts.dX added to allow fine-tuning of the calculated X coordinate
* opts.dY added to allow fine-tuning of the calculated Y coordinate
* getPosition(offsetElement, refElement, config) -> getPosition(PositionConfig)
* getPositionWithArrow(offsetElement, refElement, config) -> getPositionWithArrow(PositionConfig)
* add Revealable mixin
* add Positionable mixin
* Refactor HXTooltipElement to use new Positionable mixin
* update `<hx-tooltip>` docs
* update `<hx-popover>` docs
* update Tooltip component docs
* add additional tests to `test.html`
* update Popover component docs
* add additional tests to `test.html`
* add `mix()` utility function to aid in consuming defined mixins
* update CSS for rendering the "arrow" on `<hx-popover>` and `<hx-tooltip>`
* HXTooltipElement will automatically set `tabIndex` of the control
element if it's less than 0
* broken in Edge 12-17 and IE11 due to bugs in each browser
* will look into applying a suitable fix in a future update
* add `dl.memberList` style to documentation CSS
BREAKING
* all position calculation utility functions now return { x, y } object instead of [ x, y ] array
* `getPosition()` and `getPositionWithArrow()` utility functions now only accept a single PositionConfig argument
* click-to-open behavior removed from `<hx-tooltip>`
* `.triggerEvent` property removed from HXTooltipElement
* `trigger-event` attribut removed from `<hx-tooltip>`
* "smart" repositioning removed from HXTooltipElement
0 commit comments