@buoy-gg/impersonate 7.0.33 → 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.
@@ -39,51 +39,40 @@ function ToggleRow({
39
39
  dangerous,
40
40
  detected
41
41
  }) {
42
- return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
43
- style: styles.toggleRow,
44
- children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
45
- style: styles.toggleInfo,
46
- children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
47
- style: styles.toggleHeader,
48
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
49
- style: [styles.toggleLabel, dangerous && styles.dangerousLabel],
50
- children: label
51
- }), detected !== undefined && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
52
- style: [styles.detectedBadge, detected ? styles.detectedBadgeActive : styles.detectedBadgeInactive],
53
- children: [detected ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.Check, {
54
- size: 10,
55
- color: _sharedUi.buoyColors.success
56
- }) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.X, {
57
- size: 10,
58
- color: _sharedUi.night.color.textTertiary
59
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
60
- style: [styles.detectedText, detected ? styles.detectedTextActive : styles.detectedTextInactive],
61
- children: detected ? "Detected" : "Not Detected"
62
- })]
63
- }), recommended && detected !== false && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
64
- style: styles.recommendedBadge,
65
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.Zap, {
66
- size: 10,
67
- color: _sharedUi.night.color.accent
68
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
69
- style: styles.recommendedText,
70
- children: "Recommended"
71
- })]
72
- })]
42
+ const accessory = /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
43
+ children: [detected !== undefined && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
44
+ style: [styles.detectedBadge, detected ? styles.detectedBadgeActive : styles.detectedBadgeInactive],
45
+ children: [detected ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.Check, {
46
+ size: 10,
47
+ color: _sharedUi.buoyColors.success
48
+ }) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.X, {
49
+ size: 10,
50
+ color: _sharedUi.night.color.textTertiary
73
51
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
74
- style: styles.toggleDescription,
75
- children: description
52
+ style: [styles.detectedText, detected ? styles.detectedTextActive : styles.detectedTextInactive],
53
+ children: detected ? "Detected" : "Not Detected"
54
+ })]
55
+ }), recommended && detected !== false && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
56
+ style: styles.recommendedBadge,
57
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.Zap, {
58
+ size: 10,
59
+ color: _sharedUi.night.color.accent
60
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
61
+ style: styles.recommendedText,
62
+ children: "Recommended"
76
63
  })]
77
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Switch, {
78
- value: value,
79
- onValueChange: onChange,
80
- trackColor: {
81
- false: _sharedUi.night.color.border,
82
- true: dangerous ? _sharedUi.night.color.warning + "50" : _sharedUi.night.color.accent + "50"
83
- },
84
- thumbColor: value ? dangerous ? _sharedUi.night.color.warning : _sharedUi.night.color.accent : _sharedUi.night.color.knob
85
64
  })]
86
65
  });
66
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.ToggleRow, {
67
+ variant: "plain",
68
+ label: label,
69
+ description: description,
70
+ value: value,
71
+ onValueChange: onChange,
72
+ tone: dangerous ? "warning" : "accent",
73
+ emphasizeLabel: dangerous,
74
+ accessory: accessory
75
+ });
87
76
  }
