@oxyhq/bloom 0.46.0 → 0.48.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/lib/commonjs/bottom-sheet/BottomSheetBase.js +34 -12
- package/lib/commonjs/bottom-sheet/BottomSheetBase.js.map +1 -1
- package/lib/commonjs/combobox/Combobox.js +3 -3
- package/lib/commonjs/combobox/Combobox.js.map +1 -1
- package/lib/commonjs/command/Command.js +3 -3
- package/lib/commonjs/command/Command.js.map +1 -1
- package/lib/commonjs/dialog/Dialog.js +74 -5
- package/lib/commonjs/dialog/Dialog.js.map +1 -1
- package/lib/commonjs/dialog/Dialog.web.js +153 -10
- package/lib/commonjs/dialog/Dialog.web.js.map +1 -1
- package/lib/commonjs/dialog/DialogBottomSheet.js +84 -29
- package/lib/commonjs/dialog/DialogBottomSheet.js.map +1 -1
- package/lib/commonjs/dialog/DialogHeader.js +365 -0
- package/lib/commonjs/dialog/DialogHeader.js.map +1 -0
- package/lib/commonjs/dialog/index.js +7 -0
- package/lib/commonjs/dialog/index.js.map +1 -1
- package/lib/commonjs/dialog/index.web.js +7 -0
- package/lib/commonjs/dialog/index.web.js.map +1 -1
- package/lib/commonjs/index.js +11 -4
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/index.web.js +11 -4
- package/lib/commonjs/index.web.js.map +1 -1
- package/lib/commonjs/react-native-className.d.js +6 -0
- package/lib/commonjs/react-native-className.d.js.map +1 -0
- package/lib/commonjs/{search-input → search}/index.js +5 -3
- package/lib/commonjs/search/index.js.map +1 -0
- package/lib/commonjs/settings-list/SettingsList.js +5 -1
- package/lib/commonjs/settings-list/SettingsList.js.map +1 -1
- package/lib/commonjs/surfaces/SurfaceHost.js +22 -9
- package/lib/commonjs/surfaces/SurfaceHost.js.map +1 -1
- package/lib/commonjs/text-field/index.js +22 -6
- package/lib/commonjs/text-field/index.js.map +1 -1
- package/lib/module/bottom-sheet/BottomSheetBase.js +34 -12
- package/lib/module/bottom-sheet/BottomSheetBase.js.map +1 -1
- package/lib/module/combobox/Combobox.js +3 -3
- package/lib/module/combobox/Combobox.js.map +1 -1
- package/lib/module/command/Command.js +3 -3
- package/lib/module/command/Command.js.map +1 -1
- package/lib/module/dialog/Dialog.js +75 -6
- package/lib/module/dialog/Dialog.js.map +1 -1
- package/lib/module/dialog/Dialog.web.js +156 -13
- package/lib/module/dialog/Dialog.web.js.map +1 -1
- package/lib/module/dialog/DialogBottomSheet.js +85 -30
- package/lib/module/dialog/DialogBottomSheet.js.map +1 -1
- package/lib/module/dialog/DialogHeader.js +356 -0
- package/lib/module/dialog/DialogHeader.js.map +1 -0
- package/lib/module/dialog/index.js +1 -0
- package/lib/module/dialog/index.js.map +1 -1
- package/lib/module/dialog/index.web.js +1 -0
- package/lib/module/dialog/index.web.js.map +1 -1
- package/lib/module/index.js +2 -2
- package/lib/module/index.js.map +1 -1
- package/lib/module/index.web.js +2 -2
- package/lib/module/index.web.js.map +1 -1
- package/lib/module/react-native-className.d.js +20 -0
- package/lib/module/react-native-className.d.js.map +1 -0
- package/lib/module/{search-input → search}/index.js +6 -2
- package/lib/module/search/index.js.map +1 -0
- package/lib/module/settings-list/SettingsList.js +5 -1
- package/lib/module/settings-list/SettingsList.js.map +1 -1
- package/lib/module/surfaces/SurfaceHost.js +22 -9
- package/lib/module/surfaces/SurfaceHost.js.map +1 -1
- package/lib/module/text-field/index.js +22 -6
- package/lib/module/text-field/index.js.map +1 -1
- package/lib/typescript/commonjs/bottom-sheet/BottomSheetBase.d.ts +23 -0
- package/lib/typescript/commonjs/bottom-sheet/BottomSheetBase.d.ts.map +1 -1
- package/lib/typescript/commonjs/combobox/Combobox.d.ts +1 -1
- package/lib/typescript/commonjs/command/Command.d.ts +1 -1
- package/lib/typescript/commonjs/dialog/Dialog.d.ts.map +1 -1
- package/lib/typescript/commonjs/dialog/Dialog.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/dialog/DialogBottomSheet.d.ts +2 -2
- package/lib/typescript/commonjs/dialog/DialogBottomSheet.d.ts.map +1 -1
- package/lib/typescript/commonjs/dialog/DialogHeader.d.ts +86 -0
- package/lib/typescript/commonjs/dialog/DialogHeader.d.ts.map +1 -0
- package/lib/typescript/commonjs/dialog/index.d.ts +2 -1
- package/lib/typescript/commonjs/dialog/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/dialog/index.web.d.ts +2 -1
- package/lib/typescript/commonjs/dialog/index.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/dialog/types.d.ts +75 -0
- package/lib/typescript/commonjs/dialog/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/icons/common.d.ts +1 -0
- package/lib/typescript/commonjs/icons/common.d.ts.map +1 -1
- package/lib/typescript/commonjs/index.d.ts +3 -3
- package/lib/typescript/commonjs/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/index.web.d.ts +3 -3
- package/lib/typescript/commonjs/index.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/input-group/types.d.ts +1 -1
- package/lib/typescript/commonjs/{search-input → search}/index.d.ts +1 -1
- package/lib/typescript/commonjs/search/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/surfaces/SurfaceHost.d.ts.map +1 -1
- package/lib/typescript/commonjs/surfaces/types.d.ts +17 -1
- package/lib/typescript/commonjs/surfaces/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/text-field/index.d.ts +2 -1
- package/lib/typescript/commonjs/text-field/index.d.ts.map +1 -1
- package/lib/typescript/module/bottom-sheet/BottomSheetBase.d.ts +23 -0
- package/lib/typescript/module/bottom-sheet/BottomSheetBase.d.ts.map +1 -1
- package/lib/typescript/module/combobox/Combobox.d.ts +1 -1
- package/lib/typescript/module/command/Command.d.ts +1 -1
- package/lib/typescript/module/dialog/Dialog.d.ts.map +1 -1
- package/lib/typescript/module/dialog/Dialog.web.d.ts.map +1 -1
- package/lib/typescript/module/dialog/DialogBottomSheet.d.ts +2 -2
- package/lib/typescript/module/dialog/DialogBottomSheet.d.ts.map +1 -1
- package/lib/typescript/module/dialog/DialogHeader.d.ts +86 -0
- package/lib/typescript/module/dialog/DialogHeader.d.ts.map +1 -0
- package/lib/typescript/module/dialog/index.d.ts +2 -1
- package/lib/typescript/module/dialog/index.d.ts.map +1 -1
- package/lib/typescript/module/dialog/index.web.d.ts +2 -1
- package/lib/typescript/module/dialog/index.web.d.ts.map +1 -1
- package/lib/typescript/module/dialog/types.d.ts +75 -0
- package/lib/typescript/module/dialog/types.d.ts.map +1 -1
- package/lib/typescript/module/icons/common.d.ts +1 -0
- package/lib/typescript/module/icons/common.d.ts.map +1 -1
- package/lib/typescript/module/index.d.ts +3 -3
- package/lib/typescript/module/index.d.ts.map +1 -1
- package/lib/typescript/module/index.web.d.ts +3 -3
- package/lib/typescript/module/index.web.d.ts.map +1 -1
- package/lib/typescript/module/input-group/types.d.ts +1 -1
- package/lib/typescript/module/{search-input → search}/index.d.ts +1 -1
- package/lib/typescript/module/search/index.d.ts.map +1 -0
- package/lib/typescript/module/surfaces/SurfaceHost.d.ts.map +1 -1
- package/lib/typescript/module/surfaces/types.d.ts +17 -1
- package/lib/typescript/module/surfaces/types.d.ts.map +1 -1
- package/lib/typescript/module/text-field/index.d.ts +2 -1
- package/lib/typescript/module/text-field/index.d.ts.map +1 -1
- package/package.json +8 -8
- package/src/__tests__/BottomSheet.test.tsx +47 -0
- package/src/__tests__/DialogBottomSheet.test.tsx +30 -5
- package/src/bottom-sheet/BottomSheetBase.tsx +59 -10
- package/src/combobox/Combobox.tsx +3 -3
- package/src/command/Command.tsx +3 -3
- package/src/dialog/Dialog.tsx +74 -4
- package/src/dialog/Dialog.web.tsx +154 -23
- package/src/dialog/DialogBottomSheet.tsx +90 -28
- package/src/dialog/DialogHeader.tsx +420 -0
- package/src/dialog/index.ts +2 -0
- package/src/dialog/index.web.ts +2 -0
- package/src/dialog/types.ts +76 -0
- package/src/index.ts +3 -1
- package/src/index.web.ts +3 -1
- package/src/input-group/types.ts +1 -1
- package/src/react-native-className.d.ts +38 -0
- package/src/{search-input → search}/index.tsx +8 -5
- package/src/settings-list/SettingsList.tsx +5 -1
- package/src/surfaces/SurfaceHost.tsx +16 -1
- package/src/surfaces/types.ts +17 -1
- package/src/text-field/index.tsx +24 -5
- package/lib/commonjs/search-input/index.js.map +0 -1
- package/lib/module/search-input/index.js.map +0 -1
- package/lib/typescript/commonjs/search-input/index.d.ts.map +0 -1
- package/lib/typescript/module/search-input/index.d.ts.map +0 -1
|
@@ -38,6 +38,8 @@ function placementFor(p: SurfacePresentation): Partial<DialogProps> {
|
|
|
38
38
|
showHandle: p.showHandle,
|
|
39
39
|
dismissOnBackdrop: p.dismissOnBackdrop,
|
|
40
40
|
contentPadding: p.contentPadding,
|
|
41
|
+
header: p.header,
|
|
42
|
+
scrollable: p.scrollable,
|
|
41
43
|
style: p.style,
|
|
42
44
|
panelStyle: p.panelStyle,
|
|
43
45
|
panelClassName: p.panelClassName,
|
|
@@ -112,7 +114,20 @@ export function createSurfaceHost(Dialog: DialogComponent) {
|
|
|
112
114
|
);
|
|
113
115
|
|
|
114
116
|
return (
|
|
115
|
-
|
|
117
|
+
// `startOpen` is the surface's open-INTENT (true while not closing). It
|
|
118
|
+
// ONLY seeds a freshly-mounted Dialog branch's visible state — the
|
|
119
|
+
// imperative `control` still owns open/close — so when a responsive Dialog
|
|
120
|
+
// swaps its inner component on resize (centered card ↔ bottom sheet) the
|
|
121
|
+
// new branch mounts STILL OPEN instead of dismissing the surface. A real
|
|
122
|
+
// dismiss (backdrop/Escape/back/programmatic) still resolves + splices
|
|
123
|
+
// exactly once via `control.close()` → `handleClose`, post-exit.
|
|
124
|
+
<Dialog
|
|
125
|
+
control={control}
|
|
126
|
+
onClose={handleClose}
|
|
127
|
+
layer={index}
|
|
128
|
+
startOpen={status !== 'closing'}
|
|
129
|
+
{...placement}
|
|
130
|
+
>
|
|
116
131
|
<SurfaceContext.Provider value={controls}>
|
|
117
132
|
{entry.render(controls)}
|
|
118
133
|
</SurfaceContext.Provider>
|
package/src/surfaces/types.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
2
|
import type { StyleProp, ViewStyle } from 'react-native';
|
|
3
3
|
|
|
4
|
-
import type { DialogInset, ResponsiveDialogPlacement } from '../dialog/types';
|
|
4
|
+
import type { DialogHeaderConfig, DialogInset, ResponsiveDialogPlacement } from '../dialog/types';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* How a surface renders — the placement + the `Dialog` sizing/chrome options a
|
|
@@ -39,6 +39,22 @@ export interface SurfacePresentation {
|
|
|
39
39
|
dismissOnBackdrop?: boolean;
|
|
40
40
|
/** Inner padding (px) of the surface content container. Forwarded to `Dialog`. */
|
|
41
41
|
contentPadding?: number;
|
|
42
|
+
/**
|
|
43
|
+
* Turns on the Dialog's OWN navigation header for this surface (sticky gradient
|
|
44
|
+
* nav bar + large collapsing title over the surface's scroll content). Seeds
|
|
45
|
+
* the header content; a mounted screen refines it at runtime via
|
|
46
|
+
* `useDialogHeader`. Omit for a plain surface (a confirm/alert dialog). Forwarded
|
|
47
|
+
* to `Dialog`.
|
|
48
|
+
*/
|
|
49
|
+
header?: DialogHeaderConfig;
|
|
50
|
+
/**
|
|
51
|
+
* Whether the surface wraps its content in an internal scroll container.
|
|
52
|
+
* Defaults to `true`. Set `false` when the surface's content owns its own
|
|
53
|
+
* scrolling primitive (a `FlatList` / `SectionList` / VirtualizedList, or its
|
|
54
|
+
* own `ScrollView`) so the host does not nest it in a ScrollView. Forwarded
|
|
55
|
+
* to `Dialog`.
|
|
56
|
+
*/
|
|
57
|
+
scrollable?: boolean;
|
|
42
58
|
/** Style overrides applied to the inner content container. */
|
|
43
59
|
style?: StyleProp<ViewStyle>;
|
|
44
60
|
/** Style overrides for the side/bottom placement panel surface. */
|
package/src/text-field/index.tsx
CHANGED
|
@@ -30,6 +30,8 @@ import { Text } from '../typography';
|
|
|
30
30
|
const Context = createContext<{
|
|
31
31
|
inputRef: React.RefObject<TextInput | null> | null;
|
|
32
32
|
isInvalid: boolean;
|
|
33
|
+
/** Corner radius of the input chrome. A large value (e.g. 999) reads as a pill. */
|
|
34
|
+
radius: number;
|
|
33
35
|
hovered: boolean;
|
|
34
36
|
onHoverIn: () => void;
|
|
35
37
|
onHoverOut: () => void;
|
|
@@ -39,6 +41,7 @@ const Context = createContext<{
|
|
|
39
41
|
}>({
|
|
40
42
|
inputRef: null,
|
|
41
43
|
isInvalid: false,
|
|
44
|
+
radius: 10,
|
|
42
45
|
hovered: false,
|
|
43
46
|
onHoverIn: () => {},
|
|
44
47
|
onHoverOut: () => {},
|
|
@@ -48,11 +51,24 @@ const Context = createContext<{
|
|
|
48
51
|
});
|
|
49
52
|
Context.displayName = 'TextFieldContext';
|
|
50
53
|
|
|
54
|
+
/**
|
|
55
|
+
* RN Web paints the browser's default focus outline on the underlying `<input>`.
|
|
56
|
+
* That rectangle follows the input's own box — NOT the TextField chrome — so on a
|
|
57
|
+
* pill (large radius) it pokes out of the corners and reads as a stray border on
|
|
58
|
+
* focus. Strip it so ONLY the TextField's own focus chrome (the animated border)
|
|
59
|
+
* signals focus. `outlineStyle`/`outlineWidth` are RN-Web style properties absent
|
|
60
|
+
* from RN's core types; `web()` guarantees this object is never applied on native.
|
|
61
|
+
*/
|
|
62
|
+
const WEB_INPUT_OUTLINE_RESET: TextStyle | undefined =
|
|
63
|
+
Platform.OS === 'web'
|
|
64
|
+
? ({ outlineWidth: 0, outlineStyle: 'none' } as unknown as TextStyle)
|
|
65
|
+
: undefined;
|
|
66
|
+
|
|
51
67
|
export type TextFieldProps = React.PropsWithChildren<
|
|
52
|
-
{ isInvalid?: boolean } & ViewStyleProp
|
|
68
|
+
{ isInvalid?: boolean; radius?: number } & ViewStyleProp
|
|
53
69
|
>;
|
|
54
70
|
|
|
55
|
-
export function TextField({ children, isInvalid = false, style }: TextFieldProps) {
|
|
71
|
+
export function TextField({ children, isInvalid = false, radius = 10, style }: TextFieldProps) {
|
|
56
72
|
const inputRef = useRef<TextInput>(null);
|
|
57
73
|
const {
|
|
58
74
|
state: hovered,
|
|
@@ -75,8 +91,9 @@ export function TextField({ children, isInvalid = false, style }: TextFieldProps
|
|
|
75
91
|
onFocus,
|
|
76
92
|
onBlur,
|
|
77
93
|
isInvalid,
|
|
94
|
+
radius,
|
|
78
95
|
}),
|
|
79
|
-
[inputRef, hovered, onHoverIn, onHoverOut, focused, onFocus, onBlur, isInvalid],
|
|
96
|
+
[inputRef, hovered, onHoverIn, onHoverOut, focused, onFocus, onBlur, isInvalid, radius],
|
|
80
97
|
);
|
|
81
98
|
|
|
82
99
|
return (
|
|
@@ -240,6 +257,7 @@ export function TextFieldInput({
|
|
|
240
257
|
marginTop: 2,
|
|
241
258
|
marginBottom: 2,
|
|
242
259
|
}),
|
|
260
|
+
WEB_INPUT_OUTLINE_RESET,
|
|
243
261
|
style,
|
|
244
262
|
]) as TextStyle;
|
|
245
263
|
|
|
@@ -272,7 +290,7 @@ export function TextFieldInput({
|
|
|
272
290
|
a.z_10,
|
|
273
291
|
a.absolute,
|
|
274
292
|
a.inset_0,
|
|
275
|
-
{ borderRadius:
|
|
293
|
+
{ borderRadius: ctx.radius },
|
|
276
294
|
{ backgroundColor: theme.colors.contrast50 },
|
|
277
295
|
{ borderColor: 'transparent', borderWidth: 2 },
|
|
278
296
|
ctx.hovered ? chromeHover : {},
|
|
@@ -393,6 +411,7 @@ function FloatingLabelInput({
|
|
|
393
411
|
},
|
|
394
412
|
android({ paddingTop: 24, paddingBottom: 6 }),
|
|
395
413
|
web({ paddingTop: 25, paddingBottom: 7 }),
|
|
414
|
+
WEB_INPUT_OUTLINE_RESET,
|
|
396
415
|
style,
|
|
397
416
|
]) as TextStyle;
|
|
398
417
|
|
|
@@ -444,7 +463,7 @@ function FloatingLabelInput({
|
|
|
444
463
|
a.z_10,
|
|
445
464
|
a.absolute,
|
|
446
465
|
a.inset_0,
|
|
447
|
-
{ borderRadius:
|
|
466
|
+
{ borderRadius: ctx.radius },
|
|
448
467
|
{ backgroundColor: theme.colors.contrast50 },
|
|
449
468
|
{ borderColor: 'transparent', borderWidth: 2 },
|
|
450
469
|
ctx.hovered ? chromeHover : {},
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_react","require","_reactNative","_useTheme","_index","_button","_index2","_MagnifyingGlass","_Times","_jsxRuntime","SearchInput","exports","forwardRef","value","label","onClearText","rest","ref","theme","useTheme","showClear","length","jsxs","View","style","a","w_full","relative","children","TextField","jsx","TextFieldIcon","icon","MagnifyingGlassIcon","TextFieldInput","inputRef","placeholder","returnKeyType","keyboardAppearance","mode","selectTextOnFocus","Platform","OS","autoFocus","accessibilityRole","autoCorrect","autoComplete","autoCapitalize","paddingRight","undefined","absolute","z_20","my_auto","inset_0","justify_center","pr_sm","left","Button","testID","onPress","accessibilityLabel","hitSlop","top","bottom","right","variant","size","TimesLarge_Stroke2_Corner0_Rounded","fill","colors","textSecondary","padding","minHeight","displayName"],"sourceRoot":"../../../src","sources":["search-input/index.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAEA,IAAAE,SAAA,GAAAF,OAAA;AACA,IAAAG,MAAA,GAAAH,OAAA;AACA,IAAAI,OAAA,GAAAJ,OAAA;AACA,IAAAK,OAAA,GAAAL,OAAA;AACA,IAAAM,gBAAA,GAAAN,OAAA;AACA,IAAAO,MAAA,GAAAP,OAAA;AAAyE,IAAAQ,WAAA,GAAAR,OAAA;AAUlE,MAAMS,WAAW,GAAAC,OAAA,CAAAD,WAAA,gBAAG,IAAAE,iBAAU,EACnC,SAASF,WAAWA,CAAC;EAAEG,KAAK;EAAEC,KAAK,GAAG,QAAQ;EAAEC,WAAW;EAAE,GAAGC;AAAK,CAAC,EAAEC,GAAG,EAAE;EAC3E,MAAMC,KAAK,GAAG,IAAAC,kBAAQ,EAAC,CAAC;EACxB,MAAMC,SAAS,GAAGP,KAAK,IAAI,IAAI,IAAIA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I,EAAE;MAAO,CAAC,CAChB;MAAA5B,QAAA,eACF,IAAAnB,WAAA,CAAAqB,GAAA,EAACzB,OAAA,CAAAoD,MAAM;QACLC,MAAM,EAAC,yBAAyB;QAChCC,OAAO,EAAE5C,WAAY;QACrB6C,kBAAkB,EAAC,oBAAoB;QACvCC,OAAO,EAAE;UAAEC,GAAG,EAAE,EAAE;UAAEC,MAAM,EAAE,EAAE;UAAEP,IAAI,EAAE,EAAE;UAAEQ,KAAK,EAAE;QAAG,CAAE;QACtDC,OAAO,EAAC,OAAO;QACfC,IAAI,EAAC,OAAO;QACZlC,IAAI,eAAE,IAAAvB,WAAA,CAAAqB,GAAA,EAACtB,MAAA,CAAA2D,kCAAC;UAACC,IAAI,EAAElD,KAAK,CAACmD,MAAM,CAACC,aAAc;UAACJ,IAAI,EAAC;QAAI,CAAE,CAAE;QACxD1C,KAAK,EAAE;UAAE+C,OAAO,EAAE,CAAC;UAAEC,SAAS,EAAE;QAAE;MAAE,CACrC;IAAC,CACE,CACP;EAAA,CACG,CAAC;AAEX,CACF,CAAC;AACD9D,WAAW,CAAC+D,WAAW,GAAG,aAAa","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["forwardRef","Platform","View","useTheme","atoms","a","Button","TextField","TextFieldIcon","TextFieldInput","MagnifyingGlass_Stroke2_Corner0_Rounded","MagnifyingGlassIcon","TimesLarge_Stroke2_Corner0_Rounded","X","jsx","_jsx","jsxs","_jsxs","SearchInput","value","label","onClearText","rest","ref","theme","showClear","length","style","w_full","relative","children","icon","inputRef","placeholder","returnKeyType","keyboardAppearance","mode","selectTextOnFocus","OS","autoFocus","accessibilityRole","autoCorrect","autoComplete","autoCapitalize","paddingRight","undefined","absolute","z_20","my_auto","inset_0","justify_center","pr_sm","left","testID","onPress","accessibilityLabel","hitSlop","top","bottom","right","variant","size","fill","colors","textSecondary","padding","minHeight","displayName"],"sourceRoot":"../../../src","sources":["search-input/index.tsx"],"mappings":";;A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names":[],"mappings":"AACA,OAAO,EAAY,KAAK,SAAS,EAAQ,MAAM,cAAc,CAAC;AAK9D,OAAO,EAA4C,KAAK,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAYnG,eAAO,MAAM,WAAW;YAPd,mBAAmB,CAAC,OAAO,CAAC;IACpC;;OAEG;kBACW,MAAM,IAAI;6CAwDzB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/search-input/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAY,KAAK,SAAS,EAAQ,MAAM,cAAc,CAAC;AAK9D,OAAO,EAA4C,KAAK,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAYnG,eAAO,MAAM,WAAW;YAPd,mBAAmB,CAAC,OAAO,CAAC;IACpC;;OAEG;kBACW,MAAM,IAAI;6CAwDzB,CAAC"}
|