@emuanalytics/flow-rdf-ui 4.1.18 → 4.1.20

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.
@@ -1,3 +1,3 @@
1
- const version = "4.1.18";
1
+ const version = "4.1.20";
2
2
 
3
3
  export { version };
@@ -36,63 +36,37 @@
36
36
  "references": []
37
37
  },
38
38
  {
39
- "name": "flow-ui-animation",
40
- "description": "Animate elements declaratively with over 100 animation presets. 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.",
39
+ "name": "flow-ui-avatar",
40
+ "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.",
41
41
  "attributes": [
42
42
  {
43
- "name": "name",
44
- "description": "The name of the built-in animation to use. For custom animations, use the `keyframes` prop.\nUse `getAnimationNames()` to retrieve a list of available animations.",
45
- "values": []
46
- },
47
- {
48
- "name": "play",
49
- "description": "Plays the animation. When omitted, the animation will be paused. This attribute will be automatically removed when\nthe animation finishes or gets canceled.",
50
- "values": []
51
- },
52
- {
53
- "name": "delay",
54
- "description": "The number of milliseconds to delay the start of the animation.",
55
- "values": []
56
- },
57
- {
58
- "name": "direction",
59
- "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)",
60
- "values": [{ "name": "PlaybackDirection" }]
61
- },
62
- {
63
- "name": "duration",
64
- "description": "The number of milliseconds each iteration of the animation takes to complete.",
65
- "values": []
66
- },
67
- {
68
- "name": "easing",
69
- "description": "The easing function to use for the animation. This can be a Shoelace easing function or a custom easing function\nsuch as `cubic-bezier(0, 1, .76, 1.14)`.",
43
+ "name": "image",
44
+ "description": "The image source to use for the avatar.",
70
45
  "values": []
71
46
  },
72
47
  {
73
- "name": "end-delay",
74
- "description": "The number of milliseconds to delay after the active period of an animation sequence.",
48
+ "name": "label",
49
+ "description": "A label to use to describe the avatar to assistive devices.",
75
50
  "values": []
76
51
  },
77
52
  {
78
- "name": "fill",
79
- "description": "Sets how the animation applies styles to its target before and after its execution.",
80
- "values": [{ "name": "FillMode" }]
81
- },
82
- {
83
- "name": "iterations",
84
- "description": "The number of iterations to run before the animation completes. Defaults to `Infinity`, which loops.",
53
+ "name": "initials",
54
+ "description": "Initials to use as a fallback when no image is available (1-2 characters max recommended).",
85
55
  "values": []
86
56
  },
87
57
  {
88
- "name": "iteration-start",
89
- "description": "The offset at which to start the animation, usually between 0 (start) and 1 (end).",
90
- "values": []
58
+ "name": "loading",
59
+ "description": "Indicates how the browser should load the image.",
60
+ "values": [{ "name": "eager" }, { "name": "lazy" }]
91
61
  },
92
62
  {
93
- "name": "playback-rate",
94
- "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.",
95
- "values": []
63
+ "name": "shape",
64
+ "description": "The shape of the avatar.",
65
+ "values": [
66
+ { "name": "circle" },
67
+ { "name": "square" },
68
+ { "name": "rounded" }
69
+ ]
96
70
  }
97
71
  ],
98
72
  "references": []
@@ -202,37 +176,101 @@
202
176
  "references": []
203
177
  },
