@emuanalytics/flow-rdf-ui 4.1.0-preview.21 → 4.1.0-preview.22
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 +67 -13
- package/dist/components/list-item/list-item.styles.mjs +21 -1
- package/dist/custom-elements.json +922 -837
- package/dist/index.d.mts +31 -20
- package/dist/index.d.ts +31 -20
- package/dist/package.json.mjs +1 -1
- package/dist/vscode.html-custom-data.json +63 -47
- 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,33 @@ 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 handleClick;
|
|
4423
|
+
private handleFocus;
|
|
4409
4424
|
private handleMenuSelect;
|
|
4410
4425
|
private handleInputEvents;
|
|
4411
4426
|
private handleReorderPointerDown;
|
|
@@ -4424,37 +4439,25 @@ declare class FlowUiListItem extends FlowRdfElement {
|
|
|
4424
4439
|
*
|
|
4425
4440
|
* @dependency flow-ui-list-item
|
|
4426
4441
|
*
|
|
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.
|
|
4442
|
+
* @event flow-ui-change - Emitted when a list item is renamed **or** a list item is selected (selectable lists only).
|
|
4443
|
+
* @event flow-ui-input - Emitted when a list item is selected (selectable lists only).
|
|
4432
4444
|
*
|
|
4433
|
-
* @event flow-ui-change - Emitted when a list item is renamed.
|
|
4434
4445
|
* @event flow-ui-remove - Emitted when a list item is removed.
|
|
4435
4446
|
* @event flow-ui-drag-start - Emitted when the user starts dragging to reorder list items.
|
|
4436
4447
|
* @event flow-ui-drag-drop - Emitted when the user drops a list item to reorder it.
|
|
4437
4448
|
* @event flow-ui-drag-end - Emitted when the drag-drop operation has finished or been cancelled.
|
|
4438
4449
|
*
|
|
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
4450
|
*/
|
|
4452
4451
|
declare class FlowUiList extends FlowRdfElement {
|
|
4453
4452
|
static styles: CSSResultGroup;
|
|
4454
4453
|
private draggedItem;
|
|
4455
4454
|
private draggedOverItem;
|
|
4455
|
+
/** The current selected list item. (selectable lists only) */
|
|
4456
|
+
value: string;
|
|
4457
|
+
/** Set to enable radio-button-style selection of list items. */
|
|
4458
|
+
selectable: boolean;
|
|
4456
4459
|
/** Set to enable renaming of the list item text. */
|
|
4457
|
-
|
|
4460
|
+
editable: boolean;
|
|
4458
4461
|
/** Set to reordering of the list item. */
|
|
4459
4462
|
reorder: boolean;
|
|
4460
4463
|
/** Set to enable removing the list item. */
|
|
@@ -4463,6 +4466,14 @@ declare class FlowUiList extends FlowRdfElement {
|
|
|
4463
4466
|
connectedCallback(): void;
|
|
4464
4467
|
disconnectedCallback(): void;
|
|
4465
4468
|
get listItems(): FlowUiListItem[];
|
|
4469
|
+
/** @internal */
|
|
4470
|
+
handleStyleChange(): void;
|
|
4471
|
+
/** @internal */
|
|
4472
|
+
handleValueChange(): void;
|
|
4473
|
+
private handleItemClick;
|
|
4474
|
+
private handleKeyDown;
|
|
4475
|
+
private syncItems;
|
|
4476
|
+
private updateCheckedItem;
|
|
4466
4477
|
private handleDragStart;
|
|
4467
4478
|
private handleDragOver;
|
|
4468
4479
|
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,33 @@ 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 handleClick;
|
|
4423
|
+
private handleFocus;
|
|
4409
4424
|
private handleMenuSelect;
|
|
4410
4425
|
private handleInputEvents;
|
|
4411
4426
|
private handleReorderPointerDown;
|
|
@@ -4424,37 +4439,25 @@ declare class FlowUiListItem extends FlowRdfElement {
|
|
|
4424
4439
|
*
|
|
4425
4440
|
* @dependency flow-ui-list-item
|
|
4426
4441
|
*
|
|
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.
|
|
4442
|
+
* @event flow-ui-change - Emitted when a list item is renamed **or** a list item is selected (selectable lists only).
|
|
4443
|
+
* @event flow-ui-input - Emitted when a list item is selected (selectable lists only).
|
|
4432
4444
|
*
|
|
4433
|
-
* @event flow-ui-change - Emitted when a list item is renamed.
|
|
4434
4445
|
* @event flow-ui-remove - Emitted when a list item is removed.
|
|
4435
4446
|
* @event flow-ui-drag-start - Emitted when the user starts dragging to reorder list items.
|
|
4436
4447
|
* @event flow-ui-drag-drop - Emitted when the user drops a list item to reorder it.
|
|
4437
4448
|
* @event flow-ui-drag-end - Emitted when the drag-drop operation has finished or been cancelled.
|
|
4438
4449
|
*
|
|
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
4450
|
*/
|
|
4452
4451
|
declare class FlowUiList extends FlowRdfElement {
|
|
4453
4452
|
static styles: CSSResultGroup;
|
|
4454
4453
|
private draggedItem;
|
|
4455
4454
|
private draggedOverItem;
|
|
4455
|
+
/** The current selected list item. (selectable lists only) */
|
|
4456
|
+
value: string;
|
|
4457
|
+
/** Set to enable radio-button-style selection of list items. */
|
|
4458
|
+
selectable: boolean;
|
|
4456
4459
|
/** Set to enable renaming of the list item text. */
|
|
4457
|
-
|
|
4460
|
+
editable: boolean;
|
|
4458
4461
|
/** Set to reordering of the list item. */
|
|
4459
4462
|
reorder: boolean;
|
|
4460
4463
|
/** Set to enable removing the list item. */
|
|
@@ -4463,6 +4466,14 @@ declare class FlowUiList extends FlowRdfElement {
|
|
|
4463
4466
|
connectedCallback(): void;
|
|
4464
4467
|
disconnectedCallback(): void;
|
|
4465
4468
|
get listItems(): FlowUiListItem[];
|
|
4469
|
+
/** @internal */
|
|
4470
|
+
handleStyleChange(): void;
|
|
4471
|
+
/** @internal */
|
|
4472
|
+
handleValueChange(): void;
|
|
4473
|
+
private handleItemClick;
|
|
4474
|
+
private handleKeyDown;
|
|
4475
|
+
private syncItems;
|
|
4476
|
+
private updateCheckedItem;
|
|
4466
4477
|
private handleDragStart;
|
|
4467
4478
|
private handleDragOver;
|
|
4468
4479
|
private handleDrop;
|
package/dist/package.json.mjs
CHANGED
|
@@ -133,18 +133,6 @@
|
|
|
133
133
|
],
|
|
134
134
|
"references": []
|
|
135
135
|
},
|
|
136
|
-
{
|
|
137
|
-
"name": "flow-ui-breadcrumb",
|
|
138
|
-
"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.",
|
|
139
|
-
"attributes": [
|
|
140
|
-
{
|
|
141
|
-
"name": "label",
|
|
142
|
-
"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.",
|
|
143
|
-
"values": []
|
|
144
|
-
}
|
|
145
|
-
],
|
|
146
|
-
"references": []
|
|
147
|
-
},
|
|
148
136
|
{
|
|
149
137
|
"name": "flow-ui-base-control",
|
|
150
138
|
"description": "Inputs collect data from the user.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-blur** - Emitted when the control loses focus.\n- **flow-ui-change** - Emitted when an alteration to the control's value is committed by the user.\n- **flow-ui-clear** - Emitted when the clear button is activated.\n- **flow-ui-focus** - Emitted when the control gains focus.\n- **flow-ui-input** - Emitted when the control receives input.\n- **flow-ui-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the input.\n- **blur()** - Removes focus from the input.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n\n### **Slots:**\n - **label** - The input's label. Alternatively, you can use the `label` attribute.\n- **prefix** - Used to prepend a presentational icon or similar element to the input.\n- **suffix** - Used to append a presentational icon or similar element to the input.\n- **clear-icon** - An icon to use in lieu of the default clear icon.\n- **show-password-icon** - An icon to use in lieu of the default show password icon.\n- **hide-password-icon** - An icon to use in lieu of the default hide password icon.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The input's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **base** - The component's base wrapper.\n- **input** - The internal `<input>` control.\n- **prefix** - The container that wraps the prefix.\n- **clear-button** - The clear button.\n- **password-toggle-button** - The password toggle button.\n- **suffix** - The container that wraps the suffix.",
|
|
@@ -244,6 +232,18 @@
|
|
|
244
232
|
],
|
|
245
233
|
"references": []
|
|
246
234
|
},
|
|
235
|
+
{
|
|
236
|
+
"name": "flow-ui-breadcrumb",
|
|
237
|
+
"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.",
|
|
238
|
+
"attributes": [
|
|
239
|
+
{
|
|
240
|
+
"name": "label",
|
|
241
|
+
"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.",
|
|
242
|
+
"values": []
|
|
243
|
+
}
|
|
244
|
+
],
|
|
245
|
+
"references": []
|
|
246
|
+
},
|
|
247
247
|
{
|
|
248
248
|
"name": "flow-ui-breadcrumb-item",
|
|
249
249
|
"description": "Breadcrumb Items are used inside [breadcrumbs](./flow-ui-breadcrumb) to represent different links.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The breadcrumb item's label.\n- **prefix** - An optional prefix, usually an icon or icon button.\n- **suffix** - An optional suffix, usually an icon or icon button.\n- **separator** - The separator to use for the breadcrumb item. This will only change the separator for this item. If you want to change it for all items in the group, set the separator on `<flow-ui-breadcrumb>` instead.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **label** - The breadcrumb item's label.\n- **prefix** - The container that wraps the prefix.\n- **suffix** - The container that wraps the suffix.\n- **separator** - The container that wraps the separator.",
|
|
@@ -672,6 +672,37 @@
|
|
|
672
672
|
],
|
|
673
673
|
"references": []
|
|
674
674
|
},
|
|
675
|
+
{
|
|
676
|
+
"name": "flow-ui-color-mapper",
|
|
677
|
+
"description": "A component for defining mappings between data values and colors.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-change** - Fired when the color mapper's value changes.",
|
|
678
|
+
"attributes": [
|
|
679
|
+
{
|
|
680
|
+
"name": "options",
|
|
681
|
+
"description": "The color mapper configuration specifying available fields.",
|
|
682
|
+
"values": [{ "name": "ColorMapperOptions" }]
|
|
683
|
+
},
|
|
684
|
+
{
|
|
685
|
+
"name": "value",
|
|
686
|
+
"description": "The current value of the color mapper.",
|
|
687
|
+
"values": [{ "name": "ColorMapperValue" }]
|
|
688
|
+
},
|
|
689
|
+
{
|
|
690
|
+
"name": "size",
|
|
691
|
+
"description": "The size of the color mapper component.",
|
|
692
|
+
"values": [
|
|
693
|
+
{ "name": "small" },
|
|
694
|
+
{ "name": "medium" },
|
|
695
|
+
{ "name": "large" }
|
|
696
|
+
]
|
|
697
|
+
},
|
|
698
|
+
{
|
|
699
|
+
"name": "swatches",
|
|
700
|
+
"description": "One or more predefined color swatches to display as presets in the color picker. Can include any format the color\npicker can parse, including HEX(A), RGB(A), HSL(A), HSV(A), and CSS color names. Each color must be separated by a\nsemicolon (`;`). Alternatively, you can pass an array of color values to this property using JavaScript.",
|
|
701
|
+
"values": [{ "name": "string[]" }]
|
|
702
|
+
}
|
|
703
|
+
],
|
|
704
|
+
"references": []
|
|
705
|
+
},
|
|
675
706
|
{
|
|
676
707
|
"name": "flow-ui-color-picker",
|
|
677
708
|
"description": "Color pickers allow the user to select a color.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-blur** - Emitted when the color picker loses focus.\n- **flow-ui-change** - Emitted when the color picker's value changes.\n- **flow-ui-focus** - Emitted when the color picker receives focus.\n- **flow-ui-input** - Emitted when the color picker 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 color picker.\n- **blur()** - Removes focus from the color picker.\n- **getFormattedValue(format: _'hex' | 'hexa' | 'rgb' | 'rgba' | 'hsl' | 'hsla' | 'hsv' | 'hsva'_)** - Returns the current value as a string in the specified format.\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 color picker's form label. Alternatively, you can use the `label` attribute.\n\n### **CSS Properties:**\n - **--grid-width** - The width of the color grid. _(default: undefined)_\n- **--grid-height** - The height of the color grid. _(default: undefined)_\n- **--grid-handle-size** - The size of the color grid's handle. _(default: undefined)_\n- **--slider-height** - The height of the hue and alpha sliders. _(default: undefined)_\n- **--slider-handle-size** - The diameter of the slider's handle. _(default: undefined)_\n- **--swatch-size** - The size of each predefined color swatch. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **trigger** - The color picker's dropdown trigger.\n- **swatches** - The container that holds the swatches.\n- **swatch** - Each individual swatch.\n- **grid** - The color grid.\n- **grid-handle** - The color grid's handle.\n- **slider** - Hue and opacity sliders.\n- **slider-handle** - Hue and opacity slider handles.\n- **hue-slider** - The hue slider.\n- **hue-slider-handle** - The hue slider's handle.\n- **opacity-slider** - The opacity slider.\n- **opacity-slider-handle** - The opacity slider's handle.\n- **preview** - The preview color.\n- **input** - The text input.\n- **eye-dropper-button** - The eye dropper button.\n- **eye-dropper-button__base** - The eye dropper button's exported `button` part.\n- **eye-dropper-button__prefix** - The eye dropper button's exported `prefix` part.\n- **eye-dropper-button__label** - The eye dropper button's exported `label` part.\n- **eye-dropper-button__suffix** - The eye dropper button's exported `suffix` part.\n- **eye-dropper-button__caret** - The eye dropper button's exported `caret` part.\n- **format-button** - The format button.\n- **format-button__base** - The format button's exported `button` part.\n- **format-button__prefix** - The format button's exported `prefix` part.\n- **format-button__label** - The format button's exported `label` part.\n- **format-button__suffix** - The format button's exported `suffix` part.\n- **format-button__caret** - The format button's exported `caret` part.",
|
|
@@ -787,37 +818,6 @@
|
|
|
787
818
|
],
|
|
788
819
|
"references": []
|
|
789
820
|
},
|
|
790
|
-
{
|
|
791
|
-
"name": "flow-ui-color-mapper",
|
|
792
|
-
"description": "A component for defining mappings between data values and colors.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-change** - Fired when the color mapper's value changes.",
|
|
793
|
-
"attributes": [
|
|
794
|
-
{
|
|
795
|
-
"name": "options",
|
|
796
|
-
"description": "The color mapper configuration specifying available fields.",
|
|
797
|
-
"values": [{ "name": "ColorMapperOptions" }]
|
|
798
|
-
},
|
|
799
|
-
{
|
|
800
|
-
"name": "value",
|
|
801
|
-
"description": "The current value of the color mapper.",
|
|
802
|
-
"values": [{ "name": "ColorMapperValue" }]
|
|
803
|
-
},
|
|
804
|
-
{
|
|
805
|
-
"name": "size",
|
|
806
|
-
"description": "The size of the color mapper component.",
|
|
807
|
-
"values": [
|
|
808
|
-
{ "name": "small" },
|
|
809
|
-
{ "name": "medium" },
|
|
810
|
-
{ "name": "large" }
|
|
811
|
-
]
|
|
812
|
-
},
|
|
813
|
-
{
|
|
814
|
-
"name": "swatches",
|
|
815
|
-
"description": "One or more predefined color swatches to display as presets in the color picker. Can include any format the color\npicker can parse, including HEX(A), RGB(A), HSL(A), HSV(A), and CSS color names. Each color must be separated by a\nsemicolon (`;`). Alternatively, you can pass an array of color values to this property using JavaScript.",
|
|
816
|
-
"values": [{ "name": "string[]" }]
|
|
817
|
-
}
|
|
818
|
-
],
|
|
819
|
-
"references": []
|
|
820
|
-
},
|
|
821
821
|
{
|
|
822
822
|
"name": "flow-ui-color-stop",
|
|
823
823
|
"description": "A single color stop used by the `flow-ui-color-mapper` component.\n\n\n---\n\n\n\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()** - 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.",
|
|
@@ -1593,10 +1593,20 @@
|
|
|
1593
1593
|
},
|
|
1594
1594
|
{
|
|
1595
1595
|
"name": "flow-ui-list",
|
|
1596
|
-
"description": "A panel header provides a label, optional accessory controls and expand/collapse behavior for panels.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-change** - Emitted when a list item is renamed
|
|
1596
|
+
"description": "A panel header provides a label, optional accessory controls and expand/collapse behavior for panels.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-change** - Emitted when a list item is renamed **or** a list item is selected (selectable lists only).\n- **flow-ui-input** - Emitted when a list item is selected (selectable lists only).\n- **flow-ui-remove** - Emitted when a list item is removed.\n- **flow-ui-drag-start** - Emitted when the user starts dragging to reorder list items.\n- **flow-ui-drag-drop** - Emitted when the user drops a list item to reorder it.\n- **flow-ui-drag-end** - Emitted when the drag-drop operation has finished or been cancelled.",
|
|
1597
1597
|
"attributes": [
|
|
1598
1598
|
{
|
|
1599
|
-
"name": "
|
|
1599
|
+
"name": "value",
|
|
1600
|
+
"description": "The current selected list item. (selectable lists only)",
|
|
1601
|
+
"values": []
|
|
1602
|
+
},
|
|
1603
|
+
{
|
|
1604
|
+
"name": "selectable",
|
|
1605
|
+
"description": "Set to enable radio-button-style selection of list items.",
|
|
1606
|
+
"values": []
|
|
1607
|
+
},
|
|
1608
|
+
{
|
|
1609
|
+
"name": "editable",
|
|
1600
1610
|
"description": "Set to enable renaming of the list item text.",
|
|
1601
1611
|
"values": []
|
|
1602
1612
|
},
|
|
@@ -1615,7 +1625,7 @@
|
|
|
1615
1625
|
},
|
|
1616
1626
|
{
|
|
1617
1627
|
"name": "flow-ui-list-item",
|
|
1618
|
-
"description": "A list item.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-change** - Emitted when the list item is renamed.\n- **flow-ui-remove** - Emitted when the list item is removed. Calling `event.preventDefault()` will cancel the removal.\n- **flow-ui-select** - Emitted when a menu item is selected.\n\n### **Slots:**\n - **prefix** - The list item's prefix content.\n- **suffix** - The list item's suffix content.\n- **menu** - Specify custom menu items to add to the list item's menu.\n\n### **CSS Properties:**\n - **padding** - The padding around the header. Defaults to `--flow-ui-panel-header-padding`. _(default: undefined)_\n- **header-height** - The height of the header. Defaults to `--flow-ui-panel-header-height`. _(default: undefined)_\n- **background-color** - The background color of the header. Defaults to `--flow-ui-panel-header-background-color`. _(default: undefined)_\n- **color** - The text color of the header. Defaults to `--flow-ui-panel-header-color`. _(default: undefined)_\n- **accessory-color** - The color of the accessory controls. Defaults to `--flow-ui-panel-header-accessory-color`. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **input** - The list item's flow-ui-input control.\n- **prefix** - The container that wraps the prefix.\n- **suffix** - The container that wraps the suffix.\n- **reorder-icon** - The list item's reorder icon.\n- **menu-button** - The list item's menu-button.",
|
|
1628
|
+
"description": "A list item.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-change** - Emitted when the list item is renamed.\n- **flow-ui-remove** - Emitted when the list item is removed. Calling `event.preventDefault()` will cancel the removal.\n- **flow-ui-select** - Emitted when a menu item is selected.\n- **flow-ui-blur** - Emitted when the control loses focus.\n- **flow-ui-focus** - Emitted when the control gains focus.\n\n### **Slots:**\n - **prefix** - The list item's prefix content.\n- **suffix** - The list item's suffix content.\n- **menu** - Specify custom menu items to add to the list item's menu.\n\n### **CSS Properties:**\n - **padding** - The padding around the header. Defaults to `--flow-ui-panel-header-padding`. _(default: undefined)_\n- **header-height** - The height of the header. Defaults to `--flow-ui-panel-header-height`. _(default: undefined)_\n- **background-color** - The background color of the header. Defaults to `--flow-ui-panel-header-background-color`. _(default: undefined)_\n- **color** - The text color of the header. Defaults to `--flow-ui-panel-header-color`. _(default: undefined)_\n- **accessory-color** - The color of the accessory controls. Defaults to `--flow-ui-panel-header-accessory-color`. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **input** - The list item's flow-ui-input control.\n- **prefix** - The container that wraps the prefix.\n- **suffix** - The container that wraps the suffix.\n- **reorder-icon** - The list item's reorder icon.\n- **menu-button** - The list item's menu-button.",
|
|
1619
1629
|
"attributes": [
|
|
1620
1630
|
{
|
|
1621
1631
|
"name": "label",
|
|
@@ -1627,8 +1637,9 @@
|
|
|
1627
1637
|
"description": "The tracking value (id) for the list item.",
|
|
1628
1638
|
"values": []
|
|
1629
1639
|
},
|
|
1640
|
+
{ "name": "checked", "values": [] },
|
|
1630
1641
|
{
|
|
1631
|
-
"name": "
|
|
1642
|
+
"name": "editable",
|
|
1632
1643
|
"description": "Set to enable renaming of the list item text.",
|
|
1633
1644
|
"values": []
|
|
1634
1645
|
},
|
|
@@ -1641,6 +1652,11 @@
|
|
|
1641
1652
|
"name": "removable",
|
|
1642
1653
|
"description": "Set to enable removing the list item.",
|
|
1643
1654
|
"values": []
|
|
1655
|
+
},
|
|
1656
|
+
{
|
|
1657
|
+
"name": "disabled",
|
|
1658
|
+
"description": "Set to enable removing the list item.",
|
|
1659
|
+
"values": []
|
|
1644
1660
|
}
|
|
1645
1661
|
],
|
|
1646
1662
|
"references": []
|
package/package.json
CHANGED
package/themes/dark.css
CHANGED
|
@@ -576,12 +576,16 @@
|
|
|
576
576
|
--flow-ui-divider-color: var(--flow-ui-color-neutral-300);
|
|
577
577
|
--flow-ui-divider-color-active: var(--flow-ui-color-primary-500);
|
|
578
578
|
|
|
579
|
-
--flow-ui-list-item-padding: var(--flow-ui-spacing-medium)
|
|
580
|
-
var(--flow-ui-spacing-small);
|
|
579
|
+
--flow-ui-list-item-padding: var(--flow-ui-spacing-medium);
|
|
581
580
|
--flow-ui-list-item-height: 40px;
|
|
582
581
|
--flow-ui-list-item-color: var(--flow-ui-color-text);
|
|
583
582
|
--flow-ui-list-item-accessory-color: var(--flow-ui-color-neutral-800);
|
|
584
|
-
--flow-ui-list-item-background-color: var(--flow-ui-color-neutral-
|
|
583
|
+
--flow-ui-list-item-background-color: var(--flow-ui-color-neutral-300);
|
|
584
|
+
--flow-ui-list-item-background-color-selected: var(
|
|
585
|
+
--flow-ui-color-neutral-500
|
|
586
|
+
);
|
|
587
|
+
--flow-ui-list-item-selection-color: var(--flow-ui-color-primary-500);
|
|
588
|
+
--flow-ui-list-item-divider-color: transparent;
|
|
585
589
|
|
|
586
590
|
--flow-ui-tooltip-border-radius: var(--flow-ui-border-radius-medium);
|
|
587
591
|
--flow-ui-tooltip-background-color: var(--flow-ui-color-neutral-600);
|
package/themes/dark.styles.js
CHANGED
|
@@ -599,12 +599,16 @@ export default css`
|
|
|
599
599
|
--flow-ui-divider-color: var(--flow-ui-color-neutral-300);
|
|
600
600
|
--flow-ui-divider-color-active: var(--flow-ui-color-primary-500);
|
|
601
601
|
|
|
602
|
-
--flow-ui-list-item-padding: var(--flow-ui-spacing-medium)
|
|
603
|
-
var(--flow-ui-spacing-small);
|
|
602
|
+
--flow-ui-list-item-padding: var(--flow-ui-spacing-medium);
|
|
604
603
|
--flow-ui-list-item-height: 40px;
|
|
605
604
|
--flow-ui-list-item-color: var(--flow-ui-color-text);
|
|
606
605
|
--flow-ui-list-item-accessory-color: var(--flow-ui-color-neutral-800);
|
|
607
|
-
--flow-ui-list-item-background-color: var(--flow-ui-color-neutral-
|
|
606
|
+
--flow-ui-list-item-background-color: var(--flow-ui-color-neutral-300);
|
|
607
|
+
--flow-ui-list-item-background-color-selected: var(
|
|
608
|
+
--flow-ui-color-neutral-500
|
|
609
|
+
);
|
|
610
|
+
--flow-ui-list-item-selection-color: var(--flow-ui-color-primary-500);
|
|
611
|
+
--flow-ui-list-item-divider-color: transparent;
|
|
608
612
|
|
|
609
613
|
--flow-ui-tooltip-border-radius: var(--flow-ui-border-radius-medium);
|
|
610
614
|
--flow-ui-tooltip-background-color: var(--flow-ui-color-neutral-600);
|
package/themes/light.css
CHANGED
|
@@ -589,12 +589,16 @@
|
|
|
589
589
|
--flow-ui-divider-color: var(--flow-ui-color-neutral-300);
|
|
590
590
|
--flow-ui-divider-color-active: var(--flow-ui-color-primary-500);
|
|
591
591
|
|
|
592
|
-
--flow-ui-list-item-padding: var(--flow-ui-spacing-medium)
|
|
593
|
-
var(--flow-ui-spacing-small);
|
|
592
|
+
--flow-ui-list-item-padding: var(--flow-ui-spacing-medium);
|
|
594
593
|
--flow-ui-list-item-height: 40px;
|
|
595
594
|
--flow-ui-list-item-color: var(--flow-ui-color-text);
|
|
596
595
|
--flow-ui-list-item-accessory-color: var(--flow-ui-color-neutral-800);
|
|
597
|
-
--flow-ui-list-item-background-color: var(--flow-ui-color-neutral-
|
|
596
|
+
--flow-ui-list-item-background-color: var(--flow-ui-color-neutral-50);
|
|
597
|
+
--flow-ui-list-item-background-color-selected: var(
|
|
598
|
+
--flow-ui-color-neutral-100
|
|
599
|
+
);
|
|
600
|
+
--flow-ui-list-item-selection-color: var(--flow-ui-color-primary-500);
|
|
601
|
+
--flow-ui-list-item-divider-color: transparent;
|
|
598
602
|
|
|
599
603
|
--flow-ui-tooltip-border-radius: var(--flow-ui-border-radius-medium);
|
|
600
604
|
--flow-ui-tooltip-background-color: var(--flow-ui-color-neutral-600);
|
package/themes/light.styles.js
CHANGED
|
@@ -612,12 +612,16 @@ export default css`
|
|
|
612
612
|
--flow-ui-divider-color: var(--flow-ui-color-neutral-300);
|
|
613
613
|
--flow-ui-divider-color-active: var(--flow-ui-color-primary-500);
|
|
614
614
|
|
|
615
|
-
--flow-ui-list-item-padding: var(--flow-ui-spacing-medium)
|
|
616
|
-
var(--flow-ui-spacing-small);
|
|
615
|
+
--flow-ui-list-item-padding: var(--flow-ui-spacing-medium);
|
|
617
616
|
--flow-ui-list-item-height: 40px;
|
|
618
617
|
--flow-ui-list-item-color: var(--flow-ui-color-text);
|
|
619
618
|
--flow-ui-list-item-accessory-color: var(--flow-ui-color-neutral-800);
|
|
620
|
-
--flow-ui-list-item-background-color: var(--flow-ui-color-neutral-
|
|
619
|
+
--flow-ui-list-item-background-color: var(--flow-ui-color-neutral-50);
|
|
620
|
+
--flow-ui-list-item-background-color-selected: var(
|
|
621
|
+
--flow-ui-color-neutral-100
|
|
622
|
+
);
|
|
623
|
+
--flow-ui-list-item-selection-color: var(--flow-ui-color-primary-500);
|
|
624
|
+
--flow-ui-list-item-divider-color: transparent;
|
|
621
625
|
|
|
622
626
|
--flow-ui-tooltip-border-radius: var(--flow-ui-border-radius-medium);
|
|
623
627
|
--flow-ui-tooltip-background-color: var(--flow-ui-color-neutral-600);
|