@emuanalytics/flow-rdf-ui 4.1.0-preview.6 → 4.1.0-preview.8

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.
@@ -8,7 +8,7 @@ const styles = css`
8
8
  --border-color: var(--flow-ui-card-border-color);
9
9
  --border-radius: var(--flow-ui-card-border-radius);
10
10
  --border-width: var(--flow-ui-card-border-width);
11
- --padding: var(--flow-ui-spacing-large);
11
+ --padding: var(--flow-ui-card-padding);
12
12
 
13
13
  --background-color: var(--flow-ui-card-background-color);
14
14
  --color: var(--flow-ui-card-color);
@@ -72,6 +72,15 @@ const styles = css`
72
72
  .card:not(.card--has-footer) .card__footer {
73
73
  display: none;
74
74
  }
75
+
76
+ /* Remove margin from first and last child of default slot */
77
+ ::slotted(:nth-child(1 of :not([slot]))) {
78
+ margin-top: 0;
79
+ }
80
+
81
+ ::slotted(:nth-last-child(1 of :not([slot]))) {
82
+ margin-bottom: 0;
83
+ }
75
84
  `;
76
85
 
77
86
  export { styles as default };
@@ -225,7 +225,6 @@ const _FlowUiQueryBuilder = class _FlowUiQueryBuilder extends FlowRdfElement {
225
225
  size=${andOrSize}
226
226
  pill
227
227
  outline
228
- variant="secondary"
229
228
  class="query-builder-and-or-button-group"
230
229
  value=${ruleSet.condition}
231
230
  @flow-ui-change=${this.handleConditionChange}
@@ -385,7 +384,8 @@ const _FlowUiQueryBuilder = class _FlowUiQueryBuilder extends FlowRdfElement {
385
384
  "form-control--medium": this.size === "medium",
386
385
  "form-control--large": this.size === "large",
387
386
  "form-control--has-label": hasLabel,
388
- "form-control--has-help-text": hasHelpText
387
+ "form-control--has-help-text": hasHelpText,
388
+ "form-control--has-border": this.borders
389
389
  })}
390
390
  >
391
391
  <label
@@ -440,11 +440,11 @@ const _FlowUiQueryBuilder = class _FlowUiQueryBuilder extends FlowRdfElement {
440
440
  >
441
441
  Add filter
442
442
  </flow-ui-tool-button>
443
- <div part="footer-accessories" class="query-builder__footer-auxiliary">
444
- <slot name="footer-accessory"></slot>
445
- </div>
446
443
  </div>
447
444
  </div>
445
+ <div part="footer-accessories" class="query-builder__footer-auxiliary">
446
+ <slot name="footer-accessory"></slot>
447
+ </div>
448
448
  </div>
449
449
  `;
450
450
  }
@@ -120,12 +120,12 @@ const styles = css`
120
120
 
121
121
  .query-builder__rule-menu-button {
122
122
  margin-inline: calc(var(--flow-ui-spacing-x-small) * -1);
123
- color: var(--flow-ui-color-neutral-400);
123
+ color: var(--flow-ui-color-neutral-700);
124
124
  }
125
125
 
126
126
  .query-builder__toolbar:hover .query-builder__rule-menu-button,
127
127
  .query-builder__rule:hover .query-builder__rule-menu-button {
128
- color: var(--flow-ui-color-neutral-600);
128
+ color: var(--flow-ui-color-neutral-900);
129
129
  }
130
130
 
131
131
  .menu-item--danger::part(base) {
@@ -303,9 +303,13 @@ const styles = css`
303
303
  display: flex;
304
304
  flex: 1;
305
305
  justify-content: end;
306
- gap: var(--flow-ui-spacing-x-small);
306
+ gap: var(--flow-ui-spacing-small);
307
307
 
308
- padding-top: var(--flow-ui-spacing-small);
308
+ padding-top: var(--footer-spacing);
309
+ }
310
+
311
+ .form-control--has-border .query-builder__footer-auxiliary {
312
+ margin-right: calc(var(--control-spacing) * -1 - var(--control-border-width));
309
313
  }
310
314
 
