@spectric/ui 0.0.18 → 0.0.20

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.
Files changed (42) hide show
  1. package/dist/components/Button.d.ts +2 -1
  2. package/dist/components/Panel.d.ts +6 -3
  3. package/dist/components/calendar/calendar.d.ts +58 -0
  4. package/dist/components/calendar/index.d.ts +1 -0
  5. package/dist/components/color_picker/ColorPicker.d.ts +7 -6
  6. package/dist/components/index.d.ts +1 -0
  7. package/dist/components/input.d.ts +24 -20
  8. package/dist/components/query_bar/QueryBar.d.ts +2 -1
  9. package/dist/components/table/table.d.ts +3 -0
  10. package/dist/components/tooltip/popover.d.ts +32 -2
  11. package/dist/components/tooltip/tooltip.d.ts +1 -32
  12. package/dist/custom-elements.json +59 -14
  13. package/dist/index.d.ts +2 -0
  14. package/dist/index.es.js +2842 -2564
  15. package/dist/index.es.js.map +1 -1
  16. package/dist/index.umd.js +298 -178
  17. package/dist/index.umd.js.map +1 -1
  18. package/dist/style.css +1 -1
  19. package/package.json +1 -1
  20. package/src/components/Button.ts +14 -13
  21. package/src/components/Panel.ts +25 -18
  22. package/src/components/button.css.ts +13 -0
  23. package/src/components/calendar/calendar.css +50 -0
  24. package/src/components/calendar/calendar.ts +281 -0
  25. package/src/components/calendar/index.ts +1 -0
  26. package/src/components/color_picker/ColorPicker.css +36 -3
  27. package/src/components/color_picker/ColorPicker.ts +46 -15
  28. package/src/components/index.ts +2 -1
  29. package/src/components/input.css +1 -1
  30. package/src/components/input.ts +203 -142
  31. package/src/components/panel.css.ts +7 -5
  32. package/src/components/query_bar/QueryBar.css +6 -2
  33. package/src/components/query_bar/QueryBar.ts +25 -13
  34. package/src/components/table/table.ts +43 -35
  35. package/src/components/table/virtualBody.ts +5 -4
  36. package/src/components/tooltip/popover.ts +70 -30
  37. package/src/components/tooltip/tooltip.css +7 -2
  38. package/src/components/tooltip/tooltip.ts +3 -37
  39. package/src/stories/Calendar.stories.ts +70 -0
  40. package/src/stories/fixtures/ExampleContent.ts +1 -1
  41. package/src/stories/table.stories.ts +10 -5
  42. package/src/stories/tooltip.stories.ts +9 -2
@@ -1,4 +1,4 @@
1
- import { CSSResultGroup } from 'lit';
1
+ import { CSSResultGroup, PropertyValues } from 'lit';
2
2
  import { HTMLElementTagWithEvents, ReactElementWithPropsAndEvents } from './types';
3
3
  import { DomRenderable } from './table';
4
4
  import { TooltipPostionsTypes } from './tooltip';
@@ -45,6 +45,7 @@ export declare class SpectricButton extends DisposableElement implements ButtonP
45
45
  tooltipPosition?: TooltipPostionsTypes;
46
46
  constructor();
47
47
  private _onClick;
48
+ protected updated(_changedProperties: PropertyValues): void;
48
49
  protected render(): unknown;
49
50
  }
