@emuanalytics/flow-rdf-ui 4.0.9 → 4.0.10

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.0.8";
1
+ const version = "4.0.10";
2
2
 
3
3
  export { version };
@@ -97,42 +97,6 @@
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
- },
136
100
  {
137
101
  "name": "flow-ui-badge",
138
102
  "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.",
@@ -189,18 +153,6 @@
189
153
  ],
190
154
  "references": []
191
155
  },
192
- {
193
- "name": "flow-ui-breadcrumb",
194
- "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.",
195
- "attributes": [
196
- {
197
- "name": "label",
198
- "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.",
199
- "values": []
200
- }
201
- ],
202
- "references": []
203
- },
204
156
  {
205
157
  "name": "flow-ui-button",
206
158
  "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.",
@@ -351,6 +303,54 @@
351
303
  ],
352
304
  "references": []
353
305
  },
306
+ {
307
+ "name": "flow-ui-breadcrumb",
308
+ "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.",
309
+ "attributes": [
310
+ {
311
+ "name": "label",
312
+ "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.",
313
+ "values": []
314
+ }
315
+ ],
316
+ "references": []
317
+ },
318
+ {
319
+ "name": "flow-ui-avatar",
320
+ "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.",
321
+ "attributes": [
322
+ {
323
+ "name": "image",
324
+ "description": "The image source to use for the avatar.",
325
+ "values": []
326
+ },
327
+ {
328
+ "name": "label",
329
+ "description": "A label to use to describe the avatar to assistive devices.",
330
+ "values": []
331
+ },
332
+ {
333
+ "name": "initials",
334
+ "description": "Initials to use as a fallback when no image is available (1-2 characters max recommended).",
335
+ "values": []
336
+ },
337
+ {
338
+ "name": "loading",
339
+ "description": "Indicates how the browser should load the image.",
340
+ "values": [{ "name": "eager" }, { "name": "lazy" }]
341
+ },
342
+ {
343
+ "name": "shape",
344
+ "description": "The shape of the avatar.",
345
+ "values": [
346
+ { "name": "circle" },
347
+ { "name": "square" },
348
+ { "name": "rounded" }
349
+ ]
350
+ }
351
+ ],
352
+ "references": []
353
+ },
354
354
  {
355
355
  "name": "flow-ui-button-group",
356
356
  "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.",
@@ -368,6 +368,12 @@
368
368
  ],
369
369
  "references": []
370
370
  },
371
+ {
372
+ "name": "flow-ui-card",
373
+ "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.",
374
+ "attributes": [],
375
+ "references": []
376
+ },
371
377
  {
372
378
  "name": "flow-ui-calendar",
373
379
  "description": "A calendar component for selecting dates and times.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-input** - Emitted when the calendar value changes.\n- **flow-ui-change** - Emitted when the calendar value changes.\n\n### **CSS Properties:**\n - **--width** - The width of the calendar in CSS units. Set automatically if `size` is set. _(default: undefined)_\n- **--font-size** - The font size of the calendar. Set automatically if `size` is set. _(default: undefined)_\n- **--day-font-size** - The font size of the day labels. Set automatically if `size` is set. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
@@ -408,12 +414,6 @@
408
414
  ],
409
415
  "references": []
410
416
  },
411
- {
412
- "name": "flow-ui-card",
413
- "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.",
414
- "attributes": [],
415
- "references": []
416
- },
417
417
  {
418
418
  "name": "flow-ui-carousel",
419
419
  "description": "Carousels display an arbitrary number of content slides along a horizontal or vertical axis.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-slide-change** - Emitted when the active slide changes.\n\n### **Methods:**\n - **previous(behavior: _ScrollBehavior_)** - Move the carousel backward by `slides-per-move` slides.\n- **next(behavior: _ScrollBehavior_)** - Move the carousel forward by `slides-per-move` slides.\n- **goToSlide(index: _number_, behavior: _ScrollBehavior_)** - Scrolls the carousel to the slide specified by `index`.\n\n### **Slots:**\n - _default_ - The carousel's main content, one or more `<flow-ui-carousel-item>` elements.\n- **next-icon** - Optional next icon to use instead of the default. Works best with `<flow-ui-icon>`.\n- **previous-icon** - Optional previous icon to use instead of the default. Works best with `<flow-ui-icon>`.\n\n### **CSS Properties:**\n - **--slide-gap** - The space between each slide. _(default: undefined)_\n- **--aspect-ratio** - The aspect ratio of each slide. _(default: undefined)_\n- **--scroll-hint** - The amount of padding to apply to the scroll area, allowing adjacent slides to become partially visible as a scroll hint. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The carousel's internal wrapper.\n- **scroll-container** - The scroll container that wraps the slides.\n- **pagination** - The pagination indicators wrapper.\n- **pagination-item** - The pagination indicator.\n- **pagination-item--active** - Applied when the item is active.\n- **navigation** - The navigation wrapper.\n- **navigation-button** - The navigation button.\n- **navigation-button--previous** - Applied to the previous button.\n- **navigation-button--next** - Applied to the next button.",
@@ -1827,49 +1827,6 @@
1827
1827
  ],
