@spectric/ui 0.0.17 → 0.0.18

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.
@@ -58,6 +58,7 @@ export declare const ThemeSelections: { [k in keyof typeof Themes]: k; };
58
58
  type ThemeProps = {
59
59
  theme?: KnownThemes;
60
60
  };
61
+ export declare const SPECTRIC_CSS_VARIABLES: string[];
61
62
  export interface ThemeChangeEvent {
62
63
  old?: string;
63
64
  new?: string;
@@ -26,7 +26,7 @@ export declare class PaginationElement extends LitElement implements PaginationP
26
26
  */
27
27
  size: ButtonSizesTypes;
28
28
  protected createRenderRoot(): HTMLElement | DocumentFragment;
29
- protected updated(_changedProperties: PropertyValues): void;
29
+ protected update(_changedProperties: PropertyValues): void;
30
30
  private _handlePageUp;
31
31
  private _handlePageDown;
32
32
  private _handleSizeChange;
@@ -16,8 +16,9 @@ export declare class TableVirtualBodyElement<T> extends DisposableElement implem
16
16
  rowHeight: number;
17
17
  startIndex: number;
18
18
  table: SpectricTableElement<T>;
19
+ columnsMeasured: boolean;
19
20
  constructor();
20
- protected firstUpdated(): void;
21
+ protected updated(): void;
21
22
  protected createRenderRoot(): HTMLElement | DocumentFragment;
22
23
  protected render(): unknown;
23
24
  }
@@ -2112,7 +2112,7 @@
2112
2112
  },
2113
2113
  {
2114
2114
  "name": "spectric-table-virtual-body",
2115
- "description": "Table Body Element\n\nAttributes:\n\n * `startIndex` {`number`} - \n\nProperties:\n\n * `startIndex` {`number`} - \n\n * `table` {`SpectricTableElement<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`} - ",
2115
+ "description": "Table Body Element\n\nAttributes:\n\n * `startIndex` {`number`} - \n\nProperties:\n\n * `startIndex` {`number`} - \n\n * `table` {`SpectricTableElement<T>`} - \n\n * `columnsMeasured` {`boolean`} - \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`} - ",
2116
2116
  "attributes": [
2117
2117
  {
2118
2118
  "name": "startIndex",
@@ -2167,7 +2167,7 @@
2167
2167
  },
2168
2168
  {
2169
2169
  "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 * `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`} - ",
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`} - ",
2171
2171
  "attributes": [
2172
2172
  {
2173
2173
  "name": "delay",
package/dist/index.d.ts CHANGED
@@ -26,6 +26,7 @@ declare const module: {
26
26
  control: "color" | "text";
27
27
  }>;
28
28
  ThemeSelections: { [k in "undefined" | "light" | "dark" | "spectric" | "spectricFlat"]: k; };
29
+ SPECTRIC_CSS_VARIABLES: string[];
29
30
  SpectricThemeProvider: typeof components.SpectricThemeProvider;
30
31
  DialogElementTag: "spectric-dialog";
31
32
  DialogElement: typeof components.DialogElement;