@emuanalytics/flow-rdf-ui 4.0.1 → 4.0.2

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
@@ -24716,7 +24716,7 @@ class FlowUiVisuallyHidden extends FlowRdfElement {
24716
24716
  }
24717
24717
  FlowUiVisuallyHidden.styles = styles;
24718
24718
 
24719
- function registerComponents() {
24719
+ async function registerComponents() {
24720
24720
  FlowUiAlert.define("flow-ui-alert");
24721
24721
  FlowUiAnimation.define("flow-ui-animation");
24722
24722
  FlowUiAvatar.define("flow-ui-avatar");
@@ -24782,9 +24782,77 @@ function registerComponents() {
24782
24782
  FlowUiTreeItem.define("flow-ui-tree-item");
24783
24783
  FlowUiTree.define("flow-ui-tree");
24784
24784
  FlowUiVisuallyHidden.define("flow-ui-visually-hidden");
24785
+ return Promise.all([
24786
+ window.customElements.whenDefined("flow-ui-alert"),
24787
+ window.customElements.whenDefined("flow-ui-animation"),
24788
+ window.customElements.whenDefined("flow-ui-avatar"),
24789
+ window.customElements.whenDefined("flow-ui-badge"),
24790
+ window.customElements.whenDefined("flow-ui-breadcrumb-item"),
24791
+ window.customElements.whenDefined("flow-ui-breadcrumb"),
24792
+ window.customElements.whenDefined("flow-ui-button-group"),
24793
+ window.customElements.whenDefined("flow-ui-button"),
24794
+ window.customElements.whenDefined("flow-ui-calendar"),
24795
+ window.customElements.whenDefined("flow-ui-card"),
24796
+ window.customElements.whenDefined("flow-ui-carousel-item"),
24797
+ window.customElements.whenDefined("flow-ui-carousel"),
24798
+ window.customElements.whenDefined("flow-ui-chart"),
24799
+ window.customElements.whenDefined("flow-ui-checkbox"),
24800
+ window.customElements.whenDefined("flow-ui-color-mapper"),
24801
+ window.customElements.whenDefined("flow-ui-color-picker"),
24802
+ window.customElements.whenDefined("flow-ui-color-stop"),
24803
+ window.customElements.whenDefined("flow-ui-date-time-picker"),
24804
+ window.customElements.whenDefined("flow-ui-details"),
24805
+ window.customElements.whenDefined("flow-ui-dialog"),
24806
+ window.customElements.whenDefined("flow-ui-divider"),
24807
+ window.customElements.whenDefined("flow-ui-drawer"),
24808
+ window.customElements.whenDefined("flow-ui-dropdown"),
24809
+ window.customElements.whenDefined("flow-ui-gauge"),
24810
+ window.customElements.whenDefined("flow-ui-icon-button"),
24811
+ window.customElements.whenDefined("flow-ui-icon"),
24812
+ window.customElements.whenDefined("flow-ui-input"),
24813
+ window.customElements.whenDefined("flow-ui-map"),
24814
+ window.customElements.whenDefined("flow-ui-menu-item"),
24815
+ window.customElements.whenDefined("flow-ui-menu-label"),
24816
+ window.customElements.whenDefined("flow-ui-menu"),
24817
+ window.customElements.whenDefined("flow-ui-mutation-observer"),
24818
+ window.customElements.whenDefined("flow-ui-option"),
24819
+ window.customElements.whenDefined("flow-ui-panel-header"),
24820
+ window.customElements.whenDefined("flow-ui-panel"),
24821
+ window.customElements.whenDefined("flow-ui-popup"),
24822
+ window.customElements.whenDefined("flow-ui-progress-bar"),
24823
+ window.customElements.whenDefined("flow-ui-progress-ring"),
24824
+ window.customElements.whenDefined("flow-ui-query-builder"),
24825
+ window.customElements.whenDefined("flow-ui-radio-group"),
24826
+ window.customElements.whenDefined("flow-ui-radio"),
24827
+ window.customElements.whenDefined("flow-ui-range"),
24828
+ window.customElements.whenDefined("flow-ui-resize-observer"),
24829
+ window.customElements.whenDefined("flow-ui-scroll-view"),
24830
+ window.customElements.whenDefined("flow-ui-select"),
24831
+ window.customElements.whenDefined("flow-ui-spinner"),
24832
+ window.customElements.whenDefined("flow-ui-split-view-divider"),
24833
+ window.customElements.whenDefined("flow-ui-split-view-pane"),
24834
+ window.customElements.whenDefined("flow-ui-split-view-toggle-button"),
24835
+ window.customElements.whenDefined("flow-ui-split-view"),
24836
+ window.customElements.whenDefined("flow-ui-stepper-panel"),
24837
+ window.customElements.whenDefined("flow-ui-stepper"),
24838
+ window.customElements.whenDefined("flow-ui-switch"),
24839
+ window.customElements.whenDefined("flow-ui-tab-group"),
24840
+ window.customElements.whenDefined("flow-ui-tab-panel"),
24841
+ window.customElements.whenDefined("flow-ui-tab"),
24842
+ window.customElements.whenDefined("flow-ui-tag"),
24843
+ window.customElements.whenDefined("flow-ui-textarea"),
24844
+ window.customElements.whenDefined("flow-ui-timer"),
24845
+ window.customElements.whenDefined("flow-ui-tool-button-group"),
24846
+ window.customElements.whenDefined("flow-ui-tool-button"),
24847
+ window.customElements.whenDefined("flow-ui-tooltip"),
24848
+ window.customElements.whenDefined("flow-ui-tree-item"),
24849
+ window.customElements.whenDefined("flow-ui-tree"),
24850
+ window.customElements.whenDefined("flow-ui-visually-hidden")
24851
+ ]).then(() => {
24852
+ });
24785
24853
  }
24786
24854
 
24787
- const version = "4.0.1";
24855
+ const version = "4.0.2";
24788
24856
 
24789
24857
  const CONSOLE_HIGHLIGHT_STYLE = `
24790
24858
  padding: 2px 4px;
package/dist/index.d.cts CHANGED
@@ -1286,8 +1286,10 @@ declare const converter: FlowQueryBuilderConverter;
1286
1286
  *
1287
1287
  * This function is called automatically when using the `flow-rdf-angular`
1288
1288
  * support library.
1289
+ *
1290
+ * @returns A promise that resolves when all custom elements have been defined.
1289
1291
  */
1290
- declare function registerComponents(): void;
1292
+ declare function registerComponents(): Promise<void>;
1291
1293
 
1292
1294
  type FunctionParams<T> = T extends (...args: infer U) => string ? U : [];
1293
1295
  interface Translation$1 {
package/dist/index.d.mts CHANGED
@@ -1286,8 +1286,10 @@ declare const converter: FlowQueryBuilderConverter;
1286
1286
  *
1287
1287
  * This function is called automatically when using the `flow-rdf-angular`
1288
1288
  * support library.
1289
+ *
1290
+ * @returns A promise that resolves when all custom elements have been defined.
1289
1291
  */
1290
- declare function registerComponents(): void;
1292
+ declare function registerComponents(): Promise<void>;
1291
1293
 
1292
1294
  type FunctionParams<T> = T extends (...args: infer U) => string ? U : [];
1293
1295
  interface Translation$1 {
package/dist/index.d.ts CHANGED
@@ -1286,8 +1286,10 @@ declare const converter: FlowQueryBuilderConverter;
1286
1286
  *
1287
1287
  * This function is called automatically when using the `flow-rdf-angular`
1288
1288
  * support library.
1289
+ *
1290
+ * @returns A promise that resolves when all custom elements have been defined.
1289
1291
  */
1290
- declare function registerComponents(): void;
1292
+ declare function registerComponents(): Promise<void>;
1291
1293
 
1292
1294
  type FunctionParams<T> = T extends (...args: infer U) => string ? U : [];
1293
1295
  interface Translation$1 {
package/dist/index.mjs CHANGED
@@ -24710,7 +24710,7 @@ class FlowUiVisuallyHidden extends FlowRdfElement {
24710
24710
  }
24711
24711
  FlowUiVisuallyHidden.styles = styles;
24712
24712
 
24713
- function registerComponents() {
24713
+ async function registerComponents() {
24714
24714
  FlowUiAlert.define("flow-ui-alert");
24715
24715
  FlowUiAnimation.define("flow-ui-animation");
24716
24716
  FlowUiAvatar.define("flow-ui-avatar");
@@ -24776,9 +24776,77 @@ function registerComponents() {
24776
24776
  FlowUiTreeItem.define("flow-ui-tree-item");
24777
24777
  FlowUiTree.define("flow-ui-tree");
24778
24778
  FlowUiVisuallyHidden.define("flow-ui-visually-hidden");
24779
+ return Promise.all([
24780
+ window.customElements.whenDefined("flow-ui-alert"),
24781
+ window.customElements.whenDefined("flow-ui-animation"),
24782
+ window.customElements.whenDefined("flow-ui-avatar"),
24783
+ window.customElements.whenDefined("flow-ui-badge"),
24784
+ window.customElements.whenDefined("flow-ui-breadcrumb-item"),
24785
+ window.customElements.whenDefined("flow-ui-breadcrumb"),
24786
+ window.customElements.whenDefined("flow-ui-button-group"),
24787
+ window.customElements.whenDefined("flow-ui-button"),
24788
+ window.customElements.whenDefined("flow-ui-calendar"),
24789
+ window.customElements.whenDefined("flow-ui-card"),
24790
+ window.customElements.whenDefined("flow-ui-carousel-item"),
24791
+ window.customElements.whenDefined("flow-ui-carousel"),
24792
+ window.customElements.whenDefined("flow-ui-chart"),
24793
+ window.customElements.whenDefined("flow-ui-checkbox"),
24794
+ window.customElements.whenDefined("flow-ui-color-mapper"),
24795
+ window.customElements.whenDefined("flow-ui-color-picker"),
24796
+ window.customElements.whenDefined("flow-ui-color-stop"),
24797
+ window.customElements.whenDefined("flow-ui-date-time-picker"),
24798
+ window.customElements.whenDefined("flow-ui-details"),
24799
+ window.customElements.whenDefined("flow-ui-dialog"),
24800
+ window.customElements.whenDefined("flow-ui-divider"),
24801
+ window.customElements.whenDefined("flow-ui-drawer"),
24802
+ window.customElements.whenDefined("flow-ui-dropdown"),
24803
+ window.customElements.whenDefined("flow-ui-gauge"),
24804
+ window.customElements.whenDefined("flow-ui-icon-button"),
24805
+ window.customElements.whenDefined("flow-ui-icon"),
24806
+ window.customElements.whenDefined("flow-ui-input"),
24807
+ window.customElements.whenDefined("flow-ui-map"),
24808
+ window.customElements.whenDefined("flow-ui-menu-item"),
24809
+ window.customElements.whenDefined("flow-ui-menu-label"),
24810
+ window.customElements.whenDefined("flow-ui-menu"),
24811
+ window.customElements.whenDefined("flow-ui-mutation-observer"),
24812
+ window.customElements.whenDefined("flow-ui-option"),
24813
+ window.customElements.whenDefined("flow-ui-panel-header"),
24814
+ window.customElements.whenDefined("flow-ui-panel"),
24815
+ window.customElements.whenDefined("flow-ui-popup"),
24816
+ window.customElements.whenDefined("flow-ui-progress-bar"),
24817
+ window.customElements.whenDefined("flow-ui-progress-ring"),
24818
+ window.customElements.whenDefined("flow-ui-query-builder"),
24819
+ window.customElements.whenDefined("flow-ui-radio-group"),
24820
+ window.customElements.whenDefined("flow-ui-radio"),
24821
+ window.customElements.whenDefined("flow-ui-range"),
24822
+ window.customElements.whenDefined("flow-ui-resize-observer"),
24823
+ window.customElements.whenDefined("flow-ui-scroll-view"),
24824
+ window.customElements.whenDefined("flow-ui-select"),
24825
+ window.customElements.whenDefined("flow-ui-spinner"),
24826
+ window.customElements.whenDefined("flow-ui-split-view-divider"),
24827
+ window.customElements.whenDefined("flow-ui-split-view-pane"),
24828
+ window.customElements.whenDefined("flow-ui-split-view-toggle-button"),
24829
+ window.customElements.whenDefined("flow-ui-split-view"),
24830
+ window.customElements.whenDefined("flow-ui-stepper-panel"),
24831
+ window.customElements.whenDefined("flow-ui-stepper"),
24832
+ window.customElements.whenDefined("flow-ui-switch"),
24833
+ window.customElements.whenDefined("flow-ui-tab-group"),
24834
+ window.customElements.whenDefined("flow-ui-tab-panel"),
24835
+ window.customElements.whenDefined("flow-ui-tab"),
24836
+ window.customElements.whenDefined("flow-ui-tag"),
24837
+ window.customElements.whenDefined("flow-ui-textarea"),
24838
+ window.customElements.whenDefined("flow-ui-timer"),
24839
+ window.customElements.whenDefined("flow-ui-tool-button-group"),
24840
+ window.customElements.whenDefined("flow-ui-tool-button"),
24841
+ window.customElements.whenDefined("flow-ui-tooltip"),
24842
+ window.customElements.whenDefined("flow-ui-tree-item"),
24843
+ window.customElements.whenDefined("flow-ui-tree"),
24844
+ window.customElements.whenDefined("flow-ui-visually-hidden")
24845
+ ]).then(() => {
24846
+ });
24779
24847
  }
24780
24848
 
24781
- const version = "4.0.1";
24849
+ const version = "4.0.2";
24782
24850
 
24783
24851
  const CONSOLE_HIGHLIGHT_STYLE = `
24784
24852
  padding: 2px 4px;
@@ -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 over 100 animation presets. Powered by the [Web Animations API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API).\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-cancel** - Emitted when the animation is canceled.\n- **flow-ui-finish** - Emitted when the animation finishes.\n- **flow-ui-start** - Emitted when the animation starts or restarts.\n\n### **Methods:**\n - **cancel()** - Clears all keyframe effects caused by this animation and aborts its playback.\n- **finish()** - Sets the playback time to the end of the animation corresponding to the current playback direction.\n\n### **Slots:**\n - _default_ - The element to animate. Avoid slotting in more than one element, as subsequent ones will be ignored. To animate multiple elements, either wrap them in a single container or use multiple `<flow-ui-animation>` elements.",
@@ -331,42 +367,6 @@
331
367
  ],
332
368
  "references": []
333
369
  },
