@lynx-js/web-constants 0.13.0 → 0.13.2
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 +25 -0
- package/dist/constants.d.ts +1 -0
- package/dist/constants.js +9 -0
- package/dist/types/Cloneable.d.ts +2 -2
- package/dist/types/PageConfig.d.ts +2 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
# @lynx-js/web-constants
|
|
2
2
|
|
|
3
|
+
## 0.13.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- fix: corrupt mainthread module cache ([#806](https://github.com/lynx-family/lynx-stack/pull/806))
|
|
8
|
+
|
|
9
|
+
- Updated dependencies []:
|
|
10
|
+
- @lynx-js/web-worker-rpc@0.13.2
|
|
11
|
+
|
|
12
|
+
## 0.13.1
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- feat: support touch events for MTS ([#641](https://github.com/lynx-family/lynx-stack/pull/641))
|
|
17
|
+
|
|
18
|
+
now we support
|
|
19
|
+
|
|
20
|
+
- main-thread:bindtouchstart
|
|
21
|
+
- main-thread:bindtouchend
|
|
22
|
+
- main-thread:bindtouchmove
|
|
23
|
+
- main-thread:bindtouchcancel
|
|
24
|
+
|
|
25
|
+
- Updated dependencies []:
|
|
26
|
+
- @lynx-js/web-worker-rpc@0.13.1
|
|
27
|
+
|
|
3
28
|
## 0.13.0
|
|
4
29
|
|
|
5
30
|
### Patch Changes
|
package/dist/constants.d.ts
CHANGED
|
@@ -7,3 +7,4 @@ export declare const lynxDefaultOverflowVisibleAttribute: "lynx-default-overflow
|
|
|
7
7
|
export declare const __lynx_timing_flag: "__lynx_timing_flag";
|
|
8
8
|
export declare const globalMuteableVars: readonly ["registerDataProcessor", "registerWorkletInternal", "lynxWorkletImpl", "runWorklet"];
|
|
9
9
|
export declare const systemInfo: Record<string, string | number>;
|
|
10
|
+
export declare const inShadowRootStyles: string[];
|
package/dist/constants.js
CHANGED
|
@@ -18,4 +18,13 @@ export const systemInfo = {
|
|
|
18
18
|
platform: 'web',
|
|
19
19
|
lynxSdkVersion: '3.0',
|
|
20
20
|
};
|
|
21
|
+
export const inShadowRootStyles = [
|
|
22
|
+
` [lynx-default-display-linear="false"] * {
|
|
23
|
+
--lynx-display: flex;
|
|
24
|
+
--lynx-display-toggle: var(--lynx-display-flex);
|
|
25
|
+
}`,
|
|
26
|
+
`[lynx-default-overflow-visible="true"] x-view{
|
|
27
|
+
overflow: visible;
|
|
28
|
+
}`,
|
|
29
|
+
];
|
|
21
30
|
//# sourceMappingURL=constants.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type Cloneable<T = string | number | null | undefined> = T | Record<string, T> | T[];
|
|
2
|
-
export type CloneableObject<T = string | number | null | undefined> = Record<string, T>;
|
|
1
|
+
export type Cloneable<T = string | number | null | boolean | undefined> = T | Record<string, T> | T[];
|
|
2
|
+
export type CloneableObject<T = string | number | null | boolean | undefined> = Record<string, T | T[]>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lynx-js/web-constants",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "",
|
|
6
6
|
"keywords": [],
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
"**/*.css"
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@lynx-js/web-worker-rpc": "0.13.
|
|
26
|
+
"@lynx-js/web-worker-rpc": "0.13.2"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@lynx-js/offscreen-document": "0.0.
|
|
29
|
+
"@lynx-js/offscreen-document": "0.0.3"
|
|
30
30
|
}
|
|
31
31
|
}
|