311
315
  .query-builder__footer ::slotted(flow-ui-button:not(:first-of-type)) {
@@ -33,6 +33,7 @@ class FlowUiTab extends FlowRdfElement {
33
33
  this.iconOnly = false;
34
34
  this.closable = false;
35
35
  this.disabled = false;
36
+ this.placement = "top";
36
37
  this.tooltipPlacement = "top";
37
38
  this.tooltipDistance = -4;
38
39
  this.tooltipSkidding = 0;
@@ -143,6 +144,9 @@ __decorateClass([
143
144
  __decorateClass([
144
145
  property()
145
146
  ], FlowUiTab.prototype, "label", 2);
147
+ __decorateClass([
148
+ property({ reflect: true })
149
+ ], FlowUiTab.prototype, "placement", 2);
146
150
  __decorateClass([
147
151
  property({ attribute: "tooltip-placement" })
148
152
  ], FlowUiTab.prototype, "tooltipPlacement", 2);
@@ -5,10 +5,12 @@ const styles = css`
5
5
  ${componentStyles}
6
6
 
7
7
  :host {
8
- display: inline-block;
8
+ display: inline-flex;
9
+ align-items: center;
9
10
  --color: var(--flow-ui-tab-color);
10
11
  --active-label-color: var(--flow-ui-tab-active-label-color);
11
12
  --active-icon-color: var(--flow-ui-tab-active-icon-color);
13
+ --min-size: auto;
12
14
  }
13
15
 
14
16
  .tab {
@@ -30,6 +32,16 @@ const styles = css`
30
32
  var(--transition-speed) color;
31
33
  }
32
34
 
35
+ :host([placement='top']) .tab,
36
+ :host([placement='bottom']) .tab {
37
+ min-width: var(--min-size);
38
+ }
39
+
40
+ :host([placement='start']) .tab,
41
+ :host([placement='end']) .tab {
42
+ min-height: var(--min-size);
43
+ }
44
+
33
45
  /* Highlight icon only on hover */
34
46
  .tab:hover:not(.tab--disabled) .tab__icon {
35
47
  color: var(--flow-ui-tab-active-label-color);
@@ -259,6 +259,7 @@ class FlowUiTabGroup extends FlowRdfElement {
259
259
  this.panels = this.getAllPanels();
260
260
  this.tabs.forEach((tab) => {
261
261
  tab.tabGroup = this;
262
+ tab.placement = this.placement;
262
263
  });
263
264
  if (this._activeTab && this.tabs.includes(this._activeTab) === false) {
264
265
  this.setActiveTab(this.tabs.find((el) => !el.disabled) ?? this.tabs[0], { emitEvents: true });
@@ -23,7 +23,7 @@ const styles = css`
23
23
  display: flex;
24
24
  align-items: stretch;
25
25
  flex-direction: column;
26
- color: var(--flow-ui-color-neutral-700);
26
+ color: var(--flow-ui-color-neutral-900);
27
27
  cursor: pointer;
28
28
  user-select: none;
29
29
  }
@@ -77,7 +77,7 @@ const styles = css`
77
77
  align-items: center;
78
78
  justify-content: center;
79
79
  box-sizing: content-box;
80
- color: var(--flow-ui-color-neutral-500);
80
+ color: var(--flow-ui-color-neutral-800);
81
81
  padding: var(--flow-ui-spacing-x-small);
82
82
  width: 1rem;
83
83
  height: 1rem;
@@ -134,7 +134,7 @@ const styles = css`
134
134
  }
135
135
 
136
136
  :host(:not([aria-disabled='true'])) .tree-item__expand-button {
137
- color: var(--flow-ui-color-neutral-600);
137
+ color: var(--flow-ui-color-neutral-800);
138
138
  }
139
139
 
140
140
  .tree-item__label {
@@ -265,6 +265,191 @@
265
265
  }
266
266
  ]
267
267
  },
268
+ {
269
+ "kind": "javascript-module",
270
+ "path": "components/avatar/avatar.component.js",
271
+ "declarations": [
272
+ {
273
+ "kind": "class",
274
+ "description": "",
275
+ "name": "FlowUiAvatar",
276
+ "cssProperties": [
277
+ {
278
+ "description": "The size of the avatar.",
279
+ "name": "--size"
280
+ }
281
+ ],
282
+ "cssParts": [
283
+ {
284
+ "description": "The component's base wrapper.",
285
+ "name": "base"
286
+ },
287
+ {
288
+ "description": "The container that wraps the avatar's icon.",
289
+ "name": "icon"
290
+ },
291
+ {
292
+ "description": "The container that wraps the avatar's initials.",
293
+ "name": "initials"
294
+ },
295
+ {
296
+ "description": "The avatar image. Only shown when the `image` attribute is set.",
297
+ "name": "image"
298
+ }
299
+ ],
300
+ "slots": [
301
+ {
302
+ "description": "The default icon to use when no image or initials are present. Works best with `<flow-ui-icon>`.",
303
+ "name": "icon"
304
+ }
305
+ ],
306
+ "members": [
307
+ {
308
+ "kind": "field",
309
+ "name": "hasError",
310
+ "type": {
311
+ "text": "boolean"
312
+ },
313
+ "privacy": "private",
314
+ "default": "false"
315
+ },
316
+ {
317
+ "kind": "field",
318
+ "name": "image",
319
+ "type": {
320
+ "text": "string"
321
+ },
322
+ "default": "''",
323
+ "description": "The image source to use for the avatar.",
324
+ "attribute": "image"
325
+ },
326
+ {
327
+ "kind": "field",
328
+ "name": "label",
329
+ "type": {
330
+ "text": "string"
331
+ },
332
+ "default": "''",
333
+ "description": "A label to use to describe the avatar to assistive devices.",
334
+ "attribute": "label"
335
+ },
336
+ {
337
+ "kind": "field",
338
+ "name": "initials",
339
+ "type": {
340
+ "text": "string"
341
+ },
342
+ "default": "''",
343
+ "description": "Initials to use as a fallback when no image is available (1-2 characters max recommended).",
344
+ "attribute": "initials"
345
+ },
346
+ {
347
+ "kind": "field",
348
+ "name": "loading",
349
+ "type": {
350
+ "text": "'eager' | 'lazy'"
351
+ },
352
+ "default": "'eager'",
353
+ "description": "Indicates how the browser should load the image.",
354
+ "attribute": "loading"
355
+ },
356
+ {
357
+ "kind": "field",
358
+ "name": "shape",
359
+ "type": {
360
+ "text": "'circle' | 'square' | 'rounded'"
361
+ },
362
+ "default": "'circle'",
363
+ "description": "The shape of the avatar.",
364
+ "attribute": "shape",
365
+ "reflects": true
366
+ }
367
+ ],
368
+ "attributes": [
369
+ {
370
+ "name": "image",
371
+ "type": {
372
+ "text": "string"
373
+ },
374
+ "default": "''",
375
+ "description": "The image source to use for the avatar.",
376
+ "fieldName": "image"
377
+ },
378
+ {
379
+ "name": "label",
380
+ "type": {
381
+ "text": "string"
382
+ },
383
+ "default": "''",
384
+ "description": "A label to use to describe the avatar to assistive devices.",
385
+ "fieldName": "label"
386
+ },
387
+ {
388
+ "name": "initials",
389
+ "type": {
390
+ "text": "string"
391
+ },
392
+ "default": "''",
393
+ "description": "Initials to use as a fallback when no image is available (1-2 characters max recommended).",
394
+ "fieldName": "initials"
395
+ },
396
+ {
397
+ "name": "loading",
398
+ "type": {
399
+ "text": "'eager' | 'lazy'"
400
+ },
401
+ "default": "'eager'",
402
+ "description": "Indicates how the browser should load the image.",
403
+ "fieldName": "loading"
404
+ },
405
+ {
406
+ "name": "shape",
407
+ "type": {
408
+ "text": "'circle' | 'square' | 'rounded'"
409
+ },
410
+ "default": "'circle'",
411
+ "description": "The shape of the avatar.",
412
+ "fieldName": "shape"
413
+ }
414
+ ],
415
+ "superclass": {
416
+ "name": "FlowRdfElement",
417
+ "module": "/src/internal/flow-ui-rdf-element"
418
+ },
419
+ "tagName": "flow-ui-avatar",
420
+ "summary": "Avatars are used to represent a person or object.",
421
+ "dependencies": [
422
+ "flow-ui-icon"
423
+ ],
424
+ "customElement": true
425
+ }
426
+ ],
427
+ "exports": [
428
+ {
429
+ "kind": "js",
430
+ "name": "default",
431
+ "declaration": {
432
+ "name": "FlowUiAvatar",
433
+ "module": "components/avatar/avatar.component.js"
434
+ }
435
+ }
436
+ ]
437
+ },
438
+ {
439
+ "kind": "javascript-module",
440
+ "path": "components/avatar/avatar.js",
441
+ "declarations": [],
442
+ "exports": [
443
+ {
444
+ "kind": "js",
445
+ "name": "default",
446
+ "declaration": {
447
+ "name": "FlowUiAvatar",
448
+ "module": "components/avatar/avatar.js"
449
+ }
450
+ }
451
+ ]
452
+ },
268
453
  {
269
454
  "kind": "javascript-module",
270
455
  "path": "components/animation/animation.component.js",
@@ -670,160 +855,94 @@
670
855
  },
671
856
  {
672
857
  "kind": "javascript-module",
673
- "path": "components/avatar/avatar.component.js",
858
+ "path": "components/badge/badge.component.js",
674
859
  "declarations": [
675
860
  {
676
861
  "kind": "class",
677
862
  "description": "",
678
- "name": "FlowUiAvatar",
679
- "cssProperties": [
680
- {
681
- "description": "The size of the avatar.",
682
- "name": "--size"
683
- }
684
- ],
863
+ "name": "FlowUiBadge",
685
864
  "cssParts": [
686
865
  {
687
866
  "description": "The component's base wrapper.",
688
867
  "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
868
  }
702
869
  ],
703
870
  "slots": [
704
871
  {
705
- "description": "The default icon to use when no image or initials are present. Works best with `<flow-ui-icon>`.",
706
- "name": "icon"
872
+ "description": "The badge's content.",
873
+ "name": ""
707
874
  }
708
875
  ],
709
876
  "members": [
710
877
  {
711
878
  "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",
879
+ "name": "variant",
742
880
  "type": {
743
- "text": "string"
881
+ "text": "'primary' | 'secondary' | 'success' | 'neutral' | 'warning' | 'danger'"
744
882
  },
745
- "default": "''",
746
- "description": "Initials to use as a fallback when no image is available (1-2 characters max recommended).",
747
- "attribute": "initials"
883
+ "default": "'primary'",
884
+ "description": "The badge's theme variant.",
885
+ "attribute": "variant",
886
+ "reflects": true
748
887
  },
749
888
  {
750
889
  "kind": "field",
751
- "name": "loading",
890
+ "name": "pill",
752
891
  "type": {
753
- "text": "'eager' | 'lazy'"
892
+ "text": "boolean"
754
893
  },
755
- "default": "'eager'",
756
- "description": "Indicates how the browser should load the image.",
757
- "attribute": "loading"
894
+ "default": "false",
895
+ "description": "Draws a pill-style badge with rounded edges.",
896
+ "attribute": "pill",
897
+ "reflects": true
758
898
  },
759
899
  {
760
900
  "kind": "field",
761
- "name": "shape",
901
+ "name": "pulse",
762
902
  "type": {
763
- "text": "'circle' | 'square' | 'rounded'"
903
+ "text": "boolean"
764
904
  },
765
- "default": "'circle'",
766
- "description": "The shape of the avatar.",
767
- "attribute": "shape",
905
+ "default": "false",
906
+ "description": "Makes the badge pulsate to draw attention.",
907
+ "attribute": "pulse",
768
908
  "reflects": true
769
909
  }
770
910
  ],
771
911
  "attributes": [
772
912
  {
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",
913
+ "name": "variant",
792
914
  "type": {
793
- "text": "string"
915
+ "text": "'primary' | 'secondary' | 'success' | 'neutral' | 'warning' | 'danger'"
794
916
  },
795
- "default": "''",
796
- "description": "Initials to use as a fallback when no image is available (1-2 characters max recommended).",
797
- "fieldName": "initials"
917
+ "default": "'primary'",
918
+ "description": "The badge's theme variant.",
919
+ "fieldName": "variant"
798
920
  },
799
921
  {
800
- "name": "loading",
922
+ "name": "pill",
801
923
  "type": {
802
- "text": "'eager' | 'lazy'"
924
+ "text": "boolean"
803
925
  },
804
- "default": "'eager'",
805
- "description": "Indicates how the browser should load the image.",
806
- "fieldName": "loading"
926
+ "default": "false",
927
+ "description": "Draws a pill-style badge with rounded edges.",
928
+ "fieldName": "pill"
807
929
  },
808
930
  {
809
- "name": "shape",
931
+ "name": "pulse",
810
932
  "type": {
811
- "text": "'circle' | 'square' | 'rounded'"
933
+ "text": "boolean"
812
934
  },
813
- "default": "'circle'",
814
- "description": "The shape of the avatar.",
815
- "fieldName": "shape"
935
+ "default": "false",
936
+ "description": "Makes the badge pulsate to draw attention.",
937
+ "fieldName": "pulse"
816
938
  }
817
939
  ],
818
940
  "superclass": {
819
941
  "name": "FlowRdfElement",
820
942
  "module": "/src/internal/flow-ui-rdf-element"
821
943
  },
822
- "tagName": "flow-ui-avatar",
823
- "summary": "Avatars are used to represent a person or object.",
824
- "dependencies": [
825
- "flow-ui-icon"
826
- ],
944
+ "tagName": "flow-ui-badge",
945
+ "summary": "Badges are used to draw attention and display statuses or counts.",
827
946
  "customElement": true
828
947
  }
829
948
  ],
@@ -832,23 +951,23 @@
832
951
  "kind": "js",
833
952
  "name": "default",
834
953
  "declaration": {
835
- "name": "FlowUiAvatar",
836
- "module": "components/avatar/avatar.component.js"
954
+ "name": "FlowUiBadge",
955
+ "module": "components/badge/badge.component.js"
837
956
  }
838
957
  }
839
958
  ]
840
959
  },
841
960
  {
842
961
  "kind": "javascript-module",
843
- "path": "components/avatar/avatar.js",
962
+ "path": "components/badge/badge.js",
844
963
  "declarations": [],
845
964
  "exports": [
846
965
  {
847
966
  "kind": "js",
848
967
  "name": "default",
849
968
  "declaration": {
850
- "name": "FlowUiAvatar",
851
- "module": "components/avatar/avatar.js"
969
+ "name": "FlowUiBadge",
970
+ "module": "components/badge/badge.js"
852
971
  }
853
972
  }
854
973
  ]
@@ -1437,125 +1556,6 @@
1437
1556
  }
1438
1557
  ]
1439
1558
  },
1440
- {
1441
- "kind": "javascript-module",
1442
- "path": "components/badge/badge.component.js",
1443
- "declarations": [
1444
- {
1445
- "kind": "class",
1446
- "description": "",
1447
- "name": "FlowUiBadge",
1448
- "cssParts": [
1449
- {
1450
- "description": "The component's base wrapper.",
1451
- "name": "base"
1452
- }
1453
- ],
1454
- "slots": [
1455
- {
1456
- "description": "The badge's content.",
1457
- "name": ""
1458
- }
1459
- ],
1460
- "members": [
1461
- {
1462
- "kind": "field",
1463
- "name": "variant",
1464
- "type": {
1465
- "text": "'primary' | 'secondary' | 'success' | 'neutral' | 'warning' | 'danger'"
1466
- },
1467
- "default": "'primary'",
1468
- "description": "The badge's theme variant.",
1469
- "attribute": "variant",
1470
- "reflects": true
1471
- },
1472
- {
1473
- "kind": "field",
1474
- "name": "pill",
1475
- "type": {
1476
- "text": "boolean"
1477
- },
1478
- "default": "false",
1479
- "description": "Draws a pill-style badge with rounded edges.",
1480
- "attribute": "pill",
1481
- "reflects": true
1482
- },
1483
- {
1484
- "kind": "field",
1485
- "name": "pulse",
1486
- "type": {
1487
- "text": "boolean"
1488
- },
1489
- "default": "false",
1490
- "description": "Makes the badge pulsate to draw attention.",
1491
- "attribute": "pulse",
1492
- "reflects": true
1493
- }
1494
- ],
1495
- "attributes": [
1496
- {
1497
- "name": "variant",
1498
- "type": {
1499
- "text": "'primary' | 'secondary' | 'success' | 'neutral' | 'warning' | 'danger'"
1500
- },
1501
- "default": "'primary'",
1502
- "description": "The badge's theme variant.",
1503
- "fieldName": "variant"
1504
- },
1505
- {
1506
- "name": "pill",
1507
- "type": {
1508
- "text": "boolean"
1509
- },
1510
- "default": "false",
1511
- "description": "Draws a pill-style badge with rounded edges.",
1512
- "fieldName": "pill"
1513
- },
1514
- {
1515
- "name": "pulse",
1516
- "type": {
1517
- "text": "boolean"
1518
- },
1519
- "default": "false",
1520
- "description": "Makes the badge pulsate to draw attention.",
1521
- "fieldName": "pulse"
1522
- }
1523
- ],
1524
- "superclass": {
1525
- "name": "FlowRdfElement",
1526
- "module": "/src/internal/flow-ui-rdf-element"
1527
- },
1528
- "tagName": "flow-ui-badge",
1529
- "summary": "Badges are used to draw attention and display statuses or counts.",
1530
- "customElement": true
1531
- }
1532
- ],
1533
- "exports": [
1534
- {
1535
- "kind": "js",
1536
- "name": "default",
1537
- "declaration": {
1538
- "name": "FlowUiBadge",
1539
- "module": "components/badge/badge.component.js"
1540
- }
1541
- }
1542
- ]
1543
- },
1544
- {
1545
- "kind": "javascript-module",
1546
- "path": "components/badge/badge.js",
1547
- "declarations": [],
1548
- "exports": [
1549
- {
1550
- "kind": "js",
1551
- "name": "default",
1552
- "declaration": {
1553
- "name": "FlowUiBadge",
1554
- "module": "components/badge/badge.js"
1555
- }
1556
- }
1557
- ]
1558
- },
1559
1559
  {
1560
1560
  "kind": "javascript-module",
1561
1561
  "path": "components/breadcrumb-item/breadcrumb-item.component.js",
@@ -23960,6 +23960,6 @@
23960
23960
  ],
23961
23961
  "package": {
23962
23962
  "name": "@emuanalytics/flow-rdf-ui",
23963
- "version": "4.1.0-preview.6"
23963
+ "version": "4.1.0-preview.8"
23964
23964
  }
23965
23965
  }
package/dist/index.d.mts CHANGED
@@ -3847,6 +3847,10 @@ declare class FlowUiTab extends FlowRdfElement {
3847
3847
  disabled: boolean;
3848
3848
  /** Full title of tab */
3849
3849
  label: string;
3850
+ /** @internal
3851
+ * The placement of the tabs. This is set by the parent tab group.
3852
+ * */
3853
+ placement: 'top' | 'bottom' | 'start' | 'end';
3850
3854
  /**
3851
3855
  * The preferred placement of the tooltip. Note that the actual placement may vary as needed to keep the tooltip
3852
3856
  * inside of the viewport.
package/dist/index.d.ts CHANGED
@@ -3847,6 +3847,10 @@ declare class FlowUiTab extends FlowRdfElement {
3847
3847
  disabled: boolean;
3848
3848
  /** Full title of tab */
3849
3849
  label: string;
3850
+ /** @internal
3851
+ * The placement of the tabs. This is set by the parent tab group.
3852
+ * */
3853
+ placement: 'top' | 'bottom' | 'start' | 'end';
3850
3854
  /**
3851
3855
  * The preferred placement of the tooltip. Note that the actual placement may vary as needed to keep the tooltip
3852
3856
  * inside of the viewport.
@@ -1,3 +1,3 @@
1
- const version = "4.1.0-preview.6";
1
+ const version = "4.1.0-preview.8";
2
2
 
3
3
  export { version };
@@ -35,6 +35,42 @@
35
35
  ],
36
36
  "references": []
37
37
  },
38
+ {
39
+ "name": "flow-ui-avatar",
40
+ "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.",
41
+ "attributes": [
42
+ {
43
+ "name": "image",
44
+ "description": "The image source to use for the avatar.",
45
+ "values": []
46
+ },
47
+ {
48
+ "name": "label",
49
+ "description": "A label to use to describe the avatar to assistive devices.",
50
+ "values": []
51
+ },
52
+ {
53
+ "name": "initials",
54
+ "description": "Initials to use as a fallback when no image is available (1-2 characters max recommended).",
55
+ "values": []
56
+ },
57
+ {
58
+ "name": "loading",
59
+ "description": "Indicates how the browser should load the image.",
60
+ "values": [{ "name": "eager" }, { "name": "lazy" }]
61
+ },
62
+ {
63
+ "name": "shape",
64
+ "description": "The shape of the avatar.",
65
+ "values": [
66
+ { "name": "circle" },
67
+ { "name": "square" },
68
+ { "name": "rounded" }
69
+ ]
70
+ }
71
+ ],
72
+ "references": []
73
+ },
38
74
  {
39
75
  "name": "flow-ui-animation",
40
76
  "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.",
@@ -98,37 +134,30 @@
98
134
  "references": []
99
135
  },
100
136
  {
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.",
137
+ "name": "flow-ui-badge",
138
+ "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.",
103
139
  "attributes": [
104
140
  {
105
- "name": "image",
106
- "description": "The image source to use for the avatar.",
107
- "values": []
141
+ "name": "variant",
142
+ "description": "The badge's theme variant.",
143
+ "values": [
144
+ { "name": "primary" },
145
+ { "name": "secondary" },
146
+ { "name": "success" },
147
+ { "name": "neutral" },
148
+ { "name": "warning" },
149
+ { "name": "danger" }
150
+ ]
108
151
  },
109
152
  {
110
- "name": "label",
111
- "description": "A label to use to describe the avatar to assistive devices.",
153
+ "name": "pill",
154
+ "description": "Draws a pill-style badge with rounded edges.",
112
155
  "values": []
113
156
  },
114
157
  {
115
- "name": "initials",
116
- "description": "Initials to use as a fallback when no image is available (1-2 characters max recommended).",
158
+ "name": "pulse",
159
+ "description": "Makes the badge pulsate to draw attention.",
117
160
  "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
161
  }
133
162
  ],
134
163
  "references": []
@@ -206,35 +235,6 @@
206
235
  ],
207
236
  "references": []
208
237
  },
209
- {
210
- "name": "flow-ui-badge",
211
- "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.",
212
- "attributes": [
213
- {
214
- "name": "variant",
215
- "description": "The badge's theme variant.",
216
- "values": [
217
- { "name": "primary" },
218
- { "name": "secondary" },
219
- { "name": "success" },
220
- { "name": "neutral" },
221
- { "name": "warning" },
222
- { "name": "danger" }
223
- ]
224
- },
225
- {
226
- "name": "pill",
227
- "description": "Draws a pill-style badge with rounded edges.",
228
- "values": []
229
- },
230
- {
231
- "name": "pulse",
232
- "description": "Makes the badge pulsate to draw attention.",
233
- "values": []
234
- }
235
- ],
236
- "references": []
237
- },
238
238
  {
239
239
  "name": "flow-ui-breadcrumb-item",
240
240
  "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.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emuanalytics/flow-rdf-ui",
3
- "version": "4.1.0-preview.6",
3
+ "version": "4.1.0-preview.8",
4
4
  "type": "module",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",
package/themes/dark.css CHANGED
@@ -371,9 +371,9 @@
371
371
 
372
372
  --flow-ui-line-height-denser: 1;
373
373
  --flow-ui-line-height-dense: 1.2;
374
- --flow-ui-line-height-normal: 1.8;
375
- --flow-ui-line-height-loose: 2.2;
376
- --flow-ui-line-height-looser: 2.6;
374
+ --flow-ui-line-height-normal: 1.5;
375
+ --flow-ui-line-height-loose: 1.8;
376
+ --flow-ui-line-height-looser: 2.2;
377
377
 
378
378
  --flow-ui-focus-ring-color: var(--flow-ui-color-primary-600);
379
379
  --flow-ui-focus-ring-style: solid;
@@ -516,7 +516,7 @@
516
516
  var(--flow-ui-spacing-large);
517
517
  --flow-ui-panel-header-background-color: var(--flow-ui-color-neutral-50);
518
518
  --flow-ui-panel-header-font-weight: var(--flow-ui-font-weight-semibold);
519
- --flow-ui-panel-header-font-size: var(--flow-ui-font-size-large);
519
+ --flow-ui-panel-header-font-size: var(--flow-ui-font-size-medium);
520
520
  --flow-ui-panel-header-color: var(--flow-ui-color-text);
521
521
  --flow-ui-panel-header-accessory-color: var(--flow-ui-color-neutral-800);
522
522
 
@@ -527,11 +527,12 @@
527
527
  --flow-ui-alert-border-color: var(--flow-ui-color-neutral-400);
528
528
  --flow-ui-alert-border-width: 1px;
529
529
 
530
- --flow-ui-card-background-color: var(--flow-ui-color-neutral-400);
530
+ --flow-ui-card-background-color: var(--flow-ui-color-neutral-300);
531
+ --flow-ui-card-padding: var(--flow-ui-spacing-medium);
531
532
  --flow-ui-card-color: var(--flow-ui-color-text);
532
533
  --flow-ui-card-border-color: var(--flow-ui-color-neutral-400);
533
- --flow-ui-card-border-width: 1px;
534
- --flow-ui-card-border-radius: var(--flow-ui-border-radius-medium);
534
+ --flow-ui-card-border-width: 0;
535
+ --flow-ui-card-border-radius: 0;
535
536
 
536
537
  --flow-ui-details-background-color: var(--flow-ui-color-neutral-400);
537
538
  --flow-ui-details-color: var(--flow-ui-color-text);
@@ -583,7 +584,7 @@
583
584
  --flow-ui-tab-active-icon-color: var(--flow-ui-color-primary-500);
584
585
 
585
586
  --flow-ui-gauge-color: var(--flow-ui-color-neutral-1000);
586
- --flow-ui-gauge-background-color: var(--flow-ui-color-neutral-00);
587
+ --flow-ui-gauge-background-color: var(--flow-ui-color-neutral-300);
587
588
  --flow-ui-gauge-padding: var(--flow-ui-spacing-x-small);
588
589
  --flow-ui-gauge-header-height: 40px;
589
590
  --flow-ui-gauge-header-font-size: var(--flow-ui-font-size-medium);
@@ -374,9 +374,9 @@ export default css`
374
374
 
375
375
  --flow-ui-line-height-denser: 1;
376
376
  --flow-ui-line-height-dense: 1.2;
377
- --flow-ui-line-height-normal: 1.8;
378
- --flow-ui-line-height-loose: 2.2;
379
- --flow-ui-line-height-looser: 2.6;
377
+ --flow-ui-line-height-normal: 1.5;
378
+ --flow-ui-line-height-loose: 1.8;
379
+ --flow-ui-line-height-looser: 2.2;
380
380
 
381
381
  --flow-ui-focus-ring-color: var(--flow-ui-color-primary-600);
382
382
  --flow-ui-focus-ring-style: solid;
@@ -537,7 +537,7 @@ export default css`
537
537
  var(--flow-ui-spacing-large);
538
538
  --flow-ui-panel-header-background-color: var(--flow-ui-color-neutral-50);
539
539
  --flow-ui-panel-header-font-weight: var(--flow-ui-font-weight-semibold);
540
- --flow-ui-panel-header-font-size: var(--flow-ui-font-size-large);
540
+ --flow-ui-panel-header-font-size: var(--flow-ui-font-size-medium);
541
541
  --flow-ui-panel-header-color: var(--flow-ui-color-text);
542
542
  --flow-ui-panel-header-accessory-color: var(--flow-ui-color-neutral-800);
543
543
 
@@ -548,11 +548,12 @@ export default css`
548
548
  --flow-ui-alert-border-color: var(--flow-ui-color-neutral-400);
549
549
  --flow-ui-alert-border-width: 1px;
550
550
 
551
- --flow-ui-card-background-color: var(--flow-ui-color-neutral-400);
551
+ --flow-ui-card-background-color: var(--flow-ui-color-neutral-300);
552
+ --flow-ui-card-padding: var(--flow-ui-spacing-medium);
552
553
  --flow-ui-card-color: var(--flow-ui-color-text);
553
554
  --flow-ui-card-border-color: var(--flow-ui-color-neutral-400);
554
- --flow-ui-card-border-width: 1px;
555
- --flow-ui-card-border-radius: var(--flow-ui-border-radius-medium);
555
+ --flow-ui-card-border-width: 0;
556
+ --flow-ui-card-border-radius: 0;
556
557
 
557
558
  --flow-ui-details-background-color: var(--flow-ui-color-neutral-400);
558
559
  --flow-ui-details-color: var(--flow-ui-color-text);
@@ -604,7 +605,7 @@ export default css`
604
605
  --flow-ui-tab-active-icon-color: var(--flow-ui-color-primary-500);
605
606
 
606
607
  --flow-ui-gauge-color: var(--flow-ui-color-neutral-1000);
607
- --flow-ui-gauge-background-color: var(--flow-ui-color-neutral-00);
608
+ --flow-ui-gauge-background-color: var(--flow-ui-color-neutral-300);
608
609
  --flow-ui-gauge-padding: var(--flow-ui-spacing-x-small);
609
610
  --flow-ui-gauge-header-height: 40px;
610
611
  --flow-ui-gauge-header-font-size: var(--flow-ui-font-size-medium);
package/themes/light.css CHANGED
@@ -528,7 +528,7 @@
528
528
  --flow-ui-panel-header-padding: var(--flow-ui-spacing-medium)
529
529
  var(--flow-ui-spacing-large);
530
530
  --flow-ui-panel-header-background-color: var(--flow-ui-color-neutral-50);
531
- --flow-ui-panel-header-font-size: var(--flow-ui-font-size-large);
531
+ --flow-ui-panel-header-font-size: var(--flow-ui-font-size-medium);
532
532
  --flow-ui-panel-header-font-weight: var(--flow-ui-font-weight-semibold);
533
533
  --flow-ui-panel-header-color: var(--flow-ui-color-text);
534
534
  --flow-ui-panel-header-accessory-color: var(--flow-ui-color-neutral-800);
@@ -549,7 +549,7 @@ export default css`
549
549
  --flow-ui-panel-header-padding: var(--flow-ui-spacing-medium)
550
550
  var(--flow-ui-spacing-large);
551
551
  --flow-ui-panel-header-background-color: var(--flow-ui-color-neutral-50);
552
- --flow-ui-panel-header-font-size: var(--flow-ui-font-size-large);
552
+ --flow-ui-panel-header-font-size: var(--flow-ui-font-size-medium);
553
553
  --flow-ui-panel-header-font-weight: var(--flow-ui-font-weight-semibold);
554
554
  --flow-ui-panel-header-color: var(--flow-ui-color-text);
555
555
  --flow-ui-panel-header-accessory-color: var(--flow-ui-color-neutral-800);