@hjmds/react-native 1.8.0 → 1.10.0

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.
Files changed (88) hide show
  1. package/README.md +4 -0
  2. package/dist/agreement.d.ts.map +1 -1
  3. package/dist/agreement.js +13 -3
  4. package/dist/agreement.js.map +1 -1
  5. package/dist/carousel-motion.d.ts +16 -0
  6. package/dist/carousel-motion.d.ts.map +1 -0
  7. package/dist/carousel-motion.js +57 -0
  8. package/dist/carousel-motion.js.map +1 -0
  9. package/dist/celebration.d.ts +8 -0
  10. package/dist/celebration.d.ts.map +1 -0
  11. package/dist/celebration.js +64 -0
  12. package/dist/celebration.js.map +1 -0
  13. package/dist/content-transition.d.ts +12 -0
  14. package/dist/content-transition.d.ts.map +1 -0
  15. package/dist/content-transition.js +34 -0
  16. package/dist/content-transition.js.map +1 -0
  17. package/dist/date-picker.d.ts +8 -1
  18. package/dist/date-picker.d.ts.map +1 -1
  19. package/dist/date-picker.js +2 -2
  20. package/dist/date-picker.js.map +1 -1
  21. package/dist/evidence.d.ts +1 -1
  22. package/dist/evidence.js +1 -1
  23. package/dist/evidence.js.map +1 -1
  24. package/dist/feedback.d.ts.map +1 -1
  25. package/dist/feedback.js +30 -6
  26. package/dist/feedback.js.map +1 -1
  27. package/dist/forms.d.ts.map +1 -1
  28. package/dist/forms.js +40 -4
  29. package/dist/forms.js.map +1 -1
  30. package/dist/image-viewer.d.ts.map +1 -1
  31. package/dist/image-viewer.js +4 -2
  32. package/dist/image-viewer.js.map +1 -1
  33. package/dist/index.d.ts +1 -1
  34. package/dist/index.d.ts.map +1 -1
  35. package/dist/index.js +1 -1
  36. package/dist/index.js.map +1 -1
  37. package/dist/inputs.d.ts.map +1 -1
  38. package/dist/inputs.js +11 -3
  39. package/dist/inputs.js.map +1 -1
  40. package/dist/internal/state.d.ts +19 -0
  41. package/dist/internal/state.d.ts.map +1 -1
  42. package/dist/internal/state.js +15 -0
  43. package/dist/internal/state.js.map +1 -1
  44. package/dist/number-field.d.ts.map +1 -1
  45. package/dist/number-field.js +6 -1
  46. package/dist/number-field.js.map +1 -1
  47. package/dist/overlays.d.ts +1 -1
  48. package/dist/overlays.d.ts.map +1 -1
  49. package/dist/overlays.js +11 -2
  50. package/dist/overlays.js.map +1 -1
  51. package/dist/provider.d.ts +19 -1
  52. package/dist/provider.d.ts.map +1 -1
  53. package/dist/provider.js +10 -2
  54. package/dist/provider.js.map +1 -1
  55. package/dist/screen-transition.d.ts +14 -0
  56. package/dist/screen-transition.d.ts.map +1 -0
  57. package/dist/screen-transition.js +42 -0
  58. package/dist/screen-transition.js.map +1 -0
  59. package/dist/sheet-gesture.d.ts +11 -3
  60. package/dist/sheet-gesture.d.ts.map +1 -1
  61. package/dist/sheet-gesture.js +59 -11
  62. package/dist/sheet-gesture.js.map +1 -1
  63. package/dist/slider.d.ts.map +1 -1
  64. package/dist/slider.js +58 -11
  65. package/dist/slider.js.map +1 -1
  66. package/dist/sortable.d.ts +15 -0
  67. package/dist/sortable.d.ts.map +1 -0
  68. package/dist/sortable.js +64 -0
  69. package/dist/sortable.js.map +1 -0
  70. package/dist/swipe-actions.d.ts +17 -0
  71. package/dist/swipe-actions.d.ts.map +1 -0
  72. package/dist/swipe-actions.js +58 -0
  73. package/dist/swipe-actions.js.map +1 -0
  74. package/dist/tags-input.d.ts.map +1 -1
  75. package/dist/tags-input.js +5 -1
  76. package/dist/tags-input.js.map +1 -1
  77. package/dist/toast-liquid.d.ts.map +1 -1
  78. package/dist/toast-liquid.js +17 -2
  79. package/dist/toast-liquid.js.map +1 -1
  80. package/dist/transfer-list.d.ts.map +1 -1
  81. package/dist/transfer-list.js +3 -2
  82. package/dist/transfer-list.js.map +1 -1
  83. package/dist/upload-item.d.ts.map +1 -1
  84. package/dist/upload-item.js +5 -3
  85. package/dist/upload-item.js.map +1 -1
  86. package/docs/liquid-toast.md +11 -6
  87. package/docs/patches/react-native-screen-transitions.patch +87 -0
  88. package/package.json +70 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AAC,YAE7H,KAAC,IAAI,IAAC,QAAQ,EAAC,QAAQ,EAAC,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,KAAK,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,YAAY,EAAE,EAAE,OAAO,EAAC,OAAO,YAAE,MAAM,KAAK,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,GAAQ,GACtK,CACb,IACI,CACR,CAAC;AACJ,CAAC"}
