@fluentui/react-avatar 9.5.48 → 9.6.0
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.md +24 -7
- package/dist/index.d.ts +2 -0
- package/lib/components/AvatarGroupPopover/AvatarGroupPopover.js +2 -2
- package/lib/components/AvatarGroupPopover/AvatarGroupPopover.js.map +1 -1
- package/lib/components/AvatarGroupPopover/index.js +1 -0
- package/lib/components/AvatarGroupPopover/index.js.map +1 -1
- package/lib/components/AvatarGroupPopover/useAvatarGroupPopoverContextValues.js +1 -1
- package/lib/components/AvatarGroupPopover/useAvatarGroupPopoverContextValues.js.map +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib-commonjs/components/AvatarGroupPopover/AvatarGroupPopover.js +1 -1
- package/lib-commonjs/components/AvatarGroupPopover/AvatarGroupPopover.js.map +1 -1
- package/lib-commonjs/components/AvatarGroupPopover/index.js +1 -0
- package/lib-commonjs/components/AvatarGroupPopover/index.js.map +1 -1
- package/lib-commonjs/components/AvatarGroupPopover/useAvatarGroupPopoverContextValues.js +3 -3
- package/lib-commonjs/components/AvatarGroupPopover/useAvatarGroupPopoverContextValues.js.map +1 -1
- package/lib-commonjs/index.js +6 -3
- package/lib-commonjs/index.js.map +1 -1
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,21 +1,38 @@
|
|
|
1
1
|
# Change Log - @fluentui/react-avatar
|
|
2
2
|
|
|
3
|
-
This log was last generated on Thu,
|
|
3
|
+
This log was last generated on Thu, 14 Dec 2023 09:51:33 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## [9.6.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-avatar_v9.6.0)
|
|
8
|
+
|
|
9
|
+
Thu, 14 Dec 2023 09:51:33 GMT
|
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-avatar_v9.5.48..@fluentui/react-avatar_v9.6.0)
|
|
11
|
+
|
|
12
|
+
### Minor changes
|
|
13
|
+
|
|
14
|
+
- feat: Export useAvatarGroupPopovercontextValues hook. ([PR #29984](https://github.com/microsoft/fluentui/pull/29984) by esteban.230@hotmail.com)
|
|
15
|
+
- Bump @fluentui/react-badge to v9.2.16 ([commit](https://github.com/microsoft/fluentui/commit/80a1b02be2fbbdde916ac87fbf760e442a2295c4) by beachball)
|
|
16
|
+
- Bump @fluentui/react-context-selector to v9.1.43 ([commit](https://github.com/microsoft/fluentui/commit/80a1b02be2fbbdde916ac87fbf760e442a2295c4) by beachball)
|
|
17
|
+
- Bump @fluentui/react-popover to v9.8.24 ([commit](https://github.com/microsoft/fluentui/commit/80a1b02be2fbbdde916ac87fbf760e442a2295c4) by beachball)
|
|
18
|
+
- Bump @fluentui/react-shared-contexts to v9.13.1 ([commit](https://github.com/microsoft/fluentui/commit/80a1b02be2fbbdde916ac87fbf760e442a2295c4) by beachball)
|
|
19
|
+
- Bump @fluentui/react-tabster to v9.15.1 ([commit](https://github.com/microsoft/fluentui/commit/80a1b02be2fbbdde916ac87fbf760e442a2295c4) by beachball)
|
|
20
|
+
- Bump @fluentui/react-tooltip to v9.4.2 ([commit](https://github.com/microsoft/fluentui/commit/80a1b02be2fbbdde916ac87fbf760e442a2295c4) by beachball)
|
|
21
|
+
- Bump @fluentui/react-utilities to v9.15.3 ([commit](https://github.com/microsoft/fluentui/commit/80a1b02be2fbbdde916ac87fbf760e442a2295c4) by beachball)
|
|
22
|
+
- Bump @fluentui/react-jsx-runtime to v9.0.21 ([commit](https://github.com/microsoft/fluentui/commit/80a1b02be2fbbdde916ac87fbf760e442a2295c4) by beachball)
|
|
23
|
+
|
|
7
24
|
## [9.5.48](https://github.com/microsoft/fluentui/tree/@fluentui/react-avatar_v9.5.48)
|
|
8
25
|
|
|
9
|
-
Thu, 30 Nov 2023 13:
|
|
26
|
+
Thu, 30 Nov 2023 13:42:08 GMT
|
|
10
27
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-avatar_v9.5.47..@fluentui/react-avatar_v9.5.48)
|
|
11
28
|
|
|
12
29
|
### Patches
|
|
13
30
|
|
|
14
|
-
- Bump @fluentui/react-badge to v9.2.15 ([PR #
|
|
15
|
-
- Bump @fluentui/react-popover to v9.8.23 ([PR #
|
|
16
|
-
- Bump @fluentui/react-tabster to v9.15.0 ([PR #
|
|
17
|
-
- Bump @fluentui/react-tooltip to v9.4.1 ([PR #
|
|
18
|
-
- Bump @fluentui/react-jsx-runtime to v9.0.20 ([PR #
|
|
31
|
+
- Bump @fluentui/react-badge to v9.2.15 ([PR #29929](https://github.com/microsoft/fluentui/pull/29929) by beachball)
|
|
32
|
+
- Bump @fluentui/react-popover to v9.8.23 ([PR #29929](https://github.com/microsoft/fluentui/pull/29929) by beachball)
|
|
33
|
+
- Bump @fluentui/react-tabster to v9.15.0 ([PR #29929](https://github.com/microsoft/fluentui/pull/29929) by beachball)
|
|
34
|
+
- Bump @fluentui/react-tooltip to v9.4.1 ([PR #29929](https://github.com/microsoft/fluentui/pull/29929) by beachball)
|
|
35
|
+
- Bump @fluentui/react-jsx-runtime to v9.0.20 ([PR #29929](https://github.com/microsoft/fluentui/pull/29929) by beachball)
|
|
19
36
|
|
|
20
37
|
## [9.5.47](https://github.com/microsoft/fluentui/tree/@fluentui/react-avatar_v9.5.47)
|
|
21
38
|
|
package/dist/index.d.ts
CHANGED
|
@@ -407,6 +407,8 @@ export declare const useAvatarGroupItemStyles_unstable: (state: AvatarGroupItemS
|
|
|
407
407
|
*/
|
|
408
408
|
export declare const useAvatarGroupPopover_unstable: (props: AvatarGroupPopoverProps) => AvatarGroupPopoverState;
|
|
409
409
|
|
|
410
|
+
export declare const useAvatarGroupPopoverContextValues_unstable: (state: AvatarGroupPopoverState) => AvatarGroupContextValues;
|
|
411
|
+
|
|
410
412
|
/**
|
|
411
413
|
* Apply styling to the AvatarGroupPopover slots based on the state
|
|
412
414
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { renderAvatarGroupPopover_unstable } from './renderAvatarGroupPopover';
|
|
3
|
-
import {
|
|
3
|
+
import { useAvatarGroupPopoverContextValues_unstable } from './useAvatarGroupPopoverContextValues';
|
|
4
4
|
import { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';
|
|
5
5
|
import { useAvatarGroupPopover_unstable } from './useAvatarGroupPopover';
|
|
6
6
|
import { useAvatarGroupPopoverStyles_unstable } from './useAvatarGroupPopoverStyles.styles';
|
|
@@ -8,7 +8,7 @@ import { useAvatarGroupPopoverStyles_unstable } from './useAvatarGroupPopoverSty
|
|
|
8
8
|
* The AvatarGroupPopover component provides a button with a Popover containing the children provided.
|
|
9
9
|
*/ export const AvatarGroupPopover = (props)=>{
|
|
10
10
|
const state = useAvatarGroupPopover_unstable(props);
|
|
11
|
-
const contextValues =
|
|
11
|
+
const contextValues = useAvatarGroupPopoverContextValues_unstable(state);
|
|
12
12
|
useAvatarGroupPopoverStyles_unstable(state);
|
|
13
13
|
useCustomStyleHook_unstable('useAvatarGroupPopoverStyles_unstable')(state);
|
|
14
14
|
return renderAvatarGroupPopover_unstable(state, contextValues);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["AvatarGroupPopover.tsx"],"sourcesContent":["import * as React from 'react';\nimport { renderAvatarGroupPopover_unstable } from './renderAvatarGroupPopover';\nimport {
|
|
1
|
+
{"version":3,"sources":["AvatarGroupPopover.tsx"],"sourcesContent":["import * as React from 'react';\nimport { renderAvatarGroupPopover_unstable } from './renderAvatarGroupPopover';\nimport { useAvatarGroupPopoverContextValues_unstable } from './useAvatarGroupPopoverContextValues';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\nimport { useAvatarGroupPopover_unstable } from './useAvatarGroupPopover';\nimport { useAvatarGroupPopoverStyles_unstable } from './useAvatarGroupPopoverStyles.styles';\nimport type { AvatarGroupPopoverProps } from './AvatarGroupPopover.types';\n\n/**\n * The AvatarGroupPopover component provides a button with a Popover containing the children provided.\n */\nexport const AvatarGroupPopover: React.FC<AvatarGroupPopoverProps> = props => {\n const state = useAvatarGroupPopover_unstable(props);\n const contextValues = useAvatarGroupPopoverContextValues_unstable(state);\n\n useAvatarGroupPopoverStyles_unstable(state);\n\n useCustomStyleHook_unstable('useAvatarGroupPopoverStyles_unstable')(state);\n\n return renderAvatarGroupPopover_unstable(state, contextValues);\n};\n\nAvatarGroupPopover.displayName = 'AvatarGroupPopover';\n"],"names":["React","renderAvatarGroupPopover_unstable","useAvatarGroupPopoverContextValues_unstable","useCustomStyleHook_unstable","useAvatarGroupPopover_unstable","useAvatarGroupPopoverStyles_unstable","AvatarGroupPopover","props","state","contextValues","displayName"],"mappings":"AAAA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,iCAAiC,QAAQ,6BAA6B;AAC/E,SAASC,2CAA2C,QAAQ,uCAAuC;AACnG,SAASC,2BAA2B,QAAQ,kCAAkC;AAC9E,SAASC,8BAA8B,QAAQ,0BAA0B;AACzE,SAASC,oCAAoC,QAAQ,uCAAuC;AAG5F;;CAEC,GACD,OAAO,MAAMC,qBAAwDC,CAAAA;IACnE,MAAMC,QAAQJ,+BAA+BG;IAC7C,MAAME,gBAAgBP,4CAA4CM;IAElEH,qCAAqCG;IAErCL,4BAA4B,wCAAwCK;IAEpE,OAAOP,kCAAkCO,OAAOC;AAClD,EAAE;AAEFH,mBAAmBI,WAAW,GAAG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './AvatarGroupPopover';\nexport * from './AvatarGroupPopover.types';\nexport * from './renderAvatarGroupPopover';\nexport * from './useAvatarGroupPopover';\nexport * from './useAvatarGroupPopoverStyles.styles';\n"],"names":[],"mappings":"AAAA,cAAc,uBAAuB;AACrC,cAAc,6BAA6B;AAC3C,cAAc,6BAA6B;AAC3C,cAAc,0BAA0B;AACxC,cAAc,uCAAuC"}
|
|
1
|
+
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './AvatarGroupPopover';\nexport * from './AvatarGroupPopover.types';\nexport * from './renderAvatarGroupPopover';\nexport * from './useAvatarGroupPopover';\nexport * from './useAvatarGroupPopoverStyles.styles';\nexport * from './useAvatarGroupPopoverContextValues';\n"],"names":[],"mappings":"AAAA,cAAc,uBAAuB;AACrC,cAAc,6BAA6B;AAC3C,cAAc,6BAA6B;AAC3C,cAAc,0BAA0B;AACxC,cAAc,uCAAuC;AACrD,cAAc,uCAAuC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["useAvatarGroupPopoverContextValues.ts"],"sourcesContent":["import { AvatarGroupContextValue, AvatarGroupContextValues } from '../AvatarGroup/AvatarGroup.types';\nimport { AvatarGroupPopoverState } from './AvatarGroupPopover.types';\n\nexport const
|
|
1
|
+
{"version":3,"sources":["useAvatarGroupPopoverContextValues.ts"],"sourcesContent":["import { AvatarGroupContextValue, AvatarGroupContextValues } from '../AvatarGroup/AvatarGroup.types';\nimport { AvatarGroupPopoverState } from './AvatarGroupPopover.types';\n\nexport const useAvatarGroupPopoverContextValues_unstable = (\n state: AvatarGroupPopoverState,\n): AvatarGroupContextValues => {\n const avatarGroup: AvatarGroupContextValue = {\n isOverflow: true,\n size: 24,\n };\n\n return { avatarGroup };\n};\n"],"names":["useAvatarGroupPopoverContextValues_unstable","state","avatarGroup","isOverflow","size"],"mappings":"AAGA,OAAO,MAAMA,8CAA8C,CACzDC;IAEA,MAAMC,cAAuC;QAC3CC,YAAY;QACZC,MAAM;IACR;IAEA,OAAO;QAAEF;IAAY;AACvB,EAAE"}
|
package/lib/index.js
CHANGED
|
@@ -2,5 +2,5 @@ export { Avatar, avatarClassNames, renderAvatar_unstable, useAvatarStyles_unstab
|
|
|
2
2
|
export { getInitials, partitionAvatarGroupItems } from './utils/index';
|
|
3
3
|
export { AvatarGroup, avatarGroupClassNames, renderAvatarGroup_unstable, useAvatarGroupContextValues, useAvatarGroupStyles_unstable, useAvatarGroup_unstable } from './AvatarGroup';
|
|
4
4
|
export { AvatarGroupItem, avatarGroupItemClassNames, renderAvatarGroupItem_unstable, useAvatarGroupItemStyles_unstable, useAvatarGroupItem_unstable } from './AvatarGroupItem';
|
|
5
|
-
export { AvatarGroupPopover, avatarGroupPopoverClassNames, renderAvatarGroupPopover_unstable,
|
|
5
|
+
export { AvatarGroupPopover, avatarGroupPopoverClassNames, renderAvatarGroupPopover_unstable, useAvatarGroupPopover_unstable, useAvatarGroupPopoverContextValues_unstable, useAvatarGroupPopoverStyles_unstable } from './AvatarGroupPopover';
|
|
6
6
|
export { AvatarContextProvider, AvatarGroupProvider, useAvatarContext, useAvatarGroupContext_unstable } from './contexts/index';
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["index.ts"],"sourcesContent":["export {\n Avatar,\n avatarClassNames,\n renderAvatar_unstable,\n useAvatarStyles_unstable,\n useAvatar_unstable,\n} from './Avatar';\nexport type {\n AvatarNamedColor,\n AvatarProps,\n AvatarSlots,\n AvatarState,\n AvatarShape,\n // eslint-disable-next-line deprecation/deprecation\n AvatarSizes,\n AvatarSize,\n} from './Avatar';\nexport { getInitials, partitionAvatarGroupItems } from './utils/index';\nexport type { PartitionAvatarGroupItems, PartitionAvatarGroupItemsOptions } from './utils/index';\nexport {\n AvatarGroup,\n avatarGroupClassNames,\n renderAvatarGroup_unstable,\n useAvatarGroupContextValues,\n useAvatarGroupStyles_unstable,\n useAvatarGroup_unstable,\n} from './AvatarGroup';\nexport type {\n AvatarGroupProps,\n AvatarGroupSlots,\n AvatarGroupState,\n AvatarGroupContextValue,\n AvatarGroupContextValues,\n} from './AvatarGroup';\nexport {\n AvatarGroupItem,\n avatarGroupItemClassNames,\n renderAvatarGroupItem_unstable,\n useAvatarGroupItemStyles_unstable,\n useAvatarGroupItem_unstable,\n} from './AvatarGroupItem';\nexport type { AvatarGroupItemProps, AvatarGroupItemSlots, AvatarGroupItemState } from './AvatarGroupItem';\nexport {\n AvatarGroupPopover,\n avatarGroupPopoverClassNames,\n renderAvatarGroupPopover_unstable,\n
|
|
1
|
+
{"version":3,"sources":["index.ts"],"sourcesContent":["export {\n Avatar,\n avatarClassNames,\n renderAvatar_unstable,\n useAvatarStyles_unstable,\n useAvatar_unstable,\n} from './Avatar';\nexport type {\n AvatarNamedColor,\n AvatarProps,\n AvatarSlots,\n AvatarState,\n AvatarShape,\n // eslint-disable-next-line deprecation/deprecation\n AvatarSizes,\n AvatarSize,\n} from './Avatar';\nexport { getInitials, partitionAvatarGroupItems } from './utils/index';\nexport type { PartitionAvatarGroupItems, PartitionAvatarGroupItemsOptions } from './utils/index';\nexport {\n AvatarGroup,\n avatarGroupClassNames,\n renderAvatarGroup_unstable,\n useAvatarGroupContextValues,\n useAvatarGroupStyles_unstable,\n useAvatarGroup_unstable,\n} from './AvatarGroup';\nexport type {\n AvatarGroupProps,\n AvatarGroupSlots,\n AvatarGroupState,\n AvatarGroupContextValue,\n AvatarGroupContextValues,\n} from './AvatarGroup';\nexport {\n AvatarGroupItem,\n avatarGroupItemClassNames,\n renderAvatarGroupItem_unstable,\n useAvatarGroupItemStyles_unstable,\n useAvatarGroupItem_unstable,\n} from './AvatarGroupItem';\nexport type { AvatarGroupItemProps, AvatarGroupItemSlots, AvatarGroupItemState } from './AvatarGroupItem';\nexport {\n AvatarGroupPopover,\n avatarGroupPopoverClassNames,\n renderAvatarGroupPopover_unstable,\n useAvatarGroupPopover_unstable,\n useAvatarGroupPopoverContextValues_unstable,\n useAvatarGroupPopoverStyles_unstable,\n} from './AvatarGroupPopover';\nexport type { AvatarGroupPopoverProps, AvatarGroupPopoverSlots, AvatarGroupPopoverState } from './AvatarGroupPopover';\nexport {\n AvatarContextProvider,\n AvatarGroupProvider,\n useAvatarContext,\n useAvatarGroupContext_unstable,\n} from './contexts/index';\nexport type { AvatarContextValue } from './contexts/index';\n"],"names":["Avatar","avatarClassNames","renderAvatar_unstable","useAvatarStyles_unstable","useAvatar_unstable","getInitials","partitionAvatarGroupItems","AvatarGroup","avatarGroupClassNames","renderAvatarGroup_unstable","useAvatarGroupContextValues","useAvatarGroupStyles_unstable","useAvatarGroup_unstable","AvatarGroupItem","avatarGroupItemClassNames","renderAvatarGroupItem_unstable","useAvatarGroupItemStyles_unstable","useAvatarGroupItem_unstable","AvatarGroupPopover","avatarGroupPopoverClassNames","renderAvatarGroupPopover_unstable","useAvatarGroupPopover_unstable","useAvatarGroupPopoverContextValues_unstable","useAvatarGroupPopoverStyles_unstable","AvatarContextProvider","AvatarGroupProvider","useAvatarContext","useAvatarGroupContext_unstable"],"mappings":"AAAA,SACEA,MAAM,EACNC,gBAAgB,EAChBC,qBAAqB,EACrBC,wBAAwB,EACxBC,kBAAkB,QACb,WAAW;AAWlB,SAASC,WAAW,EAAEC,yBAAyB,QAAQ,gBAAgB;AAEvE,SACEC,WAAW,EACXC,qBAAqB,EACrBC,0BAA0B,EAC1BC,2BAA2B,EAC3BC,6BAA6B,EAC7BC,uBAAuB,QAClB,gBAAgB;AAQvB,SACEC,eAAe,EACfC,yBAAyB,EACzBC,8BAA8B,EAC9BC,iCAAiC,EACjCC,2BAA2B,QACtB,oBAAoB;AAE3B,SACEC,kBAAkB,EAClBC,4BAA4B,EAC5BC,iCAAiC,EACjCC,8BAA8B,EAC9BC,2CAA2C,EAC3CC,oCAAoC,QAC/B,uBAAuB;AAE9B,SACEC,qBAAqB,EACrBC,mBAAmB,EACnBC,gBAAgB,EAChBC,8BAA8B,QACzB,mBAAmB"}
|
|
@@ -17,7 +17,7 @@ const _useAvatarGroupPopover = require("./useAvatarGroupPopover");
|
|
|
17
17
|
const _useAvatarGroupPopoverStylesstyles = require("./useAvatarGroupPopoverStyles.styles");
|
|
18
18
|
const AvatarGroupPopover = (props)=>{
|
|
19
19
|
const state = (0, _useAvatarGroupPopover.useAvatarGroupPopover_unstable)(props);
|
|
20
|
-
const contextValues = (0, _useAvatarGroupPopoverContextValues.
|
|
20
|
+
const contextValues = (0, _useAvatarGroupPopoverContextValues.useAvatarGroupPopoverContextValues_unstable)(state);
|
|
21
21
|
(0, _useAvatarGroupPopoverStylesstyles.useAvatarGroupPopoverStyles_unstable)(state);
|
|
22
22
|
(0, _reactsharedcontexts.useCustomStyleHook_unstable)('useAvatarGroupPopoverStyles_unstable')(state);
|
|
23
23
|
return (0, _renderAvatarGroupPopover.renderAvatarGroupPopover_unstable)(state, contextValues);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["AvatarGroupPopover.js"],"sourcesContent":["import * as React from 'react';\nimport { renderAvatarGroupPopover_unstable } from './renderAvatarGroupPopover';\nimport {
|
|
1
|
+
{"version":3,"sources":["AvatarGroupPopover.js"],"sourcesContent":["import * as React from 'react';\nimport { renderAvatarGroupPopover_unstable } from './renderAvatarGroupPopover';\nimport { useAvatarGroupPopoverContextValues_unstable } from './useAvatarGroupPopoverContextValues';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\nimport { useAvatarGroupPopover_unstable } from './useAvatarGroupPopover';\nimport { useAvatarGroupPopoverStyles_unstable } from './useAvatarGroupPopoverStyles.styles';\n/**\n * The AvatarGroupPopover component provides a button with a Popover containing the children provided.\n */ export const AvatarGroupPopover = (props)=>{\n const state = useAvatarGroupPopover_unstable(props);\n const contextValues = useAvatarGroupPopoverContextValues_unstable(state);\n useAvatarGroupPopoverStyles_unstable(state);\n useCustomStyleHook_unstable('useAvatarGroupPopoverStyles_unstable')(state);\n return renderAvatarGroupPopover_unstable(state, contextValues);\n};\nAvatarGroupPopover.displayName = 'AvatarGroupPopover';\n"],"names":["AvatarGroupPopover","props","state","useAvatarGroupPopover_unstable","contextValues","useAvatarGroupPopoverContextValues_unstable","useAvatarGroupPopoverStyles_unstable","useCustomStyleHook_unstable","renderAvatarGroupPopover_unstable","displayName"],"mappings":";;;;+BAQiBA;;;eAAAA;;;;iEARM;0CAC2B;oDACU;qCAChB;uCACG;mDACM;AAG1C,MAAMA,qBAAqB,CAACC;IACnC,MAAMC,QAAQC,IAAAA,qDAA8B,EAACF;IAC7C,MAAMG,gBAAgBC,IAAAA,+EAA2C,EAACH;IAClEI,IAAAA,uEAAoC,EAACJ;IACrCK,IAAAA,gDAA2B,EAAC,wCAAwCL;IACpE,OAAOM,IAAAA,2DAAiC,EAACN,OAAOE;AACpD;AACAJ,mBAAmBS,WAAW,GAAG"}
|
|
@@ -8,3 +8,4 @@ _export_star._(require("./AvatarGroupPopover.types"), exports);
|
|
|
8
8
|
_export_star._(require("./renderAvatarGroupPopover"), exports);
|
|
9
9
|
_export_star._(require("./useAvatarGroupPopover"), exports);
|
|
10
10
|
_export_star._(require("./useAvatarGroupPopoverStyles.styles"), exports);
|
|
11
|
+
_export_star._(require("./useAvatarGroupPopoverContextValues"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["index.js"],"sourcesContent":["export * from './AvatarGroupPopover';\nexport * from './AvatarGroupPopover.types';\nexport * from './renderAvatarGroupPopover';\nexport * from './useAvatarGroupPopover';\nexport * from './useAvatarGroupPopoverStyles.styles';\n"],"names":[],"mappings":";;;;;uBAAc;uBACA;uBACA;uBACA;uBACA"}
|
|
1
|
+
{"version":3,"sources":["index.js"],"sourcesContent":["export * from './AvatarGroupPopover';\nexport * from './AvatarGroupPopover.types';\nexport * from './renderAvatarGroupPopover';\nexport * from './useAvatarGroupPopover';\nexport * from './useAvatarGroupPopoverStyles.styles';\nexport * from './useAvatarGroupPopoverContextValues';\n"],"names":[],"mappings":";;;;;uBAAc;uBACA;uBACA;uBACA;uBACA;uBACA"}
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", {
|
|
3
3
|
value: true
|
|
4
4
|
});
|
|
5
|
-
Object.defineProperty(exports, "
|
|
5
|
+
Object.defineProperty(exports, "useAvatarGroupPopoverContextValues_unstable", {
|
|
6
6
|
enumerable: true,
|
|
7
7
|
get: function() {
|
|
8
|
-
return
|
|
8
|
+
return useAvatarGroupPopoverContextValues_unstable;
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
|
-
const
|
|
11
|
+
const useAvatarGroupPopoverContextValues_unstable = (state)=>{
|
|
12
12
|
const avatarGroup = {
|
|
13
13
|
isOverflow: true,
|
|
14
14
|
size: 24
|
package/lib-commonjs/components/AvatarGroupPopover/useAvatarGroupPopoverContextValues.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["useAvatarGroupPopoverContextValues.js"],"sourcesContent":["export const
|
|
1
|
+
{"version":3,"sources":["useAvatarGroupPopoverContextValues.js"],"sourcesContent":["export const useAvatarGroupPopoverContextValues_unstable = (state)=>{\n const avatarGroup = {\n isOverflow: true,\n size: 24\n };\n return {\n avatarGroup\n };\n};\n"],"names":["useAvatarGroupPopoverContextValues_unstable","state","avatarGroup","isOverflow","size"],"mappings":";;;;+BAAaA;;;eAAAA;;;AAAN,MAAMA,8CAA8C,CAACC;IACxD,MAAMC,cAAc;QAChBC,YAAY;QACZC,MAAM;IACV;IACA,OAAO;QACHF;IACJ;AACJ"}
|
package/lib-commonjs/index.js
CHANGED
|
@@ -72,12 +72,15 @@ _export(exports, {
|
|
|
72
72
|
renderAvatarGroupPopover_unstable: function() {
|
|
73
73
|
return _AvatarGroupPopover.renderAvatarGroupPopover_unstable;
|
|
74
74
|
},
|
|
75
|
-
useAvatarGroupPopoverStyles_unstable: function() {
|
|
76
|
-
return _AvatarGroupPopover.useAvatarGroupPopoverStyles_unstable;
|
|
77
|
-
},
|
|
78
75
|
useAvatarGroupPopover_unstable: function() {
|
|
79
76
|
return _AvatarGroupPopover.useAvatarGroupPopover_unstable;
|
|
80
77
|
},
|
|
78
|
+
useAvatarGroupPopoverContextValues_unstable: function() {
|
|
79
|
+
return _AvatarGroupPopover.useAvatarGroupPopoverContextValues_unstable;
|
|
80
|
+
},
|
|
81
|
+
useAvatarGroupPopoverStyles_unstable: function() {
|
|
82
|
+
return _AvatarGroupPopover.useAvatarGroupPopoverStyles_unstable;
|
|
83
|
+
},
|
|
81
84
|
AvatarContextProvider: function() {
|
|
82
85
|
return _index1.AvatarContextProvider;
|
|
83
86
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["index.js"],"sourcesContent":["export { Avatar, avatarClassNames, renderAvatar_unstable, useAvatarStyles_unstable, useAvatar_unstable } from './Avatar';\nexport { getInitials, partitionAvatarGroupItems } from './utils/index';\nexport { AvatarGroup, avatarGroupClassNames, renderAvatarGroup_unstable, useAvatarGroupContextValues, useAvatarGroupStyles_unstable, useAvatarGroup_unstable } from './AvatarGroup';\nexport { AvatarGroupItem, avatarGroupItemClassNames, renderAvatarGroupItem_unstable, useAvatarGroupItemStyles_unstable, useAvatarGroupItem_unstable } from './AvatarGroupItem';\nexport { AvatarGroupPopover, avatarGroupPopoverClassNames, renderAvatarGroupPopover_unstable,
|
|
1
|
+
{"version":3,"sources":["index.js"],"sourcesContent":["export { Avatar, avatarClassNames, renderAvatar_unstable, useAvatarStyles_unstable, useAvatar_unstable } from './Avatar';\nexport { getInitials, partitionAvatarGroupItems } from './utils/index';\nexport { AvatarGroup, avatarGroupClassNames, renderAvatarGroup_unstable, useAvatarGroupContextValues, useAvatarGroupStyles_unstable, useAvatarGroup_unstable } from './AvatarGroup';\nexport { AvatarGroupItem, avatarGroupItemClassNames, renderAvatarGroupItem_unstable, useAvatarGroupItemStyles_unstable, useAvatarGroupItem_unstable } from './AvatarGroupItem';\nexport { AvatarGroupPopover, avatarGroupPopoverClassNames, renderAvatarGroupPopover_unstable, useAvatarGroupPopover_unstable, useAvatarGroupPopoverContextValues_unstable, useAvatarGroupPopoverStyles_unstable } from './AvatarGroupPopover';\nexport { AvatarContextProvider, AvatarGroupProvider, useAvatarContext, useAvatarGroupContext_unstable } from './contexts/index';\n"],"names":["Avatar","avatarClassNames","renderAvatar_unstable","useAvatarStyles_unstable","useAvatar_unstable","getInitials","partitionAvatarGroupItems","AvatarGroup","avatarGroupClassNames","renderAvatarGroup_unstable","useAvatarGroupContextValues","useAvatarGroupStyles_unstable","useAvatarGroup_unstable","AvatarGroupItem","avatarGroupItemClassNames","renderAvatarGroupItem_unstable","useAvatarGroupItemStyles_unstable","useAvatarGroupItem_unstable","AvatarGroupPopover","avatarGroupPopoverClassNames","renderAvatarGroupPopover_unstable","useAvatarGroupPopover_unstable","useAvatarGroupPopoverContextValues_unstable","useAvatarGroupPopoverStyles_unstable","AvatarContextProvider","AvatarGroupProvider","useAvatarContext","useAvatarGroupContext_unstable"],"mappings":";;;;;;;;;;;IAASA,MAAM;eAANA,cAAM;;IAAEC,gBAAgB;eAAhBA,wBAAgB;;IAAEC,qBAAqB;eAArBA,6BAAqB;;IAAEC,wBAAwB;eAAxBA,gCAAwB;;IAAEC,kBAAkB;eAAlBA,0BAAkB;;IAC7FC,WAAW;eAAXA,kBAAW;;IAAEC,yBAAyB;eAAzBA,gCAAyB;;IACtCC,WAAW;eAAXA,wBAAW;;IAAEC,qBAAqB;eAArBA,kCAAqB;;IAAEC,0BAA0B;eAA1BA,uCAA0B;;IAAEC,2BAA2B;eAA3BA,wCAA2B;;IAAEC,6BAA6B;eAA7BA,0CAA6B;;IAAEC,uBAAuB;eAAvBA,oCAAuB;;IACnJC,eAAe;eAAfA,gCAAe;;IAAEC,yBAAyB;eAAzBA,0CAAyB;;IAAEC,8BAA8B;eAA9BA,+CAA8B;;IAAEC,iCAAiC;eAAjCA,kDAAiC;;IAAEC,2BAA2B;eAA3BA,4CAA2B;;IAC1IC,kBAAkB;eAAlBA,sCAAkB;;IAAEC,4BAA4B;eAA5BA,gDAA4B;;IAAEC,iCAAiC;eAAjCA,qDAAiC;;IAAEC,8BAA8B;eAA9BA,kDAA8B;;IAAEC,2CAA2C;eAA3CA,+DAA2C;;IAAEC,oCAAoC;eAApCA,wDAAoC;;IACtMC,qBAAqB;eAArBA,6BAAqB;;IAAEC,mBAAmB;eAAnBA,2BAAmB;;IAAEC,gBAAgB;eAAhBA,wBAAgB;;IAAEC,8BAA8B;eAA9BA,sCAA8B;;;wBALS;uBACvD;6BAC6G;iCACT;oCAC4D;wBAC1G"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui/react-avatar",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.6.0",
|
|
4
4
|
"description": "React components for building Microsoft web experiences.",
|
|
5
5
|
"main": "lib-commonjs/index.js",
|
|
6
6
|
"module": "lib/index.js",
|
|
@@ -37,16 +37,16 @@
|
|
|
37
37
|
"@fluentui/scripts-tasks": "*"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@fluentui/react-badge": "^9.2.
|
|
41
|
-
"@fluentui/react-context-selector": "^9.1.
|
|
40
|
+
"@fluentui/react-badge": "^9.2.16",
|
|
41
|
+
"@fluentui/react-context-selector": "^9.1.43",
|
|
42
42
|
"@fluentui/react-icons": "^2.0.217",
|
|
43
|
-
"@fluentui/react-popover": "^9.8.
|
|
44
|
-
"@fluentui/react-shared-contexts": "^9.13.
|
|
45
|
-
"@fluentui/react-tabster": "^9.15.
|
|
43
|
+
"@fluentui/react-popover": "^9.8.24",
|
|
44
|
+
"@fluentui/react-shared-contexts": "^9.13.1",
|
|
45
|
+
"@fluentui/react-tabster": "^9.15.1",
|
|
46
46
|
"@fluentui/react-theme": "^9.1.16",
|
|
47
|
-
"@fluentui/react-tooltip": "^9.4.
|
|
48
|
-
"@fluentui/react-utilities": "^9.15.
|
|
49
|
-
"@fluentui/react-jsx-runtime": "^9.0.
|
|
47
|
+
"@fluentui/react-tooltip": "^9.4.2",
|
|
48
|
+
"@fluentui/react-utilities": "^9.15.3",
|
|
49
|
+
"@fluentui/react-jsx-runtime": "^9.0.21",
|
|
50
50
|
"@griffel/react": "^1.5.14",
|
|
51
51
|
"@swc/helpers": "^0.5.1"
|
|
52
52
|
},
|