@emuanalytics/flow-rdf-ui 0.0.18-alpha.18 → 0.0.18-alpha.19

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.
@@ -255,6 +255,191 @@
255
255
  }
256
256
  ]
257
257
  },
258
+ {
259
+ "kind": "javascript-module",
260
+ "path": "components/avatar/avatar.js",
261
+ "declarations": [
262
+ {
263
+ "kind": "class",
264
+ "description": "",
265
+ "name": "FlowAvatar",
266
+ "cssProperties": [
267
+ {
268
+ "description": "The size of the avatar.",
269
+ "name": "--size"
270
+ }
271
+ ],
272
+ "cssParts": [
273
+ {
274
+ "description": "The component's base wrapper.",
275
+ "name": "base"
276
+ },
277
+ {
278
+ "description": "The container that wraps the avatar's icon.",
279
+ "name": "icon"
280
+ },
281
+ {
282
+ "description": "The container that wraps the avatar's initials.",
283
+ "name": "initials"
284
+ },
285
+ {
286
+ "description": "The avatar image. Only shown when the `image` attribute is set.",
287
+ "name": "image"
288
+ }
289
+ ],
290
+ "slots": [
291
+ {
292
+ "description": "The default icon to use when no image or initials are present. Works best with `<flow-ui-icon>`.",
293
+ "name": "icon"
294
+ }
295
+ ],
296
+ "members": [
297
+ {
298
+ "kind": "field",
299
+ "name": "hasError",
300
+ "type": {
301
+ "text": "boolean"
302
+ },
303
+ "privacy": "private",
304
+ "default": "false"
305
+ },
306
+ {
307
+ "kind": "field",
308
+ "name": "image",
309
+ "type": {
310
+ "text": "string"
311
+ },
312
+ "default": "''",
313
+ "description": "The image source to use for the avatar.",
314
+ "attribute": "image"
315
+ },
316
+ {
317
+ "kind": "field",
318
+ "name": "label",
319
+ "type": {
320
+ "text": "string"
321
+ },
322
+ "default": "''",
323
+ "description": "A label to use to describe the avatar to assistive devices.",
324
+ "attribute": "label"
325
+ },
326
+ {
327
+ "kind": "field",
328
+ "name": "initials",
329
+ "type": {
330
+ "text": "string"
331
+ },
332
+ "default": "''",
333
+ "description": "Initials to use as a fallback when no image is available (1-2 characters max recommended).",
334
+ "attribute": "initials"
335
+ },
336
+ {
337
+ "kind": "field",
338
+ "name": "loading",
339
+ "type": {
340
+ "text": "'eager' | 'lazy'"
341
+ },
342
+ "default": "'eager'",
343
+ "description": "Indicates how the browser should load the image.",
344
+ "attribute": "loading"
345
+ },
346
+ {
347
+ "kind": "field",
348
+ "name": "shape",
349
+ "type": {
350
+ "text": "'circle' | 'square' | 'rounded'"
351
+ },
352
+ "default": "'circle'",
353
+ "description": "The shape of the avatar.",
354
+ "attribute": "shape",
355
+ "reflects": true
356
+ },
357
+ {
358
+ "kind": "method",
359
+ "name": "handleImageChange"
360
+ }
361
+ ],
362
+ "attributes": [
363
+ {
364
+ "name": "image",
365
+ "type": {
366
+ "text": "string"
367
+ },
368
+ "default": "''",
369
+ "description": "The image source to use for the avatar.",
370
+ "fieldName": "image"
371
+ },
372
+ {
373
+ "name": "label",
374
+ "type": {
375
+ "text": "string"
376
+ },
377
+ "default": "''",
378
+ "description": "A label to use to describe the avatar to assistive devices.",
379
+ "fieldName": "label"
380
+ },
381
+ {
382
+ "name": "initials",
383
+ "type": {
384
+ "text": "string"
385
+ },
386
+ "default": "''",
387
+ "description": "Initials to use as a fallback when no image is available (1-2 characters max recommended).",
388
+ "fieldName": "initials"
389
+ },
390
+ {
391
+ "name": "loading",
392
+ "type": {
393
+ "text": "'eager' | 'lazy'"
394
+ },
395
+ "default": "'eager'",
396
+ "description": "Indicates how the browser should load the image.",
397
+ "fieldName": "loading"
398
+ },
399
+ {
400
+ "name": "shape",
401
+ "type": {
402
+ "text": "'circle' | 'square' | 'rounded'"
403
+ },
404
+ "default": "'circle'",
405
+ "description": "The shape of the avatar.",
406
+ "fieldName": "shape"
407
+ }
408
+ ],
409
+ "superclass": {
410
+ "name": "FlowRdfElement",
411
+ "module": "/src/internal/flow-ui-rdf-element"
412
+ },
413
+ "summary": "Avatars are used to represent a person or object.",
414
+ "documentation": "https://developer.emu-analytics.net/docs/flow-ui-rdf/components/avatar",
415
+ "status": "stable",
416
+ "since": "2.0",
417
+ "dependencies": [
418
+ "flow-ui-icon"
419
+ ],
420
+ "tagName": "flow-ui-avatar",
421
+ "customElement": true
422
+ }
423
+ ],
424
+ "exports": [
425
+ {
426
+ "kind": "js",
427
+ "name": "default",
428
+ "declaration": {
429
+ "name": "FlowAvatar",
430
+ "module": "components/avatar/avatar.js"
431
+ }
432
+ },
433
+ {
434
+ "kind": "custom-element-definition",
435
+ "name": "flow-ui-avatar",
436
+ "declaration": {
437
+ "name": "FlowAvatar",
438
+ "module": "components/avatar/avatar.js"
439
+ }
440
+ }
441
+ ]
442
+ },
258
443
  {
259
444
  "kind": "javascript-module",
260
445
  "path": "components/animation/animation.js",
@@ -674,12 +859,12 @@
674
859
  },
