@emuanalytics/flow-rdf-ui 4.1.2 → 4.1.4

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.
@@ -97,6 +97,42 @@
97
97
  ],
98
98
  "references": []
99
99
  },
100
+ {
101
+ "name": "flow-ui-avatar",
102
+ "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.",
103
+ "attributes": [
104
+ {
105
+ "name": "image",
106
+ "description": "The image source to use for the avatar.",
107
+ "values": []
108
+ },
109
+ {
110
+ "name": "label",
111
+ "description": "A label to use to describe the avatar to assistive devices.",
112
+ "values": []
113
+ },
114
+ {
115
+ "name": "initials",
116
+ "description": "Initials to use as a fallback when no image is available (1-2 characters max recommended).",
117
+ "values": []
118
+ },
119
+ {
120
+ "name": "loading",
121
+ "description": "Indicates how the browser should load the image.",
122
+ "values": [{ "name": "eager" }, { "name": "lazy" }]
123
+ },
124
+ {
125
+ "name": "shape",
126
+ "description": "The shape of the avatar.",
127
+ "values": [
128
+ { "name": "circle" },
129
+ { "name": "square" },
130
+ { "name": "rounded" }
131
+ ]
132
+ }
133
+ ],
134
+ "references": []
135
+ },
100
136
  {
101
137
  "name": "flow-ui-badge",
102
138
  "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.",
@@ -136,63 +172,99 @@
136
172
  "references": []
137
173
  },
