@fluentui/react-badge 0.0.0-nightly-20230424-0419.1 → 0.0.0-nightly-20230426-0420.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.json +34 -13
- package/CHANGELOG.md +19 -9
- package/lib/components/Badge/Badge.js +2 -5
- package/lib/components/Badge/Badge.js.map +1 -1
- package/lib/components/CounterBadge/CounterBadge.js +2 -5
- package/lib/components/CounterBadge/CounterBadge.js.map +1 -1
- package/lib/components/PresenceBadge/PresenceBadge.js +2 -5
- package/lib/components/PresenceBadge/PresenceBadge.js.map +1 -1
- package/lib-commonjs/components/Badge/Badge.js +1 -2
- package/lib-commonjs/components/Badge/Badge.js.map +1 -1
- package/lib-commonjs/components/CounterBadge/CounterBadge.js +1 -2
- package/lib-commonjs/components/CounterBadge/CounterBadge.js.map +1 -1
- package/lib-commonjs/components/PresenceBadge/PresenceBadge.js +1 -2
- package/lib-commonjs/components/PresenceBadge/PresenceBadge.js.map +1 -1
- package/package.json +6 -6
package/CHANGELOG.json
CHANGED
@@ -2,9 +2,9 @@
|
|
2
2
|
"name": "@fluentui/react-badge",
|
3
3
|
"entries": [
|
4
4
|
{
|
5
|
-
"date": "
|
6
|
-
"tag": "@fluentui/react-badge_v0.0.0-nightly-
|
7
|
-
"version": "0.0.0-nightly-
|
5
|
+
"date": "Wed, 26 Apr 2023 04:26:55 GMT",
|
6
|
+
"tag": "@fluentui/react-badge_v0.0.0-nightly-20230426-0420.1",
|
7
|
+
"version": "0.0.0-nightly-20230426-0420.1",
|
8
8
|
"comments": {
|
9
9
|
"prerelease": [
|
10
10
|
{
|
@@ -16,32 +16,53 @@
|
|
16
16
|
{
|
17
17
|
"author": "beachball",
|
18
18
|
"package": "@fluentui/react-badge",
|
19
|
-
"comment": "Bump @fluentui/react-jsx-runtime to v0.0.0-nightly-
|
20
|
-
"commit": "
|
19
|
+
"comment": "Bump @fluentui/react-jsx-runtime to v0.0.0-nightly-20230426-0420.1",
|
20
|
+
"commit": "0bf57d44764cd2220ffb39eaa3256f208e17fc9c"
|
21
21
|
},
|
22
22
|
{
|
23
23
|
"author": "beachball",
|
24
24
|
"package": "@fluentui/react-badge",
|
25
|
-
"comment": "Bump @fluentui/react-shared-contexts to v0.0.0-nightly-
|
26
|
-
"commit": "
|
25
|
+
"comment": "Bump @fluentui/react-shared-contexts to v0.0.0-nightly-20230426-0420.1",
|
26
|
+
"commit": "0bf57d44764cd2220ffb39eaa3256f208e17fc9c"
|
27
27
|
},
|
28
28
|
{
|
29
29
|
"author": "beachball",
|
30
30
|
"package": "@fluentui/react-badge",
|
31
|
-
"comment": "Bump @fluentui/react-theme to v0.0.0-nightly-
|
32
|
-
"commit": "
|
31
|
+
"comment": "Bump @fluentui/react-theme to v0.0.0-nightly-20230426-0420.1",
|
32
|
+
"commit": "0bf57d44764cd2220ffb39eaa3256f208e17fc9c"
|
33
33
|
},
|
34
34
|
{
|
35
35
|
"author": "beachball",
|
36
36
|
"package": "@fluentui/react-badge",
|
37
|
-
"comment": "Bump @fluentui/react-utilities to v0.0.0-nightly-
|
38
|
-
"commit": "
|
37
|
+
"comment": "Bump @fluentui/react-utilities to v0.0.0-nightly-20230426-0420.1",
|
38
|
+
"commit": "0bf57d44764cd2220ffb39eaa3256f208e17fc9c"
|
39
39
|
},
|
40
40
|
{
|
41
41
|
"author": "beachball",
|
42
42
|
"package": "@fluentui/react-badge",
|
43
|
-
"comment": "Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-
|
44
|
-
"commit": "
|
43
|
+
"comment": "Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20230426-0420.1",
|
44
|
+
"commit": "0bf57d44764cd2220ffb39eaa3256f208e17fc9c"
|
45
|
+
}
|
46
|
+
]
|
47
|
+
}
|
48
|
+
},
|
49
|
+
{
|
50
|
+
"date": "Mon, 24 Apr 2023 08:12:32 GMT",
|
51
|
+
"tag": "@fluentui/react-badge_v9.1.10",
|
52
|
+
"version": "9.1.10",
|
53
|
+
"comments": {
|
54
|
+
"patch": [
|
55
|
+
{
|
56
|
+
"author": "bernardo.sunderhus@gmail.com",
|
57
|
+
"package": "@fluentui/react-badge",
|
58
|
+
"commit": "477d9f6d64d777f857dedec6a71e58baa31fbe30",
|
59
|
+
"comment": "chore: adopt custom JSX pragma"
|
60
|
+
},
|
61
|
+
{
|
62
|
+
"author": "beachball",
|
63
|
+
"package": "@fluentui/react-badge",
|
64
|
+
"comment": "Bump @fluentui/react-jsx-runtime to v9.0.0-alpha.2",
|
65
|
+
"commit": "505433ac64f144c9cca456097413d6af4582e5ee"
|
45
66
|
}
|
46
67
|
]
|
47
68
|
}
|
package/CHANGELOG.md
CHANGED
@@ -1,22 +1,32 @@
|
|
1
1
|
# Change Log - @fluentui/react-badge
|
2
2
|
|
3
|
-
This log was last generated on
|
3
|
+
This log was last generated on Wed, 26 Apr 2023 04:26:55 GMT and should not be manually modified.
|
4
4
|
|
5
5
|
<!-- Start content -->
|
6
6
|
|
7
|
-
## [0.0.0-nightly-
|
7
|
+
## [0.0.0-nightly-20230426-0420.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-badge_v0.0.0-nightly-20230426-0420.1)
|
8
8
|
|
9
|
-
|
10
|
-
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-badge_v9.1.
|
9
|
+
Wed, 26 Apr 2023 04:26:55 GMT
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-badge_v9.1.10..@fluentui/react-badge_v0.0.0-nightly-20230426-0420.1)
|
11
11
|
|
12
12
|
### Changes
|
13
13
|
|
14
14
|
- Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/not available) by fluentui-internal@service.microsoft.com)
|
15
|
-
- Bump @fluentui/react-jsx-runtime to v0.0.0-nightly-
|
16
|
-
- Bump @fluentui/react-shared-contexts to v0.0.0-nightly-
|
17
|
-
- Bump @fluentui/react-theme to v0.0.0-nightly-
|
18
|
-
- Bump @fluentui/react-utilities to v0.0.0-nightly-
|
19
|
-
- Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-
|
15
|
+
- Bump @fluentui/react-jsx-runtime to v0.0.0-nightly-20230426-0420.1 ([commit](https://github.com/microsoft/fluentui/commit/0bf57d44764cd2220ffb39eaa3256f208e17fc9c) by beachball)
|
16
|
+
- Bump @fluentui/react-shared-contexts to v0.0.0-nightly-20230426-0420.1 ([commit](https://github.com/microsoft/fluentui/commit/0bf57d44764cd2220ffb39eaa3256f208e17fc9c) by beachball)
|
17
|
+
- Bump @fluentui/react-theme to v0.0.0-nightly-20230426-0420.1 ([commit](https://github.com/microsoft/fluentui/commit/0bf57d44764cd2220ffb39eaa3256f208e17fc9c) by beachball)
|
18
|
+
- Bump @fluentui/react-utilities to v0.0.0-nightly-20230426-0420.1 ([commit](https://github.com/microsoft/fluentui/commit/0bf57d44764cd2220ffb39eaa3256f208e17fc9c) by beachball)
|
19
|
+
- Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20230426-0420.1 ([commit](https://github.com/microsoft/fluentui/commit/0bf57d44764cd2220ffb39eaa3256f208e17fc9c) by beachball)
|
20
|
+
|
21
|
+
## [9.1.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-badge_v9.1.10)
|
22
|
+
|
23
|
+
Mon, 24 Apr 2023 08:12:32 GMT
|
24
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-badge_v9.1.9..@fluentui/react-badge_v9.1.10)
|
25
|
+
|
26
|
+
### Patches
|
27
|
+
|
28
|
+
- chore: adopt custom JSX pragma ([PR #27603](https://github.com/microsoft/fluentui/pull/27603) by bernardo.sunderhus@gmail.com)
|
29
|
+
- Bump @fluentui/react-jsx-runtime to v9.0.0-alpha.2 ([commit](https://github.com/microsoft/fluentui/commit/505433ac64f144c9cca456097413d6af4582e5ee) by beachball)
|
20
30
|
|
21
31
|
## [9.1.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-badge_v9.1.9)
|
22
32
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import * as React from 'react';
|
2
2
|
import { useBadge_unstable } from './useBadge';
|
3
3
|
import { useBadgeStyles_unstable } from './useBadgeStyles';
|
4
|
-
import {
|
4
|
+
import { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';
|
5
5
|
import { renderBadge_unstable } from './renderBadge';
|
6
6
|
/**
|
7
7
|
* Define a styled Badge, using the `useBadge_unstable` hook.
|
@@ -9,10 +9,7 @@ import { renderBadge_unstable } from './renderBadge';
|
|
9
9
|
export const Badge = /*#__PURE__*/React.forwardRef((props, ref) => {
|
10
10
|
const state = useBadge_unstable(props, ref);
|
11
11
|
useBadgeStyles_unstable(state);
|
12
|
-
|
13
|
-
useBadgeStyles_unstable: useCustomStyles
|
14
|
-
} = useCustomStyleHooks_unstable();
|
15
|
-
useCustomStyles(state);
|
12
|
+
useCustomStyleHook_unstable('useBadgeStyles_unstable')(state);
|
16
13
|
return renderBadge_unstable(state);
|
17
14
|
});
|
18
15
|
Badge.displayName = 'Badge';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["React","useBadge_unstable","useBadgeStyles_unstable","
|
1
|
+
{"version":3,"names":["React","useBadge_unstable","useBadgeStyles_unstable","useCustomStyleHook_unstable","renderBadge_unstable","Badge","forwardRef","props","ref","state","displayName"],"sources":["../../../src/components/Badge/Badge.tsx"],"sourcesContent":["import * as React from 'react';\nimport { useBadge_unstable } from './useBadge';\nimport { useBadgeStyles_unstable } from './useBadgeStyles';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\nimport { renderBadge_unstable } from './renderBadge';\nimport type { BadgeProps } from './Badge.types';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\n\n/**\n * Define a styled Badge, using the `useBadge_unstable` hook.\n */\nexport const Badge: ForwardRefComponent<BadgeProps> = React.forwardRef((props, ref) => {\n const state = useBadge_unstable(props, ref);\n\n useBadgeStyles_unstable(state);\n\n useCustomStyleHook_unstable('useBadgeStyles_unstable')(state);\n\n return renderBadge_unstable(state);\n});\n\nBadge.displayName = 'Badge';\n"],"mappings":"AAAA,YAAYA,KAAA,MAAW;AACvB,SAASC,iBAAiB,QAAQ;AAClC,SAASC,uBAAuB,QAAQ;AACxC,SAASC,2BAA2B,QAAQ;AAC5C,SAASC,oBAAoB,QAAQ;AAIrC;;;AAGA,OAAO,MAAMC,KAAA,gBAAyCL,KAAA,CAAMM,UAAU,CAAC,CAACC,KAAA,EAAOC,GAAA,KAAQ;EACrF,MAAMC,KAAA,GAAQR,iBAAA,CAAkBM,KAAA,EAAOC,GAAA;EAEvCN,uBAAA,CAAwBO,KAAA;EAExBN,2BAAA,CAA4B,2BAA2BM,KAAA;EAEvD,OAAOL,oBAAA,CAAqBK,KAAA;AAC9B;AAEAJ,KAAA,CAAMK,WAAW,GAAG"}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import * as React from 'react';
|
2
2
|
import { useCounterBadge_unstable } from './useCounterBadge';
|
3
3
|
import { useCounterBadgeStyles_unstable } from './useCounterBadgeStyles';
|
4
|
-
import {
|
4
|
+
import { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';
|
5
5
|
import { renderBadge_unstable } from '../Badge/index';
|
6
6
|
/**
|
7
7
|
* Define a styled CounterBadge, using the `useCounterBadge_unstable` hook.
|
@@ -9,10 +9,7 @@ import { renderBadge_unstable } from '../Badge/index';
|
|
9
9
|
export const CounterBadge = /*#__PURE__*/React.forwardRef((props, ref) => {
|
10
10
|
const state = useCounterBadge_unstable(props, ref);
|
11
11
|
useCounterBadgeStyles_unstable(state);
|
12
|
-
|
13
|
-
useCounterBadgeStyles_unstable: useCustomStyles
|
14
|
-
} = useCustomStyleHooks_unstable();
|
15
|
-
useCustomStyles(state);
|
12
|
+
useCustomStyleHook_unstable('useCounterBadgeStyles_unstable')(state);
|
16
13
|
return renderBadge_unstable(state);
|
17
14
|
});
|
18
15
|
CounterBadge.displayName = 'CounterBadge';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["React","useCounterBadge_unstable","useCounterBadgeStyles_unstable","
|
1
|
+
{"version":3,"names":["React","useCounterBadge_unstable","useCounterBadgeStyles_unstable","useCustomStyleHook_unstable","renderBadge_unstable","CounterBadge","forwardRef","props","ref","state","displayName"],"sources":["../../../src/components/CounterBadge/CounterBadge.tsx"],"sourcesContent":["import * as React from 'react';\nimport { useCounterBadge_unstable } from './useCounterBadge';\nimport { useCounterBadgeStyles_unstable } from './useCounterBadgeStyles';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\nimport { renderBadge_unstable } from '../Badge/index';\nimport type { CounterBadgeProps } from './CounterBadge.types';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\n\n/**\n * Define a styled CounterBadge, using the `useCounterBadge_unstable` hook.\n */\nexport const CounterBadge: ForwardRefComponent<CounterBadgeProps> = React.forwardRef((props, ref) => {\n const state = useCounterBadge_unstable(props, ref);\n\n useCounterBadgeStyles_unstable(state);\n\n useCustomStyleHook_unstable('useCounterBadgeStyles_unstable')(state);\n\n return renderBadge_unstable(state);\n});\n\nCounterBadge.displayName = 'CounterBadge';\n"],"mappings":"AAAA,YAAYA,KAAA,MAAW;AACvB,SAASC,wBAAwB,QAAQ;AACzC,SAASC,8BAA8B,QAAQ;AAC/C,SAASC,2BAA2B,QAAQ;AAC5C,SAASC,oBAAoB,QAAQ;AAIrC;;;AAGA,OAAO,MAAMC,YAAA,gBAAuDL,KAAA,CAAMM,UAAU,CAAC,CAACC,KAAA,EAAOC,GAAA,KAAQ;EACnG,MAAMC,KAAA,GAAQR,wBAAA,CAAyBM,KAAA,EAAOC,GAAA;EAE9CN,8BAAA,CAA+BO,KAAA;EAE/BN,2BAAA,CAA4B,kCAAkCM,KAAA;EAE9D,OAAOL,oBAAA,CAAqBK,KAAA;AAC9B;AAEAJ,YAAA,CAAaK,WAAW,GAAG"}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import * as React from 'react';
|
2
2
|
import { usePresenceBadge_unstable } from './usePresenceBadge';
|
3
3
|
import { usePresenceBadgeStyles_unstable } from './usePresenceBadgeStyles';
|
4
|
-
import {
|
4
|
+
import { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';
|
5
5
|
import { renderBadge_unstable } from '../../Badge';
|
6
6
|
/**
|
7
7
|
* Define a styled Badge, using the `useBadge_unstable` hook.
|
@@ -9,10 +9,7 @@ import { renderBadge_unstable } from '../../Badge';
|
|
9
9
|
export const PresenceBadge = /*#__PURE__*/React.forwardRef((props, ref) => {
|
10
10
|
const state = usePresenceBadge_unstable(props, ref);
|
11
11
|
usePresenceBadgeStyles_unstable(state);
|
12
|
-
|
13
|
-
usePresenceBadgeStyles_unstable: useCustomStyles
|
14
|
-
} = useCustomStyleHooks_unstable();
|
15
|
-
useCustomStyles(state);
|
12
|
+
useCustomStyleHook_unstable('usePresenceBadgeStyles_unstable')(state);
|
16
13
|
return renderBadge_unstable(state);
|
17
14
|
});
|
18
15
|
PresenceBadge.displayName = 'PresenceBadge';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["React","usePresenceBadge_unstable","usePresenceBadgeStyles_unstable","
|
1
|
+
{"version":3,"names":["React","usePresenceBadge_unstable","usePresenceBadgeStyles_unstable","useCustomStyleHook_unstable","renderBadge_unstable","PresenceBadge","forwardRef","props","ref","state","displayName"],"sources":["../../../src/components/PresenceBadge/PresenceBadge.tsx"],"sourcesContent":["import * as React from 'react';\nimport { usePresenceBadge_unstable } from './usePresenceBadge';\nimport { usePresenceBadgeStyles_unstable } from './usePresenceBadgeStyles';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\nimport { renderBadge_unstable } from '../../Badge';\nimport type { PresenceBadgeProps } from './PresenceBadge.types';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\n\n/**\n * Define a styled Badge, using the `useBadge_unstable` hook.\n */\nexport const PresenceBadge: ForwardRefComponent<PresenceBadgeProps> = React.forwardRef((props, ref) => {\n const state = usePresenceBadge_unstable(props, ref);\n\n usePresenceBadgeStyles_unstable(state);\n\n useCustomStyleHook_unstable('usePresenceBadgeStyles_unstable')(state);\n\n return renderBadge_unstable(state);\n});\n\nPresenceBadge.displayName = 'PresenceBadge';\n"],"mappings":"AAAA,YAAYA,KAAA,MAAW;AACvB,SAASC,yBAAyB,QAAQ;AAC1C,SAASC,+BAA+B,QAAQ;AAChD,SAASC,2BAA2B,QAAQ;AAC5C,SAASC,oBAAoB,QAAQ;AAIrC;;;AAGA,OAAO,MAAMC,aAAA,gBAAyDL,KAAA,CAAMM,UAAU,CAAC,CAACC,KAAA,EAAOC,GAAA,KAAQ;EACrG,MAAMC,KAAA,GAAQR,yBAAA,CAA0BM,KAAA,EAAOC,GAAA;EAE/CN,+BAAA,CAAgCO,KAAA;EAEhCN,2BAAA,CAA4B,mCAAmCM,KAAA;EAE/D,OAAOL,oBAAA,CAAqBK,KAAA;AAC9B;AAEAJ,aAAA,CAAcK,WAAW,GAAG"}
|
@@ -15,8 +15,7 @@ const _renderBadge = require("./renderBadge");
|
|
15
15
|
const Badge = /*#__PURE__*/ _react.forwardRef((props, ref)=>{
|
16
16
|
const state = (0, _useBadge.useBadge_unstable)(props, ref);
|
17
17
|
(0, _useBadgeStyles.useBadgeStyles_unstable)(state);
|
18
|
-
|
19
|
-
useCustomStyles(state);
|
18
|
+
(0, _reactSharedContexts.useCustomStyleHook_unstable)('useBadgeStyles_unstable')(state);
|
20
19
|
return (0, _renderBadge.renderBadge_unstable)(state);
|
21
20
|
});
|
22
21
|
Badge.displayName = 'Badge'; //# sourceMappingURL=Badge.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../lib/components/Badge/Badge.js"],"sourcesContent":["import * as React from 'react';\nimport { useBadge_unstable } from './useBadge';\nimport { useBadgeStyles_unstable } from './useBadgeStyles';\nimport {
|
1
|
+
{"version":3,"sources":["../../../lib/components/Badge/Badge.js"],"sourcesContent":["import * as React from 'react';\nimport { useBadge_unstable } from './useBadge';\nimport { useBadgeStyles_unstable } from './useBadgeStyles';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\nimport { renderBadge_unstable } from './renderBadge';\n/**\n * Define a styled Badge, using the `useBadge_unstable` hook.\n */\nexport const Badge = /*#__PURE__*/React.forwardRef((props, ref) => {\n const state = useBadge_unstable(props, ref);\n useBadgeStyles_unstable(state);\n useCustomStyleHook_unstable('useBadgeStyles_unstable')(state);\n return renderBadge_unstable(state);\n});\nBadge.displayName = 'Badge';\n//# sourceMappingURL=Badge.js.map"],"names":["Badge","React","forwardRef","props","ref","state","useBadge_unstable","useBadgeStyles_unstable","useCustomStyleHook_unstable","renderBadge_unstable","displayName"],"mappings":";;;;+BAQaA;;aAAAA;;;6DARU;0BACW;gCACM;qCACI;6BACP;AAI9B,MAAMA,QAAQ,WAAW,GAAEC,OAAMC,UAAU,CAAC,CAACC,OAAOC,MAAQ;IACjE,MAAMC,QAAQC,IAAAA,2BAAiB,EAACH,OAAOC;IACvCG,IAAAA,uCAAuB,EAACF;IACxBG,IAAAA,gDAA2B,EAAC,2BAA2BH;IACvD,OAAOI,IAAAA,iCAAoB,EAACJ;AAC9B;AACAL,MAAMU,WAAW,GAAG,SACpB,iCAAiC"}
|
@@ -15,8 +15,7 @@ const _index = require("../Badge/index");
|
|
15
15
|
const CounterBadge = /*#__PURE__*/ _react.forwardRef((props, ref)=>{
|
16
16
|
const state = (0, _useCounterBadge.useCounterBadge_unstable)(props, ref);
|
17
17
|
(0, _useCounterBadgeStyles.useCounterBadgeStyles_unstable)(state);
|
18
|
-
|
19
|
-
useCustomStyles(state);
|
18
|
+
(0, _reactSharedContexts.useCustomStyleHook_unstable)('useCounterBadgeStyles_unstable')(state);
|
20
19
|
return (0, _index.renderBadge_unstable)(state);
|
21
20
|
});
|
22
21
|
CounterBadge.displayName = 'CounterBadge'; //# sourceMappingURL=CounterBadge.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../lib/components/CounterBadge/CounterBadge.js"],"sourcesContent":["import * as React from 'react';\nimport { useCounterBadge_unstable } from './useCounterBadge';\nimport { useCounterBadgeStyles_unstable } from './useCounterBadgeStyles';\nimport {
|
1
|
+
{"version":3,"sources":["../../../lib/components/CounterBadge/CounterBadge.js"],"sourcesContent":["import * as React from 'react';\nimport { useCounterBadge_unstable } from './useCounterBadge';\nimport { useCounterBadgeStyles_unstable } from './useCounterBadgeStyles';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\nimport { renderBadge_unstable } from '../Badge/index';\n/**\n * Define a styled CounterBadge, using the `useCounterBadge_unstable` hook.\n */\nexport const CounterBadge = /*#__PURE__*/React.forwardRef((props, ref) => {\n const state = useCounterBadge_unstable(props, ref);\n useCounterBadgeStyles_unstable(state);\n useCustomStyleHook_unstable('useCounterBadgeStyles_unstable')(state);\n return renderBadge_unstable(state);\n});\nCounterBadge.displayName = 'CounterBadge';\n//# sourceMappingURL=CounterBadge.js.map"],"names":["CounterBadge","React","forwardRef","props","ref","state","useCounterBadge_unstable","useCounterBadgeStyles_unstable","useCustomStyleHook_unstable","renderBadge_unstable","displayName"],"mappings":";;;;+BAQaA;;aAAAA;;;6DARU;iCACkB;uCACM;qCACH;uBACP;AAI9B,MAAMA,eAAe,WAAW,GAAEC,OAAMC,UAAU,CAAC,CAACC,OAAOC,MAAQ;IACxE,MAAMC,QAAQC,IAAAA,yCAAwB,EAACH,OAAOC;IAC9CG,IAAAA,qDAA8B,EAACF;IAC/BG,IAAAA,gDAA2B,EAAC,kCAAkCH;IAC9D,OAAOI,IAAAA,2BAAoB,EAACJ;AAC9B;AACAL,aAAaU,WAAW,GAAG,gBAC3B,wCAAwC"}
|
@@ -15,8 +15,7 @@ const _badge = require("../../Badge");
|
|
15
15
|
const PresenceBadge = /*#__PURE__*/ _react.forwardRef((props, ref)=>{
|
16
16
|
const state = (0, _usePresenceBadge.usePresenceBadge_unstable)(props, ref);
|
17
17
|
(0, _usePresenceBadgeStyles.usePresenceBadgeStyles_unstable)(state);
|
18
|
-
|
19
|
-
useCustomStyles(state);
|
18
|
+
(0, _reactSharedContexts.useCustomStyleHook_unstable)('usePresenceBadgeStyles_unstable')(state);
|
20
19
|
return (0, _badge.renderBadge_unstable)(state);
|
21
20
|
});
|
22
21
|
PresenceBadge.displayName = 'PresenceBadge'; //# sourceMappingURL=PresenceBadge.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../lib/components/PresenceBadge/PresenceBadge.js"],"sourcesContent":["import * as React from 'react';\nimport { usePresenceBadge_unstable } from './usePresenceBadge';\nimport { usePresenceBadgeStyles_unstable } from './usePresenceBadgeStyles';\nimport {
|
1
|
+
{"version":3,"sources":["../../../lib/components/PresenceBadge/PresenceBadge.js"],"sourcesContent":["import * as React from 'react';\nimport { usePresenceBadge_unstable } from './usePresenceBadge';\nimport { usePresenceBadgeStyles_unstable } from './usePresenceBadgeStyles';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\nimport { renderBadge_unstable } from '../../Badge';\n/**\n * Define a styled Badge, using the `useBadge_unstable` hook.\n */\nexport const PresenceBadge = /*#__PURE__*/React.forwardRef((props, ref) => {\n const state = usePresenceBadge_unstable(props, ref);\n usePresenceBadgeStyles_unstable(state);\n useCustomStyleHook_unstable('usePresenceBadgeStyles_unstable')(state);\n return renderBadge_unstable(state);\n});\nPresenceBadge.displayName = 'PresenceBadge';\n//# sourceMappingURL=PresenceBadge.js.map"],"names":["PresenceBadge","React","forwardRef","props","ref","state","usePresenceBadge_unstable","usePresenceBadgeStyles_unstable","useCustomStyleHook_unstable","renderBadge_unstable","displayName"],"mappings":";;;;+BAQaA;;aAAAA;;;6DARU;kCACmB;wCACM;qCACJ;uBACP;AAI9B,MAAMA,gBAAgB,WAAW,GAAEC,OAAMC,UAAU,CAAC,CAACC,OAAOC,MAAQ;IACzE,MAAMC,QAAQC,IAAAA,2CAAyB,EAACH,OAAOC;IAC/CG,IAAAA,uDAA+B,EAACF;IAChCG,IAAAA,gDAA2B,EAAC,mCAAmCH;IAC/D,OAAOI,IAAAA,2BAAoB,EAACJ;AAC9B;AACAL,cAAcU,WAAW,GAAG,iBAC5B,yCAAyC"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@fluentui/react-badge",
|
3
|
-
"version": "0.0.0-nightly-
|
3
|
+
"version": "0.0.0-nightly-20230426-0420.1",
|
4
4
|
"description": "React components for building web experiences",
|
5
5
|
"main": "lib-commonjs/index.js",
|
6
6
|
"module": "lib/index.js",
|
@@ -27,16 +27,16 @@
|
|
27
27
|
"devDependencies": {
|
28
28
|
"@fluentui/eslint-plugin": "*",
|
29
29
|
"@fluentui/react-conformance": "*",
|
30
|
-
"@fluentui/react-conformance-griffel": "0.0.0-nightly-
|
30
|
+
"@fluentui/react-conformance-griffel": "0.0.0-nightly-20230426-0420.1",
|
31
31
|
"@fluentui/scripts-api-extractor": "*",
|
32
32
|
"@fluentui/scripts-tasks": "*"
|
33
33
|
},
|
34
34
|
"dependencies": {
|
35
35
|
"@fluentui/react-icons": "^2.0.196",
|
36
|
-
"@fluentui/react-jsx-runtime": "0.0.0-nightly-
|
37
|
-
"@fluentui/react-shared-contexts": "0.0.0-nightly-
|
38
|
-
"@fluentui/react-theme": "0.0.0-nightly-
|
39
|
-
"@fluentui/react-utilities": "0.0.0-nightly-
|
36
|
+
"@fluentui/react-jsx-runtime": "0.0.0-nightly-20230426-0420.1",
|
37
|
+
"@fluentui/react-shared-contexts": "0.0.0-nightly-20230426-0420.1",
|
38
|
+
"@fluentui/react-theme": "0.0.0-nightly-20230426-0420.1",
|
39
|
+
"@fluentui/react-utilities": "0.0.0-nightly-20230426-0420.1",
|
40
40
|
"@griffel/react": "^1.5.2",
|
41
41
|
"@swc/helpers": "^0.4.14"
|
42
42
|
},
|