@fluentui/react-jsx-runtime 9.0.0-alpha.1 → 9.0.0-alpha.3

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 CHANGED
@@ -2,7 +2,57 @@
2
2
  "name": "@fluentui/react-jsx-runtime",
3
3
  "entries": [
4
4
  {
5
- "date": "Mon, 17 Apr 2023 17:50:02 GMT",
5
+ "date": "Fri, 12 May 2023 20:21:52 GMT",
6
+ "tag": "@fluentui/react-jsx-runtime_v9.0.0-alpha.3",
7
+ "version": "9.0.0-alpha.3",
8
+ "comments": {
9
+ "prerelease": [
10
+ {
11
+ "author": "olfedias@microsoft.com",
12
+ "package": "@fluentui/react-jsx-runtime",
13
+ "commit": "c28decb23d191a0daaaf6d5d1832429715102129",
14
+ "comment": "chore: exclude .swcrc from being published"
15
+ },
16
+ {
17
+ "author": "beachball",
18
+ "package": "@fluentui/react-jsx-runtime",
19
+ "comment": "Bump @fluentui/react-utilities to v9.8.1",
20
+ "commit": "79c08ce5bbf6387b2b18ba4c3d2d5681e0177d4b"
21
+ },
22
+ {
23
+ "author": "beachball",
24
+ "package": "@fluentui/react-jsx-runtime",
25
+ "comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.21",
26
+ "commit": "79c08ce5bbf6387b2b18ba4c3d2d5681e0177d4b"
27
+ }
28
+ ],
29
+ "none": [
30
+ {
31
+ "author": "martinhochel@microsoft.com",
32
+ "package": "@fluentui/react-jsx-runtime",
33
+ "commit": "dbda7fa69e3000aaf8dd4a061e254ebd35198b8e",
34
+ "comment": "fix: update npmignore files to fix npm8/node16 regression how npm publish works"
35
+ }
36
+ ]
37
+ }
38
+ },
39
+ {
40
+ "date": "Mon, 24 Apr 2023 08:12:37 GMT",
41
+ "tag": "@fluentui/react-jsx-runtime_v9.0.0-alpha.2",
42
+ "version": "9.0.0-alpha.2",
43
+ "comments": {
44
+ "prerelease": [
45
+ {
46
+ "author": "bernardo.sunderhus@gmail.com",
47
+ "package": "@fluentui/react-jsx-runtime",
48
+ "commit": "391878bf4d8a8210a8279a6ced8bf9a64daf4c64",
49
+ "comment": "chore: simplify createElement method"
50
+ }
51
+ ]
52
+ }
53
+ },
54
+ {
55
+ "date": "Mon, 17 Apr 2023 17:53:51 GMT",
6
56
  "tag": "@fluentui/react-jsx-runtime_v9.0.0-alpha.1",
7
57
  "version": "9.0.0-alpha.1",
8
58
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,32 @@
1
1
  # Change Log - @fluentui/react-jsx-runtime
2
2
 
3
- This log was last generated on Mon, 17 Apr 2023 17:50:02 GMT and should not be manually modified.
3
+ This log was last generated on Fri, 12 May 2023 20:21:52 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [9.0.0-alpha.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-jsx-runtime_v9.0.0-alpha.3)
8
+
9
+ Fri, 12 May 2023 20:21:52 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-jsx-runtime_v9.0.0-alpha.2..@fluentui/react-jsx-runtime_v9.0.0-alpha.3)
11
+
12
+ ### Changes
13
+
14
+ - chore: exclude .swcrc from being published ([PR #27740](https://github.com/microsoft/fluentui/pull/27740) by olfedias@microsoft.com)
15
+ - Bump @fluentui/react-utilities to v9.8.1 ([PR #27827](https://github.com/microsoft/fluentui/pull/27827) by beachball)
16
+ - Bump @fluentui/react-conformance-griffel to v9.0.0-beta.21 ([PR #27827](https://github.com/microsoft/fluentui/pull/27827) by beachball)
17
+
18
+ ## [9.0.0-alpha.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-jsx-runtime_v9.0.0-alpha.2)
19
+
20
+ Mon, 24 Apr 2023 08:12:37 GMT
21
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-jsx-runtime_v9.0.0-alpha.1..@fluentui/react-jsx-runtime_v9.0.0-alpha.2)
22
+
23
+ ### Changes
24
+
25
+ - chore: simplify createElement method ([PR #27573](https://github.com/microsoft/fluentui/pull/27573) by bernardo.sunderhus@gmail.com)
26
+
7
27
  ## [9.0.0-alpha.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-jsx-runtime_v9.0.0-alpha.1)
8
28
 
9
- Mon, 17 Apr 2023 17:50:02 GMT
29
+ Mon, 17 Apr 2023 17:53:51 GMT
10
30
 
11
31
  ### Changes
12
32
 
@@ -1,29 +1,19 @@
1
1
  import * as React from 'react';
2
2
  import { SLOT_RENDER_FUNCTION_SYMBOL } from '@fluentui/react-utilities';
3
3
  export function createElement(type, props, ...children) {
4
- if (!isSlotComponent(props)) {
5
- return /*#__PURE__*/React.createElement(type, props, ...children);
6
- }
7
- const result = normalizeRenderFunction(props, children);
8
- return /*#__PURE__*/React.createElement(React.Fragment, {}, result.renderFunction(type, {
9
- ...result.props,
10
- children: result.children
11
- }));
4
+ return hasRenderFunction(props) ? createElementFromRenderFunction(type, props, children) : /*#__PURE__*/React.createElement(type, props, ...children);
12
5
  }
13
- function normalizeRenderFunction(propsWithMetadata, overrideChildren) {
6
+ function createElementFromRenderFunction(type, props, overrideChildren) {
14
7
  const {
15
8
  [SLOT_RENDER_FUNCTION_SYMBOL]: renderFunction,
16
- children: externalChildren,
17
- ...props
18
- } = propsWithMetadata;
19
- const children = Array.isArray(overrideChildren) && overrideChildren.length > 0 ? /*#__PURE__*/React.createElement(React.Fragment, {}, ...overrideChildren) : externalChildren;
20
- return {
21
- children,
22
- renderFunction,
23
- props: props
24
- };
9
+ ...renderProps
10
+ } = props;
11
+ if (overrideChildren.length > 0) {
12
+ renderProps.children = /*#__PURE__*/React.createElement(React.Fragment, {}, ...overrideChildren);
13
+ }
14
+ return /*#__PURE__*/React.createElement(React.Fragment, {}, renderFunction(type, renderProps));
25
15
  }
26
- export function isSlotComponent(props) {
16
+ export function hasRenderFunction(props) {
27
17
  return Boolean(props === null || props === void 0 ? void 0 : props.hasOwnProperty(SLOT_RENDER_FUNCTION_SYMBOL));
28
18
  }
29
19
  //# sourceMappingURL=createElement.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["React","SLOT_RENDER_FUNCTION_SYMBOL","createElement","type","props","children","isSlotComponent","result","normalizeRenderFunction","Fragment","renderFunction","propsWithMetadata","overrideChildren","externalChildren","Array","isArray","length","Boolean","hasOwnProperty"],"sources":["../src/createElement.ts"],"sourcesContent":["import * as React from 'react';\nimport { SlotRenderFunction, UnknownSlotProps, SLOT_RENDER_FUNCTION_SYMBOL } from '@fluentui/react-utilities';\n\ntype WithMetadata<Props extends {}> = Props & {\n [SLOT_RENDER_FUNCTION_SYMBOL]: SlotRenderFunction<Props>;\n};\n\nexport function createElement<P extends {}>(\n type: React.ElementType<P>,\n props?: P | null,\n ...children: React.ReactNode[]\n): React.ReactElement<P> | null {\n if (!isSlotComponent(props)) {\n return React.createElement(type, props, ...children);\n }\n\n const result = normalizeRenderFunction(props, children);\n return React.createElement(\n React.Fragment,\n {},\n result.renderFunction(type, { ...result.props, children: result.children }),\n ) as React.ReactElement<P>;\n}\n\nfunction normalizeRenderFunction<Props extends UnknownSlotProps>(\n propsWithMetadata: WithMetadata<Props>,\n overrideChildren?: React.ReactNode[],\n): {\n props: Props;\n children: React.ReactNode;\n renderFunction: SlotRenderFunction<Props>;\n} {\n const { [SLOT_RENDER_FUNCTION_SYMBOL]: renderFunction, children: externalChildren, ...props } = propsWithMetadata;\n\n const children: React.ReactNode =\n Array.isArray(overrideChildren) && overrideChildren.length > 0\n ? React.createElement(React.Fragment, {}, ...overrideChildren)\n : externalChildren;\n\n return {\n children,\n renderFunction,\n props: props as UnknownSlotProps as Props,\n };\n}\n\nexport function isSlotComponent<Props extends {}>(props?: Props | null): props is WithMetadata<Props> {\n return Boolean(props?.hasOwnProperty(SLOT_RENDER_FUNCTION_SYMBOL));\n}\n"],"mappings":"AAAA,YAAYA,KAAA,MAAW;AACvB,SAA+CC,2BAA2B,QAAQ;AAMlF,OAAO,SAASC,cACdC,IAA0B,EAC1BC,KAAgB,EAChB,GAAGC,QAA2B,EACA;EAC9B,IAAI,CAACC,eAAA,CAAgBF,KAAA,GAAQ;IAC3B,oBAAOJ,KAAA,CAAME,aAAa,CAACC,IAAA,EAAMC,KAAA,KAAUC,QAAA;EAC7C;EAEA,MAAME,MAAA,GAASC,uBAAA,CAAwBJ,KAAA,EAAOC,QAAA;EAC9C,oBAAOL,KAAA,CAAME,aAAa,CACxBF,KAAA,CAAMS,QAAQ,EACd,CAAC,GACDF,MAAA,CAAOG,cAAc,CAACP,IAAA,EAAM;IAAE,GAAGI,MAAA,CAAOH,KAAK;IAAEC,QAAA,EAAUE,MAAA,CAAOF;EAAS;AAE7E;AAEA,SAASG,wBACPG,iBAAsC,EACtCC,gBAAoC,EAKpC;EACA,MAAM;IAAE,CAACX,2BAAA,GAA8BS,cAAA;IAAgBL,QAAA,EAAUQ,gBAAA;IAAkB,GAAGT;EAAA,CAAO,GAAGO,iBAAA;EAEhG,MAAMN,QAAA,GACJS,KAAA,CAAMC,OAAO,CAACH,gBAAA,KAAqBA,gBAAA,CAAiBI,MAAM,GAAG,iBACzDhB,KAAA,CAAME,aAAa,CAACF,KAAA,CAAMS,QAAQ,EAAE,CAAC,MAAMG,gBAAA,IAC3CC,gBAAgB;EAEtB,OAAO;IACLR,QAAA;IACAK,cAAA;IACAN,KAAA,EAAOA;EACT;AACF;AAEA,OAAO,SAASE,gBAAkCF,KAAoB,EAAgC;EACpG,OAAOa,OAAA,CAAQb,KAAA,aAAAA,KAAA,uBAAAA,KAAA,CAAOc,cAAc,CAACjB,2BAAA;AACvC"}
1
+ {"version":3,"names":["React","SLOT_RENDER_FUNCTION_SYMBOL","createElement","type","props","children","hasRenderFunction","createElementFromRenderFunction","overrideChildren","renderFunction","renderProps","length","Fragment","Boolean","hasOwnProperty"],"sources":["../src/createElement.ts"],"sourcesContent":["import * as React from 'react';\nimport { SlotRenderFunction, UnknownSlotProps, SLOT_RENDER_FUNCTION_SYMBOL } from '@fluentui/react-utilities';\n\ntype WithMetadata<Props extends {}> = Props & {\n [SLOT_RENDER_FUNCTION_SYMBOL]: SlotRenderFunction<Props>;\n};\n\nexport function createElement<P extends {}>(\n type: React.ElementType<P>,\n props?: P | null,\n ...children: React.ReactNode[]\n): React.ReactElement<P> | null {\n return hasRenderFunction(props)\n ? createElementFromRenderFunction(type, props, children)\n : React.createElement(type, props, ...children);\n}\n\nfunction createElementFromRenderFunction<P extends UnknownSlotProps>(\n type: React.ElementType<P>,\n props: WithMetadata<P>,\n overrideChildren: React.ReactNode[],\n): React.ReactElement<P> | null {\n const { [SLOT_RENDER_FUNCTION_SYMBOL]: renderFunction, ...renderProps } = props;\n\n if (overrideChildren.length > 0) {\n renderProps.children = React.createElement(React.Fragment, {}, ...overrideChildren);\n }\n\n return React.createElement(\n React.Fragment,\n {},\n renderFunction(type, renderProps as UnknownSlotProps as P),\n ) as React.ReactElement<P>;\n}\n\nexport function hasRenderFunction<Props extends {}>(props?: Props | null): props is WithMetadata<Props> {\n return Boolean(props?.hasOwnProperty(SLOT_RENDER_FUNCTION_SYMBOL));\n}\n"],"mappings":"AAAA,YAAYA,KAAA,MAAW;AACvB,SAA+CC,2BAA2B,QAAQ;AAMlF,OAAO,SAASC,cACdC,IAA0B,EAC1BC,KAAgB,EAChB,GAAGC,QAA2B,EACA;EAC9B,OAAOC,iBAAA,CAAkBF,KAAA,IACrBG,+BAAA,CAAgCJ,IAAA,EAAMC,KAAA,EAAOC,QAAA,iBAC7CL,KAAA,CAAME,aAAa,CAACC,IAAA,EAAMC,KAAA,KAAUC,QAAA,CAAS;AACnD;AAEA,SAASE,gCACPJ,IAA0B,EAC1BC,KAAsB,EACtBI,gBAAmC,EACL;EAC9B,MAAM;IAAE,CAACP,2BAAA,GAA8BQ,cAAA;IAAgB,GAAGC;EAAA,CAAa,GAAGN,KAAA;EAE1E,IAAII,gBAAA,CAAiBG,MAAM,GAAG,GAAG;IAC/BD,WAAA,CAAYL,QAAQ,gBAAGL,KAAA,CAAME,aAAa,CAACF,KAAA,CAAMY,QAAQ,EAAE,CAAC,MAAMJ,gBAAA;EACpE;EAEA,oBAAOR,KAAA,CAAME,aAAa,CACxBF,KAAA,CAAMY,QAAQ,EACd,CAAC,GACDH,cAAA,CAAeN,IAAA,EAAMO,WAAA;AAEzB;AAEA,OAAO,SAASJ,kBAAoCF,KAAoB,EAAgC;EACtG,OAAOS,OAAA,CAAQT,KAAA,aAAAA,KAAA,uBAAAA,KAAA,CAAOU,cAAc,CAACb,2BAAA;AACvC"}
@@ -10,31 +10,22 @@ function _export(target, all) {
10
10
  }
11
11
  _export(exports, {
12
12
  createElement: ()=>createElement,
13
- isSlotComponent: ()=>isSlotComponent
13
+ hasRenderFunction: ()=>hasRenderFunction
14
14
  });
15
15
  const _interopRequireWildcard = require("@swc/helpers/lib/_interop_require_wildcard.js").default;
16
16
  const _react = /*#__PURE__*/ _interopRequireWildcard(require("react"));
17
17
  const _reactUtilities = require("@fluentui/react-utilities");
18
18
  function createElement(type, props, ...children) {
19
- if (!isSlotComponent(props)) {
20
- return /*#__PURE__*/ _react.createElement(type, props, ...children);
21
- }
22
- const result = normalizeRenderFunction(props, children);
23
- return /*#__PURE__*/ _react.createElement(_react.Fragment, {}, result.renderFunction(type, {
24
- ...result.props,
25
- children: result.children
26
- }));
19
+ return hasRenderFunction(props) ? createElementFromRenderFunction(type, props, children) : /*#__PURE__*/ _react.createElement(type, props, ...children);
27
20
  }
28
- function normalizeRenderFunction(propsWithMetadata, overrideChildren) {
29
- const { [_reactUtilities.SLOT_RENDER_FUNCTION_SYMBOL]: renderFunction , children: externalChildren , ...props } = propsWithMetadata;
30
- const children = Array.isArray(overrideChildren) && overrideChildren.length > 0 ? /*#__PURE__*/ _react.createElement(_react.Fragment, {}, ...overrideChildren) : externalChildren;
31
- return {
32
- children,
33
- renderFunction,
34
- props: props
35
- };
21
+ function createElementFromRenderFunction(type, props, overrideChildren) {
22
+ const { [_reactUtilities.SLOT_RENDER_FUNCTION_SYMBOL]: renderFunction , ...renderProps } = props;
23
+ if (overrideChildren.length > 0) {
24
+ renderProps.children = /*#__PURE__*/ _react.createElement(_react.Fragment, {}, ...overrideChildren);
25
+ }
26
+ return /*#__PURE__*/ _react.createElement(_react.Fragment, {}, renderFunction(type, renderProps));
36
27
  }
37
- function isSlotComponent(props) {
28
+ function hasRenderFunction(props) {
38
29
  return Boolean(props === null || props === void 0 ? void 0 : props.hasOwnProperty(_reactUtilities.SLOT_RENDER_FUNCTION_SYMBOL));
39
30
  } //# sourceMappingURL=createElement.js.map
40
31
 
@@ -1 +1 @@
1
- {"version":3,"sources":["../lib/createElement.js"],"sourcesContent":["import * as React from 'react';\nimport { SLOT_RENDER_FUNCTION_SYMBOL } from '@fluentui/react-utilities';\nexport function createElement(type, props, ...children) {\n if (!isSlotComponent(props)) {\n return /*#__PURE__*/React.createElement(type, props, ...children);\n }\n const result = normalizeRenderFunction(props, children);\n return /*#__PURE__*/React.createElement(React.Fragment, {}, result.renderFunction(type, {\n ...result.props,\n children: result.children\n }));\n}\nfunction normalizeRenderFunction(propsWithMetadata, overrideChildren) {\n const {\n [SLOT_RENDER_FUNCTION_SYMBOL]: renderFunction,\n children: externalChildren,\n ...props\n } = propsWithMetadata;\n const children = Array.isArray(overrideChildren) && overrideChildren.length > 0 ? /*#__PURE__*/React.createElement(React.Fragment, {}, ...overrideChildren) : externalChildren;\n return {\n children,\n renderFunction,\n props: props\n };\n}\nexport function isSlotComponent(props) {\n return Boolean(props === null || props === void 0 ? void 0 : props.hasOwnProperty(SLOT_RENDER_FUNCTION_SYMBOL));\n}\n//# sourceMappingURL=createElement.js.map"],"names":["createElement","isSlotComponent","type","props","children","React","result","normalizeRenderFunction","Fragment","renderFunction","propsWithMetadata","overrideChildren","SLOT_RENDER_FUNCTION_SYMBOL","externalChildren","Array","isArray","length","Boolean","hasOwnProperty"],"mappings":";;;;;;;;;;;IAEgBA,aAAa,MAAbA;IAuBAC,eAAe,MAAfA;;;6DAzBO;gCACqB;AACrC,SAASD,cAAcE,IAAI,EAAEC,KAAK,EAAE,GAAGC,QAAQ,EAAE;IACtD,IAAI,CAACH,gBAAgBE,QAAQ;QAC3B,OAAO,WAAW,GAAEE,OAAML,aAAa,CAACE,MAAMC,UAAUC;IAC1D,CAAC;IACD,MAAME,SAASC,wBAAwBJ,OAAOC;IAC9C,OAAO,WAAW,GAAEC,OAAML,aAAa,CAACK,OAAMG,QAAQ,EAAE,CAAC,GAAGF,OAAOG,cAAc,CAACP,MAAM;QACtF,GAAGI,OAAOH,KAAK;QACfC,UAAUE,OAAOF,QAAQ;IAC3B;AACF;AACA,SAASG,wBAAwBG,iBAAiB,EAAEC,gBAAgB,EAAE;IACpE,MAAM,EACJ,CAACC,2CAA2B,CAAC,EAAEH,eAAc,EAC7CL,UAAUS,iBAAgB,EAC1B,GAAGV,OACJ,GAAGO;IACJ,MAAMN,WAAWU,MAAMC,OAAO,CAACJ,qBAAqBA,iBAAiBK,MAAM,GAAG,IAAI,WAAW,GAAEX,OAAML,aAAa,CAACK,OAAMG,QAAQ,EAAE,CAAC,MAAMG,oBAAoBE,gBAAgB;IAC9K,OAAO;QACLT;QACAK;QACAN,OAAOA;IACT;AACF;AACO,SAASF,gBAAgBE,KAAK,EAAE;IACrC,OAAOc,QAAQd,UAAU,IAAI,IAAIA,UAAU,KAAK,IAAI,KAAK,IAAIA,MAAMe,cAAc,CAACN,2CAA2B,CAAC;AAChH,EACA,yCAAyC"}
1
+ {"version":3,"sources":["../lib/createElement.js"],"sourcesContent":["import * as React from 'react';\nimport { SLOT_RENDER_FUNCTION_SYMBOL } from '@fluentui/react-utilities';\nexport function createElement(type, props, ...children) {\n return hasRenderFunction(props) ? createElementFromRenderFunction(type, props, children) : /*#__PURE__*/React.createElement(type, props, ...children);\n}\nfunction createElementFromRenderFunction(type, props, overrideChildren) {\n const {\n [SLOT_RENDER_FUNCTION_SYMBOL]: renderFunction,\n ...renderProps\n } = props;\n if (overrideChildren.length > 0) {\n renderProps.children = /*#__PURE__*/React.createElement(React.Fragment, {}, ...overrideChildren);\n }\n return /*#__PURE__*/React.createElement(React.Fragment, {}, renderFunction(type, renderProps));\n}\nexport function hasRenderFunction(props) {\n return Boolean(props === null || props === void 0 ? void 0 : props.hasOwnProperty(SLOT_RENDER_FUNCTION_SYMBOL));\n}\n//# sourceMappingURL=createElement.js.map"],"names":["createElement","hasRenderFunction","type","props","children","createElementFromRenderFunction","React","overrideChildren","SLOT_RENDER_FUNCTION_SYMBOL","renderFunction","renderProps","length","Fragment","Boolean","hasOwnProperty"],"mappings":";;;;;;;;;;;IAEgBA,aAAa,MAAbA;IAaAC,iBAAiB,MAAjBA;;;6DAfO;gCACqB;AACrC,SAASD,cAAcE,IAAI,EAAEC,KAAK,EAAE,GAAGC,QAAQ,EAAE;IACtD,OAAOH,kBAAkBE,SAASE,gCAAgCH,MAAMC,OAAOC,YAAY,WAAW,GAAEE,OAAMN,aAAa,CAACE,MAAMC,UAAUC,SAAS;AACvJ;AACA,SAASC,gCAAgCH,IAAI,EAAEC,KAAK,EAAEI,gBAAgB,EAAE;IACtE,MAAM,EACJ,CAACC,2CAA2B,CAAC,EAAEC,eAAc,EAC7C,GAAGC,aACJ,GAAGP;IACJ,IAAII,iBAAiBI,MAAM,GAAG,GAAG;QAC/BD,YAAYN,QAAQ,GAAG,WAAW,GAAEE,OAAMN,aAAa,CAACM,OAAMM,QAAQ,EAAE,CAAC,MAAML;IACjF,CAAC;IACD,OAAO,WAAW,GAAED,OAAMN,aAAa,CAACM,OAAMM,QAAQ,EAAE,CAAC,GAAGH,eAAeP,MAAMQ;AACnF;AACO,SAAST,kBAAkBE,KAAK,EAAE;IACvC,OAAOU,QAAQV,UAAU,IAAI,IAAIA,UAAU,KAAK,IAAI,KAAK,IAAIA,MAAMW,cAAc,CAACN,2CAA2B,CAAC;AAChH,EACA,yCAAyC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui/react-jsx-runtime",
3
- "version": "9.0.0-alpha.1",
3
+ "version": "9.0.0-alpha.3",
4
4
  "description": "React components for building web experiences",
5
5
  "main": "lib-commonjs/index.js",
6
6
  "module": "lib/index.js",
@@ -24,12 +24,12 @@
24
24
  "devDependencies": {
25
25
  "@fluentui/eslint-plugin": "*",
26
26
  "@fluentui/react-conformance": "*",
27
- "@fluentui/react-conformance-griffel": "9.0.0-beta.20",
27
+ "@fluentui/react-conformance-griffel": "9.0.0-beta.21",
28
28
  "@fluentui/scripts-api-extractor": "*",
29
29
  "@fluentui/scripts-tasks": "*"
30
30
  },
31
31
  "dependencies": {
32
- "@fluentui/react-utilities": "^9.8.0",
32
+ "@fluentui/react-utilities": "^9.8.1",
33
33
  "@swc/helpers": "^0.4.14"
34
34
  },
35
35
  "peerDependencies": {
package/.swcrc DELETED
@@ -1,30 +0,0 @@
1
- {
2
- "$schema": "https://json.schemastore.org/swcrc",
3
- "exclude": [
4
- "/testing",
5
- "/**/*.cy.ts",
6
- "/**/*.cy.tsx",
7
- "/**/*.spec.ts",
8
- "/**/*.spec.tsx",
9
- "/**/*.test.ts",
10
- "/**/*.test.tsx"
11
- ],
12
- "jsc": {
13
- "parser": {
14
- "syntax": "typescript",
15
- "tsx": true,
16
- "decorators": false,
17
- "dynamicImport": false
18
- },
19
- "externalHelpers": true,
20
- "transform": {
21
- "react": {
22
- "runtime": "classic",
23
- "useSpread": true
24
- }
25
- },
26
- "target": "es2019"
27
- },
28
- "minify": false,
29
- "sourceMaps": true
30
- }