@emuanalytics/flow-rdf-ui 4.3.0 → 4.3.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.
Files changed (63) hide show
  1. package/dist/components/alert/alert.component.mjs +10 -10
  2. package/dist/components/animation/animation.component.mjs +2 -2
  3. package/dist/components/autocomplete/autocomplete.component.mjs +18 -16
  4. package/dist/components/avatar/avatar.component.mjs +7 -12
  5. package/dist/components/breadcrumb-item/breadcrumb-item.component.mjs +14 -14
  6. package/dist/components/button/button.component.mjs +3 -3
  7. package/dist/components/button/button.styles.mjs +5 -5
  8. package/dist/components/calendar/calendar.component.mjs +23 -6
  9. package/dist/components/card/card.component.mjs +4 -4
  10. package/dist/components/carousel/carousel.component.mjs +42 -42
  11. package/dist/components/carousel-item/carousel-item.component.mjs +1 -0
  12. package/dist/components/chart/chart.component.mjs +4 -4
  13. package/dist/components/chart/chartjs-plugins/plugin.flow-ui-colors.mjs +1 -1
  14. package/dist/components/checkbox/checkbox.component.mjs +18 -18
  15. package/dist/components/color-mapper/color-mapper.component.mjs +6 -6
  16. package/dist/components/color-picker/color-picker.component.mjs +71 -71
  17. package/dist/components/color-picker/color-picker.styles.mjs +4 -2
  18. package/dist/components/color-stop/color-stop.component.mjs +2 -2
  19. package/dist/components/date-time-picker/date-time-picker.component.mjs +29 -29
  20. package/dist/components/diagram-base-node/diagram-base-node.component.mjs +5 -5
  21. package/dist/components/diagram-minimap/diagram-minimap.component.mjs +6 -6
  22. package/dist/components/diagram-zoom-controls/diagram-zoom-controls.component.mjs +10 -10
  23. package/dist/components/diagram-zoom-controls/diagram-zoom-controls.styles.mjs +3 -1
  24. package/dist/components/dialog/dialog.component.mjs +1 -1
  25. package/dist/components/drawer/drawer.component.mjs +19 -19
  26. package/dist/components/gauge/gauge.component.mjs +4 -2
  27. package/dist/components/icon/library.mjs +7 -4
  28. package/dist/components/input/input.component.mjs +16 -11
  29. package/dist/components/list-item/list-item.component.mjs +17 -17
  30. package/dist/components/mutation-observer/mutation-observer.component.mjs +4 -6
  31. package/dist/components/panel-header/panel-header.component.mjs +11 -8
  32. package/dist/components/popup/popup.component.mjs +11 -11
  33. package/dist/components/progress-bar/progress-bar.component.mjs +2 -2
  34. package/dist/components/query-builder/converters/javascript-filter-converter.mjs +0 -4
  35. package/dist/components/query-builder/converters/map-layer-filter-converter.mjs +0 -4
  36. package/dist/components/query-builder/query-builder.component.mjs +15 -15
  37. package/dist/components/radio/radio.component.mjs +7 -7
  38. package/dist/components/radio-group/radio-group.component.mjs +1 -1
  39. package/dist/components/resize-observer/resize-observer.component.mjs +1 -1
  40. package/dist/components/scroll-view/scroll-view.styles.mjs +20 -7
  41. package/dist/components/select/select.component.mjs +16 -16
  42. package/dist/components/split-view-toggle-button/split-view-toggle-button.styles.mjs +3 -3
  43. package/dist/components/stepper/stepper.component.mjs +2 -2
  44. package/dist/components/stepper-panel/stepper-panel.component.mjs +3 -3
  45. package/dist/components/switch/switch.component.mjs +6 -8
  46. package/dist/components/tab/tab.component.mjs +17 -17
  47. package/dist/components/tab-group/tab-group.component.mjs +42 -38
  48. package/dist/components/tag/tag.component.mjs +11 -11
  49. package/dist/components/textarea/textarea.component.mjs +10 -4
  50. package/dist/components/tree/tree.component.mjs +4 -2
  51. package/dist/custom-elements.json +1291 -1277
  52. package/dist/diagram/runtime/default-edge-templates.mjs +9 -9
  53. package/dist/index.d.mts +25 -6
  54. package/dist/index.d.ts +25 -6
  55. package/dist/internal/form.mjs +1 -1
  56. package/dist/internal/on-off-converter.mjs +21 -0
  57. package/dist/package.json.mjs +1 -1
  58. package/dist/vscode.html-custom-data.json +129 -132
  59. package/package.json +26 -39
  60. package/themes/dark.css +5 -5
  61. package/themes/dark.styles.js +5 -5
  62. package/themes/light.css +5 -5
  63. package/themes/light.styles.js +5 -5
