@cabloy/types-react 19.2.9 → 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,12 +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
+
24
29
  interface HTMLActionElement {
25
30
  stop?: boolean;
26
31
  prevent?: boolean;
27
32
  children?: React.ReactNode;
28
33
  }
29
34
 
35
+ interface HTMLActionElementBase {
36
+ res?: string;
37
+ }
38
+
39
+ interface HTMLActionViewElement extends HTMLActionElementBase {
40
+ resource?: string;
41
+ id?: string;
42
+ }
43
+
30
44
  /**
31
45
  * Used to represent DOM API's where users can either pass
32
46
  * true or false as a boolean or as its equivalent strings.
@@ -3811,10 +3825,12 @@ declare namespace React {
3811
3825
  | "track"
3812
3826
  | "u"
3813
3827
  | "ul"
3814
- | "var"
3815
3828
  | "video"
3816
3829
  | "wbr"
3817
- | "webview";
3830
+ | "webview"
3831
+ | "var"
3832
+ | "action"
3833
+ | "actionView";
3818
3834
 
3819
3835
  // TODO: Move to react-dom
3820
3836
  type SVGElementType =
@@ -3950,6 +3966,10 @@ declare namespace React {
3950
3966
 
3951
3967
  interface IntrinsicElements {
3952
3968
  // HTML
3969
+ // var: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
3970
+ var: HTMLVarElement;
3971
+ action: HTMLActionElement;
3972
+ actionView: HTMLActionViewElement;
3953
3973
  a: React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>;
3954
3974
  abbr: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
3955
3975
  address: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
@@ -4065,9 +4085,6 @@ declare namespace React {
4065
4085
  track: React.DetailedHTMLProps<React.TrackHTMLAttributes<HTMLTrackElement>, HTMLTrackElement>;
4066
4086
  u: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
4067
4087
  ul: React.DetailedHTMLProps<React.HTMLAttributes<HTMLUListElement>, HTMLUListElement>;
4068
- // var: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
4069
- var: HTMLVarElement;
4070
- action: HTMLActionElement;
4071
4088
  video: React.DetailedHTMLProps<React.VideoHTMLAttributes<HTMLVideoElement>, HTMLVideoElement>;
4072
4089
  wbr: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
4073
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.9",
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",