@emuanalytics/flow-rdf-ui 4.1.0-preview.21 → 4.1.0-preview.23
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/list/list.component.mjs +102 -3
- package/dist/components/list/list.styles.mjs +1 -1
- package/dist/components/list-item/list-item.component.mjs +61 -15
- package/dist/components/list-item/list-item.styles.mjs +21 -1
- package/dist/custom-elements.json +3576 -3496
- package/dist/index.d.mts +30 -20
- package/dist/index.d.ts +30 -20
- package/dist/package.json.mjs +1 -1
- package/dist/vscode.html-custom-data.json +192 -176
- package/package.json +1 -1
- package/themes/dark.css +7 -3
- package/themes/dark.styles.js +7 -3
- package/themes/light.css +7 -3
- package/themes/light.styles.js +7 -3
package/dist/index.d.mts
CHANGED
|
@@ -4374,6 +4374,9 @@ declare global {
|
|
|
4374
4374
|
* @event flow-ui-remove - Emitted when the list item is removed. Calling `event.preventDefault()` will cancel the removal.
|
|
4375
4375
|
* @event flow-ui-select - Emitted when a menu item is selected.
|
|
4376
4376
|
*
|
|
4377
|
+
* @event flow-ui-blur - Emitted when the control loses focus.
|
|
4378
|
+
* @event flow-ui-focus - Emitted when the control gains focus.
|
|
4379
|
+
*
|
|
4377
4380
|
* @csspart base - The component's base wrapper.
|
|
4378
4381
|
* @csspart input - The list item's flow-ui-input control.
|
|
4379
4382
|
* @csspart prefix - The container that wraps the prefix.
|
|
@@ -4391,21 +4394,32 @@ declare class FlowUiListItem extends FlowRdfElement {
|
|
|
4391
4394
|
static styles: CSSResultGroup;
|
|
4392
4395
|
private readonly hasSlotController;
|
|
4393
4396
|
/** @internal */
|
|
4397
|
+
protected hasFocus: boolean;
|
|
4398
|
+
/** @internal */
|
|
4394
4399
|
input: FlowUiInput;
|
|
4395
4400
|
/** The label text for the list item. */
|
|
4396
4401
|
label: string;
|
|
4397
4402
|
/** The tracking value (id) for the list item. */
|
|
4398
4403
|
value: string;
|
|
4404
|
+
checked: boolean;
|
|
4399
4405
|
/** Set to enable renaming of the list item text. */
|
|
4400
|
-
|
|
4406
|
+
editable: boolean;
|
|
4401
4407
|
/** Set to reordering of the list item. */
|
|
4402
4408
|
reorder: boolean;
|
|
4403
4409
|
/** Set to enable removing the list item. */
|
|
4404
4410
|
removable: boolean;
|
|
4411
|
+
/** Set to enable removing the list item. */
|
|
4412
|
+
disabled: boolean;
|
|
4405
4413
|
constructor();
|
|
4406
4414
|
connectedCallback(): void;
|
|
4407
4415
|
disconnectedCallback(): void;
|
|
4408
4416
|
rename(): void;
|
|
4417
|
+
/** @internal */
|
|
4418
|
+
handleCheckedChange(): void;
|
|
4419
|
+
private addEventListeners;
|
|
4420
|
+
private removeEventListeners;
|
|
4421
|
+
private handleBlur;
|
|
4422
|
+
private handleFocus;
|
|
4409
4423
|
private handleMenuSelect;
|
|
4410
4424
|
private handleInputEvents;
|
|
4411
4425
|
private handleReorderPointerDown;
|
|
@@ -4424,37 +4438,25 @@ declare class FlowUiListItem extends FlowRdfElement {
|
|
|
4424
4438
|
*
|
|
4425
4439
|
* @dependency flow-ui-list-item
|
|
4426
4440
|
*
|
|
4427
|
-
* @
|
|
4428
|
-
* @
|
|
4429
|
-
* @slot suffix - The panel header's suffix content.
|
|
4430
|
-
* @slot expand-icon - Specify an alternative `<flow-ui-icon>` to use for the expand icon.
|
|
4431
|
-
* @slot collapse-icon - Specify an alternative `<flow-ui-icon>` to use for the collapse icon.
|
|
4441
|
+
* @event flow-ui-change - Emitted when a list item is renamed **or** a list item is selected (selectable lists only).
|
|
4442
|
+
* @event flow-ui-input - Emitted when a list item is selected (selectable lists only).
|
|
4432
4443
|
*
|
|
4433
|
-
* @event flow-ui-change - Emitted when a list item is renamed.
|
|
4434
4444
|
* @event flow-ui-remove - Emitted when a list item is removed.
|
|
4435
4445
|
* @event flow-ui-drag-start - Emitted when the user starts dragging to reorder list items.
|
|
4436
4446
|
* @event flow-ui-drag-drop - Emitted when the user drops a list item to reorder it.
|
|
4437
4447
|
* @event flow-ui-drag-end - Emitted when the drag-drop operation has finished or been cancelled.
|
|
4438
4448
|
*
|
|
4439
|
-
* @csspart base - The component's base wrapper.
|
|
4440
|
-
* @csspart label - The container that wraps the label.
|
|
4441
|
-
* @csspart prefix - The container that wraps the prefix.
|
|
4442
|
-
* @csspart suffix - The container that wraps the suffix.
|
|
4443
|
-
* @csspart toggle-icon - The container that wraps the expand/collapse icon.
|
|
4444
|
-
*
|
|
4445
|
-
*
|
|
4446
|
-
* @cssproperty padding - The padding around the list item`.
|
|
4447
|
-
* @cssproperty height - The height of the list item.
|
|
4448
|
-
* @cssproperty background-color - The background color of the list item.
|
|
4449
|
-
* @cssproperty color - The text color of the list item.
|
|
4450
|
-
* @cssproperty accessory-color - The color of the accessory controls.
|
|
4451
4449
|
*/
|
|
4452
4450
|
declare class FlowUiList extends FlowRdfElement {
|
|
4453
4451
|
static styles: CSSResultGroup;
|
|
4454
4452
|
private draggedItem;
|
|
4455
4453
|
private draggedOverItem;
|
|
4454
|
+
/** The current selected list item. (selectable lists only) */
|
|
4455
|
+
value: string;
|
|
4456
|
+
/** Set to enable radio-button-style selection of list items. */
|
|
4457
|
+
selectable: boolean;
|
|
4456
4458
|
/** Set to enable renaming of the list item text. */
|
|
4457
|
-
|
|
4459
|
+
editable: boolean;
|
|
4458
4460
|
/** Set to reordering of the list item. */
|
|
4459
4461
|
reorder: boolean;
|
|
4460
4462
|
/** Set to enable removing the list item. */
|
|
@@ -4463,6 +4465,14 @@ declare class FlowUiList extends FlowRdfElement {
|
|
|
4463
4465
|
connectedCallback(): void;
|
|
4464
4466
|
disconnectedCallback(): void;
|
|
4465
4467
|
get listItems(): FlowUiListItem[];
|
|
4468
|
+
/** @internal */
|
|
4469
|
+
handleStyleChange(): void;
|
|
4470
|
+
/** @internal */
|
|
4471
|
+
handleValueChange(): void;
|
|
4472
|
+
private handleItemClick;
|
|
4473
|
+
private handleKeyDown;
|
|
4474
|
+
private syncItems;
|
|
4475
|
+
private updateCheckedItem;
|
|
4466
4476
|
private handleDragStart;
|
|
4467
4477
|
private handleDragOver;
|
|
4468
4478
|
private handleDrop;
|
package/dist/index.d.ts
CHANGED
|
@@ -4374,6 +4374,9 @@ declare global {
|
|
|
4374
4374
|
* @event flow-ui-remove - Emitted when the list item is removed. Calling `event.preventDefault()` will cancel the removal.
|
|
4375
4375
|
* @event flow-ui-select - Emitted when a menu item is selected.
|
|
4376
4376
|
*
|
|
4377
|
+
* @event flow-ui-blur - Emitted when the control loses focus.
|
|
4378
|
+
* @event flow-ui-focus - Emitted when the control gains focus.
|
|
4379
|
+
*
|
|
4377
4380
|
* @csspart base - The component's base wrapper.
|
|
4378
4381
|
* @csspart input - The list item's flow-ui-input control.
|
|
4379
4382
|
* @csspart prefix - The container that wraps the prefix.
|
|
@@ -4391,21 +4394,32 @@ declare class FlowUiListItem extends FlowRdfElement {
|
|
|
4391
4394
|
static styles: CSSResultGroup;
|
|
4392
4395
|
private readonly hasSlotController;
|
|
4393
4396
|
/** @internal */
|
|
4397
|
+
protected hasFocus: boolean;
|
|
4398
|
+
/** @internal */
|
|
4394
4399
|
input: FlowUiInput;
|
|
4395
4400
|
/** The label text for the list item. */
|
|
4396
4401
|
label: string;
|
|
4397
4402
|
/** The tracking value (id) for the list item. */
|
|
4398
4403
|
value: string;
|
|
4404
|
+
checked: boolean;
|
|
4399
4405
|
/** Set to enable renaming of the list item text. */
|
|
4400
|
-
|
|
4406
|
+
editable: boolean;
|
|
4401
4407
|
/** Set to reordering of the list item. */
|
|
4402
4408
|
reorder: boolean;
|
|
4403
4409
|
/** Set to enable removing the list item. */
|
|
4404
4410
|
removable: boolean;
|
|
4411
|
+
/** Set to enable removing the list item. */
|
|
4412
|
+
disabled: boolean;
|
|
4405
4413
|
constructor();
|
|
4406
4414
|
connectedCallback(): void;
|
|
4407
4415
|
disconnectedCallback(): void;
|
|
4408
4416
|
rename(): void;
|
|
4417
|
+
/** @internal */
|
|
4418
|
+
handleCheckedChange(): void;
|
|
4419
|
+
private addEventListeners;
|
|
4420
|
+
private removeEventListeners;
|
|
4421
|
+
private handleBlur;
|
|
4422
|
+
private handleFocus;
|
|
4409
4423
|
private handleMenuSelect;
|
|
4410
4424
|
private handleInputEvents;
|
|
4411
4425
|
private handleReorderPointerDown;
|
|
@@ -4424,37 +4438,25 @@ declare class FlowUiListItem extends FlowRdfElement {
|
|
|
4424
4438
|
*
|
|
4425
4439
|
* @dependency flow-ui-list-item
|
|
4426
4440
|
*
|
|
4427
|
-
* @
|
|
4428
|
-
* @
|
|
4429
|
-
* @slot suffix - The panel header's suffix content.
|
|
4430
|
-
* @slot expand-icon - Specify an alternative `<flow-ui-icon>` to use for the expand icon.
|
|
4431
|
-
* @slot collapse-icon - Specify an alternative `<flow-ui-icon>` to use for the collapse icon.
|
|
4441
|
+
* @event flow-ui-change - Emitted when a list item is renamed **or** a list item is selected (selectable lists only).
|
|
4442
|
+
* @event flow-ui-input - Emitted when a list item is selected (selectable lists only).
|
|
4432
4443
|
*
|
|
4433
|
-
* @event flow-ui-change - Emitted when a list item is renamed.
|
|
4434
4444
|
* @event flow-ui-remove - Emitted when a list item is removed.
|
|
4435
4445
|
* @event flow-ui-drag-start - Emitted when the user starts dragging to reorder list items.
|
|
4436
4446
|
* @event flow-ui-drag-drop - Emitted when the user drops a list item to reorder it.
|
|
4437
4447
|
* @event flow-ui-drag-end - Emitted when the drag-drop operation has finished or been cancelled.
|
|
4438
4448
|
*
|
|
4439
|
-
* @csspart base - The component's base wrapper.
|
|
4440
|
-
* @csspart label - The container that wraps the label.
|
|
4441
|
-
* @csspart prefix - The container that wraps the prefix.
|
|
4442
|
-
* @csspart suffix - The container that wraps the suffix.
|
|
4443
|
-
* @csspart toggle-icon - The container that wraps the expand/collapse icon.
|
|
4444
|
-
*
|
|
4445
|
-
*
|
|
4446
|
-
* @cssproperty padding - The padding around the list item`.
|
|
4447
|
-
* @cssproperty height - The height of the list item.
|
|
4448
|
-
* @cssproperty background-color - The background color of the list item.
|
|
4449
|
-
* @cssproperty color - The text color of the list item.
|
|
4450
|
-
* @cssproperty accessory-color - The color of the accessory controls.
|
|
4451
4449
|
*/
|
|
4452
4450
|
declare class FlowUiList extends FlowRdfElement {
|
|
4453
4451
|
static styles: CSSResultGroup;
|
|
4454
4452
|
private draggedItem;
|
|
4455
4453
|
private draggedOverItem;
|
|
4454
|
+
/** The current selected list item. (selectable lists only) */
|
|
4455
|
+
value: string;
|
|
4456
|
+
/** Set to enable radio-button-style selection of list items. */
|
|
4457
|
+
selectable: boolean;
|
|
4456
4458
|
/** Set to enable renaming of the list item text. */
|
|
4457
|
-
|
|
4459
|
+
editable: boolean;
|
|
4458
4460
|
/** Set to reordering of the list item. */
|
|
4459
4461
|
reorder: boolean;
|
|
4460
4462
|
/** Set to enable removing the list item. */
|
|
@@ -4463,6 +4465,14 @@ declare class FlowUiList extends FlowRdfElement {
|
|
|
4463
4465
|
connectedCallback(): void;
|
|
4464
4466
|
disconnectedCallback(): void;
|
|
4465
4467
|
get listItems(): FlowUiListItem[];
|
|
4468
|
+
/** @internal */
|
|
4469
|
+
handleStyleChange(): void;
|
|
4470
|
+
/** @internal */
|
|
4471
|
+
handleValueChange(): void;
|
|
4472
|
+
private handleItemClick;
|
|
4473
|
+
private handleKeyDown;
|
|
4474
|
+
private syncItems;
|
|
4475
|
+
private updateCheckedItem;
|
|
4466
4476
|
private handleDragStart;
|
|
4467
4477
|
private handleDragOver;
|
|
4468
4478
|
private handleDrop;
|
package/dist/package.json.mjs
CHANGED