@fluentui/react-text 0.0.0-nightly-20230313-0423.1 → 0.0.0-nightly-20230315-0421.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 CHANGED
@@ -2,9 +2,9 @@
2
2
  "name": "@fluentui/react-text",
3
3
  "entries": [
4
4
  {
5
- "date": "Mon, 13 Mar 2023 04:32:38 GMT",
6
- "tag": "@fluentui/react-text_v0.0.0-nightly-20230313-0423.1",
7
- "version": "0.0.0-nightly-20230313-0423.1",
5
+ "date": "Wed, 15 Mar 2023 04:28:30 GMT",
6
+ "tag": "@fluentui/react-text_v0.0.0-nightly-20230315-0421.1",
7
+ "version": "0.0.0-nightly-20230315-0421.1",
8
8
  "comments": {
9
9
  "prerelease": [
10
10
  {
@@ -16,20 +16,41 @@
16
16
  {
17
17
  "author": "beachball",
18
18
  "package": "@fluentui/react-text",
19
- "comment": "Bump @fluentui/react-theme to v0.0.0-nightly-20230313-0423.1",
20
- "commit": "ef7f2722ab3c5efb594a61e042119de61d15bbd3"
19
+ "comment": "Bump @fluentui/react-shared-contexts to v0.0.0-nightly-20230315-0421.1",
20
+ "commit": "44079f1f2ed692e6a5ff6f0f14c95aa29cbf8508"
21
21
  },
22
22
  {
23
23
  "author": "beachball",
24
24
  "package": "@fluentui/react-text",
25
- "comment": "Bump @fluentui/react-utilities to v0.0.0-nightly-20230313-0423.1",
26
- "commit": "ef7f2722ab3c5efb594a61e042119de61d15bbd3"
25
+ "comment": "Bump @fluentui/react-theme to v0.0.0-nightly-20230315-0421.1",
26
+ "commit": "44079f1f2ed692e6a5ff6f0f14c95aa29cbf8508"
27
27
  },
28
28
  {
29
29
  "author": "beachball",
30
30
  "package": "@fluentui/react-text",
31
- "comment": "Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20230313-0423.1",
32
- "commit": "ef7f2722ab3c5efb594a61e042119de61d15bbd3"
31
+ "comment": "Bump @fluentui/react-utilities to v0.0.0-nightly-20230315-0421.1",
32
+ "commit": "44079f1f2ed692e6a5ff6f0f14c95aa29cbf8508"
33
+ },
34
+ {
35
+ "author": "beachball",
36
+ "package": "@fluentui/react-text",
37
+ "comment": "Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20230315-0421.1",
38
+ "commit": "44079f1f2ed692e6a5ff6f0f14c95aa29cbf8508"
39
+ }
40
+ ]
41
+ }
42
+ },
43
+ {
44
+ "date": "Mon, 13 Mar 2023 08:58:26 GMT",
45
+ "tag": "@fluentui/react-text_v9.2.6",
46
+ "version": "9.2.6",
47
+ "comments": {
48
+ "patch": [
49
+ {
50
+ "author": "beachball",
51
+ "package": "@fluentui/react-text",
52
+ "comment": "Bump @fluentui/react-utilities to v9.7.0",
53
+ "commit": "edf96a6b5d6f13843ada1400480e347b84384b8e"
33
54
  }
34
55
  ]
35
56
  }
package/CHANGELOG.md CHANGED
@@ -1,20 +1,30 @@
1
1
  # Change Log - @fluentui/react-text
2
2
 
3
- This log was last generated on Mon, 13 Mar 2023 04:32:38 GMT and should not be manually modified.
3
+ This log was last generated on Wed, 15 Mar 2023 04:28:30 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## [0.0.0-nightly-20230313-0423.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v0.0.0-nightly-20230313-0423.1)
7
+ ## [0.0.0-nightly-20230315-0421.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v0.0.0-nightly-20230315-0421.1)
8
8
 
9
- Mon, 13 Mar 2023 04:32:38 GMT
10
- [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.2.5..@fluentui/react-text_v0.0.0-nightly-20230313-0423.1)
9
+ Wed, 15 Mar 2023 04:28:30 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.2.6..@fluentui/react-text_v0.0.0-nightly-20230315-0421.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-theme to v0.0.0-nightly-20230313-0423.1 ([commit](https://github.com/microsoft/fluentui/commit/ef7f2722ab3c5efb594a61e042119de61d15bbd3) by beachball)
16
- - Bump @fluentui/react-utilities to v0.0.0-nightly-20230313-0423.1 ([commit](https://github.com/microsoft/fluentui/commit/ef7f2722ab3c5efb594a61e042119de61d15bbd3) by beachball)
17
- - Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20230313-0423.1 ([commit](https://github.com/microsoft/fluentui/commit/ef7f2722ab3c5efb594a61e042119de61d15bbd3) by beachball)
15
+ - Bump @fluentui/react-shared-contexts to v0.0.0-nightly-20230315-0421.1 ([commit](https://github.com/microsoft/fluentui/commit/44079f1f2ed692e6a5ff6f0f14c95aa29cbf8508) by beachball)
16
+ - Bump @fluentui/react-theme to v0.0.0-nightly-20230315-0421.1 ([commit](https://github.com/microsoft/fluentui/commit/44079f1f2ed692e6a5ff6f0f14c95aa29cbf8508) by beachball)
17
+ - Bump @fluentui/react-utilities to v0.0.0-nightly-20230315-0421.1 ([commit](https://github.com/microsoft/fluentui/commit/44079f1f2ed692e6a5ff6f0f14c95aa29cbf8508) by beachball)
18
+ - Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20230315-0421.1 ([commit](https://github.com/microsoft/fluentui/commit/44079f1f2ed692e6a5ff6f0f14c95aa29cbf8508) by beachball)
19
+
20
+ ## [9.2.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.2.6)
21
+
22
+ Mon, 13 Mar 2023 08:58:26 GMT
23
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.2.5..@fluentui/react-text_v9.2.6)
24
+
25
+ ### Patches
26
+
27
+ - Bump @fluentui/react-utilities to v9.7.0 ([PR #27161](https://github.com/microsoft/fluentui/pull/27161) by beachball)
18
28
 
19
29
  ## [9.2.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.2.5)
20
30
 
@@ -2,12 +2,17 @@ import * as React from 'react';
2
2
  import { useText_unstable } from './useText';
3
3
  import { renderText_unstable } from './renderText';
4
4
  import { useTextStyles_unstable } from './useTextStyles';
5
+ import { useCustomStyleHooks_unstable } from '@fluentui/react-shared-contexts';
5
6
  /**
6
7
  * Typography and styling abstraction component used to ensure consistency of text.
7
8
  */
8
9
  export const Text = /*#__PURE__*/React.forwardRef((props, ref) => {
9
10
  const state = useText_unstable(props, ref);
10
11
  useTextStyles_unstable(state);
12
+ const {
13
+ useTextStyles_unstable: useCustomStyles
14
+ } = useCustomStyleHooks_unstable();
15
+ useCustomStyles(state);
11
16
  return renderText_unstable(state);
12
17
  // Work around some small mismatches in inferred types which don't matter in practice
13
18
  });
@@ -1 +1 @@
1
- {"version":3,"names":["React","useText_unstable","renderText_unstable","useTextStyles_unstable","Text","forwardRef","props","ref","state","displayName"],"sources":["../../../../../../../../../packages/react-components/react-text/src/components/Text/Text.tsx"],"sourcesContent":["import * as React from 'react';\nimport { useText_unstable } from './useText';\nimport { renderText_unstable } from './renderText';\nimport { useTextStyles_unstable } from './useTextStyles';\nimport type { TextProps } from './Text.types';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\n\n/**\n * Typography and styling abstraction component used to ensure consistency of text.\n */\nexport const Text: ForwardRefComponent<TextProps> = React.forwardRef((props, ref) => {\n const state = useText_unstable(props, ref);\n\n useTextStyles_unstable(state);\n\n return renderText_unstable(state);\n // Work around some small mismatches in inferred types which don't matter in practice\n}) as ForwardRefComponent<TextProps>;\n\nText.displayName = 'Text';\n"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SAASC,gBAAgB,QAAQ,WAAW;AAC5C,SAASC,mBAAmB,QAAQ,cAAc;AAClD,SAASC,sBAAsB,QAAQ,iBAAiB;AAIxD;;;AAGA,OAAO,MAAMC,IAAI,gBAAmCJ,KAAK,CAACK,UAAU,CAAC,CAACC,KAAK,EAAEC,GAAG,KAAI;EAClF,MAAMC,KAAK,GAAGP,gBAAgB,CAACK,KAAK,EAAEC,GAAG,CAAC;EAE1CJ,sBAAsB,CAACK,KAAK,CAAC;EAE7B,OAAON,mBAAmB,CAACM,KAAK,CAAC;EACjC;AACF,CAAC,CAAmC;;AAEpCJ,IAAI,CAACK,WAAW,GAAG,MAAM"}
1
+ {"version":3,"names":["React","useText_unstable","renderText_unstable","useTextStyles_unstable","useCustomStyleHooks_unstable","Text","forwardRef","props","ref","state","useCustomStyles","displayName"],"sources":["../../../../../../../../../packages/react-components/react-text/src/components/Text/Text.tsx"],"sourcesContent":["import * as React from 'react';\nimport { useText_unstable } from './useText';\nimport { renderText_unstable } from './renderText';\nimport { useTextStyles_unstable } from './useTextStyles';\nimport type { TextProps } from './Text.types';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useCustomStyleHooks_unstable } from '@fluentui/react-shared-contexts';\n\n/**\n * Typography and styling abstraction component used to ensure consistency of text.\n */\nexport const Text: ForwardRefComponent<TextProps> = React.forwardRef((props, ref) => {\n const state = useText_unstable(props, ref);\n\n useTextStyles_unstable(state);\n\n const { useTextStyles_unstable: useCustomStyles } = useCustomStyleHooks_unstable();\n useCustomStyles(state);\n\n return renderText_unstable(state);\n // Work around some small mismatches in inferred types which don't matter in practice\n}) as ForwardRefComponent<TextProps>;\n\nText.displayName = 'Text';\n"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SAASC,gBAAgB,QAAQ,WAAW;AAC5C,SAASC,mBAAmB,QAAQ,cAAc;AAClD,SAASC,sBAAsB,QAAQ,iBAAiB;AAGxD,SAASC,4BAA4B,QAAQ,iCAAiC;AAE9E;;;AAGA,OAAO,MAAMC,IAAI,gBAAmCL,KAAK,CAACM,UAAU,CAAC,CAACC,KAAK,EAAEC,GAAG,KAAI;EAClF,MAAMC,KAAK,GAAGR,gBAAgB,CAACM,KAAK,EAAEC,GAAG,CAAC;EAE1CL,sBAAsB,CAACM,KAAK,CAAC;EAE7B,MAAM;IAAEN,sBAAsB,EAAEO;EAAe,CAAE,GAAGN,4BAA4B,EAAE;EAClFM,eAAe,CAACD,KAAK,CAAC;EAEtB,OAAOP,mBAAmB,CAACO,KAAK,CAAC;EACjC;AACF,CAAC,CAAmC;;AAEpCJ,IAAI,CAACM,WAAW,GAAG,MAAM"}
@@ -8,12 +8,17 @@ const React = /*#__PURE__*/require("react");
8
8
  const useText_1 = /*#__PURE__*/require("./useText");
9
9
  const renderText_1 = /*#__PURE__*/require("./renderText");
10
10
  const useTextStyles_1 = /*#__PURE__*/require("./useTextStyles");
11
+ const react_shared_contexts_1 = /*#__PURE__*/require("@fluentui/react-shared-contexts");
11
12
  /**
12
13
  * Typography and styling abstraction component used to ensure consistency of text.
13
14
  */
14
15
  exports.Text = /*#__PURE__*/React.forwardRef((props, ref) => {
15
16
  const state = useText_1.useText_unstable(props, ref);
16
17
  useTextStyles_1.useTextStyles_unstable(state);
18
+ const {
19
+ useTextStyles_unstable: useCustomStyles
20
+ } = react_shared_contexts_1.useCustomStyleHooks_unstable();
21
+ useCustomStyles(state);
17
22
  return renderText_1.renderText_unstable(state);
18
23
  // Work around some small mismatches in inferred types which don't matter in practice
19
24
  });
@@ -1 +1 @@
1
- {"version":3,"names":["React","require","useText_1","renderText_1","useTextStyles_1","exports","Text","forwardRef","props","ref","state","useText_unstable","useTextStyles_unstable","renderText_unstable","displayName"],"sources":["../../../../../../../../../packages/react-components/react-text/src/components/Text/Text.tsx"],"sourcesContent":["import * as React from 'react';\nimport { useText_unstable } from './useText';\nimport { renderText_unstable } from './renderText';\nimport { useTextStyles_unstable } from './useTextStyles';\nimport type { TextProps } from './Text.types';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\n\n/**\n * Typography and styling abstraction component used to ensure consistency of text.\n */\nexport const Text: ForwardRefComponent<TextProps> = React.forwardRef((props, ref) => {\n const state = useText_unstable(props, ref);\n\n useTextStyles_unstable(state);\n\n return renderText_unstable(state);\n // Work around some small mismatches in inferred types which don't matter in practice\n}) as ForwardRefComponent<TextProps>;\n\nText.displayName = 'Text';\n"],"mappings":";;;;;;AAAA,MAAAA,KAAA,gBAAAC,OAAA;AACA,MAAAC,SAAA,gBAAAD,OAAA;AACA,MAAAE,YAAA,gBAAAF,OAAA;AACA,MAAAG,eAAA,gBAAAH,OAAA;AAIA;;;AAGaI,OAAA,CAAAC,IAAI,gBAAmCN,KAAK,CAACO,UAAU,CAAC,CAACC,KAAK,EAAEC,GAAG,KAAI;EAClF,MAAMC,KAAK,GAAGR,SAAA,CAAAS,gBAAgB,CAACH,KAAK,EAAEC,GAAG,CAAC;EAE1CL,eAAA,CAAAQ,sBAAsB,CAACF,KAAK,CAAC;EAE7B,OAAOP,YAAA,CAAAU,mBAAmB,CAACH,KAAK,CAAC;EACjC;AACF,CAAC,CAAmC;;AAEpCL,OAAA,CAAAC,IAAI,CAACQ,WAAW,GAAG,MAAM"}
1
+ {"version":3,"names":["React","require","useText_1","renderText_1","useTextStyles_1","react_shared_contexts_1","exports","Text","forwardRef","props","ref","state","useText_unstable","useTextStyles_unstable","useCustomStyles","useCustomStyleHooks_unstable","renderText_unstable","displayName"],"sources":["../../../../../../../../../packages/react-components/react-text/src/components/Text/Text.tsx"],"sourcesContent":["import * as React from 'react';\nimport { useText_unstable } from './useText';\nimport { renderText_unstable } from './renderText';\nimport { useTextStyles_unstable } from './useTextStyles';\nimport type { TextProps } from './Text.types';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useCustomStyleHooks_unstable } from '@fluentui/react-shared-contexts';\n\n/**\n * Typography and styling abstraction component used to ensure consistency of text.\n */\nexport const Text: ForwardRefComponent<TextProps> = React.forwardRef((props, ref) => {\n const state = useText_unstable(props, ref);\n\n useTextStyles_unstable(state);\n\n const { useTextStyles_unstable: useCustomStyles } = useCustomStyleHooks_unstable();\n useCustomStyles(state);\n\n return renderText_unstable(state);\n // Work around some small mismatches in inferred types which don't matter in practice\n}) as ForwardRefComponent<TextProps>;\n\nText.displayName = 'Text';\n"],"mappings":";;;;;;AAAA,MAAAA,KAAA,gBAAAC,OAAA;AACA,MAAAC,SAAA,gBAAAD,OAAA;AACA,MAAAE,YAAA,gBAAAF,OAAA;AACA,MAAAG,eAAA,gBAAAH,OAAA;AAGA,MAAAI,uBAAA,gBAAAJ,OAAA;AAEA;;;AAGaK,OAAA,CAAAC,IAAI,gBAAmCP,KAAK,CAACQ,UAAU,CAAC,CAACC,KAAK,EAAEC,GAAG,KAAI;EAClF,MAAMC,KAAK,GAAGT,SAAA,CAAAU,gBAAgB,CAACH,KAAK,EAAEC,GAAG,CAAC;EAE1CN,eAAA,CAAAS,sBAAsB,CAACF,KAAK,CAAC;EAE7B,MAAM;IAAEE,sBAAsB,EAAEC;EAAe,CAAE,GAAGT,uBAAA,CAAAU,4BAA4B,EAAE;EAClFD,eAAe,CAACH,KAAK,CAAC;EAEtB,OAAOR,YAAA,CAAAa,mBAAmB,CAACL,KAAK,CAAC;EACjC;AACF,CAAC,CAAmC;;AAEpCL,OAAA,CAAAC,IAAI,CAACU,WAAW,GAAG,MAAM"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui/react-text",
3
- "version": "0.0.0-nightly-20230313-0423.1",
3
+ "version": "0.0.0-nightly-20230315-0421.1",
4
4
  "description": "Text is a typography and styling abstraction component that can be used to ensure the consistency of all text across your application.",
5
5
  "main": "lib-commonjs/index.js",
6
6
  "module": "lib/index.js",
@@ -27,14 +27,15 @@
27
27
  "devDependencies": {
28
28
  "@fluentui/eslint-plugin": "*",
29
29
  "@fluentui/react-conformance": "*",
30
- "@fluentui/react-conformance-griffel": "0.0.0-nightly-20230313-0423.1",
30
+ "@fluentui/react-conformance-griffel": "0.0.0-nightly-20230315-0421.1",
31
31
  "@fluentui/scripts-api-extractor": "*",
32
32
  "@fluentui/scripts-tasks": "*"
33
33
  },
34
34
  "dependencies": {
35
+ "@fluentui/react-shared-contexts": "0.0.0-nightly-20230315-0421.1",
36
+ "@fluentui/react-theme": "0.0.0-nightly-20230315-0421.1",
35
37
  "@griffel/react": "^1.5.2",
36
- "@fluentui/react-theme": "0.0.0-nightly-20230313-0423.1",
37
- "@fluentui/react-utilities": "0.0.0-nightly-20230313-0423.1",
38
+ "@fluentui/react-utilities": "0.0.0-nightly-20230315-0421.1",
38
39
  "tslib": "^2.1.0"
39
40
  },
40
41
  "peerDependencies": {