@fluentui/react-button 0.20.2 → 0.20.3

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": "Wed, 30 Mar 2022 12:23:45 GMT",
5
+ "date": "Thu, 19 May 2022 12:26:46 GMT",
6
+ "tag": "@fluentui/react-button_v0.20.3",
7
+ "version": "0.20.3",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "comment": "Update React compatibility to support React <18.0.0",
12
+ "author": "tmichon@microsoft.com",
13
+ "commit": "cfafa8b0de5d3d83307a2c091b9cf4a4d1909f2a",
14
+ "package": "@fluentui/react-button"
15
+ }
16
+ ]
17
+ }
18
+ },
19
+ {
20
+ "date": "Wed, 30 Mar 2022 12:25:54 GMT",
6
21
  "tag": "@fluentui/react-button_v0.20.2",
7
22
  "version": "0.20.2",
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 Wed, 30 Mar 2022 12:23:45 GMT and should not be manually modified.
3
+ This log was last generated on Thu, 19 May 2022 12:26:46 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [0.20.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-button_v0.20.3)
8
+
9
+ Thu, 19 May 2022 12:26:46 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-button_v0.20.2..@fluentui/react-button_v0.20.3)
11
+
12
+ ### Patches
13
+
14
+ - Update React compatibility to support React <18.0.0 ([PR #22921](https://github.com/microsoft/fluentui/pull/22921) by tmichon@microsoft.com)
15
+
7
16
  ## [0.20.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-button_v0.20.2)
8
17
 
9
- Wed, 30 Mar 2022 12:23:45 GMT
18
+ Wed, 30 Mar 2022 12:25:54 GMT
10
19
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-button_v0.20.1..@fluentui/react-button_v0.20.2)
11
20
 
12
21
  ### Patches
package/dist/demo-app.js CHANGED
@@ -932,7 +932,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar ts
932
932
  /***/ (function(module, exports, __webpack_require__) {
933
933
 
934
934
  "use strict";
935
- eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// Do not modify this file; it is generated as part of publish.\n// The checked in version is a placeholder only and will not be updated.\nvar set_version_1 = __webpack_require__(/*! @uifabric/set-version */ \"../set-version/src/index.ts\");\nset_version_1.setVersion('@uifabric/react-hooks', '7.14.0');\n\n\n//# sourceURL=webpack:///../react-hooks/src/version.ts?");
935
+ eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// Do not modify this file; it is generated as part of publish.\n// The checked in version is a placeholder only and will not be updated.\nvar set_version_1 = __webpack_require__(/*! @uifabric/set-version */ \"../set-version/src/index.ts\");\nset_version_1.setVersion('@uifabric/react-hooks', '7.14.1');\n\n\n//# sourceURL=webpack:///../react-hooks/src/version.ts?");
936
936
 
937
937
  /***/ }),
938
938
 
@@ -24799,7 +24799,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar ts
24799
24799
  /***/ (function(module, exports, __webpack_require__) {
24800
24800
 
24801
24801
  "use strict";
24802
- eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// Do not modify this file; it is generated as part of publish.\n// The checked in version is a placeholder only and will not be updated.\nvar set_version_1 = __webpack_require__(/*! @uifabric/set-version */ \"../set-version/src/index.ts\");\nset_version_1.setVersion('@fluentui/react-icons', '0.4.2');\n\n\n//# sourceURL=webpack:///../react-icons/src/version.ts?");
24802
+ eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// Do not modify this file; it is generated as part of publish.\n// The checked in version is a placeholder only and will not be updated.\nvar set_version_1 = __webpack_require__(/*! @uifabric/set-version */ \"../set-version/src/index.ts\");\nset_version_1.setVersion('@fluentui/react-icons', '0.4.3');\n\n\n//# sourceURL=webpack:///../react-icons/src/version.ts?");
24803
24803
 
24804
24804
  /***/ }),
24805
24805
 
@@ -25207,7 +25207,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar th
25207
25207
  /***/ (function(module, exports, __webpack_require__) {
25208
25208
 
25209
25209
  "use strict";
25210
- eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// Do not modify this file; it is generated as part of publish.\n// The checked in version is a placeholder only and will not be updated.\nvar set_version_1 = __webpack_require__(/*! @uifabric/set-version */ \"../set-version/src/index.ts\");\nset_version_1.setVersion('@fluentui/react-theme-provider', '0.19.1');\n\n\n//# sourceURL=webpack:///../react-theme-provider/src/version.ts?");
25210
+ eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// Do not modify this file; it is generated as part of publish.\n// The checked in version is a placeholder only and will not be updated.\nvar set_version_1 = __webpack_require__(/*! @uifabric/set-version */ \"../set-version/src/index.ts\");\nset_version_1.setVersion('@fluentui/react-theme-provider', '0.19.2');\n\n\n//# sourceURL=webpack:///../react-theme-provider/src/version.ts?");
25211
25211
 
25212
25212
  /***/ }),
25213
25213
 
@@ -25639,7 +25639,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar bu
25639
25639
  /***/ (function(module, exports, __webpack_require__) {
25640
25640
 
25641
25641
  "use strict";
25642
- eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// Do not modify this file; it is generated as part of publish.\n// The checked in version is a placeholder only and will not be updated.\nvar set_version_1 = __webpack_require__(/*! @uifabric/set-version */ \"../set-version/src/index.ts\");\nset_version_1.setVersion('@uifabric/styling', '7.20.0');\n\n\n//# sourceURL=webpack:///../styling/src/version.ts?");
25642
+ eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// Do not modify this file; it is generated as part of publish.\n// The checked in version is a placeholder only and will not be updated.\nvar set_version_1 = __webpack_require__(/*! @uifabric/set-version */ \"../set-version/src/index.ts\");\nset_version_1.setVersion('@uifabric/styling', '7.20.1');\n\n\n//# sourceURL=webpack:///../styling/src/version.ts?");
25643
25643
 
25644
25644
  /***/ }),
25645
25645
 
@@ -27151,7 +27151,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar Re
27151
27151
  /***/ (function(module, exports, __webpack_require__) {
27152
27152
 
27153
27153
  "use strict";
27154
- eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// Do not modify this file; it is generated as part of publish.\n// The checked in version is a placeholder only and will not be updated.\nvar set_version_1 = __webpack_require__(/*! @uifabric/set-version */ \"../set-version/src/index.ts\");\nset_version_1.setVersion('@uifabric/utilities', '7.33.5');\n\n\n//# sourceURL=webpack:///../utilities/src/version.ts?");
27154
+ eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// Do not modify this file; it is generated as part of publish.\n// The checked in version is a placeholder only and will not be updated.\nvar set_version_1 = __webpack_require__(/*! @uifabric/set-version */ \"../set-version/src/index.ts\");\nset_version_1.setVersion('@uifabric/utilities', '7.34.0');\n\n\n//# sourceURL=webpack:///../utilities/src/version.ts?");
27155
27155
 
27156
27156
  /***/ }),
27157
27157
 
@@ -27715,7 +27715,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar ts
27715
27715
  /***/ (function(module, exports, __webpack_require__) {
27716
27716
 
27717
27717
  "use strict";
27718
- eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// Do not modify this file; it is generated as part of publish.\n// The checked in version is a placeholder only and will not be updated.\nvar set_version_1 = __webpack_require__(/*! @uifabric/set-version */ \"../set-version/src/index.ts\");\nset_version_1.setVersion('@fluentui/react-button', '0.20.1');\n\n\n//# sourceURL=webpack:///./src/version.ts?");
27718
+ eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// Do not modify this file; it is generated as part of publish.\n// The checked in version is a placeholder only and will not be updated.\nvar set_version_1 = __webpack_require__(/*! @uifabric/set-version */ \"../set-version/src/index.ts\");\nset_version_1.setVersion('@fluentui/react-button', '0.20.2');\n\n\n//# sourceURL=webpack:///./src/version.ts?");
27719
27719
 
27720
27720
  /***/ }),
27721
27721
 
@@ -71,4 +71,4 @@
71
71
  }</script><style>#root[hidden],
