@mushi-mushi/react-native 0.22.0 → 0.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +18 -1
- package/dist/index.cjs +615 -226
- package/dist/index.d.cts +57 -2
- package/dist/index.d.ts +57 -2
- package/dist/index.js +563 -177
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -105,6 +105,23 @@ import { MushiBottomSheet, MushiFloatingButton } from '@mushi-mushi/react-native
|
|
|
105
105
|
- `MushiBottomSheet` — Conversational report modal with category → description → submit flow. Dark/light theme, drag-to-dismiss.
|
|
106
106
|
- `MushiFloatingButton` — Positioned FAB with spring animation. Configurable via `buttonPosition` and `inset`.
|
|
107
107
|
|
|
108
|
+
## Theming
|
|
109
|
+
|
|
110
|
+
The report sheet takes the host's look through `widget.theme`. Every token is optional; unset tokens use neutral defaults with an ink accent, and when only `accent` is set the text on it is picked for contrast.
|
|
111
|
+
|
|
112
|
+
```tsx
|
|
113
|
+
<MushiProvider
|
|
114
|
+
config={{
|
|
115
|
+
widget: {
|
|
116
|
+
theme: { accent: '#C9A227', fontFamily: 'Georgia', radius: 8 },
|
|
117
|
+
// also: bg, fg, muted, surface, border, accentFg, success, error
|
|
118
|
+
},
|
|
119
|
+
}}
|
|
120
|
+
>
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
"Your reports" shows the same status labels as the web widget ("Received", "Looking into it", "Fix in progress", "Fixed in v1.4"), from `@mushi-mushi/core/reporter-ui`. A thread that fails or does not answer within 12 s shows Retry, and opening a thread marks its updates read.
|
|
124
|
+
|
|
108
125
|
## What gets captured
|
|
109
126
|
|
|
110
127
|
- Device info (platform, OS version, screen dimensions) + a stable device `fingerprintHash`
|
|
@@ -182,4 +199,4 @@ MIT
|
|
|
182
199
|
<!-- mushi-readme-stats-footer -->
|
|
183
200
|
---
|
|
184
201
|
|
|
185
|
-
<sub>Monorepo scale (July 2026):
|
|
202
|
+
<sub>Monorepo scale (July 2026): 60 edge functions · 383 SQL migrations · 13 outbound plugins · 11 inbound adapters · 19 pipeline agents. Canonical counts: <a href="https://github.com/kensaurus/mushi-mushi/blob/master/docs/stats.md">docs/stats.md</a> · <code>pnpm docs-stats</code></sub>
|