@fluentui/react-button 9.3.38 → 9.3.39

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.json CHANGED
@@ -2,7 +2,22 @@
2
2
  "name": "@fluentui/react-button",
3
3
  "entries": [
4
4
  {
5
- "date": "Tue, 12 Sep 2023 08:48:14 GMT",
5
+ "date": "Thu, 14 Sep 2023 16:40:23 GMT",
6
+ "tag": "@fluentui/react-button_v9.3.39",
7
+ "version": "9.3.39",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "beachball",
12
+ "package": "@fluentui/react-button",
13
+ "comment": "Bump @fluentui/react-jsx-runtime to v9.0.8",
14
+ "commit": "bad33fa7f241bc772b5bc4c6ee624d6ff6b4a473"
15
+ }
16
+ ]
17
+ }
18
+ },
19
+ {
20
+ "date": "Tue, 12 Sep 2023 08:51:31 GMT",
6
21
  "tag": "@fluentui/react-button_v9.3.38",
7
22
  "version": "9.3.38",
8
23
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,21 @@
1
1
  # Change Log - @fluentui/react-button
2
2
 
3
- This log was last generated on Tue, 12 Sep 2023 08:48:14 GMT and should not be manually modified.
3
+ This log was last generated on Thu, 14 Sep 2023 16:40:23 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [9.3.39](https://github.com/microsoft/fluentui/tree/@fluentui/react-button_v9.3.39)
8
+
9
+ Thu, 14 Sep 2023 16:40:23 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-button_v9.3.38..@fluentui/react-button_v9.3.39)
11
+
12
+ ### Patches
13
+
14
+ - Bump @fluentui/react-jsx-runtime to v9.0.8 ([PR #29145](https://github.com/microsoft/fluentui/pull/29145) by beachball)
15
+
7
16
  ## [9.3.38](https://github.com/microsoft/fluentui/tree/@fluentui/react-button_v9.3.38)
8
17
 
9
- Tue, 12 Sep 2023 08:48:14 GMT
18
+ Tue, 12 Sep 2023 08:51:31 GMT
10
19
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-button_v9.3.37..@fluentui/react-button_v9.3.38)
11
20
 
12
21
  ### Patches
@@ -1,4 +1,4 @@
1
- /** @jsxRuntime automatic */ /** @jsxImportSource @fluentui/react-jsx-runtime */ import { jsx as _jsx, jsxs as _jsxs } from "@fluentui/react-jsx-runtime/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "@fluentui/react-jsx-runtime/jsx-runtime";
2
2
  import { assertSlots } from '@fluentui/react-utilities';
3
3
  /**
4
4
  * Renders a Button component by passing the state defined props to the appropriate slots.
@@ -1,4 +1,4 @@
1
- /** @jsxRuntime automatic */ /** @jsxImportSource @fluentui/react-jsx-runtime */ import { jsx as _jsx, jsxs as _jsxs } from "@fluentui/react-jsx-runtime/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "@fluentui/react-jsx-runtime/jsx-runtime";
2
2
  import { assertSlots } from '@fluentui/react-utilities';
3
3
  /**
4
4
  * Renders a CompoundButton component by passing the state defined props to the appropriate slots.
@@ -1,4 +1,4 @@
1
- /** @jsxRuntime automatic */ /** @jsxImportSource @fluentui/react-jsx-runtime */ import { jsx as _jsx, jsxs as _jsxs } from "@fluentui/react-jsx-runtime/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "@fluentui/react-jsx-runtime/jsx-runtime";
2
2
  import { assertSlots } from '@fluentui/react-utilities';
3
3
  /**
4
4
  * Renders a MenuButton component by passing the state defined props to the appropriate slots.
@@ -1,4 +1,4 @@
1
- /** @jsxRuntime automatic */ /** @jsxImportSource @fluentui/react-jsx-runtime */ import { jsx as _jsx, jsxs as _jsxs } from "@fluentui/react-jsx-runtime/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "@fluentui/react-jsx-runtime/jsx-runtime";
2
2
  import { assertSlots } from '@fluentui/react-utilities';
3
3
  /**
4
4
  * Renders a SplitButton component by passing the state defined props to the appropriate slots.
@@ -1,4 +1,4 @@
1
- /** @jsxRuntime automatic */ /** @jsxImportSource @fluentui/react-jsx-runtime */ "use strict";
1
+ "use strict";
2
2
  Object.defineProperty(exports, "__esModule", {
3
3
  value: true
4
4
  });
@@ -1 +1 @@
1
- {"version":3,"sources":["renderButton.js"],"sourcesContent":["/** @jsxRuntime automatic */ /** @jsxImportSource @fluentui/react-jsx-runtime */ import { jsx as _jsx, jsxs as _jsxs } from \"@fluentui/react-jsx-runtime/jsx-runtime\";\nimport { assertSlots } from '@fluentui/react-utilities';\n/**\n * Renders a Button component by passing the state defined props to the appropriate slots.\n */ export const renderButton_unstable = (state)=>{\n assertSlots(state);\n const { iconOnly, iconPosition } = state;\n return /*#__PURE__*/ _jsxs(state.root, {\n children: [\n iconPosition !== 'after' && state.icon && /*#__PURE__*/ _jsx(state.icon, {}),\n !iconOnly && state.root.children,\n iconPosition === 'after' && state.icon && /*#__PURE__*/ _jsx(state.icon, {})\n ]\n });\n};\n"],"names":["renderButton_unstable","state","assertSlots","iconOnly","iconPosition","_jsxs","root","children","icon","_jsx"],"mappings":"AAAA,0BAA0B,GAAG,iDAAiD;;;;+BAI7DA;;;eAAAA;;;4BAJ2G;gCAChG;AAGjB,MAAMA,wBAAwB,CAACC;IACtCC,IAAAA,2BAAW,EAACD;IACZ,MAAM,EAAEE,QAAQ,EAAEC,YAAY,EAAE,GAAGH;IACnC,OAAO,WAAW,GAAGI,IAAAA,gBAAK,EAACJ,MAAMK,IAAI,EAAE;QACnCC,UAAU;YACNH,iBAAiB,WAAWH,MAAMO,IAAI,IAAI,WAAW,GAAGC,IAAAA,eAAI,EAACR,MAAMO,IAAI,EAAE,CAAC;YAC1E,CAACL,YAAYF,MAAMK,IAAI,CAACC,QAAQ;YAChCH,iBAAiB,WAAWH,MAAMO,IAAI,IAAI,WAAW,GAAGC,IAAAA,eAAI,EAACR,MAAMO,IAAI,EAAE,CAAC;SAC7E;IACL;AACJ"}
1
+ {"version":3,"sources":["renderButton.js"],"sourcesContent":[" import { jsx as _jsx, jsxs as _jsxs } from \"@fluentui/react-jsx-runtime/jsx-runtime\";\nimport { assertSlots } from '@fluentui/react-utilities';\n/**\n * Renders a Button component by passing the state defined props to the appropriate slots.\n */ export const renderButton_unstable = (state)=>{\n assertSlots(state);\n const { iconOnly, iconPosition } = state;\n return /*#__PURE__*/ _jsxs(state.root, {\n children: [\n iconPosition !== 'after' && state.icon && /*#__PURE__*/ _jsx(state.icon, {}),\n !iconOnly && state.root.children,\n iconPosition === 'after' && state.icon && /*#__PURE__*/ _jsx(state.icon, {})\n ]\n });\n};\n"],"names":["renderButton_unstable","state","assertSlots","iconOnly","iconPosition","_jsxs","root","children","icon","_jsx"],"mappings":";;;;+BAIiBA;;;eAAAA;;;4BAJ4B;gCACjB;AAGjB,MAAMA,wBAAwB,CAACC;IACtCC,IAAAA,2BAAW,EAACD;IACZ,MAAM,EAAEE,QAAQ,EAAEC,YAAY,EAAE,GAAGH;IACnC,OAAO,WAAW,GAAGI,IAAAA,gBAAK,EAACJ,MAAMK,IAAI,EAAE;QACnCC,UAAU;YACNH,iBAAiB,WAAWH,MAAMO,IAAI,IAAI,WAAW,GAAGC,IAAAA,eAAI,EAACR,MAAMO,IAAI,EAAE,CAAC;YAC1E,CAACL,YAAYF,MAAMK,IAAI,CAACC,QAAQ;YAChCH,iBAAiB,WAAWH,MAAMO,IAAI,IAAI,WAAW,GAAGC,IAAAA,eAAI,EAACR,MAAMO,IAAI,EAAE,CAAC;SAC7E;IACL;AACJ"}
@@ -1,4 +1,4 @@
1
- /** @jsxRuntime automatic */ /** @jsxImportSource @fluentui/react-jsx-runtime */ "use strict";
1
+ "use strict";
2
2
  Object.defineProperty(exports, "__esModule", {
3
3
  value: true
4
4
  });
@@ -1 +1 @@
1
- {"version":3,"sources":["renderCompoundButton.js"],"sourcesContent":["/** @jsxRuntime automatic */ /** @jsxImportSource @fluentui/react-jsx-runtime */ import { jsx as _jsx, jsxs as _jsxs } from \"@fluentui/react-jsx-runtime/jsx-runtime\";\nimport { assertSlots } from '@fluentui/react-utilities';\n/**\n * Renders a CompoundButton component by passing the state defined props to the appropriate slots.\n */ export const renderCompoundButton_unstable = (state)=>{\n assertSlots(state);\n const { iconOnly, iconPosition } = state;\n return /*#__PURE__*/ _jsxs(state.root, {\n children: [\n iconPosition !== 'after' && state.icon && /*#__PURE__*/ _jsx(state.icon, {}),\n !iconOnly && /*#__PURE__*/ _jsxs(state.contentContainer, {\n children: [\n state.root.children,\n state.secondaryContent && /*#__PURE__*/ _jsx(state.secondaryContent, {})\n ]\n }),\n iconPosition === 'after' && state.icon && /*#__PURE__*/ _jsx(state.icon, {})\n ]\n });\n};\n"],"names":["renderCompoundButton_unstable","state","assertSlots","iconOnly","iconPosition","_jsxs","root","children","icon","_jsx","contentContainer","secondaryContent"],"mappings":"AAAA,0BAA0B,GAAG,iDAAiD;;;;+BAI7DA;;;eAAAA;;;4BAJ2G;gCAChG;AAGjB,MAAMA,gCAAgC,CAACC;IAC9CC,IAAAA,2BAAW,EAACD;IACZ,MAAM,EAAEE,QAAQ,EAAEC,YAAY,EAAE,GAAGH;IACnC,OAAO,WAAW,GAAGI,IAAAA,gBAAK,EAACJ,MAAMK,IAAI,EAAE;QACnCC,UAAU;YACNH,iBAAiB,WAAWH,MAAMO,IAAI,IAAI,WAAW,GAAGC,IAAAA,eAAI,EAACR,MAAMO,IAAI,EAAE,CAAC;YAC1E,CAACL,YAAY,WAAW,GAAGE,IAAAA,gBAAK,EAACJ,MAAMS,gBAAgB,EAAE;gBACrDH,UAAU;oBACNN,MAAMK,IAAI,CAACC,QAAQ;oBACnBN,MAAMU,gBAAgB,IAAI,WAAW,GAAGF,IAAAA,eAAI,EAACR,MAAMU,gBAAgB,EAAE,CAAC;iBACzE;YACL;YACAP,iBAAiB,WAAWH,MAAMO,IAAI,IAAI,WAAW,GAAGC,IAAAA,eAAI,EAACR,MAAMO,IAAI,EAAE,CAAC;SAC7E;IACL;AACJ"}
1
+ {"version":3,"sources":["renderCompoundButton.js"],"sourcesContent":[" import { jsx as _jsx, jsxs as _jsxs } from \"@fluentui/react-jsx-runtime/jsx-runtime\";\nimport { assertSlots } from '@fluentui/react-utilities';\n/**\n * Renders a CompoundButton component by passing the state defined props to the appropriate slots.\n */ export const renderCompoundButton_unstable = (state)=>{\n assertSlots(state);\n const { iconOnly, iconPosition } = state;\n return /*#__PURE__*/ _jsxs(state.root, {\n children: [\n iconPosition !== 'after' && state.icon && /*#__PURE__*/ _jsx(state.icon, {}),\n !iconOnly && /*#__PURE__*/ _jsxs(state.contentContainer, {\n children: [\n state.root.children,\n state.secondaryContent && /*#__PURE__*/ _jsx(state.secondaryContent, {})\n ]\n }),\n iconPosition === 'after' && state.icon && /*#__PURE__*/ _jsx(state.icon, {})\n ]\n });\n};\n"],"names":["renderCompoundButton_unstable","state","assertSlots","iconOnly","iconPosition","_jsxs","root","children","icon","_jsx","contentContainer","secondaryContent"],"mappings":";;;;+BAIiBA;;;eAAAA;;;4BAJ4B;gCACjB;AAGjB,MAAMA,gCAAgC,CAACC;IAC9CC,IAAAA,2BAAW,EAACD;IACZ,MAAM,EAAEE,QAAQ,EAAEC,YAAY,EAAE,GAAGH;IACnC,OAAO,WAAW,GAAGI,IAAAA,gBAAK,EAACJ,MAAMK,IAAI,EAAE;QACnCC,UAAU;YACNH,iBAAiB,WAAWH,MAAMO,IAAI,IAAI,WAAW,GAAGC,IAAAA,eAAI,EAACR,MAAMO,IAAI,EAAE,CAAC;YAC1E,CAACL,YAAY,WAAW,GAAGE,IAAAA,gBAAK,EAACJ,MAAMS,gBAAgB,EAAE;gBACrDH,UAAU;oBACNN,MAAMK,IAAI,CAACC,QAAQ;oBACnBN,MAAMU,gBAAgB,IAAI,WAAW,GAAGF,IAAAA,eAAI,EAACR,MAAMU,gBAAgB,EAAE,CAAC;iBACzE;YACL;YACAP,iBAAiB,WAAWH,MAAMO,IAAI,IAAI,WAAW,GAAGC,IAAAA,eAAI,EAACR,MAAMO,IAAI,EAAE,CAAC;SAC7E;IACL;AACJ"}
@@ -1,4 +1,4 @@
1
- /** @jsxRuntime automatic */ /** @jsxImportSource @fluentui/react-jsx-runtime */ "use strict";
1
+ "use strict";
2
2
  Object.defineProperty(exports, "__esModule", {
3
3
  value: true
4
4
  });
@@ -1 +1 @@
1
- {"version":3,"sources":["renderMenuButton.js"],"sourcesContent":["/** @jsxRuntime automatic */ /** @jsxImportSource @fluentui/react-jsx-runtime */ import { jsx as _jsx, jsxs as _jsxs } from \"@fluentui/react-jsx-runtime/jsx-runtime\";\nimport { assertSlots } from '@fluentui/react-utilities';\n/**\n * Renders a MenuButton component by passing the state defined props to the appropriate slots.\n */ export const renderMenuButton_unstable = (state)=>{\n var _icon;\n assertSlots(state);\n const { icon, iconOnly } = state;\n return /*#__PURE__*/ _jsxs(state.root, {\n children: [\n state.icon && /*#__PURE__*/ _jsx(state.icon, {}),\n !iconOnly && state.root.children,\n (!iconOnly || !((_icon = icon) === null || _icon === void 0 ? void 0 : _icon.children)) && state.menuIcon && /*#__PURE__*/ _jsx(state.menuIcon, {})\n ]\n });\n};\n"],"names":["renderMenuButton_unstable","state","_icon","assertSlots","icon","iconOnly","_jsxs","root","children","_jsx","menuIcon"],"mappings":"AAAA,0BAA0B,GAAG,iDAAiD;;;;+BAI7DA;;;eAAAA;;;4BAJ2G;gCAChG;AAGjB,MAAMA,4BAA4B,CAACC;IAC1C,IAAIC;IACJC,IAAAA,2BAAW,EAACF;IACZ,MAAM,EAAEG,IAAI,EAAEC,QAAQ,EAAE,GAAGJ;IAC3B,OAAO,WAAW,GAAGK,IAAAA,gBAAK,EAACL,MAAMM,IAAI,EAAE;QACnCC,UAAU;YACNP,MAAMG,IAAI,IAAI,WAAW,GAAGK,IAAAA,eAAI,EAACR,MAAMG,IAAI,EAAE,CAAC;YAC9C,CAACC,YAAYJ,MAAMM,IAAI,CAACC,QAAQ;YAC/B,CAAA,CAACH,YAAY,CAAE,CAAA,AAACH,CAAAA,QAAQE,IAAG,MAAO,QAAQF,UAAU,KAAK,IAAI,KAAK,IAAIA,MAAMM,QAAQ,AAAD,CAAC,KAAMP,MAAMS,QAAQ,IAAI,WAAW,GAAGD,IAAAA,eAAI,EAACR,MAAMS,QAAQ,EAAE,CAAC;SACpJ;IACL;AACJ"}
1
+ {"version":3,"sources":["renderMenuButton.js"],"sourcesContent":[" import { jsx as _jsx, jsxs as _jsxs } from \"@fluentui/react-jsx-runtime/jsx-runtime\";\nimport { assertSlots } from '@fluentui/react-utilities';\n/**\n * Renders a MenuButton component by passing the state defined props to the appropriate slots.\n */ export const renderMenuButton_unstable = (state)=>{\n var _icon;\n assertSlots(state);\n const { icon, iconOnly } = state;\n return /*#__PURE__*/ _jsxs(state.root, {\n children: [\n state.icon && /*#__PURE__*/ _jsx(state.icon, {}),\n !iconOnly && state.root.children,\n (!iconOnly || !((_icon = icon) === null || _icon === void 0 ? void 0 : _icon.children)) && state.menuIcon && /*#__PURE__*/ _jsx(state.menuIcon, {})\n ]\n });\n};\n"],"names":["renderMenuButton_unstable","state","_icon","assertSlots","icon","iconOnly","_jsxs","root","children","_jsx","menuIcon"],"mappings":";;;;+BAIiBA;;;eAAAA;;;4BAJ4B;gCACjB;AAGjB,MAAMA,4BAA4B,CAACC;IAC1C,IAAIC;IACJC,IAAAA,2BAAW,EAACF;IACZ,MAAM,EAAEG,IAAI,EAAEC,QAAQ,EAAE,GAAGJ;IAC3B,OAAO,WAAW,GAAGK,IAAAA,gBAAK,EAACL,MAAMM,IAAI,EAAE;QACnCC,UAAU;YACNP,MAAMG,IAAI,IAAI,WAAW,GAAGK,IAAAA,eAAI,EAACR,MAAMG,IAAI,EAAE,CAAC;YAC9C,CAACC,YAAYJ,MAAMM,IAAI,CAACC,QAAQ;YAC/B,CAAA,CAACH,YAAY,CAAE,CAAA,AAACH,CAAAA,QAAQE,IAAG,MAAO,QAAQF,UAAU,KAAK,IAAI,KAAK,IAAIA,MAAMM,QAAQ,AAAD,CAAC,KAAMP,MAAMS,QAAQ,IAAI,WAAW,GAAGD,IAAAA,eAAI,EAACR,MAAMS,QAAQ,EAAE,CAAC;SACpJ;IACL;AACJ"}
@@ -1,4 +1,4 @@
1
- /** @jsxRuntime automatic */ /** @jsxImportSource @fluentui/react-jsx-runtime */ "use strict";
1
+ "use strict";
2
2
  Object.defineProperty(exports, "__esModule", {
3
3
  value: true
4
4
  });
@@ -1 +1 @@
1
- {"version":3,"sources":["renderSplitButton.js"],"sourcesContent":["/** @jsxRuntime automatic */ /** @jsxImportSource @fluentui/react-jsx-runtime */ import { jsx as _jsx, jsxs as _jsxs } from \"@fluentui/react-jsx-runtime/jsx-runtime\";\nimport { assertSlots } from '@fluentui/react-utilities';\n/**\n * Renders a SplitButton component by passing the state defined props to the appropriate slots.\n */ export const renderSplitButton_unstable = (state)=>{\n assertSlots(state);\n return /*#__PURE__*/ _jsxs(state.root, {\n children: [\n state.primaryActionButton && /*#__PURE__*/ _jsx(state.primaryActionButton, {}),\n state.menuButton && /*#__PURE__*/ _jsx(state.menuButton, {})\n ]\n });\n};\n"],"names":["renderSplitButton_unstable","state","assertSlots","_jsxs","root","children","primaryActionButton","_jsx","menuButton"],"mappings":"AAAA,0BAA0B,GAAG,iDAAiD;;;;+BAI7DA;;;eAAAA;;;4BAJ2G;gCAChG;AAGjB,MAAMA,6BAA6B,CAACC;IAC3CC,IAAAA,2BAAW,EAACD;IACZ,OAAO,WAAW,GAAGE,IAAAA,gBAAK,EAACF,MAAMG,IAAI,EAAE;QACnCC,UAAU;YACNJ,MAAMK,mBAAmB,IAAI,WAAW,GAAGC,IAAAA,eAAI,EAACN,MAAMK,mBAAmB,EAAE,CAAC;YAC5EL,MAAMO,UAAU,IAAI,WAAW,GAAGD,IAAAA,eAAI,EAACN,MAAMO,UAAU,EAAE,CAAC;SAC7D;IACL;AACJ"}
1
+ {"version":3,"sources":["renderSplitButton.js"],"sourcesContent":[" import { jsx as _jsx, jsxs as _jsxs } from \"@fluentui/react-jsx-runtime/jsx-runtime\";\nimport { assertSlots } from '@fluentui/react-utilities';\n/**\n * Renders a SplitButton component by passing the state defined props to the appropriate slots.\n */ export const renderSplitButton_unstable = (state)=>{\n assertSlots(state);\n return /*#__PURE__*/ _jsxs(state.root, {\n children: [\n state.primaryActionButton && /*#__PURE__*/ _jsx(state.primaryActionButton, {}),\n state.menuButton && /*#__PURE__*/ _jsx(state.menuButton, {})\n ]\n });\n};\n"],"names":["renderSplitButton_unstable","state","assertSlots","_jsxs","root","children","primaryActionButton","_jsx","menuButton"],"mappings":";;;;+BAIiBA;;;eAAAA;;;4BAJ4B;gCACjB;AAGjB,MAAMA,6BAA6B,CAACC;IAC3CC,IAAAA,2BAAW,EAACD;IACZ,OAAO,WAAW,GAAGE,IAAAA,gBAAK,EAACF,MAAMG,IAAI,EAAE;QACnCC,UAAU;YACNJ,MAAMK,mBAAmB,IAAI,WAAW,GAAGC,IAAAA,eAAI,EAACN,MAAMK,mBAAmB,EAAE,CAAC;YAC5EL,MAAMO,UAAU,IAAI,WAAW,GAAGD,IAAAA,eAAI,EAACN,MAAMO,UAAU,EAAE,CAAC;SAC7D;IACL;AACJ"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui/react-button",
3
- "version": "9.3.38",
3
+ "version": "9.3.39",
4
4
  "description": "Fluent UI React Button component.",
5
5
  "main": "lib-commonjs/index.js",
6
6
  "module": "lib/index.js",
@@ -37,7 +37,7 @@
37
37
  "@fluentui/keyboard-keys": "^9.0.4",
38
38
  "@fluentui/react-aria": "^9.3.36",
39
39
  "@fluentui/react-icons": "^2.0.207",
40
- "@fluentui/react-jsx-runtime": "^9.0.7",
40
+ "@fluentui/react-jsx-runtime": "^9.0.8",
41
41
  "@fluentui/react-shared-contexts": "^9.7.3",
42
42
  "@fluentui/react-tabster": "^9.12.9",
43
43
  "@fluentui/react-theme": "^9.1.12",