@oxy.so/bloom 23.8.0 → 23.8.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.
Files changed (117) hide show
  1. package/android/src/main/java/so/oxy/bloom/AvatarLoops.kt +293 -0
  2. package/android/src/main/java/so/oxy/bloom/AvatarSurface.kt +351 -0
  3. package/android/src/main/java/so/oxy/bloom/BloomPackage.kt +1 -1
  4. package/docs/agent-avatar.mdx +77 -1
  5. package/docs/no-nativewind.mdx +3 -1
  6. package/docs/task-catalog.json +1 -1
  7. package/docs/task-catalog.mdx +1 -1
  8. package/docs/theme.mdx +21 -0
  9. package/lib/commonjs/agent-avatar/VectorCharacterAvatar.js +267 -111
  10. package/lib/commonjs/agent-avatar/VectorCharacterAvatar.js.map +1 -1
  11. package/lib/commonjs/agent-avatar/VectorNativeSurface.js +75 -0
  12. package/lib/commonjs/agent-avatar/VectorNativeSurface.js.map +1 -0
  13. package/lib/commonjs/agent-avatar/vector-loop.js +161 -0
  14. package/lib/commonjs/agent-avatar/vector-loop.js.map +1 -0
  15. package/lib/commonjs/agent-avatar/vector-visibility.js +4 -1
  16. package/lib/commonjs/agent-avatar/vector-visibility.js.map +1 -1
  17. package/lib/commonjs/blur/BlurIsland.js +112 -118
  18. package/lib/commonjs/blur/BlurIsland.js.map +1 -1
  19. package/lib/commonjs/button/Button.js +12 -22
  20. package/lib/commonjs/button/Button.js.map +1 -1
  21. package/lib/commonjs/button/GroupBase.js +35 -50
  22. package/lib/commonjs/button/GroupBase.js.map +1 -1
  23. package/lib/commonjs/floating/lens/lens-frame.js +286 -0
  24. package/lib/commonjs/floating/lens/lens-frame.js.map +1 -0
  25. package/lib/commonjs/floating/lens/lens-material.js +1 -1
  26. package/lib/commonjs/page-header/PageHeader.js +24 -15
  27. package/lib/commonjs/page-header/PageHeader.js.map +1 -1
  28. package/lib/commonjs/panel-routing/expo-router/StackScene.js +1 -0
  29. package/lib/commonjs/panel-routing/expo-router/StackScene.js.map +1 -1
  30. package/lib/commonjs/surface/Surface.js +64 -193
  31. package/lib/commonjs/surface/Surface.js.map +1 -1
  32. package/lib/commonjs/tab-bar/TabBarBase.js +18 -15
  33. package/lib/commonjs/tab-bar/TabBarBase.js.map +1 -1
  34. package/lib/module/agent-avatar/VectorCharacterAvatar.js +268 -112
  35. package/lib/module/agent-avatar/VectorCharacterAvatar.js.map +1 -1
  36. package/lib/module/agent-avatar/VectorNativeSurface.js +66 -0
  37. package/lib/module/agent-avatar/VectorNativeSurface.js.map +1 -0
  38. package/lib/module/agent-avatar/vector-loop.js +150 -0
  39. package/lib/module/agent-avatar/vector-loop.js.map +1 -0
  40. package/lib/module/agent-avatar/vector-visibility.js +3 -1
  41. package/lib/module/agent-avatar/vector-visibility.js.map +1 -1
  42. package/lib/module/blur/BlurIsland.js +112 -116
  43. package/lib/module/blur/BlurIsland.js.map +1 -1
  44. package/lib/module/button/Button.js +13 -23
  45. package/lib/module/button/Button.js.map +1 -1
  46. package/lib/module/button/GroupBase.js +37 -52
  47. package/lib/module/button/GroupBase.js.map +1 -1
  48. package/lib/module/floating/lens/lens-frame.js +282 -0
  49. package/lib/module/floating/lens/lens-frame.js.map +1 -0
  50. package/lib/module/floating/lens/lens-material.js +1 -1
  51. package/lib/module/page-header/PageHeader.js +24 -15
  52. package/lib/module/page-header/PageHeader.js.map +1 -1
  53. package/lib/module/panel-routing/expo-router/StackScene.js +1 -0
  54. package/lib/module/panel-routing/expo-router/StackScene.js.map +1 -1
  55. package/lib/module/surface/Surface.js +65 -194
  56. package/lib/module/surface/Surface.js.map +1 -1
  57. package/lib/module/tab-bar/TabBarBase.js +18 -15
  58. package/lib/module/tab-bar/TabBarBase.js.map +1 -1
  59. package/lib/typescript/commonjs/agent-avatar/VectorCharacterAvatar.d.ts.map +1 -1
  60. package/lib/typescript/commonjs/agent-avatar/VectorNativeSurface.d.ts +75 -0
  61. package/lib/typescript/commonjs/agent-avatar/VectorNativeSurface.d.ts.map +1 -0
  62. package/lib/typescript/commonjs/agent-avatar/vector-loop.d.ts +93 -0
  63. package/lib/typescript/commonjs/agent-avatar/vector-loop.d.ts.map +1 -0
  64. package/lib/typescript/commonjs/agent-avatar/vector-visibility.d.ts +2 -0
  65. package/lib/typescript/commonjs/agent-avatar/vector-visibility.d.ts.map +1 -1
  66. package/lib/typescript/commonjs/blur/BlurIsland.d.ts +1 -1
  67. package/lib/typescript/commonjs/blur/BlurIsland.d.ts.map +1 -1
  68. package/lib/typescript/commonjs/button/Button.d.ts.map +1 -1
  69. package/lib/typescript/commonjs/button/GroupBase.d.ts.map +1 -1
  70. package/lib/typescript/commonjs/floating/lens/lens-frame.d.ts +52 -0
  71. package/lib/typescript/commonjs/floating/lens/lens-frame.d.ts.map +1 -0
  72. package/lib/typescript/commonjs/floating/lens/lens-material.d.ts +1 -1
  73. package/lib/typescript/commonjs/page-header/PageHeader.d.ts.map +1 -1
  74. package/lib/typescript/commonjs/panel-routing/expo-router/StackScene.d.ts.map +1 -1
  75. package/lib/typescript/commonjs/surface/Surface.d.ts.map +1 -1
  76. package/lib/typescript/commonjs/tab-bar/TabBarBase.d.ts.map +1 -1
  77. package/lib/typescript/module/agent-avatar/VectorCharacterAvatar.d.ts.map +1 -1
  78. package/lib/typescript/module/agent-avatar/VectorNativeSurface.d.ts +75 -0
  79. package/lib/typescript/module/agent-avatar/VectorNativeSurface.d.ts.map +1 -0
  80. package/lib/typescript/module/agent-avatar/vector-loop.d.ts +93 -0
  81. package/lib/typescript/module/agent-avatar/vector-loop.d.ts.map +1 -0
  82. package/lib/typescript/module/agent-avatar/vector-visibility.d.ts +2 -0
  83. package/lib/typescript/module/agent-avatar/vector-visibility.d.ts.map +1 -1
  84. package/lib/typescript/module/blur/BlurIsland.d.ts +1 -1
  85. package/lib/typescript/module/blur/BlurIsland.d.ts.map +1 -1
  86. package/lib/typescript/module/button/Button.d.ts.map +1 -1
  87. package/lib/typescript/module/button/GroupBase.d.ts.map +1 -1
  88. package/lib/typescript/module/floating/lens/lens-frame.d.ts +52 -0
  89. package/lib/typescript/module/floating/lens/lens-frame.d.ts.map +1 -0
  90. package/lib/typescript/module/floating/lens/lens-material.d.ts +1 -1
  91. package/lib/typescript/module/page-header/PageHeader.d.ts.map +1 -1
  92. package/lib/typescript/module/panel-routing/expo-router/StackScene.d.ts.map +1 -1
  93. package/lib/typescript/module/surface/Surface.d.ts.map +1 -1
  94. package/lib/typescript/module/tab-bar/TabBarBase.d.ts.map +1 -1
  95. package/package.json +1 -1
  96. package/src/agent-avatar/VectorCharacterAvatar.tsx +327 -120
  97. package/src/agent-avatar/VectorNativeSurface.tsx +117 -0
  98. package/src/agent-avatar/vector-loop.ts +213 -0
  99. package/src/agent-avatar/vector-visibility.ts +3 -1
  100. package/src/blur/BlurIsland.tsx +16 -14
  101. package/src/button/Button.tsx +19 -36
  102. package/src/button/GroupBase.tsx +42 -56
  103. package/src/floating/lens/lens-frame.tsx +195 -0
  104. package/src/floating/lens/lens-material.ts +1 -1
  105. package/src/page-header/PageHeader.tsx +26 -13
  106. package/src/panel-routing/expo-router/StackScene.tsx +9 -0
  107. package/src/surface/Surface.tsx +13 -28
  108. package/src/tab-bar/TabBarBase.tsx +13 -8
  109. package/lib/commonjs/floating/lens/lens-button-host.js +0 -218
  110. package/lib/commonjs/floating/lens/lens-button-host.js.map +0 -1
  111. package/lib/module/floating/lens/lens-button-host.js +0 -214
  112. package/lib/module/floating/lens/lens-button-host.js.map +0 -1
  113. package/lib/typescript/commonjs/floating/lens/lens-button-host.d.ts +0 -34
  114. package/lib/typescript/commonjs/floating/lens/lens-button-host.d.ts.map +0 -1
  115. package/lib/typescript/module/floating/lens/lens-button-host.d.ts +0 -34
  116. package/lib/typescript/module/floating/lens/lens-button-host.d.ts.map +0 -1
  117. package/src/floating/lens/lens-button-host.tsx +0 -148
