@fluentui/react-badge 9.1.4 → 9.1.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (115) hide show
  1. package/.swcrc +30 -0
  2. package/CHANGELOG.json +73 -1
  3. package/CHANGELOG.md +27 -2
  4. package/lib/Badge.js.map +1 -1
  5. package/lib/CounterBadge.js.map +1 -1
  6. package/lib/PresenceBadge.js.map +1 -1
  7. package/lib/components/Badge/Badge.js.map +1 -1
  8. package/lib/components/Badge/Badge.types.js.map +1 -1
  9. package/lib/components/Badge/index.js.map +1 -1
  10. package/lib/components/Badge/renderBadge.js +1 -7
  11. package/lib/components/Badge/renderBadge.js.map +1 -1
  12. package/lib/components/Badge/useBadge.js +1 -0
  13. package/lib/components/Badge/useBadge.js.map +1 -1
  14. package/lib/components/Badge/useBadgeStyles.js.map +1 -1
  15. package/lib/components/CounterBadge/CounterBadge.js.map +1 -1
  16. package/lib/components/CounterBadge/CounterBadge.types.js.map +1 -1
  17. package/lib/components/CounterBadge/index.js.map +1 -1
  18. package/lib/components/CounterBadge/useCounterBadge.js +1 -0
  19. package/lib/components/CounterBadge/useCounterBadge.js.map +1 -1
  20. package/lib/components/CounterBadge/useCounterBadgeStyles.js.map +1 -1
  21. package/lib/components/PresenceBadge/PresenceBadge.js.map +1 -1
  22. package/lib/components/PresenceBadge/PresenceBadge.types.js.map +1 -1
  23. package/lib/components/PresenceBadge/index.js.map +1 -1
  24. package/lib/components/PresenceBadge/presenceIcons.js +34 -41
  25. package/lib/components/PresenceBadge/presenceIcons.js.map +1 -1
  26. package/lib/components/PresenceBadge/usePresenceBadge.js +2 -2
  27. package/lib/components/PresenceBadge/usePresenceBadge.js.map +1 -1
  28. package/lib/components/PresenceBadge/usePresenceBadgeStyles.js +1 -1
  29. package/lib/components/PresenceBadge/usePresenceBadgeStyles.js.map +1 -1
  30. package/lib/index.js.map +1 -1
  31. package/lib-commonjs/Badge.js +5 -4
  32. package/lib-commonjs/Badge.js.map +1 -1
  33. package/lib-commonjs/CounterBadge.js +5 -4
  34. package/lib-commonjs/CounterBadge.js.map +1 -1
  35. package/lib-commonjs/PresenceBadge.js +5 -4
  36. package/lib-commonjs/PresenceBadge.js.map +1 -1
  37. package/lib-commonjs/components/Badge/Badge.js +19 -20
  38. package/lib-commonjs/components/Badge/Badge.js.map +1 -1
  39. package/lib-commonjs/components/Badge/Badge.types.js +3 -2
  40. package/lib-commonjs/components/Badge/Badge.types.js.map +1 -1
  41. package/lib-commonjs/components/Badge/index.js +8 -7
  42. package/lib-commonjs/components/Badge/index.js.map +1 -1
  43. package/lib-commonjs/components/Badge/renderBadge.js +13 -19
  44. package/lib-commonjs/components/Badge/renderBadge.js.map +1 -1
  45. package/lib-commonjs/components/Badge/useBadge.js +29 -34
  46. package/lib-commonjs/components/Badge/useBadge.js.map +1 -1
  47. package/lib-commonjs/components/Badge/useBadgeStyles.js +608 -310
  48. package/lib-commonjs/components/Badge/useBadgeStyles.js.map +1 -1
  49. package/lib-commonjs/components/CounterBadge/CounterBadge.js +19 -20
  50. package/lib-commonjs/components/CounterBadge/CounterBadge.js.map +1 -1
  51. package/lib-commonjs/components/CounterBadge/CounterBadge.types.js +3 -2
  52. package/lib-commonjs/components/CounterBadge/CounterBadge.types.js.map +1 -1
  53. package/lib-commonjs/components/CounterBadge/index.js +8 -7
  54. package/lib-commonjs/components/CounterBadge/index.js.map +1 -1
  55. package/lib-commonjs/components/CounterBadge/useCounterBadge.js +24 -30
  56. package/lib-commonjs/components/CounterBadge/useCounterBadge.js.map +1 -1
  57. package/lib-commonjs/components/CounterBadge/useCounterBadgeStyles.js +54 -34
  58. package/lib-commonjs/components/CounterBadge/useCounterBadgeStyles.js.map +1 -1
  59. package/lib-commonjs/components/PresenceBadge/PresenceBadge.js +19 -20
  60. package/lib-commonjs/components/PresenceBadge/PresenceBadge.js.map +1 -1
  61. package/lib-commonjs/components/PresenceBadge/PresenceBadge.types.js +3 -2
  62. package/lib-commonjs/components/PresenceBadge/PresenceBadge.types.js.map +1 -1
  63. package/lib-commonjs/components/PresenceBadge/index.js +8 -7
  64. package/lib-commonjs/components/PresenceBadge/index.js.map +1 -1
  65. package/lib-commonjs/components/PresenceBadge/presenceIcons.js +146 -134
  66. package/lib-commonjs/components/PresenceBadge/presenceIcons.js.map +1 -1
  67. package/lib-commonjs/components/PresenceBadge/usePresenceBadge.js +61 -65
  68. package/lib-commonjs/components/PresenceBadge/usePresenceBadge.js.map +1 -1
  69. package/lib-commonjs/components/PresenceBadge/usePresenceBadgeStyles.js +102 -78
  70. package/lib-commonjs/components/PresenceBadge/usePresenceBadgeStyles.js.map +1 -1
  71. package/lib-commonjs/index.js +28 -85
  72. package/lib-commonjs/index.js.map +1 -1
  73. package/package.json +9 -8
  74. package/lib-amd/Badge.js +0 -6
  75. package/lib-amd/Badge.js.map +0 -1
  76. package/lib-amd/CounterBadge.js +0 -6
  77. package/lib-amd/CounterBadge.js.map +0 -1
  78. package/lib-amd/PresenceBadge.js +0 -6
  79. package/lib-amd/PresenceBadge.js.map +0 -1
  80. package/lib-amd/components/Badge/Badge.js +0 -17
  81. package/lib-amd/components/Badge/Badge.js.map +0 -1
  82. package/lib-amd/components/Badge/Badge.types.js +0 -5
  83. package/lib-amd/components/Badge/Badge.types.js.map +0 -1
  84. package/lib-amd/components/Badge/index.js +0 -9
  85. package/lib-amd/components/Badge/index.js.map +0 -1
  86. package/lib-amd/components/Badge/renderBadge.js +0 -14
  87. package/lib-amd/components/Badge/renderBadge.js.map +0 -1
  88. package/lib-amd/components/Badge/useBadge.js +0 -27
  89. package/lib-amd/components/Badge/useBadge.js.map +0 -1
  90. package/lib-amd/components/Badge/useBadgeStyles.js +0 -212
  91. package/lib-amd/components/Badge/useBadgeStyles.js.map +0 -1
  92. package/lib-amd/components/CounterBadge/CounterBadge.js +0 -17
  93. package/lib-amd/components/CounterBadge/CounterBadge.js.map +0 -1
  94. package/lib-amd/components/CounterBadge/CounterBadge.types.js +0 -5
  95. package/lib-amd/components/CounterBadge/CounterBadge.types.js.map +0 -1
  96. package/lib-amd/components/CounterBadge/index.js +0 -9
  97. package/lib-amd/components/CounterBadge/index.js.map +0 -1
  98. package/lib-amd/components/CounterBadge/useCounterBadge.js +0 -18
  99. package/lib-amd/components/CounterBadge/useCounterBadge.js.map +0 -1
  100. package/lib-amd/components/CounterBadge/useCounterBadgeStyles.js +0 -28
  101. package/lib-amd/components/CounterBadge/useCounterBadgeStyles.js.map +0 -1
  102. package/lib-amd/components/PresenceBadge/PresenceBadge.js +0 -17
  103. package/lib-amd/components/PresenceBadge/PresenceBadge.js.map +0 -1
  104. package/lib-amd/components/PresenceBadge/PresenceBadge.types.js +0 -5
  105. package/lib-amd/components/PresenceBadge/PresenceBadge.types.js.map +0 -1
  106. package/lib-amd/components/PresenceBadge/index.js +0 -9
  107. package/lib-amd/components/PresenceBadge/index.js.map +0 -1
  108. package/lib-amd/components/PresenceBadge/presenceIcons.js +0 -146
  109. package/lib-amd/components/PresenceBadge/presenceIcons.js.map +0 -1
  110. package/lib-amd/components/PresenceBadge/usePresenceBadge.js +0 -53
  111. package/lib-amd/components/PresenceBadge/usePresenceBadge.js.map +0 -1
  112. package/lib-amd/components/PresenceBadge/usePresenceBadgeStyles.js +0 -101
  113. package/lib-amd/components/PresenceBadge/usePresenceBadgeStyles.js.map +0 -1
  114. package/lib-amd/index.js +0 -19
  115. package/lib-amd/index.js.map +0 -1
