@lynx-js/types 3.4.11 → 3.5.10-alpha.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/CHANGELOG.md CHANGED
@@ -1,4 +1,38 @@
1
1
  # CHANGELOG
2
+ ## 3.5.9
3
+ - Update `list` and `list-item` typings.
4
+
5
+ ## 3.5.8
6
+ - Update common typings on elements.
7
+
8
+ ## 3.5.6
9
+ - The `flowIds` parameter in the Trace API supports passing an undefined value.
10
+
11
+ ## 3.5.5
12
+ - Add the `pointer-events` CSS property.
13
+
14
+ ## 3.5.4
15
+ - Add `event-through-active-regions`, `enable-exposure-ui-clip` properties.
16
+
17
+ ## 3.5.3
18
+ - Add `harmony-scroll-edge-effect` property for scroll container.
19
+
20
+ ## 3.5.2
21
+ - Add `EventSource` types.
22
+
23
+ ## 3.5.1
24
+ - Add `frame` element types.
25
+
26
+ ## 3.5.0
27
+
28
+ ### Major Changes
29
+ - Update into Lynx3.5.
30
+
31
+ ### Patch Changes
32
+
33
+ - Add a new `flowIds` subfield to the TraceOption parameter in the Trace API to support one-to-many trace associations.
34
+ - Add `pc`, `windows`, `macOS` and `Harmony` platforms to System info.
35
+ - Refactor event definitions for improved IDE compatibility.
2
36
 
3
37
  ## 3.4.11
4
38
  - Fix types of `selectAll()` of `SelectorQuery`.
@@ -18,13 +52,14 @@
18
52
 
19
53
  ## 3.4.5
20
54
  - Complete the documentation for image related APIs.
55
+ - Add `recyclable` property for list-item.
21
56
 
22
57
  ## 3.4.4
23
- - Revert automatically generated cssTypes
58
+ - Complete the documentation for text related APIs.
24
59
 
25
60
  ## 3.4.3
26
61
  - Add `font-variation-settings`,`font-feature-settings` and `font-optical-sizing` CSS properties.
27
- - Add `experimental-recycle-available-item-before-layout` property for list.
62
+ - Add `experimental-recycle-available-item-before-layout` and `enable-dynamic-span-count` property for list.
28
63
 
29
64
  ## 3.4.2
30
65
  - And `lynx.fetchBundle` api defines.
@@ -43,24 +78,19 @@
43
78
 
44
79
  - Introduce <input> and <textarea>
45
80
 
46
- ## 3.3.4
47
-
81
+ ## 3.3.2
82
+ - SelectorQuery FieldsParams adds query attribute
83
+ - Revert automatically generated cssTypes
48
84
  - Add typing for the runtime interfaces.
49
-
50
- ## 3.3.3
51
-
52
- - [Infra][Types] Codegen longhand and shorthand properties from css_defines
85
+ - Codegen longhand and shorthand properties from css_defines
53
86
  - Add `experimental-recycle-sticky-item` and `sticky-buffer-count` for list
54
87
  - Add `experimental-update-sticky-for-diff` for list
55
88
  - Add ReloadBundleEntry to standardize the timing of reload behavior.
56
-
57
- ## 3.3.2
58
-
59
89
  - Add typing for MessageEvent.
60
90
 
61
91
  ## 3.3.1
62
92
 
63
- - [Infra][Types] Codegen csstype.d.ts from css_defines
93
+ - Codegen csstype.d.ts from css_defines
64
94
  - Rename `visibleCellsAfterUpdate` to `visibleItemAfterUpdate` for `list`
65
95
  - Rename `visibleCellsBeforeUpdate` to `visibleItemBeforeUpdate` for `list`
66
96
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/types",
3
- "version": "3.4.11",
3
+ "version": "3.5.10-alpha.0",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "lynx",
@@ -1,6 +1,32 @@
1
1
  // Copyright 2024 The Lynx Authors. All rights reserved.
2
2
  // Licensed under the Apache License Version 2.0 that can be found in the
