Skip to content

Commit

Permalink
1.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
elite174 committed Apr 21, 2024
1 parent 81f5415 commit f6c872e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 1.8.0

- `anchorElementSelector` => `anchorElement`. Now you can pass HTML element or CSS selector.

# 1.7.0

- Popover API enabled by default with mount fallback to `body`
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,11 +196,11 @@ export type PopoverProps = {
*/
dataAttributeName?: string;
/**
* CSS selector to find anchor html element
* HTML element or CSS selector to find anchor element which is used for positioning
* Can be used with Astro, because astro wraps trigger element into astro-slot
* and position breaks
*/
anchorElementSelector?: string;
anchorElement?: string | HTMLElement;
/**
* CSS selector to find html element inside content
* Can be used with Astro, because astro wraps element into astro-slot
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "solid-simple-popover",
"version": "1.7.0",
"version": "1.8.0",
"description": "A simple popover component for SolidJS",
"author": "Vladislav Lipatov",
"type": "module",
Expand Down

0 comments on commit f6c872e

Please sign in to comment.