@nanahoshi/mona-ui 0.27.1 → 0.27.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/api/auto-complete.md +67 -0
- package/docs/api/avatar.md +31 -0
- package/docs/api/breadcrumb.md +74 -0
- package/docs/api/button-group.md +71 -0
- package/docs/api/button.md +84 -0
- package/docs/api/calendar.md +123 -0
- package/docs/api/card.md +97 -0
- package/docs/api/chart.md +4380 -0
- package/docs/api/check-box.md +70 -0
- package/docs/api/chip.md +55 -0
- package/docs/api/circular-progress-bar.md +71 -0
- package/docs/api/collapsible.md +71 -0
- package/docs/api/color-gradient.md +54 -0
- package/docs/api/color-palette.md +52 -0
- package/docs/api/color-picker.md +89 -0
- package/docs/api/combo-box.md +69 -0
- package/docs/api/command.md +282 -0
- package/docs/api/common.md +599 -0
- package/docs/api/contextmenu.md +239 -0
- package/docs/api/date-input.md +119 -0
- package/docs/api/date-picker.md +67 -0
- package/docs/api/datetime-picker.md +72 -0
- package/docs/api/dialog.md +291 -0
- package/docs/api/dropdown-button.md +248 -0
- package/docs/api/dropdown-list.md +72 -0
- package/docs/api/dropdowns.md +172 -0
- package/docs/api/editor.md +117 -0
- package/docs/api/expansion-panel.md +85 -0
- package/docs/api/fieldset.md +33 -0
- package/docs/api/filter.md +116 -0
- package/docs/api/grid.md +1445 -0
- package/docs/api/i18n.md +1699 -0
- package/docs/api/label.md +58 -0
- package/docs/api/list-box.md +301 -0
- package/docs/api/list-view.md +294 -0
- package/docs/api/list.md +119 -0
- package/docs/api/locales.md +134 -0
- package/docs/api/menubar.md +275 -0
- package/docs/api/multi-select.md +92 -0
- package/docs/api/notification.md +164 -0
- package/docs/api/numeric-text-box.md +130 -0
- package/docs/api/otp-input.md +100 -0
- package/docs/api/pager.md +371 -0
- package/docs/api/placeholder.md +18 -0
- package/docs/api/popover.md +170 -0
- package/docs/api/popup-menu.md +328 -0
- package/docs/api/popup.md +299 -0
- package/docs/api/progress-bar.md +79 -0
- package/docs/api/query.md +367 -0
- package/docs/api/radio-button.md +113 -0
- package/docs/api/rating.md +187 -0
- package/docs/api/scroll-view.md +93 -0
- package/docs/api/segmented.md +114 -0
- package/docs/api/sheet.md +65 -0
- package/docs/api/sidebar.md +583 -0
- package/docs/api/skeleton.md +26 -0
- package/docs/api/slider.md +173 -0
- package/docs/api/spinner.md +132 -0
- package/docs/api/split-button.md +261 -0
- package/docs/api/splitter.md +57 -0
- package/docs/api/stepper.md +148 -0
- package/docs/api/switch.md +78 -0
- package/docs/api/tabs.md +139 -0
- package/docs/api/text-area.md +20 -0
- package/docs/api/text-box.md +106 -0
- package/docs/api/theme.md +627 -0
- package/docs/api/time-picker.md +69 -0
- package/docs/api/time-selector.md +54 -0
- package/docs/api/tooltip.md +112 -0
- package/docs/api/tree-view.md +631 -0
- package/docs/api/window.md +245 -0
- package/docs/auto-complete.md +28 -329
- package/docs/avatar.md +4 -24
- package/docs/breadcrumb.md +10 -65
- package/docs/button-group.md +7 -60
- package/docs/button.md +8 -67
- package/docs/calendar.md +16 -121
- package/docs/card.md +16 -79
- package/docs/chart-bar.md +16 -234
- package/docs/chart-financial.md +10 -121
- package/docs/chart-funnel.md +13 -176
- package/docs/chart-heatmap.md +15 -131
- package/docs/chart-line-area.md +12 -137
- package/docs/chart-pie.md +17 -221
- package/docs/chart-radar.md +13 -129
- package/docs/chart-radial.md +13 -211
- package/docs/chart-scatter.md +6 -74
- package/docs/chart-treemap.md +14 -196
- package/docs/chart.md +154 -1892
- package/docs/checkbox.md +5 -61
- package/docs/chip.md +7 -42
- package/docs/circular-progress-bar.md +9 -61
- package/docs/collapsible.md +5 -87
- package/docs/color-gradient.md +8 -81
- package/docs/color-palette.md +7 -69
- package/docs/color-picker.md +9 -105
- package/docs/combo-box.md +28 -331
- package/docs/command.md +25 -236
- package/docs/contextmenu.md +15 -140
- package/docs/date-picker.md +7 -110
- package/docs/datetime-picker.md +7 -129
- package/docs/decimal-textbox.md +6 -69
- package/docs/dialog.md +23 -263
- package/docs/dropdown-button.md +15 -146
- package/docs/dropdown-list.md +29 -332
- package/docs/editor.md +8 -164
- package/docs/expansion-panel.md +7 -69
- package/docs/fieldset.md +5 -24
- package/docs/grid-columns.md +12 -92
- package/docs/grid-editing.md +29 -291
- package/docs/grid-grouping.md +11 -50
- package/docs/grid-rows.md +10 -74
- package/docs/grid-selection.md +7 -36
- package/docs/grid-server.md +8 -293
- package/docs/grid-sorting-filtering.md +10 -333
- package/docs/grid-state-export.md +17 -228
- package/docs/grid.md +23 -216
- package/docs/input.md +7 -19
- package/docs/label.md +8 -39
- package/docs/list-box.md +21 -253
- package/docs/list-view.md +25 -232
- package/docs/menubar.md +21 -167
- package/docs/multi-select.md +31 -350
- package/docs/notification.md +17 -116
- package/docs/numeric-textbox.md +9 -78
- package/docs/otp-input.md +9 -95
- package/docs/pager.md +19 -239
- package/docs/placeholder.md +5 -18
- package/docs/popover.md +13 -123
- package/docs/popup-menu.md +22 -243
- package/docs/popup.md +24 -248
- package/docs/progress-bar.md +10 -75
- package/docs/radio-button.md +8 -96
- package/docs/range-slider.md +9 -82
- package/docs/rating.md +15 -163
- package/docs/scroll-view.md +9 -86
- package/docs/segmented.md +8 -90
- package/docs/sheet.md +10 -74
- package/docs/sidebar-menus.md +20 -155
- package/docs/sidebar-state.md +16 -134
- package/docs/sidebar.md +18 -218
- package/docs/skeleton.md +5 -26
- package/docs/slider.md +9 -97
- package/docs/spinner.md +15 -95
- package/docs/split-button.md +21 -166
- package/docs/splitter.md +9 -56
- package/docs/stepper.md +13 -127
- package/docs/switch.md +8 -58
- package/docs/tabs.md +13 -111
- package/docs/textarea.md +4 -13
- package/docs/textbox.md +10 -77
- package/docs/time-picker.md +7 -112
- package/docs/tooltip-directive.md +12 -96
- package/docs/tooltip.md +12 -96
- package/docs/tree-view.md +42 -495
- package/docs/window.md +19 -230
- package/fesm2022/nanahoshi-mona-ui-collapsible.mjs +1 -0
- package/fesm2022/nanahoshi-mona-ui-common.mjs +3 -0
- package/fesm2022/nanahoshi-mona-ui-date-input.mjs +13 -1
- package/fesm2022/nanahoshi-mona-ui-dropdowns.mjs +5 -0
- package/fesm2022/nanahoshi-mona-ui-i18n.mjs +9 -0
- package/llms.txt +74 -0
- package/package.json +1 -1
- package/types/nanahoshi-mona-ui-collapsible.d.ts +2 -0
- package/types/nanahoshi-mona-ui-common.d.ts +6 -0
- package/types/nanahoshi-mona-ui-date-input.d.ts +18 -1
- package/types/nanahoshi-mona-ui-dropdowns.d.ts +6 -0
- package/types/nanahoshi-mona-ui-i18n.d.ts +12 -0
package/docs/popup-menu.md
CHANGED
|
@@ -406,253 +406,32 @@ When the menu closes, focus returns to where it was when the menu opened, or to
|
|
|
406
406
|
|
|
407
407
|
## API
|
|
408
408
|
|
|
409
|
-
Everything below is imported from `@nanahoshi/mona-ui/popup-menu`.
|
|
409
|
+
Everything below is imported from `@nanahoshi/mona-ui/popup-menu`. Each name links to its reference page, with every input, output, property and method.
|
|
410
410
|
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
**Selector:** `mona-popup-menu`
|
|
414
|
-
|
|
415
|
-
#### Inputs
|
|
416
|
-
|
|
417
|
-
| Name | Type | Default | Description |
|
|
418
|
-
| --- | --- | --- | --- |
|
|
419
|
-
| `anchor` | `ElementRef<HTMLElement> \| Element` | — | The element to position the menu against, when it isn't the `target`. Ignored when `openAtPointer` is set. |
|
|
420
|
-
| `anchorConnectionPoint` | `ConnectionPoint \| null` | — | The point on the anchor that the menu attaches to. Ignored when `openAtPointer` is set. |
|
|
421
|
-
| `aria-label` | `string` | `""` | The accessible name of the root menu. Takes precedence over `aria-labelledby`. |
|
|
422
|
-
| `aria-labelledby` | `string` | `""` | The ids of the elements that name the root menu. When neither this nor `aria-label` is set, the menu is named by the target element if it has an id. |
|
|
423
|
-
| `class` | `ClassInputType` | `undefined` | Extra classes for the menu's popup. |
|
|
424
|
-
| `id` | `string` | `""` | The id of the popup menu's root element. |
|
|
425
|
-
| `items` | `Iterable<PopupMenuItem \| MenuItem>` | `[]` | The items to render in the popup menu. If provided, it will override the menu items defined by projected menu item components. |
|
|
426
|
-
| `minWidth` | `string \| number` | — | Sets the minimum width of the popup menu. This will be applied to the root menu and all submenus. |
|
|
427
|
-
| `offset` | `PopupOffset` | — | The distance between the menu and its anchor. |
|
|
428
|
-
| `openAtPointer` | `boolean` | `false` | Opens the menu where the pointer is, instead of against the `anchor` or `target`. Opened from the keyboard, it opens at the center of the target. |
|
|
429
|
-
| `popupConnectionPoint` | `ConnectionPoint \| null` | — | The point on the menu that attaches to the anchor. Ignored when `openAtPointer` is set. |
|
|
430
|
-
| `rounded` | `"large" \| "medium" \| "none" \| "small"` | `"medium"` | Sets the border radius of the popup menu. This will be applied to the root menu and all submenus. |
|
|
431
|
-
| `size` | `"large" \| "medium" \| "small"` | `"medium"` | Sets the size of the popup menu. This will be applied to the root menu and all submenus. |
|
|
432
|
-
| `target` (required) | `ElementRef<HTMLElement> \| Element` | — | The element that opens the menu. The menu is positioned against it unless `anchor` is set. |
|
|
433
|
-
| `trigger` | `PopupMenuTrigger` | `"click"` | What opens the menu: a click on the target, a right-click on it, or `"none"` to open it only through `openMenu()`. |
|
|
434
|
-
| `width` | `string \| number` | — | Sets the width of the popup menu. This will be applied to the root menu and all submenus. |
|
|
435
|
-
|
|
436
|
-
#### Outputs
|
|
437
|
-
|
|
438
|
-
| Name | Type | Description |
|
|
411
|
+
| Name | Kind | Description |
|
|
439
412
|
| --- | --- | --- |
|
|
440
|
-
| `
|
|
441
|
-
| `
|
|
442
|
-
| `
|
|
443
|
-
| `
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
|
448
|
-
|
|
|
449
|
-
| `
|
|
450
|
-
| `
|
|
451
|
-
| `
|
|
452
|
-
| `
|
|
453
|
-
| `setRestoreFocusForKeyboard(): void` | **Deprecated.** Focus now returns to the element that had it before the menu opened after every close. |
|
|
454
|
-
|
|
455
|
-
### `PopupMenuCheckboxItemComponent`
|
|
456
|
-
|
|
457
|
-
**Selector:** `mona-popup-menu-checkbox-item`
|
|
458
|
-
|
|
459
|
-
#### Inputs
|
|
460
|
-
|
|
461
|
-
| Name | Type | Default | Description |
|
|
462
|
-
| --- | --- | --- | --- |
|
|
463
|
-
| `checked` (two-way) | `boolean` | `false` | The checked state of the menu item. Activating the item toggles it (unless its `menuClick` is prevented) and emits `checkedChange`, so it works with or without a two-way binding. |
|
|
464
|
-
| `disabled` | `boolean` | `false` | Sets the disabled state of the menu item. |
|
|
465
|
-
| `label` | `string` | `""` | The text of the menu item. |
|
|
466
|
-
| `value` | `unknown` | — | A value that identifies the item. It's the `value` of the item's `menuClick` events. |
|
|
467
|
-
|
|
468
|
-
#### Outputs
|
|
469
|
-
|
|
470
|
-
| Name | Type | Description |
|
|
471
|
-
| --- | --- | --- |
|
|
472
|
-
| `checkedChange` | `boolean` | Emitted when `checked` changes. |
|
|
473
|
-
| `menuClick` | `PopupMenuItemClickEvent` | The click event of the menu item. Emits when the menu item is selected by keyboard or mouse. |
|
|
474
|
-
|
|
475
|
-
### `PopupMenuItemComponent`
|
|
476
|
-
|
|
477
|
-
**Selector:** `mona-popup-menu-item`
|
|
478
|
-
|
|
479
|
-
#### Inputs
|
|
480
|
-
|
|
481
|
-
| Name | Type | Default | Description |
|
|
482
|
-
| --- | --- | --- | --- |
|
|
483
|
-
| `disabled` | `boolean` | `false` | Sets the disabled state of the menu item. |
|
|
484
|
-
| `label` | `string` | `""` | The text of the menu item. |
|
|
485
|
-
| `value` | `unknown` | — | A value that identifies the item. It's the `value` of the item's `menuClick` events, so handlers don't depend on the label's text. |
|
|
486
|
-
|
|
487
|
-
#### Outputs
|
|
488
|
-
|
|
489
|
-
| Name | Type | Description |
|
|
490
|
-
| --- | --- | --- |
|
|
491
|
-
| `menuClick` | `PopupMenuItemClickEvent` | The click event of the menu item. Emits when the menu item is selected by keyboard or mouse. |
|
|
492
|
-
|
|
493
|
-
### `PopupMenuRadioItemComponent`
|
|
494
|
-
|
|
495
|
-
**Selector:** `mona-popup-menu-radio-item`
|
|
496
|
-
|
|
497
|
-
#### Inputs
|
|
498
|
-
|
|
499
|
-
| Name | Type | Default | Description |
|
|
500
|
-
| --- | --- | --- | --- |
|
|
501
|
-
| `disabled` | `boolean` | `false` | Sets the disabled state of the menu item. |
|
|
502
|
-
| `label` | `string` | `""` | The text of the menu item. |
|
|
503
|
-
| `value` (required) | `string` | — | The value of the radio item. |
|
|
504
|
-
|
|
505
|
-
#### Outputs
|
|
506
|
-
|
|
507
|
-
| Name | Type | Description |
|
|
508
|
-
| --- | --- | --- |
|
|
509
|
-
| `menuClick` | `PopupMenuItemClickEvent` | The click event of the menu item. Emits when the menu item is selected by keyboard or mouse, before the radio group selects it. Preventing it keeps the group's value and the menu open. |
|
|
510
|
-
|
|
511
|
-
### `PopupMenuRadioGroupComponent`
|
|
512
|
-
|
|
513
|
-
**Selector:** `mona-popup-menu-radio-group`
|
|
514
|
-
|
|
515
|
-
#### Inputs
|
|
516
|
-
|
|
517
|
-
| Name | Type | Default | Description |
|
|
518
|
-
| --- | --- | --- | --- |
|
|
519
|
-
| `title` | `string` | `""` | The title of the radio group. |
|
|
520
|
-
| `value` (two-way) | `string` | `""` | The value of the selected radio item. |
|
|
521
|
-
|
|
522
|
-
#### Outputs
|
|
523
|
-
|
|
524
|
-
| Name | Type | Description |
|
|
525
|
-
| --- | --- | --- |
|
|
526
|
-
| `valueChange` | `string` | Emitted when `value` changes. |
|
|
527
|
-
|
|
528
|
-
### `PopupMenuGroupComponent`
|
|
529
|
-
|
|
530
|
-
**Selector:** `mona-popup-menu-group`
|
|
531
|
-
|
|
532
|
-
#### Inputs
|
|
533
|
-
|
|
534
|
-
| Name | Type | Default | Description |
|
|
535
|
-
| --- | --- | --- | --- |
|
|
536
|
-
| `title` | `string` | — | Sets the title of the menu group. |
|
|
537
|
-
|
|
538
|
-
### `PopupMenuSeparatorComponent`
|
|
539
|
-
|
|
540
|
-
**Selector:** `mona-popup-menu-separator`
|
|
541
|
-
|
|
542
|
-
### `PopupMenuGroupTemplateDirective`
|
|
543
|
-
|
|
544
|
-
**Selector:** `ng-template[monaPopupMenuGroupTemplate]`
|
|
545
|
-
|
|
546
|
-
### `PopupMenuIconTemplateDirective`
|
|
547
|
-
|
|
548
|
-
**Selector:** `ng-template[monaPopupMenuIconTemplate]`
|
|
549
|
-
|
|
550
|
-
### `PopupMenuShortcutTemplateDirective`
|
|
551
|
-
|
|
552
|
-
**Selector:** `ng-template[monaPopupMenuShortcutTemplate]`
|
|
553
|
-
|
|
554
|
-
### `PopupMenuTextTemplateDirective`
|
|
555
|
-
|
|
556
|
-
**Selector:** `ng-template[monaPopupMenuTextTemplate]`
|
|
557
|
-
|
|
558
|
-
### `PopupMenuCloseEvent`
|
|
559
|
-
|
|
560
|
-
**Extends:** `PreventableEvent`
|
|
561
|
-
|
|
562
|
-
### `PopupMenuItemClickEvent`
|
|
563
|
-
|
|
564
|
-
Emitted when a menu item is activated by a click, Enter or Space. Preventing it keeps the menu open and leaves a
|
|
565
|
-
checkbox or radio item's state unchanged.
|
|
566
|
-
|
|
567
|
-
**Extends:** `PreventableEvent`
|
|
568
|
-
|
|
569
|
-
#### Properties
|
|
570
|
-
|
|
571
|
-
| Name | Type | Description |
|
|
572
|
-
| --- | --- | --- |
|
|
573
|
-
| `checked` (read-only) | `boolean \| undefined` | For a checkbox or radio item, the state the item has once the click is applied (if it isn't prevented). `undefined` for other items. |
|
|
574
|
-
| `label` (read-only) | `string` | The item's label. |
|
|
575
|
-
| `value` (read-only) | `unknown` | The item's `value`: the `value` input of the item component, or the `value` of a `MenuItem`. |
|
|
413
|
+
| [`PopupMenuComponent`](api/popup-menu.md#popupmenucomponent) | Component | |
|
|
414
|
+
| [`PopupMenuCheckboxItemComponent`](api/popup-menu.md#popupmenucheckboxitemcomponent) | Component | |
|
|
415
|
+
| [`PopupMenuItemComponent`](api/popup-menu.md#popupmenuitemcomponent) | Component | |
|
|
416
|
+
| [`PopupMenuRadioItemComponent`](api/popup-menu.md#popupmenuradioitemcomponent) | Component | |
|
|
417
|
+
| [`PopupMenuRadioGroupComponent`](api/popup-menu.md#popupmenuradiogroupcomponent) | Component | |
|
|
418
|
+
| [`PopupMenuGroupComponent`](api/popup-menu.md#popupmenugroupcomponent) | Component | |
|
|
419
|
+
| [`PopupMenuSeparatorComponent`](api/popup-menu.md#popupmenuseparatorcomponent) | Component | |
|
|
420
|
+
| [`PopupMenuGroupTemplateDirective`](api/popup-menu.md#popupmenugrouptemplatedirective) | Directive | |
|
|
421
|
+
| [`PopupMenuIconTemplateDirective`](api/popup-menu.md#popupmenuicontemplatedirective) | Directive | |
|
|
422
|
+
| [`PopupMenuShortcutTemplateDirective`](api/popup-menu.md#popupmenushortcuttemplatedirective) | Directive | |
|
|
423
|
+
| [`PopupMenuTextTemplateDirective`](api/popup-menu.md#popupmenutexttemplatedirective) | Directive | |
|
|
424
|
+
| [`PopupMenuCloseEvent`](api/popup-menu.md#popupmenucloseevent) | Class | |
|
|
425
|
+
| [`PopupMenuItemClickEvent`](api/popup-menu.md#popupmenuitemclickevent) | Class | Emitted when a menu item is activated by a click, Enter or Space. |
|
|
576
426
|
|
|
577
427
|
### Types
|
|
578
428
|
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
| Name | Type | Description |
|
|
582
|
-
| --- | --- | --- |
|
|
583
|
-
| `checkable?` | `boolean` | Whether the item is a checkbox item. Its `checked` state toggles when it's activated, unless `menuClick` is prevented. The state lives in the menu: read the new state from the event's `checked` and keep it in your items if they can be replaced. |
|
|
584
|
-
| `checked?` | `boolean` | The item's initial checked state. |
|
|
585
|
-
| `disabled?` | `boolean` | Keeps the item from being activated. |
|
|
586
|
-
| `group?` | `string` | The title of the group the item belongs to. Consecutive items with the same group form one group. |
|
|
587
|
-
| `items?` | `MenuItem[]` | The items of its submenu. |
|
|
588
|
-
| `label` | `string` | Required. The item's text. |
|
|
589
|
-
| `separator?` | `boolean` | Renders the item as a divider. |
|
|
590
|
-
| `value?` | `unknown` | A value that identifies the item in `menuClick` (the event's `value`). |
|
|
591
|
-
|
|
592
|
-
#### `PopupMenuItem`
|
|
593
|
-
|
|
594
|
-
| Name | Type | Description |
|
|
595
|
-
| --- | --- | --- |
|
|
596
|
-
| `checkable?` | `boolean` | Whether the item is a checkbox item. |
|
|
597
|
-
| `checked?` | `Signal<boolean>` | The checked state of a checkbox item. |
|
|
598
|
-
| `disabled` | `boolean` | Whether the item can't be activated. |
|
|
599
|
-
| `group` | `string \| symbol` | The group the item belongs to. Consecutive items with the same key form a group. A string key, or a symbol with a description, is the group's title. |
|
|
600
|
-
| `items` | `PopupMenuItem[]` | The items of the item's submenu. Empty when it has none. |
|
|
601
|
-
| `label` | `string` | The item's text. |
|
|
602
|
-
| `radio?` | `boolean` | Whether the item is a radio item in a radio group. |
|
|
603
|
-
| `selected?` | `Signal<boolean>` | Whether a radio item is the selected item of its radio group. |
|
|
604
|
-
| `separator?` | `boolean` | Whether the item is a divider. |
|
|
605
|
-
| `value?` | `Signal<unknown>` | The item's value: the `value` input of the item component, or the `value` of a `MenuItem`. |
|
|
606
|
-
|
|
607
|
-
#### `PopupMenuNavigationEvent`
|
|
608
|
-
|
|
609
|
-
| Name | Type |
|
|
610
|
-
| --- | --- |
|
|
611
|
-
| `direction` | `"up" \| "down" \| "left" \| "right"` |
|
|
612
|
-
| `item` | `PopupMenuItem \| null` |
|
|
613
|
-
| `level` | `number` |
|
|
614
|
-
|
|
615
|
-
#### `PopupMenuInitialFocus`
|
|
616
|
-
|
|
617
|
-
The item a menu opened from the keyboard highlights first.
|
|
618
|
-
|
|
619
|
-
```typescript
|
|
620
|
-
type PopupMenuInitialFocus = "first" | "last";
|
|
621
|
-
```
|
|
622
|
-
|
|
623
|
-
#### `PopupMenuTrigger`
|
|
624
|
-
|
|
625
|
-
What opens a popup menu: a click on the target, a right-click on it, or `"none"` to open it only through
|
|
626
|
-
`openMenu()`.
|
|
627
|
-
|
|
628
|
-
```typescript
|
|
629
|
-
type PopupMenuTrigger = "click" | "contextmenu" | "none";
|
|
630
|
-
```
|
|
631
|
-
|
|
632
|
-
#### `ClassInputType`
|
|
633
|
-
|
|
634
|
-
From `@nanahoshi/mona-ui/common`.
|
|
635
|
-
|
|
636
|
-
```typescript
|
|
637
|
-
type ClassInputType = string | string[] | Record<string, unknown> | null | undefined;
|
|
638
|
-
```
|
|
639
|
-
|
|
640
|
-
#### `PreventableEvent`
|
|
641
|
-
|
|
642
|
-
From `@nanahoshi/mona-ui/common`.
|
|
643
|
-
|
|
644
|
-
**Type parameters:** `E extends Event = Event`
|
|
645
|
-
|
|
646
|
-
| Name | Type | Description |
|
|
429
|
+
| Type | Kind | Description |
|
|
647
430
|
| --- | --- | --- |
|
|
648
|
-
| `
|
|
649
|
-
| `
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
| Signature | Description |
|
|
654
|
-
| --- | --- |
|
|
655
|
-
| `isDefaultPrevented(): boolean` | Whether `preventDefault()` was called. |
|
|
656
|
-
| `preventDefault(): void` | Cancels what the event announces, such as opening or closing a popup, or closing a dialog. |
|
|
431
|
+
| [`MenuItem`](api/popup-menu.md#menuitem) | Interface | |
|
|
432
|
+
| [`PopupMenuItem`](api/popup-menu.md#popupmenuitem) | Interface | |
|
|
433
|
+
| [`PopupMenuNavigationEvent`](api/popup-menu.md#popupmenunavigationevent) | Interface | |
|
|
434
|
+
| [`PopupMenuInitialFocus`](api/popup-menu.md#popupmenuinitialfocus) | Type alias | The item a menu opened from the keyboard highlights first. |
|
|
435
|
+
| [`PopupMenuTrigger`](api/popup-menu.md#popupmenutrigger) | Type alias | What opens a popup menu: a click on the target, a right-click on it, or `"none"` to open it only through `openMenu()`. |
|
|
657
436
|
|
|
658
|
-
**
|
|
437
|
+
**Related types:** [`ClassInputType`](api/common.md#classinputtype), [`ConnectionPoint`](api/popup.md#connectionpoint), [`PopupOffset`](api/popup.md#popupoffset), [`PreventableEvent`](api/common.md#preventableevent)
|
package/docs/popup.md
CHANGED
|
@@ -57,7 +57,7 @@ Popup has a single content-projection slot. Everything placed inside `<mona-popu
|
|
|
57
57
|
|
|
58
58
|
### Custom positioning
|
|
59
59
|
|
|
60
|
-
`anchorConnectionPoint` is the point on the anchor the popup attaches to; `popupConnectionPoint` is the point on the popup that touches the anchor. Both accept the same nine-position keyword set
|
|
60
|
+
`anchorConnectionPoint` is the point on the anchor the popup attaches to; `popupConnectionPoint` is the point on the popup that touches the anchor. Both accept the same nine-position keyword set, [`ConnectionPoint`](api/popup.md#connectionpoint). Popup adds no ARIA, so the example sets the role, the name and `aria-expanded` itself.
|
|
61
61
|
|
|
62
62
|
`positioning-example.component.ts`
|
|
63
63
|
|
|
@@ -362,256 +362,32 @@ The built-in animation presets respect `prefers-reduced-motion`.
|
|
|
362
362
|
|
|
363
363
|
## API
|
|
364
364
|
|
|
365
|
-
Everything below is imported from `@nanahoshi/mona-ui/popup`.
|
|
366
|
-
|
|
367
|
-
### `PopupComponent`
|
|
368
|
-
|
|
369
|
-
**Selector:** `mona-popup`
|
|
370
|
-
**Type parameters:** `T = unknown`
|
|
371
|
-
|
|
372
|
-
#### Inputs
|
|
373
|
-
|
|
374
|
-
| Name | Type | Default | Description |
|
|
375
|
-
| --- | --- | --- | --- |
|
|
376
|
-
| `anchor` (required) | `FlexibleConnectedPositionStrategyOrigin` | — | The anchor element or point for the popup. |
|
|
377
|
-
| `anchorConnectionPoint` | `ConnectionPoint` | `"bottomcenter"` | The connection point for the popup anchor. |
|
|
378
|
-
| `animation` | `boolean \| PopupAnimationSettings` | `true` | The animation settings for the popup. |
|
|
379
|
-
| `backdropClass` | `string \| string[]` | `[]` | The class or classes to apply to the backdrop of the popup. |
|
|
380
|
-
| `closeOnBackdropClick` | `boolean` | `true` | Whether to close the popup when clicking on the backdrop. Only applies when the popup has a backdrop. |
|
|
381
|
-
| `closeOnEscape` | `boolean` | `true` | Whether to close the popup when the escape key is pressed. Escape only reaches the topmost open popup. |
|
|
382
|
-
| `closeOnMouseLeave` | `boolean` | `false` | Whether to close the popup when the mouse leaves the anchor element. |
|
|
383
|
-
| `closeOnOutsideClick` | `boolean` | `true` | Whether to close the popup when clicking outside of it. |
|
|
384
|
-
| `closeOnScroll` | `boolean` | `false` | Whether to close the popup when the user scrolls the page or a scrollable container around the anchor. |
|
|
385
|
-
| `data` | `T` | — | Arbitrary data to pass to the popup. |
|
|
386
|
-
| `hasBackdrop` | `boolean` | `false` | Whether the popup should have a backdrop. |
|
|
387
|
-
| `height` | `number \| string` | — | The height of the popup. |
|
|
388
|
-
| `maxHeight` | `number \| string` | — | The maximum height of the popup. |
|
|
389
|
-
| `maxWidth` | `number \| string` | — | The maximum width of the popup. |
|
|
390
|
-
| `minHeight` | `number \| string` | — | The minimum height of the popup. |
|
|
391
|
-
| `minWidth` | `number \| string` | — | The minimum width of the popup. |
|
|
392
|
-
| `offset` | `PopupOffset` | — | The offset of the popup from the anchor. |
|
|
393
|
-
| `popupClass` | `string \| string[]` | `[]` | The class or classes to apply to the popup. |
|
|
394
|
-
| `popupConnectionPoint` | `ConnectionPoint` | `"topcenter"` | The connection point for the popup. |
|
|
395
|
-
| `popupWrapperClass` | `string \| string[]` | `[]` | The class or classes to apply to the popup wrapper. |
|
|
396
|
-
| `positions` | `Array<ConnectedPosition \| ConnectionPositionPair>` | — | The positions to use for the popup. The popup will try to position itself in the first position that fits. This is only used when the `positionStrategy` is set to `connected`. |
|
|
397
|
-
| `positionStrategy` | `"global" \| "connected"` | `"connected"` | The strategy for positioning the popup. `global` means the popup will be positioned relative to the viewport, `connected` means the popup will be positioned relative to the anchor element. |
|
|
398
|
-
| `preventClose` | `Action<PopupCloseEvent, boolean>` | — | Called when the popup is requested to close. This can be used to prevent the popup from closing. |
|
|
399
|
-
| `providers` | `StaticProvider[]` | `[]` | The providers that will be injected into the popup. |
|
|
400
|
-
| `restoreFocus` | `boolean \| "auto"` | `"auto"` | Controls focus restoration when the popup closes. - `true`: always restore focus to the anchor element. - `false`: never restore focus (recommended for tooltips). - `"auto"`: restore focus only if the anchor, or an element inside it, was focused when the popup opened. Focus is left alone if the user moved it outside the popup and the anchor before it closed. |
|
|
401
|
-
| `trigger` | `string` | `"click"` | The trigger event for opening the popup. |
|
|
402
|
-
| `width` | `number \| string \| undefined` | `undefined` | The width of the popup. |
|
|
403
|
-
| `withPush` | `boolean` | `true` | Whether to push the popup into the screen when it is opened. |
|
|
404
|
-
| `withScrollTracking` | `boolean` | `true` | Whether the popup should track scroll events and reposition itself. |
|
|
405
|
-
|
|
406
|
-
#### Outputs
|
|
407
|
-
|
|
408
|
-
| Name | Type | Description |
|
|
409
|
-
| --- | --- | --- |
|
|
410
|
-
| `close` | `void` | Emits when the popup is closed. |
|
|
411
|
-
| `open` | `PopupRef` | Emits when the popup is opened. |
|
|
412
|
-
|
|
413
|
-
#### Methods
|
|
414
|
-
|
|
415
|
-
| Signature | Description |
|
|
416
|
-
| --- | --- |
|
|
417
|
-
| `closePopup(): void` | Closes the popup if one is currently open. |
|
|
418
|
-
|
|
419
|
-
### `PopupService`
|
|
420
|
-
|
|
421
|
-
#### Methods
|
|
422
|
-
|
|
423
|
-
| Signature | Description |
|
|
424
|
-
| --- | --- |
|
|
425
|
-
| `create(settings: PopupSettings): PopupRef` | Opens a popup and returns its `PopupRef`. If `settings.anchor` is a CSS selector string, creates a hover-triggered popup for every matching element (see Multi-element popups); otherwise creates a single popup attached to the given element, `ElementRef`, or point. |
|
|
426
|
-
|
|
427
|
-
### `PopupRef`
|
|
428
|
-
|
|
429
|
-
Returned by `PopupService.create()` and emitted via `PopupComponent`'s `open` output.
|
|
430
|
-
|
|
431
|
-
#### Properties
|
|
432
|
-
|
|
433
|
-
| Name | Type | Description |
|
|
434
|
-
| --- | --- | --- |
|
|
435
|
-
| `beforeClose` (read-only) | `Observable<PopupCloseEvent>` | Emitted when the popup is about to close. This event can be prevented. If it is prevented, the popup will not close. |
|
|
436
|
-
| `closed` (read-only) | `Observable<PopupCloseEvent>` | Emitted when the popup is closed. This event is emitted after the animation completes. Preventing this event has no effect. |
|
|
437
|
-
| `closeStart` (read-only) | `Observable<PopupCloseEvent>` | Emitted when the popup begins closing, before the leave animation completes. Subscribe to this to react at the moment the close sequence starts — for example, to begin coordinating a transition in the consuming component. The `closed` observable fires after the leave animation finishes. |
|
|
438
|
-
| `component` (read-only) | `ComponentRef<unknown> \| null` | Reference to the component hosted in the popup. This is `null` if the popup does not contain a component. |
|
|
439
|
-
| `opened` (read-only) | `Observable<void>` | Emitted when the popup is opened. |
|
|
440
|
-
| `overlayRef` (read-only) | `OverlayRef` | Reference to the underlying CDK overlay. Use this reference to manipulate the overlay directly, such as to set its size or position. |
|
|
441
|
-
| `positionChanges` (read-only) | `Observable<ConnectionPositionPair>` | Returns the position pair of the popup's anchor element. |
|
|
442
|
-
|
|
443
|
-
#### Methods
|
|
444
|
-
|
|
445
|
-
| Signature | Description |
|
|
446
|
-
| --- | --- |
|
|
447
|
-
| `close<R>(result?: R, delay?: number): boolean` | Requests the popup to close. |
|
|
448
|
-
| `closeWithDelay<R>(delay: number = 100, result?: R): void` | Closes the popup after a delay. When the popup is closed, the overlay element is removed from the DOM instantly. This causes the animation of the child elements to not play, therefore, a delay is added to allow the animation to play. |
|
|
449
|
-
|
|
450
|
-
### `PopupCloseEvent`
|
|
451
|
-
|
|
452
|
-
**Type parameters:** `R = unknown`
|
|
453
|
-
**Extends:** `PreventableEvent`
|
|
365
|
+
Everything below is imported from `@nanahoshi/mona-ui/popup`. Each name links to its reference page, with every input, output, property and method.
|
|
454
366
|
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
| Name | Type | Description |
|
|
367
|
+
| Name | Kind | Description |
|
|
458
368
|
| --- | --- | --- |
|
|
459
|
-
| `
|
|
460
|
-
| `
|
|
369
|
+
| [`PopupComponent`](api/popup.md#popupcomponent) | Component | |
|
|
370
|
+
| [`PopupService`](api/popup.md#popupservice) | Service | |
|
|
371
|
+
| [`PopupRef`](api/popup.md#popupref) | Class | Returned by `PopupService.create()` and emitted via `PopupComponent`'s `open` output. |
|
|
372
|
+
| [`PopupCloseEvent`](api/popup.md#popupcloseevent) | Class | |
|
|
461
373
|
|
|
462
374
|
### Types
|
|
463
375
|
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
```typescript
|
|
467
|
-
const defaultPopupAnimation: Required<PopupAnimationSettings>;
|
|
468
|
-
```
|
|
469
|
-
|
|
470
|
-
#### `dropdownPopupAnimation`
|
|
471
|
-
|
|
472
|
-
```typescript
|
|
473
|
-
const dropdownPopupAnimation: Required<PopupAnimationSettings>;
|
|
474
|
-
```
|
|
475
|
-
|
|
476
|
-
#### `fadePopupAnimation`
|
|
477
|
-
|
|
478
|
-
```typescript
|
|
479
|
-
const fadePopupAnimation: Required<PopupAnimationSettings>;
|
|
480
|
-
```
|
|
481
|
-
|
|
482
|
-
#### `PopupDataInjectionToken`
|
|
483
|
-
|
|
484
|
-
The `data` passed in `PopupSettings`, available to the popup content.
|
|
485
|
-
|
|
486
|
-
```typescript
|
|
487
|
-
const PopupDataInjectionToken: InjectionToken<unknown>;
|
|
488
|
-
```
|
|
489
|
-
|
|
490
|
-
#### `slideFromBottomPopupAnimation`
|
|
491
|
-
|
|
492
|
-
```typescript
|
|
493
|
-
const slideFromBottomPopupAnimation: Required<PopupAnimationSettings>;
|
|
494
|
-
```
|
|
495
|
-
|
|
496
|
-
#### `slideFromLeftPopupAnimation`
|
|
497
|
-
|
|
498
|
-
```typescript
|
|
499
|
-
const slideFromLeftPopupAnimation: Required<PopupAnimationSettings>;
|
|
500
|
-
```
|
|
501
|
-
|
|
502
|
-
#### `slideFromRightPopupAnimation`
|
|
503
|
-
|
|
504
|
-
```typescript
|
|
505
|
-
const slideFromRightPopupAnimation: Required<PopupAnimationSettings>;
|
|
506
|
-
```
|
|
507
|
-
|
|
508
|
-
#### `slideFromTopPopupAnimation`
|
|
509
|
-
|
|
510
|
-
```typescript
|
|
511
|
-
const slideFromTopPopupAnimation: Required<PopupAnimationSettings>;
|
|
512
|
-
```
|
|
513
|
-
|
|
514
|
-
#### `PopupAnimationSettings`
|
|
515
|
-
|
|
516
|
-
| Name | Type | Description |
|
|
376
|
+
| Type | Kind | Description |
|
|
517
377
|
| --- | --- | --- |
|
|
518
|
-
| `
|
|
519
|
-
| `
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
|
524
|
-
|
|
|
525
|
-
| `
|
|
526
|
-
| `
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
| `anchor` | `PopupAnchor` | The anchor element to which the popup will be connected. Can be an element, ElementRef, or CSS selector string. |
|
|
535
|
-
| `anchorConnectionPoint?` | `ConnectionPoint \| null` | The connection point of the anchor element to which the popup will be connected. |
|
|
536
|
-
| `animation?` | `boolean \| PopupAnimationSettings` | Animation settings for the popup. |
|
|
537
|
-
| `backdropClass?` | `string \| string[]` | Classes to be applied to the backdrop. |
|
|
538
|
-
| `blockScroll?` | `boolean` | Whether scrolling behind the popup should be blocked while it is open. Default: false. |
|
|
539
|
-
| `closeOnBackdropClick?` | `boolean` | Whether the popup will be closed when the user clicks on the backdrop. Only applies if `hasBackdrop` is true. Default: true. |
|
|
540
|
-
| `closeOnEscape?` | `boolean` | Whether the popup will be closed when the user presses the escape key. Escape only reaches the topmost open popup. When that popup sets this to `false`, Escape closes nothing, not even the popups underneath it. Default: true. |
|
|
541
|
-
| `closeOnMouseLeave?` | `boolean` | Whether the popup will be closed when the mouse leaves the anchor element. Default: false. |
|
|
542
|
-
| `closeOnOutsideClick?` | `boolean` | Whether the popup will be closed when the user clicks outside of it. Clicks on the backdrop are governed by `closeOnBackdropClick` instead. Default: true. |
|
|
543
|
-
| `closeOnScroll?` | `boolean` | Whether the popup will be closed when the user scrolls the page or a scrollable container around the anchor. Default: false. |
|
|
544
|
-
| `content` | `TemplateRef<C> \| ComponentType<C>` | The content to display in the popup. |
|
|
545
|
-
| `data?` | `T` | Optional data to pass to the popup context. |
|
|
546
|
-
| `hasBackdrop?` | `boolean` | Whether the popup will have a backdrop. Default: false. |
|
|
547
|
-
| `height?` | `number \| string` | Height of the popup. |
|
|
548
|
-
| `injector?` | `Injector` | Parent injector for the popup content. Component content resolves its dependencies here, after `providers`. Pass the injector of the component that opens the popup so its content can use services provided by that component, its ancestors or a lazy-loaded route. Default: the root injector. |
|
|
549
|
-
| `maxHeight?` | `number \| string` | Maximum height of the popup. |
|
|
550
|
-
| `maxWidth?` | `number \| string` | Maximum width of the popup. |
|
|
551
|
-
| `minHeight?` | `number \| string` | Minimum height of the popup. |
|
|
552
|
-
| `minWidth?` | `number \| string` | Minimum width of the popup. |
|
|
553
|
-
| `offset?` | `PopupOffset` | Offset of the popup. |
|
|
554
|
-
| `popupClass?` | `string \| string[]` | Classes to be applied to the popup. |
|
|
555
|
-
| `popupConnectionPoint?` | `ConnectionPoint \| null` | The connection point of the popup element to which the anchor will be connected. |
|
|
556
|
-
| `popupWrapperClass?` | `string \| string[]` | Classes to be applied to the popup wrapper content div. |
|
|
557
|
-
| `positions?` | `Array<ConnectedPosition \| ConnectionPositionPair>` | The positions to use for the popup. The popup will try to position itself in the first position that fits. This is only used when `positionStrategy` is set to `connected`. |
|
|
558
|
-
| `positionStrategy?` | `"global" \| "connected"` | The strategy for positioning the popup. `global` means the popup will be positioned relative to the viewport, `connected` means the popup will be positioned relative to the anchor element. |
|
|
559
|
-
| `preventClose?` | `Action<PopupCloseEvent, boolean>` | Optional callback invoked when the popup is about to close. Return `true` to cancel the close. Takes priority over `PopupCloseEvent.preventDefault()`. |
|
|
560
|
-
| `providers?` | `StaticProvider[]` | Additional Angular providers made available within the popup's injector. Use this to inject services or values that the popup content component needs. |
|
|
561
|
-
| `restoreFocus?` | `boolean \| "auto"` | Controls focus restoration behavior when the popup is closed. - true: Always restore focus to anchor - false: Never restore focus (recommended for tooltips) - "auto": Only restore focus if the anchor, or an element inside it, was focused when the popup opened; focus returns to that element Focus is only restored while it is on the page itself, inside the popup or inside the anchor. If the user moved it elsewhere, for example by clicking another field, it stays there. Default: "auto". |
|
|
562
|
-
| `width?` | `number \| string` | Width of the popup. |
|
|
563
|
-
| `withPush?` | `boolean` | Whether the CDK overlay should push the popup into the visible viewport when it would otherwise overflow the screen edges. Default: true. |
|
|
564
|
-
| `withScrollTracking?` | `boolean` | Whether the popup should track scroll events and reposition itself. Default: true. |
|
|
565
|
-
|
|
566
|
-
#### `ConnectionPoint`
|
|
567
|
-
|
|
568
|
-
```typescript
|
|
569
|
-
type ConnectionPoint = | "topleft" | "topcenter" | "topright" | "centerleft" | "center" | "centerright" | "bottomleft" | "bottomcenter" | "bottomright";
|
|
570
|
-
```
|
|
571
|
-
|
|
572
|
-
#### `PopupAnchor`
|
|
573
|
-
|
|
574
|
-
```typescript
|
|
575
|
-
type PopupAnchor = FlexibleConnectedPositionStrategyOrigin | string;
|
|
576
|
-
```
|
|
577
|
-
|
|
578
|
-
#### `PopupCloseSource`
|
|
579
|
-
|
|
580
|
-
| Member | Value | Description |
|
|
581
|
-
| --- | --- | --- |
|
|
582
|
-
| `Action` | `"action"` | A dialog action button, such as OK or Cancel. |
|
|
583
|
-
| `BackdropClick` | `"backdropClick"` | A click on the backdrop, when `closeOnBackdropClick` allows it. |
|
|
584
|
-
| `CloseButton` | `"closeButton"` | The close button of a dialog, window or sheet. |
|
|
585
|
-
| `Escape` | `"escape"` | The Escape key. |
|
|
586
|
-
| `MouseLeave` | `"mouseLeave"` | The pointer leaving the anchor, when `closeOnMouseLeave` is set. |
|
|
587
|
-
| `Programmatic` | `"programmatic"` | A `close()` call from code, with no user interaction behind it. |
|
|
588
|
-
| `OutsideClick` | `"outsideClick"` | A pointer press outside the popup and its anchor. |
|
|
589
|
-
| `Scroll` | `"scroll"` | The anchor scrolling away, when `closeOnScroll` is set. |
|
|
590
|
-
|
|
591
|
-
#### `Action`
|
|
592
|
-
|
|
593
|
-
From `@nanahoshi/mona-ui/common`.
|
|
594
|
-
|
|
595
|
-
A function taking a `P` and returning an `R`.
|
|
596
|
-
|
|
597
|
-
```typescript
|
|
598
|
-
type Action<P = void, R = void> = (arg: P) => R;
|
|
599
|
-
```
|
|
600
|
-
|
|
601
|
-
#### `PreventableEvent`
|
|
602
|
-
|
|
603
|
-
From `@nanahoshi/mona-ui/common`.
|
|
604
|
-
|
|
605
|
-
**Type parameters:** `E extends Event = Event`
|
|
606
|
-
|
|
607
|
-
| Name | Type | Description |
|
|
608
|
-
| --- | --- | --- |
|
|
609
|
-
| `originalEvent` (read-only) | `E \| undefined` | The DOM event that caused this one, when there is one. |
|
|
610
|
-
| `type` (read-only) | `string \| undefined` | A name for the kind of event, when the component that emits it sets one. |
|
|
611
|
-
|
|
612
|
-
**Methods**
|
|
613
|
-
|
|
614
|
-
| Signature | Description |
|
|
615
|
-
| --- | --- |
|
|
616
|
-
| `isDefaultPrevented(): boolean` | Whether `preventDefault()` was called. |
|
|
617
|
-
| `preventDefault(): void` | Cancels what the event announces, such as opening or closing a popup, or closing a dialog. |
|
|
378
|
+
| [`defaultPopupAnimation`](api/popup.md#defaultpopupanimation) | Constant | |
|
|
379
|
+
| [`dropdownPopupAnimation`](api/popup.md#dropdownpopupanimation) | Constant | |
|
|
380
|
+
| [`fadePopupAnimation`](api/popup.md#fadepopupanimation) | Constant | |
|
|
381
|
+
| [`PopupDataInjectionToken`](api/popup.md#popupdatainjectiontoken) | Constant | The `data` passed in `PopupSettings`, available to the popup content. |
|
|
382
|
+
| [`slideFromBottomPopupAnimation`](api/popup.md#slidefrombottompopupanimation) | Constant | |
|
|
383
|
+
| [`slideFromLeftPopupAnimation`](api/popup.md#slidefromleftpopupanimation) | Constant | |
|
|
384
|
+
| [`slideFromRightPopupAnimation`](api/popup.md#slidefromrightpopupanimation) | Constant | |
|
|
385
|
+
| [`slideFromTopPopupAnimation`](api/popup.md#slidefromtoppopupanimation) | Constant | |
|
|
386
|
+
| [`PopupAnimationSettings`](api/popup.md#popupanimationsettings) | Interface | |
|
|
387
|
+
| [`PopupOffset`](api/popup.md#popupoffset) | Interface | |
|
|
388
|
+
| [`PopupSettings`](api/popup.md#popupsettings) | Interface | |
|
|
389
|
+
| [`ConnectionPoint`](api/popup.md#connectionpoint) | Type alias | |
|
|
390
|
+
| [`PopupAnchor`](api/popup.md#popupanchor) | Type alias | |
|
|
391
|
+
| [`PopupCloseSource`](api/popup.md#popupclosesource) | Enum | |
|
|
392
|
+
|
|
393
|
+
**Related types:** [`Action`](api/common.md#action), [`PreventableEvent`](api/common.md#preventableevent)
|