@wirecore/wirelayer-vue 0.12.0 → 0.12.1

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.
Files changed (63) hide show
  1. package/dist/{CopyButton-GmqpUNLf.js → CopyButton-Cv9QfFfS.js} +22 -26
  2. package/dist/{Tree-B-0NXpUq.js → Tree-3o3OJASC.js} +10 -9
  3. package/dist/chart/Chart.vue.d.ts.map +1 -1
  4. package/dist/chart/PieChart.vue.d.ts.map +1 -1
  5. package/dist/chart/SeriesChartView.vue.d.ts.map +1 -1
  6. package/dist/chart/Sparkline.vue.d.ts.map +1 -1
  7. package/dist/chart/WaterfallChart.vue.d.ts.map +1 -1
  8. package/dist/chart.js +219 -218
  9. package/dist/code.js +1 -1
  10. package/dist/components/AngleSlider/AngleSlider.vue.d.ts.map +1 -1
  11. package/dist/components/BlockUi/BlockUi.vue.d.ts.map +1 -1
  12. package/dist/components/Calendar/Calendar.vue.d.ts.map +1 -1
  13. package/dist/components/Carousel/Carousel.vue.d.ts.map +1 -1
  14. package/dist/components/CascadeSelect/CascadeSelect.vue.d.ts.map +1 -1
  15. package/dist/components/ColorPicker/ColorPicker.vue.d.ts.map +1 -1
  16. package/dist/components/CopyButton/CopyButton.vue.d.ts.map +1 -1
  17. package/dist/components/DataView/DataView.vue.d.ts.map +1 -1
  18. package/dist/components/Fieldset/Fieldset.vue.d.ts +2 -0
  19. package/dist/components/Fieldset/Fieldset.vue.d.ts.map +1 -1
  20. package/dist/components/Gallery/Gallery.vue.d.ts.map +1 -1
  21. package/dist/components/JsonViewer/JsonViewer.vue.d.ts +1 -1
  22. package/dist/components/JsonViewer/JsonViewer.vue.d.ts.map +1 -1
  23. package/dist/components/Knob/Knob.vue.d.ts +1 -1
  24. package/dist/components/Knob/Knob.vue.d.ts.map +1 -1
  25. package/dist/components/Listbox/Listbox.vue.d.ts +1 -1
  26. package/dist/components/Listbox/Listbox.vue.d.ts.map +1 -1
  27. package/dist/components/LogViewer/LogViewer.vue.d.ts.map +1 -1
  28. package/dist/components/MeterGroup/MeterGroup.vue.d.ts.map +1 -1
  29. package/dist/components/NavigationMenu/NavigationMenu.vue.d.ts.map +1 -1
  30. package/dist/components/NotificationCenter/NotificationCenter.vue.d.ts.map +1 -1
  31. package/dist/components/OrderList/OrderList.vue.d.ts.map +1 -1
  32. package/dist/components/OrgChart/OrgChart.vue.d.ts.map +1 -1
  33. package/dist/components/Panel/Panel.vue.d.ts.map +1 -1
  34. package/dist/components/PickList/PickList.vue.d.ts.map +1 -1
  35. package/dist/components/PinInput/PinInput.vue.d.ts.map +1 -1
  36. package/dist/components/ProgressCircle/ProgressCircle.vue.d.ts.map +1 -1
  37. package/dist/components/Rating/Rating.vue.d.ts.map +1 -1
  38. package/dist/components/ScrollPanel/ScrollPanel.vue.d.ts.map +1 -1
  39. package/dist/components/SidebarNav/SidebarNav.vue.d.ts.map +1 -1
  40. package/dist/components/SignaturePad/SignaturePad.vue.d.ts.map +1 -1
  41. package/dist/components/Sortable/Sortable.vue.d.ts +4 -1
  42. package/dist/components/Sortable/Sortable.vue.d.ts.map +1 -1
  43. package/dist/components/SpeedDial/SpeedDial.vue.d.ts.map +1 -1
  44. package/dist/components/SplitButton/SplitButton.vue.d.ts.map +1 -1
  45. package/dist/components/Splitter/Splitter.vue.d.ts.map +1 -1
  46. package/dist/components/Spoiler/Spoiler.vue.d.ts.map +1 -1
  47. package/dist/components/Stepper/Stepper.vue.d.ts.map +1 -1
  48. package/dist/components/TableOfContents/TableOfContents.vue.d.ts.map +1 -1
  49. package/dist/components/Timeline/Timeline.vue.d.ts.map +1 -1
  50. package/dist/components/Toolbar/Toolbar.vue.d.ts.map +1 -1
  51. package/dist/components/Tree/Tree.vue.d.ts +1 -1
  52. package/dist/components/Tree/Tree.vue.d.ts.map +1 -1
  53. package/dist/components/TreeSelect/TreeSelect.vue.d.ts.map +1 -1
  54. package/dist/data-table.js +1 -1
  55. package/dist/editor/Editor.vue.d.ts.map +1 -1
  56. package/dist/editor.js +347 -345
  57. package/dist/index.js +4686 -4689
  58. package/dist/pdf.js +1 -1
  59. package/dist/virtual/VirtualList.vue.d.ts.map +1 -1
  60. package/dist/virtual/VirtualTree.vue.d.ts.map +1 -1
  61. package/dist/virtual.js +171 -170
  62. package/llms-full.txt +62 -6
  63. package/package.json +1 -1
