@oxyhq/bloom 0.16.2 → 0.18.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/README.md +54 -16
- package/lib/commonjs/admonition/index.js +24 -23
- package/lib/commonjs/admonition/index.js.map +1 -1
- package/lib/commonjs/combobox/Combobox.js +7 -7
- package/lib/commonjs/combobox/Combobox.js.map +1 -1
- package/lib/commonjs/context-menu/context.js +2 -2
- package/lib/commonjs/context-menu/context.js.map +1 -1
- package/lib/commonjs/context-menu/index.js +25 -25
- package/lib/commonjs/context-menu/index.js.map +1 -1
- package/lib/commonjs/context-menu/index.web.js +27 -27
- package/lib/commonjs/context-menu/index.web.js.map +1 -1
- package/lib/commonjs/dialog/SheetShell.js +1 -1
- package/lib/commonjs/index.js +134 -38
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/index.web.js +134 -38
- package/lib/commonjs/index.web.js.map +1 -1
- package/lib/commonjs/input-group/InputGroup.js +1 -1
- package/lib/commonjs/menu/context.js +2 -2
- package/lib/commonjs/menu/context.js.map +1 -1
- package/lib/commonjs/menu/index.js +17 -17
- package/lib/commonjs/menu/index.js.map +1 -1
- package/lib/commonjs/menu/index.web.js +16 -16
- package/lib/commonjs/menu/index.web.js.map +1 -1
- package/lib/commonjs/popover/context.js +1 -1
- package/lib/commonjs/popover/context.js.map +1 -1
- package/lib/commonjs/popover/index.js +6 -6
- package/lib/commonjs/popover/index.js.map +1 -1
- package/lib/commonjs/popover/index.web.js +6 -6
- package/lib/commonjs/popover/index.web.js.map +1 -1
- package/lib/commonjs/search-input/index.js +4 -5
- package/lib/commonjs/search-input/index.js.map +1 -1
- package/lib/commonjs/segmented-control/index.js +18 -18
- package/lib/commonjs/segmented-control/index.js.map +1 -1
- package/lib/commonjs/select/common.js +2 -2
- package/lib/commonjs/select/common.js.map +1 -1
- package/lib/commonjs/select/index.js +34 -38
- package/lib/commonjs/select/index.js.map +1 -1
- package/lib/commonjs/select/index.web.js +31 -35
- package/lib/commonjs/select/index.web.js.map +1 -1
- package/lib/commonjs/tabs/Tabs.js +7 -7
- package/lib/commonjs/tabs/Tabs.js.map +1 -1
- package/lib/commonjs/tabs/index.js +6 -6
- package/lib/commonjs/text-field/index.js +14 -14
- package/lib/commonjs/text-field/index.js.map +1 -1
- package/lib/commonjs/theme/color-scope/style-builder.js +6 -6
- package/lib/commonjs/theme/index.js +7 -0
- package/lib/commonjs/theme/index.js.map +1 -1
- package/lib/commonjs/theme/use-navigation-theme.js +54 -0
- package/lib/commonjs/theme/use-navigation-theme.js.map +1 -0
- package/lib/commonjs/tooltip/index.js +11 -11
- package/lib/commonjs/tooltip/index.js.map +1 -1
- package/lib/commonjs/tooltip/index.web.js +11 -11
- package/lib/commonjs/tooltip/index.web.js.map +1 -1
- package/lib/module/admonition/index.js +18 -17
- package/lib/module/admonition/index.js.map +1 -1
- package/lib/module/combobox/Combobox.js +7 -7
- package/lib/module/combobox/Combobox.js.map +1 -1
- package/lib/module/context-menu/context.js +2 -2
- package/lib/module/context-menu/context.js.map +1 -1
- package/lib/module/context-menu/index.js +17 -17
- package/lib/module/context-menu/index.js.map +1 -1
- package/lib/module/context-menu/index.web.js +19 -19
- package/lib/module/context-menu/index.web.js.map +1 -1
- package/lib/module/dialog/SheetShell.js +1 -1
- package/lib/module/index.js +11 -11
- package/lib/module/index.js.map +1 -1
- package/lib/module/index.web.js +11 -11
- package/lib/module/index.web.js.map +1 -1
- package/lib/module/input-group/InputGroup.js +1 -1
- package/lib/module/menu/context.js +2 -2
- package/lib/module/menu/context.js.map +1 -1
- package/lib/module/menu/index.js +9 -9
- package/lib/module/menu/index.js.map +1 -1
- package/lib/module/menu/index.web.js +8 -8
- package/lib/module/menu/index.web.js.map +1 -1
- package/lib/module/popover/context.js +1 -1
- package/lib/module/popover/context.js.map +1 -1
- package/lib/module/popover/index.js +3 -3
- package/lib/module/popover/index.js.map +1 -1
- package/lib/module/popover/index.web.js +3 -3
- package/lib/module/popover/index.web.js.map +1 -1
- package/lib/module/search-input/index.js +4 -4
- package/lib/module/search-input/index.js.map +1 -1
- package/lib/module/segmented-control/index.js +15 -15
- package/lib/module/segmented-control/index.js.map +1 -1
- package/lib/module/select/common.js +1 -1
- package/lib/module/select/common.js.map +1 -1
- package/lib/module/select/index.js +25 -29
- package/lib/module/select/index.js.map +1 -1
- package/lib/module/select/index.web.js +22 -26
- package/lib/module/select/index.web.js.map +1 -1
- package/lib/module/tabs/Tabs.js +6 -6
- package/lib/module/tabs/Tabs.js.map +1 -1
- package/lib/module/tabs/index.js +1 -1
- package/lib/module/tabs/index.js.map +1 -1
- package/lib/module/text-field/index.js +8 -8
- package/lib/module/text-field/index.js.map +1 -1
- package/lib/module/theme/color-scope/style-builder.js +6 -6
- package/lib/module/theme/index.js +1 -0
- package/lib/module/theme/index.js.map +1 -1
- package/lib/module/theme/use-navigation-theme.js +50 -0
- package/lib/module/theme/use-navigation-theme.js.map +1 -0
- package/lib/module/tooltip/index.js +6 -6
- package/lib/module/tooltip/index.js.map +1 -1
- package/lib/module/tooltip/index.web.js +6 -6
- package/lib/module/tooltip/index.web.js.map +1 -1
- package/lib/typescript/commonjs/admonition/index.d.ts +14 -13
- package/lib/typescript/commonjs/admonition/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/combobox/Combobox.d.ts +7 -7
- package/lib/typescript/commonjs/combobox/Combobox.d.ts.map +1 -1
- package/lib/typescript/commonjs/context-menu/index.d.ts +9 -9
- package/lib/typescript/commonjs/context-menu/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/context-menu/index.web.d.ts +9 -9
- package/lib/typescript/commonjs/context-menu/index.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/context-menu/types.d.ts +6 -6
- package/lib/typescript/commonjs/context-menu/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/dialog/SheetShell.d.ts +1 -1
- package/lib/typescript/commonjs/index.d.ts +11 -11
- package/lib/typescript/commonjs/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/index.web.d.ts +11 -11
- 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/menu/index.d.ts +9 -9
- package/lib/typescript/commonjs/menu/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/menu/index.web.d.ts +9 -9
- package/lib/typescript/commonjs/menu/index.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/menu/types.d.ts +5 -5
- package/lib/typescript/commonjs/menu/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/popover/index.d.ts +5 -5
- package/lib/typescript/commonjs/popover/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/popover/index.web.d.ts +5 -5
- package/lib/typescript/commonjs/popover/index.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/popover/types.d.ts +1 -1
- package/lib/typescript/commonjs/popover/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/search-input/index.d.ts +3 -3
- package/lib/typescript/commonjs/search-input/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/segmented-control/index.d.ts +13 -13
- package/lib/typescript/commonjs/segmented-control/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/select/common.d.ts +1 -1
- package/lib/typescript/commonjs/select/common.d.ts.map +1 -1
- package/lib/typescript/commonjs/select/index.d.ts +12 -12
- package/lib/typescript/commonjs/select/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/select/index.web.d.ts +12 -12
- package/lib/typescript/commonjs/select/index.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/select/types.d.ts +10 -10
- package/lib/typescript/commonjs/select/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/tabs/Tabs.d.ts +4 -4
- package/lib/typescript/commonjs/tabs/Tabs.d.ts.map +1 -1
- package/lib/typescript/commonjs/tabs/index.d.ts +2 -2
- package/lib/typescript/commonjs/tabs/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/tabs/types.d.ts +3 -3
- package/lib/typescript/commonjs/tabs/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/text-field/index.d.ts +8 -8
- package/lib/typescript/commonjs/text-field/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/theme/color-scope/style-builder.d.ts +6 -6
- package/lib/typescript/commonjs/theme/index.d.ts +2 -0
- package/lib/typescript/commonjs/theme/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/theme/use-navigation-theme.d.ts +31 -0
- package/lib/typescript/commonjs/theme/use-navigation-theme.d.ts.map +1 -0
- package/lib/typescript/commonjs/tooltip/index.d.ts +6 -6
- package/lib/typescript/commonjs/tooltip/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/tooltip/index.web.d.ts +6 -6
- package/lib/typescript/commonjs/tooltip/index.web.d.ts.map +1 -1
- package/lib/typescript/module/admonition/index.d.ts +14 -13
- package/lib/typescript/module/admonition/index.d.ts.map +1 -1
- package/lib/typescript/module/combobox/Combobox.d.ts +7 -7
- package/lib/typescript/module/combobox/Combobox.d.ts.map +1 -1
- package/lib/typescript/module/context-menu/index.d.ts +9 -9
- package/lib/typescript/module/context-menu/index.d.ts.map +1 -1
- package/lib/typescript/module/context-menu/index.web.d.ts +9 -9
- package/lib/typescript/module/context-menu/index.web.d.ts.map +1 -1
- package/lib/typescript/module/context-menu/types.d.ts +6 -6
- package/lib/typescript/module/context-menu/types.d.ts.map +1 -1
- package/lib/typescript/module/dialog/SheetShell.d.ts +1 -1
- package/lib/typescript/module/index.d.ts +11 -11
- package/lib/typescript/module/index.d.ts.map +1 -1
- package/lib/typescript/module/index.web.d.ts +11 -11
- 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/menu/index.d.ts +9 -9
- package/lib/typescript/module/menu/index.d.ts.map +1 -1
- package/lib/typescript/module/menu/index.web.d.ts +9 -9
- package/lib/typescript/module/menu/index.web.d.ts.map +1 -1
- package/lib/typescript/module/menu/types.d.ts +5 -5
- package/lib/typescript/module/menu/types.d.ts.map +1 -1
- package/lib/typescript/module/popover/index.d.ts +5 -5
- package/lib/typescript/module/popover/index.d.ts.map +1 -1
- package/lib/typescript/module/popover/index.web.d.ts +5 -5
- package/lib/typescript/module/popover/index.web.d.ts.map +1 -1
- package/lib/typescript/module/popover/types.d.ts +1 -1
- package/lib/typescript/module/popover/types.d.ts.map +1 -1
- package/lib/typescript/module/search-input/index.d.ts +3 -3
- package/lib/typescript/module/search-input/index.d.ts.map +1 -1
- package/lib/typescript/module/segmented-control/index.d.ts +13 -13
- package/lib/typescript/module/segmented-control/index.d.ts.map +1 -1
- package/lib/typescript/module/select/common.d.ts +1 -1
- package/lib/typescript/module/select/common.d.ts.map +1 -1
- package/lib/typescript/module/select/index.d.ts +12 -12
- package/lib/typescript/module/select/index.d.ts.map +1 -1
- package/lib/typescript/module/select/index.web.d.ts +12 -12
- package/lib/typescript/module/select/index.web.d.ts.map +1 -1
- package/lib/typescript/module/select/types.d.ts +10 -10
- package/lib/typescript/module/select/types.d.ts.map +1 -1
- package/lib/typescript/module/tabs/Tabs.d.ts +4 -4
- package/lib/typescript/module/tabs/Tabs.d.ts.map +1 -1
- package/lib/typescript/module/tabs/index.d.ts +2 -2
- package/lib/typescript/module/tabs/index.d.ts.map +1 -1
- package/lib/typescript/module/tabs/types.d.ts +3 -3
- package/lib/typescript/module/tabs/types.d.ts.map +1 -1
- package/lib/typescript/module/text-field/index.d.ts +8 -8
- package/lib/typescript/module/text-field/index.d.ts.map +1 -1
- package/lib/typescript/module/theme/color-scope/style-builder.d.ts +6 -6
- package/lib/typescript/module/theme/index.d.ts +2 -0
- package/lib/typescript/module/theme/index.d.ts.map +1 -1
- package/lib/typescript/module/theme/use-navigation-theme.d.ts +31 -0
- package/lib/typescript/module/theme/use-navigation-theme.d.ts.map +1 -0
- package/lib/typescript/module/tooltip/index.d.ts +6 -6
- package/lib/typescript/module/tooltip/index.d.ts.map +1 -1
- package/lib/typescript/module/tooltip/index.web.d.ts +6 -6
- package/lib/typescript/module/tooltip/index.web.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/__tests__/public-api-contract.test.ts +54 -0
- package/src/__tests__/useNavigationTheme.test.tsx +227 -0
- package/src/admonition/index.tsx +22 -21
- package/src/combobox/Combobox.tsx +14 -14
- package/src/context-menu/ContextMenu.stories.tsx +26 -18
- package/src/context-menu/context.ts +2 -2
- package/src/context-menu/index.tsx +24 -24
- package/src/context-menu/index.web.tsx +26 -26
- package/src/context-menu/types.ts +6 -6
- package/src/dialog/SheetShell.tsx +1 -1
- package/src/field/Field.stories.tsx +3 -3
- package/src/index.ts +11 -11
- package/src/index.web.ts +11 -11
- package/src/input-group/InputGroup.stories.tsx +4 -4
- package/src/input-group/InputGroup.tsx +1 -1
- package/src/input-group/types.ts +1 -1
- package/src/menu/Menu.stories.tsx +35 -35
- package/src/menu/context.ts +2 -2
- package/src/menu/index.tsx +15 -15
- package/src/menu/index.web.tsx +14 -14
- package/src/menu/types.ts +5 -5
- package/src/popover/Popover.stories.tsx +13 -13
- package/src/popover/context.ts +1 -1
- package/src/popover/index.tsx +5 -5
- package/src/popover/index.web.tsx +5 -5
- package/src/popover/types.ts +1 -1
- package/src/search-input/index.tsx +7 -7
- package/src/segmented-control/index.tsx +15 -15
- package/src/select/Select.stories.tsx +32 -23
- package/src/select/common.ts +1 -1
- package/src/select/index.tsx +39 -43
- package/src/select/index.web.tsx +33 -37
- package/src/select/types.ts +10 -10
- package/src/tabs/Tabs.tsx +9 -9
- package/src/tabs/index.ts +2 -2
- package/src/tabs/types.ts +3 -3
- package/src/text-field/TextField.stories.tsx +5 -5
- package/src/text-field/index.tsx +12 -12
- package/src/theme/color-scope/style-builder.ts +6 -6
- package/src/theme/index.ts +2 -0
- package/src/theme/use-navigation-theme.ts +59 -0
- package/src/tooltip/index.tsx +6 -6
- package/src/tooltip/index.web.tsx +6 -6
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { type AccessibilityProps, TextInput, type TextInputProps, type ViewStyle } from 'react-native';
|
|
2
2
|
import { type TextStyleProp, type ViewStyleProp } from '../styles';
|
|
3
3
|
import { type Props as SVGIconProps } from '../icons/common';
|
|
4
|
-
export type
|
|
4
|
+
export type TextFieldProps = React.PropsWithChildren<{
|
|
5
5
|
isInvalid?: boolean;
|
|
6
6
|
} & ViewStyleProp>;
|
|
7
|
-
export declare function
|
|
7
|
+
export declare function TextField({ children, isInvalid, style }: TextFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
export declare function useSharedInputStyles(): {
|
|
9
9
|
chromeHover: ViewStyle;
|
|
10
10
|
chromeFocus: ViewStyle;
|
|
11
11
|
chromeError: ViewStyle;
|
|
12
12
|
chromeErrorHover: ViewStyle;
|
|
13
13
|
};
|
|
14
|
-
export type
|
|
14
|
+
export type TextFieldInputProps = Omit<TextInputProps, 'value' | 'onChangeText' | 'placeholder'> & {
|
|
15
15
|
label: string;
|
|
16
16
|
value?: string;
|
|
17
17
|
onChangeText?: (value: string) => void;
|
|
@@ -19,18 +19,18 @@ export type InputProps = Omit<TextInputProps, 'value' | 'onChangeText' | 'placeh
|
|
|
19
19
|
inputRef?: React.RefObject<TextInput | null> | React.ForwardedRef<TextInput>;
|
|
20
20
|
placeholder?: string | null | undefined;
|
|
21
21
|
};
|
|
22
|
-
export declare function
|
|
23
|
-
export declare function
|
|
22
|
+
export declare function TextFieldInput({ label, placeholder, value, onChangeText, onFocus, onBlur, isInvalid, inputRef, style, ...rest }: TextFieldInputProps): import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
export declare function TextFieldLabel({ nativeID, children, }: React.PropsWithChildren<{
|
|
24
24
|
nativeID?: string;
|
|
25
25
|
}>): import("react/jsx-runtime").JSX.Element;
|
|
26
|
-
export declare function
|
|
26
|
+
export declare function TextFieldIcon({ icon: Comp }: {
|
|
27
27
|
icon: React.ComponentType<SVGIconProps>;
|
|
28
28
|
}): import("react/jsx-runtime").JSX.Element;
|
|
29
|
-
export declare function
|
|
29
|
+
export declare function TextFieldSuffix({ children, label, accessibilityHint, style, }: React.PropsWithChildren<TextStyleProp & {
|
|
30
30
|
label: string;
|
|
31
31
|
accessibilityHint?: AccessibilityProps['accessibilityHint'];
|
|
32
32
|
}>): import("react/jsx-runtime").JSX.Element;
|
|
33
|
-
export declare function
|
|
33
|
+
export declare function TextFieldGhost({ children, value, }: {
|
|
34
34
|
children: string;
|
|
35
35
|
value: string;
|
|
36
36
|
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/text-field/index.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,kBAAkB,EAGvB,SAAS,EACT,KAAK,cAAc,EAGnB,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAKtB,OAAO,EAML,KAAK,aAAa,EAClB,KAAK,aAAa,EACnB,MAAM,WAAW,CAAC;AACnB,OAAO,EAAkB,KAAK,KAAK,IAAI,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAwB7E,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/text-field/index.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,kBAAkB,EAGvB,SAAS,EACT,KAAK,cAAc,EAGnB,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAKtB,OAAO,EAML,KAAK,aAAa,EAClB,KAAK,aAAa,EACnB,MAAM,WAAW,CAAC;AACnB,OAAO,EAAkB,KAAK,KAAK,IAAI,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAwB7E,MAAM,MAAM,cAAc,GAAG,KAAK,CAAC,iBAAiB,CAClD;IAAE,SAAS,CAAC,EAAE,OAAO,CAAA;CAAE,GAAG,aAAa,CACxC,CAAC;AAEF,wBAAgB,SAAS,CAAC,EAAE,QAAQ,EAAE,SAAiB,EAAE,KAAK,EAAE,EAAE,cAAc,2CA0C/E;AAED,wBAAgB,oBAAoB;;;;;EA0BnC;AAED,MAAM,MAAM,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K,EAAE,MAAM,CAAC;CACf,2CAkDA"}
|
|
@@ -42,12 +42,12 @@ export declare function getVariableContextProvider(): VariableContextProviderCom
|
|
|
42
42
|
* provider writes vars to `documentElement` instead) or when `nativewind` is
|
|
43
43
|
* not installed.
|
|
44
44
|
*
|
|
45
|
-
*
|
|
46
|
-
* when applied to an interop className
|
|
47
|
-
* on matched className style rules).
|
|
48
|
-
* dropped silently.
|
|
49
|
-
*
|
|
50
|
-
*
|
|
45
|
+
* Caveat — prefer `getVariableContextProvider()`: under react-native-css@3,
|
|
46
|
+
* `vars()` only propagates to a subtree when applied to an interop className
|
|
47
|
+
* component (the runtime gates propagation on matched className style rules).
|
|
48
|
+
* Applied to a plain `<View>` the vars are dropped silently. This is retained
|
|
49
|
+
* as the escape-hatch contract of `useColorScopeStyle`, where the caller owns
|
|
50
|
+
* the host element and is expected to be a className component.
|
|
51
51
|
*/
|
|
52
52
|
export declare function buildNativePresetStyle(colorPreset: AppColorName, mode: 'light' | 'dark'): StyleProp<ViewStyle>;
|
|
53
53
|
//# sourceMappingURL=style-builder.d.ts.map
|
|
@@ -4,6 +4,8 @@ export { BloomColorScope, useColorScopeStyle } from './color-scope';
|
|
|
4
4
|
export type { BloomColorScopeProps } from './color-scope';
|
|
5
5
|
export { buildTheme, STATUS_COLORS } from './build-theme';
|
|
6
6
|
export { useTheme, useThemeColor, useBloomTheme } from './use-theme';
|
|
7
|
+
export { useNavigationTheme } from './use-navigation-theme';
|
|
8
|
+
export type { NavigationTheme, NavigationThemeFont } from './use-navigation-theme';
|
|
7
9
|
export type { Theme, ThemeColors, ThemeMode } from './types';
|
|
8
10
|
export type { AppColorName, AppColorPreset, PresetTokens } from './color-presets';
|
|
9
11
|
export { APP_COLOR_NAMES, PREMIUM_COLOR_NAMES, APP_COLOR_PRESETS, HEX_TO_APP_COLOR, hexToAppColorName, } from './color-presets';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src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,MAAM,eAAe,CAAC;AACpE,YAAY,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC1D,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AACrE,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAC5D,YAAY,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AACnF,YAAY,EAAE,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAC7D,YAAY,EAAE,YAAY,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAClF,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,iBAAiB,EACjB,gBAAgB,EAChB,iBAAiB,GAClB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,yBAAyB,EAAE,MAAM,eAAe,CAAC;AACzE,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAC5D,YAAY,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAC5E,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export interface NavigationThemeFont {
|
|
2
|
+
fontFamily: string;
|
|
3
|
+
fontWeight: '400' | '500' | '700' | '900';
|
|
4
|
+
}
|
|
5
|
+
export interface NavigationTheme {
|
|
6
|
+
dark: boolean;
|
|
7
|
+
colors: {
|
|
8
|
+
primary: string;
|
|
9
|
+
background: string;
|
|
10
|
+
card: string;
|
|
11
|
+
text: string;
|
|
12
|
+
border: string;
|
|
13
|
+
notification: string;
|
|
14
|
+
};
|
|
15
|
+
fonts: {
|
|
16
|
+
regular: NavigationThemeFont;
|
|
17
|
+
medium: NavigationThemeFont;
|
|
18
|
+
bold: NavigationThemeFont;
|
|
19
|
+
heavy: NavigationThemeFont;
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Projects Bloom's resolved theme into a react-navigation `Theme` POJO for
|
|
24
|
+
* expo-router's <ThemeProvider>. Keeps Bloom the single source of truth for
|
|
25
|
+
* navigator chrome (Stack headers, screen backgrounds, modal) so it tracks
|
|
26
|
+
* the active color preset. Returns a structural object — no react-navigation
|
|
27
|
+
* import — so Bloom stays decoupled. Replaces the per-app copies in
|
|
28
|
+
* test-app-expo / inbox / accounts.
|
|
29
|
+
*/
|
|
30
|
+
export declare function useNavigationTheme(): NavigationTheme;
|
|
31
|
+
//# sourceMappingURL=use-navigation-theme.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-navigation-theme.d.ts","sourceRoot":"","sources":["../../../../src/theme/use-navigation-theme.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,mBAAmB;IAClC,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,CAAC;CAC3C;AAED,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,OAAO,CAAC;IACd,MAAM,EAAE;QACN,OAAO,EAAE,MAAM,CAAC;QAChB,UAAU,EAAE,MAAM,CAAC;QACnB,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;QACb,MAAM,EAAE,MAAM,CAAC;QACf,YAAY,EAAE,MAAM,CAAC;KACtB,CAAC;IACF,KAAK,EAAE;QACL,OAAO,EAAE,mBAAmB,CAAC;QAC7B,MAAM,EAAE,mBAAmB,CAAC;QAC5B,IAAI,EAAE,mBAAmB,CAAC;QAC1B,KAAK,EAAE,mBAAmB,CAAC;KAC5B,CAAC;CACH;AASD;;;;;;;GAOG;AACH,wBAAgB,kBAAkB,IAAI,eAAe,CAiBpD"}
|
|
@@ -4,26 +4,26 @@
|
|
|
4
4
|
*
|
|
5
5
|
* Only really necessary on iOS but can work on Android.
|
|
6
6
|
*/
|
|
7
|
-
export declare function
|
|
7
|
+
export declare function TooltipSheetCompatProvider({ children, }: {
|
|
8
8
|
children: React.ReactNode;
|
|
9
9
|
}): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export declare namespace
|
|
10
|
+
export declare namespace TooltipSheetCompatProvider {
|
|
11
11
|
var displayName: string;
|
|
12
12
|
}
|
|
13
|
-
export declare function
|
|
13
|
+
export declare function Tooltip({ children, position, visible: requestVisible, onVisibleChange, }: {
|
|
14
14
|
children: React.ReactNode;
|
|
15
15
|
position?: 'top' | 'bottom';
|
|
16
16
|
visible: boolean;
|
|
17
17
|
onVisibleChange: (visible: boolean) => void;
|
|
18
18
|
}): import("react/jsx-runtime").JSX.Element;
|
|
19
|
-
export declare function
|
|
19
|
+
export declare function TooltipTrigger({ children }: {
|
|
20
20
|
children: React.ReactNode;
|
|
21
21
|
}): import("react/jsx-runtime").JSX.Element;
|
|
22
|
-
export declare function
|
|
22
|
+
export declare function TooltipContent({ children, label, }: {
|
|
23
23
|
children: React.ReactNode;
|
|
24
24
|
label: string;
|
|
25
25
|
}): import("react/jsx-runtime").JSX.Element | null;
|
|
26
|
-
export declare const
|
|
26
|
+
export declare const TooltipTextBubble: ({ children }: {
|
|
27
27
|
children: React.ReactNode;
|
|
28
28
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
29
29
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/tooltip/index.tsx"],"names":[],"mappings":"AAoEA;;;;;GAKG;AACH,wBAAgB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/tooltip/index.tsx"],"names":[],"mappings":"AAoEA;;;;;GAKG;AACH,wBAAgB,0BAA0B,CAAC,EACzC,QAAQ,GACT,EAAE;IACD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,2CAEA;yBANe,0BAA0B;;;AAS1C,wBAAgB,OAAO,CAAC,EACtB,QAAQ,EACR,QAAmB,EACnB,OAAO,EAAE,cAAc,EACvB,eAAe,GAChB,EAAE;IACD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,QAAQ,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAC;IAC5B,OAAO,EAAE,OAAO,CAAC;IACjB,eAAe,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;CAC7C,2CAsCA;AAED,wBAAgB,cAAc,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,2CAuBzE;AAED,wBAAgB,cAAc,CAAC,EAC7B,QAAQ,EACR,KAAK,GACN,EAAE;IACD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,EAAE,MAAM,CAAC;CACf,kDAoBA;AAgND,eAAO,MAAM,iBAAiB;;6CAAmC,CAAC"}
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* No-op on web. Portal Provider is only needed on native.
|
|
3
3
|
*/
|
|
4
|
-
export declare function
|
|
4
|
+
export declare function TooltipSheetCompatProvider({ children, }: {
|
|
5
5
|
children: React.ReactNode;
|
|
6
6
|
}): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export declare namespace
|
|
7
|
+
export declare namespace TooltipSheetCompatProvider {
|
|
8
8
|
var displayName: string;
|
|
9
9
|
}
|
|
10
|
-
export declare function
|
|
10
|
+
export declare function Tooltip({ children, position, visible, onVisibleChange, }: {
|
|
11
11
|
children: React.ReactNode;
|
|
12
12
|
position?: 'top' | 'bottom';
|
|
13
13
|
visible: boolean;
|
|
14
14
|
onVisibleChange: (visible: boolean) => void;
|
|
15
15
|
}): import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
export declare function
|
|
16
|
+
export declare function TooltipTrigger({ children }: {
|
|
17
17
|
children: React.ReactNode;
|
|
18
18
|
}): import("react/jsx-runtime").JSX.Element;
|
|
19
|
-
export declare function
|
|
19
|
+
export declare function TooltipContent({ children, label, }: {
|
|
20
20
|
children: React.ReactNode;
|
|
21
21
|
label: string;
|
|
22
22
|
}): import("react/jsx-runtime").JSX.Element | null;
|
|
23
|
-
export declare const
|
|
23
|
+
export declare const TooltipTextBubble: ({ children }: {
|
|
24
24
|
children: React.ReactNode;
|
|
25
25
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
26
26
|
//# sourceMappingURL=index.web.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.web.d.ts","sourceRoot":"","sources":["../../../../src/tooltip/index.web.tsx"],"names":[],"mappings":"AA0BA;;GAEG;AACH,wBAAgB,
|
|
1
|
+
{"version":3,"file":"index.web.d.ts","sourceRoot":"","sources":["../../../../src/tooltip/index.web.tsx"],"names":[],"mappings":"AA0BA;;GAEG;AACH,wBAAgB,0BAA0B,CAAC,EACzC,QAAQ,GACT,EAAE;IACD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,2CAEA;yBANe,0BAA0B;;;AAS1C,wBAAgB,OAAO,CAAC,EACtB,QAAQ,EACR,QAAmB,EACnB,OAAO,EACP,eAAe,GAChB,EAAE;IACD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,QAAQ,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAC;IAC5B,OAAO,EAAE,OAAO,CAAC;IACjB,eAAe,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;CAC7C,2CAkBA;AAED,wBAAgB,cAAc,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,2CAMzE;AAED,wBAAgB,cAAc,CAAC,EAC7B,QAAQ,EACR,KAAK,GACN,EAAE;IACD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,EAAE,MAAM,CAAC;CACf,kDAgEA;AAED,eAAO,MAAM,iBAAiB;;6CAAmC,CAAC"}
|
|
@@ -2,46 +2,47 @@ import React from 'react';
|
|
|
2
2
|
import { type StyleProp, type TextStyle, type ViewStyle } from 'react-native';
|
|
3
3
|
import { type ButtonProps } from '../button';
|
|
4
4
|
type AdmonitionType = 'info' | 'tip' | 'warning' | 'error' | 'apology';
|
|
5
|
-
export declare function
|
|
6
|
-
export declare namespace
|
|
5
|
+
export declare function AdmonitionIcon(): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export declare namespace AdmonitionIcon {
|
|
7
7
|
var displayName: string;
|
|
8
8
|
}
|
|
9
|
-
export declare function
|
|
9
|
+
export declare function AdmonitionContent({ children, style, }: {
|
|
10
10
|
children: React.ReactNode;
|
|
11
11
|
style?: StyleProp<ViewStyle>;
|
|
12
12
|
}): import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
export declare namespace
|
|
13
|
+
export declare namespace AdmonitionContent {
|
|
14
14
|
var displayName: string;
|
|
15
15
|
}
|
|
16
|
-
export declare function
|
|
16
|
+
export declare function AdmonitionText({ children, style, }: {
|
|
17
17
|
children?: React.ReactNode;
|
|
18
18
|
style?: TextStyle;
|
|
19
19
|
}): import("react/jsx-runtime").JSX.Element;
|
|
20
|
-
export declare namespace
|
|
20
|
+
export declare namespace AdmonitionText {
|
|
21
21
|
var displayName: string;
|
|
22
22
|
}
|
|
23
|
-
export declare function
|
|
24
|
-
export declare namespace
|
|
23
|
+
export declare function AdmonitionButton({ children, ...props }: Omit<ButtonProps, 'size' | 'variant'>): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
export declare namespace AdmonitionButton {
|
|
25
25
|
var displayName: string;
|
|
26
26
|
}
|
|
27
|
-
export declare function
|
|
27
|
+
export declare function AdmonitionRow({ children, style, }: {
|
|
28
28
|
children: React.ReactNode;
|
|
29
29
|
style?: StyleProp<ViewStyle>;
|
|
30
30
|
}): import("react/jsx-runtime").JSX.Element;
|
|
31
|
-
export declare namespace
|
|
31
|
+
export declare namespace AdmonitionRow {
|
|
32
32
|
var displayName: string;
|
|
33
33
|
}
|
|
34
|
-
export declare function
|
|
34
|
+
export declare function AdmonitionRoot({ children, type, style, }: {
|
|
35
35
|
children: React.ReactNode;
|
|
36
36
|
type?: AdmonitionType;
|
|
37
37
|
style?: StyleProp<ViewStyle>;
|
|
38
38
|
}): import("react/jsx-runtime").JSX.Element;
|
|
39
|
-
export declare namespace
|
|
39
|
+
export declare namespace AdmonitionRoot {
|
|
40
40
|
var displayName: string;
|
|
41
41
|
}
|
|
42
42
|
/**
|
|
43
43
|
* Simple all-in-one Admonition component for common use cases.
|
|
44
|
-
* For more control, compose with
|
|
44
|
+
* For more control, compose with AdmonitionRoot, AdmonitionRow, AdmonitionIcon,
|
|
45
|
+
* AdmonitionContent, AdmonitionText, and AdmonitionButton.
|
|
45
46
|
*/
|
|
46
47
|
export declare function Admonition({ children, type, style, }: {
|
|
47
48
|
children?: React.ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/admonition/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoC,MAAM,OAAO,CAAC;AACzD,OAAO,EAAoB,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAIhG,OAAO,EAAwB,KAAK,WAAW,EAAE,MAAM,WAAW,CAAC;AAMnE,KAAK,cAAc,GAAG,MAAM,GAAG,KAAK,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,CAAC;AAmBvE,wBAAgB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/admonition/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoC,MAAM,OAAO,CAAC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AAsC9B;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,EACzB,QAAQ,EACR,IAAI,EACJ,KAAK,GACN,EAAE;IACD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,2CAWA;yBAnBe,UAAU"}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { PopoverContentProps,
|
|
2
|
+
import type { PopoverContentProps, PopoverProps, PopoverTriggerProps } from '../popover/types';
|
|
3
3
|
import type { usePopoverContext as usePopoverContextType } from '../popover/context';
|
|
4
4
|
import type { ComboboxProps } from './types';
|
|
5
5
|
/**
|
|
6
6
|
* Structural shape of the `Popover` module, satisfied by both the native and
|
|
7
7
|
* web platform forks. Defined explicitly (rather than `typeof import(...)`) so
|
|
8
|
-
* the slightly different render-return types between forks (web `
|
|
9
|
-
* return `null`) don't make the modules mutually unassignable.
|
|
8
|
+
* the slightly different render-return types between forks (web `PopoverContent`
|
|
9
|
+
* may return `null`) don't make the modules mutually unassignable.
|
|
10
10
|
*/
|
|
11
11
|
interface PopoverModule {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
Popover: (props: PopoverProps) => React.ReactElement;
|
|
13
|
+
PopoverTrigger: (props: PopoverTriggerProps) => React.ReactElement;
|
|
14
|
+
PopoverContent: (props: PopoverContentProps) => React.ReactElement | null;
|
|
15
15
|
usePopoverContext: typeof usePopoverContextType;
|
|
16
16
|
}
|
|
17
17
|
/**
|
|
@@ -25,7 +25,7 @@ interface PopoverModule {
|
|
|
25
25
|
* read the overlay control from `Popover` context (via an inner component) so
|
|
26
26
|
* selecting an option reliably closes the overlay on every platform.
|
|
27
27
|
*/
|
|
28
|
-
export declare function createCombobox(
|
|
28
|
+
export declare function createCombobox(PopoverImpl: PopoverModule): {
|
|
29
29
|
<T = string>({ options, value, onValueChange, placeholder, label, emptyText, filter, query, onQueryChange, disabled, maxListHeight, style, testID, }: ComboboxProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
30
30
|
displayName: string;
|
|
31
31
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Combobox.d.ts","sourceRoot":"","sources":["../../../../src/combobox/Combobox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAoB5D,OAAO,KAAK,EACV,mBAAmB,EACnB,
|
|
1
|
+
{"version":3,"file":"Combobox.d.ts","sourceRoot":"","sources":["../../../../src/combobox/Combobox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAoB5D,OAAO,KAAK,EACV,mBAAmB,EACnB,YAAY,EACZ,mBAAmB,EACpB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EAAE,iBAAiB,IAAI,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AACrF,OAAO,KAAK,EAAkB,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7D;;;;;GAKG;AACH,UAAU,aAAa;IACrB,OAAO,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK,KAAK,CAAC,YAAY,CAAC;IACrD,cAAc,EAAE,CAAC,KAAK,EAAE,mBAAmB,KAAK,KAAK,CAAC,YAAY,CAAC;IACnE,cAAc,EAAE,CAAC,KAAK,EAAE,mBAAmB,KAAK,KAAK,CAAC,YAAY,GAAG,IAAI,CAAC;IAC1E,iBAAiB,EAAE,OAAO,qBAAqB,CAAC;CACjD;AAWD;;;;;;;;;;GAUG;AACH,wBAAgB,cAAc,CAAC,WAAW,EAAE,aAAa;KA8IrC,CAAC,oJAchB,aAAa,CAAC,CAAC,CAAC;;EAwBpB"}
|
|
@@ -7,15 +7,15 @@
|
|
|
7
7
|
* semantics shared by `Menu` and `Select`).
|
|
8
8
|
*/
|
|
9
9
|
import React from 'react';
|
|
10
|
-
import type {
|
|
11
|
-
export declare function
|
|
10
|
+
import type { ContextMenuContentProps, ContextMenuGroupProps, ContextMenuItemIconProps, ContextMenuItemProps, ContextMenuItemTextProps, ContextMenuTriggerProps } from './types';
|
|
11
|
+
export declare function ContextMenu({ children }: {
|
|
12
12
|
children: React.ReactNode;
|
|
13
13
|
}): import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
export declare function
|
|
15
|
-
export declare function
|
|
16
|
-
export declare function
|
|
17
|
-
export declare function
|
|
18
|
-
export declare function
|
|
19
|
-
export declare function
|
|
20
|
-
export declare function
|
|
14
|
+
export declare function ContextMenuTrigger({ children, label, hint, style }: ContextMenuTriggerProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export declare function ContextMenuContent({ children, style }: ContextMenuContentProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export declare function ContextMenuItem({ children, label, onPress, disabled, style, }: ContextMenuItemProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export declare function ContextMenuItemText({ children, style }: ContextMenuItemTextProps): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export declare function ContextMenuItemIcon({ icon: Comp }: ContextMenuItemIconProps): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export declare function ContextMenuGroup({ children, style }: ContextMenuGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export declare function ContextMenuDivider(): import("react/jsx-runtime").JSX.Element;
|
|
21
21
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/context-menu/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,KAKN,MAAM,OAAO,CAAC;AAUf,OAAO,KAAK,EAEV,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/context-menu/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,KAKN,MAAM,OAAO,CAAC;AAUf,OAAO,KAAK,EAEV,uBAAuB,EACvB,qBAAqB,EACrB,wBAAwB,EACxB,oBAAoB,EACpB,wBAAwB,EACxB,uBAAuB,EAExB,MAAM,SAAS,CAAC;AA2BjB,wBAAgB,WAAW,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,2CAkBtE;AAMD,wBAAgB,kBAAkB,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,uBAAuB,2CAwB3F;AAMD,wBAAgB,kBAAkB,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,uBAAuB,2CAiB9E;AAMD,wBAAgB,eAAe,CAAC,EAC9B,QAAQ,EACR,KAAK,EACL,OAAO,EACP,QAAgB,EAChB,KAAK,GACN,EAAE,oBAAoB,2CAgDtB;AAMD,wBAAgB,mBAAmB,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,wBAAwB,2CAiBhF;AAMD,wBAAgB,mBAAmB,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,wBAAwB,2CAU3E;AAMD,wBAAgB,gBAAgB,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,qBAAqB,2CAE1E;AAMD,wBAAgB,kBAAkB,4CAWjC"}
|
|
@@ -5,15 +5,15 @@
|
|
|
5
5
|
* Uses Bloom's Portal for rendering the menu above other content.
|
|
6
6
|
*/
|
|
7
7
|
import React from 'react';
|
|
8
|
-
import type {
|
|
9
|
-
export declare function
|
|
8
|
+
import type { ContextMenuContentProps, ContextMenuGroupProps, ContextMenuItemIconProps, ContextMenuItemProps, ContextMenuItemTextProps, ContextMenuTriggerProps } from './types';
|
|
9
|
+
export declare function ContextMenu({ children }: {
|
|
10
10
|
children: React.ReactNode;
|
|
11
11
|
}): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
export declare function
|
|
13
|
-
export declare function
|
|
14
|
-
export declare function
|
|
15
|
-
export declare function
|
|
16
|
-
export declare function
|
|
17
|
-
export declare function
|
|
18
|
-
export declare function
|
|
12
|
+
export declare function ContextMenuTrigger({ children, label, hint, style }: ContextMenuTriggerProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export declare function ContextMenuContent({ children, style }: ContextMenuContentProps): import("react/jsx-runtime").JSX.Element | null;
|
|
14
|
+
export declare function ContextMenuItem({ children, label, onPress, disabled, style, }: ContextMenuItemProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export declare function ContextMenuItemText({ children, style }: ContextMenuItemTextProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export declare function ContextMenuItemIcon({ icon: Comp }: ContextMenuItemIconProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export declare function ContextMenuGroup({ children }: ContextMenuGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export declare function ContextMenuDivider(): import("react/jsx-runtime").JSX.Element;
|
|
19
19
|
//# sourceMappingURL=index.web.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.web.d.ts","sourceRoot":"","sources":["../../../../src/context-menu/index.web.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAQN,MAAM,OAAO,CAAC;AASf,OAAO,KAAK,EAEV,
|
|
1
|
+
{"version":3,"file":"index.web.d.ts","sourceRoot":"","sources":["../../../../src/context-menu/index.web.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAQN,MAAM,OAAO,CAAC;AASf,OAAO,KAAK,EAEV,uBAAuB,EACvB,qBAAqB,EACrB,wBAAwB,EACxB,oBAAoB,EACpB,wBAAwB,EACxB,uBAAuB,EAExB,MAAM,SAAS,CAAC;AA+BjB,wBAAgB,WAAW,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,2CA2BtE;AAWD,wBAAgB,kBAAkB,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,uBAAuB,2CA4C3F;AAMD,wBAAgB,kBAAkB,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,uBAAuB,kDA6C9E;AAMD,wBAAgB,eAAe,CAAC,EAC9B,QAAQ,EACR,KAAK,EACL,OAAO,EACP,QAAgB,EAChB,KAAK,GACN,EAAE,oBAAoB,2CA+CtB;AAMD,wBAAgB,mBAAmB,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,wBAAwB,2CAiBhF;AAMD,wBAAgB,mBAAmB,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,wBAAwB,2CAU3E;AAMD,wBAAgB,gBAAgB,CAAC,EAAE,QAAQ,EAAE,EAAE,qBAAqB,2CAEnE;AAMD,wBAAgB,kBAAkB,4CAWjC"}
|
|
@@ -8,7 +8,7 @@ export type ContextMenuContextValue = {
|
|
|
8
8
|
export type ItemContextValue = {
|
|
9
9
|
disabled: boolean;
|
|
10
10
|
};
|
|
11
|
-
export type
|
|
11
|
+
export type ContextMenuTriggerProps = {
|
|
12
12
|
children: (props: TriggerChildProps) => React.ReactNode;
|
|
13
13
|
label: string;
|
|
14
14
|
/** Accessibility hint describing what long-pressing / right-clicking does. */
|
|
@@ -32,22 +32,22 @@ export type TriggerChildProps = {
|
|
|
32
32
|
accessibilityHint?: string;
|
|
33
33
|
};
|
|
34
34
|
};
|
|
35
|
-
export type
|
|
35
|
+
export type ContextMenuContentProps = React.PropsWithChildren<{
|
|
36
36
|
style?: StyleProp<ViewStyle>;
|
|
37
37
|
}>;
|
|
38
|
-
export type
|
|
38
|
+
export type ContextMenuItemProps = React.PropsWithChildren<{
|
|
39
39
|
label: string;
|
|
40
40
|
onPress: (e?: GestureResponderEvent) => void;
|
|
41
41
|
disabled?: boolean;
|
|
42
42
|
style?: StyleProp<ViewStyle>;
|
|
43
43
|
}>;
|
|
44
|
-
export type
|
|
44
|
+
export type ContextMenuItemTextProps = React.PropsWithChildren<{
|
|
45
45
|
style?: TextStyle;
|
|
46
46
|
}>;
|
|
47
|
-
export type
|
|
47
|
+
export type ContextMenuItemIconProps = {
|
|
48
48
|
icon: React.ComponentType<SVGIconProps>;
|
|
49
49
|
};
|
|
50
|
-
export type
|
|
50
|
+
export type ContextMenuGroupProps = React.PropsWithChildren<{
|
|
51
51
|
style?: StyleProp<ViewStyle>;
|
|
52
52
|
}>;
|
|
53
53
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/context-menu/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EACjB,qBAAqB,EACrB,SAAS,EACT,SAAS,EACT,SAAS,EACV,MAAM,cAAc,CAAC;AAEtB,OAAO,KAAK,EAAE,KAAK,IAAI,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE7D,MAAM,MAAM,uBAAuB,GAAG;IACpC,MAAM,EAAE,OAAO,CAAC;IAChB,IAAI,EAAE,MAAM,IAAI,CAAC;IACjB,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/context-menu/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EACjB,qBAAqB,EACrB,SAAS,EACT,SAAS,EACT,SAAS,EACV,MAAM,cAAc,CAAC;AAEtB,OAAO,KAAK,EAAE,KAAK,IAAI,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE7D,MAAM,MAAM,uBAAuB,GAAG;IACpC,MAAM,EAAE,OAAO,CAAC;IAChB,IAAI,EAAE,MAAM,IAAI,CAAC;IACjB,KAAK,EAAE,MAAM,IAAI,CAAC;CAC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;IAC7C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC,CAAC;AAEH,MAAM,MAAM,wBAAwB,GAAG,KAAK,CAAC,iBAAiB,CAAC;IAC7D,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB,CAAC,CAAC;AAEH,MAAM,MAAM,wBAAwB,GAAG;IACrC,IAAI,EAAE,KAAK,CAAC,aAAa,CAAC,YAAY,CAAC,CAAC;CACzC,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,KAAK,CAAC,iBAAiB,CAAC;IAC1D,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC,CAAC"}
|
|
@@ -24,7 +24,7 @@ export interface SheetShellProps {
|
|
|
24
24
|
}
|
|
25
25
|
/**
|
|
26
26
|
* Bottom-sheet shell with an embedded drag handle. Exposes the bloom
|
|
27
|
-
* dialog `close()` context to descendants — `
|
|
27
|
+
* dialog `close()` context to descendants — `MenuItem`, `SelectItem`
|
|
28
28
|
* etc. rely on it to dismiss the sheet after selection.
|
|
29
29
|
*/
|
|
30
30
|
export declare function SheetShell({ control, label, header, onClose, contentStyle, children, }: SheetShellProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -26,7 +26,7 @@ export type { AvatarGroupProps, AvatarGroupItem } from './avatar-group';
|
|
|
26
26
|
export { UserHoverCard } from './user-hover-card';
|
|
27
27
|
export type { UserHoverCardProps, UserHoverCardStat } from './user-hover-card';
|
|
28
28
|
export * from './loading';
|
|
29
|
-
export *
|
|
29
|
+
export * from './prompt-input';
|
|
30
30
|
export * from './switch';
|
|
31
31
|
export { toast, type Toast } from './toast';
|
|
32
32
|
export * as Typography from './typography';
|
|
@@ -34,8 +34,8 @@ export * as Skeleton from './skeleton';
|
|
|
34
34
|
export * as Grid from './grid';
|
|
35
35
|
export { Fill } from './fill';
|
|
36
36
|
export { IconCircle } from './icon-circle';
|
|
37
|
-
export *
|
|
38
|
-
export *
|
|
37
|
+
export * from './text-field';
|
|
38
|
+
export * from './segmented-control';
|
|
39
39
|
export { SearchInput } from './search-input';
|
|
40
40
|
export { Label } from './label';
|
|
41
41
|
export type { LabelProps } from './label';
|
|
@@ -52,20 +52,20 @@ export type { BottomSheetRef, BottomSheetProps } from './bottom-sheet';
|
|
|
52
52
|
export * from './card';
|
|
53
53
|
export * from './badge';
|
|
54
54
|
export * from './chip';
|
|
55
|
-
export *
|
|
55
|
+
export * from './tabs';
|
|
56
56
|
export * from './checkbox';
|
|
57
|
-
export *
|
|
57
|
+
export * from './accordion';
|
|
58
58
|
export * from './settings-list';
|
|
59
59
|
export { Item } from './item';
|
|
60
60
|
export type { ItemProps } from './item';
|
|
61
61
|
export { Kbd } from './kbd';
|
|
62
62
|
export type { KbdProps } from './kbd';
|
|
63
|
-
export *
|
|
64
|
-
export *
|
|
65
|
-
export *
|
|
66
|
-
export *
|
|
67
|
-
export *
|
|
68
|
-
export *
|
|
63
|
+
export * from './admonition';
|
|
64
|
+
export * from './menu';
|
|
65
|
+
export * from './tooltip';
|
|
66
|
+
export * from './select';
|
|
67
|
+
export * from './context-menu';
|
|
68
|
+
export * from './popover';
|
|
69
69
|
export { AlertDialog, AlertDialogHost, confirm } from './alert-dialog';
|
|
70
70
|
export type { AlertDialogProps, AlertDialogActionStyle, ConfirmOptions, } from './alert-dialog';
|
|
71
71
|
export { Command } from './command';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AACA,cAAc,SAAS,CAAC;AAGxB,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAC3D,YAAY,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAC7D,OAAO,KAAK,MAAM,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,GAAG,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AAY,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAG3D,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAC;AAG/B,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC"}
|
|
@@ -26,7 +26,7 @@ export type { AvatarGroupProps, AvatarGroupItem } from './avatar-group/index.web
|
|
|
26
26
|
export { UserHoverCard } from './user-hover-card';
|
|
27
27
|
export type { UserHoverCardProps, UserHoverCardStat } from './user-hover-card';
|
|
28
28
|
export * from './loading/index.web';
|
|
29
|
-
export *
|
|
29
|
+
export * from './prompt-input';
|
|
30
30
|
export * from './switch';
|
|
31
31
|
export { toast, type Toast } from './toast/index.web';
|
|
32
32
|
export * as Typography from './typography';
|
|
@@ -34,8 +34,8 @@ export * as Skeleton from './skeleton';
|
|
|
34
34
|
export * as Grid from './grid';
|
|
35
35
|
export { Fill } from './fill';
|
|
36
36
|
export { IconCircle } from './icon-circle';
|
|
37
|
-
export *
|
|
38
|
-
export *
|
|
37
|
+
export * from './text-field';
|
|
38
|
+
export * from './segmented-control';
|
|
39
39
|
export { SearchInput } from './search-input';
|
|
40
40
|
export { Label } from './label';
|
|
41
41
|
export type { LabelProps } from './label';
|
|
@@ -52,20 +52,20 @@ export type { BottomSheetRef, BottomSheetProps } from './bottom-sheet';
|
|
|
52
52
|
export * from './card';
|
|
53
53
|
export * from './badge';
|
|
54
54
|
export * from './chip';
|
|
55
|
-
export *
|
|
55
|
+
export * from './tabs';
|
|
56
56
|
export * from './checkbox';
|
|
57
|
-
export *
|
|
57
|
+
export * from './accordion';
|
|
58
58
|
export * from './settings-list';
|
|
59
59
|
export { Item } from './item';
|
|
60
60
|
export type { ItemProps } from './item';
|
|
61
61
|
export { Kbd } from './kbd';
|
|
62
62
|
export type { KbdProps } from './kbd';
|
|
63
|
-
export *
|
|
64
|
-
export *
|
|
65
|
-
export *
|
|
66
|
-
export *
|
|
67
|
-
export *
|
|
68
|
-
export *
|
|
63
|
+
export * from './admonition';
|
|
64
|
+
export * from './menu/index.web';
|
|
65
|
+
export * from './tooltip/index.web';
|
|
66
|
+
export * from './select/index.web';
|
|
67
|
+
export * from './context-menu/index.web';
|
|
68
|
+
export * from './popover/index.web';
|
|
69
69
|
export { AlertDialog, AlertDialogHost, confirm } from './alert-dialog/index.web';
|
|
70
70
|
export type { AlertDialogProps, AlertDialogActionStyle, ConfirmOptions, } from './alert-dialog/index.web';
|
|
71
71
|
export { Command } from './command/index.web';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.web.d.ts","sourceRoot":"","sources":["../../../src/index.web.ts"],"names":[],"mappings":"AAMA,cAAc,SAAS,CAAC;AAGxB,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAC3D,YAAY,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAC7D,OAAO,KAAK,MAAM,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAGhF,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAG9D,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AACjC,OAAO,EAAE,KAAK,KAAK,IAAI,SAAS,EAAE,KAAK,IAAI,SAAS,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAGhG,cAAc,oBAAoB,CAAC;AACnC,OAAO,EACL,MAAM,EACN,4BAA4B,EAC5B,mBAAmB,EACnB,KAAK,EACL,gBAAgB,EAChB,gBAAgB,GACjB,MAAM,oBAAoB,CAAC;AAC5B,YAAY,EACV,WAAW,EACX,gBAAgB,EAChB,YAAY,EACZ,iBAAiB,EACjB,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