feat(tooltip): add TooltipFooter component

This commit is contained in:
Eric Y Liu 2021-04-01 15:31:56 -07:00
commit 3718f3e867
9 changed files with 98 additions and 8 deletions

View file

@ -1,6 +1,6 @@
# Component Index
> 166 components exported from carbon-components-svelte@0.31.1.
> 167 components exported from carbon-components-svelte@0.31.1.
## Components
@ -167,6 +167,7 @@
- [`ToolbarSearch`](#toolbarsearch)
- [`Tooltip`](#tooltip)
- [`TooltipDefinition`](#tooltipdefinition)
- [`TooltipFooter`](#tooltipfooter)
- [`TooltipIcon`](#tooltipicon)
- [`Truncate`](#truncate)
- [`UnorderedList`](#unorderedlist)
@ -4470,6 +4471,24 @@ None.
| mouseleave | forwarded | -- |
| focus | forwarded | -- |
## `TooltipFooter`
### Props
| Prop name | Kind | Reactive | Type | Default value | Description |
| :------------------- | :--------------- | :------- | :------------------ | ---------------------------------------------- | --------------------------------------------------------------------------- |
| selectorPrimaryFocus | <code>let</code> | No | <code>string</code> | <code>"a[href], button:not([disabled])"</code> | Specify a selector to be focused inside the footer when opening the tooltip |
### Slots
| Slot name | Default | Props | Fallback |
| :-------- | :------ | :---- | :------- |
| -- | Yes | -- | -- |
### Events
None.
## `TooltipIcon`
### Props