Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@
"deep-solid2-migration",
"destructure-solid2-migration",
"devices-solid2-migration",
"drag-drop-no-flush-in-ref",
"drag-new-package",
"eleven-baths-build",
"eleven-buttons-jump",
Expand Down
6 changes: 6 additions & 0 deletions packages/drag-drop/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @solid-primitives/drag-drop

## 0.1.0-next.2

### Patch Changes

- da17801: Stop calling `flush()` from the `ref` callbacks of `createDraggable`, `createDroppable` and `createNativeDroppable`. Solid 2 runs refs inside an effect, where a synchronous `flush()` is a no-op that logs `FLUSH_IN_EFFECT_CALLBACK` once per item. The `elSignal` write is picked up by the flush already in progress (or Solid's own scheduled flush when `ref` is called outside JSX), so listeners attach as before. Code that calls `ref` manually and needs listeners attached synchronously should call `flush()` itself.

## 0.1.0-next.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/drag-drop/deno.jsonc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@solid-primitives/drag-drop",
"version": "0.1.0-next.1",
"version": "0.1.0-next.2",
"description": "Composable drag-and-drop primitives.",
"license": "MIT",
"exports": "./src/index.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/drag-drop/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@solid-primitives/drag-drop",
"version": "0.1.0-next.1",
"version": "0.1.0-next.2",
"description": "Composable drag-and-drop primitives.",
"author": "David Di Biase <dave@solidjs.com>",
"contributors": [],
Expand Down
7 changes: 7 additions & 0 deletions packages/upload/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @solid-primitives/upload

## 1.0.0-next.6

### Patch Changes

- Updated dependencies [da17801]
- @solid-primitives/drag-drop@0.1.0-next.2

## 1.0.0-next.5

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/upload/deno.jsonc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@solid-primitives/upload",
"version": "1.0.0-next.5",
"version": "1.0.0-next.6",
"description": "Primitives for uploading files.",
"license": "MIT",
"exports": "./src/index.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/upload/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@solid-primitives/upload",
"version": "1.0.0-next.5",
"version": "1.0.0-next.6",
"description": "Primitives for uploading files.",
"author": "Rustam Ashurmatov <rr.ashurmatov.21@gmail.com>",
"license": "MIT",
Expand Down