@emuanalytics/flow-rdf-ui 4.0.0 → 4.0.1

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
@@ -13712,7 +13712,7 @@ class FlowUiMap extends FlowRdfElement {
13712
13712
  });
13713
13713
  }
13714
13714
  /**
13715
- * The underlying core FlowMap instance. Note that this is
13715
+ * The underlying core FlowCoreMap instance. Note that this is
13716
13716
  * `undefined` until the map has been initialized.
13717
13717
  */
13718
13718
  get map() {
@@ -13721,7 +13721,7 @@ class FlowUiMap extends FlowRdfElement {
13721
13721
  /**
13722
13722
  * A promise that resolves to a map instance when the map has been initialized.
13723
13723
  *
13724
- * This is the safest way to retrieve the underlying core FlowMap instance before
13724
+ * This is the safest way to retrieve the underlying core FlowCoreMap instance before
13725
13725
  * using its API.
13726
13726
  */
13727
13727
  get initialized() {
@@ -13763,7 +13763,7 @@ class FlowUiMap extends FlowRdfElement {
13763
13763
  const mapContainer = document.createElement("div");
13764
13764
  mapContainer.slot = "map";
13765
13765
  this.appendChild(mapContainer);
13766
- const map = new flowRdfCore.FlowMap({
13766
+ const map = new flowRdfCore.FlowCoreMap({
13767
13767
  id: this.mapId ?? `flow-map-${mapIdCounter++}`,
13768
13768
  container: mapContainer,
13769
13769
  baseStyle: this.baseStyle,
@@ -24784,7 +24784,7 @@ function registerComponents() {
24784
24784
  FlowUiVisuallyHidden.define("flow-ui-visually-hidden");
24785
24785
  }
24786
24786
 
24787
- const version = "4.0.0";
24787
+ const version = "4.0.1";
24788
24788
 
24789
24789
  const CONSOLE_HIGHLIGHT_STYLE = `
24790
24790
  padding: 2px 4px;
package/dist/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { FlowMap } from '@emuanalytics/flow-rdf-core';
1
+ import { FlowCoreMap } from '@emuanalytics/flow-rdf-core';
2
2
  import * as lit_html from 'lit-html';
3
3
  import * as lit from 'lit';
4
4
  import { LitElement, CSSResultGroup, TemplateResult, ReactiveController, ReactiveControllerHost, PropertyValueMap } from 'lit';
@@ -191,7 +191,7 @@ declare global {
191
191
  }
192
192
 
193
193
  type FlowMapLoadEvent = CustomEvent<{
194
- map: FlowMap;
194
+ map: FlowCoreMap;
195
195
  }>;
196
196
  declare global {
197
197
  interface GlobalEventHandlersEventMap {
@@ -3517,22 +3517,22 @@ declare global {
3517
3517
  }
3518
3518
 
3519
3519
  /**
3520
- * This component wraps a `FlowMap` instance from the flow-rdf-core library and
3520
+ * This component wraps a `FlowCoreMap` instance from the flow-rdf-core library and
3521
3521
  * provides access to its API.
3522
3522
  *
3523
- * The `map` property provides direct access to the underlying `FlowMap` instance.
3523
+ * The `map` property provides direct access to the underlying `FlowCoreMap` instance.
3524
3524
  *
3525
- * The `initialized` property provides a promise that resolves to the `FlowMap` once
3525
+ * The `initialized` property provides a promise that resolves to the `FlowCoreMap` once
3526
3526
  * it has been initialized and is the safest way to access the map API.
3527
3527
  *
3528
3528
  * Convenience properties are provided for setting the base style, center, zoom, bearing, and pitch
3529
- * of the map. These properties can be set to update the map or the `FlowMap` API can be used directly.
3529
+ * of the map. These properties can be set to update the map or the `FlowCoreMap` API can be used directly.
3530
3530
  *
3531
3531
  *
3532
3532
  * @tagname flow-ui-map
3533
3533
  * @summary Display a Flo.w map.
3534
3534
  *
3535
- * @event {CustomEvent<{ map: FlowMap }>} flow-ui-map-load - Dispatched when the map is first initialized and has completed loading.
3535
+ * @event {CustomEvent<{ map: FlowCoreMap }>} flow-ui-map-load - Dispatched when the map is first initialized and has completed loading.
3536
3536
  * The Flo.w Core map instance can be retrieved from the event `detail` property.
3537
3537
  *
3538
3538
  * @csspart base - The base element of the component.
@@ -3610,17 +3610,17 @@ declare class FlowUiMap extends FlowRdfElement {
3610
3610
  */
3611
3611
  bearingSnap: number;
3612
3612
  /**
3613
- * The underlying core FlowMap instance. Note that this is
3613
+ * The underlying core FlowCoreMap instance. Note that this is
3614
3614
  * `undefined` until the map has been initialized.
3615
3615
  */
3616
- get map(): FlowMap | undefined;
3616
+ get map(): FlowCoreMap | undefined;
3617
3617
  /**
3618
3618
  * A promise that resolves to a map instance when the map has been initialized.
3619
3619
  *
3620
- * This is the safest way to retrieve the underlying core FlowMap instance before
3620
+ * This is the safest way to retrieve the underlying core FlowCoreMap instance before
3621
3621
  * using its API.
3622
3622
  */
3623
- get initialized(): Promise<FlowMap>;
3623
+ get initialized(): Promise<FlowCoreMap>;
3624
3624
  constructor();
3625
3625
  /** @internal */
3626
3626
  handleCenterChange(): void;
package/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { FlowMap } from '@emuanalytics/flow-rdf-core';
1
+ import { FlowCoreMap } from '@emuanalytics/flow-rdf-core';
2
2
  import * as lit_html from 'lit-html';
3
3
  import * as lit from 'lit';
4
4
  import { LitElement, CSSResultGroup, TemplateResult, ReactiveController, ReactiveControllerHost, PropertyValueMap } from 'lit';
@@ -191,7 +191,7 @@ declare global {
191
191
  }
192
192
 
193
193
  type FlowMapLoadEvent = CustomEvent<{
194
- map: FlowMap;
194
+ map: FlowCoreMap;
195
195
  }>;
196
196
  declare global {
197
197
  interface GlobalEventHandlersEventMap {
@@ -3517,22 +3517,22 @@ declare global {
3517
3517
  }
3518
3518
 
3519
3519
  /**
3520
- * This component wraps a `FlowMap` instance from the flow-rdf-core library and
3520
+ * This component wraps a `FlowCoreMap` instance from the flow-rdf-core library and
3521
3521
  * provides access to its API.
3522
3522
  *
3523
- * The `map` property provides direct access to the underlying `FlowMap` instance.
3523
+ * The `map` property provides direct access to the underlying `FlowCoreMap` instance.
3524
3524
  *
3525
- * The `initialized` property provides a promise that resolves to the `FlowMap` once
3525
+ * The `initialized` property provides a promise that resolves to the `FlowCoreMap` once
3526
3526
  * it has been initialized and is the safest way to access the map API.
3527
3527
  *
3528
3528
  * Convenience properties are provided for setting the base style, center, zoom, bearing, and pitch
3529
- * of the map. These properties can be set to update the map or the `FlowMap` API can be used directly.
3529
+ * of the map. These properties can be set to update the map or the `FlowCoreMap` API can be used directly.
3530
3530
  *
3531
3531
  *
3532
3532
  * @tagname flow-ui-map
3533
3533
  * @summary Display a Flo.w map.
3534
3534
  *
3535
- * @event {CustomEvent<{ map: FlowMap }>} flow-ui-map-load - Dispatched when the map is first initialized and has completed loading.
3535
+ * @event {CustomEvent<{ map: FlowCoreMap }>} flow-ui-map-load - Dispatched when the map is first initialized and has completed loading.
3536
3536
  * The Flo.w Core map instance can be retrieved from the event `detail` property.
3537
3537
  *
3538
3538
  * @csspart base - The base element of the component.
@@ -3610,17 +3610,17 @@ declare class FlowUiMap extends FlowRdfElement {
3610
3610
  */
3611
3611
  bearingSnap: number;
3612
3612
  /**
3613
- * The underlying core FlowMap instance. Note that this is
3613
+ * The underlying core FlowCoreMap instance. Note that this is
3614
3614
  * `undefined` until the map has been initialized.
3615
3615
  */
3616
- get map(): FlowMap | undefined;
3616
+ get map(): FlowCoreMap | undefined;
3617
3617
  /**
3618
3618
  * A promise that resolves to a map instance when the map has been initialized.
3619
3619
  *
3620
- * This is the safest way to retrieve the underlying core FlowMap instance before
3620
+ * This is the safest way to retrieve the underlying core FlowCoreMap instance before
3621
3621
  * using its API.
3622
3622
  */
3623
- get initialized(): Promise<FlowMap>;
3623
+ get initialized(): Promise<FlowCoreMap>;
3624
3624
  constructor();
3625
3625
  /** @internal */
3626
3626
  handleCenterChange(): void;
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { FlowMap } from '@emuanalytics/flow-rdf-core';
1
+ import { FlowCoreMap } from '@emuanalytics/flow-rdf-core';
2
2
  import * as lit_html from 'lit-html';
3
3
  import * as lit from 'lit';
4
4
  import { LitElement, CSSResultGroup, TemplateResult, ReactiveController, ReactiveControllerHost, PropertyValueMap } from 'lit';
@@ -191,7 +191,7 @@ declare global {
191
191
  }
192
192
 
193
193
  type FlowMapLoadEvent = CustomEvent<{
194
- map: FlowMap;
194
+ map: FlowCoreMap;
195
195
  }>;
196
196
  declare global {
197
197
  interface GlobalEventHandlersEventMap {
@@ -3517,22 +3517,22 @@ declare global {
3517
3517
  }
3518
3518
 
3519
3519
  /**
3520
- * This component wraps a `FlowMap` instance from the flow-rdf-core library and
3520
+ * This component wraps a `FlowCoreMap` instance from the flow-rdf-core library and
3521
3521
  * provides access to its API.
3522
3522
  *
3523
- * The `map` property provides direct access to the underlying `FlowMap` instance.
3523
+ * The `map` property provides direct access to the underlying `FlowCoreMap` instance.
3524
3524
  *
3525
- * The `initialized` property provides a promise that resolves to the `FlowMap` once
3525
+ * The `initialized` property provides a promise that resolves to the `FlowCoreMap` once
3526
3526
  * it has been initialized and is the safest way to access the map API.
3527
3527
  *
3528
3528
  * Convenience properties are provided for setting the base style, center, zoom, bearing, and pitch
3529
- * of the map. These properties can be set to update the map or the `FlowMap` API can be used directly.
3529
+ * of the map. These properties can be set to update the map or the `FlowCoreMap` API can be used directly.
3530
3530
  *
3531
3531
  *
3532
3532
  * @tagname flow-ui-map
3533
3533
  * @summary Display a Flo.w map.
3534
3534
  *
3535
- * @event {CustomEvent<{ map: FlowMap }>} flow-ui-map-load - Dispatched when the map is first initialized and has completed loading.
3535
+ * @event {CustomEvent<{ map: FlowCoreMap }>} flow-ui-map-load - Dispatched when the map is first initialized and has completed loading.
3536
3536
  * The Flo.w Core map instance can be retrieved from the event `detail` property.
3537
3537
  *
3538
3538
  * @csspart base - The base element of the component.
@@ -3610,17 +3610,17 @@ declare class FlowUiMap extends FlowRdfElement {
3610
3610
  */
3611
3611
  bearingSnap: number;
3612
3612
  /**
3613
- * The underlying core FlowMap instance. Note that this is
3613
+ * The underlying core FlowCoreMap instance. Note that this is
3614
3614
  * `undefined` until the map has been initialized.
3615
3615
  */
3616
- get map(): FlowMap | undefined;
3616
+ get map(): FlowCoreMap | undefined;
3617
3617
  /**
3618
3618
  * A promise that resolves to a map instance when the map has been initialized.
3619
3619
  *
3620
- * This is the safest way to retrieve the underlying core FlowMap instance before
3620
+ * This is the safest way to retrieve the underlying core FlowCoreMap instance before
3621
3621
  * using its API.
3622
3622
  */
3623
- get initialized(): Promise<FlowMap>;
3623
+ get initialized(): Promise<FlowCoreMap>;
3624
3624
  constructor();
3625
3625
  /** @internal */
3626
3626
  handleCenterChange(): void;
package/dist/index.mjs CHANGED
@@ -19,7 +19,7 @@ import { choose } from 'lit/directives/choose.js';
19
19
  import { autoUpdate, offset, size, flip as flip$1, shift, arrow, platform, computePosition } from '@floating-ui/dom';
20
20
  import { offsetParent } from 'composed-offset-position';
21
21
  import { formatLocale, format } from 'd3-format';
22
- import { FlowMap } from '@emuanalytics/flow-rdf-core';
22
+ import { FlowCoreMap } from '@emuanalytics/flow-rdf-core';
23
23
  import cloneDeep from 'clone-deep';
24
24
  import { OverlayScrollbars } from 'overlayscrollbars';
25
25
  import { unsafeHTML } from 'lit/directives/unsafe-html.js';
@@ -13706,7 +13706,7 @@ class FlowUiMap extends FlowRdfElement {
13706
13706
  });
13707
13707
  }
13708
13708
  /**
13709
- * The underlying core FlowMap instance. Note that this is
13709
+ * The underlying core FlowCoreMap instance. Note that this is
13710
13710
  * `undefined` until the map has been initialized.
13711
13711
  */
13712
13712
  get map() {
@@ -13715,7 +13715,7 @@ class FlowUiMap extends FlowRdfElement {
13715
13715
  /**
13716
13716
  * A promise that resolves to a map instance when the map has been initialized.
13717
13717
  *
13718
- * This is the safest way to retrieve the underlying core FlowMap instance before
13718
+ * This is the safest way to retrieve the underlying core FlowCoreMap instance before
13719
13719
  * using its API.
13720
13720
  */
13721
13721
  get initialized() {
@@ -13757,7 +13757,7 @@ class FlowUiMap extends FlowRdfElement {
13757
13757
  const mapContainer = document.createElement("div");
13758
13758
  mapContainer.slot = "map";
13759
13759
  this.appendChild(mapContainer);
13760
- const map = new FlowMap({
13760
+ const map = new FlowCoreMap({
13761
13761
  id: this.mapId ?? `flow-map-${mapIdCounter++}`,
13762
13762
  container: mapContainer,
13763
13763
  baseStyle: this.baseStyle,
@@ -24778,7 +24778,7 @@ function registerComponents() {
24778
24778
  FlowUiVisuallyHidden.define("flow-ui-visually-hidden");
24779
24779
  }
24780
24780
 
24781
- const version = "4.0.0";
24781
+ const version = "4.0.1";
24782
24782
 
24783
24783
  const CONSOLE_HIGHLIGHT_STYLE = `
24784
24784
  padding: 2px 4px;
@@ -135,35 +135,6 @@
135
135
  ],
136
136
  "references": []
137
137
  },
138
- {
139
- "name": "flow-ui-badge",
140
- "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.",
141
- "attributes": [
142
- {
143
- "name": "variant",
144
- "description": "The badge's theme variant.",
145
- "values": [
146
- { "name": "primary" },
147
- { "name": "secondary" },
148
- { "name": "success" },
149
- { "name": "neutral" },
150
- { "name": "warning" },
151
- { "name": "danger" }
152
- ]
153
- },
154
- {
155
- "name": "pill",
156
- "description": "Draws a pill-style badge with rounded edges.",
157
- "values": []
158
- },
159
- {
160
- "name": "pulse",
161
- "description": "Makes the badge pulsate to draw attention.",
162
- "values": []
163
- }
164
- ],
165
- "references": []
166
- },
167
138
  {
168
139
  "name": "flow-ui-button",
169
140
  "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.",
@@ -314,6 +285,52 @@
314
285
  ],
315
286
  "references": []
316
287
  },
288
+ {
289
+ "name": "flow-ui-button-group",
290
+ "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.",
291
+ "attributes": [
292
+ {
293
+ "name": "label",
294
+ "description": "Text label for assistive devices.",
295
+ "values": []
296
+ },
297
+ {
298
+ "name": "vertical",
299
+ "description": "Use vertical layout for the button group.",
300
+ "values": []
301
+ }
302
+ ],
303
+ "references": []
304
+ },
305
+ {
306
+ "name": "flow-ui-badge",
307
+ "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.",
308
+ "attributes": [
309
+ {
310
+ "name": "variant",
311
+ "description": "The badge's theme variant.",
312
+ "values": [
313
+ { "name": "primary" },
314
+ { "name": "secondary" },
315
+ { "name": "success" },
316
+ { "name": "neutral" },
317
+ { "name": "warning" },
318
+ { "name": "danger" }
319
+ ]
320
+ },
321
+ {
322
+ "name": "pill",
323
+ "description": "Draws a pill-style badge with rounded edges.",
324
+ "values": []
325
+ },
326
+ {
327
+ "name": "pulse",
328
+ "description": "Makes the badge pulsate to draw attention.",
329
+ "values": []
330
+ }
331
+ ],
332
+ "references": []
333
+ },
317
334
  {
318
335
  "name": "flow-ui-avatar",
319
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.",
@@ -350,23 +367,6 @@
350
367
  ],
351
368
  "references": []
352
369
  },
353
- {
354
- "name": "flow-ui-button-group",
355
- "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.",
356
- "attributes": [
357
- {
358
- "name": "label",
359
- "description": "Text label for assistive devices.",
360
- "values": []
361
- },
362
- {
363
- "name": "vertical",
364
- "description": "Use vertical layout for the button group.",
365
- "values": []
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,42 +1785,6 @@
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
- },
1824
1788
  {
1825
1789
  "name": "flow-ui-radio",
1826
1790
  "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.",
@@ -1859,6 +1823,42 @@
1859
1823
  ],
1860
1824
  "references": []
1861
1825
  },
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.",
@@ -2450,68 +2450,6 @@
2450
2450
  ],
2451
2451
  "references": []
2452
2452
  },
2453
- {
2454
- "name": "flow-ui-timer",
2455
- "description": "The timer component is the primary time control for Flo.w time-based visualizations.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-change** - Emitted when the control's value changes.\n- **flow-ui-input** - Emitted when the control receives input.",
2456
- "attributes": [
2457
- {
2458
- "name": "value",
2459
- "description": "The value of the timer. (ISO8601 date/time string)",
2460
- "values": []
2461
- },
2462
- {
2463
- "name": "timezone",
2464
- "description": "The timezone to use for display. (IANA timezone string).\nIf not set, the timezone will be the browser's local timezone.",
2465
- "values": []
2466
- },
2467
- {
2468
- "name": "locale",
2469
- "description": "The locale to use for display. (IETF BCP 47 language tag).\nIf not set, the locale will be the browser's default locale.",
2470
- "values": []
2471
- },
2472
- {
2473
- "name": "running",
2474
- "description": "Set to `true` to start the timer running.",
2475
- "values": []
2476
- },
2477
- {
2478
- "name": "dateFormat",
2479
- "description": "The date format to use for display as a [Luxon format string](https://moment.github.io/luxon/#/formatting?id=table-of-tokens).",
2480
- "values": []
2481
- },
2482
- {
2483
- "name": "dayFormat",
2484
- "description": "The day format to use for display as a [Luxon format string](https://moment.github.io/luxon/#/formatting?id=table-of-tokens).",
2485
- "values": []
2486
- },
2487
- {
2488
- "name": "timeFormat",
2489
- "description": "The time format to use for display as a [Luxon format string](https://moment.github.io/luxon/#/formatting?id=table-of-tokens).",
2490
- "values": []
2491
- },
2492
- {
2493
- "name": "zoneFormat",
2494
- "description": "The timezone format to use for display as a [Luxon format string](https://moment.github.io/luxon/#/formatting?id=table-of-tokens).",
2495
- "values": []
2496
- },
2497
- {
2498
- "name": "major-step",
2499
- "description": "The major step size to use for the timer step controls.",
2500
- "values": []
2501
- },
2502
- {
2503
- "name": "minor-step",
2504
- "description": "The minor step size to use for the timer step controls.",
2505
- "values": []
2506
- },
2507
- {
2508
- "name": "hide-zone",
2509
- "description": "Set to `true` to hide the timezone display.",
2510
- "values": []
2511
- }
2512
- ],
2513
- "references": []
2514
- },
2515
2453
  {
2516
2454
  "name": "flow-ui-textarea",
2517
2455
  "description": "Textareas collect data from the user and allow multiple lines of text.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-blur** - Emitted when the control loses focus.\n- **flow-ui-change** - Emitted when an alteration to the control's value is committed by the user.\n- **flow-ui-focus** - Emitted when the control gains focus.\n- **flow-ui-input** - Emitted when the control receives input.\n- **flow-ui-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the textarea.\n- **blur()** - Removes focus from the textarea.\n- **select()** - Selects all the text in the textarea.\n- **scrollPosition(position: _{ top?: number; left?: number }_): _{ top: number; left: number } | undefined_** - Gets or sets the textarea's scroll position.\n- **setSelectionRange(selectionStart: _number_, selectionEnd: _number_, selectionDirection: _'forward' | 'backward' | 'none'_)** - Sets the start and end positions of the text selection (0-based).\n- **setRangeText(replacement: _string_, start: _number_, end: _number_, selectMode: _'select' | 'start' | 'end' | 'preserve'_)** - Replaces a range of text with a new string.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n\n### **Slots:**\n - **label** - The textarea's label. Alternatively, you can use the `label` attribute.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The input's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **base** - The component's base wrapper.\n- **textarea** - The internal `<textarea>` control.",
@@ -2661,6 +2599,68 @@
2661
2599
  ],
2662
2600
  "references": []
2663
2601
  },
2602
+ {
2603
+ "name": "flow-ui-timer",
2604
+ "description": "The timer component is the primary time control for Flo.w time-based visualizations.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-change** - Emitted when the control's value changes.\n- **flow-ui-input** - Emitted when the control receives input.",
2605
+ "attributes": [
2606
+ {
2607
+ "name": "value",
2608
+ "description": "The value of the timer. (ISO8601 date/time string)",
2609
+ "values": []
2610
+ },
2611
+ {
2612
+ "name": "timezone",
2613
+ "description": "The timezone to use for display. (IANA timezone string).\nIf not set, the timezone will be the browser's local timezone.",
2614
+ "values": []
2615
+ },
2616
+ {
2617
+ "name": "locale",
2618
+ "description": "The locale to use for display. (IETF BCP 47 language tag).\nIf not set, the locale will be the browser's default locale.",
2619
+ "values": []
2620
+ },
2621
+ {
2622
+ "name": "running",
2623
+ "description": "Set to `true` to start the timer running.",
2624
+ "values": []
2625
+ },
2626
+ {
2627
+ "name": "dateFormat",
2628
+ "description": "The date format to use for display as a [Luxon format string](https://moment.github.io/luxon/#/formatting?id=table-of-tokens).",
2629
+ "values": []
2630
+ },
2631
+ {
2632
+ "name": "dayFormat",
2633
+ "description": "The day format to use for display as a [Luxon format string](https://moment.github.io/luxon/#/formatting?id=table-of-tokens).",
2634
+ "values": []
2635
+ },
2636
+ {
2637
+ "name": "timeFormat",
2638
+ "description": "The time format to use for display as a [Luxon format string](https://moment.github.io/luxon/#/formatting?id=table-of-tokens).",
2639
+ "values": []
2640
+ },
2641
+ {
2642
+ "name": "zoneFormat",
2643
+ "description": "The timezone format to use for display as a [Luxon format string](https://moment.github.io/luxon/#/formatting?id=table-of-tokens).",
2644
+ "values": []
2645
+ },
2646
+ {
2647
+ "name": "major-step",
2648
+ "description": "The major step size to use for the timer step controls.",
2649
+ "values": []
2650
+ },
2651
+ {
2652
+ "name": "minor-step",
2653
+ "description": "The minor step size to use for the timer step controls.",
2654
+ "values": []
2655
+ },
2656
+ {
2657
+ "name": "hide-zone",
2658
+ "description": "Set to `true` to hide the timezone display.",
2659
+ "values": []
2660
+ }
2661
+ ],
2662
+ "references": []
2663
+ },
2664
2664
  {
2665
2665
  "name": "flow-ui-tool-button",
2666
2666
  "description": "Tool buttons are used to build [toolbars](./flow-ui-tool-button-group). They can be used to toggle a state or perform an action.\n\n\n---\n\n\n\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the radio button.\n- **blur()** - Removes focus from the radio button.\n\n### **Slots:**\n - **prefix** - A presentational prefix icon or similar element.\n- **suffix** - A presentational suffix icon or similar element.\n- **icon** - The tool button's icon.\n- **tooltip** - The tool button's tooltip content.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **button** - The button element.\n- **button--checked** - The button element when checked.\n- **tooltip** - The tooltip element.\n- **prefix** - The prefix slot.\n- **suffix** - The suffix slot.\n- **label-wrapper** - The wrapper that contains the icon and label.\n- **icon** - The icon slot. Alternatively, you can use the `icon` attribute.\n- **label** - The button label.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emuanalytics/flow-rdf-ui",
3
- "version": "4.0.0",
3
+ "version": "4.0.1",
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.0"
109
+ "@emuanalytics/flow-rdf-core": "4.0.1"
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.0"
115
+ "@emuanalytics/flow-rdf-core": "4.0.1"
116
116
  },
117
117
  "scripts": {
118
118
  "dev": "vite",