@wordpress/element 4.0.0 → 4.0.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/README.md +1 -1
- package/build/platform.android.js +3 -1
- package/build/platform.android.js.map +1 -1
- package/build/platform.ios.js +3 -1
- package/build/platform.ios.js.map +1 -1
- package/build/platform.js +2 -1
- package/build/platform.js.map +1 -1
- package/build-module/platform.android.js +3 -1
- package/build-module/platform.android.js.map +1 -1
- package/build-module/platform.ios.js +3 -1
- package/build-module/platform.ios.js.map +1 -1
- package/build-module/platform.js +2 -1
- package/build-module/platform.js.map +1 -1
- package/build-types/create-interpolate-element.d.ts +1 -1
- package/build-types/create-interpolate-element.d.ts.map +1 -1
- package/build-types/platform.d.ts +1 -0
- package/build-types/raw-html.d.ts +1 -1
- package/build-types/raw-html.d.ts.map +1 -1
- package/build-types/react.d.ts +3 -3
- package/build-types/react.d.ts.map +1 -1
- package/build-types/serialize.d.ts +2 -2
- package/build-types/serialize.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/platform.android.js +2 -0
- package/src/platform.ios.js +2 -0
- package/src/platform.js +1 -0
- package/tsconfig.tsbuildinfo +1 -895
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ Install the module
|
|
|
21
21
|
npm install @wordpress/element --save
|
|
22
22
|
```
|
|
23
23
|
|
|
24
|
-
_This package assumes that your code will run in an **ES2015+** environment. If you're using an environment that has limited or no support for
|
|
24
|
+
_This package assumes that your code will run in an **ES2015+** environment. If you're using an environment that has limited or no support for such language features and APIs, you should include [the polyfill shipped in `@wordpress/babel-preset-default`](https://github.com/WordPress/gutenberg/tree/HEAD/packages/babel-preset-default#polyfill) in your code._
|
|
25
25
|
|
|
26
26
|
## Usage
|
|
27
27
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["@wordpress/element/src/platform.android.js"],"names":["Platform","OriginalPlatform","OS","select","spec","android","native","default"],"mappings":";;;;;;;AAGA;;AAHA;AACA;AACA;AAGA,MAAMA,QAAQ,GAAG,EAChB,GAAGC,qBADa;AAEhBC,EAAAA,EAAE,EAAE,QAFY;AAGhBC,EAAAA,MAAM,EAAIC,IAAF,IAAY;AACnB,QAAK,aAAaA,IAAlB,EAAyB;AACxB,aAAOA,IAAI,CAACC,OAAZ;AACA,KAFD,MAEO,IAAK,YAAYD,IAAjB,EAAwB;AAC9B,aAAOA,IAAI,CAACE,MAAZ;AACA;;AACD,WAAOF,IAAI,CAACG,OAAZ;AACA;
|
|
1
|
+
{"version":3,"sources":["@wordpress/element/src/platform.android.js"],"names":["Platform","OriginalPlatform","OS","select","spec","android","native","default","isNative","isAndroid"],"mappings":";;;;;;;AAGA;;AAHA;AACA;AACA;AAGA,MAAMA,QAAQ,GAAG,EAChB,GAAGC,qBADa;AAEhBC,EAAAA,EAAE,EAAE,QAFY;AAGhBC,EAAAA,MAAM,EAAIC,IAAF,IAAY;AACnB,QAAK,aAAaA,IAAlB,EAAyB;AACxB,aAAOA,IAAI,CAACC,OAAZ;AACA,KAFD,MAEO,IAAK,YAAYD,IAAjB,EAAwB;AAC9B,aAAOA,IAAI,CAACE,MAAZ;AACA;;AACD,WAAOF,IAAI,CAACG,OAAZ;AACA,GAVe;AAWhBC,EAAAA,QAAQ,EAAE,IAXM;AAYhBC,EAAAA,SAAS,EAAE;AAZK,CAAjB;eAeeT,Q","sourcesContent":["/**\n * External dependencies\n */\nimport { Platform as OriginalPlatform } from 'react-native';\n\nconst Platform = {\n\t...OriginalPlatform,\n\tOS: 'native',\n\tselect: ( spec ) => {\n\t\tif ( 'android' in spec ) {\n\t\t\treturn spec.android;\n\t\t} else if ( 'native' in spec ) {\n\t\t\treturn spec.native;\n\t\t}\n\t\treturn spec.default;\n\t},\n\tisNative: true,\n\tisAndroid: true,\n};\n\nexport default Platform;\n"]}
|
package/build/platform.ios.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["@wordpress/element/src/platform.ios.js"],"names":["Platform","OriginalPlatform","OS","select","spec","ios","native","default"],"mappings":";;;;;;;AAGA;;AAHA;AACA;AACA;AAGA,MAAMA,QAAQ,GAAG,EAChB,GAAGC,qBADa;AAEhBC,EAAAA,EAAE,EAAE,QAFY;AAGhBC,EAAAA,MAAM,EAAIC,IAAF,IAAY;AACnB,QAAK,SAASA,IAAd,EAAqB;AACpB,aAAOA,IAAI,CAACC,GAAZ;AACA,KAFD,MAEO,IAAK,YAAYD,IAAjB,EAAwB;AAC9B,aAAOA,IAAI,CAACE,MAAZ;AACA;;AACD,WAAOF,IAAI,CAACG,OAAZ;AACA;
|
|
1
|
+
{"version":3,"sources":["@wordpress/element/src/platform.ios.js"],"names":["Platform","OriginalPlatform","OS","select","spec","ios","native","default","isNative","isIOS"],"mappings":";;;;;;;AAGA;;AAHA;AACA;AACA;AAGA,MAAMA,QAAQ,GAAG,EAChB,GAAGC,qBADa;AAEhBC,EAAAA,EAAE,EAAE,QAFY;AAGhBC,EAAAA,MAAM,EAAIC,IAAF,IAAY;AACnB,QAAK,SAASA,IAAd,EAAqB;AACpB,aAAOA,IAAI,CAACC,GAAZ;AACA,KAFD,MAEO,IAAK,YAAYD,IAAjB,EAAwB;AAC9B,aAAOA,IAAI,CAACE,MAAZ;AACA;;AACD,WAAOF,IAAI,CAACG,OAAZ;AACA,GAVe;AAWhBC,EAAAA,QAAQ,EAAE,IAXM;AAYhBC,EAAAA,KAAK,EAAE;AAZS,CAAjB;eAeeT,Q","sourcesContent":["/**\n * External dependencies\n */\nimport { Platform as OriginalPlatform } from 'react-native';\n\nconst Platform = {\n\t...OriginalPlatform,\n\tOS: 'native',\n\tselect: ( spec ) => {\n\t\tif ( 'ios' in spec ) {\n\t\t\treturn spec.ios;\n\t\t} else if ( 'native' in spec ) {\n\t\t\treturn spec.native;\n\t\t}\n\t\treturn spec.default;\n\t},\n\tisNative: true,\n\tisIOS: true,\n};\n\nexport default Platform;\n"]}
|
package/build/platform.js
CHANGED
|
@@ -15,7 +15,8 @@ exports.default = void 0;
|
|
|
15
15
|
*/
|
|
16
16
|
const Platform = {
|
|
17
17
|
OS: 'web',
|
|
18
|
-
select: spec => 'web' in spec ? spec.web : spec.default
|
|
18
|
+
select: spec => 'web' in spec ? spec.web : spec.default,
|
|
19
|
+
isWeb: true
|
|
19
20
|
};
|
|
20
21
|
/**
|
|
21
22
|
* Component used to detect the current Platform being used.
|
package/build/platform.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["@wordpress/element/src/platform.js"],"names":["Platform","OS","select","spec","web","default"],"mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMA,QAAQ,GAAG;AAChBC,EAAAA,EAAE,EAAE,KADY;AAEhBC,EAAAA,MAAM,EAAIC,IAAF,IAAc,SAASA,IAAT,GAAgBA,IAAI,CAACC,GAArB,GAA2BD,IAAI,CAACE;
|
|
1
|
+
{"version":3,"sources":["@wordpress/element/src/platform.js"],"names":["Platform","OS","select","spec","web","default","isWeb"],"mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMA,QAAQ,GAAG;AAChBC,EAAAA,EAAE,EAAE,KADY;AAEhBC,EAAAA,MAAM,EAAIC,IAAF,IAAc,SAASA,IAAT,GAAgBA,IAAI,CAACC,GAArB,GAA2BD,IAAI,CAACE,OAFtC;AAGhBC,EAAAA,KAAK,EAAE;AAHS,CAAjB;AAKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;eACeN,Q","sourcesContent":["/**\n * Parts of this source were derived and modified from react-native-web,\n * released under the MIT license.\n *\n * Copyright (c) 2016-present, Nicolas Gallagher.\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n */\nconst Platform = {\n\tOS: 'web',\n\tselect: ( spec ) => ( 'web' in spec ? spec.web : spec.default ),\n\tisWeb: true,\n};\n/**\n * Component used to detect the current Platform being used.\n * Use Platform.OS === 'web' to detect if running on web enviroment.\n *\n * This is the same concept as the React Native implementation.\n *\n * @see https://facebook.github.io/react-native/docs/platform-specific-code#platform-module\n *\n * Here is an example of how to use the select method:\n * @example\n * ```js\n * import { Platform } from '@wordpress/element';\n *\n * const placeholderLabel = Platform.select( {\n * native: __( 'Add media' ),\n * web: __( 'Drag images, upload new ones or select files from your library.' ),\n * } );\n * ```\n */\nexport default Platform;\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["@wordpress/element/src/platform.android.js"],"names":["Platform","OriginalPlatform","OS","select","spec","android","native","default"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,QAAQ,IAAIC,gBAArB,QAA6C,cAA7C;AAEA,MAAMD,QAAQ,GAAG,EAChB,GAAGC,gBADa;AAEhBC,EAAAA,EAAE,EAAE,QAFY;AAGhBC,EAAAA,MAAM,EAAIC,IAAF,IAAY;AACnB,QAAK,aAAaA,IAAlB,EAAyB;AACxB,aAAOA,IAAI,CAACC,OAAZ;AACA,KAFD,MAEO,IAAK,YAAYD,IAAjB,EAAwB;AAC9B,aAAOA,IAAI,CAACE,MAAZ;AACA;;AACD,WAAOF,IAAI,CAACG,OAAZ;AACA;
|
|
1
|
+
{"version":3,"sources":["@wordpress/element/src/platform.android.js"],"names":["Platform","OriginalPlatform","OS","select","spec","android","native","default","isNative","isAndroid"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,QAAQ,IAAIC,gBAArB,QAA6C,cAA7C;AAEA,MAAMD,QAAQ,GAAG,EAChB,GAAGC,gBADa;AAEhBC,EAAAA,EAAE,EAAE,QAFY;AAGhBC,EAAAA,MAAM,EAAIC,IAAF,IAAY;AACnB,QAAK,aAAaA,IAAlB,EAAyB;AACxB,aAAOA,IAAI,CAACC,OAAZ;AACA,KAFD,MAEO,IAAK,YAAYD,IAAjB,EAAwB;AAC9B,aAAOA,IAAI,CAACE,MAAZ;AACA;;AACD,WAAOF,IAAI,CAACG,OAAZ;AACA,GAVe;AAWhBC,EAAAA,QAAQ,EAAE,IAXM;AAYhBC,EAAAA,SAAS,EAAE;AAZK,CAAjB;AAeA,eAAeT,QAAf","sourcesContent":["/**\n * External dependencies\n */\nimport { Platform as OriginalPlatform } from 'react-native';\n\nconst Platform = {\n\t...OriginalPlatform,\n\tOS: 'native',\n\tselect: ( spec ) => {\n\t\tif ( 'android' in spec ) {\n\t\t\treturn spec.android;\n\t\t} else if ( 'native' in spec ) {\n\t\t\treturn spec.native;\n\t\t}\n\t\treturn spec.default;\n\t},\n\tisNative: true,\n\tisAndroid: true,\n};\n\nexport default Platform;\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["@wordpress/element/src/platform.ios.js"],"names":["Platform","OriginalPlatform","OS","select","spec","ios","native","default"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,QAAQ,IAAIC,gBAArB,QAA6C,cAA7C;AAEA,MAAMD,QAAQ,GAAG,EAChB,GAAGC,gBADa;AAEhBC,EAAAA,EAAE,EAAE,QAFY;AAGhBC,EAAAA,MAAM,EAAIC,IAAF,IAAY;AACnB,QAAK,SAASA,IAAd,EAAqB;AACpB,aAAOA,IAAI,CAACC,GAAZ;AACA,KAFD,MAEO,IAAK,YAAYD,IAAjB,EAAwB;AAC9B,aAAOA,IAAI,CAACE,MAAZ;AACA;;AACD,WAAOF,IAAI,CAACG,OAAZ;AACA;
|
|
1
|
+
{"version":3,"sources":["@wordpress/element/src/platform.ios.js"],"names":["Platform","OriginalPlatform","OS","select","spec","ios","native","default","isNative","isIOS"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,QAAQ,IAAIC,gBAArB,QAA6C,cAA7C;AAEA,MAAMD,QAAQ,GAAG,EAChB,GAAGC,gBADa;AAEhBC,EAAAA,EAAE,EAAE,QAFY;AAGhBC,EAAAA,MAAM,EAAIC,IAAF,IAAY;AACnB,QAAK,SAASA,IAAd,EAAqB;AACpB,aAAOA,IAAI,CAACC,GAAZ;AACA,KAFD,MAEO,IAAK,YAAYD,IAAjB,EAAwB;AAC9B,aAAOA,IAAI,CAACE,MAAZ;AACA;;AACD,WAAOF,IAAI,CAACG,OAAZ;AACA,GAVe;AAWhBC,EAAAA,QAAQ,EAAE,IAXM;AAYhBC,EAAAA,KAAK,EAAE;AAZS,CAAjB;AAeA,eAAeT,QAAf","sourcesContent":["/**\n * External dependencies\n */\nimport { Platform as OriginalPlatform } from 'react-native';\n\nconst Platform = {\n\t...OriginalPlatform,\n\tOS: 'native',\n\tselect: ( spec ) => {\n\t\tif ( 'ios' in spec ) {\n\t\t\treturn spec.ios;\n\t\t} else if ( 'native' in spec ) {\n\t\t\treturn spec.native;\n\t\t}\n\t\treturn spec.default;\n\t},\n\tisNative: true,\n\tisIOS: true,\n};\n\nexport default Platform;\n"]}
|
package/build-module/platform.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["@wordpress/element/src/platform.js"],"names":["Platform","OS","select","spec","web","default"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMA,QAAQ,GAAG;AAChBC,EAAAA,EAAE,EAAE,KADY;AAEhBC,EAAAA,MAAM,EAAIC,IAAF,IAAc,SAASA,IAAT,GAAgBA,IAAI,CAACC,GAArB,GAA2BD,IAAI,CAACE;
|
|
1
|
+
{"version":3,"sources":["@wordpress/element/src/platform.js"],"names":["Platform","OS","select","spec","web","default","isWeb"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMA,QAAQ,GAAG;AAChBC,EAAAA,EAAE,EAAE,KADY;AAEhBC,EAAAA,MAAM,EAAIC,IAAF,IAAc,SAASA,IAAT,GAAgBA,IAAI,CAACC,GAArB,GAA2BD,IAAI,CAACE,OAFtC;AAGhBC,EAAAA,KAAK,EAAE;AAHS,CAAjB;AAKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,eAAeN,QAAf","sourcesContent":["/**\n * Parts of this source were derived and modified from react-native-web,\n * released under the MIT license.\n *\n * Copyright (c) 2016-present, Nicolas Gallagher.\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n */\nconst Platform = {\n\tOS: 'web',\n\tselect: ( spec ) => ( 'web' in spec ? spec.web : spec.default ),\n\tisWeb: true,\n};\n/**\n * Component used to detect the current Platform being used.\n * Use Platform.OS === 'web' to detect if running on web enviroment.\n *\n * This is the same concept as the React Native implementation.\n *\n * @see https://facebook.github.io/react-native/docs/platform-specific-code#platform-module\n *\n * Here is an example of how to use the select method:\n * @example\n * ```js\n * import { Platform } from '@wordpress/element';\n *\n * const placeholderLabel = Platform.select( {\n * native: __( 'Add media' ),\n * web: __( 'Drag images, upload new ones or select files from your library.' ),\n * } );\n * ```\n */\nexport default Platform;\n"]}
|
|
@@ -33,7 +33,7 @@ export type Frame = {
|
|
|
33
33
|
*/
|
|
34
34
|
children: WPElement[];
|
|
35
35
|
};
|
|
36
|
-
export type WPElement = import(
|
|
36
|
+
export type WPElement = import('./react').WPElement;
|
|
37
37
|
/**
|
|
38
38
|
* This function creates an interpolated element from a passed in string with
|
|
39
39
|
* specific tags matching how the string should be converted to an element via
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-interpolate-element.d.ts","sourceRoot":"","sources":["../src/create-interpolate-element.js"],"names":[],"mappings":";;;;;;;;aA+Bc,SAAS;;;;;gBACT,MAAM;;;;;iBAEN,MAAM;;;;;iBAEN,MAAM;;;;;;uBAEN,MAAM;;;;cAGN,SAAS,EAAE
|
|
1
|
+
{"version":3,"file":"create-interpolate-element.d.ts","sourceRoot":"","sources":["../src/create-interpolate-element.js"],"names":[],"mappings":";;;;;;;;aA+Bc,SAAS;;;;;gBACT,MAAM;;;;;iBAEN,MAAM;;;;;iBAEN,MAAM;;;;;;uBAEN,MAAM;;;;cAGN,SAAS,EAAE;;wBApCX,OAAO,SAAS,EAAE,SAAS;AA6EzC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,8DANW,MAAM,uBAIL,SAAS,CAmBpB"}
|
|
@@ -13,5 +13,5 @@
|
|
|
13
13
|
export default function RawHTML({ children, ...props }: RawHTMLProps): JSX.Element;
|
|
14
14
|
export type RawHTMLProps = {
|
|
15
15
|
children: string;
|
|
16
|
-
} &
|
|
16
|
+
} & import('react').ComponentPropsWithoutRef<'div'>;
|
|
17
17
|
//# sourceMappingURL=raw-html.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"raw-html.d.ts","sourceRoot":"","sources":["../src/raw-html.js"],"names":[],"mappings":"AAMA,mGAAmG;AAEnG;;;;;;;;;;GAUG;AACH,wDALW,YAAY,GAGX,WAAW,CAStB
|
|
1
|
+
{"version":3,"file":"raw-html.d.ts","sourceRoot":"","sources":["../src/raw-html.js"],"names":[],"mappings":"AAMA,mGAAmG;AAEnG;;;;;;;;;;GAUG;AACH,wDALW,YAAY,GAGX,WAAW,CAStB;2BApBa;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAC,GAAG,OAAO,OAAO,EAAE,wBAAwB,CAAC,KAAK,CAAC"}
|
package/build-types/react.d.ts
CHANGED
|
@@ -18,15 +18,15 @@ export function switchChildrenNodeName(children: any | null, nodeName: string):
|
|
|
18
18
|
/**
|
|
19
19
|
* Object containing a React element.
|
|
20
20
|
*/
|
|
21
|
-
export type WPElement = import(
|
|
21
|
+
export type WPElement = import('react').ReactElement;
|
|
22
22
|
/**
|
|
23
23
|
* Object containing a React component.
|
|
24
24
|
*/
|
|
25
|
-
export type WPComponent = import(
|
|
25
|
+
export type WPComponent = import('react').ComponentType;
|
|
26
26
|
/**
|
|
27
27
|
* Object containing a React synthetic event.
|
|
28
28
|
*/
|
|
29
|
-
export type WPSyntheticEvent = import(
|
|
29
|
+
export type WPSyntheticEvent = import('react').SyntheticEvent;
|
|
30
30
|
import { Children } from "react";
|
|
31
31
|
import { cloneElement } from "react";
|
|
32
32
|
import { Component } from "react";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react.d.ts","sourceRoot":"","sources":["../src/react.js"],"names":[],"mappings":"AAsMA;;;;;;GAMG;AACH,4EAcC;AAED;;;;;;;GAOG;AACH,uEAJW,MAAM,cAmBhB"}
|
|
1
|
+
{"version":3,"file":"react.d.ts","sourceRoot":"","sources":["../src/react.js"],"names":[],"mappings":"AAsMA;;;;;;GAMG;AACH,4EAcC;AAED;;;;;;;GAOG;AACH,uEAJW,MAAM,cAmBhB;;;;wBAlNY,OAAO,OAAO,EAAE,YAAY;;;;0BAM5B,OAAO,OAAO,EAAE,aAAa;;;;+BAM7B,OAAO,OAAO,EAAE,cAAc"}
|
|
@@ -59,6 +59,6 @@ export function renderAttributes(props: any): string;
|
|
|
59
59
|
*/
|
|
60
60
|
export function renderStyle(style: any): string;
|
|
61
61
|
export default renderElement;
|
|
62
|
-
export type WPComponent = import(
|
|
63
|
-
export type WPElement = import(
|
|
62
|
+
export type WPComponent = import('./react').WPComponent;
|
|
63
|
+
export type WPElement = import('./react').WPElement;
|
|
64
64
|
//# sourceMappingURL=serialize.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serialize.d.ts","sourceRoot":"","sources":["../src/serialize.js"],"names":[],"mappings":"AAkPA;;;;;;;;GAQG;AACH,kCALW,MAAM,YACN,MAAM,EAAE,GAEP,OAAO,CAIlB;AA8FD;;;;;;;;GAQG;AACH,uCANW,OAAO,OAAO,EAAE,SAAS,uCAIxB,MAAM,CAkFjB;AAED;;;;;;;;;;GAUG;AACH,4CARY,MAAM,0DAMN,MAAM,CAoCjB;AAED,2DAA2D;AAE3D;;;;;;;;;GASG;AACH,2CAPW,WAAW,mDAKV,MAAM,CA6BjB;AAyBD;;;;;;GAMG;AACH,8CAFY,MAAM,CAwDjB;AAED;;;;;;GAMG;AACH,yCAFY,MAAM,CA4BjB"}
|
|
1
|
+
{"version":3,"file":"serialize.d.ts","sourceRoot":"","sources":["../src/serialize.js"],"names":[],"mappings":"AAkPA;;;;;;;;GAQG;AACH,kCALW,MAAM,YACN,MAAM,EAAE,GAEP,OAAO,CAIlB;AA8FD;;;;;;;;GAQG;AACH,uCANW,OAAO,OAAO,EAAE,SAAS,uCAIxB,MAAM,CAkFjB;AAED;;;;;;;;;;GAUG;AACH,4CARY,MAAM,0DAMN,MAAM,CAoCjB;AAED,2DAA2D;AAE3D;;;;;;;;;GASG;AACH,2CAPW,WAAW,mDAKV,MAAM,CA6BjB;AAyBD;;;;;;GAMG;AACH,8CAFY,MAAM,CAwDjB;AAED;;;;;;GAMG;AACH,yCAFY,MAAM,CA4BjB;;0BAhKa,OAAO,SAAS,EAAE,WAAW;wBA/a7B,OAAO,SAAS,EAAE,SAAS"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/element",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.2",
|
|
4
4
|
"description": "Element React module for WordPress.",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@babel/runtime": "^7.13.10",
|
|
32
32
|
"@types/react": "^16.9.0",
|
|
33
33
|
"@types/react-dom": "^16.9.0",
|
|
34
|
-
"@wordpress/escape-html": "^2.2.
|
|
34
|
+
"@wordpress/escape-html": "^2.2.2",
|
|
35
35
|
"lodash": "^4.17.21",
|
|
36
36
|
"react": "^17.0.1",
|
|
37
37
|
"react-dom": "^17.0.1"
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"publishConfig": {
|
|
40
40
|
"access": "public"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "8f7f052bc04e3f4eb50f479ced14be1489b9fa79"
|
|
43
43
|
}
|
package/src/platform.android.js
CHANGED
package/src/platform.ios.js
CHANGED