@emuanalytics/flow-rdf-ui 0.0.11 → 0.0.13

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.
@@ -34,82 +34,6 @@
34
34
  ],
35
35
  "references": []
36
36
  },
37
- {
38
- "name": "flow-ui-avatar",
39
- "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.",
40
- "attributes": [
41
- {
42
- "name": "image",
43
- "description": "The image source to use for the avatar.",
44
- "values": []
45
- },
46
- {
47
- "name": "label",
48
- "description": "A label to use to describe the avatar to assistive devices.",
49
- "values": []
50
- },
51
- {
52
- "name": "initials",
53
- "description": "Initials to use as a fallback when no image is available (1-2 characters max recommended).",
54
- "values": []
55
- },
56
- {
57
- "name": "loading",
58
- "description": "Indicates how the browser should load the image.",
59
- "values": [{ "name": "eager" }, { "name": "lazy" }]
60
- },
61
- {
62
- "name": "shape",
63
- "description": "The shape of the avatar.",
64
- "values": [
65
- { "name": "circle" },
66
- { "name": "square" },
67
- { "name": "rounded" }
68
- ]
69
- }
70
- ],
71
- "references": []
72
- },
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
- {
86
- "name": "flow-ui-badge",
87
- "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.",
88
- "attributes": [
89
- {
90
- "name": "variant",
91
- "description": "The badge's theme variant.",
92
- "values": [
93
- { "name": "primary" },
94
- { "name": "success" },
95
- { "name": "neutral" },
96
- { "name": "warning" },
97
- { "name": "danger" }
98
- ]
99
- },
100
- {
101
- "name": "pill",
102
- "description": "Draws a pill-style badge with rounded edges.",
103
- "values": []
104
- },
105
- {
106
- "name": "pulse",
107
- "description": "Makes the badge pulsate to draw attention.",
108
- "values": []
109
- }
110
- ],
111
- "references": []
112
- },
113
37
  {
114
38
  "name": "flow-ui-animation",
115
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.",
@@ -199,6 +123,31 @@
199
123
  ],
200
124
  "references": []
201
125
  },
126
+ {
127
+ "name": "flow-ui-breadcrumb",
128
+ "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.",
129
+ "attributes": [
130
+ {
131
+ "name": "label",
132
+ "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.",
133
+ "values": []
134
+ }
135
+ ],
136
+ "references": []
137
+ },
138
+ {
139
+ "name": "flow-ui-button-group",
140
+ "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.",
141
+ "attributes": [
142
+ { "name": "label", "values": [] },
143
+ {
144
+ "name": "vertical",
145
+ "description": "Use vertical layout for the button group.",
146
+ "values": []
147
+ }
148
+ ],
149
+ "references": []
150
+ },
202
151
  {
203
152
  "name": "flow-ui-button",
204
153
  "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.",
@@ -344,13 +293,64 @@
344
293
  "references": []
345
294
  },
346
295
  {
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.",
296
+ "name": "flow-ui-avatar",
297
+ "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.",
349
298
  "attributes": [
350
- { "name": "label", "values": [] },
351
299
  {
352
- "name": "vertical",
353
- "description": "Use vertical layout for the button group.",
300
+ "name": "image",
301
+ "description": "The image source to use for the avatar.",
302
+ "values": []
303
+ },
304
+ {
305
+ "name": "label",
306
+ "description": "A label to use to describe the avatar to assistive devices.",
307
+ "values": []
308
+ },
309
+ {
310
+ "name": "initials",
311
+ "description": "Initials to use as a fallback when no image is available (1-2 characters max recommended).",
312
+ "values": []
313
+ },
314
+ {
315
+ "name": "loading",
316
+ "description": "Indicates how the browser should load the image.",
317
+ "values": [{ "name": "eager" }, { "name": "lazy" }]
318
+ },
319
+ {
320
+ "name": "shape",
321
+ "description": "The shape of the avatar.",
322
+ "values": [
323
+ { "name": "circle" },
324
+ { "name": "square" },
325
+ { "name": "rounded" }
326
+ ]
327
+ }
328
+ ],
329
+ "references": []
330
+ },
331
+ {
332
+ "name": "flow-ui-badge",
333
+ "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.",
334
+ "attributes": [
335
+ {
336
+ "name": "variant",
337
+ "description": "The badge's theme variant.",
338
+ "values": [
339
+ { "name": "primary" },
340
+ { "name": "success" },
341
+ { "name": "neutral" },
342
+ { "name": "warning" },
343
+ { "name": "danger" }
344
+ ]
345
+ },
346
+ {
347
+ "name": "pill",
348
+ "description": "Draws a pill-style badge with rounded edges.",
349
+ "values": []
350
+ },
351
+ {
352
+ "name": "pulse",
353
+ "description": "Makes the badge pulsate to draw attention.",
354
354
  "values": []
355
355
  }
356
356
  ],
@@ -743,62 +743,6 @@
743
743
  ],