package/llms-full.txt CHANGED
@@ -153,6 +153,7 @@ Dial for an angle: the needle is the slider (arrow keys, Home/End), drag anywher
153
153
  - Import: `import { AngleSlider } from '@wirecore/wirelayer-vue'`
154
154
  - Category: Forms
155
155
  - Example: https://wirecore.github.io/WireLayer/?path=/story/vue_forms-angleslider--playground
156
+ - Other attributes go to the root element (<div>)
156
157
 
157
158
  | Prop | Type | Description |
158
159
  | --- | --- | --- |
@@ -501,6 +502,7 @@ While blocked: the content is inert (no focus, no clicks) and busy; the overlay
501
502
  - Import: `import { BlockUi } from '@wirecore/wirelayer-vue'`
502
503
  - Category: Layout
503
504
  - Example: https://wirecore.github.io/WireLayer/?path=/story/vue_layout-blockui--playground
505
+ - Other attributes go to the root element (<div>)
504
506
 
505
507
  | Prop | Type | Description |
506
508
  | --- | --- | --- |
@@ -651,6 +653,7 @@ Calendar on the page (no field, no popup): a grid with arrow keys, Page Up/Down,
651
653
  - Import: `import { Calendar } from '@wirecore/wirelayer-vue'`
652
654
  - Category: Forms
653
655
  - Example: https://wirecore.github.io/WireLayer/?path=/story/vue_forms-calendar--playground
656
+ - Other attributes go to the root element (<div>)
654
657
 
655
658
  | Prop | Type | Description |
656
659
  | --- | --- | --- |
@@ -720,6 +723,7 @@ Region "carousel" with slides labelled "Image n of m". Previous/next buttons, on
720
723
  - Import: `import { Carousel } from '@wirecore/wirelayer-vue'`
721
724
  - Category: Media
722
725
  - Example: https://wirecore.github.io/WireLayer/?path=/story/vue_media-carousel--playground
726
+ - Other attributes go to the root element (<div>)
723
727
 
724
728
  | Prop | Type | Description |
725
729
  | --- | --- | --- |