@@ -5,15 +5,15 @@ const defaultEdgeTemplate = ({ edge }) => {
5
5
  return html`
6
6
  <flow-ui-diagram-base-edge class="flow-ui-diagram-default-edge" .edge=${edge}>
7
7
  ${label ? html`
8
- <flow-ui-diagram-edge-label
9
- class="flow-ui-diagram-default-label"
10
- variant="default"
11
- .id=${"edge-label"}
12
- .positionOnEdge=${positionOnEdge ?? 0.5}
13
- >
14
- ${label}
15
- </flow-ui-diagram-edge-label>
16
- ` : nothing}
8
+ <flow-ui-diagram-edge-label
9
+ class="flow-ui-diagram-default-label"
10
+ variant="default"
11
+ .id=${"edge-label"}
12
+ .positionOnEdge=${positionOnEdge ?? 0.5}
13
+ >
14
+ ${label}
15
+ </flow-ui-diagram-edge-label>
16
+ ` : nothing}
17
17
  </flow-ui-diagram-base-edge>
18
18
  `;
19
19
  };
package/dist/index.d.mts CHANGED
@@ -8149,6 +8149,8 @@ declare class DiagramGroupHighlightedDirective extends Directive {
8149
8149
  * `
8150
8150
  * };
8151
8151
  * ```
8152
+ *
8153
+ * @function
8152
8154
  */
8153
8155
  declare const diagramGroupHighlighted: (_node: DiagramNode | undefined) => lit_html_directive_js.DirectiveResult<typeof DiagramGroupHighlightedDirective>;
8154
8156
 
@@ -8208,6 +8210,8 @@ declare class DiagramHiddenDirective extends AsyncDirective {
8208
8210
  *
8209
8211
  * Not supported with virtualization: hiding the element would remove the template that holds the binding. With
8210
8212
  * virtualization on, the binding is ignored and a console warning is logged. Use the model `hidden` flag instead.
8213
+ *
8214
+ * @function
8211
8215
  */
8212
8216
  declare const diagramHidden: (_hidden?: unknown) => lit_html_directive_js.DirectiveResult<typeof DiagramHiddenDirective>;
8213
8217
 
@@ -8370,6 +8374,8 @@ declare class DiagramNodeSelectedDirective extends Directive {
8370
8374
  *
8371
8375
  * A tag-name template receives `selected` as a property instead, and can style `:host([selected])` once it reflects
8372
8376
  * it.
8377
+ *
8378
+ * @function
8373
8379
  */
8374
8380
  declare const diagramNodeSelected: (_node: DiagramNode | undefined) => lit_html_directive_js.DirectiveResult<typeof DiagramNodeSelectedDirective>;
8375
8381
 
@@ -9166,6 +9172,7 @@ declare const isRuleOrRuleset: (r: unknown) => r is FlowQueryBuilderRule | FlowQ
9166
9172
  */
9167
9173
  declare function betweenRuleValues(rule: FlowQueryBuilderRule, field: FlowQueryBuilderField): [any, any | undefined] | undefined;
9168
9174
 
9175
+ /** @function */
9169
9176
  declare const converter$2: FlowQueryBuilderConverter;
9170
9177
 
9171
9178
  declare class JavaScriptFilterError extends Error {
@@ -9300,6 +9307,7 @@ class AppState extends StateStore {
9300
9307
  */
9301
9308
  declare const converter$1: <TData = object>(ruleset: FlowQueryBuilderRuleSet, config: FlowQueryBuilderConfig, options?: FlowQueryBuilderConverterOptions) => JavaScriptFilterFn<TData>;
9302
9309
 
9310
+ /** @function */
9303
9311
  declare const converter: FlowQueryBuilderConverter<string | undefined>;
9304
9312
 
9305
9313
  /**
@@ -10741,8 +10749,11 @@ declare class FlowUiInput extends FlowRdfFormControl {
10741
10749
  step: number | 'any';
10742
10750
  /** Controls whether and how text input is automatically capitalized as it is entered by the user. */
10743
10751
  autocapitalize: 'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters';
10744
- /** Indicates whether the browser's autocorrect feature is on or off. */
10745
- autocorrect: 'off' | 'on';
10752
+ /**
10753
+ * Set to `false` to turn off the browser's autocorrect feature, or `true` to turn it on. The `autocorrect` attribute
10754
+ * takes `on` or `off`. If not set, the browser's default is used.
10755
+ */
10756
+ autocorrect: boolean;
10746
10757
  /**
10747
10758
  * Specifies what permission the browser has to provide assistance in filling out form field values. Refer to
10748
10759
  * [this page on MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) for available values.
@@ -11278,6 +11289,11 @@ declare class FlowUiCalendar extends FlowRdfElement {
11278
11289
  private highlightedDays;
11279
11290
  private updateValue;
11280
11291
  private handleHeaderSelectChange;
11292
+ /**
11293
+ * The month and year selects change the month shown, not the value, and open and close inside the calendar, so their
11294
+ * input, show and hide events go no further (they would reach a date time picker as its own).
11295
+ */
11296
+ private stopHeaderSelectEvent;
11281
11297
  private handleTimeChange;
11282
11298
  /**
11283
11299
  * Handle a change in the Start or End row of a datetime range or a time range. In a datetime range, the start time
@@ -15930,7 +15946,7 @@ declare class FlowUiStepperPanel extends FlowRdfElement {
15930
15946
  complete: boolean;
15931
15947
  connectedCallback(): void;
15932
15948
  /** @internal */
15933
- handleStateChange(): void;
15949
+ handleActiveChange(): void;
15934
15950
  render(): lit_html.TemplateResult<1>;
15935
15951
  }
15936
15952
 
@@ -16189,8 +16205,11 @@ declare class FlowUiTextarea extends FlowRdfFormControl {
16189
16205
  maxlength: number;
16190
16206
  /** Controls whether and how text input is automatically capitalized as it is entered by the user. */
16191
16207
  autocapitalize: 'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters';
16192
- /** Indicates whether the browser's autocorrect feature is on or off. */
16193
- autocorrect: string;
16208
+ /**
16209
+ * Set to `false` to turn off the browser's autocorrect feature, or `true` to turn it on. The `autocorrect` attribute
16210
+ * takes `on` or `off`. If not set, the browser's default is used.
16211
+ */
16212
+ autocorrect: boolean;
16194
16213
  /**
16195
16214
  * Specifies what permission the browser has to provide assistance in filling out form field values. Refer to
16196
16215
  * [this page on MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) for available values.
@@ -16586,7 +16605,7 @@ declare class FlowUiTree extends FlowRdfElement {
16586
16605
  /** @internal */
16587
16606
  handleSelectionChange(): Promise<void>;
16588
16607
  /** @internal */
16589
- handleValueChange(previousValue: string[]): void;
16608
+ handleValueChange(previousValueOrNull: string[]): void;
16590
16609
  /** @internal Returns the list of tree items that are selected in the tree. */
16591
16610
  get selectedItems(): FlowUiTreeItem[];
16592
16611
  /** @internal Gets focusable tree items in the tree. */
package/dist/index.d.ts CHANGED
@@ -8149,6 +8149,8 @@ declare class DiagramGroupHighlightedDirective extends Directive {
8149
8149
  * `