72
72
  #docs-root[hidden] {
73
73
  display: none !important;
74
- }</style></head><body><div class="sb-nopreview sb-wrapper"><div class="sb-nopreview_main"><h1 class="sb-nopreview_heading sb-heading">No Preview</h1><p>Sorry, but you either have no stories or none are selected somehow.</p><ul><li>Please check the Storybook config.</li><li>Try reloading the page.</li></ul><p>If the problem persists, check the browser console, or the terminal you've run Storybook from.</p></div></div><div class="sb-errordisplay sb-wrapper"><pre id="error-message" class="sb-heading"></pre><pre class="sb-errordisplay_code"><code id="error-stack"></code></pre></div><div id="root"></div><div id="docs-root"></div><script src="runtime~main.6d4ff50b2d1a618817d2.bundle.js"></script><script src="vendors~main.6d4ff50b2d1a618817d2.bundle.js"></script><script src="main.6d4ff50b2d1a618817d2.bundle.js"></script></body></html>
74
+ }</style></head><body><div class="sb-nopreview sb-wrapper"><div class="sb-nopreview_main"><h1 class="sb-nopreview_heading sb-heading">No Preview</h1><p>Sorry, but you either have no stories or none are selected somehow.</p><ul><li>Please check the Storybook config.</li><li>Try reloading the page.</li></ul><p>If the problem persists, check the browser console, or the terminal you've run Storybook from.</p></div></div><div class="sb-errordisplay sb-wrapper"><pre id="error-message" class="sb-heading"></pre><pre class="sb-errordisplay_code"><code id="error-stack"></code></pre></div><div id="root"></div><div id="docs-root"></div><script src="runtime~main.87dadd1789d336577e59.bundle.js"></script><script src="vendors~main.87dadd1789d336577e59.bundle.js"></script><script src="main.87dadd1789d336577e59.bundle.js"></script></body></html>
@@ -3345,7 +3345,7 @@ exports.getStyles = Utilities_1.memoizeFunction(function (theme) {
3345
3345
  borderRadius: effects.roundedCorner2,
3346
3346
  selectors: {
3347
3347
  // IE11 workaround for preventing shift of child elements of a button when active.
3348
- ':active > *': {
3348
+ ':active > span': {
3349
3349
  position: 'relative',
3350
3350
  left: 0,
3351
3351
  top: 0,
@@ -3816,7 +3816,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3816
3816
  // Do not modify this file; it is generated as part of publish.
3817
3817
  // The checked in version is a placeholder only and will not be updated.
3818
3818
  var set_version_1 = __webpack_require__(57);
3819
- set_version_1.setVersion('office-ui-fabric-react', '7.184.0');
3819
+ set_version_1.setVersion('office-ui-fabric-react', '7.185.5');
3820
3820
 
3821
3821
 
3822
3822
  /***/ }),
@@ -7518,16 +7518,8 @@ var Styling_1 = __webpack_require__(4);
7518
7518
  var Utilities_1 = __webpack_require__(3);
7519
7519
  exports.CONTEXTUAL_MENU_ITEM_HEIGHT = 36;
7520
7520
  var MediumScreenSelector = Styling_1.getScreenSelector(0, Styling_1.ScreenWidthMaxMedium);
7521
- var getItemHighContrastStyles = Utilities_1.memoizeFunction(function () {
7522
- var _a;
7523
- return {
7524
- selectors: (_a = {},
7525
- _a[Styling_1.HighContrastSelector] = tslib_1.__assign({ backgroundColor: 'Highlight', borderColor: 'Highlight', color: 'HighlightText' }, Styling_1.getHighContrastNoAdjustStyle()),
7526
- _a),
7527
- };
7528
- });
7529
7521
  exports.getMenuItemStyles = Utilities_1.memoizeFunction(function (theme) {
7530
- var _a, _b, _c, _d, _e, _f, _g;
7522
+ var _a, _b, _c, _d, _e;
7531
7523
  var semanticColors = theme.semanticColors, fonts = theme.fonts, palette = theme.palette;
7532
7524
  var ContextualMenuItemBackgroundHoverColor = semanticColors.menuItemBackgroundHovered;
7533
7525
  var ContextualMenuItemTextHoverColor = semanticColors.menuItemTextHovered;
@@ -7569,32 +7561,58 @@ exports.getMenuItemStyles = Utilities_1.memoizeFunction(function (theme) {
7569
7561
  cursor: 'default',
7570
7562
  pointerEvents: 'none',
7571
7563
  selectors: (_a = {},
7572
- _a[Styling_1.HighContrastSelector] = tslib_1.__assign({ color: 'GrayText', opacity: 1 }, Styling_1.getHighContrastNoAdjustStyle()),
7564
+ _a[Styling_1.HighContrastSelector] = tslib_1.__assign({
7565
+ // ensure disabled text looks different than enabled
7566
+ color: 'GrayText', opacity: 1 }, Styling_1.getHighContrastNoAdjustStyle()),
7573
7567
  _a),
7574
7568
  },
7575
- rootHovered: tslib_1.__assign({ backgroundColor: ContextualMenuItemBackgroundHoverColor, color: ContextualMenuItemTextHoverColor, selectors: {
7569
+ rootHovered: {
7570
+ backgroundColor: ContextualMenuItemBackgroundHoverColor,
7571
+ color: ContextualMenuItemTextHoverColor,
7572
+ selectors: {
7576
7573
  '.ms-ContextualMenu-icon': {
7577
7574
  color: palette.themeDarkAlt,
7578
7575
  },
7579
7576
  '.ms-ContextualMenu-submenuIcon': {
7580
7577
  color: palette.neutralPrimary,
7581
7578
  },
7582
- } }, getItemHighContrastStyles()),
7583
- rootFocused: tslib_1.__assign({ backgroundColor: palette.white }, getItemHighContrastStyles()),
7584
- rootChecked: tslib_1.__assign({ selectors: {
7579
+ },
7580
+ },
7581
+ rootFocused: {
7582
+ backgroundColor: palette.white,
7583
+ },
7584
+ rootChecked: {
7585
+ selectors: {
7585
7586
  '.ms-ContextualMenu-checkmarkIcon': {
7586
7587
  color: palette.neutralPrimary,
7587
7588
  },
7588
- } }, getItemHighContrastStyles()),
7589
- rootPressed: tslib_1.__assign({ backgroundColor: ContextualMenuItemBackgroundSelectedColor, selectors: {
7589
+ },
7590
+ },
7591
+ rootPressed: {
7592
+ backgroundColor: ContextualMenuItemBackgroundSelectedColor,
7593
+ selectors: {
7590
7594
  '.ms-ContextualMenu-icon': {
7591
7595
  color: palette.themeDark,
7592
7596
  },
7593
7597
  '.ms-ContextualMenu-submenuIcon': {
7594
7598
  color: palette.neutralPrimary,
7595
7599
  },
7596
- } }, getItemHighContrastStyles()),
7597
- rootExpanded: tslib_1.__assign({ backgroundColor: ContextualMenuItemBackgroundSelectedColor, color: semanticColors.bodyTextChecked }, getItemHighContrastStyles()),
7600
+ },
7601
+ },
7602
+ rootExpanded: {
7603
+ backgroundColor: ContextualMenuItemBackgroundSelectedColor,
7604
+ color: semanticColors.bodyTextChecked,
7605
+ selectors: (_b = {
7606
+ '.ms-ContextualMenu-submenuIcon': (_c = {},
7607
+ _c[Styling_1.HighContrastSelector] = {
7608
+ // icons inside of anchor tags are not properly inheriting color in high contrast
7609
+ color: 'inherit',
7610
+ },
7611
+ _c)
7612
+ },
7613
+ _b[Styling_1.HighContrastSelector] = tslib_1.__assign({}, Styling_1.getHighContrastNoAdjustStyle()),
7614
+ _b),
7615
+ },
7598
7616
  linkContent: {
7599
7617
  whiteSpace: 'nowrap',
7600
7618
  height: 'inherit',
@@ -7637,45 +7655,21 @@ exports.getMenuItemStyles = Utilities_1.memoizeFunction(function (theme) {
7637
7655
  margin: '0 4px',
7638
7656
  verticalAlign: 'middle',
7639
7657
  flexShrink: '0',
7640
- selectors: (_b = {},
7641
- _b[MediumScreenSelector] = {
7658
+ selectors: (_d = {},
7659
+ _d[MediumScreenSelector] = {
7642
7660
  fontSize: Styling_1.IconFontSizes.large,
7643
7661
  width: Styling_1.IconFontSizes.large,
7644
7662
  },
7645
- _b),
7663
+ _d),
7646
7664
  },
7647
7665
  iconColor: {
7648
7666
  color: semanticColors.menuIcon,
7649
- selectors: (_c = {},
7650
- _c[Styling_1.HighContrastSelector] = {
7651
- color: 'inherit',
7652
- },
7653
- _c['$root:hover &'] = {
7654
- selectors: (_d = {},
7655
- _d[Styling_1.HighContrastSelector] = {
7656
- color: 'HighlightText',
7657
- },
7658
- _d),
7659
- },
7660
- _c['$root:focus &'] = {
7661
- selectors: (_e = {},
7662
- _e[Styling_1.HighContrastSelector] = {
7663
- color: 'HighlightText',
7664
- },
7665
- _e),
7666
- },
7667
- _c),
7668
7667
  },
7669
7668
  iconDisabled: {
7670
7669
  color: semanticColors.disabledBodyText,
7671
7670
  },
7672
7671
  checkmarkIcon: {
7673
7672
  color: semanticColors.bodySubtext,
7674
- selectors: (_f = {},
7675
- _f[Styling_1.HighContrastSelector] = {
7676
- color: 'HighlightText',
7677
- },
7678
- _f),
7679
7673
  },
7680
7674
  subMenuIcon: {
7681
7675
  height: exports.CONTEXTUAL_MENU_ITEM_HEIGHT,
@@ -7686,7 +7680,7 @@ exports.getMenuItemStyles = Utilities_1.memoizeFunction(function (theme) {
7686
7680
  verticalAlign: 'middle',
7687
7681
  flexShrink: '0',
7688
7682
  fontSize: Styling_1.IconFontSizes.small,
7689
- selectors: (_g = {
7683
+ selectors: (_e = {
7690
7684
  ':hover': {
7691
7685
  color: palette.neutralPrimary,
7692
7686
  },
@@ -7694,13 +7688,10 @@ exports.getMenuItemStyles = Utilities_1.memoizeFunction(function (theme) {
7694
7688
  color: palette.neutralPrimary,
7695
7689
  }
7696
7690
  },
7697
- _g[MediumScreenSelector] = {
7691
+ _e[MediumScreenSelector] = {
7698
7692
  fontSize: Styling_1.IconFontSizes.medium,
7699
7693
  },
7700
- _g[Styling_1.HighContrastSelector] = {
7701
- color: 'HighlightText',
7702
- },
7703
- _g),
7694
+ _e),
7704
7695
  },
7705
7696
  splitButtonFlexContainer: [
7706
7697
  Styling_1.getFocusStyle(theme),
@@ -14810,9 +14801,12 @@ var fabric_icons_15_1 = __webpack_require__(2348);
14810
14801
  var fabric_icons_16_1 = __webpack_require__(2349);
14811
14802
  var fabric_icons_17_1 = __webpack_require__(2350);
14812
14803
  var iconAliases_1 = __webpack_require__(2351);
14804
+ var utilities_1 = __webpack_require__(11);
14813
14805
  var DEFAULT_BASE_URL = 'https://spoppe-b.azureedge.net/files/fabric-cdn-prod_20210407.001/assets/icons/';
14806
+ var win = utilities_1.getWindow();
14814
14807
  function initializeIcons(baseUrl, options) {
14815
- if (baseUrl === void 0) { baseUrl = DEFAULT_BASE_URL; }
14808
+ if (baseUrl === void 0) { baseUrl = (_c = (_b = (_a = win) === null || _a === void 0 ? void 0 : _a.FabricConfig) === null || _b === void 0 ? void 0 : _b.fontBaseUrl, (_c !== null && _c !== void 0 ? _c : DEFAULT_BASE_URL)); }
14809
+ var _a, _b, _c;
14816
14810
  [
14817
14811
  fabric_icons_1.initializeIcons,
14818
14812
  fabric_icons_0_1.initializeIcons,
@@ -23885,7 +23879,6 @@ var TooltipHostBase = /** @class */ (function (_super) {
23885
23879
  _this._clearDismissTimer();
23886
23880
  _this._clearOpenTimer();
23887
23881
  if (delay !== Tooltip_types_1.TooltipDelay.zero) {
23888
- _this.setState({ isAriaPlaceholderRendered: true });
23889
23882
  var delayTime = _this._getDelayTime(delay); // non-null assertion because we set it in `defaultProps`
23890
23883
  _this._openTimerId = _this._async.setTimeout(function () {
23891
23884
  _this._toggleTooltip(true);
@@ -23932,7 +23925,7 @@ var TooltipHostBase = /** @class */ (function (_super) {
23932
23925
  };
23933
23926
  _this._toggleTooltip = function (isTooltipVisible) {
23934
23927
  if (_this.state.isTooltipVisible !== isTooltipVisible) {
23935
- _this.setState({ isAriaPlaceholderRendered: false, isTooltipVisible: isTooltipVisible }, function () { return _this.props.onTooltipToggle && _this.props.onTooltipToggle(isTooltipVisible); });
23928
+ _this.setState({ isTooltipVisible: isTooltipVisible }, function () { return _this.props.onTooltipToggle && _this.props.onTooltipToggle(isTooltipVisible); });
23936
23929
  }
23937
23930
  };
23938
23931
  _this._getDelayTime = function (delay) {
@@ -23960,7 +23953,7 @@ var TooltipHostBase = /** @class */ (function (_super) {
23960
23953
  theme: theme,
23961
23954
  className: className,
23962
23955
  });
23963
- var _c = this.state, isAriaPlaceholderRendered = _c.isAriaPlaceholderRendered, isTooltipVisible = _c.isTooltipVisible;
23956
+ var isTooltipVisible = this.state.isTooltipVisible;
23964
23957
  var tooltipId = id || this._defaultTooltipId;
23965
23958
  var isContentPresent = !!(content ||
23966
23959
  (tooltipProps && tooltipProps.onRenderContent && tooltipProps.onRenderContent()));
@@ -23968,12 +23961,12 @@ var TooltipHostBase = /** @class */ (function (_super) {
23968
23961
  var ariaDescribedBy = setAriaDescribedBy && isTooltipVisible && isContentPresent ? tooltipId : undefined;
23969
23962
  return (React.createElement("div", tslib_1.__assign({ className: this._classNames.root, ref: this._tooltipHost }, { onFocusCapture: this._onTooltipMouseEnter }, { onBlurCapture: this._hideTooltip }, { onMouseEnter: this._onTooltipMouseEnter, onMouseLeave: this._onTooltipMouseLeave, onKeyDown: this._onTooltipKeyDown, "aria-describedby": ariaDescribedBy }),
23970
23963
  children,
23971
- showTooltip && (React.createElement(Tooltip_1.Tooltip, tslib_1.__assign({ id: tooltipId, content: content, targetElement: this._getTargetElement(), directionalHint: directionalHint, directionalHintForRTL: directionalHintForRTL, calloutProps: Utilities_1.assign({}, calloutProps, {
23964
+ showTooltip && (React.createElement(Tooltip_1.Tooltip, tslib_1.__assign({ id: tooltipId + "--tooltip", content: content, targetElement: this._getTargetElement(), directionalHint: directionalHint, directionalHintForRTL: directionalHintForRTL, calloutProps: Utilities_1.assign({}, calloutProps, {
23972
23965
  onDismiss: this._hideTooltip,
23973
23966
  onMouseEnter: this._onTooltipMouseEnter,
23974
23967
  onMouseLeave: this._onTooltipMouseLeave,
23975
- }), onMouseEnter: this._onTooltipMouseEnter, onMouseLeave: this._onTooltipMouseLeave }, Utilities_1.getNativeProps(this.props, Utilities_1.divProperties), tooltipProps))),
23976
- isAriaPlaceholderRendered && (React.createElement("div", { id: tooltipId, style: Styling_1.hiddenContentStyle }, content))));
23968
+ }), onMouseEnter: this._onTooltipMouseEnter, onMouseLeave: this._onTooltipMouseLeave }, Utilities_1.getNativeProps(this.props, Utilities_1.divProperties, ['id']), tooltipProps))),
23969
+ React.createElement("div", { hidden: true, id: tooltipId, style: Styling_1.hiddenContentStyle }, content)));
23977
23970
  };
23978
23971
  TooltipHostBase.prototype.componentWillUnmount = function () {
23979
23972
  if (TooltipHostBase._currentVisibleTooltip && TooltipHostBase._currentVisibleTooltip === this) {
@@ -49983,7 +49976,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
49983
49976
  // Do not modify this file; it is generated as part of publish.
49984
49977
  // The checked in version is a placeholder only and will not be updated.
49985
49978
  var set_version_1 = __webpack_require__(57);
49986
- set_version_1.setVersion('@uifabric/utilities', '7.33.5');
49979
+ set_version_1.setVersion('@uifabric/utilities', '7.34.0');
49987
49980
 
49988
49981
 
49989
49982
  /***/ }),
@@ -51660,7 +51653,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
51660
51653
  // Do not modify this file; it is generated as part of publish.
51661
51654
  // The checked in version is a placeholder only and will not be updated.
51662
51655
  var set_version_1 = __webpack_require__(57);
51663
- set_version_1.setVersion('@uifabric/styling', '7.20.0');
51656
+ set_version_1.setVersion('@uifabric/styling', '7.20.1');
51664
51657
 
51665
51658
 
51666
51659
  /***/ }),
@@ -51994,7 +51987,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
51994
51987
  // Do not modify this file; it is generated as part of publish.
51995
51988
  // The checked in version is a placeholder only and will not be updated.
51996
51989
  var set_version_1 = __webpack_require__(57);
51997
- set_version_1.setVersion('@uifabric/react-hooks', '7.14.0');
51990
+ set_version_1.setVersion('@uifabric/react-hooks', '7.14.1');
51998
51991
 
51999
51992
 
52000
51993
  /***/ }),
@@ -52901,7 +52894,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
52901
52894
  // Do not modify this file; it is generated as part of publish.
52902
52895
  // The checked in version is a placeholder only and will not be updated.
52903
52896
  var set_version_1 = __webpack_require__(57);
52904
- set_version_1.setVersion('@fluentui/react-focus', '7.18.2');
52897
+ set_version_1.setVersion('@fluentui/react-focus', '7.18.3');
52905
52898
 
52906
52899
 
52907
52900
  /***/ }),
@@ -55412,7 +55405,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
55412
55405
  // Do not modify this file; it is generated as part of publish.
55413
55406
  // The checked in version is a placeholder only and will not be updated.
55414
55407
  var set_version_1 = __webpack_require__(57);
55415
- set_version_1.setVersion('@fluentui/react-theme-provider', '0.19.1');
55408
+ set_version_1.setVersion('@fluentui/react-theme-provider', '0.19.2');
55416
55409
 
55417
55410
 
55418
55411
  /***/ }),
@@ -62972,7 +62965,7 @@ var CalendarDay = /** @class */ (function (_super) {
62972
62965
  _a[styles.daySelection] = dateRangeType === DateValues_1.DateRangeType.Day,
62973
62966
  _a[styles.weekSelection] = dateRangeType === DateValues_1.DateRangeType.Week || dateRangeType === DateValues_1.DateRangeType.WorkWeek,
62974
62967
  _a[styles.monthSelection] = dateRangeType === DateValues_1.DateRangeType.Month,
62975
- _a)), ref: function (element) { return _this._setDayCellRef(element, day, isNavigatedDate); }, onMouseOver: dateRangeType !== DateValues_1.DateRangeType.Day && day.isInBounds
62968
+ _a)), ref: function (element) { return _this._setDayCellRef(element, day, isNavigatedDate); }, onKeyDown: _this._onDayKeyDown(day.originalDate, weekIndex, dayIndex), onMouseOver: dateRangeType !== DateValues_1.DateRangeType.Day && day.isInBounds
62976
62969
  ? _this._onDayMouseOver(day.originalDate, weekIndex, dayIndex, dateRangeType)
62977
62970
  : undefined, onMouseLeave: dateRangeType !== DateValues_1.DateRangeType.Day && day.isInBounds
62978
62971
  ? _this._onDayMouseLeave(day.originalDate, weekIndex, dayIndex, dateRangeType)
@@ -62980,11 +62973,11 @@ var CalendarDay = /** @class */ (function (_super) {
62980
62973
  ? _this._onDayMouseDown(day.originalDate, weekIndex, dayIndex, dateRangeType)
62981
62974
  : undefined, onMouseUp: dateRangeType !== DateValues_1.DateRangeType.Day && day.isInBounds
62982
62975
  ? _this._onDayMouseUp(day.originalDate, weekIndex, dayIndex, dateRangeType)
62983
- : undefined, role: 'presentation' },
62976
+ : undefined, role: 'gridcell', "data-is-focusable": allFocusable || (day.isInBounds ? true : undefined), "aria-disabled": !day.isInBounds, "aria-current": day.isToday ? 'date' : undefined, "aria-selected": day.isInBounds ? day.isSelected : undefined },
62984
62977
  React.createElement("button", { key: day.key + 'button', onClick: day.isInBounds ? day.onSelected : undefined, className: Utilities_1.css(styles.day, 'ms-DatePicker-day-button', (_b = {},
62985
62978
  _b['ms-DatePicker-day--disabled ' + styles.dayIsDisabled] = !day.isInBounds,
62986
62979
  _b['ms-DatePicker-day--today ' + styles.dayIsToday] = day.isToday,
62987
- _b)), onKeyDown: _this._onDayKeyDown(day.originalDate, weekIndex, dayIndex), "aria-label": dateTimeFormatter.formatMonthDayYear(day.originalDate, strings), id: isNavigatedDate ? activeDescendantId : undefined, "aria-readonly": true, "aria-current": day.isToday ? 'date' : undefined, "aria-selected": day.isInBounds ? day.isSelected : undefined, "data-is-focusable": allFocusable || (day.isInBounds ? true : undefined), ref: function (element) { return _this._setDayRef(element, day, isNavigatedDate); }, disabled: !allFocusable && !day.isInBounds, "aria-disabled": !day.isInBounds, type: "button", role: 'gridcell' },
62980
+ _b)), "aria-label": dateTimeFormatter.formatMonthDayYear(day.originalDate, strings), id: isNavigatedDate ? activeDescendantId : undefined, "data-is-focusable": false, disabled: !allFocusable && !day.isInBounds, "aria-disabled": !day.isInBounds, tabIndex: -1, type: "button" },
62988
62981
  React.createElement("span", { "aria-hidden": "true" }, dateTimeFormatter.formatDay(day.originalDate)))));
62989
62982
  })));
62990
62983
  }))))));
