@stapel/search-react 0.9.0 → 0.9.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/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # @stapel/search-react
2
2
 
3
+ ## 0.9.1
4
+
5
+ ### Patch Changes
6
+
7
+ - d1125bc: Regenerated against the attributes-v2 contract pins: stapel-categories 0.7.0,
8
+ stapel-listings 0.10.0, stapel-search 0.3.1.
9
+
10
+ What moves in the wire types: `FeatureCompact` and `ResolvedFeature` gain
11
+ `rules`, `description`, `example`, `default`, `hints` and `group` — the form
12
+ metadata an imported catalogue actually carries, which is what
13
+ `<FeatureFields>` draws sections, help lines, placeholders and hints from
14
+ instead of a host's hand-written table; `Category` gains `external_id`; the two
15
+ vocabulary-backed value types (`ref_select`, `ref_hierarchical_select`) appear
16
+ in the type enums; and the error registry gains
17
+ `error.400.feature_invalid_rules`.
18
+
19
+ search-react's regen is contract metadata only — the facet mapping for the two
20
+ ref types (`term` / `path`, and no `closed_options` for any config carrying an
21
+ `optionsRef`) is decided server-side in stapel-search 0.3.1 and reaches this
22
+ pair as facet rows, not as a new surface.
23
+
3
24
  ## 0.9.0
4
25
 
5
26
  ### Minor Changes
package/llms.txt CHANGED
@@ -1,6 +1,6 @@
1
- # @stapel/search-react 0.9.0
1
+ # @stapel/search-react 0.9.1
2
2
 
3
- Headless React flow pair for stapel-search (contract >=0.2 <0.3) — business + state, zero visual opinion.
3
+ Headless React flow pair for stapel-search (contract >=0.3 <0.4) — business + state, zero visual opinion.
4
4
  Built on @stapel/core: typed client + StapelApiError envelope, auth token refresh,
5
5
  verification-403 interception, i18n engine, analytics facade, TanStack Query layer.
6
6
 
package/manifest.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "$generated": "by scripts/gen-manifest.mjs — do not edit; drift-gated (pnpm gen:manifest:check)",
3
3
  "package": "@stapel/search-react",
4
- "version": "0.9.0",
4
+ "version": "0.9.1",
5
5
  "backend": {
6
6
  "module": "stapel-search",
7
- "contract": ">=0.2 <0.3"
7
+ "contract": ">=0.3 <0.4"
8
8
  },
9
9
  "layers": [
10
10
  "api",
package/nav-manifest.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "package": "@stapel/search-react",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
4
4
  "entries": [
5
5
  {
6
6
  "id": "search.results",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stapel/search-react",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
4
4
  "description": "Headless React pair for stapel-search: a typed query client, TanStack Query hooks, and a URL-first state codec that makes a search shareable by construction (filters, ranges, geo, sort and the keyset cursor all live in the query string). Drill-down facets rendered with their remaining counts and with the server's own honesty flags — approximate, skipped, degraded — never swallowed; keyset pagination with the window refusal named; DSA Art. 26 `promoted` marking carried into every card slot and the P2B Art. 5 ranking disclosure exposed as data. Zero visual opinion in the main entry; an opt-in /default subpath ships the antd skin, and /router binds the codec to react-router's useSearchParams.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -115,12 +115,12 @@
115
115
  "size-limit": "^11.2.0",
116
116
  "typescript": "^5.8.3",
117
117
  "vitest": "^3.2.4",
118
- "@stapel/attributes-react": "^0.3.1",
118
+ "@stapel/attributes-react": "^0.4.0",
119
119
  "@stapel/core": "^0.20.0",
120
120
  "@stapel/image": "^0.4.2",
121
121
  "@stapel/showcase": "^0.3.0",
122
122
  "@stapel/tokens": "^0.6.0",
123
- "@stapel/tokens-antd": "^0.8.0"
123
+ "@stapel/tokens-antd": "^0.8.1"
124
124
  },
125
125
  "engines": {
126
126
  "node": ">=22"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$generated": "by scripts/gen-events.mjs — do not edit; drift-gated (pnpm gen:events:check)",
3
3
  "package": "@stapel/search-react",
4
- "version": "0.9.0",
4
+ "version": "0.9.1",
5
5
  "defined": [],
6
6
  "flows": []
7
7
  }