1828
1828
  "references": []
1829
1829
  },
1830
- {
1831
- "name": "flow-ui-radio",
1832
- "description": "Radios allow the user to select a single option from a group.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-blur** - Emitted when the control loses focus.\n- **flow-ui-focus** - Emitted when the control gains focus.\n\n### **Slots:**\n - _default_ - The radio's label.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **control** - The circular container that wraps the radio's checked state.\n- **control--checked** - The radio control when the radio is checked.\n- **checked-icon** - The checked icon, an `<flow-ui-icon>` element.\n- **label** - The container that wraps the radio's label.",
1833
- "attributes": [
1834
- {
1835
- "name": "value",
1836
- "description": "The radio's value. When selected, the radio group will receive this value.",
1837
- "values": []
1838
- },
1839
- {
1840
- "name": "size",
1841
- "description": "The radio's size. When used inside a radio group, the size will be determined by the radio group's size so this\nattribute can typically be omitted.",
1842
- "values": [
1843
- { "name": "small" },
1844
- { "name": "medium" },
1845
- { "name": "large" }
1846
- ]
1847
- },
1848
- {
1849
- "name": "variant",
1850
- "description": "The radio's variant color.",
1851
- "values": [
1852
- { "name": "primary" },
1853
- { "name": "secondary" },
1854
- { "name": "success" },
1855
- { "name": "warning" },
1856
- { "name": "danger" },
1857
- { "name": "neutral" }
1858
- ]
1859
- },
1860
- {
1861
- "name": "disabled",
1862
- "description": "Disables the radio.",
1863
- "values": []
1864
- },
1865
- {
1866
- "name": "full-width",
1867
- "description": "Display the radio using the alternative 'full-width' style with left-aligned label.",
1868
- "values": []
1869
- }
1870
- ],
1871
- "references": []
1872
- },
1873
1830
  {
1874
1831
  "name": "flow-ui-radio-group",
1875
1832
  "description": "Radio groups are used to group multiple [radios](/components/radio) or [radio buttons](/components/radio-button) so they function as a single form control.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-change** - Emitted when the radio group's selected value changes.\n- **flow-ui-input** - Emitted when the radio group receives user 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 - **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(): _boolean_** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message)** - Sets a custom validation message. Pass an empty string to restore validity.\n\n### **Slots:**\n - _default_ - The default slot where `<flow-ui-radio>` or `<flow-ui-tool-button>` elements are placed.\n- **label** - The radio group's label. Required for proper accessibility. Alternatively, you can use the `label` 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- **button-group** - The button group that wraps radio buttons.\n- **button-group__base** - The button group's `base` part.",
@@ -2005,6 +1962,49 @@
2005
1962
  ],
2006
1963
  "references": []
2007
1964
  },
