@duyluonganduin/acl-web-components 0.0.8 → 0.0.9
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/dist/acl-web-components.cjs +200 -105
- package/dist/acl-web-components.d.ts +33 -0
- package/dist/acl-web-components.js +863 -663
- package/dist/react.d.ts +20 -0
- package/package.json +1 -1
|
@@ -3,6 +3,20 @@ import { LitElement } from 'lit';
|
|
|
3
3
|
import { nothing } from 'lit';
|
|
4
4
|
import { TemplateResult } from 'lit-html';
|
|
5
5
|
|
|
6
|
+
export declare class AnduinAvatar extends LitElement {
|
|
7
|
+
static styles: CSSResult;
|
|
8
|
+
src: string;
|
|
9
|
+
name: string;
|
|
10
|
+
alt: string;
|
|
11
|
+
icon: string;
|
|
12
|
+
size: AvatarSize;
|
|
13
|
+
shape: AvatarShape;
|
|
14
|
+
private _imgError;
|
|
15
|
+
private _onImgError;
|
|
16
|
+
private _iconSize;
|
|
17
|
+
render(): TemplateResult<1>;
|
|
18
|
+
}
|
|
19
|
+
|
|
6
20
|
export declare class AnduinBadge extends LitElement {
|
|
7
21
|
static styles: CSSResult[];
|
|
8
22
|
variant: string;
|
|
@@ -178,8 +192,10 @@ export declare class AnduinModal extends LitElement {
|
|
|
178
192
|
static styles: CSSResult;
|
|
179
193
|
open: boolean;
|
|
180
194
|
heading: string;
|
|
195
|
+
hideHeader: boolean;
|
|
181
196
|
hideFooter: boolean;
|
|
182
197
|
maxWidth: '480' | '600' | '720' | '960' | '1160' | string;
|
|
198
|
+
fullscreen: boolean;
|
|
183
199
|
private _leaving;
|
|
184
200
|
private static readonly _PRESETS;
|
|
185
201
|
updated(changed: Map<PropertyKey, unknown>): void;
|
|
@@ -199,18 +215,29 @@ export declare class AnduinPopover extends LitElement {
|
|
|
199
215
|
static styles: CSSResult;
|
|
200
216
|
open: boolean;
|
|
201
217
|
placement: 'bottom-start' | 'bottom-end' | 'bottom' | 'top-start' | 'top-end' | 'top';
|
|
218
|
+
private _visible;
|
|
202
219
|
private _triggerEl;
|
|
203
220
|
private _panelEl;
|
|
221
|
+
private _closeTransitionEndHandler;
|
|
204
222
|
private _onTriggerClick;
|
|
205
223
|
private _onOutsideClick;
|
|
206
224
|
private _onScrollOrResize;
|
|
225
|
+
private _onPopoverClose;
|
|
207
226
|
connectedCallback(): void;
|
|
208
227
|
disconnectedCallback(): void;
|
|
209
228
|
updated(changed: Map<string, unknown>): void;
|
|
229
|
+
private _cancelCloseAnimation;
|
|
230
|
+
private _startCloseAnimation;
|
|
210
231
|
private _updatePosition;
|
|
211
232
|
render(): TemplateResult<1>;
|
|
212
233
|
}
|
|
213
234
|
|
|
235
|
+
export declare class AnduinPopoverClose extends LitElement {
|
|
236
|
+
static styles: CSSResult;
|
|
237
|
+
private _onClick;
|
|
238
|
+
render(): TemplateResult<1>;
|
|
239
|
+
}
|
|
240
|
+
|
|
214
241
|
export declare class AnduinProgress extends LitElement {
|
|
215
242
|
static styles: CSSResult;
|
|
216
243
|
percent: string;
|
|
@@ -373,6 +400,10 @@ export declare class AnduinWellClose extends LitElement {
|
|
|
373
400
|
render(): TemplateResult<1>;
|
|
374
401
|
}
|
|
375
402
|
|
|
403
|
+
export declare type AvatarShape = 'circle' | 'rounded';
|
|
404
|
+
|
|
405
|
+
export declare type AvatarSize = 16 | 20 | 24 | 32;
|
|
406
|
+
|
|
376
407
|
export declare const BADGE_STYLES: CSSResult;
|
|
377
408
|
|
|
378
409
|
export declare type ButtonAppearance = 'filled' | 'outlined' | 'plain' | 'text';
|
|
@@ -404,6 +435,8 @@ export declare const INPUT_CLEAR = "anduin-input:clear";
|
|
|
404
435
|
|
|
405
436
|
export declare const MENU_ITEM_CLICK = "anduin-menu-item:click";
|
|
406
437
|
|
|
438
|
+
export declare const POPOVER_CLOSE = "anduin-popover:close";
|
|
439
|
+
|
|
407
440
|
export declare function resolveFileIcon(type: string, size: 16 | 24 | 32): FileIconDef | null;
|
|
408
441
|
|
|
409
442
|
export declare const TAB_CHANGE = "anduin-tab:change";
|