8150
8150
  * };
8151
8151
  * ```
8152
+ *
8153
+ * @function
8152
8154
  */
8153
8155
  declare const diagramGroupHighlighted: (_node: DiagramNode | undefined) => lit_html_directive_js.DirectiveResult<typeof DiagramGroupHighlightedDirective>;
8154
8156
 
@@ -8208,6 +8210,8 @@ declare class DiagramHiddenDirective extends AsyncDirective {
8208
8210
  *
8209
8211
  * Not supported with virtualization: hiding the element would remove the template that holds the binding. With
8210
8212
  * virtualization on, the binding is ignored and a console warning is logged. Use the model `hidden` flag instead.
8213
+ *
8214
+ * @function
8211
8215
  */
8212
8216
  declare const diagramHidden: (_hidden?: unknown) => lit_html_directive_js.DirectiveResult<typeof DiagramHiddenDirective>;
8213
8217
 
@@ -8370,6 +8374,8 @@ declare class DiagramNodeSelectedDirective extends Directive {
8370
8374
  *
8371
8375
  * A tag-name template receives `selected` as a property instead, and can style `:host([selected])` once it reflects
8372
8376
  * it.
8377
+ *
8378
+ * @function
8373
8379
  */
8374
8380
  declare const diagramNodeSelected: (_node: DiagramNode | undefined) => lit_html_directive_js.DirectiveResult<typeof DiagramNodeSelectedDirective>;
8375
8381
 
@@ -9166,6 +9172,7 @@ declare const isRuleOrRuleset: (r: unknown) => r is FlowQueryBuilderRule | FlowQ
9166
9172
  */
9167
9173
  declare function betweenRuleValues(rule: FlowQueryBuilderRule, field: FlowQueryBuilderField): [any, any | undefined] | undefined;
9168
9174
 
9175
+ /** @function */
9169
9176
  declare const converter$2: FlowQueryBuilderConverter;
9170
9177
 
9171
9178
  declare class JavaScriptFilterError extends Error {
@@ -9300,6 +9307,7 @@ class AppState extends StateStore {
9300
9307
  */
9301
9308
  declare const converter$1: <TData = object>(ruleset: FlowQueryBuilderRuleSet, config: FlowQueryBuilderConfig, options?: FlowQueryBuilderConverterOptions) => JavaScriptFilterFn<TData>;
9302
9309
 
9310
+ /** @function */
9303
9311
  declare const converter: FlowQueryBuilderConverter<string | undefined>;
9304
9312
 
9305
9313
  /**
@@ -10741,8 +10749,11 @@ declare class FlowUiInput extends FlowRdfFormControl {
10741
10749
  step: number | 'any';
10742
10750
  /** Controls whether and how text input is automatically capitalized as it is entered by the user. */
10743
10751
  autocapitalize: 'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters';
10744
- /** Indicates whether the browser's autocorrect feature is on or off. */
10745
- autocorrect: 'off' | 'on';
10752
+ /**
10753
+ * Set to `false` to turn off the browser's autocorrect feature, or `true` to turn it on. The `autocorrect` attribute
10754
+ * takes `on` or `off`. If not set, the browser's default is used.
10755
+ */
10756
+ autocorrect: boolean;
10746
10757
  /**
10747
10758
  * Specifies what permission the browser has to provide assistance in filling out form field values. Refer to
10748
10759
  * [this page on MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) for available values.
@@ -11278,6 +11289,11 @@ declare class FlowUiCalendar extends FlowRdfElement {
11278
11289
  private highlightedDays;
11279
11290
  private updateValue;
11280
11291
  private handleHeaderSelectChange;
11292
+ /**
11293
+ * The month and year selects change the month shown, not the value, and open and close inside the calendar, so their
11294
+ * input, show and hide events go no further (they would reach a date time picker as its own).
11295
+ */
11296
+ private stopHeaderSelectEvent;
11281
11297
  private handleTimeChange;
11282
11298
  /**
11283
11299
  * Handle a change in the Start or End row of a datetime range or a time range. In a datetime range, the start time
@@ -15930,7 +15946,7 @@ declare class FlowUiStepperPanel extends FlowRdfElement {
15930
15946
  complete: boolean;
15931
15947
  connectedCallback(): void;
15932
15948
  /** @internal */
15933
- handleStateChange(): void;
15949
+ handleActiveChange(): void;
15934
15950
  render(): lit_html.TemplateResult<1>;
15935
15951
  }
15936
15952
 
@@ -16189,8 +16205,11 @@ declare class FlowUiTextarea extends FlowRdfFormControl {
16189
16205
  maxlength: number;
16190
16206
  /** Controls whether and how text input is automatically capitalized as it is entered by the user. */
16191
16207
  autocapitalize: 'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters';
16192
- /** Indicates whether the browser's autocorrect feature is on or off. */
16193
- autocorrect: string;
16208
+ /**
16209
+ * Set to `false` to turn off the browser's autocorrect feature, or `true` to turn it on. The `autocorrect` attribute
16210
+ * takes `on` or `off`. If not set, the browser's default is used.
16211
+ */
16212
+ autocorrect: boolean;
16194
16213
  /**
16195
16214
  * Specifies what permission the browser has to provide assistance in filling out form field values. Refer to
16196
16215
  * [this page on MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) for available values.
@@ -16586,7 +16605,7 @@ declare class FlowUiTree extends FlowRdfElement {
16586
16605
  /** @internal */
16587
16606
  handleSelectionChange(): Promise<void>;
16588
16607
  /** @internal */
16589
- handleValueChange(previousValue: string[]): void;
16608
+ handleValueChange(previousValueOrNull: string[]): void;
16590
16609
  /** @internal Returns the list of tree items that are selected in the tree. */
16591
16610
  get selectedItems(): FlowUiTreeItem[];
16592
16611
  /** @internal Gets focusable tree items in the tree. */
@@ -10,7 +10,7 @@ class FormControlController {
10
10
  if (input.hasAttribute("form") && input.getAttribute("form") !== "") {
11
11
  const root = input.getRootNode();
12
12
  const formId = input.getAttribute("form");
13
- if (formId) {
13
+ if (formId && (root instanceof Document || root instanceof ShadowRoot)) {
14
14
  return root.getElementById(formId);
15
15
  }
16
16
  }
@@ -0,0 +1,21 @@
1
+ import { isNil } from './type-checks.mjs';
2
+
3
+ const fromAttribute = (value) => {
4
+ if (isNil(value)) {
5
+ return void 0;
6
+ }
7
+ return value.toLowerCase() !== "off";
8
+ };
9
+ const onOffConverter = {
10
+ fromAttribute,
11
+ toAttribute: (value) => {
12
+ const on = typeof value === "string" ? fromAttribute(value) : value;
13
+ if (isNil(on)) {
14
+ return void 0;
15
+ }
16
+ return on ? "on" : "off";
17
+ }
18
+ };
19
+ const onOffConverter$1 = onOffConverter;
20
+
21
+ export { onOffConverter$1 as default };
@@ -1,3 +1,3 @@
1
- const version = "4.3.0";
1
+ const version = "4.3.1";
2
2
 
3
3
  export { version };
@@ -35,68 +35,6 @@
35
35
  ],
36
36
  "references": []
37
37
  },
38
- {
39
- "name": "flow-ui-animation",
40
- "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.",
41
- "attributes": [
42
- {
43
- "name": "name",
44
- "description": "The name of the built-in animation to use. For custom animations, use the `keyframes` prop.\nUse `getAnimationNames()` to retrieve a list of available animations.",
45
- "values": []
46
- },
47
- {
48
- "name": "play",
49
- "description": "Plays the animation. When omitted, the animation will be paused. This attribute will be automatically removed when\nthe animation finishes or gets canceled.",
50
- "values": []
51
- },
52
- {
53
- "name": "delay",
54
- "description": "The number of milliseconds to delay the start of the animation.",
55
- "values": []
56
- },
57
- {
58
- "name": "direction",
59
- "description": "Determines the direction of playback as well as the behavior when reaching the end of an iteration.\n[Learn more](https://developer.mozilla.org/en-US/docs/Web/CSS/animation-direction)",
60
- "values": [{ "name": "PlaybackDirection" }]
61
- },
62
- {
63
- "name": "duration",
64
- "description": "The number of milliseconds each iteration of the animation takes to complete.",
65
- "values": []
66
- },
67
- {
68
- "name": "easing",
69
- "description": "The easing function to use for the animation. This can be a Shoelace easing function or a custom easing function\nsuch as `cubic-bezier(0, 1, .76, 1.14)`.",
70
- "values": []
71
- },
72
- {
73
- "name": "end-delay",
74
- "description": "The number of milliseconds to delay after the active period of an animation sequence.",
75
- "values": []
76
- },
77
- {
78
- "name": "fill",
79
- "description": "Sets how the animation applies styles to its target before and after its execution.",
80
- "values": [{ "name": "FillMode" }]
81
- },
82
- {
83
- "name": "iterations",
84
- "description": "The number of iterations to run before the animation completes. Defaults to `Infinity`, which loops.",
85
- "values": []
86
- },
87
- {
88
- "name": "iteration-start",
89
- "description": "The offset at which to start the animation, usually between 0 (start) and 1 (end).",
90
- "values": []
91
- },
92
- {
93
- "name": "playback-rate",
94
- "description": "Sets the animation's playback rate. The default is `1`, which plays the animation at a normal speed. Setting this\nto `2`, for example, will double the animation's speed. A negative value can be used to reverse the animation. This\nvalue can be changed without causing the animation to restart.",
95
- "values": []
96
- }
97
- ],
98
- "references": []
99
- },
100
38
  {
101
39
  "name": "flow-ui-badge",
102
40
  "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.",
@@ -136,110 +74,99 @@
136
74
  "references": []
137
75
  },
138
76
  {
139
- "name": "flow-ui-breadcrumb",
140
- "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.",
77
+ "name": "flow-ui-avatar",
78
+ "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.",
141
79
  "attributes": [
80
+ {
81
+ "name": "image",
82
+ "description": "The image source to use for the avatar.",
83
+ "values": []
84
+ },
142
85
  {
143
86
  "name": "label",
144
- "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.",
87
+ "description": "A label to use to describe the avatar to assistive devices.",
88
+ "values": []
89
+ },
90
+ {
91
+ "name": "initials",
92
+ "description": "Initials to use as a fallback when no image is available (1-2 characters max recommended).",
145
93
  "values": []
94
+ },
95
+ {
96
+ "name": "loading",
97
+ "description": "Indicates how the browser should load the image.",
98
+ "values": [{ "name": "eager" }, { "name": "lazy" }]
99
+ },
100
+ {
101
+ "name": "shape",
102
+ "description": "The shape of the avatar.",
103
+ "values": [
104
+ { "name": "circle" },
105
+ { "name": "square" },
106
+ { "name": "rounded" }
107
+ ]
146
108
  }
147
109
  ],
148
110
  "references": []
149
111
  },
150
112
  {
151
- "name": "flow-ui-base-control",
152
- "description": "Inputs collect data from the user.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-blur** - Emitted when the control loses focus.\n- **flow-ui-change** - Emitted when an alteration to the control's value is committed by the user.\n- **flow-ui-clear** - Emitted when the clear button is activated.\n- **flow-ui-focus** - Emitted when the control gains focus.\n- **flow-ui-input** - Emitted when the control receives input.\n- **flow-ui-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the input.\n- **blur()** - Removes focus from the input.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n\n### **Slots:**\n - **label** - The input's label. Alternatively, you can use the `label` attribute.\n- **prefix** - Used to prepend a presentational icon or similar element to the input.\n- **suffix** - Used to append a presentational icon or similar element to the input.\n- **clear-icon** - An icon to use in lieu of the default clear icon.\n- **show-password-icon** - An icon to use in lieu of the default show password icon.\n- **hide-password-icon** - An icon to use in lieu of the default hide password icon.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The input's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **base** - The component's base wrapper.\n- **input** - The internal `<input>` control.\n- **prefix** - The container that wraps the prefix.\n- **clear-button** - The clear button.\n- **password-toggle-button** - The password toggle button.\n- **suffix** - The container that wraps the suffix.",
113
+ "name": "flow-ui-animation",
114
+ "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.",
153
115
  "attributes": [
154
116
  {
155
- "name": "size",
156
- "description": "The input's size.",
157
- "values": [
158
- { "name": "small" },
159
- { "name": "medium" },
160
- { "name": "large" }
161
- ]
162
- },
163
- {
164
- "name": "filled",
165
- "description": "Draws a filled input.",
117
+ "name": "name",
118
+ "description": "The name of the built-in animation to use. For custom animations, use the `keyframes` prop.\nUse `getAnimationNames()` to retrieve a list of available animations.",
166
119
  "values": []
167
120
  },
168
121
  {
169
- "name": "pill",
170
- "description": "Draws a pill-style input with rounded edges.",
122
+ "name": "play",
123
+ "description": "Plays the animation. When omitted, the animation will be paused. This attribute will be automatically removed when\nthe animation finishes or gets canceled.",
171
124
  "values": []
172
125
  },
173
126
  {
174
- "name": "label",
175
- "description": "The input's label. If you need to display HTML, use the `label` slot instead.",
127
+ "name": "delay",
128
+ "description": "The number of milliseconds to delay the start of the animation.",
176
129
  "values": []
177
130
  },
178
131
  {
179
- "name": "help-text",
180
- "description": "The input's help text. If you need to display HTML, use the `help-text` slot instead.",
181
- "values": []
132
+ "name": "direction",
133
+ "description": "Determines the direction of playback as well as the behavior when reaching the end of an iteration.\n[Learn more](https://developer.mozilla.org/en-US/docs/Web/CSS/animation-direction)",
134
+ "values": [{ "name": "PlaybackDirection" }]
182
135
  },
183
136
  {
184
- "name": "disabled",
185
- "description": "Disables the input.",
137
+ "name": "duration",
138
+ "description": "The number of milliseconds each iteration of the animation takes to complete.",
186
139
  "values": []
187
140
  },
188
141
  {
189
- "name": "form",
190
- "description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
142
+ "name": "easing",
143
+ "description": "The easing function to use for the animation. This can be a Shoelace easing function or a custom easing function\nsuch as `cubic-bezier(0, 1, .76, 1.14)`.",
191
144
  "values": []
192
145
  },
193
146
  {
194
- "name": "required",
195
- "description": "Makes the input a required field.",
147
+ "name": "end-delay",
148
+ "description": "The number of milliseconds to delay after the active period of an animation sequence.",
196
149
  "values": []
197
150
  },
198
151
  {
199
- "name": "inline",
200
- "description": "Display the input in the 'inline' form control style.",
201
- "values": []
152
+ "name": "fill",
153
+ "description": "Sets how the animation applies styles to its target before and after its execution.",
154
+ "values": [{ "name": "FillMode" }]
202
155
  },
203
156
  {
204
- "name": "divider",
205
- "description": "Indicates that the control should display a divider",
206
- "values": []
207
- }
208
- ],
209
- "references": []
210
- },
211
- {
212
- "name": "flow-ui-avatar",
213
- "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.",
214
- "attributes": [
215
- {
216
- "name": "image",
217
- "description": "The image source to use for the avatar.",
157
+ "name": "iterations",
158
+ "description": "The number of iterations to run before the animation completes. Defaults to `Infinity`, which loops.",
218
159
  "values": []
219
160
  },
220
161
  {
221
- "name": "label",
222
- "description": "A label to use to describe the avatar to assistive devices.",
162
+ "name": "iteration-start",
163
+ "description": "The offset at which to start the animation, usually between 0 (start) and 1 (end).",
223
164
  "values": []
224
165
  },
225
166
  {
226
- "name": "initials",
227
- "description": "Initials to use as a fallback when no image is available (1-2 characters max recommended).",
167
+ "name": "playback-rate",
168
+ "description": "Sets the animation's playback rate. The default is `1`, which plays the animation at a normal speed. Setting this\nto `2`, for example, will double the animation's speed. A negative value can be used to reverse the animation. This\nvalue can be changed without causing the animation to restart.",
228
169
  "values": []
229
- },
230
- {
231
- "name": "loading",
232
- "description": "Indicates how the browser should load the image.",
233
- "values": [{ "name": "eager" }, { "name": "lazy" }]
234
- },
235
- {
236
- "name": "shape",
237
- "description": "The shape of the avatar.",
238
- "values": [
239
- { "name": "circle" },
240
- { "name": "square" },
241
- { "name": "rounded" }
242
- ]
243
170
  }
244
171
  ],
245
172
  "references": []
@@ -348,6 +275,67 @@
348
275
  ],
349
276
  "references": []
350
277
  },
278
+ {
279
+ "name": "flow-ui-base-control",
280
+ "description": "Inputs collect data from the user.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-blur** - Emitted when the control loses focus.\n- **flow-ui-change** - Emitted when an alteration to the control's value is committed by the user.\n- **flow-ui-clear** - Emitted when the clear button is activated.\n- **flow-ui-focus** - Emitted when the control gains focus.\n- **flow-ui-input** - Emitted when the control receives input.\n- **flow-ui-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the input.\n- **blur()** - Removes focus from the input.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n\n### **Slots:**\n - **label** - The input's label. Alternatively, you can use the `label` attribute.\n- **prefix** - Used to prepend a presentational icon or similar element to the input.\n- **suffix** - Used to append a presentational icon or similar element to the input.\n- **clear-icon** - An icon to use in lieu of the default clear icon.\n- **show-password-icon** - An icon to use in lieu of the default show password icon.\n- **hide-password-icon** - An icon to use in lieu of the default hide password icon.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The input's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **base** - The component's base wrapper.\n- **input** - The internal `<input>` control.\n- **prefix** - The container that wraps the prefix.\n- **clear-button** - The clear button.\n- **password-toggle-button** - The password toggle button.\n- **suffix** - The container that wraps the suffix.",
281
+ "attributes": [
282
+ {
283
+ "name": "size",
284
+ "description": "The input's size.",
285
+ "values": [
286
+ { "name": "small" },
287
+ { "name": "medium" },
288
+ { "name": "large" }
289
+ ]
290
+ },
291
+ {
292
+ "name": "filled",
293
+ "description": "Draws a filled input.",
294
+ "values": []
295
+ },
296
+ {
297
+ "name": "pill",
298
+ "description": "Draws a pill-style input with rounded edges.",
299
+ "values": []
300
+ },
301
+ {
302
+ "name": "label",
303
+ "description": "The input's label. If you need to display HTML, use the `label` slot instead.",
304
+ "values": []
305
+ },
306
+ {
307
+ "name": "help-text",
308
+ "description": "The input's help text. If you need to display HTML, use the `help-text` slot instead.",
309
+ "values": []
310
+ },
311
+ {
312
+ "name": "disabled",
313
+ "description": "Disables the input.",
314
+ "values": []
315
+ },
316
+ {
317
+ "name": "form",
318
+ "description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
319
+ "values": []
320
+ },
321
+ {
322
+ "name": "required",
323
+ "description": "Makes the input a required field.",
324
+ "values": []
325
+ },
326
+ {
327
+ "name": "inline",
328
+ "description": "Display the input in the 'inline' form control style.",
329
+ "values": []
330
+ },
331
+ {
332
+ "name": "divider",
333
+ "description": "Indicates that the control should display a divider",
334
+ "values": []
335
+ }
336
+ ],
337
+ "references": []
338
+ },
351
339
  {
352
340
  "name": "flow-ui-breadcrumb-item",
353
341
  "description": "Breadcrumb Items are used inside [breadcrumbs](./flow-ui-breadcrumb) to represent different links.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The breadcrumb item's label.\n- **prefix** - An optional prefix, usually an icon or icon button.\n- **suffix** - An optional suffix, usually an icon or icon button.\n- **separator** - The separator to use for the breadcrumb item. This will only change the separator for this item. If you want to change it for all items in the group, set the separator on `<flow-ui-breadcrumb>` instead.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **label** - The breadcrumb item's label.\n- **prefix** - The container that wraps the prefix.\n- **suffix** - The container that wraps the suffix.\n- **separator** - The container that wraps the separator.",
@@ -375,6 +363,18 @@
375
363
  ],
376
364
  "references": []
377
365
  },
366
+ {
367
+ "name": "flow-ui-breadcrumb",
368
+ "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.",
369
+ "attributes": [
370
+ {
371
+ "name": "label",
372
+ "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.",
373
+ "values": []
374
+ }
375
+ ],
376
+ "references": []
377
+ },
378
378
  {
379
379
  "name": "flow-ui-busy-overlay",
380
380
  "description": "Busy overlay is used to indicate that a component which displays data is being currently updated.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The component to overlay with when busy.\n- **busy-animation** - The indeterminate custom loading animation to display when busy.\n\n### **CSS Properties:**\n - **--transition-delay** - The delay after which the overlay is shown. _(default: undefined)_\n- **--transition-duration** - The duration of the overlay's fade-in/out transition. _(default: undefined)_\n- **--progress-ring-size** - The size of the default progress ring loading animation. _(default: undefined)_\n- **--progress-ring-track-width** - The width of the default progress ring's track. _(default: undefined)_\n- **--progress-ring-track-color** - The color of the default progress ring's track. _(default: undefined)_\n- **--overlay-background-color** - The background color of the overlay. _(default: undefined)_",
@@ -418,7 +418,6 @@
418
418
  "name": "variant",
419
419
  "description": "The button's theme variant.",
420
420
  "values": [
421
- { "name": "" },
422
421
  { "name": "default" },
423
422
  { "name": "primary" },
424
423
  { "name": "secondary" },
@@ -1843,7 +1842,6 @@
1843
1842
  "name": "type",
1844
1843
  "description": "The type of input. Works the same as a native `<input>` element, but only a subset of types are supported. Defaults\nto `text`.",
1845
1844
  "values": [
1846
- { "name": "" },
1847
1845
  { "name": "date" },
1848
1846
  { "name": "datetime-local" },
1849
1847
  { "name": "email" },
@@ -1989,8 +1987,8 @@
1989
1987
  },
1990
1988
  {
1991
1989
  "name": "autocorrect",
1992
- "description": "Indicates whether the browser's autocorrect feature is on or off.",
1993
- "values": [{ "name": "off" }, { "name": "on" }]
1990
+ "description": "Set to `false` to turn off the browser's autocorrect feature, or `true` to turn it on. The `autocorrect` attribute\ntakes `on` or `off`. If not set, the browser's default is used.",
1991
+ "values": []
1994
1992
  },
1995
1993
  {
1996
1994
  "name": "autocomplete",
@@ -3215,7 +3213,6 @@
3215
3213
  "name": "variant",
3216
3214
  "description": "The tag's theme variant.",
3217
3215
  "values": [
3218
- { "name": "" },
3219
3216
  { "name": "primary" },
3220
3217
  { "name": "secondary" },
3221
3218
  { "name": "success" },
@@ -3348,7 +3345,7 @@
3348
3345
  },
3349
3346
  {
3350
3347
  "name": "autocorrect",
3351
- "description": "Indicates whether the browser's autocorrect feature is on or off.",
3348
+ "description": "Set to `false` to turn off the browser's autocorrect feature, or `true` to turn it on. The `autocorrect` attribute\ntakes `on` or `off`. If not set, the browser's default is used.",
3352
3349
  "values": []
3353
3350
  },
3354
3351
  {