@buoy-gg/jotai 7.0.34 → 7.0.35

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.
@@ -165,7 +165,7 @@ const styles = _reactNative.StyleSheet.create({
165
165
  absCountText: {
166
166
  fontSize: 9,
167
167
  fontWeight: "700",
168
- fontFamily: "monospace"
168
+ fontFamily: _sharedUi.monoFont
169
169
  },
170
170
  scrollContent: {
171
171
  paddingTop: 8,
@@ -194,6 +194,6 @@ const styles = _reactNative.StyleSheet.create({
194
194
  fontSize: 10,
195
195
  fontWeight: "700",
196
196
  color: _sharedUi.night.color.accent,
197
- fontFamily: "monospace"
197
+ fontFamily: _sharedUi.monoFont
198
198
  }
199
199
  });
@@ -481,7 +481,7 @@ const styles = _reactNative.StyleSheet.create({
481
481
  valueLabel: {
482
482
  fontSize: 10,
483
483
  color: _sharedUi.night.color.textSecondary,
484
- fontFamily: "monospace",
484
+ fontFamily: _sharedUi.monoFont,
485
485
  letterSpacing: 0.5,
486
486
  fontWeight: "600"
487
487
  },
@@ -498,7 +498,7 @@ const styles = _reactNative.StyleSheet.create({
498
498
  changeText: {
499
499
  fontSize: 9,
500
500
  fontWeight: "700",
501
- fontFamily: "monospace",
501
+ fontFamily: _sharedUi.monoFont,
502
502
  letterSpacing: 0.3
503
503
  },
504
504
  typeBadge: {
@@ -511,7 +511,7 @@ const styles = _reactNative.StyleSheet.create({
511
511
  fontSize: 9,
512
512
  fontWeight: "600",
513
513
  color: _sharedUi.night.color.textTertiary,
514
- fontFamily: "monospace"
514
+ fontFamily: _sharedUi.monoFont
515
515
  },
516
516
  valueBox: {
517
517
  // Inset code box — darker than the card, the night track color.
@@ -524,7 +524,7 @@ const styles = _reactNative.StyleSheet.create({
524
524
  valueText: {
525
525
  fontSize: 12,
526
526
  color: _sharedUi.night.color.text,
527
- fontFamily: "monospace",
527
+ fontFamily: _sharedUi.monoFont,
528
528
  lineHeight: 18
529
529
  },
530
530
  diffContainer: {
@@ -542,7 +542,7 @@ const styles = _reactNative.StyleSheet.create({
542
542
  changeTextSmall: {
543
543
  fontSize: 8,
544
544
  fontWeight: "700",
545
- fontFamily: "monospace"
545
+ fontFamily: _sharedUi.monoFont
546
546
  }
547
547
  });
548
548
  const infoStyles = _reactNative.StyleSheet.create({
@@ -588,7 +588,7 @@ const infoStyles = _reactNative.StyleSheet.create({
588
588
  fontWeight: "600",
589
589
  letterSpacing: 0.5,
590
590
  color: _sharedUi.night.color.accent,
591
- fontFamily: "monospace"
591
+ fontFamily: _sharedUi.monoFont
592
592
  },
593
593
  cardContent: {
594
594
  padding: 14,
@@ -613,7 +613,7 @@ const infoStyles = _reactNative.StyleSheet.create({
613
613
  marginLeft: 12
614
614
  },
615
615
  infoValueMono: {
616
- fontFamily: "monospace"
616
+ fontFamily: _sharedUi.monoFont
617
617
  },
618
618
  badgeRow: {
619
619
  flexDirection: "row",
@@ -673,7 +673,7 @@ const infoStyles = _reactNative.StyleSheet.create({
673
673
  fontSize: 11,
674
674
  fontWeight: "600",
675
675
  color: _sharedUi.night.color.accent,
676
- fontFamily: "monospace"
676
+ fontFamily: _sharedUi.monoFont
677
677
  },
678
678
  countBadge: {
679
679
  paddingHorizontal: 8,
@@ -685,7 +685,7 @@ const infoStyles = _reactNative.StyleSheet.create({
685
685
  fontSize: 9,
686
686
  fontWeight: "700",
687
687
  color: _sharedUi.night.color.accent,
688
- fontFamily: "monospace"
688
+ fontFamily: _sharedUi.monoFont
689
689
  },
690
690
  actionsRow: {
691
691
  flexDirection: "row",
@@ -704,7 +704,7 @@ const infoStyles = _reactNative.StyleSheet.create({
704
704
  actionButtonText: {
705
705
  fontSize: 10,
706
706
  fontWeight: "700",
707
- fontFamily: "monospace",
707
+ fontFamily: _sharedUi.monoFont,
708
708
  letterSpacing: 0.3
709
709
  },
710
710
  dataViewerContainer: {
@@ -364,7 +364,7 @@ const styles = _reactNative.StyleSheet.create({
364
364
  color: _sharedUi.night.color.accent,
365
365
  letterSpacing: 0.5,
366
366
  textTransform: "uppercase",
367
- fontFamily: "monospace"
367
+ fontFamily: _sharedUi.monoFont
368
368
  },
369
369
  rawButton: {
370
370
  flexDirection: "row",
@@ -411,7 +411,7 @@ const styles = _reactNative.StyleSheet.create({
411
411
  borderBottomColor: _sharedUi.night.color.border,
412
412
  letterSpacing: 0.5,
413
413
  textTransform: "uppercase",
414
- fontFamily: "monospace"
414
+ fontFamily: _sharedUi.monoFont
415
415
  },
416
416
  infoBody: {
417
417
  padding: 12,
@@ -424,13 +424,13 @@ const styles = _reactNative.StyleSheet.create({
424
424
  primitiveText: {
425
425
  color: _sharedUi.night.color.text,
426
426
  fontSize: 12,
427
- fontFamily: "monospace",
427
+ fontFamily: _sharedUi.monoFont,
428
428
  padding: 14
429
429
  },
430
430
  valueTypeText: {
431
431
  color: _sharedUi.night.color.textTertiary,
432
432
  fontSize: 10,
433
- fontFamily: "monospace",
433
+ fontFamily: _sharedUi.monoFont,
434
434
  marginLeft: 6
435
435
  },
436
436
  inlineLinkButton: {
@@ -439,6 +439,6 @@ const styles = _reactNative.StyleSheet.create({
439
439
  inlineLinkText: {
440
440
  fontSize: 10,
441
441
  fontWeight: "600",
442
- fontFamily: "monospace"
442
+ fontFamily: _sharedUi.monoFont
443
443
  }
444
444
  });
@@ -11,7 +11,7 @@
11
11
 
12
12
  import { useMemo } from "react";
13
13
  import { View, Text, StyleSheet, ScrollView } from "react-native";
14
- import { CompactRow, night, ToolEmptyState, resolveListEmptyState } from "@buoy-gg/shared-ui";
14
+ import { CompactRow, night, ToolEmptyState, resolveListEmptyState, monoFont } from "@buoy-gg/shared-ui";
15
15
  import { jotaiStateStore } from "../utils/jotaiStateStore";
16
16
  import { JOTAI_TEST_ID, atomRowTestID } from "../utils/testIDs";
17
17
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
@@ -161,7 +161,7 @@ const styles = StyleSheet.create({
161
161
  absCountText: {
162
162
  fontSize: 9,
163
163
  fontWeight: "700",
164
- fontFamily: "monospace"
164
+ fontFamily: monoFont
165
165
  },
166
166
  scrollContent: {
167
167
  paddingTop: 8,
@@ -190,6 +190,6 @@ const styles = StyleSheet.create({
190
190
  fontSize: 10,
191
191
  fontWeight: "700",
192
192
  color: night.color.accent,
193
- fontFamily: "monospace"
193
+ fontFamily: monoFont
194
194
  }
195
195
  });
@@ -13,7 +13,7 @@
13
13
 
14
14
  import React, { memo, useState, useCallback, useMemo } from "react";
15
15
  import { View, Text, StyleSheet, ScrollView } from "react-native";
16
- import { buoyColors, night, EventStepperFooter, formatRelativeTime, parseValue, Info, Zap, FileText, Database, GitBranch, copyToClipboard, ProUpgradeModal, DiffModeTabs, CompareBar, DetailViewToggle } from "@buoy-gg/shared-ui";
16
+ import { buoyColors, night, EventStepperFooter, formatRelativeTime, parseValue, Info, Zap, FileText, Database, GitBranch, copyToClipboard, ProUpgradeModal, DiffModeTabs, CompareBar, DetailViewToggle, monoFont } from "@buoy-gg/shared-ui";
17
17
  import { DataViewer, SplitDiffViewer, TreeDiffViewer, diffThemes } from "@buoy-gg/shared-ui/dataViewer";
18
18
  import { useIsPro } from "@buoy-gg/license";
19
19
  import { jotaiStateStore } from "../utils/jotaiStateStore";
@@ -476,7 +476,7 @@ const styles = StyleSheet.create({
476
476
  valueLabel: {
477
477
  fontSize: 10,
478
478
  color: night.color.textSecondary,
479
- fontFamily: "monospace",
479
+ fontFamily: monoFont,
480
480
  letterSpacing: 0.5,
481
481
  fontWeight: "600"
482
482
  },
@@ -493,7 +493,7 @@ const styles = StyleSheet.create({
493
493
  changeText: {
494
494
  fontSize: 9,
495
495
  fontWeight: "700",
496
- fontFamily: "monospace",
496
+ fontFamily: monoFont,
497
497
  letterSpacing: 0.3
498
498
  },
499
499
  typeBadge: {
@@ -506,7 +506,7 @@ const styles = StyleSheet.create({
506
506
  fontSize: 9,
507
507
  fontWeight: "600",
508
508
  color: night.color.textTertiary,
509
- fontFamily: "monospace"
509
+ fontFamily: monoFont
510
510
  },
511
511
  valueBox: {
512
512
  // Inset code box — darker than the card, the night track color.
@@ -519,7 +519,7 @@ const styles = StyleSheet.create({
519
519
  valueText: {
520
520
  fontSize: 12,
521
521
  color: night.color.text,
522
- fontFamily: "monospace",
522
+ fontFamily: monoFont,
523
523
  lineHeight: 18
524
524
  },
525
525
  diffContainer: {
@@ -537,7 +537,7 @@ const styles = StyleSheet.create({
537
537
  changeTextSmall: {
538
538
  fontSize: 8,
539
539
  fontWeight: "700",
540
- fontFamily: "monospace"
540
+ fontFamily: monoFont
541
541
  }
542
542
  });
543
543
  const infoStyles = StyleSheet.create({
@@ -583,7 +583,7 @@ const infoStyles = StyleSheet.create({
583
583
  fontWeight: "600",
584
584
  letterSpacing: 0.5,
585
585
  color: night.color.accent,
586
- fontFamily: "monospace"
586
+ fontFamily: monoFont
587
587
  },
588
588
  cardContent: {
589
589
  padding: 14,
@@ -608,7 +608,7 @@ const infoStyles = StyleSheet.create({
608
608
  marginLeft: 12
609
609
  },
610
610
  infoValueMono: {
611
- fontFamily: "monospace"
611
+ fontFamily: monoFont
612
612
  },
613
613
  badgeRow: {
614
614
  flexDirection: "row",
@@ -668,7 +668,7 @@ const infoStyles = StyleSheet.create({
668
668
  fontSize: 11,
669
669
  fontWeight: "600",
670
670
  color: night.color.accent,
671
- fontFamily: "monospace"
671
+ fontFamily: monoFont
672
672
  },
673
673
  countBadge: {
674
674
  paddingHorizontal: 8,
@@ -680,7 +680,7 @@ const infoStyles = StyleSheet.create({
680
680
  fontSize: 9,
681
681
  fontWeight: "700",
682
682
  color: night.color.accent,
683
- fontFamily: "monospace"
683
+ fontFamily: monoFont
684
684
  },
685
685
  actionsRow: {
686
686
  flexDirection: "row",
@@ -699,7 +699,7 @@ const infoStyles = StyleSheet.create({
699
699
  actionButtonText: {
700
700
  fontSize: 10,
701
701
  fontWeight: "700",
702
- fontFamily: "monospace",
702
+ fontFamily: monoFont,
703
703
  letterSpacing: 0.3
704
704
  },
705
705
  dataViewerContainer: {
@@ -34,7 +34,7 @@
34
34
 
35
35
  import { useCallback, useEffect, useMemo, useState } from "react";
36
36
  import { ScrollView, StyleSheet, Text, TouchableOpacity, View } from "react-native";
37
- import { buoyColors, ExpandedInfoRow, FileJson, night, PillBadge, parseValue } from "@buoy-gg/shared-ui";
37
+ import { buoyColors, ExpandedInfoRow, FileJson, night, PillBadge, parseValue, monoFont } from "@buoy-gg/shared-ui";
38
38
  import { DataViewer, LiveExplorer, ValueEditModal, updateNestedDataByPath, deleteNestedDataByPath } from "@buoy-gg/shared-ui/dataViewer";
39
39
  import { jotaiStateStore } from "../utils/jotaiStateStore";
40
40
  import { JOTAI_TEST_ID, atomRowTestID } from "../utils/testIDs";
@@ -362,7 +362,7 @@ const styles = StyleSheet.create({
362
362
  color: night.color.accent,
363
363
  letterSpacing: 0.5,
364
364
  textTransform: "uppercase",
365
- fontFamily: "monospace"
365
+ fontFamily: monoFont
366
366
  },
367
367
  rawButton: {
368
368
  flexDirection: "row",
@@ -409,7 +409,7 @@ const styles = StyleSheet.create({
409
409
  borderBottomColor: night.color.border,
410
410
  letterSpacing: 0.5,
411
411
  textTransform: "uppercase",
412
- fontFamily: "monospace"
412
+ fontFamily: monoFont
413
413
  },
414
414
  infoBody: {
415
415
  padding: 12,
@@ -422,13 +422,13 @@ const styles = StyleSheet.create({
422
422
  primitiveText: {
423
423
  color: night.color.text,
424
424
  fontSize: 12,
425
- fontFamily: "monospace",
425
+ fontFamily: monoFont,
426
426
  padding: 14
427
427
  },
428
428
  valueTypeText: {
429
429
  color: night.color.textTertiary,
430
430
  fontSize: 10,
431
- fontFamily: "monospace",
431
+ fontFamily: monoFont,
432
432
  marginLeft: 6
433
433
  },
434
434
  inlineLinkButton: {
@@ -437,6 +437,6 @@ const styles = StyleSheet.create({
437
437
  inlineLinkText: {
438
438
  fontSize: 10,
439
439
  fontWeight: "600",
440
- fontFamily: "monospace"
440
+ fontFamily: monoFont
441
441
  }
442
442
  });
@@ -1 +1 @@
1
- {"version":3,"file":"JotaiAtomBrowser.d.ts","sourceRoot":"","sources":["../../../../src/jotai/components/JotaiAtomBrowser.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAeH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAI9C,UAAU,qBAAqB;IAC7B,KAAK,EAAE,aAAa,EAAE,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,kDAAkD;IAClD,UAAU,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACrC;AAuDD,wBAAgB,gBAAgB,CAAC,EAC/B,KAAK,EACL,WAAW,EACX,UAAU,GACX,EAAE,qBAAqB,+BA4FvB"}
1
+ {"version":3,"file":"JotaiAtomBrowser.d.ts","sourceRoot":"","sources":["../../../../src/jotai/components/JotaiAtomBrowser.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAgBH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAI9C,UAAU,qBAAqB;IAC7B,KAAK,EAAE,aAAa,EAAE,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,kDAAkD;IAClD,UAAU,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACrC;AAuDD,wBAAgB,gBAAgB,CAAC,EAC/B,KAAK,EACL,WAAW,EACX,UAAU,GACX,EAAE,qBAAqB,+BA4FvB"}
@@ -1 +1 @@
1
- {"version":3,"file":"JotaiAtomDetailContent.d.ts","sourceRoot":"","sources":["../../../../src/jotai/components/JotaiAtomDetailContent.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAA+C,MAAM,OAAO,CAAC;AA4BpE,OAAO,KAAK,EACV,eAAe,EAEf,mBAAmB,EACpB,MAAM,UAAU,CAAC;AAwOlB,UAAU,2BAA2B;IACnC,MAAM,EAAE,eAAe,CAAC;IACxB,OAAO,EAAE,eAAe,EAAE,CAAC;IAC3B,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC;;;OAGG;IACH,WAAW,CAAC,EAAE,mBAAmB,CAAC;CACnC;AAED,wBAAgB,sBAAsB,CAAC,EACrC,MAAM,EACN,OAAO,EACP,aAAa,EACb,aAAa,EACb,qBAA6B,EAC7B,WAAsB,GACvB,EAAE,2BAA2B,qBAkL7B;AAED,wBAAgB,qBAAqB,CAAC,EACpC,MAAM,EACN,OAAO,EACP,aAAa,EACb,aAAa,GACd,EAAE;IACD,MAAM,EAAE,eAAe,CAAC;IACxB,OAAO,EAAE,eAAe,EAAE,CAAC;IAC3B,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACxC,4BAcA"}
1
+ {"version":3,"file":"JotaiAtomDetailContent.d.ts","sourceRoot":"","sources":["../../../../src/jotai/components/JotaiAtomDetailContent.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAA+C,MAAM,OAAO,CAAC;AA6BpE,OAAO,KAAK,EACV,eAAe,EAEf,mBAAmB,EACpB,MAAM,UAAU,CAAC;AAwOlB,UAAU,2BAA2B;IACnC,MAAM,EAAE,eAAe,CAAC;IACxB,OAAO,EAAE,eAAe,EAAE,CAAC;IAC3B,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC;;;OAGG;IACH,WAAW,CAAC,EAAE,mBAAmB,CAAC;CACnC;AAED,wBAAgB,sBAAsB,CAAC,EACrC,MAAM,EACN,OAAO,EACP,aAAa,EACb,aAAa,EACb,qBAA6B,EAC7B,WAAsB,GACvB,EAAE,2BAA2B,qBAkL7B;AAED,wBAAgB,qBAAqB,CAAC,EACpC,MAAM,EACN,OAAO,EACP,aAAa,EACb,aAAa,GACd,EAAE;IACD,MAAM,EAAE,eAAe,CAAC;IACxB,OAAO,EAAE,eAAe,EAAE,CAAC;IAC3B,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACxC,4BAcA"}
@@ -1 +1 @@
1
- {"version":3,"file":"JotaiAtomValueDetailContent.d.ts","sourceRoot":"","sources":["../../../../src/jotai/components/JotaiAtomValueDetailContent.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AA0BH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAoE9C,UAAU,gCAAgC;IACxC,IAAI,EAAE,aAAa,CAAC;IACpB,kEAAkE;IAClE,aAAa,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;CAC5C;AAED,wBAAgB,2BAA2B,CAAC,EAC1C,IAAI,EACJ,aAAa,GACd,EAAE,gCAAgC,+BA6OlC"}
1
+ {"version":3,"file":"JotaiAtomValueDetailContent.d.ts","sourceRoot":"","sources":["../../../../src/jotai/components/JotaiAtomValueDetailContent.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AA2BH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAoE9C,UAAU,gCAAgC;IACxC,IAAI,EAAE,aAAa,CAAC;IACpB,kEAAkE;IAClE,aAAa,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;CAC5C;AAED,wBAAgB,2BAA2B,CAAC,EAC1C,IAAI,EACJ,aAAa,GACd,EAAE,gCAAgC,+BA6OlC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@buoy-gg/jotai",
3
- "version": "7.0.34",
3
+ "version": "7.0.35",
4
4
  "description": "Jotai devtools inside your React Native app — every atom write shows prev → next, with per-atom history & live values. Part of Buoy devtools.",
5
5
  "main": "lib/commonjs/index.js",
6
6
  "module": "lib/module/index.js",
@@ -29,8 +29,8 @@
29
29
  "**/snapshotProvider.ts"
30
30
  ],
31
31
  "dependencies": {
32
- "@buoy-gg/shared-ui": "^7.0.34",
33
- "@buoy-gg/license": "^7.0.34"
32
+ "@buoy-gg/shared-ui": "^7.0.35",
33
+ "@buoy-gg/license": "^7.0.35"
34
34
  },
35
35
  "peerDependencies": {
36
36
  "jotai": ">=2.0.0",