@emuanalytics/flow-rdf-ui 4.1.0-preview.7 → 4.1.0-preview.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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
  }
@@ -115,7 +115,7 @@ const styles = css`
115
115
  right: 5px;
116
116
  z-index: 1;
117
117
 
118
- border-bottom: 1px solid var(--flow-ui-color-neutral-300);
118
+ border-bottom: 1px solid var(--flow-ui-color-danger-300);
119
119
  }
120
120
 
121
121
  .query-builder__rule-menu-button {
@@ -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)) {
@@ -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 {
@@ -668,125 +668,6 @@
668
668
  }
669
669
  ]
670
670
  },
671
- {
672
- "kind": "javascript-module",
673
- "path": "components/badge/badge.component.js",
674
- "declarations": [
675
- {
676
- "kind": "class",
677
- "description": "",
678
- "name": "FlowUiBadge",
679
- "cssParts": [
680
- {
681
- "description": "The component's base wrapper.",
682
- "name": "base"
683
- }
684
- ],
685
- "slots": [
686
- {
687
- "description": "The badge's content.",
688
- "name": ""
689
- }
690
- ],
691
- "members": [
692
- {
693
- "kind": "field",
694
- "name": "variant",
695
- "type": {
696
- "text": "'primary' | 'secondary' | 'success' | 'neutral' | 'warning' | 'danger'"
697
- },
698
- "default": "'primary'",
699
- "description": "The badge's theme variant.",
700
- "attribute": "variant",
701
- "reflects": true
702
- },
703
- {
704
- "kind": "field",
705
- "name": "pill",
706
- "type": {
707
- "text": "boolean"
708
- },
709
- "default": "false",
710
- "description": "Draws a pill-style badge with rounded edges.",
711
- "attribute": "pill",
712
- "reflects": true
713
- },
714
- {
715
- "kind": "field",
716
- "name": "pulse",
717
- "type": {
718
- "text": "boolean"
719
- },
720
- "default": "false",
721
- "description": "Makes the badge pulsate to draw attention.",
722
- "attribute": "pulse",
723
- "reflects": true
724
- }
725
- ],
726
- "attributes": [
727
- {
728
- "name": "variant",
729
- "type": {
730
- "text": "'primary' | 'secondary' | 'success' | 'neutral' | 'warning' | 'danger'"
731
- },
732
- "default": "'primary'",
733
- "description": "The badge's theme variant.",
734
- "fieldName": "variant"
735
- },
736
- {
737
- "name": "pill",
738
- "type": {
739
- "text": "boolean"
740
- },
741
- "default": "false",
742
- "description": "Draws a pill-style badge with rounded edges.",
743
- "fieldName": "pill"
744
- },
745
- {
746
- "name": "pulse",
747
- "type": {
748
- "text": "boolean"
749
- },
750
- "default": "false",
751
- "description": "Makes the badge pulsate to draw attention.",
752
- "fieldName": "pulse"
753
- }
754
- ],
755
- "superclass": {
756
- "name": "FlowRdfElement",
757
- "module": "/src/internal/flow-ui-rdf-element"
758
- },
759
- "tagName": "flow-ui-badge",
760
- "summary": "Badges are used to draw attention and display statuses or counts.",
761
- "customElement": true
762
- }
763
- ],
764
- "exports": [
765
- {
766
- "kind": "js",
767
- "name": "default",
768
- "declaration": {
769
- "name": "FlowUiBadge",
770
- "module": "components/badge/badge.component.js"
771
- }
772
- }
773
- ]
774
- },
775
- {
776
- "kind": "javascript-module",
777
- "path": "components/badge/badge.js",
778
- "declarations": [],
779
- "exports": [
780
- {
781
- "kind": "js",
782
- "name": "default",
783
- "declaration": {
784
- "name": "FlowUiBadge",
785
- "module": "components/badge/badge.js"
786
- }
787
- }
788
- ]
789
- },
790
671
  {
791
672
  "kind": "javascript-module",
792
673
  "path": "components/avatar/avatar.component.js",
@@ -1097,301 +978,154 @@
1097
978
  },
1098
979
  {
1099
980
  "kind": "javascript-module",
1100
- "path": "components/breadcrumb-item/breadcrumb-item.component.js",
981
+ "path": "components/base-control/base-control.component.js",
1101
982
  "declarations": [
1102
983
  {
1103
984
  "kind": "class",
1104
985
  "description": "",
1105
- "name": "FlowUiBreadcrumbItem",
986
+ "name": "FlowUiBaseControl",
1106
987
  "cssParts": [
988
+ {
989
+ "description": "The form control that wraps the label, input, and help text.",
990
+ "name": "form-control"
991
+ },
992
+ {
993
+ "description": "The label's wrapper.",
994
+ "name": "form-control-label"
995
+ },
996
+ {
997
+ "description": "The input's wrapper.",
998
+ "name": "form-control-input"
999
+ },
1000
+ {
1001
+ "description": "The help text's wrapper.",
1002
+ "name": "form-control-help-text"
1003
+ },
1107
1004
  {
1108
1005
  "description": "The component's base wrapper.",
1109
1006
  "name": "base"
1110
1007
  },
1111
1008
  {
1112
- "description": "The breadcrumb item's label.",
1113
- "name": "label"
1009
+ "description": "The internal `<input>` control.",
1010
+ "name": "input"
1114
1011
  },
1115
1012
  {
1116
1013
  "description": "The container that wraps the prefix.",
1117
1014
  "name": "prefix"
1118
1015
  },
1119
1016
  {
1120
- "description": "The container that wraps the suffix.",
1121
- "name": "suffix"
1017
+ "description": "The clear button.",
1018
+ "name": "clear-button"
1122
1019
  },
1123
1020
  {
1124
- "description": "The container that wraps the separator.",
1125
- "name": "separator"
1021
+ "description": "The password toggle button.",
1022
+ "name": "password-toggle-button"
1023
+ },
1024
+ {
1025
+ "description": "The container that wraps the suffix.",
1026
+ "name": "suffix"
1126
1027
  }
1127
1028
  ],
1128
1029
  "slots": [
1129
1030
  {
1130
- "description": "The breadcrumb item's label.",
1131
- "name": ""
1031
+ "description": "The input's label. Alternatively, you can use the `label` attribute.",
1032
+ "name": "label"
1132
1033
  },
1133
1034
  {
1134
- "description": "An optional prefix, usually an icon or icon button.",
1035
+ "description": "Used to prepend a presentational icon or similar element to the input.",
1135
1036
  "name": "prefix"
1136
1037
  },
1137
1038
  {
1138
- "description": "An optional suffix, usually an icon or icon button.",
1039
+ "description": "Used to append a presentational icon or similar element to the input.",
1139
1040
  "name": "suffix"
1140
1041
  },
1141
1042
  {
1142
- "description": "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.",
1143
- "name": "separator"
1043
+ "description": "An icon to use in lieu of the default clear icon.",
1044
+ "name": "clear-icon"
1045
+ },
1046
+ {
1047
+ "description": "An icon to use in lieu of the default show password icon.",
1048
+ "name": "show-password-icon"
1049
+ },
1050
+ {
1051
+ "description": "An icon to use in lieu of the default hide password icon.",
1052
+ "name": "hide-password-icon"
1053
+ },
1054
+ {
1055
+ "description": "Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.",
1056
+ "name": "help-text"
1144
1057
  }
1145
1058
  ],
1146
1059
  "members": [
1060
+ {
1061
+ "kind": "field",
1062
+ "name": "formControlController",
1063
+ "privacy": "private",
1064
+ "readonly": true,
1065
+ "default": "new FormControlController(this, {\n assumeInteractionOn: ['flow-ui-blur', 'flow-ui-input']\n })"
1066
+ },
1147
1067
  {
1148
1068
  "kind": "field",
1149
1069
  "name": "hasSlotController",
1150
1070
  "privacy": "private",
1151
1071
  "readonly": true,
1152
- "default": "new HasSlotController(this, 'prefix', 'suffix')"
1072
+ "default": "new HasSlotController(this, 'help-text', 'label')"
1153
1073
  },
1154
1074
  {
1155
1075
  "kind": "field",
1156
- "name": "href",
1076
+ "name": "hasFocus",
1157
1077
  "type": {
1158
- "text": "string | undefined"
1078
+ "text": "boolean"
1159
1079
  },
1160
- "description": "Optional URL to direct the user to when the breadcrumb item is activated. When set, a link will be rendered\ninternally. When unset, a button will be rendered instead.",
1161
- "attribute": "href"
1080
+ "privacy": "private",
1081
+ "default": "false"
1162
1082
  },
1163
1083
  {
1164
1084
  "kind": "field",
1165
- "name": "target",
1085
+ "name": "size",
1166
1086
  "type": {
1167
- "text": "'_blank' | '_parent' | '_self' | '_top' | undefined"
1087
+ "text": "'small' | 'medium' | 'large'"
1168
1088
  },
1169
- "description": "Tells the browser where to open the link. Only used when `href` is set.",
1170
- "attribute": "target"
1089
+ "default": "'medium'",
1090
+ "description": "The input's size.",
1091
+ "attribute": "size",
1092
+ "reflects": true
1171
1093
  },
1172
1094
  {
1173
1095
  "kind": "field",
1174
- "name": "rel",
1096
+ "name": "filled",
1175
1097
  "type": {
1176
- "text": "string"
1098
+ "text": "boolean"
1177
1099
  },
1178
- "default": "'noreferrer noopener'",
1179
- "description": "The `rel` attribute to use on the link. Only used when `href` is set.",
1180
- "attribute": "rel"
1181
- }
1182
- ],
1183
- "attributes": [
1100
+ "default": "false",
1101
+ "description": "Draws a filled input.",
1102
+ "attribute": "filled",
1103
+ "reflects": true
1104
+ },
1184
1105
  {
1185
- "name": "href",
1106
+ "kind": "field",
1107
+ "name": "pill",
1186
1108
  "type": {
1187
- "text": "string | undefined"
1109
+ "text": "boolean"
1188
1110
  },
1189
- "description": "Optional URL to direct the user to when the breadcrumb item is activated. When set, a link will be rendered\ninternally. When unset, a button will be rendered instead.",
1190
- "fieldName": "href"
1111
+ "default": "false",
1112
+ "description": "Draws a pill-style input with rounded edges.",
1113
+ "attribute": "pill",
1114
+ "reflects": true
1191
1115
  },
1192
1116
  {
1193
- "name": "target",
1117
+ "kind": "field",
1118
+ "name": "label",
1194
1119
  "type": {
1195
- "text": "'_blank' | '_parent' | '_self' | '_top' | undefined"
1120
+ "text": "string"
1196
1121
  },
1197
- "description": "Tells the browser where to open the link. Only used when `href` is set.",
1198
- "fieldName": "target"
1122
+ "default": "''",
1123
+ "description": "The input's label. If you need to display HTML, use the `label` slot instead.",
1124
+ "attribute": "label"
1199
1125
  },
1200
1126
  {
1201
- "name": "rel",
1202
- "type": {
1203
- "text": "string"
1204
- },
1205
- "default": "'noreferrer noopener'",
1206
- "description": "The `rel` attribute to use on the link. Only used when `href` is set.",
1207
- "fieldName": "rel"
1208
- }
1209
- ],
1210
- "superclass": {
1211
- "name": "FlowRdfElement",
1212
- "module": "/src/internal/flow-ui-rdf-element"
1213
- },
1214
- "tagName": "flow-ui-breadcrumb-item",
1215
- "summary": "Breadcrumb Items are used inside [breadcrumbs](./flow-ui-breadcrumb) to represent different links.",
1216
- "customElement": true
1217
- }
1218
- ],
1219
- "exports": [
1220
- {
1221
- "kind": "js",
1222
- "name": "default",
1223
- "declaration": {
1224
- "name": "FlowUiBreadcrumbItem",
1225
- "module": "components/breadcrumb-item/breadcrumb-item.component.js"
1226
- }
1227
- }
1228
- ]
1229
- },
1230
- {
1231
- "kind": "javascript-module",
1232
- "path": "components/breadcrumb-item/breadcrumb-item.js",
1233
- "declarations": [],
1234
- "exports": [
1235
- {
1236
- "kind": "js",
1237
- "name": "default",
1238
- "declaration": {
1239
- "name": "FlowUiBreadcrumbItem",
1240
- "module": "components/breadcrumb-item/breadcrumb-item.js"
1241
- }
1242
- }
1243
- ]
1244
- },
1245
- {
1246
- "kind": "javascript-module",
1247
- "path": "components/base-control/base-control.component.js",
1248
- "declarations": [
1249
- {
1250
- "kind": "class",
1251
- "description": "",
1252
- "name": "FlowUiBaseControl",
1253
- "cssParts": [
1254
- {
1255
- "description": "The form control that wraps the label, input, and help text.",
1256
- "name": "form-control"
1257
- },
1258
- {
1259
- "description": "The label's wrapper.",
1260
- "name": "form-control-label"
1261
- },
1262
- {
1263
- "description": "The input's wrapper.",
1264
- "name": "form-control-input"
1265
- },
1266
- {
1267
- "description": "The help text's wrapper.",
1268
- "name": "form-control-help-text"
1269
- },
1270
- {
1271
- "description": "The component's base wrapper.",
1272
- "name": "base"
1273
- },
1274
- {
1275
- "description": "The internal `<input>` control.",
1276
- "name": "input"
1277
- },
1278
- {
1279
- "description": "The container that wraps the prefix.",
1280
- "name": "prefix"
1281
- },
1282
- {
1283
- "description": "The clear button.",
1284
- "name": "clear-button"
1285
- },
1286
- {
1287
- "description": "The password toggle button.",
1288
- "name": "password-toggle-button"
1289
- },
1290
- {
1291
- "description": "The container that wraps the suffix.",
1292
- "name": "suffix"
1293
- }
1294
- ],
1295
- "slots": [
1296
- {
1297
- "description": "The input's label. Alternatively, you can use the `label` attribute.",
1298
- "name": "label"
1299
- },
1300
- {
1301
- "description": "Used to prepend a presentational icon or similar element to the input.",
1302
- "name": "prefix"
1303
- },
1304
- {
1305
- "description": "Used to append a presentational icon or similar element to the input.",
1306
- "name": "suffix"
1307
- },
1308
- {
1309
- "description": "An icon to use in lieu of the default clear icon.",
1310
- "name": "clear-icon"
1311
- },
1312
- {
1313
- "description": "An icon to use in lieu of the default show password icon.",
1314
- "name": "show-password-icon"
1315
- },
1316
- {
1317
- "description": "An icon to use in lieu of the default hide password icon.",
1318
- "name": "hide-password-icon"
1319
- },
1320
- {
1321
- "description": "Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.",
1322
- "name": "help-text"
1323
- }
1324
- ],
1325
- "members": [
1326
- {
1327
- "kind": "field",
1328
- "name": "formControlController",
1329
- "privacy": "private",
1330
- "readonly": true,
1331
- "default": "new FormControlController(this, {\n assumeInteractionOn: ['flow-ui-blur', 'flow-ui-input']\n })"
1332
- },
1333
- {
1334
- "kind": "field",
1335
- "name": "hasSlotController",
1336
- "privacy": "private",
1337
- "readonly": true,
1338
- "default": "new HasSlotController(this, 'help-text', 'label')"
1339
- },
1340
- {
1341
- "kind": "field",
1342
- "name": "hasFocus",
1343
- "type": {
1344
- "text": "boolean"
1345
- },
1346
- "privacy": "private",
1347
- "default": "false"
1348
- },
1349
- {
1350
- "kind": "field",
1351
- "name": "size",
1352
- "type": {
1353
- "text": "'small' | 'medium' | 'large'"
1354
- },
1355
- "default": "'medium'",
1356
- "description": "The input's size.",
1357
- "attribute": "size",
1358
- "reflects": true
1359
- },
1360
- {
1361
- "kind": "field",
1362
- "name": "filled",
1363
- "type": {
1364
- "text": "boolean"
1365
- },
1366
- "default": "false",
1367
- "description": "Draws a filled input.",
1368
- "attribute": "filled",
1369
- "reflects": true
1370
- },
1371
- {
1372
- "kind": "field",
1373
- "name": "pill",
1374
- "type": {
1375
- "text": "boolean"
1376
- },
1377
- "default": "false",
1378
- "description": "Draws a pill-style input with rounded edges.",
1379
- "attribute": "pill",
1380
- "reflects": true
1381
- },
1382
- {
1383
- "kind": "field",
1384
- "name": "label",
1385
- "type": {
1386
- "text": "string"
1387
- },
1388
- "default": "''",
1389
- "description": "The input's label. If you need to display HTML, use the `label` slot instead.",
1390
- "attribute": "label"
1391
- },
1392
- {
1393
- "kind": "field",
1394
- "name": "helpText",
1127
+ "kind": "field",
1128
+ "name": "helpText",
1395
1129
  "type": {
1396
1130
  "text": "string"
1397
1131
  },
@@ -1703,6 +1437,272 @@
1703
1437
  }
1704
1438
  ]
1705
1439
  },
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
+ {
1560
+ "kind": "javascript-module",
1561
+ "path": "components/breadcrumb-item/breadcrumb-item.component.js",
1562
+ "declarations": [
1563
+ {
1564
+ "kind": "class",
1565
+ "description": "",
1566
+ "name": "FlowUiBreadcrumbItem",
1567
+ "cssParts": [
1568
+ {
1569
+ "description": "The component's base wrapper.",
1570
+ "name": "base"
1571
+ },
1572
+ {
1573
+ "description": "The breadcrumb item's label.",
1574
+ "name": "label"
1575
+ },
1576
+ {
1577
+ "description": "The container that wraps the prefix.",
1578
+ "name": "prefix"
1579
+ },
1580
+ {
1581
+ "description": "The container that wraps the suffix.",
1582
+ "name": "suffix"
1583
+ },
1584
+ {
1585
+ "description": "The container that wraps the separator.",
1586
+ "name": "separator"
1587
+ }
1588
+ ],
1589
+ "slots": [
1590
+ {
1591
+ "description": "The breadcrumb item's label.",
1592
+ "name": ""
1593
+ },
1594
+ {
1595
+ "description": "An optional prefix, usually an icon or icon button.",
1596
+ "name": "prefix"
1597
+ },
1598
+ {
1599
+ "description": "An optional suffix, usually an icon or icon button.",
1600
+ "name": "suffix"
1601
+ },
1602
+ {
1603
+ "description": "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.",
1604
+ "name": "separator"
1605
+ }
1606
+ ],
1607
+ "members": [
1608
+ {
1609
+ "kind": "field",
1610
+ "name": "hasSlotController",
1611
+ "privacy": "private",
1612
+ "readonly": true,
1613
+ "default": "new HasSlotController(this, 'prefix', 'suffix')"
1614
+ },
1615
+ {
1616
+ "kind": "field",
1617
+ "name": "href",
1618
+ "type": {
1619
+ "text": "string | undefined"
1620
+ },
1621
+ "description": "Optional URL to direct the user to when the breadcrumb item is activated. When set, a link will be rendered\ninternally. When unset, a button will be rendered instead.",
1622
+ "attribute": "href"
1623
+ },
1624
+ {
1625
+ "kind": "field",
1626
+ "name": "target",
1627
+ "type": {
1628
+ "text": "'_blank' | '_parent' | '_self' | '_top' | undefined"
1629
+ },
1630
+ "description": "Tells the browser where to open the link. Only used when `href` is set.",
1631
+ "attribute": "target"
1632
+ },
1633
+ {
1634
+ "kind": "field",
1635
+ "name": "rel",
1636
+ "type": {
1637
+ "text": "string"
1638
+ },
1639
+ "default": "'noreferrer noopener'",
1640
+ "description": "The `rel` attribute to use on the link. Only used when `href` is set.",
1641
+ "attribute": "rel"
1642
+ }
1643
+ ],
1644
+ "attributes": [
1645
+ {
1646
+ "name": "href",
1647
+ "type": {
1648
+ "text": "string | undefined"
1649
+ },
1650
+ "description": "Optional URL to direct the user to when the breadcrumb item is activated. When set, a link will be rendered\ninternally. When unset, a button will be rendered instead.",
1651
+ "fieldName": "href"
1652
+ },
1653
+ {
1654
+ "name": "target",
1655
+ "type": {
1656
+ "text": "'_blank' | '_parent' | '_self' | '_top' | undefined"
1657
+ },
1658
+ "description": "Tells the browser where to open the link. Only used when `href` is set.",
1659
+ "fieldName": "target"
1660
+ },
1661
+ {
1662
+ "name": "rel",
1663
+ "type": {
1664
+ "text": "string"
1665
+ },
1666
+ "default": "'noreferrer noopener'",
1667
+ "description": "The `rel` attribute to use on the link. Only used when `href` is set.",
1668
+ "fieldName": "rel"
1669
+ }
1670
+ ],
1671
+ "superclass": {
1672
+ "name": "FlowRdfElement",
1673
+ "module": "/src/internal/flow-ui-rdf-element"
1674
+ },
1675
+ "tagName": "flow-ui-breadcrumb-item",
1676
+ "summary": "Breadcrumb Items are used inside [breadcrumbs](./flow-ui-breadcrumb) to represent different links.",
1677
+ "customElement": true
1678
+ }
1679
+ ],
1680
+ "exports": [
1681
+ {
1682
+ "kind": "js",
1683
+ "name": "default",
1684
+ "declaration": {
1685
+ "name": "FlowUiBreadcrumbItem",
1686
+ "module": "components/breadcrumb-item/breadcrumb-item.component.js"
1687
+ }
1688
+ }
1689
+ ]
1690
+ },
1691
+ {
1692
+ "kind": "javascript-module",
1693
+ "path": "components/breadcrumb-item/breadcrumb-item.js",
1694
+ "declarations": [],
1695
+ "exports": [
1696
+ {
1697
+ "kind": "js",
1698
+ "name": "default",
1699
+ "declaration": {
1700
+ "name": "FlowUiBreadcrumbItem",
1701
+ "module": "components/breadcrumb-item/breadcrumb-item.js"
1702
+ }
1703
+ }
1704
+ ]
1705
+ },
1706
1706
  {
1707
1707
  "kind": "javascript-module",
1708
1708
  "path": "components/button/button.component.js",
@@ -23960,6 +23960,6 @@
23960
23960
  ],
23961
23961
  "package": {
23962
23962
  "name": "@emuanalytics/flow-rdf-ui",
23963
- "version": "4.1.0-preview.7"
23963
+ "version": "4.1.0-preview.9"
23964
23964
  }
23965
23965
  }
@@ -1,3 +1,3 @@
1
- const version = "4.1.0-preview.7";
1
+ const version = "4.1.0-preview.9";
2
2
 
3
3
  export { version };
@@ -97,35 +97,6 @@
97
97
  ],
98
98
  "references": []
99
99
  },
100
- {
101
- "name": "flow-ui-badge",
102
- "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
- "attributes": [
104
- {
105
- "name": "variant",
106
- "description": "The badge's theme variant.",
107
- "values": [
108
- { "name": "primary" },
109
- { "name": "secondary" },
110
- { "name": "success" },
111
- { "name": "neutral" },
112
- { "name": "warning" },
113
- { "name": "danger" }
114
- ]
115
- },
116
- {
117
- "name": "pill",
118
- "description": "Draws a pill-style badge with rounded edges.",
119
- "values": []
120
- },
121
- {
122
- "name": "pulse",
123
- "description": "Makes the badge pulsate to draw attention.",
124
- "values": []
125
- }
126
- ],
127
- "references": []
128
- },
129
100
  {
130
101
  "name": "flow-ui-avatar",
131
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.",
@@ -174,33 +145,6 @@
174
145
  ],
175
146
  "references": []
176
147
  },
177
- {
178
- "name": "flow-ui-breadcrumb-item",
179
- "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.",
180
- "attributes": [
181
- {
182
- "name": "href",
183
- "description": "Optional URL to direct the user to when the breadcrumb item is activated. When set, a link will be rendered\ninternally. When unset, a button will be rendered instead.",
184
- "values": []
185
- },
186
- {
187
- "name": "target",
188
- "description": "Tells the browser where to open the link. Only used when `href` is set.",
189
- "values": [
190
- { "name": "_blank" },
191
- { "name": "_parent" },
192
- { "name": "_self" },
193
- { "name": "_top" }
194
- ]
195
- },
196
- {
197
- "name": "rel",
198
- "description": "The `rel` attribute to use on the link. Only used when `href` is set.",
199
- "values": []
200
- }
201
- ],
202
- "references": []
203
- },
204
148
  {
205
149
  "name": "flow-ui-base-control",
206
150
  "description": "Inputs collect data from the user.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-blur** - Emitted when the control loses focus.\n- **flow-ui-change** - Emitted when an alteration to the control's value is committed by the user.\n- **flow-ui-clear** - Emitted when the clear button is activated.\n- **flow-ui-focus** - Emitted when the control gains focus.\n- **flow-ui-input** - Emitted when the control receives input.\n- **flow-ui-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the input.\n- **blur()** - Removes focus from the input.\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 - **label** - The input's label. Alternatively, you can use the `label` attribute.\n- **prefix** - Used to prepend a presentational icon or similar element to the input.\n- **suffix** - Used to append a presentational icon or similar element to the input.\n- **clear-icon** - An icon to use in lieu of the default clear icon.\n- **show-password-icon** - An icon to use in lieu of the default show password icon.\n- **hide-password-icon** - An icon to use in lieu of the default hide password icon.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The input's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **base** - The component's base wrapper.\n- **input** - The internal `<input>` control.\n- **prefix** - The container that wraps the prefix.\n- **clear-button** - The clear button.\n- **password-toggle-button** - The password toggle button.\n- **suffix** - The container that wraps the suffix.",
@@ -262,6 +206,62 @@
262
206
  ],
263
207
  "references": []
264
208
  },
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
+ {
239
+ "name": "flow-ui-breadcrumb-item",
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.",
241
+ "attributes": [
242
+ {
243
+ "name": "href",
244
+ "description": "Optional URL to direct the user to when the breadcrumb item is activated. When set, a link will be rendered\ninternally. When unset, a button will be rendered instead.",
245
+ "values": []
246
+ },
247
+ {
248
+ "name": "target",
249
+ "description": "Tells the browser where to open the link. Only used when `href` is set.",
250
+ "values": [
251
+ { "name": "_blank" },
252
+ { "name": "_parent" },
253
+ { "name": "_self" },
254
+ { "name": "_top" }
255
+ ]
256
+ },
257
+ {
258
+ "name": "rel",
259
+ "description": "The `rel` attribute to use on the link. Only used when `href` is set.",
260
+ "values": []
261
+ }
262
+ ],
263
+ "references": []
264
+ },
265
265
  {
266
266
  "name": "flow-ui-button",
267
267
  "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.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emuanalytics/flow-rdf-ui",
3
- "version": "4.1.0-preview.7",
3
+ "version": "4.1.0-preview.9",
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;
@@ -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;
@@ -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);