334
- {
335
- "name": "flow-ui-avatar",
336
- "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.",
337
- "attributes": [
338
- {
339
- "name": "image",
340
- "description": "The image source to use for the avatar.",
341
- "values": []
342
- },
343
- {
344
- "name": "label",
345
- "description": "A label to use to describe the avatar to assistive devices.",
346
- "values": []
347
- },
348
- {
349
- "name": "initials",
350
- "description": "Initials to use as a fallback when no image is available (1-2 characters max recommended).",
351
- "values": []
352
- },
353
- {
354
- "name": "loading",
355
- "description": "Indicates how the browser should load the image.",
356
- "values": [{ "name": "eager" }, { "name": "lazy" }]
357
- },
358
- {
359
- "name": "shape",
360
- "description": "The shape of the avatar.",
361
- "values": [
362
- { "name": "circle" },
363
- { "name": "square" },
364
- { "name": "rounded" }
365
- ]
366
- }
367
- ],
368
- "references": []
369
- },
370
370
  {
371
371
  "name": "flow-ui-calendar",
372
372
  "description": "A calendar component for selecting dates and times.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-input** - Emitted when the calendar value changes.\n- **flow-ui-change** - Emitted when the calendar value changes.\n\n### **CSS Properties:**\n - **--width** - The width of the calendar in CSS units. Set automatically if `size` is set. _(default: undefined)_\n- **--font-size** - The font size of the calendar. Set automatically if `size` is set. _(default: undefined)_\n- **--day-font-size** - The font size of the day labels. Set automatically if `size` is set. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
@@ -1785,6 +1785,42 @@
1785
1785
  ],
