@spectric/ui 0.0.13 → 0.0.15

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.
@@ -14,8 +14,8 @@ export declare class DisposableElement extends LitElement {
14
14
  * @param event The event name
15
15
  * @param handler The event handler
16
16
  */
17
- addDisposableListener<K extends keyof GlobalEventHandlersEventMap>(target: DisposableTarget, event: K, handler: (event: GlobalEventHandlersEventMap[K]) => void): void;
18
- addDisposableListener<K extends keyof SpectricGlobalEvents>(target: DisposableTarget, event: K, handler: SpectricGlobalEvents[K]): void;
17
+ addDisposableListener<K extends keyof GlobalEventHandlersEventMap>(target: DisposableTarget, event: K, handler: (event: GlobalEventHandlersEventMap[K]) => void, options?: AddEventListenerOptions): void;
18
+ addDisposableListener<K extends keyof SpectricGlobalEvents>(target: DisposableTarget, event: K, handler: SpectricGlobalEvents[K], options?: AddEventListenerOptions): void;
19
19
  registerDisposable<T extends IDisposable>(o: T): T;
20
20
  connectedCallback(): void;
21
21
  disconnectedCallback(): void;
@@ -1,7 +1,8 @@
1
- import { CSSResultGroup, LitElement } from 'lit';
1
+ import { CSSResultGroup } from 'lit';
2
2
  import { HTMLElementTagWithEvents, ReactElementWithPropsAndEvents } from './types';
3
3
  import { DomRenderable } from './table';
4
4
  import { TooltipPostionsTypes } from './tooltip';
5
+ import { DisposableElement } from '../classes/DisposibleElement';
5
6
  export declare enum ButtonSizes {
6
7
  large = "large",
7
8
  medium = "medium",
@@ -31,7 +32,7 @@ export interface ButtonProps {
31
32
  tooltip?: DomRenderable;
32
33
  tooltipPosition?: TooltipPostionsTypes;
33
34
  }
34
- export declare class SpectricButton extends LitElement implements ButtonProps {
35
+ export declare class SpectricButton extends DisposableElement implements ButtonProps {
35
36
  static styles?: CSSResultGroup | undefined;
36
37
  variant: 'primary' | 'secondary' | 'text';
37
38
  disabled: boolean;
@@ -42,8 +43,7 @@ export declare class SpectricButton extends LitElement implements ButtonProps {
42
43
  icon: boolean;
43
44
  tooltip?: DomRenderable;
44
45
  tooltipPosition?: TooltipPostionsTypes;
45
- connectedCallback(): void;
46
- disconnectedCallback(): void;
46
+ constructor();
47
47
  private _onClick;
48
48
  protected render(): unknown;
49
49
  }
@@ -20,6 +20,7 @@ export declare class PaginationElement extends LitElement implements PaginationP
20
20
  pageSize: number;
21
21
  totalItems?: number;
22
22
  pageSizeOptions: number[];
23
+ select?: HTMLSelectElement;
23
24
  /**
24
25
  * Size of the pagination buttons
25
26
  */
@@ -1,6 +1,7 @@
1
1
  import { LitElement, PropertyValues } from 'lit';
2
2
  import { HTMLElementTagWithEvents, ReactElementWithPropsAndEvents } from '../types';
3
3
  import { ColumnSettings, TableElement } from './table';
4
+ import { StyleInfo } from 'lit/directives/style-map.js';
4
5
  export declare const TableCellElementTag = "spectric-table-cell";
5
6
  interface CellProps<T> {
6
7
  column: ColumnSettings<T>;
@@ -21,11 +22,10 @@ export declare class TableCellElement<T> extends LitElement implements CellProps
21
22
  column: ColumnSettings<T>;
22
23
  columns: ColumnSettings<T>[];
23
24
  table: TableElement<T>;
24
- styleRules: CSSStyleDeclaration;
25
25
  td: HTMLTableCellElement;
26
- constructor();
27
- protected updated(_changedProperties: PropertyValues): void;
26
+ styleRules: StyleInfo;
28
27
  protected createRenderRoot(): HTMLElement | DocumentFragment;
28
+ protected updated(_changedProperties: PropertyValues): void;
29
29
  _emitFilter(filter: FilterEvent<T>): void;
30
30
  _handleFilterOut: () => void;
31
31
  _handleFilterFor: () => void;
@@ -71,7 +71,7 @@ export declare class TooltipElement extends DisposableElement implements Tooltip
71
71
  private showToolTip;
72
72
  private applyStyle;
73
73
  private positionTooltip;
74
- protected render(): void;
74
+ protected render(): import('lit-html').TemplateResult<1>;
75
75
  }
76
76
  interface TooltipEvents {
77
77
  }
@@ -33,7 +33,7 @@
33
33
  },
34
34
  {
35
35
  "name": "spectric-bit-display",
36
- "description": "Events:\n\n * `bitMousemove` {} - emits BitDisplayMouseEvent on mousemove over the canvas\n\n * `bitClick` {} - emits BitDisplayMouseEvent on mouse click on the canvas\n\n * `bitDblclick` {} - emits BitDisplayMouseEvent on mouse double click on the canvas\n\n * `bitMousedown` {} - emits BitDisplayMouseEvent on mouse down onthe canvas\n\n * `bitMouseup` {} - emits BitDisplayMouseEvent on mouse up on the canvas\n\n * `bitContextmenu` {} - emits BitDisplayMouseEvent on mouse right click on the canvas\n\nAttributes:\n\n * `frameWidth` {`number`} - Bits per line\n\n * `scale` {`number`} - How many pixels per bit\n\n * `width` {`number`} - Width of the display canvas\n\n * `height` {`number`} - Height of the display canvas\n\nProperties:\n\n * `styles` {`CSSResult`} - \n\n * `state` {`{ scale?: number | undefined; }`} - \n\n * `yStart` {`number`} - \n\n * `xStart` {`number`} - \n\n * `_canvas` {`Promise<HTMLCanvasElement>`} - \n\n * `refs` {`{ viewport: Ref<HTMLDivElement>; canvas: Ref<HTMLCanvasElement>; scrollDiv: Ref<HTMLDivElement>; }`} - \n\n * `_bitArray` - \n\n * `color` {`string`} - \n\n * `onThemeChange` - \n\n * `onResize` - \n\n * `handleScroll` - \n\n * `resizeObserver` {`ResizeObserver & IDisposable`} - \n\n * `arrayBuffer` {`ArrayBuffer`} - Array buffer to display\n\n * `frameWidth` {`number`} - Bits per line\n\n * `scale` {`number`} - How many pixels per bit\n\n * `width` {`number`} - Width of the display canvas\n\n * `height` {`number`} - Height of the display canvas\n\n * `_disposables` {`Set<IDisposable>`} - \n\n * `_isDisposed` {`boolean`} - \n\n * `_disposableListeners` {`{ target: DisposableTarget; event: string; handler: any; }[]`} - \n\n * `_connected` {`boolean`} - ",
36
+ "description": "Events:\n\n * `bitMousemove` {} - emits BitDisplayMouseEvent on mousemove over the canvas\n\n * `bitClick` {} - emits BitDisplayMouseEvent on mouse click on the canvas\n\n * `bitDblclick` {} - emits BitDisplayMouseEvent on mouse double click on the canvas\n\n * `bitMousedown` {} - emits BitDisplayMouseEvent on mouse down onthe canvas\n\n * `bitMouseup` {} - emits BitDisplayMouseEvent on mouse up on the canvas\n\n * `bitContextmenu` {} - emits BitDisplayMouseEvent on mouse right click on the canvas\n\nAttributes:\n\n * `frameWidth` {`number`} - Bits per line\n\n * `scale` {`number`} - How many pixels per bit\n\n * `width` {`number`} - Width of the display canvas\n\n * `height` {`number`} - Height of the display canvas\n\nProperties:\n\n * `styles` {`CSSResult`} - \n\n * `state` {`{ scale?: number | undefined; }`} - \n\n * `yStart` {`number`} - \n\n * `xStart` {`number`} - \n\n * `_canvas` {`Promise<HTMLCanvasElement>`} - \n\n * `refs` {`{ viewport: Ref<HTMLDivElement>; canvas: Ref<HTMLCanvasElement>; scrollDiv: Ref<HTMLDivElement>; }`} - \n\n * `_bitArray` - \n\n * `color` {`string`} - \n\n * `onThemeChange` - \n\n * `onResize` - \n\n * `handleScroll` - \n\n * `resizeObserver` {`ResizeObserver & IDisposable`} - \n\n * `arrayBuffer` {`ArrayBuffer`} - Array buffer to display\n\n * `frameWidth` {`number`} - Bits per line\n\n * `scale` {`number`} - How many pixels per bit\n\n * `width` {`number`} - Width of the display canvas\n\n * `height` {`number`} - Height of the display canvas\n\n * `_disposables` {`Set<IDisposable>`} - \n\n * `_isDisposed` {`boolean`} - \n\n * `_disposableListeners` {`{ target: DisposableTarget; event: string; handler: any; options?: AddEventListenerOptions | undefined; }[]`} - \n\n * `_connected` {`boolean`} - ",
37
37
  "attributes": [
38
38
  {
39
39
  "name": "frameWidth",
@@ -79,7 +79,7 @@
79
79
  },
80
80
  {
81
81
  "name": "spectric-button",
82
- "description": "Events:\n\n * `click` {`CustomEvent<MouseEvent>`} - \n\nAttributes:\n\n * `variant` {`\"text\" | \"primary\" | \"secondary\"`} - Is this the principal call to action on the page?\n\n * `backgroundColor` {`string | undefined`} - What background color to use\n\n * `size` {`\"large\" | \"medium\" | \"small\" | \"xsmall\" | \"xxsmall\" | \"tiny\"`} - How large should the button be?\n\n * `label` {`string | undefined`} - \n\n * `disabled` {`boolean`} - \n\n * `danger` {`boolean`} - \n\n * `icon` {`boolean`} - \n\n * `tooltip` {`DomRenderable | undefined`} - \n\n * `tooltipPosition` {`\"top\" | \"bottom\" | \"left\" | \"right\" | \"mouse\" | undefined`} - \n\nProperties:\n\n * `styles` {`CSSResultGroup | undefined`} - \n\n * `_onClick` - \n\n * `variant` {`\"text\" | \"primary\" | \"secondary\"`} - Is this the principal call to action on the page?\n\n * `backgroundColor` {`string | undefined`} - What background color to use\n\n * `size` {`\"large\" | \"medium\" | \"small\" | \"xsmall\" | \"xxsmall\" | \"tiny\"`} - How large should the button be?\n\n * `label` {`string | undefined`} - \n\n * `disabled` {`boolean`} - \n\n * `danger` {`boolean`} - \n\n * `icon` {`boolean`} - \n\n * `tooltip` {`DomRenderable | undefined`} - \n\n * `tooltipPosition` {`\"top\" | \"bottom\" | \"left\" | \"right\" | \"mouse\" | undefined`} - ",
82
+ "description": "Events:\n\n * `click` {`CustomEvent<MouseEvent>`} - \n\nAttributes:\n\n * `variant` {`\"text\" | \"primary\" | \"secondary\"`} - Is this the principal call to action on the page?\n\n * `backgroundColor` {`string | undefined`} - What background color to use\n\n * `size` {`\"large\" | \"medium\" | \"small\" | \"xsmall\" | \"xxsmall\" | \"tiny\"`} - How large should the button be?\n\n * `label` {`string | undefined`} - \n\n * `disabled` {`boolean`} - \n\n * `danger` {`boolean`} - \n\n * `icon` {`boolean`} - \n\n * `tooltip` {`DomRenderable | undefined`} - \n\n * `tooltipPosition` {`\"top\" | \"bottom\" | \"left\" | \"right\" | \"mouse\" | undefined`} - \n\nProperties:\n\n * `styles` {`CSSResultGroup | undefined`} - \n\n * `_onClick` - \n\n * `variant` {`\"text\" | \"primary\" | \"secondary\"`} - Is this the principal call to action on the page?\n\n * `backgroundColor` {`string | undefined`} - What background color to use\n\n * `size` {`\"large\" | \"medium\" | \"small\" | \"xsmall\" | \"xxsmall\" | \"tiny\"`} - How large should the button be?\n\n * `label` {`string | undefined`} - \n\n * `disabled` {`boolean`} - \n\n * `danger` {`boolean`} - \n\n * `icon` {`boolean`} - \n\n * `tooltip` {`DomRenderable | undefined`} - \n\n * `tooltipPosition` {`\"top\" | \"bottom\" | \"left\" | \"right\" | \"mouse\" | undefined`} - \n\n * `_disposables` {`Set<IDisposable>`} - \n\n * `_isDisposed` {`boolean`} - \n\n * `_disposableListeners` {`{ target: DisposableTarget; event: string; handler: any; options?: AddEventListenerOptions | undefined; }[]`} - \n\n * `_connected` {`boolean`} - ",
83
83
  "attributes": [
84
84
  {
85
85
  "name": "variant",
@@ -1864,7 +1864,7 @@
1864
1864
  },
1865
1865
  {
1866
1866
  "name": "spectric-pagination",
1867
- "description": "Pagination Element\n\nEvents:\n\n * `change` {`CustomEvent<PaginationChangeProps>`} - \n\nAttributes:\n\n * `size` {`\"large\" | \"medium\" | \"small\" | \"xsmall\" | \"xxsmall\" | \"tiny\"`} - Size of the pagination buttons\n\n * `totalItems` {`number | undefined`} - \n\n * `pageSizeOptions` {`number[]`} - \n\n * `page` {`number`} - \n\n * `pageSize` {`number`} - \n\nProperties:\n\n * `_handlePageUp` - \n\n * `_handlePageDown` - \n\n * `_handleSizeChange` - \n\n * `_emitChange` - \n\n * `size` {`\"large\" | \"medium\" | \"small\" | \"xsmall\" | \"xxsmall\" | \"tiny\"`} - Size of the pagination buttons\n\n * `totalItems` {`number | undefined`} - \n\n * `pageSizeOptions` {`number[]`} - \n\n * `page` {`number`} - \n\n * `pageSize` {`number`} - ",
1867
+ "description": "Pagination Element\n\nEvents:\n\n * `change` {`CustomEvent<PaginationChangeProps>`} - \n\nAttributes:\n\n * `size` {`\"large\" | \"medium\" | \"small\" | \"xsmall\" | \"xxsmall\" | \"tiny\"`} - Size of the pagination buttons\n\n * `totalItems` {`number | undefined`} - \n\n * `pageSizeOptions` {`number[]`} - \n\n * `page` {`number`} - \n\n * `pageSize` {`number`} - \n\nProperties:\n\n * `select` {`HTMLSelectElement | undefined`} - \n\n * `_handlePageUp` - \n\n * `_handlePageDown` - \n\n * `_handleSizeChange` - \n\n * `_emitChange` - \n\n * `size` {`\"large\" | \"medium\" | \"small\" | \"xsmall\" | \"xxsmall\" | \"tiny\"`} - Size of the pagination buttons\n\n * `totalItems` {`number | undefined`} - \n\n * `pageSizeOptions` {`number[]`} - \n\n * `page` {`number`} - \n\n * `pageSize` {`number`} - ",
1868
1868
  "attributes": [
1869
1869
  {
1870
1870
  "name": "size",
@@ -1955,7 +1955,7 @@
1955
1955
  },
1956
1956
  {
1957
1957
  "name": "spectric-splitview",
1958
- "description": "Split view will take a container and split it horizontally or vertically. This element can only have two children.\nIf you supply the **id** attribute on the split view element it will save and load the state keeping the user defined position\n\nEvents:\n\n * `change` {`CustomEvent<SplitViewProps>`} - CustomEvent\\<SplitViewProps\\> Fired every time there is a change to the split percentage\n\nSlots:\n\n * ` ` {} - Element can only take 2 HTMLElements.\n\nAttributes:\n\n * `orientation` {`Orientations`} - Controls the orientation of the splitter handle\n\n * `percentage` {`number | undefined`} - the percentage to split the view default: 50\n\n * `invisible` {`boolean | undefined`} - Should the splitter handle be invisible?\n\n * `min` {`number`} - Clamps the minimum split percentage default: 10\n\n * `max` {`number`} - Clamps the maximum split percentage default: 90\n\n * `useSavedState` {`boolean | undefined`} - save and load split state to localstorage splitter must have an id attribute default: true\n\nProperties:\n\n * `styles` {`CSSResult`} - \n\n * `isDragging` {`boolean`} - \n\n * `_error` {`string | false`} - \n\n * `_splitter` {`Promise<HTMLElement>`} - \n\n * `_panel1` {`HTMLSlotElement`} - \n\n * `_panel2` {`HTMLSlotElement`} - \n\n * `_emitChange` - \n\n * `_onMouseMove` - \n\n * `_assignSlot` - \n\n * `orientation` {`Orientations`} - Controls the orientation of the splitter handle\n\n * `percentage` {`number | undefined`} - the percentage to split the view default: 50\n\n * `invisible` {`boolean | undefined`} - Should the splitter handle be invisible?\n\n * `min` {`number`} - Clamps the minimum split percentage default: 10\n\n * `max` {`number`} - Clamps the maximum split percentage default: 90\n\n * `useSavedState` {`boolean | undefined`} - save and load split state to localstorage splitter must have an id attribute default: true\n\n * `_disposables` {`Set<IDisposable>`} - \n\n * `_isDisposed` {`boolean`} - \n\n * `_disposableListeners` {`{ target: DisposableTarget; event: string; handler: any; }[]`} - \n\n * `_connected` {`boolean`} - ",
1958
+ "description": "Split view will take a container and split it horizontally or vertically. This element can only have two children.\nIf you supply the **id** attribute on the split view element it will save and load the state keeping the user defined position\n\nEvents:\n\n * `change` {`CustomEvent<SplitViewProps>`} - CustomEvent\\<SplitViewProps\\> Fired every time there is a change to the split percentage\n\nSlots:\n\n * ` ` {} - Element can only take 2 HTMLElements.\n\nAttributes:\n\n * `orientation` {`Orientations`} - Controls the orientation of the splitter handle\n\n * `percentage` {`number | undefined`} - the percentage to split the view default: 50\n\n * `invisible` {`boolean | undefined`} - Should the splitter handle be invisible?\n\n * `min` {`number`} - Clamps the minimum split percentage default: 10\n\n * `max` {`number`} - Clamps the maximum split percentage default: 90\n\n * `useSavedState` {`boolean | undefined`} - save and load split state to localstorage splitter must have an id attribute default: true\n\nProperties:\n\n * `styles` {`CSSResult`} - \n\n * `isDragging` {`boolean`} - \n\n * `_error` {`string | false`} - \n\n * `_splitter` {`Promise<HTMLElement>`} - \n\n * `_panel1` {`HTMLSlotElement`} - \n\n * `_panel2` {`HTMLSlotElement`} - \n\n * `_emitChange` - \n\n * `_onMouseMove` - \n\n * `_assignSlot` - \n\n * `orientation` {`Orientations`} - Controls the orientation of the splitter handle\n\n * `percentage` {`number | undefined`} - the percentage to split the view default: 50\n\n * `invisible` {`boolean | undefined`} - Should the splitter handle be invisible?\n\n * `min` {`number`} - Clamps the minimum split percentage default: 10\n\n * `max` {`number`} - Clamps the maximum split percentage default: 90\n\n * `useSavedState` {`boolean | undefined`} - save and load split state to localstorage splitter must have an id attribute default: true\n\n * `_disposables` {`Set<IDisposable>`} - \n\n * `_isDisposed` {`boolean`} - \n\n * `_disposableListeners` {`{ target: DisposableTarget; event: string; handler: any; options?: AddEventListenerOptions | undefined; }[]`} - \n\n * `_connected` {`boolean`} - ",
1959
1959
  "attributes": [
1960
1960
  {
1961
1961
  "name": "orientation",
@@ -2005,7 +2005,7 @@
2005
2005
  },
2006
2006
  {
2007
2007
  "name": "spectric-table-cell",
2008
- "description": "Pagination Element\n\nEvents:\n\n * `filter` {`CustomEvent<FilterEvent<T>>`} - \n\nProperties:\n\n * `index` {`number`} - \n\n * `columns` {`ColumnSettings<T>[]`} - \n\n * `table` {`TableElement<T>`} - \n\n * `td` {`HTMLTableCellElement`} - \n\n * `_handleFilterOut` - \n\n * `_handleFilterFor` - \n\n * `styleRules` {`CSSStyleDeclaration`} - \n\n * `column` {`ColumnSettings<T>`} - \n\n * `row` {`T`} - ",
2008
+ "description": "Pagination Element\n\nEvents:\n\n * `filter` {`CustomEvent<FilterEvent<T>>`} - \n\nProperties:\n\n * `index` {`number`} - \n\n * `columns` {`ColumnSettings<T>[]`} - \n\n * `table` {`TableElement<T>`} - \n\n * `td` {`HTMLTableCellElement`} - \n\n * `styleRules` {`StyleInfo`} - \n\n * `_handleFilterOut` - \n\n * `_handleFilterFor` - \n\n * `column` {`ColumnSettings<T>`} - \n\n * `row` {`T`} - ",
2009
2009
  "attributes": [
2010
2010
  {
2011
2011
  "name": "onfilter",
@@ -2082,7 +2082,7 @@
2082
2082
  },
2083
2083
  {
2084
2084
  "name": "spectric-table-virtual-body",
2085
- "description": "Table Body Element\n\nAttributes:\n\n * `startIndex` {`number`} - \n\nProperties:\n\n * `startIndex` {`number`} - \n\n * `table` {`TableElement<T>`} - \n\n * `columns` {`ColumnSettings<T>[]`} - \n\n * `data` {`T[]`} - \n\n * `rowHeight` {`number`} - \n\n * `_disposables` {`Set<IDisposable>`} - \n\n * `_isDisposed` {`boolean`} - \n\n * `_disposableListeners` {`{ target: DisposableTarget; event: string; handler: any; }[]`} - \n\n * `_connected` {`boolean`} - ",
2085
+ "description": "Table Body Element\n\nAttributes:\n\n * `startIndex` {`number`} - \n\nProperties:\n\n * `startIndex` {`number`} - \n\n * `table` {`TableElement<T>`} - \n\n * `columns` {`ColumnSettings<T>[]`} - \n\n * `data` {`T[]`} - \n\n * `rowHeight` {`number`} - \n\n * `_disposables` {`Set<IDisposable>`} - \n\n * `_isDisposed` {`boolean`} - \n\n * `_disposableListeners` {`{ target: DisposableTarget; event: string; handler: any; options?: AddEventListenerOptions | undefined; }[]`} - \n\n * `_connected` {`boolean`} - ",
2086
2086
  "attributes": [
2087
2087
  {
2088
2088
  "name": "startIndex",
@@ -2092,7 +2092,7 @@
2092
2092
  },
2093
2093
  {
2094
2094
  "name": "spectric-tooltip",
2095
- "description": "Spectric tooltip will add a tooltip to any container\n\nAttributes:\n\n * `delay` {`number`} - How long you need to hover before the tooltip displays\n\n * `animationDuration` {`number`} - How long the fade in animation should run\n\n * `text` {`DomRenderable`} - Tooltip contents\n\n * `position` {`\"top\" | \"bottom\" | \"left\" | \"right\" | \"mouse\"`} - Where to anchor the tooltip\n\n * `maxWidth` {`number | undefined`} - Sets a max width for the contents you can disable this by setting to 0 or -1\n\nProperties:\n\n * `portalElement` {`HTMLDivElement`} - \n\n * `mouseLocation` {`{ left: number; top: number; } | undefined`} - \n\n * `styles` {`CSSResultGroup | undefined`} - \n\n * `timer` {`number | undefined`} - \n\n * `open` {`boolean`} - \n\n * `mouseframe` {`number | undefined`} - \n\n * `target` {`HTMLElement`} - \n\n * `_getMousePosition` - \n\n * `_hideTooltip` - \n\n * `showToolTip` - \n\n * `applyStyle` - \n\n * `positionTooltip` - \n\n * `delay` {`number`} - How long you need to hover before the tooltip displays\n\n * `animationDuration` {`number`} - How long the fade in animation should run\n\n * `text` {`DomRenderable`} - Tooltip contents\n\n * `position` {`\"top\" | \"bottom\" | \"left\" | \"right\" | \"mouse\"`} - Where to anchor the tooltip\n\n * `maxWidth` {`number | undefined`} - Sets a max width for the contents you can disable this by setting to 0 or -1\n\n * `portalTarget` {`HTMLElement`} - Container the tool tip will be attached to.\n\n * `triggerTarget` {`HTMLElement`} - The element that triggers the tooltip. This is used for special cases like in the shadow dom if you want to target a host element instead of the immediate parent element\n\n * `_disposables` {`Set<IDisposable>`} - \n\n * `_isDisposed` {`boolean`} - \n\n * `_disposableListeners` {`{ target: DisposableTarget; event: string; handler: any; }[]`} - \n\n * `_connected` {`boolean`} - ",
2095
+ "description": "Spectric tooltip will add a tooltip to any container\n\nAttributes:\n\n * `delay` {`number`} - How long you need to hover before the tooltip displays\n\n * `animationDuration` {`number`} - How long the fade in animation should run\n\n * `text` {`DomRenderable`} - Tooltip contents\n\n * `position` {`\"top\" | \"bottom\" | \"left\" | \"right\" | \"mouse\"`} - Where to anchor the tooltip\n\n * `maxWidth` {`number | undefined`} - Sets a max width for the contents you can disable this by setting to 0 or -1\n\nProperties:\n\n * `portalElement` {`HTMLDivElement`} - \n\n * `mouseLocation` {`{ left: number; top: number; } | undefined`} - \n\n * `styles` {`CSSResultGroup | undefined`} - \n\n * `timer` {`number | undefined`} - \n\n * `open` {`boolean`} - \n\n * `mouseframe` {`number | undefined`} - \n\n * `target` {`HTMLElement`} - \n\n * `_getMousePosition` - \n\n * `_hideTooltip` - \n\n * `showToolTip` - \n\n * `applyStyle` - \n\n * `positionTooltip` - \n\n * `delay` {`number`} - How long you need to hover before the tooltip displays\n\n * `animationDuration` {`number`} - How long the fade in animation should run\n\n * `text` {`DomRenderable`} - Tooltip contents\n\n * `position` {`\"top\" | \"bottom\" | \"left\" | \"right\" | \"mouse\"`} - Where to anchor the tooltip\n\n * `maxWidth` {`number | undefined`} - Sets a max width for the contents you can disable this by setting to 0 or -1\n\n * `portalTarget` {`HTMLElement`} - Container the tool tip will be attached to.\n\n * `triggerTarget` {`HTMLElement`} - The element that triggers the tooltip. This is used for special cases like in the shadow dom if you want to target a host element instead of the immediate parent element\n\n * `_disposables` {`Set<IDisposable>`} - \n\n * `_isDisposed` {`boolean`} - \n\n * `_disposableListeners` {`{ target: DisposableTarget; event: string; handler: any; options?: AddEventListenerOptions | undefined; }[]`} - \n\n * `_connected` {`boolean`} - ",
2096
2096
  "attributes": [
2097
2097
  {
2098
2098
  "name": "delay",