204
178
  {
205
- "name": "flow-ui-avatar",
206
- "description": "Avatars are used to represent a person or object.\n\n\n---\n\n\n\n\n### **Slots:**\n - **icon** - The default icon to use when no image or initials are present. Works best with `<flow-ui-icon>`.\n\n### **CSS Properties:**\n - **--size** - The size of the avatar. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **icon** - The container that wraps the avatar's icon.\n- **initials** - The container that wraps the avatar's initials.\n- **image** - The avatar image. Only shown when the `image` attribute is set.",
179
+ "name": "flow-ui-badge",
180
+ "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.",
207
181
  "attributes": [
208
182
  {
209
- "name": "image",
210
- "description": "The image source to use for the avatar.",
183
+ "name": "variant",
184
+ "description": "The badge's theme variant.",
185
+ "values": [
186
+ { "name": "primary" },
187
+ { "name": "secondary" },
188
+ { "name": "success" },
189
+ { "name": "neutral" },
190
+ { "name": "warning" },
191
+ { "name": "danger" }
192
+ ]
193
+ },
194
+ {
195
+ "name": "size",
196
+ "description": "The badge size.",
197
+ "values": [
198
+ { "name": "small" },
199
+ { "name": "medium" },
200
+ { "name": "large" }
201
+ ]
202
+ },
203
+ {
204
+ "name": "pill",
205
+ "description": "Draws a pill-style badge with rounded edges.",
211
206
  "values": []
212
207
  },
213
208
  {
214
- "name": "label",
215
- "description": "A label to use to describe the avatar to assistive devices.",
209
+ "name": "pulse",
210
+ "description": "Makes the badge pulsate to draw attention.",
211
+ "values": []
212
+ }
213
+ ],
214
+ "references": []
215
+ },
216
+ {
217
+ "name": "flow-ui-animation",
218
+ "description": "Animate elements declaratively with over 100 animation presets. 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.",
219
+ "attributes": [
220
+ {
221
+ "name": "name",
222
+ "description": "The name of the built-in animation to use. For custom animations, use the `keyframes` prop.\nUse `getAnimationNames()` to retrieve a list of available animations.",
216
223
  "values": []
217
224
  },
218
225
  {
219
- "name": "initials",
220
- "description": "Initials to use as a fallback when no image is available (1-2 characters max recommended).",
226
+ "name": "play",
227
+ "description": "Plays the animation. When omitted, the animation will be paused. This attribute will be automatically removed when\nthe animation finishes or gets canceled.",
221
228
  "values": []
222
229
  },
223
230
  {
224
- "name": "loading",
225
- "description": "Indicates how the browser should load the image.",
226
- "values": [{ "name": "eager" }, { "name": "lazy" }]
231
+ "name": "delay",
232
+ "description": "The number of milliseconds to delay the start of the animation.",
233
+ "values": []
227
234
  },
228
235
  {
229
- "name": "shape",
230
- "description": "The shape of the avatar.",
231
- "values": [
232
- { "name": "circle" },
233
- { "name": "square" },
234
- { "name": "rounded" }
235
- ]
236
+ "name": "direction",
237
+ "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)",
238
+ "values": [{ "name": "PlaybackDirection" }]
239
+ },
240
+ {
241
+ "name": "duration",
242
+ "description": "The number of milliseconds each iteration of the animation takes to complete.",
243
+ "values": []
244
+ },
245
+ {
246
+ "name": "easing",
247
+ "description": "The easing function to use for the animation. This can be a Shoelace easing function or a custom easing function\nsuch as `cubic-bezier(0, 1, .76, 1.14)`.",
248
+ "values": []
249
+ },
250
+ {
251
+ "name": "end-delay",
252
+ "description": "The number of milliseconds to delay after the active period of an animation sequence.",
253
+ "values": []
254
+ },
255
+ {
256
+ "name": "fill",
257
+ "description": "Sets how the animation applies styles to its target before and after its execution.",
258
+ "values": [{ "name": "FillMode" }]
259
+ },
260
+ {
261
+ "name": "iterations",
262
+ "description": "The number of iterations to run before the animation completes. Defaults to `Infinity`, which loops.",
263
+ "values": []
264
+ },
265
+ {
266
+ "name": "iteration-start",
267
+ "description": "The offset at which to start the animation, usually between 0 (start) and 1 (end).",
268
+ "values": []
269
+ },
270
+ {
271
+ "name": "playback-rate",
272
+ "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.",
273
+ "values": []
236
274
  }
237
275
  ],
238
276
  "references": []
@@ -337,44 +375,6 @@
337
375
  ],
338
376
  "references": []
339
377
  },
340
- {
341
- "name": "flow-ui-badge",
342
- "description": "Badges are used to draw attention and display statuses or counts.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The badge's content.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
343
- "attributes": [
344
- {
345
- "name": "variant",
346
- "description": "The badge's theme variant.",
347
- "values": [
348
- { "name": "primary" },
349
- { "name": "secondary" },
350
- { "name": "success" },
351
- { "name": "neutral" },
352
- { "name": "warning" },
353
- { "name": "danger" }
354
- ]
355
- },
356
- {
357
- "name": "size",
358
- "description": "The badge size.",
359
- "values": [
360
- { "name": "small" },
361
- { "name": "medium" },
362
- { "name": "large" }
363
- ]
364
- },
365
- {
366
- "name": "pill",
367
- "description": "Draws a pill-style badge with rounded edges.",
368
- "values": []
369
- },
370
- {
371
- "name": "pulse",
372
- "description": "Makes the badge pulsate to draw attention.",
373
- "values": []
374
- }
375
- ],
376
- "references": []
377
- },
378
378
  {
379
379
  "name": "flow-ui-busy-overlay",
380
380
  "description": "Busy overlay is used to indicate that a component which displays data is being currently updated.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The component to overlay with when busy.\n- **busy-animation** - The indeterminate custom loading animation to display when busy.\n\n### **CSS Properties:**\n - **--transition-delay** - The delay after which the overlay is shown. _(default: undefined)_\n- **--transition-duration** - The duration of the overlay's fade-in/out transition. _(default: undefined)_\n- **--progress-ring-size** - The size of the default progress ring loading animation. _(default: undefined)_\n- **--progress-ring-track-width** - The width of the default progress ring's track. _(default: undefined)_\n- **--progress-ring-track-color** - The color of the default progress ring's track. _(default: undefined)_\n- **--overlay-background-color** - The background color of the overlay. _(default: undefined)_",
@@ -1399,33 +1399,6 @@
1399
1399
  ],
1400
1400
  "references": []
1401
1401
  },