@@ -1,148 +1,160 @@
1
1
  "use strict";
2
-
3
2
  Object.defineProperty(exports, "__esModule", {
4
- value: true
3
+ value: true
4
+ });
5
+ function _export(target, all) {
6
+ for(var name in all)Object.defineProperty(target, name, {
7
+ enumerable: true,
8
+ get: all[name]
9
+ });
10
+ }
11
+ _export(exports, {
12
+ presenceAwayRegular: ()=>presenceAwayRegular,
13
+ presenceAwayFilled: ()=>presenceAwayFilled,
14
+ presenceAvailableRegular: ()=>presenceAvailableRegular,
15
+ presenceAvailableFilled: ()=>presenceAvailableFilled,
16
+ presenceBlockedRegular: ()=>presenceBlockedRegular,
17
+ presenceBusyFilled: ()=>presenceBusyFilled,
18
+ presenceDndFilled: ()=>presenceDndFilled,
19
+ presenceDndRegular: ()=>presenceDndRegular,
20
+ presenceOofRegular: ()=>presenceOofRegular,
21
+ presenceOfflineRegular: ()=>presenceOfflineRegular,
22
+ presenceUnknownRegular: ()=>presenceUnknownRegular
5
23
  });
6
- exports.presenceUnknownRegular = exports.presenceOfflineRegular = exports.presenceOofRegular = exports.presenceDndRegular = exports.presenceDndFilled = exports.presenceBusyFilled = exports.presenceBlockedRegular = exports.presenceAvailableFilled = exports.presenceAvailableRegular = exports.presenceAwayFilled = void 0;
7
- const react_icons_1 = /*#__PURE__*/require("@fluentui/react-icons");
8
- exports.presenceAwayFilled = {
9
- // FIXME not all presence icon sizes are available
10
- // https://github.com/microsoft/fluentui/issues/20650
11
- tiny: react_icons_1.PresenceAway10Filled,
12
- 'extra-small': react_icons_1.PresenceAway10Filled,
13
- small: react_icons_1.PresenceAway12Filled,
14
- medium: react_icons_1.PresenceAway16Filled,
15
- // FIXME not all presence icon sizes are available
16
- // https://github.com/microsoft/fluentui/issues/20650
17
- large: react_icons_1.PresenceAway16Filled,
18
- // FIXME not all presence icon sizes are available
19
- // https://github.com/microsoft/fluentui/issues/20650
20
- 'extra-large': react_icons_1.PresenceAway16Filled
24
+ const _interopRequireWildcard = require("@swc/helpers/lib/_interop_require_wildcard.js").default;
25
+ const _react = /*#__PURE__*/ _interopRequireWildcard(require("react"));
26
+ const _reactIcons = require("@fluentui/react-icons");
27
+ const presenceAwayRegular = {
28
+ // FIXME not all presence icon sizes are available
29
+ // https://github.com/microsoft/fluentui/issues/20650
30
+ tiny: _reactIcons.PresenceAway10Regular,
31
+ 'extra-small': _reactIcons.PresenceAway10Regular,
32
+ small: _reactIcons.PresenceAway12Regular,
33
+ medium: _reactIcons.PresenceAway16Regular,
34
+ large: _reactIcons.PresenceAway20Regular,
35
+ // FIXME not all presence icon sizes are available
36
+ // https://github.com/microsoft/fluentui/issues/20650
37
+ 'extra-large': _reactIcons.PresenceAway20Regular
21
38
  };
22
- exports.presenceAvailableRegular = {
23
- // FIXME not all presence icon sizes are available
24
- // https://github.com/microsoft/fluentui/issues/20650
25
- tiny: react_icons_1.PresenceAvailable10Regular,
26
- 'extra-small': react_icons_1.PresenceAvailable10Regular,
27
- small: react_icons_1.PresenceAvailable12Regular,
28
- medium: react_icons_1.PresenceAvailable16Regular,
29
- // FIXME not all presence icon sizes are available
30
- // https://github.com/microsoft/fluentui/issues/20650
31
- large: react_icons_1.PresenceAvailable16Regular,
32
- // FIXME not all presence icon sizes are available
33
- // https://github.com/microsoft/fluentui/issues/20650
34
- 'extra-large': react_icons_1.PresenceAvailable16Regular
39
+ const presenceAwayFilled = {
40
+ // FIXME not all presence icon sizes are available
41
+ // https://github.com/microsoft/fluentui/issues/20650
42
+ tiny: _reactIcons.PresenceAway10Filled,
43
+ 'extra-small': _reactIcons.PresenceAway10Filled,
44
+ small: _reactIcons.PresenceAway12Filled,
45
+ medium: _reactIcons.PresenceAway16Filled,
46
+ large: _reactIcons.PresenceAway20Filled,
47
+ // FIXME not all presence icon sizes are available
48
+ // https://github.com/microsoft/fluentui/issues/20650
49
+ 'extra-large': _reactIcons.PresenceAway20Filled
35
50
  };
36
- exports.presenceAvailableFilled = {
37
- // FIXME not all presence icon sizes are available
38
- // https://github.com/microsoft/fluentui/issues/20650
39
- tiny: react_icons_1.PresenceAvailable10Filled,
40
- 'extra-small': react_icons_1.PresenceAvailable10Filled,
41
- small: react_icons_1.PresenceAvailable12Filled,
42
- medium: react_icons_1.PresenceAvailable16Filled,
43
- // FIXME not all presence icon sizes are available
44
- // https://github.com/microsoft/fluentui/issues/20650
45
- large: react_icons_1.PresenceAvailable16Filled,
46
- // FIXME not all presence icon sizes are available
47
- // https://github.com/microsoft/fluentui/issues/20650
48
- 'extra-large': react_icons_1.PresenceAvailable16Filled
51
+ const presenceAvailableRegular = {
52
+ // FIXME not all presence icon sizes are available
53
+ // https://github.com/microsoft/fluentui/issues/20650
54
+ tiny: _reactIcons.PresenceAvailable10Regular,
55
+ 'extra-small': _reactIcons.PresenceAvailable10Regular,
56
+ small: _reactIcons.PresenceAvailable12Regular,
57
+ medium: _reactIcons.PresenceAvailable16Regular,
58
+ large: _reactIcons.PresenceAvailable20Regular,
59
+ // FIXME not all presence icon sizes are available
60
+ // https://github.com/microsoft/fluentui/issues/20650
61
+ 'extra-large': _reactIcons.PresenceAvailable20Regular
49
62
  };
50
- exports.presenceBlockedRegular = {
51
- // FIXME not all presence icon sizes are available
52
- // https://github.com/microsoft/fluentui/issues/20650
53
- tiny: react_icons_1.PresenceBlocked10Regular,
54
- 'extra-small': react_icons_1.PresenceBlocked10Regular,
55
- small: react_icons_1.PresenceBlocked12Regular,
56
- medium: react_icons_1.PresenceBlocked16Regular,
57
- // FIXME not all presence icon sizes are available
58
- // https://github.com/microsoft/fluentui/issues/20650
59
- large: react_icons_1.PresenceBlocked16Regular,
60
- // FIXME not all presence icon sizes are available
61
- // https://github.com/microsoft/fluentui/issues/20650
62
- 'extra-large': react_icons_1.PresenceBlocked16Regular
63
+ const presenceAvailableFilled = {
64
+ // FIXME not all presence icon sizes are available
65
+ // https://github.com/microsoft/fluentui/issues/20650
66
+ tiny: _reactIcons.PresenceAvailable10Filled,
67
+ 'extra-small': _reactIcons.PresenceAvailable10Filled,
68
+ small: _reactIcons.PresenceAvailable12Filled,
69
+ medium: _reactIcons.PresenceAvailable16Filled,
70
+ large: _reactIcons.PresenceAvailable20Filled,
71
+ // FIXME not all presence icon sizes are available
72
+ // https://github.com/microsoft/fluentui/issues/20650
73
+ 'extra-large': _reactIcons.PresenceAvailable20Filled
63
74
  };
64
- exports.presenceBusyFilled = {
65
- // FIXME not all presence icon sizes are available
66
- // https://github.com/microsoft/fluentui/issues/20650
67
- tiny: react_icons_1.PresenceBusy10Filled,
68
- 'extra-small': react_icons_1.PresenceBusy10Filled,
69
- small: react_icons_1.PresenceBusy12Filled,
70
- medium: react_icons_1.PresenceBusy16Filled,
71
- // FIXME not all presence icon sizes are available
72
- // https://github.com/microsoft/fluentui/issues/20650
73
- large: react_icons_1.PresenceBusy16Filled,
74
- // FIXME not all presence icon sizes are available
75
- // https://github.com/microsoft/fluentui/issues/20650
76
- 'extra-large': react_icons_1.PresenceBusy16Filled
75
+ const presenceBlockedRegular = {
76
+ // FIXME not all presence icon sizes are available
77
+ // https://github.com/microsoft/fluentui/issues/20650
78
+ tiny: _reactIcons.PresenceBlocked10Regular,
79
+ 'extra-small': _reactIcons.PresenceBlocked10Regular,
80
+ small: _reactIcons.PresenceBlocked12Regular,
81
+ medium: _reactIcons.PresenceBlocked16Regular,
82
+ large: _reactIcons.PresenceBlocked20Regular,
83
+ // FIXME not all presence icon sizes are available
84
+ // https://github.com/microsoft/fluentui/issues/20650
85
+ 'extra-large': _reactIcons.PresenceBlocked20Regular
77
86
  };
78
- exports.presenceDndFilled = {
79
- // FIXME not all presence icon sizes are available
80
- // https://github.com/microsoft/fluentui/issues/20650
81
- tiny: react_icons_1.PresenceDnd10Filled,
82
- 'extra-small': react_icons_1.PresenceDnd10Filled,
83
- small: react_icons_1.PresenceDnd12Filled,
84
- medium: react_icons_1.PresenceDnd16Filled,
85
- // FIXME not all presence icon sizes are available
86
- // https://github.com/microsoft/fluentui/issues/20650
87
- large: react_icons_1.PresenceDnd16Filled,
88
- // FIXME not all presence icon sizes are available
89
- // https://github.com/microsoft/fluentui/issues/20650
90
- 'extra-large': react_icons_1.PresenceDnd16Filled
87
+ const presenceBusyFilled = {
88
+ // FIXME not all presence icon sizes are available
89
+ // https://github.com/microsoft/fluentui/issues/20650
90
+ tiny: _reactIcons.PresenceBusy10Filled,
91
+ 'extra-small': _reactIcons.PresenceBusy10Filled,
92
+ small: _reactIcons.PresenceBusy12Filled,
93
+ medium: _reactIcons.PresenceBusy16Filled,
94
+ large: _reactIcons.PresenceBusy20Filled,
95
+ // FIXME not all presence icon sizes are available
96
+ // https://github.com/microsoft/fluentui/issues/20650
97
+ 'extra-large': _reactIcons.PresenceBusy20Filled
91
98
  };
92
- exports.presenceDndRegular = {
93
- // FIXME not all presence icon sizes are available
94
- // https://github.com/microsoft/fluentui/issues/20650
95
- tiny: react_icons_1.PresenceDnd10Regular,
96
- 'extra-small': react_icons_1.PresenceDnd10Regular,
97
- small: react_icons_1.PresenceDnd12Regular,
98
- medium: react_icons_1.PresenceDnd16Regular,
99
- // FIXME not all presence icon sizes are available
100
- // https://github.com/microsoft/fluentui/issues/20650
101
- large: react_icons_1.PresenceDnd16Regular,
102
- // FIXME not all presence icon sizes are available
103
- // https://github.com/microsoft/fluentui/issues/20650
104
- 'extra-large': react_icons_1.PresenceDnd16Regular
99
+ const presenceDndFilled = {
100
+ // FIXME not all presence icon sizes are available
101
+ // https://github.com/microsoft/fluentui/issues/20650
102
+ tiny: _reactIcons.PresenceDnd10Filled,
103
+ 'extra-small': _reactIcons.PresenceDnd10Filled,
104
+ small: _reactIcons.PresenceDnd12Filled,
105
+ medium: _reactIcons.PresenceDnd16Filled,
106
+ large: _reactIcons.PresenceDnd20Filled,
107
+ // FIXME not all presence icon sizes are available
108
+ // https://github.com/microsoft/fluentui/issues/20650
109
+ 'extra-large': _reactIcons.PresenceDnd20Filled
105
110
  };
106
- exports.presenceOofRegular = {
107
- // FIXME not all presence icon sizes are available
108
- // https://github.com/microsoft/fluentui/issues/20650
109
- tiny: react_icons_1.PresenceOof10Regular,
110
- 'extra-small': react_icons_1.PresenceOof10Regular,
111
- small: react_icons_1.PresenceOof12Regular,
112
- medium: react_icons_1.PresenceOof16Regular,
113
- // FIXME not all presence icon sizes are available
114
- // https://github.com/microsoft/fluentui/issues/20650
115
- large: react_icons_1.PresenceOof16Regular,
116
- // FIXME not all presence icon sizes are available
117
- // https://github.com/microsoft/fluentui/issues/20650
118
- 'extra-large': react_icons_1.PresenceOof16Regular
111
+ const presenceDndRegular = {
112
+ // FIXME not all presence icon sizes are available
113
+ // https://github.com/microsoft/fluentui/issues/20650
114
+ tiny: _reactIcons.PresenceDnd10Regular,
115
+ 'extra-small': _reactIcons.PresenceDnd10Regular,
116
+ small: _reactIcons.PresenceDnd12Regular,
117
+ medium: _reactIcons.PresenceDnd16Regular,
118
+ large: _reactIcons.PresenceDnd20Regular,
119
+ // FIXME not all presence icon sizes are available
120
+ // https://github.com/microsoft/fluentui/issues/20650
121
+ 'extra-large': _reactIcons.PresenceDnd20Regular
119
122
  };
120
- exports.presenceOfflineRegular = {
121
- // FIXME not all presence icon sizes are available
122
- // https://github.com/microsoft/fluentui/issues/20650
123
- tiny: react_icons_1.PresenceOffline10Regular,
124
- 'extra-small': react_icons_1.PresenceOffline10Regular,
125
- small: react_icons_1.PresenceOffline12Regular,
126
- medium: react_icons_1.PresenceOffline16Regular,
127
- // FIXME not all presence icon sizes are available
128
- // https://github.com/microsoft/fluentui/issues/20650
129
- large: react_icons_1.PresenceOffline16Regular,
130
- // FIXME not all presence icon sizes are available
131
- // https://github.com/microsoft/fluentui/issues/20650
132
- 'extra-large': react_icons_1.PresenceOffline16Regular
123
+ const presenceOofRegular = {
124
+ // FIXME not all presence icon sizes are available
125
+ // https://github.com/microsoft/fluentui/issues/20650
126
+ tiny: _reactIcons.PresenceOof10Regular,
127
+ 'extra-small': _reactIcons.PresenceOof10Regular,
128
+ small: _reactIcons.PresenceOof12Regular,
129
+ medium: _reactIcons.PresenceOof16Regular,
130
+ large: _reactIcons.PresenceOof20Regular,
131
+ // FIXME not all presence icon sizes are available
132
+ // https://github.com/microsoft/fluentui/issues/20650
133
+ 'extra-large': _reactIcons.PresenceOof20Regular
133
134
  };
134
- exports.presenceUnknownRegular = {
135
- // FIXME not all presence icon sizes are available
136
- // https://github.com/microsoft/fluentui/issues/20650
137
- tiny: react_icons_1.PresenceUnknown10Regular,
138
- 'extra-small': react_icons_1.PresenceUnknown10Regular,
139
- small: react_icons_1.PresenceUnknown12Regular,
140
- medium: react_icons_1.PresenceUnknown16Regular,
141
- // FIXME not all presence icon sizes are available
142
- // https://github.com/microsoft/fluentui/issues/20650
143
- large: react_icons_1.PresenceUnknown16Regular,
144
- // FIXME not all presence icon sizes are available
145
- // https://github.com/microsoft/fluentui/issues/20650
146
- 'extra-large': react_icons_1.PresenceUnknown16Regular
135
+ const presenceOfflineRegular = {
136
+ // FIXME not all presence icon sizes are available
137
+ // https://github.com/microsoft/fluentui/issues/20650
138
+ tiny: _reactIcons.PresenceOffline10Regular,
139
+ 'extra-small': _reactIcons.PresenceOffline10Regular,
140
+ small: _reactIcons.PresenceOffline12Regular,
141
+ medium: _reactIcons.PresenceOffline16Regular,
142
+ large: _reactIcons.PresenceOffline20Regular,
143
+ // FIXME not all presence icon sizes are available
144
+ // https://github.com/microsoft/fluentui/issues/20650
145
+ 'extra-large': _reactIcons.PresenceOffline20Regular
147
146
  };
147
+ const presenceUnknownRegular = {
148
+ // FIXME not all presence icon sizes are available
149
+ // https://github.com/microsoft/fluentui/issues/20650
150
+ tiny: _reactIcons.PresenceUnknown10Regular,
151
+ 'extra-small': _reactIcons.PresenceUnknown10Regular,
152
+ small: _reactIcons.PresenceUnknown12Regular,
153
+ medium: _reactIcons.PresenceUnknown16Regular,
154
+ large: _reactIcons.PresenceUnknown20Regular,
155
+ // FIXME not all presence icon sizes are available
156
+ // https://github.com/microsoft/fluentui/issues/20650
157
+ 'extra-large': _reactIcons.PresenceUnknown20Regular
158
+ }; //# sourceMappingURL=presenceIcons.js.map
159
+
148
160
  //# sourceMappingURL=presenceIcons.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["react_icons_1","require","exports","presenceAwayFilled","tiny","PresenceAway10Filled","small","PresenceAway12Filled","medium","PresenceAway16Filled","large","presenceAvailableRegular","PresenceAvailable10Regular","PresenceAvailable12Regular","PresenceAvailable16Regular","presenceAvailableFilled","PresenceAvailable10Filled","PresenceAvailable12Filled","PresenceAvailable16Filled","presenceBlockedRegular","PresenceBlocked10Regular","PresenceBlocked12Regular","PresenceBlocked16Regular","presenceBusyFilled","PresenceBusy10Filled","PresenceBusy12Filled","PresenceBusy16Filled","presenceDndFilled","PresenceDnd10Filled","PresenceDnd12Filled","PresenceDnd16Filled","presenceDndRegular","PresenceDnd10Regular","PresenceDnd12Regular","PresenceDnd16Regular","presenceOofRegular","PresenceOof10Regular","PresenceOof12Regular","PresenceOof16Regular","presenceOfflineRegular","PresenceOffline10Regular","PresenceOffline12Regular","PresenceOffline16Regular","presenceUnknownRegular","PresenceUnknown10Regular","PresenceUnknown12Regular","PresenceUnknown16Regular"],"sources":["../src/packages/react-components/react-badge/src/components/PresenceBadge/presenceIcons.ts"],"sourcesContent":["import * as React from 'react';\nimport {\n PresenceAvailable10Regular,\n PresenceAvailable12Regular,\n PresenceAvailable16Regular,\n PresenceAvailable10Filled,\n PresenceAvailable12Filled,\n PresenceAvailable16Filled,\n PresenceAway10Filled,\n PresenceAway12Filled,\n PresenceAway16Filled,\n PresenceBlocked10Regular,\n PresenceBlocked12Regular,\n PresenceBlocked16Regular,\n PresenceBusy10Filled,\n PresenceBusy12Filled,\n PresenceBusy16Filled,\n PresenceDnd10Regular,\n PresenceDnd12Regular,\n PresenceDnd16Regular,\n PresenceDnd10Filled,\n PresenceDnd12Filled,\n PresenceDnd16Filled,\n PresenceOof10Regular,\n PresenceOof12Regular,\n PresenceOof16Regular,\n PresenceOffline10Regular,\n PresenceOffline12Regular,\n PresenceOffline16Regular,\n PresenceUnknown10Regular,\n PresenceUnknown12Regular,\n PresenceUnknown16Regular,\n} from '@fluentui/react-icons';\nimport type { PresenceBadgeState } from './PresenceBadge.types';\n\nexport const presenceAwayFilled: Record<PresenceBadgeState['size'], React.FunctionComponent> = {\n // FIXME not all presence icon sizes are available\n // https://github.com/microsoft/fluentui/issues/20650\n tiny: PresenceAway10Filled,\n 'extra-small': PresenceAway10Filled,\n small: PresenceAway12Filled,\n medium: PresenceAway16Filled,\n // FIXME not all presence icon sizes are available\n // https://github.com/microsoft/fluentui/issues/20650\n large: PresenceAway16Filled,\n // FIXME not all presence icon sizes are available\n // https://github.com/microsoft/fluentui/issues/20650\n 'extra-large': PresenceAway16Filled,\n};\n\nexport const presenceAvailableRegular: Record<PresenceBadgeState['size'], React.FunctionComponent> = {\n // FIXME not all presence icon sizes are available\n // https://github.com/microsoft/fluentui/issues/20650\n tiny: PresenceAvailable10Regular,\n 'extra-small': PresenceAvailable10Regular,\n small: PresenceAvailable12Regular,\n medium: PresenceAvailable16Regular,\n // FIXME not all presence icon sizes are available\n // https://github.com/microsoft/fluentui/issues/20650\n large: PresenceAvailable16Regular,\n // FIXME not all presence icon sizes are available\n // https://github.com/microsoft/fluentui/issues/20650\n 'extra-large': PresenceAvailable16Regular,\n};\n\nexport const presenceAvailableFilled: Record<PresenceBadgeState['size'], React.FunctionComponent> = {\n // FIXME not all presence icon sizes are available\n // https://github.com/microsoft/fluentui/issues/20650\n tiny: PresenceAvailable10Filled,\n 'extra-small': PresenceAvailable10Filled,\n small: PresenceAvailable12Filled,\n medium: PresenceAvailable16Filled,\n // FIXME not all presence icon sizes are available\n // https://github.com/microsoft/fluentui/issues/20650\n large: PresenceAvailable16Filled,\n // FIXME not all presence icon sizes are available\n // https://github.com/microsoft/fluentui/issues/20650\n 'extra-large': PresenceAvailable16Filled,\n};\n\nexport const presenceBlockedRegular: Record<PresenceBadgeState['size'], React.FunctionComponent> = {\n // FIXME not all presence icon sizes are available\n // https://github.com/microsoft/fluentui/issues/20650\n tiny: PresenceBlocked10Regular,\n 'extra-small': PresenceBlocked10Regular,\n small: PresenceBlocked12Regular,\n medium: PresenceBlocked16Regular,\n // FIXME not all presence icon sizes are available\n // https://github.com/microsoft/fluentui/issues/20650\n large: PresenceBlocked16Regular,\n // FIXME not all presence icon sizes are available\n // https://github.com/microsoft/fluentui/issues/20650\n 'extra-large': PresenceBlocked16Regular,\n};\n\nexport const presenceBusyFilled: Record<PresenceBadgeState['size'], React.FunctionComponent> = {\n // FIXME not all presence icon sizes are available\n // https://github.com/microsoft/fluentui/issues/20650\n tiny: PresenceBusy10Filled,\n 'extra-small': PresenceBusy10Filled,\n small: PresenceBusy12Filled,\n medium: PresenceBusy16Filled,\n // FIXME not all presence icon sizes are available\n // https://github.com/microsoft/fluentui/issues/20650\n large: PresenceBusy16Filled,\n // FIXME not all presence icon sizes are available\n // https://github.com/microsoft/fluentui/issues/20650\n 'extra-large': PresenceBusy16Filled,\n};\n\nexport const presenceDndFilled: Record<PresenceBadgeState['size'], React.FunctionComponent> = {\n // FIXME not all presence icon sizes are available\n // https://github.com/microsoft/fluentui/issues/20650\n tiny: PresenceDnd10Filled,\n 'extra-small': PresenceDnd10Filled,\n small: PresenceDnd12Filled,\n medium: PresenceDnd16Filled,\n // FIXME not all presence icon sizes are available\n // https://github.com/microsoft/fluentui/issues/20650\n large: PresenceDnd16Filled,\n // FIXME not all presence icon sizes are available\n // https://github.com/microsoft/fluentui/issues/20650\n 'extra-large': PresenceDnd16Filled,\n};\n\nexport const presenceDndRegular: Record<PresenceBadgeState['size'], React.FunctionComponent> = {\n // FIXME not all presence icon sizes are available\n // https://github.com/microsoft/fluentui/issues/20650\n tiny: PresenceDnd10Regular,\n 'extra-small': PresenceDnd10Regular,\n small: PresenceDnd12Regular,\n medium: PresenceDnd16Regular,\n // FIXME not all presence icon sizes are available\n // https://github.com/microsoft/fluentui/issues/20650\n large: PresenceDnd16Regular,\n // FIXME not all presence icon sizes are available\n // https://github.com/microsoft/fluentui/issues/20650\n 'extra-large': PresenceDnd16Regular,\n};\n\nexport const presenceOofRegular: Record<PresenceBadgeState['size'], React.FunctionComponent> = {\n // FIXME not all presence icon sizes are available\n // https://github.com/microsoft/fluentui/issues/20650\n tiny: PresenceOof10Regular,\n 'extra-small': PresenceOof10Regular,\n small: PresenceOof12Regular,\n medium: PresenceOof16Regular,\n // FIXME not all presence icon sizes are available\n // https://github.com/microsoft/fluentui/issues/20650\n large: PresenceOof16Regular,\n // FIXME not all presence icon sizes are available\n // https://github.com/microsoft/fluentui/issues/20650\n 'extra-large': PresenceOof16Regular,\n};\n\nexport const presenceOfflineRegular: Record<PresenceBadgeState['size'], React.FunctionComponent> = {\n // FIXME not all presence icon sizes are available\n // https://github.com/microsoft/fluentui/issues/20650\n tiny: PresenceOffline10Regular,\n 'extra-small': PresenceOffline10Regular,\n small: PresenceOffline12Regular,\n medium: PresenceOffline16Regular,\n // FIXME not all presence icon sizes are available\n // https://github.com/microsoft/fluentui/issues/20650\n large: PresenceOffline16Regular,\n // FIXME not all presence icon sizes are available\n // https://github.com/microsoft/fluentui/issues/20650\n 'extra-large': PresenceOffline16Regular,\n};\n\nexport const presenceUnknownRegular: Record<PresenceBadgeState['size'], React.FunctionComponent> = {\n // FIXME not all presence icon sizes are available\n // https://github.com/microsoft/fluentui/issues/20650\n tiny: PresenceUnknown10Regular,\n 'extra-small': PresenceUnknown10Regular,\n small: PresenceUnknown12Regular,\n medium: PresenceUnknown16Regular,\n // FIXME not all presence icon sizes are available\n // https://github.com/microsoft/fluentui/issues/20650\n large: PresenceUnknown16Regular,\n // FIXME not all presence icon sizes are available\n // https://github.com/microsoft/fluentui/issues/20650\n 'extra-large': PresenceUnknown16Regular,\n};\n"],"mappings":";;;;;;AACA,MAAAA,aAAA,gBAAAC,OAAA;AAkCaC,OAAA,CAAAC,kBAAkB,GAAgE;EAC7F;EACA;EACAC,IAAI,EAAEJ,aAAA,CAAAK,oBAAoB;EAC1B,aAAa,EAAEL,aAAA,CAAAK,oBAAoB;EACnCC,KAAK,EAAEN,aAAA,CAAAO,oBAAoB;EAC3BC,MAAM,EAAER,aAAA,CAAAS,oBAAoB;EAC5B;EACA;EACAC,KAAK,EAAEV,aAAA,CAAAS,oBAAoB;EAC3B;EACA;EACA,aAAa,EAAET,aAAA,CAAAS;CAChB;AAEYP,OAAA,CAAAS,wBAAwB,GAAgE;EACnG;EACA;EACAP,IAAI,EAAEJ,aAAA,CAAAY,0BAA0B;EAChC,aAAa,EAAEZ,aAAA,CAAAY,0BAA0B;EACzCN,KAAK,EAAEN,aAAA,CAAAa,0BAA0B;EACjCL,MAAM,EAAER,aAAA,CAAAc,0BAA0B;EAClC;EACA;EACAJ,KAAK,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AEJ,aAAA,CAAA4C,wBAAwB;EAC9B,aAAa,EAAE5C,aAAA,CAAA4C,wBAAwB;EACvCtC,KAAK,EAAEN,aAAA,CAAA6C,wBAAwB;EAC/BrC,MAAM,EAAER,aAAA,CAAA8C,wBAAwB;EAChC;EACA;EACApC,KAAK,EAAEV,aAAA,CAAA8C,wBAAwB;EAC/B;EACA;EACA,aAAa,EAAE9C,aAAA,CAAA8C;CAChB"}
1
+ {"version":3,"sources":["../../../lib/components/PresenceBadge/presenceIcons.js"],"sourcesContent":["import * as React from 'react';\nimport { PresenceAvailable10Regular, PresenceAvailable12Regular, PresenceAvailable16Regular, PresenceAvailable20Regular, PresenceAvailable10Filled, PresenceAvailable12Filled, PresenceAvailable16Filled, PresenceAvailable20Filled, PresenceAway10Regular, PresenceAway12Regular, PresenceAway16Regular, PresenceAway20Regular, PresenceAway10Filled, PresenceAway12Filled, PresenceAway16Filled, PresenceAway20Filled, PresenceBlocked10Regular, PresenceBlocked12Regular, PresenceBlocked16Regular, PresenceBlocked20Regular, PresenceBusy10Filled, PresenceBusy12Filled, PresenceBusy16Filled, PresenceBusy20Filled, PresenceDnd10Regular, PresenceDnd12Regular, PresenceDnd16Regular, PresenceDnd20Regular, PresenceDnd10Filled, PresenceDnd12Filled, PresenceDnd16Filled, PresenceDnd20Filled, PresenceOof10Regular, PresenceOof12Regular, PresenceOof16Regular, PresenceOof20Regular, PresenceOffline10Regular, PresenceOffline12Regular, PresenceOffline16Regular, PresenceOffline20Regular, PresenceUnknown10Regular, PresenceUnknown12Regular, PresenceUnknown16Regular, PresenceUnknown20Regular } from '@fluentui/react-icons';\nexport const presenceAwayRegular = {\n // FIXME not all presence icon sizes are available\n // https://github.com/microsoft/fluentui/issues/20650\n tiny: PresenceAway10Regular,\n 'extra-small': PresenceAway10Regular,\n small: PresenceAway12Regular,\n medium: PresenceAway16Regular,\n large: PresenceAway20Regular,\n // FIXME not all presence icon sizes are available\n // https://github.com/microsoft/fluentui/issues/20650\n 'extra-large': PresenceAway20Regular\n};\nexport const presenceAwayFilled = {\n // FIXME not all presence icon sizes are available\n // https://github.com/microsoft/fluentui/issues/20650\n tiny: PresenceAway10Filled,\n 'extra-small': PresenceAway10Filled,\n small: PresenceAway12Filled,\n medium: PresenceAway16Filled,\n large: PresenceAway20Filled,\n // FIXME not all presence icon sizes are available\n // https://github.com/microsoft/fluentui/issues/20650\n 'extra-large': PresenceAway20Filled\n};\nexport const presenceAvailableRegular = {\n // FIXME not all presence icon sizes are available\n // https://github.com/microsoft/fluentui/issues/20650\n tiny: PresenceAvailable10Regular,\n 'extra-small': PresenceAvailable10Regular,\n small: PresenceAvailable12Regular,\n medium: PresenceAvailable16Regular,\n large: PresenceAvailable20Regular,\n // FIXME not all presence icon sizes are available\n // https://github.com/microsoft/fluentui/issues/20650\n 'extra-large': PresenceAvailable20Regular\n};\nexport const presenceAvailableFilled = {\n // FIXME not all presence icon sizes are available\n // https://github.com/microsoft/fluentui/issues/20650\n tiny: PresenceAvailable10Filled,\n 'extra-small': PresenceAvailable10Filled,\n small: PresenceAvailable12Filled,\n medium: PresenceAvailable16Filled,\n large: PresenceAvailable20Filled,\n // FIXME not all presence icon sizes are available\n // https://github.com/microsoft/fluentui/issues/20650\n 'extra-large': PresenceAvailable20Filled\n};\nexport const presenceBlockedRegular = {\n // FIXME not all presence icon sizes are available\n // https://github.com/microsoft/fluentui/issues/20650\n tiny: PresenceBlocked10Regular,\n 'extra-small': PresenceBlocked10Regular,\n small: PresenceBlocked12Regular,\n medium: PresenceBlocked16Regular,\n large: PresenceBlocked20Regular,\n // FIXME not all presence icon sizes are available\n // https://github.com/microsoft/fluentui/issues/20650\n 'extra-large': PresenceBlocked20Regular\n};\nexport const presenceBusyFilled = {\n // FIXME not all presence icon sizes are available\n // https://github.com/microsoft/fluentui/issues/20650\n tiny: PresenceBusy10Filled,\n 'extra-small': PresenceBusy10Filled,\n small: PresenceBusy12Filled,\n medium: PresenceBusy16Filled,\n large: PresenceBusy20Filled,\n // FIXME not all presence icon sizes are available\n // https://github.com/microsoft/fluentui/issues/20650\n 'extra-large': PresenceBusy20Filled\n};\nexport const presenceDndFilled = {\n // FIXME not all presence icon sizes are available\n // https://github.com/microsoft/fluentui/issues/20650\n tiny: PresenceDnd10Filled,\n 'extra-small': PresenceDnd10Filled,\n small: PresenceDnd12Filled,\n medium: PresenceDnd16Filled,\n large: PresenceDnd20Filled,\n // FIXME not all presence icon sizes are available\n // https://github.com/microsoft/fluentui/issues/20650\n 'extra-large': PresenceDnd20Filled\n};\nexport const presenceDndRegular = {\n // FIXME not all presence icon sizes are available\n // https://github.com/microsoft/fluentui/issues/20650\n tiny: PresenceDnd10Regular,\n 'extra-small': PresenceDnd10Regular,\n small: PresenceDnd12Regular,\n medium: PresenceDnd16Regular,\n large: PresenceDnd20Regular,\n // FIXME not all presence icon sizes are available\n // https://github.com/microsoft/fluentui/issues/20650\n 'extra-large': PresenceDnd20Regular\n};\nexport const presenceOofRegular = {\n // FIXME not all presence icon sizes are available\n // https://github.com/microsoft/fluentui/issues/20650\n tiny: PresenceOof10Regular,\n 'extra-small': PresenceOof10Regular,\n small: PresenceOof12Regular,\n medium: PresenceOof16Regular,\n large: PresenceOof20Regular,\n // FIXME not all presence icon sizes are available\n // https://github.com/microsoft/fluentui/issues/20650\n 'extra-large': PresenceOof20Regular\n};\nexport const presenceOfflineRegular = {\n // FIXME not all presence icon sizes are available\n // https://github.com/microsoft/fluentui/issues/20650\n tiny: PresenceOffline10Regular,\n 'extra-small': PresenceOffline10Regular,\n small: PresenceOffline12Regular,\n medium: PresenceOffline16Regular,\n large: PresenceOffline20Regular,\n // FIXME not all presence icon sizes are available\n // https://github.com/microsoft/fluentui/issues/20650\n 'extra-large': PresenceOffline20Regular\n};\nexport const presenceUnknownRegular = {\n // FIXME not all presence icon sizes are available\n // https://github.com/microsoft/fluentui/issues/20650\n tiny: PresenceUnknown10Regular,\n 'extra-small': PresenceUnknown10Regular,\n small: PresenceUnknown12Regular,\n medium: PresenceUnknown16Regular,\n large: PresenceUnknown20Regular,\n // FIXME not all presence icon sizes are available\n // https://github.com/microsoft/fluentui/issues/20650\n 'extra-large': PresenceUnknown20Regular\n};\n//# sourceMappingURL=presenceIcons.js.map"],"names":["presenceAwayRegular","presenceAwayFilled","presenceAvailableRegular","presenceAvailableFilled","presenceBlockedRegular","presenceBusyFilled","presenceDndFilled","presenceDndRegular","presenceOofRegular","presenceOfflineRegular","presenceUnknownRegular","tiny","PresenceAway10Regular","small","PresenceAway12Regular","medium","PresenceAway16Regular","large","PresenceAway20Regular","PresenceAway10Filled","PresenceAway12Filled","PresenceAway16Filled","PresenceAway20Filled","PresenceAvailable10Regular","PresenceAvailable12Regular","PresenceAvailable16Regular","PresenceAvailable20Regular","PresenceAvailable10Filled","PresenceAvailable12Filled","PresenceAvailable16Filled","PresenceAvailable20Filled","PresenceBlocked10Regular","PresenceBlocked12Regular","PresenceBlocked16Regular","PresenceBlocked20Regular","PresenceBusy10Filled","PresenceBusy12Filled","PresenceBusy16Filled","PresenceBusy20Filled","PresenceDnd10Filled","PresenceDnd12Filled","PresenceDnd16Filled","PresenceDnd20Filled","PresenceDnd10Regular","PresenceDnd12Regular","PresenceDnd16Regular","PresenceDnd20Regular","PresenceOof10Regular","PresenceOof12Regular","PresenceOof16Regular","PresenceOof20Regular","PresenceOffline10Regular","PresenceOffline12Regular","PresenceOffline16Regular","PresenceOffline20Regular","PresenceUnknown10Regular","PresenceUnknown12Regular","PresenceUnknown16Regular","PresenceUnknown20Regular"],"mappings":";;;;;;;;;;;IAEaA,mBAAmB,MAAnBA;IAYAC,kBAAkB,MAAlBA;IAYAC,wBAAwB,MAAxBA;IAYAC,uBAAuB,MAAvBA;IAYAC,sBAAsB,MAAtBA;IAYAC,kBAAkB,MAAlBA;IAYAC,iBAAiB,MAAjBA;IAYAC,kBAAkB,MAAlBA;IAYAC,kBAAkB,MAAlBA;IAYAC,sBAAsB,MAAtBA;IAYAC,sBAAsB,MAAtBA;;;6DA1HU;4BAC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AAOyC,oCAAwB;IAC/B,kDAAkD;IAClD,qDAAqD;IACrD,eAAeA,oCAAwB;AACzC,GACA,yCAAyC"}
@@ -1,72 +1,68 @@
1
1
  "use strict";
2
-
3
2
  Object.defineProperty(exports, "__esModule", {
4
- value: true
3
+ value: true
4
+ });
5
+ Object.defineProperty(exports, "usePresenceBadge_unstable", {
6
+ enumerable: true,
7
+ get: ()=>usePresenceBadge_unstable
5
8
  });
6
- exports.usePresenceBadge_unstable = void 0;
7
- const React = /*#__PURE__*/require("react");
8
- const react_utilities_1 = /*#__PURE__*/require("@fluentui/react-utilities");
9
- const presenceIcons_1 = /*#__PURE__*/require("./presenceIcons");
10
- const index_1 = /*#__PURE__*/require("../Badge/index");
11
- const iconMap = (status, outOfOffice, size) => {
12
- switch (status) {
13
- case 'available':
14
- return outOfOffice ? presenceIcons_1.presenceAvailableRegular[size] : presenceIcons_1.presenceAvailableFilled[size];
15
- case 'away':
16
- return outOfOffice ? presenceIcons_1.presenceOofRegular[size] : presenceIcons_1.presenceAwayFilled[size];
17
- case 'blocked':
18
- return presenceIcons_1.presenceBlockedRegular[size];
19
- case 'busy':
20
- return outOfOffice ? presenceIcons_1.presenceUnknownRegular[size] : presenceIcons_1.presenceBusyFilled[size];
21
- case 'do-not-disturb':
22
- return outOfOffice ? presenceIcons_1.presenceDndRegular[size] : presenceIcons_1.presenceDndFilled[size];
23
- case 'offline':
24
- return presenceIcons_1.presenceOfflineRegular[size];
25
- case 'out-of-office':
26
- return presenceIcons_1.presenceOofRegular[size];
27
- case 'unknown':
28
- return presenceIcons_1.presenceUnknownRegular[size];
29
- }
9
+ const _interopRequireWildcard = require("@swc/helpers/lib/_interop_require_wildcard.js").default;
10
+ const _react = /*#__PURE__*/ _interopRequireWildcard(require("react"));
11
+ const _reactUtilities = require("@fluentui/react-utilities");
12
+ const _presenceIcons = require("./presenceIcons");
13
+ const _index = require("../Badge/index");
14
+ const iconMap = (status, outOfOffice, size)=>{
15
+ switch(status){
16
+ case 'available':
17
+ return outOfOffice ? _presenceIcons.presenceAvailableRegular[size] : _presenceIcons.presenceAvailableFilled[size];
18
+ case 'away':
19
+ return outOfOffice ? _presenceIcons.presenceAwayRegular[size] : _presenceIcons.presenceAwayFilled[size];
20
+ case 'blocked':
21
+ return _presenceIcons.presenceBlockedRegular[size];
22
+ case 'busy':
23
+ return outOfOffice ? _presenceIcons.presenceUnknownRegular[size] : _presenceIcons.presenceBusyFilled[size];
24
+ case 'do-not-disturb':
25
+ return outOfOffice ? _presenceIcons.presenceDndRegular[size] : _presenceIcons.presenceDndFilled[size];
26
+ case 'offline':
27
+ return _presenceIcons.presenceOfflineRegular[size];
28
+ case 'out-of-office':
29
+ return _presenceIcons.presenceOofRegular[size];
30
+ case 'unknown':
31
+ return _presenceIcons.presenceUnknownRegular[size];
32
+ }
30
33
  };
31
34
  const DEFAULT_STRINGS = {
32
- busy: 'busy',
33
- 'out-of-office': 'out of office',
34
- away: 'away',
35
- available: 'available',
36
- offline: 'offline',
37
- 'do-not-disturb': 'do not disturb',
38
- unknown: 'unknown',
39
- blocked: 'blocked'
35
+ busy: 'busy',
36
+ 'out-of-office': 'out of office',
37
+ away: 'away',
38
+ available: 'available',
39
+ offline: 'offline',
40
+ 'do-not-disturb': 'do not disturb',
41
+ unknown: 'unknown',
42
+ blocked: 'blocked'
40
43
  };
41
- /**
42
- * Returns the props and state required to render the component
43
- */
44
- const usePresenceBadge_unstable = (props, ref) => {
45
- const {
46
- size = 'medium',
47
- status = 'available',
48
- outOfOffice = false
49
- } = props;
50
- const statusText = DEFAULT_STRINGS[status];
51
- const oofText = props.outOfOffice && props.status !== 'out-of-office' ? ` ${DEFAULT_STRINGS['out-of-office']}` : '';
52
- const IconElement = iconMap(status, outOfOffice, size);
53
- const state = {
54
- ...index_1.useBadge_unstable({
55
- 'aria-label': statusText + oofText,
56
- role: 'img',
57
- ...props,
58
- size,
59
- icon: react_utilities_1.resolveShorthand(props.icon, {
60
- defaultProps: {
61
- children: IconElement ? React.createElement(IconElement, null) : null
62
- },
63
- required: true
64
- })
65
- }, ref),
66
- status,
67
- outOfOffice
68
- };
69
- return state;
70
- };
71
- exports.usePresenceBadge_unstable = usePresenceBadge_unstable;
44
+ const usePresenceBadge_unstable = (props, ref)=>{
45
+ const { size ='medium' , status ='available' , outOfOffice =false } = props;
46
+ const statusText = DEFAULT_STRINGS[status];
47
+ const oofText = props.outOfOffice && props.status !== 'out-of-office' ? ` ${DEFAULT_STRINGS['out-of-office']}` : '';
48
+ const IconElement = iconMap(status, outOfOffice, size);
49
+ const state = {
50
+ ...(0, _index.useBadge_unstable)({
51
+ 'aria-label': statusText + oofText,
52
+ role: 'img',
53
+ ...props,
54
+ size,
55
+ icon: (0, _reactUtilities.resolveShorthand)(props.icon, {
56
+ defaultProps: {
57
+ children: IconElement ? /*#__PURE__*/ _react.createElement(IconElement, null) : null
58
+ },
59
+ required: true
60
+ })
61
+ }, ref),
62
+ status,
63
+ outOfOffice
64
+ };
65
+ return state;
66
+ }; //# sourceMappingURL=usePresenceBadge.js.map
67
+
72
68
  //# sourceMappingURL=usePresenceBadge.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["React","require","react_utilities_1","presenceIcons_1","index_1","iconMap","status","outOfOffice","size","presenceAvailableRegular","presenceAvailableFilled","presenceOofRegular","presenceAwayFilled","presenceBlockedRegular","presenceUnknownRegular","presenceBusyFilled","presenceDndRegular","presenceDndFilled","presenceOfflineRegular","DEFAULT_STRINGS","busy","away","available","offline","unknown","blocked","usePresenceBadge_unstable","props","ref","statusText","oofText","IconElement","state","useBadge_unstable","role","icon","resolveShorthand","defaultProps","children","createElement","required","exports"],"sources":["../src/packages/react-components/react-badge/src/components/PresenceBadge/usePresenceBadge.tsx"],"sourcesContent":["import * as React from 'react';\nimport { resolveShorthand } from '@fluentui/react-utilities';\nimport {\n presenceAvailableFilled,\n presenceAvailableRegular,\n presenceAwayFilled,\n presenceBlockedRegular,\n presenceBusyFilled,\n presenceDndFilled,\n presenceDndRegular,\n presenceOfflineRegular,\n presenceOofRegular,\n presenceUnknownRegular,\n} from './presenceIcons';\nimport { useBadge_unstable } from '../Badge/index';\nimport type { PresenceBadgeProps, PresenceBadgeState } from './PresenceBadge.types';\n\nconst iconMap = (status: PresenceBadgeState['status'], outOfOffice: boolean, size: PresenceBadgeState['size']) => {\n switch (status) {\n case 'available':\n return outOfOffice ? presenceAvailableRegular[size] : presenceAvailableFilled[size];\n case 'away':\n return outOfOffice ? presenceOofRegular[size] : presenceAwayFilled[size];\n case 'blocked':\n return presenceBlockedRegular[size];\n case 'busy':\n return outOfOffice ? presenceUnknownRegular[size] : presenceBusyFilled[size];\n case 'do-not-disturb':\n return outOfOffice ? presenceDndRegular[size] : presenceDndFilled[size];\n case 'offline':\n return presenceOfflineRegular[size];\n case 'out-of-office':\n return presenceOofRegular[size];\n case 'unknown':\n return presenceUnknownRegular[size];\n }\n};\n\nconst DEFAULT_STRINGS = {\n busy: 'busy',\n 'out-of-office': 'out of office',\n away: 'away',\n available: 'available',\n offline: 'offline',\n 'do-not-disturb': 'do not disturb',\n unknown: 'unknown',\n blocked: 'blocked',\n};\n\n/**\n * Returns the props and state required to render the component\n */\nexport const usePresenceBadge_unstable = (\n props: PresenceBadgeProps,\n ref: React.Ref<HTMLElement>,\n): PresenceBadgeState => {\n const { size = 'medium', status = 'available', outOfOffice = false } = props;\n\n const statusText = DEFAULT_STRINGS[status];\n const oofText = props.outOfOffice && props.status !== 'out-of-office' ? ` ${DEFAULT_STRINGS['out-of-office']}` : '';\n\n const IconElement = iconMap(status, outOfOffice, size);\n\n const state: PresenceBadgeState = {\n ...useBadge_unstable(\n {\n 'aria-label': statusText + oofText,\n role: 'img',\n ...props,\n size,\n icon: resolveShorthand(props.icon, {\n defaultProps: {\n children: IconElement ? <IconElement /> : null,\n },\n required: true,\n }),\n },\n ref,\n ),\n status,\n outOfOffice,\n };\n\n return state;\n};\n"],"mappings":";;;;;;AAAA,MAAAA,KAAA,gBAAAC,OAAA;AACA,MAAAC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AAO,EAAE;CACV;AAED;;;AAGO,MAAMC,yBAAyB,GAAGA,CACvCC,KAAyB,EACzBC,GAA2B,KACL;EACtB,MAAM;IAAEpB,IAAI,GAAG,QAAQ;IAAEF,MAAM,GAAG,WAAW;IAAEC,WAAW,GAAG;EAAK,CAAE,GAAGoB,KAAK;EAE5E,MAAME,UAAU,GAAGV,eAAe,CAACb,MAAM,CAAC;EAC1C,MAAMwB,OAAO,GAAGH,KAAK,CAACpB,WAAW,IAAIoB,KAAK,CAACrB,MAAM,KAAK,eAAe,GAAG,IAAIa,eAAe,CAAC,eAAe,CAAC,EAAE,GAAG,EAAE;EAEnH,MAAMY,WAAW,GAAG1B,OAAO,CAACC,MAAM,EAAEC,WAAW,EAAEC,IAAI,CAAC;EAEtD,MAAMwB,KAAK,GAAuB;IAChC,GAAG5B,OAAA,CAAA6B,iBAAiB,CAClB;MACE,YAAY,EAAEJ,UAAU,GAAGC,OAAO;MAClCI,IAAI,EAAE,KAAK;MACX,GAAGP,KAAK;MACRnB,IAAI;MACJ2B,IAAI,EAAEjC,iBAAA,CAAAkC,gBAAgB,CAACT,KAAK,CAACQ,IAAI,EAAE;QACjCE,YAAY,EAAE;UACZC,QAAQ,EAAEP,WAAW,GAAG/B,KAAA,CAAAuC,aAAA,CAACR,WAAW,OAAG,GAAG;SAC3C;QACDS,QAAQ,EAAE;OACX;KACF,EACDZ,GAAG,CACJ;IACDtB,MAAM;IACNC;GACD;EAED,OAAOyB,KAAK;AACd,CAAC;AAhCYS,OAAA,CAAAf,yBAAyB,GAAAA,yBAAA"}
1
+ {"version":3,"sources":["../../../lib/components/PresenceBadge/usePresenceBadge.js"],"sourcesContent":["import * as React from 'react';\nimport { resolveShorthand } from '@fluentui/react-utilities';\nimport { presenceAvailableFilled, presenceAvailableRegular, presenceAwayFilled, presenceAwayRegular, presenceBlockedRegular, presenceBusyFilled, presenceDndFilled, presenceDndRegular, presenceOfflineRegular, presenceOofRegular, presenceUnknownRegular } from './presenceIcons';\nimport { useBadge_unstable } from '../Badge/index';\nconst iconMap = (status, outOfOffice, size) => {\n switch (status) {\n case 'available':\n return outOfOffice ? presenceAvailableRegular[size] : presenceAvailableFilled[size];\n case 'away':\n return outOfOffice ? presenceAwayRegular[size] : presenceAwayFilled[size];\n case 'blocked':\n return presenceBlockedRegular[size];\n case 'busy':\n return outOfOffice ? presenceUnknownRegular[size] : presenceBusyFilled[size];\n case 'do-not-disturb':\n return outOfOffice ? presenceDndRegular[size] : presenceDndFilled[size];\n case 'offline':\n return presenceOfflineRegular[size];\n case 'out-of-office':\n return presenceOofRegular[size];\n case 'unknown':\n return presenceUnknownRegular[size];\n }\n};\nconst DEFAULT_STRINGS = {\n busy: 'busy',\n 'out-of-office': 'out of office',\n away: 'away',\n available: 'available',\n offline: 'offline',\n 'do-not-disturb': 'do not disturb',\n unknown: 'unknown',\n blocked: 'blocked'\n};\n/**\n * Returns the props and state required to render the component\n */\nexport const usePresenceBadge_unstable = (props, ref) => {\n const {\n size = 'medium',\n status = 'available',\n outOfOffice = false\n } = props;\n const statusText = DEFAULT_STRINGS[status];\n const oofText = props.outOfOffice && props.status !== 'out-of-office' ? ` ${DEFAULT_STRINGS['out-of-office']}` : '';\n const IconElement = iconMap(status, outOfOffice, size);\n const state = {\n ...useBadge_unstable({\n 'aria-label': statusText + oofText,\n role: 'img',\n ...props,\n size,\n icon: resolveShorthand(props.icon, {\n defaultProps: {\n children: IconElement ? /*#__PURE__*/React.createElement(IconElement, null) : null\n },\n required: true\n })\n }, ref),\n status,\n outOfOffice\n };\n return state;\n};\n//# sourceMappingURL=usePresenceBadge.js.map"],"names":["usePresenceBadge_unstable","iconMap","status","outOfOffice","size","presenceAvailableRegular","presenceAvailableFilled","presenceAwayRegular","presenceAwayFilled","presenceBlockedRegular","presenceUnknownRegular","presenceBusyFilled","presenceDndRegular","presenceDndFilled","presenceOfflineRegular","presenceOofRegular","DEFAULT_STRINGS","busy","away","available","offline","unknown","blocked","props","ref","statusText","oofText","IconElement","state","useBadge_unstable","role","icon","resolveShorthand","defaultProps","children","React","createElement","required"],"mappings":";;;;+BAqCaA;;aAAAA;;;6DArCU;gCACU;+BACiO;uBAChO;AAClC,MAAMC,UAAU,CAACC,QAAQC,aAAaC,OAAS;IAC7C,OAAQF;QACN,KAAK;YACH,OAAOC,cAAcE,uCAAwB,CAACD,KAAK,GAAGE,sCAAuB,CAACF,KAAK;QACrF,KAAK;YACH,OAAOD,cAAcI,kCAAmB,CAACH,KAAK,GAAGI,iCAAkB,CAACJ,KAAK;QAC3E,KAAK;YACH,OAAOK,qCAAsB,CAACL,KAAK;QACrC,KAAK;YACH,OAAOD,cAAcO,qCAAsB,CAACN,KAAK,GAAGO,iCAAkB,CAACP,KAAK;QAC9E,KAAK;YACH,OAAOD,cAAcS,iCAAkB,CAACR,KAAK,GAAGS,gCAAiB,CAACT,KAAK;QACzE,KAAK;YACH,OAAOU,qCAAsB,CAACV,KAAK;QACrC,KAAK;YACH,OAAOW,iCAAkB,CAACX,KAAK;QACjC,KAAK;YACH,OAAOM,qCAAsB,CAACN,KAAK;IACvC;AACF;AACA,MAAMY,kBAAkB;IACtBC,MAAM;IACN,iBAAiB;IACjBC,MAAM;IACNC,WAAW;IACXC,SAAS;IACT,kBAAkB;IAClBC,SAAS;IACTC,SAAS;AACX;AAIO,MAAMtB,4BAA4B,CAACuB,OAAOC,MAAQ;IACvD,MAAM,EACJpB,MAAO,SAAQ,EACfF,QAAS,YAAW,EACpBC,aAAc,KAAK,CAAA,EACpB,GAAGoB;IACJ,MAAME,aAAaT,eAAe,CAACd,OAAO;IAC1C,MAAMwB,UAAUH,MAAMpB,WAAW,IAAIoB,MAAMrB,MAAM,KAAK,kBAAkB,CAAC,CAAC,EAAEc,eAAe,CAAC,gBAAgB,CAAC,CAAC,GAAG,EAAE;IACnH,MAAMW,cAAc1B,QAAQC,QAAQC,aAAaC;IACjD,MAAMwB,QAAQ;QACZ,GAAGC,IAAAA,wBAAiB,EAAC;YACnB,cAAcJ,aAAaC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