@fluentui/react-badge 0.0.0-nightly0e0cf06c3420211029.1 → 0.0.0-nightlyed2d7c8d6320211111.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (65) hide show
  1. package/CHANGELOG.json +34 -16
  2. package/CHANGELOG.md +13 -11
  3. package/dist/react-badge.d.ts +6 -0
  4. package/lib/common/isConformant.js +1 -1
  5. package/lib/common/isConformant.js.map +1 -1
  6. package/lib/components/Badge/Badge.js +2 -2
  7. package/lib/components/Badge/Badge.js.map +1 -1
  8. package/lib/components/Badge/renderBadge.js +6 -7
  9. package/lib/components/Badge/renderBadge.js.map +1 -1
  10. package/lib/components/Badge/useBadge.js +19 -22
  11. package/lib/components/Badge/useBadge.js.map +1 -1
  12. package/lib/components/Badge/useBadgeStyles.d.ts +1 -0
  13. package/lib/components/Badge/useBadgeStyles.js +16 -15
  14. package/lib/components/Badge/useBadgeStyles.js.map +1 -1
  15. package/lib/components/CounterBadge/CounterBadge.js +2 -2
  16. package/lib/components/CounterBadge/CounterBadge.js.map +1 -1
  17. package/lib/components/CounterBadge/useCounterBadge.js +18 -24
  18. package/lib/components/CounterBadge/useCounterBadge.js.map +1 -1
  19. package/lib/components/CounterBadge/useCounterBadgeStyles.d.ts +1 -0
  20. package/lib/components/CounterBadge/useCounterBadgeStyles.js +5 -4
  21. package/lib/components/CounterBadge/useCounterBadgeStyles.js.map +1 -1
  22. package/lib/components/PresenceBadge/DefaultPresenceBadgeIcons.js +62 -75
  23. package/lib/components/PresenceBadge/DefaultPresenceBadgeIcons.js.map +1 -1
  24. package/lib/components/PresenceBadge/PresenceBadge.js +2 -2
  25. package/lib/components/PresenceBadge/PresenceBadge.js.map +1 -1
  26. package/lib/components/PresenceBadge/usePresenceBadge.js +17 -20
  27. package/lib/components/PresenceBadge/usePresenceBadge.js.map +1 -1
  28. package/lib/components/PresenceBadge/usePresenceBadgeStyles.d.ts +1 -0
  29. package/lib/components/PresenceBadge/usePresenceBadgeStyles.js +5 -4
  30. package/lib/components/PresenceBadge/usePresenceBadgeStyles.js.map +1 -1
  31. package/lib-commonjs/Badge.js +1 -1
  32. package/lib-commonjs/CounterBadge.js +1 -1
  33. package/lib-commonjs/PresenceBadge.js +1 -1
  34. package/lib-commonjs/common/isConformant.js +3 -3
  35. package/lib-commonjs/common/isConformant.js.map +1 -1
  36. package/lib-commonjs/components/Badge/Badge.js +6 -6
  37. package/lib-commonjs/components/Badge/Badge.js.map +1 -1
  38. package/lib-commonjs/components/Badge/index.js +1 -1
  39. package/lib-commonjs/components/Badge/renderBadge.js +8 -10
  40. package/lib-commonjs/components/Badge/renderBadge.js.map +1 -1
  41. package/lib-commonjs/components/Badge/useBadge.js +20 -24
  42. package/lib-commonjs/components/Badge/useBadge.js.map +1 -1
  43. package/lib-commonjs/components/Badge/useBadgeStyles.d.ts +1 -0
  44. package/lib-commonjs/components/Badge/useBadgeStyles.js +19 -17
  45. package/lib-commonjs/components/Badge/useBadgeStyles.js.map +1 -1
  46. package/lib-commonjs/components/CounterBadge/CounterBadge.js +6 -6
  47. package/lib-commonjs/components/CounterBadge/CounterBadge.js.map +1 -1
  48. package/lib-commonjs/components/CounterBadge/index.js +1 -1
  49. package/lib-commonjs/components/CounterBadge/useCounterBadge.js +19 -26
  50. package/lib-commonjs/components/CounterBadge/useCounterBadge.js.map +1 -1
  51. package/lib-commonjs/components/CounterBadge/useCounterBadgeStyles.d.ts +1 -0
  52. package/lib-commonjs/components/CounterBadge/useCounterBadgeStyles.js +9 -7
  53. package/lib-commonjs/components/CounterBadge/useCounterBadgeStyles.js.map +1 -1
  54. package/lib-commonjs/components/PresenceBadge/DefaultPresenceBadgeIcons.js +65 -79
  55. package/lib-commonjs/components/PresenceBadge/DefaultPresenceBadgeIcons.js.map +1 -1
  56. package/lib-commonjs/components/PresenceBadge/PresenceBadge.js +6 -6
  57. package/lib-commonjs/components/PresenceBadge/PresenceBadge.js.map +1 -1
  58. package/lib-commonjs/components/PresenceBadge/index.js +1 -1
  59. package/lib-commonjs/components/PresenceBadge/usePresenceBadge.js +21 -25
  60. package/lib-commonjs/components/PresenceBadge/usePresenceBadge.js.map +1 -1
  61. package/lib-commonjs/components/PresenceBadge/usePresenceBadgeStyles.d.ts +1 -0
  62. package/lib-commonjs/components/PresenceBadge/usePresenceBadgeStyles.js +9 -7
  63. package/lib-commonjs/components/PresenceBadge/usePresenceBadgeStyles.js.map +1 -1
  64. package/lib-commonjs/index.js +1 -1
  65. package/package.json +7 -7
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/Badge/useBadgeStyles.ts"],"names":[],"mappings":";;;;;;;AAAA,IAAA,mBAAA,gBAAA,OAAA,CAAA,6BAAA,CAAA;;AAGA,IAAM,SAAS,gBAAG,mBAAA,SAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA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esModule", {
5
5
  });
6
6
  exports.CounterBadge = void 0;
7
7
 
