@buoy-gg/shared-ui 7.0.27 → 7.0.29

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 (123) hide show
  1. package/lib/commonjs/JsModal.js +12 -2
  2. package/lib/commonjs/dataViewer/DataTreeActionDock.js +1 -0
  3. package/lib/commonjs/dataViewer/DataViewer.js +6 -3
  4. package/lib/commonjs/dataViewer/VirtualizedDataExplorer.js +13 -4
  5. package/lib/commonjs/hooks/safe-area-impl.js +1 -1
  6. package/lib/commonjs/license/FeatureGate.js +9 -0
  7. package/lib/commonjs/ui/backgrounds/registry.js +3 -2
  8. package/lib/commonjs/ui/backgrounds/variants/meteors.js +222 -78
  9. package/lib/commonjs/ui/components/Badge.js +3 -1
  10. package/lib/commonjs/ui/components/CompactRow.js +14 -1
  11. package/lib/commonjs/ui/components/CopyButton.js +9 -5
  12. package/lib/commonjs/ui/components/DevToolsCard.js +4 -1
  13. package/lib/commonjs/ui/components/DraggableHeader.js +5 -1
  14. package/lib/commonjs/ui/components/DynamicFilterView.js +23 -4
  15. package/lib/commonjs/ui/components/EventStepperFooter.js +8 -0
  16. package/lib/commonjs/ui/components/FilterComponents.js +18 -2
  17. package/lib/commonjs/ui/components/ModalHeader.js +27 -5
  18. package/lib/commonjs/ui/components/PowerToggleButton.js +2 -0
  19. package/lib/commonjs/ui/components/SearchBar.js +6 -1
  20. package/lib/commonjs/ui/components/SectionHeader.js +3 -1
  21. package/lib/commonjs/ui/components/TabSelector.js +15 -4
  22. package/lib/commonjs/ui/components/WindowControls.js +68 -96
  23. package/lib/commonjs/ui/gameUI/constants/gameUIColors.js +12 -8
  24. package/lib/module/JsModal.js +12 -2
  25. package/lib/module/dataViewer/DataTreeActionDock.js +1 -0
  26. package/lib/module/dataViewer/DataViewer.js +6 -3
  27. package/lib/module/dataViewer/VirtualizedDataExplorer.js +13 -4
  28. package/lib/module/hooks/safe-area-impl.js +1 -1
  29. package/lib/module/license/FeatureGate.js +9 -0
  30. package/lib/module/ui/backgrounds/registry.js +3 -2
  31. package/lib/module/ui/backgrounds/variants/meteors.js +224 -80
  32. package/lib/module/ui/components/Badge.js +3 -1
  33. package/lib/module/ui/components/CompactRow.js +14 -1
  34. package/lib/module/ui/components/CopyButton.js +9 -5
  35. package/lib/module/ui/components/DevToolsCard.js +4 -1
  36. package/lib/module/ui/components/DraggableHeader.js +5 -1
  37. package/lib/module/ui/components/DynamicFilterView.js +23 -4
  38. package/lib/module/ui/components/EventStepperFooter.js +8 -0
  39. package/lib/module/ui/components/FilterComponents.js +18 -2
  40. package/lib/module/ui/components/ModalHeader.js +27 -5
  41. package/lib/module/ui/components/PowerToggleButton.js +2 -0
  42. package/lib/module/ui/components/SearchBar.js +6 -1
  43. package/lib/module/ui/components/SectionHeader.js +3 -1
  44. package/lib/module/ui/components/TabSelector.js +15 -4
  45. package/lib/module/ui/components/WindowControls.js +69 -97
  46. package/lib/module/ui/gameUI/constants/gameUIColors.js +12 -8
  47. package/lib/typescript/commonjs/JsModal.d.ts.map +1 -1
  48. package/lib/typescript/commonjs/dataViewer/DataTreeActionDock.d.ts.map +1 -1
  49. package/lib/typescript/commonjs/dataViewer/DataViewer.d.ts +2 -0
  50. package/lib/typescript/commonjs/dataViewer/DataViewer.d.ts.map +1 -1
  51. package/lib/typescript/commonjs/dataViewer/VirtualizedDataExplorer.d.ts +9 -0
  52. package/lib/typescript/commonjs/dataViewer/VirtualizedDataExplorer.d.ts.map +1 -1
  53. package/lib/typescript/commonjs/hooks/safe-area-impl.d.ts +1 -1
  54. package/lib/typescript/commonjs/license/FeatureGate.d.ts.map +1 -1
  55. package/lib/typescript/commonjs/ui/backgrounds/registry.d.ts.map +1 -1
  56. package/lib/typescript/commonjs/ui/backgrounds/variants/meteors.d.ts +22 -6
  57. package/lib/typescript/commonjs/ui/backgrounds/variants/meteors.d.ts.map +1 -1
  58. package/lib/typescript/commonjs/ui/components/Badge.d.ts +3 -1
  59. package/lib/typescript/commonjs/ui/components/Badge.d.ts.map +1 -1
  60. package/lib/typescript/commonjs/ui/components/CompactRow.d.ts +7 -1
  61. package/lib/typescript/commonjs/ui/components/CompactRow.d.ts.map +1 -1
  62. package/lib/typescript/commonjs/ui/components/CopyButton.d.ts +5 -0
  63. package/lib/typescript/commonjs/ui/components/CopyButton.d.ts.map +1 -1
  64. package/lib/typescript/commonjs/ui/components/DevToolsCard.d.ts +3 -1
  65. package/lib/typescript/commonjs/ui/components/DevToolsCard.d.ts.map +1 -1
  66. package/lib/typescript/commonjs/ui/components/DraggableHeader.d.ts +2 -0
  67. package/lib/typescript/commonjs/ui/components/DraggableHeader.d.ts.map +1 -1
  68. package/lib/typescript/commonjs/ui/components/DynamicFilterView.d.ts.map +1 -1
  69. package/lib/typescript/commonjs/ui/components/EventStepperFooter.d.ts.map +1 -1
  70. package/lib/typescript/commonjs/ui/components/FilterComponents.d.ts +10 -2
  71. package/lib/typescript/commonjs/ui/components/FilterComponents.d.ts.map +1 -1
  72. package/lib/typescript/commonjs/ui/components/ModalHeader.d.ts +16 -2
  73. package/lib/typescript/commonjs/ui/components/ModalHeader.d.ts.map +1 -1
  74. package/lib/typescript/commonjs/ui/components/PowerToggleButton.d.ts +4 -1
  75. package/lib/typescript/commonjs/ui/components/PowerToggleButton.d.ts.map +1 -1
  76. package/lib/typescript/commonjs/ui/components/SearchBar.d.ts +7 -1
  77. package/lib/typescript/commonjs/ui/components/SearchBar.d.ts.map +1 -1
  78. package/lib/typescript/commonjs/ui/components/SectionHeader.d.ts +7 -1
  79. package/lib/typescript/commonjs/ui/components/SectionHeader.d.ts.map +1 -1
  80. package/lib/typescript/commonjs/ui/components/TabSelector.d.ts +20 -1
  81. package/lib/typescript/commonjs/ui/components/TabSelector.d.ts.map +1 -1
  82. package/lib/typescript/commonjs/ui/components/WindowControls.d.ts.map +1 -1
  83. package/lib/typescript/commonjs/ui/gameUI/constants/gameUIColors.d.ts +5 -0
  84. package/lib/typescript/commonjs/ui/gameUI/constants/gameUIColors.d.ts.map +1 -1
  85. package/lib/typescript/module/JsModal.d.ts.map +1 -1
  86. package/lib/typescript/module/dataViewer/DataTreeActionDock.d.ts.map +1 -1
  87. package/lib/typescript/module/dataViewer/DataViewer.d.ts +2 -0
  88. package/lib/typescript/module/dataViewer/DataViewer.d.ts.map +1 -1
  89. package/lib/typescript/module/dataViewer/VirtualizedDataExplorer.d.ts +9 -0
  90. package/lib/typescript/module/dataViewer/VirtualizedDataExplorer.d.ts.map +1 -1
  91. package/lib/typescript/module/hooks/safe-area-impl.d.ts +1 -1
  92. package/lib/typescript/module/license/FeatureGate.d.ts.map +1 -1
  93. package/lib/typescript/module/ui/backgrounds/registry.d.ts.map +1 -1
  94. package/lib/typescript/module/ui/backgrounds/variants/meteors.d.ts +22 -6
  95. package/lib/typescript/module/ui/backgrounds/variants/meteors.d.ts.map +1 -1
  96. package/lib/typescript/module/ui/components/Badge.d.ts +3 -1
  97. package/lib/typescript/module/ui/components/Badge.d.ts.map +1 -1
  98. package/lib/typescript/module/ui/components/CompactRow.d.ts +7 -1
  99. package/lib/typescript/module/ui/components/CompactRow.d.ts.map +1 -1
  100. package/lib/typescript/module/ui/components/CopyButton.d.ts +5 -0
  101. package/lib/typescript/module/ui/components/CopyButton.d.ts.map +1 -1
  102. package/lib/typescript/module/ui/components/DevToolsCard.d.ts +3 -1
  103. package/lib/typescript/module/ui/components/DevToolsCard.d.ts.map +1 -1
  104. package/lib/typescript/module/ui/components/DraggableHeader.d.ts +2 -0
  105. package/lib/typescript/module/ui/components/DraggableHeader.d.ts.map +1 -1
  106. package/lib/typescript/module/ui/components/DynamicFilterView.d.ts.map +1 -1
  107. package/lib/typescript/module/ui/components/EventStepperFooter.d.ts.map +1 -1
  108. package/lib/typescript/module/ui/components/FilterComponents.d.ts +10 -2
  109. package/lib/typescript/module/ui/components/FilterComponents.d.ts.map +1 -1
  110. package/lib/typescript/module/ui/components/ModalHeader.d.ts +16 -2
  111. package/lib/typescript/module/ui/components/ModalHeader.d.ts.map +1 -1
  112. package/lib/typescript/module/ui/components/PowerToggleButton.d.ts +4 -1
  113. package/lib/typescript/module/ui/components/PowerToggleButton.d.ts.map +1 -1
  114. package/lib/typescript/module/ui/components/SearchBar.d.ts +7 -1
  115. package/lib/typescript/module/ui/components/SearchBar.d.ts.map +1 -1
  116. package/lib/typescript/module/ui/components/SectionHeader.d.ts +7 -1
  117. package/lib/typescript/module/ui/components/SectionHeader.d.ts.map +1 -1
  118. package/lib/typescript/module/ui/components/TabSelector.d.ts +20 -1
  119. package/lib/typescript/module/ui/components/TabSelector.d.ts.map +1 -1
  120. package/lib/typescript/module/ui/components/WindowControls.d.ts.map +1 -1
  121. package/lib/typescript/module/ui/gameUI/constants/gameUIColors.d.ts +5 -0
  122. package/lib/typescript/module/ui/gameUI/constants/gameUIColors.d.ts.map +1 -1
  123. package/package.json +4 -4
