Skip to content

Commit 73305d3

Browse files
timphandevclaude
andcommitted
chore: release native-recipe 1.3.0
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
1 parent 3375691 commit 73305d3

3 files changed

Lines changed: 31 additions & 10 deletions

File tree

‎docs/src/measurements/native-recipe.json‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@
33
"date": "2026-10-07",
44
"node": "24.21.0",
55
"slotStyleRecipeCache": [
6-
{ "hz": 15023882.746419366, "name": "cached" },
7-
{ "hz": 1437734.3228271173, "name": "uncached" }
6+
{ "hz": 15286501.254807824, "name": "cached" },
7+
{ "hz": 1422058.877995454, "name": "uncached" }
88
],
99
"styleRecipeCache": [
10-
{ "hz": 15841746.942540845, "name": "cached" },
11-
{ "hz": 3205649.6890519722, "name": "uncached" }
10+
{ "hz": 15779980.8183048, "name": "cached" },
11+
{ "hz": 3261528.202897668, "name": "uncached" }
1212
],
1313
"themedStyleRecipe": [
14-
{ "hz": 16076356.109522957, "name": "plain" },
15-
{ "hz": 15172618.20963268, "name": "themed, one theme" },
16-
{ "hz": 14776778.625760641, "name": "themed, two themes" },
17-
{ "hz": 3622665.986086666, "name": "uncached" }
14+
{ "hz": 15777693.420701746, "name": "plain" },
15+
{ "hz": 14986663.76554628, "name": "themed, one theme" },
16+
{ "hz": 14860269.53933084, "name": "themed, two themes" },
17+
{ "hz": 3608319.8773168265, "name": "uncached" }
1818
],
19-
"versions": { "native-recipe": "1.2.0" }
19+
"versions": { "native-recipe": "1.3.0" }
2020
}

‎packages/native-recipe/CHANGELOG.md‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,27 @@ published on npm and as a
55
[GitHub release](https://github.com/lynstack/recipe/releases) tagged
66
`native-recipe@<version>`.
77

8+
## 1.3.0 — 2026-10-07
9+
10+
A recipe lists the options and defaults of its variants, so that a
11+
library or a story can list every selection of a recipe without reading
12+
its config.
13+
14+
- Style recipes, slot style recipes, and the recipe of each theme have
15+
`variantOptions`, the names of the options of each variant, as strings,
16+
in the order the recipe numbers them: integer names first, in ascending
17+
order, then `"false"` and `"true"`, which a variant that declares either
18+
one has, then the others in the order of the config.
19+
- They have `defaultVariants`, the option each variant uses when the
20+
recipe is called without it, as a string: its default, or `"false"` for
21+
a variant whose only options are `"true"` and `"false"`. A variant
22+
without a default is not in it.
23+
- Both are frozen and typed with the names of the options of each
24+
variant. A recipe that composes others lists the variants of the one
25+
config it stands for. They hold names only, never styles.
26+
- Depends on `@lynstack/recipe` through the range `^1.5.0`, which adds
27+
them.
28+
829
## 1.2.0 — 2026-10-07
930

1031
A recipe can build on other recipes with `composes`.

‎packages/native-recipe/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@lynstack/native-recipe",
3-
"version": "1.2.0",
3+
"version": "1.3.0",
44
"description": "Fast, type-safe React Native style recipes with variants, compound variants, and slots.",
55
"keywords": [
66
"react-native",

0 commit comments

Comments
 (0)