@emuanalytics/flow-rdf-ui 0.0.12 → 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.
@@ -96,82 +96,6 @@
96
96
  ],
97
97
  "references": []
98
98
  },
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
- {
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.",
166
- "attributes": [
167
- {
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
- "values": []
171
- }
172
- ],
173
- "references": []
174
- },
175
99
  {
176
100
  "name": "flow-ui-breadcrumb-item",
177
101
  "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.",
@@ -199,6 +123,18 @@
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
+ },
202
138
  {
203
139
  "name": "flow-ui-button-group",
204
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.",
@@ -356,6 +292,70 @@
356
292
  ],
357
293
  "references": []
358
294
  },
295
+ {
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.",
298
+ "attributes": [
299
+ {
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
+ "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.",
@@ -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.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emuanalytics/flow-rdf-ui",
3
- "version": "0.0.12",
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",