@buoy-gg/shared-ui 7.0.25 → 7.0.27

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 (209) hide show
  1. package/lib/commonjs/JsModal.js +156 -20
  2. package/lib/commonjs/JsModal.web.js +85 -39
  3. package/lib/commonjs/dataViewer/VirtualizedDataExplorer.js +14 -4
  4. package/lib/commonjs/dataViewer/diffThemes.js +20 -18
  5. package/lib/commonjs/dataViewer/tree/TreeDiffViewer.js +8 -8
  6. package/lib/commonjs/hooks/safe-area-impl.js +1 -1
  7. package/lib/commonjs/icons/lucide-icons.js +74 -15
  8. package/lib/commonjs/index.js +86 -0
  9. package/lib/commonjs/ui/backgrounds/BackgroundSwitcher.js +248 -74
  10. package/lib/commonjs/ui/backgrounds/README.md +102 -20
  11. package/lib/commonjs/ui/backgrounds/backgroundStore.js +20 -6
  12. package/lib/commonjs/ui/backgrounds/index.js +91 -1
  13. package/lib/commonjs/ui/backgrounds/primitives.js +50 -14
  14. package/lib/commonjs/ui/backgrounds/registry.js +41 -64
  15. package/lib/commonjs/ui/backgrounds/rng.js +21 -0
  16. package/lib/commonjs/ui/backgrounds/skyClock.js +45 -0
  17. package/lib/commonjs/ui/backgrounds/variants/daylight.js +453 -0
  18. package/lib/commonjs/ui/backgrounds/variants/deepField.js +60 -30
  19. package/lib/commonjs/ui/backgrounds/variants/hyperspace.js +218 -0
  20. package/lib/commonjs/ui/backgrounds/variants/liveSky.js +898 -0
  21. package/lib/commonjs/ui/backgrounds/variants/meteors.js +257 -0
  22. package/lib/commonjs/ui/backgrounds/variants/moonlight.js +472 -0
  23. package/lib/commonjs/ui/backgrounds/variants/underwater.js +757 -0
  24. package/lib/commonjs/ui/components/Badge.js +11 -10
  25. package/lib/commonjs/ui/components/CompactRow.js +30 -17
  26. package/lib/commonjs/ui/components/DevToolsCard.js +12 -8
  27. package/lib/commonjs/ui/components/DynamicFilterView.js +43 -41
  28. package/lib/commonjs/ui/components/EventStepperFooter.js +38 -10
  29. package/lib/commonjs/ui/components/FilterComponents.js +11 -11
  30. package/lib/commonjs/ui/components/ModalHeader.js +13 -13
  31. package/lib/commonjs/ui/components/SectionHeader.js +3 -1
  32. package/lib/commonjs/ui/components/StorageTypeBadge.js +3 -2
  33. package/lib/commonjs/ui/components/TabSelector.js +56 -38
  34. package/lib/commonjs/ui/components/ValueTypeBadge.js +7 -6
  35. package/lib/commonjs/ui/components/WindowControls.js +37 -10
  36. package/lib/commonjs/ui/gameUI/constants/gameUIColors.js +8 -0
  37. package/lib/commonjs/ui/night/nightTheme.js +120 -0
  38. package/lib/commonjs/ui/night/primitives.js +498 -0
  39. package/lib/module/JsModal.js +156 -20
  40. package/lib/module/JsModal.web.js +83 -39
  41. package/lib/module/dataViewer/VirtualizedDataExplorer.js +14 -4
  42. package/lib/module/dataViewer/diffThemes.js +20 -18
  43. package/lib/module/dataViewer/tree/TreeDiffViewer.js +9 -9
  44. package/lib/module/hooks/safe-area-impl.js +1 -1
  45. package/lib/module/icons/lucide-icons.js +74 -15
  46. package/lib/module/index.js +4 -0
  47. package/lib/module/ui/backgrounds/BackgroundSwitcher.js +250 -76
  48. package/lib/module/ui/backgrounds/README.md +102 -20
  49. package/lib/module/ui/backgrounds/backgroundStore.js +19 -5
  50. package/lib/module/ui/backgrounds/index.js +11 -2
  51. package/lib/module/ui/backgrounds/primitives.js +53 -16
  52. package/lib/module/ui/backgrounds/registry.js +41 -64
  53. package/lib/module/ui/backgrounds/rng.js +20 -0
  54. package/lib/module/ui/backgrounds/skyClock.js +39 -0
  55. package/lib/module/ui/backgrounds/variants/daylight.js +449 -0
  56. package/lib/module/ui/backgrounds/variants/deepField.js +62 -31
  57. package/lib/module/ui/backgrounds/variants/hyperspace.js +214 -0
  58. package/lib/module/ui/backgrounds/variants/liveSky.js +893 -0
  59. package/lib/module/ui/backgrounds/variants/meteors.js +253 -0
  60. package/lib/module/ui/backgrounds/variants/moonlight.js +468 -0
  61. package/lib/module/ui/backgrounds/variants/underwater.js +753 -0
  62. package/lib/module/ui/components/Badge.js +11 -10
  63. package/lib/module/ui/components/CompactRow.js +30 -17
  64. package/lib/module/ui/components/DevToolsCard.js +12 -8
  65. package/lib/module/ui/components/DynamicFilterView.js +43 -41
  66. package/lib/module/ui/components/EventStepperFooter.js +38 -10
  67. package/lib/module/ui/components/FilterComponents.js +11 -11
  68. package/lib/module/ui/components/ModalHeader.js +13 -13
  69. package/lib/module/ui/components/SectionHeader.js +3 -1
  70. package/lib/module/ui/components/StorageTypeBadge.js +3 -2
  71. package/lib/module/ui/components/TabSelector.js +57 -39
  72. package/lib/module/ui/components/ValueTypeBadge.js +7 -6
  73. package/lib/module/ui/components/WindowControls.js +37 -10
  74. package/lib/module/ui/gameUI/constants/gameUIColors.js +8 -0
  75. package/lib/module/ui/night/nightTheme.js +116 -0
  76. package/lib/module/ui/night/primitives.js +485 -0
  77. package/lib/typescript/commonjs/JsModal.d.ts +18 -0
  78. package/lib/typescript/commonjs/JsModal.d.ts.map +1 -1
  79. package/lib/typescript/commonjs/JsModal.web.d.ts +13 -0
  80. package/lib/typescript/commonjs/JsModal.web.d.ts.map +1 -1
  81. package/lib/typescript/commonjs/dataViewer/VirtualizedDataExplorer.d.ts.map +1 -1
  82. package/lib/typescript/commonjs/dataViewer/diffThemes.d.ts +3 -1
  83. package/lib/typescript/commonjs/dataViewer/diffThemes.d.ts.map +1 -1
  84. package/lib/typescript/commonjs/dataViewer/tree/TreeDiffViewer.d.ts.map +1 -1
  85. package/lib/typescript/commonjs/hooks/safe-area-impl.d.ts +1 -1
  86. package/lib/typescript/commonjs/icons/lucide-icons.d.ts +12 -1
  87. package/lib/typescript/commonjs/icons/lucide-icons.d.ts.map +1 -1
  88. package/lib/typescript/commonjs/index.d.ts +3 -0
  89. package/lib/typescript/commonjs/index.d.ts.map +1 -1
  90. package/lib/typescript/commonjs/ui/backgrounds/BackgroundSwitcher.d.ts +26 -6
  91. package/lib/typescript/commonjs/ui/backgrounds/BackgroundSwitcher.d.ts.map +1 -1
  92. package/lib/typescript/commonjs/ui/backgrounds/backgroundStore.d.ts +3 -0
  93. package/lib/typescript/commonjs/ui/backgrounds/backgroundStore.d.ts.map +1 -1
  94. package/lib/typescript/commonjs/ui/backgrounds/index.d.ts +7 -1
  95. package/lib/typescript/commonjs/ui/backgrounds/index.d.ts.map +1 -1
  96. package/lib/typescript/commonjs/ui/backgrounds/primitives.d.ts +18 -3
  97. package/lib/typescript/commonjs/ui/backgrounds/primitives.d.ts.map +1 -1
  98. package/lib/typescript/commonjs/ui/backgrounds/registry.d.ts +8 -0
  99. package/lib/typescript/commonjs/ui/backgrounds/registry.d.ts.map +1 -1
  100. package/lib/typescript/commonjs/ui/backgrounds/rng.d.ts +6 -0
  101. package/lib/typescript/commonjs/ui/backgrounds/rng.d.ts.map +1 -1
  102. package/lib/typescript/commonjs/ui/backgrounds/skyClock.d.ts +17 -0
  103. package/lib/typescript/commonjs/ui/backgrounds/skyClock.d.ts.map +1 -0
  104. package/lib/typescript/commonjs/ui/backgrounds/types.d.ts +1 -1
  105. package/lib/typescript/commonjs/ui/backgrounds/types.d.ts.map +1 -1
  106. package/lib/typescript/commonjs/ui/backgrounds/variants/daylight.d.ts +30 -0
  107. package/lib/typescript/commonjs/ui/backgrounds/variants/daylight.d.ts.map +1 -0
  108. package/lib/typescript/commonjs/ui/backgrounds/variants/deepField.d.ts +19 -4
  109. package/lib/typescript/commonjs/ui/backgrounds/variants/deepField.d.ts.map +1 -1
  110. package/lib/typescript/commonjs/ui/backgrounds/variants/hyperspace.d.ts +39 -0
  111. package/lib/typescript/commonjs/ui/backgrounds/variants/hyperspace.d.ts.map +1 -0
  112. package/lib/typescript/commonjs/ui/backgrounds/variants/liveSky.d.ts +41 -0
  113. package/lib/typescript/commonjs/ui/backgrounds/variants/liveSky.d.ts.map +1 -0
  114. package/lib/typescript/commonjs/ui/backgrounds/variants/meteors.d.ts +26 -0
  115. package/lib/typescript/commonjs/ui/backgrounds/variants/meteors.d.ts.map +1 -0
  116. package/lib/typescript/commonjs/ui/backgrounds/variants/moonlight.d.ts +35 -0
  117. package/lib/typescript/commonjs/ui/backgrounds/variants/moonlight.d.ts.map +1 -0
  118. package/lib/typescript/commonjs/ui/backgrounds/variants/underwater.d.ts +51 -0
  119. package/lib/typescript/commonjs/ui/backgrounds/variants/underwater.d.ts.map +1 -0
  120. package/lib/typescript/commonjs/ui/components/Badge.d.ts.map +1 -1
  121. package/lib/typescript/commonjs/ui/components/CompactRow.d.ts.map +1 -1
  122. package/lib/typescript/commonjs/ui/components/DynamicFilterView.d.ts.map +1 -1
  123. package/lib/typescript/commonjs/ui/components/EventStepperFooter.d.ts +2 -0
  124. package/lib/typescript/commonjs/ui/components/EventStepperFooter.d.ts.map +1 -1
  125. package/lib/typescript/commonjs/ui/components/StorageTypeBadge.d.ts.map +1 -1
  126. package/lib/typescript/commonjs/ui/components/TabSelector.d.ts +9 -0
  127. package/lib/typescript/commonjs/ui/components/TabSelector.d.ts.map +1 -1
  128. package/lib/typescript/commonjs/ui/components/ValueTypeBadge.d.ts.map +1 -1
  129. package/lib/typescript/commonjs/ui/components/WindowControls.d.ts +4 -2
  130. package/lib/typescript/commonjs/ui/components/WindowControls.d.ts.map +1 -1
  131. package/lib/typescript/commonjs/ui/gameUI/constants/gameUIColors.d.ts +8 -0
  132. package/lib/typescript/commonjs/ui/gameUI/constants/gameUIColors.d.ts.map +1 -1
  133. package/lib/typescript/commonjs/ui/night/nightTheme.d.ts +113 -0
  134. package/lib/typescript/commonjs/ui/night/nightTheme.d.ts.map +1 -0
  135. package/lib/typescript/commonjs/ui/night/primitives.d.ts +111 -0
  136. package/lib/typescript/commonjs/ui/night/primitives.d.ts.map +1 -0
  137. package/lib/typescript/module/JsModal.d.ts +18 -0
  138. package/lib/typescript/module/JsModal.d.ts.map +1 -1
  139. package/lib/typescript/module/JsModal.web.d.ts +13 -0
  140. package/lib/typescript/module/JsModal.web.d.ts.map +1 -1
  141. package/lib/typescript/module/dataViewer/VirtualizedDataExplorer.d.ts.map +1 -1
  142. package/lib/typescript/module/dataViewer/diffThemes.d.ts +3 -1
  143. package/lib/typescript/module/dataViewer/diffThemes.d.ts.map +1 -1
  144. package/lib/typescript/module/dataViewer/tree/TreeDiffViewer.d.ts.map +1 -1
  145. package/lib/typescript/module/hooks/safe-area-impl.d.ts +1 -1
  146. package/lib/typescript/module/icons/lucide-icons.d.ts +12 -1
  147. package/lib/typescript/module/icons/lucide-icons.d.ts.map +1 -1
  148. package/lib/typescript/module/index.d.ts +3 -0
  149. package/lib/typescript/module/index.d.ts.map +1 -1
  150. package/lib/typescript/module/ui/backgrounds/BackgroundSwitcher.d.ts +26 -6
  151. package/lib/typescript/module/ui/backgrounds/BackgroundSwitcher.d.ts.map +1 -1
  152. package/lib/typescript/module/ui/backgrounds/backgroundStore.d.ts +3 -0
  153. package/lib/typescript/module/ui/backgrounds/backgroundStore.d.ts.map +1 -1
  154. package/lib/typescript/module/ui/backgrounds/index.d.ts +7 -1
  155. package/lib/typescript/module/ui/backgrounds/index.d.ts.map +1 -1
  156. package/lib/typescript/module/ui/backgrounds/primitives.d.ts +18 -3
  157. package/lib/typescript/module/ui/backgrounds/primitives.d.ts.map +1 -1
  158. package/lib/typescript/module/ui/backgrounds/registry.d.ts +8 -0
  159. package/lib/typescript/module/ui/backgrounds/registry.d.ts.map +1 -1
  160. package/lib/typescript/module/ui/backgrounds/rng.d.ts +6 -0
  161. package/lib/typescript/module/ui/backgrounds/rng.d.ts.map +1 -1
  162. package/lib/typescript/module/ui/backgrounds/skyClock.d.ts +17 -0
  163. package/lib/typescript/module/ui/backgrounds/skyClock.d.ts.map +1 -0
  164. package/lib/typescript/module/ui/backgrounds/types.d.ts +1 -1
  165. package/lib/typescript/module/ui/backgrounds/types.d.ts.map +1 -1
  166. package/lib/typescript/module/ui/backgrounds/variants/daylight.d.ts +30 -0
  167. package/lib/typescript/module/ui/backgrounds/variants/daylight.d.ts.map +1 -0
  168. package/lib/typescript/module/ui/backgrounds/variants/deepField.d.ts +19 -4
  169. package/lib/typescript/module/ui/backgrounds/variants/deepField.d.ts.map +1 -1
  170. package/lib/typescript/module/ui/backgrounds/variants/hyperspace.d.ts +39 -0
  171. package/lib/typescript/module/ui/backgrounds/variants/hyperspace.d.ts.map +1 -0
  172. package/lib/typescript/module/ui/backgrounds/variants/liveSky.d.ts +41 -0
  173. package/lib/typescript/module/ui/backgrounds/variants/liveSky.d.ts.map +1 -0
  174. package/lib/typescript/module/ui/backgrounds/variants/meteors.d.ts +26 -0
  175. package/lib/typescript/module/ui/backgrounds/variants/meteors.d.ts.map +1 -0
  176. package/lib/typescript/module/ui/backgrounds/variants/moonlight.d.ts +35 -0
  177. package/lib/typescript/module/ui/backgrounds/variants/moonlight.d.ts.map +1 -0
  178. package/lib/typescript/module/ui/backgrounds/variants/underwater.d.ts +51 -0
  179. package/lib/typescript/module/ui/backgrounds/variants/underwater.d.ts.map +1 -0
  180. package/lib/typescript/module/ui/components/Badge.d.ts.map +1 -1
  181. package/lib/typescript/module/ui/components/CompactRow.d.ts.map +1 -1
  182. package/lib/typescript/module/ui/components/DynamicFilterView.d.ts.map +1 -1
  183. package/lib/typescript/module/ui/components/EventStepperFooter.d.ts +2 -0
  184. package/lib/typescript/module/ui/components/EventStepperFooter.d.ts.map +1 -1
  185. package/lib/typescript/module/ui/components/StorageTypeBadge.d.ts.map +1 -1
  186. package/lib/typescript/module/ui/components/TabSelector.d.ts +9 -0
  187. package/lib/typescript/module/ui/components/TabSelector.d.ts.map +1 -1
  188. package/lib/typescript/module/ui/components/ValueTypeBadge.d.ts.map +1 -1
  189. package/lib/typescript/module/ui/components/WindowControls.d.ts +4 -2
  190. package/lib/typescript/module/ui/components/WindowControls.d.ts.map +1 -1
  191. package/lib/typescript/module/ui/gameUI/constants/gameUIColors.d.ts +8 -0
  192. package/lib/typescript/module/ui/gameUI/constants/gameUIColors.d.ts.map +1 -1
  193. package/lib/typescript/module/ui/night/nightTheme.d.ts +113 -0
  194. package/lib/typescript/module/ui/night/nightTheme.d.ts.map +1 -0
  195. package/lib/typescript/module/ui/night/primitives.d.ts +111 -0
  196. package/lib/typescript/module/ui/night/primitives.d.ts.map +1 -0
  197. package/package.json +4 -4
  198. package/lib/commonjs/ui/backgrounds/variants/lattice.js +0 -579
  199. package/lib/commonjs/ui/backgrounds/variants/starfield.js +0 -210
  200. package/lib/module/ui/backgrounds/variants/lattice.js +0 -575
  201. package/lib/module/ui/backgrounds/variants/starfield.js +0 -206
  202. package/lib/typescript/commonjs/ui/backgrounds/variants/lattice.d.ts +0 -33
  203. package/lib/typescript/commonjs/ui/backgrounds/variants/lattice.d.ts.map +0 -1
  204. package/lib/typescript/commonjs/ui/backgrounds/variants/starfield.d.ts +0 -12
  205. package/lib/typescript/commonjs/ui/backgrounds/variants/starfield.d.ts.map +0 -1
  206. package/lib/typescript/module/ui/backgrounds/variants/lattice.d.ts +0 -33
  207. package/lib/typescript/module/ui/backgrounds/variants/lattice.d.ts.map +0 -1
  208. package/lib/typescript/module/ui/backgrounds/variants/starfield.d.ts +0 -12
  209. package/lib/typescript/module/ui/backgrounds/variants/starfield.d.ts.map +0 -1
