Skip to content

Commit 6cad3b0

Browse files
authored
Version Packages (next) (#995)
2 parents 4069e23 + 8ee8b7a commit 6cad3b0

28 files changed

Lines changed: 106 additions & 19 deletions

.changeset/pre.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@
103103
"@solid-primitives/url": "0.1.0"
104104
},
105105
"changesets": [
106+
"a11y-dataset-hydration-safety",
106107
"a11y-solid2-initial",
107108
"active-element-solid2-migration",
108109
"analytics-solid2-redesign",
@@ -115,6 +116,7 @@
115116
"connectivity-solid2-migration",
116117
"context-solid2-migration",
117118
"controlled-props-solid2-migration",
119+
"controlled-props-void-component-types",
118120
"controlled-signal-solid2-initial",
119121
"controlled-signal-toggle-state",
120122
"cookies-solid2-migration",
@@ -131,6 +133,7 @@
131133
"filesystem-solid2-migration",
132134
"fix-barrel-exports-rolldown-compat",
133135
"flux-store-solid2-migration",
136+
"focus-restore-primitive",
134137
"focus-solid2-migration",
135138
"form-solid2-initial",
136139
"fullscreen-solid-2-migration",
@@ -145,8 +148,10 @@
145148
"immutable-solid2-migration",
146149
"infinite-scroll-initial-page-count",
147150
"input-mask-solid2-migration",
151+
"interaction-inert-option",
148152
"interaction-orphaned-listener-fix",
149153
"interaction-solid2-migration",
154+
"intersection-observer-notreadyerror-fix",
150155
"jsx-tokenizer-solid2-migration",
151156
"keyboard-any-order-shortcut",
152157
"keyboard-ignore-within-inputs",
@@ -166,6 +171,7 @@
166171
"mouse-solid2-migration",
167172
"mutable-solid2-migration",
168173
"mutation-observer-solid2-migration",
174+
"notification-affects-pending",
169175
"notification-initial",
170176
"orientation-initial",
171177
"page-utilities-solid2-migration",
@@ -186,6 +192,7 @@
186192
"restore-make-intersection-observer",
187193
"scheduled-solid2-migration",
188194
"script-loader-solid2-migration",
195+
"scroll-duplicate-copy-safety",
189196
"scroll-solid2-migration",
190197
"selection-solid2-migration",
191198
"sensors-new-package",
@@ -207,6 +214,7 @@
207214
"tween-solid2-migration",
208215
"upload-solid-2-migration",
209216
"url-initial",
217+
"utils-global-registry",
210218
"vibrate-initial",
211219
"video-frame-callback",
212220
"video-initial",

packages/a11y/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# @solid-primitives/a11y
22

3+
## 1.0.0-next.2
4+
5+
### Patch Changes
6+
7+
- b7ef2f3: `createFormControl`'s `dataset` accessor is now a plain getter instead of a `createMemo` — no behavior or type change, but it removes an unnecessary render-body compute-form memo (memoizing a handful of cheap string/undefined fields buys nothing) that would otherwise consume a hydration id in every consuming app.
8+
- Updated dependencies [b7ef2f3]
9+
- @solid-primitives/utils@7.0.0-next.3
10+
311
## 1.0.0-next.1
412

513
### Patch Changes

packages/a11y/deno.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@solid-primitives/a11y",
3-
"version": "1.0.0-next.1",
3+
"version": "1.0.0-next.2",
44
"description": "Accessibility primitives for Solid.js — labeled field groups, ARIA graph helpers, and more.",
55
"license": "MIT",
66
"exports": "./src/index.ts",

packages/a11y/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@solid-primitives/a11y",
3-
"version": "1.0.0-next.1",
3+
"version": "1.0.0-next.2",
44
"description": "Accessibility primitives for Solid.js — labeled field groups, ARIA graph helpers, and more.",
55
"author": "David Di Biase <dave.dibiase@gmail.com>",
66
"contributors": [],

packages/controlled-props/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# @solid-primitives/controlled-props
22

3+
## 1.0.0-next.2
4+
5+
### Patch Changes
6+
7+
- b7ef2f3: `BoolProp`, `NumberProp`, `RangeProp`, and `StringProp` are now typed `VoidComponent` instead of `Component`, since none of them accept or render children. Type-only change, no behavior difference.
8+
- Updated dependencies [b7ef2f3]
9+
- @solid-primitives/utils@7.0.0-next.3
10+
311
## 1.0.0-next.1
412

513
### Patch Changes

packages/controlled-props/deno.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@solid-primitives/controlled-props",
3-
"version": "1.0.0-next.1",
3+
"version": "1.0.0-next.2",
44
"description": "The primitives in this package allow you to create controlls for component props.",
55
"license": "MIT",
66
"exports": {

packages/controlled-props/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@solid-primitives/controlled-props",
3-
"version": "1.0.0-next.1",
3+
"version": "1.0.0-next.2",
44
"description": "The primitives in this package allow you to create controlls for component props.",
55
"author": "Alex Lohr <alex.lohr@logmein.com>",
66
"contributors": [],

packages/focus/CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# @solid-primitives/focus
22

3+
## 1.0.0-next.2
4+
5+
### Minor Changes
6+
7+
- b7ef2f3: Add `createFocusRestore` — saves the currently focused element while active and restores focus to it once deactivated, without trapping focus or managing tab order. For non-modal surfaces (Popover, Tooltip, Menu) that should return focus to their trigger on close but must not intercept Tab navigation while open; for modal dialogs needing both behaviors, use `createFocusTrap`'s existing `restoreFocus` option instead.
8+
9+
Also fixed a stale-closure race shared between `createFocusTrap` and the new `createFocusRestore`: the restore target used to be read from a mutable outer variable inside a deferred `afterPaint` callback, so a fast reactivate-before-restore-fires cycle could restore focus to the wrong element. Both primitives now share one internal helper that captures the target synchronously at deactivation time.
10+
11+
### Patch Changes
12+
13+
- Updated dependencies [b7ef2f3]
14+
- @solid-primitives/utils@7.0.0-next.3
15+
316
## 1.0.0-next.1
417

518
### Patch Changes

packages/focus/deno.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@solid-primitives/focus",
3-
"version": "1.0.0-next.1",
3+
"version": "1.0.0-next.2",
44
"description": "Primitives for autofocusing HTML elements and trapping focus within a container",
55
"license": "MIT",
66
"exports": "./src/index.ts",

packages/focus/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@solid-primitives/focus",
3-
"version": "1.0.0-next.1",
3+
"version": "1.0.0-next.2",
44
"description": "Primitives for autofocusing HTML elements and trapping focus within a container",
55
"author": "jer3m01 <jer3m01@jer3m01.com>",
66
"contributors": [

0 commit comments

Comments
 (0)