@emuanalytics/flow-rdf-ui 0.0.48 → 0.0.49

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -11711,6 +11711,7 @@ class FlowUiMap extends FlowRdfElement {
11711
11711
  await this.updateComplete;
11712
11712
  this._map = await this.initializeMap();
11713
11713
  this._resolveInitialized(this._map);
11714
+ this.emit("flow-ui-load");
11714
11715
  }
11715
11716
  disconnectedCallback() {
11716
11717
  super.disconnectedCallback();
@@ -11734,7 +11735,6 @@ class FlowUiMap extends FlowRdfElement {
11734
11735
  map.on("loading", (ev) => {
11735
11736
  this._mapLoading = ev.loading;
11736
11737
  });
11737
- this.emit("flow-ui-load");
11738
11738
  return map;
11739
11739
  }
11740
11740
  render() {
@@ -23679,7 +23679,7 @@ const translation = {
23679
23679
  };
23680
23680
  localize.registerTranslation(translation);
23681
23681
 
23682
- const version = "0.0.48";
23682
+ const version = "0.0.49";
23683
23683
 
23684
23684
  const CONSOLE_HIGHLIGHT_STYLE = `
23685
23685
  padding: 2px 4px;
package/dist/index.mjs CHANGED
@@ -11692,6 +11692,7 @@ class FlowUiMap extends FlowRdfElement {
11692
11692
  await this.updateComplete;
11693
11693
  this._map = await this.initializeMap();
11694
11694
  this._resolveInitialized(this._map);
11695
+ this.emit("flow-ui-load");
11695
11696
  }
11696
11697
  disconnectedCallback() {
11697
11698
  super.disconnectedCallback();
@@ -11715,7 +11716,6 @@ class FlowUiMap extends FlowRdfElement {
11715
11716
  map.on("loading", (ev) => {
11716
11717
  this._mapLoading = ev.loading;
11717
11718
  });
11718
- this.emit("flow-ui-load");
11719
11719
  return map;
11720
11720
  }
11721
11721
  render() {
@@ -23660,7 +23660,7 @@ const translation = {
23660
23660
  };
23661
23661
  registerTranslation(translation);
23662
23662
 
23663
- const version = "0.0.48";
23663
+ const version = "0.0.49";
23664
23664
 
23665
23665
  const CONSOLE_HIGHLIGHT_STYLE = `
23666
23666
  padding: 2px 4px;
@@ -35,13 +35,37 @@
35
35
  "references": []
36
36
  },
37
37
  {
38
- "name": "flow-ui-breadcrumb",
39
- "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.",
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
40
  "attributes": [
41
+ {
42
+ "name": "image",
43
+ "description": "The image source to use for the avatar.",
44
+ "values": []
45
+ },
41
46
  {
42
47
  "name": "label",
43
- "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.",
48
+ "description": "A label to use to describe the avatar to assistive devices.",
44
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
+ ]
45
69
  }
46
70
  ],
47
71
  "references": []
@@ -237,37 +261,13 @@
237
261
  "references": []
238
262
  },
239
263
  {
240
- "name": "flow-ui-avatar",
241
- "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.",
264
+ "name": "flow-ui-breadcrumb",
265
+ "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.",
242
266
  "attributes": [
243
- {
244
- "name": "image",
245
- "description": "The image source to use for the avatar.",
246
- "values": []
247
- },
248
267
  {
249
268
  "name": "label",
250
- "description": "A label to use to describe the avatar to assistive devices.",
251
- "values": []
252
- },
253
- {
254
- "name": "initials",
255
- "description": "Initials to use as a fallback when no image is available (1-2 characters max recommended).",
269
+ "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.",
256
270
  "values": []
257
- },
258
- {
259
- "name": "loading",
260
- "description": "Indicates how the browser should load the image.",
261
- "values": [{ "name": "eager" }, { "name": "lazy" }]
262
- },
263
- {
264
- "name": "shape",
265
- "description": "The shape of the avatar.",
266
- "values": [
267
- { "name": "circle" },
268
- { "name": "square" },
269
- { "name": "rounded" }
270
- ]
271
271
  }
272
272
  ],
273
273
  "references": []
@@ -390,6 +390,33 @@
390
390
  "attributes": [],
391
391
  "references": []
392
392
  },