@@ -1,7 +1,13 @@
1
1
  export { ToolBackground, type ToolBackgroundProps } from "./ToolBackground";
2
2
  export { BackgroundSwitcher } from "./BackgroundSwitcher";
3
- export { backgroundStore, useToolBackground, type UseToolBackgroundResult, } from "./backgroundStore";
3
+ export { backgroundStore, BACKGROUND_STORAGE_KEY, useToolBackground, type UseToolBackgroundResult, } from "./backgroundStore";
4
4
  export { BACKGROUND_PRESETS, DEFAULT_BACKGROUND, getPreset, presetAt, presetIndex, type BackgroundPreset, } from "./registry";
5
5
  export type { BackgroundId, BackgroundVariantProps } from "./types";
6
+ export { LinearFade, RadialGlow, RasterLayer, useLoop, usePulse, } from "./primitives";
7
+ export { scatter, withAlpha as withBgAlpha } from "./rng";
6
8
  export { DeepFieldTunable, type DeepFieldTuning, type HaloMode, type TwinkleMode, } from "./variants/deepField";
9
+ export { MoonlightTunable, type MoonlightTuning } from "./variants/moonlight";
10
+ export { DaylightTunable, type DaylightTuning } from "./variants/daylight";
11
+ export { LiveSkyTunable, type LiveSkyTuning } from "./variants/liveSky";
12
+ export { getSkyScrub, setSkyScrub, useSkyScrub } from "./skyClock";
7
13
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/ui/backgrounds/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC5E,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EACL,eAAe,EACf,iBAAiB,EACjB,KAAK,uBAAuB,GAC7B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,kBAAkB,EAClB,kBAAkB,EAClB,SAAS,EACT,QAAQ,EACR,WAAW,EACX,KAAK,gBAAgB,GACtB,MAAM,YAAY,CAAC;AACpB,YAAY,EAAE,YAAY,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAGpE,OAAO,EACL,gBAAgB,EAChB,KAAK,eAAe,EACpB,KAAK,QAAQ,EACb,KAAK,WAAW,GACjB,MAAM,sBAAsB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/ui/backgrounds/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC5E,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EACL,eAAe,EACf,sBAAsB,EACtB,iBAAiB,EACjB,KAAK,uBAAuB,GAC7B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,kBAAkB,EAClB,kBAAkB,EAClB,SAAS,EACT,QAAQ,EACR,WAAW,EACX,KAAK,gBAAgB,GACtB,MAAM,YAAY,CAAC;AACpB,YAAY,EAAE,YAAY,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAIpE,OAAO,EACL,UAAU,EACV,UAAU,EACV,WAAW,EACX,OAAO,EACP,QAAQ,GACT,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,OAAO,EAAE,SAAS,IAAI,WAAW,EAAE,MAAM,OAAO,CAAC;AAG1D,OAAO,EACL,gBAAgB,EAChB,KAAK,eAAe,EACpB,KAAK,QAAQ,EACb,KAAK,WAAW,GACjB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,gBAAgB,EAAE,KAAK,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAC9E,OAAO,EAAE,eAAe,EAAE,KAAK,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC3E,OAAO,EAAE,cAAc,EAAE,KAAK,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACxE,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC"}
@@ -13,7 +13,9 @@
13
13
  * looping `Animated.timing` means the whole loop is handed to the UI thread
