@fluentui/react-jsx-runtime 9.0.10 → 9.0.11
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.json +28 -1
- package/CHANGELOG.md +13 -2
- package/lib/jsx/createJSX.js +1 -1
- package/lib/jsx/createJSX.js.map +1 -1
- package/lib-commonjs/jsx/createJSX.js +1 -1
- package/lib-commonjs/jsx/createJSX.js.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,34 @@
|
|
|
2
2
|
"name": "@fluentui/react-jsx-runtime",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Tue, 26 Sep 2023 15:14:53 GMT",
|
|
6
|
+
"tag": "@fluentui/react-jsx-runtime_v9.0.11",
|
|
7
|
+
"version": "9.0.11",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "bernardo.sunderhus@gmail.com",
|
|
12
|
+
"package": "@fluentui/react-jsx-runtime",
|
|
13
|
+
"commit": "3f9051784f483097b0c711495a61b0e634d880d6",
|
|
14
|
+
"comment": "bugfix: react dev runtime call is missing source parameter"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"author": "martinhochel@microsoft.com",
|
|
18
|
+
"package": "@fluentui/react-jsx-runtime",
|
|
19
|
+
"commit": "e61473fa10195f6ebf2308205c1e72e91b711831",
|
|
20
|
+
"comment": "fix: bump swc core to mitigate transpilation memory leaks"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"author": "beachball",
|
|
24
|
+
"package": "@fluentui/react-jsx-runtime",
|
|
25
|
+
"comment": "Bump @fluentui/react-utilities to v9.13.4",
|
|
26
|
+
"commit": "e16520437e10cd824ac254dd797e32762b5de72d"
|
|
27
|
+
}
|
|
28
|
+
]
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"date": "Wed, 20 Sep 2023 17:47:38 GMT",
|
|
6
33
|
"tag": "@fluentui/react-jsx-runtime_v9.0.10",
|
|
7
34
|
"version": "9.0.10",
|
|
8
35
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,23 @@
|
|
|
1
1
|
# Change Log - @fluentui/react-jsx-runtime
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Tue, 26 Sep 2023 15:14:53 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## [9.0.11](https://github.com/microsoft/fluentui/tree/@fluentui/react-jsx-runtime_v9.0.11)
|
|
8
|
+
|
|
9
|
+
Tue, 26 Sep 2023 15:14:53 GMT
|
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-jsx-runtime_v9.0.10..@fluentui/react-jsx-runtime_v9.0.11)
|
|
11
|
+
|
|
12
|
+
### Patches
|
|
13
|
+
|
|
14
|
+
- bugfix: react dev runtime call is missing source parameter ([PR #29295](https://github.com/microsoft/fluentui/pull/29295) by bernardo.sunderhus@gmail.com)
|
|
15
|
+
- fix: bump swc core to mitigate transpilation memory leaks ([PR #29253](https://github.com/microsoft/fluentui/pull/29253) by martinhochel@microsoft.com)
|
|
16
|
+
- Bump @fluentui/react-utilities to v9.13.4 ([PR #29300](https://github.com/microsoft/fluentui/pull/29300) by beachball)
|
|
17
|
+
|
|
7
18
|
## [9.0.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-jsx-runtime_v9.0.10)
|
|
8
19
|
|
|
9
|
-
Wed, 20 Sep 2023 17:
|
|
20
|
+
Wed, 20 Sep 2023 17:47:38 GMT
|
|
10
21
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-jsx-runtime_v9.0.9..@fluentui/react-jsx-runtime_v9.0.10)
|
|
11
22
|
|
|
12
23
|
### Patches
|
package/lib/jsx/createJSX.js
CHANGED
|
@@ -11,5 +11,5 @@ export const createJSX = (runtime, slotRuntime)=>(type, overrideProps, key, sour
|
|
|
11
11
|
if (isSlot(type)) {
|
|
12
12
|
return slotRuntime(type, overrideProps, key, source, self);
|
|
13
13
|
}
|
|
14
|
-
return runtime(type, overrideProps, key);
|
|
14
|
+
return runtime(type, overrideProps, key, source, self);
|
|
15
15
|
};
|
package/lib/jsx/createJSX.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["createJSX.ts"],"sourcesContent":["import { isSlot } from '@fluentui/react-utilities';\nimport * as React from 'react';\nimport { createCompatSlotComponent } from '../utils/createCompatSlotComponent';\nimport { JSXRuntime, JSXSlotRuntime } from '../utils/types';\n\nexport const createJSX =\n (runtime: JSXRuntime, slotRuntime: JSXSlotRuntime) =>\n <Props extends {}>(\n type: React.ElementType<Props>,\n overrideProps: Props | null,\n key?: React.Key,\n source?: unknown,\n self?: unknown,\n ): React.ReactElement<Props> => {\n // TODO:\n // this is for backwards compatibility with getSlotsNext\n // it should be removed once getSlotsNext is obsolete\n if (isSlot<Props>(overrideProps)) {\n return slotRuntime<Props>(createCompatSlotComponent(type, overrideProps), null, key, source, self);\n }\n if (isSlot<Props>(type)) {\n return slotRuntime(type, overrideProps, key, source, self);\n }\n return runtime(type, overrideProps, key);\n };\n"],"names":["isSlot","React","createCompatSlotComponent","createJSX","runtime","slotRuntime","type","overrideProps","key","source","self"],"mappings":"AAAA,SAASA,MAAM,QAAQ,4BAA4B;AACnD,YAAYC,WAAW,QAAQ;AAC/B,SAASC,yBAAyB,QAAQ,qCAAqC;AAG/E,OAAO,MAAMC,YACX,CAACC,SAAqBC,cACtB,CACEC,MACAC,eACAC,KACAC,QACAC;QAEA,QAAQ;QACR,wDAAwD;QACxD,qDAAqD;QACrD,IAAIV,OAAcO,gBAAgB;YAChC,OAAOF,YAAmBH,0BAA0BI,MAAMC,gBAAgB,MAAMC,KAAKC,QAAQC;QAC/F;QACA,IAAIV,OAAcM,OAAO;YACvB,OAAOD,YAAYC,MAAMC,eAAeC,KAAKC,QAAQC;QACvD;QACA,OAAON,QAAQE,MAAMC,eAAeC;
|
|
1
|
+
{"version":3,"sources":["createJSX.ts"],"sourcesContent":["import { isSlot } from '@fluentui/react-utilities';\nimport * as React from 'react';\nimport { createCompatSlotComponent } from '../utils/createCompatSlotComponent';\nimport { JSXRuntime, JSXSlotRuntime } from '../utils/types';\n\nexport const createJSX =\n (runtime: JSXRuntime, slotRuntime: JSXSlotRuntime) =>\n <Props extends {}>(\n type: React.ElementType<Props>,\n overrideProps: Props | null,\n key?: React.Key,\n source?: unknown,\n self?: unknown,\n ): React.ReactElement<Props> => {\n // TODO:\n // this is for backwards compatibility with getSlotsNext\n // it should be removed once getSlotsNext is obsolete\n if (isSlot<Props>(overrideProps)) {\n return slotRuntime<Props>(createCompatSlotComponent(type, overrideProps), null, key, source, self);\n }\n if (isSlot<Props>(type)) {\n return slotRuntime(type, overrideProps, key, source, self);\n }\n return runtime(type, overrideProps, key, source, self);\n };\n"],"names":["isSlot","React","createCompatSlotComponent","createJSX","runtime","slotRuntime","type","overrideProps","key","source","self"],"mappings":"AAAA,SAASA,MAAM,QAAQ,4BAA4B;AACnD,YAAYC,WAAW,QAAQ;AAC/B,SAASC,yBAAyB,QAAQ,qCAAqC;AAG/E,OAAO,MAAMC,YACX,CAACC,SAAqBC,cACtB,CACEC,MACAC,eACAC,KACAC,QACAC;QAEA,QAAQ;QACR,wDAAwD;QACxD,qDAAqD;QACrD,IAAIV,OAAcO,gBAAgB;YAChC,OAAOF,YAAmBH,0BAA0BI,MAAMC,gBAAgB,MAAMC,KAAKC,QAAQC;QAC/F;QACA,IAAIV,OAAcM,OAAO;YACvB,OAAOD,YAAYC,MAAMC,eAAeC,KAAKC,QAAQC;QACvD;QACA,OAAON,QAAQE,MAAMC,eAAeC,KAAKC,QAAQC;IACnD,EAAE"}
|
|
@@ -22,5 +22,5 @@ const createJSX = (runtime, slotRuntime)=>(type, overrideProps, key, source, sel
|
|
|
22
22
|
if ((0, _reactutilities.isSlot)(type)) {
|
|
23
23
|
return slotRuntime(type, overrideProps, key, source, self);
|
|
24
24
|
}
|
|
25
|
-
return runtime(type, overrideProps, key);
|
|
25
|
+
return runtime(type, overrideProps, key, source, self);
|
|
26
26
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["createJSX.js"],"sourcesContent":["import { isSlot } from '@fluentui/react-utilities';\nimport * as React from 'react';\nimport { createCompatSlotComponent } from '../utils/createCompatSlotComponent';\nexport const createJSX = (runtime, slotRuntime)=>(type, overrideProps, key, source, self)=>{\n // TODO:\n // this is for backwards compatibility with getSlotsNext\n // it should be removed once getSlotsNext is obsolete\n if (isSlot(overrideProps)) {\n return slotRuntime(createCompatSlotComponent(type, overrideProps), null, key, source, self);\n }\n if (isSlot(type)) {\n return slotRuntime(type, overrideProps, key, source, self);\n }\n return runtime(type, overrideProps, key);\n };\n"],"names":["createJSX","runtime","slotRuntime","type","overrideProps","key","source","self","isSlot","createCompatSlotComponent"],"mappings":";;;;+BAGaA;;;eAAAA;;;;gCAHU;iEACA;2CACmB;AACnC,MAAMA,YAAY,CAACC,SAASC,cAAc,CAACC,MAAMC,eAAeC,KAAKC,QAAQC;QAC5E,QAAQ;QACR,wDAAwD;QACxD,qDAAqD;QACrD,IAAIC,IAAAA,sBAAM,EAACJ,gBAAgB;YACvB,OAAOF,YAAYO,IAAAA,oDAAyB,EAACN,MAAMC,gBAAgB,MAAMC,KAAKC,QAAQC;QAC1F;QACA,IAAIC,IAAAA,sBAAM,EAACL,OAAO;YACd,OAAOD,YAAYC,MAAMC,eAAeC,KAAKC,QAAQC;QACzD;QACA,OAAON,QAAQE,MAAMC,eAAeC;
|
|
1
|
+
{"version":3,"sources":["createJSX.js"],"sourcesContent":["import { isSlot } from '@fluentui/react-utilities';\nimport * as React from 'react';\nimport { createCompatSlotComponent } from '../utils/createCompatSlotComponent';\nexport const createJSX = (runtime, slotRuntime)=>(type, overrideProps, key, source, self)=>{\n // TODO:\n // this is for backwards compatibility with getSlotsNext\n // it should be removed once getSlotsNext is obsolete\n if (isSlot(overrideProps)) {\n return slotRuntime(createCompatSlotComponent(type, overrideProps), null, key, source, self);\n }\n if (isSlot(type)) {\n return slotRuntime(type, overrideProps, key, source, self);\n }\n return runtime(type, overrideProps, key, source, self);\n };\n"],"names":["createJSX","runtime","slotRuntime","type","overrideProps","key","source","self","isSlot","createCompatSlotComponent"],"mappings":";;;;+BAGaA;;;eAAAA;;;;gCAHU;iEACA;2CACmB;AACnC,MAAMA,YAAY,CAACC,SAASC,cAAc,CAACC,MAAMC,eAAeC,KAAKC,QAAQC;QAC5E,QAAQ;QACR,wDAAwD;QACxD,qDAAqD;QACrD,IAAIC,IAAAA,sBAAM,EAACJ,gBAAgB;YACvB,OAAOF,YAAYO,IAAAA,oDAAyB,EAACN,MAAMC,gBAAgB,MAAMC,KAAKC,QAAQC;QAC1F;QACA,IAAIC,IAAAA,sBAAM,EAACL,OAAO;YACd,OAAOD,YAAYC,MAAMC,eAAeC,KAAKC,QAAQC;QACzD;QACA,OAAON,QAAQE,MAAMC,eAAeC,KAAKC,QAAQC;IACrD"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui/react-jsx-runtime",
|
|
3
|
-
"version": "9.0.
|
|
3
|
+
"version": "9.0.11",
|
|
4
4
|
"description": "Custom JSX runtime for @fluentui/react-components",
|
|
5
5
|
"main": "lib-commonjs/index.js",
|
|
6
6
|
"module": "lib/index.js",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@fluentui/scripts-tasks": "*"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@fluentui/react-utilities": "^9.13.
|
|
34
|
+
"@fluentui/react-utilities": "^9.13.4",
|
|
35
35
|
"@swc/helpers": "^0.5.1"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|