1786
1786
  "references": []
1787
1787
  },
1788
+ {
1789
+ "name": "flow-ui-query-builder",
1790
+ "description": "Query builder component\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-change** - Emitted when the control's value changes.\n\n### **Methods:**\n - **registerFieldDefinition(type: _T_, fieldDefinition: _FlowQueryBuilderFieldDefinition<NoUnion<T>>_)** - Register a custom field definition.\n\nA field definition is used to add support for a custom field type. A field type comprises:\n\n- a field `type` string\n- a `template` function that returns the template for the field's value control\n- an array of `operators` that are valid for the field\n\n### **Slots:**\n - **label** - The component's label. Alternatively, you can use the `label` attribute.\n- **help-text** - Text that describes how to use the component. Alternatively, you can use the `help-text` attribute.",
1791
+ "attributes": [
1792
+ {
1793
+ "name": "size",
1794
+ "description": "The query builder's size.",
1795
+ "values": [
1796
+ { "name": "small" },
1797
+ { "name": "medium" },
1798
+ { "name": "large" }
1799
+ ]
1800
+ },
1801
+ {
1802
+ "name": "disabled",
1803
+ "description": "Disables the select control.",
1804
+ "values": []
1805
+ },
1806
+ {
1807
+ "name": "label",
1808
+ "description": "The query builders's label. If you need to display HTML, use the `label` slot instead.",
1809
+ "values": []
1810
+ },
1811
+ {
1812
+ "name": "help-text",
1813
+ "description": "The query builders's help text. If you need to display HTML, use the `help-text` slot instead.",
1814
+ "values": []
1815
+ },
1816
+ {
1817
+ "name": "tree-lines",
1818
+ "description": "Display tree connector lines between query rules",
1819
+ "values": []
1820
+ }
1821
+ ],
1822
+ "references": []
1823
+ },
1788
1824
  {
1789
1825
  "name": "flow-ui-radio",
1790
1826
  "description": "Radios allow the user to select a single option from a group.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-blur** - Emitted when the control loses focus.\n- **flow-ui-focus** - Emitted when the control gains focus.\n\n### **Slots:**\n - _default_ - The radio's label.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **control** - The circular container that wraps the radio's checked state.\n- **control--checked** - The radio control when the radio is checked.\n- **checked-icon** - The checked icon, an `<flow-ui-icon>` element.\n- **label** - The container that wraps the radio's label.",
@@ -1823,42 +1859,6 @@
1823
1859
  ],