138
174
  {
139
- "name": "flow-ui-avatar",
140
- "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.",
175
+ "name": "flow-ui-autocomplete",
176
+ "description": "The Autocomplete is a Text input enhanced by a panel of suggested options.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-input** - Emitted when the display value changes.\n- **flow-ui-change** - Emitted when the input value changes.\n- **flow-ui-focus** - Emitted when the input is focused.\n- **flow-ui-blur** - Emitted when the input is blurred.\n- **flow-ui-show** - Emitted when the dropdown is shown.\n- **flow-ui-after-show** - Emitted when the dropdown is shown.\n- **flow-ui-hide** - Emitted when the dropdown is hidden.\n- **flow-ui-after-hide** - Emitted when the dropdown is hidden.\n- **flow-ui-invalid** - Emitted when the input is invalid.\n- **flow-ui-valid** - Emitted when the input is valid.\n- **flow-ui-validate** - Emitted when the input is validated.\n- **flow-ui-validate-complete** - Emitted when the input is validated and the validity state is updated.\n- **flow-ui-validate-error** - Emitted when the input is validated and an error occurs.\n- **flow-ui-validate-success** - Emitted when the input is validated and no errors occur.\n\n### **Methods:**\n - **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **checkValidity(): _boolean_** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **reportValidity(): _boolean_** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(_: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n- **focus()** - Focuses on the control\n- **blur()** - Blurs from the control.\n- **show()** - Shows the listbox.\n- **hide()** - Hides the listbox.\n- **getInputText()** - Gets the current value of the text input",
141
177
  "attributes": [
142
178
  {
143
- "name": "image",
144
- "description": "The image source to use for the avatar.",
179
+ "name": "size",
180
+ "description": "The autocomplete's size",
181
+ "values": [
182
+ { "name": "small" },
183
+ { "name": "medium" },
184
+ { "name": "large" }
185
+ ]
186
+ },
187
+ {
188
+ "name": "filled",
189
+ "description": "Draws a filled autocomplete input",
190
+ "values": []
191
+ },
192
+ {
193
+ "name": "pill",
194
+ "description": "Draws a pill-style autocomplete input with rounded edges",
145
195
  "values": []
146
196
  },
147
197
  {
148
198
  "name": "label",
149
- "description": "A label to use to describe the avatar to assistive devices.",
199
+ "description": "The autocomplete input's label. If you need to display HTML, use the `help-text` slot instead",
150
200
  "values": []
151
201
  },
152
202
  {
153
- "name": "initials",
154
- "description": "Initials to use as a fallback when no image is available (1-2 characters max recommended).",
203
+ "name": "help-text",
204
+ "description": "The autocomplete input's help text. If you need to display HTML, use the `help-text` slot instead",
155
205
  "values": []
156
206
  },
157
207
  {
158
- "name": "loading",
159
- "description": "Indicates how the browser should load the image.",
160
- "values": [{ "name": "eager" }, { "name": "lazy" }]
208
+ "name": "placeholder",
209
+ "description": "The autocomplete input's placeholder text",
210
+ "values": []
161
211
  },
162
212
  {
163
- "name": "shape",
164
- "description": "The shape of the avatar.",
165
- "values": [
166
- { "name": "circle" },
167
- { "name": "square" },
168
- { "name": "rounded" }
169
- ]
170
- }
171
- ],
172
- "references": []
173
- },
174
- {
175
- "name": "flow-ui-breadcrumb-item",
176
- "description": "Breadcrumb Items are used inside [breadcrumbs](./flow-ui-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.",
177
- "attributes": [
213
+ "name": "disabled",
214
+ "description": "Disables the autocomplete",
215
+ "values": []
216
+ },
178
217
  {
179
- "name": "href",
180
- "description": "Optional URL to direct the user to when the breadcrumb item is activated. When set, a link will be rendered\ninternally. When unset, a button will be rendered instead.",
218
+ "name": "form",
219
+ "description": "The \"form owner\" to associate the button with. If omitted, the closest containing form will be used instead. The\nvalue of this attribute must be an id of a form in the same document or shadow root as the button.",
181
220
  "values": []
182
221
  },
183
222
  {
184
- "name": "target",
185
- "description": "Tells the browser where to open the link. Only used when `href` is set.",
223
+ "name": "required",
224
+ "description": "Makes the autocomplete a required field",
225
+ "values": []
226
+ },
227
+ {
228
+ "name": "inline",
229
+ "description": "Display the autocomplete in the 'inline' form control style",
230
+ "values": []
231
+ },
232
+ {
233
+ "name": "divider",
234
+ "description": "Indicates that the control should display a divider",
235
+ "values": []
236
+ },
237
+ {
238
+ "name": "hoist",
239
+ "description": "Enable this option to prevent the listbox 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.",
240
+ "values": []
241
+ },
242
+ {
243
+ "name": "placement",
244
+ "description": "The preferred placement of the autocomplete's menu. Note that the actual placement may vary as needed to keep the listbox\ninside of the viewport.",
245
+ "values": [{ "name": "top" }, { "name": "bottom" }]
246
+ },
247
+ {
248
+ "name": "value",
249
+ "description": "Current value of the control, selected from one of the valid options available",
250
+ "values": []
251
+ },
252
+ {
253
+ "name": "displayWith",
254
+ "description": "Function for determining the `displayValue` for a given `value`.\nBy default, it will show the `value` itself.",
186
255
  "values": [
187
- { "name": "_blank" },
188
- { "name": "_parent" },
189
- { "name": "_self" },
190
- { "name": "_top" }
256
+ { "name": "((value: string) => string)" },
257
+ { "name": "((value: string) => Promise<string>)" }
191
258
  ]
192
259
  },
193
260
  {
194
- "name": "rel",
195
- "description": "The `rel` attribute to use on the link. Only used when `href` is set.",
261
+ "name": "debounce-delay",
262
+ "description": "Debounce delay",
263
+ "values": []
264
+ },
265
+ {
266
+ "name": "clearable",
267
+ "description": "Show the option to clear input",
196
268
  "values": []
197
269
  }
198
270
  ],
@@ -259,6 +331,33 @@
259
331
  ],
260
332
  "references": []
261
333
  },
334
+ {
335
+ "name": "flow-ui-breadcrumb-item",
336
+ "description": "Breadcrumb Items are used inside [breadcrumbs](./flow-ui-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.",
337
+ "attributes": [
338
+ {
339
+ "name": "href",
340
+ "description": "Optional URL to direct the user to when the breadcrumb item is activated. When set, a link will be rendered\ninternally. When unset, a button will be rendered instead.",
341
+ "values": []
342
+ },
343
+ {
344
+ "name": "target",
345
+ "description": "Tells the browser where to open the link. Only used when `href` is set.",
346
+ "values": [
347
+ { "name": "_blank" },
348
+ { "name": "_parent" },
349
+ { "name": "_self" },
350
+ { "name": "_top" }
351
+ ]
352
+ },
353
+ {
354
+ "name": "rel",
355
+ "description": "The `rel` attribute to use on the link. Only used when `href` is set.",
356
+ "values": []
357
+ }
358
+ ],
359
+ "references": []
360
+ },
262
361
  {
263
362
  "name": "flow-ui-breadcrumb",
264
363
  "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.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emuanalytics/flow-rdf-ui",
3
- "version": "4.1.2",
3
+ "version": "4.1.4",
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.10"
107
+ "@emuanalytics/flow-rdf-core": "4.0.11"
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.10"
113
+ "@emuanalytics/flow-rdf-core": "~4.0.11"
114
114
  },
