@emuanalytics/flow-rdf-ui 0.0.18-alpha.2 → 0.0.18-alpha.21
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 +1490 -1127
- package/dist/flow-rdf-ui.d.ts +55 -14
- package/dist/flow-rdf-ui.js +17380 -24174
- package/dist/flow-rdf-ui.umd.cjs +19156 -25949
- package/dist/themes/dark.css +38 -0
- package/dist/themes/dark.styles.js +38 -0
- package/dist/themes/light.css +38 -0
- package/dist/themes/light.styles.js +38 -0
- package/dist/vscode.html-custom-data.json +116 -89
- package/package.json +14 -7
package/dist/themes/dark.css
CHANGED
|
@@ -505,6 +505,44 @@
|
|
|
505
505
|
--flow-ui-z-index-dropdown: 900;
|
|
506
506
|
--flow-ui-z-index-toast: 950;
|
|
507
507
|
--flow-ui-z-index-tooltip: 1000;
|
|
508
|
+
|
|
509
|
+
--flow-ui-chart-background-color: transparent;
|
|
510
|
+
--flow-ui-chart-text-color: var(--flow-ui-color-neutral-900);
|
|
511
|
+
|
|
512
|
+
--flow-ui-chart-axis-color: var(--flow-ui-color-neutral-600);
|
|
513
|
+
--flow-ui-chart-grid-color: var(--flow-ui-color-neutral-400);
|
|
514
|
+
--flow-ui-chart-axis-label-color: var(--flow-ui-color-neutral-900);
|
|
515
|
+
--flow-ui-chart-tick-label-color: var(--flow-ui-color-neutral-900);
|
|
516
|
+
|
|
517
|
+
--flow-ui-chart-stroke-color-0: var(--flow-ui-color-blue-500);
|
|
518
|
+
--flow-ui-chart-fill-color-0: var(--flow-ui-color-blue-300);
|
|
519
|
+
|
|
520
|
+
--flow-ui-chart-stroke-color-1: var(--flow-ui-color-red-500);
|
|
521
|
+
--flow-ui-chart-fill-color-1: var(--flow-ui-color-red-300);
|
|
522
|
+
|
|
523
|
+
--flow-ui-chart-stroke-color-2: var(--flow-ui-color-green-500);
|
|
524
|
+
--flow-ui-chart-fill-color-2: var(--flow-ui-color-green-300);
|
|
525
|
+
|
|
526
|
+
--flow-ui-chart-stroke-color-3: var(--flow-ui-color-indigo-500);
|
|
527
|
+
--flow-ui-chart-fill-color-3: var(--flow-ui-color-indigo-300);
|
|
528
|
+
|
|
529
|
+
--flow-ui-chart-stroke-color-4: var(--flow-ui-color-orange-500);
|
|
530
|
+
--flow-ui-chart-fill-color-4: var(--flow-ui-color-orange-300);
|
|
531
|
+
|
|
532
|
+
--flow-ui-chart-stroke-color-5: var(--flow-ui-color-pink-500);
|
|
533
|
+
--flow-ui-chart-fill-color-5: var(--flow-ui-color-pink-300);
|
|
534
|
+
|
|
535
|
+
--flow-ui-chart-stroke-color-6: var(--flow-ui-color-purple-500);
|
|
536
|
+
--flow-ui-chart-fill-color-6: var(--flow-ui-color-purple-300);
|
|
537
|
+
|
|
538
|
+
--flow-ui-chart-stroke-color-7: var(--flow-ui-color-cyan-500);
|
|
539
|
+
--flow-ui-chart-fill-color-7: var(--flow-ui-color-cyan-300);
|
|
540
|
+
|
|
541
|
+
--flow-ui-chart-stroke-color-8: var(--flow-ui-color-teal-500);
|
|
542
|
+
--flow-ui-chart-fill-color-8: var(--flow-ui-color-teal-300);
|
|
543
|
+
|
|
544
|
+
--flow-ui-chart-stroke-color-9: var(--flow-ui-color-yellow-500);
|
|
545
|
+
--flow-ui-chart-fill-color-9: var(--flow-ui-color-yellow-300);
|
|
508
546
|
}
|
|
509
547
|
|
|
510
548
|
.flow-ui-scroll-lock {
|
|
@@ -514,6 +514,44 @@ export default css`
|
|
|
514
514
|
--flow-ui-z-index-dropdown: 900;
|
|
515
515
|
--flow-ui-z-index-toast: 950;
|
|
516
516
|
--flow-ui-z-index-tooltip: 1000;
|
|
517
|
+
|
|
518
|
+
--flow-ui-chart-background-color: transparent;
|
|
519
|
+
--flow-ui-chart-text-color: var(--flow-ui-color-neutral-900);
|
|
520
|
+
|
|
521
|
+
--flow-ui-chart-axis-color: var(--flow-ui-color-neutral-600);
|
|
522
|
+
--flow-ui-chart-grid-color: var(--flow-ui-color-neutral-400);
|
|
523
|
+
--flow-ui-chart-axis-label-color: var(--flow-ui-color-neutral-900);
|
|
524
|
+
--flow-ui-chart-tick-label-color: var(--flow-ui-color-neutral-900);
|
|
525
|
+
|
|
526
|
+
--flow-ui-chart-stroke-color-0: var(--flow-ui-color-blue-500);
|
|
527
|
+
--flow-ui-chart-fill-color-0: var(--flow-ui-color-blue-300);
|
|
528
|
+
|
|
529
|
+
--flow-ui-chart-stroke-color-1: var(--flow-ui-color-red-500);
|
|
530
|
+
--flow-ui-chart-fill-color-1: var(--flow-ui-color-red-300);
|
|
531
|
+
|
|
532
|
+
--flow-ui-chart-stroke-color-2: var(--flow-ui-color-green-500);
|
|
533
|
+
--flow-ui-chart-fill-color-2: var(--flow-ui-color-green-300);
|
|
534
|
+
|
|
535
|
+
--flow-ui-chart-stroke-color-3: var(--flow-ui-color-indigo-500);
|
|
536
|
+
--flow-ui-chart-fill-color-3: var(--flow-ui-color-indigo-300);
|
|
537
|
+
|
|
538
|
+
--flow-ui-chart-stroke-color-4: var(--flow-ui-color-orange-500);
|
|
539
|
+
--flow-ui-chart-fill-color-4: var(--flow-ui-color-orange-300);
|
|
540
|
+
|
|
541
|
+
--flow-ui-chart-stroke-color-5: var(--flow-ui-color-pink-500);
|
|
542
|
+
--flow-ui-chart-fill-color-5: var(--flow-ui-color-pink-300);
|
|
543
|
+
|
|
544
|
+
--flow-ui-chart-stroke-color-6: var(--flow-ui-color-purple-500);
|
|
545
|
+
--flow-ui-chart-fill-color-6: var(--flow-ui-color-purple-300);
|
|
546
|
+
|
|
547
|
+
--flow-ui-chart-stroke-color-7: var(--flow-ui-color-cyan-500);
|
|
548
|
+
--flow-ui-chart-fill-color-7: var(--flow-ui-color-cyan-300);
|
|
549
|
+
|
|
550
|
+
--flow-ui-chart-stroke-color-8: var(--flow-ui-color-teal-500);
|
|
551
|
+
--flow-ui-chart-fill-color-8: var(--flow-ui-color-teal-300);
|
|
552
|
+
|
|
553
|
+
--flow-ui-chart-stroke-color-9: var(--flow-ui-color-yellow-500);
|
|
554
|
+
--flow-ui-chart-fill-color-9: var(--flow-ui-color-yellow-300);
|
|
517
555
|
}
|
|
518
556
|
|
|
519
557
|
.flow-ui-scroll-lock {
|
package/dist/themes/light.css
CHANGED
|
@@ -506,6 +506,44 @@
|
|
|
506
506
|
--flow-ui-z-index-dropdown: 900;
|
|
507
507
|
--flow-ui-z-index-toast: 950;
|
|
508
508
|
--flow-ui-z-index-tooltip: 1000;
|
|
509
|
+
|
|
510
|
+
--flow-ui-chart-background-color: transparent;
|
|
511
|
+
--flow-ui-chart-text-color: var(--flow-ui-color-neutral-1000);
|
|
512
|
+
|
|
513
|
+
--flow-ui-chart-axis-color: var(--flow-ui-color-neutral-400);
|
|
514
|
+
--flow-ui-chart-grid-color: var(--flow-ui-color-neutral-200);
|
|
515
|
+
--flow-ui-chart-axis-label-color: var(--flow-ui-color-neutral-1000);
|
|
516
|
+
--flow-ui-chart-tick-label-color: var(--flow-ui-color-neutral-1000);
|
|
517
|
+
|
|
518
|
+
--flow-ui-chart-stroke-color-0: var(--flow-ui-color-blue-500);
|
|
519
|
+
--flow-ui-chart-fill-color-0: var(--flow-ui-color-blue-300);
|
|
520
|
+
|
|
521
|
+
--flow-ui-chart-stroke-color-1: var(--flow-ui-color-red-500);
|
|
522
|
+
--flow-ui-chart-fill-color-1: var(--flow-ui-color-red-300);
|
|
523
|
+
|
|
524
|
+
--flow-ui-chart-stroke-color-2: var(--flow-ui-color-green-500);
|
|
525
|
+
--flow-ui-chart-fill-color-2: var(--flow-ui-color-green-300);
|
|
526
|
+
|
|
527
|
+
--flow-ui-chart-stroke-color-3: var(--flow-ui-color-indigo-500);
|
|
528
|
+
--flow-ui-chart-fill-color-3: var(--flow-ui-color-indigo-300);
|
|
529
|
+
|
|
530
|
+
--flow-ui-chart-stroke-color-4: var(--flow-ui-color-orange-500);
|
|
531
|
+
--flow-ui-chart-fill-color-4: var(--flow-ui-color-orange-300);
|
|
532
|
+
|
|
533
|
+
--flow-ui-chart-stroke-color-5: var(--flow-ui-color-pink-500);
|
|
534
|
+
--flow-ui-chart-fill-color-5: var(--flow-ui-color-pink-300);
|
|
535
|
+
|
|
536
|
+
--flow-ui-chart-stroke-color-6: var(--flow-ui-color-purple-500);
|
|
537
|
+
--flow-ui-chart-fill-color-6: var(--flow-ui-color-purple-300);
|
|
538
|
+
|
|
539
|
+
--flow-ui-chart-stroke-color-7: var(--flow-ui-color-cyan-500);
|
|
540
|
+
--flow-ui-chart-fill-color-7: var(--flow-ui-color-cyan-300);
|
|
541
|
+
|
|
542
|
+
--flow-ui-chart-stroke-color-8: var(--flow-ui-color-teal-500);
|
|
543
|
+
--flow-ui-chart-fill-color-8: var(--flow-ui-color-teal-300);
|
|
544
|
+
|
|
545
|
+
--flow-ui-chart-stroke-color-9: var(--flow-ui-color-yellow-500);
|
|
546
|
+
--flow-ui-chart-fill-color-9: var(--flow-ui-color-yellow-300);
|
|
509
547
|
}
|
|
510
548
|
|
|
511
549
|
.flow-ui-scroll-lock {
|
|
@@ -515,6 +515,44 @@ export default css`
|
|
|
515
515
|
--flow-ui-z-index-dropdown: 900;
|
|
516
516
|
--flow-ui-z-index-toast: 950;
|
|
517
517
|
--flow-ui-z-index-tooltip: 1000;
|
|
518
|
+
|
|
519
|
+
--flow-ui-chart-background-color: transparent;
|
|
520
|
+
--flow-ui-chart-text-color: var(--flow-ui-color-neutral-1000);
|
|
521
|
+
|
|
522
|
+
--flow-ui-chart-axis-color: var(--flow-ui-color-neutral-400);
|
|
523
|
+
--flow-ui-chart-grid-color: var(--flow-ui-color-neutral-200);
|
|
524
|
+
--flow-ui-chart-axis-label-color: var(--flow-ui-color-neutral-1000);
|
|
525
|
+
--flow-ui-chart-tick-label-color: var(--flow-ui-color-neutral-1000);
|
|
526
|
+
|
|
527
|
+
--flow-ui-chart-stroke-color-0: var(--flow-ui-color-blue-500);
|
|
528
|
+
--flow-ui-chart-fill-color-0: var(--flow-ui-color-blue-300);
|
|
529
|
+
|
|
530
|
+
--flow-ui-chart-stroke-color-1: var(--flow-ui-color-red-500);
|
|
531
|
+
--flow-ui-chart-fill-color-1: var(--flow-ui-color-red-300);
|
|
532
|
+
|
|
533
|
+
--flow-ui-chart-stroke-color-2: var(--flow-ui-color-green-500);
|
|
534
|
+
--flow-ui-chart-fill-color-2: var(--flow-ui-color-green-300);
|
|
535
|
+
|
|
536
|
+
--flow-ui-chart-stroke-color-3: var(--flow-ui-color-indigo-500);
|
|
537
|
+
--flow-ui-chart-fill-color-3: var(--flow-ui-color-indigo-300);
|
|
538
|
+
|
|
539
|
+
--flow-ui-chart-stroke-color-4: var(--flow-ui-color-orange-500);
|
|
540
|
+
--flow-ui-chart-fill-color-4: var(--flow-ui-color-orange-300);
|
|
541
|
+
|
|
542
|
+
--flow-ui-chart-stroke-color-5: var(--flow-ui-color-pink-500);
|
|
543
|
+
--flow-ui-chart-fill-color-5: var(--flow-ui-color-pink-300);
|
|
544
|
+
|
|
545
|
+
--flow-ui-chart-stroke-color-6: var(--flow-ui-color-purple-500);
|
|
546
|
+
--flow-ui-chart-fill-color-6: var(--flow-ui-color-purple-300);
|
|
547
|
+
|
|
548
|
+
--flow-ui-chart-stroke-color-7: var(--flow-ui-color-cyan-500);
|
|
549
|
+
--flow-ui-chart-fill-color-7: var(--flow-ui-color-cyan-300);
|
|
550
|
+
|
|
551
|
+
--flow-ui-chart-stroke-color-8: var(--flow-ui-color-teal-500);
|
|
552
|
+
--flow-ui-chart-fill-color-8: var(--flow-ui-color-teal-300);
|
|
553
|
+
|
|
554
|
+
--flow-ui-chart-stroke-color-9: var(--flow-ui-color-yellow-500);
|
|
555
|
+
--flow-ui-chart-fill-color-9: var(--flow-ui-color-yellow-300);
|
|
518
556
|
}
|
|
519
557
|
|
|
520
558
|
.flow-ui-scroll-lock {
|
|
@@ -34,6 +34,34 @@
|
|
|
34
34
|
],
|
|
35
35
|
"references": []
|
|
36
36
|
},
|
|
37
|
+
{
|
|
38
|
+
"name": "flow-ui-badge",
|
|
39
|
+
"description": "Badges are used to draw attention and display statuses or counts.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The badge's content.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
40
|
+
"attributes": [
|
|
41
|
+
{
|
|
42
|
+
"name": "variant",
|
|
43
|
+
"description": "The badge's theme variant.",
|
|
44
|
+
"values": [
|
|
45
|
+
{ "name": "primary" },
|
|
46
|
+
{ "name": "success" },
|
|
47
|
+
{ "name": "neutral" },
|
|
48
|
+
{ "name": "warning" },
|
|
49
|
+
{ "name": "danger" }
|
|
50
|
+
]
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"name": "pill",
|
|
54
|
+
"description": "Draws a pill-style badge with rounded edges.",
|
|
55
|
+
"values": []
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"name": "pulse",
|
|
59
|
+
"description": "Makes the badge pulsate to draw attention.",
|
|
60
|
+
"values": []
|
|
61
|
+
}
|
|
62
|
+
],
|
|
63
|
+
"references": []
|
|
64
|
+
},
|
|
37
65
|
{
|
|
38
66
|
"name": "flow-ui-animation",
|
|
39
67
|
"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.",
|
|
@@ -96,70 +124,6 @@
|
|
|
96
124
|
],
|
|
97
125
|
"references": []
|
|
98
126
|
},
|
|
99
|
-
{
|
|
100
|
-
"name": "flow-ui-avatar",
|
|
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.",
|
|
102
|
-
"attributes": [
|
|
103
|
-
{
|
|
104
|
-
"name": "image",
|
|
105
|
-
"description": "The image source to use for the avatar.",
|
|
106
|
-
"values": []
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
"name": "label",
|
|
110
|
-
"description": "A label to use to describe the avatar to assistive devices.",
|
|
111
|
-
"values": []
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
"name": "initials",
|
|
115
|
-
"description": "Initials to use as a fallback when no image is available (1-2 characters max recommended).",
|
|
116
|
-
"values": []
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
"name": "loading",
|
|
120
|
-
"description": "Indicates how the browser should load the image.",
|
|
121
|
-
"values": [{ "name": "eager" }, { "name": "lazy" }]
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
"name": "shape",
|
|
125
|
-
"description": "The shape of the avatar.",
|
|
126
|
-
"values": [
|
|
127
|
-
{ "name": "circle" },
|
|
128
|
-
{ "name": "square" },
|
|
129
|
-
{ "name": "rounded" }
|
|
130
|
-
]
|
|
131
|
-
}
|
|
132
|
-
],
|
|
133
|
-
"references": []
|
|
134
|
-
},
|
|
135
|
-
{
|
|
136
|
-
"name": "flow-ui-badge",
|
|
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.",
|
|
138
|
-
"attributes": [
|
|
139
|
-
{
|
|
140
|
-
"name": "variant",
|
|
141
|
-
"description": "The badge's theme variant.",
|
|
142
|
-
"values": [
|
|
143
|
-
{ "name": "primary" },
|
|
144
|
-
{ "name": "success" },
|
|
145
|
-
{ "name": "neutral" },
|
|
146
|
-
{ "name": "warning" },
|
|
147
|
-
{ "name": "danger" }
|
|
148
|
-
]
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
"name": "pill",
|
|
152
|
-
"description": "Draws a pill-style badge with rounded edges.",
|
|
153
|
-
"values": []
|
|
154
|
-
},
|
|
155
|
-
{
|
|
156
|
-
"name": "pulse",
|
|
157
|
-
"description": "Makes the badge pulsate to draw attention.",
|
|
158
|
-
"values": []
|
|
159
|
-
}
|
|
160
|
-
],
|
|
161
|
-
"references": []
|
|
162
|
-
},
|
|
163
127
|
{
|
|
164
128
|
"name": "flow-ui-breadcrumb-item",
|
|
165
129
|
"description": "Breadcrumb Items are used inside [breadcrumbs](/components/breadcrumb) to represent different links.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The breadcrumb item's label.\n- **prefix** - An optional prefix, usually an icon or icon button.\n- **suffix** - An optional suffix, usually an icon or icon button.\n- **separator** - The separator to use for the breadcrumb item. This will only change the separator for this item. If you want to change it for all items in the group, set the separator on `<flow-ui-breadcrumb>` instead.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **label** - The breadcrumb item's label.\n- **prefix** - The container that wraps the prefix.\n- **suffix** - The container that wraps the suffix.\n- **separator** - The container that wraps the separator.",
|
|
@@ -187,31 +151,6 @@
|
|
|
187
151
|
],
|
|
188
152
|
"references": []
|
|
189
153
|
},
|
|
190
|
-
{
|
|
191
|
-
"name": "flow-ui-breadcrumb",
|
|
192
|
-
"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.",
|
|
193
|
-
"attributes": [
|
|
194
|
-
{
|
|
195
|
-
"name": "label",
|
|
196
|
-
"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.",
|
|
197
|
-
"values": []
|
|
198
|
-
}
|
|
199
|
-
],
|
|
200
|
-
"references": []
|
|
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
|
-
},
|
|
215
154
|
{
|
|
216
155
|
"name": "flow-ui-button",
|
|
217
156
|
"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.",
|
|
@@ -356,6 +295,67 @@
|
|
|
356
295
|
],
|
|
357
296
|
"references": []
|
|
358
297
|
},
|
|
298
|
+
{
|
|
299
|
+
"name": "flow-ui-breadcrumb",
|
|
300
|
+
"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
|
+
"attributes": [
|
|
302
|
+
{
|
|
303
|
+
"name": "label",
|
|
304
|
+
"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.",
|
|
305
|
+
"values": []
|
|
306
|
+
}
|
|
307
|
+
],
|
|
308
|
+
"references": []
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
"name": "flow-ui-avatar",
|
|
312
|
+
"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.",
|
|
313
|
+
"attributes": [
|
|
314
|
+
{
|
|
315
|
+
"name": "image",
|
|
316
|
+
"description": "The image source to use for the avatar.",
|
|
317
|
+
"values": []
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"name": "label",
|
|
321
|
+
"description": "A label to use to describe the avatar to assistive devices.",
|
|
322
|
+
"values": []
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
"name": "initials",
|
|
326
|
+
"description": "Initials to use as a fallback when no image is available (1-2 characters max recommended).",
|
|
327
|
+
"values": []
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
"name": "loading",
|
|
331
|
+
"description": "Indicates how the browser should load the image.",
|
|
332
|
+
"values": [{ "name": "eager" }, { "name": "lazy" }]
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
"name": "shape",
|
|
336
|
+
"description": "The shape of the avatar.",
|
|
337
|
+
"values": [
|
|
338
|
+
{ "name": "circle" },
|
|
339
|
+
{ "name": "square" },
|
|
340
|
+
{ "name": "rounded" }
|
|
341
|
+
]
|
|
342
|
+
}
|
|
343
|
+
],
|
|
344
|
+
"references": []
|
|
345
|
+
},
|
|
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.",
|
|
@@ -420,6 +420,33 @@
|
|
|
420
420
|
"attributes": [],
|
|
421
421
|
"references": []
|
|
422
422
|
},
|
|
423
|
+
{
|
|
424
|
+
"name": "flow-ui-chart",
|
|
425
|
+
"description": "The chart component displays Chart.js charts.\n\n\n---\n\n\n\n\n### **Methods:**\n - **repaint()** - Trigger a repaint of the chart.\n\n### **CSS Properties:**\n - **--background-color** - Chart background color (applied as the background color of the base container). _(default: undefined)_\n- **--text-color** - General text color (titles etc.) _(default: undefined)_\n- **--axis-color** - Color of the axis lines. _(default: undefined)_\n- **--x-axis-color** - Color of the x-axis lines. (defaults to `--axis-color`) _(default: undefined)_\n- **--y-axis-color** - Color of the y-axis lines. (defaults to `--axis-color`) _(default: undefined)_\n- **--axis-grid-color** - Color of the axis grid lines. _(default: undefined)_\n- **--x-axis-grid-color** - Color of the x-axis grid lines. (defaults to `--axis-grid-color`) _(default: undefined)_\n- **--y-axis-grid-color** - Color of the y-axis grid lines. (defaults to `--axis-grid-color`) _(default: undefined)_\n- **--axis-label-color** - Color of the axis labels. _(default: undefined)_\n- **--x-axis-label-color** - Color of the x-axis labels. (defaults to `--axis-label-color`) _(default: undefined)_\n- **--y-axis-label-color** - Color of the y-axis labels. (defaults to `--axis-label-color`) _(default: undefined)_\n- **--tick-label-color** - Color of the tick labels. _(default: undefined)_\n- **--x-tick-label-color** - Color of the x-axis tick labels. (defaults to `--tick-label-color`) _(default: undefined)_\n- **--y-tick-label-color** - Color of the y-axis tick labels. (defaults to `--tick-label-color`) _(default: undefined)_\n- **--dataset-stroke-color-n** - Color of the stroke for dataset n (where n = 0-9). _(default: undefined)_\n- **--dataset-fill-color-n** - Color of the fill for dataset n (where n = 0-9). _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The base container of the chart.",
|
|
426
|
+
"attributes": [
|
|
427
|
+
{
|
|
428
|
+
"name": "type",
|
|
429
|
+
"description": "The Chart.js chart type (e.g `line`, `bar` or a custom type).",
|
|
430
|
+
"values": []
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
"name": "options",
|
|
434
|
+
"description": "The Chart.js `options` object.",
|
|
435
|
+
"values": [{ "name": "ChartOptions" }]
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
"name": "data",
|
|
439
|
+
"description": "The Chart.js `data` object",
|
|
440
|
+
"values": [{ "name": "ChartData" }]
|
|
441
|
+
},
|
|
442
|
+
{
|
|
443
|
+
"name": "plugins",
|
|
444
|
+
"description": "List of extra plugins to use for this chart.",
|
|
445
|
+
"values": [{ "name": "Plugin[]" }]
|
|
446
|
+
}
|
|
447
|
+
],
|
|
448
|
+
"references": []
|
|
449
|
+
},
|
|
423
450
|
{
|
|
424
451
|
"name": "flow-ui-checkbox",
|
|
425
452
|
"description": "Checkboxes allow the user to toggle an option on or off.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-blur** - Emitted when the checkbox loses focus.\n- **flow-ui-change** - Emitted when the checked state changes.\n- **flow-ui-focus** - Emitted when the checkbox gains focus.\n- **flow-ui-input** - Emitted when the checkbox 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 - **click()** - Simulates a click on the checkbox.\n- **focus(options: _FocusOptions_)** - Sets focus on the checkbox.\n- **blur()** - Removes focus from the checkbox.\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. The value provided will be shown to the user when the form is submitted. To clear\nthe custom validation message, call this method with an empty string.\n\n### **Slots:**\n - _default_ - The checkbox's label.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **control** - The square container that wraps the checkbox's checked state.\n- **control--checked** - Matches the control part when the checkbox is checked.\n- **control--indeterminate** - Matches the control part when the checkbox is indeterminate.\n- **checked-icon** - The checked icon, an `<flow-ui-icon>` element.\n- **indeterminate-icon** - The indeterminate icon, an `<flow-ui-icon>` element.\n- **label** - The container that wraps the checkbox's label.",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@emuanalytics/flow-rdf-ui",
|
|
3
|
-
"version": "0.0.18-alpha.
|
|
3
|
+
"version": "0.0.18-alpha.21",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/flow-rdf-ui.umd.cjs",
|
|
6
6
|
"module": "dist/flow-rdf-ui.js",
|
|
@@ -20,16 +20,17 @@
|
|
|
20
20
|
"@lit-labs/motion": "^1.0.4",
|
|
21
21
|
"@shoelace-style/animations": "^1.1.0",
|
|
22
22
|
"@shoelace-style/localize": "^3.1.1",
|
|
23
|
-
"
|
|
24
|
-
"
|
|
23
|
+
"chartjs-adapter-dayjs-4": "^1.0.4",
|
|
24
|
+
"chartjs-plugin-annotation": "^3.0.1",
|
|
25
|
+
"clone-deep": "^4.0.1",
|
|
25
26
|
"composed-offset-position": "^0.0.4",
|
|
26
27
|
"d3-format": "^3.1.0",
|
|
28
|
+
"d3-scale": "^4.0.2",
|
|
27
29
|
"dayjs": "^1.10.6",
|
|
28
30
|
"debug": "^4.3.4",
|
|
31
|
+
"deepmerge": "^4.3.1",
|
|
29
32
|
"lit": "^2.7.2",
|
|
30
|
-
"
|
|
31
|
-
"overlayscrollbars": "^2.4.4",
|
|
32
|
-
"s3-node-client": "^4.4.4"
|
|
33
|
+
"overlayscrollbars": "^2.4.4"
|
|
33
34
|
},
|
|
34
35
|
"devDependencies": {
|
|
35
36
|
"@custom-elements-manifest/analyzer": "^0.8.3",
|
|
@@ -44,10 +45,14 @@
|
|
|
44
45
|
"@storybook/blocks": "^7.2.1",
|
|
45
46
|
"@storybook/web-components": "^7.2.1",
|
|
46
47
|
"@storybook/web-components-vite": "^7.2.1",
|
|
48
|
+
"@types/clone-deep": "^4.0.1",
|
|
47
49
|
"@types/d3-format": "^3.0.4",
|
|
50
|
+
"@types/d3-scale": "^4.0.8",
|
|
51
|
+
"@types/debug": "^4.1.8",
|
|
48
52
|
"@types/mocha": "^10.0.1",
|
|
53
|
+
"@types/node": "^20.14.2",
|
|
49
54
|
"@types/sinon": "^10.0.16",
|
|
50
|
-
"@vitest/browser": "^
|
|
55
|
+
"@vitest/browser": "^1.6.0",
|
|
51
56
|
"@web/test-runner": "^0.17.0",
|
|
52
57
|
"@web/test-runner-commands": "^0.8.0",
|
|
53
58
|
"@web/test-runner-playwright": "^0.10.1",
|
|
@@ -61,11 +66,13 @@
|
|
|
61
66
|
"download": "^8.0.0",
|
|
62
67
|
"front-matter": "^4.0.2",
|
|
63
68
|
"globby": "^13.1.4",
|
|
69
|
+
"ora": "^7.0.1",
|
|
64
70
|
"pascal-case": "^3.1.2",
|
|
65
71
|
"prettier": "^2.8.8",
|
|
66
72
|
"react": "^18.2.0",
|
|
67
73
|
"react-dom": "^18.2.0",
|
|
68
74
|
"recursive-copy": "^2.0.14",
|
|
75
|
+
"s3-node-client": "^4.4.4",
|
|
69
76
|
"sinon": "^15.2.0",
|
|
70
77
|
"storybook": "^7.2.1",
|
|
71
78
|
"strip-css-comments": "^5.0.0",
|