744
744
  "references": []
745
745
  },
746
- {
747
- "name": "flow-ui-dropdown",
748
- "description": "Dropdowns expose additional content that \"drops down\" in a panel.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-show** - Emitted when the dropdown opens.\n- **flow-ui-after-show** - Emitted after the dropdown opens and all animations are complete.\n- **flow-ui-hide** - Emitted when the dropdown closes.\n- **flow-ui-after-hide** - Emitted after the dropdown closes and all animations are complete.\n\n### **Methods:**\n - **show()** - Shows the dropdown panel.\n- **hide()** - Hides the dropdown panel\n- **reposition()** - Instructs the dropdown menu to reposition. Useful when the position or size of the trigger changes when the menu\nis activated.\n\n### **Slots:**\n - _default_ - The dropdown's main content.\n- **trigger** - The dropdown's trigger, usually a `<flow-ui-button>` element.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **trigger** - The container that wraps the trigger.\n- **panel** - The panel that gets shown when the dropdown is open.",
749
- "attributes": [
750
- {
751
- "name": "open",
752
- "description": "Indicates whether or not the dropdown is open. You can toggle this attribute to show and hide the dropdown, or you\ncan use the `show()` and `hide()` methods and this attribute will reflect the dropdown's open state.",
753
- "values": []
754
- },
755
- {
756
- "name": "placement",
757
- "description": "The preferred placement of the dropdown panel. Note that the actual placement may vary as needed to keep the panel\ninside of the viewport.",
758
- "values": [
759
- { "name": "" },
760
- { "name": "top" },
761
- { "name": "top-start" },
762
- { "name": "top-end" },
763
- { "name": "bottom" },
764
- { "name": "bottom-start" },
765
- { "name": "bottom-end" },
766
- { "name": "right" },
767
- { "name": "right-start" },
768
- { "name": "right-end" },
769
- { "name": "left" },
770
- { "name": "left-start" },
771
- { "name": "left-end" }
772
- ]
773
- },
774
- {
775
- "name": "disabled",
776
- "description": "Disables the dropdown so the panel will not open.",
777
- "values": []
778
- },
779
- {
780
- "name": "stay-open-on-select",
781
- "description": "By default, the dropdown is closed when an item is selected. This attribute will keep it open instead. Useful for\ndropdowns that allow for multiple interactions.",
782
- "values": []
783
- },
784
- {
785
- "name": "distance",
786
- "description": "The distance in pixels from which to offset the panel away from its trigger.",
787
- "values": []
788
- },
789
- {
790
- "name": "skidding",
791
- "description": "The distance in pixels from which to offset the panel along its trigger.",
792
- "values": []
793
- },
794
- {
795
- "name": "hoist",
796
- "description": "Enable this option to prevent the panel from being clipped when the component is placed inside a container with\n`overflow: auto|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all, scenarios.",
797
- "values": []
798
- }
799
- ],
800
- "references": []
801
- },
802
746
  {
803
747
  "name": "flow-ui-icon",
804
748
  "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.",
@@ -1680,7 +1624,11 @@
1680
1624
  "description": "Disables the scroll arrows that appear when tabs overflow.",
1681
1625
  "values": []
1682
1626
  },
1683
- { "name": "control-split-panel", "values": [] }
1627
+ {
1628
+ "name": "control-split-view",
1629
+ "description": "Set to `true` to allow parent split-view pane to be automatically opened and closed when tabs are clicked.",
1630
+ "values": []
1631
+ }
1684
1632
  ],
1685
1633
  "references": []
1686
1634
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emuanalytics/flow-rdf-ui",
3
- "version": "0.0.11",
3
+ "version": "0.0.13",
4
4
  "type": "module",
5
5
  "main": "dist/flow-rdf-ui.umd.cjs",
6
6
  "module": "dist/flow-rdf-ui.js",
@@ -23,6 +23,8 @@
23
23
  "@turf/great-circle": "^6.5.0",
24
24
  "@types/debug": "^4.1.8",
25
25
  "composed-offset-position": "^0.0.4",
26
+ "d3-format": "^3.1.0",
27
+ "dayjs": "^1.10.6",
26
28
  "debug": "^4.3.4",
27
29
  "lit": "^2.7.2",
28
30
  "ora": "^7.0.1",
@@ -42,6 +44,7 @@
42
44
  "@storybook/blocks": "^7.2.1",
43
45
  "@storybook/web-components": "^7.2.1",
44
46
  "@storybook/web-components-vite": "^7.2.1",
47
+ "@types/d3-format": "^3.0.4",
45
48
  "@types/mocha": "^10.0.1",
46
49
  "@types/sinon": "^10.0.16",
47
50
  "@vitest/browser": "^0.34.1",