675
860
  {
676
861
  "kind": "javascript-module",
677
- "path": "components/badge/badge.js",
862
+ "path": "components/breadcrumb/breadcrumb.js",
678
863
  "declarations": [
679
864
  {
680
865
  "kind": "class",
681
866
  "description": "",
682
- "name": "FlowBadge",
867
+ "name": "FlowBreadcrumb",
683
868
  "cssParts": [
684
869
  {
685
870
  "description": "The component's base wrapper.",
@@ -688,162 +873,40 @@
688
873
  ],
689
874
  "slots": [
690
875
  {
691
- "description": "The badge's content.",
876
+ "description": "One or more breadcrumb items to display.",
692
877
  "name": ""
878
+ },
879
+ {
880
+ "description": "The separator to use between breadcrumb items. Works best with `<flow-ui-icon>`.",
881
+ "name": "separator"
693
882
  }
694
883
  ],
695
884
  "members": [
696
885
  {
697
886
  "kind": "field",
698
- "name": "variant",
699
- "type": {
700
- "text": "'primary' | 'success' | 'neutral' | 'warning' | 'danger'"
701
- },
702
- "default": "'primary'",
703
- "description": "The badge's theme variant.",
704
- "attribute": "variant",
705
- "reflects": true
706
- },
707
- {
708
- "kind": "field",
709
- "name": "pill",
710
- "type": {
711
- "text": "boolean"
712
- },
713
- "default": "false",
714
- "description": "Draws a pill-style badge with rounded edges.",
715
- "attribute": "pill",
716
- "reflects": true
887
+ "name": "localize",
888
+ "privacy": "private",
889
+ "readonly": true,
890
+ "default": "new LocalizeController(this)"
717
891
  },
718
892
  {
719
893
  "kind": "field",
720
- "name": "pulse",
721
- "type": {
722
- "text": "boolean"
723
- },
724
- "default": "false",
725
- "description": "Makes the badge pulsate to draw attention.",
726
- "attribute": "pulse",
727
- "reflects": true
728
- }
729
- ],
730
- "attributes": [
731
- {
732
- "name": "variant",
733
- "type": {
734
- "text": "'primary' | 'success' | 'neutral' | 'warning' | 'danger'"
735
- },
736
- "default": "'primary'",
737
- "description": "The badge's theme variant.",
738
- "fieldName": "variant"
739
- },
740
- {
741
- "name": "pill",
742
- "type": {
743
- "text": "boolean"
744
- },
745
- "default": "false",
746
- "description": "Draws a pill-style badge with rounded edges.",
747
- "fieldName": "pill"
748
- },
749
- {
750
- "name": "pulse",
751
- "type": {
752
- "text": "boolean"
753
- },
754
- "default": "false",
755
- "description": "Makes the badge pulsate to draw attention.",
756
- "fieldName": "pulse"
757
- }
758
- ],
759
- "superclass": {
760
- "name": "FlowRdfElement",
761
- "module": "/src/internal/flow-ui-rdf-element"
762
- },
763
- "summary": "Badges are used to draw attention and display statuses or counts.",
764
- "documentation": "https://developer.emu-analytics.net/docs/flow-ui-rdf/components/badge",
765
- "status": "stable",
766
- "since": "2.0",
767
- "tagName": "flow-ui-badge",
768
- "customElement": true
769
- }
770
- ],
771
- "exports": [
772
- {
773
- "kind": "js",
774
- "name": "default",
775
- "declaration": {
776
- "name": "FlowBadge",
777
- "module": "components/badge/badge.js"
778
- }
779
- },
780
- {
781
- "kind": "custom-element-definition",
782
- "name": "flow-ui-badge",
783
- "declaration": {
784
- "name": "FlowBadge",
785
- "module": "components/badge/badge.js"
786
- }
787
- }
788
- ]
789
- },
790
- {
791
- "kind": "javascript-module",
792
- "path": "components/avatar/avatar.js",
793
- "declarations": [
794
- {
795
- "kind": "class",
796
- "description": "",
797
- "name": "FlowAvatar",
798
- "cssProperties": [
799
- {
800
- "description": "The size of the avatar.",
801
- "name": "--size"
802
- }
803
- ],
804
- "cssParts": [
805
- {
806
- "description": "The component's base wrapper.",
807
- "name": "base"
808
- },
809
- {
810
- "description": "The container that wraps the avatar's icon.",
811
- "name": "icon"
812
- },
813
- {
814
- "description": "The container that wraps the avatar's initials.",
815
- "name": "initials"
894
+ "name": "separatorDir",
895
+ "privacy": "private"
816
896
  },
817
- {
818
- "description": "The avatar image. Only shown when the `image` attribute is set.",
819
- "name": "image"
820
- }
821
- ],
822
- "slots": [
823
- {
824
- "description": "The default icon to use when no image or initials are present. Works best with `<flow-ui-icon>`.",
825
- "name": "icon"
826
- }
827
- ],
828
- "members": [
829
897
  {
830
898
  "kind": "field",
831
- "name": "hasError",
899
+ "name": "defaultSlot",
832
900
  "type": {
833
- "text": "boolean"
834
- },
835
- "privacy": "private",
836
- "default": "false"
901
+ "text": "HTMLSlotElement"
902
+ }
837
903
  },
838
904
  {
839
905
  "kind": "field",
840
- "name": "image",
906
+ "name": "separatorSlot",
841
907
  "type": {
842
- "text": "string"
843
- },
844
- "default": "''",
845
- "description": "The image source to use for the avatar.",
846
- "attribute": "image"
908
+ "text": "HTMLSlotElement"
909
+ }
847
910
  },
848
911
  {
849
912
  "kind": "field",
@@ -852,104 +915,43 @@
852
915
  "text": "string"
853
916
  },
854
917
  "default": "''",
855
- "description": "A label to use to describe the avatar to assistive devices.",
918
+ "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.",
856
919
  "attribute": "label"
857
920
  },
858
921
  {
859
- "kind": "field",
860
- "name": "initials",
861
- "type": {
862
- "text": "string"
863
- },
864
- "default": "''",
865
- "description": "Initials to use as a fallback when no image is available (1-2 characters max recommended).",
866
- "attribute": "initials"
867
- },
868
- {
869
- "kind": "field",
870
- "name": "loading",
871
- "type": {
872
- "text": "'eager' | 'lazy'"
873
- },
874
- "default": "'eager'",
875
- "description": "Indicates how the browser should load the image.",
876
- "attribute": "loading"
877
- },
878
- {
879
- "kind": "field",
880
- "name": "shape",
881
- "type": {
882
- "text": "'circle' | 'square' | 'rounded'"
883
- },
884
- "default": "'circle'",
885
- "description": "The shape of the avatar.",
886
- "attribute": "shape",
887
- "reflects": true
922
+ "kind": "method",
923
+ "name": "getSeparator",
924
+ "privacy": "private"
888
925
  },
889
926
  {
890
927
  "kind": "method",
891
- "name": "handleImageChange"
928
+ "name": "handleSlotChange",
929
+ "privacy": "private"
892
930
  }
893
931
  ],
894
932
  "attributes": [
895
- {
896
- "name": "image",
897
- "type": {
898
- "text": "string"
899
- },
900
- "default": "''",
901
- "description": "The image source to use for the avatar.",
902
- "fieldName": "image"
903
- },
904
933
  {
905
934
  "name": "label",
906
935
  "type": {
907
936
  "text": "string"
908
937
  },
909
- "default": "''",
910
- "description": "A label to use to describe the avatar to assistive devices.",
911
- "fieldName": "label"
912
- },
913
- {
914
- "name": "initials",
915
- "type": {
916
- "text": "string"
917
- },
918
- "default": "''",
919
- "description": "Initials to use as a fallback when no image is available (1-2 characters max recommended).",
920
- "fieldName": "initials"
921
- },
922
- {
923
- "name": "loading",
924
- "type": {
925
- "text": "'eager' | 'lazy'"
926
- },
927
- "default": "'eager'",
928
- "description": "Indicates how the browser should load the image.",
929
- "fieldName": "loading"
930
- },
931
- {
932
- "name": "shape",
933
- "type": {
934
- "text": "'circle' | 'square' | 'rounded'"
935
- },
936
- "default": "'circle'",
937
- "description": "The shape of the avatar.",
938
- "fieldName": "shape"
938
+ "default": "''",
939
+ "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.",
940
+ "fieldName": "label"
939
941
  }
940
942
  ],
941
943
  "superclass": {
942
944
  "name": "FlowRdfElement",
943
945
  "module": "/src/internal/flow-ui-rdf-element"
944
946
  },
945
- "summary": "Avatars are used to represent a person or object.",
946
- "documentation": "https://developer.emu-analytics.net/docs/flow-ui-rdf/components/avatar",
947
+ "summary": "Breadcrumbs provide a group of links so users can easily navigate a website's hierarchy.",
948
+ "documentation": "https://developer.emu-analytics.net/docs/flow-ui-rdf/components/breadcrumb",
947
949
  "status": "stable",
948
950
  "since": "2.0",
949
951
  "dependencies": [
950
952
  "flow-ui-icon"
951
953
  ],
952
- "tagName": "flow-ui-avatar",
954
+ "tagName": "flow-ui-breadcrumb",
953
955
  "customElement": true
954
956
  }
