@emuanalytics/flow-rdf-ui 0.0.16 → 0.0.17
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/custom-elements.json +2598 -2589
- package/dist/flow-rdf-ui.d.ts +1 -0
- package/dist/flow-rdf-ui.js +22 -4
- package/dist/flow-rdf-ui.umd.cjs +22 -4
- package/dist/vscode.html-custom-data.json +98 -98
- package/package.json +1 -1
package/dist/flow-rdf-ui.d.ts
CHANGED
|
@@ -2549,6 +2549,7 @@ export declare class FlowSelect extends FlowRdfElement implements FlowRdfFormCon
|
|
|
2549
2549
|
private readonly localize;
|
|
2550
2550
|
private typeToSelectString;
|
|
2551
2551
|
private typeToSelectTimeout;
|
|
2552
|
+
private pendingValue;
|
|
2552
2553
|
popup: FlowPopup;
|
|
2553
2554
|
combobox: HTMLSlotElement;
|
|
2554
2555
|
displayInput: HTMLInputElement;
|
package/dist/flow-rdf-ui.js
CHANGED
|
@@ -13194,7 +13194,13 @@ let FlowOption = class extends FlowRdfElement {
|
|
|
13194
13194
|
@mouseenter=${this.handleMouseEnter}
|
|
13195
13195
|
@mouseleave=${this.handleMouseLeave}
|
|
13196
13196
|
>
|
|
13197
|
-
<flow-ui-icon
|
|
13197
|
+
<flow-ui-icon
|
|
13198
|
+
part="checked-icon"
|
|
13199
|
+
class="option__check"
|
|
13200
|
+
name="check"
|
|
13201
|
+
library="system"
|
|
13202
|
+
aria-hidden="true"
|
|
13203
|
+
></flow-ui-icon>
|
|
13198
13204
|
<slot part="prefix" name="prefix" class="option__prefix"></slot>
|
|
13199
13205
|
<slot part="label" class="option__label" @slotchange=${this.handleDefaultSlotChange}></slot>
|
|
13200
13206
|
<slot part="suffix" name="suffix" class="option__suffix"></slot>
|
|
@@ -18835,6 +18841,7 @@ let FlowSelect = class extends FlowRdfElement {
|
|
|
18835
18841
|
this.hasSlotController = new HasSlotController(this, "help-text", "label");
|
|
18836
18842
|
this.localize = new LocalizeController2(this);
|
|
18837
18843
|
this.typeToSelectString = "";
|
|
18844
|
+
this.pendingValue = null;
|
|
18838
18845
|
this.hasFocus = false;
|
|
18839
18846
|
this.displayLabel = "";
|
|
18840
18847
|
this.selectedOptions = [];
|
|
@@ -19053,7 +19060,13 @@ let FlowSelect = class extends FlowRdfElement {
|
|
|
19053
19060
|
}
|
|
19054
19061
|
handleDefaultSlotChange() {
|
|
19055
19062
|
const allOptions = this.getAllOptions();
|
|
19056
|
-
|
|
19063
|
+
let value;
|
|
19064
|
+
if (allOptions.length && this.pendingValue) {
|
|
19065
|
+
value = this.pendingValue;
|
|
19066
|
+
this.pendingValue = null;
|
|
19067
|
+
} else {
|
|
19068
|
+
value = Array.isArray(this.value) ? this.value : [this.value];
|
|
19069
|
+
}
|
|
19057
19070
|
const values = [];
|
|
19058
19071
|
if (customElements.get("flow-ui-option")) {
|
|
19059
19072
|
allOptions.forEach((option) => values.push(option.value));
|
|
@@ -19147,6 +19160,9 @@ let FlowSelect = class extends FlowRdfElement {
|
|
|
19147
19160
|
handleValueChange() {
|
|
19148
19161
|
const allOptions = this.getAllOptions();
|
|
19149
19162
|
const value = Array.isArray(this.value) ? this.value : [this.value];
|
|
19163
|
+
if (allOptions.length === 0) {
|
|
19164
|
+
this.pendingValue = value;
|
|
19165
|
+
}
|
|
19150
19166
|
this.setSelectedOptions(allOptions.filter((el) => value.includes(el.value)));
|
|
19151
19167
|
}
|
|
19152
19168
|
async handleOpenChange() {
|
|
@@ -19329,7 +19345,9 @@ let FlowSelect = class extends FlowRdfElement {
|
|
|
19329
19345
|
</flow-ui-tag>
|
|
19330
19346
|
`;
|
|
19331
19347
|
} else if (index === this.maxOptionsVisible) {
|
|
19332
|
-
return x$2`
|
|
19348
|
+
return x$2`
|
|
19349
|
+
<flow-ui-tag size=${this.size}>+${this.selectedOptions.length - index}</flow-ui-tag>
|
|
19350
|
+
`;
|
|
19333
19351
|
} else {
|
|
19334
19352
|
return null;
|
|
19335
19353
|
}
|
|
@@ -26596,7 +26614,7 @@ const translation = {
|
|
|
26596
26614
|
toggleColorFormat: "Toggle color format"
|
|
26597
26615
|
};
|
|
26598
26616
|
registerTranslation(translation);
|
|
26599
|
-
const version = "0.0.
|
|
26617
|
+
const version = "0.0.17";
|
|
26600
26618
|
const CONSOLE_HIGHLIGHT_STYLE = `
|
|
26601
26619
|
padding: 2px 4px;
|
|
26602
26620
|
border-radius: 2px;
|
package/dist/flow-rdf-ui.umd.cjs
CHANGED
|
@@ -13198,7 +13198,13 @@
|
|
|
13198
13198
|
@mouseenter=${this.handleMouseEnter}
|
|
13199
13199
|
@mouseleave=${this.handleMouseLeave}
|
|
13200
13200
|
>
|
|
13201
|
-
<flow-ui-icon
|
|
13201
|
+
<flow-ui-icon
|
|
13202
|
+
part="checked-icon"
|
|
13203
|
+
class="option__check"
|
|
13204
|
+
name="check"
|
|
13205
|
+
library="system"
|
|
13206
|
+
aria-hidden="true"
|
|
13207
|
+
></flow-ui-icon>
|
|
13202
13208
|
<slot part="prefix" name="prefix" class="option__prefix"></slot>
|
|
13203
13209
|
<slot part="label" class="option__label" @slotchange=${this.handleDefaultSlotChange}></slot>
|
|
13204
13210
|
<slot part="suffix" name="suffix" class="option__suffix"></slot>
|
|
@@ -18839,6 +18845,7 @@ body > .os-scrollbar {
|
|
|
18839
18845
|
this.hasSlotController = new HasSlotController(this, "help-text", "label");
|
|
18840
18846
|
this.localize = new LocalizeController(this);
|
|
18841
18847
|
this.typeToSelectString = "";
|
|
18848
|
+
this.pendingValue = null;
|
|
18842
18849
|
this.hasFocus = false;
|
|
18843
18850
|
this.displayLabel = "";
|
|
18844
18851
|
this.selectedOptions = [];
|
|
@@ -19057,7 +19064,13 @@ body > .os-scrollbar {
|
|
|
19057
19064
|
}
|
|
19058
19065
|
handleDefaultSlotChange() {
|
|
19059
19066
|
const allOptions = this.getAllOptions();
|
|
19060
|
-
|
|
19067
|
+
let value;
|
|
19068
|
+
if (allOptions.length && this.pendingValue) {
|
|
19069
|
+
value = this.pendingValue;
|
|
19070
|
+
this.pendingValue = null;
|
|
19071
|
+
} else {
|
|
19072
|
+
value = Array.isArray(this.value) ? this.value : [this.value];
|
|
19073
|
+
}
|
|
19061
19074
|
const values = [];
|
|
19062
19075
|
if (customElements.get("flow-ui-option")) {
|
|
19063
19076
|
allOptions.forEach((option) => values.push(option.value));
|
|
@@ -19151,6 +19164,9 @@ body > .os-scrollbar {
|
|
|
19151
19164
|
handleValueChange() {
|
|
19152
19165
|
const allOptions = this.getAllOptions();
|
|
19153
19166
|
const value = Array.isArray(this.value) ? this.value : [this.value];
|
|
19167
|
+
if (allOptions.length === 0) {
|
|
19168
|
+
this.pendingValue = value;
|
|
19169
|
+
}
|
|
19154
19170
|
this.setSelectedOptions(allOptions.filter((el) => value.includes(el.value)));
|
|
19155
19171
|
}
|
|
19156
19172
|
async handleOpenChange() {
|
|
@@ -19333,7 +19349,9 @@ body > .os-scrollbar {
|
|
|
19333
19349
|
</flow-ui-tag>
|
|
19334
19350
|
`;
|
|
19335
19351
|
} else if (index === this.maxOptionsVisible) {
|
|
19336
|
-
return x$2`
|
|
19352
|
+
return x$2`
|
|
19353
|
+
<flow-ui-tag size=${this.size}>+${this.selectedOptions.length - index}</flow-ui-tag>
|
|
19354
|
+
`;
|
|
19337
19355
|
} else {
|
|
19338
19356
|
return null;
|
|
19339
19357
|
}
|
|
@@ -26600,7 +26618,7 @@ body > .os-scrollbar {
|
|
|
26600
26618
|
toggleColorFormat: "Toggle color format"
|
|
26601
26619
|
};
|
|
26602
26620
|
registerTranslation(translation);
|
|
26603
|
-
const version = "0.0.
|
|
26621
|
+
const version = "0.0.17";
|
|
26604
26622
|
const CONSOLE_HIGHLIGHT_STYLE = `
|
|
26605
26623
|
padding: 2px 4px;
|
|
26606
26624
|
border-radius: 2px;
|
|
@@ -34,42 +34,6 @@
|
|
|
34
34
|
],
|
|
35
35
|
"references": []
|
|
36
36
|
},
|
|
37
|
-
{
|
|
38
|
-
"name": "flow-ui-avatar",
|
|
39
|
-
"description": "Avatars are used to represent a person or object.\n\n\n---\n\n\n\n\n### **Slots:**\n - **icon** - The default icon to use when no image or initials are present. Works best with `<flow-ui-icon>`.\n\n### **CSS Properties:**\n - **--size** - The size of the avatar. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **icon** - The container that wraps the avatar's icon.\n- **initials** - The container that wraps the avatar's initials.\n- **image** - The avatar image. Only shown when the `image` attribute is set.",
|
|
40
|
-
"attributes": [
|
|
41
|
-
{
|
|
42
|
-
"name": "image",
|
|
43
|
-
"description": "The image source to use for the avatar.",
|
|
44
|
-
"values": []
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
"name": "label",
|
|
48
|
-
"description": "A label to use to describe the avatar to assistive devices.",
|
|
49
|
-
"values": []
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
"name": "initials",
|
|
53
|
-
"description": "Initials to use as a fallback when no image is available (1-2 characters max recommended).",
|
|
54
|
-
"values": []
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
"name": "loading",
|
|
58
|
-
"description": "Indicates how the browser should load the image.",
|
|
59
|
-
"values": [{ "name": "eager" }, { "name": "lazy" }]
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
"name": "shape",
|
|
63
|
-
"description": "The shape of the avatar.",
|
|
64
|
-
"values": [
|
|
65
|
-
{ "name": "circle" },
|
|
66
|
-
{ "name": "square" },
|
|
67
|
-
{ "name": "rounded" }
|
|
68
|
-
]
|
|
69
|
-
}
|
|
70
|
-
],
|
|
71
|
-
"references": []
|
|
72
|
-
},
|
|
73
37
|
{
|
|
74
38
|
"name": "flow-ui-animation",
|
|
75
39
|
"description": "Animate elements declaratively with nearly 100 baked-in presets, or roll your own with custom keyframes. 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.",
|
|
@@ -132,6 +96,54 @@
|
|
|
132
96
|
],
|
|
133
97
|
"references": []
|
|
134
98
|
},
|
|
99
|
+
{
|
|
100
|
+
"name": "flow-ui-avatar",
|
|
101
|
+
"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.",
|
|
102
|
+
"attributes": [
|
|
103
|
+
{
|
|
104
|
+
"name": "image",
|
|
105
|
+
"description": "The image source to use for the avatar.",
|
|
106
|
+
"values": []
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"name": "label",
|
|
110
|
+
"description": "A label to use to describe the avatar to assistive devices.",
|
|
111
|
+
"values": []
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"name": "initials",
|
|
115
|
+
"description": "Initials to use as a fallback when no image is available (1-2 characters max recommended).",
|
|
116
|
+
"values": []
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"name": "loading",
|
|
120
|
+
"description": "Indicates how the browser should load the image.",
|
|
121
|
+
"values": [{ "name": "eager" }, { "name": "lazy" }]
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"name": "shape",
|
|
125
|
+
"description": "The shape of the avatar.",
|
|
126
|
+
"values": [
|
|
127
|
+
{ "name": "circle" },
|
|
128
|
+
{ "name": "square" },
|
|
129
|
+
{ "name": "rounded" }
|
|
130
|
+
]
|
|
131
|
+
}
|
|
132
|
+
],
|
|
133
|
+
"references": []
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"name": "flow-ui-breadcrumb",
|
|
137
|
+
"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.",
|
|
138
|
+
"attributes": [
|
|
139
|
+
{
|
|
140
|
+
"name": "label",
|
|
141
|
+
"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.",
|
|
142
|
+
"values": []
|
|
143
|
+
}
|
|
144
|
+
],
|
|
145
|
+
"references": []
|
|
146
|
+
},
|
|
135
147
|
{
|
|
136
148
|
"name": "flow-ui-breadcrumb-item",
|
|
137
149
|
"description": "Breadcrumb Items are used inside [breadcrumbs](/components/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.",
|
|
@@ -159,6 +171,19 @@
|
|
|
159
171
|
],
|
|
160
172
|
"references": []
|
|
161
173
|
},
|
|
174
|
+
{
|
|
175
|
+
"name": "flow-ui-button-group",
|
|
176
|
+
"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.",
|
|
177
|
+
"attributes": [
|
|
178
|
+
{ "name": "label", "values": [] },
|
|
179
|
+
{
|
|
180
|
+
"name": "vertical",
|
|
181
|
+
"description": "Use vertical layout for the button group.",
|
|
182
|
+
"values": []
|
|
183
|
+
}
|
|
184
|
+
],
|
|
185
|
+
"references": []
|
|
186
|
+
},
|
|
162
187
|
{
|
|
163
188
|
"name": "flow-ui-button",
|
|
164
189
|
"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.",
|
|
@@ -303,18 +328,6 @@
|
|
|
303
328
|
],
|
|
304
329
|
"references": []
|
|
305
330
|
},
|
|
306
|
-
{
|
|
307
|
-
"name": "flow-ui-breadcrumb",
|
|
308
|
-
"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.",
|
|
309
|
-
"attributes": [
|
|
310
|
-
{
|
|
311
|
-
"name": "label",
|
|
312
|
-
"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.",
|
|
313
|
-
"values": []
|
|
314
|
-
}
|
|
315
|
-
],
|
|
316
|
-
"references": []
|
|
317
|
-
},
|
|
318
331
|
{
|
|
319
332
|
"name": "flow-ui-badge",
|
|
320
333
|
"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.",
|
|
@@ -343,19 +356,6 @@
|
|
|
343
356
|
],
|
|
344
357
|
"references": []
|
|
345
358
|
},
|
|
346
|
-
{
|
|
347
|
-
"name": "flow-ui-button-group",
|
|
348
|
-
"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.",
|
|
349
|
-
"attributes": [
|
|
350
|
-
{ "name": "label", "values": [] },
|
|
351
|
-
{
|
|
352
|
-
"name": "vertical",
|
|
353
|
-
"description": "Use vertical layout for the button group.",
|
|
354
|
-
"values": []
|
|
355
|
-
}
|
|
356
|
-
],
|
|
357
|
-
"references": []
|
|
358
|
-
},
|
|
359
359
|
{
|
|
360
360
|
"name": "flow-ui-card",
|
|
361
361
|
"description": "Cards can be used to group related subjects in a container.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The card's main content.\n- **header** - An optional header for the card.\n- **footer** - An optional footer for the card.\n- **image** - An optional image to render at the start of the card.\n\n### **CSS Properties:**\n - **--border-color** - The card's border color, including borders that occur inside the card. _(default: undefined)_\n- **--border-radius** - The border radius for the card's edges. _(default: undefined)_\n- **--border-width** - The width of the card's borders. _(default: undefined)_\n- **--padding** - The padding to use for the card's sections. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **image** - The container that wraps the card's image.\n- **header** - The container that wraps the card's header.\n- **body** - The container that wraps the card's main content.\n- **footer** - The container that wraps the card's footer.",
|
|
@@ -1007,43 +1007,6 @@
|
|
|
1007
1007
|
"attributes": [],
|
|
1008
1008
|
"references": []
|
|
1009
1009
|
},
|
|
1010
|
-
{
|
|
1011
|
-
"name": "flow-ui-mutation-observer",
|
|
1012
|
-
"description": "The Mutation Observer component offers a thin, declarative interface to the [`MutationObserver API`](https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver).\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-mutation** - Emitted when a mutation occurs.\n\n### **Slots:**\n - _default_ - The content to watch for mutations.",
|
|
1013
|
-
"attributes": [
|
|
1014
|
-
{
|
|
1015
|
-
"name": "attr",
|
|
1016
|
-
"description": "Watches for changes to attributes. To watch only specific attributes, separate them by a space, e.g.\n`attr=\"class id title\"`. To watch all attributes, use `*`.",
|
|
1017
|
-
"values": []
|
|
1018
|
-
},
|
|
1019
|
-
{
|
|
1020
|
-
"name": "attr-old-value",
|
|
1021
|
-
"description": "Indicates whether or not the attribute's previous value should be recorded when monitoring changes.",
|
|
1022
|
-
"values": []
|
|
1023
|
-
},
|
|
1024
|
-
{
|
|
1025
|
-
"name": "char-data",
|
|
1026
|
-
"description": "Watches for changes to the character data contained within the node.",
|
|
1027
|
-
"values": []
|
|
1028
|
-
},
|
|
1029
|
-
{
|
|
1030
|
-
"name": "char-data-old-value",
|
|
1031
|
-
"description": "Indicates whether or not the previous value of the node's text should be recorded.",
|
|
1032
|
-
"values": []
|
|
1033
|
-
},
|
|
1034
|
-
{
|
|
1035
|
-
"name": "child-list",
|
|
1036
|
-
"description": "Watches for the addition or removal of new child nodes.",
|
|
1037
|
-
"values": []
|
|
1038
|
-
},
|
|
1039
|
-
{
|
|
1040
|
-
"name": "disabled",
|
|
1041
|
-
"description": "Disables the observer.",
|
|
1042
|
-
"values": []
|
|
1043
|
-
}
|
|
1044
|
-
],
|
|
1045
|
-
"references": []
|
|
1046
|
-
},
|
|
1047
1010
|
{
|
|
1048
1011
|
"name": "flow-ui-option",
|
|
1049
1012
|
"description": "Options define the selectable items within various form controls such as [select](/components/select).\n\n\n---\n\n\n\n\n### **Methods:**\n - **getTextLabel()** - Returns a plain text label based on the option's content.\n\n### **Slots:**\n - _default_ - The option's label.\n- **prefix** - Used to prepend an icon or similar element to the menu item.\n- **suffix** - Used to append an icon or similar element to the menu item.\n\n### **CSS Parts:**\n - **checked-icon** - The checked icon, a `<flow-ui-icon>` element.\n- **base** - The component's base wrapper.\n- **label** - The option's label.\n- **prefix** - The container that wraps the prefix.\n- **suffix** - The container that wraps the suffix.",
|
|
@@ -1316,6 +1279,43 @@
|
|
|
1316
1279
|
],
|
|
1317
1280
|
"references": []
|
|
1318
1281
|
},
|
|
1282
|
+
{
|
|
1283
|
+
"name": "flow-ui-mutation-observer",
|
|
1284
|
+
"description": "The Mutation Observer component offers a thin, declarative interface to the [`MutationObserver API`](https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver).\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-mutation** - Emitted when a mutation occurs.\n\n### **Slots:**\n - _default_ - The content to watch for mutations.",
|
|
1285
|
+
"attributes": [
|
|
1286
|
+
{
|
|
1287
|
+
"name": "attr",
|
|
1288
|
+
"description": "Watches for changes to attributes. To watch only specific attributes, separate them by a space, e.g.\n`attr=\"class id title\"`. To watch all attributes, use `*`.",
|
|
1289
|
+
"values": []
|
|
1290
|
+
},
|
|
1291
|
+
{
|
|
1292
|
+
"name": "attr-old-value",
|
|
1293
|
+
"description": "Indicates whether or not the attribute's previous value should be recorded when monitoring changes.",
|
|
1294
|
+
"values": []
|
|
1295
|
+
},
|
|
1296
|
+
{
|
|
1297
|
+
"name": "char-data",
|
|
1298
|
+
"description": "Watches for changes to the character data contained within the node.",
|
|
1299
|
+
"values": []
|
|
1300
|
+
},
|
|
1301
|
+
{
|
|
1302
|
+
"name": "char-data-old-value",
|
|
1303
|
+
"description": "Indicates whether or not the previous value of the node's text should be recorded.",
|
|
1304
|
+
"values": []
|
|
1305
|
+
},
|
|
1306
|
+
{
|
|
1307
|
+
"name": "child-list",
|
|
1308
|
+
"description": "Watches for the addition or removal of new child nodes.",
|
|
1309
|
+
"values": []
|
|
1310
|
+
},
|
|
1311
|
+
{
|
|
1312
|
+
"name": "disabled",
|
|
1313
|
+
"description": "Disables the observer.",
|
|
1314
|
+
"values": []
|
|
1315
|
+
}
|
|
1316
|
+
],
|
|
1317
|
+
"references": []
|
|
1318
|
+
},
|
|
1319
1319
|
{
|
|
1320
1320
|
"name": "flow-ui-range",
|
|
1321
1321
|
"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- **--tooltip-offset** - The vertical distance the tooltip is offset from the track. _(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- **input** - The internal `<input>` element.\n- **tooltip** - The range's tooltip.",
|