50
51
  export interface ButtonEventMap {
@@ -1,14 +1,17 @@
1
- import { CSSResultGroup, LitElement } from 'lit';
1
+ import { CSSResultGroup, PropertyValues } from 'lit';
2
+ import { DisposableElement } from '../classes/DisposibleElement.ts';
2
3
  /**
3
4
  * Spectric Panel visually seperates content areas and automatically adjusts the component colors that are nested inside.
4
5
  * */
5
- export declare class SpectricPanel extends LitElement {
6
+ export declare class SpectricPanel extends DisposableElement {
6
7
  static styles?: CSSResultGroup | undefined;
7
8
  /**
8
9
  * Specify the layer level and override any existing levels based on hierarchy
9
10
  */
10
11
  level: number;
11
12
  layers?: NodeListOf<SpectricPanel>;
12
- updated(): void;
13
+ constructor();
14
+ connectedCallback(): void;
15
+ update(changed: PropertyValues): void;
13
16
  render(): import('lit-html').TemplateResult<1>;
14
17
  }
@@ -0,0 +1,58 @@
1
+ import { PropertyValues } from 'lit';
2
+ import { DisposableElement } from '../../classes';
3
+ import { HTMLElementTagWithEvents, ReactElementWithPropsAndEvents } from '../types';
4
+ export interface SpectricCalendarProps {
5
+ /**
6
+ * Sets the starting day for the calendar (default:Today)
7
+ */
8
+ currentDate?: Date | string | number;
9
+ /**
10
+ * Will display a button with a popup
11
+ */
12
+ popup?: boolean;
13
+ disabled?: boolean;
14
+ }
15
+ export declare class SpectricCalendar extends DisposableElement {
16
+ calendarElement: Promise<HTMLDivElement>;
17
+ constructor();
18
+ currentDate?: Date | string | number;
19
+ private date;
20
+ popup: boolean;
21
+ disabled: boolean;
22
+ protected createRenderRoot(): HTMLElement | DocumentFragment;
23
+ private getMonthDays;
24
+ private changeMonth;
25
+ private changeYear;
26
+ private handleMouseMove;
27
+ private resetMouseMove;
28
+ private selectDay;
29
+ protected update(changedProperties: PropertyValues): void;
30
+ render(): import('lit-html').TemplateResult<1>;
31
+ }
32
+ interface CalendarEvents {
33
+ select: (event: CustomEvent<Date>) => void;
34
+ }
35
+ declare global {
36
+ interface HTMLElementTagNameMap {
37
+ "spectric-calendar": HTMLElementTagWithEvents<SpectricCalendar, CalendarEvents>;
38
+ }
39
+ namespace JSX {
40
+ interface IntrinsicElements {
41
+ /**
42
+ * @see {@link SpectricCalendar}
43
+ */
44
+ "spectric-calendar": ReactElementWithPropsAndEvents<SpectricCalendar, SpectricCalendarProps, CalendarEvents>;
45
+ }
46
+ }
47
+ namespace React {
48
+ namespace JSX {
49
+ interface IntrinsicElements {
50
+ /**
51
+ * @see {@link SpectricCalendar}
52
+ */
53
+ "spectric-calendar": ReactElementWithPropsAndEvents<SpectricCalendar, SpectricCalendarProps, CalendarEvents>;
54
+ }
55
+ }
56
+ }
57
+ }
58
+ export {};
@@ -0,0 +1 @@
1
+ export * from './calendar';
@@ -19,15 +19,16 @@ export declare class SpectricColorPicker extends LitElement implements ColorPick
19
19
  /**is mouse down on saturation/light canvas? */
20
20
  private sldown;
21
21
  protected createRenderRoot(): HTMLElement | DocumentFragment;
22
+ constructor();
22
23
  protected update(changedProperties: PropertyValues): void;
23
24
  private renderHueSaturationGrid;
24
- _handleSaturationLightnessClick: (e: PointerEvent) => void;
25
- _handleHueChange: (e: DomEvent<SpectricInput>) => void;
25
+ _handleSaturationLightnessClick(e: PointerEvent): void;
26
+ _handleHueChange(e: DomEvent<SpectricInput>): void;
26
27
  private updateValue;
27
- _handleAlphaChange: (e: DomEvent<SpectricInput>) => void;
28
- _handleApply: () => void;
29
- _cancel: () => void;
30
- _openPopover: () => Promise<void>;
28
+ _handleAlphaChange(e: DomEvent<SpectricInput>): void;
29
+ _handleApply(): void;
30
+ _cancel(): void;
31
+ _openPopover(): Promise<void>;
31
32
  protected getPopover(): TemplateResult;
32
33
  protected render(): unknown;
33
34
  }
@@ -13,3 +13,4 @@ export * from './table';
13
13
  export * from './tooltip';
14
14
  export * from './types';
15
15
  export * from './color_picker';
16
+ export * from './calendar';
@@ -1,12 +1,15 @@
1
1
  import { LitElement, PropertyValues, TemplateResult } from 'lit';
2
2
  import { ReactElementWithPropsAndEvents } from './types';
3
3
  import { ButtonSizesTypes } from './Button';
4
+ import { DomEvent } from './table';
5
+ import { SpectricColorPicker } from './color_picker/ColorPicker';
4
6
  export declare enum InputVariants {
5
7
  Text = "text",
6
8
  TextArea = "text-area",
7
9
  number = "number",
8
10
  color = "color",
9
11
  date = "date",//replace default eventually with custom
12
+ datePopup = "popup-date",
10
13
  datetime = "datetime-local",//replace default eventually with custom
11
14
  email = "email",
12
15
  file = "file",//display drop area
@@ -26,8 +29,8 @@ export interface InputProps {
26
29
  disabled?: boolean;
27
30
  readonly?: boolean;
28
31
  /**
29
- * The helper text.
30
- */
32
+ * The helper text.
33
+ */
31
34
  helperText?: string;
32
35
  /**
33
36
  * Specify if the currently value is invalid.
@@ -42,16 +45,16 @@ export interface InputProps {
42
45
  */
43
46
  maxCount?: number;
44
47
  /**
45
- * Boolean property to set the required status
46
- */
48
+ * Boolean property to set the required status
49
+ */
47
50
  required?: boolean;
48
51
  /**
49
- * Shows a button to display the password
50
- */
52
+ * Shows a button to display the password
53
+ */
51
54
  showPasswordVisibilityToggle?: boolean;
52
55
  /**
53
- * Name for the input used for form data events //TODO make sure this works
54
- */
56
+ * Name for the input used for form data events //TODO make sure this works
57
+ */
55
58
  name?: string;
56
59
  /**
57
60
  * Pattern to validate the input against for HTML validity checking
@@ -60,11 +63,12 @@ export interface InputProps {
60
63
  /**
61
64
  * The sets the autocomplete for the input.
62
65
  */
63
- autocomplete?: HTMLInputElement['autocomplete'];
66
+ autocomplete?: HTMLInputElement["autocomplete"];
64
67
  }
65
68
  export declare class SpectricInput extends LitElement implements InputProps {
66
69
  checked?: boolean;
67
70
  size?: ButtonSizesTypes;
71
+ files: FileList | null;
68
72
  protected createRenderRoot(): HTMLElement | DocumentFragment;
69
73
  placeholder: string;
70
74
  readonly: boolean;
@@ -72,8 +76,8 @@ export declare class SpectricInput extends LitElement implements InputProps {
72
76
  disabled: boolean;
73
77
  label: string;
74
78
  /**
75
- * "Hide password" tooltip text on password visibility toggle
76
- */
79
+ * "Hide password" tooltip text on password visibility toggle
80
+ */
77
81
  hidePasswordLabel: string;
78
82
  /**
79
83
  * "Show password" tooltip text on password visibility toggle
@@ -109,14 +113,14 @@ export declare class SpectricInput extends LitElement implements InputProps {
109
113
  pattern: string;
110
114
  maxCount: number;
111
115
  /**
112
- * The internal value.
113
- */
116
+ * The internal value.
117
+ */
114
118
  protected _value: string | boolean | number;
115
119
  private _showPassword;
116
120
  /**
117
121
  * The sets the autocomplete for the input.
118
122
  */
119
- autocomplete: HTMLInputElement['autocomplete'];
123
+ autocomplete: HTMLInputElement["autocomplete"];
120
124
  get selectionStart(): number | null;
121
125
  /**
122
126
  * The value of the input.
@@ -127,16 +131,16 @@ export declare class SpectricInput extends LitElement implements InputProps {
127
131
  focus(options?: FocusOptions): void;
128
132
  setSelectionRange(start: number, end: number, direction?: "forward" | "backward" | "none"): void;
129
133
  /**
130
- * Handles `oninput` event on the `<input>`.
131
- */
132
- protected _handleInput: ({ target }: Event) => void;
134
+ * Handles `oninput` event on the `<input>`.
135
+ */
136
+ protected _handleInput: ({ target }: DomEvent<HTMLInputElement>) => void;
133
137
  /**
134
- * The underlying input element
135
- */
138
+ * The underlying input element
139
+ */
136
140
  protected _input?: HTMLInputElement;
137
141
  private handleTogglePasswordVisibility;
138
142
  protected updated(changedProperties: PropertyValues): void;
139
- _handleChange(e: Event): void;
143
+ _handleChange(e: DomEvent<HTMLInputElement | SpectricColorPicker>): void;
140
144
  protected render(): unknown;
141
145
  }
142
146
  declare global {
@@ -2,6 +2,7 @@ import { LitElement, PropertyValues } from 'lit';
2
2
  import { SpectricInput } from '../input';
3
3
  import { JsonObject } from './types';
4
4
  import { HTMLElementTagWithEvents, ReactElementWithPropsAndEvents } from '../types';
5
+ import { PopoverElement } from '../tooltip/popover';
5
6
  import * as kuery from "./querylanguage/kuery";
6
7
  export type FieldTypes = {
7
8
  name: string;
@@ -72,7 +73,7 @@ export declare class SpectricQuery extends LitElement implements IQueryProps {
72
73
  private completions;
73
74
  private completionIndex;
74
75
  fields: FieldTypes[];
75
- _autocomplete?: HTMLDivElement;
76
+ _autocomplete?: PopoverElement;
76
77
  _asyncAutocomplete: Promise<HTMLDivElement>;
77
78
  /**
78
79
  * The underlying input element
@@ -22,6 +22,7 @@ export declare enum TableSortDirection {
22
22
  }
23
23
  export type TableSortDirectionTypes = `${TableSortDirection}`;
24
24
  export type ColumnSettings<T> = {
25
+ [TABLE_CREATED_SELECTION_COLUMN]?: boolean;
25
26
  width?: number;
26
27
  /**
27
28
  * Enabled/disables resizing by dragging column header Default true
@@ -61,6 +62,8 @@ interface TableProps<T> extends TableDataOptions<T> {
61
62
  export type DomEvent<T> = Event & {
62
63
  target: T;
63
64
  };
65
+ export declare const TD_BorderAndPadding = 4;
66
+ declare const TABLE_CREATED_SELECTION_COLUMN: unique symbol;
64
67
  /**
65
68
  * React example
66
69
  * <iframe width="100%" height="400px" src="https://stackblitz.com/edit/react-ts-2ue7azag?ctl=1&embed=1&file=App.tsx&hideExplorer=1&hideNavigation=1"/>
@@ -1,8 +1,9 @@
1
1
  import { CSSResultGroup } from 'lit-element';
2
2
  import { DomRenderable } from '../table';
3
3
  import { DisposableElement } from '../../classes/DisposibleElement';
4
+ import { HTMLElementTagWithEvents, ReactElementWithPropsAndEvents } from '../types';
4
5
  export declare const PopoverElementTag = "spectric-popover";
5
- export type { TooltipProps, TooltipEvents };
6
+ export type { TooltipProps, PopOverEvents };
6
7
  export declare enum TooltipPostions {
7
8
  top = "top",
8
9
  bottom = "bottom",
@@ -40,6 +41,8 @@ interface TooltipProps {
40
41
  * 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
41
42
  */
42
43
  triggerTarget?: HTMLElement;
44
+ mouseOffsetX?: number;
45
+ mouseOffsetY?: number;
43
46
  }
44
47
  /**
45
48
  * Spectric tooltip will add a tooltip to any container
@@ -50,6 +53,8 @@ export declare class PopoverElement extends DisposableElement implements Tooltip
50
53
  text: DomRenderable;
51
54
  position: TooltipPostionsTypes;
52
55
  maxWidth?: number;
56
+ mouseOffsetX: number;
57
+ mouseOffsetY: number;
53
58
  protected portalElement: HTMLDivElement;
54
59
  protected mouseLocation?: {
55
60
  left: number;
@@ -60,12 +65,14 @@ export declare class PopoverElement extends DisposableElement implements Tooltip
60
65
  protected timer?: number;
61
66
  protected open: boolean;
62
67
  protected mouseframe?: number;
68
+ isOpen(): boolean;
63
69
  /**
64
70
  * @default parentElement
65
71
  */
66
72
  triggerTarget: HTMLElement;
67
73
  protected get target(): HTMLElement;
68
74
  constructor();
75
+ protected createRenderRoot(): HTMLElement | DocumentFragment;
69
76
  connectedCallback(): void;
70
77
  disconnectedCallback(): void;
71
78
  protected _getMousePosition: (ev: MouseEvent) => void;
@@ -81,5 +88,28 @@ export declare class PopoverElement extends DisposableElement implements Tooltip
81
88
  protected positionTooltip: () => void;
82
89
  protected render(): import('lit-html').TemplateResult<1>;
83
90
  }
84
- interface TooltipEvents {
91
+ interface PopOverEvents {
92
+ }
93
+ declare global {
94
+ interface HTMLElementTagNameMap {
95
+ [PopoverElementTag]: HTMLElementTagWithEvents<PopoverElement, PopOverEvents>;
96
+ }
97
+ namespace JSX {
98
+ interface IntrinsicElements {
99
+ /**
100
+ * @see {@link TooltipElement}
101
+ */
102
+ [PopoverElementTag]: ReactElementWithPropsAndEvents<PopoverElement, TooltipProps, PopOverEvents>;
103
+ }
104
+ }
105
+ namespace React {
106
+ namespace JSX {
107
+ interface IntrinsicElements {
108
+ /**
109
+ * @see {@link TooltipElement}
110
+ */
111
+ [PopoverElementTag]: ReactElementWithPropsAndEvents<PopoverElement, TooltipProps, PopOverEvents>;
112
+ }
113
+ }
114
+ }
85
115
  }
@@ -1,7 +1,7 @@
1
1
  import { HTMLElementTagWithEvents, ReactElementWithPropsAndEvents } from '../types';
2
2
  import { CSSResultGroup } from 'lit-element';
3
3
  import { DomRenderable } from '../table';
4
- import { PopoverElement } from './popover';
4
+ import { PopoverElement, TooltipProps } from './popover';
5
5
  export declare const TooltipElementTag = "spectric-tooltip";
6
6
  export type { TooltipProps, TooltipEvents };
7
7
  export declare enum TooltipPostions {
@@ -12,36 +12,6 @@ export declare enum TooltipPostions {
12
12
  mouse = "mouse"
13
13
  }
14
14
  export type TooltipPostionsTypes = `${TooltipPostions}`;
15
- interface TooltipProps {
16
- /**
17
- * How long you need to hover before the tooltip displays
18
- */
19
- delay?: number;
20
- /**
21
- * How long the fade in animation should run
22
- */
23
- animationDuration?: number;
24
- /**
25
- * Tooltip contents
26
- */
27
- text: DomRenderable;
28
- /**
29
- * Where to anchor the tooltip
30
- */
31
- position?: TooltipPostionsTypes;
32
- /**
33
- * Sets a max width for the contents you can disable this by setting to 0 or -1
34
- */
35
- maxWidth?: number;
36
- /**
37
- * Container the tool tip will be attached to.
38
- */
39
- portalTarget?: HTMLElement;
40
- /**
41
- * 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
42
- */
43
- triggerTarget?: HTMLElement;
44
- }
45
15
  /**
46
16
  * Spectric tooltip will add a tooltip to any container
47
17
  */
@@ -70,7 +40,6 @@ export declare class TooltipElement extends PopoverElement implements TooltipPro
70
40
  * Public method to trigger showing the tooltip programatically
71
41
  */
72
42
  showToolTip(): Promise<void>;
73
- protected render(): import('lit-html').TemplateResult<1>;
74
43
  }
75
44
  interface TooltipEvents {
76
45
  }
@@ -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`} - \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`} - ",
82
+ "description": "Attributes:\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",
@@ -170,10 +170,6 @@
170
170
  "name": "mouse"
171
171
  }
172
172
  ]
173
- },
174
- {
175
- "name": "onclick",
176
- "description": "`click` {`CustomEvent<MouseEvent>`} - "
177
173
  }
178
174
  ]