14
14
  * once and never touches JS again — no per-frame callback, no re-render, no
15
15
  * bridge traffic while it runs. A preset animates a handful of *layers*
16
- * (transform on one parent view), never per-particle.
16
+ * (transform on one parent view), never per-particle. (On web there is no
17
+ * native driver and the JS driver must be requested explicitly — see
18
+ * NATIVE_DRIVER below for why the flag can't simply be left `true`.)
17
19
  *
18
20
  * 2. **Every static layer is rasterized.** `shouldRasterizeIOS` /
19
21
  * `renderToHardwareTextureAndroid` turn a layer of 40 dots into a single
@@ -25,7 +27,7 @@
25
27
  */
26
28
  import { Animated, type ViewStyle } from "react-native";
27
29
  /**
28
- * A native-driven 0→1 loop.
30
+ * A native-driven 0→1 loop (JS-driven on web — see NATIVE_DRIVER).
29
31
  *
30
32
  * The returned value is only ever consumed by `interpolate` inside an
31
33
  * `Animated.View` style, so React never re-renders while it runs. The loop is
@@ -76,7 +78,18 @@ export declare const RadialGlow: import("react").NamedExoticComponent<{
76
78
  /**
77
79
  * Fake linear gradient: `bands` stacked strips with linearly interpolated
78
80
  * alpha. Used for scrims (keep text readable over a busy field) and for
79
- * horizon glows. 12–16 bands is invisible as banding at these alphas.
81
+ * horizon glows.
82
+ *
83
+ * TRAP (found on the Abyss wash): translucent strips must NOT overlap. An
84
+ * overlap composites the same colour twice, doubling the alpha in a stripe at
85
+ * every band edge — on a dark surface that draws a visible line per band, and
86
+ * because the strips are %-sized the whole ruled pattern rescales as the
87
+ * modal resizes. Strips here butt exactly, with a 0.08% fudge (sub-pixel at
88
+ * any real size) so layout rounding can't open a hairline gap.
89
+ *
90
+ * `flattenBase`: when the fade sits DIRECTLY on a known opaque colour, pass
91
+ * that colour — each strip is then drawn opaque via `flattenOver`, which is
92
+ * pixel-identical, immune to seams entirely, and cheaper to composite.
80
93
  */
81
94
  export declare const LinearFade: import("react").NamedExoticComponent<{
82
95
  color: string;
@@ -86,6 +99,8 @@ export declare const LinearFade: import("react").NamedExoticComponent<{
86
99
  to?: number;
87
100
  bands?: number;
88
101
  direction?: "down" | "up" | "left" | "right";
102
+ /** The opaque colour directly beneath, if nothing else can sit between. */
103
+ flattenBase?: string;
89
104
  style?: ViewStyle;
90
105
  }>;
91
106
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"primitives.d.ts","sourceRoot":"","sources":["../../../../../src/ui/backgrounds/primitives.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAGH,OAAO,EACL,QAAQ,EAMR,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAQtB;;;;;;;GAOG;AACH,wBAAgB,OAAO,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,UAAO,GAAG,QAAQ,CAAC,KAAK,CAsC1E;AAED;;;GAGG;AACH,wBAAgB,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,UAAO,GAAG,QAAQ,CAAC,KAAK,CA6C3E;AAMD;;;;GAIG;AACH,eAAO,MAAM,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AAM,UAAU;UAQf,MAAM;WACL,MAAM;IACb,2BAA2B;YACnB,MAAM;YACN,MAAM;IACd,mEAAmE;cACzD,MAAM;YACR,SAAS;EA+BjB,CAAC;AAEH;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,UAAU;WASd,MAAM;IACb,+BAA+B;WACxB,MAAM;IACb,6BAA6B;SACxB,MAAM;YACH,MAAM;gBACF,MAAM,GAAG,IAAI,GAAG,MAAM,GAAG,OAAO;IAC5C,2EAA2E;kBAC7D,MAAM;YACZ,SAAS;EA0CjB,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,QAAQ;YAKX,MAAM;YACN,MAAM;IACd,6CAA6C;aACpC,MAAM;EAqBf,CAAC;AAEH,0DAA0D;AAC1D,eAAO,MAAM,IAAI;WAA0C,MAAM;EAO/D,CAAC;AAEH,eAAO,MAAM,QAAQ,QAA2B,CAAC"}
@@ -18,6 +18,14 @@ export interface BackgroundPreset {
18
18
  nodes: number;
19
19
  /** Approximate static views mounted once, at a 380×620 surface. */
20
20
  views: number;
21
+ /**
22
+ * A paired look (night ⇄ day) the switcher offers as a one-tap toggle;
23
+ * `label` is what the toggle button reads while THIS preset is showing.
24
+ */
25
+ counterpart?: {
26
+ id: BackgroundId;
27
+ label: string;
28
+ };
21
29
  Component: ComponentType<BackgroundVariantProps> | null;
22
30
  }
23
31
  export declare const BACKGROUND_PRESETS: BackgroundPreset[];
@@ -1 +1 @@
1
- {"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../../../../src/ui/backgrounds/registry.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAa3C,OAAO,KAAK,EAAE,YAAY,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAEpE,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,YAAY,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,sDAAsD;IACtD,KAA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AAE,YAAY,GAAG,MAAM,CAGpD;AAED,wBAAgB,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,gBAAgB,CAGxD;AAED,wBAAgB,SAAS,CAAC,EAAE,EAAE,YAAY,GAAG,gBAAgB,CAE5D"}
@@ -15,6 +15,12 @@ export declare function mulberry32(seed: number): () => number;
15
15
  export declare function scatter(seed: number, count: number): number[];
16
16
  /** `#RRGGBB` (or `#RGB`) + alpha 0..1 → `rgba(...)`. */
17
17
  export declare function withAlpha(hex: string, alpha: number): string;
18
+ /**
19
+ * RGB lerp between two `#RRGGBB` (or `#RGB`) colours, returned as `#RRGGBB`.
20
+ * Used by Live Sky to blend palette keyframes; at minute-sized steps a plain
21
+ * RGB lerp is indistinguishable from anything fancier.
22
+ */
23
+ export declare function lerpColor(a: string, b: string, t: number): string;
18
24
  /**
19
25
  * `hex` at `alpha` composited over an opaque `base`, returned as an OPAQUE
20
26
  * colour.
@@ -1 +1 @@
1
- {"version":3,"file":"rng.d.ts","sourceRoot":"","sources":["../../../../../src/ui/backgrounds/rng.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,MAAM,CAOrD;AAED,4CAA4C;AAC5C,wBAAgB,OAAO,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,CAK7D;AAED,wDAAwD;AACxD,wBAAgB,SAAS,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAS5D;AAED;;;;;;;GAOG;AACH,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,CAY5E"}
1
+ {"version":3,"file":"rng.d.ts","sourceRoot":"","sources":["../../../../../src/ui/backgrounds/rng.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,MAAM,CAOrD;AAED,4CAA4C;AAC5C,wBAAgB,OAAO,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,CAK7D;AAED,wDAAwD;AACxD,wBAAgB,SAAS,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAS5D;AAED;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAajE;AAED;;;;;;;GAOG;AACH,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,CAY5E"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * The Live Sky scrub clock.
3
+ *
4
+ * `null` means "live" — the Live Sky preset follows the real local clock. A
5
+ * number (minutes since midnight, quantized by the slider) freezes the scene
6
+ * at that time of day so the whole cycle can be scrubbed through by hand.
7
+ *
8
+ * Deliberately NOT part of `backgroundStore`: the variant itself has to read
9
+ * this, and a variant importing the store would close an import cycle through
10
+ * the registry (store → registry → variant → store). It is also deliberately
11
+ * not persisted — a scrub is a preview gesture, not a setting.
12
+ */
13
+ export declare function getSkyScrub(): number | null;
14
+ export declare function setSkyScrub(value: number | null): void;
15
+ /** Subscribe a component to the scrub value. */
16
+ export declare function useSkyScrub(): number | null;
17
+ //# sourceMappingURL=skyClock.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"skyClock.d.ts","sourceRoot":"","sources":["../../../../../src/ui/backgrounds/skyClock.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAOH,wBAAgB,WAAW,IAAI,MAAM,GAAG,IAAI,CAE3C;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,QAI/C;AAED,gDAAgD;AAChD,wBAAgB,WAAW,IAAI,MAAM,GAAG,IAAI,CAU3C"}
@@ -10,5 +10,5 @@ export interface BackgroundVariantProps {
10
10
  */
11
11
  animated: boolean;
12
12
  }
13
- export type BackgroundId = "off" | "starfield" | "deepfield" | "hexmesh" | "isogrid" | "crosshatch" | "perfboard" | "halftone" | "waffle" | "instrument" | "radar";
13
+ export type BackgroundId = "off" | "deepfield" | "hyperspace" | "livesky" | "abyss" | "bubbles" | "jellyfish";
14
14
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/ui/backgrounds/types.ts"],"names":[],"mappings":"AAAA,mDAAmD;AACnD,MAAM,WAAW,sBAAsB;IACrC,+EAA+E;IAC/E,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,MAAM,YAAY,GACpB,KAAK,GACL,WAAW,GACX,WAAW,GACX,SAAS,GACT,SAAS,GACT,YAAY,GACZ,WAAW,GACX,UAAU,GACV,QAAQ,GACR,YAAY,GACZ,OAAO,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/ui/backgrounds/types.ts"],"names":[],"mappings":"AAAA,mDAAmD;AACnD,MAAM,WAAW,sBAAsB;IACrC,+EAA+E;IAC/E,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,MAAM,YAAY,GACpB,KAAK,GACL,WAAW,GACX,YAAY,GACZ,SAAS,GACT,OAAO,GACP,SAAS,GACT,WAAW,CAAC"}
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Daylight — the Moonlight cove at midday.
3
+ *
4
+ * The same composition as ../variants/moonlight.tsx translated to day: the sun
5
+ * where the moon sat, in a warm bloom (no craters — an opaque disc with a hot
6
+ * inner glow), white clouds whose sunlit tops use the same rim-then-body
7
+ * occlusion trick, HAZY blue mountains instead of black silhouettes (daylight
8
+ * scatters — far ridges go pale, they don't go dark), gulls where the stars
9
+ * were, tiny sails where the shore lights were, and the glade re-cut as golden
10
+ * sun glitter. The sky inverts too: deep blue at the zenith paling into haze at
11
+ * the horizon, where night dies out the opposite way.
12
+ *
13
+ * Same contract as ../README.md: native-driven loops only, static geometry
14
+ * rasterized, scatter tables at module load, light geometry sized from the
15
+ * WINDOW (never the modal — resizing crops, it doesn't stretch).
16
+ */
17
+ import type { BackgroundVariantProps } from "../types";
18
+ export interface DaylightTuning {
19
+ /** Multiplies each glitter layer's block count. 1 = the shipping glade. */
20
+ gladeScale?: number;
21
+ /** ONE animated glitter layer instead of three (single sway, no breathe). */
22
+ fusedGlade?: boolean;
23
+ /** Rasterize the per-frame-animated glitter layers. */
24
+ raster?: boolean;
25
+ /** The translucent overlays: horizon haze band, sea fade, vignette. */
26
+ chrome?: boolean;
27
+ }
28
+ export declare const DaylightTunable: import("react").NamedExoticComponent<BackgroundVariantProps & DaylightTuning>;
29
+ export declare const Daylight: import("react").NamedExoticComponent<BackgroundVariantProps>;
30
+ //# sourceMappingURL=daylight.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"daylight.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/backgrounds/variants/daylight.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAcH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAC;AAqPvD,MAAM,WAAW,cAAc;IAC7B,2EAA2E;IAC3E,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,6EAA6E;IAC7E,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,uDAAuD;IACvD,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,uEAAuE;IACvE,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,eAAO,MAAM,eAAe,+EAyL1B,CAAC;AAEH,eAAO,MAAM,QAAQ,8DAEnB,CAAC"}
@@ -20,11 +20,13 @@
20
20
  *
21
21
  * - **The soft bulb sprite.** The original bakes one 64px sprite (blurred halo
22
22
  * at r=6/α.30 over a blurred core at r=4/α1) and stamps it at `dia`. That is
23
- * why stars stay fine points even at dia=20 — the lit core is only ~13% of
23
+ * why stars stay fine points even at dia=20 — the lit core is only 12.5% of
24
24
  * the stamp. There is no blur primitive here, so each star is a small solid
25
- * core at that same 13%, and the nearer ones get one or two concentric
26
- * discs standing in for the halo. Far stars end up a single ~1px dot, which
27
- * is what the sprite renders them as anyway.
25
+ * core at that same 12.5%, and the nearer ones get one or two concentric
26
+ * discs standing in for the halo, graded DOWN in alpha toward the blur's
27
+ * outer extent (~0.24·dia) so the glow fades out rather than ending in a
28
+ * hard rim. Far stars end up a single ~1px dot, which is what the sprite
29
+ * renders them as anyway.
28
30
  *
29
31
  * - **Additive blending.** `blendMode="plus"` becomes ordinary alpha
30
32
  * compositing. Over a near-black base the two agree except where stars
@@ -54,6 +56,13 @@ export interface DeepFieldTuning {
54
56
  * benchmarking scale, not the Everlights sky.
55
57
  */
56
58
  starCount?: number;
59
+ /**
60
+ * Render the Buoy backdrop (near-black base + the blue corner glow) under
61
+ * the field. The glow is a BUOY addition, not part of the Everlights look —
62
+ * `nightDrift.tsx` turns this off and supplies the original modal backdrop
63
+ * (a plain #0A0A0A→#000 gradient) itself.
64
+ */
65
+ chrome?: boolean;
57
66
  }
58
67
  /**
59
68
  * The tunable body. `DeepField` below is this with the shipping defaults; the
@@ -61,5 +70,11 @@ export interface DeepFieldTuning {
61
70
  * measured variant is this exact code, not a copy of it.
62
71
  */
63
72
  export declare const DeepFieldTunable: import("react").NamedExoticComponent<BackgroundVariantProps & DeepFieldTuning>;
73
+ /**
74
+ * The shipping preset: the Everlights field with the meteor layer on top —
75
+ * the old standalone "Meteors" preset was folded in here (its own 40-star sky
76
+ * dropped; this field is the better one). `DeepFieldTunable` stays meteor-free
77
+ * so the bench route keeps measuring the field itself.
78
+ */
64
79
  export declare const DeepField: import("react").NamedExoticComponent<BackgroundVariantProps>;
65
80
  //# sourceMappingURL=deepField.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"deepField.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/backgrounds/variants/deepField.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AAOH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAC;AA8BvD,gDAAgD;AAChD,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,OAAO,GAAG,KAAK,CAAC;AACpD,wEAAwE;AACxE,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;AAgOhD,MAAM,WAAW,eAAe;IAC9B,oEAAoE;IACpE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,4CAA4C;IAC5C,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,6EAA6E;IAC7E,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,gFAAgF;IAChF,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,gFA+D3B,CAAC;AAEH,eAAO,MAAM,SAAS,8DAEpB,CAAC"}
1
+ {"version":3,"file":"deepField.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/backgrounds/variants/deepField.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AAOH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAC;AA+BvD,gDAAgD;AAChD,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,OAAO,GAAG,KAAK,CAAC;AACpD,wEAAwE;AACxE,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;AA2OhD,MAAM,WAAW,eAAe;IAC9B,oEAAoE;IACpE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,4CAA4C;IAC5C,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,6EAA6E;IAC7E,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,gFAAgF;IAChF,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;;OAKG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,gFAoE3B,CAAC;AAEH;;;;;GAKG;AACH,eAAO,MAAM,SAAS,8DAOpB,CAAC"}
@@ -0,0 +1,39 @@
1
+ /**
2
+ * Hyperspace — a faithful port of the Everlights `HyperspaceBackground`
3
+ * (components/hyperspace-background.tsx), the Star Wars "lightspeed" field:
4
+ * crisp ROUND points streaming out of a centre vanishing point on the 3D
5
+ * depth projection `screen = plane / z`.
6
+ *
7
+ * THE FIELD IS EXACT: one mulberry32 stream seeded `0x5747 ^ 260`, pulling
8
+ * `ang, rad, z0, tw` per star in the original's call order — same 260 stars,
9
+ * same sqrt-biased radii with the 12% clear centre, same palette pick
10
+ * formula, same z sweep (1.0 → 0.06), same speed (0.55 z-units/sec, the
11
+ * "lightspeed" tuning), same 0.15 + 0.85·near² brightness with 6% fade at
12
+ * both ends of a star's life. Stars are round dots, NOT streaks — the
13
+ * original never elongates anything.
14
+ *
15
+ * HOW THE PROJECTION RUNS WITHOUT SKIA: a star at plane offset p appears at
16
+ * `centre + (p/z)·centre`, so a LAYER scaled by S = 1/z about the centre
17
+ * carries every star along its exact trajectory. The z-sweep becomes scale
18
+ * keyframes on ONE looping value.
19
+ *
20
+ * WHAT COULDN'T COME ACROSS 1:1, and what was done instead:
21
+ *
22
+ * - **Continuous per-star start phase.** Every star has its own `z0`; per
23
+ * star that's 260 nodes. `z0` (and ONLY z0) is quantised into 8 shells —
24
+ * the same single-quantity discipline Deep Field applies to speed.
25
+ * Position, size, colour and brightness stay exact.
26
+ * - **The size CAP.** The original stamps its sprite at `dia = baseDia/z`
27
+ * capped at 4.5×base, but a scaling layer can't cap one star's size
28
+ * mid-flight. Instead each dot is drawn at the sprite's true lit-core
29
+ * size (12.5% of the stamp — 0.45px at z=1), which reaches the original's
30
+ * 2px cap at the cap's own z and only overshoots inside the final 6%
31
+ * fade-out, where brightness is already dying.
32
+ * - **The blurred sprite.** As in Deep Field: a solid core at the lit 12.5%
33
+ * plus one concentric disc at the halo's α0.30 stands in for the blur.
34
+ * - **Additive blend + the 5% twinkle** are dropped; over near-black at this
35
+ * density neither reads.
36
+ */
37
+ import type { BackgroundVariantProps } from "../types";
38
+ export declare const Hyperspace: import("react").NamedExoticComponent<BackgroundVariantProps>;
39
+ //# sourceMappingURL=hyperspace.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hyperspace.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/backgrounds/variants/hyperspace.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AAOH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAC;AAoGvD,eAAO,MAAM,UAAU,8DA4FrB,CAAC"}
@@ -0,0 +1,41 @@
1
+ /**
2
+ * Live Sky — the cove on your clock.
3
+ *
4
+ * One scene that tracks the actual local time — through the WORKDAY REMAP
5
+ * (`workdaySceneMinutes` below): the real clock is compressed onto the scene's
6
+ * day so sunrise lands ~9:00, noon at lunch, sunset ~17:30 and night after
7
+ * ~20:00, and a normal working session sees the whole cycle. In scene time the
8
+ * sun runs 06:30→19:00 and the moon takes the night shift; dawn, golden hour,
9
+ * sunset and dusk are palette keyframes lerped in between. The night keyframe
10
+ * is Moonlight's palette and the noon keyframe is Daylight's, so the live
11
+ * scene passes through both fixed siblings exactly.
12
+ *
13
+ * THE CHEAP TRICK (see LIVE_SKY_PLAN.md): real time IS the cheap version. The
14
+ * sun moves ~0.4px per minute on this surface — invisible as motion — so the
15
+ * cycle itself animates NOTHING. The scene is laid out statically for the
16
+ * current minute and a once-a-minute tick re-renders it (~one small React
17
+ * commit). That also sidesteps the native driver's hard limit (transform and
18
+ * opacity only, never colour): colour "animation" here is just new style
19
+ * values in an ordinary render. Between ticks the preset costs exactly what
20
+ * Daylight costs — a handful of native loops that never touch JS.
21
+ *
22
+ * The scrub slider in `BackgroundSwitcher` writes `skyClock.ts`; a non-null
23
+ * scrub freezes this scene at that minute and stops the tick.
24
+ *
25
+ * Same contract as ../README.md otherwise: native-driven loops only, static
26
+ * geometry rasterized, scatter tables at module load, light geometry sized
27
+ * from the WINDOW (resizing crops, never stretches).
28
+ */
29
+ import type { BackgroundVariantProps } from "../types";
30
+ export declare function workdaySceneMinutes(realMinutes: number): number;
31
+ export interface LiveSkyTuning {
32
+ /**
33
+ * Freeze the WALL clock at this minute of the day (the switcher's slider,
34
+ * the bench/screenshot lane). Wall time — the workday remap is applied here,
35
+ * the same as for the live clock.
36
+ */
37
+ clockMinutes?: number;
38
+ }
39
+ export declare const LiveSkyTunable: import("react").NamedExoticComponent<BackgroundVariantProps & LiveSkyTuning>;
40
+ export declare const LiveSky: import("react").NamedExoticComponent<BackgroundVariantProps>;
41
+ //# sourceMappingURL=liveSky.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"liveSky.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/backgrounds/variants/liveSky.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAeH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAC;AAwVvD,wBAAgB,mBAAmB,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,CAW/D;AA2RD,MAAM,WAAW,aAAa;IAC5B;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,eAAO,MAAM,cAAc,8EAoTzB,CAAC;AAEH,eAAO,MAAM,OAAO,8DAKlB,CAAC"}
@@ -0,0 +1,26 @@
1
+ /**
2
+ * MeteorShower — shooting stars that slam into the walls.
3
+ *
4
+ * Each meteor streaks in from off-screen, hits an EDGE of the surface, and
5
+ * bursts: a flash, an expanding shockwave ring (half-clipped by the wall,
6
+ * which is what sells the impact), and a handful of sparks ricocheting back
7
+ * into the room. The whole life cycle — parked invisible, streak, impact,
8
+ * decay — is keyframed into interpolate stops on ONE plain native loop per
9
+ * meteor; `Animated.sequence([timing, loop])` silently fails to drive
10
+ * natively, so nothing here sequences.
11
+ *
12
+ * This used to be a standalone "Meteors" preset with its own 40-star sky;
13
+ * that scene was folded into Deep Field (which supplies the far better sky),
14
+ * so what remains is just the meteor LAYER — transparent, composed on top of
15
+ * a host scene by `deepField.tsx`.
16
+ *
17
+ * Same contract as ../README.md: keyframes on module-load constants, no
18
+ * `transformOrigin`.
19
+ */
20
+ import type { BackgroundVariantProps } from "../types";
21
+ /**
22
+ * The transparent meteor layer — just the streaks and their wall impacts,
23
+ * ready to compose over any host sky (Deep Field is the shipping mount).
24
+ */
25
+ export declare const MeteorShower: import("react").NamedExoticComponent<BackgroundVariantProps>;
26
+ //# sourceMappingURL=meteors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"meteors.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/backgrounds/variants/meteors.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAOH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAC;AAsNvD;;;GAGG;AACH,eAAO,MAAM,YAAY,8DAQvB,CAAC"}
@@ -0,0 +1,35 @@
1
+ /**
2
+ * Moonlight — moon over a still sea, the glade shimmering below.
3
+ *
4
+ * Composed like the pixel-art seascape it's modelled on: a night-sky
5
+ * gradient with breathing stars, cloud banks with moonlit top edges, a
6
+ * cratered moon in a TIGHT bloom (many rings at steep falloff — a big
7
+ * 8-ring glow shows its rings as visible circles), mountain silhouettes with
8
+ * a few shore lights on the horizon, and a glade built from chunky
9
+ * row-quantized water blocks — brightest mid-glade, thinning at the horizon
10
+ * and toward the viewer.
11
+ *
12
+ * Same contract as ../README.md: native-driven loops only, static geometry
13
+ * rasterized, scatter tables at module load, geometry sized from the WINDOW
14
+ * (never the modal — resizing crops, it doesn't stretch). Per-dash rands come
15
+ * off ONE stream in a fixed stride (the Deep Field lesson).
16
+ */
17
+ import type { BackgroundVariantProps } from "../types";
18
+ export interface MoonlightTuning {
19
+ /** Multiplies each glade layer's block count. 1 = the shipping glade. */
20
+ gladeScale?: number;
21
+ /** ONE animated glade layer instead of three (single sway, no breathe). */
22
+ fusedGlade?: boolean;
23
+ /** Rasterize the per-frame-animated glade layers. */
24
+ raster?: boolean;
25
+ /** The translucent overlays: horizon glow band, sea fade, vignette. */
26
+ chrome?: boolean;
27
+ }
28
+ /**
29
+ * The tunable body. `Moonlight` below is this with the shipping defaults; the
30
+ * bench route (`example-dev-build/app/bg-bench.tsx`) drives the knobs so every
31
+ * measured variant is this exact code, not a copy of it.
32
+ */
33
+ export declare const MoonlightTunable: import("react").NamedExoticComponent<BackgroundVariantProps & MoonlightTuning>;
34
+ export declare const Moonlight: import("react").NamedExoticComponent<BackgroundVariantProps>;
35
+ //# sourceMappingURL=moonlight.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"moonlight.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/backgrounds/variants/moonlight.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAcH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAC;AA2OvD,MAAM,WAAW,eAAe;IAC9B,yEAAyE;IACzE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,2EAA2E;IAC3E,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,qDAAqD;IACrD,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,uEAAuE;IACvE,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,gFAkN3B,CAAC;AAEH,eAAO,MAAM,SAAS,8DAEpB,CAAC"}
@@ -0,0 +1,51 @@
1
+ /**
2
+ * The underwater family — the Abyss feeling, explored.
3
+ *
4
+ * Abyss set the register: lit from the surface, near-black at the bottom,
5
+ * everything moving in tens of seconds. The other three stay inside it and
6
+ * change what lives in the water: bubbles rising through the light, a bloom
7
+ * of glowing jellyfish — big bells up front, small dim ones behind — pulsing
8
+ * past on the current.
9
+ *
10
+ * Same contract as ../README.md: native-driven loops only, static geometry
11
+ * rasterized, scatter tables at module load. Vertical travel tiles the way
12
+ * Starfield tiles horizontally — a two-height layer, everything drawn twice
13
+ * one height apart, translated a full height per loop so the seam never
14
+ * shows. Wobble and sway are multi-stop interpolates on the SAME loop value —
15
+ * never `Animated.sequence([timing, loop])`, which silently fails to drive
16
+ * natively.
17
+ */
18
+ import { type ReactNode } from "react";
19
+ import type { BackgroundVariantProps } from "../types";
20
+ /**
21
+ * A band of particles travelling a full surface-height per loop — direction
22
+ * "down" is marine snow, "up" is anything buoyant. `render` draws one
23
+ * particle so each preset owns its look; `sway` (px) adds a whole-layer
24
+ * side-to-side wobble keyframed onto the same node.
25
+ */
26
+ export declare const DriftBand: import("react").NamedExoticComponent<{
27
+ table: number[];
28
+ count: number;
29
+ travelS: number;
30
+ direction: "up" | "down";
31
+ sway?: number;
32
+ width: number;
33
+ height: number;
34
+ animated: boolean;
35
+ render: (x: number, y: number, size: number, key: string) => ReactNode;
36
+ }>;
37
+ /** The shared floor: base coat + surface light. */
38
+ export declare const Water: import("react").NamedExoticComponent<{
39
+ height: number;
40
+ /** Kelp needs a lighter edge — its whole scene lives where this is darkest. */
41
+ vignette?: number;
42
+ /** Palette: Abyss runs deep navy, the others the teal register. */
43
+ base?: string;
44
+ wash?: string;
45
+ washAlpha?: number;
46
+ children: ReactNode;
47
+ }>;
48
+ export declare const Abyss: import("react").NamedExoticComponent<BackgroundVariantProps>;
49
+ export declare const Bubbles: import("react").NamedExoticComponent<BackgroundVariantProps>;
50
+ export declare const Jellyfish: import("react").NamedExoticComponent<BackgroundVariantProps>;
51
+ //# sourceMappingURL=underwater.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"underwater.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/backgrounds/variants/underwater.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAa7C,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAC;AA0DvD;;;;;GAKG;AACH,eAAO,MAAM,SAAS;WAWb,MAAM,EAAE;WACR,MAAM;aACJ,MAAM;eACJ,IAAI,GAAG,MAAM;WACjB,MAAM;WACN,MAAM;YACL,MAAM;cACJ,OAAO;YACT,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,KAAK,SAAS;EAuCtE,CAAC;AAEH,mDAAmD;AACnD,eAAO,MAAM,KAAK;YAQR,MAAM;IACd,+EAA+E;eACpE,MAAM;IACjB,mEAAmE;WAC5D,MAAM;WACN,MAAM;gBACD,MAAM;cACR,SAAS;EAsBnB,CAAC;AAyKH,eAAO,MAAM,KAAK,8DAoBhB,CAAC;AA8DH,eAAO,MAAM,OAAO,8DAqBlB,CAAC;AAuKH,eAAO,MAAM,SAAS,8DAoBpB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/Badge.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA0B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AC,EAAE,SAAS,CAAC;CACnB;AAED,wBAAgB,SAAS,CAAC,EACxB,IAAI,EACJ,KAAK,EACL,IAAc,EACd,KAAK,GACN,EAAE,cAAc,+BAShB;AAGD,UAAU,gBAAgB;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB;AAED,wBAAgB,WAAW,CAAC,EAC1B,MAAM,EACN,IAAe,EACf,KAAK,GACN,EAAE,gBAAgB,+BAWlB"}
1
+ {"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/Badge.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA0B,SAAS,EAAE,MAAM,cAAc,CAAC;AACjE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKvC,MAAM,MAAM,YAAY,GACpB,SAAS,GACT,QAAQ,GACR,OAAO,GACP,MAAM,GACN,QAAQ,GACR,SAAS,CAAC;AACd,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AA2BrD,UAAU,UAAU;IAClB,QAAQ,EAAE,SAAS,CAAC;IACpB,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB;AAED,wBAAgB,KAAK,CAAC,EACpB,QAAQ,EACR,OAAmB,EACnB,KAAiB,EACjB,IAAe,EACf,KAAK,GACN,EAAE,UAAU,+BAIZ;AAGD,UAAU,gBAAgB;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB;AAED,wBAAgB,WAAW,CAAC,EAC1B,MAAM,EACN,IAAe,EACf,KAAK,GACN,EAAE,gBAAgB,+BAYlB;AAGD,UAAU,eAAe;IACvB,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,wBAAgB,UAAU,CAAC,EACzB,KAAK,EACL,KAA0B,EAC1B,IAAc,EACd,KAAK,EACL,QAAa,GACd,EAAE,eAAe,+BAUjB;AAGD,UAAU,cAAc;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB;AAED,wBAAgB,SAAS,CAAC,EACxB,IAAI,EACJ,KAAK,EACL,IAAc,EACd,KAAK,GACN,EAAE,cAAc,+BAShB;AAGD,UAAU,gBAAgB;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB;AAED,wBAAgB,WAAW,CAAC,EAC1B,MAAM,EACN,IAAe,EACf,KAAK,GACN,EAAE,gBAAgB,+BAWlB"}
@@ -1 +1 @@
1
- {"version":3,"file":"CompactRow.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/CompactRow.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIlC,MAAM,WAAW,eAAe;IAE9B,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;IAGxB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,gFAAgF;IAChF,kBAAkB,CAAC,EAAE,SAAS,CAAC;IAC/B,eAAe,CAAC,EAAE,SAAS,CAAC;IAC5B,UAAU,CAAC,EAAE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AC,EAAE,OAAO,CAAC;IAEtB,eAAe,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IAG3C,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,wBAAgB,UAAU,CAAC,EACzB,cAAc,EACd,WAAW,EACX,cAAc,EACd,WAAW,EACX,aAAa,EACb,kBAAkB,EAClB,eAAe,EACf,UAAU,EACV,SAAS,EACT,UAAU,EACV,WAAW,EACX,WAAW,EACX,eAAe,EACf,UAAU,EACV,OAAO,EACP,QAAQ,EACR,iBAAiB,GAClB,EAAE,eAAe,+BAuHjB"}
@@ -1 +1 @@
1
- {"version":3,"file":"DynamicFilterView.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/DynamicFilterView.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAW9C,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,QAAQ,GAAG,QAAQ,GAAG,aAAa,GAAG,QAAQ,GAAG,UAAU,CAAC;IAClE,IAAI,CAAC,EAAE,YAAY,EAAE,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,KAAK,CAAC,SAAS,CAAC;IACrC,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,eAAe,CA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AAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACvC;AAED,UAAU,sBAAuB,SAAQ,mBAAmB;IAC1D,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,iBAAiB,CAAC,EAChC,QAAa,EACb,oBAAoB,EACpB,gBAAgB,EAChB,kBAAkB,EAClB,qBAAqB,EACrB,iBAAiB,EACjB,cAAc,EACd,cAAc,EACd,eAAe,EACf,YAAY,EACZ,cAA0B,EAC1B,iBAAiB,EACjB,IAAI,EACJ,SAAS,EACT,WAAW,GACZ,EAAE,sBAAsB,+BA4dxB"}
1
+ {"version":3,"file":"DynamicFilterView.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/DynamicFilterView.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAY9C,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,QAAQ,GAAG,QAAQ,GAAG,aAAa,GAAG,QAAQ,GAAG,UAAU,CAAC;IAClE,IAAI,CAAC,EAAE,YAAY,EAAE,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,KAAK,CAAC,SAAS,CAAC;IACrC,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,GAAG,CAAC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wBAAgB,iBAAiB,CAAC,EAChC,QAAa,EACb,oBAAoB,EACpB,gBAAgB,EAChB,kBAAkB,EAClB,qBAAqB,EACrB,iBAAiB,EACjB,cAAc,EACd,cAAc,EACd,eAAe,EACf,YAAY,EACZ,cAA0B,EAC1B,iBAAiB,EACjB,IAAI,EACJ,SAAS,EACT,WAAW,GACZ,EAAE,sBAAsB,+BA4dxB"}
@@ -23,6 +23,8 @@ export interface EventStepperFooterProps {
23
23
  absolute?: boolean;
24
24
  /** Whether to apply safe area bottom inset */
25
25
  applySafeAreaInset?: boolean;
26
+ /** Host tool's chrome variant — "night" restyles the bar to the night theme. */
27
+ variant?: "default" | "night";
26
28
  }
27
29
  /**
28
30
  * A footer component for navigating through a list of events/items.
@@ -1 +1 @@
1
- {"version":3,"file":"EventStepperFooter.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/EventStepperFooter.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAe,MAAM,OAAO,CAAC;AAMpC,MAAM,WAAW,uBAAuB;IACtC,8BAA8B;IAC9B,YAAY,EAAE,MAAM,CAAC;IACrB,4BAA4B;IAC5B,UAAU,EAAE,MAAM,CAAC;IACnB,wCAAwC;IACxC,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,oCAAoC;IACpC,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,8EAA8E;IAC9E,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oEAAoE;IACpE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,sEAAsE;IACtE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,8CAA8C;IAC9C,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B;AAED;;;GAGG;AACH,eAAO,MAAM,kBAAkB,qDA2E7B,CAAC"}
1
+ {"version":3,"file":"EventStepperFooter.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/EventStepperFooter.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAe,MAAM,OAAO,CAAC;AAOpC,MAAM,WAAW,uBAAuB;IACtC,8BAA8B;IAC9B,YAAY,EAAE,MAAM,CAAC;IACrB,4BAA4B;IAC5B,UAAU,EAAE,MAAM,CAAC;IACnB,wCAAwC;IACxC,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,oCAAoC;IACpC,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,8EAA8E;IAC9E,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oEAAoE;IACpE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,sEAAsE;IACtE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,8CAA8C;IAC9C,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,gFAAgF;IAChF,OAAO,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC;CAC/B;AAED;;;GAGG;AACH,eAAO,MAAM,kBAAkB,qDA2F7B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"StorageTypeBadge.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/StorageTypeBadge.tsx"],"names":[],"mappings":"AAIA,KAAK,WAAW,GAAG,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAC;AAE/C,UAAU,qBAAqB;IAC7B,IAAI,EAAE,WAAW,CAAC;IAClB,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,IAAI,EACJ,IAAc,EACd,QAAe,GAChB,EAAE,qBAAqB,+BA2DvB"}
1
+ {"version":3,"file":"StorageTypeBadge.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/StorageTypeBadge.tsx"],"names":[],"mappings":"AAKA,KAAK,WAAW,GAAG,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAC;AAE/C,UAAU,qBAAqB;IAC7B,IAAI,EAAE,WAAW,CAAC;IAClB,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,IAAI,EACJ,IAAc,EACd,QAAe,GAChB,EAAE,qBAAqB,+BA2DvB"}
@@ -7,6 +7,15 @@ interface TabSelectorProps {
7
7
  activeTab: string;
8
8
  onTabChange: (tab: string) => void;
9
9
  }
10
+ /**
11
+ * Header tab strip — the night segmented control (see ui/night): `#050505`
12
+ * track, `#161618` thumb, accent underline glow under the active label.
13
+ *
14
+ * Same props API it has always had, so every tool header that mounts it got
15
+ * the night look in one shared edit. Visually identical to `NightSegmented`
16
+ * at its compact size — new night-native code should prefer that primitive;
17
+ * this component exists so existing consumers convert without a code change.
18
+ */
10
19
  export declare function TabSelector({ tabs, activeTab, onTabChange, }: TabSelectorProps): import("react").JSX.Element;
11
20
  export {};
12
21
  //# sourceMappingURL=TabSelector.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TabSelector.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/TabSelector.tsx"],"names":[],"mappings":"AAGA,MAAM,WAAW,GAAG;IAClB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;CACf;AAED,UAAU,gBAAgB;IACxB,IAAI,EAAE,GAAG,EAAE,CAAC;IACZ,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC;AAED,wBAAgB,WAAW,CAAC,EAC1B,IAAI,EACJ,SAAS,EACT,WAAW,GACZ,EAAE,gBAAgB,+BA+BlB"}
1
+ {"version":3,"file":"TabSelector.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/TabSelector.tsx"],"names":[],"mappings":"AAGA,MAAM,WAAW,GAAG;IAClB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;CACf;AAED,UAAU,gBAAgB;IACxB,IAAI,EAAE,GAAG,EAAE,CAAC;IACZ,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC;AAED;;;;;;;;GAQG;AACH,wBAAgB,WAAW,CAAC,EAC1B,IAAI,EACJ,SAAS,EACT,WAAW,GACZ,EAAE,gBAAgB,+BA2BlB"}
@@ -1 +1 @@
1
- {"version":3,"file":"ValueTypeBadge.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/ValueTypeBadge.tsx"],"names":[],"mappings":"AAIA,KAAK,SAAS,GACV,QAAQ,GACR,QAAQ,GACR,SAAS,GACT,MAAM,GACN,WAAW,GACX,QAAQ,GACR,OAAO,CAAC;AAEZ,UAAU,mBAAmB;IAC3B,IAAI,EAAE,SAAS,CAAC;IAChB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,wBAAgB,cAAc,CAAC,EAC7B,IAAI,EACJ,KAAK,EACL,IAAc,EACd,QAAgB,GACjB,EAAE,mBAAmB,+BAkGrB"}
1
+ {"version":3,"file":"ValueTypeBadge.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/ValueTypeBadge.tsx"],"names":[],"mappings":"AAKA,KAAK,SAAS,GACV,QAAQ,GACR,QAAQ,GACR,SAAS,GACT,MAAM,GACN,WAAW,GACX,QAAQ,GACR,OAAO,CAAC;AAEZ,UAAU,mBAAmB;IAC3B,IAAI,EAAE,SAAS,CAAC;IAChB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,wBAAgB,cAAc,CAAC,EAC7B,IAAI,EACJ,KAAK,EACL,IAAc,EACd,QAAgB,GACjB,EAAE,mBAAmB,+BAkGrB"}
@@ -1,4 +1,4 @@
1
- import type { ModalMode } from "../../JsModal";
1
+ import type { ModalMode, ModalVariant } from "../../JsModal";
2
2
  /**
3
3
  * Set whether window controls use the expandable iPad-style behavior.
4
4
  * Called by the floating-tools settings system when the setting changes.
@@ -13,12 +13,14 @@ interface WindowControlsProps {
13
13
  onToggleMode?: () => void;
14
14
  /** Current modal mode - determines which icon to show for toggle button */
15
15
  mode?: ModalMode;
16
+ /** Host modal's chrome variant — "night" restyles the expanded popover. */
17
+ variant?: ModalVariant;
16
18
  }
