@office-iss/react-native-win32 0.72.11 → 0.72.13

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.
@@ -1,82 +0,0 @@
1
- import RN = require('react-native');
2
- import type { IKeyboardEvent, IHandledKeyboardEvent } from '../View/ViewPropTypes';
3
-
4
- /**
5
- * Role-based text style names.
6
- */
7
- export type TextWin32TextStyle =
8
- | 'None'
9
- | 'SmallStandard'
10
- | 'SmallSecondary'
11
- | 'MediumStandard'
12
- | 'MediumSecondary'
13
- | 'MediumApp'
14
- | 'MediumBold'
15
- | 'MediumBoldApp'
16
- | 'LargeStandard'
17
- | 'LargePlusStandard'
18
- | 'ExtraLargeStandard'
19
- | 'HugeStandard';
20
-
21
- export interface ITextWin32Props extends RN.TextProps {
22
- onKeyDown?: (args: IKeyboardEvent) => void;
23
- onKeyDownCapture?: (args: IKeyboardEvent) => void;
24
- onKeyUp?: (args: IKeyboardEvent) => void;
25
- onKeyUpCapture?: (args: IKeyboardEvent) => void;
26
-
27
- keyDownEvents?: IHandledKeyboardEvent[];
28
- keyUpEvents?: IHandledKeyboardEvent[];
29
-
30
- /** Enables a focusable label with copyability but without character selectability (property:selectable) */
31
- focusable?: boolean;
32
-
33
- /**
34
- * The onBlur event occurs when an element loses focus. The opposite of onBlur is onFocus. Note that in React
35
- * Native, unlike in the web, the onBlur event bubbles (similar to onFocusOut in the web).
36
- *
37
- * `ev.target === ev.currentTarget` when the focus is being lost from this component.
38
- * `ev.target !== ev.currentTarget` when the focus is being lost from a descendant.
39
- */
40
- onBlur?: (ev: RN.NativeSyntheticEvent<{}>) => void;
41
- /**
42
- * The onBlur event occurs when an element loses focus. The opposite of onBlur is onFocus. Note that in React
43
- * Native, unlike in the web, the onBlur event bubbles (similar to onFocusOut in the web).
44
- *
45
- * `ev.target === ev.currentTarget` when the focus is being lost from this component.
46
- * `ev.target !== ev.currentTarget` when the focus is being lost from a descendant.
47
- */
48
- onBlurCapture?: (ev: RN.NativeSyntheticEvent<{}>) => void;
49
- /**
50
- * The onFocus event occurs when an element gets focus. The opposite of onFocus is onBlur. Note that in React
51
- * Native, unlike in the web, the onFocus event bubbles (similar to onFocusIn in the web).
52
- *
53
- * `ev.target === ev.currentTarget` when the focus is being lost from this component.
54
- * `ev.target !== ev.currentTarget` when the focus is being lost from a descendant.
55
- */
56
- onFocus?: (ev: RN.NativeSyntheticEvent<{}>) => void;
57
- /**
58
- * The onFocus event occurs when an element gets focus. The opposite of onFocus is onBlur. Note that in React
59
- * Native, unlike in the web, the onFocus event bubbles (similar to onFocusIn in the web).
60
- *
61
- * `ev.target === ev.currentTarget` when the focus is being lost from this component.
62
- * `ev.target !== ev.currentTarget` when the focus is being lost from a descendant.
63
- */
64
- onFocusCapture?: (ev: RN.NativeSyntheticEvent<{}>) => void;
65
-
66
- /**
67
- * Role-based styling of the text control. The styles applied include
68
- * font face, size, weight and color. These styles take precedence over
69
- * the `style` property.
70
- *
71
- * @remarks
72
- * The default value is `MediumStandard`.
73
- *
74
- * When set to `None`, role-based styling is disabled.
75
- *
76
- * @deprecated Use `style` instead.
77
- */
78
- textStyle?: TextWin32TextStyle;
79
-
80
- /** Tooltip displayed on mouse hover of this element */
81
- tooltip?: string;
82
- }