@fluentui/react-persona 0.0.0-nightly-20240314-0406.1 → 0.0.0-nightly-20240315-0408.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.md CHANGED
@@ -1,25 +1,25 @@
1
1
  # Change Log - @fluentui/react-persona
2
2
 
3
- This log was last generated on Thu, 14 Mar 2024 04:22:47 GMT and should not be manually modified.
3
+ This log was last generated on Fri, 15 Mar 2024 04:24:55 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## [0.0.0-nightly-20240314-0406.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-persona_v0.0.0-nightly-20240314-0406.1)
7
+ ## [0.0.0-nightly-20240315-0408.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-persona_v0.0.0-nightly-20240315-0408.1)
8
8
 
9
- Thu, 14 Mar 2024 04:22:47 GMT
10
- [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-persona_v9.2.76..@fluentui/react-persona_v0.0.0-nightly-20240314-0406.1)
9
+ Fri, 15 Mar 2024 04:24:55 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-persona_v9.2.76..@fluentui/react-persona_v0.0.0-nightly-20240315-0408.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-avatar to v0.0.0-nightly-20240314-0406.1 ([commit](https://github.com/microsoft/fluentui/commit/56c42d99e800d15eb3632c2cdceb5fdc3168c538) by beachball)
16
- - Bump @fluentui/react-badge to v0.0.0-nightly-20240314-0406.1 ([commit](https://github.com/microsoft/fluentui/commit/56c42d99e800d15eb3632c2cdceb5fdc3168c538) by beachball)
17
- - Bump @fluentui/react-shared-contexts to v0.0.0-nightly-20240314-0406.1 ([commit](https://github.com/microsoft/fluentui/commit/56c42d99e800d15eb3632c2cdceb5fdc3168c538) by beachball)
18
- - Bump @fluentui/react-theme to v0.0.0-nightly-20240314-0406.1 ([commit](https://github.com/microsoft/fluentui/commit/56c42d99e800d15eb3632c2cdceb5fdc3168c538) by beachball)
19
- - Bump @fluentui/react-utilities to v0.0.0-nightly-20240314-0406.1 ([commit](https://github.com/microsoft/fluentui/commit/56c42d99e800d15eb3632c2cdceb5fdc3168c538) by beachball)
20
- - Bump @fluentui/react-jsx-runtime to v0.0.0-nightly-20240314-0406.1 ([commit](https://github.com/microsoft/fluentui/commit/56c42d99e800d15eb3632c2cdceb5fdc3168c538) by beachball)
21
- - Bump @fluentui/react-conformance to v0.0.0-nightly-20240314-0406.1 ([commit](https://github.com/microsoft/fluentui/commit/56c42d99e800d15eb3632c2cdceb5fdc3168c538) by beachball)
22
- - Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20240314-0406.1 ([commit](https://github.com/microsoft/fluentui/commit/56c42d99e800d15eb3632c2cdceb5fdc3168c538) by beachball)
15
+ - Bump @fluentui/react-avatar to v0.0.0-nightly-20240315-0408.1 ([commit](https://github.com/microsoft/fluentui/commit/e039505b45ad657244113509cf6693af6eb2ff42) by beachball)
16
+ - Bump @fluentui/react-badge to v0.0.0-nightly-20240315-0408.1 ([commit](https://github.com/microsoft/fluentui/commit/e039505b45ad657244113509cf6693af6eb2ff42) by beachball)
17
+ - Bump @fluentui/react-shared-contexts to v0.0.0-nightly-20240315-0408.1 ([commit](https://github.com/microsoft/fluentui/commit/e039505b45ad657244113509cf6693af6eb2ff42) by beachball)
18
+ - Bump @fluentui/react-theme to v0.0.0-nightly-20240315-0408.1 ([commit](https://github.com/microsoft/fluentui/commit/e039505b45ad657244113509cf6693af6eb2ff42) by beachball)
19
+ - Bump @fluentui/react-utilities to v0.0.0-nightly-20240315-0408.1 ([commit](https://github.com/microsoft/fluentui/commit/e039505b45ad657244113509cf6693af6eb2ff42) by beachball)
20
+ - Bump @fluentui/react-jsx-runtime to v0.0.0-nightly-20240315-0408.1 ([commit](https://github.com/microsoft/fluentui/commit/e039505b45ad657244113509cf6693af6eb2ff42) by beachball)
21
+ - Bump @fluentui/react-conformance to v0.0.0-nightly-20240315-0408.1 ([commit](https://github.com/microsoft/fluentui/commit/e039505b45ad657244113509cf6693af6eb2ff42) by beachball)
22
+ - Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20240315-0408.1 ([commit](https://github.com/microsoft/fluentui/commit/e039505b45ad657244113509cf6693af6eb2ff42) by beachball)
23
23
 
24
24
  ## [9.2.76](https://github.com/microsoft/fluentui/tree/@fluentui/react-persona_v9.2.76)
25
25
 
@@ -1 +1,3 @@
1
- export { };
1
+ /**
2
+ * State used in rendering Persona
3
+ */ export { };
@@ -1 +1 @@
1
- {"version":3,"sources":["Persona.types.ts"],"sourcesContent":["import { Avatar } from '@fluentui/react-avatar';\nimport { PresenceBadge } from '@fluentui/react-badge';\nimport type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';\n\nexport type PersonaSlots = {\n root: NonNullable<Slot<'div'>>;\n\n /**\n * Avatar to display.\n *\n * If a PresenceBadge and an Avatar are provided, the Avatar will display the PresenceBadge as its presence.\n */\n avatar?: Slot<typeof Avatar>;\n\n /**\n * PresenceBadge to display.\n *\n * If `presenceOnly` is true, the PresenceBadge will be displayed instead of the Avatar.\n */\n presence?: Slot<typeof PresenceBadge>;\n\n /**\n * The first line of text in the Persona, larger than the rest of the lines.\n *\n * `primaryText` defaults to the `name` prop. We recomend to only use `name`, use `primaryText` when the text is\n * different than the `name` prop.\n */\n primaryText?: Slot<'span'>;\n\n /**\n * The second line of text in the Persona.\n */\n secondaryText?: Slot<'span'>;\n\n /**\n * The third line of text in the Persona.\n */\n tertiaryText?: Slot<'span'>;\n\n /**\n * The fourth line of text in the Persona.\n */\n quaternaryText?: Slot<'span'>;\n};\n\n/**\n * Persona Props\n */\nexport type PersonaProps = ComponentProps<PersonaSlots> & {\n /**\n * The name of the person or entity represented by the Persona.\n *\n * When `primaryText` is not provided, this will be used as the default value for `primaryText`.\n */\n name?: string;\n\n /**\n * Whether to display only the presence.\n *\n * @default false\n */\n presenceOnly?: boolean;\n\n /**\n * The size of a Persona and its text.\n *\n * @default medium\n */\n size?: 'extra-small' | 'small' | 'medium' | 'large' | 'extra-large' | 'huge';\n\n /**\n * The position of the text relative to the avatar/presence.\n *\n * @default after\n */\n textPosition?: 'after' | 'before' | 'below';\n\n /**\n * The vertical alignment of the text relative to the avatar/presence.\n *\n * @default start\n */\n textAlignment?: 'center' | 'start';\n};\n\n/**\n * State used in rendering Persona\n */\nexport type PersonaState = ComponentState<PersonaSlots> &\n Required<Pick<PersonaProps, 'presenceOnly' | 'size' | 'textAlignment' | 'textPosition'>> & {\n /**\n * The number of text lines used.\n */\n numTextLines: number;\n };\n"],"names":[],"mappings":"AAAA,WA8FI"}
1
+ {"version":3,"sources":["Persona.types.ts"],"sourcesContent":["import { Avatar } from '@fluentui/react-avatar';\nimport { PresenceBadge } from '@fluentui/react-badge';\nimport type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';\n\nexport type PersonaSlots = {\n root: NonNullable<Slot<'div'>>;\n\n /**\n * Avatar to display.\n *\n * If a PresenceBadge and an Avatar are provided, the Avatar will display the PresenceBadge as its presence.\n */\n avatar?: Slot<typeof Avatar>;\n\n /**\n * PresenceBadge to display.\n *\n * If `presenceOnly` is true, the PresenceBadge will be displayed instead of the Avatar.\n */\n presence?: Slot<typeof PresenceBadge>;\n\n /**\n * The first line of text in the Persona, larger than the rest of the lines.\n *\n * `primaryText` defaults to the `name` prop. We recomend to only use `name`, use `primaryText` when the text is\n * different than the `name` prop.\n */\n primaryText?: Slot<'span'>;\n\n /**\n * The second line of text in the Persona.\n */\n secondaryText?: Slot<'span'>;\n\n /**\n * The third line of text in the Persona.\n */\n tertiaryText?: Slot<'span'>;\n\n /**\n * The fourth line of text in the Persona.\n */\n quaternaryText?: Slot<'span'>;\n};\n\n/**\n * Persona Props\n */\nexport type PersonaProps = ComponentProps<PersonaSlots> & {\n /**\n * The name of the person or entity represented by the Persona.\n *\n * When `primaryText` is not provided, this will be used as the default value for `primaryText`.\n */\n name?: string;\n\n /**\n * Whether to display only the presence.\n *\n * @default false\n */\n presenceOnly?: boolean;\n\n /**\n * The size of a Persona and its text.\n *\n * @default medium\n */\n size?: 'extra-small' | 'small' | 'medium' | 'large' | 'extra-large' | 'huge';\n\n /**\n * The position of the text relative to the avatar/presence.\n *\n * @default after\n */\n textPosition?: 'after' | 'before' | 'below';\n\n /**\n * The vertical alignment of the text relative to the avatar/presence.\n *\n * @default start\n */\n textAlignment?: 'center' | 'start';\n};\n\n/**\n * State used in rendering Persona\n */\nexport type PersonaState = ComponentState<PersonaSlots> &\n Required<Pick<PersonaProps, 'presenceOnly' | 'size' | 'textAlignment' | 'textPosition'>> & {\n /**\n * The number of text lines used.\n */\n numTextLines: number;\n };\n"],"names":[],"mappings":"AAqFA;;CAEC,GACD,WAMI"}
@@ -1,4 +1,6 @@
1
- "use strict";
1
+ /**
2
+ * State used in rendering Persona
3
+ */ "use strict";
2
4
  Object.defineProperty(exports, "__esModule", {
3
5
  value: true
4
6
  });
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":""}
1
+ {"version":3,"sources":["Persona.types.js"],"sourcesContent":["/**\n * State used in rendering Persona\n */ export { };\n"],"names":[],"mappings":"AAAA;;CAEC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui/react-persona",
3
- "version": "0.0.0-nightly-20240314-0406.1",
3
+ "version": "0.0.0-nightly-20240315-0408.1",
4
4
  "description": "React components for building web experiences",
5
5
  "main": "lib-commonjs/index.js",
6
6
  "module": "lib/index.js",
@@ -27,18 +27,18 @@
27
27
  },
28
28
  "devDependencies": {
29
29
  "@fluentui/eslint-plugin": "*",
30
- "@fluentui/react-conformance": "0.0.0-nightly-20240314-0406.1",
31
- "@fluentui/react-conformance-griffel": "0.0.0-nightly-20240314-0406.1",
30
+ "@fluentui/react-conformance": "0.0.0-nightly-20240315-0408.1",
31
+ "@fluentui/react-conformance-griffel": "0.0.0-nightly-20240315-0408.1",
32
32
  "@fluentui/scripts-api-extractor": "*",
33
33
  "@fluentui/scripts-tasks": "*"
34
34
  },
35
35
  "dependencies": {
36
- "@fluentui/react-avatar": "0.0.0-nightly-20240314-0406.1",
37
- "@fluentui/react-badge": "0.0.0-nightly-20240314-0406.1",
38
- "@fluentui/react-shared-contexts": "0.0.0-nightly-20240314-0406.1",
39
- "@fluentui/react-theme": "0.0.0-nightly-20240314-0406.1",
40
- "@fluentui/react-utilities": "0.0.0-nightly-20240314-0406.1",
41
- "@fluentui/react-jsx-runtime": "0.0.0-nightly-20240314-0406.1",
36
+ "@fluentui/react-avatar": "0.0.0-nightly-20240315-0408.1",
37
+ "@fluentui/react-badge": "0.0.0-nightly-20240315-0408.1",
38
+ "@fluentui/react-shared-contexts": "0.0.0-nightly-20240315-0408.1",
39
+ "@fluentui/react-theme": "0.0.0-nightly-20240315-0408.1",
40
+ "@fluentui/react-utilities": "0.0.0-nightly-20240315-0408.1",
41
+ "@fluentui/react-jsx-runtime": "0.0.0-nightly-20240315-0408.1",
42
42
  "@griffel/react": "^1.5.14",
43
43
  "@swc/helpers": "^0.5.1"
44
44
  },