@lynx-js/react 0.123.3 → 0.124.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 +12 -0
- package/package.json +3 -3
- package/runtime/lib/snapshot/lifecycle/patch/snapshotPatchApply.js +9 -1
- package/runtime/lib/snapshot/lifecycle/patch/snapshotPatchApply.js.map +1 -1
- package/runtime/lib/snapshot/snapshot/definition.js +4 -2
- package/runtime/lib/snapshot/snapshot/definition.js.map +1 -1
- package/runtime/lib/snapshot/snapshot/snapshot.js +5 -1
- package/runtime/lib/snapshot/snapshot/snapshot.js.map +1 -1
- package/runtime/lib/snapshot/snapshot/snapshotCreatorMap.d.ts +1 -0
- package/runtime/lib/snapshot/snapshot/snapshotCreatorMap.js +1 -0
- package/runtime/lib/snapshot/snapshot/snapshotCreatorMap.js.map +1 -1
- package/runtime/lib/tsconfig.tsbuildinfo +1 -1
- package/testing-library/dist/env/index.js +3 -0
- package/testing-library/dist/index.d.ts +1 -0
- package/transform/dist/wasm.cjs +1 -1
- package/transform/index.d.ts +40 -0
|
@@ -220,6 +220,9 @@ const initElementTree = ()=>{
|
|
|
220
220
|
__GetAttributeByName(ele, name) {
|
|
221
221
|
return ele.getAttribute(name);
|
|
222
222
|
}
|
|
223
|
+
__GetAttributeNames(ele) {
|
|
224
|
+
return ele.getAttributeNames();
|
|
225
|
+
}
|
|
223
226
|
__GetComputedStyleByKey(ele, key) {
|
|
224
227
|
return lynxTestingEnv.env.window.getComputedStyle(ele).getPropertyValue(key);
|
|
225
228
|
}
|
|
@@ -785,6 +785,7 @@ declare const initElementTree: () => {
|
|
|
785
785
|
__CreateList(parentComponentUniqueId: number, componentAtIndex: any, enqueueComponent: any): LynxElement;
|
|
786
786
|
__GetTag(ele: LynxElement): string;
|
|
787
787
|
__GetAttributeByName(ele: LynxElement, name: string): string | null;
|
|
788
|
+
__GetAttributeNames(ele: LynxElement): string[];
|
|
788
789
|
__GetComputedStyleByKey(ele: LynxElement, key: string): string;
|
|
789
790
|
/** @internal */
|
|
790
791
|
animationMap: Map<string, {
|