8
- var React = /*#__PURE__*/require("react");
8
+ const React = /*#__PURE__*/require("react");
9
9
 
10
- var useCounterBadge_1 = /*#__PURE__*/require("./useCounterBadge");
10
+ const useCounterBadge_1 = /*#__PURE__*/require("./useCounterBadge");
11
11
 
12
- var useCounterBadgeStyles_1 = /*#__PURE__*/require("./useCounterBadgeStyles");
12
+ const useCounterBadgeStyles_1 = /*#__PURE__*/require("./useCounterBadgeStyles");
13
13
 
14
- var index_1 = /*#__PURE__*/require("../Badge/index");
14
+ const index_1 = /*#__PURE__*/require("../Badge/index");
15
15
  /**
16
16
  * Define a styled CounterBadge, using the `useCounterBadge` hook.
17
17
  */
18
18
 
19
19
 
20
- exports.CounterBadge = /*#__PURE__*/React.forwardRef(function (props, ref) {
21
- var state = useCounterBadge_1.useCounterBadge(props, ref);
20
+ exports.CounterBadge = /*#__PURE__*/React.forwardRef((props, ref) => {
21
+ const state = useCounterBadge_1.useCounterBadge(props, ref);
22
22
  useCounterBadgeStyles_1.useCounterBadgeStyles(state);
23
23
  return index_1.renderBadge(state);
24
24
  });
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/CounterBadge/CounterBadge.tsx"],"names":[],"mappings":";;;;;;;AAAA,IAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,IAAA,iBAAA,gBAAA,OAAA,CAAA,mBAAA,CAAA;;AACA,IAAA,uBAAA,gBAAA,OAAA,CAAA,yBAAA,CAAA;;AACA,IAAA,OAAA,gBAAA,OAAA,CAAA,gBAAA,CAAA;AAIA;;AAEG;;;AACU,OAAA,CAAA,YAAA,gBAAuD,KAAK,CAAC,UAAN,CAAiB,UAAC,KAAD,EAAQ,GAAR,EAAW;AAC9F,MAAM,KAAK,GAAG,iBAAA,CAAA,eAAA,CAAgB,KAAhB,EAAuB,GAAvB,CAAd;AACA,EAAA,uBAAA,CAAA,qBAAA,CAAsB,KAAtB;AAEA,SAAO,OAAA,CAAA,WAAA,CAAY,KAAZ,CAAP;AACD,CALmE,CAAvD;AAOb,OAAA,CAAA,YAAA,CAAa,WAAb,GAA2B,cAA3B","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/components/CounterBadge/CounterBadge.tsx"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,MAAA,iBAAA,gBAAA,OAAA,CAAA,mBAAA,CAAA;;AACA,MAAA,uBAAA,gBAAA,OAAA,CAAA,yBAAA,CAAA;;AACA,MAAA,OAAA,gBAAA,OAAA,CAAA,gBAAA,CAAA;AAIA;;AAEG;;;AACU,OAAA,CAAA,YAAA,gBAAuD,KAAK,CAAC,UAAN,CAAiB,CAAC,KAAD,EAAQ,GAAR,KAAe;AAClG,QAAM,KAAK,GAAG,iBAAA,CAAA,eAAA,CAAgB,KAAhB,EAAuB,GAAvB,CAAd;AACA,EAAA,uBAAA,CAAA,qBAAA,CAAsB,KAAtB;AAEA,SAAO,OAAA,CAAA,WAAA,CAAY,KAAZ,CAAP;AACD,CALmE,CAAvD;AAOb,OAAA,CAAA,YAAA,CAAa,WAAb,GAA2B,cAA3B","sourceRoot":""}
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
 
7
- var tslib_1 = /*#__PURE__*/require("tslib");
7
+ const tslib_1 = /*#__PURE__*/require("tslib");
8
8
 
9
9
  tslib_1.__exportStar(require("./CounterBadge"), exports);
10
10
 
@@ -5,39 +5,32 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.useCounterBadge = void 0;
7
7
 
8
- var tslib_1 = /*#__PURE__*/require("tslib");
9
-
10
- var index_1 = /*#__PURE__*/require("../Badge/index");
8
+ const index_1 = /*#__PURE__*/require("../Badge/index");
11
9
  /**
12
10
  * Returns the props and state required to render the component
13
11
  */
14
12
 
15
13
 
16
- var useCounterBadge = function (props, ref) {
17
- var _a = props.shape,
18
- shape = _a === void 0 ? 'circular' : _a,
19
- _b = props.appearance,
20
- appearance = _b === void 0 ? 'filled' : _b,
21
- _c = props.showZero,
22
- showZero = _c === void 0 ? false : _c,
23
- _d = props.overflowCount,
24
- overflowCount = _d === void 0 ? 99 : _d,
25
- _e = props.count,
26
- count = _e === void 0 ? 0 : _e,
27
- _f = props.dot,
28
- dot = _f === void 0 ? false : _f;
29
-
30
- var state = tslib_1.__assign(tslib_1.__assign({}, index_1.useBadge(props, ref)), {
31
- shape: shape,
32
- appearance: appearance,
33
- showZero: showZero,
34
- overflowCount: overflowCount,
35
- count: count,
36
- dot: dot
37
- });
14
+ const useCounterBadge = (props, ref) => {
15
+ const {
16
+ shape = 'circular',
17
+ appearance = 'filled',
18
+ showZero = false,
19
+ overflowCount = 99,
20
+ count = 0,
21
+ dot = false
22
+ } = props;
23
+ const state = { ...index_1.useBadge(props, ref),
24
+ shape,
25
+ appearance,
26
+ showZero,
27
+ overflowCount,
28
+ count,
29
+ dot
30
+ };
38
31
 
39
32
  if (!state.dot && !state.root.children) {
40
- state.root.children = state.count > state.overflowCount ? state.overflowCount + "+" : "" + state.count;
33
+ state.root.children = state.count > state.overflowCount ? `${state.overflowCount}+` : `${state.count}`;
41
34
  }
42
35
 
43
36
  return state;
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/CounterBadge/useCounterBadge.ts"],"names":[],"mappings":";;;;;;;;;AACA,IAAA,OAAA,gBAAA,OAAA,CAAA,gBAAA,CAAA;AAGA;;AAEG;;;AACI,IAAM,eAAe,GAAG,UAAC,KAAD,EAA2B,GAA3B,EAAsD;AAEjF,MAAA,EAAA,GAME,KAAK,CANW,KAAlB;AAAA,MAAA,KAAK,GAAA,EAAA,KAAA,KAAA,CAAA,GAAG,UAAH,GAAa,EAAlB;AAAA,MACA,EAAA,GAKE,KAAK,CALc,UADrB;AAAA,MACA,UAAU,GAAA,EAAA,KAAA,KAAA,CAAA,GAAG,QAAH,GAAW,EADrB;AAAA,MAEA,E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gBAAA,CAAA;AAGA;;AAEG;;;AACI,MAAM,eAAe,GAAG,CAAC,KAAD,EAA2B,GAA3B,KAA6E;AAC1G,QAAM;AACJ,IAAA,KAAK,GAAG,UADJ;AAEJ,IAAA,UAAU,GAAG,QAFT;AAGJ,IAAA,QAAQ,GAAG,KAHP;AAIJ,IAAA,aAAa,GAAG,EAJZ;AAKJ,IAAA,KAAK,GAAG,CALJ;AAMJ,IAAA,GAAG,GAAG;AANF,MAOF,KAPJ;AASA,QAAM,KAAK,GAAsB,EAC/B,GAAG,OAAA,CAAA,QAAA,CAAS,KAAT,EAAgB,GAAhB,CAD4B;AAE/B,IAAA,KAF+B;AAG/B,IAAA,UAH+B;AAI/B,IAAA,QAJ+B;AAK/B,IAAA,aAL+B;AAM/B,IAAA,KAN+B;AAO/B,IAAA;AAP+B,GAAjC;;AAUA,MAAI,CAAC,KAAK,CAAC,GAAP,IAAc,CAAC,KAAK,CAAC,IAAN,CAAW,QAA9B,EAAwC;AACtC,IAAA,KAAK,CAAC,IAAN,CAAW,QAAX,GAAsB,KAAK,CAAC,KAAN,GAAc,KAAK,CAAC,aAApB,GAAoC,GAAG,KAAK,CAAC,aAAa,GAA1D,GAAgE,GAAG,KAAK,CAAC,KAAK,EAApG;AACD;;AAED,SAAO,KAAP;AACD,CAzBM;;AAAM,OAAA,CAAA,eAAA,GAAe,eAAf","sourceRoot":""}
@@ -1,4 +1,5 @@
1
1
  import type { CounterBadgeState } from './CounterBadge.types';
2
+ export declare const counterBadgeClassName = "fui-CounterBadge";
2
3
  /**
3
4
  * Applies style classnames to slots
4
5
  */
@@ -3,13 +3,15 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.useCounterBadgeStyles = void 0;
6
+ exports.useCounterBadgeStyles = exports.counterBadgeClassName = void 0;
7
7
 
8
- var react_make_styles_1 = /*#__PURE__*/require("@fluentui/react-make-styles");
8
+ const react_make_styles_1 = /*#__PURE__*/require("@fluentui/react-make-styles");
9
9
 
10
- var useBadgeStyles_1 = /*#__PURE__*/require("../Badge/useBadgeStyles");
10
+ const useBadgeStyles_1 = /*#__PURE__*/require("../Badge/useBadgeStyles");
11
11
 
12
- var useStyles = /*#__PURE__*/react_make_styles_1.__styles({
12
+ exports.counterBadgeClassName = 'fui-CounterBadge';
13
+
14
+ const useStyles = /*#__PURE__*/react_make_styles_1.__styles({
13
15
  "root": {
14
16
  "Bf4jedk": "fgfkb25"
15
17
  },
@@ -61,9 +63,9 @@ var useStyles = /*#__PURE__*/react_make_styles_1.__styles({
61
63
  */
62
64
 
63
65
 
64
- var useCounterBadgeStyles = function (state) {
65
- var styles = useStyles();
66
- state.root.className = react_make_styles_1.mergeClasses(styles.root, state.color === 'warning' && styles.warning, state.color === 'important' && styles.important, state.color === 'severe' && styles.severe, state.color === 'informative' && styles.informative, state.dot && styles.dot, !state.showZero && state.count === 0 && !state.dot && styles.hide, state.root.className);
66
+ const useCounterBadgeStyles = state => {
67
+ const styles = useStyles();
68
+ state.root.className = react_make_styles_1.mergeClasses(exports.counterBadgeClassName, styles.root, state.color === 'warning' && styles.warning, state.color === 'important' && styles.important, state.color === 'severe' && styles.severe, state.color === 'informative' && styles.informative, state.dot && styles.dot, !state.showZero && state.count === 0 && !state.dot && styles.hide, state.root.className);
67
69
  return useBadgeStyles_1.useBadgeStyles(state);
68
70
  };
69
71
 
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/CounterBadge/useCounterBadgeStyles.ts"],"names":[],"mappings":";;;;;;;AAAA,IAAA,mBAAA,gBAAA,OAAA,CAAA,6BAAA,CAAA;;AACA,IAAA,gBAAA,gBAAA,OAAA,CAAA,yBAAA,CAAA;;AAGA,IAAM,SAAS,gBAAG,mBAAA,SAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;A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AAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAgCA;;AAEG;;;AACI,MAAM,qBAAqB,GAAI,KAAD,IAAgD;AACnF,QAAM,MAAM,GAAG,SAAS,EAAxB;AACA,EAAA,KAAK,CAAC,IAAN,CAAW,SAAX,GAAuB,mBAAA,CAAA,YAAA,CACrB,OAAA,CAAA,qBADqB,EAErB,MAAM,CAAC,IAFc,EAGrB,KAAK,CAAC,KAAN,KAAgB,SAAhB,IAA6B,MAAM,CAAC,OAHf,EAIrB,KAAK,CAAC,KAAN,KAAgB,WAAhB,IAA+B,MAAM,CAAC,SAJjB,EAKrB,KAAK,CAAC,KAAN,KAAgB,QAAhB,IAA4B,MAAM,CAAC,MALd,EAMrB,KAAK,CAAC,KAAN,KAAgB,aAAhB,IAAiC,MAAM,CAAC,WANnB,EAOrB,KAAK,CAAC,GAAN,IAAa,MAAM,CAAC,GAPC,EAQrB,CAAC,KAAK,CAAC,QAAP,IAAmB,KAAK,CAAC,KAAN,KAAgB,CAAnC,IAAwC,CAAC,KAAK,CAAC,GAA/C,IAAsD,MAAM,CAAC,IARxC,EASrB,KAAK,CAAC,IAAN,CAAW,SATU,CAAvB;AAWA,SAAO,gBAAA,CAAA,cAAA,CAAe,KAAf,CAAP;AACD,CAdM;;AAAM,OAAA,CAAA,qBAAA,GAAqB,qBAArB","sourceRoot":""}
@@ -5,15 +5,13 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.CancelIcon = exports.SkypeArrowIcon = exports.SkypeCheckIcon = exports.SkypeClockIcon = exports.SkypeMinusIcon = exports.renderIcon = void 0;
7
7
 
8
- var tslib_1 = /*#__PURE__*/require("tslib");
8
+ const react_make_styles_1 = /*#__PURE__*/require("@fluentui/react-make-styles");
9
9
 
10
- var react_make_styles_1 = /*#__PURE__*/require("@fluentui/react-make-styles");
10
+ const react_utilities_1 = /*#__PURE__*/require("@fluentui/react-utilities");
11
11
 
12
- var react_utilities_1 = /*#__PURE__*/require("@fluentui/react-utilities");
12
+ const React = /*#__PURE__*/require("react");
13
13
 
14
- var React = /*#__PURE__*/require("react");
15
-
16
- var useStyles = /*#__PURE__*/react_make_styles_1.__styles({
14
+ const useStyles = /*#__PURE__*/react_make_styles_1.__styles({
17
15
  "root": {
18
16
  "mc9l5x": "f14t3ns0",
19
17
  "ha4doy": "fmrv4ls",
@@ -34,94 +32,82 @@ var useStyles = /*#__PURE__*/react_make_styles_1.__styles({
34
32
  //
35
33
 
36
34
 
37
- var useIconProps = function (props) {
38
- var _a;
39
-
40
- var containerProps = props['aria-label'] ? {} : (_a = {
41
- role: 'presentation'
42
- }, _a['aria-hidden'] = true, _a);
43
- var nativeProps = react_utilities_1.getNativeProps(props, react_utilities_1.htmlElementProperties);
44
- var styles = useStyles();
45
- var rootClasses = styles.root;
46
- var svgClasses = styles.svg;
35
+ const useIconProps = props => {
36
+ const containerProps = props['aria-label'] ? {} : {
37
+ role: 'presentation',
38
+ ['aria-hidden']: true
39
+ };
40
+ const nativeProps = react_utilities_1.getNativeProps(props, react_utilities_1.htmlElementProperties);
41
+ const styles = useStyles();
42
+ const rootClasses = styles.root;
43
+ const svgClasses = styles.svg;
47
44
  return {
48
- containerProps: containerProps,
49
- nativeProps: nativeProps,
50
- rootClasses: rootClasses,
51
- svgClasses: svgClasses
45
+ containerProps,
46
+ nativeProps,
47
+ rootClasses,
48
+ svgClasses
52
49
  };
53
50
  };
54
51
 
55
- var renderIcon = function (SVGElement) {
56
- return function (props) {
57
- var _a = useIconProps(props),
58
- containerProps = _a.containerProps,
59
- nativeProps = _a.nativeProps,
60
- rootClasses = _a.rootClasses,
61
- svgClasses = _a.svgClasses;
62
-
63
- return React.createElement('span', tslib_1.__assign(tslib_1.__assign(tslib_1.__assign({}, containerProps), nativeProps), {
64
- className: react_make_styles_1.mergeClasses(rootClasses, props.className)
65
- }), React.createElement(SVGElement, {
66
- svgClasses: svgClasses
67
- }));
68
- };
52
+ const renderIcon = SVGElement => props => {
53
+ const {
54
+ containerProps,
55
+ nativeProps,
56
+ rootClasses,
57
+ svgClasses
58
+ } = useIconProps(props);
59
+ return React.createElement('span', { ...containerProps,
60
+ ...nativeProps,
61
+ className: react_make_styles_1.mergeClasses(rootClasses, props.className)
62
+ }, React.createElement(SVGElement, {
63
+ svgClasses: svgClasses
64
+ }));
69
65
  };
70
66
 
71
67
  exports.renderIcon = renderIcon;
72
- var SkypeMinusIcon = /*#__PURE__*/exports.renderIcon(function (props) {
73
- return React.createElement("svg", {
74
- xmlns: "http://www.w3.org/2000/svg",
75
- viewBox: "0 0 2048 2048",
76
- className: props.svgClasses
77
- }, React.createElement("path", {
78
- d: "M1591 823q42 0 78 16t64 43 43 63 16 79q0 42-16 78t-43 64-63 43-79 16H395q-42 0-78-16t-64-43-42-63-16-79q0-42 15-78t43-64 63-43 79-16h1196z"
79
- }));
80
- });
68
+ const SkypeMinusIcon = /*#__PURE__*/exports.renderIcon(props => React.createElement("svg", {
69
+ xmlns: "http://www.w3.org/2000/svg",
70
+ viewBox: "0 0 2048 2048",
71
+ className: props.svgClasses
72
+ }, React.createElement("path", {
73
+ d: "M1591 823q42 0 78 16t64 43 43 63 16 79q0 42-16 78t-43 64-63 43-79 16H395q-42 0-78-16t-64-43-42-63-16-79q0-42 15-78t43-64 63-43 79-16h1196z"
74
+ })));
81
75
  exports.SkypeMinusIcon = SkypeMinusIcon;
82
76
  SkypeMinusIcon.displayName = 'SkypeMinusIcon';
83
- var SkypeClockIcon = /*#__PURE__*/exports.renderIcon(function (props) {
84
- return React.createElement("svg", {
85
- xmlns: "http://www.w3.org/2000/svg",
86
- viewBox: "0 0 2048 2048",
87
- className: props.svgClasses
88
- }, React.createElement("path", {
89
- d: "M1431 1705q28 28 43 65t15 77q0 42-15 78t-43 64-63 43-79 16q-83 0-142-59l-594-593q-28-28-43-65t-15-77V201q0-42 15-78t43-64 63-43 79-16q42 0 78 16t64 43 43 63 16 79v970l535 534z"
90
- }));
91
- });
77
+ const SkypeClockIcon = /*#__PURE__*/exports.renderIcon(props => React.createElement("svg", {
78
+ xmlns: "http://www.w3.org/2000/svg",
79
+ viewBox: "0 0 2048 2048",
80
+ className: props.svgClasses
81
+ }, React.createElement("path", {
82
+ d: "M1431 1705q28 28 43 65t15 77q0 42-15 78t-43 64-63 43-79 16q-83 0-142-59l-594-593q-28-28-43-65t-15-77V201q0-42 15-78t43-64 63-43 79-16q42 0 78 16t64 43 43 63 16 79v970l535 534z"
83
+ })));
92
84
  exports.SkypeClockIcon = SkypeClockIcon;
93
85
  SkypeClockIcon.displayName = 'SkypeClockIcon';
94
- var SkypeCheckIcon = /*#__PURE__*/exports.renderIcon(function (props) {
95
- return React.createElement("svg", {
96
- xmlns: "http://www.w3.org/2000/svg",
97
- viewBox: "0 0 2048 2048",
98
- className: props.svgClasses
99
- }, React.createElement("path", {
100
- d: "M1570 437q42 0 78 15t64 43 42 63 16 79q0 40-15 77t-43 65l-794 795q-28 28-65 43t-77 16q-40 0-77-15t-65-44l-362-362q-28-28-43-65t-16-77q0-42 16-78t43-64 63-42 79-16q40 0 77 15t65 43l220 220 652-653q28-28 65-43t77-15z"
101
- }));
102
- });
86
+ const SkypeCheckIcon = /*#__PURE__*/exports.renderIcon(props => React.createElement("svg", {
87
+ xmlns: "http://www.w3.org/2000/svg",
88
+ viewBox: "0 0 2048 2048",
89
+ className: props.svgClasses
90
+ }, React.createElement("path", {
91
+ d: "M1570 437q42 0 78 15t64 43 42 63 16 79q0 40-15 77t-43 65l-794 795q-28 28-65 43t-77 16q-40 0-77-15t-65-44l-362-362q-28-28-43-65t-16-77q0-42 16-78t43-64 63-42 79-16q40 0 77 15t65 43l220 220 652-653q28-28 65-43t77-15z"
92
+ })));
103
93
  exports.SkypeCheckIcon = SkypeCheckIcon;
104
94
  SkypeCheckIcon.displayName = 'SkypeCheckIcon';
105
- var SkypeArrowIcon = /*#__PURE__*/exports.renderIcon(function (props) {
106
- return React.createElement("svg", {
107
- xmlns: "http://www.w3.org/2000/svg",
108
- viewBox: "0 0 2048 2048",
109
- className: props.svgClasses
110
- }, React.createElement("path", {
111
- d: "M1980 964q0 41-15 77t-43 63-63 42-77 16H739l281 280q28 27 43 64t15 76q0 41-15 77t-43 63-63 42-77 16q-39 0-75-15t-65-43l-615-616q-33-33-47-68t-14-82q0-39 17-73t44-61l615-616q28-28 65-43t76-15q41 0 77 16t62 43 42 63 16 77q0 39-15 75t-43 64L739 766h1043q41 0 77 15t63 43 42 63 16 77z"
112
- }));
113
- });
95
+ const SkypeArrowIcon = /*#__PURE__*/exports.renderIcon(props => React.createElement("svg", {
96
+ xmlns: "http://www.w3.org/2000/svg",
97
+ viewBox: "0 0 2048 2048",
98
+ className: props.svgClasses
99
+ }, React.createElement("path", {
100
+ d: "M1980 964q0 41-15 77t-43 63-63 42-77 16H739l281 280q28 27 43 64t15 76q0 41-15 77t-43 63-63 42-77 16q-39 0-75-15t-65-43l-615-616q-33-33-47-68t-14-82q0-39 17-73t44-61l615-616q28-28 65-43t76-15q41 0 77 16t62 43 42 63 16 77q0 39-15 75t-43 64L739 766h1043q41 0 77 15t63 43 42 63 16 77z"
101
+ })));
114
102
  exports.SkypeArrowIcon = SkypeArrowIcon;
115
103
  SkypeArrowIcon.displayName = 'SkypeArrowIcon';
116
- var CancelIcon = /*#__PURE__*/exports.renderIcon(function (props) {
117
- return React.createElement("svg", {
118
- xmlns: "http://www.w3.org/2000/svg",
119
- viewBox: "0 0 2048 2048",
120
- className: props.svgClasses
121
- }, React.createElement("path", {
122
- d: "M1115 1024l690 691-90 90-691-690-691 690-90-90 690-691-690-691 90-90 691 690 691-690 90 90-690 691z"
123
- }));
124
- });
104
+ const CancelIcon = /*#__PURE__*/exports.renderIcon(props => React.createElement("svg", {
105
+ xmlns: "http://www.w3.org/2000/svg",
106
+ viewBox: "0 0 2048 2048",
107
+ className: props.svgClasses
108
+ }, React.createElement("path", {
109
+ d: "M1115 1024l690 691-90 90-691-690-691 690-90-90 690-691-690-691 90-90 691 690 691-690 90 90-690 691z"
110
+ })));
125
111
  exports.CancelIcon = CancelIcon;
126
112
  CancelIcon.displayName = 'CancelIcon';
127
113
  //# sourceMappingURL=DefaultPresenceBadgeIcons.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/PresenceBadge/DefaultPresenceBadgeIcons.tsx"],"names":[],"mappings":";;;;;;;;;AAAA,IAAA,mBAAA,gBAAA,OAAA,CAAA,6BAAA,CAAA;;AACA,IAAA,iBAAA,gBAAA,OAAA,CAAA,2BAAA,CAAA;;AACA,IAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AAEA,IAAM,SAAS,gBAAG,mBAAA,SAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB,C,CAeA;AACA;AACA;AACA;;;AAEA,IAAM,YAAY,GAAG,UAAC,KAAD,EAA6C;;;AAChE,MAAM,cAAc,GAAG,KAAK,CAAC,YAAD,CAAL,GACnB,EADmB,IAEpB,EAAA,GAAA;AACG,IAAA,IAAI,EAAE;AADT,GAAA,EAEG,EAAA,CAAC,aAAD,CAAA,GAAiB,IAFpB,EAGE,EALkB,CAAvB;AAMA,MAAM,WAAW,GAAG,iBAAA,CAAA,cAAA,CAAkD,KAAlD,EAAyD,iBAAA,CAAA,qBAAzD,CAApB;AACA,MAAM,MAAM,GAAG,SAAS,EAAxB;AAEA,MAAM,WAAW,GAAG,MAAM,CAAC,IAA3B;AACA,MAAM,UAAU,GAAG,MAAM,CAAC,GAA1B;AAEA,SAAO;AAAE,IAAA,cAAc,EAAA,cAAhB;AAAkB,IAAA,WAAW,EAAA,WAA7B;AAA+B,IAAA,WAAW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A;AAFzE,UAAU,CAAC,WAAX,GAAyB,YAAzB","sourceRoot":""}
@@ -5,20 +5,20 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.PresenceBadge = void 0;
7
7
 
8
- var React = /*#__PURE__*/require("react");
8
+ const React = /*#__PURE__*/require("react");
9
9
 
10
- var usePresenceBadge_1 = /*#__PURE__*/require("./usePresenceBadge");
10
+ const usePresenceBadge_1 = /*#__PURE__*/require("./usePresenceBadge");
11
11
 
12
- var usePresenceBadgeStyles_1 = /*#__PURE__*/require("./usePresenceBadgeStyles");
12
+ const usePresenceBadgeStyles_1 = /*#__PURE__*/require("./usePresenceBadgeStyles");
13
13
 
14
- var Badge_1 = /*#__PURE__*/require("../../Badge");
14
+ const Badge_1 = /*#__PURE__*/require("../../Badge");
15
15
  /**
16
16
  * Define a styled Badge, using the `useBadge` hook.
17
17
  */
18
18
 
19
19
 
20
- exports.PresenceBadge = /*#__PURE__*/React.forwardRef(function (props, ref) {
21
- var state = usePresenceBadge_1.usePresenceBadge(props, ref);
20
+ exports.PresenceBadge = /*#__PURE__*/React.forwardRef((props, ref) => {
21
+ const state = usePresenceBadge_1.usePresenceBadge(props, ref);
22
22
  usePresenceBadgeStyles_1.usePresenceBadgeStyles(state);
23
23
  return Badge_1.renderBadge(state);
24
24
  });
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/PresenceBadge/PresenceBadge.tsx"],"names":[],"mappings":";;;;;;;AAAA,IAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,IAAA,kBAAA,gBAAA,OAAA,CAAA,oBAAA,CAAA;;AACA,IAAA,wBAAA,gBAAA,OAAA,CAAA,0BAAA,CAAA;;AACA,IAAA,OAAA,gBAAA,OAAA,CAAA,aAAA,CAAA;AAIA;;AAEG;;;AACU,OAAA,CAAA,aAAA,gBAAyD,KAAK,CAAC,UAAN,CAAiB,UAAC,KAAD,EAAQ,GAAR,EAAW;AAChG,MAAM,KAAK,GAAG,kBAAA,CAAA,gBAAA,CAAiB,KAAjB,EAAwB,GAAxB,CAAd;AACA,EAAA,wBAAA,CAAA,sBAAA,CAAuB,KAAvB;AAEA,SAAO,OAAA,CAAA,WAAA,CAAY,KAAZ,CAAP;AACD,CALqE,CAAzD;AAOb,OAAA,CAAA,aAAA,CAAc,WAAd,GAA4B,eAA5B","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/components/PresenceBadge/PresenceBadge.tsx"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,MAAA,kBAAA,gBAAA,OAAA,CAAA,oBAAA,CAAA;;AACA,MAAA,wBAAA,gBAAA,OAAA,CAAA,0BAAA,CAAA;;AACA,MAAA,OAAA,gBAAA,OAAA,CAAA,aAAA,CAAA;AAIA;;AAEG;;;AACU,OAAA,CAAA,aAAA,gBAAyD,KAAK,CAAC,UAAN,CAAiB,CAAC,KAAD,EAAQ,GAAR,KAAe;AACpG,QAAM,KAAK,GAAG,kBAAA,CAAA,gBAAA,CAAiB,KAAjB,EAAwB,GAAxB,CAAd;AACA,EAAA,wBAAA,CAAA,sBAAA,CAAuB,KAAvB;AAEA,SAAO,OAAA,CAAA,WAAA,CAAY,KAAZ,CAAP;AACD,CALqE,CAAzD;AAOb,OAAA,CAAA,aAAA,CAAc,WAAd,GAA4B,eAA5B","sourceRoot":""}
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
 
7
- var tslib_1 = /*#__PURE__*/require("tslib");
7
+ const tslib_1 = /*#__PURE__*/require("tslib");
8
8
 
9
9
  tslib_1.__exportStar(require("./PresenceBadge"), exports);
10
10
 
@@ -5,44 +5,40 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.usePresenceBadge = void 0;
7
7
 
8
- var tslib_1 = /*#__PURE__*/require("tslib");
8
+ const React = /*#__PURE__*/require("react");
9
9
 
10
- var React = /*#__PURE__*/require("react");
10
+ const react_utilities_1 = /*#__PURE__*/require("@fluentui/react-utilities");
11
11
 
12
- var react_utilities_1 = /*#__PURE__*/require("@fluentui/react-utilities");
12
+ const index_1 = /*#__PURE__*/require("../Badge/index");
13
13
 
14
- var index_1 = /*#__PURE__*/require("../Badge/index");
14
+ const DefaultPresenceBadgeIcons_1 = /*#__PURE__*/require("./DefaultPresenceBadgeIcons");
15
15
 
16
- var DefaultPresenceBadgeIcons_1 = /*#__PURE__*/require("./DefaultPresenceBadgeIcons");
17
-
18
- var iconMap = function (outOfOffice) {
19
- return {
20
- busy: null,
21
- available: outOfOffice ? React.createElement(DefaultPresenceBadgeIcons_1.SkypeArrowIcon, null) : React.createElement(DefaultPresenceBadgeIcons_1.SkypeCheckIcon, null),
22
- away: outOfOffice ? React.createElement(DefaultPresenceBadgeIcons_1.SkypeArrowIcon, null) : React.createElement(DefaultPresenceBadgeIcons_1.SkypeClockIcon, null),
23
- offline: React.createElement(DefaultPresenceBadgeIcons_1.CancelIcon, null),
24
- outOfOffice: React.createElement(DefaultPresenceBadgeIcons_1.SkypeArrowIcon, null),
25
- doNotDisturb: React.createElement(DefaultPresenceBadgeIcons_1.SkypeMinusIcon, null)
26
- };
27
- };
16
+ const iconMap = outOfOffice => ({
17
+ busy: null,
18
+ available: outOfOffice ? React.createElement(DefaultPresenceBadgeIcons_1.SkypeArrowIcon, null) : React.createElement(DefaultPresenceBadgeIcons_1.SkypeCheckIcon, null),
19
+ away: outOfOffice ? React.createElement(DefaultPresenceBadgeIcons_1.SkypeArrowIcon, null) : React.createElement(DefaultPresenceBadgeIcons_1.SkypeClockIcon, null),
20
+ offline: React.createElement(DefaultPresenceBadgeIcons_1.CancelIcon, null),
21
+ outOfOffice: React.createElement(DefaultPresenceBadgeIcons_1.SkypeArrowIcon, null),
22
+ doNotDisturb: React.createElement(DefaultPresenceBadgeIcons_1.SkypeMinusIcon, null)
23
+ });
28
24
  /**
29
25
  * Returns the props and state required to render the component
30
26
  */
31
27
 
32
28
 
33
- var usePresenceBadge = function (props, ref) {
29
+ const usePresenceBadge = (props, ref) => {
34
30
  var _a, _b, _c;
35
31
 
36
- var state = tslib_1.__assign(tslib_1.__assign({}, index_1.useBadge(tslib_1.__assign(tslib_1.__assign({
37
- size: 'small'
38
- }, props), {
39
- icon: react_utilities_1.resolveShorthand(props.icon, {
40
- required: true
41
- })
42
- }), ref)), {
32
+ const state = { ...index_1.useBadge({
33
+ size: 'small',
34
+ ...props,
35
+ icon: react_utilities_1.resolveShorthand(props.icon, {
36
+ required: true
37
+ })
38
+ }, ref),
43
39
  status: (_a = props.status) !== null && _a !== void 0 ? _a : 'available',
44
40
  outOfOffice: (_b = props.outOfOffice) !== null && _b !== void 0 ? _b : false
45
- });
41
+ };
46
42
 
47
43
  if (!((_c = state.icon) === null || _c === void 0 ? void 0 : _c.children)) {
48
44
  state.icon.children = iconMap(state.outOfOffice)[state.status];
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/PresenceBadge/usePresenceBadge.tsx"],"names":[],"mappings":";;;;;;;;;AAAA,IAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,IAAA,iBAAA,gBAAA,OAAA,CAAA,2BAAA,CAAA;;AACA,IAAA,OAAA,gBAAA,OAAA,CAAA,gBAAA,CAAA;;AACA,IAAA,2BAAA,gBAAA,OAAA,CAAA,6BAAA,CAAA;;AASA,IAAM,OAAO,GAA8E,UAAA,WAAA,EAAW;AAAI,SAAC;AACzG,IAAA,IAAI,EAAE,IADmG;AAEzG,IAAA,SAAS,EAAE,WAAW,GAAG,KAAA,CAAA,aAAA,CAAC,2BAAA,CAAA,cAAD,EAAe,IAAf,CAAH,GAAwB,KAAA,CAAA,aAAA,CAAC,2BAAA,CAAA,cAAD,EAAe,IAAf,CAF2D;AAGzG,IAAA,IAAI,EAAE,WAAW,GAAG,KAAA,CAAA,aAAA,CAAC,2BAAA,CAAA,cAAD,EAAe,IAAf,CAAH,GAAwB,KAAA,CAAA,aAAA,CAAC,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GAAuB,EAChC,GAAG,OAAA,CAAA,QAAA,CACD;AACE,MAAA,IAAI,EAAE,OADR;AAEE,SAAG,KAFL;AAGE,MAAA,IAAI,EAAE,iBAAA,CAAA,gBAAA,CAAiB,KAAK,CAAC,IAAvB,EAA6B;AACjC,QAAA,QAAQ,EAAE;AADuB,OAA7B;AAHR,KADC,EAQD,GARC,CAD6B;AAWhC,IAAA,MAAM,EAAA,CAAA,EAAA,GAAE,KAAK,CAAC,MAAR,MAAc,IAAd,IAAc,EAAA,KAAA,KAAA,CAAd,GAAc,EAAd,GAAkB,WAXQ;AAYhC,IAAA,WAAW,EAAA,CAAA,EAAA,GAAE,KAAK,CAAC,WAAR,MAAmB,IAAnB,IAAmB,EAAA,KAAA,KAAA,CAAnB,GAAmB,EAAnB,GAAuB;AAZF,GAAlC;;AAeA,MAAI,EAAA,CAAA,EAAA,GAAC,KAAK,CAAC,IAAP,MAAW,IAAX,IAAW,EAAA,KAAA,KAAA,CAAX,GAAW,KAAA,CAAX,GAAW,EAAA,CAAE,QAAb,CAAJ,EAA2B;AACzB,IAAA,KAAK,CAAC,IAAN,CAAY,QAAZ,GAAuB,OAAO,CAAC,KAAK,CAAC,WAAP,CAAP,CAA2B,KAAK,CAAC,MAAjC,CAAvB;AACD;;AAED,SAAO,KAAP;AACD,CArBM;;AAAM,OAAA,CAAA,gBAAA,GAAgB,gBAAhB","sourceRoot":""}
@@ -1,4 +1,5 @@
1
1
  import type { PresenceBadgeState } from './PresenceBadge.types';
2
+ export declare const presenceBadgeClassName = "fui-PresenceBadge";
2
3
  /**
3
4
  * Applies style classnames to slots
4
5
  */
@@ -3,13 +3,15 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.usePresenceBadgeStyles = void 0;
6
+ exports.usePresenceBadgeStyles = exports.presenceBadgeClassName = void 0;
7
7
 
8
- var react_make_styles_1 = /*#__PURE__*/require("@fluentui/react-make-styles");
8
+ const react_make_styles_1 = /*#__PURE__*/require("@fluentui/react-make-styles");
9
9
 
10
- var Badge_1 = /*#__PURE__*/require("../../Badge");
10
+ const Badge_1 = /*#__PURE__*/require("../../Badge");
11
11
 
12
- var useStyles = /*#__PURE__*/react_make_styles_1.__styles({
12
+ exports.presenceBadgeClassName = 'fui-PresenceBadge';
13
+
14
+ const useStyles = /*#__PURE__*/react_make_styles_1.__styles({
13
15
  "root": {
14
16
  "z8tnut": "f1g0x7ka",
15
17
  "z189sj": ["fhxju0i", "f1cnd47f"],
@@ -83,9 +85,9 @@ var useStyles = /*#__PURE__*/react_make_styles_1.__styles({
83
85
  */
84
86
 
85
87
 
86
- var usePresenceBadgeStyles = function (state) {
87
- var styles = useStyles();
88
- state.root.className = react_make_styles_1.mergeClasses(styles.root, (state.status === 'busy' || state.status === 'doNotDisturb') && styles.statusBusy, state.status === 'away' && styles.statusAway, state.status === 'available' && styles.statusAvailable, state.status === 'offline' && styles.statusOffline, state.status === 'outOfOffice' && styles.statusOutOfOffice, state.outOfOffice && styles.outOfOffice, state.outOfOffice && state.status === 'available' && styles.outOfOfficeAvailable, state.outOfOffice && (state.status === 'busy' || state.status === 'doNotDisturb') && styles.outOfOfficeBusy, state.outOfOffice && state.status === 'away' && styles.outOfOfficeAway, (state.size === 'tiny' || state.size === 'extra-small') && styles.thinBorder, state.root.className);
88
+ const usePresenceBadgeStyles = state => {
89
+ const styles = useStyles();
90
+ state.root.className = react_make_styles_1.mergeClasses(exports.presenceBadgeClassName, styles.root, (state.status === 'busy' || state.status === 'doNotDisturb') && styles.statusBusy, state.status === 'away' && styles.statusAway, state.status === 'available' && styles.statusAvailable, state.status === 'offline' && styles.statusOffline, state.status === 'outOfOffice' && styles.statusOutOfOffice, state.outOfOffice && styles.outOfOffice, state.outOfOffice && state.status === 'available' && styles.outOfOfficeAvailable, state.outOfOffice && (state.status === 'busy' || state.status === 'doNotDisturb') && styles.outOfOfficeBusy, state.outOfOffice && state.status === 'away' && styles.outOfOfficeAway, (state.size === 'tiny' || state.size === 'extra-small') && styles.thinBorder, state.root.className);
89
91
  return Badge_1.useBadgeStyles(state);
90
92
  };
91
93
 
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/PresenceBadge/usePresenceBadgeStyles.ts"],"names":[],"mappings":";;;;;;;AAAA,IAAA,mBAAA,gBAAA,OAAA,CAAA,6BAAA,CAAA;;AACA,IAAA,OAAA,gBAAA,OAAA,CAAA,aAAA,CAAA;;AAGA,IAAM,SAAS,gBAAG,mBAAA,SAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AA4CA;;AAEG;;;AACI,IAAM,sBAAsB,GAAG,UAAC,KAAD,EAA0B;AAC9D,MAAM,MAAM,GAAG,SAAS,EAAxB;AACA,EAAA,KAAK,CAAC,IAAN,CAAW,SAAX,GAAuB,mBAAA,CAAA,YAAA,CACrB,MAAM,CAAC,IADc,EAErB,CAAC,KAAK,CAAC,MAAN,KAAiB,MAAjB,IAA2B,KAAK,CAAC,MAAN,KAAiB,cAA7C,KAAgE,MAAM,CAAC,UAFlD,EAGrB,KAAK,CAAC,MAAN,KAAiB,MAAjB,IAA2B,MAAM,CAAC,UAHb,EAIrB,KAAK,CAAC,MAAN,KAAiB,WAAjB,IAAgC,MAAM,CAAC,eAJlB,EAKrB,KAAK,CAAC,MAAN,KAAiB,SAAjB,IAA8B,MAAM,CAAC,aALhB,EAMrB,KAAK,CAA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O,OAAA,CAAA,cAAA,CAAe,KAAf,CAAP;AACD,CAnBM;;AAAM,OAAA,CAAA,sBAAA,GAAsB,sBAAtB","sourceRoot":""}
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
 
7
- var tslib_1 = /*#__PURE__*/require("tslib");
7
+ const tslib_1 = /*#__PURE__*/require("tslib");
8
8
 
9
9
  tslib_1.__exportStar(require("./components/Badge/index"), exports);
10
10