1402
- {
1403
- "name": "flow-ui-icon",
1404
- "description": "Icons are symbols that can be used to represent various options within an application.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-load** - Emitted when the icon has loaded.\n- **flow-ui-error** - Emitted when the icon fails to load due to an error.\n\n### **CSS Parts:**\n - **svg** - The internal SVG element.",
1405
- "attributes": [
1406
- {
1407
- "name": "name",
1408
- "description": "The name of the icon to draw. Available names depend on the icon library being used.",
1409
- "values": []
1410
- },
1411
- {
1412
- "name": "src",
1413
- "description": "An external URL of an SVG file. Be sure you trust the content you are including, as it will be executed as code and\ncan result in XSS attacks.",
1414
- "values": []
1415
- },
1416
- {
1417
- "name": "label",
1418
- "description": "An alternate description to use for assistive devices. If omitted, the icon will be considered presentational and\nignored by assistive devices.",
1419
- "values": []
1420
- },
1421
- {
1422
- "name": "library",
1423
- "description": "The name of a registered custom icon library.",
1424
- "values": []
1425
- }
1426
- ],
1427
- "references": []
1428
- },
1429
1402
  {
1430
1403
  "name": "flow-ui-icon-button",
1431
1404
  "description": "Icons buttons are simple, icon-only buttons that can be used for actions and in toolbars.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-blur** - Emitted when the icon button loses focus.\n- **flow-ui-focus** - Emitted when the icon button gains focus.\n\n### **Methods:**\n - **click()** - Simulates a click on the icon button.\n- **focus(options: _FocusOptions_)** - Sets focus on the icon button.\n- **blur()** - Removes focus from the icon button.\n- **hideConfirm()** - Hide the confirmation tooltip if it is showing\n- **showConfirm()** - Show the confirmation tooltip\n\n### **Slots:**\n - **tooltip** - The tooltip content to display when the user hovers over the icon button. Alternatively, you can use the `tooltip` attribute.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
@@ -1517,6 +1490,33 @@
1517
1490
  ],
1518
1491
  "references": []
1519
1492
  },
1493
+ {
1494
+ "name": "flow-ui-icon",
1495
+ "description": "Icons are symbols that can be used to represent various options within an application.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-load** - Emitted when the icon has loaded.\n- **flow-ui-error** - Emitted when the icon fails to load due to an error.\n\n### **CSS Parts:**\n - **svg** - The internal SVG element.",
1496
+ "attributes": [
1497
+ {
1498
+ "name": "name",
1499
+ "description": "The name of the icon to draw. Available names depend on the icon library being used.",
1500
+ "values": []
1501
+ },
1502
+ {
1503
+ "name": "src",
1504
+ "description": "An external URL of an SVG file. Be sure you trust the content you are including, as it will be executed as code and\ncan result in XSS attacks.",
1505
+ "values": []
1506
+ },
1507
+ {
1508
+ "name": "label",
1509
+ "description": "An alternate description to use for assistive devices. If omitted, the icon will be considered presentational and\nignored by assistive devices.",
1510
+ "values": []
1511
+ },
1512
+ {
1513
+ "name": "library",
1514
+ "description": "The name of a registered custom icon library.",
1515
+ "values": []
1516
+ }
1517
+ ],
1518
+ "references": []
1519
+ },
1520
1520
  {
1521
1521
  "name": "flow-ui-input",
1522
1522
  "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- **select()** - Selects all the text in the input.\n- **setSelectionRange(selectionStart: _number_, selectionEnd: _number_, selectionDirection: _'forward' | 'backward' | 'none'_)** - Sets the start and end positions of the text selection (0-based).\n- **setRangeText(replacement: _string_, start: _number_, end: _number_, selectMode: _'select' | 'start' | 'end' | 'preserve'_)** - Replaces a range of text with a new string.\n- **showPicker()** - Displays the browser picker for an input element (only works if the browser supports it for the input type).\n- **stepUp()** - Increments the value of a numeric input type by the value of the step attribute.\n- **stepDown()** - Decrements the value of a numeric input type by the value of the step attribute.\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.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emuanalytics/flow-rdf-ui",
3
- "version": "4.1.18",
3
+ "version": "4.1.20",
4
4
  "type": "module",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",
@@ -104,13 +104,13 @@
104
104
  "vite": "^4.3.9",
105
105
  "vite-plugin-dts": "^3.5.1",
106
106
  "webdriverio": "^8.14.3",
107
- "@emuanalytics/flow-rdf-core": "4.0.15"
107
+ "@emuanalytics/flow-rdf-core": "4.1.0"
108
108
  },
109
109
  "peerDependencies": {
110
110
  "chart.js": "^4.4.2",
111
111
  "lit": "^2.7.2",
112
112
  "lit-html": "^2.7.5",
113
- "@emuanalytics/flow-rdf-core": "~4.0.15"
113
+ "@emuanalytics/flow-rdf-core": "~4.1.0"
114
114
  },
115
115
  "scripts": {
116
116
  "dev": "vite",