@telia-ace/widget-components-widget-header-flamingo 1.1.78 → 1.1.79-rc.1

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/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@telia-ace/widget-components-widget-header-flamingo",
3
- "version": "1.1.78",
3
+ "version": "1.1.79-rc.1",
4
4
  "dependencies": {
5
5
  "lit": "^3.0.2",
6
- "@telia-ace/widget-core-flamingo": "1.1.78",
6
+ "@telia-ace/widget-core-flamingo": "1.1.79-rc.1",
7
7
  "@teliads/components": "^22.1.1",
8
8
  "@teliads/icons": "^8.4.0",
9
9
  "@lit-labs/motion": "^1.0.6",
@@ -1,17 +0,0 @@
1
- import { ReactiveController, ReactiveControllerHost } from 'lit';
2
- import { WidgetHeaderOption } from '../widget-header-option';
3
- import { CreateWidgetHeaderOption } from '../types';
4
- export declare class OptionsController implements ReactiveController {
5
- private _host;
6
- private _options;
7
- private _subscription;
8
- constructor(host: ReactiveControllerHost);
9
- hostConnected(): void;
10
- hostDisconnected(): void;
11
- addOption(payload: CreateWidgetHeaderOption): WidgetHeaderOption;
12
- removeOption(option: WidgetHeaderOption): void;
13
- private handleUpdate;
14
- set options(value: WidgetHeaderOption[]);
15
- get options(): WidgetHeaderOption[];
16
- hasOptions(): boolean;
17
- }
package/index.d.ts DELETED
@@ -1,2 +0,0 @@
1
- import { WidgetHeaderComponent } from './widget-header-component';
2
- export default WidgetHeaderComponent;
package/types.d.ts DELETED
@@ -1,7 +0,0 @@
1
- export type CreateWidgetHeaderOption = {
2
- label: string;
3
- onClick: () => void;
4
- icon: string | null;
5
- closeOnClick: boolean;
6
- key: string;
7
- };
package/utils/uuid.d.ts DELETED
@@ -1 +0,0 @@
1
- export declare const uuid: () => string;
@@ -1,2 +0,0 @@
1
- import { Application } from '@telia-ace/widget-core-flamingo';
2
- export declare const WidgetHeaderComponent: (app: Application) => Promise<void>;
@@ -1,17 +0,0 @@
1
- import { OptionsController } from './controllers/options-controller';
2
- export declare class WidgetHeaderOption {
3
- label: string;
4
- icon: string | null;
5
- onClick: () => void;
6
- closeOnClick: boolean;
7
- key: string;
8
- private update;
9
- private _controller;
10
- id: string;
11
- enabled: boolean;
12
- constructor(label: string, icon: string | null, onClick: () => void, closeOnClick: boolean, key: string, controller: OptionsController, enabled?: boolean);
13
- updateLabel(value: string): void;
14
- updateIcon(value: string): void;
15
- remove(): void;
16
- subscribe(): import("rxjs").Observable<void>;
17
- }
@@ -1,21 +0,0 @@
1
- import { LitElement } from 'lit';
2
- import { CreateWidgetHeaderOption } from './types';
3
- import type { WidgetHeaderOption } from './widget-header-option';
4
- declare const WidgetElement: (new (...args: any[]) => import("@telia-ace/widget-core-flamingo").WidgetComponentType) & typeof LitElement;
5
- export declare class WidgetHeader extends WidgetElement {
6
- static styles: import("lit").CSSResultGroup[];
7
- optionsIsVisible: boolean;
8
- private options;
9
- private optionsRef;
10
- private optionsTriggerRef;
11
- addOption(option: CreateWidgetHeaderOption): WidgetHeaderOption;
12
- removeOption(option: WidgetHeaderOption): void;
13
- private _onToggleOptionsMenuClick;
14
- private _onMinimizeClick;
15
- notify(type: string, data?: Record<string, any>): void;
16
- connectedCallback(): void;
17
- disconnectedCallback(): void;
18
- private _onClickOutside;
19
- render(): import("lit-html").TemplateResult<1>;
20
- }
21
- export default WidgetHeader;