@@ -62995,14 +62988,12 @@ var CalendarDay = /** @class */ (function (_super) {
62995
62988
  this.navigatedDay.focus();
62996
62989
  }
62997
62990
  };
62998
- CalendarDay.prototype._setDayRef = function (element, day, isNavigatedDate) {
62991
+ CalendarDay.prototype._setDayCellRef = function (element, day, isNavigatedDate) {
62992
+ this.days[day.key] = element;
62999
62993
  if (isNavigatedDate) {
63000
62994
  this.navigatedDay = element;
63001
62995
  }
63002
62996
  };
63003
- CalendarDay.prototype._setDayCellRef = function (element, day, isNavigatedDate) {
63004
- this.days[day.key] = element;
63005
- };
63006
62997
  CalendarDay.prototype._getWeekCornerStyles = function (weeks, dateRangeType) {
63007
62998
  var _this = this;
63008
62999
  var weekCornersStyled = {};
@@ -74090,7 +74081,7 @@ var GlobalClassNames = {
74090
74081
  };
74091
74082
  var REMOVE_BUTTON_SIZE = 24;
74092
74083
  function getStyles(props) {
74093
- var _a, _b, _c, _d, _e, _f, _g;
74084
+ var _a, _b, _c, _d, _e, _f, _g, _h;
74094
74085
  var className = props.className, theme = props.theme, selected = props.selected, invalid = props.invalid, disabled = props.disabled;
74095
74086
  var palette = theme.palette, semanticColors = theme.semanticColors, fonts = theme.fonts;
74096
74087
  var classNames = Styling_1.getGlobalClassNames(GlobalClassNames, theme);
@@ -74133,6 +74124,22 @@ function getStyles(props) {
74133
74124
  _c),
74134
74125
  },
74135
74126
  ];
74127
+ var personaSecondaryTextStyles = [
74128
+ selected &&
74129
+ !invalid &&
74130
+ !disabled && {
74131
+ color: palette.white,
74132
+ selectors: (_d = {
74133
+ ':hover': {
74134
+ color: palette.white,
74135
+ }
74136
+ },
74137
+ _d[Styling_1.HighContrastSelector] = {
74138
+ color: 'HighlightText',
74139
+ },
74140
+ _d),
74141
+ },
74142
+ ];
74136
74143
  var personaCoinInitialsStyles = [
74137
74144
  invalid && {
74138
74145
  fontSize: fonts.xLarge.fontSize,
@@ -74153,22 +74160,22 @@ function getStyles(props) {
74153
74160
  maxWidth: 300,
74154
74161
  verticalAlign: 'middle',
74155
74162
  minWidth: 0,
74156
- selectors: (_d = {
74163
+ selectors: (_e = {
74157
74164
  ':hover': {
74158
74165
  background: !selected && !disabled ? palette.neutralLight : '',
74159
74166
  }
74160
74167
  },
74161
- _d[Styling_1.HighContrastSelector] = [{ border: '1px solid WindowText' }, disabled && { borderColor: 'GrayText' }],
74162
- _d),
74168
+ _e[Styling_1.HighContrastSelector] = [{ border: '1px solid WindowText' }, disabled && { borderColor: 'GrayText' }],
74169
+ _e),
74163
74170
  },
74164
74171
  selected &&
74165
74172
  !disabled && [
74166
74173
  classNames.isSelected,
74167
74174
  {
74168
74175
  background: palette.themePrimary,
74169
- selectors: (_e = {},
74170
- _e[Styling_1.HighContrastSelector] = tslib_1.__assign({ borderColor: 'HighLight', background: 'Highlight' }, Styling_1.getHighContrastNoAdjustStyle()),
74171
- _e),
74176
+ selectors: (_f = {},
74177
+ _f[Styling_1.HighContrastSelector] = tslib_1.__assign({ borderColor: 'HighLight', background: 'Highlight' }, Styling_1.getHighContrastNoAdjustStyle()),
74178
+ _f),
74172
74179
  },
74173
74180
  ],
74174
74181
  invalid && [classNames.isInvalid],
@@ -74208,7 +74215,7 @@ function getStyles(props) {
74208
74215
  selected && [
74209
74216
  {
74210
74217
  color: palette.white,
74211
- selectors: (_f = {
74218
+ selectors: (_g = {
74212
74219
  ':hover': {
74213
74220
  color: palette.white,
74214
74221
  background: palette.themeDark,
@@ -74218,10 +74225,10 @@ function getStyles(props) {
74218
74225
  background: palette.themeDarker,
74219
74226
  }
74220
74227
  },
74221
- _f[Styling_1.HighContrastSelector] = {
74228
+ _g[Styling_1.HighContrastSelector] = {
74222
74229
  color: 'HighlightText',
74223
74230
  },
74224
- _f),
74231
+ _g),
74225
74232
  },
74226
74233
  invalid && {
74227
74234
  selectors: {
@@ -74235,16 +74242,17 @@ function getStyles(props) {
74235
74242
  },
74236
74243
  ],
74237
74244
  disabled && {
74238
- selectors: (_g = {},
74239
- _g["." + BaseButton_classNames_1.ButtonGlobalClassNames.msButtonIcon] = {
74245
+ selectors: (_h = {},
74246
+ _h["." + BaseButton_classNames_1.ButtonGlobalClassNames.msButtonIcon] = {
74240
74247
  color: semanticColors.buttonText,
74241
74248
  },
74242
- _g),
74249
+ _h),
74243
74250
  },
74244
74251
  ],
74245
74252
  subComponentStyles: {
74246
74253
  persona: {
74247
74254
  primaryText: personaPrimaryTextStyles,
74255
+ secondaryText: personaSecondaryTextStyles,
74248
74256
  },
74249
74257
  personaCoin: {
74250
74258
  initials: personaCoinInitialsStyles,
@@ -79216,7 +79224,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
79216
79224
  // Do not modify this file; it is generated as part of publish.
79217
79225
  // The checked in version is a placeholder only and will not be updated.
79218
79226
  var set_version_1 = __webpack_require__(57);
79219
- set_version_1.setVersion('@uifabric/icons', '7.6.2');
79227
+ set_version_1.setVersion('@uifabric/icons', '7.7.0');
79220
79228
 
79221
79229
 
79222
79230
  /***/ }),
@@ -83181,7 +83189,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
83181
83189
  // Do not modify this file; it is generated as part of publish.
83182
83190
  // The checked in version is a placeholder only and will not be updated.
83183
83191
  var set_version_1 = __webpack_require__(57);
83184
- set_version_1.setVersion('@uifabric/foundation', '7.10.1');
83192
+ set_version_1.setVersion('@uifabric/foundation', '7.10.2');
83185
83193
 
83186
83194
 
83187
83195
  /***/ }),
@@ -85014,7 +85022,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
85014
85022
  // Do not modify this file; it is generated as part of publish.
85015
85023
  // The checked in version is a placeholder only and will not be updated.
85016
85024
  var set_version_1 = __webpack_require__(57);
85017
- set_version_1.setVersion('@uifabric/variants', '7.2.35');
85025
+ set_version_1.setVersion('@uifabric/variants', '7.2.36');
85018
85026
 
85019
85027
 
85020
85028
  /***/ }),
@@ -86923,7 +86931,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
86923
86931
  // Do not modify this file; it is generated as part of publish.
86924
86932
  // The checked in version is a placeholder only and will not be updated.
86925
86933
  var set_version_1 = __webpack_require__(57);
86926
- set_version_1.setVersion('@fluentui/react-button', '0.20.1');
86934
+ set_version_1.setVersion('@fluentui/react-button', '0.20.2');
86927
86935
 
86928
86936
 
86929
86937
  /***/ }),
@@ -87097,7 +87105,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
87097
87105
  // Do not modify this file; it is generated as part of publish.
87098
87106
  // The checked in version is a placeholder only and will not be updated.
87099
87107
  var set_version_1 = __webpack_require__(57);
87100
- set_version_1.setVersion('@fluentui/react-icons', '0.4.2');
87108
+ set_version_1.setVersion('@fluentui/react-icons', '0.4.3');
87101
87109
 
87102
87110
 
87103
87111
  /***/ }),
@@ -127400,4 +127408,4 @@ exports.ToggleButtons = function () { return (React.createElement(office_ui_fabr
127400
127408
 
127401
127409
  /***/ })
127402
127410
  ],[[929,1,2]]]);
127403
- //# sourceMappingURL=main.6d4ff50b2d1a618817d2.bundle.js.map
127411
+ //# sourceMappingURL=main.87dadd1789d336577e59.bundle.js.map