@@ -1,11 +1,30 @@
1
1
  export interface Tab {
2
2
  key: string;
3
3
  label: string;
4
+ /**
5
+ * Dim the tab and refuse the press.
6
+ *
7
+ * The Render Highlighter's detail header has always passed this (its History
8
+ * tab is meaningless for a component with no recorded renders) and the strip
9
+ * silently dropped it: the flag never reached a prop, so the tab looked
10
+ * live, took the tap, and switched to a screen whose only content was an
11
+ * empty state. TypeScript could not catch it either — the tabs array is
12
+ * built as a variable, so no excess-property check ever ran on it.
13
+ */
14
+ disabled?: boolean;
4
15
  }
5
16
  interface TabSelectorProps {
6
17
  tabs: Tab[];
7
18
  activeTab: string;
8
19
  onTabChange: (tab: string) => void;
20
+ /**
21
+ * Per-tab handles: `${testIDPrefix}-${tab.key}`.
22
+ *
23
+ * A tab's label carries a live count ("Events (12)"), so matching one by
24
+ * label is matching a moving target — and on Fabric the label merges into
25
+ * the strip's accessibility container anyway.
26
+ */
27
+ testIDPrefix?: string;
9
28
  }
10
29
  /**
11
30
  * Header tab strip — the night segmented control (see ui/night): `#050505`
@@ -16,6 +35,6 @@ interface TabSelectorProps {
16
35
  * at its compact size — new night-native code should prefer that primitive;
17
36
  * this component exists so existing consumers convert without a code change.
18
37
  */