17
19
  /**
18
20
  * iPad-style expandable window controls.
19
21
  * Default: small macOS-style colored dots. On tap, expands to reveal
20
22
  * large, easy-to-press buttons. Auto-dismisses after timeout or tap outside.
21
23
  */
22
- export declare function WindowControls({ onClose, onMinimize, onToggleMode, mode, }: WindowControlsProps): import("react").JSX.Element;
24
+ export declare function WindowControls({ onClose, onMinimize, onToggleMode, mode, variant, }: WindowControlsProps): import("react").JSX.Element;
23
25
  export {};
24
26
  //# sourceMappingURL=WindowControls.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"WindowControls.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/WindowControls.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAc/C;;;GAGG;AACH,wBAAgB,2BAA2B,CAAC,OAAO,EAAE,OAAO,QAE3D;AAMD,UAAU,mBAAmB;IAC3B,+BAA+B;IAC/B,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,4EAA4E;IAC5E,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,sFAAsF;IACtF,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,2EAA2E;IAC3E,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB;AA+BD;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,EAC7B,OAAO,EACP,UAAU,EACV,YAAY,EACZ,IAAI,GACL,EAAE,mBAAmB,+BAqDrB"}
1
+ {"version":3,"file":"WindowControls.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/WindowControls.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAe7D;;;GAGG;AACH,wBAAgB,2BAA2B,CAAC,OAAO,EAAE,OAAO,QAE3D;AAMD,UAAU,mBAAmB;IAC3B,+BAA+B;IAC/B,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,4EAA4E;IAC5E,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,sFAAsF;IACtF,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,2EAA2E;IAC3E,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,2EAA2E;IAC3E,OAAO,CAAC,EAAE,YAAY,CAAC;CACxB;AA+BD;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,EAC7B,OAAO,EACP,UAAU,EACV,YAAY,EACZ,IAAI,EACJ,OAAiB,GAClB,EAAE,mBAAmB,+BAsDrB"}
@@ -139,6 +139,14 @@ export declare const refreshGameUIColors: () => void;
139
139
  export declare const buoyColors: {
140
140
  readonly base: "#121212";
141
141
  readonly card: "#1A1A1A";
142
+ /**
143
+ * Card fill for surfaces that sit over a ToolBackground: translucent so the
144
+ * field reads through, but calibrated against the BRIGHTEST scene in the
145
+ * catalogue (Live Sky's noon clouds/sun bloom, ~215 luminance) so a card's
146
+ * backing stays ≤ ~45 luminance and text never washes out. Over the "off"
147
+ * preset it is visually indistinguishable from `card`.
148
+ */
149
+ readonly cardScrim: "rgba(10,13,20,0.9)";
142
150
  readonly hover: "#242424";
143
151
  readonly input: "#2A2A2A";
144
152
  readonly border: "#333333";
@@ -1 +1 @@
1
- {"version":3,"file":"gameUIColors.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/gameUI/constants/gameUIColors.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAaH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6EzB,CAAC;AAuCF,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAmC,CAAC;AAE7D,MAAM,MAAM,cAAc,GAAG,MAAM,OAAO,YAAY,CAAC;AAEvD;;;;qEAIqE;AACrE,eAAO,MAAM,mBAAmB,YAG/B,CAAC;AAKF;;;GAGG;AACH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;CAsBb,CAAC;AAEX,MAAM,MAAM,YAAY,GAAG,MAAM,OAAO,UAAU,CAAC;AAGnD,eAAO,MAAM,UAAU;;;;;;;;CAQtB,CAAC"}
1
+ {"version":3,"file":"gameUIColors.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/gameUI/constants/gameUIColors.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAaH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6EzB,CAAC;AAuCF,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAmC,CAAC;AAE7D,MAAM,MAAM,cAAc,GAAG,MAAM,OAAO,YAAY,CAAC;AAEvD;;;;qEAIqE;AACrE,eAAO,MAAM,mBAAmB,YAG/B,CAAC;AAKF;;;GAGG;AACH,eAAO,MAAM,UAAU;;;IAIrB;;;;;;OAMG;;;;;;;;;;;;;;CAoBK,CAAC;AAEX,MAAM,MAAM,YAAY,GAAG,MAAM,OAAO,UAAU,CAAC;AAGnD,eAAO,MAAM,UAAU;;;;;;;;CAQtB,CAAC"}