@@ -755,6 +759,7 @@ Select with cascading levels: a menu whose groups open to the side (arrow right/
755
759
  - Import: `import { CascadeSelect } from '@wirecore/wirelayer-vue'`
756
760
  - Category: Forms
757
761
  - Example: https://wirecore.github.io/WireLayer/?path=/story/vue_forms-cascadeselect--playground
762
+ - Other attributes go to the root element (<div>)
758
763
 
759
764
  | Prop | Type | Description |
760
765
  | --- | --- | --- |
@@ -805,6 +810,7 @@ Canvas with role="img" named by the title; the data table is its text alternativ
805
810
  - Import: `import { Chart } from '@wirecore/wirelayer-vue/chart'`
806
811
  - Category: Data
807
812
  - Example: https://wirecore.github.io/WireLayer/?path=/story/vue_data-chart--playground
813
+ - Other attributes go to the root element (<figure>)
808
814
 
809
815
  | Prop | Type | Description |
810
816
  | --- | --- | --- |
@@ -1239,6 +1245,7 @@ Colour field: the button opens a panel with area, hue (and opacity) slider, hex
1239
1245
  - Import: `import { ColorPicker } from '@wirecore/wirelayer-vue'`
1240
1246
  - Category: Forms
1241
1247
  - Example: https://wirecore.github.io/WireLayer/?path=/story/vue_forms-colorpicker--playground
1248
+ - Other attributes go to the root element (<div>)
1242
1249
 
1243
1250
  | Prop | Type | Description |
1244
1251
  | --- | --- | --- |
@@ -1582,6 +1589,7 @@ Copies the value; the icon turns into a check and "Copied to clipboard" is annou
1582
1589
  - Import: `import { CopyButton } from '@wirecore/wirelayer-vue'`
1583
1590
  - Category: Buttons
1584
1591
  - Example: https://wirecore.github.io/WireLayer/?path=/story/vue_buttons-copybutton--playground
1592
+ - Other attributes go to the root element (<div>)
1585
1593
 
1586
1594
  | Prop | Type | Description |
1587
1595
  | --- | --- | --- |
@@ -1824,6 +1832,7 @@ Items as a list or grid (a list either way); the switch is a radio group "View"
1824
1832
  - Import: `import { DataView } from '@wirecore/wirelayer-vue'`
1825
1833
  - Category: Data
1826
1834
  - Example: https://wirecore.github.io/WireLayer/?path=/story/vue_data-dataview--playground
1835
+ - Other attributes go to the root element (<div>)
1827
1836
 
1828
1837
  | Prop | Type | Description |
1829
1838
  | --- | --- | --- |
@@ -2239,6 +2248,7 @@ Rich-text editor (Tiptap): a toolbar (role="toolbar", one tab stop, arrow keys i
2239
2248
  - Import: `import { Editor } from '@wirecore/wirelayer-vue/editor'`
2240
2249
  - Category: Forms
2241
2250
  - Example: https://wirecore.github.io/WireLayer/?path=/story/vue_forms-editor--playground
2251
+ - Other attributes go to the root element (<div>)
2242
2252
 
2243
2253
  | Prop | Type | Description |
2244
2254
  | --- | --- | --- |
@@ -2362,10 +2372,12 @@ Label, helper text and error for one input – connects them by ids (aria-descri
2362
2372
  - Import: `import { Fieldset } from '@wirecore/wirelayer-vue'`
2363
2373
  - Category: Forms
2364
2374
  - Example: https://wirecore.github.io/WireLayer/?path=/story/vue_forms-fieldset--playground
2375
+ - Other attributes go to the root element (<fieldset>)
2365
2376
 
2366
2377
  | Prop | Type | Description |
2367
2378
  | --- | --- | --- |
2368
2379
  | legend | `string` | |
2380
+ | id? | `string` | Base of the ids of the legend and the texts (Ark) – unlike other attributes, not the fieldset's own id |
2369
2381
  | helper-text? | `string` | |
2370
2382
  | error-text? | `string` | Error of the whole group (e.g. "Please choose an option") |
2371
2383
  | invalid? | `boolean` | |
@@ -2711,6 +2723,7 @@ Carousel of pictures with thumbnails (aria-current marks the shown one) and an o
2711
2723
  - Import: `import { Gallery } from '@wirecore/wirelayer-vue'`
2712
2724
  - Category: Media
2713
2725
  - Example: https://wirecore.github.io/WireLayer/?path=/story/vue_media-gallery--playground
2726
+ - Other attributes go to the root element (<div>)
2714
2727
 
2715
2728
  | Prop | Type | Description |
2716
2729
  | --- | --- | --- |
@@ -3142,11 +3155,12 @@ JSON as a tree (role="tree"): arrow keys open and close, typing jumps to a key;
3142
3155
  - Import: `import { JsonViewer } from '@wirecore/wirelayer-vue'`
3143
3156
  - Category: Data
3144
3157
  - Example: https://wirecore.github.io/WireLayer/?path=/story/vue_data-jsonviewer--playground
3158
+ - Other attributes go to the root element (<div>)
3145
3159
 
3146
3160
  | Prop | Type | Description |
3147
3161
  | --- | --- | --- |
3148
3162
  | data | `unknown` | The data to show (any JSON value) |
3149
- | label? | `string` | Accessible name of the tree (default "JSON data") |
3163
+ | label? | `string` | Accessible name of the tree (default "JSON data"); `aria-label` also names the tree, not the outer element |
3150
3164
  | default-expanded-depth? | `number` | Levels open at first (default 1; 0: all closed, Infinity: all open) |
3151
3165
  | search? | `boolean` | Search field above the tree: hits are marked and their branches opened |
3152
3166
  | copyable? | `boolean` | Copy button per node (and Ctrl+C on the focused node, default true) |
@@ -3232,6 +3246,7 @@ Dial (270°): a slider – arrow keys, Page Up/Down, Home/End, or drag around th
3232
3246
  - Import: `import { Knob } from '@wirecore/wirelayer-vue'`
3233
3247
  - Category: Forms
3234
3248
  - Example: https://wirecore.github.io/WireLayer/?path=/story/vue_forms-knob--playground
3249
+ - Other attributes go to the root element (<div>)
3235
3250
 
3236
3251
  | Prop | Type | Description |
3237
3252
  | --- | --- | --- |
@@ -3240,7 +3255,7 @@ Dial (270°): a slider – arrow keys, Page Up/Down, Home/End, or drag around th
3240
3255
  | min? | `number` | |
3241
3256
  | max? | `number` | |
3242
3257
  | step? | `number` | |
3243
- | label? | `string` | Visible label, also the accessible name |
3258
+ | label? | `string` | Visible label, also the accessible name (else `aria-label` – on the dial, not the outer element) |
3244
3259
  | format-value? | `(value: number) => string` | Formats the shown and announced value, e.g. (v) => `${v} %` |
3245
3260
  | value-template? | `string` | Text with the value in it, e.g. "{value} %" (when there is no formatValue) |
3246
3261
  | stroke-width? | `number` | Width of the arc (default 8, of a 100 wide dial) |
@@ -3314,11 +3329,12 @@ Always visible list (role="listbox"): arrow keys move, Enter/Space choose, typin
3314
3329
  - Import: `import { Listbox } from '@wirecore/wirelayer-vue'`
3315
3330
  - Category: Forms
3316
3331
  - Example: https://wirecore.github.io/WireLayer/?path=/story/vue_forms-listbox--playground
3332
+ - Other attributes go to the root element (<div>)
3317
3333
 
3318
3334
  | Prop | Type | Description |
3319
3335
  | --- | --- | --- |
3320
3336
  | items | `readonly T[]` | Options: ListboxItem objects – or any objects or values, read with itemValue/itemLabel/itemDisabled/itemGroup |
3321
- | label? | `string` | Visible label, also the list's accessible name |
3337
+ | label? | `string` | Visible label, also the list's accessible name (else `aria-label` – on the list, not the outer element) |
3322
3338
  | multiple? | `boolean` | Several options can be chosen (Space toggles) |
3323
3339
  | v-model? (modelValue) | `V[]` | Chosen values – use with v-model; any type (string, number, boolean, object) |
3324
3340
  | default-value? | `V[]` | |
@@ -3385,6 +3401,7 @@ Log: a scrollable, focusable area (arrow keys scroll) with numbered lines; level
3385
3401
  - Import: `import { LogViewer } from '@wirecore/wirelayer-vue'`
3386
3402
  - Category: Data
3387
3403
  - Example: https://wirecore.github.io/WireLayer/?path=/story/vue_data-logviewer--playground
3404
+ - Other attributes go to the root element (<div>)
3388
3405
 
3389
3406
  | Prop | Type | Description |
3390
3407
  | --- | --- | --- |
@@ -3658,6 +3675,7 @@ One bar for the parts (visual), the legend lists every part with its value as te
3658
3675
  - Import: `import { MeterGroup } from '@wirecore/wirelayer-vue'`
3659
3676
  - Category: Data
3660
3677
  - Example: https://wirecore.github.io/WireLayer/?path=/story/vue_data-metergroup--playground
3678
+ - Other attributes go to the root element (<div>)
3661
3679
 
3662
3680
  | Prop | Type | Description |
3663
3681
  | --- | --- | --- |
@@ -3837,6 +3855,7 @@ Website navigation (nav landmark): entries with children are buttons (aria-expan
3837
3855
  - Import: `import { NavigationMenu } from '@wirecore/wirelayer-vue'`
3838
3856
  - Category: Navigation
3839
3857
  - Example: https://wirecore.github.io/WireLayer/?path=/story/vue_navigation-navigationmenu--playground
3858
+ - Other attributes go to the root element (<nav>)
3840
3859
 
3841
3860
  | Prop | Type | Description |
3842
3861
  | --- | --- | --- |
@@ -3965,6 +3984,7 @@ Choose an item, then move it with the buttons (or Alt + arrow keys); the new pos
3965
3984
  - Import: `import { OrderList } from '@wirecore/wirelayer-vue'`
3966
3985
  - Category: Data
3967
3986
  - Example: https://wirecore.github.io/WireLayer/?path=/story/vue_data-orderlist--playground
3987
+ - Other attributes go to the root element (<div>)
3968
3988
 
3969
3989
  | Prop | Type | Description |
3970
3990
  | --- | --- | --- |
@@ -3994,6 +4014,7 @@ Hierarchy as nested lists – screen readers read the structure, the lines are d
3994
4014
  - Import: `import { OrgChart } from '@wirecore/wirelayer-vue'`
3995
4015
  - Category: Data
3996
4016
  - Example: https://wirecore.github.io/WireLayer/?path=/story/vue_data-orgchart--playground
4017
+ - Other attributes go to the root element (<div>)
3997
4018
 
3998
4019
  | Prop | Type | Description |
3999
4020
  | --- | --- | --- |
@@ -4133,6 +4154,7 @@ Card with a heading (and actions); toggleable: the heading holds a button with a
4133
4154
  - Import: `import { Panel } from '@wirecore/wirelayer-vue'`
4134
4155
  - Category: Layout
4135
4156
  - Example: https://wirecore.github.io/WireLayer/?path=/story/vue_layout-panel--playground
4157
+ - Other attributes go to the root element (<div>)
4136
4158
 
4137
4159
  | Prop | Type | Description |
4138
4160
  | --- | --- | --- |
@@ -4290,6 +4312,7 @@ Two lists with several choices each; the buttons move the chosen items across, t
4290
4312
  - Import: `import { PickList } from '@wirecore/wirelayer-vue'`
4291
4313
  - Category: Data
4292
4314
  - Example: https://wirecore.github.io/WireLayer/?path=/story/vue_data-picklist--playground
4315
+ - Other attributes go to the root element (<div>)
4293
4316
 
4294
4317
  | Prop | Type | Description |
4295
4318
  | --- | --- | --- |
@@ -4327,6 +4350,7 @@ Pie or doughnut on a canvas named by the title; the legend lists value and share
4327
4350
  - Import: `import { PieChart } from '@wirecore/wirelayer-vue/chart'`
4328
4351
  - Category: Data
4329
4352
  - Example: https://wirecore.github.io/WireLayer/?path=/story/vue_data-piechart--playground
4353
+ - Other attributes go to the root element (<figure>)
4330
4354
 
4331
4355
  | Prop | Type | Description |
4332
4356
  | --- | --- | --- |
@@ -4349,6 +4373,7 @@ Code input (OTP, PIN): one box per character, typing moves on, pasting fills all
4349
4373
  - Import: `import { PinInput } from '@wirecore/wirelayer-vue'`
4350
4374
  - Category: Forms
4351
4375
  - Example: https://wirecore.github.io/WireLayer/?path=/story/vue_forms-pininput--playground
4376
+ - Other attributes go to the root element (<div>)
4352
4377
 
4353
4378
  | Prop | Type | Description |
4354
4379
  | --- | --- | --- |
@@ -4466,6 +4491,7 @@ Ring with the value in the middle; a progressbar named by its label, the value a
4466
4491
  - Import: `import { ProgressCircle } from '@wirecore/wirelayer-vue'`
4467
4492
  - Category: Feedback
4468
4493
  - Example: https://wirecore.github.io/WireLayer/?path=/story/vue_feedback-progresscircle--playground
4494
+ - Other attributes go to the root element (<div>)
4469
4495
 
4470
4496
  | Prop | Type | Description |
4471
4497
  | --- | --- | --- |
@@ -4622,6 +4648,7 @@ Star rating: a radio group – arrow keys change the value, each star reads "3 s
4622
4648
  - Import: `import { Rating } from '@wirecore/wirelayer-vue'`
4623
4649
  - Category: Forms
4624
4650
  - Example: https://wirecore.github.io/WireLayer/?path=/story/vue_forms-rating--playground
4651
+ - Other attributes go to the root element (<div>)
4625
4652
 
4626
4653
  | Prop | Type | Description |
4627
4654
  | --- | --- | --- |
@@ -4837,6 +4864,7 @@ Native scrolling with slim scrollbars; the viewport is a named, focusable region
4837
4864
  - Import: `import { ScrollPanel } from '@wirecore/wirelayer-vue'`
4838
4865
  - Category: Layout
4839
4866
  - Example: https://wirecore.github.io/WireLayer/?path=/story/vue_layout-scrollpanel--playground
4867
+ - Other attributes go to the root element (<div>)
4840
4868
 
4841
4869
  | Prop | Type | Description |
4842
4870
  | --- | --- | --- |
@@ -4859,6 +4887,7 @@ Hidden (and out of the tab order) until the page is scrolled down
4859
4887
  - Import: `import { ScrollTop } from '@wirecore/wirelayer-vue'`
4860
4888
  - Category: Navigation
4861
4889
  - Example: https://wirecore.github.io/WireLayer/?path=/story/vue_navigation-scrolltop--playground
4890
+ - Other attributes go to the root element (<button>)
4862
4891
 
4863
4892
  | Prop | Type | Description |
4864
4893
  | --- | --- | --- |
@@ -5028,6 +5057,7 @@ Navigation landmark with links and expandable groups (buttons with aria-expanded
5028
5057
  - Import: `import { SidebarNav } from '@wirecore/wirelayer-vue'`
5029
5058
  - Category: Navigation
5030
5059
  - Example: https://wirecore.github.io/WireLayer/?path=/story/vue_navigation-sidebarnav--playground
5060
+ - Other attributes go to the root element (<nav>)
5031
5061
 
5032
5062
  | Prop | Type | Description |
5033
5063
  | --- | --- | --- |
@@ -5056,6 +5086,7 @@ Signature field (role="application"): draw with mouse, pen or finger; "Undo" rem
5056
5086
  - Import: `import { SignaturePad } from '@wirecore/wirelayer-vue'`
5057
5087
  - Category: Forms
5058
5088
  - Example: https://wirecore.github.io/WireLayer/?path=/story/vue_forms-signaturepad--playground
5089
+ - Other attributes go to the root element (<div>)
5059
5090
 
5060
5091
  | Prop | Type | Description |
5061
5092
  | --- | --- | --- |
@@ -5198,6 +5229,7 @@ Sortable list: every item has a handle – drag it, or press Space/Enter, move w
5198
5229
  - Import: `import { Sortable } from '@wirecore/wirelayer-vue'`
5199
5230
  - Category: Data
5200
5231
  - Example: https://wirecore.github.io/WireLayer/?path=/story/vue_data-sortable--playground
5232
+ - Other attributes go to the root element (<div>)
5201
5233
 
5202
5234
  | Prop | Type | Description |
5203
5235
  | --- | --- | --- |
@@ -5205,7 +5237,7 @@ Sortable list: every item has a handle – drag it, or press Space/Enter, move w
5205
5237
  | default-value? | `T[]` | |
5206
5238
  | item-key? | `ItemAccessor<T, string \| number>` | Key of an item: property name or function (default `id`, else `value`, else the item) |
5207
5239
  | item-label? | `ItemAccessor<T, string>` | Text of an item for its handle and the announcements (default `label`, `name` or `title`) |
5208
- | label? | `string` | Name of the list (visible label, also announced when an item moves in) |
5240
+ | label? | `string` | Name of the list (visible label, also announced when an item moves in). Without it `aria-label` names the list – unlike other attributes, it does not go on the outer element |
5209
5241
  | group? | `string` | Lists of the same group exchange items (e.g. Kanban columns) |
5210
5242
  | name? | `string` | Id of this list in `move` events (default: generated) |
5211
5243
  | orientation? | `SortableOrientation` | vertical (default), horizontal or grid (with `columns`) |
@@ -5233,6 +5265,7 @@ Small line without axes; the canvas is an image named by the trend and the extre
5233
5265
  - Import: `import { Sparkline } from '@wirecore/wirelayer-vue/chart'`
5234
5266
  - Category: Data
5235
5267
  - Example: https://wirecore.github.io/WireLayer/?path=/story/vue_data-sparkline--playground
5268
+ - Other attributes go to the root element (<span>)
5236
5269
 
5237
5270
  | Prop | Type | Description |
5238
5271
  | --- | --- | --- |
@@ -5252,6 +5285,7 @@ A menu button: the actions open above it (or in a circle around it) as menu item
5252
5285
  - Import: `import { SpeedDial } from '@wirecore/wirelayer-vue'`
5253
5286
  - Category: Buttons
5254
5287
  - Example: https://wirecore.github.io/WireLayer/?path=/story/vue_buttons-speeddial--playground
5288
+ - Other attributes go to the root element (<button>)
5255
5289
 
5256
5290
  | Prop | Type | Description |
5257
5291
  | --- | --- | --- |
@@ -5291,6 +5325,7 @@ Main action plus a menu with the other actions; both are separate buttons
5291
5325
  - Import: `import { SplitButton } from '@wirecore/wirelayer-vue'`
5292
5326
  - Category: Buttons
5293
5327
  - Example: https://wirecore.github.io/WireLayer/?path=/story/vue_buttons-splitbutton--playground
5328
+ - Other attributes go to the root element (<div>)
5294
5329
 
5295
5330
  | Prop | Type | Description |
5296
5331
  | --- | --- | --- |
@@ -5318,6 +5353,7 @@ Panels with handles between them (role="separator"): drag, or arrow keys (Shift
5318
5353
  - Import: `import { Splitter } from '@wirecore/wirelayer-vue'`
5319
5354
  - Category: Layout
5320
5355
  - Example: https://wirecore.github.io/WireLayer/?path=/story/vue_layout-splitter--playground
5356
+ - Other attributes go to the root element (<div>)
5321
5357
 
5322
5358
  | Prop | Type | Description |
5323
5359
  | --- | --- | --- |
@@ -5346,6 +5382,7 @@ Content cut to maxHeight; the button (aria-expanded) shows the rest. Hidden text
5346
5382
  - Import: `import { Spoiler } from '@wirecore/wirelayer-vue'`
5347
5383
  - Category: Layout
5348
5384
  - Example: https://wirecore.github.io/WireLayer/?path=/story/vue_layout-spoiler--playground
5385
+ - Other attributes go to the root element (<div>)
5349
5386
 
5350
5387
  | Prop | Type | Description |
5351
5388
  | --- | --- | --- |
@@ -5436,6 +5473,7 @@ Steps list (tabs) with one panel per step and back/next buttons; the last "Next"
5436
5473
  - Import: `import { Stepper } from '@wirecore/wirelayer-vue'`
5437
5474
  - Category: Navigation
5438
5475
  - Example: https://wirecore.github.io/WireLayer/?path=/story/vue_navigation-stepper--playground
5476
+ - Other attributes go to the root element (<div>)
5439
5477
 
5440
5478
  | Prop | Type | Description |
5441
5479
  | --- | --- | --- |
@@ -5562,6 +5600,7 @@ Navigation to the headings of the page; the section in view is marked (aria-curr
5562
5600
  - Import: `import { TableOfContents } from '@wirecore/wirelayer-vue'`
5563
5601
  - Category: Navigation
5564
5602
  - Example: https://wirecore.github.io/WireLayer/?path=/story/vue_navigation-tableofcontents--playground
5603
+ - Other attributes go to the root element (<div>)
5565
5604
 
5566
5605
  | Prop | Type | Description |
5567
5606
  | --- | --- | --- |
@@ -5755,6 +5794,7 @@ Events in order (ordered list); the markers are decoration, the status colour is
5755
5794
  - Import: `import { Timeline } from '@wirecore/wirelayer-vue'`
5756
5795
  - Category: Data
5757
5796
  - Example: https://wirecore.github.io/WireLayer/?path=/story/vue_data-timeline--playground
5797
+ - Also takes the props of: HTMLAttributes<HTMLElement>
5758
5798
 
5759
5799
  | Prop | Type | Description |
5760
5800
  | --- | --- | --- |
@@ -5927,6 +5967,7 @@ Groups controls (role="toolbar"): one tab stop, arrow keys move between the cont
5927
5967
  - Import: `import { Toolbar } from '@wirecore/wirelayer-vue'`
5928
5968
  - Category: Layout
5929
5969
  - Example: https://wirecore.github.io/WireLayer/?path=/story/vue_layout-toolbar--playground
5970
+ - Other attributes go to the root element (<div>)
5930
5971
 
5931
5972
  | Prop | Type | Description |
5932
5973
  | --- | --- | --- |
@@ -6026,11 +6067,12 @@ Tree (role="tree"): arrow keys move and open/close, Enter/Space select, typing j
6026
6067
  - Import: `import { Tree } from '@wirecore/wirelayer-vue'`
6027
6068
  - Category: Data
6028
6069
  - Example: https://wirecore.github.io/WireLayer/?path=/story/vue_data-tree--playground
6070
+ - Other attributes go to the root element (<div>)
6029
6071
 
6030
6072
  | Prop | Type | Description |
6031
6073
  | --- | --- | --- |
6032
6074
  | items | `readonly TreeNode[]` | |
6033
- | label? | `string` | Visible label, also the tree's accessible name |
6075
+ | label? | `string` | Visible label, also the tree's accessible name (else `aria-label` – on the tree, not the outer element) |
6034
6076
  | selection-mode? | `'single' \| 'multiple'` | |
6035
6077
  | v-model:selected-value? | `string[]` | Selected ids – use with v-model:selected-value |
6036
6078
  | default-selected-value? | `string[]` | |
@@ -6098,6 +6140,7 @@ Select whose options are a tree: the button opens the tree in a panel, choosing
6098
6140
  - Import: `import { TreeSelect } from '@wirecore/wirelayer-vue'`
6099
6141
  - Category: Forms
6100
6142
  - Example: https://wirecore.github.io/WireLayer/?path=/story/vue_forms-treeselect--playground
6143
+ - Other attributes go to the root element (<div>)
6101
6144
 
6102
6145
  | Prop | Type | Description |
6103
6146
  | --- | --- | --- |
@@ -6162,6 +6205,7 @@ Only the visible rows are in the DOM; each row says its position (aria-posinset/
6162
6205
  - Import: `import { VirtualList } from '@wirecore/wirelayer-vue/virtual'`
6163
6206
  - Category: Data
6164
6207
  - Example: https://wirecore.github.io/WireLayer/?path=/story/vue_data-virtuallist--playground
6208
+ - Other attributes go to the root element (<div>)
6165
6209
 
6166
6210
  | Prop | Type | Description |
6167
6211
  | --- | --- | --- |
@@ -6243,7 +6287,7 @@ Tree for many nodes: the open part of the tree as a flat, virtualised list of tr
6243
6287
  | Prop | Type | Description |
6244
6288
  | --- | --- | --- |
6245
6289
  | items | `readonly TreeNode[]` | |
6246
- | label? | `string` | Visible label, also the tree's accessible name |
6290
+ | label? | `string` | Visible label, also the tree's accessible name (else `aria-label` – on the tree, not the outer element) |
6247
6291
  | selection-mode? | `'single' \| 'multiple'` | |
6248
6292
  | v-model:selected-value? | `string[]` | Selected ids – use with v-model:selected-value |
6249
6293
  | default-selected-value? | `string[]` | |
@@ -6307,6 +6351,7 @@ Floating bars: each change starts where the previous one ended, totals from zero
6307
6351
  - Import: `import { WaterfallChart } from '@wirecore/wirelayer-vue/chart'`
6308
6352
  - Category: Data
6309
6353
  - Example: https://wirecore.github.io/WireLayer/?path=/story/vue_data-waterfallchart--playground
6354
+ - Other attributes go to the root element (<figure>)
6310
6355
 
6311
6356
  | Prop | Type | Description |
6312
6357
  | --- | --- | --- |
@@ -7208,6 +7253,17 @@ as `pdfjs-dist` (Apache-2.0), Chart.js, Tiptap and Shiki are installed by the ap
7208
7253
  rounded buttons, the padding of cards and the backdrop of dialogs are CSS variables (`--wc-control-h-md` …).
7209
7254
  - **Labels:** wrap a control in `Field` (it links label, description and error). A native `<label for>` works with the
7210
7255
  control's own `id`; date fields, sliders and groups need `Field` or `aria-label`.
7256
+ - **Extra attributes go to the outermost element.** `data-*`, `id`, `title`, `aria-describedby` and listeners without a
7257
+ prop of their own land on the component's outermost element (React: the rest props, Vue: the attrs) – e.g.
7258
+ `data-tour` as the target of a `Tour` step or a test selector, no wrapper `<div>` needed. Exceptions: `aria-label`
7259
+ names what it labels (the list of `Sortable` and `Listbox`, the tree of `Tree`, `VirtualTree` and `JsonViewer`, the
7260
+ dial of `Knob`, the field of `CascadeSelect`, `TreeSelect`, `ColorPicker`, `PinInput` and `Editor`); a control's own
7261
+ `id` prop goes to that control (see _Labels_); `Fieldset` takes `id` as the base of its legend's and texts' ids.
7262
+ Text fields and pickers built around a native input (`Input`, `Select`, `DatePicker`, `Checkbox`, `Switch` …) give
7263
+ `class` and `style` to their wrapper and every other attribute to the input. `Inplace` takes none – its element
7264
+ switches between the text and the editor. In React Native the view props (`testID`, `nativeID`, accessibility props)
7265
+ go to the outermost view; pickers that open a sheet (`Select`, `CascadeSelect`, `TreeSelect`, `ColorPicker`,
7266
+ `NavigationMenu`, `NotificationCenter`) take none – they render a trigger and a sheet, no outer view.
7211
7267
  - **Brand colours:** `checkTheme` lists the pairs below WCAG AA, `suggestThemeFixes` the nearest colours (and `on-*`
7212
7268
  colours) that meet them – an orange `primary` with white text, common in PrimeVue themes, does not.
7213
7269
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wirecore/wirelayer-vue",
3
- "version": "0.12.0",
3
+ "version": "0.12.1",
4
4
  "description": "WireLayer components for Vue 3",
5
5
  "license": "MIT",
6
6
  "repository": {