955
957
  ],
@@ -958,16 +960,16 @@
958
960
  "kind": "js",
959
961
  "name": "default",
960
962
  "declaration": {
961
- "name": "FlowAvatar",
962
- "module": "components/avatar/avatar.js"
963
+ "name": "FlowBreadcrumb",
964
+ "module": "components/breadcrumb/breadcrumb.js"
963
965
  }
964
966
  },
965
967
  {
966
968
  "kind": "custom-element-definition",
967
- "name": "flow-ui-avatar",
969
+ "name": "flow-ui-breadcrumb",
968
970
  "declaration": {
969
- "name": "FlowAvatar",
970
- "module": "components/avatar/avatar.js"
971
+ "name": "FlowBreadcrumb",
972
+ "module": "components/breadcrumb/breadcrumb.js"
971
973
  }
972
974
  }
973
975
  ]
@@ -1115,123 +1117,6 @@
1115
1117
  }
1116
1118
  ]
1117
1119
  },
1118
- {
1119
- "kind": "javascript-module",
1120
- "path": "components/breadcrumb/breadcrumb.js",
1121
- "declarations": [
1122
- {
1123
- "kind": "class",
1124
- "description": "",
1125
- "name": "FlowBreadcrumb",
1126
- "cssParts": [
1127
- {
1128
- "description": "The component's base wrapper.",
1129
- "name": "base"
1130
- }
1131
- ],
1132
- "slots": [
1133
- {
1134
- "description": "One or more breadcrumb items to display.",
1135
- "name": ""
1136
- },
1137
- {
1138
- "description": "The separator to use between breadcrumb items. Works best with `<flow-ui-icon>`.",
1139
- "name": "separator"
1140
- }
1141
- ],
1142
- "members": [
1143
- {
1144
- "kind": "field",
1145
- "name": "localize",
1146
- "privacy": "private",
1147
- "readonly": true,
1148
- "default": "new LocalizeController(this)"
1149
- },
1150
- {
1151
- "kind": "field",
1152
- "name": "separatorDir",
1153
- "privacy": "private"
1154
- },
1155
- {
1156
- "kind": "field",
1157
- "name": "defaultSlot",
1158
- "type": {
1159
- "text": "HTMLSlotElement"
1160
- }
1161
- },
1162
- {
1163
- "kind": "field",
1164
- "name": "separatorSlot",
1165
- "type": {
1166
- "text": "HTMLSlotElement"
1167
- }
1168
- },
1169
- {
1170
- "kind": "field",
1171
- "name": "label",
1172
- "type": {
1173
- "text": "string"
1174
- },
1175
- "default": "''",
1176
- "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.",
1177
- "attribute": "label"
1178
- },
1179
- {
1180
- "kind": "method",
1181
- "name": "getSeparator",
1182
- "privacy": "private"
1183
- },
1184
- {
1185
- "kind": "method",
1186
- "name": "handleSlotChange",
1187
- "privacy": "private"
1188
- }
1189
- ],
1190
- "attributes": [
1191
- {
1192
- "name": "label",
1193
- "type": {
1194
- "text": "string"
1195
- },
1196
- "default": "''",
1197
- "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.",
1198
- "fieldName": "label"
1199
- }
1200
- ],
1201
- "superclass": {
1202
- "name": "FlowRdfElement",
1203
- "module": "/src/internal/flow-ui-rdf-element"
1204
- },
1205
- "summary": "Breadcrumbs provide a group of links so users can easily navigate a website's hierarchy.",
1206
- "documentation": "https://developer.emu-analytics.net/docs/flow-ui-rdf/components/breadcrumb",
1207
- "status": "stable",
1208
- "since": "2.0",
1209
- "dependencies": [
1210
- "flow-ui-icon"
1211
- ],
1212
- "tagName": "flow-ui-breadcrumb",
1213
- "customElement": true
1214
- }
1215
- ],
1216
- "exports": [
1217
- {
1218
- "kind": "js",
1219
- "name": "default",
1220
- "declaration": {
1221
- "name": "FlowBreadcrumb",
1222
- "module": "components/breadcrumb/breadcrumb.js"
1223
- }
1224
- },
1225
- {
1226
- "kind": "custom-element-definition",
1227
- "name": "flow-ui-breadcrumb",
1228
- "declaration": {
1229
- "name": "FlowBreadcrumb",
1230
- "module": "components/breadcrumb/breadcrumb.js"
1231
- }
1232
- }
1233
- ]
1234
- },
1235
1120
  {
1236
1121
  "kind": "javascript-module",
1237
1122
  "path": "components/button/button.js",
@@ -1909,6 +1794,121 @@
1909
1794
  }