@@ -1,4 +1,9 @@
1
- # Liquid Toast (beta, optional Native presentation)
1
+ # Liquid Toast (stable, optional Native presentation)
2
+
3
+ Promoted 2026-09-30 after fixing three device-visible defects and checking the installed iPhone 17 / iOS 27 simulator
4
+ (island anchor) and Android 16 emulator (capsule anchor): the Skia shadow ignored the token opacity and was clipped by a
5
+ region-wide canvas, the capsule anchor stayed on screen as a second "island", and the droplet turned card-colored before
6
+ leaving the anchor. [Record](../../../docs/evidence/liquid-toast-2026-09-30/README.md).
2
7
 
3
8
  Liquid Toast uses the existing Toast store with a capsule, connecting neck, droplet, card expansion
4
9
  and reverse exit inspired by expo-dynamic-notifications. It is an in-app effect, not ActivityKit,
@@ -6,8 +11,7 @@ Live Activity or a background notification service. The upstream MIT notice ship
6
11
 
7
12
  ## Installation and compatibility
8
13
 
9
- Use the exact published HJM version train for contracts and renderer. This implementation is currently
10
- an unpublished source change. The effect is imported from `@hjmds/react-native/toast-liquid`; the root
14
+ Use the exact published HJM version train for contracts and renderer. The effect is imported from `@hjmds/react-native/toast-liquid`; the root
11
15
  barrel intentionally does not re-export its factory.
12
16
 
13
17
  Install the host-compatible versions of these optional peers before importing that subpath:
@@ -91,6 +95,7 @@ GPU performance or verify native accessibility behavior. The source geometry is
91
95
  contracts package. `Patterns/Liquid Toast` provides capsule, long-copy, reduced-motion and burst
92
96
  interaction cases; the Web `LiquidHintFallback` story preserves the same descriptor semantics.
93
97
 