179
175
  },
@@ -348,15 +344,15 @@
348
344
  },
349
345
  {
350
346
  "name": "spectric-panel",
351
- "description": "Spectric Panel visually seperates content areas and automatically adjusts the component colors that are nested inside.\n\nEvents:\n\n * `use-layer` {`CustomEvent<{ layer: this; level: number; }>`} - \n\nAttributes:\n\n * `level` {`number`} - Specify the layer level and override any existing levels based on hierarchy\n\nProperties:\n\n * `styles` {`CSSResultGroup | undefined`} - \n\n * `level` {`number`} - Specify the layer level and override any existing levels based on hierarchy\n\n * `layers` {`NodeListOf<SpectricPanel> | undefined`} - ",
347
+ "description": "Spectric Panel visually seperates content areas and automatically adjusts the component colors that are nested inside.\n\nEvents:\n\n * `layer-add` {`CustomEvent<{ layer: this; level: number; }>`} - \n\nAttributes:\n\n * `level` {`number`} - Specify the layer level and override any existing levels based on hierarchy\n\nProperties:\n\n * `styles` {`CSSResultGroup | undefined`} - \n\n * `level` {`number`} - Specify the layer level and override any existing levels based on hierarchy\n\n * `layers` {`NodeListOf<SpectricPanel> | 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`} - ",
352
348
  "attributes": [
353
349
  {
354
350
  "name": "level",
355
351
  "description": "`level` {`number`} - Specify the layer level and override any existing levels based on hierarchy\n\nProperty: level\n\nDefault: 0"
356
352
  },
357
353
  {
358
- "name": "onuse-layer",
359
- "description": "`use-layer` {`CustomEvent<{ layer: this; level: number; }>`} - "
354
+ "name": "onlayer-add",
355
+ "description": "`layer-add` {`CustomEvent<{ layer: this; level: number; }>`} - "
360
356
  }
361
357
  ]
362
358
  },