393
+ {
394
+ "name": "flow-ui-chart",
395
+ "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.",
396
+ "attributes": [
397
+ {
398
+ "name": "type",
399
+ "description": "The Chart.js chart type (e.g `line`, `bar` or a custom type).",
400
+ "values": []
401
+ },
402
+ {
403
+ "name": "options",
404
+ "description": "The Chart.js `options` object.",
405
+ "values": [{ "name": "ChartOptions" }]
406
+ },
407
+ {
408
+ "name": "data",
409
+ "description": "The Chart.js `data` object",
410
+ "values": [{ "name": "ChartData" }]
411
+ },
412
+ {
413
+ "name": "plugins",
414
+ "description": "List of extra plugins to use for this chart.",
415
+ "values": [{ "name": "Plugin[]" }]
416
+ }
417
+ ],
418
+ "references": []
419
+ },
393
420
  {
394
421
  "name": "flow-ui-checkbox",
395
422
  "description": "Checkboxes allow the user to toggle an option on or off.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-blur** - Emitted when the checkbox loses focus.\n- **flow-ui-change** - Emitted when the checked state changes.\n- **flow-ui-focus** - Emitted when the checkbox gains focus.\n- **flow-ui-input** - Emitted when the checkbox 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 - **click()** - Simulates a click on the checkbox.\n- **focus(options: _FocusOptions_)** - Sets focus on the checkbox.\n- **blur()** - Removes focus from the checkbox.\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. The value provided will be shown to the user when the form is submitted. To clear\nthe custom validation message, call this method with an empty string.\n\n### **Slots:**\n - _default_ - The checkbox's label.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **control** - The square container that wraps the checkbox's checked state.\n- **control--checked** - Matches the control part when the checkbox is checked.\n- **control--indeterminate** - Matches the control part when the checkbox is indeterminate.\n- **checked-icon** - The checked icon, an `<flow-ui-icon>` element.\n- **indeterminate-icon** - The indeterminate icon, an `<flow-ui-icon>` element.\n- **label** - The container that wraps the checkbox's label.",
@@ -642,33 +669,6 @@
642
669
  ],
643
670
  "references": []
644
671
  },
645
- {
646
- "name": "flow-ui-chart",
647
- "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.",
648
- "attributes": [
649
- {
650
- "name": "type",
651
- "description": "The Chart.js chart type (e.g `line`, `bar` or a custom type).",
652
- "values": []
653
- },
654
- {
655
- "name": "options",
656
- "description": "The Chart.js `options` object.",
657
- "values": [{ "name": "ChartOptions" }]
658
- },
659
- {
660
- "name": "data",
661
- "description": "The Chart.js `data` object",
662
- "values": [{ "name": "ChartData" }]
663
- },
664
- {
665
- "name": "plugins",
666
- "description": "List of extra plugins to use for this chart.",
667
- "values": [{ "name": "Plugin[]" }]
668
- }
669
- ],
670
- "references": []
671
- },
672
672
  {
673
673
  "name": "flow-ui-dialog",
674
674
  "description": "Dialogs, sometimes called \"modals\", appear above the page and require the user's immediate attention.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-show** - Emitted when the dialog opens.\n- **flow-ui-after-show** - Emitted after the dialog opens and all animations are complete.\n- **flow-ui-hide** - Emitted when the dialog closes.\n- **flow-ui-after-hide** - Emitted after the dialog closes and all animations are complete.\n- **flow-ui-initial-focus** - Emitted when the dialog opens and is ready to receive focus. Calling `event.preventDefault()` will prevent focusing and allow you to set it on a different element, such as an input.\n- **flow-ui-request-close** - Emitted when the user attempts to close the dialog by clicking the close button, clicking the overlay, or pressing escape. Calling `event.preventDefault()` will keep the dialog open. Avoid using this unless closing the dialog will result in destructive behavior such as data loss.\n\n### **Methods:**\n - **show()** - Shows the dialog.\n- **hide()** - Hides the dialog\n\n### **Slots:**\n - _default_ - The dialog's main content.\n- **label** - The dialog's label. Alternatively, you can use the `label` attribute.\n- **header-actions** - Optional actions to add to the header. Works best with `<flow-ui-icon-button>`.\n- **footer** - The dialog's footer, usually one or more buttons representing various options.\n\n### **CSS Properties:**\n - **--width** - The preferred width of the dialog. Note that the dialog will shrink to accommodate smaller screens. _(default: undefined)_\n- **--header-spacing** - The amount of padding to use for the header. _(default: undefined)_\n- **--body-spacing** - The amount of padding to use for the body. _(default: undefined)_\n- **--footer-spacing** - The amount of padding to use for the footer. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **overlay** - The overlay that covers the screen behind the dialog.\n- **panel** - The dialog's panel (where the dialog and its content are rendered).\n- **header** - The dialog's header. This element wraps the title and header actions.\n- **header-actions** - Optional actions to add to the header. Works best with `<flow-ui-icon-button>`.\n- **title** - The dialog's title.\n- **close-button** - The close button, an `<flow-ui-icon-button>`.\n- **close-button__base** - The close button's exported `base` part.\n- **body** - The dialog's body.\n- **footer** - The dialog's footer.",
@@ -1091,6 +1091,39 @@
1091
1091
  "attributes": [],
1092
1092
  "references": []
1093
1093
  },
