Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions api-goldens/element-ng/tooltip/index.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ export class SiTooltipDirective implements OnDestroy {
export class SiTooltipModule {
}

// @public
export class SiTooltipOverlayDirective extends SiTooltipDirective {
readonly siTooltipOverlay: i0.InputSignalWithTransform<boolean | HTMLElement, boolean | "" | HTMLElement>;
}

// (No @packageDocumentation comment for this package)

```
2 changes: 2 additions & 0 deletions api-goldens/element-ng/tree-view/index.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,8 @@ export class SiTreeViewComponent implements OnInit, OnChanges, OnDestroy, AfterV
export class SiTreeViewItemComponent implements OnInit, OnDestroy, AfterViewInit, FocusableOption, DoCheck {
focus(): void;
getLabel(): string;
// (undocumented)
readonly labelElement: _angular_core.Signal<ElementRef<HTMLElement> | undefined>;
}

// @public
Expand Down
7 changes: 6 additions & 1 deletion playwright/e2e/element-examples/si-tooltip.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,14 @@ test.describe('Tooltip', () => {
test(direction, async ({ page, si }) => {
await si.visitExample(example);

await page.locator(`[placement="${direction}"]`).focus();
await page
.locator(`[aria-label="Tooltip placement"] button[placement="${direction}"]`)
.focus();
await expect(page.locator('.tooltip')).toHaveCount(1);

await si.waitForAllAnimationsToComplete();
await page.waitForTimeout(100);

await si.runVisualAndA11yTests(direction);
});
});
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,26 +1,64 @@
- button "Toggle"
- button "Settings"
- button "Documents"
- button "Notifications"
- button "Reports"
- group "File operations":
- button "Open file"
- button "Save"
- button "Download"
- button "Share"
- group "Split button primary icon only":
- button "Download"
- button "Dropdown toggle"
- group "Basic actions":
- button "Edit"
- button "Copy"
- button "Delete"
- button "Open side panel"
- group "Template examples":
- button "Template HTML example"
- button "Template example"
- heading "Tooltip placement" [level=4]
- heading "Placement" [level=4]
- group "Tooltip placement":
- button "Auto placement"
- button "Top"
- button "Bottom"
- button "Start"
- button "End"
- heading "Truncated text" [level=4]
- textbox "Search..."
- tree "Company locations":
- treeitem "This is a really really long tree item label" [level=1]
- treeitem "Tree item label" [level=1]
- treeitem "This is a really really long tree item label" [level=1]
- treeitem "Tree item label" [level=1]
- heading "Charts" [level=4]
- heading "Other examples" [level=4]
- button "A long time ago in a galaxy far, far away..."
- group "Layout selection toggle":
- radio "Map view" [checked]
- radio "List view"
- radio "Grid view"
- menubar:
- menuitem "Download"
- menuitem "Share"
- menuitem "Copy"
- group "Social actions":
- button "Like"
- button "Dislike"
- button "Share"
- tablist:
- tab
- tab
- tab
- tab
- tab
- tab
- tab
- banner:
- heading "Tooltip" [level=1]
- button "Support Center"
- button "Messages"
- button "User Preferences"
- button "Lars Vegas"
- tooltip "Auto placement"
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,26 +1,64 @@
- button "Toggle"
- button "Settings"
- button "Documents"
- button "Notifications"
- button "Reports"
- group "File operations":
- button "Open file"
- button "Save"
- button "Download"
- button "Share"
- group "Split button primary icon only":
- button "Download"
- button "Dropdown toggle"
- group "Basic actions":
- button "Edit"
- button "Copy"
- button "Delete"
- button "Open side panel"
- group "Template examples":
- button "Template HTML example"
- button "Template example"
- heading "Tooltip placement" [level=4]
- heading "Placement" [level=4]
- group "Tooltip placement":
- button "Auto placement"
- button "Top"
- button "Bottom"
- button "Start"
- button "End"
- heading "Truncated text" [level=4]
- textbox "Search..."
- tree "Company locations":
- treeitem "This is a really really long tree item label" [level=1]
- treeitem "Tree item label" [level=1]
- treeitem "This is a really really long tree item label" [level=1]
- treeitem "Tree item label" [level=1]
- heading "Charts" [level=4]
- heading "Other examples" [level=4]
- button "A long time ago in a galaxy far, far away..."
- group "Layout selection toggle":
- radio "Map view" [checked]
- radio "List view"
- radio "Grid view"
- menubar:
- menuitem "Download"
- menuitem "Share"
- menuitem "Copy"
- group "Social actions":
- button "Like"
- button "Dislike"
- button "Share"
- tablist:
- tab
- tab
- tab
- tab
- tab
- tab
- tab
- banner:
- heading "Tooltip" [level=1]
- button "Support Center"
- button "Messages"
- button "User Preferences"
- button "Lars Vegas"
- tooltip "Bottom"
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,26 +1,64 @@
- button "Toggle"
- button "Settings"
- button "Documents"
- button "Notifications"
- button "Reports"
- group "File operations":
- button "Open file"
- button "Save"
- button "Download"
- button "Share"
- group "Split button primary icon only":
- button "Download"
- button "Dropdown toggle"
- group "Basic actions":
- button "Edit"
- button "Copy"
- button "Delete"
- button "Open side panel"
- group "Template examples":
- button "Template HTML example"
- button "Template example"
- heading "Tooltip placement" [level=4]
- heading "Placement" [level=4]
- group "Tooltip placement":
- button "Auto placement"
- button "Top"
- button "Bottom"
- button "Start"
- button "End"
- heading "Truncated text" [level=4]
- textbox "Search..."
- tree "Company locations":
- treeitem "This is a really really long tree item label" [level=1]
- treeitem "Tree item label" [level=1]
- treeitem "This is a really really long tree item label" [level=1]
- treeitem "Tree item label" [level=1]
- heading "Charts" [level=4]
- heading "Other examples" [level=4]
- button "A long time ago in a galaxy far, far away..."
- group "Layout selection toggle":
- radio "Map view" [checked]
- radio "List view"
- radio "Grid view"
- menubar:
- menuitem "Download"
- menuitem "Share"
- menuitem "Copy"
- group "Social actions":
- button "Like"
- button "Dislike"
- button "Share"
- tablist:
- tab
- tab
- tab
- tab
- tab
- tab
- tab
- banner:
- heading "Tooltip" [level=1]
- button "Support Center"
- button "Messages"
- button "User Preferences"
- button "Lars Vegas"
- tooltip "End"
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,26 +1,64 @@
- button "Toggle"
- button "Settings"
- button "Documents"
- button "Notifications"
- button "Reports"
- group "File operations":
- button "Open file"
- button "Save"
- button "Download"
- button "Share"
- group "Split button primary icon only":
- button "Download"
- button "Dropdown toggle"
- group "Basic actions":
- button "Edit"
- button "Copy"
- button "Delete"
- button "Open side panel"
- group "Template examples":
- button "Template HTML example"
- button "Template example"
- heading "Tooltip placement" [level=4]
- heading "Placement" [level=4]
- group "Tooltip placement":
- button "Auto placement"
- button "Top"
- button "Bottom"
- button "Start"
- button "End"
- heading "Truncated text" [level=4]
- textbox "Search..."
- tree "Company locations":
- treeitem "This is a really really long tree item label" [level=1]
- treeitem "Tree item label" [level=1]
- treeitem "This is a really really long tree item label" [level=1]
- treeitem "Tree item label" [level=1]
- heading "Charts" [level=4]
- heading "Other examples" [level=4]
- button "A long time ago in a galaxy far, far away..."
- group "Layout selection toggle":
- radio "Map view" [checked]
- radio "List view"
- radio "Grid view"
- menubar:
- menuitem "Download"
- menuitem "Share"
- menuitem "Copy"
- group "Social actions":
- button "Like"
- button "Dislike"
- button "Share"
- tablist:
- tab
- tab
- tab
- tab
- tab
- tab
- tab
- banner:
- heading "Tooltip" [level=1]
- button "Support Center"
- button "Messages"
- button "User Preferences"
- button "Lars Vegas"
- tooltip "Start"
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading