@fluentui/react-badge 0.0.0-nightlya21bfaceec20220202.1 → 0.0.0-nightlyb2b3ec1da320220209.1

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.json CHANGED
@@ -2,15 +2,15 @@
2
2
  "name": "@fluentui/react-badge",
3
3
  "entries": [
4
4
  {
5
- "date": "Wed, 02 Feb 2022 04:13:24 GMT",
6
- "tag": "@fluentui/react-badge_v0.0.0-nightlya21bfaceec20220202.1",
7
- "version": "0.0.0-nightlya21bfaceec20220202.1",
5
+ "date": "Wed, 09 Feb 2022 04:13:05 GMT",
6
+ "tag": "@fluentui/react-badge_v0.0.0-nightlyb2b3ec1da320220209.1",
7
+ "version": "0.0.0-nightlyb2b3ec1da320220209.1",
8
8
  "comments": {
9
9
  "prerelease": [
10
10
  {
11
11
  "author": "email not defined",
12
12
  "package": "@fluentui/react-badge",
13
- "commit": "e975312642c322c9f393ec8345ead680d9df154a",
13
+ "commit": "066f84c7bef7f4df47448557396199d8b7f26480",
14
14
  "comment": "Release nightly v9"
15
15
  },
16
16
  {
@@ -55,12 +55,24 @@
55
55
  "commit": "00a5d945904c896a0664de6ba72c145a255f0848",
56
56
  "comment": "Updating use of tokens.fontWeight now that we don't need to use casting."
57
57
  },
58
+ {
59
+ "author": "tristan.watanabe@gmail.com",
60
+ "package": "@fluentui/react-badge",
61
+ "commit": "13f940ea4687d769dd2faf61edc27ff75f6bb565",
62
+ "comment": "Allow React 17 in peerDependencies."
63
+ },
58
64
  {
59
65
  "author": "ololubek@microsoft.com",
60
66
  "package": "@fluentui/react-badge",
61
67
  "commit": "63cbefe55e5db10eedbde19392aa8b6376d6a7f7",
62
68
  "comment": "Update react-icons usage to resizable icons"
63
69
  },
70
+ {
71
+ "author": "behowell@microsoft.com",
72
+ "package": "@fluentui/react-badge",
73
+ "commit": "53b01d71e335715fda91b33e3d7bbd9d471d5ed3",
74
+ "comment": "Refactor component Slot typings"
75
+ },
64
76
  {
65
77
  "author": "behowell@microsoft.com",
66
78
  "package": "@fluentui/react-badge",
@@ -73,6 +85,12 @@
73
85
  "commit": "0bc161458eae5ae8d387172430496ce9829b1bb1",
74
86
  "comment": "Using ComponentSlotProps instead of ObjectShorthandProps."
75
87
  },
88
+ {
89
+ "author": "olfedias@microsoft.com",
90
+ "package": "@fluentui/react-badge",
91
+ "commit": "b23239743c4f5518bcf7dcad496a36fc16bbd2e5",
92
+ "comment": "update @fluentui/react-icons package"
93
+ },
76
94
  {
77
95
  "author": "olfedias@microsoft.com",
78
96
  "package": "@fluentui/react-badge",
@@ -100,20 +118,20 @@
100
118
  {
101
119
  "author": "beachball",
102
120
  "package": "@fluentui/react-badge",
103
- "comment": "Bump @fluentui/react-theme to v0.0.0-nightlya21bfaceec20220202.1",
104
- "commit": "e975312642c322c9f393ec8345ead680d9df154a"
121
+ "comment": "Bump @fluentui/react-theme to v0.0.0-nightlyb2b3ec1da320220209.1",
122
+ "commit": "066f84c7bef7f4df47448557396199d8b7f26480"
105
123
  },
106
124
  {
107
125
  "author": "beachball",
108
126
  "package": "@fluentui/react-badge",
109
- "comment": "Bump @fluentui/react-utilities to v0.0.0-nightlya21bfaceec20220202.1",
110
- "commit": "e975312642c322c9f393ec8345ead680d9df154a"
127
+ "comment": "Bump @fluentui/react-utilities to v0.0.0-nightlyb2b3ec1da320220209.1",
128
+ "commit": "066f84c7bef7f4df47448557396199d8b7f26480"
111
129
  },
112
130
  {
113
131
  "author": "beachball",
114
132
  "package": "@fluentui/react-badge",
115
- "comment": "Bump @fluentui/react-conformance-griffel to v0.0.0-nightlya21bfaceec20220202.1",
116
- "commit": "e975312642c322c9f393ec8345ead680d9df154a"
133
+ "comment": "Bump @fluentui/react-conformance-griffel to v0.0.0-nightlyb2b3ec1da320220209.1",
134
+ "commit": "066f84c7bef7f4df47448557396199d8b7f26480"
117
135
  }
118
136
  ],
119
137
  "none": [
@@ -135,6 +153,12 @@
135
153
  "commit": "c061e98be4b4a718c72a144a1f60bb5515824612",
136
154
  "comment": "remove inline-style-expand-shorthand from tsconfigs"
137
155
  },
156
+ {
157
+ "author": "bsunderhus@microsoft.com",
158
+ "package": "@fluentui/react-badge",
159
+ "commit": "c0d4e63ee58e60e2c6674efbacc0783cd520984e",
160
+ "comment": "Updates components with nullRender changes"
161
+ },
138
162
  {
139
163
  "author": "tkrasniqi@microsoft.com",
140
164
  "package": "@fluentui/react-badge",
package/CHANGELOG.md CHANGED
@@ -1,17 +1,17 @@
1
1
  # Change Log - @fluentui/react-badge
2
2
 
3
- This log was last generated on Wed, 02 Feb 2022 04:13:24 GMT and should not be manually modified.
3
+ This log was last generated on Wed, 09 Feb 2022 04:13:05 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## [0.0.0-nightlya21bfaceec20220202.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-badge_v0.0.0-nightlya21bfaceec20220202.1)
7
+ ## [0.0.0-nightlyb2b3ec1da320220209.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-badge_v0.0.0-nightlyb2b3ec1da320220209.1)
8
8
 
9
- Wed, 02 Feb 2022 04:13:24 GMT
10
- [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-badge_v9.0.0-beta.4..@fluentui/react-badge_v0.0.0-nightlya21bfaceec20220202.1)
9
+ Wed, 09 Feb 2022 04:13:05 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-badge_v9.0.0-beta.4..@fluentui/react-badge_v0.0.0-nightlyb2b3ec1da320220209.1)
11
11
 
12
12
  ### Changes
13
13
 
14
- - Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/e975312642c322c9f393ec8345ead680d9df154a) by email not defined)
14
+ - Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/066f84c7bef7f4df47448557396199d8b7f26480) by email not defined)
15
15
  - (fix): Update react-icons dependency to latest version ([PR #20943](https://github.com/microsoft/fluentui/pull/20943) by ololubek@microsoft.com)
16
16
  - Refactor and re-organize Badge styles; no visual changes. ([PR #21271](https://github.com/microsoft/fluentui/pull/21271) by behowell@microsoft.com)
17
17
  - Add fontSize styling to icon slot, to automatically size user-provided icons ([PR #21219](https://github.com/microsoft/fluentui/pull/21219) by behowell@microsoft.com)
@@ -19,16 +19,19 @@ Wed, 02 Feb 2022 04:13:24 GMT
19
19
  - update styles to not use CSS shorthands ([PR #20802](https://github.com/microsoft/fluentui/pull/20802) by olfedias@microsoft.com)
20
20
  - fix: use updated tokens for ghost and outline variants ([PR #20893](https://github.com/microsoft/fluentui/pull/20893) by lingfangao@hotmail.com)
21
21
  - Updating use of tokens.fontWeight now that we don't need to use casting. ([PR #21217](https://github.com/microsoft/fluentui/pull/21217) by Humberto.Morimoto@microsoft.com)
22
+ - Allow React 17 in peerDependencies. ([PR #21544](https://github.com/microsoft/fluentui/pull/21544) by tristan.watanabe@gmail.com)
22
23
  - Update react-icons usage to resizable icons ([PR #21074](https://github.com/microsoft/fluentui/pull/21074) by ololubek@microsoft.com)
24
+ - Refactor component Slot typings ([PR #21518](https://github.com/microsoft/fluentui/pull/21518) by behowell@microsoft.com)
23
25
  - Remove component's shorthandProps array ([PR #21134](https://github.com/microsoft/fluentui/pull/21134) by behowell@microsoft.com)
24
26
  - Using ComponentSlotProps instead of ObjectShorthandProps. ([PR #20890](https://github.com/microsoft/fluentui/pull/20890) by Humberto.Morimoto@microsoft.com)
27
+ - update @fluentui/react-icons package ([PR #21498](https://github.com/microsoft/fluentui/pull/21498) by olfedias@microsoft.com)
25
28
  - use Griffel packages ([PR #21437](https://github.com/microsoft/fluentui/pull/21437) by olfedias@microsoft.com)
26
29
  - react-badge: Replacing use of functions in makeStyles with direct use of tokens. ([PR #21038](https://github.com/microsoft/fluentui/pull/21038) by Humberto.Morimoto@microsoft.com)
27
30
  - BREAKING: Rename component hooks add the suffix _unstable, as their API has not been finalized yet ([PR #21365](https://github.com/microsoft/fluentui/pull/21365) by behowell@microsoft.com)
28
31
  - fix: Add uniform padding and modify gaps ([PR #20974](https://github.com/microsoft/fluentui/pull/20974) by lingfangao@hotmail.com)
29
- - Bump @fluentui/react-theme to v0.0.0-nightlya21bfaceec20220202.1 ([commit](https://github.com/microsoft/fluentui/commit/e975312642c322c9f393ec8345ead680d9df154a) by beachball)
30
- - Bump @fluentui/react-utilities to v0.0.0-nightlya21bfaceec20220202.1 ([commit](https://github.com/microsoft/fluentui/commit/e975312642c322c9f393ec8345ead680d9df154a) by beachball)
31
- - Bump @fluentui/react-conformance-griffel to v0.0.0-nightlya21bfaceec20220202.1 ([commit](https://github.com/microsoft/fluentui/commit/e975312642c322c9f393ec8345ead680d9df154a) by beachball)
32
+ - Bump @fluentui/react-theme to v0.0.0-nightlyb2b3ec1da320220209.1 ([commit](https://github.com/microsoft/fluentui/commit/066f84c7bef7f4df47448557396199d8b7f26480) by beachball)
33
+ - Bump @fluentui/react-utilities to v0.0.0-nightlyb2b3ec1da320220209.1 ([commit](https://github.com/microsoft/fluentui/commit/066f84c7bef7f4df47448557396199d8b7f26480) by beachball)
34
+ - Bump @fluentui/react-conformance-griffel to v0.0.0-nightlyb2b3ec1da320220209.1 ([commit](https://github.com/microsoft/fluentui/commit/066f84c7bef7f4df47448557396199d8b7f26480) by beachball)
32
35
 
33
36
  ## [9.0.0-beta.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-badge_v9.0.0-beta.4)
34
37
 
@@ -1,8 +1,8 @@
1
1
  import type { ComponentProps } from '@fluentui/react-utilities';
2
2
  import type { ComponentState } from '@fluentui/react-utilities';
3
3
  import type { ForwardRefComponent } from '@fluentui/react-utilities';
4
- import type { IntrinsicSlotProps } from '@fluentui/react-utilities';
5
4
  import * as React_2 from 'react';
5
+ import type { Slot } from '@fluentui/react-utilities';
6
6
 
7
7
  /**
8
8
  * Define a styled Badge, using the `useBadge_unstable` hook.
@@ -39,11 +39,11 @@ export declare type BadgeCommons = {
39
39
  size: 'tiny' | 'extra-small' | 'small' | 'medium' | 'large' | 'extra-large';
40
40
  };
41
41
 
42
- export declare type BadgeProps = ComponentProps<Partial<BadgeSlots>> & Partial<BadgeCommons>;
42
+ export declare type BadgeProps = Omit<ComponentProps<BadgeSlots>, 'color'> & Partial<BadgeCommons>;
43
43
 
44
44
  export declare type BadgeSlots = {
45
- root: Omit<IntrinsicSlotProps<'div'>, 'color'>;
46
- icon?: IntrinsicSlotProps<'span'>;
45
+ root: Slot<'div'>;
46
+ icon?: Slot<'span'>;
47
47
  };
48
48
 
49
49
  export declare type BadgeState = ComponentState<BadgeSlots> & BadgeCommons;
@@ -118,7 +118,7 @@ export declare type PresenceBadgeCommons = {
118
118
  outOfOffice: boolean;
119
119
  } & BadgeCommons;
120
120
 
121
- export declare type PresenceBadgeProps = ComponentProps<Partial<Pick<BadgeSlots, 'root'>>> & Partial<Pick<PresenceBadgeCommons, 'status' | 'outOfOffice' | 'size'>>;
121
+ export declare type PresenceBadgeProps = Omit<ComponentProps<Pick<BadgeSlots, 'root'>>, 'color'> & Partial<Pick<PresenceBadgeCommons, 'status' | 'outOfOffice' | 'size'>>;
122
122
 
123
123
  export declare type PresenceBadgeState = PresenceBadgeCommons & ComponentState<BadgeSlots>;
124
124
 
@@ -1,7 +1,7 @@
1
- import type { ComponentProps, ComponentState, IntrinsicSlotProps } from '@fluentui/react-utilities';
1
+ import type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';
2
2
  export declare type BadgeSlots = {
3
- root: Omit<IntrinsicSlotProps<'div'>, 'color'>;
4
- icon?: IntrinsicSlotProps<'span'>;
3
+ root: Slot<'div'>;
4
+ icon?: Slot<'span'>;
5
5
  };
6
6
  export declare type BadgeCommons = {
7
7
  /**
@@ -30,5 +30,5 @@ export declare type BadgeCommons = {
30
30
  */
31
31
  size: 'tiny' | 'extra-small' | 'small' | 'medium' | 'large' | 'extra-large';
32
32
  };
33
- export declare type BadgeProps = ComponentProps<Partial<BadgeSlots>> & Partial<BadgeCommons>;
33
+ export declare type BadgeProps = Omit<ComponentProps<BadgeSlots>, 'color'> & Partial<BadgeCommons>;
34
34
  export declare type BadgeState = ComponentState<BadgeSlots> & BadgeCommons;
@@ -6,8 +6,8 @@ export const renderBadge_unstable = state => {
6
6
  slotProps
7
7
  } = getSlots(state);
8
8
  return /*#__PURE__*/React.createElement(slots.root, { ...slotProps.root
9
- }, state.iconPosition === 'before' && /*#__PURE__*/React.createElement(slots.icon, { ...slotProps.icon
10
- }), state.root.children, state.iconPosition === 'after' && /*#__PURE__*/React.createElement(slots.icon, { ...slotProps.icon
9
+ }, state.iconPosition === 'before' && slots.icon && /*#__PURE__*/React.createElement(slots.icon, { ...slotProps.icon
10
+ }), state.root.children, state.iconPosition === 'after' && slots.icon && /*#__PURE__*/React.createElement(slots.icon, { ...slotProps.icon
11
11
  }));
12
12
  };
13
13
  //# sourceMappingURL=renderBadge.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/Badge/renderBadge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,QAAT,QAAyB,2BAAzB;AAGA,OAAO,MAAM,oBAAoB,GAAI,KAAD,IAAsB;AACxD,QAAM;AAAE,IAAA,KAAF;AAAS,IAAA;AAAT,MAAuB,QAAQ,CAAa,KAAb,CAArC;AAEA,sBACE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,EAAA,GAAK,SAAS,CAAC;AAAf,GAAX,EACG,KAAK,CAAC,YAAN,KAAuB,QAAvB,iBAAmC,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,EAAA,GAAK,SAAS,CAAC;AAAf,GAAX,CADtC,EAEG,KAAK,CAAC,IAAN,CAAW,QAFd,EAGG,KAAK,CAAC,YAAN,KAAuB,OAAvB,iBAAkC,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,EAAA,GAAK,SAAS,CAAC;AAAf,GAAX,CAHrC,CADF;AAOD,CAVM","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/components/Badge/renderBadge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,QAAT,QAAyB,2BAAzB;AAGA,OAAO,MAAM,oBAAoB,GAAI,KAAD,IAAsB;AACxD,QAAM;AAAE,IAAA,KAAF;AAAS,IAAA;AAAT,MAAuB,QAAQ,CAAa,KAAb,CAArC;AAEA,sBACE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,EAAA,GAAK,SAAS,CAAC;AAAf,GAAX,EACG,KAAK,CAAC,YAAN,KAAuB,QAAvB,IAAmC,KAAK,CAAC,IAAzC,iBAAiD,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,EAAA,GAAK,SAAS,CAAC;AAAf,GAAX,CADpD,EAEG,KAAK,CAAC,IAAN,CAAW,QAFd,EAGG,KAAK,CAAC,YAAN,KAAuB,OAAvB,IAAkC,KAAK,CAAC,IAAxC,iBAAgD,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,EAAA,GAAK,SAAS,CAAC;AAAf,GAAX,CAHnD,CADF;AAOD,CAVM","sourceRoot":""}
@@ -14,5 +14,5 @@ export declare type PresenceBadgeCommons = {
14
14
  */
15
15
  outOfOffice: boolean;
16
16
  } & BadgeCommons;
17
- export declare type PresenceBadgeProps = ComponentProps<Partial<Pick<BadgeSlots, 'root'>>> & Partial<Pick<PresenceBadgeCommons, 'status' | 'outOfOffice' | 'size'>>;
17
+ export declare type PresenceBadgeProps = Omit<ComponentProps<Pick<BadgeSlots, 'root'>>, 'color'> & Partial<Pick<PresenceBadgeCommons, 'status' | 'outOfOffice' | 'size'>>;
18
18
  export declare type PresenceBadgeState = PresenceBadgeCommons & ComponentState<BadgeSlots>;
@@ -1,7 +1,7 @@
1
- import type { ComponentProps, ComponentState, IntrinsicSlotProps } from '@fluentui/react-utilities';
1
+ import type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';
2
2
  export declare type BadgeSlots = {
3
- root: Omit<IntrinsicSlotProps<'div'>, 'color'>;
4
- icon?: IntrinsicSlotProps<'span'>;
3
+ root: Slot<'div'>;
4
+ icon?: Slot<'span'>;
5
5
  };
6
6
  export declare type BadgeCommons = {
7
7
  /**
@@ -30,5 +30,5 @@ export declare type BadgeCommons = {
30
30
  */
31
31
  size: 'tiny' | 'extra-small' | 'small' | 'medium' | 'large' | 'extra-large';
32
32
  };
33
- export declare type BadgeProps = ComponentProps<Partial<BadgeSlots>> & Partial<BadgeCommons>;
33
+ export declare type BadgeProps = Omit<ComponentProps<BadgeSlots>, 'color'> & Partial<BadgeCommons>;
34
34
  export declare type BadgeState = ComponentState<BadgeSlots> & BadgeCommons;
@@ -15,8 +15,8 @@ const renderBadge_unstable = state => {
15
15
  slotProps
16
16
  } = react_utilities_1.getSlots(state);
17
17
  return React.createElement(slots.root, { ...slotProps.root
18
- }, state.iconPosition === 'before' && React.createElement(slots.icon, { ...slotProps.icon
19
- }), state.root.children, state.iconPosition === 'after' && React.createElement(slots.icon, { ...slotProps.icon
18
+ }, state.iconPosition === 'before' && slots.icon && React.createElement(slots.icon, { ...slotProps.icon
19
+ }), state.root.children, state.iconPosition === 'after' && slots.icon && React.createElement(slots.icon, { ...slotProps.icon
20
20
  }));
21
21
  };
22
22
 
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/Badge/renderBadge.tsx"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,MAAA,iBAAA,gBAAA,OAAA,CAAA,2BAAA,CAAA;;AAGO,MAAM,oBAAoB,GAAI,KAAD,IAAsB;AACxD,QAAM;AAAE,IAAA,KAAF;AAAS,IAAA;AAAT,MAAuB,iBAAA,CAAA,QAAA,CAAqB,KAArB,CAA7B;AAEA,SACE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,EAAA,GAAK,SAAS,CAAC;AAAf,GAAX,EACG,KAAK,CAAC,YAAN,KAAuB,QAAvB,IAAmC,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,EAAA,GAAK,SAAS,CAAC;AAAf,GAAX,CADtC,EAEG,KAAK,CAAC,IAAN,CAAW,QAFd,EAGG,KAAK,CAAC,YAAN,KAAuB,OAAvB,IAAkC,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,EAAA,GAAK,SAAS,CAAC;AAAf,GAAX,CAHrC,CADF;AAOD,CAVM;;AAAM,OAAA,CAAA,oBAAA,GAAoB,oBAApB","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/components/Badge/renderBadge.tsx"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,MAAA,iBAAA,gBAAA,OAAA,CAAA,2BAAA,CAAA;;AAGO,MAAM,oBAAoB,GAAI,KAAD,IAAsB;AACxD,QAAM;AAAE,IAAA,KAAF;AAAS,IAAA;AAAT,MAAuB,iBAAA,CAAA,QAAA,CAAqB,KAArB,CAA7B;AAEA,SACE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,EAAA,GAAK,SAAS,CAAC;AAAf,GAAX,EACG,KAAK,CAAC,YAAN,KAAuB,QAAvB,IAAmC,KAAK,CAAC,IAAzC,IAAiD,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,EAAA,GAAK,SAAS,CAAC;AAAf,GAAX,CADpD,EAEG,KAAK,CAAC,IAAN,CAAW,QAFd,EAGG,KAAK,CAAC,YAAN,KAAuB,OAAvB,IAAkC,KAAK,CAAC,IAAxC,IAAgD,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,EAAA,GAAK,SAAS,CAAC;AAAf,GAAX,CAHnD,CADF;AAOD,CAVM;;AAAM,OAAA,CAAA,oBAAA,GAAoB,oBAApB","sourceRoot":""}
@@ -14,5 +14,5 @@ export declare type PresenceBadgeCommons = {
14
14
  */
15
15
  outOfOffice: boolean;
16
16
  } & BadgeCommons;
17
- export declare type PresenceBadgeProps = ComponentProps<Partial<Pick<BadgeSlots, 'root'>>> & Partial<Pick<PresenceBadgeCommons, 'status' | 'outOfOffice' | 'size'>>;
17
+ export declare type PresenceBadgeProps = Omit<ComponentProps<Pick<BadgeSlots, 'root'>>, 'color'> & Partial<Pick<PresenceBadgeCommons, 'status' | 'outOfOffice' | 'size'>>;
18
18
  export declare type PresenceBadgeState = PresenceBadgeCommons & ComponentState<BadgeSlots>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui/react-badge",
3
- "version": "0.0.0-nightlya21bfaceec20220202.1",
3
+ "version": "0.0.0-nightlyb2b3ec1da320220209.1",
4
4
  "description": "React components for building web experiences",
5
5
  "main": "lib-commonjs/index.js",
6
6
  "module": "lib/index.js",
@@ -28,7 +28,7 @@
28
28
  "devDependencies": {
29
29
  "@fluentui/eslint-plugin": "*",
30
30
  "@fluentui/react-conformance": "*",
31
- "@fluentui/react-conformance-griffel": "0.0.0-nightlya21bfaceec20220202.1",
31
+ "@fluentui/react-conformance-griffel": "0.0.0-nightlyb2b3ec1da320220209.1",
32
32
  "@fluentui/scripts": "^1.0.0",
33
33
  "@types/enzyme": "3.10.3",
34
34
  "@types/enzyme-adapter-react-16": "1.0.3",
@@ -42,17 +42,17 @@
42
42
  "react-test-renderer": "^16.3.0"
43
43
  },
44
44
  "dependencies": {
45
- "@fluentui/react-icons": "^2.0.154-beta.5",
45
+ "@fluentui/react-icons": "^2.0.159-beta.10",
46
46
  "@griffel/react": "1.0.0",
47
- "@fluentui/react-theme": "0.0.0-nightlya21bfaceec20220202.1",
48
- "@fluentui/react-utilities": "0.0.0-nightlya21bfaceec20220202.1",
47
+ "@fluentui/react-theme": "0.0.0-nightlyb2b3ec1da320220209.1",
48
+ "@fluentui/react-utilities": "0.0.0-nightlyb2b3ec1da320220209.1",
49
49
  "tslib": "^2.1.0"
50
50
  },
51
51
  "peerDependencies": {
52
- "@types/react": ">=16.8.0 <17.0.0",
53
- "@types/react-dom": ">=16.8.0 <17.0.0",
54
- "react": ">=16.8.0 <17.0.0",
55
- "react-dom": ">=16.8.0 <17.0.0"
52
+ "@types/react": ">=16.8.0 <18.0.0",
53
+ "@types/react-dom": ">=16.8.0 <18.0.0",
54
+ "react": ">=16.8.0 <18.0.0",
55
+ "react-dom": ">=16.8.0 <18.0.0"
56
56
  },
57
57
  "beachball": {
58
58
  "disallowedChangeTypes": [