@emuanalytics/flow-rdf-ui 4.2.0 → 4.2.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/components/autocomplete/autocomplete.component.mjs +35 -10
- package/dist/components/range/range.component.mjs +5 -0
- package/dist/custom-elements.json +1751 -1759
- package/dist/index.d.mts +12 -0
- package/dist/index.d.ts +12 -0
- package/dist/package.json.mjs +1 -1
- package/dist/vscode.html-custom-data.json +166 -166
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -2002,9 +2002,12 @@ declare class FlowUiAutocomplete extends FlowRdfFormControl {
|
|
|
2002
2002
|
private readonly localize;
|
|
2003
2003
|
/** @internal Last time when the mousedown event was fired */
|
|
2004
2004
|
private mouseDownAt;
|
|
2005
|
+
/** @internal Emits `flow-ui-input` once typing pauses for {@link debounceDelay} */
|
|
2005
2006
|
private debouncedInput;
|
|
2006
2007
|
private pendingChangeEvent;
|
|
2007
2008
|
private pendingInputEvent;
|
|
2009
|
+
/** @internal When true, the next value change leaves the input text as the user typed it */
|
|
2010
|
+
private pendingKeepInputText;
|
|
2008
2011
|
private hasOptions;
|
|
2009
2012
|
/** @internal True while the user is typing to filter (input text has diverged from the committed value). */
|
|
2010
2013
|
private inputChanged;
|
|
@@ -2138,6 +2141,7 @@ declare class FlowUiAutocomplete extends FlowRdfFormControl {
|
|
|
2138
2141
|
*
|
|
2139
2142
|
* @param value - The value to set.
|
|
2140
2143
|
* @param emitChangeEvent - A change event will be emitted if true.
|
|
2144
|
+
* @param keepInputText - The input text is not re-synced from {@link displayWith} if true.
|
|
2141
2145
|
*/
|
|
2142
2146
|
private setValue;
|
|
2143
2147
|
/** @internal Updates the debounced input emitter if `{@link debounceDelay} is changed. */
|
|
@@ -2155,6 +2159,13 @@ declare class FlowUiAutocomplete extends FlowRdfFormControl {
|
|
|
2155
2159
|
handleClearMouseDown(event: MouseEvent): Promise<void>;
|
|
2156
2160
|
/** @internal Handle option selection when an option is clicked on */
|
|
2157
2161
|
private handleListboxClick;
|
|
2162
|
+
/**
|
|
2163
|
+
* @internal
|
|
2164
|
+
* Commits an option picked by the user and closes the control. Re-picking the already selected
|
|
2165
|
+
* option (e.g. after the input text was edited away) commits no new value, so no change event
|
|
2166
|
+
* fires; the input text is re-synced from {@link displayWith} instead.
|
|
2167
|
+
*/
|
|
2168
|
+
private commitOption;
|
|
2158
2169
|
/** @internal Handle mouse and keyboard events in the document, outside the control. */
|
|
2159
2170
|
private handleDocumentEvent;
|
|
2160
2171
|
/** @internal */
|
|
@@ -5653,6 +5664,7 @@ declare class FlowUiRange extends FlowRdfFormControl {
|
|
|
5653
5664
|
get validationMessage(): string;
|
|
5654
5665
|
connectedCallback(): void;
|
|
5655
5666
|
disconnectedCallback(): void;
|
|
5667
|
+
protected willUpdate(changedProperties: PropertyValueMap<FlowUiRange> | Map<PropertyKey, unknown>): void;
|
|
5656
5668
|
private handleRangeChange;
|
|
5657
5669
|
private handleRangeInput;
|
|
5658
5670
|
private handleNumberChange;
|
package/dist/index.d.ts
CHANGED
|
@@ -2002,9 +2002,12 @@ declare class FlowUiAutocomplete extends FlowRdfFormControl {
|
|
|
2002
2002
|
private readonly localize;
|
|
2003
2003
|
/** @internal Last time when the mousedown event was fired */
|
|
2004
2004
|
private mouseDownAt;
|
|
2005
|
+
/** @internal Emits `flow-ui-input` once typing pauses for {@link debounceDelay} */
|
|
2005
2006
|
private debouncedInput;
|
|
2006
2007
|
private pendingChangeEvent;
|
|
2007
2008
|
private pendingInputEvent;
|
|
2009
|
+
/** @internal When true, the next value change leaves the input text as the user typed it */
|
|
2010
|
+
private pendingKeepInputText;
|
|
2008
2011
|
private hasOptions;
|
|
2009
2012
|
/** @internal True while the user is typing to filter (input text has diverged from the committed value). */
|
|
2010
2013
|
private inputChanged;
|
|
@@ -2138,6 +2141,7 @@ declare class FlowUiAutocomplete extends FlowRdfFormControl {
|
|
|
2138
2141
|
*
|
|
2139
2142
|
* @param value - The value to set.
|
|
2140
2143
|
* @param emitChangeEvent - A change event will be emitted if true.
|
|
2144
|
+
* @param keepInputText - The input text is not re-synced from {@link displayWith} if true.
|
|
2141
2145
|
*/
|
|
2142
2146
|
private setValue;
|
|
2143
2147
|
/** @internal Updates the debounced input emitter if `{@link debounceDelay} is changed. */
|
|
@@ -2155,6 +2159,13 @@ declare class FlowUiAutocomplete extends FlowRdfFormControl {
|
|
|
2155
2159
|
handleClearMouseDown(event: MouseEvent): Promise<void>;
|
|
2156
2160
|
/** @internal Handle option selection when an option is clicked on */
|
|
2157
2161
|
private handleListboxClick;
|
|
2162
|
+
/**
|
|
2163
|
+
* @internal
|
|
2164
|
+
* Commits an option picked by the user and closes the control. Re-picking the already selected
|
|
2165
|
+
* option (e.g. after the input text was edited away) commits no new value, so no change event
|
|
2166
|
+
* fires; the input text is re-synced from {@link displayWith} instead.
|
|
2167
|
+
*/
|
|
2168
|
+
private commitOption;
|
|
2158
2169
|
/** @internal Handle mouse and keyboard events in the document, outside the control. */
|
|
2159
2170
|
private handleDocumentEvent;
|
|
2160
2171
|
/** @internal */
|
|
@@ -5653,6 +5664,7 @@ declare class FlowUiRange extends FlowRdfFormControl {
|
|
|
5653
5664
|
get validationMessage(): string;
|
|
5654
5665
|
connectedCallback(): void;
|
|
5655
5666
|
disconnectedCallback(): void;
|
|
5667
|
+
protected willUpdate(changedProperties: PropertyValueMap<FlowUiRange> | Map<PropertyKey, unknown>): void;
|
|
5656
5668
|
private handleRangeChange;
|
|
5657
5669
|
private handleRangeInput;
|
|
5658
5670
|
private handleNumberChange;
|
package/dist/package.json.mjs
CHANGED
|
@@ -135,6 +135,42 @@
|
|
|
135
135
|
],
|
|
136
136
|
"references": []
|
|
137
137
|
},
|
|
138
|
+
{
|
|
139
|
+
"name": "flow-ui-avatar",
|
|
140
|
+
"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
|
+
"attributes": [
|
|
142
|
+
{
|
|
143
|
+
"name": "image",
|
|
144
|
+
"description": "The image source to use for the avatar.",
|
|
145
|
+
"values": []
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"name": "label",
|
|
149
|
+
"description": "A label to use to describe the avatar to assistive devices.",
|
|
150
|
+
"values": []
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"name": "initials",
|
|
154
|
+
"description": "Initials to use as a fallback when no image is available (1-2 characters max recommended).",
|
|
155
|
+
"values": []
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"name": "loading",
|
|
159
|
+
"description": "Indicates how the browser should load the image.",
|
|
160
|
+
"values": [{ "name": "eager" }, { "name": "lazy" }]
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"name": "shape",
|
|
164
|
+
"description": "The shape of the avatar.",
|
|
165
|
+
"values": [
|
|
166
|
+
{ "name": "circle" },
|
|
167
|
+
{ "name": "square" },
|
|
168
|
+
{ "name": "rounded" }
|
|
169
|
+
]
|
|
170
|
+
}
|
|
171
|
+
],
|
|
172
|
+
"references": []
|
|
173
|
+
},
|
|
138
174
|
{
|
|
139
175
|
"name": "flow-ui-base-control",
|
|
140
176
|
"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.",
|
|
@@ -196,54 +232,6 @@
|
|
|
196
232
|
],
|
|
197
233
|
"references": []
|
|
198
234
|
},
|
|
199
|
-
{
|
|
200
|
-
"name": "flow-ui-breadcrumb",
|
|
201
|
-
"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.",
|
|
202
|
-
"attributes": [
|
|
203
|
-
{
|
|
204
|
-
"name": "label",
|
|
205
|
-
"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.",
|
|
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.",
|
|
218
|
-
"values": []
|
|
219
|
-
},
|
|
220
|
-
{
|
|
221
|
-
"name": "label",
|
|
222
|
-
"description": "A label to use to describe the avatar to assistive devices.",
|
|
223
|
-
"values": []
|
|
224
|
-
},
|
|
225
|
-
{
|
|
226
|
-
"name": "initials",
|
|
227
|
-
"description": "Initials to use as a fallback when no image is available (1-2 characters max recommended).",
|
|
228
|
-
"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
|
-
}
|
|
244
|
-
],
|
|
245
|
-
"references": []
|
|
246
|
-
},
|
|
247
235
|
{
|
|
248
236
|
"name": "flow-ui-autocomplete",
|
|
249
237
|
"description": "The Autocomplete is a Text input enhanced by a panel of suggested options.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-input** - Emitted when the display value changes.\n- **flow-ui-change** - Emitted when the input value changes.\n- **flow-ui-focus** - Emitted when the input is focused.\n- **flow-ui-blur** - Emitted when the input is blurred.\n- **flow-ui-show** - Emitted when the dropdown is shown.\n- **flow-ui-after-show** - Emitted when the dropdown is shown.\n- **flow-ui-hide** - Emitted when the dropdown is hidden.\n- **flow-ui-after-hide** - Emitted when the dropdown is hidden.\n- **flow-ui-invalid** - Emitted when the input is invalid.\n- **flow-ui-valid** - Emitted when the input is valid.\n- **flow-ui-validate** - Emitted when the input is validated.\n- **flow-ui-validate-complete** - Emitted when the input is validated and the validity state is updated.\n- **flow-ui-validate-error** - Emitted when the input is validated and an error occurs.\n- **flow-ui-validate-success** - Emitted when the input is validated and no errors occur.\n\n### **Methods:**\n - **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **checkValidity(): _boolean_** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **reportValidity(): _boolean_** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(_: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n- **focus()** - Focuses on the control\n- **blur()** - Blurs from the control.\n- **show()** - Shows the listbox.\n- **hide()** - Hides the listbox.\n- **getInputText()** - Gets the current value of the text input\n\n### **Slots:**\n - _default_ - The listbox options. Must be `<flow-option>` elements. You can use `<flow-divider>` to group items visually.\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 combobox.\n- **suffix** - Used to append a presentational icon or similar element to the combobox.\n- **clear-icon** - An icon to use in lieu of the default clear 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 select's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **combobox** - The container the wraps the prefix, suffix, combobox, clear icon, and expand button.\n- **prefix** - The container that wraps the prefix slot.\n- **suffix** - The container that wraps the suffix slot.\n- **display-input** - The element that displays the selected option's label, an `<input>` element.\n- **listbox** - The listbox container where options are slotted.\n- **clear-button** - The clear button.",
|
|
@@ -348,6 +336,18 @@
|
|
|
348
336
|
],
|
|
349
337
|
"references": []
|
|
350
338
|
},
|
|
339
|
+
{
|
|
340
|
+
"name": "flow-ui-breadcrumb",
|
|
341
|
+
"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.",
|
|
342
|
+
"attributes": [
|
|
343
|
+
{
|
|
344
|
+
"name": "label",
|
|
345
|
+
"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.",
|
|
346
|
+
"values": []
|
|
347
|
+
}
|
|
348
|
+
],
|
|
349
|
+
"references": []
|
|
350
|
+
},
|
|
351
351
|
{
|
|
352
352
|
"name": "flow-ui-breadcrumb-item",
|
|
353
353
|
"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.",
|
|
@@ -2066,83 +2066,6 @@
|
|
|
2066
2066
|
],
|
|
2067
2067
|
"references": []
|
|
2068
2068
|
},
|
|
2069
|
-
{
|
|
2070
|
-
"name": "flow-ui-progress-bar",
|
|
2071
|
-
"description": "Progress bars are used to show the status of an ongoing operation.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - A label to show inside the progress indicator.\n\n### **CSS Properties:**\n - **--track-height** - The progress bar's thickness (same as the indicator's thickness). _(default: undefined)_\n- **--track-color** - The color of the track. _(default: undefined)_\n- **--indicator-color** - The color of the indicator. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **indicator** - The progress bar's indicator.\n- **label** - The progress bar's label.",
|
|
2072
|
-
"attributes": [
|
|
2073
|
-
{
|
|
2074
|
-
"name": "label",
|
|
2075
|
-
"description": "A custom label for assistive devices.",
|
|
2076
|
-
"values": []
|
|
2077
|
-
},
|
|
2078
|
-
{
|
|
2079
|
-
"name": "value",
|
|
2080
|
-
"description": "The current progress as a percentage, 0 to 100.",
|
|
2081
|
-
"values": []
|
|
2082
|
-
},
|
|
2083
|
-
{
|
|
2084
|
-
"name": "indeterminate",
|
|
2085
|
-
"description": "When true, percentage is ignored, the label is hidden, and the progress bar is drawn in an indeterminate state.",
|
|
2086
|
-
"values": []
|
|
2087
|
-
},
|
|
2088
|
-
{
|
|
2089
|
-
"name": "variant",
|
|
2090
|
-
"description": "The progress bar's theme variant",
|
|
2091
|
-
"values": [
|
|
2092
|
-
{ "name": "primary" },
|
|
2093
|
-
{ "name": "secondary" },
|
|
2094
|
-
{ "name": "success" },
|
|
2095
|
-
{ "name": "neutral" },
|
|
2096
|
-
{ "name": "warning" },
|
|
2097
|
-
{ "name": "danger" }
|
|
2098
|
-
]
|
|
2099
|
-
}
|
|
2100
|
-
],
|
|
2101
|
-
"references": []
|
|
2102
|
-
},
|
|
2103
|
-
{
|
|
2104
|
-
"name": "flow-ui-progress-ring",
|
|
2105
|
-
"description": "Progress rings are used to show the progress of a determinate operation in a circular fashion.\n\n\n---\n\n\n\n\n### **Slots:**\n - **label** - A label to show inside the ring.\n\n### **CSS Properties:**\n - **--size** - The diameter of the progress ring (cannot be a percentage). _(default: undefined)_\n- **--track-width** - The width of the track. _(default: undefined)_\n- **--track-color** - The color of the track. _(default: undefined)_\n- **--indicator-width** - The width of the indicator. Defaults to the track width. _(default: undefined)_\n- **--indicator-color** - The color of the indicator. _(default: undefined)_\n- **--indicator-transition-duration** - The duration of the indicator's transition when the value changes. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **label** - The progress ring label.",
|
|
2106
|
-
"attributes": [
|
|
2107
|
-
{
|
|
2108
|
-
"name": "label",
|
|
2109
|
-
"description": "A custom label for assistive devices.",
|
|
2110
|
-
"values": []
|
|
2111
|
-
},
|
|
2112
|
-
{
|
|
2113
|
-
"name": "value",
|
|
2114
|
-
"description": "The current progress as a percentage, 0 to 100.",
|
|
2115
|
-
"values": []
|
|
2116
|
-
},
|
|
2117
|
-
{
|
|
2118
|
-
"name": "indeterminate",
|
|
2119
|
-
"description": "If the progress animation is indeterminate",
|
|
2120
|
-
"values": []
|
|
2121
|
-
},
|
|
2122
|
-
{
|
|
2123
|
-
"name": "variant",
|
|
2124
|
-
"description": "The progress ring's theme variant",
|
|
2125
|
-
"values": [
|
|
2126
|
-
{ "name": "primary" },
|
|
2127
|
-
{ "name": "secondary" },
|
|
2128
|
-
{ "name": "success" },
|
|
2129
|
-
{ "name": "neutral" },
|
|
2130
|
-
{ "name": "warning" },
|
|
2131
|
-
{ "name": "danger" }
|
|
2132
|
-
]
|
|
2133
|
-
},
|
|
2134
|
-
{
|
|
2135
|
-
"name": "size",
|
|
2136
|
-
"description": "The progress ring's size",
|
|
2137
|
-
"values": [
|
|
2138
|
-
{ "name": "small" },
|
|
2139
|
-
{ "name": "medium" },
|
|
2140
|
-
{ "name": "large" }
|
|
2141
|
-
]
|
|
2142
|
-
}
|
|
2143
|
-
],
|
|
2144
|
-
"references": []
|
|
2145
|
-
},
|
|
2146
2069
|
{
|
|
2147
2070
|
"name": "flow-ui-popup",
|
|
2148
2071
|
"description": "Popup is a utility that lets you declaratively anchor \"popup\" containers to another element.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-reposition** - Emitted when the popup is repositioned. This event can fire a lot, so avoid putting expensive operations in your listener or consider debouncing it.\n\n### **Methods:**\n - **reposition()** - Forces the popup to recalculate and reposition itself.\n\n### **Slots:**\n - _default_ - The popup's content.\n- **anchor** - The element the popup will be anchored to. If the anchor lives outside of the popup, you can use the `anchor` attribute or property instead.\n\n### **CSS Properties:**\n - **--arrow-size** - The size of the arrow. Note that an arrow won't be shown unless the `arrow` attribute is used. _(default: 6px)_\n- **--arrow-color** - The color of the arrow. _(default: undefined)_\n- **--auto-size-available-width** - A read-only custom property that determines the amount of width the popup can be before overflowing. Useful for positioning child elements that need to overflow. This property is only available when using `auto-size`. _(default: undefined)_\n- **--auto-size-available-height** - A read-only custom property that determines the amount of height the popup can be before overflowing. Useful for positioning child elements that need to overflow. This property is only available when using `auto-size`. _(default: undefined)_\n\n### **CSS Parts:**\n - **arrow** - The arrow's container. Avoid setting `top|bottom|left|right` properties, as these values are assigned dynamically as the popup moves. This is most useful for applying a background color to match the popup, and maybe a border or box shadow.\n- **popup** - The popup's container. Useful for setting a background color, box shadow, etc.\n- **hover-bridge** - The hover bridge element. Only available when the `hover-bridge` option is enabled.",
|
|
@@ -2287,6 +2210,124 @@
|
|
|
2287
2210
|
],
|
|
2288
2211
|
"references": []
|
|
2289
2212
|
},
|
|
2213
|
+
{
|
|
2214
|
+
"name": "flow-ui-progress-bar",
|
|
2215
|
+
"description": "Progress bars are used to show the status of an ongoing operation.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - A label to show inside the progress indicator.\n\n### **CSS Properties:**\n - **--track-height** - The progress bar's thickness (same as the indicator's thickness). _(default: undefined)_\n- **--track-color** - The color of the track. _(default: undefined)_\n- **--indicator-color** - The color of the indicator. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **indicator** - The progress bar's indicator.\n- **label** - The progress bar's label.",
|
|
2216
|
+
"attributes": [
|
|
2217
|
+
{
|
|
2218
|
+
"name": "label",
|
|
2219
|
+
"description": "A custom label for assistive devices.",
|
|
2220
|
+
"values": []
|
|
2221
|
+
},
|
|
2222
|
+
{
|
|
2223
|
+
"name": "value",
|
|
2224
|
+
"description": "The current progress as a percentage, 0 to 100.",
|
|
2225
|
+
"values": []
|
|
2226
|
+
},
|
|
2227
|
+
{
|
|
2228
|
+
"name": "indeterminate",
|
|
2229
|
+
"description": "When true, percentage is ignored, the label is hidden, and the progress bar is drawn in an indeterminate state.",
|
|
2230
|
+
"values": []
|
|
2231
|
+
},
|
|
2232
|
+
{
|
|
2233
|
+
"name": "variant",
|
|
2234
|
+
"description": "The progress bar's theme variant",
|
|
2235
|
+
"values": [
|
|
2236
|
+
{ "name": "primary" },
|
|
2237
|
+
{ "name": "secondary" },
|
|
2238
|
+
{ "name": "success" },
|
|
2239
|
+
{ "name": "neutral" },
|
|
2240
|
+
{ "name": "warning" },
|
|
2241
|
+
{ "name": "danger" }
|
|
2242
|
+
]
|
|
2243
|
+
}
|
|
2244
|
+
],
|
|
2245
|
+
"references": []
|
|
2246
|
+
},
|
|
2247
|
+
{
|
|
2248
|
+
"name": "flow-ui-progress-ring",
|
|
2249
|
+
"description": "Progress rings are used to show the progress of a determinate operation in a circular fashion.\n\n\n---\n\n\n\n\n### **Slots:**\n - **label** - A label to show inside the ring.\n\n### **CSS Properties:**\n - **--size** - The diameter of the progress ring (cannot be a percentage). _(default: undefined)_\n- **--track-width** - The width of the track. _(default: undefined)_\n- **--track-color** - The color of the track. _(default: undefined)_\n- **--indicator-width** - The width of the indicator. Defaults to the track width. _(default: undefined)_\n- **--indicator-color** - The color of the indicator. _(default: undefined)_\n- **--indicator-transition-duration** - The duration of the indicator's transition when the value changes. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **label** - The progress ring label.",
|
|
2250
|
+
"attributes": [
|
|
2251
|
+
{
|
|
2252
|
+
"name": "label",
|
|
2253
|
+
"description": "A custom label for assistive devices.",
|
|
2254
|
+
"values": []
|
|
2255
|
+
},
|
|
2256
|
+
{
|
|
2257
|
+
"name": "value",
|
|
2258
|
+
"description": "The current progress as a percentage, 0 to 100.",
|
|
2259
|
+
"values": []
|
|
2260
|
+
},
|
|
2261
|
+
{
|
|
2262
|
+
"name": "indeterminate",
|
|
2263
|
+
"description": "If the progress animation is indeterminate",
|
|
2264
|
+
"values": []
|
|
2265
|
+
},
|
|
2266
|
+
{
|
|
2267
|
+
"name": "variant",
|
|
2268
|
+
"description": "The progress ring's theme variant",
|
|
2269
|
+
"values": [
|
|
2270
|
+
{ "name": "primary" },
|
|
2271
|
+
{ "name": "secondary" },
|
|
2272
|
+
{ "name": "success" },
|
|
2273
|
+
{ "name": "neutral" },
|
|
2274
|
+
{ "name": "warning" },
|
|
2275
|
+
{ "name": "danger" }
|
|
2276
|
+
]
|
|
2277
|
+
},
|
|
2278
|
+
{
|
|
2279
|
+
"name": "size",
|
|
2280
|
+
"description": "The progress ring's size",
|
|
2281
|
+
"values": [
|
|
2282
|
+
{ "name": "small" },
|
|
2283
|
+
{ "name": "medium" },
|
|
2284
|
+
{ "name": "large" }
|
|
2285
|
+
]
|
|
2286
|
+
}
|
|
2287
|
+
],
|
|
2288
|
+
"references": []
|
|
2289
|
+
},
|
|
2290
|
+
{
|
|
2291
|
+
"name": "flow-ui-query-builder",
|
|
2292
|
+
"description": "Query builder component\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-input** - Emitted when the control's value changes.\n- **flow-ui-change** - Emitted when the control's value changes.\n- **flow-ui-select** - Emitted when a custom menu item is selected.\n- **flow-ui-remove** - Emitted when the user attempts to remove a rule or ruleset. Calling `event.preventDefault()` will cancel the removal.\n- **flow-ui-clear** - Emitted when the user clears all rules from the tool menu.\n- **flow-ui-apply** - Emitted when the user presses 'Enter' twice in the same value input control.\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.",
|
|
2293
|
+
"attributes": [
|
|
2294
|
+
{
|
|
2295
|
+
"name": "size",
|
|
2296
|
+
"description": "The query builder's size.",
|
|
2297
|
+
"values": [
|
|
2298
|
+
{ "name": "small" },
|
|
2299
|
+
{ "name": "medium" },
|
|
2300
|
+
{ "name": "large" }
|
|
2301
|
+
]
|
|
2302
|
+
},
|
|
2303
|
+
{
|
|
2304
|
+
"name": "disabled",
|
|
2305
|
+
"description": "Disables the select control.",
|
|
2306
|
+
"values": []
|
|
2307
|
+
},
|
|
2308
|
+
{
|
|
2309
|
+
"name": "label",
|
|
2310
|
+
"description": "The query builders's label. If you need to display HTML, use the `label` slot instead.",
|
|
2311
|
+
"values": []
|
|
2312
|
+
},
|
|
2313
|
+
{
|
|
2314
|
+
"name": "help-text",
|
|
2315
|
+
"description": "The query builders's help text. If you need to display HTML, use the `help-text` slot instead.",
|
|
2316
|
+
"values": []
|
|
2317
|
+
},
|
|
2318
|
+
{
|
|
2319
|
+
"name": "tree-lines",
|
|
2320
|
+
"description": "Display tree connector lines between query rules",
|
|
2321
|
+
"values": []
|
|
2322
|
+
},
|
|
2323
|
+
{
|
|
2324
|
+
"name": "borders",
|
|
2325
|
+
"description": "Display control borders",
|
|
2326
|
+
"values": []
|
|
2327
|
+
}
|
|
2328
|
+
],
|
|
2329
|
+
"references": []
|
|
2330
|
+
},
|
|
2290
2331
|
{
|
|
2291
2332
|
"name": "flow-ui-radio",
|
|
2292
2333
|
"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.",
|
|
@@ -2381,47 +2422,6 @@
|
|
|
2381
2422
|
],
|
|
2382
2423
|
"references": []
|
|
2383
2424
|
},
|
|
2384
|
-
{
|
|
2385
|
-
"name": "flow-ui-query-builder",
|
|
2386
|
-
"description": "Query builder component\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-input** - Emitted when the control's value changes.\n- **flow-ui-change** - Emitted when the control's value changes.\n- **flow-ui-select** - Emitted when a custom menu item is selected.\n- **flow-ui-remove** - Emitted when the user attempts to remove a rule or ruleset. Calling `event.preventDefault()` will cancel the removal.\n- **flow-ui-clear** - Emitted when the user clears all rules from the tool menu.\n- **flow-ui-apply** - Emitted when the user presses 'Enter' twice in the same value input control.\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.",
|
|
2387
|
-
"attributes": [
|
|
2388
|
-
{
|
|
2389
|
-
"name": "size",
|
|
2390
|
-
"description": "The query builder's size.",
|
|
2391
|
-
"values": [
|
|
2392
|
-
{ "name": "small" },
|
|
2393
|
-
{ "name": "medium" },
|
|
2394
|
-
{ "name": "large" }
|
|
2395
|
-
]
|
|
2396
|
-
},
|
|
2397
|
-
{
|
|
2398
|
-
"name": "disabled",
|
|
2399
|
-
"description": "Disables the select control.",
|
|
2400
|
-
"values": []
|
|
2401
|
-
},
|
|
2402
|
-
{
|
|
2403
|
-
"name": "label",
|
|
2404
|
-
"description": "The query builders's label. If you need to display HTML, use the `label` slot instead.",
|
|
2405
|
-
"values": []
|
|
2406
|
-
},
|
|
2407
|
-
{
|
|
2408
|
-
"name": "help-text",
|
|
2409
|
-
"description": "The query builders's help text. If you need to display HTML, use the `help-text` slot instead.",
|
|
2410
|
-
"values": []
|
|
2411
|
-
},
|
|
2412
|
-
{
|
|
2413
|
-
"name": "tree-lines",
|
|
2414
|
-
"description": "Display tree connector lines between query rules",
|
|
2415
|
-
"values": []
|
|
2416
|
-
},
|
|
2417
|
-
{
|
|
2418
|
-
"name": "borders",
|
|
2419
|
-
"description": "Display control borders",
|
|
2420
|
-
"values": []
|
|
2421
|
-
}
|
|
2422
|
-
],
|
|
2423
|
-
"references": []
|
|
2424
|
-
},
|
|
2425
2425
|
{
|
|
2426
2426
|
"name": "flow-ui-range",
|
|
2427
2427
|
"description": "Ranges allow the user to select a single value within a given range using a slider.\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 range.\n- **blur()** - Removes focus from the range.\n- **stepUp()** - Increments the value of the range by the value of the step attribute.\n- **stepDown()** - Decrements the value of the range by the value of the step attribute.\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 range'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 Properties:**\n - **--thumb-size** - The size of the thumb. _(default: undefined)_\n- **--track-color-active** - The color of the portion of the track that represents the current value. _(default: undefined)_\n- **--track-color-inactive** - The of the portion of the track that represents the remaining value. _(default: undefined)_\n- **--track-height** - The height of the track. _(default: undefined)_\n- **--track-active-offset** - The point of origin of the active track. _(default: undefined)_\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 range's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **base** - The component's base wrapper.\n- **number-input** - The range's number input control.",
|