@cabloy/types-react 19.2.8 → 19.2.10

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/global.d.ts CHANGED
@@ -163,8 +163,3 @@ interface TrustedHTML {}
163
163
  interface Blob {}
164
164
  interface MediaStream {}
165
165
  interface MediaSource {}
166
-
167
- interface HTMLVarElement {
168
- name: string;
169
- value: string;
170
- }
package/index.d.ts CHANGED
@@ -21,6 +21,26 @@ type NativeTransitionEvent = TransitionEvent;
21
21
  type NativeUIEvent = UIEvent;
22
22
  type NativeWheelEvent = WheelEvent;
23
23
 
24
+ interface HTMLVarElement {
25
+ name: string;
26
+ value: string;
27
+ }
28
+
29
+ interface HTMLActionElement {
30
+ stop?: boolean;
31
+ prevent?: boolean;
32
+ children?: React.ReactNode;
33
+ }
34
+
35
+ interface HTMLActionElementBase {
36
+ res?: string;
37
+ }
38
+
39
+ interface HTMLActionViewElement extends HTMLActionElementBase {
40
+ resource?: string;
41
+ id?: string;
42
+ }
43
+
24
44
  /**
25
45
  * Used to represent DOM API's where users can either pass
26
46
  * true or false as a boolean or as its equivalent strings.
@@ -295,6 +315,7 @@ declare namespace React {
295
315
  * ```
296
316
  */
297
317
  interface ReactElement<P = unknown, T extends string | JSXElementConstructor<any> = string | JSXElementConstructor<any>> {
318
+ (): void;
298
319
  type: T;
299
320
  props: P;
300
321
  key: string | null;
@@ -3804,10 +3825,12 @@ declare namespace React {
3804
3825
  | "track"
3805
3826
  | "u"
3806
3827
  | "ul"
3807
- | "var"
3808
3828
  | "video"
3809
3829
  | "wbr"
3810
- | "webview";
3830
+ | "webview"
3831
+ | "var"
3832
+ | "action"
3833
+ | "actionView";
3811
3834
 
3812
3835
  // TODO: Move to react-dom
3813
3836
  type SVGElementType =
@@ -3943,6 +3966,10 @@ declare namespace React {
3943
3966
 
3944
3967
  interface IntrinsicElements {
3945
3968
  // HTML
3969
+ // var: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
3970
+ var: HTMLVarElement;
3971
+ action: HTMLActionElement;
3972
+ actionView: HTMLActionViewElement;
3946
3973
  a: React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>;
3947
3974
  abbr: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
3948
3975
  address: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
@@ -4058,8 +4085,6 @@ declare namespace React {
4058
4085
  track: React.DetailedHTMLProps<React.TrackHTMLAttributes<HTMLTrackElement>, HTMLTrackElement>;
4059
4086
  u: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
4060
4087
  ul: React.DetailedHTMLProps<React.HTMLAttributes<HTMLUListElement>, HTMLUListElement>;
4061
- // var: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
4062
- var: HTMLVarElement;
4063
4088
  video: React.DetailedHTMLProps<React.VideoHTMLAttributes<HTMLVideoElement>, HTMLVideoElement>;
4064
4089
  wbr: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
4065
4090
  webview: React.DetailedHTMLProps<React.WebViewHTMLAttributes<HTMLWebViewElement>, HTMLWebViewElement>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cabloy/types-react",
3
- "version": "19.2.8",
3
+ "version": "19.2.10",
4
4
  "description": "TypeScript definitions for react",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react",
6
6
  "license": "MIT",