19
- export declare function TabSelector({ tabs, activeTab, onTabChange, }: TabSelectorProps): import("react").JSX.Element;
38
+ export declare function TabSelector({ tabs, activeTab, onTabChange, testIDPrefix, }: TabSelectorProps): import("react").JSX.Element;
20
39
  export {};
21
40
  //# 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;;;;;;;;GAQG;AACH,wBAAgB,WAAW,CAAC,EAC1B,IAAI,EACJ,SAAS,EACT,WAAW,GACZ,EAAE,gBAAgB,+BA2BlB"}
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;IACd;;;;;;;;;OASG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,UAAU,gBAAgB;IACxB,IAAI,EAAE,GAAG,EAAE,CAAC;IACZ,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC;;;;;;OAMG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;;;;;;;GAQG;AACH,wBAAgB,WAAW,CAAC,EAC1B,IAAI,EACJ,SAAS,EACT,WAAW,EACX,YAAY,GACb,EAAE,gBAAgB,+BAsClB"}
@@ -1 +1 @@
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"}
1
+ {"version":3,"file":"WindowControls.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/WindowControls.tsx"],"names":[],"mappings":"AASA,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,+BAuDrB"}
@@ -161,6 +161,11 @@ export declare const buoyColors: {
161
161
  readonly info: "#00B8E6";
162
162
  };