115
115
  "scripts": {
116
116
  "dev": "vite",
package/themes/dark.css CHANGED
@@ -582,11 +582,15 @@
582
582
  --flow-ui-list-item-padding: var(--flow-ui-spacing-medium);
583
583
  --flow-ui-list-item-height: 40px;
584
584
  --flow-ui-list-item-color: var(--flow-ui-color-text);
585
+ --flow-ui-list-item-color-disabled: var(--flow-ui-color-neutral-600);
585
586
  --flow-ui-list-item-accessory-color: var(--flow-ui-color-neutral-800);
586
587
  --flow-ui-list-item-background-color: var(--flow-ui-color-neutral-300);
587
588
  --flow-ui-list-item-background-color-selected: var(
588
589
  --flow-ui-color-neutral-500
589
590
  );
591
+ --flow-ui-list-item-background-color-disabled: var(
592
+ --flow-ui-color-neutral-300
593
+ );
590
594
  --flow-ui-list-item-selection-color: var(--flow-ui-color-primary-500);
591
595
  --flow-ui-list-item-divider-color: transparent;
592
596
 
@@ -605,11 +605,15 @@ export default css`
605
605
  --flow-ui-list-item-padding: var(--flow-ui-spacing-medium);
606
606
  --flow-ui-list-item-height: 40px;
607
607
  --flow-ui-list-item-color: var(--flow-ui-color-text);
608
+ --flow-ui-list-item-color-disabled: var(--flow-ui-color-neutral-600);
608
609
  --flow-ui-list-item-accessory-color: var(--flow-ui-color-neutral-800);
609
610
  --flow-ui-list-item-background-color: var(--flow-ui-color-neutral-300);
610
611
  --flow-ui-list-item-background-color-selected: var(
611
612
  --flow-ui-color-neutral-500
612
613
  );
614
+ --flow-ui-list-item-background-color-disabled: var(
615
+ --flow-ui-color-neutral-300
616
+ );
613
617
  --flow-ui-list-item-selection-color: var(--flow-ui-color-primary-500);
614
618
  --flow-ui-list-item-divider-color: transparent;
615
619
 
package/themes/light.css CHANGED
@@ -583,11 +583,15 @@
583
583
  --flow-ui-list-item-padding: var(--flow-ui-spacing-medium);
584
584
  --flow-ui-list-item-height: 40px;
585
585
  --flow-ui-list-item-color: var(--flow-ui-color-text);
586
+ --flow-ui-list-item-color-disabled: var(--flow-ui-color-neutral-500);
586
587
  --flow-ui-list-item-accessory-color: var(--flow-ui-color-neutral-800);
587
588
  --flow-ui-list-item-background-color: var(--flow-ui-color-neutral-50);
588
589
  --flow-ui-list-item-background-color-selected: var(
589
590
  --flow-ui-color-neutral-100
590
591
  );
592
+ --flow-ui-list-item-background-color-disabled: var(
593
+ --flow-ui-color-neutral-50
594
+ );
591
595
  --flow-ui-list-item-selection-color: var(--flow-ui-color-primary-500);
592
596
  --flow-ui-list-item-divider-color: transparent;
593
597
 
@@ -606,11 +606,15 @@ export default css`
606
606
  --flow-ui-list-item-padding: var(--flow-ui-spacing-medium);
607
607
  --flow-ui-list-item-height: 40px;
608
608
  --flow-ui-list-item-color: var(--flow-ui-color-text);
609
+ --flow-ui-list-item-color-disabled: var(--flow-ui-color-neutral-500);
609
610
  --flow-ui-list-item-accessory-color: var(--flow-ui-color-neutral-800);
610
611
  --flow-ui-list-item-background-color: var(--flow-ui-color-neutral-50);
611
612
  --flow-ui-list-item-background-color-selected: var(
612
613
  --flow-ui-color-neutral-100
613
614
  );
615
+ --flow-ui-list-item-background-color-disabled: var(
616
+ --flow-ui-color-neutral-50
617
+ );
614
618
  --flow-ui-list-item-selection-color: var(--flow-ui-color-primary-500);
615
619
  --flow-ui-list-item-divider-color: transparent;
616
620