94
- Device Hub connection timed out on 2026-09-28. No new simulator was created or booted, and no native
95
- binary was built. Real island positioning, OS versions, device frame times and VoiceOver/TalkBack
96
- remain unverified. Release/adoption must not claim this evidence from typechecking or JS export.
98
+ Installed checks on 2026-09-30 (no new simulator/emulator, no native rebuild): iPhone 17 / iOS 27.0 simulator with a
99
+ host-supplied island frame, and Android 16 emulator with the capsule anchor ([record](../../../docs/evidence/liquid-toast-2026-09-30/README.md)).
100
+ Other island models' frames are host-measured and unverified here; physical devices, frame times and spoken
101
+ VoiceOver/TalkBack journeys remain consumer-release QA.
@@ -0,0 +1,87 @@
1
+ diff --git a/package.json b/package.json
2
+ index 2a5a78236a92756591adcc6ed55a71c7726e149f..c16a59ea7e8973c8e5da0d52ca4d623381bb0513 100644
3
+ --- a/package.json
4
+ +++ b/package.json
5
+ @@ -25,22 +25,22 @@
6
+ "react-native": "src/index",
7
+ "exports": {
8
+ ".": {
9
+ + "types": "./lib/typescript/index.d.ts",
10
+ "react-native": "./src/index.ts",
11
+ "import": "./lib/module/index.js",
12
+ - "require": "./lib/commonjs/index.js",
13
+ - "types": "./lib/typescript/index.d.ts"
14
+ + "require": "./lib/commonjs/index.js"
15
+ },
16
+ "./react-navigation": {
17
+ + "types": "./lib/typescript/navigators/react-navigation/index.d.ts",
18
+ "react-native": "./src/navigators/react-navigation/index.tsx",
19
+ "import": "./lib/module/navigators/react-navigation/index.js",
20
+ - "require": "./lib/commonjs/navigators/react-navigation/index.js",
21
+ - "types": "./lib/typescript/navigators/react-navigation/index.d.ts"
22
+ + "require": "./lib/commonjs/navigators/react-navigation/index.js"
23
+ },
24
+ "./expo-router": {
25
+ + "types": "./lib/typescript/navigators/expo-router/index.d.ts",
26
+ "react-native": "./src/navigators/expo-router/index.tsx",
27
+ "import": "./lib/module/navigators/expo-router/index.js",
28
+ - "require": "./lib/commonjs/navigators/expo-router/index.js",
29
+ - "types": "./lib/typescript/navigators/expo-router/index.d.ts"
30
+ + "require": "./lib/commonjs/navigators/expo-router/index.js"
31
+ }
32
+ },
33
+ "scripts": {
34
+ diff --git a/src/components/boundary/portal/teleport.ts b/src/components/boundary/portal/teleport.ts
35
+ --- a/src/components/boundary/portal/teleport.ts
36
+ +++ b/src/components/boundary/portal/teleport.ts
37
+ @@ -10,7 +10,13 @@
38
+ */
39
+ let mod: any = null;
40
+ try {
41
+ - mod = require("react-native-teleport");
42
+ + // A JS package can exist before its native views are linked into a dev client.
43
+ + // Treat that case as absent, rather than mounting RN's red placeholder views.
44
+ + // TODO(remove when upstream probes native availability): observed on iOS 27.
45
+ + const { UIManager } = require("react-native");
46
+ + if (UIManager.hasViewManagerConfig("PortalHostView") && UIManager.hasViewManagerConfig("PortalView")) {
47
+ + mod = require("react-native-teleport");
48
+ + }
49
+ } catch {}
50
+
51
+ const SafeNativePortalProvider: ComponentType<{ children: ReactNode }> | null =
52
+ diff --git a/lib/module/components/boundary/portal/teleport.js b/lib/module/components/boundary/portal/teleport.js
53
+ --- a/lib/module/components/boundary/portal/teleport.js
54
+ +++ b/lib/module/components/boundary/portal/teleport.js
55
+ @@ -10,7 +10,13 @@
56
+ */
57
+ let mod = null;
58
+ try {
59
+ - mod = require("react-native-teleport");
60
+ + // A JS package can exist before its native views are linked into a dev client.
61
+ + // Treat that case as absent, rather than mounting RN's red placeholder views.
62
+ + // TODO(remove when upstream probes native availability): observed on iOS 27.
63
+ + const { UIManager } = require("react-native");
64
+ + if (UIManager.hasViewManagerConfig("PortalHostView") && UIManager.hasViewManagerConfig("PortalView")) {
65
+ + mod = require("react-native-teleport");
66
+ + }
67
+ } catch {}
68
+ const SafeNativePortalProvider = mod?.PortalProvider ?? null;
69
+ export const isTeleportAvailable = mod !== null && SafeNativePortalProvider !== null;
70
+ diff --git a/lib/commonjs/components/boundary/portal/teleport.js b/lib/commonjs/components/boundary/portal/teleport.js
71
+ --- a/lib/commonjs/components/boundary/portal/teleport.js
72
+ +++ b/lib/commonjs/components/boundary/portal/teleport.js
73
+ @@ -14,7 +14,13 @@
74
+ */
75
+ let mod = null;
76
+ try {
77
+ - mod = require("react-native-teleport");
78
+ + // A JS package can exist before its native views are linked into a dev client.
79
+ + // Treat that case as absent, rather than mounting RN's red placeholder views.
80
+ + // TODO(remove when upstream probes native availability): observed on iOS 27.
81
+ + const { UIManager } = require("react-native");
82
+ + if (UIManager.hasViewManagerConfig("PortalHostView") && UIManager.hasViewManagerConfig("PortalView")) {
83
+ + mod = require("react-native-teleport");
84
+ + }
85
+ } catch {}
86
+ const SafeNativePortalProvider = mod?.PortalProvider ?? null;
87
+ const isTeleportAvailable = exports.isTeleportAvailable = mod !== null && SafeNativePortalProvider !== null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hjmds/react-native",
3
- "version": "1.8.0",
3
+ "version": "1.10.0",
4
4
  "description": "Expo-independent React Native renderers for HJM design contracts.",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
@@ -303,6 +303,42 @@
303
303
  "react-native": "./dist/qr-code.js",
304
304
  "import": "./dist/qr-code.js",
305
305
  "default": "./dist/qr-code.js"
306
+ },
307
+ "./sortable": {
308
+ "types": "./dist/sortable.d.ts",
309
+ "react-native": "./dist/sortable.js",
310
+ "import": "./dist/sortable.js",
311
+ "default": "./dist/sortable.js"
312
+ },
313
+ "./swipe-actions": {
314
+ "types": "./dist/swipe-actions.d.ts",
315
+ "react-native": "./dist/swipe-actions.js",
316
+ "import": "./dist/swipe-actions.js",
317
+ "default": "./dist/swipe-actions.js"
318
+ },
319
+ "./content-transition": {
320
+ "types": "./dist/content-transition.d.ts",
321
+ "react-native": "./dist/content-transition.js",
322
+ "import": "./dist/content-transition.js",
323
+ "default": "./dist/content-transition.js"
324
+ },
325
+ "./carousel-motion": {
326
+ "types": "./dist/carousel-motion.d.ts",
327
+ "react-native": "./dist/carousel-motion.js",
328
+ "import": "./dist/carousel-motion.js",
329
+ "default": "./dist/carousel-motion.js"
330
+ },
331
+ "./celebration": {
332
+ "types": "./dist/celebration.d.ts",
333
+ "react-native": "./dist/celebration.js",
334
+ "import": "./dist/celebration.js",
335
+ "default": "./dist/celebration.js"
336
+ },
337
+ "./screen-transition": {
338
+ "types": "./dist/screen-transition.d.ts",
339
+ "react-native": "./dist/screen-transition.js",
340
+ "import": "./dist/screen-transition.js",
341
+ "default": "./dist/screen-transition.js"
306
342
  }