1094
+ {
1095
+ "name": "flow-ui-menu-item",
1096
+ "description": "Menu items provide options for the user to pick from in a menu.\n\n\n---\n\n\n\n\n### **Methods:**\n - **getTextLabel()** - Returns a text label based on the contents of the menu item's default slot.\n\n### **Slots:**\n - _default_ - The menu item's label.\n- **prefix** - Used to prepend an icon or similar element to the menu item.\n- **suffix** - Used to append an icon or similar element to the menu item.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **checked-icon** - The checked icon, which is only visible when the menu item is checked.\n- **prefix** - The prefix container.\n- **label** - The menu item label.\n- **suffix** - The suffix container.\n- **submenu-icon** - The submenu icon, visible only when the menu item has a submenu (not yet implemented).",
1097
+ "attributes": [
1098
+ {
1099
+ "name": "type",
1100
+ "description": "The type of menu item to render. To use `checked`, this value must be set to `checkbox`.",
1101
+ "values": [{ "name": "normal" }, { "name": "checkbox" }]
1102
+ },
1103
+ {
1104
+ "name": "checked",
1105
+ "description": "Draws the item in a checked state.",
1106
+ "values": []
1107
+ },
1108
+ {
1109
+ "name": "value",
1110
+ "description": "A unique value to store in the menu item. This can be used as a way to identify menu items when selected.",
1111
+ "values": []
1112
+ },
1113
+ {
1114
+ "name": "disabled",
1115
+ "description": "Draws the menu item in a disabled state, preventing selection.",
1116
+ "values": []
1117
+ }
1118
+ ],
1119
+ "references": []
1120
+ },
1121
+ {
1122
+ "name": "flow-ui-menu-label",
1123
+ "description": "Menu labels are used to describe a group of menu items.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The menu label's content.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
1124
+ "attributes": [],
1125
+ "references": []
1126
+ },
1094
1127
  {
1095
1128
  "name": "flow-ui-mutation-observer",
1096
1129
  "description": "The Mutation Observer component offers a thin, declarative interface to the [`MutationObserver API`](https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver).\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-mutation** - Emitted when a mutation occurs.\n\n### **Slots:**\n - _default_ - The content to watch for mutations.",
@@ -1154,39 +1187,6 @@
1154
1187
  ],
1155
1188
  "references": []
1156
1189
  },
1157
- {
1158
- "name": "flow-ui-menu-label",
1159
- "description": "Menu labels are used to describe a group of menu items.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The menu label's content.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
1160
- "attributes": [],
1161
- "references": []
1162
- },
1163
- {
1164
- "name": "flow-ui-menu-item",
1165
- "description": "Menu items provide options for the user to pick from in a menu.\n\n\n---\n\n\n\n\n### **Methods:**\n - **getTextLabel()** - Returns a text label based on the contents of the menu item's default slot.\n\n### **Slots:**\n - _default_ - The menu item's label.\n- **prefix** - Used to prepend an icon or similar element to the menu item.\n- **suffix** - Used to append an icon or similar element to the menu item.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **checked-icon** - The checked icon, which is only visible when the menu item is checked.\n- **prefix** - The prefix container.\n- **label** - The menu item label.\n- **suffix** - The suffix container.\n- **submenu-icon** - The submenu icon, visible only when the menu item has a submenu (not yet implemented).",
1166
- "attributes": [
1167
- {
1168
- "name": "type",
1169
- "description": "The type of menu item to render. To use `checked`, this value must be set to `checkbox`.",
1170
- "values": [{ "name": "normal" }, { "name": "checkbox" }]
1171
- },
1172
- {
1173
- "name": "checked",
1174
- "description": "Draws the item in a checked state.",
1175
- "values": []
1176
- },
1177
- {
1178
- "name": "value",
1179
- "description": "A unique value to store in the menu item. This can be used as a way to identify menu items when selected.",
1180
- "values": []
1181
- },
1182
- {
1183
- "name": "disabled",
1184
- "description": "Draws the menu item in a disabled state, preventing selection.",
1185
- "values": []
1186
- }
1187
- ],
1188
- "references": []
1189
- },
1190
1190
  {
1191
1191
  "name": "flow-ui-panel",
1192
1192
  "description": "Panels are use with split-views to create resizable areas.\n\n\n---\n\n\n\n\n### **Methods:**\n - **expand(emitEvent)** - Shows the details.\n- **collapse(emitEvent)** - Hides the details",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emuanalytics/flow-rdf-ui",
3
- "version": "0.0.48",
3
+ "version": "0.0.49",
4
4
  "type": "module",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",