1910
1795
  ]
1911
1796
  },
1797
+ {
1798
+ "kind": "javascript-module",
1799
+ "path": "components/badge/badge.js",
1800
+ "declarations": [
1801
+ {
1802
+ "kind": "class",
1803
+ "description": "",
1804
+ "name": "FlowBadge",
1805
+ "cssParts": [
1806
+ {
1807
+ "description": "The component's base wrapper.",
1808
+ "name": "base"
1809
+ }
1810
+ ],
1811
+ "slots": [
1812
+ {
1813
+ "description": "The badge's content.",
1814
+ "name": ""
1815
+ }
1816
+ ],
1817
+ "members": [
1818
+ {
1819
+ "kind": "field",
1820
+ "name": "variant",
1821
+ "type": {
1822
+ "text": "'primary' | 'success' | 'neutral' | 'warning' | 'danger'"
1823
+ },
1824
+ "default": "'primary'",
1825
+ "description": "The badge's theme variant.",
1826
+ "attribute": "variant",
1827
+ "reflects": true
1828
+ },
1829
+ {
1830
+ "kind": "field",
1831
+ "name": "pill",
1832
+ "type": {
1833
+ "text": "boolean"
1834
+ },
1835
+ "default": "false",
1836
+ "description": "Draws a pill-style badge with rounded edges.",
1837
+ "attribute": "pill",
1838
+ "reflects": true
1839
+ },
1840
+ {
1841
+ "kind": "field",
1842
+ "name": "pulse",
1843
+ "type": {
1844
+ "text": "boolean"
1845
+ },
1846
+ "default": "false",
1847
+ "description": "Makes the badge pulsate to draw attention.",
1848
+ "attribute": "pulse",
1849
+ "reflects": true
1850
+ }
1851
+ ],
1852
+ "attributes": [
1853
+ {
1854
+ "name": "variant",
1855
+ "type": {
1856
+ "text": "'primary' | 'success' | 'neutral' | 'warning' | 'danger'"
1857
+ },
1858
+ "default": "'primary'",
1859
+ "description": "The badge's theme variant.",
1860
+ "fieldName": "variant"
1861
+ },
1862
+ {
1863
+ "name": "pill",
1864
+ "type": {
1865
+ "text": "boolean"
1866
+ },
1867
+ "default": "false",
1868
+ "description": "Draws a pill-style badge with rounded edges.",
1869
+ "fieldName": "pill"
1870
+ },
1871
+ {
1872
+ "name": "pulse",
1873
+ "type": {
1874
+ "text": "boolean"
1875
+ },
1876
+ "default": "false",
1877
+ "description": "Makes the badge pulsate to draw attention.",
1878
+ "fieldName": "pulse"
1879
+ }
1880
+ ],
1881
+ "superclass": {
1882
+ "name": "FlowRdfElement",
1883
+ "module": "/src/internal/flow-ui-rdf-element"
1884
+ },
1885
+ "summary": "Badges are used to draw attention and display statuses or counts.",
1886
+ "documentation": "https://developer.emu-analytics.net/docs/flow-ui-rdf/components/badge",
1887
+ "status": "stable",
1888
+ "since": "2.0",
1889
+ "tagName": "flow-ui-badge",
1890
+ "customElement": true
1891
+ }
1892
+ ],
1893
+ "exports": [
1894
+ {
1895
+ "kind": "js",
1896
+ "name": "default",
1897
+ "declaration": {
1898
+ "name": "FlowBadge",
1899
+ "module": "components/badge/badge.js"
1900
+ }
1901
+ },
1902
+ {
1903
+ "kind": "custom-element-definition",
1904
+ "name": "flow-ui-badge",
1905
+ "declaration": {
1906
+ "name": "FlowBadge",
1907
+ "module": "components/badge/badge.js"
1908
+ }
1909
+ }
1910
+ ]
1911
+ },
1912
1912
  {
1913
1913
  "kind": "javascript-module",
1914
1914
  "path": "components/button-group/button-group.js",
@@ -3174,6 +3174,10 @@
3174
3174
  "description": "The chart component is a container for [Chart.js](https://www.chartjs.org/) charts. The component\nsupplies additional Flow RDF UI features including:\n\n- Consistent theming with other flow-rdf-ui components.\n- Additional plugins and charts types for commonly-used charts.\n- Convenience child components (`flow-ui-chart-data` and `flow-ui-chart-scale`) for defining chart data and scales.",
3175
3175
  "name": "FlowChart",
3176
3176
  "cssProperties": [
3177
+ {
3178
+ "description": "Chart background color (applied as the background color of the base container).",
3179
+ "name": "--background-color"
3180
+ },
3177
3181
  {
3178
3182
  "description": "General text color (titles etc.)",
3179
3183
  "name": "--text-color"
@@ -20263,6 +20267,6 @@
20263
20267
  ],
20264
20268
  "package": {
20265
20269
  "name": "@emuanalytics/flow-rdf-ui",
20266
- "version": "0.0.18-alpha.17"
20270
+ "version": "0.0.18-alpha.18"
20267
20271
  }
20268
20272
  }
@@ -667,6 +667,7 @@ export declare type FlowChangeEvent = CustomEvent<Record<PropertyKey, never>>;
667
667
  * @tagname flow-ui-chart
668
668
  * @summary The chart component displays Chart.js charts.
669
669
  *
670
+ * @cssproperty --background-color - Chart background color (applied as the background color of the base container).
670
671
  * @cssproperty --text-color - General text color (titles etc.)
671
672
  * @cssproperty --axis-color - Color of the axis lines.
672
673
  * @cssproperty --x-axis-color - Color of the x-axis lines. (defaults to `--axis-color`)
@@ -8015,24 +8015,25 @@ const styles$I = i$8`
8015
8015
  :host {
8016
8016
  display: block;
8017
8017
 
8018
- --text-color: var(--flow-ui-chart-text-color, var(--flow-ui-color-neutral-400), #bbb);
8018
+ --background-color: var(--flow-ui-chart-background-color, var(--flow-ui-color-neutral-200, #f5f5f5));
8019
+ --text-color: var(--flow-ui-chart-text-color, var(--flow-ui-color-neutral-400, #bbb));
8019
8020
 
8020
- --axis-color: var(--flow-ui-chart-axis-color, var(--flow-ui-color-neutral-400), #bbb);
8021
+ --axis-color: var(--flow-ui-chart-axis-color, var(--flow-ui-color-neutral-400, #bbb));
8021
8022
  --x-axis-color: var(--axis-color);
8022
8023
  --y-axis-color: var(--axis-color);
8023
8024
 
8024
8025
  --x-axis-tick-color: var(--x-axis-color);
8025
8026
  --y-axis-tick-color: var(--y-axis-color);
8026
8027
 
8027
- --axis-grid-color: var(--flow-ui-chart-grid-color, var(--flow-ui-color-neutral-200), #eee);
8028
+ --axis-grid-color: var(--flow-ui-chart-grid-color, var(--flow-ui-color-neutral-200, #eee));
8028
8029
  --x-axis-grid-color: var(--axis-grid-color);
8029
8030
  --y-axis-grid-color: var(--axis-grid-color);
8030
8031
 
8031
- --axis-label-color: var(--flow-ui-chart-axis-label-color, var(--flow-ui-color-neutral-400), #bbb);
8032
+ --axis-label-color: var(--flow-ui-chart-axis-label-color, var(--flow-ui-color-neutral-400, #bbb));
8032
8033
  --x-axis-label-color: var(--axis-label-color);
8033
8034
  --y-axis-label-color: var(--axis-label-color);
8034
8035
 
8035
- --tick-label-color: var(--flow-ui-chart-tick-label-color, var(--flow-ui-color-neutral-400), #bbb);
8036
+ --tick-label-color: var(--flow-ui-chart-tick-label-color, var(--flow-ui-color-neutral-400, #bbb));
8036
8037
  --x-tick-label-color: var(--tick-label-color);
8037
8038
  --y-tick-label-color: var(--tick-label-color);
8038
8039
 
@@ -8068,10 +8069,10 @@ const styles$I = i$8`
8068
8069
  }
