@buoy-gg/shared-ui 7.0.32 → 7.0.34
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/lib/commonjs/JsModal.js +70 -28
- package/lib/commonjs/hooks/index.js +26 -0
- package/lib/commonjs/hooks/safe-area-impl.js +1 -1
- package/lib/commonjs/hooks/useChangeLog.js +55 -0
- package/lib/commonjs/hooks/useEventStoreEvents.js +65 -0
- package/lib/commonjs/hooks/usePersistedState.js +45 -10
- package/lib/commonjs/index.js +143 -0
- package/lib/commonjs/storage/definePersistedSetting.js +67 -0
- package/lib/commonjs/storage/devToolsStorageKeys.js +12 -0
- package/lib/commonjs/storage/index.js +8 -1
- package/lib/commonjs/stores/ChangeLog.js +197 -0
- package/lib/commonjs/stores/createToolStore.js +175 -0
- package/lib/commonjs/stores/index.js +15 -1
- package/lib/commonjs/sync/toolSyncAdapter.js +63 -0
- package/lib/commonjs/sync/wireForm.js +172 -0
- package/lib/commonjs/tools/defineTool.js +79 -0
- package/lib/commonjs/ui/components/ChangeRow.js +110 -0
- package/lib/commonjs/ui/components/ChipStrip.js +94 -0
- package/lib/commonjs/ui/components/DetailViewToggle.js +130 -0
- package/lib/commonjs/ui/components/DevToolsCard.js +3 -1
- package/lib/commonjs/ui/components/EmptyState.js +10 -2
- package/lib/commonjs/ui/components/EntityFilterView.js +354 -0
- package/lib/commonjs/ui/components/ExportPreview.js +174 -0
- package/lib/commonjs/ui/components/InfoRow.js +90 -0
- package/lib/commonjs/ui/components/ModalHeader.js +40 -7
- package/lib/commonjs/ui/components/Pill.js +114 -0
- package/lib/commonjs/ui/components/ToggleRow.js +116 -0
- package/lib/commonjs/ui/components/ToolEmptyState.js +154 -0
- package/lib/commonjs/ui/components/ToolFooter.js +204 -0
- package/lib/commonjs/ui/components/WindowControls.js +8 -5
- package/lib/commonjs/ui/components/index.js +113 -1
- package/lib/commonjs/ui/index.js +36 -2
- package/lib/commonjs/ui/listPresets.js +43 -0
- package/lib/commonjs/ui/night/primitives.js +3 -1
- package/lib/commonjs/ui/otto/OttoSprite.js +510 -0
- package/lib/commonjs/ui/otto/index.js +38 -0
- package/lib/commonjs/ui/otto/ottoEngine.js +2734 -0
- package/lib/commonjs/ui/otto/ottoSheet.js +191 -0
- package/lib/commonjs/utils/snapshotProviderKit.js +167 -0
- package/lib/commonjs/utils/stateTools.js +160 -0
- package/lib/module/JsModal.js +70 -28
- package/lib/module/hooks/index.js +3 -1
- package/lib/module/hooks/safe-area-impl.js +1 -1
- package/lib/module/hooks/useChangeLog.js +50 -0
- package/lib/module/hooks/useEventStoreEvents.js +61 -0
- package/lib/module/hooks/usePersistedState.js +44 -10
- package/lib/module/index.js +11 -1
- package/lib/module/storage/definePersistedSetting.js +63 -0
- package/lib/module/storage/devToolsStorageKeys.js +12 -0
- package/lib/module/storage/index.js +2 -1
- package/lib/module/stores/ChangeLog.js +192 -0
- package/lib/module/stores/createToolStore.js +171 -0
- package/lib/module/stores/index.js +3 -1
- package/lib/module/sync/toolSyncAdapter.js +58 -0
- package/lib/module/sync/wireForm.js +159 -0
- package/lib/module/tools/defineTool.js +74 -0
- package/lib/module/ui/components/ChangeRow.js +105 -0
- package/lib/module/ui/components/ChipStrip.js +91 -0
- package/lib/module/ui/components/DetailViewToggle.js +125 -0
- package/lib/module/ui/components/DevToolsCard.js +3 -1
- package/lib/module/ui/components/EmptyState.js +10 -2
- package/lib/module/ui/components/EntityFilterView.js +350 -0
- package/lib/module/ui/components/ExportPreview.js +169 -0
- package/lib/module/ui/components/InfoRow.js +86 -0
- package/lib/module/ui/components/ModalHeader.js +40 -7
- package/lib/module/ui/components/Pill.js +110 -0
- package/lib/module/ui/components/ToggleRow.js +112 -0
- package/lib/module/ui/components/ToolEmptyState.js +149 -0
- package/lib/module/ui/components/ToolFooter.js +196 -0
- package/lib/module/ui/components/WindowControls.js +8 -5
- package/lib/module/ui/components/index.js +13 -1
- package/lib/module/ui/index.js +7 -1
- package/lib/module/ui/listPresets.js +39 -0
- package/lib/module/ui/night/primitives.js +3 -1
- package/lib/module/ui/otto/OttoSprite.js +496 -0
- package/lib/module/ui/otto/index.js +20 -0
- package/lib/module/ui/otto/ottoEngine.js +2726 -0
- package/lib/module/ui/otto/ottoSheet.js +180 -0
- package/lib/module/utils/snapshotProviderKit.js +156 -0
- package/lib/module/utils/stateTools.js +154 -0
- package/lib/typescript/commonjs/JsModal.d.ts.map +1 -1
- package/lib/typescript/commonjs/hooks/index.d.ts +3 -1
- package/lib/typescript/commonjs/hooks/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/hooks/safe-area-impl.d.ts +1 -1
- package/lib/typescript/commonjs/hooks/useChangeLog.d.ts +38 -0
- package/lib/typescript/commonjs/hooks/useChangeLog.d.ts.map +1 -0
- package/lib/typescript/commonjs/hooks/useEventStoreEvents.d.ts +25 -0
- package/lib/typescript/commonjs/hooks/useEventStoreEvents.d.ts.map +1 -0
- package/lib/typescript/commonjs/hooks/usePersistedState.d.ts +34 -5
- package/lib/typescript/commonjs/hooks/usePersistedState.d.ts.map +1 -1
- package/lib/typescript/commonjs/index.d.ts +6 -1
- package/lib/typescript/commonjs/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/storage/definePersistedSetting.d.ts +39 -0
- package/lib/typescript/commonjs/storage/definePersistedSetting.d.ts.map +1 -0
- package/lib/typescript/commonjs/storage/devToolsStorageKeys.d.ts +12 -0
- package/lib/typescript/commonjs/storage/devToolsStorageKeys.d.ts.map +1 -1
- package/lib/typescript/commonjs/storage/index.d.ts +1 -0
- package/lib/typescript/commonjs/storage/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/stores/ChangeLog.d.ts +100 -0
- package/lib/typescript/commonjs/stores/ChangeLog.d.ts.map +1 -0
- package/lib/typescript/commonjs/stores/createToolStore.d.ts +92 -0
- package/lib/typescript/commonjs/stores/createToolStore.d.ts.map +1 -0
- package/lib/typescript/commonjs/stores/index.d.ts +2 -0
- package/lib/typescript/commonjs/stores/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/sync/toolSyncAdapter.d.ts +66 -0
- package/lib/typescript/commonjs/sync/toolSyncAdapter.d.ts.map +1 -0
- package/lib/typescript/commonjs/sync/wireForm.d.ts +100 -0
- package/lib/typescript/commonjs/sync/wireForm.d.ts.map +1 -0
- package/lib/typescript/commonjs/tools/defineTool.d.ts +100 -0
- package/lib/typescript/commonjs/tools/defineTool.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/ChangeRow.d.ts +52 -0
- package/lib/typescript/commonjs/ui/components/ChangeRow.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/ChipStrip.d.ts +41 -0
- package/lib/typescript/commonjs/ui/components/ChipStrip.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/DetailViewToggle.d.ts +36 -0
- package/lib/typescript/commonjs/ui/components/DetailViewToggle.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/DevToolsCard.d.ts +8 -1
- package/lib/typescript/commonjs/ui/components/DevToolsCard.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/EmptyState.d.ts +14 -1
- package/lib/typescript/commonjs/ui/components/EmptyState.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/EntityFilterView.d.ts +51 -0
- package/lib/typescript/commonjs/ui/components/EntityFilterView.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/ExportPreview.d.ts +48 -0
- package/lib/typescript/commonjs/ui/components/ExportPreview.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/InfoRow.d.ts +33 -0
- package/lib/typescript/commonjs/ui/components/InfoRow.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/ModalHeader.d.ts +31 -1
- package/lib/typescript/commonjs/ui/components/ModalHeader.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/Pill.d.ts +38 -0
- package/lib/typescript/commonjs/ui/components/Pill.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/ToggleRow.d.ts +33 -0
- package/lib/typescript/commonjs/ui/components/ToggleRow.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/ToolEmptyState.d.ts +113 -0
- package/lib/typescript/commonjs/ui/components/ToolEmptyState.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/ToolFooter.d.ts +69 -0
- package/lib/typescript/commonjs/ui/components/ToolFooter.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/WindowControls.d.ts +7 -1
- package/lib/typescript/commonjs/ui/components/WindowControls.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/index.d.ts +11 -0
- package/lib/typescript/commonjs/ui/components/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/index.d.ts +2 -0
- package/lib/typescript/commonjs/ui/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/listPresets.d.ts +28 -0
- package/lib/typescript/commonjs/ui/listPresets.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/night/primitives.d.ts +3 -1
- package/lib/typescript/commonjs/ui/night/primitives.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/otto/OttoSprite.d.ts +103 -0
- package/lib/typescript/commonjs/ui/otto/OttoSprite.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/otto/index.d.ts +19 -0
- package/lib/typescript/commonjs/ui/otto/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/otto/ottoEngine.d.ts +2205 -0
- package/lib/typescript/commonjs/ui/otto/ottoEngine.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/otto/ottoSheet.d.ts +73 -0
- package/lib/typescript/commonjs/ui/otto/ottoSheet.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/snapshotProviderKit.d.ts +81 -0
- package/lib/typescript/commonjs/utils/snapshotProviderKit.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/stateTools.d.ts +44 -0
- package/lib/typescript/commonjs/utils/stateTools.d.ts.map +1 -0
- package/lib/typescript/module/JsModal.d.ts.map +1 -1
- package/lib/typescript/module/hooks/index.d.ts +3 -1
- package/lib/typescript/module/hooks/index.d.ts.map +1 -1
- package/lib/typescript/module/hooks/safe-area-impl.d.ts +1 -1
- package/lib/typescript/module/hooks/useChangeLog.d.ts +38 -0
- package/lib/typescript/module/hooks/useChangeLog.d.ts.map +1 -0
- package/lib/typescript/module/hooks/useEventStoreEvents.d.ts +25 -0
- package/lib/typescript/module/hooks/useEventStoreEvents.d.ts.map +1 -0
- package/lib/typescript/module/hooks/usePersistedState.d.ts +34 -5
- package/lib/typescript/module/hooks/usePersistedState.d.ts.map +1 -1
- package/lib/typescript/module/index.d.ts +6 -1
- package/lib/typescript/module/index.d.ts.map +1 -1
- package/lib/typescript/module/storage/definePersistedSetting.d.ts +39 -0
- package/lib/typescript/module/storage/definePersistedSetting.d.ts.map +1 -0
- package/lib/typescript/module/storage/devToolsStorageKeys.d.ts +12 -0
- package/lib/typescript/module/storage/devToolsStorageKeys.d.ts.map +1 -1
- package/lib/typescript/module/storage/index.d.ts +1 -0
- package/lib/typescript/module/storage/index.d.ts.map +1 -1
- package/lib/typescript/module/stores/ChangeLog.d.ts +100 -0
- package/lib/typescript/module/stores/ChangeLog.d.ts.map +1 -0
- package/lib/typescript/module/stores/createToolStore.d.ts +92 -0
- package/lib/typescript/module/stores/createToolStore.d.ts.map +1 -0
- package/lib/typescript/module/stores/index.d.ts +2 -0
- package/lib/typescript/module/stores/index.d.ts.map +1 -1
- package/lib/typescript/module/sync/toolSyncAdapter.d.ts +66 -0
- package/lib/typescript/module/sync/toolSyncAdapter.d.ts.map +1 -0
- package/lib/typescript/module/sync/wireForm.d.ts +100 -0
- package/lib/typescript/module/sync/wireForm.d.ts.map +1 -0
- package/lib/typescript/module/tools/defineTool.d.ts +100 -0
- package/lib/typescript/module/tools/defineTool.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/ChangeRow.d.ts +52 -0
- package/lib/typescript/module/ui/components/ChangeRow.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/ChipStrip.d.ts +41 -0
- package/lib/typescript/module/ui/components/ChipStrip.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/DetailViewToggle.d.ts +36 -0
- package/lib/typescript/module/ui/components/DetailViewToggle.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/DevToolsCard.d.ts +8 -1
- package/lib/typescript/module/ui/components/DevToolsCard.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/EmptyState.d.ts +14 -1
- package/lib/typescript/module/ui/components/EmptyState.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/EntityFilterView.d.ts +51 -0
- package/lib/typescript/module/ui/components/EntityFilterView.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/ExportPreview.d.ts +48 -0
- package/lib/typescript/module/ui/components/ExportPreview.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/InfoRow.d.ts +33 -0
- package/lib/typescript/module/ui/components/InfoRow.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/ModalHeader.d.ts +31 -1
- package/lib/typescript/module/ui/components/ModalHeader.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/Pill.d.ts +38 -0
- package/lib/typescript/module/ui/components/Pill.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/ToggleRow.d.ts +33 -0
- package/lib/typescript/module/ui/components/ToggleRow.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/ToolEmptyState.d.ts +113 -0
- package/lib/typescript/module/ui/components/ToolEmptyState.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/ToolFooter.d.ts +69 -0
- package/lib/typescript/module/ui/components/ToolFooter.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/WindowControls.d.ts +7 -1
- package/lib/typescript/module/ui/components/WindowControls.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/index.d.ts +11 -0
- package/lib/typescript/module/ui/components/index.d.ts.map +1 -1
- package/lib/typescript/module/ui/index.d.ts +2 -0
- package/lib/typescript/module/ui/index.d.ts.map +1 -1
- package/lib/typescript/module/ui/listPresets.d.ts +28 -0
- package/lib/typescript/module/ui/listPresets.d.ts.map +1 -0
- package/lib/typescript/module/ui/night/primitives.d.ts +3 -1
- package/lib/typescript/module/ui/night/primitives.d.ts.map +1 -1
- package/lib/typescript/module/ui/otto/OttoSprite.d.ts +103 -0
- package/lib/typescript/module/ui/otto/OttoSprite.d.ts.map +1 -0
- package/lib/typescript/module/ui/otto/index.d.ts +19 -0
- package/lib/typescript/module/ui/otto/index.d.ts.map +1 -0
- package/lib/typescript/module/ui/otto/ottoEngine.d.ts +2205 -0
- package/lib/typescript/module/ui/otto/ottoEngine.d.ts.map +1 -0
- package/lib/typescript/module/ui/otto/ottoSheet.d.ts +73 -0
- package/lib/typescript/module/ui/otto/ottoSheet.d.ts.map +1 -0
- package/lib/typescript/module/utils/snapshotProviderKit.d.ts +81 -0
- package/lib/typescript/module/utils/snapshotProviderKit.d.ts.map +1 -0
- package/lib/typescript/module/utils/stateTools.d.ts +44 -0
- package/lib/typescript/module/utils/stateTools.d.ts.map +1 -0
- package/package.json +4 -4
|
@@ -33,6 +33,18 @@ Object.defineProperty(exports, "Badge", {
|
|
|
33
33
|
return _Badge.Badge;
|
|
34
34
|
}
|
|
35
35
|
});
|
|
36
|
+
Object.defineProperty(exports, "ChangeRow", {
|
|
37
|
+
enumerable: true,
|
|
38
|
+
get: function () {
|
|
39
|
+
return _ChangeRow.ChangeRow;
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
Object.defineProperty(exports, "ChipStrip", {
|
|
43
|
+
enumerable: true,
|
|
44
|
+
get: function () {
|
|
45
|
+
return _ChipStrip.ChipStrip;
|
|
46
|
+
}
|
|
47
|
+
});
|
|
36
48
|
Object.defineProperty(exports, "ClipboardHintBanner", {
|
|
37
49
|
enumerable: true,
|
|
38
50
|
get: function () {
|
|
@@ -93,6 +105,12 @@ Object.defineProperty(exports, "DetailView", {
|
|
|
93
105
|
return _DetailView.DetailView;
|
|
94
106
|
}
|
|
95
107
|
});
|
|
108
|
+
Object.defineProperty(exports, "DetailViewToggle", {
|
|
109
|
+
enumerable: true,
|
|
110
|
+
get: function () {
|
|
111
|
+
return _DetailViewToggle.DetailViewToggle;
|
|
112
|
+
}
|
|
113
|
+
});
|
|
96
114
|
Object.defineProperty(exports, "DevToolsCard", {
|
|
97
115
|
enumerable: true,
|
|
98
116
|
get: function () {
|
|
@@ -123,6 +141,12 @@ Object.defineProperty(exports, "EmptyState", {
|
|
|
123
141
|
return _EmptyState.EmptyState;
|
|
124
142
|
}
|
|
125
143
|
});
|
|
144
|
+
Object.defineProperty(exports, "EntityFilterView", {
|
|
145
|
+
enumerable: true,
|
|
146
|
+
get: function () {
|
|
147
|
+
return _EntityFilterView.EntityFilterView;
|
|
148
|
+
}
|
|
149
|
+
});
|
|
126
150
|
Object.defineProperty(exports, "EventHistoryViewer", {
|
|
127
151
|
enumerable: true,
|
|
128
152
|
get: function () {
|
|
@@ -159,6 +183,12 @@ Object.defineProperty(exports, "ExpandedInfoRow", {
|
|
|
159
183
|
return _ExpandedInfoRow.ExpandedInfoRow;
|
|
160
184
|
}
|
|
161
185
|
});
|
|
186
|
+
Object.defineProperty(exports, "ExportPreview", {
|
|
187
|
+
enumerable: true,
|
|
188
|
+
get: function () {
|
|
189
|
+
return _ExportPreview.ExportPreview;
|
|
190
|
+
}
|
|
191
|
+
});
|
|
162
192
|
Object.defineProperty(exports, "FilterBadge", {
|
|
163
193
|
enumerable: true,
|
|
164
194
|
get: function () {
|
|
@@ -177,6 +207,30 @@ Object.defineProperty(exports, "FilterSection", {
|
|
|
177
207
|
return _FilterComponents.FilterSection;
|
|
178
208
|
}
|
|
179
209
|
});
|
|
210
|
+
Object.defineProperty(exports, "FooterButton", {
|
|
211
|
+
enumerable: true,
|
|
212
|
+
get: function () {
|
|
213
|
+
return _ToolFooter.FooterButton;
|
|
214
|
+
}
|
|
215
|
+
});
|
|
216
|
+
Object.defineProperty(exports, "FooterCaption", {
|
|
217
|
+
enumerable: true,
|
|
218
|
+
get: function () {
|
|
219
|
+
return _ToolFooter.FooterCaption;
|
|
220
|
+
}
|
|
221
|
+
});
|
|
222
|
+
Object.defineProperty(exports, "FooterMessage", {
|
|
223
|
+
enumerable: true,
|
|
224
|
+
get: function () {
|
|
225
|
+
return _ToolFooter.FooterMessage;
|
|
226
|
+
}
|
|
227
|
+
});
|
|
228
|
+
Object.defineProperty(exports, "FooterRow", {
|
|
229
|
+
enumerable: true,
|
|
230
|
+
get: function () {
|
|
231
|
+
return _ToolFooter.FooterRow;
|
|
232
|
+
}
|
|
233
|
+
});
|
|
180
234
|
Object.defineProperty(exports, "GripVerticalIcon", {
|
|
181
235
|
enumerable: true,
|
|
182
236
|
get: function () {
|
|
@@ -189,6 +243,12 @@ Object.defineProperty(exports, "HeaderSearchButton", {
|
|
|
189
243
|
return _HeaderSearchButton.HeaderSearchButton;
|
|
190
244
|
}
|
|
191
245
|
});
|
|
246
|
+
Object.defineProperty(exports, "InfoRow", {
|
|
247
|
+
enumerable: true,
|
|
248
|
+
get: function () {
|
|
249
|
+
return _InfoRow.InfoRow;
|
|
250
|
+
}
|
|
251
|
+
});
|
|
192
252
|
Object.defineProperty(exports, "InlineCopyButton", {
|
|
193
253
|
enumerable: true,
|
|
194
254
|
get: function () {
|
|
@@ -237,6 +297,12 @@ Object.defineProperty(exports, "NoSearchResultsEmptyState", {
|
|
|
237
297
|
return _EmptyState.NoSearchResultsEmptyState;
|
|
238
298
|
}
|
|
239
299
|
});
|
|
300
|
+
Object.defineProperty(exports, "Pill", {
|
|
301
|
+
enumerable: true,
|
|
302
|
+
get: function () {
|
|
303
|
+
return _Pill.Pill;
|
|
304
|
+
}
|
|
305
|
+
});
|
|
240
306
|
Object.defineProperty(exports, "PillBadge", {
|
|
241
307
|
enumerable: true,
|
|
242
308
|
get: function () {
|
|
@@ -297,12 +363,30 @@ Object.defineProperty(exports, "TimeDisplay", {
|
|
|
297
363
|
return _TimeDisplay.TimeDisplay;
|
|
298
364
|
}
|
|
299
365
|
});
|
|
366
|
+
Object.defineProperty(exports, "ToggleRow", {
|
|
367
|
+
enumerable: true,
|
|
368
|
+
get: function () {
|
|
369
|
+
return _ToggleRow.ToggleRow;
|
|
370
|
+
}
|
|
371
|
+
});
|
|
300
372
|
Object.defineProperty(exports, "ToolButton", {
|
|
301
373
|
enumerable: true,
|
|
302
374
|
get: function () {
|
|
303
375
|
return _ToolButton.ToolButton;
|
|
304
376
|
}
|
|
305
377
|
});
|
|
378
|
+
Object.defineProperty(exports, "ToolEmptyState", {
|
|
379
|
+
enumerable: true,
|
|
380
|
+
get: function () {
|
|
381
|
+
return _ToolEmptyState.ToolEmptyState;
|
|
382
|
+
}
|
|
383
|
+
});
|
|
384
|
+
Object.defineProperty(exports, "ToolFooter", {
|
|
385
|
+
enumerable: true,
|
|
386
|
+
get: function () {
|
|
387
|
+
return _ToolFooter.ToolFooter;
|
|
388
|
+
}
|
|
389
|
+
});
|
|
306
390
|
Object.defineProperty(exports, "ToolbarClearButton", {
|
|
307
391
|
enumerable: true,
|
|
308
392
|
get: function () {
|
|
@@ -345,12 +429,30 @@ Object.defineProperty(exports, "noWindowDragProps", {
|
|
|
345
429
|
return _windowDrag.noWindowDragProps;
|
|
346
430
|
}
|
|
347
431
|
});
|
|
432
|
+
Object.defineProperty(exports, "resolveListEmptyState", {
|
|
433
|
+
enumerable: true,
|
|
434
|
+
get: function () {
|
|
435
|
+
return _ToolEmptyState.resolveListEmptyState;
|
|
436
|
+
}
|
|
437
|
+
});
|
|
348
438
|
Object.defineProperty(exports, "setExpandableWindowControls", {
|
|
349
439
|
enumerable: true,
|
|
350
440
|
get: function () {
|
|
351
441
|
return _WindowControls.setExpandableWindowControls;
|
|
352
442
|
}
|
|
353
443
|
});
|
|
444
|
+
Object.defineProperty(exports, "sizeWarningLevel", {
|
|
445
|
+
enumerable: true,
|
|
446
|
+
get: function () {
|
|
447
|
+
return _ExportPreview.sizeWarningLevel;
|
|
448
|
+
}
|
|
449
|
+
});
|
|
450
|
+
Object.defineProperty(exports, "useChipTap", {
|
|
451
|
+
enumerable: true,
|
|
452
|
+
get: function () {
|
|
453
|
+
return _ChipStrip.useChipTap;
|
|
454
|
+
}
|
|
455
|
+
});
|
|
354
456
|
Object.defineProperty(exports, "windowDragProps", {
|
|
355
457
|
enumerable: true,
|
|
356
458
|
get: function () {
|
|
@@ -378,6 +480,7 @@ var _CompactRow = require("./CompactRow.js");
|
|
|
378
480
|
var _DevToolsCard = require("./DevToolsCard.js");
|
|
379
481
|
var _HeaderSearchButton = require("./HeaderSearchButton.js");
|
|
380
482
|
var _EmptyState = require("./EmptyState.js");
|
|
483
|
+
var _ToolEmptyState = require("./ToolEmptyState.js");
|
|
381
484
|
var _StatusIndicator = require("./StatusIndicator.js");
|
|
382
485
|
var _TimeDisplay = require("./TimeDisplay.js");
|
|
383
486
|
var _DetailView = require("./DetailView.js");
|
|
@@ -392,4 +495,13 @@ var _EventStepperFooter = require("./EventStepperFooter.js");
|
|
|
392
495
|
var _ExpandablePopover = require("./ExpandablePopover.js");
|
|
393
496
|
var _PowerToggleButton = require("./PowerToggleButton.js");
|
|
394
497
|
var _ExpandedInfoRow = require("./ExpandedInfoRow.js");
|
|
395
|
-
var _index = require("./EventHistoryViewer/index.js");
|
|
498
|
+
var _index = require("./EventHistoryViewer/index.js");
|
|
499
|
+
var _InfoRow = require("./InfoRow.js");
|
|
500
|
+
var _DetailViewToggle = require("./DetailViewToggle.js");
|
|
501
|
+
var _ChangeRow = require("./ChangeRow.js");
|
|
502
|
+
var _Pill = require("./Pill.js");
|
|
503
|
+
var _ToolFooter = require("./ToolFooter.js");
|
|
504
|
+
var _EntityFilterView = require("./EntityFilterView.js");
|
|
505
|
+
var _ToggleRow = require("./ToggleRow.js");
|
|
506
|
+
var _ChipStrip = require("./ChipStrip.js");
|
|
507
|
+
var _ExportPreview = require("./ExportPreview.js");
|
package/lib/commonjs/ui/index.js
CHANGED
|
@@ -5,14 +5,35 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
var _exportNames = {
|
|
7
7
|
toolTheme: true,
|
|
8
|
-
CyberpunkSectionButton: true
|
|
8
|
+
CyberpunkSectionButton: true,
|
|
9
|
+
EVENT_LIST_PRESET: true,
|
|
10
|
+
LOG_LIST_PRESET: true,
|
|
11
|
+
CLIP_OFFSCREEN_CELLS: true
|
|
9
12
|
};
|
|
13
|
+
Object.defineProperty(exports, "CLIP_OFFSCREEN_CELLS", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function () {
|
|
16
|
+
return _listPresets.CLIP_OFFSCREEN_CELLS;
|
|
17
|
+
}
|
|
18
|
+
});
|
|
10
19
|
Object.defineProperty(exports, "CyberpunkSectionButton", {
|
|
11
20
|
enumerable: true,
|
|
12
21
|
get: function () {
|
|
13
22
|
return _CyberpunkSectionButton.CyberpunkSectionButton;
|
|
14
23
|
}
|
|
15
24
|
});
|
|
25
|
+
Object.defineProperty(exports, "EVENT_LIST_PRESET", {
|
|
26
|
+
enumerable: true,
|
|
27
|
+
get: function () {
|
|
28
|
+
return _listPresets.EVENT_LIST_PRESET;
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
Object.defineProperty(exports, "LOG_LIST_PRESET", {
|
|
32
|
+
enumerable: true,
|
|
33
|
+
get: function () {
|
|
34
|
+
return _listPresets.LOG_LIST_PRESET;
|
|
35
|
+
}
|
|
36
|
+
});
|
|
16
37
|
Object.defineProperty(exports, "toolTheme", {
|
|
17
38
|
enumerable: true,
|
|
18
39
|
get: function () {
|
|
@@ -56,4 +77,17 @@ Object.keys(_index3).forEach(function (key) {
|
|
|
56
77
|
return _index3[key];
|
|
57
78
|
}
|
|
58
79
|
});
|
|
59
|
-
});
|
|
80
|
+
});
|
|
81
|
+
var _index4 = require("./otto/index.js");
|
|
82
|
+
Object.keys(_index4).forEach(function (key) {
|
|
83
|
+
if (key === "default" || key === "__esModule") return;
|
|
84
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
85
|
+
if (key in exports && exports[key] === _index4[key]) return;
|
|
86
|
+
Object.defineProperty(exports, key, {
|
|
87
|
+
enumerable: true,
|
|
88
|
+
get: function () {
|
|
89
|
+
return _index4[key];
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
});
|
|
93
|
+
var _listPresets = require("./listPresets.js");
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.LOG_LIST_PRESET = exports.EVENT_LIST_PRESET = exports.CLIP_OFFSCREEN_CELLS = void 0;
|
|
7
|
+
/**
|
|
8
|
+
* FlatList presets for tool lists — the tuned window/batch values and the
|
|
9
|
+
* E2E clipping guard that eleven list sites carried as copy-pasted props.
|
|
10
|
+
*
|
|
11
|
+
* Spread them onto a FlatList: `<FlatList {...EVENT_LIST_PRESET} … />`.
|
|
12
|
+
* A tool that later moves to FlashList changes this file, not eleven.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* `removeClippedSubviews` is off in E2E bundles: clipped rows leave the
|
|
17
|
+
* hierarchy entirely, so a row past the fold reads to the test as "the tool
|
|
18
|
+
* stopped capturing".
|
|
19
|
+
*/
|
|
20
|
+
const CLIP_OFFSCREEN_CELLS = exports.CLIP_OFFSCREEN_CELLS = !(typeof process !== "undefined" && process.env?.EXPO_PUBLIC_E2E);
|
|
21
|
+
/**
|
|
22
|
+
* Event / change / request lists: rows are tall-ish and arrive in bursts.
|
|
23
|
+
* Window and batch values are the "tuned" winner of the buoy-optimize
|
|
24
|
+
* batch run on the network tool (2026-07-06, batch-1783396983529-6l7w).
|
|
25
|
+
*/
|
|
26
|
+
const EVENT_LIST_PRESET = exports.EVENT_LIST_PRESET = {
|
|
27
|
+
initialNumToRender: 12,
|
|
28
|
+
maxToRenderPerBatch: 8,
|
|
29
|
+
windowSize: 5,
|
|
30
|
+
updateCellsBatchingPeriod: 50,
|
|
31
|
+
removeClippedSubviews: CLIP_OFFSCREEN_CELLS
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Log tails (console, sentry): rows are short single lines, the list is
|
|
36
|
+
* read from the bottom, and a scroll-to-end must not land on blank cells.
|
|
37
|
+
*/
|
|
38
|
+
const LOG_LIST_PRESET = exports.LOG_LIST_PRESET = {
|
|
39
|
+
initialNumToRender: 30,
|
|
40
|
+
maxToRenderPerBatch: 30,
|
|
41
|
+
windowSize: 21,
|
|
42
|
+
removeClippedSubviews: CLIP_OFFSCREEN_CELLS
|
|
43
|
+
};
|
|
@@ -167,12 +167,14 @@ function NightChip({
|
|
|
167
167
|
selected,
|
|
168
168
|
onPress,
|
|
169
169
|
disabled,
|
|
170
|
-
icon
|
|
170
|
+
icon,
|
|
171
|
+
testID
|
|
171
172
|
}) {
|
|
172
173
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.TouchableOpacity, {
|
|
173
174
|
activeOpacity: 0.7,
|
|
174
175
|
disabled: disabled || !onPress,
|
|
175
176
|
onPress: onPress,
|
|
177
|
+
testID: testID,
|
|
176
178
|
style: [styles.chip, selected ? styles.chipSelected : null, disabled ? styles.chipDisabled : null],
|
|
177
179
|
children: [icon, /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
178
180
|
style: [styles.chipText, selected ? styles.chipTextSelected : null],
|