163
163
  export type BuoyColorKey = keyof typeof buoyColors;
164
+ /**
165
+ * LEGACY copy of the dial palette — the source of truth is `dialColors` in
166
+ * @buoy-gg/floating-tools-core (`src/dial.ts`); keep the two in sync.
167
+ * Values mirror the night theme (see `ui/night/nightTheme.ts`).
168
+ */
164
169
  export declare const dialColors: {
165
170
  dialBackground: string;
166
171
  dialGradient1: string;
@@ -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;;;IAIrB;;;;;;OAMG;;;;;;;;;;;;;;CAoBK,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;AAEnD;;;;GAIG;AACH,eAAO,MAAM,UAAU;;;;;;;;CAQtB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@buoy-gg/shared-ui",
3
- "version": "7.0.27",
3
+ "version": "7.0.29",
4
4
  "description": "Shared UI components, hooks, and utilities",
5
5
  "main": "lib/commonjs/index.js",
6
6
  "module": "lib/module/index.js",
@@ -136,10 +136,10 @@
136
136
  ],
137
137
  "sideEffects": false,
138
138
  "dependencies": {
139
- "@buoy-gg/floating-tools-core": "^7.0.27"
139
+ "@buoy-gg/floating-tools-core": "^7.0.29"
140
140
  },
141
141
  "peerDependencies": {
142
- "@buoy-gg/license": "7.0.27",
142
+ "@buoy-gg/license": "7.0.29",
143
143
  "@react-native-clipboard/clipboard": "*",
144
144
  "expo-clipboard": "*",
145
145
  "expo-file-system": "*",
@@ -167,7 +167,7 @@
167
167
  "expo-clipboard": "~7.1.5",
168
168
  "react-native-safe-area-context": "^5.6.2",
169
169
  "typescript": "~5.8.3",
170
- "@buoy-gg/license": "^7.0.27"
170
+ "@buoy-gg/license": "^7.0.29"
171
171
  },
172
172
  "react-native-builder-bob": {
173
173
  "source": "src",