@wirecore/wirelayer-react 0.11.0 → 0.12.0
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/llms-full.txt
CHANGED
|
@@ -4550,6 +4550,7 @@ Sortable list: every item has a handle – drag it, or press Space/Enter, move w
|
|
|
4550
4550
|
| orientation? | `SortableOrientation` | vertical (default), horizontal or grid (with `columns`) |
|
|
4551
4551
|
| columns? | `number` | Columns of the grid |
|
|
4552
4552
|
| accepts? | `(item: T, from: string) => boolean` | Whether an item from another list of the group may come in |
|
|
4553
|
+
| 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. |
|
|
4553
4554
|
| animate? | `boolean` | Items glide to their new place when they move (default: yes; not with reduced motion) |
|
|
4554
4555
|
| disabled? | `boolean` | |
|
|
4555
4556
|
| emptyText? | `string` | Text of an empty list (it stays a drop target) |
|
|
@@ -5270,6 +5271,9 @@ Step-by-step introduction: each step is a dialog next to its element (focus move
|
|
|
5270
5271
|
| steps | `readonly TourStep[]` | |
|
|
5271
5272
|
| open? | `boolean` | Running – starting it sets it, the tour ends itself |
|
|
5272
5273
|
| onOpenChange? | `(open: boolean) => void` | |
|
|
5274
|
+
| step? | `string \| null` | Id of the step shown, null while the tour does not run; setting it moves there |
|
|
5275
|
+
| onStepChange? | `(step: string \| null) => void` | |
|
|
5276
|
+
| missingTarget? | `'skip' \| 'dialog'` | A step whose target is not there (after `waitFor`): skip it (default) or show it as a centred dialog |
|
|
5273
5277
|
| onComplete? | `() => void` | |
|
|
5274
5278
|
| classes? | `RecipeClasses<typeof tourRecipe>` | Extra classes per part of the component, e.g. { base: "…" } (see the recipe) |
|
|
5275
5279
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wirecore/wirelayer-react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.0",
|
|
4
4
|
"description": "WireLayer components for React",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -166,7 +166,7 @@
|
|
|
166
166
|
"dependencies": {
|
|
167
167
|
"@ark-ui/react": "^5.39.3",
|
|
168
168
|
"@internationalized/date": "^3.12.4",
|
|
169
|
-
"@wirecore/wirelayer-recipes": "^0.
|
|
169
|
+
"@wirecore/wirelayer-recipes": "^0.10.0",
|
|
170
170
|
"@wirecore/wirelayer-tokens": "^0.6.0",
|
|
171
171
|
"lucide-react": "^1.59.0"
|
|
172
172
|
},
|