8069
8070
 
8070
8071
  .chart {
8072
+ background-color: var(--background-color);
8071
8073
  position: relative;
8072
8074
  width: 100%;
8073
8075
  height: 100%;
8074
- padding: var(--flow-ui-spacing-small);
8075
8076
  }
8076
8077
  `;
8077
8078
  /*!
@@ -31733,7 +31734,7 @@ const translation = {
31733
31734
  toggleColorFormat: "Toggle color format"
31734
31735
  };
31735
31736
  registerTranslation(translation);
31736
- const version = "0.0.18-alpha.17";
31737
+ const version = "0.0.18-alpha.18";
31737
31738
  const CONSOLE_HIGHLIGHT_STYLE = `
31738
31739
  padding: 2px 4px;
31739
31740
  border-radius: 2px;
@@ -8017,24 +8017,25 @@
8017
8017
  :host {
8018
8018
  display: block;
8019
8019
 
8020
- --text-color: var(--flow-ui-chart-text-color, var(--flow-ui-color-neutral-400), #bbb);
8020
+ --background-color: var(--flow-ui-chart-background-color, var(--flow-ui-color-neutral-200, #f5f5f5));
8021
+ --text-color: var(--flow-ui-chart-text-color, var(--flow-ui-color-neutral-400, #bbb));
8021
8022
 
8022
- --axis-color: var(--flow-ui-chart-axis-color, var(--flow-ui-color-neutral-400), #bbb);
8023
+ --axis-color: var(--flow-ui-chart-axis-color, var(--flow-ui-color-neutral-400, #bbb));
8023
8024
  --x-axis-color: var(--axis-color);
8024
8025
  --y-axis-color: var(--axis-color);
8025
8026
 
8026
8027
  --x-axis-tick-color: var(--x-axis-color);
8027
8028
  --y-axis-tick-color: var(--y-axis-color);
8028
8029
 
8029
- --axis-grid-color: var(--flow-ui-chart-grid-color, var(--flow-ui-color-neutral-200), #eee);
8030
+ --axis-grid-color: var(--flow-ui-chart-grid-color, var(--flow-ui-color-neutral-200, #eee));
8030
8031
  --x-axis-grid-color: var(--axis-grid-color);
8031
8032
  --y-axis-grid-color: var(--axis-grid-color);
8032
8033
 
8033
- --axis-label-color: var(--flow-ui-chart-axis-label-color, var(--flow-ui-color-neutral-400), #bbb);
8034
+ --axis-label-color: var(--flow-ui-chart-axis-label-color, var(--flow-ui-color-neutral-400, #bbb));
8034
8035
  --x-axis-label-color: var(--axis-label-color);
8035
8036
  --y-axis-label-color: var(--axis-label-color);
8036
8037
 
8037
- --tick-label-color: var(--flow-ui-chart-tick-label-color, var(--flow-ui-color-neutral-400), #bbb);
8038
+ --tick-label-color: var(--flow-ui-chart-tick-label-color, var(--flow-ui-color-neutral-400, #bbb));
8038
8039
  --x-tick-label-color: var(--tick-label-color);
8039
8040
  --y-tick-label-color: var(--tick-label-color);
8040
8041
 
@@ -8070,10 +8071,10 @@
8070
8071
  }
8071
8072
 
8072
8073
  .chart {
8074
+ background-color: var(--background-color);
8073
8075
  position: relative;
8074
8076
  width: 100%;
8075
8077
  height: 100%;
8076
- padding: var(--flow-ui-spacing-small);
8077
8078
  }
8078
8079
  `;
8079
8080
  /*!
@@ -31735,7 +31736,7 @@ body > .os-scrollbar {
31735
31736
  toggleColorFormat: "Toggle color format"
31736
31737
  };
31737
31738
  registerTranslation(translation);
31738
- const version = "0.0.18-alpha.17";
31739
+ const version = "0.0.18-alpha.18";
31739
31740
  const CONSOLE_HIGHLIGHT_STYLE = `
31740
31741
  padding: 2px 4px;
31741
31742
  border-radius: 2px;
@@ -506,6 +506,7 @@
506
506
  --flow-ui-z-index-toast: 950;
507
507
  --flow-ui-z-index-tooltip: 1000;
508
508
 
509
+ --flow-ui-chart-background-color: var(--flow-ui-color-neutral-200);
509
510
  --flow-ui-chart-text-color: var(--flow-ui-color-neutral-900);
510
511
 
511
512
  --flow-ui-chart-axis-color: var(--flow-ui-color-neutral-600);
@@ -515,6 +515,7 @@ export default css`
515
515
  --flow-ui-z-index-toast: 950;
516
516
  --flow-ui-z-index-tooltip: 1000;
517
517
 
518
+ --flow-ui-chart-background-color: var(--flow-ui-color-neutral-200);
518
519
  --flow-ui-chart-text-color: var(--flow-ui-color-neutral-900);
519
520
 
520
521
  --flow-ui-chart-axis-color: var(--flow-ui-color-neutral-600);
@@ -507,6 +507,7 @@
507
507
  --flow-ui-z-index-toast: 950;
508
508
  --flow-ui-z-index-tooltip: 1000;
509
509
 
510
+ --flow-ui-chart-background-color: var(--flow-ui-color-neutral-200);
510
511
  --flow-ui-chart-text-color: var(--flow-ui-color-neutral-1000);
511
512
 
512
513
  --flow-ui-chart-axis-color: var(--flow-ui-color-neutral-400);
@@ -516,6 +516,7 @@ export default css`
516
516
  --flow-ui-z-index-toast: 950;
517
517
  --flow-ui-z-index-tooltip: 1000;
518
518
 
519
+ --flow-ui-chart-background-color: var(--flow-ui-color-neutral-200);
519
520
  --flow-ui-chart-text-color: var(--flow-ui-color-neutral-1000);
520
521
 
521
522
  --flow-ui-chart-axis-color: var(--flow-ui-color-neutral-400);
@@ -34,6 +34,42 @@
34
34
  ],
35
35
  "references": []
36
36
  },
37
+ {
38
+ "name": "flow-ui-avatar",
39
+ "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.",
40
+ "attributes": [
41
+ {
42
+ "name": "image",
43
+ "description": "The image source to use for the avatar.",
44
+ "values": []
45
+ },
46
+ {
47
+ "name": "label",
48
+ "description": "A label to use to describe the avatar to assistive devices.",
49
+ "values": []
50
+ },
51
+ {
52
+ "name": "initials",
53
+ "description": "Initials to use as a fallback when no image is available (1-2 characters max recommended).",
54
+ "values": []
55
+ },
56
+ {
57
+ "name": "loading",
58
+ "description": "Indicates how the browser should load the image.",
59
+ "values": [{ "name": "eager" }, { "name": "lazy" }]
60
+ },
61
+ {
62
+ "name": "shape",
63
+ "description": "The shape of the avatar.",
64
+ "values": [
65
+ { "name": "circle" },
66
+ { "name": "square" },
67
+ { "name": "rounded" }
68
+ ]
69
+ }
70
+ ],
71
+ "references": []
72
+ },
37
73
  {
38
74
  "name": "flow-ui-animation",
39
75
  "description": "Animate elements declaratively with nearly 100 baked-in presets, or roll your own with custom keyframes. 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.",
@@ -97,65 +133,13 @@
97
133
  "references": []
98
134
  },
99
135
  {
100
- "name": "flow-ui-badge",
101
- "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.",
102
- "attributes": [
103
- {
104
- "name": "variant",
105
- "description": "The badge's theme variant.",
106
- "values": [
107
- { "name": "primary" },
108
- { "name": "success" },
109
- { "name": "neutral" },
110
- { "name": "warning" },
111
- { "name": "danger" }
112
- ]
113
- },
114
- {
115
- "name": "pill",
116
- "description": "Draws a pill-style badge with rounded edges.",
117
- "values": []
118
- },
119
- {
120
- "name": "pulse",
121
- "description": "Makes the badge pulsate to draw attention.",
122
- "values": []
123
- }
124
- ],
125
- "references": []
126
- },
127
- {
128
- "name": "flow-ui-avatar",
129
- "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.",
136
+ "name": "flow-ui-breadcrumb",
137
+ "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.",
130
138
  "attributes": [
131
- {
132
- "name": "image",
133
- "description": "The image source to use for the avatar.",
134
- "values": []
135
- },
136
139
  {
137
140
  "name": "label",
138
- "description": "A label to use to describe the avatar to assistive devices.",
139
- "values": []
140
- },
141
- {
142
- "name": "initials",
143
- "description": "Initials to use as a fallback when no image is available (1-2 characters max recommended).",
141
+ "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.",
144
142
  "values": []
145
- },
146
- {
147
- "name": "loading",
148
- "description": "Indicates how the browser should load the image.",
149
- "values": [{ "name": "eager" }, { "name": "lazy" }]
150
- },
151
- {
152
- "name": "shape",
153
- "description": "The shape of the avatar.",
154
- "values": [
155
- { "name": "circle" },
156
- { "name": "square" },
157
- { "name": "rounded" }
158
- ]
159
143
  }
160
144
  ],
161
145
  "references": []
@@ -187,18 +171,6 @@
187
171
  ],
188
172
  "references": []
189
173
  },
190
- {
191
- "name": "flow-ui-breadcrumb",
192
- "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.",
193
- "attributes": [
194
- {
195
- "name": "label",
196
- "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.",
197
- "values": []
198
- }
199
- ],
200
- "references": []
201
- },
202
174
  {
203
175
  "name": "flow-ui-button",
204
176
  "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.",
@@ -343,6 +315,34 @@
343
315
  ],
344
316
  "references": []
345
317
  },
318
+ {
319
+ "name": "flow-ui-badge",
320
+ "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.",
321
+ "attributes": [
322
+ {
323
+ "name": "variant",
324
+ "description": "The badge's theme variant.",
325
+ "values": [
326
+ { "name": "primary" },
327
+ { "name": "success" },
328
+ { "name": "neutral" },
329
+ { "name": "warning" },
330
+ { "name": "danger" }
331
+ ]
332
+ },
333
+ {
334
+ "name": "pill",
335
+ "description": "Draws a pill-style badge with rounded edges.",
336
+ "values": []
337
+ },
338
+ {
339
+ "name": "pulse",
340
+ "description": "Makes the badge pulsate to draw attention.",
341
+ "values": []
342
+ }
343
+ ],
344
+ "references": []
345
+ },
346
346
  {
347
347
  "name": "flow-ui-button-group",
348
348
  "description": "Button groups can be used to group related buttons into sections.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - One or more `<flow-ui-button>` elements to display in the button group.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
@@ -422,7 +422,7 @@
422
422
  },
423
423
  {
424
424
  "name": "flow-ui-chart",
425
- "description": "The chart component displays Chart.js charts.\n\n\n---\n\n\n\n\n### **Methods:**\n - **repaint()** - Trigger a repaint of the chart.\n\n### **CSS Properties:**\n - **--text-color** - General text color (titles etc.) _(default: undefined)_\n- **--axis-color** - Color of the axis lines. _(default: undefined)_\n- **--x-axis-color** - Color of the x-axis lines. (defaults to `--axis-color`) _(default: undefined)_\n- **--y-axis-color** - Color of the y-axis lines. (defaults to `--axis-color`) _(default: undefined)_\n- **--axis-grid-color** - Color of the axis grid lines. _(default: undefined)_\n- **--x-axis-grid-color** - Color of the x-axis grid lines. (defaults to `--axis-grid-color`) _(default: undefined)_\n- **--y-axis-grid-color** - Color of the y-axis grid lines. (defaults to `--axis-grid-color`) _(default: undefined)_\n- **--axis-label-color** - Color of the axis labels. _(default: undefined)_\n- **--x-axis-label-color** - Color of the x-axis labels. (defaults to `--axis-label-color`) _(default: undefined)_\n- **--y-axis-label-color** - Color of the y-axis labels. (defaults to `--axis-label-color`) _(default: undefined)_\n- **--tick-label-color** - Color of the tick labels. _(default: undefined)_\n- **--x-tick-label-color** - Color of the x-axis tick labels. (defaults to `--tick-label-color`) _(default: undefined)_\n- **--y-tick-label-color** - Color of the y-axis tick labels. (defaults to `--tick-label-color`) _(default: undefined)_\n- **--dataset-stroke-color-n** - Color of the stroke for dataset n (where n = 0-9). _(default: undefined)_\n- **--dataset-fill-color-n** - Color of the fill for dataset n (where n = 0-9). _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The base container of the chart.",
425
+ "description": "The chart component displays Chart.js charts.\n\n\n---\n\n\n\n\n### **Methods:**\n - **repaint()** - Trigger a repaint of the chart.\n\n### **CSS Properties:**\n - **--background-color** - Chart background color (applied as the background color of the base container). _(default: undefined)_\n- **--text-color** - General text color (titles etc.) _(default: undefined)_\n- **--axis-color** - Color of the axis lines. _(default: undefined)_\n- **--x-axis-color** - Color of the x-axis lines. (defaults to `--axis-color`) _(default: undefined)_\n- **--y-axis-color** - Color of the y-axis lines. (defaults to `--axis-color`) _(default: undefined)_\n- **--axis-grid-color** - Color of the axis grid lines. _(default: undefined)_\n- **--x-axis-grid-color** - Color of the x-axis grid lines. (defaults to `--axis-grid-color`) _(default: undefined)_\n- **--y-axis-grid-color** - Color of the y-axis grid lines. (defaults to `--axis-grid-color`) _(default: undefined)_\n- **--axis-label-color** - Color of the axis labels. _(default: undefined)_\n- **--x-axis-label-color** - Color of the x-axis labels. (defaults to `--axis-label-color`) _(default: undefined)_\n- **--y-axis-label-color** - Color of the y-axis labels. (defaults to `--axis-label-color`) _(default: undefined)_\n- **--tick-label-color** - Color of the tick labels. _(default: undefined)_\n- **--x-tick-label-color** - Color of the x-axis tick labels. (defaults to `--tick-label-color`) _(default: undefined)_\n- **--y-tick-label-color** - Color of the y-axis tick labels. (defaults to `--tick-label-color`) _(default: undefined)_\n- **--dataset-stroke-color-n** - Color of the stroke for dataset n (where n = 0-9). _(default: undefined)_\n- **--dataset-fill-color-n** - Color of the fill for dataset n (where n = 0-9). _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The base container of the chart.",
426
426
  "attributes": [
427
427
  {
428
428
  "name": "type",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emuanalytics/flow-rdf-ui",
3
- "version": "0.0.18-alpha.18",
3
+ "version": "0.0.18-alpha.19",
4
4
  "type": "module",
5
5
  "main": "dist/flow-rdf-ui.umd.cjs",
6
6
  "module": "dist/flow-rdf-ui.js",
@@ -22,7 +22,6 @@
22
22
  "@shoelace-style/localize": "^3.1.1",
23
23
  "chartjs-adapter-dayjs-4": "^1.0.4",
24
24
  "chartjs-plugin-annotation": "^3.0.1",
25
- "chartjs-plugin-crosshair": "^2.0.0",
26
25
  "clone-deep": "^4.0.1",
27
26
  "composed-offset-position": "^0.0.4",
28
27
  "d3-format": "^3.1.0",