1824
1860
  "references": []
1825
1861
  },
1826
- {
1827
- "name": "flow-ui-query-builder",
1828
- "description": "Query builder component\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-change** - Emitted when the control's value changes.\n\n### **Methods:**\n - **registerFieldDefinition(type: _T_, fieldDefinition: _FlowQueryBuilderFieldDefinition<NoUnion<T>>_)** - Register a custom field definition.\n\nA field definition is used to add support for a custom field type. A field type comprises:\n\n- a field `type` string\n- a `template` function that returns the template for the field's value control\n- an array of `operators` that are valid for the field\n\n### **Slots:**\n - **label** - The component's label. Alternatively, you can use the `label` attribute.\n- **help-text** - Text that describes how to use the component. Alternatively, you can use the `help-text` attribute.",
1829
- "attributes": [
1830
- {
1831
- "name": "size",
1832
- "description": "The query builder's size.",
1833
- "values": [
1834
- { "name": "small" },
1835
- { "name": "medium" },
1836
- { "name": "large" }
1837
- ]
1838
- },
1839
- {
1840
- "name": "disabled",
1841
- "description": "Disables the select control.",
1842
- "values": []
1843
- },
1844
- {
1845
- "name": "label",
1846
- "description": "The query builders's label. If you need to display HTML, use the `label` slot instead.",
1847
- "values": []
1848
- },
1849
- {
1850
- "name": "help-text",
1851
- "description": "The query builders's help text. If you need to display HTML, use the `help-text` slot instead.",
1852
- "values": []
1853
- },
1854
- {
1855
- "name": "tree-lines",
1856
- "description": "Display tree connector lines between query rules",
1857
- "values": []
1858
- }
1859
- ],
1860
- "references": []
1861
- },
1862
1862
  {
1863
1863
  "name": "flow-ui-radio-group",
1864
1864
  "description": "Radio groups are used to group multiple [radios](/components/radio) or [radio buttons](/components/radio-button) so they function as a single form control.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-change** - Emitted when the radio group's selected value changes.\n- **flow-ui-input** - Emitted when the radio group receives user 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 - **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(): _boolean_** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message)** - Sets a custom validation message. Pass an empty string to restore validity.\n\n### **Slots:**\n - _default_ - The default slot where `<flow-ui-radio>` or `<flow-ui-tool-button>` elements are placed.\n- **label** - The radio group's label. Required for proper accessibility. Alternatively, you can use the `label` 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- **button-group** - The button group that wraps radio buttons.\n- **button-group__base** - The button group's `base` part.",
@@ -2886,36 +2886,6 @@
2886
2886
  ],