@@ -391,9 +387,29 @@
391
387
  }
392
388
  ]
393
389
  },
390
+ {
391
+ "name": "spectric-calendar",
392
+ "description": "Events:\n\n * `select` {`CustomEvent<Date>`} - \n\nAttributes:\n\n * `popup` {`boolean`} - \n\n * `disabled` {`boolean`} - \n\nProperties:\n\n * `calendarElement` {`Promise<HTMLDivElement>`} - \n\n * `currentDate` {`string | number | Date | undefined`} - \n\n * `date` {`Date`} - \n\n * `popup` {`boolean`} - \n\n * `disabled` {`boolean`} - \n\n * `handleMouseMove` - \n\n * `resetMouseMove` - \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`} - ",
393
+ "attributes": [
394
+ {
395
+ "name": "popup",
396
+ "description": "`popup` {`boolean`} - \n\nProperty: popup\n\nDefault: false",
397
+ "valueSet": "v"
398
+ },
399
+ {
400
+ "name": "disabled",
401
+ "description": "`disabled` {`boolean`} - \n\nProperty: disabled\n\nDefault: false",
402
+ "valueSet": "v"
403
+ },
404
+ {
405
+ "name": "onselect",
406
+ "description": "`select` {`CustomEvent<Date>`} - "
407
+ }
408
+ ]
409
+ },
394
410
  {
395
411
  "name": "spectric-colorpicker",
396
- "description": "Attributes:\n\n * `value` {`string`} - Color in hex\n\n * `showAlpha` {`boolean`} - \n\nProperties:\n\n * `hue` {`number`} - \n\n * `alpha` {`number`} - \n\n * `saturation` {`number`} - \n\n * `lightness` {`number`} - \n\n * `canvas` {`Ref<HTMLCanvasElement>`} - \n\n * `original` {`string | undefined`} - \n\n * `sldown` {`boolean`} - is mouse down on saturation/light canvas?\n\n * `_handleSaturationLightnessClick` - \n\n * `_handleHueChange` - \n\n * `_handleAlphaChange` - \n\n * `_handleApply` - \n\n * `_cancel` - \n\n * `_openPopover` - \n\n * `value` {`string`} - Color in hex\n\n * `showAlpha` {`boolean`} - ",
412
+ "description": "Events:\n\n * `change` {`Event`} - \n\n * `cancel` {`Event`} - \n\nAttributes:\n\n * `value` {`string`} - Color in hex\n\n * `showAlpha` {`boolean`} - \n\nProperties:\n\n * `hue` {`number`} - \n\n * `alpha` {`number`} - \n\n * `saturation` {`number`} - \n\n * `lightness` {`number`} - \n\n * `canvas` {`Ref<HTMLCanvasElement>`} - \n\n * `original` {`string | undefined`} - \n\n * `sldown` {`boolean`} - is mouse down on saturation/light canvas?\n\n * `_handleAlphaChange` - \n\n * `_handleHueChange` - \n\n * `_handleApply` - \n\n * `_cancel` - \n\n * `_handleSaturationLightnessClick` - \n\n * `value` {`string`} - Color in hex\n\n * `showAlpha` {`boolean`} - ",
397
413
  "attributes": [
398
414
  {
399
415
  "name": "value",
@@ -403,6 +419,14 @@
403
419
  "name": "showAlpha",
404
420
  "description": "`showAlpha` {`boolean`} - \n\nProperty: showAlpha\n\nDefault: true",
405
421
  "valueSet": "v"
422
+ },
423
+ {
424
+ "name": "onchange",
425
+ "description": "`change` {`Event`} - "
426
+ },
427
+ {
428
+ "name": "oncancel",
429
+ "description": "`cancel` {`Event`} - "
406
430
  }
407
431
  ]
408
432
  },