3
3
  // LICENSE file in the root directory of this source tree.
4
+ import { MessageEvent } from '../common/lynx';
5
+
6
+ /**
7
+ * @description EventSource to support SSE protocol
8
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/EventSource
9
+ * @since 3.5
10
+ */
11
+ export interface EventSource {
12
+ new(url: string | URL, options?: RequestInit): EventSource;
13
+
14
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/error_event) */
15
+ onerror: ((this: EventSource, ev: Event) => any) | null;
16
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/message_event) */
17
+ onmessage: ((this: EventSource, ev: MessageEvent) => any) | null;
18
+ /**
19
+ * The **`close()`** method of the EventSource interface closes the connection, if one is made, and sets the ```js-nolint close() ``` None.
20
+ *
21
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/close)
22
+ */
23
+ close(): void;
24
+ addEventListener<K extends keyof EventSourceEventMap>(type: K, listener: (this: EventSource, ev: EventSourceEventMap[K]) => any): void;
25
+ addEventListener(type: string, listener: (event: MessageEvent) => void): void;
26
+ removeEventListener<K extends keyof EventSourceEventMap>(type: K, listener: (this: EventSource, ev: EventSourceEventMap[K]) => any): void;
27
+ removeEventListener(type: string, listener: (event: MessageEvent) => void): void;
28
+ }
29
+
4
30
  /**
5
31
  * @description Http Body
6
32
  * @since 2.18
@@ -71,7 +97,7 @@ export interface Request extends Body {
71
97
  */
72
98
  export declare var Request: {
73
99
  prototype: Request;
74
- new (input: RequestInfo | URL, init?: RequestInit): Request;
100
+ new(input: RequestInfo | URL, init?: RequestInit): Request;
75
101
  };
76
102
 