2887
2887
  "references": []
2888
2888
  },
2889
- {
2890
- "name": "flow-ui-tree",
2891
- "description": "Trees allow you to display a hierarchical list of selectable [tree items](./flow-ui-tree-item). Items with children can be expanded and collapsed as desired by the user.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-change** - Emitted when a tree item is selected or deselected.\n\n### **Slots:**\n - _default_ - The default slot.\n- **expand-icon** - The icon to show when the tree item is expanded. Works best with `<flow-ui-icon>`.\n- **collapse-icon** - The icon to show when the tree item is collapsed. Works best with `<flow-ui-icon>`.\n\n### **CSS Properties:**\n - **--indent-size** - The size of the indentation for nested items. _(default: var(--flow-ui-spacing-medium))_\n- **--indent-guide-color** - The color of the indentation line. _(default: var(--flow-ui-color-neutral-200))_\n- **--indent-guide-offset** - The amount of vertical spacing to leave between the top and bottom of the indentation line's starting position. _(default: 0)_\n- **--indent-guide-style** - The style of the indentation line, e.g. solid, dotted, dashed. _(default: solid)_\n- **--indent-guide-width** - The width of the indentation line. _(default: 0)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
2892
- "attributes": [
2893
- {
2894
- "name": "value",
2895
- "description": "The current value of the select, submitted as a name/value pair with form data. When `multiple` is enabled, the\nvalue attribute will be a space-delimited list of values based on the options selected, and the value property will\nbe an array. **For this reason, values must not contain spaces.**",
2896
- "values": [{ "name": "string[]" }]
2897
- },
2898
- {
2899
- "name": "selection-mode",
2900
- "description": "The selection behavior of the tree. Single selection allows only one node to be selected at a time. Multiple\ndisplays checkboxes and allows more than one node to be selected. Leaf allows only leaf nodes to be selected.",
2901
- "values": [
2902
- { "name": "single" },
2903
- { "name": "multiple" },
2904
- { "name": "leaf" }
2905
- ]
2906
- },
2907
- {
2908
- "name": "size",
2909
- "description": "The select's size.",
2910
- "values": [
2911
- { "name": "small" },
2912
- { "name": "medium" },
2913
- { "name": "large" }
2914
- ]
2915
- }
2916
- ],
2917
- "references": []
2918
- },
2919
2889
  {
2920
2890
  "name": "flow-ui-tree-item",
2921
2891
  "description": "A tree item serves as a hierarchical node that lives inside a [tree](/components/tree).\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-expand** - Emitted when the tree item expands.\n- **flow-ui-after-expand** - Emitted after the tree item expands and all animations are complete.\n- **flow-ui-collapse** - Emitted when the tree item collapses.\n- **flow-ui-after-collapse** - Emitted after the tree item collapses and all animations are complete.\n- **flow-ui-lazy-change** - Emitted when the tree item's lazy state changes.\n- **flow-ui-lazy-load** - Emitted when a lazy item is selected. Use this event to asynchronously load data and append items to the tree before expanding. After appending new items, remove the `lazy` attribute to remove the loading state and update the tree.\n\n### **Methods:**\n - **getChildrenItems({ includeDisabled = true }: _{ includeDisabled?: boolean }_): _FlowUiTreeItem[]_** - Gets all the nested tree items in this node.\n\n### **Slots:**\n - _default_ - The default slot.\n- **expand-icon** - The icon to show when the tree item is expanded.\n- **collapse-icon** - The icon to show when the tree item is collapsed.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **item** - The tree item's container. This element wraps everything except slotted tree item children.\n- **item--disabled** - Applied when the tree item is disabled.\n- **item--expanded** - Applied when the tree item is expanded.\n- **item--indeterminate** - Applied when the selection is indeterminate.\n- **item--selected** - Applied when the tree item is selected.\n- **indentation** - The tree item's indentation container.\n- **expand-button** - The container that wraps the tree item's expand button and spinner.\n- **label** - The tree item's label.\n- **children** - The container that wraps the tree item's nested children.\n- **checkbox** - The checkbox that shows when using multiselect.\n- **checkbox__base** - The checkbox's exported `base` part.\n- **checkbox__control** - The checkbox's exported `control` part.\n- **checkbox__control--checked** - The checkbox's exported `control--checked` part.\n- **checkbox__control--indeterminate** - The checkbox's exported `control--indeterminate` part.\n- **checkbox__checked-icon** - The checkbox's exported `checked-icon` part.\n- **checkbox__indeterminate-icon** - The checkbox's exported `indeterminate-icon` part.\n- **checkbox__label** - The checkbox's exported `label` part.",
@@ -2962,6 +2932,36 @@
2962
2932
  "description": "The visually hidden utility makes content accessible to assistive devices without displaying it on the screen.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The content to be visually hidden.",
2963
2933
  "attributes": [],
2964
2934
  "references": []
2935
+ },
2936
+ {
2937
+ "name": "flow-ui-tree",
2938
+ "description": "Trees allow you to display a hierarchical list of selectable [tree items](./flow-ui-tree-item). Items with children can be expanded and collapsed as desired by the user.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-change** - Emitted when a tree item is selected or deselected.\n\n### **Slots:**\n - _default_ - The default slot.\n- **expand-icon** - The icon to show when the tree item is expanded. Works best with `<flow-ui-icon>`.\n- **collapse-icon** - The icon to show when the tree item is collapsed. Works best with `<flow-ui-icon>`.\n\n### **CSS Properties:**\n - **--indent-size** - The size of the indentation for nested items. _(default: var(--flow-ui-spacing-medium))_\n- **--indent-guide-color** - The color of the indentation line. _(default: var(--flow-ui-color-neutral-200))_\n- **--indent-guide-offset** - The amount of vertical spacing to leave between the top and bottom of the indentation line's starting position. _(default: 0)_\n- **--indent-guide-style** - The style of the indentation line, e.g. solid, dotted, dashed. _(default: solid)_\n- **--indent-guide-width** - The width of the indentation line. _(default: 0)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
2939
+ "attributes": [
2940
+ {
2941
+ "name": "value",
2942
+ "description": "The current value of the select, submitted as a name/value pair with form data. When `multiple` is enabled, the\nvalue attribute will be a space-delimited list of values based on the options selected, and the value property will\nbe an array. **For this reason, values must not contain spaces.**",
2943
+ "values": [{ "name": "string[]" }]
2944
+ },
2945
+ {
2946
+ "name": "selection-mode",
2947
+ "description": "The selection behavior of the tree. Single selection allows only one node to be selected at a time. Multiple\ndisplays checkboxes and allows more than one node to be selected. Leaf allows only leaf nodes to be selected.",
2948
+ "values": [
2949
+ { "name": "single" },
2950
+ { "name": "multiple" },
2951
+ { "name": "leaf" }
2952
+ ]
2953
+ },
2954
+ {
2955
+ "name": "size",
2956
+ "description": "The select's size.",
2957
+ "values": [
2958
+ { "name": "small" },
2959
+ { "name": "medium" },
2960
+ { "name": "large" }
2961
+ ]
2962
+ }
2963
+ ],
2964
+ "references": []
2965
2965
  }
2966
2966
  ]
2967
2967
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emuanalytics/flow-rdf-ui",
3
- "version": "4.0.1",
3
+ "version": "4.0.2",
4
4
  "type": "module",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",
@@ -106,13 +106,13 @@
106
106
  "vite": "^4.3.9",
107
107
  "vite-plugin-dts": "^3.5.1",
108
108
  "webdriverio": "^8.14.3",
109
- "@emuanalytics/flow-rdf-core": "4.0.1"
109
+ "@emuanalytics/flow-rdf-core": "4.0.2"
110
110
  },
111
111
  "peerDependencies": {
112
112
  "chart.js": "^4.4.2",
113
113
  "lit": "^2.7.2",
114
114
  "lit-html": "^2.7.5",
115
- "@emuanalytics/flow-rdf-core": "4.0.1"
115
+ "@emuanalytics/flow-rdf-core": "4.0.2"
116
116
  },
117
117
  "scripts": {
118
118
  "dev": "vite",