@emuanalytics/flow-rdf-ui 0.0.34 → 0.0.36
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 +2722 -2722
- package/dist/index.cjs +6 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.mjs +2 -1
- package/dist/vscode.html-custom-data.json +234 -234
- package/package.json +1 -1
|
@@ -34,34 +34,6 @@
|
|
|
34
34
|
],
|
|
35
35
|
"references": []
|
|
36
36
|
},
|
|
37
|
-
{
|
|
38
|
-
"name": "flow-ui-badge",
|
|
39
|
-
"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.",
|
|
40
|
-
"attributes": [
|
|
41
|
-
{
|
|
42
|
-
"name": "variant",
|
|
43
|
-
"description": "The badge's theme variant.",
|
|
44
|
-
"values": [
|
|
45
|
-
{ "name": "primary" },
|
|
46
|
-
{ "name": "success" },
|
|
47
|
-
{ "name": "neutral" },
|
|
48
|
-
{ "name": "warning" },
|
|
49
|
-
{ "name": "danger" }
|
|
50
|
-
]
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
"name": "pill",
|
|
54
|
-
"description": "Draws a pill-style badge with rounded edges.",
|
|
55
|
-
"values": []
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
"name": "pulse",
|
|
59
|
-
"description": "Makes the badge pulsate to draw attention.",
|
|
60
|
-
"values": []
|
|
61
|
-
}
|
|
62
|
-
],
|
|
63
|
-
"references": []
|
|
64
|
-
},
|
|
65
37
|
{
|
|
66
38
|
"name": "flow-ui-avatar",
|
|
67
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.",
|
|
@@ -98,6 +70,34 @@
|
|
|
98
70
|
],
|
|
99
71
|
"references": []
|
|
100
72
|
},
|
|
73
|
+
{
|
|
74
|
+
"name": "flow-ui-badge",
|
|
75
|
+
"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.",
|
|
76
|
+
"attributes": [
|
|
77
|
+
{
|
|
78
|
+
"name": "variant",
|
|
79
|
+
"description": "The badge's theme variant.",
|
|
80
|
+
"values": [
|
|
81
|
+
{ "name": "primary" },
|
|
82
|
+
{ "name": "success" },
|
|
83
|
+
{ "name": "neutral" },
|
|
84
|
+
{ "name": "warning" },
|
|
85
|
+
{ "name": "danger" }
|
|
86
|
+
]
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"name": "pill",
|
|
90
|
+
"description": "Draws a pill-style badge with rounded edges.",
|
|
91
|
+
"values": []
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"name": "pulse",
|
|
95
|
+
"description": "Makes the badge pulsate to draw attention.",
|
|
96
|
+
"values": []
|
|
97
|
+
}
|
|
98
|
+
],
|
|
99
|
+
"references": []
|
|
100
|
+
},
|
|
101
101
|
{
|
|
102
102
|
"name": "flow-ui-breadcrumb",
|
|
103
103
|
"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.",
|
|
@@ -110,6 +110,33 @@
|
|
|
110
110
|
],
|
|
111
111
|
"references": []
|
|
112
112
|
},
|
|
113
|
+
{
|
|
114
|
+
"name": "flow-ui-breadcrumb-item",
|
|
115
|
+
"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.",
|
|
116
|
+
"attributes": [
|
|
117
|
+
{
|
|
118
|
+
"name": "href",
|
|
119
|
+
"description": "Optional URL to direct the user to when the breadcrumb item is activated. When set, a link will be rendered\ninternally. When unset, a button will be rendered instead.",
|
|
120
|
+
"values": []
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"name": "target",
|
|
124
|
+
"description": "Tells the browser where to open the link. Only used when `href` is set.",
|
|
125
|
+
"values": [
|
|
126
|
+
{ "name": "_blank" },
|
|
127
|
+
{ "name": "_parent" },
|
|
128
|
+
{ "name": "_self" },
|
|
129
|
+
{ "name": "_top" }
|
|
130
|
+
]
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"name": "rel",
|
|
134
|
+
"description": "The `rel` attribute to use on the link. Only used when `href` is set.",
|
|
135
|
+
"values": []
|
|
136
|
+
}
|
|
137
|
+
],
|
|
138
|
+
"references": []
|
|
139
|
+
},
|
|
113
140
|
{
|
|
114
141
|
"name": "flow-ui-button",
|
|
115
142
|
"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.",
|
|
@@ -260,33 +287,6 @@
|
|
|
260
287
|
],
|
|
261
288
|
"references": []
|
|
262
289
|
},
|
|
263
|
-
{
|
|
264
|
-
"name": "flow-ui-breadcrumb-item",
|
|
265
|
-
"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.",
|
|
266
|
-
"attributes": [
|
|
267
|
-
{
|
|
268
|
-
"name": "href",
|
|
269
|
-
"description": "Optional URL to direct the user to when the breadcrumb item is activated. When set, a link will be rendered\ninternally. When unset, a button will be rendered instead.",
|
|
270
|
-
"values": []
|
|
271
|
-
},
|
|
272
|
-
{
|
|
273
|
-
"name": "target",
|
|
274
|
-
"description": "Tells the browser where to open the link. Only used when `href` is set.",
|
|
275
|
-
"values": [
|
|
276
|
-
{ "name": "_blank" },
|
|
277
|
-
{ "name": "_parent" },
|
|
278
|
-
{ "name": "_self" },
|
|
279
|
-
{ "name": "_top" }
|
|
280
|
-
]
|
|
281
|
-
},
|
|
282
|
-
{
|
|
283
|
-
"name": "rel",
|
|
284
|
-
"description": "The `rel` attribute to use on the link. Only used when `href` is set.",
|
|
285
|
-
"values": []
|
|
286
|
-
}
|
|
287
|
-
],
|
|
288
|
-
"references": []
|
|
289
|
-
},
|
|
290
290
|
{
|
|
291
291
|
"name": "flow-ui-button-group",
|
|
292
292
|
"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.",
|
|
@@ -1043,48 +1043,6 @@
|
|
|
1043
1043
|
],
|
|
1044
1044
|
"references": []
|
|
1045
1045
|
},
|
|
1046
|
-
{
|
|
1047
|
-
"name": "flow-ui-map",
|
|
1048
|
-
"description": "Display a Flo.w map.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-load** - Dispatched when the map is first initialized and has completed loading.\n\n### **CSS Parts:**\n - **base** - The base element of the component.\n- **busy-indicator** - The busy indicator flow-ui-progress-bar.\n- **control-container** - The map control containers.\n- **control-container--top-left** - The top left control container element.\n- **control-container--top-right** - The top right control container element.\n- **control-container--bottom-left** - The bottom left control container element.\n- **control-container--bottom-right** - The bottom right control container element.",
|
|
1049
|
-
"attributes": [
|
|
1050
|
-
{
|
|
1051
|
-
"name": "map-id",
|
|
1052
|
-
"description": "The map ID. If not provided, a unique ID will be generated.",
|
|
1053
|
-
"values": []
|
|
1054
|
-
},
|
|
1055
|
-
{
|
|
1056
|
-
"name": "base-style",
|
|
1057
|
-
"description": "The base style of the map.",
|
|
1058
|
-
"values": []
|
|
1059
|
-
},
|
|
1060
|
-
{
|
|
1061
|
-
"name": "center",
|
|
1062
|
-
"description": "The center of the map specified as a longitude and latitude pair.\n\nAlternatively, use the `setCenter` method to update the center of the map\nwith animation options.",
|
|
1063
|
-
"values": [{ "name": "[number" }, { "name": "number]" }]
|
|
1064
|
-
},
|
|
1065
|
-
{
|
|
1066
|
-
"name": "zoom",
|
|
1067
|
-
"description": "The zoom level of the map.\n\nAlternatively, use the `setCenter` method to update the center of the map\nwith animation options.",
|
|
1068
|
-
"values": []
|
|
1069
|
-
},
|
|
1070
|
-
{
|
|
1071
|
-
"name": "bearing",
|
|
1072
|
-
"description": "The bearing of the map.\n\nAlternatively, use the `setCenter` method to update the center of the map\nwith animation options.",
|
|
1073
|
-
"values": []
|
|
1074
|
-
},
|
|
1075
|
-
{
|
|
1076
|
-
"name": "pitch",
|
|
1077
|
-
"description": "The pitch of the map.\n\nAlternatively, use the `setCenter` method to update the center of the map\nwith animation options.",
|
|
1078
|
-
"values": []
|
|
1079
|
-
},
|
|
1080
|
-
{
|
|
1081
|
-
"name": "busy",
|
|
1082
|
-
"description": "Set to `true` to show a busy indicator on the map.\n\nNote that the busy indicator will also be automatically be shown when the map\nis loading data.",
|
|
1083
|
-
"values": []
|
|
1084
|
-
}
|
|
1085
|
-
],
|
|
1086
|
-
"references": []
|
|
1087
|
-
},
|
|
1088
1046
|
{
|
|
1089
1047
|
"name": "flow-ui-menu",
|
|
1090
1048
|
"description": "Menus provide a list of options for the user to choose from.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-select** - Emitted when a menu item is selected.\n\n### **Slots:**\n - _default_ - The menu's content, including menu items, menu labels, and dividers.",
|
|
@@ -1232,14 +1190,19 @@
|
|
|
1232
1190
|
"references": []
|
|
1233
1191
|
},
|
|
1234
1192
|
{
|
|
1235
|
-
"name": "flow-ui-progress-
|
|
1236
|
-
"description": "Progress
|
|
1193
|
+
"name": "flow-ui-progress-bar",
|
|
1194
|
+
"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 - **--height** - The progress bar's height. _(default: undefined)_\n- **--track-color** - The color of the track. _(default: undefined)_\n- **--indicator-color** - The color of the indicator. _(default: undefined)_\n- **--label-color** - The color of the label. _(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.",
|
|
1237
1195
|
"attributes": [
|
|
1238
1196
|
{
|
|
1239
1197
|
"name": "value",
|
|
1240
1198
|
"description": "The current progress as a percentage, 0 to 100.",
|
|
1241
1199
|
"values": []
|
|
1242
1200
|
},
|
|
1201
|
+
{
|
|
1202
|
+
"name": "indeterminate",
|
|
1203
|
+
"description": "When true, percentage is ignored, the label is hidden, and the progress bar is drawn in an indeterminate state.",
|
|
1204
|
+
"values": []
|
|
1205
|
+
},
|
|
1243
1206
|
{
|
|
1244
1207
|
"name": "label",
|
|
1245
1208
|
"description": "A custom label for assistive devices.",
|
|
@@ -1249,17 +1212,54 @@
|
|
|
1249
1212
|
"references": []
|
|
1250
1213
|
},
|
|
1251
1214
|
{
|
|
1252
|
-
"name": "flow-ui-
|
|
1253
|
-
"description": "
|
|
1215
|
+
"name": "flow-ui-map",
|
|
1216
|
+
"description": "Display a Flo.w map.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-load** - Dispatched when the map is first initialized and has completed loading.\n\n### **CSS Parts:**\n - **base** - The base element of the component.\n- **busy-indicator** - The busy indicator flow-ui-progress-bar.\n- **control-container** - The map control containers.\n- **control-container--top-left** - The top left control container element.\n- **control-container--top-right** - The top right control container element.\n- **control-container--bottom-left** - The bottom left control container element.\n- **control-container--bottom-right** - The bottom right control container element.",
|
|
1254
1217
|
"attributes": [
|
|
1255
1218
|
{
|
|
1256
|
-
"name": "
|
|
1257
|
-
"description": "The
|
|
1219
|
+
"name": "map-id",
|
|
1220
|
+
"description": "The map ID. If not provided, a unique ID will be generated.",
|
|
1258
1221
|
"values": []
|
|
1259
1222
|
},
|
|
1260
1223
|
{
|
|
1261
|
-
"name": "
|
|
1262
|
-
"description": "
|
|
1224
|
+
"name": "base-style",
|
|
1225
|
+
"description": "The base style of the map.",
|
|
1226
|
+
"values": []
|
|
1227
|
+
},
|
|
1228
|
+
{
|
|
1229
|
+
"name": "center",
|
|
1230
|
+
"description": "The center of the map specified as a longitude and latitude pair.\n\nAlternatively, use the `setCenter` method to update the center of the map\nwith animation options.",
|
|
1231
|
+
"values": [{ "name": "[number" }, { "name": "number]" }]
|
|
1232
|
+
},
|
|
1233
|
+
{
|
|
1234
|
+
"name": "zoom",
|
|
1235
|
+
"description": "The zoom level of the map.\n\nAlternatively, use the `setCenter` method to update the center of the map\nwith animation options.",
|
|
1236
|
+
"values": []
|
|
1237
|
+
},
|
|
1238
|
+
{
|
|
1239
|
+
"name": "bearing",
|
|
1240
|
+
"description": "The bearing of the map.\n\nAlternatively, use the `setCenter` method to update the center of the map\nwith animation options.",
|
|
1241
|
+
"values": []
|
|
1242
|
+
},
|
|
1243
|
+
{
|
|
1244
|
+
"name": "pitch",
|
|
1245
|
+
"description": "The pitch of the map.\n\nAlternatively, use the `setCenter` method to update the center of the map\nwith animation options.",
|
|
1246
|
+
"values": []
|
|
1247
|
+
},
|
|
1248
|
+
{
|
|
1249
|
+
"name": "busy",
|
|
1250
|
+
"description": "Set to `true` to show a busy indicator on the map.\n\nNote that the busy indicator will also be automatically be shown when the map\nis loading data.",
|
|
1251
|
+
"values": []
|
|
1252
|
+
}
|
|
1253
|
+
],
|
|
1254
|
+
"references": []
|
|
1255
|
+
},
|
|
1256
|
+
{
|
|
1257
|
+
"name": "flow-ui-progress-ring",
|
|
1258
|
+
"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 - _default_ - 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.",
|
|
1259
|
+
"attributes": [
|
|
1260
|
+
{
|
|
1261
|
+
"name": "value",
|
|
1262
|
+
"description": "The current progress as a percentage, 0 to 100.",
|
|
1263
1263
|
"values": []
|
|
1264
1264
|
},
|
|
1265
1265
|
{
|
|
@@ -1270,6 +1270,32 @@
|
|
|
1270
1270
|
],
|
|
1271
1271
|
"references": []
|
|
1272
1272
|
},
|
|
1273
|
+
{
|
|
1274
|
+
"name": "flow-ui-radio",
|
|
1275
|
+
"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.",
|
|
1276
|
+
"attributes": [
|
|
1277
|
+
{
|
|
1278
|
+
"name": "value",
|
|
1279
|
+
"description": "The radio's value. When selected, the radio group will receive this value.",
|
|
1280
|
+
"values": []
|
|
1281
|
+
},
|
|
1282
|
+
{
|
|
1283
|
+
"name": "size",
|
|
1284
|
+
"description": "The radio's size. When used inside a radio group, the size will be determined by the radio group's size so this\nattribute can typically be omitted.",
|
|
1285
|
+
"values": [
|
|
1286
|
+
{ "name": "small" },
|
|
1287
|
+
{ "name": "medium" },
|
|
1288
|
+
{ "name": "large" }
|
|
1289
|
+
]
|
|
1290
|
+
},
|
|
1291
|
+
{
|
|
1292
|
+
"name": "disabled",
|
|
1293
|
+
"description": "Disables the radio.",
|
|
1294
|
+
"values": []
|
|
1295
|
+
}
|
|
1296
|
+
],
|
|
1297
|
+
"references": []
|
|
1298
|
+
},
|
|
1273
1299
|
{
|
|
1274
1300
|
"name": "flow-ui-query-builder",
|
|
1275
1301
|
"description": "Query builder component\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-change** - Emitted when the control's value changes.\n\n### **Methods:**\n - **registerFieldDefinition(type: _T_, fieldDefinition: _FlowQueryBuilderFieldDefinition<NoUnion<T>>_)** - Register a custom field definition.\n\nA field definition is used to add support for a custom field type. A field type comprises:\n\n- a field `type` string\n- a `template` function that returns the template for the field's value control\n- an array of `operators` that are valid for the field\n- **isRule(value: _unknown_): _value is FlowQueryBuilderRule_** - Static helper method to determine if supplied argument is\na `FlowQueryBuilderRule`.\n- **isRuleSet(value: _unknown_): __** - Static helper method to determine if supplied argument is\na `FlowQueryBuilderRuleSet`.\n- **filterRuleSet(ruleset: _FlowQueryBuilderRuleSet_, options: _{ excludeFields?: string[]; includeFields?: string[] }_): __** - Static helper method to recursively filter a `FlowQueryBuilderRuleSet`.\n\nThis can be used to sanitize user queries before they are executed.\n- **renameRuleSetFields(ruleset: _FlowQueryBuilderRuleSet_, replacements: _Record<string, string>_, ruleSet): __** - Static helper method to rename fields in a `FlowQueryBuilderRuleSet`.\n- **transformRuleSet(ruleSet: _FlowQueryBuilderRuleSet_, transformFn: _(rule: FlowQueryBuilderRule) => FlowQueryBuilderRule | undefined_): __** - Static helper method to recursively apply a transform function to each rule\nin a `FlowQueryBuilderRuleSet`.\n\nThe transform fn should expect a single FlowQueryBuilderRule and return:\n\n- the same rule unmodifed or modified in place\n- `undefined` to exclude the rule from the rule set\n\nThis can be used to sanitize rule sets before they are used to perform queries.\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.",
|
|
@@ -1316,32 +1342,6 @@
|
|
|
1316
1342
|
],
|
|
1317
1343
|
"references": []
|
|
1318
1344
|
},
|
|
1319
|
-
{
|
|
1320
|
-
"name": "flow-ui-radio",
|
|
1321
|
-
"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.",
|
|
1322
|
-
"attributes": [
|
|
1323
|
-
{
|
|
1324
|
-
"name": "value",
|
|
1325
|
-
"description": "The radio's value. When selected, the radio group will receive this value.",
|
|
1326
|
-
"values": []
|
|
1327
|
-
},
|
|
1328
|
-
{
|
|
1329
|
-
"name": "size",
|
|
1330
|
-
"description": "The radio's size. When used inside a radio group, the size will be determined by the radio group's size so this\nattribute can typically be omitted.",
|
|
1331
|
-
"values": [
|
|
1332
|
-
{ "name": "small" },
|
|
1333
|
-
{ "name": "medium" },
|
|
1334
|
-
{ "name": "large" }
|
|
1335
|
-
]
|
|
1336
|
-
},
|
|
1337
|
-
{
|
|
1338
|
-
"name": "disabled",
|
|
1339
|
-
"description": "Disables the radio.",
|
|
1340
|
-
"values": []
|
|
1341
|
-
}
|
|
1342
|
-
],
|
|
1343
|
-
"references": []
|
|
1344
|
-
},
|
|
1345
1345
|
{
|
|
1346
1346
|
"name": "flow-ui-radio-group",
|
|
1347
1347
|
"description": "Radio groups are used to group multiple [radios](/components/radio) or [radio buttons](/components/radio-button) so they function as a single form control.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-change** - Emitted when the radio group's selected value changes.\n- **flow-ui-input** - Emitted when the radio group receives user input.\n- **flow-ui-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity(): _boolean_** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message)** - Sets a custom validation message. Pass an empty string to restore validity.\n\n### **Slots:**\n - _default_ - The default slot where `<flow-ui-radio>` or `<flow-ui-tool-button>` elements are placed.\n- **label** - The radio group's label. Required for proper accessibility. Alternatively, you can use the `label` attribute.\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The input's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **button-group** - The button group that wraps radio buttons.\n- **button-group__base** - The button group's `base` part.",
|
|
@@ -1511,6 +1511,12 @@
|
|
|
1511
1511
|
],
|
|
1512
1512
|
"references": []
|
|
1513
1513
|
},
|
|
1514
|
+
{
|
|
1515
|
+
"name": "flow-ui-spinner",
|
|
1516
|
+
"description": "Spinners are used to show the progress of an indeterminate operation.\n\n\n---\n\n\n\n\n### **CSS Properties:**\n - **--track-width** - The width of the track. _(default: undefined)_\n- **--track-color** - The color of the track. _(default: undefined)_\n- **--indicator-color** - The color of the spinner's indicator. _(default: undefined)_\n- **--speed** - The time it takes for the spinner to complete one animation cycle. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
1517
|
+
"attributes": [],
|
|
1518
|
+
"references": []
|
|
1519
|
+
},
|
|
1514
1520
|
{
|
|
1515
1521
|
"name": "flow-ui-split-view",
|
|
1516
1522
|
"description": "Split-views contain 2 or more split-view panes to create resizable areas.\n\n\n---\n\n\n",
|
|
@@ -1522,12 +1528,6 @@
|
|
|
1522
1528
|
],
|
|
1523
1529
|
"references": []
|
|
1524
1530
|
},
|
|
1525
|
-
{
|
|
1526
|
-
"name": "flow-ui-spinner",
|
|
1527
|
-
"description": "Spinners are used to show the progress of an indeterminate operation.\n\n\n---\n\n\n\n\n### **CSS Properties:**\n - **--track-width** - The width of the track. _(default: undefined)_\n- **--track-color** - The color of the track. _(default: undefined)_\n- **--indicator-color** - The color of the spinner's indicator. _(default: undefined)_\n- **--speed** - The time it takes for the spinner to complete one animation cycle. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
1528
|
-
"attributes": [],
|
|
1529
|
-
"references": []
|
|
1530
|
-
},
|
|
1531
1531
|
{
|
|
1532
1532
|
"name": "flow-ui-split-view-divider",
|
|
1533
1533
|
"description": "Split-view dividers are used internally by split-views to create resizable areas.\n\n\n---\n\n\n",
|
|
@@ -1666,6 +1666,30 @@
|
|
|
1666
1666
|
"attributes": [],
|
|
1667
1667
|
"references": []
|
|
1668
1668
|
},
|
|
1669
|
+
{
|
|
1670
|
+
"name": "flow-ui-stepper-panel",
|
|
1671
|
+
"description": "Stepper panels provide a single page in a stepper to guide users through a series of steps.\n\n\n---\n\n\n",
|
|
1672
|
+
"attributes": [
|
|
1673
|
+
{
|
|
1674
|
+
"name": "name",
|
|
1675
|
+
"description": "The tab panel's name.",
|
|
1676
|
+
"values": []
|
|
1677
|
+
},
|
|
1678
|
+
{ "name": "title", "values": [] },
|
|
1679
|
+
{ "name": "sub-title", "values": [] },
|
|
1680
|
+
{
|
|
1681
|
+
"name": "active",
|
|
1682
|
+
"description": "When true, the tab panel will be shown.",
|
|
1683
|
+
"values": []
|
|
1684
|
+
},
|
|
1685
|
+
{
|
|
1686
|
+
"name": "complete",
|
|
1687
|
+
"description": "When true, the tab panel is marked as complete",
|
|
1688
|
+
"values": []
|
|
1689
|
+
}
|
|
1690
|
+
],
|
|
1691
|
+
"references": []
|
|
1692
|
+
},
|
|
1669
1693
|
{
|
|
1670
1694
|
"name": "flow-ui-switch",
|
|
1671
1695
|
"description": "Switches allow the user to toggle an option on or off.\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 the control's checked state changes.\n- **flow-ui-input** - Emitted when the control receives input.\n- **flow-ui-focus** - Emitted when the control 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 switch.\n- **focus(options: _FocusOptions_)** - Sets focus on the switch.\n- **blur()** - Removes focus from the switch.\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 switch's label.\n\n### **CSS Properties:**\n - **--width** - The width of the switch. _(default: undefined)_\n- **--height** - The height of the switch. _(default: undefined)_\n- **--thumb-size** - The size of the thumb. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **control** - The control that houses the switch's thumb.\n- **thumb** - The switch's thumb.\n- **label** - The switch's label.",
|
|
@@ -1774,30 +1798,6 @@
|
|
|
1774
1798
|
],
|
|
1775
1799
|
"references": []
|
|
1776
1800
|
},
|
|
1777
|
-
{
|
|
1778
|
-
"name": "flow-ui-stepper-panel",
|
|
1779
|
-
"description": "Stepper panels provide a single page in a stepper to guide users through a series of steps.\n\n\n---\n\n\n",
|
|
1780
|
-
"attributes": [
|
|
1781
|
-
{
|
|
1782
|
-
"name": "name",
|
|
1783
|
-
"description": "The tab panel's name.",
|
|
1784
|
-
"values": []
|
|
1785
|
-
},
|
|
1786
|
-
{ "name": "title", "values": [] },
|
|
1787
|
-
{ "name": "sub-title", "values": [] },
|
|
1788
|
-
{
|
|
1789
|
-
"name": "active",
|
|
1790
|
-
"description": "When true, the tab panel will be shown.",
|
|
1791
|
-
"values": []
|
|
1792
|
-
},
|
|
1793
|
-
{
|
|
1794
|
-
"name": "complete",
|
|
1795
|
-
"description": "When true, the tab panel is marked as complete",
|
|
1796
|
-
"values": []
|
|
1797
|
-
}
|
|
1798
|
-
],
|
|
1799
|
-
"references": []
|
|
1800
|
-
},
|
|
1801
1801
|
{
|
|
1802
1802
|
"name": "flow-ui-tab-group",
|
|
1803
1803
|
"description": "Tab groups organize content into a container that shows one section at a time.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-tab-show** - Emitted when a tab is shown.\n- **flow-ui-tab-hide** - Emitted when a tab is hidden.\n\n### **Methods:**\n - **show(panel: _string_)** - Shows the specified tab panel.\n\n### **Slots:**\n - _default_ - Used for grouping tab panels in the tab group. Must be `<flow-ui-tab-panel>` elements.\n- **nav** - Used for grouping tabs in the tab group. Must be `<flow-ui-tab>` elements.\n\n### **CSS Properties:**\n - **--indicator-color** - The color of the active tab indicator. _(default: undefined)_\n- **--track-color** - The color of the indicator's track (the line that separates tabs from panels). _(default: undefined)_\n- **--track-width** - The width of the indicator's track (the line that separates tabs from panels). _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **nav** - The tab group's navigation container where tabs are slotted in.\n- **tabs** - The container that wraps the tabs.\n- **active-tab-indicator** - The line that highlights the currently selected tab.\n- **body** - The tab group's body where tab panels are slotted in.\n- **scroll-button** - The previous/next scroll buttons that show when tabs are scrollable, an `<flow-ui-icon-button>`.\n- **scroll-button--start** - The starting scroll button.\n- **scroll-button--end** - The ending scroll button.\n- **scroll-button__base** - The scroll button's exported `base` part.",
|
|
@@ -2002,6 +2002,36 @@
|
|
|
2002
2002
|
],
|
|
2003
2003
|
"references": []
|
|
2004
2004
|
},
|
|
2005
|
+
{
|
|
2006
|
+
"name": "flow-ui-timer",
|
|
2007
|
+
"description": "The timer component is the primary time control for Flo.w time-based visualizations.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-change** - Emitted when the control's value changes.\n- **flow-ui-input** - Emitted when the control receives input.",
|
|
2008
|
+
"attributes": [
|
|
2009
|
+
{
|
|
2010
|
+
"name": "value",
|
|
2011
|
+
"description": "The value of the timer. (ISO8601 date/time string)",
|
|
2012
|
+
"values": []
|
|
2013
|
+
},
|
|
2014
|
+
{
|
|
2015
|
+
"name": "timezone",
|
|
2016
|
+
"description": "The timezone to use for display. (IANA timezone string).\nIf not set, the timezone will be the browser's local timezone.",
|
|
2017
|
+
"values": []
|
|
2018
|
+
},
|
|
2019
|
+
{
|
|
2020
|
+
"name": "locale",
|
|
2021
|
+
"description": "The locale to use for display. (IETF BCP 47 language tag).\nIf not set, the locale will be the browser's default locale.",
|
|
2022
|
+
"values": []
|
|
2023
|
+
},
|
|
2024
|
+
{ "name": "running", "values": [] },
|
|
2025
|
+
{ "name": "dateFormat", "values": [] },
|
|
2026
|
+
{ "name": "dayFormat", "values": [] },
|
|
2027
|
+
{ "name": "timeFormat", "values": [] },
|
|
2028
|
+
{ "name": "zoneFormat", "values": [] },
|
|
2029
|
+
{ "name": "major-step", "values": [] },
|
|
2030
|
+
{ "name": "minor-step", "values": [] },
|
|
2031
|
+
{ "name": "hide-zone", "values": [] }
|
|
2032
|
+
],
|
|
2033
|
+
"references": []
|
|
2034
|
+
},
|
|
2005
2035
|
{
|
|
2006
2036
|
"name": "flow-ui-tool-button",
|
|
2007
2037
|
"description": "Tool buttons are used in toolbars. They can be used to toggle a state or perform an action.\n\n\n---\n\n\n\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the radio button.\n- **blur()** - Removes focus from the radio button.",
|
|
@@ -2088,36 +2118,6 @@
|
|
|
2088
2118
|
],
|
|
2089
2119
|
"references": []
|
|
2090
2120
|
},
|
|
2091
|
-
{
|
|
2092
|
-
"name": "flow-ui-timer",
|
|
2093
|
-
"description": "The timer component is the primary time control for Flo.w time-based visualizations.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-change** - Emitted when the control's value changes.\n- **flow-ui-input** - Emitted when the control receives input.",
|
|
2094
|
-
"attributes": [
|
|
2095
|
-
{
|
|
2096
|
-
"name": "value",
|
|
2097
|
-
"description": "The value of the timer. (ISO8601 date/time string)",
|
|
2098
|
-
"values": []
|
|
2099
|
-
},
|
|
2100
|
-
{
|
|
2101
|
-
"name": "timezone",
|
|
2102
|
-
"description": "The timezone to use for display. (IANA timezone string).\nIf not set, the timezone will be the browser's local timezone.",
|
|
2103
|
-
"values": []
|
|
2104
|
-
},
|
|
2105
|
-
{
|
|
2106
|
-
"name": "locale",
|
|
2107
|
-
"description": "The locale to use for display. (IETF BCP 47 language tag).\nIf not set, the locale will be the browser's default locale.",
|
|
2108
|
-
"values": []
|
|
2109
|
-
},
|
|
2110
|
-
{ "name": "running", "values": [] },
|
|
2111
|
-
{ "name": "dateFormat", "values": [] },
|
|
2112
|
-
{ "name": "dayFormat", "values": [] },
|
|
2113
|
-
{ "name": "timeFormat", "values": [] },
|
|
2114
|
-
{ "name": "zoneFormat", "values": [] },
|
|
2115
|
-
{ "name": "major-step", "values": [] },
|
|
2116
|
-
{ "name": "minor-step", "values": [] },
|
|
2117
|
-
{ "name": "hide-zone", "values": [] }
|
|
2118
|
-
],
|
|
2119
|
-
"references": []
|
|
2120
|
-
},
|
|
2121
2121
|
{
|
|
2122
2122
|
"name": "flow-ui-tool-button-group",
|
|
2123
2123
|
"description": "Tool buttons groups are used to build toolbars.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-change** - Emitted when the control's value changes.\n- **flow-ui-input** - Emitted when the control receives input.\n\n### **Methods:**\n - **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity(): _boolean_** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message)** - Sets a custom validation message. Pass an empty string to restore validity.",
|
|
@@ -2174,49 +2174,6 @@
|
|
|
2174
2174
|
],
|
|
2175
2175
|
"references": []
|
|
2176
2176
|
},
|
|
2177
|
-
{
|
|
2178
|
-
"name": "flow-ui-tree",
|
|
2179
|
-
"description": "Trees allow you to display a hierarchical list of selectable [tree items](/components/tree-item). Items with children can be expanded and collapsed as desired by the user.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-selection-change** - Emitted when a tree item is selected or deselected.\n\n### **Slots:**\n - _default_ - The default slot.\n- **expand-icon** - The icon to show when the tree item is expanded. Works best with `<flow-ui-icon>`.\n- **collapse-icon** - The icon to show when the tree item is collapsed. Works best with `<flow-ui-icon>`.\n\n### **CSS Properties:**\n - **--indent-size** - The size of the indentation for nested items. _(default: var(--flow-ui-spacing-medium))_\n- **--indent-guide-color** - The color of the indentation line. _(default: var(--flow-ui-color-neutral-200))_\n- **--indent-guide-offset** - The amount of vertical spacing to leave between the top and bottom of the indentation line's starting position. _(default: 0)_\n- **--indent-guide-style** - The style of the indentation line, e.g. solid, dotted, dashed. _(default: solid)_\n- **--indent-guide-width** - The width of the indentation line. _(default: 0)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
2180
|
-
"attributes": [
|
|
2181
|
-
{
|
|
2182
|
-
"name": "selection",
|
|
2183
|
-
"description": "The selection behavior of the tree. Single selection allows only one node to be selected at a time. Multiple\ndisplays checkboxes and allows more than one node to be selected. Leaf allows only leaf nodes to be selected.",
|
|
2184
|
-
"values": [
|
|
2185
|
-
{ "name": "single" },
|
|
2186
|
-
{ "name": "multiple" },
|
|
2187
|
-
{ "name": "leaf" }
|
|
2188
|
-
]
|
|
2189
|
-
}
|
|
2190
|
-
],
|
|
2191
|
-
"references": []
|
|
2192
|
-
},
|
|
2193
|
-
{
|
|
2194
|
-
"name": "flow-ui-tree-item",
|
|
2195
|
-
"description": "A tree item serves as a hierarchical node that lives inside a [tree](/components/tree).\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-expand** - Emitted when the tree item expands.\n- **flow-ui-after-expand** - Emitted after the tree item expands and all animations are complete.\n- **flow-ui-collapse** - Emitted when the tree item collapses.\n- **flow-ui-after-collapse** - Emitted after the tree item collapses and all animations are complete.\n- **flow-ui-lazy-change** - Emitted when the tree item's lazy state changes.\n- **flow-ui-lazy-load** - Emitted when a lazy item is selected. Use this event to asynchronously load data and append items to the tree before expanding. After appending new items, remove the `lazy` attribute to remove the loading state and update the tree.\n\n### **Methods:**\n - **getChildrenItems({ includeDisabled = true }: _{ includeDisabled?: boolean }_): _FlowTreeItem[]_** - Gets all the nested tree items in this node.\n\n### **Slots:**\n - _default_ - The default slot.\n- **expand-icon** - The icon to show when the tree item is expanded.\n- **collapse-icon** - The icon to show when the tree item is collapsed.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **item** - The tree item's container. This element wraps everything except slotted tree item children.\n- **item--disabled** - Applied when the tree item is disabled.\n- **item--expanded** - Applied when the tree item is expanded.\n- **item--indeterminate** - Applied when the selection is indeterminate.\n- **item--selected** - Applied when the tree item is selected.\n- **indentation** - The tree item's indentation container.\n- **expand-button** - The container that wraps the tree item's expand button and spinner.\n- **label** - The tree item's label.\n- **children** - The container that wraps the tree item's nested children.\n- **checkbox** - The checkbox that shows when using multiselect.\n- **checkbox__base** - The checkbox's exported `base` part.\n- **checkbox__control** - The checkbox's exported `control` part.\n- **checkbox__control--checked** - The checkbox's exported `control--checked` part.\n- **checkbox__control--indeterminate** - The checkbox's exported `control--indeterminate` part.\n- **checkbox__checked-icon** - The checkbox's exported `checked-icon` part.\n- **checkbox__indeterminate-icon** - The checkbox's exported `indeterminate-icon` part.\n- **checkbox__label** - The checkbox's exported `label` part.",
|
|
2196
|
-
"attributes": [
|
|
2197
|
-
{
|
|
2198
|
-
"name": "expanded",
|
|
2199
|
-
"description": "Expands the tree item.",
|
|
2200
|
-
"values": []
|
|
2201
|
-
},
|
|
2202
|
-
{
|
|
2203
|
-
"name": "selected",
|
|
2204
|
-
"description": "Draws the tree item in a selected state.",
|
|
2205
|
-
"values": []
|
|
2206
|
-
},
|
|
2207
|
-
{
|
|
2208
|
-
"name": "disabled",
|
|
2209
|
-
"description": "Disables the tree item.",
|
|
2210
|
-
"values": []
|
|
2211
|
-
},
|
|
2212
|
-
{
|
|
2213
|
-
"name": "lazy",
|
|
2214
|
-
"description": "Enables lazy loading behavior.",
|
|
2215
|
-
"values": []
|
|
2216
|
-
}
|
|
2217
|
-
],
|
|
2218
|
-
"references": []
|
|
2219
|
-
},
|
|
2220
2177
|
{
|
|
2221
2178
|
"name": "flow-ui-tooltip",
|
|
2222
2179
|
"description": "Tooltips display additional information based on a specific action.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-show** - Emitted when the tooltip begins to show.\n- **flow-ui-after-show** - Emitted after the tooltip has shown and all animations are complete.\n- **flow-ui-hide** - Emitted when the tooltip begins to hide.\n- **flow-ui-after-hide** - Emitted after the tooltip has hidden and all animations are complete.\n\n### **Methods:**\n - **show()** - Shows the tooltip.\n- **hide()** - Hides the tooltip\n\n### **Slots:**\n - _default_ - The tooltip's target element. Avoid slotting in more than one element, as subsequent ones will be ignored.\n- **content** - The content to render in the tooltip. Alternatively, you can use the `content` attribute.\n\n### **CSS Properties:**\n - **--max-width** - The maximum width of the tooltip before its content will wrap. _(default: undefined)_\n- **--hide-delay** - The amount of time to wait before hiding the tooltip when hovering. _(default: undefined)_\n- **--show-delay** - The amount of time to wait before showing the tooltip when hovering. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper, an `<flow-ui-popup>` element.\n- **base__popup** - The popup's exported `popup` part. Use this to target the tooltip's popup container.\n- **base__arrow** - The popup's exported `arrow` part. Use this to target the tooltip's arrow.\n- **body** - The tooltip's body where its content is rendered.",
|
|
@@ -2278,6 +2235,49 @@
|
|
|
2278
2235
|
],
|
|
2279
2236
|
"references": []
|
|
2280
2237
|
},
|
|
2238
|
+
{
|
|
2239
|
+
"name": "flow-ui-tree",
|
|
2240
|
+
"description": "Trees allow you to display a hierarchical list of selectable [tree items](/components/tree-item). Items with children can be expanded and collapsed as desired by the user.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-selection-change** - Emitted when a tree item is selected or deselected.\n\n### **Slots:**\n - _default_ - The default slot.\n- **expand-icon** - The icon to show when the tree item is expanded. Works best with `<flow-ui-icon>`.\n- **collapse-icon** - The icon to show when the tree item is collapsed. Works best with `<flow-ui-icon>`.\n\n### **CSS Properties:**\n - **--indent-size** - The size of the indentation for nested items. _(default: var(--flow-ui-spacing-medium))_\n- **--indent-guide-color** - The color of the indentation line. _(default: var(--flow-ui-color-neutral-200))_\n- **--indent-guide-offset** - The amount of vertical spacing to leave between the top and bottom of the indentation line's starting position. _(default: 0)_\n- **--indent-guide-style** - The style of the indentation line, e.g. solid, dotted, dashed. _(default: solid)_\n- **--indent-guide-width** - The width of the indentation line. _(default: 0)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
2241
|
+
"attributes": [
|
|
2242
|
+
{
|
|
2243
|
+
"name": "selection",
|
|
2244
|
+
"description": "The selection behavior of the tree. Single selection allows only one node to be selected at a time. Multiple\ndisplays checkboxes and allows more than one node to be selected. Leaf allows only leaf nodes to be selected.",
|
|
2245
|
+
"values": [
|
|
2246
|
+
{ "name": "single" },
|
|
2247
|
+
{ "name": "multiple" },
|
|
2248
|
+
{ "name": "leaf" }
|
|
2249
|
+
]
|
|
2250
|
+
}
|
|
2251
|
+
],
|
|
2252
|
+
"references": []
|
|
2253
|
+
},
|
|
2254
|
+
{
|
|
2255
|
+
"name": "flow-ui-tree-item",
|
|
2256
|
+
"description": "A tree item serves as a hierarchical node that lives inside a [tree](/components/tree).\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-expand** - Emitted when the tree item expands.\n- **flow-ui-after-expand** - Emitted after the tree item expands and all animations are complete.\n- **flow-ui-collapse** - Emitted when the tree item collapses.\n- **flow-ui-after-collapse** - Emitted after the tree item collapses and all animations are complete.\n- **flow-ui-lazy-change** - Emitted when the tree item's lazy state changes.\n- **flow-ui-lazy-load** - Emitted when a lazy item is selected. Use this event to asynchronously load data and append items to the tree before expanding. After appending new items, remove the `lazy` attribute to remove the loading state and update the tree.\n\n### **Methods:**\n - **getChildrenItems({ includeDisabled = true }: _{ includeDisabled?: boolean }_): _FlowTreeItem[]_** - Gets all the nested tree items in this node.\n\n### **Slots:**\n - _default_ - The default slot.\n- **expand-icon** - The icon to show when the tree item is expanded.\n- **collapse-icon** - The icon to show when the tree item is collapsed.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **item** - The tree item's container. This element wraps everything except slotted tree item children.\n- **item--disabled** - Applied when the tree item is disabled.\n- **item--expanded** - Applied when the tree item is expanded.\n- **item--indeterminate** - Applied when the selection is indeterminate.\n- **item--selected** - Applied when the tree item is selected.\n- **indentation** - The tree item's indentation container.\n- **expand-button** - The container that wraps the tree item's expand button and spinner.\n- **label** - The tree item's label.\n- **children** - The container that wraps the tree item's nested children.\n- **checkbox** - The checkbox that shows when using multiselect.\n- **checkbox__base** - The checkbox's exported `base` part.\n- **checkbox__control** - The checkbox's exported `control` part.\n- **checkbox__control--checked** - The checkbox's exported `control--checked` part.\n- **checkbox__control--indeterminate** - The checkbox's exported `control--indeterminate` part.\n- **checkbox__checked-icon** - The checkbox's exported `checked-icon` part.\n- **checkbox__indeterminate-icon** - The checkbox's exported `indeterminate-icon` part.\n- **checkbox__label** - The checkbox's exported `label` part.",
|
|
2257
|
+
"attributes": [
|
|
2258
|
+
{
|
|
2259
|
+
"name": "expanded",
|
|
2260
|
+
"description": "Expands the tree item.",
|
|
2261
|
+
"values": []
|
|
2262
|
+
},
|
|
2263
|
+
{
|
|
2264
|
+
"name": "selected",
|
|
2265
|
+
"description": "Draws the tree item in a selected state.",
|
|
2266
|
+
"values": []
|
|
2267
|
+
},
|
|
2268
|
+
{
|
|
2269
|
+
"name": "disabled",
|
|
2270
|
+
"description": "Disables the tree item.",
|
|
2271
|
+
"values": []
|
|
2272
|
+
},
|
|
2273
|
+
{
|
|
2274
|
+
"name": "lazy",
|
|
2275
|
+
"description": "Enables lazy loading behavior.",
|
|
2276
|
+
"values": []
|
|
2277
|
+
}
|
|
2278
|
+
],
|
|
2279
|
+
"references": []
|
|
2280
|
+
},
|
|
2281
2281
|
{
|
|
2282
2282
|
"name": "flow-ui-visually-hidden",
|
|
2283
2283
|
"description": "The visually hidden utility makes content accessible to assistive devices without displaying it on the screen.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The content to be visually hidden.",
|