@lynx-js/web-constants 0.14.0 → 0.14.1

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,5 +1,18 @@
1
1
  # @lynx-js/web-constants
2
2
 
3
+ ## 0.14.1
4
+
5
+ ### Patch Changes
6
+
7
+ - feat: support BTS API `lynx.reportError` && `__SetSourceMapRelease`, now you can use it and handle it in lynx-view error event. ([#1059](https://github.com/lynx-family/lynx-stack/pull/1059))
8
+
9
+ - fix: in lynx-view all-on-ui mode, the input event of input and textarea is triggered twice, and the first e.detail is a string, which does not conform to the expected data format. ([#1179](https://github.com/lynx-family/lynx-stack/pull/1179))
10
+
11
+ - fix: under the all-on-ui strategy, reload() will add two page elements. ([#1147](https://github.com/lynx-family/lynx-stack/pull/1147))
12
+
13
+ - Updated dependencies []:
14
+ - @lynx-js/web-worker-rpc@0.14.1
15
+
3
16
  ## 0.14.0
4
17
 
5
18
  ### Patch Changes
@@ -5,6 +5,7 @@ export declare const parentComponentUniqueIdAttribute: "l-p-comp-uid";
5
5
  export declare const lynxTagAttribute: "lynx-tag";
6
6
  export declare const lynxDatasetAttribute: "l-dset";
7
7
  export declare const lynxComponentConfigAttribute: "l-comp-cfg";
8
+ export declare const lynxDisposedAttribute: "l-disposed";
8
9
  export declare const lynxDefaultDisplayLinearAttribute: "lynx-default-display-linear";
9
10
  export declare const lynxDefaultOverflowVisibleAttribute: "lynx-default-overflow-visible";
10
11
  export declare const __lynx_timing_flag: "__lynx_timing_flag";
package/dist/constants.js CHANGED
@@ -8,6 +8,7 @@ export const parentComponentUniqueIdAttribute = 'l-p-comp-uid';
8
8
  export const lynxTagAttribute = 'lynx-tag';
9
9
  export const lynxDatasetAttribute = 'l-dset';
10
10
  export const lynxComponentConfigAttribute = 'l-comp-cfg';
11
+ export const lynxDisposedAttribute = 'l-disposed';
11
12
  export const lynxDefaultDisplayLinearAttribute = 'lynx-default-display-linear';
12
13
  export const lynxDefaultOverflowVisibleAttribute = 'lynx-default-overflow-visible';
13
14
  export const __lynx_timing_flag = '__lynx_timing_flag';
package/dist/eventName.js CHANGED
@@ -8,15 +8,18 @@ export const W3cEventNameToLynx = {
8
8
  overlaytouch: 'touch',
9
9
  lynxfocus: 'focus',
10
10
  lynxblur: 'blur',
11
+ lynxinput: 'input',
11
12
  };
12
13
  export const LynxEventNameToW3cByTagName = {
13
14
  'X-INPUT': {
14
15
  'blur': 'lynxblur',
15
16
  'focus': 'lynxfocus',
17
+ 'input': 'lynxinput',
16
18
  },
17
19
  'X-TEXTAREA': {
18
20
  'blur': 'lynxblur',
19
21
  'focus': 'lynxfocus',
22
+ 'input': 'lynxinput',
20
23
  },
21
24
  };
22
25
  export const LynxEventNameToW3cCommon = {
@@ -110,4 +110,6 @@ export interface NativeApp {
110
110
  setSharedData<T>(dataKey: string, dataVal: T): void;
111
111
  getSharedData<T = unknown>(dataKey: string): T | undefined;
112
112
  i18nResource: I18nResource;
113
+ reportException: (error: Error, _: unknown) => void;
114
+ __SetSourceMapRelease: (err: Error) => void;
113
115
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/web-constants",
3
- "version": "0.14.0",
3
+ "version": "0.14.1",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "keywords": [],
@@ -23,7 +23,7 @@
23
23
  "**/*.css"
24
24
  ],
25
25
  "dependencies": {
26
- "@lynx-js/web-worker-rpc": "0.14.0"
26
+ "@lynx-js/web-worker-rpc": "0.14.1"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@lynx-js/offscreen-document": "0.1.2"