@emuanalytics/flow-rdf-ui 0.0.11 → 0.0.12
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 +764 -769
- package/dist/flow-rdf-ui.d.ts +2 -2
- package/dist/flow-rdf-ui.js +5 -9
- package/dist/flow-rdf-ui.umd.cjs +5 -9
- package/dist/vscode.html-custom-data.json +84 -80
- package/package.json +1 -1
package/dist/flow-rdf-ui.d.ts
CHANGED
|
@@ -3051,7 +3051,8 @@ export declare class FlowTabGroup extends FlowRdfElement {
|
|
|
3051
3051
|
activation: 'auto' | 'manual';
|
|
3052
3052
|
/** Disables the scroll arrows that appear when tabs overflow. */
|
|
3053
3053
|
noScrollControls: boolean;
|
|
3054
|
-
|
|
3054
|
+
/** Set to `true` to allow parent split-view pane to be automatically opened and closed when tabs are clicked. */
|
|
3055
|
+
controlSplitView: boolean;
|
|
3055
3056
|
connectedCallback(): void;
|
|
3056
3057
|
disconnectedCallback(): void;
|
|
3057
3058
|
private getAllTabs;
|
|
@@ -3066,7 +3067,6 @@ export declare class FlowTabGroup extends FlowRdfElement {
|
|
|
3066
3067
|
private setAriaLabels;
|
|
3067
3068
|
private repositionIndicator;
|
|
3068
3069
|
private syncTabsAndPanels;
|
|
3069
|
-
private getParentSplitPanel;
|
|
3070
3070
|
updateScrollControls(): void;
|
|
3071
3071
|
syncIndicator(): void;
|
|
3072
3072
|
/** Shows the specified tab panel. */
|
package/dist/flow-rdf-ui.js
CHANGED
|
@@ -21495,7 +21495,6 @@ let FlowTabGroup = class extends FlowRdfElement {
|
|
|
21495
21495
|
this.placement = "top";
|
|
21496
21496
|
this.activation = "auto";
|
|
21497
21497
|
this.noScrollControls = false;
|
|
21498
|
-
this.controlSplitPanel = false;
|
|
21499
21498
|
}
|
|
21500
21499
|
connectedCallback() {
|
|
21501
21500
|
const whenAllDefined = Promise.allSettled([
|
|
@@ -21554,8 +21553,8 @@ let FlowTabGroup = class extends FlowRdfElement {
|
|
|
21554
21553
|
if (tabGroup !== this) {
|
|
21555
21554
|
return;
|
|
21556
21555
|
}
|
|
21557
|
-
if (this.
|
|
21558
|
-
const parentSplitPanel = this.closest("flow-ui-split-view-
|
|
21556
|
+
if (this.controlSplitView && !(tab == null ? void 0 : tab.disabled)) {
|
|
21557
|
+
const parentSplitPanel = this.closest("flow-ui-split-view-pane");
|
|
21559
21558
|
if (parentSplitPanel) {
|
|
21560
21559
|
if (tab === this.activeTab) {
|
|
21561
21560
|
if (parentSplitPanel.closed) {
|
|
@@ -21724,9 +21723,6 @@ let FlowTabGroup = class extends FlowRdfElement {
|
|
|
21724
21723
|
this.syncIndicator();
|
|
21725
21724
|
this.updateComplete.then(() => this.updateScrollControls());
|
|
21726
21725
|
}
|
|
21727
|
-
getParentSplitPanel() {
|
|
21728
|
-
return this.closest("flow-ui-split-panel");
|
|
21729
|
-
}
|
|
21730
21726
|
updateScrollControls() {
|
|
21731
21727
|
if (this.noScrollControls) {
|
|
21732
21728
|
this.hasScrollControls = false;
|
|
@@ -21859,8 +21855,8 @@ __decorateClass$a([
|
|
|
21859
21855
|
n$6({ attribute: "no-scroll-controls", type: Boolean })
|
|
21860
21856
|
], FlowTabGroup.prototype, "noScrollControls", 2);
|
|
21861
21857
|
__decorateClass$a([
|
|
21862
|
-
n$6({ type: Boolean, attribute: "control-split-
|
|
21863
|
-
], FlowTabGroup.prototype, "
|
|
21858
|
+
n$6({ type: Boolean, attribute: "control-split-view" })
|
|
21859
|
+
], FlowTabGroup.prototype, "controlSplitView", 2);
|
|
21864
21860
|
__decorateClass$a([
|
|
21865
21861
|
watch("noScrollControls", { waitUntilFirstUpdate: true })
|
|
21866
21862
|
], FlowTabGroup.prototype, "updateScrollControls", 1);
|
|
@@ -25622,7 +25618,7 @@ const translation = {
|
|
|
25622
25618
|
toggleColorFormat: "Toggle color format"
|
|
25623
25619
|
};
|
|
25624
25620
|
registerTranslation(translation);
|
|
25625
|
-
const version = "0.0.
|
|
25621
|
+
const version = "0.0.12";
|
|
25626
25622
|
const CONSOLE_HIGHLIGHT_STYLE = `
|
|
25627
25623
|
padding: 2px 4px;
|
|
25628
25624
|
border-radius: 2px;
|
package/dist/flow-rdf-ui.umd.cjs
CHANGED
|
@@ -21499,7 +21499,6 @@ body > .os-scrollbar {
|
|
|
21499
21499
|
this.placement = "top";
|
|
21500
21500
|
this.activation = "auto";
|
|
21501
21501
|
this.noScrollControls = false;
|
|
21502
|
-
this.controlSplitPanel = false;
|
|
21503
21502
|
}
|
|
21504
21503
|
connectedCallback() {
|
|
21505
21504
|
const whenAllDefined = Promise.allSettled([
|
|
@@ -21558,8 +21557,8 @@ body > .os-scrollbar {
|
|
|
21558
21557
|
if (tabGroup !== this) {
|
|
21559
21558
|
return;
|
|
21560
21559
|
}
|
|
21561
|
-
if (this.
|
|
21562
|
-
const parentSplitPanel = this.closest("flow-ui-split-view-
|
|
21560
|
+
if (this.controlSplitView && !(tab == null ? void 0 : tab.disabled)) {
|
|
21561
|
+
const parentSplitPanel = this.closest("flow-ui-split-view-pane");
|
|
21563
21562
|
if (parentSplitPanel) {
|
|
21564
21563
|
if (tab === this.activeTab) {
|
|
21565
21564
|
if (parentSplitPanel.closed) {
|
|
@@ -21728,9 +21727,6 @@ body > .os-scrollbar {
|
|
|
21728
21727
|
this.syncIndicator();
|
|
21729
21728
|
this.updateComplete.then(() => this.updateScrollControls());
|
|
21730
21729
|
}
|
|
21731
|
-
getParentSplitPanel() {
|
|
21732
|
-
return this.closest("flow-ui-split-panel");
|
|
21733
|
-
}
|
|
21734
21730
|
updateScrollControls() {
|
|
21735
21731
|
if (this.noScrollControls) {
|
|
21736
21732
|
this.hasScrollControls = false;
|
|
@@ -21863,8 +21859,8 @@ body > .os-scrollbar {
|
|
|
21863
21859
|
n$6({ attribute: "no-scroll-controls", type: Boolean })
|
|
21864
21860
|
], exports2.FlowTabGroup.prototype, "noScrollControls", 2);
|
|
21865
21861
|
__decorateClass$a([
|
|
21866
|
-
n$6({ type: Boolean, attribute: "control-split-
|
|
21867
|
-
], exports2.FlowTabGroup.prototype, "
|
|
21862
|
+
n$6({ type: Boolean, attribute: "control-split-view" })
|
|
21863
|
+
], exports2.FlowTabGroup.prototype, "controlSplitView", 2);
|
|
21868
21864
|
__decorateClass$a([
|
|
21869
21865
|
watch("noScrollControls", { waitUntilFirstUpdate: true })
|
|
21870
21866
|
], exports2.FlowTabGroup.prototype, "updateScrollControls", 1);
|
|
@@ -25626,7 +25622,7 @@ body > .os-scrollbar {
|
|
|
25626
25622
|
toggleColorFormat: "Toggle color format"
|
|
25627
25623
|
};
|
|
25628
25624
|
registerTranslation(translation);
|
|
25629
|
-
const version = "0.0.
|
|
25625
|
+
const version = "0.0.12";
|
|
25630
25626
|
const CONSOLE_HIGHLIGHT_STYLE = `
|
|
25631
25627
|
padding: 2px 4px;
|
|
25632
25628
|
border-radius: 2px;
|
|
@@ -34,6 +34,68 @@
|
|
|
34
34
|
],
|
|
35
35
|
"references": []
|
|
36
36
|
},
|
|
37
|
+
{
|
|
38
|
+
"name": "flow-ui-animation",
|
|
39
|
+
"description": "Animate elements declaratively with nearly 100 baked-in presets, or roll your own with custom keyframes. Powered by the [Web Animations API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API).\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-cancel** - Emitted when the animation is canceled.\n- **flow-ui-finish** - Emitted when the animation finishes.\n- **flow-ui-start** - Emitted when the animation starts or restarts.\n\n### **Methods:**\n - **cancel()** - Clears all keyframe effects caused by this animation and aborts its playback.\n- **finish()** - Sets the playback time to the end of the animation corresponding to the current playback direction.\n\n### **Slots:**\n - _default_ - The element to animate. Avoid slotting in more than one element, as subsequent ones will be ignored. To animate multiple elements, either wrap them in a single container or use multiple `<flow-ui-animation>` elements.",
|
|
40
|
+
"attributes": [
|
|
41
|
+
{
|
|
42
|
+
"name": "name",
|
|
43
|
+
"description": "The name of the built-in animation to use. For custom animations, use the `keyframes` prop.",
|
|
44
|
+
"values": []
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"name": "play",
|
|
48
|
+
"description": "Plays the animation. When omitted, the animation will be paused. This attribute will be automatically removed when\nthe animation finishes or gets canceled.",
|
|
49
|
+
"values": []
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"name": "delay",
|
|
53
|
+
"description": "The number of milliseconds to delay the start of the animation.",
|
|
54
|
+
"values": []
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"name": "direction",
|
|
58
|
+
"description": "Determines the direction of playback as well as the behavior when reaching the end of an iteration.\n[Learn more](https://developer.mozilla.org/en-US/docs/Web/CSS/animation-direction)",
|
|
59
|
+
"values": [{ "name": "PlaybackDirection" }]
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"name": "duration",
|
|
63
|
+
"description": "The number of milliseconds each iteration of the animation takes to complete.",
|
|
64
|
+
"values": []
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"name": "easing",
|
|
68
|
+
"description": "The easing function to use for the animation. This can be a Flo.w RDF UI easing function or a custom easing function\nsuch as `cubic-bezier(0, 1, .76, 1.14)`.",
|
|
69
|
+
"values": []
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"name": "end-delay",
|
|
73
|
+
"description": "The number of milliseconds to delay after the active period of an animation sequence.",
|
|
74
|
+
"values": []
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"name": "fill",
|
|
78
|
+
"description": "Sets how the animation applies styles to its target before and after its execution.",
|
|
79
|
+
"values": [{ "name": "FillMode" }]
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"name": "iterations",
|
|
83
|
+
"description": "The number of iterations to run before the animation completes. Defaults to `Infinity`, which loops.",
|
|
84
|
+
"values": []
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"name": "iteration-start",
|
|
88
|
+
"description": "The offset at which to start the animation, usually between 0 (start) and 1 (end).",
|
|
89
|
+
"values": []
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"name": "playback-rate",
|
|
93
|
+
"description": "Sets the animation's playback rate. The default is `1`, which plays the animation at a normal speed. Setting this\nto `2`, for example, will double the animation's speed. A negative value can be used to reverse the animation. This\nvalue can be changed without causing the animation to restart.",
|
|
94
|
+
"values": []
|
|
95
|
+
}
|
|
96
|
+
],
|
|
97
|
+
"references": []
|
|
98
|
+
},
|
|
37
99
|
{
|
|
38
100
|
"name": "flow-ui-avatar",
|
|
39
101
|
"description": "Avatars are used to represent a person or object.\n\n\n---\n\n\n\n\n### **Slots:**\n - **icon** - The default icon to use when no image or initials are present. Works best with `<flow-ui-icon>`.\n\n### **CSS Properties:**\n - **--size** - The size of the avatar. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **icon** - The container that wraps the avatar's icon.\n- **initials** - The container that wraps the avatar's initials.\n- **image** - The avatar image. Only shown when the `image` attribute is set.",
|
|
@@ -70,18 +132,6 @@
|
|
|
70
132
|
],
|
|
71
133
|
"references": []
|
|
72
134
|
},
|
|
73
|
-
{
|
|
74
|
-
"name": "flow-ui-breadcrumb",
|
|
75
|
-
"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.",
|
|
76
|
-
"attributes": [
|
|
77
|
-
{
|
|
78
|
-
"name": "label",
|
|
79
|
-
"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.",
|
|
80
|
-
"values": []
|
|
81
|
-
}
|
|
82
|
-
],
|
|
83
|
-
"references": []
|
|
84
|
-
},
|
|
85
135
|
{
|
|
86
136
|
"name": "flow-ui-badge",
|
|
87
137
|
"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.",
|
|
@@ -111,62 +161,12 @@
|
|
|
111
161
|
"references": []
|
|
112
162
|
},
|
|
113
163
|
{
|
|
114
|
-
"name": "flow-ui-
|
|
115
|
-
"description": "
|
|
164
|
+
"name": "flow-ui-breadcrumb",
|
|
165
|
+
"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.",
|
|
116
166
|
"attributes": [
|
|
117
167
|
{
|
|
118
|
-
"name": "
|
|
119
|
-
"description": "The
|
|
120
|
-
"values": []
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
"name": "play",
|
|
124
|
-
"description": "Plays the animation. When omitted, the animation will be paused. This attribute will be automatically removed when\nthe animation finishes or gets canceled.",
|
|
125
|
-
"values": []
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
"name": "delay",
|
|
129
|
-
"description": "The number of milliseconds to delay the start of the animation.",
|
|
130
|
-
"values": []
|
|
131
|
-
},
|
|
132
|
-
{
|
|
133
|
-
"name": "direction",
|
|
134
|
-
"description": "Determines the direction of playback as well as the behavior when reaching the end of an iteration.\n[Learn more](https://developer.mozilla.org/en-US/docs/Web/CSS/animation-direction)",
|
|
135
|
-
"values": [{ "name": "PlaybackDirection" }]
|
|
136
|
-
},
|
|
137
|
-
{
|
|
138
|
-
"name": "duration",
|
|
139
|
-
"description": "The number of milliseconds each iteration of the animation takes to complete.",
|
|
140
|
-
"values": []
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
"name": "easing",
|
|
144
|
-
"description": "The easing function to use for the animation. This can be a Flo.w RDF UI easing function or a custom easing function\nsuch as `cubic-bezier(0, 1, .76, 1.14)`.",
|
|
145
|
-
"values": []
|
|
146
|
-
},
|
|
147
|
-
{
|
|
148
|
-
"name": "end-delay",
|
|
149
|
-
"description": "The number of milliseconds to delay after the active period of an animation sequence.",
|
|
150
|
-
"values": []
|
|
151
|
-
},
|
|
152
|
-
{
|
|
153
|
-
"name": "fill",
|
|
154
|
-
"description": "Sets how the animation applies styles to its target before and after its execution.",
|
|
155
|
-
"values": [{ "name": "FillMode" }]
|
|
156
|
-
},
|
|
157
|
-
{
|
|
158
|
-
"name": "iterations",
|
|
159
|
-
"description": "The number of iterations to run before the animation completes. Defaults to `Infinity`, which loops.",
|
|
160
|
-
"values": []
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
"name": "iteration-start",
|
|
164
|
-
"description": "The offset at which to start the animation, usually between 0 (start) and 1 (end).",
|
|
165
|
-
"values": []
|
|
166
|
-
},
|
|
167
|
-
{
|
|
168
|
-
"name": "playback-rate",
|
|
169
|
-
"description": "Sets the animation's playback rate. The default is `1`, which plays the animation at a normal speed. Setting this\nto `2`, for example, will double the animation's speed. A negative value can be used to reverse the animation. This\nvalue can be changed without causing the animation to restart.",
|
|
168
|
+
"name": "label",
|
|
169
|
+
"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.",
|
|
170
170
|
"values": []
|
|
171
171
|
}
|
|
172
172
|
],
|
|
@@ -199,6 +199,19 @@
|
|
|
199
199
|
],
|
|
200
200
|
"references": []
|
|
201
201
|
},
|
|
202
|
+
{
|
|
203
|
+
"name": "flow-ui-button-group",
|
|
204
|
+
"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.",
|
|
205
|
+
"attributes": [
|
|
206
|
+
{ "name": "label", "values": [] },
|
|
207
|
+
{
|
|
208
|
+
"name": "vertical",
|
|
209
|
+
"description": "Use vertical layout for the button group.",
|
|
210
|
+
"values": []
|
|
211
|
+
}
|
|
212
|
+
],
|
|
213
|
+
"references": []
|
|
214
|
+
},
|
|
202
215
|
{
|
|
203
216
|
"name": "flow-ui-button",
|
|
204
217
|
"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.",
|
|
@@ -343,19 +356,6 @@
|
|
|
343
356
|
],
|
|
344
357
|
"references": []
|
|
345
358
|
},
|
|
346
|
-
{
|
|
347
|
-
"name": "flow-ui-button-group",
|
|
348
|
-
"description": "Button groups can be used to group related buttons into sections.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - One or more `<flow-ui-button>` elements to display in the button group.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
349
|
-
"attributes": [
|
|
350
|
-
{ "name": "label", "values": [] },
|
|
351
|
-
{
|
|
352
|
-
"name": "vertical",
|
|
353
|
-
"description": "Use vertical layout for the button group.",
|
|
354
|
-
"values": []
|
|
355
|
-
}
|
|
356
|
-
],
|
|
357
|
-
"references": []
|
|
358
|
-
},
|
|
359
359
|
{
|
|
360
360
|
"name": "flow-ui-card",
|
|
361
361
|
"description": "Cards can be used to group related subjects in a container.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The card's main content.\n- **header** - An optional header for the card.\n- **footer** - An optional footer for the card.\n- **image** - An optional image to render at the start of the card.\n\n### **CSS Properties:**\n - **--border-color** - The card's border color, including borders that occur inside the card. _(default: undefined)_\n- **--border-radius** - The border radius for the card's edges. _(default: undefined)_\n- **--border-width** - The width of the card's borders. _(default: undefined)_\n- **--padding** - The padding to use for the card's sections. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **image** - The container that wraps the card's image.\n- **header** - The container that wraps the card's header.\n- **body** - The container that wraps the card's main content.\n- **footer** - The container that wraps the card's footer.",
|
|
@@ -1680,7 +1680,11 @@
|
|
|
1680
1680
|
"description": "Disables the scroll arrows that appear when tabs overflow.",
|
|
1681
1681
|
"values": []
|
|
1682
1682
|
},
|
|
1683
|
-
{
|
|
1683
|
+
{
|
|
1684
|
+
"name": "control-split-view",
|
|
1685
|
+
"description": "Set to `true` to allow parent split-view pane to be automatically opened and closed when tabs are clicked.",
|
|
1686
|
+
"values": []
|
|
1687
|
+
}
|
|
1684
1688
|
],
|
|
1685
1689
|
"references": []
|
|
1686
1690
|
},
|