@lynx-js/type-config 4.1.1-alpha.0 → 4.1.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,11 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 4.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Add `enableFixedNew`, `enableParseIntFlex`, and `enableReloadLifecycle` to the exported `Config` type and `configKeys` runtime constant.
8
+
3
9
  ## 4.1.0
4
10
 
5
11
  ### Minor Changes
package/config-keys.js CHANGED
@@ -16,6 +16,7 @@ const configKeys = [
16
16
  'enableEndGestureAtLastFingerUp',
17
17
  'enableEventThrough',
18
18
  'enableFetchAPIStandardStreaming',
19
+ 'enableFixedNew',
19
20
  'enableFlexBasisZeroPercent',
20
21
  'enableGridPlacementShorthands',
21
22
  'enableJsBindingApiThrowException',
@@ -25,6 +26,8 @@ const configKeys = [
25
26
  'enableNewGesture',
26
27
  'enableNewIntersectionObserver',
27
28
  'enableNewTransformOrigin',
29
+ 'enableParseIntFlex',
30
+ 'enableReloadLifecycle',
28
31
  'enableSimultaneousTap',
29
32
  'enableTextOverflow',
30
33
  'enableTransformedTouchPosition',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/type-config",
3
- "version": "4.1.1-alpha.0",
3
+ "version": "4.1.1",
4
4
  "description": "Type definitions for Lynx Config(aka PageConfig) provided by the Lynx team, used to optimize the configuration experience of Lynx Config.",
5
5
  "keywords": [
6
6
  "lynx-config",
package/types/config.d.ts CHANGED
@@ -108,6 +108,17 @@ export interface Config {
108
108
  */
109
109
  enableFetchAPIStandardStreaming?: boolean;
110
110
 
111
+ /**
112
+ * Controls the newer fixed-position layout path. When enabled, fixed nodes participate in the new fixed layout and container insertion logic; when disabled, fixed elements keep the legacy positioning behavior unless unified fixed behavior is enabled.
113
+ *
114
+ * Supported platform: Android, HarmonyOS, iOS
115
+ *
116
+ * Since: LynxSDK 3.2
117
+ *
118
+ * @defaultValue false
119
+ */
120
+ enableFixedNew?: boolean;
121
+
111
122
  /**
112
123
  * When enabled, flex-basis defaults to 0% instead of 0 when omitted in flex shorthand, matching web browser behavior.
113
124
  *
@@ -207,6 +218,28 @@ export interface Config {
207
218
  */
208
219
  enableNewTransformOrigin?: boolean;
209
220
 
221
+ /**
222
+ * Controls CSS parser handling for numeric flex shorthand input. When enabled, numeric flex values preserve integer-style parsing; when disabled, numeric flex shorthand keeps the legacy numeric parsing behavior.
223
+ *
224
+ * Supported platform: Android, HarmonyOS, iOS
225
+ *
226
+ * Since: LynxSDK 3.8
227
+ *
228
+ * @defaultValue false
229
+ */
230
+ enableParseIntFlex?: boolean;
231
+
232
+ /**
233
+ * Controls whether reload patching triggers the LynxUI onNodeReload lifecycle on affected elements. When enabled, refresh patching walks reloaded elements and calls onNodeReload; when disabled, reload updates skip that lifecycle callback.
234
+ *
235
+ * Supported platform: Android, HarmonyOS, iOS
236
+ *
237
+ * Since: LynxSDK 3.2
238
+ *
239
+ * @defaultValue false
240
+ */
241
+ enableReloadLifecycle?: boolean;
242
+
210
243
  /**
211
244
  * Controls whether iOS Lynx tap gestures can fire at the same time as outer native tap gestures. When enabled, LynxTap and host tap gestures are allowed to recognize together; when disabled, Lynx keeps the default mutual-exclusion behavior.
212
245
  *