@duyluonganduin/acl-web-components 0.0.10 → 0.0.12
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 +1 -1531
- package/dist/acl-web-components.d.ts +3 -0
- package/dist/acl-web-components.js +67 -4325
- package/dist/anduin-toast-BajvdhLP.cjs +1531 -0
- package/dist/anduin-toast-vCKeF87l.js +4334 -0
- package/dist/jsx.d.ts +347 -0
- package/dist/react.cjs +1 -0
- package/dist/react.d.ts +579 -346
- package/dist/react.js +95 -0
- package/package.json +20 -3
package/dist/react.d.ts
CHANGED
|
@@ -1,346 +1,579 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
}
|
|
1
|
+
import { CSSResult } from 'lit';
|
|
2
|
+
import { LitElement } from 'lit';
|
|
3
|
+
import { nothing } from 'lit';
|
|
4
|
+
import { ReactWebComponent } from '@lit/react';
|
|
5
|
+
import { TemplateResult } from 'lit-html';
|
|
6
|
+
|
|
7
|
+
declare class AnduinAvatar extends LitElement {
|
|
8
|
+
static styles: CSSResult;
|
|
9
|
+
src: string;
|
|
10
|
+
name: string;
|
|
11
|
+
alt: string;
|
|
12
|
+
icon: string;
|
|
13
|
+
size: AvatarSize;
|
|
14
|
+
shape: AvatarShape;
|
|
15
|
+
private _imgError;
|
|
16
|
+
private _onImgError;
|
|
17
|
+
private _iconSize;
|
|
18
|
+
render(): TemplateResult<1>;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
declare class AnduinBadge extends LitElement {
|
|
22
|
+
static styles: CSSResult[];
|
|
23
|
+
variant: string;
|
|
24
|
+
render(): TemplateResult<1>;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
declare class AnduinBadgeCount extends LitElement {
|
|
28
|
+
static styles: CSSResult[];
|
|
29
|
+
variant: string;
|
|
30
|
+
count: number;
|
|
31
|
+
private formatCount;
|
|
32
|
+
render(): TemplateResult<1>;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
declare class AnduinButton extends LitElement {
|
|
36
|
+
static styles: CSSResult;
|
|
37
|
+
private iconOnly;
|
|
38
|
+
firstUpdated(): void;
|
|
39
|
+
private onSlotChange;
|
|
40
|
+
appearance: ButtonAppearance;
|
|
41
|
+
variant: ButtonVariant | '';
|
|
42
|
+
size: ButtonSize;
|
|
43
|
+
disabled: boolean;
|
|
44
|
+
loading: boolean;
|
|
45
|
+
fullWidth: boolean;
|
|
46
|
+
pill: boolean;
|
|
47
|
+
selected: boolean;
|
|
48
|
+
href: string;
|
|
49
|
+
openNewTab: boolean;
|
|
50
|
+
download: string;
|
|
51
|
+
startIcon: string;
|
|
52
|
+
endIcon: string;
|
|
53
|
+
label: string;
|
|
54
|
+
private getVariant;
|
|
55
|
+
private getSizeKebab;
|
|
56
|
+
private iconSize;
|
|
57
|
+
render(): TemplateResult<1>;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
declare class AnduinCallout extends LitElement {
|
|
61
|
+
static styles: CSSResult;
|
|
62
|
+
variant: string;
|
|
63
|
+
render(): TemplateResult<1>;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
declare class AnduinCheckbox extends LitElement {
|
|
67
|
+
static styles: CSSResult;
|
|
68
|
+
checked: boolean;
|
|
69
|
+
disabled: boolean;
|
|
70
|
+
indeterminate: boolean;
|
|
71
|
+
readonly: boolean;
|
|
72
|
+
inputid: string;
|
|
73
|
+
connectedCallback(): void;
|
|
74
|
+
private toggle;
|
|
75
|
+
private onInputChange;
|
|
76
|
+
render(): TemplateResult<1>;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
declare class AnduinDivider extends LitElement {
|
|
80
|
+
static styles: CSSResult;
|
|
81
|
+
direction: string;
|
|
82
|
+
private hasContent;
|
|
83
|
+
connectedCallback(): void;
|
|
84
|
+
updated(changed: Map<string, unknown>): void;
|
|
85
|
+
private onSlotChange;
|
|
86
|
+
render(): TemplateResult<1>;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
declare class AnduinDot extends LitElement {
|
|
90
|
+
static styles: CSSResult;
|
|
91
|
+
variant: string;
|
|
92
|
+
render(): TemplateResult<1>;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
declare class AnduinField extends LitElement {
|
|
96
|
+
static styles: CSSResult;
|
|
97
|
+
orientation: string;
|
|
98
|
+
connectedCallback(): void;
|
|
99
|
+
render(): TemplateResult<1>;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
declare class AnduinFieldDescription extends LitElement {
|
|
103
|
+
static styles: CSSResult;
|
|
104
|
+
render(): TemplateResult<1>;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
declare class AnduinFieldError extends LitElement {
|
|
108
|
+
static styles: CSSResult;
|
|
109
|
+
render(): TemplateResult<1>;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
declare class AnduinFieldGroup extends LitElement {
|
|
113
|
+
static styles: CSSResult;
|
|
114
|
+
render(): TemplateResult<1>;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
declare class AnduinFieldLabel extends LitElement {
|
|
118
|
+
static styles: CSSResult;
|
|
119
|
+
htmlfor: string;
|
|
120
|
+
required: boolean;
|
|
121
|
+
connectedCallback(): void;
|
|
122
|
+
private onLabelClick;
|
|
123
|
+
render(): TemplateResult<1>;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
declare class AnduinFileIcon extends LitElement {
|
|
127
|
+
static styles: CSSResult;
|
|
128
|
+
type: string;
|
|
129
|
+
size: FileIconSize;
|
|
130
|
+
render(): typeof nothing | TemplateResult<1>;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
declare class AnduinIcon extends LitElement {
|
|
134
|
+
static styles: CSSResult;
|
|
135
|
+
name: string;
|
|
136
|
+
size: number;
|
|
137
|
+
render(): TemplateResult<2>;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
declare class AnduinInput extends LitElement {
|
|
141
|
+
static styles: CSSResult;
|
|
142
|
+
value: string;
|
|
143
|
+
size: 'small' | 'default' | 'large';
|
|
144
|
+
disabled: boolean;
|
|
145
|
+
readonly: boolean;
|
|
146
|
+
placeholder: string;
|
|
147
|
+
inputid: string;
|
|
148
|
+
status: string;
|
|
149
|
+
startIcon: string;
|
|
150
|
+
endIcon: string;
|
|
151
|
+
clearable: boolean;
|
|
152
|
+
private inputEl;
|
|
153
|
+
connectedCallback(): void;
|
|
154
|
+
updated(): void;
|
|
155
|
+
private onInput;
|
|
156
|
+
private onClear;
|
|
157
|
+
render(): TemplateResult<1>;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
declare class AnduinLoadingState extends LitElement {
|
|
161
|
+
static styles: CSSResult;
|
|
162
|
+
height: string;
|
|
163
|
+
render(): TemplateResult<1>;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
declare class AnduinMenu extends LitElement {
|
|
167
|
+
static styles: CSSResult;
|
|
168
|
+
open: boolean;
|
|
169
|
+
placement: 'bottom-start' | 'bottom-end' | 'bottom' | 'top-start' | 'top-end' | 'top';
|
|
170
|
+
private _triggerEl;
|
|
171
|
+
private _panelEl;
|
|
172
|
+
private _onTriggerClick;
|
|
173
|
+
private _onOutsideClick;
|
|
174
|
+
private _onItemClick;
|
|
175
|
+
private _onScrollOrResize;
|
|
176
|
+
connectedCallback(): void;
|
|
177
|
+
disconnectedCallback(): void;
|
|
178
|
+
updated(changed: Map<string, unknown>): void;
|
|
179
|
+
private _updatePosition;
|
|
180
|
+
render(): TemplateResult<1>;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
declare class AnduinMenuItem extends LitElement {
|
|
184
|
+
static styles: CSSResult;
|
|
185
|
+
icon: string;
|
|
186
|
+
variant: 'default' | 'danger';
|
|
187
|
+
disabled: boolean;
|
|
188
|
+
private _onClick;
|
|
189
|
+
render(): TemplateResult<1>;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
declare class AnduinModal extends LitElement {
|
|
193
|
+
static styles: CSSResult;
|
|
194
|
+
open: boolean;
|
|
195
|
+
heading: string;
|
|
196
|
+
hideHeader: boolean;
|
|
197
|
+
hideFooter: boolean;
|
|
198
|
+
maxWidth: '480' | '600' | '720' | '960' | '1160' | string;
|
|
199
|
+
fullscreen: boolean;
|
|
200
|
+
private _leaving;
|
|
201
|
+
private static readonly _PRESETS;
|
|
202
|
+
updated(changed: Map<PropertyKey, unknown>): void;
|
|
203
|
+
private dispatch;
|
|
204
|
+
private onOverlayClick;
|
|
205
|
+
private onClose;
|
|
206
|
+
private onAnduinClose;
|
|
207
|
+
connectedCallback(): void;
|
|
208
|
+
disconnectedCallback(): void;
|
|
209
|
+
render(): TemplateResult<1>;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
declare class AnduinModalClose extends HTMLElement {
|
|
213
|
+
connectedCallback(): void;
|
|
214
|
+
disconnectedCallback(): void;
|
|
215
|
+
private _onClick;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
declare class AnduinPopover extends LitElement {
|
|
219
|
+
static styles: CSSResult;
|
|
220
|
+
open: boolean;
|
|
221
|
+
placement: 'bottom-start' | 'bottom-end' | 'bottom' | 'top-start' | 'top-end' | 'top';
|
|
222
|
+
private _visible;
|
|
223
|
+
private _closing;
|
|
224
|
+
private _triggerEl;
|
|
225
|
+
private _panelEl;
|
|
226
|
+
private _closeTransitionEndHandler;
|
|
227
|
+
private _onTriggerClick;
|
|
228
|
+
private _onOutsideClick;
|
|
229
|
+
private _onScrollOrResize;
|
|
230
|
+
private _onPopoverClose;
|
|
231
|
+
connectedCallback(): void;
|
|
232
|
+
disconnectedCallback(): void;
|
|
233
|
+
updated(changed: Map<string, unknown>): void;
|
|
234
|
+
private _cancelCloseAnimation;
|
|
235
|
+
private _startCloseAnimation;
|
|
236
|
+
private _updatePosition;
|
|
237
|
+
render(): TemplateResult<1>;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
declare class AnduinPopoverClose extends LitElement {
|
|
241
|
+
static styles: CSSResult;
|
|
242
|
+
private _onClick;
|
|
243
|
+
render(): TemplateResult<1>;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
declare class AnduinProgress extends LitElement {
|
|
247
|
+
static styles: CSSResult;
|
|
248
|
+
percent: string;
|
|
249
|
+
height: string;
|
|
250
|
+
render(): TemplateResult<1>;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
declare class AnduinSkeleton extends LitElement {
|
|
254
|
+
static styles: CSSResult;
|
|
255
|
+
effect: string;
|
|
256
|
+
shape: string;
|
|
257
|
+
height: string;
|
|
258
|
+
width: string;
|
|
259
|
+
duration: number;
|
|
260
|
+
fontSize: string;
|
|
261
|
+
render(): TemplateResult<1>;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
declare class AnduinSpinner extends LitElement {
|
|
265
|
+
static styles: CSSResult;
|
|
266
|
+
size: string;
|
|
267
|
+
percent: string;
|
|
268
|
+
private getSizeParams;
|
|
269
|
+
render(): TemplateResult<2>;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
declare class AnduinTabContent extends LitElement {
|
|
273
|
+
static styles: CSSResult;
|
|
274
|
+
value: string;
|
|
275
|
+
private isActive;
|
|
276
|
+
connectedCallback(): void;
|
|
277
|
+
updated(changed: Map<string, unknown>): void;
|
|
278
|
+
render(): TemplateResult<1>;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
declare class AnduinTabs extends LitElement {
|
|
282
|
+
static styles: CSSResult;
|
|
283
|
+
defaultValue: string;
|
|
284
|
+
value: string;
|
|
285
|
+
fill: boolean;
|
|
286
|
+
connectedCallback(): void;
|
|
287
|
+
updated(changed: Map<string, unknown>): void;
|
|
288
|
+
private broadcastValueChanged;
|
|
289
|
+
render(): TemplateResult<1>;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
declare class AnduinTabsList extends LitElement {
|
|
293
|
+
static styles: CSSResult;
|
|
294
|
+
alignment: string;
|
|
295
|
+
private indicator;
|
|
296
|
+
private lastActiveValue;
|
|
297
|
+
private resizeObserver;
|
|
298
|
+
connectedCallback(): void;
|
|
299
|
+
firstUpdated(): void;
|
|
300
|
+
disconnectedCallback(): void;
|
|
301
|
+
private animateIndicator;
|
|
302
|
+
render(): TemplateResult<1>;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
declare class AnduinTabTrigger extends LitElement {
|
|
306
|
+
static styles: CSSResult;
|
|
307
|
+
value: string;
|
|
308
|
+
startIcon: string;
|
|
309
|
+
disabled: boolean;
|
|
310
|
+
showBadge: boolean;
|
|
311
|
+
badgeCount: string;
|
|
312
|
+
private isActive;
|
|
313
|
+
connectedCallback(): void;
|
|
314
|
+
private onClick;
|
|
315
|
+
render(): TemplateResult<1>;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
declare class AnduinTag extends LitElement {
|
|
319
|
+
static styles: CSSResult;
|
|
320
|
+
variant: TagVariant;
|
|
321
|
+
icon: string;
|
|
322
|
+
disabled: boolean;
|
|
323
|
+
render(): TemplateResult<1>;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
declare class AnduinTagClose extends LitElement {
|
|
327
|
+
static styles: CSSResult;
|
|
328
|
+
private onClick;
|
|
329
|
+
render(): TemplateResult<1>;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
declare class AnduinTextarea extends LitElement {
|
|
333
|
+
static styles: CSSResult;
|
|
334
|
+
value: string;
|
|
335
|
+
disabled: boolean;
|
|
336
|
+
readonly: boolean;
|
|
337
|
+
placeholder: string;
|
|
338
|
+
inputid: string;
|
|
339
|
+
rows: number;
|
|
340
|
+
status: string;
|
|
341
|
+
private textareaEl;
|
|
342
|
+
connectedCallback(): void;
|
|
343
|
+
updated(): void;
|
|
344
|
+
private onInput;
|
|
345
|
+
render(): TemplateResult<1>;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
declare class AnduinToast extends LitElement {
|
|
349
|
+
static styles: CSSResult;
|
|
350
|
+
variant: ToastVariant;
|
|
351
|
+
heading: string;
|
|
352
|
+
description: string;
|
|
353
|
+
private _dismissing;
|
|
354
|
+
private _toastEl;
|
|
355
|
+
dismiss(): void;
|
|
356
|
+
private _onClose;
|
|
357
|
+
render(): TemplateResult<1>;
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
declare class AnduinToaster extends LitElement {
|
|
361
|
+
static styles: CSSResult;
|
|
362
|
+
position: ToastPosition;
|
|
363
|
+
private _toasts;
|
|
364
|
+
private _nextId;
|
|
365
|
+
show(opts: ToastOptions): number;
|
|
366
|
+
dismiss(id: number): void;
|
|
367
|
+
private _dismissById;
|
|
368
|
+
private _removeById;
|
|
369
|
+
private _onDismiss;
|
|
370
|
+
render(): TemplateResult<1>;
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
declare class AnduinTooltip extends LitElement {
|
|
374
|
+
static styles: CSSResult;
|
|
375
|
+
disabled: boolean;
|
|
376
|
+
placement: string;
|
|
377
|
+
private triggerElement;
|
|
378
|
+
private contentPopupElement;
|
|
379
|
+
private containingBlockLeft;
|
|
380
|
+
private containingBlockTop;
|
|
381
|
+
private rafId;
|
|
382
|
+
private prevTriggerTop;
|
|
383
|
+
private prevTriggerLeft;
|
|
384
|
+
private isVisible;
|
|
385
|
+
connectedCallback(): void;
|
|
386
|
+
updated(changed: Map<string, unknown>): void;
|
|
387
|
+
disconnectedCallback(): void;
|
|
388
|
+
private maybeStartPositionLoop;
|
|
389
|
+
private startPositionLoop;
|
|
390
|
+
private stopPositionLoop;
|
|
391
|
+
private computeContainingBlockOffset;
|
|
392
|
+
private positionPopup;
|
|
393
|
+
private broadcastVisibilityChanged;
|
|
394
|
+
render(): TemplateResult<1>;
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
declare class AnduinTooltipContent extends LitElement {
|
|
398
|
+
static styles: CSSResult;
|
|
399
|
+
private graceArea;
|
|
400
|
+
private triggerEl;
|
|
401
|
+
private popupEl;
|
|
402
|
+
private handlePointerMove;
|
|
403
|
+
private handleTriggerLeave;
|
|
404
|
+
private handleContentLeave;
|
|
405
|
+
connectedCallback(): void;
|
|
406
|
+
disconnectedCallback(): void;
|
|
407
|
+
private createGraceArea;
|
|
408
|
+
private setupGraceAreaListeners;
|
|
409
|
+
private cleanupGraceAreaListeners;
|
|
410
|
+
private showPopup;
|
|
411
|
+
private hidePopup;
|
|
412
|
+
render(): TemplateResult<1>;
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
declare class AnduinTooltipTrigger extends LitElement {
|
|
416
|
+
static styles: CSSResult;
|
|
417
|
+
firstUpdated(): void;
|
|
418
|
+
render(): TemplateResult<1>;
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
declare class AnduinWell extends LitElement {
|
|
422
|
+
static styles: CSSResult;
|
|
423
|
+
variant: string;
|
|
424
|
+
render(): TemplateResult<1>;
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
declare class AnduinWellClose extends LitElement {
|
|
428
|
+
static styles: CSSResult;
|
|
429
|
+
private onClick;
|
|
430
|
+
render(): TemplateResult<1>;
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
export declare const Avatar: ReactWebComponent<AnduinAvatar, {}>;
|
|
434
|
+
|
|
435
|
+
declare type AvatarShape = 'circle' | 'rounded';
|
|
436
|
+
|
|
437
|
+
declare type AvatarSize = 16 | 20 | 24 | 32;
|
|
438
|
+
|
|
439
|
+
export declare const Badge: ReactWebComponent<AnduinBadge, {}>;
|
|
440
|
+
|
|
441
|
+
export declare const BadgeCount: ReactWebComponent<AnduinBadgeCount, {}>;
|
|
442
|
+
|
|
443
|
+
export declare const Button: ReactWebComponent<AnduinButton, {}>;
|
|
444
|
+
|
|
445
|
+
declare type ButtonAppearance = 'filled' | 'outlined' | 'plain' | 'text';
|
|
446
|
+
|
|
447
|
+
declare type ButtonSize = 'tiny' | 'extraSmall' | 'small' | 'medium' | 'large' | 'free';
|
|
448
|
+
|
|
449
|
+
declare type ButtonVariant = 'gray0' | 'gray9' | 'primary' | 'danger' | 'success' | 'warning';
|
|
450
|
+
|
|
451
|
+
export declare const Callout: ReactWebComponent<AnduinCallout, {}>;
|
|
452
|
+
|
|
453
|
+
export declare const Checkbox: ReactWebComponent<AnduinCheckbox, {
|
|
454
|
+
onChange: string;
|
|
455
|
+
}>;
|
|
456
|
+
|
|
457
|
+
export declare const CHECKBOX_CHANGE = "anduin-checkbox:change";
|
|
458
|
+
|
|
459
|
+
export declare const Divider: ReactWebComponent<AnduinDivider, {}>;
|
|
460
|
+
|
|
461
|
+
export declare const Dot: ReactWebComponent<AnduinDot, {}>;
|
|
462
|
+
|
|
463
|
+
export declare const Field: ReactWebComponent<AnduinField, {}>;
|
|
464
|
+
|
|
465
|
+
export declare const FieldDescription: ReactWebComponent<AnduinFieldDescription, {}>;
|
|
466
|
+
|
|
467
|
+
export declare const FieldError: ReactWebComponent<AnduinFieldError, {}>;
|
|
468
|
+
|
|
469
|
+
export declare const FieldGroup: ReactWebComponent<AnduinFieldGroup, {}>;
|
|
470
|
+
|
|
471
|
+
export declare const FieldLabel: ReactWebComponent<AnduinFieldLabel, {}>;
|
|
472
|
+
|
|
473
|
+
export declare const FileIcon: ReactWebComponent<AnduinFileIcon, {}>;
|
|
474
|
+
|
|
475
|
+
declare type FileIconSize = 16 | 24 | 32;
|
|
476
|
+
|
|
477
|
+
export declare const Icon: ReactWebComponent<AnduinIcon, {}>;
|
|
478
|
+
|
|
479
|
+
export declare const Input: ReactWebComponent<AnduinInput, {
|
|
480
|
+
onChange: string;
|
|
481
|
+
onClear: string;
|
|
482
|
+
}>;
|
|
483
|
+
|
|
484
|
+
export declare const INPUT_CHANGE = "anduin-input:change";
|
|
485
|
+
|
|
486
|
+
export declare const INPUT_CLEAR = "anduin-input:clear";
|
|
487
|
+
|
|
488
|
+
export declare const LoadingState: ReactWebComponent<AnduinLoadingState, {}>;
|
|
489
|
+
|
|
490
|
+
export declare const Menu: ReactWebComponent<AnduinMenu, {}>;
|
|
491
|
+
|
|
492
|
+
export declare const MENU_ITEM_CLICK = "anduin-menu-item:click";
|
|
493
|
+
|
|
494
|
+
export declare const MenuItem: ReactWebComponent<AnduinMenuItem, {
|
|
495
|
+
onClick: string;
|
|
496
|
+
}>;
|
|
497
|
+
|
|
498
|
+
export declare const Modal: ReactWebComponent<AnduinModal, {
|
|
499
|
+
onClose: string;
|
|
500
|
+
}>;
|
|
501
|
+
|
|
502
|
+
/** Event fired when the modal requests to close. Use with addEventListener since the
|
|
503
|
+
* hyphenated name can't be expressed as a JSX prop (onAnduinClose won't work).
|
|
504
|
+
* @example
|
|
505
|
+
* ref.current.addEventListener(MODAL_CLOSE_EVENT, () => setOpen(false))
|
|
506
|
+
*/
|
|
507
|
+
export declare const MODAL_CLOSE_EVENT = "anduin-close";
|
|
508
|
+
|
|
509
|
+
export declare const ModalClose: ReactWebComponent<AnduinModalClose, {}>;
|
|
510
|
+
|
|
511
|
+
export declare const Popover: ReactWebComponent<AnduinPopover, {}>;
|
|
512
|
+
|
|
513
|
+
export declare const PopoverClose: ReactWebComponent<AnduinPopoverClose, {}>;
|
|
514
|
+
|
|
515
|
+
export declare const Progress: ReactWebComponent<AnduinProgress, {}>;
|
|
516
|
+
|
|
517
|
+
export declare const Skeleton: ReactWebComponent<AnduinSkeleton, {}>;
|
|
518
|
+
|
|
519
|
+
export declare const Spinner: ReactWebComponent<AnduinSpinner, {}>;
|
|
520
|
+
|
|
521
|
+
export declare const TAB_CHANGE = "anduin-tab:change";
|
|
522
|
+
|
|
523
|
+
export declare const TabContent: ReactWebComponent<AnduinTabContent, {}>;
|
|
524
|
+
|
|
525
|
+
export declare const Tabs: ReactWebComponent<AnduinTabs, {
|
|
526
|
+
onChange: string;
|
|
527
|
+
}>;
|
|
528
|
+
|
|
529
|
+
export declare const TabsList: ReactWebComponent<AnduinTabsList, {}>;
|
|
530
|
+
|
|
531
|
+
export declare const TabTrigger: ReactWebComponent<AnduinTabTrigger, {}>;
|
|
532
|
+
|
|
533
|
+
export declare const Tag: ReactWebComponent<AnduinTag, {}>;
|
|
534
|
+
|
|
535
|
+
export declare const TAG_CLOSE_CLICK = "anduin-tag-close:click";
|
|
536
|
+
|
|
537
|
+
export declare const TagClose: ReactWebComponent<AnduinTagClose, {
|
|
538
|
+
onClick: string;
|
|
539
|
+
}>;
|
|
540
|
+
|
|
541
|
+
declare type TagVariant = 'gray' | 'primary' | 'success' | 'warning' | 'danger' | 'boldGray' | 'boldPrimary' | 'boldSuccess' | 'boldWarning' | 'boldDanger' | 'customAqua' | 'customBlue' | 'customBlueGreen' | 'customGreen' | 'customHotPink' | 'customIndigo' | 'customMagenta' | 'customOrange' | 'customPink' | 'customPurple' | 'customRed' | 'customYellow' | 'customYellowGreen' | 'customYellowOrange';
|
|
542
|
+
|
|
543
|
+
export declare const Textarea: ReactWebComponent<AnduinTextarea, {
|
|
544
|
+
onChange: string;
|
|
545
|
+
}>;
|
|
546
|
+
|
|
547
|
+
export declare const TEXTAREA_CHANGE = "anduin-textarea:change";
|
|
548
|
+
|
|
549
|
+
export declare const Toast: ReactWebComponent<AnduinToast, {}>;
|
|
550
|
+
|
|
551
|
+
export declare const Toaster: ReactWebComponent<AnduinToaster, {}>;
|
|
552
|
+
|
|
553
|
+
declare interface ToastOptions {
|
|
554
|
+
variant?: ToastVariant;
|
|
555
|
+
heading?: string;
|
|
556
|
+
description?: string;
|
|
557
|
+
duration?: number;
|
|
558
|
+
position?: ToastPosition;
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
declare type ToastPosition = "top-left" | "top-center" | "top-right" | "bottom-left" | "bottom-center" | "bottom-right";
|
|
562
|
+
|
|
563
|
+
declare type ToastVariant = "gray" | "primary" | "success" | "warning" | "danger";
|
|
564
|
+
|
|
565
|
+
export declare const Tooltip: ReactWebComponent<AnduinTooltip, {}>;
|
|
566
|
+
|
|
567
|
+
export declare const TooltipContent: ReactWebComponent<AnduinTooltipContent, {}>;
|
|
568
|
+
|
|
569
|
+
export declare const TooltipTrigger: ReactWebComponent<AnduinTooltipTrigger, {}>;
|
|
570
|
+
|
|
571
|
+
export declare const Well: ReactWebComponent<AnduinWell, {}>;
|
|
572
|
+
|
|
573
|
+
export declare const WELL_CLOSE_CLICK = "anduin-well-close:click";
|
|
574
|
+
|
|
575
|
+
export declare const WellClose: ReactWebComponent<AnduinWellClose, {
|
|
576
|
+
onClick: string;
|
|
577
|
+
}>;
|
|
578
|
+
|
|
579
|
+
export { }
|