@@ -447,7 +471,7 @@
447
471
  },
448
472
  {
449
473
  "name": "spectric-input",
450
- "description": "Events:\n\n * `change` {`Event`} - \n\nAttributes:\n\n * `checked` {`boolean | undefined`} - \n\n * `hidePasswordLabel` {`string`} - \"Hide password\" tooltip text on password visibility toggle\n\n * `showPasswordLabel` {`string`} - \"Show password\" tooltip text on password visibility toggle\n\n * `value` {`string | number | boolean`} - The value of the input.\n\n * `variant` {`\"number\" | \"text\" | \"text-area\" | \"color\" | \"date\" | \"datetime-local\" | \"email\" | \"file\" | \"hidden\" | \"password\" | \"checkbox\" | \"range\"`} - Input type\n\n * `label` {`string`} - Label to display above the input\n\n * `placeholder` {`string`} - placeholder text to display\n\n * `disabled` {`boolean`} - \n\n * `readonly` {`boolean`} - \n\n * `helperText` {`string`} - The helper text.\n\n * `invalid` {`boolean`} - Specify if the currently value is invalid.\n\n * `invalidText` {`string | TemplateResult<1> | undefined`} - Message which is displayed if the value is invalid.\n\n * `maxCount` {`number`} - Max character count allowed for input. This is needed in order for enableCounter to display\n\n * `required` {`boolean`} - Boolean property to set the required status\n\n * `showPasswordVisibilityToggle` {`boolean`} - Boolean property to render password visibility toggle\n\n * `name` {`string`} - Name for the input used for form data events //TODO make sure this works\n\n * `pattern` {`string`} - Pattern to validate the input against for HTML validity checking\n\n * `autocomplete` {`AutoFill`} - The sets the autocomplete for the input.\n\nProperties:\n\n * `checked` {`boolean | undefined`} - \n\n * `size` {`\"large\" | \"medium\" | \"small\" | \"xsmall\" | \"xxsmall\" | \"tiny\" | undefined`} - \n\n * `hidePasswordLabel` {`string`} - \"Hide password\" tooltip text on password visibility toggle\n\n * `showPasswordLabel` {`string`} - \"Show password\" tooltip text on password visibility toggle\n\n * `_value` {`string | number | boolean`} - The internal value.\n\n * `_showPassword` {`boolean`} - \n\n * `selectionStart` {`number | null`} - \n\n * `value` {`string | number | boolean`} - The value of the input.\n\n * `_handleInput` - Handles `oninput` event on the `<input>`.\n\n * `_input` {`HTMLInputElement | undefined`} - The underlying input element\n\n * `handleTogglePasswordVisibility` - \n\n * `variant` {`\"number\" | \"text\" | \"text-area\" | \"color\" | \"date\" | \"datetime-local\" | \"email\" | \"file\" | \"hidden\" | \"password\" | \"checkbox\" | \"range\"`} - Input type\n\n * `label` {`string`} - Label to display above the input\n\n * `placeholder` {`string`} - placeholder text to display\n\n * `disabled` {`boolean`} - \n\n * `readonly` {`boolean`} - \n\n * `helperText` {`string`} - The helper text.\n\n * `invalid` {`boolean`} - Specify if the currently value is invalid.\n\n * `invalidText` {`string | TemplateResult<1> | undefined`} - Message which is displayed if the value is invalid.\n\n * `maxCount` {`number`} - Max character count allowed for input. This is needed in order for enableCounter to display\n\n * `required` {`boolean`} - Boolean property to set the required status\n\n * `showPasswordVisibilityToggle` {`boolean`} - Boolean property to render password visibility toggle\n\n * `name` {`string`} - Name for the input used for form data events //TODO make sure this works\n\n * `pattern` {`string`} - Pattern to validate the input against for HTML validity checking\n\n * `autocomplete` {`AutoFill`} - The sets the autocomplete for the input.",
474
+ "description": "Events:\n\n * `change` {`Event`} - \n\nAttributes:\n\n * `checked` {`boolean | undefined`} - \n\n * `hidePasswordLabel` {`string`} - \"Hide password\" tooltip text on password visibility toggle\n\n * `showPasswordLabel` {`string`} - \"Show password\" tooltip text on password visibility toggle\n\n * `value` {`string | number | boolean`} - The value of the input.\n\n * `variant` {`\"number\" | \"text\" | \"text-area\" | \"color\" | \"date\" | \"popup-date\" | \"datetime-local\" | \"email\" | \"file\" | \"hidden\" | \"password\" | \"checkbox\" | \"range\"`} - Input type\n\n * `label` {`string`} - Label to display above the input\n\n * `placeholder` {`string`} - placeholder text to display\n\n * `disabled` {`boolean`} - \n\n * `readonly` {`boolean`} - \n\n * `helperText` {`string`} - The helper text.\n\n * `invalid` {`boolean`} - Specify if the currently value is invalid.\n\n * `invalidText` {`string | TemplateResult<1> | undefined`} - Message which is displayed if the value is invalid.\n\n * `maxCount` {`number`} - Max character count allowed for input. This is needed in order for enableCounter to display\n\n * `required` {`boolean`} - Boolean property to set the required status\n\n * `showPasswordVisibilityToggle` {`boolean`} - Boolean property to render password visibility toggle\n\n * `name` {`string`} - Name for the input used for form data events //TODO make sure this works\n\n * `pattern` {`string`} - Pattern to validate the input against for HTML validity checking\n\n * `autocomplete` {`AutoFill`} - The sets the autocomplete for the input.\n\nProperties:\n\n * `checked` {`boolean | undefined`} - \n\n * `size` {`\"large\" | \"medium\" | \"small\" | \"xsmall\" | \"xxsmall\" | \"tiny\" | undefined`} - \n\n * `files` {`FileList | null`} - \n\n * `hidePasswordLabel` {`string`} - \"Hide password\" tooltip text on password visibility toggle\n\n * `showPasswordLabel` {`string`} - \"Show password\" tooltip text on password visibility toggle\n\n * `_value` {`string | number | boolean`} - The internal value.\n\n * `_showPassword` {`boolean`} - \n\n * `selectionStart` {`number | null`} - \n\n * `value` {`string | number | boolean`} - The value of the input.\n\n * `_handleInput` - Handles `oninput` event on the `<input>`.\n\n * `_input` {`HTMLInputElement | undefined`} - The underlying input element\n\n * `handleTogglePasswordVisibility` - \n\n * `variant` {`\"number\" | \"text\" | \"text-area\" | \"color\" | \"date\" | \"popup-date\" | \"datetime-local\" | \"email\" | \"file\" | \"hidden\" | \"password\" | \"checkbox\" | \"range\"`} - Input type\n\n * `label` {`string`} - Label to display above the input\n\n * `placeholder` {`string`} - placeholder text to display\n\n * `disabled` {`boolean`} - \n\n * `readonly` {`boolean`} - \n\n * `helperText` {`string`} - The helper text.\n\n * `invalid` {`boolean`} - Specify if the currently value is invalid.\n\n * `invalidText` {`string | TemplateResult<1> | undefined`} - Message which is displayed if the value is invalid.\n\n * `maxCount` {`number`} - Max character count allowed for input. This is needed in order for enableCounter to display\n\n * `required` {`boolean`} - Boolean property to set the required status\n\n * `showPasswordVisibilityToggle` {`boolean`} - Boolean property to render password visibility toggle\n\n * `name` {`string`} - Name for the input used for form data events //TODO make sure this works\n\n * `pattern` {`string`} - Pattern to validate the input against for HTML validity checking\n\n * `autocomplete` {`AutoFill`} - The sets the autocomplete for the input.",
451
475
  "attributes": [
452
476
  {
453
477
  "name": "checked",
@@ -469,7 +493,7 @@
469
493
  },
470
494
  {
471
495
  "name": "variant",
472
- "description": "`variant` {`\"number\" | \"text\" | \"text-area\" | \"color\" | \"date\" | \"datetime-local\" | \"email\" | \"file\" | \"hidden\" | \"password\" | \"checkbox\" | \"range\"`} - Input type\n\nProperty: variant\n\nDefault: text",
496
+ "description": "`variant` {`\"number\" | \"text\" | \"text-area\" | \"color\" | \"date\" | \"popup-date\" | \"datetime-local\" | \"email\" | \"file\" | \"hidden\" | \"password\" | \"checkbox\" | \"range\"`} - Input type\n\nProperty: variant\n\nDefault: text",
473
497
  "values": [
474
498
  {
475
499
  "name": "number"
@@ -486,6 +510,9 @@
486
510
  {
487
511
  "name": "date"
488
512
  },
513
+ {
514
+ "name": "popup-date"
515
+ },
489
516
  {
490
517
  "name": "datetime-local"
491
518
  },
@@ -1933,7 +1960,7 @@
1933
1960
  },
1934
1961
  {
1935
1962
  "name": "spectric-query",
1936
- "description": "The Query component will take Opensearch Dashboard Query language and transform it into various outputs\n\nEvents:\n\n * `change` {`CustomEvent<any>`} - \n\nAttributes:\n\n * `outputLanguage` {`\"toMongo\" | \"toCql\" | \"toDSL\" | \"AST\"`} - The output of the query in a specific format\n\n * `value` {`string`} - The value of the input.\n\n * `fields` {`FieldTypes[]`} - Fields that are used for the auto complete\n\n * `placeholder` {`string`} - Input placeholder\n\nProperties:\n\n * `_value` {`string`} - The internal value.\n\n * `suggestion` {`Suggestion | undefined`} - \n\n * `completions` {`Completion[]`} - \n\n * `completionIndex` {`number`} - \n\n * `_autocomplete` {`HTMLDivElement | undefined`} - \n\n * `_asyncAutocomplete` {`Promise<HTMLDivElement>`} - \n\n * `_input` {`SpectricInput`} - The underlying input element\n\n * `_parseQuery` - \n\n * `_selectCompletion` - \n\n * `_handleArrows` - \n\n * `uuid` {`string`} - \n\n * `outputLanguage` {`\"toMongo\" | \"toCql\" | \"toDSL\" | \"AST\"`} - The output of the query in a specific format\n\n * `value` {`string`} - The value of the input.\n\n * `fields` {`FieldTypes[]`} - Fields that are used for the auto complete\n\n * `getValuesForField` - Callback that will provide values for specific fields\n\n * `placeholder` {`string`} - Input placeholder",
1963
+ "description": "The Query component will take Opensearch Dashboard Query language and transform it into various outputs\n\nEvents:\n\n * `change` {`CustomEvent<any>`} - \n\nAttributes:\n\n * `outputLanguage` {`\"toMongo\" | \"toCql\" | \"toDSL\" | \"AST\"`} - The output of the query in a specific format\n\n * `value` {`string`} - The value of the input.\n\n * `fields` {`FieldTypes[]`} - Fields that are used for the auto complete\n\n * `placeholder` {`string`} - Input placeholder\n\nProperties:\n\n * `_value` {`string`} - The internal value.\n\n * `suggestion` {`Suggestion | undefined`} - \n\n * `completions` {`Completion[]`} - \n\n * `completionIndex` {`number`} - \n\n * `_autocomplete` {`PopoverElement | undefined`} - \n\n * `_asyncAutocomplete` {`Promise<HTMLDivElement>`} - \n\n * `_input` {`SpectricInput`} - The underlying input element\n\n * `_parseQuery` - \n\n * `_selectCompletion` - \n\n * `_handleArrows` - \n\n * `uuid` {`string`} - \n\n * `outputLanguage` {`\"toMongo\" | \"toCql\" | \"toDSL\" | \"AST\"`} - The output of the query in a specific format\n\n * `value` {`string`} - The value of the input.\n\n * `fields` {`FieldTypes[]`} - Fields that are used for the auto complete\n\n * `getValuesForField` - Callback that will provide values for specific fields\n\n * `placeholder` {`string`} - Input placeholder",
1937
1964
  "attributes": [
1938
1965
  {
1939
1966
  "name": "outputLanguage",
@@ -2122,7 +2149,7 @@
2122
2149
  },
2123
2150
  {
2124
2151
  "name": "spectric-popover",
2125
- "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 * `applyStyle` - \n\n * `positionTooltip` - \n\n * `showPopover` - Public method to trigger showing the tooltip programatically\n\n * `hidePopover` - \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`} - ",
2152
+ "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\n * `mouseOffsetX` {`number`} - \n\n * `mouseOffsetY` {`number`} - \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 * `applyStyle` - \n\n * `positionTooltip` - \n\n * `showPopover` - Public method to trigger showing the tooltip programatically\n\n * `hidePopover` - \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 * `mouseOffsetX` {`number`} - \n\n * `mouseOffsetY` {`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`} - ",
2126
2153
  "attributes": [
2127
2154
  {
2128
2155
  "name": "delay",
@@ -2162,12 +2189,20 @@
2162
2189
  "name": "maxWidth",
2163
2190
  "description": "`maxWidth` {`number | undefined`} - Sets a max width for the contents you can disable this by setting to 0 or -1\n\nProperty: maxWidth\n\nDefault: 300",
2164
2191
  "values": []
2192
+ },
2193
+ {
2194
+ "name": "mouseOffsetX",
2195
+ "description": "`mouseOffsetX` {`number`} - \n\nProperty: mouseOffsetX\n\nDefault: 10"
2196
+ },
2197
+ {
2198
+ "name": "mouseOffsetY",
2199
+ "description": "`mouseOffsetY` {`number`} - \n\nProperty: mouseOffsetY\n\nDefault: 0"
2165
2200
  }
2166
2201
  ]
2167
2202
  },
2168
2203
  {
2169
2204
  "name": "spectric-tooltip",
2170
- "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 * `showToolTip` - \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 * `applyStyle` - \n\n * `positionTooltip` - \n\n * `showPopover` - Public method to trigger showing the tooltip programatically\n\n * `hidePopover` - \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`} - ",
2205
+ "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\n * `mouseOffsetX` {`number | undefined`} - \n\n * `mouseOffsetY` {`number | undefined`} - \n\nProperties:\n\n * `showToolTip` - \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 * `applyStyle` - \n\n * `positionTooltip` - \n\n * `showPopover` - Public method to trigger showing the tooltip programatically\n\n * `hidePopover` - \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 * `mouseOffsetX` {`number | undefined`} - \n\n * `mouseOffsetY` {`number | 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`} - ",
2171
2206
  "attributes": [
2172
2207
  {
2173
2208
  "name": "delay",
@@ -2207,6 +2242,16 @@
2207
2242
  "name": "maxWidth",
2208
2243
  "description": "`maxWidth` {`number | undefined`} - Sets a max width for the contents you can disable this by setting to 0 or -1\n\nProperty: maxWidth\n\nDefault: 300",
2209
2244
  "values": []
2245
+ },
2246
+ {
2247
+ "name": "mouseOffsetX",
2248
+ "description": "`mouseOffsetX` {`number | undefined`} - \n\nProperty: mouseOffsetX\n\nDefault: 10",
2249
+ "values": []
2250
+ },
2251
+ {
2252
+ "name": "mouseOffsetY",
2253
+ "description": "`mouseOffsetY` {`number | undefined`} - \n\nProperty: mouseOffsetY\n\nDefault: 0",
2254
+ "values": []
2210
2255
  }
2211
2256
  ]
2212
2257
  },
package/dist/index.d.ts CHANGED
@@ -39,10 +39,12 @@ declare const module: {
39
39
  TableSelectOptions: typeof components.TableSelectOptions;
40
40
  TableSortOption: typeof components.TableSortOption;
41
41
  TableSortDirection: typeof components.TableSortDirection;
42
+ TD_BorderAndPadding: 4;
42
43
  SpectricTableElement: typeof components.SpectricTableElement;
43
44
  TooltipElementTag: "spectric-tooltip";
44
45
  TooltipPostions: typeof components.TooltipPostions;
45
46
  TooltipElement: typeof components.TooltipElement;
47
+ SpectricCalendar: typeof components.SpectricCalendar;
46
48
  BitArray: {
47
49
  new (buf: ArrayBuffer): {
48
50
  buffer: ArrayBuffer;