@fanfare-io/fanfare-sdk-react 0.20.0 → 0.20.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/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { A as s, b as o, c as n, e as r, f as t, B as u, C as i, h as l, i as d, j as c, k as P, l as C, m, n as p, o as S, D as E, E as T, p as h, q as F, r as M, s as f, F as w, t as y, G as A, I as x, v as L, w as V, L as g, O as R, x as v, P as I, y as O, z as k, H as B, J as D, K as J, Q as H, R as _, M as b, N as G, T as W, U as z, V as N, W as Q, X as U, Y as j, Z as q, _ as K, $ as X, a0 as Y, a1 as Z, a2 as $, a3 as aa, a4 as ea, a5 as sa, a6 as oa, a7 as na, u as ra } from "./index-DOeKTtWT.js";
2
+ import { A as s, b as o, c as n, e as r, f as t, B as u, C as i, h as l, i as d, j as c, k as P, l as C, m, n as p, o as S, D as E, E as T, p as h, q as F, r as M, s as f, F as w, t as y, G as A, I as x, v as L, w as V, L as g, O as R, x as v, P as I, y as O, z as k, H as B, J as D, K as J, Q as H, R as _, M as b, N as G, T as W, U as z, V as N, W as Q, X as U, Y as j, Z as q, _ as K, $ as X, a0 as Y, a1 as Z, a2 as $, a3 as aa, a4 as ea, a5 as sa, a6 as oa, a7 as na, u as ra } from "./index-BRXy30hl.js";
3
3
  import { RTL_LOCALES as ua, isRTLLocale as ia } from "@fanfare-io/fanfare-sdk-i18n";
4
4
  export {
5
5
  s as AccessCodeForm,
@@ -0,0 +1,7 @@
1
+ /**
2
+ * A pick refused for stock is the one failure whose answer is a fresher catalogue, and it is
3
+ * refetched once per arrival rather than once per render. Keying on the refusal copy — rather
4
+ * than firing in render — is what stops a rerender from turning one refusal into a request loop;
5
+ * the key resets when the copy clears, so the next refusal refetches again.
6
+ */
7
+ export declare function useStockRefetch(selectError: string | null | undefined, selectErrorCode: string | null | undefined, refresh: () => void): void;
@@ -2,7 +2,7 @@
2
2
  import { jsxs as E, Fragment as F, jsx as g } from "react/jsx-runtime";
3
3
  import * as r from "react";
4
4
  import { createPortal as M } from "react-dom";
5
- import { u as B, a as D, d as N, S as I, B as O, g as _ } from "./index-DOeKTtWT.js";
5
+ import { u as B, a as D, d as N, S as I, B as O, g as _ } from "./index-BRXy30hl.js";
6
6
  const j = [
7
7
  "--ff-color-foreground",
8
8
  "--ff-font-sans",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fanfare-io/fanfare-sdk-react",
3
- "version": "0.20.0",
3
+ "version": "0.20.1",
4
4
  "description": "React adapter for Fanfare SDK",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org",
@@ -43,8 +43,8 @@
43
43
  "nanostores": "^1.1.0",
44
44
  "tailwind-merge": "^2.6.0",
45
45
  "valibot": "^1.1.0",
46
- "@fanfare-io/fanfare-sdk-core": "0.20.0",
47
- "@fanfare-io/fanfare-sdk-i18n": "0.20.0"
46
+ "@fanfare-io/fanfare-sdk-core": "0.20.1",
47
+ "@fanfare-io/fanfare-sdk-i18n": "0.20.1"
48
48
  },
49
49
  "devDependencies": {
50
50
  "@iconify-json/heroicons": "^1.2.3",
@@ -91,8 +91,8 @@
91
91
  "vite-plugin-dts": "^4.5.4",
92
92
  "vite-tsconfig-paths": "^5.1.4",
93
93
  "vitest": "^5.0.0",
94
- "@fanfare-io/fanfare-sdk-core": "0.20.0",
95
- "@fanfare-io/fanfare-sdk-solid": "0.20.0"
94
+ "@fanfare-io/fanfare-sdk-core": "0.20.1",
95
+ "@fanfare-io/fanfare-sdk-solid": "0.20.1"
96
96
  },
97
97
  "sideEffects": [
98
98
  "**/*.css"