@wirecore/wirelayer-vue 0.11.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.
- package/dist/{CopyButton-GmqpUNLf.js → CopyButton-Cv9QfFfS.js} +22 -26
- package/dist/{Tree-B-0NXpUq.js → Tree-3o3OJASC.js} +10 -9
- package/dist/chart/Chart.vue.d.ts.map +1 -1
- package/dist/chart/PieChart.vue.d.ts.map +1 -1
- package/dist/chart/SeriesChartView.vue.d.ts.map +1 -1
- package/dist/chart/Sparkline.vue.d.ts.map +1 -1
- package/dist/chart/WaterfallChart.vue.d.ts.map +1 -1
- package/dist/chart.js +219 -218
- package/dist/code.js +1 -1
- package/dist/components/AngleSlider/AngleSlider.vue.d.ts.map +1 -1
- package/dist/components/BlockUi/BlockUi.vue.d.ts.map +1 -1
- package/dist/components/Calendar/Calendar.vue.d.ts.map +1 -1
- package/dist/components/Carousel/Carousel.vue.d.ts.map +1 -1
- package/dist/components/CascadeSelect/CascadeSelect.vue.d.ts.map +1 -1
- package/dist/components/ColorPicker/ColorPicker.vue.d.ts.map +1 -1
- package/dist/components/CopyButton/CopyButton.vue.d.ts.map +1 -1
- package/dist/components/DataView/DataView.vue.d.ts.map +1 -1
- package/dist/components/Fieldset/Fieldset.vue.d.ts +2 -0
- package/dist/components/Fieldset/Fieldset.vue.d.ts.map +1 -1
- package/dist/components/Gallery/Gallery.vue.d.ts.map +1 -1
- package/dist/components/JsonViewer/JsonViewer.vue.d.ts +1 -1
- package/dist/components/JsonViewer/JsonViewer.vue.d.ts.map +1 -1
- package/dist/components/Knob/Knob.vue.d.ts +1 -1
- package/dist/components/Knob/Knob.vue.d.ts.map +1 -1
- package/dist/components/Listbox/Listbox.vue.d.ts +1 -1
- package/dist/components/Listbox/Listbox.vue.d.ts.map +1 -1
- package/dist/components/LocaleProvider/LocaleProvider.vue.d.ts +4 -0
- package/dist/components/LocaleProvider/LocaleProvider.vue.d.ts.map +1 -1
- package/dist/components/LogViewer/LogViewer.vue.d.ts.map +1 -1
- package/dist/components/MeterGroup/MeterGroup.vue.d.ts.map +1 -1
- package/dist/components/NavigationMenu/NavigationMenu.vue.d.ts.map +1 -1
- package/dist/components/NotificationCenter/NotificationCenter.vue.d.ts.map +1 -1
- package/dist/components/OrderList/OrderList.vue.d.ts.map +1 -1
- package/dist/components/OrgChart/OrgChart.vue.d.ts.map +1 -1
- package/dist/components/Panel/Panel.vue.d.ts.map +1 -1
- package/dist/components/PickList/PickList.vue.d.ts.map +1 -1
- package/dist/components/PinInput/PinInput.vue.d.ts.map +1 -1
- package/dist/components/ProgressCircle/ProgressCircle.vue.d.ts.map +1 -1
- package/dist/components/Rating/Rating.vue.d.ts.map +1 -1
- package/dist/components/ScrollPanel/ScrollPanel.vue.d.ts.map +1 -1
- package/dist/components/SidebarNav/SidebarNav.vue.d.ts.map +1 -1
- package/dist/components/SignaturePad/SignaturePad.vue.d.ts.map +1 -1
- package/dist/components/Sortable/Sortable.vue.d.ts +9 -1
- package/dist/components/Sortable/Sortable.vue.d.ts.map +1 -1
- package/dist/components/SpeedDial/SpeedDial.vue.d.ts.map +1 -1
- package/dist/components/SplitButton/SplitButton.vue.d.ts.map +1 -1
- package/dist/components/Splitter/Splitter.vue.d.ts.map +1 -1
- package/dist/components/Spoiler/Spoiler.vue.d.ts.map +1 -1
- package/dist/components/Stepper/Stepper.vue.d.ts.map +1 -1
- package/dist/components/TableOfContents/TableOfContents.vue.d.ts.map +1 -1
- package/dist/components/Timeline/Timeline.vue.d.ts.map +1 -1
- package/dist/components/Toolbar/Toolbar.vue.d.ts.map +1 -1
- package/dist/components/Tour/Tour.vue.d.ts +12 -0
- package/dist/components/Tour/Tour.vue.d.ts.map +1 -1
- package/dist/components/Tree/Tree.vue.d.ts +1 -1
- package/dist/components/Tree/Tree.vue.d.ts.map +1 -1
- package/dist/components/TreeSelect/TreeSelect.vue.d.ts.map +1 -1
- package/dist/data-table.js +1 -1
- package/dist/editor/Editor.vue.d.ts.map +1 -1
- package/dist/editor.js +347 -345
- package/dist/index.js +5235 -5187
- package/dist/pdf.js +1 -1
- package/dist/virtual/VirtualList.vue.d.ts.map +1 -1
- package/dist/virtual/VirtualTree.vue.d.ts.map +1 -1
- package/dist/virtual.js +171 -170
- package/llms-full.txt +66 -6
- package/package.json +2 -2
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,12 +5237,13 @@ 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`) |
|
|
5212
5244
|
| columns? | `number` | Columns of the grid |
|
|
5213
5245
|
| accepts? | `(item: T, from: string) => boolean` | Whether an item from another list of the group may come in |
|
|
5246
|
+
| clone? | `(item: T) => unknown` | Makes the list a source (e.g. a palette): dragging an item out copies it – this function makes the copy, e.g. with a new id. The list keeps its items, takes none in and is not sorted. |
|
|
5214
5247
|
| animate? | `boolean` | Items glide to their new place when they move (default: yes; not with reduced motion) |
|
|
5215
5248
|
| disabled? | `boolean` | |
|
|
5216
5249
|
| empty-text? | `string` | Text of an empty list (it stays a drop target) |
|
|
@@ -5232,6 +5265,7 @@ Small line without axes; the canvas is an image named by the trend and the extre
|
|
|
5232
5265
|
- Import: `import { Sparkline } from '@wirecore/wirelayer-vue/chart'`
|
|
5233
5266
|
- Category: Data
|
|
5234
5267
|
- Example: https://wirecore.github.io/WireLayer/?path=/story/vue_data-sparkline--playground
|
|
5268
|
+
- Other attributes go to the root element (<span>)
|
|
5235
5269
|
|
|
5236
5270
|
| Prop | Type | Description |
|
|
5237
5271
|
| --- | --- | --- |
|
|
@@ -5251,6 +5285,7 @@ A menu button: the actions open above it (or in a circle around it) as menu item
|
|
|
5251
5285
|
- Import: `import { SpeedDial } from '@wirecore/wirelayer-vue'`
|
|
5252
5286
|
- Category: Buttons
|
|
5253
5287
|
- Example: https://wirecore.github.io/WireLayer/?path=/story/vue_buttons-speeddial--playground
|
|
5288
|
+
- Other attributes go to the root element (<button>)
|
|
5254
5289
|
|
|
5255
5290
|
| Prop | Type | Description |
|
|
5256
5291
|
| --- | --- | --- |
|
|
@@ -5290,6 +5325,7 @@ Main action plus a menu with the other actions; both are separate buttons
|
|
|
5290
5325
|
- Import: `import { SplitButton } from '@wirecore/wirelayer-vue'`
|
|
5291
5326
|
- Category: Buttons
|
|
5292
5327
|
- Example: https://wirecore.github.io/WireLayer/?path=/story/vue_buttons-splitbutton--playground
|
|
5328
|
+
- Other attributes go to the root element (<div>)
|
|
5293
5329
|
|
|
5294
5330
|
| Prop | Type | Description |
|
|
5295
5331
|
| --- | --- | --- |
|
|
@@ -5317,6 +5353,7 @@ Panels with handles between them (role="separator"): drag, or arrow keys (Shift
|
|
|
5317
5353
|
- Import: `import { Splitter } from '@wirecore/wirelayer-vue'`
|
|
5318
5354
|
- Category: Layout
|
|
5319
5355
|
- Example: https://wirecore.github.io/WireLayer/?path=/story/vue_layout-splitter--playground
|
|
5356
|
+
- Other attributes go to the root element (<div>)
|
|
5320
5357
|
|
|
5321
5358
|
| Prop | Type | Description |
|
|
5322
5359
|
| --- | --- | --- |
|
|
@@ -5345,6 +5382,7 @@ Content cut to maxHeight; the button (aria-expanded) shows the rest. Hidden text
|
|
|
5345
5382
|
- Import: `import { Spoiler } from '@wirecore/wirelayer-vue'`
|
|
5346
5383
|
- Category: Layout
|
|
5347
5384
|
- Example: https://wirecore.github.io/WireLayer/?path=/story/vue_layout-spoiler--playground
|
|
5385
|
+
- Other attributes go to the root element (<div>)
|
|
5348
5386
|
|
|
5349
5387
|
| Prop | Type | Description |
|
|
5350
5388
|
| --- | --- | --- |
|
|
@@ -5435,6 +5473,7 @@ Steps list (tabs) with one panel per step and back/next buttons; the last "Next"
|
|
|
5435
5473
|
- Import: `import { Stepper } from '@wirecore/wirelayer-vue'`
|
|
5436
5474
|
- Category: Navigation
|
|
5437
5475
|
- Example: https://wirecore.github.io/WireLayer/?path=/story/vue_navigation-stepper--playground
|
|
5476
|
+
- Other attributes go to the root element (<div>)
|
|
5438
5477
|
|
|
5439
5478
|
| Prop | Type | Description |
|
|
5440
5479
|
| --- | --- | --- |
|
|
@@ -5561,6 +5600,7 @@ Navigation to the headings of the page; the section in view is marked (aria-curr
|
|
|
5561
5600
|
- Import: `import { TableOfContents } from '@wirecore/wirelayer-vue'`
|
|
5562
5601
|
- Category: Navigation
|
|
5563
5602
|
- Example: https://wirecore.github.io/WireLayer/?path=/story/vue_navigation-tableofcontents--playground
|
|
5603
|
+
- Other attributes go to the root element (<div>)
|
|
5564
5604
|
|
|
5565
5605
|
| Prop | Type | Description |
|
|
5566
5606
|
| --- | --- | --- |
|
|
@@ -5754,6 +5794,7 @@ Events in order (ordered list); the markers are decoration, the status colour is
|
|
|
5754
5794
|
- Import: `import { Timeline } from '@wirecore/wirelayer-vue'`
|
|
5755
5795
|
- Category: Data
|
|
5756
5796
|
- Example: https://wirecore.github.io/WireLayer/?path=/story/vue_data-timeline--playground
|
|
5797
|
+
- Also takes the props of: HTMLAttributes<HTMLElement>
|
|
5757
5798
|
|
|
5758
5799
|
| Prop | Type | Description |
|
|
5759
5800
|
| --- | --- | --- |
|
|
@@ -5926,6 +5967,7 @@ Groups controls (role="toolbar"): one tab stop, arrow keys move between the cont
|
|
|
5926
5967
|
- Import: `import { Toolbar } from '@wirecore/wirelayer-vue'`
|
|
5927
5968
|
- Category: Layout
|
|
5928
5969
|
- Example: https://wirecore.github.io/WireLayer/?path=/story/vue_layout-toolbar--playground
|
|
5970
|
+
- Other attributes go to the root element (<div>)
|
|
5929
5971
|
|
|
5930
5972
|
| Prop | Type | Description |
|
|
5931
5973
|
| --- | --- | --- |
|
|
@@ -6007,11 +6049,14 @@ Step-by-step introduction: each step is a dialog next to its element (focus move
|
|
|
6007
6049
|
| --- | --- | --- |
|
|
6008
6050
|
| steps | `readonly TourStep[]` | |
|
|
6009
6051
|
| v-model:open? | `boolean` | Running – use with v-model:open |
|
|
6052
|
+
| v-model:step? | `string \| null` | Id of the step shown, null while the tour does not run – use with v-model:step; setting it moves there |
|
|
6053
|
+
| missing-target? | `'skip' \| 'dialog'` | A step whose target is not there (after `waitFor`): skip it (default) or show it as a centred dialog |
|
|
6010
6054
|
| classes? | `RecipeClasses<typeof tourRecipe>` | Extra classes per part of the component, e.g. { base: "…" } (see the recipe) |
|
|
6011
6055
|
|
|
6012
6056
|
| Event | Payload | Description |
|
|
6013
6057
|
| --- | --- | --- |
|
|
6014
6058
|
| v-model:open | `open: boolean` | |
|
|
6059
|
+
| v-model:step | `step: string \| null` | |
|
|
6015
6060
|
| @complete | – | |
|
|
6016
6061
|
|
|
6017
6062
|
|
|
@@ -6022,11 +6067,12 @@ Tree (role="tree"): arrow keys move and open/close, Enter/Space select, typing j
|
|
|
6022
6067
|
- Import: `import { Tree } from '@wirecore/wirelayer-vue'`
|
|
6023
6068
|
- Category: Data
|
|
6024
6069
|
- Example: https://wirecore.github.io/WireLayer/?path=/story/vue_data-tree--playground
|
|
6070
|
+
- Other attributes go to the root element (<div>)
|
|
6025
6071
|
|
|
6026
6072
|
| Prop | Type | Description |
|
|
6027
6073
|
| --- | --- | --- |
|
|
6028
6074
|
| items | `readonly TreeNode[]` | |
|
|
6029
|
-
| 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) |
|
|
6030
6076
|
| selection-mode? | `'single' \| 'multiple'` | |
|
|
6031
6077
|
| v-model:selected-value? | `string[]` | Selected ids – use with v-model:selected-value |
|
|
6032
6078
|
| default-selected-value? | `string[]` | |
|
|
@@ -6094,6 +6140,7 @@ Select whose options are a tree: the button opens the tree in a panel, choosing
|
|
|
6094
6140
|
- Import: `import { TreeSelect } from '@wirecore/wirelayer-vue'`
|
|
6095
6141
|
- Category: Forms
|
|
6096
6142
|
- Example: https://wirecore.github.io/WireLayer/?path=/story/vue_forms-treeselect--playground
|
|
6143
|
+
- Other attributes go to the root element (<div>)
|
|
6097
6144
|
|
|
6098
6145
|
| Prop | Type | Description |
|
|
6099
6146
|
| --- | --- | --- |
|
|
@@ -6158,6 +6205,7 @@ Only the visible rows are in the DOM; each row says its position (aria-posinset/
|
|
|
6158
6205
|
- Import: `import { VirtualList } from '@wirecore/wirelayer-vue/virtual'`
|
|
6159
6206
|
- Category: Data
|
|
6160
6207
|
- Example: https://wirecore.github.io/WireLayer/?path=/story/vue_data-virtuallist--playground
|
|
6208
|
+
- Other attributes go to the root element (<div>)
|
|
6161
6209
|
|
|
6162
6210
|
| Prop | Type | Description |
|
|
6163
6211
|
| --- | --- | --- |
|
|
@@ -6239,7 +6287,7 @@ Tree for many nodes: the open part of the tree as a flat, virtualised list of tr
|
|
|
6239
6287
|
| Prop | Type | Description |
|
|
6240
6288
|
| --- | --- | --- |
|
|
6241
6289
|
| items | `readonly TreeNode[]` | |
|
|
6242
|
-
| 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) |
|
|
6243
6291
|
| selection-mode? | `'single' \| 'multiple'` | |
|
|
6244
6292
|
| v-model:selected-value? | `string[]` | Selected ids – use with v-model:selected-value |
|
|
6245
6293
|
| default-selected-value? | `string[]` | |
|
|
@@ -6303,6 +6351,7 @@ Floating bars: each change starts where the previous one ended, totals from zero
|
|
|
6303
6351
|
- Import: `import { WaterfallChart } from '@wirecore/wirelayer-vue/chart'`
|
|
6304
6352
|
- Category: Data
|
|
6305
6353
|
- Example: https://wirecore.github.io/WireLayer/?path=/story/vue_data-waterfallchart--playground
|
|
6354
|
+
- Other attributes go to the root element (<figure>)
|
|
6306
6355
|
|
|
6307
6356
|
| Prop | Type | Description |
|
|
6308
6357
|
| --- | --- | --- |
|
|
@@ -7204,6 +7253,17 @@ as `pdfjs-dist` (Apache-2.0), Chart.js, Tiptap and Shiki are installed by the ap
|
|
|
7204
7253
|
rounded buttons, the padding of cards and the backdrop of dialogs are CSS variables (`--wc-control-h-md` …).
|
|
7205
7254
|
- **Labels:** wrap a control in `Field` (it links label, description and error). A native `<label for>` works with the
|
|
7206
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.
|
|
7207
7267
|
- **Brand colours:** `checkTheme` lists the pairs below WCAG AA, `suggestThemeFixes` the nearest colours (and `on-*`
|
|
7208
7268
|
colours) that meet them – an orange `primary` with white text, common in PrimeVue themes, does not.
|
|
7209
7269
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wirecore/wirelayer-vue",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.1",
|
|
4
4
|
"description": "WireLayer components for Vue 3",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -166,7 +166,7 @@
|
|
|
166
166
|
"@ark-ui/vue": "^5.39.3",
|
|
167
167
|
"@internationalized/date": "^3.12.4",
|
|
168
168
|
"@lucide/vue": "^1.59.0",
|
|
169
|
-
"@wirecore/wirelayer-recipes": "^0.
|
|
169
|
+
"@wirecore/wirelayer-recipes": "^0.10.0",
|
|
170
170
|
"@wirecore/wirelayer-tokens": "^0.6.0"
|
|
171
171
|
},
|
|
172
172
|
"devDependencies": {
|