88
77
  function DataNukeSettings({
89
78
  headerKey,
@@ -560,31 +549,6 @@ const styles = _reactNative.StyleSheet.create({
560
549
  color: _sharedUi.night.color.accent,
561
550
  fontWeight: "500"
562
551
  },
563
- toggleRow: {
564
- flexDirection: "row",
565
- alignItems: "center",
566
- justifyContent: "space-between",
567
- paddingVertical: 12,
568
- paddingHorizontal: 12
569
- },
570
- toggleInfo: {
571
- flex: 1,
572
- marginRight: 12
573
- },
574
- toggleHeader: {
575
- flexDirection: "row",
576
- alignItems: "center",
577
- gap: 8,
578
- marginBottom: 3
579
- },
580
- toggleLabel: {
581
- fontSize: 14,
582
- fontWeight: "500",
583
- color: _sharedUi.night.color.text
584
- },
585
- dangerousLabel: {
586
- color: _sharedUi.night.color.warning
587
- },
588
552
  recommendedBadge: {
589
553
  flexDirection: "row",
590
554
  alignItems: "center",
@@ -623,11 +587,6 @@ const styles = _reactNative.StyleSheet.create({
623
587
  detectedTextInactive: {
624
588
  color: _sharedUi.night.color.textTertiary
625
589
  },
626
- toggleDescription: {
627
- fontSize: 12,
628
- color: _sharedUi.night.color.textTertiary,
629
- lineHeight: 16
630
- },
631
590
  divider: {
632
591
  height: 1,
633
592
  backgroundColor: _sharedUi.night.color.separator,
@@ -177,54 +177,23 @@ function ImpersonateModal({
177
177
  onBack: onBack
178
178
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.ModalHeader.Content, {
179
179
  title: "",
180
- children: isSearchActive ? /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
181
- style: styles.headerSearchContainer,
182
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.Search, {
183
- size: 14,
184
- color: _sharedUi.night.color.textSecondary
185
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TextInput, {
186
- ref: searchInputRef,
187
- testID: "buoy-impersonate-search-input",
188
- style: styles.headerSearchInput,
189
- placeholder: "Search by email, name, or ID...",
190
- placeholderTextColor: _sharedUi.night.color.placeholder,
191
- value: searchText,
192
- onChangeText: handleSearchTextChange,
193
- onSubmitEditing: handleSubmitSearch,
194
- onBlur: () => {
195
- if (!clearPressRef.current) setIsSearchActive(false);
196
- },
197
- autoCapitalize: "none",
198
- autoCorrect: false,
199
- returnKeyType: "search"
200
- }), searchText.length > 0 ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity
201
- // react-native-web delays press-in ~50ms by default (native
202
- // fires it immediately), which would put it AFTER the blur.
203
- , {
204
- delayPressIn: 0,
205
- onPressIn: () => {
206
- clearPressRef.current = true;
207
- },
208
- onPressOut: () => {
209
- clearPressRef.current = false;
210
- },
211
- onPress: () => {
212
- setSearchText("");
213
- setIsSearchActive(false);
214
- },
215
- style: styles.headerSearchClear,
216
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.X, {
217
- size: 14,
218
- color: _sharedUi.night.color.textSecondary
219
- })
220
- }) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
221
- onPress: () => setIsSearchActive(false),
222
- style: styles.headerSearchClear,
223
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.X, {
224
- size: 14,
225
- color: _sharedUi.night.color.textTertiary
226
- })
227
- })]
180
+ children: isSearchActive ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.ModalHeader.Search, {
181
+ value: searchText,
182
+ onChangeText: handleSearchTextChange
183
+ // ✕ clears and closes; with no text it simply closes.
184
+ ,
185
+ onCancel: () => {
186
+ setSearchText("");
187
+ setIsSearchActive(false);
188
+ },
189
+ onDismiss: () => setIsSearchActive(false),
190
+ dismissOnBlur: true,
191
+ placeholder: "Search by email, name, or ID...",
192
+ iconSize: 14,
193
+ testID: "buoy-impersonate-search-input",
194
+ inputProps: {
195
+ onSubmitEditing: handleSubmitSearch
196
+ }
228
197
  }) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.TabSelector, {
229
198
  tabs: tabs,
230
199
  activeTab: activeTab,
@@ -339,30 +308,6 @@ const styles = _reactNative.StyleSheet.create({
339
308
  container: {
340
309
  flex: 1
341
310
  },
342
- headerSearchContainer: {
343
- flexDirection: "row",
344
- alignItems: "center",
345
- backgroundColor: _sharedUi.night.color.surfaceElevated,
346
- borderRadius: 6,
347
- borderWidth: 1,
348
- borderColor: _sharedUi.night.color.border,
349
- paddingHorizontal: 12,
350
- paddingVertical: 8,
351
- marginTop: 8,
352
- flex: 1,
353
- marginBottom: 2
354
- },
355
- headerSearchInput: {
356
- flex: 1,
357
- color: _sharedUi.night.color.text,
358
- fontSize: 13,
359
- marginLeft: 6,
360
- paddingVertical: 2
361
- },
362
- headerSearchClear: {
363
- marginLeft: 6,
364
- padding: 4
365
- },
366
311
  headerActionButton: {
367
312
  width: 28,
368
313
  height: 28,
@@ -8,8 +8,8 @@
8
8
  */
9
9
 
10
10
  import React, { useState, useEffect, useMemo } from "react";
11
- import { View, Text, TextInput, StyleSheet, Switch, ScrollView, TouchableOpacity } from "react-native";
12
- import { CollapsibleSection, buoyColors, night, Settings, AlertTriangle, Info, Zap, RefreshCw, Check, X, Copy, Eye, copyToClipboard } from "@buoy-gg/shared-ui";
11
+ import { View, Text, TextInput, StyleSheet, ScrollView, TouchableOpacity } from "react-native";
12
+ import { CollapsibleSection, buoyColors, night, Settings, AlertTriangle, Info, Zap, RefreshCw, Check, X, Copy, Eye, copyToClipboard, ToggleRow as SharedToggleRow } from "@buoy-gg/shared-ui";
13
13
  import { DataViewer } from "@buoy-gg/shared-ui/dataViewer";
14
14
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
15
15
  const DEFAULT_HEADER_KEY = "x-impersonate-user-id";
@@ -34,51 +34,40 @@ function ToggleRow({
34
34
  dangerous,
35
35
  detected
36
36
  }) {
37
- return /*#__PURE__*/_jsxs(View, {
38
- style: styles.toggleRow,
39
- children: [/*#__PURE__*/_jsxs(View, {
40
- style: styles.toggleInfo,
41
- children: [/*#__PURE__*/_jsxs(View, {
42
- style: styles.toggleHeader,
43
- children: [/*#__PURE__*/_jsx(Text, {
44
- style: [styles.toggleLabel, dangerous && styles.dangerousLabel],
45
- children: label
46
- }), detected !== undefined && /*#__PURE__*/_jsxs(View, {
47
- style: [styles.detectedBadge, detected ? styles.detectedBadgeActive : styles.detectedBadgeInactive],
48
- children: [detected ? /*#__PURE__*/_jsx(Check, {
49
- size: 10,
50
- color: buoyColors.success
51
- }) : /*#__PURE__*/_jsx(X, {
52
- size: 10,
53
- color: night.color.textTertiary
54
- }), /*#__PURE__*/_jsx(Text, {
55
- style: [styles.detectedText, detected ? styles.detectedTextActive : styles.detectedTextInactive],
56
- children: detected ? "Detected" : "Not Detected"
57
- })]
58
- }), recommended && detected !== false && /*#__PURE__*/_jsxs(View, {
59
- style: styles.recommendedBadge,
60
- children: [/*#__PURE__*/_jsx(Zap, {
61
- size: 10,
62
- color: night.color.accent
63
- }), /*#__PURE__*/_jsx(Text, {
64
- style: styles.recommendedText,
65
- children: "Recommended"
66
- })]
67
- })]
37
+ const accessory = /*#__PURE__*/_jsxs(_Fragment, {
38
+ children: [detected !== undefined && /*#__PURE__*/_jsxs(View, {
39
+ style: [styles.detectedBadge, detected ? styles.detectedBadgeActive : styles.detectedBadgeInactive],
40
+ children: [detected ? /*#__PURE__*/_jsx(Check, {
41
+ size: 10,
42
+ color: buoyColors.success
43
+ }) : /*#__PURE__*/_jsx(X, {
44
+ size: 10,
45
+ color: night.color.textTertiary
68
46
  }), /*#__PURE__*/_jsx(Text, {
69
- style: styles.toggleDescription,
70
- children: description
47
+ style: [styles.detectedText, detected ? styles.detectedTextActive : styles.detectedTextInactive],
48
+ children: detected ? "Detected" : "Not Detected"
49
+ })]
50
+ }), recommended && detected !== false && /*#__PURE__*/_jsxs(View, {
51
+ style: styles.recommendedBadge,
52
+ children: [/*#__PURE__*/_jsx(Zap, {
53
+ size: 10,
54
+ color: night.color.accent
55
+ }), /*#__PURE__*/_jsx(Text, {
56
+ style: styles.recommendedText,
57
+ children: "Recommended"
71
58
  })]
72
- }), /*#__PURE__*/_jsx(Switch, {
73
- value: value,
74
- onValueChange: onChange,
75
- trackColor: {
76
- false: night.color.border,
77
- true: dangerous ? night.color.warning + "50" : night.color.accent + "50"
78
- },
79
- thumbColor: value ? dangerous ? night.color.warning : night.color.accent : night.color.knob
80
59
  })]
81
60
  });
61
+ return /*#__PURE__*/_jsx(SharedToggleRow, {
62
+ variant: "plain",
63
+ label: label,
64
+ description: description,
65
+ value: value,
66
+ onValueChange: onChange,
67
+ tone: dangerous ? "warning" : "accent",
68
+ emphasizeLabel: dangerous,
69
+ accessory: accessory
70
+ });
82
71
  }
83
72
  export function DataNukeSettings({
84
73
  headerKey,
@@ -555,31 +544,6 @@ const styles = StyleSheet.create({
555
544
  color: night.color.accent,
556
545
  fontWeight: "500"
557
546
  },
558
- toggleRow: {
559
- flexDirection: "row",
560
- alignItems: "center",
561
- justifyContent: "space-between",
562
- paddingVertical: 12,
563
- paddingHorizontal: 12
564
- },
565
- toggleInfo: {
566
- flex: 1,
567
- marginRight: 12
568
- },
569
- toggleHeader: {
570
- flexDirection: "row",
571
- alignItems: "center",
572
- gap: 8,
573
- marginBottom: 3
574
- },
575
- toggleLabel: {
576
- fontSize: 14,
577
- fontWeight: "500",
578
- color: night.color.text
579
- },
580
- dangerousLabel: {
581
- color: night.color.warning
582
- },
583
547
  recommendedBadge: {
584
548
  flexDirection: "row",
585
549
  alignItems: "center",
@@ -618,11 +582,6 @@ const styles = StyleSheet.create({
618
582
  detectedTextInactive: {
619
583
  color: night.color.textTertiary
620
584
  },
621
- toggleDescription: {
622
- fontSize: 12,
623
- color: night.color.textTertiary,
624
- lineHeight: 16
625
- },
626
585
  divider: {
627
586
  height: 1,
628
587
  backgroundColor: night.color.separator,
@@ -8,8 +8,8 @@
8
8
  */
9
9
 
10
10
  import React, { useState, useCallback, useRef, useEffect } from "react";
11
- import { View, StyleSheet, TouchableOpacity, TextInput } from "react-native";
12
- import { JsModal as JsModalBase, TabSelector, ModalHeader, buoyColors, night, Search, X, TickProvider, windowDragProps } from "@buoy-gg/shared-ui";
11
+ import { View, StyleSheet, TouchableOpacity } from "react-native";
12
+ import { JsModal as JsModalBase, TabSelector, ModalHeader, buoyColors, night, Search, TickProvider, windowDragProps } from "@buoy-gg/shared-ui";
13
13
  import { useImpersonate } from "../hooks/useImpersonate";
14
14
  import { useAutoClearReactQuery } from "../hooks/useAutoClearReactQuery";
15
15
  import { useAutoClearRedux } from "../hooks/useAutoClearRedux";
@@ -172,54 +172,23 @@ export function ImpersonateModal({
172
172
  onBack: onBack
173
173
  }), /*#__PURE__*/_jsx(ModalHeader.Content, {
174
174
  title: "",
175
- children: isSearchActive ? /*#__PURE__*/_jsxs(View, {
176
- style: styles.headerSearchContainer,
177
- children: [/*#__PURE__*/_jsx(Search, {
178
- size: 14,
179
- color: night.color.textSecondary
180
- }), /*#__PURE__*/_jsx(TextInput, {
181
- ref: searchInputRef,
182
- testID: "buoy-impersonate-search-input",
183
- style: styles.headerSearchInput,
184
- placeholder: "Search by email, name, or ID...",
185
- placeholderTextColor: night.color.placeholder,
186
- value: searchText,
187
- onChangeText: handleSearchTextChange,
188
- onSubmitEditing: handleSubmitSearch,
189
- onBlur: () => {
190
- if (!clearPressRef.current) setIsSearchActive(false);
191
- },
192
- autoCapitalize: "none",
193
- autoCorrect: false,
194
- returnKeyType: "search"
195
- }), searchText.length > 0 ? /*#__PURE__*/_jsx(TouchableOpacity
196
- // react-native-web delays press-in ~50ms by default (native
197
- // fires it immediately), which would put it AFTER the blur.
198
- , {
199
- delayPressIn: 0,
200
- onPressIn: () => {
201
- clearPressRef.current = true;
202
- },
203
- onPressOut: () => {
204
- clearPressRef.current = false;
205
- },
206
- onPress: () => {
207
- setSearchText("");
208
- setIsSearchActive(false);
209
- },
210
- style: styles.headerSearchClear,
211
- children: /*#__PURE__*/_jsx(X, {
212
- size: 14,
213
- color: night.color.textSecondary
214
- })
215
- }) : /*#__PURE__*/_jsx(TouchableOpacity, {
216
- onPress: () => setIsSearchActive(false),
217
- style: styles.headerSearchClear,
218
- children: /*#__PURE__*/_jsx(X, {
219
- size: 14,
220
- color: night.color.textTertiary
221
- })
222
- })]
175
+ children: isSearchActive ? /*#__PURE__*/_jsx(ModalHeader.Search, {
176
+ value: searchText,
177
+ onChangeText: handleSearchTextChange
178
+ // ✕ clears and closes; with no text it simply closes.
179
+ ,
180
+ onCancel: () => {
181
+ setSearchText("");
182
+ setIsSearchActive(false);
183
+ },
184
+ onDismiss: () => setIsSearchActive(false),
185
+ dismissOnBlur: true,
186
+ placeholder: "Search by email, name, or ID...",
187
+ iconSize: 14,
188
+ testID: "buoy-impersonate-search-input",
189
+ inputProps: {
190
+ onSubmitEditing: handleSubmitSearch
191
+ }
223
192
  }) : /*#__PURE__*/_jsx(TabSelector, {
224
193
  tabs: tabs,
225
194
  activeTab: activeTab,
@@ -334,30 +303,6 @@ const styles = StyleSheet.create({
334
303
  container: {
335
304
  flex: 1
336
305
  },
337
- headerSearchContainer: {
338
- flexDirection: "row",
339
- alignItems: "center",
340
- backgroundColor: night.color.surfaceElevated,
341
- borderRadius: 6,
342
- borderWidth: 1,
343
- borderColor: night.color.border,
344
- paddingHorizontal: 12,
345
- paddingVertical: 8,
346
- marginTop: 8,
347
- flex: 1,
348
- marginBottom: 2
349
- },
350
- headerSearchInput: {
351
- flex: 1,
352
- color: night.color.text,
353
- fontSize: 13,
354
- marginLeft: 6,
355
- paddingVertical: 2
356
- },
357
- headerSearchClear: {
358
- marginLeft: 6,
359
- padding: 4
360
- },
361
306
  headerActionButton: {
362
307
  width: 28,
363
308
  height: 28,
@@ -1 +1 @@
1
- {"version":3,"file":"DataNukeSettings.d.ts","sourceRoot":"","sources":["../../../../src/impersonate/components/DataNukeSettings.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAuC,MAAM,OAAO,CAAC;AA0B5D,OAAO,KAAK,EAAE,gBAAgB,IAAI,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAWzE;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,oDAAoD;IACpD,UAAU,EAAE,OAAO,CAAC;IACpB,8CAA8C;IAC9C,KAAK,EAAE,OAAO,CAAC;IACf,qDAAqD;IACrD,YAAY,EAAE,OAAO,CAAC;IACtB,6CAA6C;IAC7C,IAAI,EAAE,OAAO,CAAC;CACf;AAED,MAAM,WAAW,qBAAqB;IACpC,yBAAyB;IACzB,SAAS,EAAE,MAAM,CAAC;IAClB,iCAAiC;IACjC,QAAQ,EAAE,oBAAoB,CAAC;IAC/B,0CAA0C;IAC1C,UAAU,EAAE,OAAO,CAAC;IACpB,kCAAkC;IAClC,MAAM,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,oBAAoB,EAAE,UAAU,EAAE,OAAO,KAAK,IAAI,CAAC;IACzF,2EAA2E;IAC3E,kBAAkB,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IAC5C,4CAA4C;IAC5C,eAAe,CAAC,EAAE,eAAe,CAAC;CACnC;AAgFD,wBAAgB,gBAAgB,CAAC,EAC/B,SAAS,EACT,QAAQ,EACR,UAAU,EACV,MAAM,EACN,kBAAkB,EAClB,eAAe,GAChB,EAAE,qBAAqB,qBAkVvB"}
1
+ {"version":3,"file":"DataNukeSettings.d.ts","sourceRoot":"","sources":["../../../../src/impersonate/components/DataNukeSettings.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAuC,MAAM,OAAO,CAAC;AA2B5D,OAAO,KAAK,EAAE,gBAAgB,IAAI,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAWzE;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,oDAAoD;IACpD,UAAU,EAAE,OAAO,CAAC;IACpB,8CAA8C;IAC9C,KAAK,EAAE,OAAO,CAAC;IACf,qDAAqD;IACrD,YAAY,EAAE,OAAO,CAAC;IACtB,6CAA6C;IAC7C,IAAI,EAAE,OAAO,CAAC;CACf;AAED,MAAM,WAAW,qBAAqB;IACpC,yBAAyB;IACzB,SAAS,EAAE,MAAM,CAAC;IAClB,iCAAiC;IACjC,QAAQ,EAAE,oBAAoB,CAAC;IAC/B,0CAA0C;IAC1C,UAAU,EAAE,OAAO,CAAC;IACpB,kCAAkC;IAClC,MAAM,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,oBAAoB,EAAE,UAAU,EAAE,OAAO,KAAK,IAAI,CAAC;IACzF,2EAA2E;IAC3E,kBAAkB,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IAC5C,4CAA4C;IAC5C,eAAe,CAAC,EAAE,eAAe,CAAC;CACnC;AAgED,wBAAgB,gBAAgB,CAAC,EAC/B,SAAS,EACT,QAAQ,EACR,UAAU,EACV,MAAM,EACN,kBAAkB,EAClB,eAAe,GAChB,EAAE,qBAAqB,qBAkVvB"}
@@ -1 +1 @@
1
- {"version":3,"file":"ImpersonateModal.d.ts","sourceRoot":"","sources":["../../../../src/impersonate/components/ImpersonateModal.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAmD,MAAM,OAAO,CAAC;AAmBxE,OAAO,KAAK,EAAE,qBAAqB,EAA0B,MAAM,UAAU,CAAC;AAgC9E,wBAAgB,gBAAgB,CAAC,EAC/B,OAAO,EACP,OAAO,EACP,MAAM,EACN,UAAU,EACV,aAAa,EACb,iBAAiB,EACjB,YAAY,EACZ,mBAAmB,EACnB,WAAW,EACX,eAAsB,EACtB,MAAc,GACf,EAAE,qBAAqB,4BA4QvB;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,IAAI,CAAC,qBAAqB,EAAE,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC,qBAGrE"}
1
+ {"version":3,"file":"ImpersonateModal.d.ts","sourceRoot":"","sources":["../../../../src/impersonate/components/ImpersonateModal.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAmD,MAAM,OAAO,CAAC;AAmBxE,OAAO,KAAK,EAAE,qBAAqB,EAA0B,MAAM,UAAU,CAAC;AAgC9E,wBAAgB,gBAAgB,CAAC,EAC/B,OAAO,EACP,OAAO,EACP,MAAM,EACN,UAAU,EACV,aAAa,EACb,iBAAiB,EACjB,YAAY,EACZ,mBAAmB,EACnB,WAAW,EACX,eAAsB,EACtB,MAAc,GACf,EAAE,qBAAqB,4BA6OvB;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,IAAI,CAAC,qBAAqB,EAAE,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC,qBAGrE"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@buoy-gg/impersonate",
3
- "version": "7.0.33",
3
+ "version": "7.0.34",
4
4
  "description": "Test your React Native app as any user, role, or flag combo — without logging out or rebuilding. Part of Buoy devtools.",
5
5
  "main": "lib/commonjs/index.js",
6
6
  "module": "lib/module/index.js",
@@ -26,7 +26,7 @@
26
26
  ],
27
27
  "sideEffects": false,
28
28
  "dependencies": {
29
- "@buoy-gg/shared-ui": "^7.0.33"
29
+ "@buoy-gg/shared-ui": "^7.0.34"
30
30
  },
31
31
  "peerDependencies": {
32
32
  "react": "*",