@emuanalytics/flow-rdf-ui 4.1.17 → 4.1.18
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/input/input.component.mjs +2 -0
- package/dist/components/list-item/list-item.component.mjs +13 -5
- package/dist/components/list-item/list-item.styles.mjs +6 -2
- package/dist/components/range/range.component.mjs +1 -1
- package/dist/custom-elements.json +211 -189
- package/dist/index.d.mts +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/package.json.mjs +1 -1
- package/dist/vscode.html-custom-data.json +37 -36
- package/package.json +1 -1
|
@@ -428,6 +428,7 @@ class FlowUiInput extends FlowRdfFormControl {
|
|
|
428
428
|
library="system"
|
|
429
429
|
name="chevron-up"
|
|
430
430
|
tabindex="-1"
|
|
431
|
+
?disabled=${this.disabled}
|
|
431
432
|
@click=${() => {
|
|
432
433
|
this.stepUp();
|
|
433
434
|
this.handleChange();
|
|
@@ -438,6 +439,7 @@ class FlowUiInput extends FlowRdfFormControl {
|
|
|
438
439
|
library="system"
|
|
439
440
|
name="chevron-down"
|
|
440
441
|
tabindex="-1"
|
|
442
|
+
?disabled=${this.disabled}
|
|
441
443
|
@click=${() => {
|
|
442
444
|
this.stepDown();
|
|
443
445
|
this.handleChange();
|
|
@@ -23,6 +23,7 @@ class FlowUiListItem extends FlowRdfElement {
|
|
|
23
23
|
super();
|
|
24
24
|
this.hasSlotController = new HasSlotController(this, "prefix", "suffix", "menu");
|
|
25
25
|
this.hasFocus = false;
|
|
26
|
+
this.editMenuName = "Edit";
|
|
26
27
|
this.checked = false;
|
|
27
28
|
this.editable = false;
|
|
28
29
|
this.reorder = false;
|
|
@@ -56,9 +57,13 @@ class FlowUiListItem extends FlowRdfElement {
|
|
|
56
57
|
super.disconnectedCallback();
|
|
57
58
|
this.removeEventListeners();
|
|
58
59
|
}
|
|
60
|
+
/** @deprecated Use `edit` instead */
|
|
59
61
|
rename() {
|
|
60
62
|
this.input.focus();
|
|
61
63
|
}
|
|
64
|
+
edit() {
|
|
65
|
+
this.input.focus();
|
|
66
|
+
}
|
|
62
67
|
handleCheckedChange() {
|
|
63
68
|
this.setAttribute("aria-checked", this.checked ? "true" : "false");
|
|
64
69
|
this.setAttribute("tabindex", this.checked ? "0" : "-1");
|
|
@@ -85,8 +90,8 @@ class FlowUiListItem extends FlowRdfElement {
|
|
|
85
90
|
}
|
|
86
91
|
handleMenuSelect(ev) {
|
|
87
92
|
const menuItem = ev.detail.item;
|
|
88
|
-
if (menuItem.value === "
|
|
89
|
-
this.updateComplete.then(() => this.
|
|
93
|
+
if (menuItem.value === "edit") {
|
|
94
|
+
this.updateComplete.then(() => this.edit());
|
|
90
95
|
} else if (menuItem.value === "remove") {
|
|
91
96
|
const requestRemove = this.emit("flow-ui-remove", { cancelable: true });
|
|
92
97
|
if (!requestRemove.defaultPrevented) {
|
|
@@ -145,7 +150,7 @@ class FlowUiListItem extends FlowRdfElement {
|
|
|
145
150
|
></flow-ui-icon-button>
|
|
146
151
|
<flow-ui-menu @flow-ui-select=${this.handleMenuSelect}>
|
|
147
152
|
${this.editable ? html`
|
|
148
|
-
<flow-ui-menu-item value="
|
|
153
|
+
<flow-ui-menu-item value="edit">${this.editMenuName}</flow-ui-menu-item>
|
|
149
154
|
` : nothing}
|
|
150
155
|
${this.removable ? html`
|
|
151
156
|
<flow-ui-menu-item value="remove">Delete</flow-ui-menu-item>
|
|
@@ -192,7 +197,7 @@ class FlowUiListItem extends FlowRdfElement {
|
|
|
192
197
|
|
|
193
198
|
<flow-ui-input
|
|
194
199
|
exportparts="input"
|
|
195
|
-
|
|
200
|
+
filled
|
|
196
201
|
class="list-item__input"
|
|
197
202
|
.value=${this.label}
|
|
198
203
|
.readonly=${!this.editable}
|
|
@@ -200,7 +205,7 @@ class FlowUiListItem extends FlowRdfElement {
|
|
|
200
205
|
@flow-ui-change=${this.handleInputEvents}
|
|
201
206
|
@flow-ui-input=${this.handleInputEvents}
|
|
202
207
|
></flow-ui-input>
|
|
203
|
-
|
|
208
|
+
<!--<div class="list-item__spacer"></div>-->
|
|
204
209
|
<slot name="suffix" part="suffix" class="list-item__suffix"></slot>
|
|
205
210
|
|
|
206
211
|
${hasMenu ? this.renderMenu() : nothing}
|
|
@@ -218,6 +223,9 @@ __decorateClass([
|
|
|
218
223
|
__decorateClass([
|
|
219
224
|
property({ reflect: true })
|
|
220
225
|
], FlowUiListItem.prototype, "label", 2);
|
|
226
|
+
__decorateClass([
|
|
227
|
+
property({ attribute: "edit-menu-name" })
|
|
228
|
+
], FlowUiListItem.prototype, "editMenuName", 2);
|
|
221
229
|
__decorateClass([
|
|
222
230
|
property({ reflect: true })
|
|
223
231
|
], FlowUiListItem.prototype, "value", 2);
|
|
@@ -69,8 +69,11 @@ const styles = css`
|
|
|
69
69
|
color: var(--accessory-color);
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
.list-
|
|
73
|
-
|
|
72
|
+
.list-item .list-item__input::part(form-control) {
|
|
73
|
+
--control-background-color: var(--flow-ui-control-inline-background-color);
|
|
74
|
+
--control-background-color-hover: var(--flow-ui-control-inline-background-color-hover);
|
|
75
|
+
--control-background-color-focus: var(--flow-ui-control-inline-background-color-focus);
|
|
76
|
+
--control-background-color-disabled: var(--flow-ui-control-inline-background-color-disabled);
|
|
74
77
|
}
|
|
75
78
|
|
|
76
79
|
.list-item:not(.list-item--editable) .list-item__input::part(form-control) {
|
|
@@ -92,6 +95,7 @@ const styles = css`
|
|
|
92
95
|
}
|
|
93
96
|
|
|
94
97
|
.list-item__input {
|
|
98
|
+
flex: 1;
|
|
95
99
|
margin-left: calc(var(--padding) * -0.5);
|
|
96
100
|
}
|
|
97
101
|
`;
|
|
@@ -1417,6 +1417,191 @@
|
|
|
1417
1417
|
}
|
|
1418
1418
|
]
|
|
1419
1419
|
},
|
|
1420
|
+
{
|
|
1421
|
+
"kind": "javascript-module",
|
|
1422
|
+
"path": "components/avatar/avatar.component.js",
|
|
1423
|
+
"declarations": [
|
|
1424
|
+
{
|
|
1425
|
+
"kind": "class",
|
|
1426
|
+
"description": "",
|
|
1427
|
+
"name": "FlowUiAvatar",
|
|
1428
|
+
"cssProperties": [
|
|
1429
|
+
{
|
|
1430
|
+
"description": "The size of the avatar.",
|
|
1431
|
+
"name": "--size"
|
|
1432
|
+
}
|
|
1433
|
+
],
|
|
1434
|
+
"cssParts": [
|
|
1435
|
+
{
|
|
1436
|
+
"description": "The component's base wrapper.",
|
|
1437
|
+
"name": "base"
|
|
1438
|
+
},
|
|
1439
|
+
{
|
|
1440
|
+
"description": "The container that wraps the avatar's icon.",
|
|
1441
|
+
"name": "icon"
|
|
1442
|
+
},
|
|
1443
|
+
{
|
|
1444
|
+
"description": "The container that wraps the avatar's initials.",
|
|
1445
|
+
"name": "initials"
|
|
1446
|
+
},
|
|
1447
|
+
{
|
|
1448
|
+
"description": "The avatar image. Only shown when the `image` attribute is set.",
|
|
1449
|
+
"name": "image"
|
|
1450
|
+
}
|
|
1451
|
+
],
|
|
1452
|
+
"slots": [
|
|
1453
|
+
{
|
|
1454
|
+
"description": "The default icon to use when no image or initials are present. Works best with `<flow-ui-icon>`.",
|
|
1455
|
+
"name": "icon"
|
|
1456
|
+
}
|
|
1457
|
+
],
|
|
1458
|
+
"members": [
|
|
1459
|
+
{
|
|
1460
|
+
"kind": "field",
|
|
1461
|
+
"name": "hasError",
|
|
1462
|
+
"type": {
|
|
1463
|
+
"text": "boolean"
|
|
1464
|
+
},
|
|
1465
|
+
"privacy": "private",
|
|
1466
|
+
"default": "false"
|
|
1467
|
+
},
|
|
1468
|
+
{
|
|
1469
|
+
"kind": "field",
|
|
1470
|
+
"name": "image",
|
|
1471
|
+
"type": {
|
|
1472
|
+
"text": "string"
|
|
1473
|
+
},
|
|
1474
|
+
"default": "''",
|
|
1475
|
+
"description": "The image source to use for the avatar.",
|
|
1476
|
+
"attribute": "image"
|
|
1477
|
+
},
|
|
1478
|
+
{
|
|
1479
|
+
"kind": "field",
|
|
1480
|
+
"name": "label",
|
|
1481
|
+
"type": {
|
|
1482
|
+
"text": "string"
|
|
1483
|
+
},
|
|
1484
|
+
"default": "''",
|
|
1485
|
+
"description": "A label to use to describe the avatar to assistive devices.",
|
|
1486
|
+
"attribute": "label"
|
|
1487
|
+
},
|
|
1488
|
+
{
|
|
1489
|
+
"kind": "field",
|
|
1490
|
+
"name": "initials",
|
|
1491
|
+
"type": {
|
|
1492
|
+
"text": "string"
|
|
1493
|
+
},
|
|
1494
|
+
"default": "''",
|
|
1495
|
+
"description": "Initials to use as a fallback when no image is available (1-2 characters max recommended).",
|
|
1496
|
+
"attribute": "initials"
|
|
1497
|
+
},
|
|
1498
|
+
{
|
|
1499
|
+
"kind": "field",
|
|
1500
|
+
"name": "loading",
|
|
1501
|
+
"type": {
|
|
1502
|
+
"text": "'eager' | 'lazy'"
|
|
1503
|
+
},
|
|
1504
|
+
"default": "'eager'",
|
|
1505
|
+
"description": "Indicates how the browser should load the image.",
|
|
1506
|
+
"attribute": "loading"
|
|
1507
|
+
},
|
|
1508
|
+
{
|
|
1509
|
+
"kind": "field",
|
|
1510
|
+
"name": "shape",
|
|
1511
|
+
"type": {
|
|
1512
|
+
"text": "'circle' | 'square' | 'rounded'"
|
|
1513
|
+
},
|
|
1514
|
+
"default": "'circle'",
|
|
1515
|
+
"description": "The shape of the avatar.",
|
|
1516
|
+
"attribute": "shape",
|
|
1517
|
+
"reflects": true
|
|
1518
|
+
}
|
|
1519
|
+
],
|
|
1520
|
+
"attributes": [
|
|
1521
|
+
{
|
|
1522
|
+
"name": "image",
|
|
1523
|
+
"type": {
|
|
1524
|
+
"text": "string"
|
|
1525
|
+
},
|
|
1526
|
+
"default": "''",
|
|
1527
|
+
"description": "The image source to use for the avatar.",
|
|
1528
|
+
"fieldName": "image"
|
|
1529
|
+
},
|
|
1530
|
+
{
|
|
1531
|
+
"name": "label",
|
|
1532
|
+
"type": {
|
|
1533
|
+
"text": "string"
|
|
1534
|
+
},
|
|
1535
|
+
"default": "''",
|
|
1536
|
+
"description": "A label to use to describe the avatar to assistive devices.",
|
|
1537
|
+
"fieldName": "label"
|
|
1538
|
+
},
|
|
1539
|
+
{
|
|
1540
|
+
"name": "initials",
|
|
1541
|
+
"type": {
|
|
1542
|
+
"text": "string"
|
|
1543
|
+
},
|
|
1544
|
+
"default": "''",
|
|
1545
|
+
"description": "Initials to use as a fallback when no image is available (1-2 characters max recommended).",
|
|
1546
|
+
"fieldName": "initials"
|
|
1547
|
+
},
|
|
1548
|
+
{
|
|
1549
|
+
"name": "loading",
|
|
1550
|
+
"type": {
|
|
1551
|
+
"text": "'eager' | 'lazy'"
|
|
1552
|
+
},
|
|
1553
|
+
"default": "'eager'",
|
|
1554
|
+
"description": "Indicates how the browser should load the image.",
|
|
1555
|
+
"fieldName": "loading"
|
|
1556
|
+
},
|
|
1557
|
+
{
|
|
1558
|
+
"name": "shape",
|
|
1559
|
+
"type": {
|
|
1560
|
+
"text": "'circle' | 'square' | 'rounded'"
|
|
1561
|
+
},
|
|
1562
|
+
"default": "'circle'",
|
|
1563
|
+
"description": "The shape of the avatar.",
|
|
1564
|
+
"fieldName": "shape"
|
|
1565
|
+
}
|
|
1566
|
+
],
|
|
1567
|
+
"superclass": {
|
|
1568
|
+
"name": "FlowRdfElement",
|
|
1569
|
+
"module": "/src/internal/flow-ui-rdf-element"
|
|
1570
|
+
},
|
|
1571
|
+
"tagName": "flow-ui-avatar",
|
|
1572
|
+
"summary": "Avatars are used to represent a person or object.",
|
|
1573
|
+
"dependencies": [
|
|
1574
|
+
"flow-ui-icon"
|
|
1575
|
+
],
|
|
1576
|
+
"customElement": true
|
|
1577
|
+
}
|
|
1578
|
+
],
|
|
1579
|
+
"exports": [
|
|
1580
|
+
{
|
|
1581
|
+
"kind": "js",
|
|
1582
|
+
"name": "default",
|
|
1583
|
+
"declaration": {
|
|
1584
|
+
"name": "FlowUiAvatar",
|
|
1585
|
+
"module": "components/avatar/avatar.component.js"
|
|
1586
|
+
}
|
|
1587
|
+
}
|
|
1588
|
+
]
|
|
1589
|
+
},
|
|
1590
|
+
{
|
|
1591
|
+
"kind": "javascript-module",
|
|
1592
|
+
"path": "components/avatar/avatar.js",
|
|
1593
|
+
"declarations": [],
|
|
1594
|
+
"exports": [
|
|
1595
|
+
{
|
|
1596
|
+
"kind": "js",
|
|
1597
|
+
"name": "default",
|
|
1598
|
+
"declaration": {
|
|
1599
|
+
"name": "FlowUiAvatar",
|
|
1600
|
+
"module": "components/avatar/avatar.js"
|
|
1601
|
+
}
|
|
1602
|
+
}
|
|
1603
|
+
]
|
|
1604
|
+
},
|
|
1420
1605
|
{
|
|
1421
1606
|
"kind": "javascript-module",
|
|
1422
1607
|
"path": "components/breadcrumb/breadcrumb.component.js",
|
|
@@ -2148,191 +2333,6 @@
|
|
|
2148
2333
|
}
|
|
2149
2334
|
]
|
|
2150
2335
|
},
|
|
2151
|
-
{
|
|
2152
|
-
"kind": "javascript-module",
|
|
2153
|
-
"path": "components/avatar/avatar.component.js",
|
|
2154
|
-
"declarations": [
|
|
2155
|
-
{
|
|
2156
|
-
"kind": "class",
|
|
2157
|
-
"description": "",
|
|
2158
|
-
"name": "FlowUiAvatar",
|
|
2159
|
-
"cssProperties": [
|
|
2160
|
-
{
|
|
2161
|
-
"description": "The size of the avatar.",
|
|
2162
|
-
"name": "--size"
|
|
2163
|
-
}
|
|
2164
|
-
],
|
|
2165
|
-
"cssParts": [
|
|
2166
|
-
{
|
|
2167
|
-
"description": "The component's base wrapper.",
|
|
2168
|
-
"name": "base"
|
|
2169
|
-
},
|
|
2170
|
-
{
|
|
2171
|
-
"description": "The container that wraps the avatar's icon.",
|
|
2172
|
-
"name": "icon"
|
|
2173
|
-
},
|
|
2174
|
-
{
|
|
2175
|
-
"description": "The container that wraps the avatar's initials.",
|
|
2176
|
-
"name": "initials"
|
|
2177
|
-
},
|
|
2178
|
-
{
|
|
2179
|
-
"description": "The avatar image. Only shown when the `image` attribute is set.",
|
|
2180
|
-
"name": "image"
|
|
2181
|
-
}
|
|
2182
|
-
],
|
|
2183
|
-
"slots": [
|
|
2184
|
-
{
|
|
2185
|
-
"description": "The default icon to use when no image or initials are present. Works best with `<flow-ui-icon>`.",
|
|
2186
|
-
"name": "icon"
|
|
2187
|
-
}
|
|
2188
|
-
],
|
|
2189
|
-
"members": [
|
|
2190
|
-
{
|
|
2191
|
-
"kind": "field",
|
|
2192
|
-
"name": "hasError",
|
|
2193
|
-
"type": {
|
|
2194
|
-
"text": "boolean"
|
|
2195
|
-
},
|
|
2196
|
-
"privacy": "private",
|
|
2197
|
-
"default": "false"
|
|
2198
|
-
},
|
|
2199
|
-
{
|
|
2200
|
-
"kind": "field",
|
|
2201
|
-
"name": "image",
|
|
2202
|
-
"type": {
|
|
2203
|
-
"text": "string"
|
|
2204
|
-
},
|
|
2205
|
-
"default": "''",
|
|
2206
|
-
"description": "The image source to use for the avatar.",
|
|
2207
|
-
"attribute": "image"
|
|
2208
|
-
},
|
|
2209
|
-
{
|
|
2210
|
-
"kind": "field",
|
|
2211
|
-
"name": "label",
|
|
2212
|
-
"type": {
|
|
2213
|
-
"text": "string"
|
|
2214
|
-
},
|
|
2215
|
-
"default": "''",
|
|
2216
|
-
"description": "A label to use to describe the avatar to assistive devices.",
|
|
2217
|
-
"attribute": "label"
|
|
2218
|
-
},
|
|
2219
|
-
{
|
|
2220
|
-
"kind": "field",
|
|
2221
|
-
"name": "initials",
|
|
2222
|
-
"type": {
|
|
2223
|
-
"text": "string"
|
|
2224
|
-
},
|
|
2225
|
-
"default": "''",
|
|
2226
|
-
"description": "Initials to use as a fallback when no image is available (1-2 characters max recommended).",
|
|
2227
|
-
"attribute": "initials"
|
|
2228
|
-
},
|
|
2229
|
-
{
|
|
2230
|
-
"kind": "field",
|
|
2231
|
-
"name": "loading",
|
|
2232
|
-
"type": {
|
|
2233
|
-
"text": "'eager' | 'lazy'"
|
|
2234
|
-
},
|
|
2235
|
-
"default": "'eager'",
|
|
2236
|
-
"description": "Indicates how the browser should load the image.",
|
|
2237
|
-
"attribute": "loading"
|
|
2238
|
-
},
|
|
2239
|
-
{
|
|
2240
|
-
"kind": "field",
|
|
2241
|
-
"name": "shape",
|
|
2242
|
-
"type": {
|
|
2243
|
-
"text": "'circle' | 'square' | 'rounded'"
|
|
2244
|
-
},
|
|
2245
|
-
"default": "'circle'",
|
|
2246
|
-
"description": "The shape of the avatar.",
|
|
2247
|
-
"attribute": "shape",
|
|
2248
|
-
"reflects": true
|
|
2249
|
-
}
|
|
2250
|
-
],
|
|
2251
|
-
"attributes": [
|
|
2252
|
-
{
|
|
2253
|
-
"name": "image",
|
|
2254
|
-
"type": {
|
|
2255
|
-
"text": "string"
|
|
2256
|
-
},
|
|
2257
|
-
"default": "''",
|
|
2258
|
-
"description": "The image source to use for the avatar.",
|
|
2259
|
-
"fieldName": "image"
|
|
2260
|
-
},
|
|
2261
|
-
{
|
|
2262
|
-
"name": "label",
|
|
2263
|
-
"type": {
|
|
2264
|
-
"text": "string"
|
|
2265
|
-
},
|
|
2266
|
-
"default": "''",
|
|
2267
|
-
"description": "A label to use to describe the avatar to assistive devices.",
|
|
2268
|
-
"fieldName": "label"
|
|
2269
|
-
},
|
|
2270
|
-
{
|
|
2271
|
-
"name": "initials",
|
|
2272
|
-
"type": {
|
|
2273
|
-
"text": "string"
|
|
2274
|
-
},
|
|
2275
|
-
"default": "''",
|
|
2276
|
-
"description": "Initials to use as a fallback when no image is available (1-2 characters max recommended).",
|
|
2277
|
-
"fieldName": "initials"
|
|
2278
|
-
},
|
|
2279
|
-
{
|
|
2280
|
-
"name": "loading",
|
|
2281
|
-
"type": {
|
|
2282
|
-
"text": "'eager' | 'lazy'"
|
|
2283
|
-
},
|
|
2284
|
-
"default": "'eager'",
|
|
2285
|
-
"description": "Indicates how the browser should load the image.",
|
|
2286
|
-
"fieldName": "loading"
|
|
2287
|
-
},
|
|
2288
|
-
{
|
|
2289
|
-
"name": "shape",
|
|
2290
|
-
"type": {
|
|
2291
|
-
"text": "'circle' | 'square' | 'rounded'"
|
|
2292
|
-
},
|
|
2293
|
-
"default": "'circle'",
|
|
2294
|
-
"description": "The shape of the avatar.",
|
|
2295
|
-
"fieldName": "shape"
|
|
2296
|
-
}
|
|
2297
|
-
],
|
|
2298
|
-
"superclass": {
|
|
2299
|
-
"name": "FlowRdfElement",
|
|
2300
|
-
"module": "/src/internal/flow-ui-rdf-element"
|
|
2301
|
-
},
|
|
2302
|
-
"tagName": "flow-ui-avatar",
|
|
2303
|
-
"summary": "Avatars are used to represent a person or object.",
|
|
2304
|
-
"dependencies": [
|
|
2305
|
-
"flow-ui-icon"
|
|
2306
|
-
],
|
|
2307
|
-
"customElement": true
|
|
2308
|
-
}
|
|
2309
|
-
],
|
|
2310
|
-
"exports": [
|
|
2311
|
-
{
|
|
2312
|
-
"kind": "js",
|
|
2313
|
-
"name": "default",
|
|
2314
|
-
"declaration": {
|
|
2315
|
-
"name": "FlowUiAvatar",
|
|
2316
|
-
"module": "components/avatar/avatar.component.js"
|
|
2317
|
-
}
|
|
2318
|
-
}
|
|
2319
|
-
]
|
|
2320
|
-
},
|
|
2321
|
-
{
|
|
2322
|
-
"kind": "javascript-module",
|
|
2323
|
-
"path": "components/avatar/avatar.js",
|
|
2324
|
-
"declarations": [],
|
|
2325
|
-
"exports": [
|
|
2326
|
-
{
|
|
2327
|
-
"kind": "js",
|
|
2328
|
-
"name": "default",
|
|
2329
|
-
"declaration": {
|
|
2330
|
-
"name": "FlowUiAvatar",
|
|
2331
|
-
"module": "components/avatar/avatar.js"
|
|
2332
|
-
}
|
|
2333
|
-
}
|
|
2334
|
-
]
|
|
2335
|
-
},
|
|
2336
2336
|
{
|
|
2337
2337
|
"kind": "javascript-module",
|
|
2338
2338
|
"path": "components/badge/badge.component.js",
|
|
@@ -12850,6 +12850,15 @@
|
|
|
12850
12850
|
"attribute": "label",
|
|
12851
12851
|
"reflects": true
|
|
12852
12852
|
},
|
|
12853
|
+
{
|
|
12854
|
+
"kind": "field",
|
|
12855
|
+
"name": "editMenuName",
|
|
12856
|
+
"type": {
|
|
12857
|
+
"text": "string"
|
|
12858
|
+
},
|
|
12859
|
+
"default": "'Edit'",
|
|
12860
|
+
"attribute": "edit-menu-name"
|
|
12861
|
+
},
|
|
12853
12862
|
{
|
|
12854
12863
|
"kind": "field",
|
|
12855
12864
|
"name": "value",
|
|
@@ -12916,7 +12925,12 @@
|
|
|
12916
12925
|
},
|
|
12917
12926
|
{
|
|
12918
12927
|
"kind": "method",
|
|
12919
|
-
"name": "rename"
|
|
12928
|
+
"name": "rename",
|
|
12929
|
+
"deprecated": "Use `edit` instead"
|
|
12930
|
+
},
|
|
12931
|
+
{
|
|
12932
|
+
"kind": "method",
|
|
12933
|
+
"name": "edit"
|
|
12920
12934
|
},
|
|
12921
12935
|
{
|
|
12922
12936
|
"kind": "method",
|
|
@@ -13075,6 +13089,14 @@
|
|
|
13075
13089
|
"description": "The label text for the list item.",
|
|
13076
13090
|
"fieldName": "label"
|
|
13077
13091
|
},
|
|
13092
|
+
{
|
|
13093
|
+
"name": "edit-menu-name",
|
|
13094
|
+
"type": {
|
|
13095
|
+
"text": "string"
|
|
13096
|
+
},
|
|
13097
|
+
"default": "'Edit'",
|
|
13098
|
+
"fieldName": "editMenuName"
|
|
13099
|
+
},
|
|
13078
13100
|
{
|
|
13079
13101
|
"name": "value",
|
|
13080
13102
|
"type": {
|
|
@@ -17581,7 +17603,7 @@
|
|
|
17581
17603
|
"type": {
|
|
17582
17604
|
"text": "string"
|
|
17583
17605
|
},
|
|
17584
|
-
"default": "''",
|
|
17606
|
+
"default": "'0'",
|
|
17585
17607
|
"description": "Number format to use for numeric display. (D3 format string)",
|
|
17586
17608
|
"attribute": "format"
|
|
17587
17609
|
},
|
|
@@ -17908,7 +17930,7 @@
|
|
|
17908
17930
|
"type": {
|
|
17909
17931
|
"text": "string"
|
|
17910
17932
|
},
|
|
17911
|
-
"default": "''",
|
|
17933
|
+
"default": "'0'",
|
|
17912
17934
|
"description": "Number format to use for numeric display. (D3 format string)",
|
|
17913
17935
|
"fieldName": "format"
|
|
17914
17936
|
},
|
|
@@ -25873,6 +25895,6 @@
|
|
|
25873
25895
|
],
|
|
25874
25896
|
"package": {
|
|
25875
25897
|
"name": "@emuanalytics/flow-rdf-ui",
|
|
25876
|
-
"version": "4.1.
|
|
25898
|
+
"version": "4.1.18"
|
|
25877
25899
|
}
|
|
25878
25900
|
}
|
package/dist/index.d.mts
CHANGED
|
@@ -4660,6 +4660,7 @@ declare class FlowUiListItem extends FlowRdfElement {
|
|
|
4660
4660
|
input: FlowUiInput;
|
|
4661
4661
|
/** The label text for the list item. */
|
|
4662
4662
|
label: string;
|
|
4663
|
+
editMenuName: string;
|
|
4663
4664
|
/** The tracking value (id) for the list item. */
|
|
4664
4665
|
value: string;
|
|
4665
4666
|
checked: boolean;
|
|
@@ -4676,7 +4677,9 @@ declare class FlowUiListItem extends FlowRdfElement {
|
|
|
4676
4677
|
constructor();
|
|
4677
4678
|
connectedCallback(): void;
|
|
4678
4679
|
disconnectedCallback(): void;
|
|
4680
|
+
/** @deprecated Use `edit` instead */
|
|
4679
4681
|
rename(): void;
|
|
4682
|
+
edit(): void;
|
|
4680
4683
|
/** @internal */
|
|
4681
4684
|
handleCheckedChange(): void;
|
|
4682
4685
|
private addEventListeners;
|
package/dist/index.d.ts
CHANGED
|
@@ -4660,6 +4660,7 @@ declare class FlowUiListItem extends FlowRdfElement {
|
|
|
4660
4660
|
input: FlowUiInput;
|
|
4661
4661
|
/** The label text for the list item. */
|
|
4662
4662
|
label: string;
|
|
4663
|
+
editMenuName: string;
|
|
4663
4664
|
/** The tracking value (id) for the list item. */
|
|
4664
4665
|
value: string;
|
|
4665
4666
|
checked: boolean;
|
|
@@ -4676,7 +4677,9 @@ declare class FlowUiListItem extends FlowRdfElement {
|
|
|
4676
4677
|
constructor();
|
|
4677
4678
|
connectedCallback(): void;
|
|
4678
4679
|
disconnectedCallback(): void;
|
|
4680
|
+
/** @deprecated Use `edit` instead */
|
|
4679
4681
|
rename(): void;
|
|
4682
|
+
edit(): void;
|
|
4680
4683
|
/** @internal */
|
|
4681
4684
|
handleCheckedChange(): void;
|
|
4682
4685
|
private addEventListeners;
|
package/dist/package.json.mjs
CHANGED
|
@@ -201,6 +201,42 @@
|
|
|
201
201
|
],
|
|
202
202
|
"references": []
|
|
203
203
|
},
|
|
204
|
+
{
|
|
205
|
+
"name": "flow-ui-avatar",
|
|
206
|
+
"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.",
|
|
207
|
+
"attributes": [
|
|
208
|
+
{
|
|
209
|
+
"name": "image",
|
|
210
|
+
"description": "The image source to use for the avatar.",
|
|
211
|
+
"values": []
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"name": "label",
|
|
215
|
+
"description": "A label to use to describe the avatar to assistive devices.",
|
|
216
|
+
"values": []
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"name": "initials",
|
|
220
|
+
"description": "Initials to use as a fallback when no image is available (1-2 characters max recommended).",
|
|
221
|
+
"values": []
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"name": "loading",
|
|
225
|
+
"description": "Indicates how the browser should load the image.",
|
|
226
|
+
"values": [{ "name": "eager" }, { "name": "lazy" }]
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"name": "shape",
|
|
230
|
+
"description": "The shape of the avatar.",
|
|
231
|
+
"values": [
|
|
232
|
+
{ "name": "circle" },
|
|
233
|
+
{ "name": "square" },
|
|
234
|
+
{ "name": "rounded" }
|
|
235
|
+
]
|
|
236
|
+
}
|
|
237
|
+
],
|
|
238
|
+
"references": []
|
|
239
|
+
},
|
|
204
240
|
{
|
|
205
241
|
"name": "flow-ui-breadcrumb",
|
|
206
242
|
"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.",
|
|
@@ -301,42 +337,6 @@
|
|
|
301
337
|
],
|
|
302
338
|
"references": []
|
|
303
339
|
},
|
|
304
|
-
{
|
|
305
|
-
"name": "flow-ui-avatar",
|
|
306
|
-
"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.",
|
|
307
|
-
"attributes": [
|
|
308
|
-
{
|
|
309
|
-
"name": "image",
|
|
310
|
-
"description": "The image source to use for the avatar.",
|
|
311
|
-
"values": []
|
|
312
|
-
},
|
|
313
|
-
{
|
|
314
|
-
"name": "label",
|
|
315
|
-
"description": "A label to use to describe the avatar to assistive devices.",
|
|
316
|
-
"values": []
|
|
317
|
-
},
|
|
318
|
-
{
|
|
319
|
-
"name": "initials",
|
|
320
|
-
"description": "Initials to use as a fallback when no image is available (1-2 characters max recommended).",
|
|
321
|
-
"values": []
|
|
322
|
-
},
|
|
323
|
-
{
|
|
324
|
-
"name": "loading",
|
|
325
|
-
"description": "Indicates how the browser should load the image.",
|
|
326
|
-
"values": [{ "name": "eager" }, { "name": "lazy" }]
|
|
327
|
-
},
|
|
328
|
-
{
|
|
329
|
-
"name": "shape",
|
|
330
|
-
"description": "The shape of the avatar.",
|
|
331
|
-
"values": [
|
|
332
|
-
{ "name": "circle" },
|
|
333
|
-
{ "name": "square" },
|
|
334
|
-
{ "name": "rounded" }
|
|
335
|
-
]
|
|
336
|
-
}
|
|
337
|
-
],
|
|
338
|
-
"references": []
|
|
339
|
-
},
|
|
340
340
|
{
|
|
341
341
|
"name": "flow-ui-badge",
|
|
342
342
|
"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.",
|
|
@@ -1770,6 +1770,7 @@
|
|
|
1770
1770
|
"description": "The label text for the list item.",
|
|
1771
1771
|
"values": []
|
|
1772
1772
|
},
|
|
1773
|
+
{ "name": "edit-menu-name", "values": [] },
|
|
1773
1774
|
{
|
|
1774
1775
|
"name": "value",
|
|
1775
1776
|
"description": "The tracking value (id) for the list item.",
|