1965
+ {
1966
+ "name": "flow-ui-radio",
1967
+ "description": "Radios allow the user to select a single option from a group.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-blur** - Emitted when the control loses focus.\n- **flow-ui-focus** - Emitted when the control gains focus.\n\n### **Slots:**\n - _default_ - The radio's label.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **control** - The circular container that wraps the radio's checked state.\n- **control--checked** - The radio control when the radio is checked.\n- **checked-icon** - The checked icon, an `<flow-ui-icon>` element.\n- **label** - The container that wraps the radio's label.",
1968
+ "attributes": [
1969
+ {
1970
+ "name": "value",
1971
+ "description": "The radio's value. When selected, the radio group will receive this value.",
1972
+ "values": []
1973
+ },
1974
+ {
1975
+ "name": "size",
1976
+ "description": "The radio's size. When used inside a radio group, the size will be determined by the radio group's size so this\nattribute can typically be omitted.",
1977
+ "values": [
1978
+ { "name": "small" },
1979
+ { "name": "medium" },
1980
+ { "name": "large" }
1981
+ ]
1982
+ },
1983
+ {
1984
+ "name": "variant",
1985
+ "description": "The radio's variant color.",
1986
+ "values": [
1987
+ { "name": "primary" },
1988
+ { "name": "secondary" },
1989
+ { "name": "success" },
1990
+ { "name": "warning" },
1991
+ { "name": "danger" },
1992
+ { "name": "neutral" }
1993
+ ]
1994
+ },
1995
+ {
1996
+ "name": "disabled",
1997
+ "description": "Disables the radio.",
1998
+ "values": []
1999
+ },
2000
+ {
2001
+ "name": "full-width",
2002
+ "description": "Display the radio using the alternative 'full-width' style with left-aligned label.",
2003
+ "values": []
2004
+ }
2005
+ ],
2006
+ "references": []
2007
+ },
2008
2008
  {
2009
2009
  "name": "flow-ui-select",
2010
2010
  "description": "Selects allow you to choose items from a menu of predefined options.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-change** - Emitted when the control's value changes.\n- **flow-ui-clear** - Emitted when the control's value is cleared.\n- **flow-ui-input** - Emitted when the control receives input.\n- **flow-ui-focus** - Emitted when the control gains focus.\n- **flow-ui-blur** - Emitted when the control loses focus.\n- **flow-ui-show** - Emitted when the select's menu opens.\n- **flow-ui-after-show** - Emitted after the select's menu opens and all animations are complete.\n- **flow-ui-hide** - Emitted when the select's menu closes.\n- **flow-ui-after-hide** - Emitted after the select's menu closes and all animations are complete.\n- **flow-ui-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **show()** - Shows the listbox.\n- **hide()** - Hides the listbox.\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- **focus(options: _FocusOptions_)** - Sets focus on the control.\n- **blur()** - Removes focus from the control.\n\n### **Slots:**\n - _default_ - The listbox options. Must be `<flow-option>` elements. You can use `<flow-divider>` to group items visually.\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 combobox.\n- **suffix** - Used to append a presentational icon or similar element to the combobox.\n- **clear-icon** - An icon to use in lieu of the default clear icon.\n- **expand-icon** - The icon to show when the control is expanded and collapsed. Rotates on open and close.\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 select's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **combobox** - The container the wraps the prefix, suffix, combobox, clear icon, and expand button.\n- **prefix** - The container that wraps the prefix slot.\n- **suffix** - The container that wraps the suffix slot.\n- **display-input** - The element that displays the selected option's label, an `<input>` element.\n- **listbox** - The listbox container where options are slotted.\n- **tags** - The container that houses option tags when `multiselect` is used.\n- **tag** - The individual tags that represent each multiselect option.\n- **tag__base** - The tag's base part.\n- **tag__content** - The tag's content part.\n- **tag__remove-button** - The tag's remove button.\n- **tag__remove-button__base** - The tag's remove button base part.\n- **clear-button** - The clear button.\n- **expand-icon** - The container that wraps the expand icon.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emuanalytics/flow-rdf-ui",
3
- "version": "4.0.9",
3
+ "version": "4.0.10",
4
4
  "type": "module",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",
@@ -103,13 +103,13 @@
103
103
  "vite": "^4.3.9",
104
104
  "vite-plugin-dts": "^3.5.1",
105
105
  "webdriverio": "^8.14.3",
106
- "@emuanalytics/flow-rdf-core": "4.0.8"
106
+ "@emuanalytics/flow-rdf-core": "4.0.9"
107
107
  },
108
108
  "peerDependencies": {
109
109
  "chart.js": "^4.4.2",
110
110
  "lit": "^2.7.2",
111
111
  "lit-html": "^2.7.5",
112
- "@emuanalytics/flow-rdf-core": "4.0.8"
112
+ "@emuanalytics/flow-rdf-core": "4.0.9"
113
113
  },
114
114
  "scripts": {
115
115
  "dev": "vite",