@@ -1 +1 @@
1
- {"version":3,"file":"PageHeader.d.ts","sourceRoot":"","sources":["../../../../src/page-header/PageHeader.tsx"],"names":[],"mappings":"AA+DA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AA2G/C,iBAAS,mBAAmB,CAAC,EAC3B,KAAK,EACL,YAAY,EACZ,QAAQ,EACR,QAAQ,EACR,WAAW,EACX,WAAsB,EACtB,eAAyB,EACzB,YAAY,EACZ,uBAAuB,EACvB,UAAoB,EACpB,YAAgB,EAChB,WAAW,EAAE,oBAA6B,EAC1C,iBAAiB,EACjB,mBAAmB,EACnB,IAAgB,EAChB,YAAyB,EACzB,SAAoB,EACpB,OAAmB,EACnB,MAAM,EAAE,YAAY,EACpB,SAAS,EAAE,aAAa,EACxB,SAAS,EACT,OAAO,EACP,OAAO,EAAE,aAAa,EACtB,MAAM,EACN,aAAa,EACb,SAAS,EACT,MAAe,EACf,WAAmB,EACnB,KAAc,EACd,YAAuB,EACvB,UAAU,EACV,OAAO,EAAE,eAAe,EACxB,eAAmC,EACnC,MAAa,EACb,QAAQ,EACR,KAAK,EACL,MAAM,GACP,EAAE,eAAe,+BA4gCjB;AAqED,eAAO,MAAM,UAAU,iEAA4B,CAAC"}
1
+ {"version":3,"file":"PageHeader.d.ts","sourceRoot":"","sources":["../../../../src/page-header/PageHeader.tsx"],"names":[],"mappings":"AA+DA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AA6G/C,iBAAS,mBAAmB,CAAC,EAC3B,KAAK,EACL,YAAY,EACZ,QAAQ,EACR,QAAQ,EACR,WAAW,EACX,WAAsB,EACtB,eAAyB,EACzB,YAAY,EACZ,uBAAuB,EACvB,UAAoB,EACpB,YAAgB,EAChB,WAAW,EAAE,oBAA6B,EAC1C,iBAAiB,EACjB,mBAAmB,EACnB,IAAgB,EAChB,YAAyB,EACzB,SAAoB,EACpB,OAAmB,EACnB,MAAM,EAAE,YAAY,EACpB,SAAS,EAAE,aAAa,EACxB,SAAS,EACT,OAAO,EACP,OAAO,EAAE,aAAa,EACtB,MAAM,EACN,aAAa,EACb,SAAS,EACT,MAAe,EACf,WAAmB,EACnB,KAAc,EACd,YAAuB,EACvB,UAAU,EACV,OAAO,EAAE,eAAe,EACxB,eAAmC,EACnC,MAAa,EACb,QAAQ,EACR,KAAK,EACL,MAAM,GACP,EAAE,eAAe,+BAuhCjB;AAqED,eAAO,MAAM,UAAU,iEAA4B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"StackScene.d.ts","sourceRoot":"","sources":["../../../../../src/panel-routing/expo-router/StackScene.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA6B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAOlE,mEAAmE;AACnE,UAAU,eAAe;IACvB,QAAQ,IAAI;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,SAAS;YAAE,GAAG,EAAE,MAAM,CAAA;SAAE,EAAE,CAAA;KAAE,CAAC;IAClE,WAAW,CACT,IAAI,EAAE,eAAe,EACrB,QAAQ,EAAE,CAAC,KAAK,EAAE;QAAE,IAAI,CAAC,EAAE;YAAE,OAAO,CAAC,EAAE,OAAO,CAAA;SAAE,CAAA;KAAE,KAAK,IAAI,GAC1D,MAAM,IAAI,CAAC;CACf;AAED,MAAM,WAAW,eAAe;IAC9B,QAAQ,EAAE,SAAS,CAAC;IACpB,yFAAyF;IACzF,UAAU,CAAC,EAAE,eAAe,CAAC;IAC7B,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,UAAU,CAAC,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,EAAE,eAAe,+BAe7E;AA4BD,wBAAgB,gBAAgB,CAAC,EAC/B,QAAQ,EACR,UAAU,EACV,KAAK,GACN,EAAE;IACD,QAAQ,EAAE,SAAS,CAAC;IACpB,UAAU,CAAC,EAAE,eAAe,CAAC;IAC7B,KAAK,CAAC,EAAE;QAAE,GAAG,EAAE,MAAM,CAAA;KAAE,CAAC;CACzB,+BAMA"}
1
+ {"version":3,"file":"StackScene.d.ts","sourceRoot":"","sources":["../../../../../src/panel-routing/expo-router/StackScene.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA6B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAOlE,mEAAmE;AACnE,UAAU,eAAe;IACvB,QAAQ,IAAI;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,SAAS;YAAE,GAAG,EAAE,MAAM,CAAA;SAAE,EAAE,CAAA;KAAE,CAAC;IAClE,WAAW,CACT,IAAI,EAAE,eAAe,EACrB,QAAQ,EAAE,CAAC,KAAK,EAAE;QAAE,IAAI,CAAC,EAAE;YAAE,OAAO,CAAC,EAAE,OAAO,CAAA;SAAE,CAAA;KAAE,KAAK,IAAI,GAC1D,MAAM,IAAI,CAAC;CACf;AAED,MAAM,WAAW,eAAe;IAC9B,QAAQ,EAAE,SAAS,CAAC;IACpB,yFAAyF;IACzF,UAAU,CAAC,EAAE,eAAe,CAAC;IAC7B,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,UAAU,CAAC,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,EAAE,eAAe,+BAwB7E;AA4BD,wBAAgB,gBAAgB,CAAC,EAC/B,QAAQ,EACR,UAAU,EACV,KAAK,GACN,EAAE;IACD,QAAQ,EAAE,SAAS,CAAC;IACpB,UAAU,CAAC,EAAE,eAAe,CAAC;IAC7B,KAAK,CAAC,EAAE;QAAE,GAAG,EAAE,MAAM,CAAA;KAAE,CAAC;CACzB,+BAMA"}
@@ -1 +1 @@
1
- {"version":3,"file":"Surface.d.ts","sourceRoot":"","sources":["../../../../src/surface/Surface.tsx"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAC5C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AA8G9D,eAAO,MAAM,OAAO,EAAE,gBAAgB,CAAC,YAAY,CAA0B,CAAC"}
1
+ {"version":3,"file":"Surface.d.ts","sourceRoot":"","sources":["../../../../src/surface/Surface.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAC5C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAiG9D,eAAO,MAAM,OAAO,EAAE,gBAAgB,CAAC,YAAY,CAA0B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"TabBarBase.d.ts","sourceRoot":"","sources":["../../../../src/tab-bar/TabBarBase.tsx"],"names":[],"mappings":"AAcA;;;;;;;;;;;;GAYG;AACH,OAAO,EAWL,KAAK,aAAa,EACnB,MAAM,OAAO,CAAC;AA8Bf,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAItE,OAAO,EAkBL,KAAK,gBAAgB,EACtB,MAAM,UAAU,CAAC;AAClB,OAAO,KAAK,EAAE,iBAAiB,EAAE,WAAW,EAAe,MAAM,SAAS,CAAC;AAk+B3E;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,aAAa,CAAC,oBAAoB,CAAC;YAC7C,WAAW;;EAGnC;AAED,+EAA+E;AAC/E,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,aAAa,CAAC,gBAAgB,CAAC;YAC1C,iBAAiB;;EAG/C"}
1
+ {"version":3,"file":"TabBarBase.d.ts","sourceRoot":"","sources":["../../../../src/tab-bar/TabBarBase.tsx"],"names":[],"mappings":"AAaA;;;;;;;;;;;;GAYG;AACH,OAAO,EAWL,KAAK,aAAa,EACnB,MAAM,OAAO,CAAC;AA8Bf,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAItE,OAAO,EAkBL,KAAK,gBAAgB,EACtB,MAAM,UAAU,CAAC;AAClB,OAAO,KAAK,EAAE,iBAAiB,EAAE,WAAW,EAAe,MAAM,SAAS,CAAC;AAu+B3E;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,aAAa,CAAC,oBAAoB,CAAC;YAC7C,WAAW;;EAGnC;AAED,+EAA+E;AAC/E,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,aAAa,CAAC,gBAAgB,CAAC;YAC1C,iBAAiB;;EAG/C"}
@@ -1 +1 @@
1
- {"version":3,"file":"VectorCharacterAvatar.d.ts","sourceRoot":"","sources":["../../../../src/agent-avatar/VectorCharacterAvatar.tsx"],"names":[],"mappings":"AAoDA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAS,CAAC;AAahD,KAAK,KAAK,GAAG,gBAAgB,GAAG;IAAE,WAAW,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAYzD,sGAAsG;AACtG,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,KAAK,+BAGjD"}
1
+ {"version":3,"file":"VectorCharacterAvatar.d.ts","sourceRoot":"","sources":["../../../../src/agent-avatar/VectorCharacterAvatar.tsx"],"names":[],"mappings":"AAoDA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAS,CAAC;AAiChD,KAAK,KAAK,GAAG,gBAAgB,GAAG;IAAE,WAAW,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AA0BzD,sGAAsG;AACtG,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,KAAK,+BAGjD"}
@@ -0,0 +1,75 @@
1
+ import * as ReactNative from 'react-native';
2
+ import { type NativeSyntheticEvent, type ViewProps } from 'react-native';
3
+ import type { VectorLoopTracks } from './vector-loop.js';
4
+ /** One frame as the native surface draws it: colours as native colour numbers, the viewBox as four numbers. */
5
+ export type NativeVectorFrame = {
6
+ /** Changes with every frame JS draws, so a frame equal to an older one still replaces the loop's. */
7
+ revision: number;
8
+ viewBox: number[];
9
+ /** The whole drawing's opacity (the entrance), as one layer. */
10
+ opacity: number;
11
+ paths: {
12
+ d: string;
13
+ clip?: string;
14
+ fill: number;
15
+ opacity: number;
16
+ fillOpacity: number;
17
+ stroke?: number;
18
+ strokeWidth?: number;
19
+ }[];
20
+ };
21
+ /** A complete rest loop (`VectorLoopTracks`) in the same native form. */
22
+ export type NativeVectorLoop = {
23
+ duration: number;
24
+ length: number;
25
+ viewBox: number[];
26
+ paths: {
27
+ fill: number;
28
+ fillOpacity: number;
29
+ stroke?: number;
30
+ strokeWidth?: number;
31
+ d: string[];
32
+ opacity: number[];
33
+ clip?: string[];
34
+ }[];
35
+ };
36
+ /** Plays the loop: at `epoch` (a `performance.now()` reading) the loop is `time` seconds in. */
37
+ export type NativeVectorClock = {
38
+ epoch: number;
39
+ time: number;
40
+ };
41
+ export type NativeVectorSurfaceProps = ViewProps & {
42
+ frame?: NativeVectorFrame;
43
+ /** The rest loop this surface is about: it answers `onLoop` with whether it has it. */
44
+ loopKey?: string;
45
+ /** The loop `loopKey` names, handed over once when the surface does not have it. */
46
+ loopTracks?: NativeVectorLoop;
47
+ /** Set while the surface plays the loop by itself; the JS thread draws nothing meanwhile. */
48
+ loopClock?: NativeVectorClock;
49
+ /** A non-zero id asks for a PNG of what is on screen, answered by `onCapture`. */
50
+ capture?: number;
51
+ onLoop?: (event: NativeSyntheticEvent<{
52
+ key: string;
53
+ ready: boolean;
54
+ }>) => void;
55
+ onCapture?: (event: NativeSyntheticEvent<{
56
+ id: number;
57
+ data: string | null;
58
+ }>) => void;
59
+ };
60
+ export declare const VectorNativeSurface: ReactNative.HostComponent<NativeVectorSurfaceProps> | null;
61
+ /** A viewBox string as four numbers. */
62
+ export declare const viewBoxNumbers: (viewBox: string) => number[];
63
+ /** The native form of one drawn path's paint. */
64
+ export declare function nativePaint(path: {
65
+ fill: string;
66
+ stroke?: string;
67
+ strokeWidth?: number;
68
+ }): {
69
+ fill: number;
70
+ stroke?: number;
71
+ strokeWidth?: number;
72
+ };
73
+ /** A complete loop in the surface's form. */
74
+ export declare function nativeVectorLoop(tracks: VectorLoopTracks, viewBox: string): NativeVectorLoop;
75
+ //# sourceMappingURL=VectorNativeSurface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VectorNativeSurface.d.ts","sourceRoot":"","sources":["../../../../src/agent-avatar/VectorNativeSurface.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,WAAW,MAAM,cAAc,CAAC;AAC5C,OAAO,EAKL,KAAK,oBAAoB,EACzB,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAe,CAAC;AAEtD,+GAA+G;AAC/G,MAAM,MAAM,iBAAiB,GAAG;IAC9B,qGAAqG;IACrG,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,gEAAgE;IAChE,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE;QACL,CAAC,EAAE,MAAM,CAAC;QACV,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,EAAE,MAAM,CAAC;QAChB,WAAW,EAAE,MAAM,CAAC;QACpB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,WAAW,CAAC,EAAE,MAAM,CAAC;KACtB,EAAE,CAAC;CACL,CAAC;AACF,yEAAyE;AACzE,MAAM,MAAM,gBAAgB,GAAG;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,KAAK,EAAE;QACL,IAAI,EAAE,MAAM,CAAC;QACb,WAAW,EAAE,MAAM,CAAC;QACpB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,CAAC,EAAE,MAAM,EAAE,CAAC;QACZ,OAAO,EAAE,MAAM,EAAE,CAAC;QAClB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;KACjB,EAAE,CAAC;CACL,CAAC;AACF,gGAAgG;AAChG,MAAM,MAAM,iBAAiB,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC;AAEhE,MAAM,MAAM,wBAAwB,GAAG,SAAS,GAAG;IACjD,KAAK,CAAC,EAAE,iBAAiB,CAAC;IAC1B,uFAAuF;IACvF,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,oFAAoF;IACpF,UAAU,CAAC,EAAE,gBAAgB,CAAC;IAC9B,6FAA6F;IAC7F,SAAS,CAAC,EAAE,iBAAiB,CAAC;IAC9B,kFAAkF;IAClF,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,oBAAoB,CAAC;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,OAAO,CAAA;KAAE,CAAC,KAAK,IAAI,CAAC;IAChF,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,oBAAoB,CAAC;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE,CAAC,KAAK,IAAI,CAAC;CACxF,CAAC;AAoBF,eAAO,MAAM,mBAAmB,4DAAmB,CAAC;AAMpD,wCAAwC;AACxC,eAAO,MAAM,cAAc,GAAI,SAAS,MAAM,KAAG,MAAM,EAIvC,CAAC;AAEjB,iDAAiD;AACjD,wBAAgB,WAAW,CAAC,IAAI,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IAAC,WAAW,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG;IAC1F,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAIA;AAED,6CAA6C;AAC7C,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,GAAG,gBAAgB,CAa5F"}
@@ -0,0 +1,93 @@
1
+ import type { VectorFrame } from './vector-types.js';
2
+ /**
3
+ * A character at rest repeats itself. With no gesture, pointer, mood or transition, and no
4
+ * reference face (whose procedural gaze never repeats), the frame it draws depends on one number:
5
+ * where it is in its idle clip. So the frames of that clip are computed once, the first time
6
+ * round, and replayed after that: its loop.
7
+ *
8
+ * The loop's frames sit on a fixed grid, `VECTOR_LOOP_FPS` a second, the rate frames are painted
9
+ * at, and an avatar at rest draws the grid frame its clock is in. Every avatar with the same
10
+ * geometry and paint shares one loop, keyed by `vectorFrameRecipeKey`.
11
+ */
12
+ export declare const VECTOR_LOOP_FPS = 30;
13
+ /** The loops kept, in path characters (about bytes): Alia's is 2 M, the largest character 10 M. */
14
+ export declare const VECTOR_LOOP_CACHE_CHARACTERS = 24000000;
15
+ export type VectorLoop<Frame extends {
16
+ drawing: VectorFrame;
17
+ }> = {
18
+ /** Seconds the loop takes: its idle clip's duration. */
19
+ duration: number;
20
+ /** One slot per grid frame, filled the first time that frame is drawn. */
21
+ frames: (Frame | undefined)[];
22
+ /** How many slots are filled. */
23
+ drawn: number;
24
+ /** Path characters held, for the cache budget. */
25
+ characters: number;
26
+ /** Its tracks, built once every frame is drawn (`vectorLoopTracks`); `null` if it has none. */
27
+ tracks?: VectorLoopTracks | null;
28
+ /** What it is made from, as a name that is the same on every start (`vectorLoopKey`). */
29
+ key?: string;
30
+ };
31
+ /**
32
+ * A complete loop as one track per drawn path, for a player that draws it frame by frame without
33
+ * recomputing anything: what stays the same on every frame (the paint) and what changes (outline,
34
+ * clip and opacity, one entry per frame). A path that is clipped on some frames and not on others
35
+ * gets `VECTOR_UNCLIPPED` on the frames it has none, which hides nothing.
36
+ */
37
+ export type VectorLoopTracks = {
38
+ /** Seconds the loop takes. */
39
+ duration: number;
40
+ /** Grid frames in it: the length of every per-frame list. */
41
+ length: number;
42
+ viewBox: string;
43
+ paths: {
44
+ id: string;
45
+ fill: string;
46
+ fillOpacity: number;
47
+ stroke?: string;
48
+ strokeWidth?: number;
49
+ d: string[];
50
+ opacity: number[];
51
+ clip?: string[];
52
+ }[];
53
+ };
54
+ /** The loop of the avatar whose frame recipe is `key`, with an idle clip of `duration` seconds. */
55
+ export declare function vectorLoop<Frame extends {
56
+ drawing: VectorFrame;
57
+ }>(key: string, duration: number): VectorLoop<Frame>;
58
+ /**
59
+ * A name for a loop's content that is the same on every start of the app, for a store that keeps
60
+ * loops across starts (the native avatar surface). It is a hash of what the loop is drawn from: the
61
+ * character (`recipe`), its idle clip's tracks, and its first frame as drawn, which carries the
62
+ * geometry, the paint and what the renderer makes of them. Remembered on the loop.
63
+ */
64
+ export declare function vectorLoopKey(loop: VectorLoop<{
65
+ drawing: VectorFrame;
66
+ }>, recipe: string, clip: unknown, first: () => VectorFrame): string;
67
+ /**
68
+ * Lets go of a loop's frames once something else plays it (the native surface): the JS thread
69
+ * draws none of them again, and if it ever must, it draws them again.
70
+ */
71
+ export declare function releaseVectorLoop(loop: VectorLoop<{
72
+ drawing: VectorFrame;
73
+ }>): void;
74
+ /** The grid frame a clock of `time` seconds is in. */
75
+ export declare function vectorLoopIndex(loop: VectorLoop<{
76
+ drawing: VectorFrame;
77
+ }>, time: number): number;
78
+ /** The clip time grid frame `index` is drawn at. */
79
+ export declare function vectorLoopTime(loop: VectorLoop<{
80
+ drawing: VectorFrame;
81
+ }>, index: number): number;
82
+ /** Grid frame `index`: drawn by `draw` the first time it is asked for, remembered after that. */
83
+ export declare function vectorLoopFrame<Frame extends {
84
+ drawing: VectorFrame;
85
+ }>(loop: VectorLoop<Frame>, index: number, draw: () => Frame): Frame;
86
+ /**
87
+ * The tracks of a complete loop, or `null` while frames are missing or when its frames do not
88
+ * draw the same paths with the same paint (then it is replayed frame by frame instead).
89
+ */
90
+ export declare function vectorLoopTracks(loop: VectorLoop<{
91
+ drawing: VectorFrame;
92
+ }>): VectorLoopTracks | null;
93
+ //# sourceMappingURL=vector-loop.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vector-loop.d.ts","sourceRoot":"","sources":["../../../../src/agent-avatar/vector-loop.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAgB,CAAC;AAElD;;;;;;;;;GASG;AACH,eAAO,MAAM,eAAe,KAAK,CAAC;AAClC,mGAAmG;AACnG,eAAO,MAAM,4BAA4B,WAAa,CAAC;AAEvD,MAAM,MAAM,UAAU,CAAC,KAAK,SAAS;IAAE,OAAO,EAAE,WAAW,CAAA;CAAE,IAAI;IAC/D,wDAAwD;IACxD,QAAQ,EAAE,MAAM,CAAC;IACjB,0EAA0E;IAC1E,MAAM,EAAE,CAAC,KAAK,GAAG,SAAS,CAAC,EAAE,CAAC;IAC9B,iCAAiC;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,kDAAkD;IAClD,UAAU,EAAE,MAAM,CAAC;IACnB,+FAA+F;IAC/F,MAAM,CAAC,EAAE,gBAAgB,GAAG,IAAI,CAAC;IACjC,yFAAyF;IACzF,GAAG,CAAC,EAAE,MAAM,CAAC;CACd,CAAC;AAEF;;;;;GAKG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,8BAA8B;IAC9B,QAAQ,EAAE,MAAM,CAAC;IACjB,6DAA6D;IAC7D,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE;QACL,EAAE,EAAE,MAAM,CAAC;QACX,IAAI,EAAE,MAAM,CAAC;QACb,WAAW,EAAE,MAAM,CAAC;QACpB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,CAAC,EAAE,MAAM,EAAE,CAAC;QACZ,OAAO,EAAE,MAAM,EAAE,CAAC;QAClB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;KACjB,EAAE,CAAC;CACL,CAAC;AAKF,mGAAmG;AACnG,wBAAgB,UAAU,CAAC,KAAK,SAAS;IAAE,OAAO,EAAE,WAAW,CAAA;CAAE,EAC/D,GAAG,EAAE,MAAM,EACX,QAAQ,EAAE,MAAM,GACf,UAAU,CAAC,KAAK,CAAC,CAgBnB;AAED;;;;;GAKG;AACH,wBAAgB,aAAa,CAC3B,IAAI,EAAE,UAAU,CAAC;IAAE,OAAO,EAAE,WAAW,CAAA;CAAE,CAAC,EAC1C,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,OAAO,EACb,KAAK,EAAE,MAAM,WAAW,GACvB,MAAM,CAKR;AAgBD;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,UAAU,CAAC;IAAE,OAAO,EAAE,WAAW,CAAA;CAAE,CAAC,QAM3E;AAED,sDAAsD;AACtD,wBAAgB,eAAe,CAAC,IAAI,EAAE,UAAU,CAAC;IAAE,OAAO,EAAE,WAAW,CAAA;CAAE,CAAC,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,CAIhG;AAED,oDAAoD;AACpD,wBAAgB,cAAc,CAAC,IAAI,EAAE,UAAU,CAAC;IAAE,OAAO,EAAE,WAAW,CAAA;CAAE,CAAC,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAEhG;AAED,iGAAiG;AACjG,wBAAgB,eAAe,CAAC,KAAK,SAAS;IAAE,OAAO,EAAE,WAAW,CAAA;CAAE,EACpE,IAAI,EAAE,UAAU,CAAC,KAAK,CAAC,EACvB,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,MAAM,KAAK,GAChB,KAAK,CAmBP;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAC9B,IAAI,EAAE,UAAU,CAAC;IAAE,OAAO,EAAE,WAAW,CAAA;CAAE,CAAC,GACzC,gBAAgB,GAAG,IAAI,CA2CzB"}
@@ -9,5 +9,7 @@ export type OcclusionPart = {
9
9
  opaque?: boolean;
10
10
  group?: string;
11
11
  };
12
+ /** A clip that hides nothing: the frame and a margin round it. Every mask starts from it. */
13
+ export declare const VECTOR_UNCLIPPED = "M-2 -2H322V322H-2Z";
12
14
  export declare function projectedVisibilityPaths(parts: OcclusionPart[]): Map<number, string | null>;
13
15
  //# sourceMappingURL=vector-visibility.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"vector-visibility.d.ts","sourceRoot":"","sources":["../../../../src/agent-avatar/vector-visibility.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,MAAM,aAAa,GAAG;IAC1B,CAAC,EAAE,MAAM,CAAC;IACV,MAAM,EAAE,MAAM,EAAE,EAAE,CAAC;IACnB,KAAK,EAAE,MAAM,EAAE,EAAE,CAAC;IAClB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AA+MF,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,aAAa,EAAE,GAAG,GAAG,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC,CAyI3F"}
1
+ {"version":3,"file":"vector-visibility.d.ts","sourceRoot":"","sources":["../../../../src/agent-avatar/vector-visibility.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,MAAM,aAAa,GAAG;IAC1B,CAAC,EAAE,MAAM,CAAC;IACV,MAAM,EAAE,MAAM,EAAE,EAAE,CAAC;IACnB,KAAK,EAAE,MAAM,EAAE,EAAE,CAAC;IAClB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AACF,6FAA6F;AAC7F,eAAO,MAAM,gBAAgB,uBAAuB,CAAC;AA+MrD,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,aAAa,EAAE,GAAG,GAAG,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC,CAyI3F"}
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import type React from 'react';
2
2
  import type { BlurIslandProps } from './types.js';
3
3
  export declare const BlurIsland: React.NamedExoticComponent<BlurIslandProps>;
4
4
  //# sourceMappingURL=BlurIsland.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"BlurIsland.d.ts","sourceRoot":"","sources":["../../../../src/blur/BlurIsland.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAe,MAAM,OAAO,CAAC;AAapC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAS,CAAC;AA+G/C,eAAO,MAAM,UAAU,6CAA4B,CAAC"}
1
+ {"version":3,"file":"BlurIsland.d.ts","sourceRoot":"","sources":["../../../../src/blur/BlurIsland.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAa/B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAS,CAAC;AAiH/C,eAAO,MAAM,UAAU,6CAA4B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/button/Button.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AA2DhC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAS,CAAC;AAsD3C,YAAY,EACV,WAAW,EACX,UAAU,EACV,gBAAgB,EAChB,gBAAgB,EAChB,mBAAmB,GACpB,MAAM,YAAS,CAAC;AACjB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAAuB,CAAC;AA+xB9D,eAAO,MAAM,MAAM,EAAE,gBAAgB,CAAC,WAAW,CAAC,GAAG;IAAE,KAAK,EAAE,OAAO,KAAK,CAAA;CAGzE,CAAC"}
1
+ {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/button/Button.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAqDhC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAS,CAAC;AAsD3C,YAAY,EACV,WAAW,EACX,UAAU,EACV,gBAAgB,EAChB,gBAAgB,EAChB,mBAAmB,GACpB,MAAM,YAAS,CAAC;AACjB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAAuB,CAAC;AAoxB9D,eAAO,MAAM,MAAM,EAAE,gBAAgB,CAAC,WAAW,CAAC,GAAG;IAAE,KAAK,EAAE,OAAO,KAAK,CAAA;CAGzE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"GroupBase.d.ts","sourceRoot":"","sources":["../../../../src/button/GroupBase.tsx"],"names":[],"mappings":"AACA,OAAO,EAQL,KAAK,aAAa,EAEnB,MAAM,OAAO,CAAC;AA8Bf,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAkB,CAAC;AACrD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAS,CAAC;AAuChD;;;;;;;GAOG;AAEH,+EAA+E;AAC/E,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,aAAa,CAAC,YAAY,CAAC,sJAYjE,gBAAgB,kCAoNpB"}
1
+ {"version":3,"file":"GroupBase.d.ts","sourceRoot":"","sources":["../../../../src/button/GroupBase.tsx"],"names":[],"mappings":"AACA,OAAO,EAQL,KAAK,aAAa,EAEnB,MAAM,OAAO,CAAC;AA0Bf,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAkB,CAAC;AACrD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAS,CAAC;AAuChD;;;;;;;GAOG;AAEH,+EAA+E;AAC/E,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,aAAa,CAAC,YAAY,CAAC,sJAYjE,gBAAgB,kCA0MpB"}
@@ -0,0 +1,52 @@
1
+ /**
2
+ * The one material decision for every Bloom control the lens can draw (a Button, a Button.Group, a
3
+ * Surface, a BlurIsland, the tab bar). Where the device has the native lens (Android
4
+ * 33+ with `@oxy.so/bloom-lens`), the control asks for it and it is not inside a lens base or a
5
+ * separate window (a Dialog, a BottomSheet), the lens base draws the material (the fill, tinted,
6
+ * its shadow and light), springs under the finger and runs on the UI thread; the control only draws
7
+ * its content and handles the press. Everywhere else (the web, iOS, Android without the lens or
8
+ * below API 33, a Modal's window) the control paints Bloom's own material (`SurfacePaint`).
9
+ *
10
+ * const frame = useLensFrame(material === 'lens', style);
11
+ * // The control takes `frame.style`, and paints `SurfacePaint` only when `frame.lens` is false.
12
+ * return withLens(frame, control, { radius });
13
+ *
14
+ * The control gives its paint and its lens the same fill and radius, so the two never diverge. In
15
+ * the page's content the lens is drawn in its place, against the surface the control sits on; in a
16
+ * floating region (or for a control that floats by itself) the window draws it.
17
+ */
18
+ import type { ReactElement } from 'react';
19
+ import { type StyleProp, type ViewStyle } from 'react-native';
20
+ /** Whether the lens draws a control, and the control's style for it. */
21
+ export interface LensFrame {
22
+ /** The native lens draws the material: the control paints none of its own. */
23
+ lens: boolean;
24
+ /** The control's own style: on the lens, without the placement the lens host takes. */
25
+ style: StyleProp<ViewStyle>;
26
+ /** Where the control sits, on the lens host; `undefined` off the lens. */
27
+ host: ViewStyle | undefined;
28
+ }
29
+ /**
30
+ * Whether the native lens draws this control (`wanted`: the control's material is the lens), and
31
+ * its style split for it: the lens host takes the placement, the control keeps its look and size.
32
+ */
33
+ export declare function useLensFrame(wanted: boolean, style: StyleProp<ViewStyle>): LensFrame;
34
+ /** How the lens draws a control: the same fill and radius the control paints off the lens. */
35
+ export interface LensLook {
36
+ /** `#rrggbb` or `rgb(...)`, a solid control's fill; omitted, the lens stays neutral. */
37
+ tint?: string;
38
+ /** The corner radius in dp; omitted, the shape is a capsule. */
39
+ radius?: number;
40
+ /** How far the press and the drag deform the lens, a multiplier of the engine's own (1). */
41
+ jelly?: number;
42
+ /**
43
+ * The control floats by itself (the tab bar, an island over a map): the window draws its lens over
44
+ * what moves behind, wherever it is. Any other control is drawn by the window only in a floating
45
+ * region (a floating header, a toolbar, a bar, a FAB); in the page's content its lens is drawn in
46
+ * its place, against the surface it sits on, so it scrolls and stacks with the page.
47
+ */
48
+ floating?: boolean;
49
+ }
50
+ /** On the lens, the control inside its lens host; off it, the control as it is. */
51
+ export declare function withLens(frame: LensFrame, control: ReactElement, look: LensLook): ReactElement;
52
+ //# sourceMappingURL=lens-frame.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lens-frame.d.ts","sourceRoot":"","sources":["../../../../../src/floating/lens/lens-frame.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AACH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,EAAc,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAyF1E,wEAAwE;AACxE,MAAM,WAAW,SAAS;IACxB,8EAA8E;IAC9E,IAAI,EAAE,OAAO,CAAC;IACd,uFAAuF;IACvF,KAAK,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC5B,0EAA0E;IAC1E,IAAI,EAAE,SAAS,GAAG,SAAS,CAAC;CAC7B;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,SAAS,CAAC,SAAS,CAAC,GAAG,SAAS,CAKpF;AAED,8FAA8F;AAC9F,MAAM,WAAW,QAAQ;IACvB,wFAAwF;IACxF,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,gEAAgE;IAChE,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,4FAA4F;IAC5F,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,mFAAmF;AACnF,wBAAgB,QAAQ,CAAC,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,YAAY,EAAE,IAAI,EAAE,QAAQ,GAAG,YAAY,CAO9F"}
@@ -16,7 +16,7 @@ export declare function useFloatingControl(material: string | undefined): boolea
16
16
  /**
17
17
  * Whether the region is a floating one (a floating header, a toolbar, a bar, a FAB): a fixed layer the
18
18
  * window draws the lens of. Outside one a control on the lens is in the page's content, and its lens is
19
- * drawn in its own place (`LensButtonHost restBackdrop`), so it scrolls and stacks with the page instead of
19
+ * drawn in its own place (`withLens`, `lens-frame.tsx`), so it scrolls and stacks with the page instead of
20
20
  * being drawn above it by the window.
21
21
  */
22
22
  export declare function useInFloatingRegion(): boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"PageHeader.d.ts","sourceRoot":"","sources":["../../../../src/page-header/PageHeader.tsx"],"names":[],"mappings":"AA+DA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAS,CAAC;AA2G/C,iBAAS,mBAAmB,CAAC,EAC3B,KAAK,EACL,YAAY,EACZ,QAAQ,EACR,QAAQ,EACR,WAAW,EACX,WAAsB,EACtB,eAAyB,EACzB,YAAY,EACZ,uBAAuB,EACvB,UAAoB,EACpB,YAAgB,EAChB,WAAW,EAAE,oBAA6B,EAC1C,iBAAiB,EACjB,mBAAmB,EACnB,IAAgB,EAChB,YAAyB,EACzB,SAAoB,EACpB,OAAmB,EACnB,MAAM,EAAE,YAAY,EACpB,SAAS,EAAE,aAAa,EACxB,SAAS,EACT,OAAO,EACP,OAAO,EAAE,aAAa,EACtB,MAAM,EACN,aAAa,EACb,SAAS,EACT,MAAe,EACf,WAAmB,EACnB,KAAc,EACd,YAAuB,EACvB,UAAU,EACV,OAAO,EAAE,eAAe,EACxB,eAAmC,EACnC,MAAa,EACb,QAAQ,EACR,KAAK,EACL,MAAM,GACP,EAAE,eAAe,+BA4gCjB;AAqED,eAAO,MAAM,UAAU,iEAA4B,CAAC"}
1
+ {"version":3,"file":"PageHeader.d.ts","sourceRoot":"","sources":["../../../../src/page-header/PageHeader.tsx"],"names":[],"mappings":"AA+DA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAS,CAAC;AA6G/C,iBAAS,mBAAmB,CAAC,EAC3B,KAAK,EACL,YAAY,EACZ,QAAQ,EACR,QAAQ,EACR,WAAW,EACX,WAAsB,EACtB,eAAyB,EACzB,YAAY,EACZ,uBAAuB,EACvB,UAAoB,EACpB,YAAgB,EAChB,WAAW,EAAE,oBAA6B,EAC1C,iBAAiB,EACjB,mBAAmB,EACnB,IAAgB,EAChB,YAAyB,EACzB,SAAoB,EACpB,OAAmB,EACnB,MAAM,EAAE,YAAY,EACpB,SAAS,EAAE,aAAa,EACxB,SAAS,EACT,OAAO,EACP,OAAO,EAAE,aAAa,EACtB,MAAM,EACN,aAAa,EACb,SAAS,EACT,MAAe,EACf,WAAmB,EACnB,KAAc,EACd,YAAuB,EACvB,UAAU,EACV,OAAO,EAAE,eAAe,EACxB,eAAmC,EACnC,MAAa,EACb,QAAQ,EACR,KAAK,EACL,MAAM,GACP,EAAE,eAAe,+BAuhCjB;AAqED,eAAO,MAAM,UAAU,iEAA4B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"StackScene.d.ts","sourceRoot":"","sources":["../../../../../src/panel-routing/expo-router/StackScene.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA6B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAOlE,mEAAmE;AACnE,UAAU,eAAe;IACvB,QAAQ,IAAI;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,SAAS;YAAE,GAAG,EAAE,MAAM,CAAA;SAAE,EAAE,CAAA;KAAE,CAAC;IAClE,WAAW,CACT,IAAI,EAAE,eAAe,EACrB,QAAQ,EAAE,CAAC,KAAK,EAAE;QAAE,IAAI,CAAC,EAAE;YAAE,OAAO,CAAC,EAAE,OAAO,CAAA;SAAE,CAAA;KAAE,KAAK,IAAI,GAC1D,MAAM,IAAI,CAAC;CACf;AAED,MAAM,WAAW,eAAe;IAC9B,QAAQ,EAAE,SAAS,CAAC;IACpB,yFAAyF;IACzF,UAAU,CAAC,EAAE,eAAe,CAAC;IAC7B,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,UAAU,CAAC,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,EAAE,eAAe,+BAe7E;AA4BD,wBAAgB,gBAAgB,CAAC,EAC/B,QAAQ,EACR,UAAU,EACV,KAAK,GACN,EAAE;IACD,QAAQ,EAAE,SAAS,CAAC;IACpB,UAAU,CAAC,EAAE,eAAe,CAAC;IAC7B,KAAK,CAAC,EAAE;QAAE,GAAG,EAAE,MAAM,CAAA;KAAE,CAAC;CACzB,+BAMA"}
1
+ {"version":3,"file":"StackScene.d.ts","sourceRoot":"","sources":["../../../../../src/panel-routing/expo-router/StackScene.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA6B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAOlE,mEAAmE;AACnE,UAAU,eAAe;IACvB,QAAQ,IAAI;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,SAAS;YAAE,GAAG,EAAE,MAAM,CAAA;SAAE,EAAE,CAAA;KAAE,CAAC;IAClE,WAAW,CACT,IAAI,EAAE,eAAe,EACrB,QAAQ,EAAE,CAAC,KAAK,EAAE;QAAE,IAAI,CAAC,EAAE;YAAE,OAAO,CAAC,EAAE,OAAO,CAAA;SAAE,CAAA;KAAE,KAAK,IAAI,GAC1D,MAAM,IAAI,CAAC;CACf;AAED,MAAM,WAAW,eAAe;IAC9B,QAAQ,EAAE,SAAS,CAAC;IACpB,yFAAyF;IACzF,UAAU,CAAC,EAAE,eAAe,CAAC;IAC7B,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,UAAU,CAAC,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,EAAE,eAAe,+BAwB7E;AA4BD,wBAAgB,gBAAgB,CAAC,EAC/B,QAAQ,EACR,UAAU,EACV,KAAK,GACN,EAAE;IACD,QAAQ,EAAE,SAAS,CAAC;IACpB,UAAU,CAAC,EAAE,eAAe,CAAC;IAC7B,KAAK,CAAC,EAAE;QAAE,GAAG,EAAE,MAAM,CAAA;KAAE,CAAC;CACzB,+BAMA"}
@@ -1 +1 @@
1
- {"version":3,"file":"Surface.d.ts","sourceRoot":"","sources":["../../../../src/surface/Surface.tsx"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAS,CAAC;AAC5C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAAuB,CAAC;AA8G9D,eAAO,MAAM,OAAO,EAAE,gBAAgB,CAAC,YAAY,CAA0B,CAAC"}
1
+ {"version":3,"file":"Surface.d.ts","sourceRoot":"","sources":["../../../../src/surface/Surface.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAS,CAAC;AAC5C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAAuB,CAAC;AAiG9D,eAAO,MAAM,OAAO,EAAE,gBAAgB,CAAC,YAAY,CAA0B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"TabBarBase.d.ts","sourceRoot":"","sources":["../../../../src/tab-bar/TabBarBase.tsx"],"names":[],"mappings":"AAcA;;;;;;;;;;;;GAYG;AACH,OAAO,EAWL,KAAK,aAAa,EACnB,MAAM,OAAO,CAAC;AA8Bf,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8BAA2B,CAAC;AAItE,OAAO,EAkBL,KAAK,gBAAgB,EACtB,MAAM,aAAU,CAAC;AAClB,OAAO,KAAK,EAAE,iBAAiB,EAAE,WAAW,EAAe,MAAM,YAAS,CAAC;AAk+B3E;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,aAAa,CAAC,oBAAoB,CAAC;YAC7C,WAAW;;EAGnC;AAED,+EAA+E;AAC/E,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,aAAa,CAAC,gBAAgB,CAAC;YAC1C,iBAAiB;;EAG/C"}
1
+ {"version":3,"file":"TabBarBase.d.ts","sourceRoot":"","sources":["../../../../src/tab-bar/TabBarBase.tsx"],"names":[],"mappings":"AAaA;;;;;;;;;;;;GAYG;AACH,OAAO,EAWL,KAAK,aAAa,EACnB,MAAM,OAAO,CAAC;AA8Bf,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8BAA2B,CAAC;AAItE,OAAO,EAkBL,KAAK,gBAAgB,EACtB,MAAM,aAAU,CAAC;AAClB,OAAO,KAAK,EAAE,iBAAiB,EAAE,WAAW,EAAe,MAAM,YAAS,CAAC;AAu+B3E;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,aAAa,CAAC,oBAAoB,CAAC;YAC7C,WAAW;;EAGnC;AAED,+EAA+E;AAC/E,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,aAAa,CAAC,gBAAgB,CAAC;YAC1C,iBAAiB;;EAG/C"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oxy.so/bloom",
3
- "version": "23.8.0",
3
+ "version": "23.8.1",
4
4
  "packageManager": "bun@1.4.3",
5
5
  "description": "Bloom UI — Oxy ecosystem component library for React Native + Expo + Web",
6
6
  "main": "lib/commonjs/index.js",