@emuanalytics/flow-rdf-ui 4.0.17 → 4.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.
- package/dist/components/split-view/split-view.component.mjs +2 -2
- package/dist/components/split-view-pane/split-view-pane.component.mjs +3 -3
- package/dist/components/split-view-toggle-button/split-view-toggle-button.component.mjs +1 -1
- package/dist/components/tree/tree.component.mjs +7 -0
- package/dist/custom-elements.json +441 -428
- package/dist/index.d.mts +6 -5
- package/dist/index.d.ts +6 -5
- package/dist/package.json.mjs +1 -1
- package/dist/vscode.html-custom-data.json +77 -77
- package/package.json +1 -1
|
@@ -77,8 +77,8 @@ class FlowUiSplitView extends FlowRdfElement {
|
|
|
77
77
|
@flow-ui-drag-start=${this.handleDragStart}
|
|
78
78
|
@flow-ui-drag-end=${this.handleDragEnd}
|
|
79
79
|
@pointerleave=${this.handlePointerLeave}
|
|
80
|
-
@flow-ui-collapse
|
|
81
|
-
@flow-ui-expand
|
|
80
|
+
@flow-ui-collapse=${this.handleCollapseExpand}
|
|
81
|
+
@flow-ui-expand=${this.handleCollapseExpand}
|
|
82
82
|
@transitionend=${this.handleTransitionEnd}
|
|
83
83
|
style=${styleMap({
|
|
84
84
|
[gridTemplateProperty]: this.positions.join(" ")
|
|
@@ -55,7 +55,7 @@ class FlowUiSplitViewPane extends FlowRdfElement {
|
|
|
55
55
|
if (!this.closed) {
|
|
56
56
|
this.closed = true;
|
|
57
57
|
if (emitEvent) {
|
|
58
|
-
this.emit("flow-ui-collapse
|
|
58
|
+
this.emit("flow-ui-collapse");
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
}
|
|
@@ -69,8 +69,8 @@ class FlowUiSplitViewPane extends FlowRdfElement {
|
|
|
69
69
|
"split-view-pane--hidden": this.hidden,
|
|
70
70
|
"split-view-pane--closed": this.closed
|
|
71
71
|
})}
|
|
72
|
-
@flow-ui-expand
|
|
73
|
-
@flow-ui-collapse
|
|
72
|
+
@flow-ui-expand=${this.expand}
|
|
73
|
+
@flow-ui-collapse=${this.collapse}
|
|
74
74
|
>
|
|
75
75
|
<div part="contents" class="split-view-pane__contents">
|
|
76
76
|
<slot></slot>
|
|
@@ -48,7 +48,7 @@ class FlowUiSplitViewToggleButton extends FlowUiIconButton {
|
|
|
48
48
|
handleClick(event) {
|
|
49
49
|
super.handleClick(event);
|
|
50
50
|
this.closed = !this.closed;
|
|
51
|
-
this.emit(this.closed ? "flow-ui-collapse
|
|
51
|
+
this.emit(this.closed ? "flow-ui-collapse" : "flow-ui-expand");
|
|
52
52
|
}
|
|
53
53
|
closestElement(selector, base = this) {
|
|
54
54
|
function __closestFrom(el) {
|
|
@@ -84,6 +84,10 @@ class FlowUiTree extends FlowRdfElement {
|
|
|
84
84
|
this.addEventListener("focusin", this.handleFocusIn);
|
|
85
85
|
this.addEventListener("focusout", this.handleFocusOut);
|
|
86
86
|
this.addEventListener("flow-ui-lazy-change", this.handleSlotChange);
|
|
87
|
+
this.addEventListener("flow-ui-expand", this.handleHostExpandCollapse);
|
|
88
|
+
this.addEventListener("flow-ui-collapse", this.handleHostExpandCollapse);
|
|
89
|
+
this.addEventListener("flow-ui-after-expand", this.handleHostExpandCollapse);
|
|
90
|
+
this.addEventListener("flow-ui-after-collapse", this.handleHostExpandCollapse);
|
|
87
91
|
await this.updateComplete;
|
|
88
92
|
this.mutationObserver = new MutationObserver(this.handleTreeChanged);
|
|
89
93
|
this.mutationObserver.observe(this, { childList: true, subtree: true });
|
|
@@ -252,6 +256,9 @@ class FlowUiTree extends FlowRdfElement {
|
|
|
252
256
|
target.tabIndex = 0;
|
|
253
257
|
}
|
|
254
258
|
}
|
|
259
|
+
handleHostExpandCollapse(event) {
|
|
260
|
+
event.stopPropagation();
|
|
261
|
+
}
|
|
255
262
|
handleSlotChange() {
|
|
256
263
|
const items = this.getAllTreeItems();
|
|
257
264
|
items.forEach(this.initTreeItem);
|
|
@@ -265,433 +265,6 @@
|
|
|
265
265
|
}
|
|
266
266
|
]
|
|
267
267
|
},
|
|
268
|
-
{
|
|
269
|
-
"kind": "javascript-module",
|
|
270
|
-
"path": "components/badge/badge.component.js",
|
|
271
|
-
"declarations": [
|
|
272
|
-
{
|
|
273
|
-
"kind": "class",
|
|
274
|
-
"description": "",
|
|
275
|
-
"name": "FlowUiBadge",
|
|
276
|
-
"cssParts": [
|
|
277
|
-
{
|
|
278
|
-
"description": "The component's base wrapper.",
|
|
279
|
-
"name": "base"
|
|
280
|
-
}
|
|
281
|
-
],
|
|
282
|
-
"slots": [
|
|
283
|
-
{
|
|
284
|
-
"description": "The badge's content.",
|
|
285
|
-
"name": ""
|
|
286
|
-
}
|
|
287
|
-
],
|
|
288
|
-
"members": [
|
|
289
|
-
{
|
|
290
|
-
"kind": "field",
|
|
291
|
-
"name": "variant",
|
|
292
|
-
"type": {
|
|
293
|
-
"text": "'primary' | 'secondary' | 'success' | 'neutral' | 'warning' | 'danger'"
|
|
294
|
-
},
|
|
295
|
-
"default": "'primary'",
|
|
296
|
-
"description": "The badge's theme variant.",
|
|
297
|
-
"attribute": "variant",
|
|
298
|
-
"reflects": true
|
|
299
|
-
},
|
|
300
|
-
{
|
|
301
|
-
"kind": "field",
|
|
302
|
-
"name": "pill",
|
|
303
|
-
"type": {
|
|
304
|
-
"text": "boolean"
|
|
305
|
-
},
|
|
306
|
-
"default": "false",
|
|
307
|
-
"description": "Draws a pill-style badge with rounded edges.",
|
|
308
|
-
"attribute": "pill",
|
|
309
|
-
"reflects": true
|
|
310
|
-
},
|
|
311
|
-
{
|
|
312
|
-
"kind": "field",
|
|
313
|
-
"name": "pulse",
|
|
314
|
-
"type": {
|
|
315
|
-
"text": "boolean"
|
|
316
|
-
},
|
|
317
|
-
"default": "false",
|
|
318
|
-
"description": "Makes the badge pulsate to draw attention.",
|
|
319
|
-
"attribute": "pulse",
|
|
320
|
-
"reflects": true
|
|
321
|
-
}
|
|
322
|
-
],
|
|
323
|
-
"attributes": [
|
|
324
|
-
{
|
|
325
|
-
"name": "variant",
|
|
326
|
-
"type": {
|
|
327
|
-
"text": "'primary' | 'secondary' | 'success' | 'neutral' | 'warning' | 'danger'"
|
|
328
|
-
},
|
|
329
|
-
"default": "'primary'",
|
|
330
|
-
"description": "The badge's theme variant.",
|
|
331
|
-
"fieldName": "variant"
|
|
332
|
-
},
|
|
333
|
-
{
|
|
334
|
-
"name": "pill",
|
|
335
|
-
"type": {
|
|
336
|
-
"text": "boolean"
|
|
337
|
-
},
|
|
338
|
-
"default": "false",
|
|
339
|
-
"description": "Draws a pill-style badge with rounded edges.",
|
|
340
|
-
"fieldName": "pill"
|
|
341
|
-
},
|
|
342
|
-
{
|
|
343
|
-
"name": "pulse",
|
|
344
|
-
"type": {
|
|
345
|
-
"text": "boolean"
|
|
346
|
-
},
|
|
347
|
-
"default": "false",
|
|
348
|
-
"description": "Makes the badge pulsate to draw attention.",
|
|
349
|
-
"fieldName": "pulse"
|
|
350
|
-
}
|
|
351
|
-
],
|
|
352
|
-
"superclass": {
|
|
353
|
-
"name": "FlowRdfElement",
|
|
354
|
-
"module": "/src/internal/flow-ui-rdf-element"
|
|
355
|
-
},
|
|
356
|
-
"tagName": "flow-ui-badge",
|
|
357
|
-
"summary": "Badges are used to draw attention and display statuses or counts.",
|
|
358
|
-
"customElement": true
|
|
359
|
-
}
|
|
360
|
-
],
|
|
361
|
-
"exports": [
|
|
362
|
-
{
|
|
363
|
-
"kind": "js",
|
|
364
|
-
"name": "default",
|
|
365
|
-
"declaration": {
|
|
366
|
-
"name": "FlowUiBadge",
|
|
367
|
-
"module": "components/badge/badge.component.js"
|
|
368
|
-
}
|
|
369
|
-
}
|
|
370
|
-
]
|
|
371
|
-
},
|
|
372
|
-
{
|
|
373
|
-
"kind": "javascript-module",
|
|
374
|
-
"path": "components/badge/badge.js",
|
|
375
|
-
"declarations": [],
|
|
376
|
-
"exports": [
|
|
377
|
-
{
|
|
378
|
-
"kind": "js",
|
|
379
|
-
"name": "default",
|
|
380
|
-
"declaration": {
|
|
381
|
-
"name": "FlowUiBadge",
|
|
382
|
-
"module": "components/badge/badge.js"
|
|
383
|
-
}
|
|
384
|
-
}
|
|
385
|
-
]
|
|
386
|
-
},
|
|
387
|
-
{
|
|
388
|
-
"kind": "javascript-module",
|
|
389
|
-
"path": "components/avatar/avatar.component.js",
|
|
390
|
-
"declarations": [
|
|
391
|
-
{
|
|
392
|
-
"kind": "class",
|
|
393
|
-
"description": "",
|
|
394
|
-
"name": "FlowUiAvatar",
|
|
395
|
-
"cssProperties": [
|
|
396
|
-
{
|
|
397
|
-
"description": "The size of the avatar.",
|
|
398
|
-
"name": "--size"
|
|
399
|
-
}
|
|
400
|
-
],
|
|
401
|
-
"cssParts": [
|
|
402
|
-
{
|
|
403
|
-
"description": "The component's base wrapper.",
|
|
404
|
-
"name": "base"
|
|
405
|
-
},
|
|
406
|
-
{
|
|
407
|
-
"description": "The container that wraps the avatar's icon.",
|
|
408
|
-
"name": "icon"
|
|
409
|
-
},
|
|
410
|
-
{
|
|
411
|
-
"description": "The container that wraps the avatar's initials.",
|
|
412
|
-
"name": "initials"
|
|
413
|
-
},
|
|
414
|
-
{
|
|
415
|
-
"description": "The avatar image. Only shown when the `image` attribute is set.",
|
|
416
|
-
"name": "image"
|
|
417
|
-
}
|
|
418
|
-
],
|
|
419
|
-
"slots": [
|
|
420
|
-
{
|
|
421
|
-
"description": "The default icon to use when no image or initials are present. Works best with `<flow-ui-icon>`.",
|
|
422
|
-
"name": "icon"
|
|
423
|
-
}
|
|
424
|
-
],
|
|
425
|
-
"members": [
|
|
426
|
-
{
|
|
427
|
-
"kind": "field",
|
|
428
|
-
"name": "hasError",
|
|
429
|
-
"type": {
|
|
430
|
-
"text": "boolean"
|
|
431
|
-
},
|
|
432
|
-
"privacy": "private",
|
|
433
|
-
"default": "false"
|
|
434
|
-
},
|
|
435
|
-
{
|
|
436
|
-
"kind": "field",
|
|
437
|
-
"name": "image",
|
|
438
|
-
"type": {
|
|
439
|
-
"text": "string"
|
|
440
|
-
},
|
|
441
|
-
"default": "''",
|
|
442
|
-
"description": "The image source to use for the avatar.",
|
|
443
|
-
"attribute": "image"
|
|
444
|
-
},
|
|
445
|
-
{
|
|
446
|
-
"kind": "field",
|
|
447
|
-
"name": "label",
|
|
448
|
-
"type": {
|
|
449
|
-
"text": "string"
|
|
450
|
-
},
|
|
451
|
-
"default": "''",
|
|
452
|
-
"description": "A label to use to describe the avatar to assistive devices.",
|
|
453
|
-
"attribute": "label"
|
|
454
|
-
},
|
|
455
|
-
{
|
|
456
|
-
"kind": "field",
|
|
457
|
-
"name": "initials",
|
|
458
|
-
"type": {
|
|
459
|
-
"text": "string"
|
|
460
|
-
},
|
|
461
|
-
"default": "''",
|
|
462
|
-
"description": "Initials to use as a fallback when no image is available (1-2 characters max recommended).",
|
|
463
|
-
"attribute": "initials"
|
|
464
|
-
},
|
|
465
|
-
{
|
|
466
|
-
"kind": "field",
|
|
467
|
-
"name": "loading",
|
|
468
|
-
"type": {
|
|
469
|
-
"text": "'eager' | 'lazy'"
|
|
470
|
-
},
|
|
471
|
-
"default": "'eager'",
|
|
472
|
-
"description": "Indicates how the browser should load the image.",
|
|
473
|
-
"attribute": "loading"
|
|
474
|
-
},
|
|
475
|
-
{
|
|
476
|
-
"kind": "field",
|
|
477
|
-
"name": "shape",
|
|
478
|
-
"type": {
|
|
479
|
-
"text": "'circle' | 'square' | 'rounded'"
|
|
480
|
-
},
|
|
481
|
-
"default": "'circle'",
|
|
482
|
-
"description": "The shape of the avatar.",
|
|
483
|
-
"attribute": "shape",
|
|
484
|
-
"reflects": true
|
|
485
|
-
}
|
|
486
|
-
],
|
|
487
|
-
"attributes": [
|
|
488
|
-
{
|
|
489
|
-
"name": "image",
|
|
490
|
-
"type": {
|
|
491
|
-
"text": "string"
|
|
492
|
-
},
|
|
493
|
-
"default": "''",
|
|
494
|
-
"description": "The image source to use for the avatar.",
|
|
495
|
-
"fieldName": "image"
|
|
496
|
-
},
|
|
497
|
-
{
|
|
498
|
-
"name": "label",
|
|
499
|
-
"type": {
|
|
500
|
-
"text": "string"
|
|
501
|
-
},
|
|
502
|
-
"default": "''",
|
|
503
|
-
"description": "A label to use to describe the avatar to assistive devices.",
|
|
504
|
-
"fieldName": "label"
|
|
505
|
-
},
|
|
506
|
-
{
|
|
507
|
-
"name": "initials",
|
|
508
|
-
"type": {
|
|
509
|
-
"text": "string"
|
|
510
|
-
},
|
|
511
|
-
"default": "''",
|
|
512
|
-
"description": "Initials to use as a fallback when no image is available (1-2 characters max recommended).",
|
|
513
|
-
"fieldName": "initials"
|
|
514
|
-
},
|
|
515
|
-
{
|
|
516
|
-
"name": "loading",
|
|
517
|
-
"type": {
|
|
518
|
-
"text": "'eager' | 'lazy'"
|
|
519
|
-
},
|
|
520
|
-
"default": "'eager'",
|
|
521
|
-
"description": "Indicates how the browser should load the image.",
|
|
522
|
-
"fieldName": "loading"
|
|
523
|
-
},
|
|
524
|
-
{
|
|
525
|
-
"name": "shape",
|
|
526
|
-
"type": {
|
|
527
|
-
"text": "'circle' | 'square' | 'rounded'"
|
|
528
|
-
},
|
|
529
|
-
"default": "'circle'",
|
|
530
|
-
"description": "The shape of the avatar.",
|
|
531
|
-
"fieldName": "shape"
|
|
532
|
-
}
|
|
533
|
-
],
|
|
534
|
-
"superclass": {
|
|
535
|
-
"name": "FlowRdfElement",
|
|
536
|
-
"module": "/src/internal/flow-ui-rdf-element"
|
|
537
|
-
},
|
|
538
|
-
"tagName": "flow-ui-avatar",
|
|
539
|
-
"summary": "Avatars are used to represent a person or object.",
|
|
540
|
-
"dependencies": [
|
|
541
|
-
"flow-ui-icon"
|
|
542
|
-
],
|
|
543
|
-
"customElement": true
|
|
544
|
-
}
|
|
545
|
-
],
|
|
546
|
-
"exports": [
|
|
547
|
-
{
|
|
548
|
-
"kind": "js",
|
|
549
|
-
"name": "default",
|
|
550
|
-
"declaration": {
|
|
551
|
-
"name": "FlowUiAvatar",
|
|
552
|
-
"module": "components/avatar/avatar.component.js"
|
|
553
|
-
}
|
|
554
|
-
}
|
|
555
|
-
]
|
|
556
|
-
},
|
|
557
|
-
{
|
|
558
|
-
"kind": "javascript-module",
|
|
559
|
-
"path": "components/avatar/avatar.js",
|
|
560
|
-
"declarations": [],
|
|
561
|
-
"exports": [
|
|
562
|
-
{
|
|
563
|
-
"kind": "js",
|
|
564
|
-
"name": "default",
|
|
565
|
-
"declaration": {
|
|
566
|
-
"name": "FlowUiAvatar",
|
|
567
|
-
"module": "components/avatar/avatar.js"
|
|
568
|
-
}
|
|
569
|
-
}
|
|
570
|
-
]
|
|
571
|
-
},
|
|
572
|
-
{
|
|
573
|
-
"kind": "javascript-module",
|
|
574
|
-
"path": "components/breadcrumb/breadcrumb.component.js",
|
|
575
|
-
"declarations": [
|
|
576
|
-
{
|
|
577
|
-
"kind": "class",
|
|
578
|
-
"description": "",
|
|
579
|
-
"name": "FlowUiBreadcrumb",
|
|
580
|
-
"cssParts": [
|
|
581
|
-
{
|
|
582
|
-
"description": "The component's base wrapper.",
|
|
583
|
-
"name": "base"
|
|
584
|
-
}
|
|
585
|
-
],
|
|
586
|
-
"slots": [
|
|
587
|
-
{
|
|
588
|
-
"description": "One or more breadcrumb items to display.",
|
|
589
|
-
"name": ""
|
|
590
|
-
},
|
|
591
|
-
{
|
|
592
|
-
"description": "The separator to use between breadcrumb items. Works best with `<flow-ui-icon>`.",
|
|
593
|
-
"name": "separator"
|
|
594
|
-
}
|
|
595
|
-
],
|
|
596
|
-
"members": [
|
|
597
|
-
{
|
|
598
|
-
"kind": "field",
|
|
599
|
-
"name": "localize",
|
|
600
|
-
"privacy": "private",
|
|
601
|
-
"readonly": true,
|
|
602
|
-
"default": "new LocalizeController(this)"
|
|
603
|
-
},
|
|
604
|
-
{
|
|
605
|
-
"kind": "field",
|
|
606
|
-
"name": "separatorDir",
|
|
607
|
-
"privacy": "private"
|
|
608
|
-
},
|
|
609
|
-
{
|
|
610
|
-
"kind": "field",
|
|
611
|
-
"name": "defaultSlot",
|
|
612
|
-
"type": {
|
|
613
|
-
"text": "HTMLSlotElement"
|
|
614
|
-
},
|
|
615
|
-
"privacy": "private"
|
|
616
|
-
},
|
|
617
|
-
{
|
|
618
|
-
"kind": "field",
|
|
619
|
-
"name": "separatorSlot",
|
|
620
|
-
"type": {
|
|
621
|
-
"text": "HTMLSlotElement"
|
|
622
|
-
},
|
|
623
|
-
"privacy": "private"
|
|
624
|
-
},
|
|
625
|
-
{
|
|
626
|
-
"kind": "field",
|
|
627
|
-
"name": "label",
|
|
628
|
-
"type": {
|
|
629
|
-
"text": "string"
|
|
630
|
-
},
|
|
631
|
-
"default": "''",
|
|
632
|
-
"description": "The label to use for the breadcrumb control. This will not be shown on the screen, but it will be announced by\nscreen readers and other assistive devices to provide more context for users.",
|
|
633
|
-
"attribute": "label"
|
|
634
|
-
},
|
|
635
|
-
{
|
|
636
|
-
"kind": "method",
|
|
637
|
-
"name": "getSeparator",
|
|
638
|
-
"privacy": "private"
|
|
639
|
-
},
|
|
640
|
-
{
|
|
641
|
-
"kind": "method",
|
|
642
|
-
"name": "handleSlotChange",
|
|
643
|
-
"privacy": "private"
|
|
644
|
-
}
|
|
645
|
-
],
|
|
646
|
-
"attributes": [
|
|
647
|
-
{
|
|
648
|
-
"name": "label",
|
|
649
|
-
"type": {
|
|
650
|
-
"text": "string"
|
|
651
|
-
},
|
|
652
|
-
"default": "''",
|
|
653
|
-
"description": "The label to use for the breadcrumb control. This will not be shown on the screen, but it will be announced by\nscreen readers and other assistive devices to provide more context for users.",
|
|
654
|
-
"fieldName": "label"
|
|
655
|
-
}
|
|
656
|
-
],
|
|
657
|
-
"superclass": {
|
|
658
|
-
"name": "FlowRdfElement",
|
|
659
|
-
"module": "/src/internal/flow-ui-rdf-element"
|
|
660
|
-
},
|
|
661
|
-
"tagName": "flow-ui-breadcrumb",
|
|
662
|
-
"summary": "Breadcrumbs provide a group of links so users can easily navigate a website's hierarchy.",
|
|
663
|
-
"dependencies": [
|
|
664
|
-
"flow-ui-icon"
|
|
665
|
-
],
|
|
666
|
-
"customElement": true
|
|
667
|
-
}
|
|
668
|
-
],
|
|
669
|
-
"exports": [
|
|
670
|
-
{
|
|
671
|
-
"kind": "js",
|
|
672
|
-
"name": "default",
|
|
673
|
-
"declaration": {
|
|
674
|
-
"name": "FlowUiBreadcrumb",
|
|
675
|
-
"module": "components/breadcrumb/breadcrumb.component.js"
|
|
676
|
-
}
|
|
677
|
-
}
|
|
678
|
-
]
|
|
679
|
-
},
|
|
680
|
-
{
|
|
681
|
-
"kind": "javascript-module",
|
|
682
|
-
"path": "components/breadcrumb/breadcrumb.js",
|
|
683
|
-
"declarations": [],
|
|
684
|
-
"exports": [
|
|
685
|
-
{
|
|
686
|
-
"kind": "js",
|
|
687
|
-
"name": "default",
|
|
688
|
-
"declaration": {
|
|
689
|
-
"name": "FlowUiBreadcrumb",
|
|
690
|
-
"module": "components/breadcrumb/breadcrumb.js"
|
|
691
|
-
}
|
|
692
|
-
}
|
|
693
|
-
]
|
|
694
|
-
},
|
|
695
268
|
{
|
|
696
269
|
"kind": "javascript-module",
|
|
697
270
|
"path": "components/animation/animation.component.js",
|
|
@@ -1095,6 +668,191 @@
|
|
|
1095
668
|
}
|
|
1096
669
|
]
|
|
1097
670
|
},
|
|
671
|
+
{
|
|
672
|
+
"kind": "javascript-module",
|
|
673
|
+
"path": "components/avatar/avatar.component.js",
|
|
674
|
+
"declarations": [
|
|
675
|
+
{
|
|
676
|
+
"kind": "class",
|
|
677
|
+
"description": "",
|
|
678
|
+
"name": "FlowUiAvatar",
|
|
679
|
+
"cssProperties": [
|
|
680
|
+
{
|
|
681
|
+
"description": "The size of the avatar.",
|
|
682
|
+
"name": "--size"
|
|
683
|
+
}
|
|
684
|
+
],
|
|
685
|
+
"cssParts": [
|
|
686
|
+
{
|
|
687
|
+
"description": "The component's base wrapper.",
|
|
688
|
+
"name": "base"
|
|
689
|
+
},
|
|
690
|
+
{
|
|
691
|
+
"description": "The container that wraps the avatar's icon.",
|
|
692
|
+
"name": "icon"
|
|
693
|
+
},
|
|
694
|
+
{
|
|
695
|
+
"description": "The container that wraps the avatar's initials.",
|
|
696
|
+
"name": "initials"
|
|
697
|
+
},
|
|
698
|
+
{
|
|
699
|
+
"description": "The avatar image. Only shown when the `image` attribute is set.",
|
|
700
|
+
"name": "image"
|
|
701
|
+
}
|
|
702
|
+
],
|
|
703
|
+
"slots": [
|
|
704
|
+
{
|
|
705
|
+
"description": "The default icon to use when no image or initials are present. Works best with `<flow-ui-icon>`.",
|
|
706
|
+
"name": "icon"
|
|
707
|
+
}
|
|
708
|
+
],
|
|
709
|
+
"members": [
|
|
710
|
+
{
|
|
711
|
+
"kind": "field",
|
|
712
|
+
"name": "hasError",
|
|
713
|
+
"type": {
|
|
714
|
+
"text": "boolean"
|
|
715
|
+
},
|
|
716
|
+
"privacy": "private",
|
|
717
|
+
"default": "false"
|
|
718
|
+
},
|
|
719
|
+
{
|
|
720
|
+
"kind": "field",
|
|
721
|
+
"name": "image",
|
|
722
|
+
"type": {
|
|
723
|
+
"text": "string"
|
|
724
|
+
},
|
|
725
|
+
"default": "''",
|
|
726
|
+
"description": "The image source to use for the avatar.",
|
|
727
|
+
"attribute": "image"
|
|
728
|
+
},
|
|
729
|
+
{
|
|
730
|
+
"kind": "field",
|
|
731
|
+
"name": "label",
|
|
732
|
+
"type": {
|
|
733
|
+
"text": "string"
|
|
734
|
+
},
|
|
735
|
+
"default": "''",
|
|
736
|
+
"description": "A label to use to describe the avatar to assistive devices.",
|
|
737
|
+
"attribute": "label"
|
|
738
|
+
},
|
|
739
|
+
{
|
|
740
|
+
"kind": "field",
|
|
741
|
+
"name": "initials",
|
|
742
|
+
"type": {
|
|
743
|
+
"text": "string"
|
|
744
|
+
},
|
|
745
|
+
"default": "''",
|
|
746
|
+
"description": "Initials to use as a fallback when no image is available (1-2 characters max recommended).",
|
|
747
|
+
"attribute": "initials"
|
|
748
|
+
},
|
|
749
|
+
{
|
|
750
|
+
"kind": "field",
|
|
751
|
+
"name": "loading",
|
|
752
|
+
"type": {
|
|
753
|
+
"text": "'eager' | 'lazy'"
|
|
754
|
+
},
|
|
755
|
+
"default": "'eager'",
|
|
756
|
+
"description": "Indicates how the browser should load the image.",
|
|
757
|
+
"attribute": "loading"
|
|
758
|
+
},
|
|
759
|
+
{
|
|
760
|
+
"kind": "field",
|
|
761
|
+
"name": "shape",
|
|
762
|
+
"type": {
|
|
763
|
+
"text": "'circle' | 'square' | 'rounded'"
|
|
764
|
+
},
|
|
765
|
+
"default": "'circle'",
|
|
766
|
+
"description": "The shape of the avatar.",
|
|
767
|
+
"attribute": "shape",
|
|
768
|
+
"reflects": true
|
|
769
|
+
}
|
|
770
|
+
],
|
|
771
|
+
"attributes": [
|
|
772
|
+
{
|
|
773
|
+
"name": "image",
|
|
774
|
+
"type": {
|
|
775
|
+
"text": "string"
|
|
776
|
+
},
|
|
777
|
+
"default": "''",
|
|
778
|
+
"description": "The image source to use for the avatar.",
|
|
779
|
+
"fieldName": "image"
|
|
780
|
+
},
|
|
781
|
+
{
|
|
782
|
+
"name": "label",
|
|
783
|
+
"type": {
|
|
784
|
+
"text": "string"
|
|
785
|
+
},
|
|
786
|
+
"default": "''",
|
|
787
|
+
"description": "A label to use to describe the avatar to assistive devices.",
|
|
788
|
+
"fieldName": "label"
|
|
789
|
+
},
|
|
790
|
+
{
|
|
791
|
+
"name": "initials",
|
|
792
|
+
"type": {
|
|
793
|
+
"text": "string"
|
|
794
|
+
},
|
|
795
|
+
"default": "''",
|
|
796
|
+
"description": "Initials to use as a fallback when no image is available (1-2 characters max recommended).",
|
|
797
|
+
"fieldName": "initials"
|
|
798
|
+
},
|
|
799
|
+
{
|
|
800
|
+
"name": "loading",
|
|
801
|
+
"type": {
|
|
802
|
+
"text": "'eager' | 'lazy'"
|
|
803
|
+
},
|
|
804
|
+
"default": "'eager'",
|
|
805
|
+
"description": "Indicates how the browser should load the image.",
|
|
806
|
+
"fieldName": "loading"
|
|
807
|
+
},
|
|
808
|
+
{
|
|
809
|
+
"name": "shape",
|
|
810
|
+
"type": {
|
|
811
|
+
"text": "'circle' | 'square' | 'rounded'"
|
|
812
|
+
},
|
|
813
|
+
"default": "'circle'",
|
|
814
|
+
"description": "The shape of the avatar.",
|
|
815
|
+
"fieldName": "shape"
|
|
816
|
+
}
|
|
817
|
+
],
|
|
818
|
+
"superclass": {
|
|
819
|
+
"name": "FlowRdfElement",
|
|
820
|
+
"module": "/src/internal/flow-ui-rdf-element"
|
|
821
|
+
},
|
|
822
|
+
"tagName": "flow-ui-avatar",
|
|
823
|
+
"summary": "Avatars are used to represent a person or object.",
|
|
824
|
+
"dependencies": [
|
|
825
|
+
"flow-ui-icon"
|
|
826
|
+
],
|
|
827
|
+
"customElement": true
|
|
828
|
+
}
|
|
829
|
+
],
|
|
830
|
+
"exports": [
|
|
831
|
+
{
|
|
832
|
+
"kind": "js",
|
|
833
|
+
"name": "default",
|
|
834
|
+
"declaration": {
|
|
835
|
+
"name": "FlowUiAvatar",
|
|
836
|
+
"module": "components/avatar/avatar.component.js"
|
|
837
|
+
}
|
|
838
|
+
}
|
|
839
|
+
]
|
|
840
|
+
},
|
|
841
|
+
{
|
|
842
|
+
"kind": "javascript-module",
|
|
843
|
+
"path": "components/avatar/avatar.js",
|
|
844
|
+
"declarations": [],
|
|
845
|
+
"exports": [
|
|
846
|
+
{
|
|
847
|
+
"kind": "js",
|
|
848
|
+
"name": "default",
|
|
849
|
+
"declaration": {
|
|
850
|
+
"name": "FlowUiAvatar",
|
|
851
|
+
"module": "components/avatar/avatar.js"
|
|
852
|
+
}
|
|
853
|
+
}
|
|
854
|
+
]
|
|
855
|
+
},
|
|
1098
856
|
{
|
|
1099
857
|
"kind": "javascript-module",
|
|
1100
858
|
"path": "components/breadcrumb-item/breadcrumb-item.component.js",
|
|
@@ -1242,6 +1000,248 @@
|
|
|
1242
1000
|
}
|
|
1243
1001
|
]
|
|
1244
1002
|
},
|
|
1003
|
+
{
|
|
1004
|
+
"kind": "javascript-module",
|
|
1005
|
+
"path": "components/breadcrumb/breadcrumb.component.js",
|
|
1006
|
+
"declarations": [
|
|
1007
|
+
{
|
|
1008
|
+
"kind": "class",
|
|
1009
|
+
"description": "",
|
|
1010
|
+
"name": "FlowUiBreadcrumb",
|
|
1011
|
+
"cssParts": [
|
|
1012
|
+
{
|
|
1013
|
+
"description": "The component's base wrapper.",
|
|
1014
|
+
"name": "base"
|
|
1015
|
+
}
|
|
1016
|
+
],
|
|
1017
|
+
"slots": [
|
|
1018
|
+
{
|
|
1019
|
+
"description": "One or more breadcrumb items to display.",
|
|
1020
|
+
"name": ""
|
|
1021
|
+
},
|
|
1022
|
+
{
|
|
1023
|
+
"description": "The separator to use between breadcrumb items. Works best with `<flow-ui-icon>`.",
|
|
1024
|
+
"name": "separator"
|
|
1025
|
+
}
|
|
1026
|
+
],
|
|
1027
|
+
"members": [
|
|
1028
|
+
{
|
|
1029
|
+
"kind": "field",
|
|
1030
|
+
"name": "localize",
|
|
1031
|
+
"privacy": "private",
|
|
1032
|
+
"readonly": true,
|
|
1033
|
+
"default": "new LocalizeController(this)"
|
|
1034
|
+
},
|
|
1035
|
+
{
|
|
1036
|
+
"kind": "field",
|
|
1037
|
+
"name": "separatorDir",
|
|
1038
|
+
"privacy": "private"
|
|
1039
|
+
},
|
|
1040
|
+
{
|
|
1041
|
+
"kind": "field",
|
|
1042
|
+
"name": "defaultSlot",
|
|
1043
|
+
"type": {
|
|
1044
|
+
"text": "HTMLSlotElement"
|
|
1045
|
+
},
|
|
1046
|
+
"privacy": "private"
|
|
1047
|
+
},
|
|
1048
|
+
{
|
|
1049
|
+
"kind": "field",
|
|
1050
|
+
"name": "separatorSlot",
|
|
1051
|
+
"type": {
|
|
1052
|
+
"text": "HTMLSlotElement"
|
|
1053
|
+
},
|
|
1054
|
+
"privacy": "private"
|
|
1055
|
+
},
|
|
1056
|
+
{
|
|
1057
|
+
"kind": "field",
|
|
1058
|
+
"name": "label",
|
|
1059
|
+
"type": {
|
|
1060
|
+
"text": "string"
|
|
1061
|
+
},
|
|
1062
|
+
"default": "''",
|
|
1063
|
+
"description": "The label to use for the breadcrumb control. This will not be shown on the screen, but it will be announced by\nscreen readers and other assistive devices to provide more context for users.",
|
|
1064
|
+
"attribute": "label"
|
|
1065
|
+
},
|
|
1066
|
+
{
|
|
1067
|
+
"kind": "method",
|
|
1068
|
+
"name": "getSeparator",
|
|
1069
|
+
"privacy": "private"
|
|
1070
|
+
},
|
|
1071
|
+
{
|
|
1072
|
+
"kind": "method",
|
|
1073
|
+
"name": "handleSlotChange",
|
|
1074
|
+
"privacy": "private"
|
|
1075
|
+
}
|
|
1076
|
+
],
|
|
1077
|
+
"attributes": [
|
|
1078
|
+
{
|
|
1079
|
+
"name": "label",
|
|
1080
|
+
"type": {
|
|
1081
|
+
"text": "string"
|
|
1082
|
+
},
|
|
1083
|
+
"default": "''",
|
|
1084
|
+
"description": "The label to use for the breadcrumb control. This will not be shown on the screen, but it will be announced by\nscreen readers and other assistive devices to provide more context for users.",
|
|
1085
|
+
"fieldName": "label"
|
|
1086
|
+
}
|
|
1087
|
+
],
|
|
1088
|
+
"superclass": {
|
|
1089
|
+
"name": "FlowRdfElement",
|
|
1090
|
+
"module": "/src/internal/flow-ui-rdf-element"
|
|
1091
|
+
},
|
|
1092
|
+
"tagName": "flow-ui-breadcrumb",
|
|
1093
|
+
"summary": "Breadcrumbs provide a group of links so users can easily navigate a website's hierarchy.",
|
|
1094
|
+
"dependencies": [
|
|
1095
|
+
"flow-ui-icon"
|
|
1096
|
+
],
|
|
1097
|
+
"customElement": true
|
|
1098
|
+
}
|
|
1099
|
+
],
|
|
1100
|
+
"exports": [
|
|
1101
|
+
{
|
|
1102
|
+
"kind": "js",
|
|
1103
|
+
"name": "default",
|
|
1104
|
+
"declaration": {
|
|
1105
|
+
"name": "FlowUiBreadcrumb",
|
|
1106
|
+
"module": "components/breadcrumb/breadcrumb.component.js"
|
|
1107
|
+
}
|
|
1108
|
+
}
|
|
1109
|
+
]
|
|
1110
|
+
},
|
|
1111
|
+
{
|
|
1112
|
+
"kind": "javascript-module",
|
|
1113
|
+
"path": "components/breadcrumb/breadcrumb.js",
|
|
1114
|
+
"declarations": [],
|
|
1115
|
+
"exports": [
|
|
1116
|
+
{
|
|
1117
|
+
"kind": "js",
|
|
1118
|
+
"name": "default",
|
|
1119
|
+
"declaration": {
|
|
1120
|
+
"name": "FlowUiBreadcrumb",
|
|
1121
|
+
"module": "components/breadcrumb/breadcrumb.js"
|
|
1122
|
+
}
|
|
1123
|
+
}
|
|
1124
|
+
]
|
|
1125
|
+
},
|
|
1126
|
+
{
|
|
1127
|
+
"kind": "javascript-module",
|
|
1128
|
+
"path": "components/badge/badge.component.js",
|
|
1129
|
+
"declarations": [
|
|
1130
|
+
{
|
|
1131
|
+
"kind": "class",
|
|
1132
|
+
"description": "",
|
|
1133
|
+
"name": "FlowUiBadge",
|
|
1134
|
+
"cssParts": [
|
|
1135
|
+
{
|
|
1136
|
+
"description": "The component's base wrapper.",
|
|
1137
|
+
"name": "base"
|
|
1138
|
+
}
|
|
1139
|
+
],
|
|
1140
|
+
"slots": [
|
|
1141
|
+
{
|
|
1142
|
+
"description": "The badge's content.",
|
|
1143
|
+
"name": ""
|
|
1144
|
+
}
|
|
1145
|
+
],
|
|
1146
|
+
"members": [
|
|
1147
|
+
{
|
|
1148
|
+
"kind": "field",
|
|
1149
|
+
"name": "variant",
|
|
1150
|
+
"type": {
|
|
1151
|
+
"text": "'primary' | 'secondary' | 'success' | 'neutral' | 'warning' | 'danger'"
|
|
1152
|
+
},
|
|
1153
|
+
"default": "'primary'",
|
|
1154
|
+
"description": "The badge's theme variant.",
|
|
1155
|
+
"attribute": "variant",
|
|
1156
|
+
"reflects": true
|
|
1157
|
+
},
|
|
1158
|
+
{
|
|
1159
|
+
"kind": "field",
|
|
1160
|
+
"name": "pill",
|
|
1161
|
+
"type": {
|
|
1162
|
+
"text": "boolean"
|
|
1163
|
+
},
|
|
1164
|
+
"default": "false",
|
|
1165
|
+
"description": "Draws a pill-style badge with rounded edges.",
|
|
1166
|
+
"attribute": "pill",
|
|
1167
|
+
"reflects": true
|
|
1168
|
+
},
|
|
1169
|
+
{
|
|
1170
|
+
"kind": "field",
|
|
1171
|
+
"name": "pulse",
|
|
1172
|
+
"type": {
|
|
1173
|
+
"text": "boolean"
|
|
1174
|
+
},
|
|
1175
|
+
"default": "false",
|
|
1176
|
+
"description": "Makes the badge pulsate to draw attention.",
|
|
1177
|
+
"attribute": "pulse",
|
|
1178
|
+
"reflects": true
|
|
1179
|
+
}
|
|
1180
|
+
],
|
|
1181
|
+
"attributes": [
|
|
1182
|
+
{
|
|
1183
|
+
"name": "variant",
|
|
1184
|
+
"type": {
|
|
1185
|
+
"text": "'primary' | 'secondary' | 'success' | 'neutral' | 'warning' | 'danger'"
|
|
1186
|
+
},
|
|
1187
|
+
"default": "'primary'",
|
|
1188
|
+
"description": "The badge's theme variant.",
|
|
1189
|
+
"fieldName": "variant"
|
|
1190
|
+
},
|
|
1191
|
+
{
|
|
1192
|
+
"name": "pill",
|
|
1193
|
+
"type": {
|
|
1194
|
+
"text": "boolean"
|
|
1195
|
+
},
|
|
1196
|
+
"default": "false",
|
|
1197
|
+
"description": "Draws a pill-style badge with rounded edges.",
|
|
1198
|
+
"fieldName": "pill"
|
|
1199
|
+
},
|
|
1200
|
+
{
|
|
1201
|
+
"name": "pulse",
|
|
1202
|
+
"type": {
|
|
1203
|
+
"text": "boolean"
|
|
1204
|
+
},
|
|
1205
|
+
"default": "false",
|
|
1206
|
+
"description": "Makes the badge pulsate to draw attention.",
|
|
1207
|
+
"fieldName": "pulse"
|
|
1208
|
+
}
|
|
1209
|
+
],
|
|
1210
|
+
"superclass": {
|
|
1211
|
+
"name": "FlowRdfElement",
|
|
1212
|
+
"module": "/src/internal/flow-ui-rdf-element"
|
|
1213
|
+
},
|
|
1214
|
+
"tagName": "flow-ui-badge",
|
|
1215
|
+
"summary": "Badges are used to draw attention and display statuses or counts.",
|
|
1216
|
+
"customElement": true
|
|
1217
|
+
}
|
|
1218
|
+
],
|
|
1219
|
+
"exports": [
|
|
1220
|
+
{
|
|
1221
|
+
"kind": "js",
|
|
1222
|
+
"name": "default",
|
|
1223
|
+
"declaration": {
|
|
1224
|
+
"name": "FlowUiBadge",
|
|
1225
|
+
"module": "components/badge/badge.component.js"
|
|
1226
|
+
}
|
|
1227
|
+
}
|
|
1228
|
+
]
|
|
1229
|
+
},
|
|
1230
|
+
{
|
|
1231
|
+
"kind": "javascript-module",
|
|
1232
|
+
"path": "components/badge/badge.js",
|
|
1233
|
+
"declarations": [],
|
|
1234
|
+
"exports": [
|
|
1235
|
+
{
|
|
1236
|
+
"kind": "js",
|
|
1237
|
+
"name": "default",
|
|
1238
|
+
"declaration": {
|
|
1239
|
+
"name": "FlowUiBadge",
|
|
1240
|
+
"module": "components/badge/badge.js"
|
|
1241
|
+
}
|
|
1242
|
+
}
|
|
1243
|
+
]
|
|
1244
|
+
},
|
|
1245
1245
|
{
|
|
1246
1246
|
"kind": "javascript-module",
|
|
1247
1247
|
"path": "components/button/button.component.js",
|
|
@@ -21578,6 +21578,19 @@
|
|
|
21578
21578
|
}
|
|
21579
21579
|
]
|
|
21580
21580
|
},
|
|
21581
|
+
{
|
|
21582
|
+
"kind": "method",
|
|
21583
|
+
"name": "handleHostExpandCollapse",
|
|
21584
|
+
"privacy": "private",
|
|
21585
|
+
"parameters": [
|
|
21586
|
+
{
|
|
21587
|
+
"name": "event",
|
|
21588
|
+
"type": {
|
|
21589
|
+
"text": "Event"
|
|
21590
|
+
}
|
|
21591
|
+
}
|
|
21592
|
+
]
|
|
21593
|
+
},
|
|
21581
21594
|
{
|
|
21582
21595
|
"kind": "method",
|
|
21583
21596
|
"name": "handleSlotChange",
|
|
@@ -22502,6 +22515,6 @@
|
|
|
22502
22515
|
],
|
|
22503
22516
|
"package": {
|
|
22504
22517
|
"name": "@emuanalytics/flow-rdf-ui",
|
|
22505
|
-
"version": "4.0.
|
|
22518
|
+
"version": "4.0.18"
|
|
22506
22519
|
}
|
|
22507
22520
|
}
|
package/dist/index.d.mts
CHANGED
|
@@ -77,10 +77,10 @@ declare global {
|
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
-
type
|
|
80
|
+
type FlowCollapseTreeEvent = CustomEvent<Record<PropertyKey, never>>;
|
|
81
81
|
declare global {
|
|
82
82
|
interface GlobalEventHandlersEventMap {
|
|
83
|
-
'flow-ui-collapse-
|
|
83
|
+
'flow-ui-collapse-tree': FlowCollapseTreeEvent;
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
|
|
@@ -124,10 +124,10 @@ declare global {
|
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
126
|
|
|
127
|
-
type
|
|
127
|
+
type FlowExpandTreeEvent = CustomEvent<Record<PropertyKey, never>>;
|
|
128
128
|
declare global {
|
|
129
129
|
interface GlobalEventHandlersEventMap {
|
|
130
|
-
'flow-ui-expand-
|
|
130
|
+
'flow-ui-expand-tree': FlowExpandTreeEvent;
|
|
131
131
|
}
|
|
132
132
|
}
|
|
133
133
|
|
|
@@ -5937,6 +5937,7 @@ declare class FlowUiTree extends FlowRdfElement {
|
|
|
5937
5937
|
private handleMouseDown;
|
|
5938
5938
|
private handleFocusOut;
|
|
5939
5939
|
private handleFocusIn;
|
|
5940
|
+
private handleHostExpandCollapse;
|
|
5940
5941
|
private handleSlotChange;
|
|
5941
5942
|
/** @internal */
|
|
5942
5943
|
handleSelectionChange(): Promise<void>;
|
|
@@ -5972,4 +5973,4 @@ declare global {
|
|
|
5972
5973
|
}
|
|
5973
5974
|
}
|
|
5974
5975
|
|
|
5975
|
-
export { type BaseColorMapperField, type BaseColorStopOptions, type ColorMapperField, type ColorMapperOptions, type ColorMapperValue, type ColorStopOptions, type ColorStopValue, type FlowQueryBuilderConfig, type FlowQueryBuilderConverter, type FlowQueryBuilderConverterOptions, type FlowQueryBuilderDateField, type FlowQueryBuilderDateTimeField, type FlowQueryBuilderDateTimeFieldBase, type FlowQueryBuilderField, type FlowQueryBuilderFieldBase, type FlowQueryBuilderFieldDefinition, type FlowQueryBuilderFieldMap, type FlowQueryBuilderFieldType, type FlowQueryBuilderFieldTypeMap, type FlowQueryBuilderNumberField, type FlowQueryBuilderOption, type FlowQueryBuilderRule, type FlowQueryBuilderRuleSet, type FlowQueryBuilderSelectField, type FlowQueryBuilderStringField, type FlowQueryBuilderTemplateFn, type FlowQueryBuilderTimeField, type FlowAfterCollapseEvent as FlowUiAfterCollapseEvent, type FlowAfterExpandEvent as FlowUiAfterExpandEvent, type FlowAfterHideEvent as FlowUiAfterHideEvent, type FlowAfterShowEvent as FlowUiAfterShowEvent, FlowUiAlert, FlowUiAnimation, FlowUiAvatar, FlowUiBadge, type FlowBlurEvent as FlowUiBlurEvent, FlowUiBreadcrumb, FlowUiBreadcrumbItem, FlowUiButton, FlowUiButtonGroup, FlowUiCalendar, type FlowCancelEvent as FlowUiCancelEvent, FlowUiCard, FlowUiCarousel, FlowUiCarouselItem, type FlowChangeEvent as FlowUiChangeEvent, FlowUiChart, FlowUiCheckbox, type FlowClearEvent as FlowUiClearEvent, type FlowCloseEvent as FlowUiCloseEvent, type FlowCollapseEvent as FlowUiCollapseEvent, type
|
|
5976
|
+
export { type BaseColorMapperField, type BaseColorStopOptions, type ColorMapperField, type ColorMapperOptions, type ColorMapperValue, type ColorStopOptions, type ColorStopValue, type FlowQueryBuilderConfig, type FlowQueryBuilderConverter, type FlowQueryBuilderConverterOptions, type FlowQueryBuilderDateField, type FlowQueryBuilderDateTimeField, type FlowQueryBuilderDateTimeFieldBase, type FlowQueryBuilderField, type FlowQueryBuilderFieldBase, type FlowQueryBuilderFieldDefinition, type FlowQueryBuilderFieldMap, type FlowQueryBuilderFieldType, type FlowQueryBuilderFieldTypeMap, type FlowQueryBuilderNumberField, type FlowQueryBuilderOption, type FlowQueryBuilderRule, type FlowQueryBuilderRuleSet, type FlowQueryBuilderSelectField, type FlowQueryBuilderStringField, type FlowQueryBuilderTemplateFn, type FlowQueryBuilderTimeField, type FlowAfterCollapseEvent as FlowUiAfterCollapseEvent, type FlowAfterExpandEvent as FlowUiAfterExpandEvent, type FlowAfterHideEvent as FlowUiAfterHideEvent, type FlowAfterShowEvent as FlowUiAfterShowEvent, FlowUiAlert, FlowUiAnimation, FlowUiAvatar, FlowUiBadge, type FlowBlurEvent as FlowUiBlurEvent, FlowUiBreadcrumb, FlowUiBreadcrumbItem, FlowUiButton, FlowUiButtonGroup, FlowUiCalendar, type FlowCancelEvent as FlowUiCancelEvent, FlowUiCard, FlowUiCarousel, FlowUiCarouselItem, type FlowChangeEvent as FlowUiChangeEvent, FlowUiChart, FlowUiCheckbox, type FlowClearEvent as FlowUiClearEvent, type FlowCloseEvent as FlowUiCloseEvent, type FlowCollapseEvent as FlowUiCollapseEvent, type FlowCollapseTreeEvent as FlowUiCollapseSplitViewEvent, FlowUiColorMapper, FlowUiColorPicker, FlowUiColorStop, FlowUiDateTimePicker, FlowUiDetails, FlowUiDialog, FlowUiDivider, type FlowDragEvent as FlowUiDragEvent, type FlowDragStartEvent as FlowUiDragStartEvent, FlowUiDrawer, FlowUiDropdown, type FlowErrorEvent as FlowUiErrorEvent, type FlowExpandEvent as FlowUiExpandEvent, type FlowExpandTreeEvent as FlowUiExpandSplitViewEvent, type FlowFinishEvent as FlowUiFinishEvent, type FlowFocusEvent as FlowUiFocusEvent, FlowUiGauge, type FlowHideEvent as FlowUiHideEvent, type FlowHoverEvent as FlowUiHoverEvent, FlowUiIcon, FlowUiIconButton, type FlowInitialFocusEvent as FlowUiInitialFocusEvent, FlowUiInput, type FlowInputEvent as FlowUiInputEvent, type FlowInvalidEvent as FlowUiInvalidEvent, type FlowLazyChangeEvent as FlowUiLazyChangeEvent, type FlowLazyLoadEvent as FlowUiLazyLoadEvent, type FlowLoadEvent as FlowUiLoadEvent, FlowUiMap, type FlowMapLoadEvent as FlowUiMapLoadEvent, FlowUiMenu, FlowUiMenuItem, FlowUiMenuLabel, type FlowMutationEvent as FlowUiMutationEvent, FlowUiMutationObserver, FlowUiOption, FlowUiPanel, FlowUiPanelHeader, type FlowPanelToggleEvent as FlowUiPanelToggleEvent, FlowUiPopup, FlowUiProgressBar, FlowUiProgressRing, FlowUiQueryBuilder, FlowUiRadio, FlowUiRadioGroup, FlowUiRange, type FlowRemoveEvent as FlowUiRemoveEvent, type FlowRepositionEvent as FlowUiRepositionEvent, type FlowRequestCloseEvent as FlowUiRequestCloseEvent, type FlowResizeEvent as FlowUiResizeEvent, FlowUiResizeObserver, FlowUiScrollView, FlowUiSelect, type FlowSelectEvent as FlowUiSelectEvent, type FlowShowEvent as FlowUiShowEvent, type FlowSlideChange as FlowUiSlideChange, FlowUiSpinner, FlowUiSplitView, FlowUiSplitViewDivider, FlowUiSplitViewPane, FlowUiSplitViewToggleButton, type FlowStartEvent as FlowUiStartEvent, FlowUiStepper, FlowUiStepperPanel, FlowUiSwitch, FlowUiTab, FlowUiTabGroup, type FlowTabHideEvent as FlowUiTabHideEvent, FlowUiTabPanel, type FlowTabShowEvent as FlowUiTabShowEvent, FlowUiTag, FlowUiTextarea, FlowUiTimer, FlowUiToolButton, FlowUiToolButtonGroup, FlowUiTooltip, FlowUiTree, FlowUiTreeItem, type FlowDragEndEvent as FlowUiUiDragEndEvent, FlowUiVisuallyHidden, JavaScriptFilterError, type JavaScriptFilterFn, LocalizeController, type NumberColorMapperField, type NumberColorStopOptions, type SelectColorMapperField, type SelectColorStopOptions, type StringColorMapperField, type StringColorStopOptions, type Translation, addIcons, colorMapperValueToMaplibreExpression, escapeMaplibreString, filterRuleSet, converter$2 as flowQueryConverter, getAnimationNames, getEasingNames, initialize, initializeChartJs, isRule, isRuleOrRuleset, isRuleSet, converter$1 as javascriptFilterConverter, converter as mapLayerFilterConverter, registerChartComponent, registerComponents, registerIconLibrary, registerTranslation, renameRuleSetFields, setDefaultLocale, setDefaultTimeZone, transformRuleSet, unregisterIconLibrary };
|
package/dist/index.d.ts
CHANGED
|
@@ -77,10 +77,10 @@ declare global {
|
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
-
type
|
|
80
|
+
type FlowCollapseTreeEvent = CustomEvent<Record<PropertyKey, never>>;
|
|
81
81
|
declare global {
|
|
82
82
|
interface GlobalEventHandlersEventMap {
|
|
83
|
-
'flow-ui-collapse-
|
|
83
|
+
'flow-ui-collapse-tree': FlowCollapseTreeEvent;
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
|
|
@@ -124,10 +124,10 @@ declare global {
|
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
126
|
|
|
127
|
-
type
|
|
127
|
+
type FlowExpandTreeEvent = CustomEvent<Record<PropertyKey, never>>;
|
|
128
128
|
declare global {
|
|
129
129
|
interface GlobalEventHandlersEventMap {
|
|
130
|
-
'flow-ui-expand-
|
|
130
|
+
'flow-ui-expand-tree': FlowExpandTreeEvent;
|
|
131
131
|
}
|
|
132
132
|
}
|
|
133
133
|
|
|
@@ -5937,6 +5937,7 @@ declare class FlowUiTree extends FlowRdfElement {
|
|
|
5937
5937
|
private handleMouseDown;
|
|
5938
5938
|
private handleFocusOut;
|
|
5939
5939
|
private handleFocusIn;
|
|
5940
|
+
private handleHostExpandCollapse;
|
|
5940
5941
|
private handleSlotChange;
|
|
5941
5942
|
/** @internal */
|
|
5942
5943
|
handleSelectionChange(): Promise<void>;
|
|
@@ -5972,4 +5973,4 @@ declare global {
|
|
|
5972
5973
|
}
|
|
5973
5974
|
}
|
|
5974
5975
|
|
|
5975
|
-
export { type BaseColorMapperField, type BaseColorStopOptions, type ColorMapperField, type ColorMapperOptions, type ColorMapperValue, type ColorStopOptions, type ColorStopValue, type FlowQueryBuilderConfig, type FlowQueryBuilderConverter, type FlowQueryBuilderConverterOptions, type FlowQueryBuilderDateField, type FlowQueryBuilderDateTimeField, type FlowQueryBuilderDateTimeFieldBase, type FlowQueryBuilderField, type FlowQueryBuilderFieldBase, type FlowQueryBuilderFieldDefinition, type FlowQueryBuilderFieldMap, type FlowQueryBuilderFieldType, type FlowQueryBuilderFieldTypeMap, type FlowQueryBuilderNumberField, type FlowQueryBuilderOption, type FlowQueryBuilderRule, type FlowQueryBuilderRuleSet, type FlowQueryBuilderSelectField, type FlowQueryBuilderStringField, type FlowQueryBuilderTemplateFn, type FlowQueryBuilderTimeField, type FlowAfterCollapseEvent as FlowUiAfterCollapseEvent, type FlowAfterExpandEvent as FlowUiAfterExpandEvent, type FlowAfterHideEvent as FlowUiAfterHideEvent, type FlowAfterShowEvent as FlowUiAfterShowEvent, FlowUiAlert, FlowUiAnimation, FlowUiAvatar, FlowUiBadge, type FlowBlurEvent as FlowUiBlurEvent, FlowUiBreadcrumb, FlowUiBreadcrumbItem, FlowUiButton, FlowUiButtonGroup, FlowUiCalendar, type FlowCancelEvent as FlowUiCancelEvent, FlowUiCard, FlowUiCarousel, FlowUiCarouselItem, type FlowChangeEvent as FlowUiChangeEvent, FlowUiChart, FlowUiCheckbox, type FlowClearEvent as FlowUiClearEvent, type FlowCloseEvent as FlowUiCloseEvent, type FlowCollapseEvent as FlowUiCollapseEvent, type
|
|
5976
|
+
export { type BaseColorMapperField, type BaseColorStopOptions, type ColorMapperField, type ColorMapperOptions, type ColorMapperValue, type ColorStopOptions, type ColorStopValue, type FlowQueryBuilderConfig, type FlowQueryBuilderConverter, type FlowQueryBuilderConverterOptions, type FlowQueryBuilderDateField, type FlowQueryBuilderDateTimeField, type FlowQueryBuilderDateTimeFieldBase, type FlowQueryBuilderField, type FlowQueryBuilderFieldBase, type FlowQueryBuilderFieldDefinition, type FlowQueryBuilderFieldMap, type FlowQueryBuilderFieldType, type FlowQueryBuilderFieldTypeMap, type FlowQueryBuilderNumberField, type FlowQueryBuilderOption, type FlowQueryBuilderRule, type FlowQueryBuilderRuleSet, type FlowQueryBuilderSelectField, type FlowQueryBuilderStringField, type FlowQueryBuilderTemplateFn, type FlowQueryBuilderTimeField, type FlowAfterCollapseEvent as FlowUiAfterCollapseEvent, type FlowAfterExpandEvent as FlowUiAfterExpandEvent, type FlowAfterHideEvent as FlowUiAfterHideEvent, type FlowAfterShowEvent as FlowUiAfterShowEvent, FlowUiAlert, FlowUiAnimation, FlowUiAvatar, FlowUiBadge, type FlowBlurEvent as FlowUiBlurEvent, FlowUiBreadcrumb, FlowUiBreadcrumbItem, FlowUiButton, FlowUiButtonGroup, FlowUiCalendar, type FlowCancelEvent as FlowUiCancelEvent, FlowUiCard, FlowUiCarousel, FlowUiCarouselItem, type FlowChangeEvent as FlowUiChangeEvent, FlowUiChart, FlowUiCheckbox, type FlowClearEvent as FlowUiClearEvent, type FlowCloseEvent as FlowUiCloseEvent, type FlowCollapseEvent as FlowUiCollapseEvent, type FlowCollapseTreeEvent as FlowUiCollapseSplitViewEvent, FlowUiColorMapper, FlowUiColorPicker, FlowUiColorStop, FlowUiDateTimePicker, FlowUiDetails, FlowUiDialog, FlowUiDivider, type FlowDragEvent as FlowUiDragEvent, type FlowDragStartEvent as FlowUiDragStartEvent, FlowUiDrawer, FlowUiDropdown, type FlowErrorEvent as FlowUiErrorEvent, type FlowExpandEvent as FlowUiExpandEvent, type FlowExpandTreeEvent as FlowUiExpandSplitViewEvent, type FlowFinishEvent as FlowUiFinishEvent, type FlowFocusEvent as FlowUiFocusEvent, FlowUiGauge, type FlowHideEvent as FlowUiHideEvent, type FlowHoverEvent as FlowUiHoverEvent, FlowUiIcon, FlowUiIconButton, type FlowInitialFocusEvent as FlowUiInitialFocusEvent, FlowUiInput, type FlowInputEvent as FlowUiInputEvent, type FlowInvalidEvent as FlowUiInvalidEvent, type FlowLazyChangeEvent as FlowUiLazyChangeEvent, type FlowLazyLoadEvent as FlowUiLazyLoadEvent, type FlowLoadEvent as FlowUiLoadEvent, FlowUiMap, type FlowMapLoadEvent as FlowUiMapLoadEvent, FlowUiMenu, FlowUiMenuItem, FlowUiMenuLabel, type FlowMutationEvent as FlowUiMutationEvent, FlowUiMutationObserver, FlowUiOption, FlowUiPanel, FlowUiPanelHeader, type FlowPanelToggleEvent as FlowUiPanelToggleEvent, FlowUiPopup, FlowUiProgressBar, FlowUiProgressRing, FlowUiQueryBuilder, FlowUiRadio, FlowUiRadioGroup, FlowUiRange, type FlowRemoveEvent as FlowUiRemoveEvent, type FlowRepositionEvent as FlowUiRepositionEvent, type FlowRequestCloseEvent as FlowUiRequestCloseEvent, type FlowResizeEvent as FlowUiResizeEvent, FlowUiResizeObserver, FlowUiScrollView, FlowUiSelect, type FlowSelectEvent as FlowUiSelectEvent, type FlowShowEvent as FlowUiShowEvent, type FlowSlideChange as FlowUiSlideChange, FlowUiSpinner, FlowUiSplitView, FlowUiSplitViewDivider, FlowUiSplitViewPane, FlowUiSplitViewToggleButton, type FlowStartEvent as FlowUiStartEvent, FlowUiStepper, FlowUiStepperPanel, FlowUiSwitch, FlowUiTab, FlowUiTabGroup, type FlowTabHideEvent as FlowUiTabHideEvent, FlowUiTabPanel, type FlowTabShowEvent as FlowUiTabShowEvent, FlowUiTag, FlowUiTextarea, FlowUiTimer, FlowUiToolButton, FlowUiToolButtonGroup, FlowUiTooltip, FlowUiTree, FlowUiTreeItem, type FlowDragEndEvent as FlowUiUiDragEndEvent, FlowUiVisuallyHidden, JavaScriptFilterError, type JavaScriptFilterFn, LocalizeController, type NumberColorMapperField, type NumberColorStopOptions, type SelectColorMapperField, type SelectColorStopOptions, type StringColorMapperField, type StringColorStopOptions, type Translation, addIcons, colorMapperValueToMaplibreExpression, escapeMaplibreString, filterRuleSet, converter$2 as flowQueryConverter, getAnimationNames, getEasingNames, initialize, initializeChartJs, isRule, isRuleOrRuleset, isRuleSet, converter$1 as javascriptFilterConverter, converter as mapLayerFilterConverter, registerChartComponent, registerComponents, registerIconLibrary, registerTranslation, renameRuleSetFields, setDefaultLocale, setDefaultTimeZone, transformRuleSet, unregisterIconLibrary };
|
package/dist/package.json.mjs
CHANGED
|
@@ -35,83 +35,6 @@
|
|
|
35
35
|
],
|
|
36
36
|
"references": []
|
|
37
37
|
},
|
|
38
|
-
{
|
|
39
|
-
"name": "flow-ui-badge",
|
|
40
|
-
"description": "Badges are used to draw attention and display statuses or counts.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The badge's content.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
41
|
-
"attributes": [
|
|
42
|
-
{
|
|
43
|
-
"name": "variant",
|
|
44
|
-
"description": "The badge's theme variant.",
|
|
45
|
-
"values": [
|
|
46
|
-
{ "name": "primary" },
|
|
47
|
-
{ "name": "secondary" },
|
|
48
|
-
{ "name": "success" },
|
|
49
|
-
{ "name": "neutral" },
|
|
50
|
-
{ "name": "warning" },
|
|
51
|
-
{ "name": "danger" }
|
|
52
|
-
]
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
"name": "pill",
|
|
56
|
-
"description": "Draws a pill-style badge with rounded edges.",
|
|
57
|
-
"values": []
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
"name": "pulse",
|
|
61
|
-
"description": "Makes the badge pulsate to draw attention.",
|
|
62
|
-
"values": []
|
|
63
|
-
}
|
|
64
|
-
],
|
|
65
|
-
"references": []
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
"name": "flow-ui-avatar",
|
|
69
|
-
"description": "Avatars are used to represent a person or object.\n\n\n---\n\n\n\n\n### **Slots:**\n - **icon** - The default icon to use when no image or initials are present. Works best with `<flow-ui-icon>`.\n\n### **CSS Properties:**\n - **--size** - The size of the avatar. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **icon** - The container that wraps the avatar's icon.\n- **initials** - The container that wraps the avatar's initials.\n- **image** - The avatar image. Only shown when the `image` attribute is set.",
|
|
70
|
-
"attributes": [
|
|
71
|
-
{
|
|
72
|
-
"name": "image",
|
|
73
|
-
"description": "The image source to use for the avatar.",
|
|
74
|
-
"values": []
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
"name": "label",
|
|
78
|
-
"description": "A label to use to describe the avatar to assistive devices.",
|
|
79
|
-
"values": []
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
"name": "initials",
|
|
83
|
-
"description": "Initials to use as a fallback when no image is available (1-2 characters max recommended).",
|
|
84
|
-
"values": []
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
"name": "loading",
|
|
88
|
-
"description": "Indicates how the browser should load the image.",
|
|
89
|
-
"values": [{ "name": "eager" }, { "name": "lazy" }]
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
"name": "shape",
|
|
93
|
-
"description": "The shape of the avatar.",
|
|
94
|
-
"values": [
|
|
95
|
-
{ "name": "circle" },
|
|
96
|
-
{ "name": "square" },
|
|
97
|
-
{ "name": "rounded" }
|
|
98
|
-
]
|
|
99
|
-
}
|
|
100
|
-
],
|
|
101
|
-
"references": []
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
"name": "flow-ui-breadcrumb",
|
|
105
|
-
"description": "Breadcrumbs provide a group of links so users can easily navigate a website's hierarchy.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - One or more breadcrumb items to display.\n- **separator** - The separator to use between breadcrumb items. Works best with `<flow-ui-icon>`.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
106
|
-
"attributes": [
|
|
107
|
-
{
|
|
108
|
-
"name": "label",
|
|
109
|
-
"description": "The label to use for the breadcrumb control. This will not be shown on the screen, but it will be announced by\nscreen readers and other assistive devices to provide more context for users.",
|
|
110
|
-
"values": []
|
|
111
|
-
}
|
|
112
|
-
],
|
|
113
|
-
"references": []
|
|
114
|
-
},
|
|
115
38
|
{
|
|
116
39
|
"name": "flow-ui-animation",
|
|
117
40
|
"description": "Animate elements declaratively with over 100 animation presets. Powered by the [Web Animations API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API).\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-cancel** - Emitted when the animation is canceled.\n- **flow-ui-finish** - Emitted when the animation finishes.\n- **flow-ui-start** - Emitted when the animation starts or restarts.\n\n### **Methods:**\n - **cancel()** - Clears all keyframe effects caused by this animation and aborts its playback.\n- **finish()** - Sets the playback time to the end of the animation corresponding to the current playback direction.\n\n### **Slots:**\n - _default_ - The element to animate. Avoid slotting in more than one element, as subsequent ones will be ignored. To animate multiple elements, either wrap them in a single container or use multiple `<flow-ui-animation>` elements.",
|
|
@@ -174,6 +97,42 @@
|
|
|
174
97
|
],
|
|
175
98
|
"references": []
|
|
176
99
|
},
|
|
100
|
+
{
|
|
101
|
+
"name": "flow-ui-avatar",
|
|
102
|
+
"description": "Avatars are used to represent a person or object.\n\n\n---\n\n\n\n\n### **Slots:**\n - **icon** - The default icon to use when no image or initials are present. Works best with `<flow-ui-icon>`.\n\n### **CSS Properties:**\n - **--size** - The size of the avatar. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **icon** - The container that wraps the avatar's icon.\n- **initials** - The container that wraps the avatar's initials.\n- **image** - The avatar image. Only shown when the `image` attribute is set.",
|
|
103
|
+
"attributes": [
|
|
104
|
+
{
|
|
105
|
+
"name": "image",
|
|
106
|
+
"description": "The image source to use for the avatar.",
|
|
107
|
+
"values": []
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"name": "label",
|
|
111
|
+
"description": "A label to use to describe the avatar to assistive devices.",
|
|
112
|
+
"values": []
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"name": "initials",
|
|
116
|
+
"description": "Initials to use as a fallback when no image is available (1-2 characters max recommended).",
|
|
117
|
+
"values": []
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"name": "loading",
|
|
121
|
+
"description": "Indicates how the browser should load the image.",
|
|
122
|
+
"values": [{ "name": "eager" }, { "name": "lazy" }]
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"name": "shape",
|
|
126
|
+
"description": "The shape of the avatar.",
|
|
127
|
+
"values": [
|
|
128
|
+
{ "name": "circle" },
|
|
129
|
+
{ "name": "square" },
|
|
130
|
+
{ "name": "rounded" }
|
|
131
|
+
]
|
|
132
|
+
}
|
|
133
|
+
],
|
|
134
|
+
"references": []
|
|
135
|
+
},
|
|
177
136
|
{
|
|
178
137
|
"name": "flow-ui-breadcrumb-item",
|
|
179
138
|
"description": "Breadcrumb Items are used inside [breadcrumbs](./flow-ui-breadcrumb) to represent different links.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The breadcrumb item's label.\n- **prefix** - An optional prefix, usually an icon or icon button.\n- **suffix** - An optional suffix, usually an icon or icon button.\n- **separator** - The separator to use for the breadcrumb item. This will only change the separator for this item. If you want to change it for all items in the group, set the separator on `<flow-ui-breadcrumb>` instead.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **label** - The breadcrumb item's label.\n- **prefix** - The container that wraps the prefix.\n- **suffix** - The container that wraps the suffix.\n- **separator** - The container that wraps the separator.",
|
|
@@ -201,6 +160,47 @@
|
|
|
201
160
|
],
|
|
202
161
|
"references": []
|
|
203
162
|
},
|
|
163
|
+
{
|
|
164
|
+
"name": "flow-ui-breadcrumb",
|
|
165
|
+
"description": "Breadcrumbs provide a group of links so users can easily navigate a website's hierarchy.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - One or more breadcrumb items to display.\n- **separator** - The separator to use between breadcrumb items. Works best with `<flow-ui-icon>`.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
166
|
+
"attributes": [
|
|
167
|
+
{
|
|
168
|
+
"name": "label",
|
|
169
|
+
"description": "The label to use for the breadcrumb control. This will not be shown on the screen, but it will be announced by\nscreen readers and other assistive devices to provide more context for users.",
|
|
170
|
+
"values": []
|
|
171
|
+
}
|
|
172
|
+
],
|
|
173
|
+
"references": []
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"name": "flow-ui-badge",
|
|
177
|
+
"description": "Badges are used to draw attention and display statuses or counts.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The badge's content.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
178
|
+
"attributes": [
|
|
179
|
+
{
|
|
180
|
+
"name": "variant",
|
|
181
|
+
"description": "The badge's theme variant.",
|
|
182
|
+
"values": [
|
|
183
|
+
{ "name": "primary" },
|
|
184
|
+
{ "name": "secondary" },
|
|
185
|
+
{ "name": "success" },
|
|
186
|
+
{ "name": "neutral" },
|
|
187
|
+
{ "name": "warning" },
|
|
188
|
+
{ "name": "danger" }
|
|
189
|
+
]
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"name": "pill",
|
|
193
|
+
"description": "Draws a pill-style badge with rounded edges.",
|
|
194
|
+
"values": []
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"name": "pulse",
|
|
198
|
+
"description": "Makes the badge pulsate to draw attention.",
|
|
199
|
+
"values": []
|
|
200
|
+
}
|
|
201
|
+
],
|
|
202
|
+
"references": []
|
|
203
|
+
},
|
|
204
204
|
{
|
|
205
205
|
"name": "flow-ui-button",
|
|
206
206
|
"description": "Buttons represent actions that are available to the user.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-blur** - Emitted when the button loses focus.\n- **flow-ui-focus** - Emitted when the button gains focus.\n- **flow-ui-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **click()** - Simulates a click on the button.\n- **focus(options: _FocusOptions_)** - Sets focus on the button.\n- **blur()** - Removes focus from the button.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n\n### **Slots:**\n - _default_ - The button's label.\n- **prefix** - A presentational prefix icon or similar element.\n- **suffix** - A presentational suffix icon or similar element.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **prefix** - The container that wraps the prefix.\n- **label** - The button's label.\n- **suffix** - The container that wraps the suffix.\n- **caret** - The button's caret icon, an `<flow-ui-icon>` element.",
|