77
103
  export interface LynxExtension {
@@ -163,5 +189,5 @@ export interface Response extends Body {
163
189
  */
164
190
  export declare var Response: {
165
191
  prototype: Response;
166
- new (body?: BodyInit | null, init?: ResponseInit): Response;
192
+ new(body?: BodyInit | null, init?: ResponseInit): Response;
167
193
  };
@@ -84,6 +84,12 @@ export interface MetricFcpEntry extends PerformanceEntry {
84
84
  totalFcp: PerformanceMetric;
85
85
  }
86
86
 
87
+ export interface MetricFspEntry extends PerformanceEntry {
88
+ fsp: PerformanceMetric;
89
+ lynxFsp: PerformanceMetric;
90
+ totalFsp: PerformanceMetric;
91
+ }
92
+
87
93
  export interface MetricActualFmpEntry extends PerformanceEntry {
88
94
  actualFmp: PerformanceMetric;
89
95
  lynxActualFmp: PerformanceMetric;
@@ -7,7 +7,7 @@ import { AnimationElement } from './animation';
7
7
  import { BeforePublishEvent, GlobalEventEmitter, IntersectionObserver } from './event';
8
8
  import { SelectorQuery } from './nodes-ref';
9
9
  import { Performance } from './performance';
10
- import { Response, RequestInit } from './fetch';
10
+ import { Response, RequestInit, EventSource } from './fetch';
11
11
 
12
12
  export * from './fetch';
13
13
 
@@ -135,6 +135,13 @@ export interface Lynx extends CommonLynx {
135
135
 
136
136
  setObserverFrameRate(options?: { forPageRect?: number; forExposureCheck?: number }): void;
137
137
 
138
+ /**
139
+ * @description EventSource to support SSE protocol
140
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/EventSource
141
+ * @since 3.5
142
+ */
143
+ EventSource: EventSource;
144
+
138
145
  /**
139
146
  * @description subset of Fetch API
140
147
  * @see https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API
@@ -47,6 +47,7 @@ export interface FieldsParams {
47
47
  index?: boolean;
48
48
  class?: boolean;
49
49
  attribute?: boolean;
50
+ query?:boolean;
50
51
  }
51
52
 
52
53
  export interface FieldsData {
@@ -56,6 +57,7 @@ export interface FieldsData {
56
57
  index: number;
57
58
  class: Array<string>;
58
59
  attribute: Record<string, unknown>;
60
+ query:SelectorQuery;
59
61
  }
60
62
 
61
63
  export type PathCallback = (data: PathData | null, status: { data: string; code: number }) => void;
@@ -100,6 +100,7 @@ export type CSSProperties = Modify<
100
100
  fontVariationSettings?: string;
101
101
  fontFeatureSettings?: string;
102
102
  fontOpticalSizing?: 'none' | 'auto';
103
+ pointerEvents?: 'auto' | 'none';
103
104
  }
104
105
  >;
105
106
 
@@ -124,7 +125,7 @@ export type Longhands =
124
125
  // animation
125
126
  "transitionProperty" | "transitionDuration" | "transitionDelay" | "transitionTimingFunction" | "implicitAnimation" | "enterTransitionName" | "exitTransitionName" | "pauseTransitionName" | "resumeTransitionName" | "animationName" | "animationDuration" | "animationTimingFunction" | "animationDelay" | "animationIterationCount" | "animationDirection" | "animationFillMode" | "animationPlayState" | "layoutAnimationCreateDuration" | "layoutAnimationCreateTimingFunction" | "layoutAnimationCreateDelay" | "layoutAnimationCreateProperty" | "layoutAnimationDeleteDuration" | "layoutAnimationDeleteTimingFunction" | "layoutAnimationDeleteDelay" | "layoutAnimationDeleteProperty" | "layoutAnimationUpdateDuration" | "layoutAnimationUpdateTimingFunction" | "layoutAnimationUpdateDelay" |
126
127
  // other
127
- "top" | "visibility" | "content" | "overflowX" | "overflowY" | "wordBreak" | "verticalAlign" | "direction" | "relativeId" | "relativeAlignTop" | "relativeAlignRight" | "relativeAlignBottom" | "relativeAlignLeft" | "relativeTopOf" | "relativeRightOf" | "relativeBottomOf" | "relativeLeftOf" | "relativeLayoutOnce" | "relativeCenter" | "zIndex" | "maskImage" | "justifyItems" | "justifySelf" | "filter" | "listMainAxisGap" | "listCrossAxisGap" | "perspective" | "cursor" | "clipPath" | "left" | "maskRepeat" | "maskClip" | "maskOrigin" | "maskSize" | "columnGap" | "rowGap" | "imageRendering" | "hyphens" | "XAppRegion" | "XHandleSize" | "offsetDistance" | "offsetPath" | "offsetRotate" | "opacity" | "height" | "width" | "maxWidth" | "minWidth" | "right" | "maxHeight" | "minHeight" | "bottom" | "letterSpacing" | "alignItems" | "alignSelf" | "alignContent" | "justifyContent" | "boxSizing" | "transform" | "order" | "boxShadow" | "transformOrigin" | "aspectRatio";
128
+ "top" | "visibility" | "content" | "overflowX" | "overflowY" | "wordBreak" | "verticalAlign" | "direction" | "relativeId" | "relativeAlignTop" | "relativeAlignRight" | "relativeAlignBottom" | "relativeAlignLeft" | "relativeTopOf" | "relativeRightOf" | "relativeBottomOf" | "relativeLeftOf" | "relativeLayoutOnce" | "relativeCenter" | "zIndex" | "maskImage" | "justifyItems" | "justifySelf" | "filter" | "listMainAxisGap" | "listCrossAxisGap" | "perspective" | "cursor" | "clipPath" | "left" | "maskRepeat" | "maskClip" | "maskOrigin" | "maskSize" | "columnGap" | "rowGap" | "imageRendering" | "hyphens" | "XAppRegion" | "XHandleSize" | "offsetDistance" | "offsetPath" | "offsetRotate" | "opacity" | "height" | "width" | "maxWidth" | "minWidth" | "right" | "maxHeight" | "minHeight" | "bottom" | "letterSpacing" | "alignItems" | "alignSelf" | "alignContent" | "justifyContent" | "boxSizing" | "transform" | "order" | "boxShadow" | "transformOrigin" | "aspectRatio" | "pointerEvents";
128
129
 
129
130
  // Since `Shorthands` and `Longhands` are auto generated, there may be properties
130
131
  // such as `gridColumnSpan` is not manually defined in `CSSProperties` yet.
@@ -7,13 +7,16 @@ import { NoProps } from '../props';
7
7
  import { ComponentProps } from './component';
8
8
  import { FilterImageProps } from './filter-image';
9
9
  import { ImageProps, ImageUIMethods } from './image';
10
- import { ListItemProps, ListProps, ListRowProps, ListUIMethods } from './list';
10
+ import { ListProps, ListUIMethods } from './list';
11
+ import { ListItemProps } from './list-item';
11
12
  import { PageProps } from './page';
12
13
  import { ScrollViewProps, ScrollViewUIMethods } from './scroll-view';
13
- import { TextProps } from './text';
14
+ import { TextProps, TextUIMethods } from './text';
14
15
  import { ViewProps } from './view';
15
16
  import { InputProps, InputUIMethods } from './input';
16
17
  import { TextAreaProps, TextAreaUIMethods } from './textarea';
18
+ import { FrameProps } from './frame';
19
+
17
20
 
18
21
  export interface UIMethods {
19
22
  'list': ListUIMethods;
@@ -21,6 +24,7 @@ export interface UIMethods {
21
24
  'image': ImageUIMethods;
22
25
  'input': InputUIMethods;
23
26
  'textarea': TextAreaUIMethods;
27
+ 'text': TextUIMethods;
24
28
  }
25
29
 
26
30
  type LynxComponentProps = ComponentProps;
@@ -35,7 +39,7 @@ export interface IntrinsicElements {
35
39
  'inline-truncation': NoProps;
36
40
  'list': ListProps;
37
41
  'list-item': ListItemProps;
38
- 'list-row': ListRowProps;
42
+ 'list-row': StandardProps;
39
43
  'page': PageProps;
40
44
  'scroll-view': ScrollViewProps;
41
45
  'text': TextProps;
@@ -43,6 +47,7 @@ export interface IntrinsicElements {
43
47
  'raw-text': StandardProps & { text: number | string };
44
48
  'input': InputProps;
45
49
  'textarea': TextAreaProps;
50
+ 'frame': FrameProps;
46
51
  }
47
52
 
48
53
  declare module 'react' {
@@ -57,7 +62,7 @@ declare module 'react' {
57
62
  'inline-truncation': NoProps;
58
63
  'list': ListProps;
59
64
  'list-item': ListItemProps;
60
- 'list-row': ListRowProps;
65
+ 'list-row': StandardProps;
61
66
  'page': PageProps;
62
67
  'scroll-view': ScrollViewProps;
63
68
  'text': TextProps;
@@ -65,6 +70,7 @@ declare module 'react' {
65
70
  'raw-text': StandardProps & { text: number | string };
66
71
  'input': InputProps;
67
72
  'textarea': TextAreaProps;
73
+ 'frame': FrameProps;
68
74
  }
69
75
  }
70
76
  }
@@ -0,0 +1,25 @@
1
+ // Copyright 2025 The Lynx Authors. All rights reserved.
2
+ // Licensed under the Apache License Version 2.0 that can be found in the
3
+ // LICENSE file in the root directory of this source tree.
4
+
5
+ import { StandardProps } from '../props';
6
+
7
+ export interface FrameProps extends StandardProps {
8
+ /**
9
+ * Sets the loading path for the frame resource.
10
+ * @defaultValue undefined
11
+ * @iOS
12
+ * @Android
13
+ * @since 3.4
14
+ */
15
+ src: string;
16
+
17
+ /**
18
+ * Passes data to the nested Lynx page within the frame.
19
+ * @defaultValue undefined
20
+ * @iOS
21
+ * @Android
22
+ * @since 3.4
23
+ */
24
+ data?: Record<string, unknown> | undefined;
25
+ }
@@ -11,7 +11,11 @@ import { StandardProps } from '../props';
11
11
  export interface ImageProps extends StandardProps {
12
12
  /**
13
13
  * Supports http/https/base64
14
- * @defaultValue ""
14
+ * @defaultValue undefined
15
+ * @iOS
16
+ * @Android
17
+ * @Harmony
18
+ * @PC
15
19
  * @since 0.2
16
20
  */
17
21
  src?: string;
@@ -22,81 +26,108 @@ export interface ImageProps extends StandardProps {
22
26
  * aspectFit: Scales the image while preserving aspect ratio so that the long side is fully visible
23
27
  * aspectFill: Scales the image while preserving aspect ratio, ensuring the short side fills the element
24
28
  * center: Does not scale the image; image is centered
25
- * @defaultValue "scaleToFill"
29
+ * @defaultValue 'scaleToFill'
26
30
  * @since 0.2
31
+ * @iOS
32
+ * @Android
33
+ * @Harmony
34
+ * @PC
27
35
  */
28
36
  mode?: 'scaleToFill' | 'aspectFit' | 'aspectFill' | 'center';
29
37
 
30
38
  /**
31
39
  * ARGB_8888: 32-bit memory per pixel, supports semi-transparent images
32
40
  * RGB_565: 16-bit memory per pixel, reduces memory usage but loses transparency
41
+ * Support PC platform since 3.5
33
42
  * @defaultValue "ARGB_8888"
43
+ * @Android
44
+ * @PC
34
45
  * @since 1.4
35
46
  */
36
47
  'image-config'?: 'ARGB_8888' | 'RGB_565';
37
48
 
38
49
  /**
39
50
  * Placeholder image, used same as src
40
- * @defaultValue ""
51
+ * @iOS
52
+ * @Android
53
+ * @Harmony
54
+ * @PC
41
55
  * @since 1.4
42
56
  */
43
57
  placeholder?: string;
44
58
 
45
59
  /**
46
60
  * Image blur radius
47
- * @defaultValue "3px"
61
+ * @iOS
62
+ * @Android
63
+ * @Harmony
64
+ * @PC
48
65
  * @since 0.2
49
66
  */
50
67
  'blur-radius'?: string;
51
68
 
52
69
  /**
53
70
  * Stretchable area for 9patch images, in percentage or decimal, four values for top, right, bottom, left
54
- * @defaultValue "0.2 10% 0.3 20%"
71
+ * @iOS
72
+ * @Android
73
+ * @Harmony
74
+ * @PC
55
75
  * @since 1.4
56
76
  */
57
77
  'cap-insets'?: string;
58
78
 
59
79
  /**
60
- * Number of times an animated image plays
80
+ * Adjust the scale of stretchable area for 9patch images
61
81
  * @defaultValue 1
82
+ * @iOS
83
+ * @Android
84
+ * @Harmony
85
+ * @PC
86
+ * @since 1.4
87
+ */
88
+ 'cap-insets-scale'?: number;
89
+
90
+ /**
91
+ * Number of times an animated image plays, 0 stands for infinite
92
+ * @defaultValue 0
93
+ * @iOS
94
+ * @Android
95
+ * @Harmony
96
+ * @PC
62
97
  * @since 1.4
63
98
  */
64
99
  'loop-count'?: number;
65
100
 
66
101
  /**
67
102
  * Image won't load if its size is 0, but will load if prefetch-width is set
68
- * @defaultValue "100px"
103
+ * @defaultValue "0px"
104
+ * @deprecated
105
+ * @iOS
106
+ * @Android
69
107
  * @since 1.4
70
108
  */
71
109
  'prefetch-width'?: string;
72
110
 
73
111
  /**
74
112
  * Image won't load if its size is 0, but will load if prefetch-height is set
75
- * @defaultValue "100px"
113
+ * @defaultValue "0px"
114
+ * @deprecated
115
+ * @iOS
116
+ * @Android
76
117
  * @since 1.4
77
118
  */
78
119
  'prefetch-height'?: string;
79
120
 
80
- /**
81
- * If true, URL mapping is skipped. LynxView's custom ImageInterceptor won't work
82
- * @defaultValue false
83
- * @since 1.5
84
- */
85
- 'skip-redirection'?: boolean;
86
-
87
- /**
88
- * Reduces the chance of OOM by downsampling large images, requires container support
89
- * @defaultValue false
90
- * @since iOS 2.0
91
- */
92
- downsampling?: boolean;
93
-
94
121
  /**
95
122
  * When set to true and the <image> element has no width or height,
96
123
  * the size of the <image> will be automatically adjusted
97
124
  * to match the image's original dimensions after the image is successfully loaded,
98
125
  * ensuring that the aspect ratio is maintained.
99
126
  * @defaultValue false
127
+ * @iOS
128
+ * @Android
129
+ * @Harmony
130
+ * @PC
100
131
  * @since 2.6
101
132
  */
102
133
  'auto-size'?: boolean;
@@ -106,6 +137,10 @@ export interface ImageProps extends StandardProps {
106
137
  * The default behavior is to clear the image resource before starting a new load.
107
138
  * This can resolve flickering issues when the image src is switched and reloaded. It is not recommended to enable this in scenarios where there is node reuse in views like lists.
108
139
  * @defaultValue false
140
+ * @iOS
141
+ * @Android
142
+ * @Harmony
143
+ * @PC
109
144
  * @since 2.7
110
145
  */
111
146
  'defer-src-invalidation'?: boolean;
@@ -113,75 +148,42 @@ export interface ImageProps extends StandardProps {
113
148
  /**
114
149
  * Specifies whether the animated image should start playing automatically once it is loaded.
115
150
  * @defaultValue true
151
+ * @iOS
152
+ * @Android
153
+ * @Harmony
154
+ * @PC
116
155
  * @since 2.11
117
156
  */
118
157
  'autoplay'?: boolean;
119
158
 
120
- /**
121
- * Image animation property. If set to false, images will not be cached. Each image will be discarded by default after use,
122
- * which is suitable for scenarios where the animation needs to play only once.
123
- * @defaultValue true
124
- * @iOS
125
- * @since 3.4
126
- */
127
- 'ios-frame-cache-automatically'?: boolean;
128
-
129
159
  /**
130
160
  * Changes the color of all non-transparent pixels to the tint-color specified. The value is a <color>.
131
- * @defaultValue ""
161
+ * @iOS
162
+ * @Android
163
+ * @Harmony
132
164
  * @since 2.12
133
165
  */
134
166
  'tint-color'?: string;
135
167
 
136
- /**
137
- * Support outputting image monitoring information in bindload
138
- * @defaultValue false
139
- * @since 2.12
140
- */
141
- 'extra-load-info'?: boolean;
142
-
143
- /**
144
- * Disables unexpected iOS built-in animations
145
- * @defaultValue true
146
- * @since iOS 2.0
147
- */
148
- 'implicit-animation'?: boolean;
149
-
150
- /**
151
- * Add custom parameters to image
152
- * @since 2.17
153
- */
154
- 'additional-custom-info'?: { [key: string]: string };
155
-
156
168
  /**
157
169
  * Image load success event
170
+ * @iOS
171
+ * @Android
172
+ * @Harmony
173
+ * @PC
158
174
  * @since 0.2
159
175
  */
160
176
  bindload?: (e: LoadEvent) => void;
161
177
 
162
178
  /**
163
179
  * Image load error event
180
+ * @iOS
181
+ * @Android
182
+ * @Harmony
183
+ * @PC
164
184
  * @since 0.2
165
185
  */
166
186
  binderror?: (e: ErrorEvent) => void;
167
-
168
- /**
169
- * The animation will call back when it starts playing.
170
- * @since 2.11
171
- */
172
- bindstartplay?: (e: BaseEvent) => void;
173
-
174
- /**
175
- * Call back after one loop time of the animation is played.
176
- * @since 2.11
177
- */
178
- bindcurrentloopcomplete?: (e: BaseEvent) => void;
179
-
180
- /**
181
- * It will be called after the animation has been played for all loop-count times. If the loop-count is not set, it will not be called back.
182
- * @since 2.11
183
- */
184
- bindfinalloopcomplete?: (e: BaseEvent) => void;
185
187
  }
186
188
 
187
189
  export type LoadEvent = BaseEvent<'load', ImageLoadEvent>;
@@ -189,8 +191,10 @@ export type ErrorEvent = BaseEvent<'error', ImageErrorEvent>;
189
191
 
190
192
  /**
191
193
  * Restart the animation playback method controlled by the front end, and the animation playback progress and loop count will be reset.
192
- * @Android
193
194
  * @iOS
195
+ * @Android
196
+ * @Harmony
197
+ * @PC
194
198
  * @deprecated Deprecated. Some scenarios may not call back the call result. It is recommended to use resumeAnimation instead.
195
199
  */
196
200
  export interface ImageStartAnimMethod extends BaseMethod {
@@ -199,8 +203,10 @@ export interface ImageStartAnimMethod extends BaseMethod {
199
203
 
200
204
  /**
201
205
  * Resumes the animation, without resetting the loop-count.
202
- * @Android
203
206
  * @iOS
207
+ * @Android
208
+ * @Harmony
209
+ * @PC
204
210
  * @since 2.11
205
211
  */
206
212
  export interface ImageResumeAnimMethod extends BaseMethod {
@@ -209,8 +215,10 @@ export interface ImageResumeAnimMethod extends BaseMethod {
209
215
 
210
216
  /**
211
217
  * Pauses the animation, without resetting the loop-count.
212
- * @Android
213
218
  * @iOS
219
+ * @Android
220
+ * @Harmony
221
+ * @PC
214
222
  * @since 2.11
215
223
  */
216
224
  export interface ImagePauseAnimMethod extends BaseMethod {
@@ -219,8 +227,10 @@ export interface ImagePauseAnimMethod extends BaseMethod {
219
227
 
220
228
  /**
221
229
  * Stops the animation, and it will reset the loop-count.
222
- * @Android
223
230
  * @iOS
231
+ * @Android
232
+ * @Harmony
233
+ * @PC
224
234
  * @since 2.11
225
235
  */
226
236
  export interface ImageStopAnimMethod extends BaseMethod {
@@ -6,6 +6,7 @@ export * from './component';
6
6
  export * from './filter-image';
7
7
  export * from './image';
8
8
  export * from './list';
9
+ export * from './list-item';
9
10
  export * from './page';
10
11
  export * from './scroll-view';
11
12
  export * from './text';
@@ -16,3 +17,4 @@ export * from './element';
16
17
  export * from './methods';
17
18
  export * from './attributes';
18
19
  export * from './common';
20
+ export * from './frame';
@@ -128,7 +128,7 @@ export interface InputProps extends Omit<StandardProps, 'bindfocus' | 'bindblur'
128
128
  */
129
129
  maxlength?: number;
130
130
  /**
131
- * Interaction enabled
131
+ * Readonly
132
132
  * @defaultValue false
133
133
  * @Android
134
134
  * @iOS
@@ -137,7 +137,15 @@ export interface InputProps extends Omit<StandardProps, 'bindfocus' | 'bindblur'
137
137
  * @since 3.4
138
138
  */
139
139
  readonly?: boolean;
140
-
140
+ /**
141
+ * Interaction enabled
142
+ * @defaultValue false
143
+ * @Android
144
+ * @iOS
145
+ * @Harmony
146
+ * @since 3.5
147
+ */
148
+ disabled?: boolean;
141
149
  /**
142
150
  * Show soft input keyboard while focused
143
151
  * @defaultValue true