@24i/bigscreen-sdk 1.0.15-alpha.2300 → 1.0.15-alpha.2301
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@24i/bigscreen-sdk",
|
|
3
|
-
"version": "1.0.15-alpha.
|
|
3
|
+
"version": "1.0.15-alpha.2301",
|
|
4
4
|
"description": "SmartApps BIGscreen SDK monorepo",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
},
|
|
38
38
|
"homepage": "https://github.com/24i/smartapps-bigscreen-sdk#readme",
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@24i/appstage-shared-analytics": "1.0.
|
|
40
|
+
"@24i/appstage-shared-analytics": "1.0.1-alpha1",
|
|
41
41
|
"@24i/appstage-shared-events-manager": "1.0.7",
|
|
42
42
|
"@24i/appstage-shared-perf-utils": "1.0.5",
|
|
43
43
|
"@24i/player-base": "6.10.0",
|
|
@@ -106,6 +106,4 @@ export const gtagPayloadParams: Record<string, string> = {
|
|
|
106
106
|
seriesTitle: `${stringParameter}.video_series_title`,
|
|
107
107
|
url: `${stringParameter}.video_url`,
|
|
108
108
|
assetId: `${stringParameter}.video_asset_id`,
|
|
109
|
-
channelNumber: `${numericParameter}.channel_number`,
|
|
110
|
-
channelTitle: `${stringParameter}.channel_title`,
|
|
111
109
|
};
|
|
@@ -133,19 +133,9 @@ declare namespace React {
|
|
|
133
133
|
key?: Key | null | undefined;
|
|
134
134
|
}
|
|
135
135
|
interface RefAttributes<T> extends Attributes {
|
|
136
|
-
/**
|
|
137
|
-
* Allows getting a ref to the component instance.
|
|
138
|
-
* Once the component unmounts, React will set `ref.current` to `null` (or call the ref with `null` if you passed a callback ref).
|
|
139
|
-
* @see https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom
|
|
140
|
-
*/
|
|
141
136
|
ref?: Ref<T> | undefined;
|
|
142
137
|
}
|
|
143
138
|
interface ClassAttributes<T> extends Attributes {
|
|
144
|
-
/**
|
|
145
|
-
* Allows getting a ref to the component instance.
|
|
146
|
-
* Once the component unmounts, React will set `ref.current` to `null` (or call the ref with `null` if you passed a callback ref).
|
|
147
|
-
* @see https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom
|
|
148
|
-
*/
|
|
149
139
|
ref?: LegacyRef<T> | undefined;
|
|
150
140
|
}
|
|
151
141
|
|
|
@@ -413,7 +403,7 @@ declare namespace React {
|
|
|
413
403
|
const version: string;
|
|
414
404
|
|
|
415
405
|
/**
|
|
416
|
-
* {@link https://
|
|
406
|
+
* {@link https://reactjs.org/docs/profiler.html#onrender-callback Profiler API}
|
|
417
407
|
*/
|
|
418
408
|
type ProfilerOnRenderCallback = (
|
|
419
409
|
id: string,
|
|
@@ -460,7 +450,7 @@ declare namespace React {
|
|
|
460
450
|
* }
|
|
461
451
|
* ```
|
|
462
452
|
*
|
|
463
|
-
* @see https://
|
|
453
|
+
* @see https://reactjs.org/docs/context.html#classcontexttype
|
|
464
454
|
*/
|
|
465
455
|
static contextType?: Context<any> | undefined;
|
|
466
456
|
|
|
@@ -477,14 +467,14 @@ declare namespace React {
|
|
|
477
467
|
* declare context: React.ContextType<typeof MyContext>
|
|
478
468
|
* ```
|
|
479
469
|
*
|
|
480
|
-
* @see https://
|
|
470
|
+
* @see https://reactjs.org/docs/context.html
|
|
481
471
|
*/
|
|
482
472
|
context: unknown;
|
|
483
473
|
|
|
484
474
|
constructor(props: Readonly<P> | P);
|
|
485
475
|
/**
|
|
486
476
|
* @deprecated
|
|
487
|
-
* @see https://
|
|
477
|
+
* @see https://reactjs.org/docs/legacy-context.html
|
|
488
478
|
*/
|
|
489
479
|
constructor(props: P, context: any);
|
|
490
480
|
|
|
@@ -503,7 +493,7 @@ declare namespace React {
|
|
|
503
493
|
state: Readonly<S>;
|
|
504
494
|
/**
|
|
505
495
|
* @deprecated
|
|
506
|
-
* https://
|
|
496
|
+
* https://reactjs.org/docs/refs-and-the-dom.html#legacy-api-string-refs
|
|
507
497
|
*/
|
|
508
498
|
refs: {
|
|
509
499
|
[key: string]: ReactInstance
|
|
@@ -679,8 +669,8 @@ declare namespace React {
|
|
|
679
669
|
* prevents this from being invoked.
|
|
680
670
|
*
|
|
681
671
|
* @deprecated 16.3, use componentDidMount or the constructor instead; will stop working in React 17
|
|
682
|
-
* @see https://
|
|
683
|
-
* @see https://
|
|
672
|
+
* @see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#initializing-state
|
|
673
|
+
* @see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path
|
|
684
674
|
*/
|
|
685
675
|
componentWillMount?(): void;
|
|
686
676
|
/**
|
|
@@ -693,8 +683,8 @@ declare namespace React {
|
|
|
693
683
|
* prevents this from being invoked.
|
|
694
684
|
*
|
|
695
685
|
* @deprecated 16.3, use componentDidMount or the constructor instead
|
|
696
|
-
* @see https://
|
|
697
|
-
* @see https://
|
|
686
|
+
* @see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#initializing-state
|
|
687
|
+
* @see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path
|
|
698
688
|
*/
|
|
699
689
|
UNSAFE_componentWillMount?(): void;
|
|
700
690
|
/**
|
|
@@ -708,8 +698,8 @@ declare namespace React {
|
|
|
708
698
|
* prevents this from being invoked.
|
|
709
699
|
*
|
|
710
700
|
* @deprecated 16.3, use static getDerivedStateFromProps instead; will stop working in React 17
|
|
711
|
-
* @see https://
|
|
712
|
-
* @see https://
|
|
701
|
+
* @see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#updating-state-based-on-props
|
|
702
|
+
* @see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path
|
|
713
703
|
*/
|
|
714
704
|
componentWillReceiveProps?(nextProps: Readonly<P>, nextContext: any): void;
|
|
715
705
|
/**
|
|
@@ -725,8 +715,8 @@ declare namespace React {
|
|
|
725
715
|
* prevents this from being invoked.
|
|
726
716
|
*
|
|
727
717
|
* @deprecated 16.3, use static getDerivedStateFromProps instead
|
|
728
|
-
* @see https://
|
|
729
|
-
* @see https://
|
|
718
|
+
* @see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#updating-state-based-on-props
|
|
719
|
+
* @see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path
|
|
730
720
|
*/
|
|
731
721
|
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<P>, nextContext: any): void;
|
|
732
722
|
/**
|
|
@@ -738,8 +728,8 @@ declare namespace React {
|
|
|
738
728
|
* prevents this from being invoked.
|
|
739
729
|
*
|
|
740
730
|
* @deprecated 16.3, use getSnapshotBeforeUpdate instead; will stop working in React 17
|
|
741
|
-
* @see https://
|
|
742
|
-
* @see https://
|
|
731
|
+
* @see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#reading-dom-properties-before-an-update
|
|
732
|
+
* @see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path
|
|
743
733
|
*/
|
|
744
734
|
componentWillUpdate?(nextProps: Readonly<P>, nextState: Readonly<S>, nextContext: any): void;
|
|
745
735
|
/**
|
|
@@ -753,8 +743,8 @@ declare namespace React {
|
|
|
753
743
|
* prevents this from being invoked.
|
|
754
744
|
*
|
|
755
745
|
* @deprecated 16.3, use getSnapshotBeforeUpdate instead
|
|
756
|
-
* @see https://
|
|
757
|
-
* @see https://
|
|
746
|
+
* @see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#reading-dom-properties-before-an-update
|
|
747
|
+
* @see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path
|
|
758
748
|
*/
|
|
759
749
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<P>, nextState: Readonly<S>, nextContext: any): void;
|
|
760
750
|
}
|
|
@@ -897,14 +887,14 @@ declare namespace React {
|
|
|
897
887
|
* context value, as given by the nearest context provider for the given context.
|
|
898
888
|
*
|
|
899
889
|
* @version 16.8.0
|
|
900
|
-
* @see https://
|
|
890
|
+
* @see https://reactjs.org/docs/hooks-reference.html#usecontext
|
|
901
891
|
*/
|
|
902
892
|
function useContext<T>(context: Context<T>/*, (not public API) observedBits?: number|boolean */): T;
|
|
903
893
|
/**
|
|
904
894
|
* Returns a stateful value, and a function to update it.
|
|
905
895
|
*
|
|
906
896
|
* @version 16.8.0
|
|
907
|
-
* @see https://
|
|
897
|
+
* @see https://reactjs.org/docs/hooks-reference.html#usestate
|
|
908
898
|
*/
|
|
909
899
|
function useState<S>(initialState: S | (() => S)): [S, Dispatch<SetStateAction<S>>];
|
|
910
900
|
// convenience overload when first argument is omitted
|
|
@@ -912,7 +902,7 @@ declare namespace React {
|
|
|
912
902
|
* Returns a stateful value, and a function to update it.
|
|
913
903
|
*
|
|
914
904
|
* @version 16.8.0
|
|
915
|
-
* @see https://
|
|
905
|
+
* @see https://reactjs.org/docs/hooks-reference.html#usestate
|
|
916
906
|
*/
|
|
917
907
|
function useState<S = undefined>(): [S | undefined, Dispatch<SetStateAction<S | undefined>>];
|
|
918
908
|
/**
|
|
@@ -923,7 +913,7 @@ declare namespace React {
|
|
|
923
913
|
* updates because you can pass `dispatch` down instead of callbacks.
|
|
924
914
|
*
|
|
925
915
|
* @version 16.8.0
|
|
926
|
-
* @see https://
|
|
916
|
+
* @see https://reactjs.org/docs/hooks-reference.html#usereducer
|
|
927
917
|
*/
|
|
928
918
|
// overload where dispatch could accept 0 arguments.
|
|
929
919
|
function useReducer<R extends ReducerWithoutAction<any>, I>(
|
|
@@ -939,7 +929,7 @@ declare namespace React {
|
|
|
939
929
|
* updates because you can pass `dispatch` down instead of callbacks.
|
|
940
930
|
*
|
|
941
931
|
* @version 16.8.0
|
|
942
|
-
* @see https://
|
|
932
|
+
* @see https://reactjs.org/docs/hooks-reference.html#usereducer
|
|
943
933
|
*/
|
|
944
934
|
// overload where dispatch could accept 0 arguments.
|
|
945
935
|
function useReducer<R extends ReducerWithoutAction<any>>(
|
|
@@ -955,7 +945,7 @@ declare namespace React {
|
|
|
955
945
|
* updates because you can pass `dispatch` down instead of callbacks.
|
|
956
946
|
*
|
|
957
947
|
* @version 16.8.0
|
|
958
|
-
* @see https://
|
|
948
|
+
* @see https://reactjs.org/docs/hooks-reference.html#usereducer
|
|
959
949
|
*/
|
|
960
950
|
// overload where "I" may be a subset of ReducerState<R>; used to provide autocompletion.
|
|
961
951
|
// If "I" matches ReducerState<R> exactly then the last overload will allow initializer to be omitted.
|
|
@@ -973,7 +963,7 @@ declare namespace React {
|
|
|
973
963
|
* updates because you can pass `dispatch` down instead of callbacks.
|
|
974
964
|
*
|
|
975
965
|
* @version 16.8.0
|
|
976
|
-
* @see https://
|
|
966
|
+
* @see https://reactjs.org/docs/hooks-reference.html#usereducer
|
|
977
967
|
*/
|
|
978
968
|
// overload for free "I"; all goes as long as initializer converts it into "ReducerState<R>".
|
|
979
969
|
function useReducer<R extends Reducer<any, any>, I>(
|
|
@@ -989,7 +979,7 @@ declare namespace React {
|
|
|
989
979
|
* updates because you can pass `dispatch` down instead of callbacks.
|
|
990
980
|
*
|
|
991
981
|
* @version 16.8.0
|
|
992
|
-
* @see https://
|
|
982
|
+
* @see https://reactjs.org/docs/hooks-reference.html#usereducer
|
|
993
983
|
*/
|
|
994
984
|
|
|
995
985
|
// I'm not sure if I keep this 2-ary or if I make it (2,3)-ary; it's currently (2,3)-ary.
|
|
@@ -1014,7 +1004,7 @@ declare namespace React {
|
|
|
1014
1004
|
* value around similar to how you’d use instance fields in classes.
|
|
1015
1005
|
*
|
|
1016
1006
|
* @version 16.8.0
|
|
1017
|
-
* @see https://
|
|
1007
|
+
* @see https://reactjs.org/docs/hooks-reference.html#useref
|
|
1018
1008
|
*/
|
|
1019
1009
|
function useRef<T>(initialValue: T): MutableRefObject<T>;
|
|
1020
1010
|
// convenience overload for refs given as a ref prop as they typically start with a null value
|
|
@@ -1029,7 +1019,7 @@ declare namespace React {
|
|
|
1029
1019
|
* of the generic argument.
|
|
1030
1020
|
*
|
|
1031
1021
|
* @version 16.8.0
|
|
1032
|
-
* @see https://
|
|
1022
|
+
* @see https://reactjs.org/docs/hooks-reference.html#useref
|
|
1033
1023
|
*/
|
|
1034
1024
|
function useRef<T>(initialValue: T|null): RefObject<T>;
|
|
1035
1025
|
// convenience overload for potentially undefined initialValue / call with 0 arguments
|
|
@@ -1042,7 +1032,7 @@ declare namespace React {
|
|
|
1042
1032
|
* value around similar to how you’d use instance fields in classes.
|
|
1043
1033
|
*
|
|
1044
1034
|
* @version 16.8.0
|
|
1045
|
-
* @see https://
|
|
1035
|
+
* @see https://reactjs.org/docs/hooks-reference.html#useref
|
|
1046
1036
|
*/
|
|
1047
1037
|
function useRef<T = undefined>(): MutableRefObject<T | undefined>;
|
|
1048
1038
|
/**
|
|
@@ -1056,7 +1046,7 @@ declare namespace React {
|
|
|
1056
1046
|
* `componentDidMount` and `componentDidUpdate`.
|
|
1057
1047
|
*
|
|
1058
1048
|
* @version 16.8.0
|
|
1059
|
-
* @see https://
|
|
1049
|
+
* @see https://reactjs.org/docs/hooks-reference.html#uselayouteffect
|
|
1060
1050
|
*/
|
|
1061
1051
|
function useLayoutEffect(effect: EffectCallback, deps?: DependencyList): void;
|
|
1062
1052
|
/**
|
|
@@ -1066,7 +1056,7 @@ declare namespace React {
|
|
|
1066
1056
|
* @param deps If present, effect will only activate if the values in the list change.
|
|
1067
1057
|
*
|
|
1068
1058
|
* @version 16.8.0
|
|
1069
|
-
* @see https://
|
|
1059
|
+
* @see https://reactjs.org/docs/hooks-reference.html#useeffect
|
|
1070
1060
|
*/
|
|
1071
1061
|
function useEffect(effect: EffectCallback, deps?: DependencyList): void;
|
|
1072
1062
|
// NOTE: this does not accept strings, but this will have to be fixed by removing strings from type Ref<T>
|
|
@@ -1077,7 +1067,7 @@ declare namespace React {
|
|
|
1077
1067
|
* `useImperativeHandle` should be used with `React.forwardRef`.
|
|
1078
1068
|
*
|
|
1079
1069
|
* @version 16.8.0
|
|
1080
|
-
* @see https://
|
|
1070
|
+
* @see https://reactjs.org/docs/hooks-reference.html#useimperativehandle
|
|
1081
1071
|
*/
|
|
1082
1072
|
function useImperativeHandle<T, R extends T>(ref: Ref<T>|undefined, init: () => R, deps?: DependencyList): void;
|
|
1083
1073
|
// I made 'inputs' required here and in useMemo as there's no point to memoizing without the memoization key
|
|
@@ -1087,7 +1077,7 @@ declare namespace React {
|
|
|
1087
1077
|
* has changed.
|
|
1088
1078
|
*
|
|
1089
1079
|
* @version 16.8.0
|
|
1090
|
-
* @see https://
|
|
1080
|
+
* @see https://reactjs.org/docs/hooks-reference.html#usecallback
|
|
1091
1081
|
*/
|
|
1092
1082
|
// A specific function type would not trigger implicit any.
|
|
1093
1083
|
// See https://github.com/DefinitelyTyped/DefinitelyTyped/issues/52873#issuecomment-845806435 for a comparison between `Function` and more specific types.
|
|
@@ -1097,7 +1087,7 @@ declare namespace React {
|
|
|
1097
1087
|
* `useMemo` will only recompute the memoized value when one of the `deps` has changed.
|
|
1098
1088
|
*
|
|
1099
1089
|
* @version 16.8.0
|
|
1100
|
-
* @see https://
|
|
1090
|
+
* @see https://reactjs.org/docs/hooks-reference.html#usememo
|
|
1101
1091
|
*/
|
|
1102
1092
|
// allow undefined, but don't make it optional as that is very likely a mistake
|
|
1103
1093
|
function useMemo<T>(factory: () => T, deps: DependencyList | undefined): T;
|
|
@@ -1108,7 +1098,7 @@ declare namespace React {
|
|
|
1108
1098
|
* It’s most valuable for custom hooks that are part of shared libraries.
|
|
1109
1099
|
*
|
|
1110
1100
|
* @version 16.8.0
|
|
1111
|
-
* @see https://
|
|
1101
|
+
* @see https://reactjs.org/docs/hooks-reference.html#usedebugvalue
|
|
1112
1102
|
*/
|
|
1113
1103
|
// the name of the custom hook is itself derived from the function name at runtime:
|
|
1114
1104
|
// it's just the function name without the "use" prefix.
|
|
@@ -1138,7 +1128,7 @@ declare namespace React {
|
|
|
1138
1128
|
*
|
|
1139
1129
|
* @param value The value that is going to be deferred
|
|
1140
1130
|
*
|
|
1141
|
-
* @see https://
|
|
1131
|
+
* @see https://reactjs.org/docs/concurrent-mode-reference.html#usedeferredvalue
|
|
1142
1132
|
*/
|
|
1143
1133
|
export function useDeferredValue<T>(value: T): T;
|
|
1144
1134
|
|
|
@@ -1155,7 +1145,7 @@ declare namespace React {
|
|
|
1155
1145
|
*
|
|
1156
1146
|
* **If some state update causes a component to suspend, that state update should be wrapped in a transition.**`
|
|
1157
1147
|
*
|
|
1158
|
-
* @see https://
|
|
1148
|
+
* @see https://reactjs.org/docs/concurrent-mode-reference.html#usetransition
|
|
1159
1149
|
*/
|
|
1160
1150
|
export function useTransition(): [boolean, TransitionStartFunction];
|
|
1161
1151
|
|
|
@@ -1865,7 +1855,6 @@ declare namespace React {
|
|
|
1865
1855
|
|
|
1866
1856
|
// Standard HTML Attributes
|
|
1867
1857
|
accessKey?: string | undefined;
|
|
1868
|
-
autoFocus?: boolean | undefined;
|
|
1869
1858
|
className?: string | undefined;
|
|
1870
1859
|
contentEditable?: Booleanish | "inherit" | undefined;
|
|
1871
1860
|
contextMenu?: string | undefined;
|
|
@@ -1891,14 +1880,11 @@ declare namespace React {
|
|
|
1891
1880
|
|
|
1892
1881
|
// RDFa Attributes
|
|
1893
1882
|
about?: string | undefined;
|
|
1894
|
-
content?: string | undefined;
|
|
1895
1883
|
datatype?: string | undefined;
|
|
1896
1884
|
inlist?: any;
|
|
1897
1885
|
prefix?: string | undefined;
|
|
1898
1886
|
property?: string | undefined;
|
|
1899
|
-
rel?: string | undefined;
|
|
1900
1887
|
resource?: string | undefined;
|
|
1901
|
-
rev?: string | undefined;
|
|
1902
1888
|
typeof?: string | undefined;
|
|
1903
1889
|
vocab?: string | undefined;
|
|
1904
1890
|
|
|
@@ -1940,6 +1926,7 @@ declare namespace React {
|
|
|
1940
1926
|
as?: string | undefined;
|
|
1941
1927
|
async?: boolean | undefined;
|
|
1942
1928
|
autoComplete?: string | undefined;
|
|
1929
|
+
autoFocus?: boolean | undefined;
|
|
1943
1930
|
autoPlay?: boolean | undefined;
|
|
1944
1931
|
capture?: boolean | 'user' | 'environment' | undefined;
|
|
1945
1932
|
cellPadding?: number | string | undefined;
|
|
@@ -1951,6 +1938,7 @@ declare namespace React {
|
|
|
1951
1938
|
classID?: string | undefined;
|
|
1952
1939
|
cols?: number | undefined;
|
|
1953
1940
|
colSpan?: number | undefined;
|
|
1941
|
+
content?: string | undefined;
|
|
1954
1942
|
controls?: boolean | undefined;
|
|
1955
1943
|
coords?: string | undefined;
|
|
1956
1944
|
crossOrigin?: "anonymous" | "use-credentials" | "" | undefined;
|
|
@@ -2005,6 +1993,7 @@ declare namespace React {
|
|
|
2005
1993
|
poster?: string | undefined;
|
|
2006
1994
|
preload?: string | undefined;
|
|
2007
1995
|
readOnly?: boolean | undefined;
|
|
1996
|
+
rel?: string | undefined;
|
|
2008
1997
|
required?: boolean | undefined;
|
|
2009
1998
|
reversed?: boolean | undefined;
|
|
2010
1999
|
rows?: number | undefined;
|
|
@@ -2059,6 +2048,7 @@ declare namespace React {
|
|
|
2059
2048
|
hrefLang?: string | undefined;
|
|
2060
2049
|
media?: string | undefined;
|
|
2061
2050
|
ping?: string | undefined;
|
|
2051
|
+
rel?: string | undefined;
|
|
2062
2052
|
target?: HTMLAttributeAnchorTarget | undefined;
|
|
2063
2053
|
type?: string | undefined;
|
|
2064
2054
|
referrerPolicy?: HTMLAttributeReferrerPolicy | undefined;
|
|
@@ -2074,6 +2064,7 @@ declare namespace React {
|
|
|
2074
2064
|
hrefLang?: string | undefined;
|
|
2075
2065
|
media?: string | undefined;
|
|
2076
2066
|
referrerPolicy?: HTMLAttributeReferrerPolicy | undefined;
|
|
2067
|
+
rel?: string | undefined;
|
|
2077
2068
|
shape?: string | undefined;
|
|
2078
2069
|
target?: string | undefined;
|
|
2079
2070
|
}
|
|
@@ -2088,6 +2079,7 @@ declare namespace React {
|
|
|
2088
2079
|
}
|
|
2089
2080
|
|
|
2090
2081
|
interface ButtonHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
2082
|
+
autoFocus?: boolean | undefined;
|
|
2091
2083
|
disabled?: boolean | undefined;
|
|
2092
2084
|
form?: string | undefined;
|
|
2093
2085
|
formAction?: string | undefined;
|
|
@@ -2156,6 +2148,7 @@ declare namespace React {
|
|
|
2156
2148
|
name?: string | undefined;
|
|
2157
2149
|
noValidate?: boolean | undefined;
|
|
2158
2150
|
target?: string | undefined;
|
|
2151
|
+
rel?: string | undefined;
|
|
2159
2152
|
}
|
|
2160
2153
|
|
|
2161
2154
|
interface HtmlHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
@@ -2233,6 +2226,7 @@ declare namespace React {
|
|
|
2233
2226
|
accept?: string | undefined;
|
|
2234
2227
|
alt?: string | undefined;
|
|
2235
2228
|
autoComplete?: string | undefined;
|
|
2229
|
+
autoFocus?: boolean | undefined;
|
|
2236
2230
|
capture?: boolean | 'user' | 'environment' | undefined; // https://www.w3.org/TR/html-media-capture/#the-capture-attribute
|
|
2237
2231
|
checked?: boolean | undefined;
|
|
2238
2232
|
crossOrigin?: "anonymous" | "use-credentials" | "" | undefined;
|
|
@@ -2267,6 +2261,7 @@ declare namespace React {
|
|
|
2267
2261
|
}
|
|
2268
2262
|
|
|
2269
2263
|
interface KeygenHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
2264
|
+
autoFocus?: boolean | undefined;
|
|
2270
2265
|
challenge?: string | undefined;
|
|
2271
2266
|
disabled?: boolean | undefined;
|
|
2272
2267
|
form?: string | undefined;
|
|
@@ -2294,6 +2289,7 @@ declare namespace React {
|
|
|
2294
2289
|
imageSrcSet?: string | undefined;
|
|
2295
2290
|
imageSizes?: string | undefined;
|
|
2296
2291
|
referrerPolicy?: HTMLAttributeReferrerPolicy | undefined;
|
|
2292
|
+
rel?: string | undefined;
|
|
2297
2293
|
sizes?: string | undefined;
|
|
2298
2294
|
type?: string | undefined;
|
|
2299
2295
|
charSet?: string | undefined;
|
|
@@ -2322,6 +2318,7 @@ declare namespace React {
|
|
|
2322
2318
|
|
|
2323
2319
|
interface MetaHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
2324
2320
|
charSet?: string | undefined;
|
|
2321
|
+
content?: string | undefined;
|
|
2325
2322
|
httpEquiv?: string | undefined;
|
|
2326
2323
|
name?: string | undefined;
|
|
2327
2324
|
media?: string | undefined;
|
|
@@ -2406,6 +2403,7 @@ declare namespace React {
|
|
|
2406
2403
|
|
|
2407
2404
|
interface SelectHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
2408
2405
|
autoComplete?: string | undefined;
|
|
2406
|
+
autoFocus?: boolean | undefined;
|
|
2409
2407
|
disabled?: boolean | undefined;
|
|
2410
2408
|
form?: string | undefined;
|
|
2411
2409
|
multiple?: boolean | undefined;
|
|
@@ -2446,6 +2444,7 @@ declare namespace React {
|
|
|
2446
2444
|
|
|
2447
2445
|
interface TextareaHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
2448
2446
|
autoComplete?: string | undefined;
|
|
2447
|
+
autoFocus?: boolean | undefined;
|
|
2449
2448
|
cols?: number | undefined;
|
|
2450
2449
|
dirName?: string | undefined;
|
|
2451
2450
|
disabled?: boolean | undefined;
|
|
@@ -2785,6 +2784,7 @@ declare namespace React {
|
|
|
2785
2784
|
interface WebViewHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
2786
2785
|
allowFullScreen?: boolean | undefined;
|
|
2787
2786
|
allowpopups?: boolean | undefined;
|
|
2787
|
+
autoFocus?: boolean | undefined;
|
|
2788
2788
|
autosize?: boolean | undefined;
|
|
2789
2789
|
blinkfeatures?: string | undefined;
|
|
2790
2790
|
disableblinkfeatures?: string | undefined;
|