307
343
  },
308
344
  "files": [
@@ -314,7 +350,7 @@
314
350
  ],
315
351
  "peerDependencies": {
316
352
  "@gorhom/bottom-sheet": "5.2.14",
317
- "@hjmds/design-contracts": ">=1.8.0 <1.9.0",
353
+ "@hjmds/design-contracts": ">=1.10.0 <1.11.0",
318
354
  "@react-native-menu/menu": "1.2.2",
319
355
  "@shopify/react-native-skia": "^2.6.2",
320
356
  "react": ">=19",
@@ -328,7 +364,13 @@
328
364
  "react-native-zoom-toolkit": "5.1.1",
329
365
  "zeego": "3.0.6",
330
366
  "react-native-svg": "15.15.5",
331
- "qrcode-generator": "2.0.4"
367
+ "qrcode-generator": "2.0.4",
368
+ "react-native-sortables": "1.10.1",
369
+ "react-native-reanimated-carousel": "5.1.1",
370
+ "react-native-fast-confetti": "2.0.2",
371
+ "react-native-screen-transitions": "4.0.0",
372
+ "@react-navigation/native": "7.4.1",
373
+ "react-native-safe-area-context": "5.7.0"
332
374
  },
333
375
  "devDependencies": {
334
376
  "@babel/runtime": "7.29.7",
@@ -355,7 +397,13 @@
355
397
  "vitest": "^4.1.11",
356
398
  "zeego": "3.0.6",
357
399
  "qrcode-generator": "2.0.4",
358
- "@hjmds/design-contracts": "1.8.0"
400
+ "react-native-sortables": "1.10.1",
401
+ "react-native-reanimated-carousel": "5.1.1",
402
+ "react-native-fast-confetti": "2.0.2",
403
+ "react-native-screen-transitions": "4.0.0",
404
+ "@react-navigation/native": "7.4.1",
405
+ "react-native-safe-area-context": "5.7.0",
406
+ "@hjmds/design-contracts": "1.10.0"
359
407
  },
360
408
  "engines": {
361
409
  "node": ">=20"
@@ -399,6 +447,24 @@
399
447
  },
400
448
  "qrcode-generator": {
401
449
  "optional": true
450
+ },
451
+ "react-native-sortables": {
452
+ "optional": true
453
+ },
454
+ "react-native-reanimated-carousel": {
455
+ "optional": true
456
+ },
457
+ "react-native-fast-confetti": {
458
+ "optional": true
459
+ },
460
+ "react-native-screen-transitions": {
461
+ "optional": true
462
+ },
463
+ "@react-navigation/native": {
464
+ "optional": true
465
+ },
466
+ "react-native-safe-area-context": {
467
+ "optional": true
402
468
  }
403
469
  },
404
470
  "scripts": {