@fluentui/react-text 0.0.0-nightly-20250703-0405.1 → 0.0.0-nightly-20250703-1103.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.
Files changed (74) hide show
  1. package/CHANGELOG.md +10 -10
  2. package/lib/components/Text/useTextStyles.styles.raw.js +110 -0
  3. package/lib/components/Text/useTextStyles.styles.raw.js.map +1 -0
  4. package/lib/components/presets/Body1/useBody1Styles.styles.raw.js +10 -0
  5. package/lib/components/presets/Body1/useBody1Styles.styles.raw.js.map +1 -0
  6. package/lib/components/presets/Body1Strong/useBody1StrongStyles.styles.raw.js +10 -0
  7. package/lib/components/presets/Body1Strong/useBody1StrongStyles.styles.raw.js.map +1 -0
  8. package/lib/components/presets/Body1Stronger/useBody1StrongerStyles.styles.raw.js +10 -0
  9. package/lib/components/presets/Body1Stronger/useBody1StrongerStyles.styles.raw.js.map +1 -0
  10. package/lib/components/presets/Body2/useBody2Styles.styles.raw.js +10 -0
  11. package/lib/components/presets/Body2/useBody2Styles.styles.raw.js.map +1 -0
  12. package/lib/components/presets/Caption1/useCaption1Styles.styles.raw.js +10 -0
  13. package/lib/components/presets/Caption1/useCaption1Styles.styles.raw.js.map +1 -0
  14. package/lib/components/presets/Caption1Strong/useCaption1StrongStyles.styles.raw.js +10 -0
  15. package/lib/components/presets/Caption1Strong/useCaption1StrongStyles.styles.raw.js.map +1 -0
  16. package/lib/components/presets/Caption1Stronger/useCaption1Stronger.styles.raw.js +10 -0
  17. package/lib/components/presets/Caption1Stronger/useCaption1Stronger.styles.raw.js.map +1 -0
  18. package/lib/components/presets/Caption2/useCaption2Styles.styles.raw.js +10 -0
  19. package/lib/components/presets/Caption2/useCaption2Styles.styles.raw.js.map +1 -0
  20. package/lib/components/presets/Caption2Strong/useCaption2StrongStyles.styles.raw.js +10 -0
  21. package/lib/components/presets/Caption2Strong/useCaption2StrongStyles.styles.raw.js.map +1 -0
  22. package/lib/components/presets/Display/useDisplayStyles.styles.raw.js +10 -0
  23. package/lib/components/presets/Display/useDisplayStyles.styles.raw.js.map +1 -0
  24. package/lib/components/presets/LargeTitle/useLargeTitleStyles.styles.raw.js +10 -0
  25. package/lib/components/presets/LargeTitle/useLargeTitleStyles.styles.raw.js.map +1 -0
  26. package/lib/components/presets/Subtitle1/useSubtitle1Styles.styles.raw.js +10 -0
  27. package/lib/components/presets/Subtitle1/useSubtitle1Styles.styles.raw.js.map +1 -0
  28. package/lib/components/presets/Subtitle2/useSubtitle2Styles.styles.raw.js +10 -0
  29. package/lib/components/presets/Subtitle2/useSubtitle2Styles.styles.raw.js.map +1 -0
  30. package/lib/components/presets/Subtitle2Stronger/useSubtitle2Stronger.styles.raw.js +10 -0
  31. package/lib/components/presets/Subtitle2Stronger/useSubtitle2Stronger.styles.raw.js.map +1 -0
  32. package/lib/components/presets/Title1/useTitle1Styles.styles.raw.js +10 -0
  33. package/lib/components/presets/Title1/useTitle1Styles.styles.raw.js.map +1 -0
  34. package/lib/components/presets/Title2/useTitle2Styles.styles.raw.js +10 -0
  35. package/lib/components/presets/Title2/useTitle2Styles.styles.raw.js.map +1 -0
  36. package/lib/components/presets/Title3/useTitle3Styles.styles.raw.js +10 -0
  37. package/lib/components/presets/Title3/useTitle3Styles.styles.raw.js.map +1 -0
  38. package/lib-commonjs/components/Text/useTextStyles.styles.raw.js +126 -0
  39. package/lib-commonjs/components/Text/useTextStyles.styles.raw.js.map +1 -0
  40. package/lib-commonjs/components/presets/Body1/useBody1Styles.styles.raw.js +26 -0
  41. package/lib-commonjs/components/presets/Body1/useBody1Styles.styles.raw.js.map +1 -0
  42. package/lib-commonjs/components/presets/Body1Strong/useBody1StrongStyles.styles.raw.js +26 -0
  43. package/lib-commonjs/components/presets/Body1Strong/useBody1StrongStyles.styles.raw.js.map +1 -0
  44. package/lib-commonjs/components/presets/Body1Stronger/useBody1StrongerStyles.styles.raw.js +26 -0
  45. package/lib-commonjs/components/presets/Body1Stronger/useBody1StrongerStyles.styles.raw.js.map +1 -0
  46. package/lib-commonjs/components/presets/Body2/useBody2Styles.styles.raw.js +26 -0
  47. package/lib-commonjs/components/presets/Body2/useBody2Styles.styles.raw.js.map +1 -0
  48. package/lib-commonjs/components/presets/Caption1/useCaption1Styles.styles.raw.js +26 -0
  49. package/lib-commonjs/components/presets/Caption1/useCaption1Styles.styles.raw.js.map +1 -0
  50. package/lib-commonjs/components/presets/Caption1Strong/useCaption1StrongStyles.styles.raw.js +26 -0
  51. package/lib-commonjs/components/presets/Caption1Strong/useCaption1StrongStyles.styles.raw.js.map +1 -0
  52. package/lib-commonjs/components/presets/Caption1Stronger/useCaption1Stronger.styles.raw.js +26 -0
  53. package/lib-commonjs/components/presets/Caption1Stronger/useCaption1Stronger.styles.raw.js.map +1 -0
  54. package/lib-commonjs/components/presets/Caption2/useCaption2Styles.styles.raw.js +26 -0
  55. package/lib-commonjs/components/presets/Caption2/useCaption2Styles.styles.raw.js.map +1 -0
  56. package/lib-commonjs/components/presets/Caption2Strong/useCaption2StrongStyles.styles.raw.js +26 -0
  57. package/lib-commonjs/components/presets/Caption2Strong/useCaption2StrongStyles.styles.raw.js.map +1 -0
  58. package/lib-commonjs/components/presets/Display/useDisplayStyles.styles.raw.js +26 -0
  59. package/lib-commonjs/components/presets/Display/useDisplayStyles.styles.raw.js.map +1 -0
  60. package/lib-commonjs/components/presets/LargeTitle/useLargeTitleStyles.styles.raw.js +26 -0
  61. package/lib-commonjs/components/presets/LargeTitle/useLargeTitleStyles.styles.raw.js.map +1 -0
  62. package/lib-commonjs/components/presets/Subtitle1/useSubtitle1Styles.styles.raw.js +26 -0
  63. package/lib-commonjs/components/presets/Subtitle1/useSubtitle1Styles.styles.raw.js.map +1 -0
  64. package/lib-commonjs/components/presets/Subtitle2/useSubtitle2Styles.styles.raw.js +26 -0
  65. package/lib-commonjs/components/presets/Subtitle2/useSubtitle2Styles.styles.raw.js.map +1 -0
  66. package/lib-commonjs/components/presets/Subtitle2Stronger/useSubtitle2Stronger.styles.raw.js +26 -0
  67. package/lib-commonjs/components/presets/Subtitle2Stronger/useSubtitle2Stronger.styles.raw.js.map +1 -0
  68. package/lib-commonjs/components/presets/Title1/useTitle1Styles.styles.raw.js +26 -0
  69. package/lib-commonjs/components/presets/Title1/useTitle1Styles.styles.raw.js.map +1 -0
  70. package/lib-commonjs/components/presets/Title2/useTitle2Styles.styles.raw.js +26 -0
  71. package/lib-commonjs/components/presets/Title2/useTitle2Styles.styles.raw.js.map +1 -0
  72. package/lib-commonjs/components/presets/Title3/useTitle3Styles.styles.raw.js +26 -0
  73. package/lib-commonjs/components/presets/Title3/useTitle3Styles.styles.raw.js.map +1 -0
  74. package/package.json +7 -7
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ function _export(target, all) {
6
+ for(var name in all)Object.defineProperty(target, name, {
7
+ enumerable: true,
8
+ get: all[name]
9
+ });
10
+ }
11
+ _export(exports, {
12
+ body1ClassNames: function() {
13
+ return body1ClassNames;
14
+ },
15
+ useBody1Styles: function() {
16
+ return useBody1Styles;
17
+ }
18
+ });
19
+ const _react = require("@griffel/react");
20
+ const _reacttheme = require("@fluentui/react-theme");
21
+ const body1ClassNames = {
22
+ root: 'fui-Body1'
23
+ };
24
+ const useBody1Styles = (0, _react.makeStyles)({
25
+ root: _reacttheme.typographyStyles.body1
26
+ });
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/presets/Body1/useBody1Styles.styles.ts"],"sourcesContent":["import { makeStyles } from '@griffel/react';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const body1ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Body1',\n};\n\n/**\n * Styles for the root slot\n */\nexport const useBody1Styles = makeStyles({\n root: typographyStyles.body1,\n});\n"],"names":["body1ClassNames","useBody1Styles","root","makeStyles","typographyStyles","body1"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAKaA,eAAAA;eAAAA;;IAOAC,cAAAA;eAAAA;;;uBAZc;4BAGM;AAE1B,MAAMD,kBAA6C;IACxDE,MAAM;AACR;AAKO,MAAMD,iBAAiBE,IAAAA,iBAAAA,EAAW;IACvCD,MAAME,4BAAAA,CAAiBC,KAAK;AAC9B"}
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ function _export(target, all) {
6
+ for(var name in all)Object.defineProperty(target, name, {
7
+ enumerable: true,
8
+ get: all[name]
9
+ });
10
+ }
11
+ _export(exports, {
12
+ body1StrongClassNames: function() {
13
+ return body1StrongClassNames;
14
+ },
15
+ useBody1StrongStyles: function() {
16
+ return useBody1StrongStyles;
17
+ }
18
+ });
19
+ const _react = require("@griffel/react");
20
+ const _reacttheme = require("@fluentui/react-theme");
21
+ const body1StrongClassNames = {
22
+ root: 'fui-Body1Strong'
23
+ };
24
+ const useBody1StrongStyles = (0, _react.makeStyles)({
25
+ root: _reacttheme.typographyStyles.body1Strong
26
+ });
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/presets/Body1Strong/useBody1StrongStyles.styles.ts"],"sourcesContent":["import { makeStyles } from '@griffel/react';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const body1StrongClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Body1Strong',\n};\n\n/**\n * Styles for the root slot\n */\nexport const useBody1StrongStyles = makeStyles({\n root: typographyStyles.body1Strong,\n});\n"],"names":["body1StrongClassNames","useBody1StrongStyles","root","makeStyles","typographyStyles","body1Strong"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAKaA,qBAAAA;eAAAA;;IAOAC,oBAAAA;eAAAA;;;uBAZc;4BAGM;AAE1B,MAAMD,wBAAmD;IAC9DE,MAAM;AACR;AAKO,MAAMD,uBAAuBE,IAAAA,iBAAAA,EAAW;IAC7CD,MAAME,4BAAAA,CAAiBC,WAAW;AACpC"}
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ function _export(target, all) {
6
+ for(var name in all)Object.defineProperty(target, name, {
7
+ enumerable: true,
8
+ get: all[name]
9
+ });
10
+ }
11
+ _export(exports, {
12
+ body1StrongerClassNames: function() {
13
+ return body1StrongerClassNames;
14
+ },
15
+ useBody1StrongerStyles: function() {
16
+ return useBody1StrongerStyles;
17
+ }
18
+ });
19
+ const _react = require("@griffel/react");
20
+ const _reacttheme = require("@fluentui/react-theme");
21
+ const body1StrongerClassNames = {
22
+ root: 'fui-Body1Stronger'
23
+ };
24
+ const useBody1StrongerStyles = (0, _react.makeStyles)({
25
+ root: _reacttheme.typographyStyles.body1Stronger
26
+ });
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/presets/Body1Stronger/useBody1StrongerStyles.styles.ts"],"sourcesContent":["import { makeStyles } from '@griffel/react';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const body1StrongerClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Body1Stronger',\n};\n\n/**\n * Styles for the root slot\n */\nexport const useBody1StrongerStyles = makeStyles({\n root: typographyStyles.body1Stronger,\n});\n"],"names":["body1StrongerClassNames","useBody1StrongerStyles","root","makeStyles","typographyStyles","body1Stronger"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAKaA,uBAAAA;eAAAA;;IAOAC,sBAAAA;eAAAA;;;uBAZc;4BAGM;AAE1B,MAAMD,0BAAqD;IAChEE,MAAM;AACR;AAKO,MAAMD,yBAAyBE,IAAAA,iBAAAA,EAAW;IAC/CD,MAAME,4BAAAA,CAAiBC,aAAa;AACtC"}
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ function _export(target, all) {
6
+ for(var name in all)Object.defineProperty(target, name, {
7
+ enumerable: true,
8
+ get: all[name]
9
+ });
10
+ }
11
+ _export(exports, {
12
+ body2ClassNames: function() {
13
+ return body2ClassNames;
14
+ },
15
+ useBody2Styles: function() {
16
+ return useBody2Styles;
17
+ }
18
+ });
19
+ const _react = require("@griffel/react");
20
+ const _reacttheme = require("@fluentui/react-theme");
21
+ const body2ClassNames = {
22
+ root: 'fui-Body2'
23
+ };
24
+ const useBody2Styles = (0, _react.makeStyles)({
25
+ root: _reacttheme.typographyStyles.body2
26
+ });
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/presets/Body2/useBody2Styles.styles.ts"],"sourcesContent":["import { makeStyles } from '@griffel/react';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const body2ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Body2',\n};\n\n/**\n * Styles for the root slot\n */\nexport const useBody2Styles = makeStyles({\n root: typographyStyles.body2,\n});\n"],"names":["body2ClassNames","useBody2Styles","root","makeStyles","typographyStyles","body2"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAKaA,eAAAA;eAAAA;;IAOAC,cAAAA;eAAAA;;;uBAZc;4BAGM;AAE1B,MAAMD,kBAA6C;IACxDE,MAAM;AACR;AAKO,MAAMD,iBAAiBE,IAAAA,iBAAAA,EAAW;IACvCD,MAAME,4BAAAA,CAAiBC,KAAK;AAC9B"}
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ function _export(target, all) {
6
+ for(var name in all)Object.defineProperty(target, name, {
7
+ enumerable: true,
8
+ get: all[name]
9
+ });
10
+ }
11
+ _export(exports, {
12
+ caption1ClassNames: function() {
13
+ return caption1ClassNames;
14
+ },
15
+ useCaption1Styles: function() {
16
+ return useCaption1Styles;
17
+ }
18
+ });
19
+ const _react = require("@griffel/react");
20
+ const _reacttheme = require("@fluentui/react-theme");
21
+ const caption1ClassNames = {
22
+ root: 'fui-Caption1'
23
+ };
24
+ const useCaption1Styles = (0, _react.makeStyles)({
25
+ root: _reacttheme.typographyStyles.caption1
26
+ });
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/presets/Caption1/useCaption1Styles.styles.ts"],"sourcesContent":["import { makeStyles } from '@griffel/react';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const caption1ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Caption1',\n};\n\n/**\n * Styles for the root slot\n */\nexport const useCaption1Styles = makeStyles({\n root: typographyStyles.caption1,\n});\n"],"names":["caption1ClassNames","useCaption1Styles","root","makeStyles","typographyStyles","caption1"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAKaA,kBAAAA;eAAAA;;IAOAC,iBAAAA;eAAAA;;;uBAZc;4BAGM;AAE1B,MAAMD,qBAAgD;IAC3DE,MAAM;AACR;AAKO,MAAMD,oBAAoBE,IAAAA,iBAAAA,EAAW;IAC1CD,MAAME,4BAAAA,CAAiBC,QAAQ;AACjC"}
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ function _export(target, all) {
6
+ for(var name in all)Object.defineProperty(target, name, {
7
+ enumerable: true,
8
+ get: all[name]
9
+ });
10
+ }
11
+ _export(exports, {
12
+ caption1StrongClassNames: function() {
13
+ return caption1StrongClassNames;
14
+ },
15
+ useCaption1StrongStyles: function() {
16
+ return useCaption1StrongStyles;
17
+ }
18
+ });
19
+ const _react = require("@griffel/react");
20
+ const _reacttheme = require("@fluentui/react-theme");
21
+ const caption1StrongClassNames = {
22
+ root: 'fui-Caption1Strong'
23
+ };
24
+ const useCaption1StrongStyles = (0, _react.makeStyles)({
25
+ root: _reacttheme.typographyStyles.caption1Strong
26
+ });
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/presets/Caption1Strong/useCaption1StrongStyles.styles.ts"],"sourcesContent":["import { makeStyles } from '@griffel/react';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const caption1StrongClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Caption1Strong',\n};\n\n/**\n * Styles for the root slot\n */\nexport const useCaption1StrongStyles = makeStyles({\n root: typographyStyles.caption1Strong,\n});\n"],"names":["caption1StrongClassNames","useCaption1StrongStyles","root","makeStyles","typographyStyles","caption1Strong"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAKaA,wBAAAA;eAAAA;;IAOAC,uBAAAA;eAAAA;;;uBAZc;4BAGM;AAE1B,MAAMD,2BAAsD;IACjEE,MAAM;AACR;AAKO,MAAMD,0BAA0BE,IAAAA,iBAAAA,EAAW;IAChDD,MAAME,4BAAAA,CAAiBC,cAAc;AACvC"}
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ function _export(target, all) {
6
+ for(var name in all)Object.defineProperty(target, name, {
7
+ enumerable: true,
8
+ get: all[name]
9
+ });
10
+ }
11
+ _export(exports, {
12
+ caption1StrongerClassNames: function() {
13
+ return caption1StrongerClassNames;
14
+ },
15
+ useCaption1StrongerStyles: function() {
16
+ return useCaption1StrongerStyles;
17
+ }
18
+ });
19
+ const _react = require("@griffel/react");
20
+ const _reacttheme = require("@fluentui/react-theme");
21
+ const caption1StrongerClassNames = {
22
+ root: 'fui-Caption1Stronger'
23
+ };
24
+ const useCaption1StrongerStyles = (0, _react.makeStyles)({
25
+ root: _reacttheme.typographyStyles.caption1Stronger
26
+ });
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/presets/Caption1Stronger/useCaption1Stronger.styles.ts"],"sourcesContent":["import { makeStyles } from '@griffel/react';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const caption1StrongerClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Caption1Stronger',\n};\n\n/**\n * Styles for the root slot\n */\nexport const useCaption1StrongerStyles = makeStyles({\n root: typographyStyles.caption1Stronger,\n});\n"],"names":["caption1StrongerClassNames","useCaption1StrongerStyles","root","makeStyles","typographyStyles","caption1Stronger"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAKaA,0BAAAA;eAAAA;;IAOAC,yBAAAA;eAAAA;;;uBAZc;4BAGM;AAE1B,MAAMD,6BAAwD;IACnEE,MAAM;AACR;AAKO,MAAMD,4BAA4BE,IAAAA,iBAAAA,EAAW;IAClDD,MAAME,4BAAAA,CAAiBC,gBAAgB;AACzC"}
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ function _export(target, all) {
6
+ for(var name in all)Object.defineProperty(target, name, {
7
+ enumerable: true,
8
+ get: all[name]
9
+ });
10
+ }
11
+ _export(exports, {
12
+ caption2ClassNames: function() {
13
+ return caption2ClassNames;
14
+ },
15
+ useCaption2Styles: function() {
16
+ return useCaption2Styles;
17
+ }
18
+ });
19
+ const _react = require("@griffel/react");
20
+ const _reacttheme = require("@fluentui/react-theme");
21
+ const caption2ClassNames = {
22
+ root: 'fui-Caption2'
23
+ };
24
+ const useCaption2Styles = (0, _react.makeStyles)({
25
+ root: _reacttheme.typographyStyles.caption2
26
+ });
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/presets/Caption2/useCaption2Styles.styles.ts"],"sourcesContent":["import { makeStyles } from '@griffel/react';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const caption2ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Caption2',\n};\n\n/**\n * Styles for the root slot\n */\nexport const useCaption2Styles = makeStyles({\n root: typographyStyles.caption2,\n});\n"],"names":["caption2ClassNames","useCaption2Styles","root","makeStyles","typographyStyles","caption2"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAKaA,kBAAAA;eAAAA;;IAOAC,iBAAAA;eAAAA;;;uBAZc;4BAGM;AAE1B,MAAMD,qBAAgD;IAC3DE,MAAM;AACR;AAKO,MAAMD,oBAAoBE,IAAAA,iBAAAA,EAAW;IAC1CD,MAAME,4BAAAA,CAAiBC,QAAQ;AACjC"}
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ function _export(target, all) {
6
+ for(var name in all)Object.defineProperty(target, name, {
7
+ enumerable: true,
8
+ get: all[name]
9
+ });
10
+ }
11
+ _export(exports, {
12
+ caption2StrongClassNames: function() {
13
+ return caption2StrongClassNames;
14
+ },
15
+ useCaption2StrongStyles: function() {
16
+ return useCaption2StrongStyles;
17
+ }
18
+ });
19
+ const _react = require("@griffel/react");
20
+ const _reacttheme = require("@fluentui/react-theme");
21
+ const caption2StrongClassNames = {
22
+ root: 'fui-Caption2Strong'
23
+ };
24
+ const useCaption2StrongStyles = (0, _react.makeStyles)({
25
+ root: _reacttheme.typographyStyles.caption2Strong
26
+ });
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/presets/Caption2Strong/useCaption2StrongStyles.styles.ts"],"sourcesContent":["import { makeStyles } from '@griffel/react';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const caption2StrongClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Caption2Strong',\n};\n\n/**\n * Styles for the root slot\n */\nexport const useCaption2StrongStyles = makeStyles({\n root: typographyStyles.caption2Strong,\n});\n"],"names":["caption2StrongClassNames","useCaption2StrongStyles","root","makeStyles","typographyStyles","caption2Strong"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAKaA,wBAAAA;eAAAA;;IAOAC,uBAAAA;eAAAA;;;uBAZc;4BAGM;AAE1B,MAAMD,2BAAsD;IACjEE,MAAM;AACR;AAKO,MAAMD,0BAA0BE,IAAAA,iBAAAA,EAAW;IAChDD,MAAME,4BAAAA,CAAiBC,cAAc;AACvC"}
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ function _export(target, all) {
6
+ for(var name in all)Object.defineProperty(target, name, {
7
+ enumerable: true,
8
+ get: all[name]
9
+ });
10
+ }
11
+ _export(exports, {
12
+ displayClassNames: function() {
13
+ return displayClassNames;
14
+ },
15
+ useDisplayStyles: function() {
16
+ return useDisplayStyles;
17
+ }
18
+ });
19
+ const _react = require("@griffel/react");
20
+ const _reacttheme = require("@fluentui/react-theme");
21
+ const displayClassNames = {
22
+ root: 'fui-Display'
23
+ };
24
+ const useDisplayStyles = (0, _react.makeStyles)({
25
+ root: _reacttheme.typographyStyles.display
26
+ });
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/presets/Display/useDisplayStyles.styles.ts"],"sourcesContent":["import { makeStyles } from '@griffel/react';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const displayClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Display',\n};\n\n/**\n * Styles for the root slot\n */\nexport const useDisplayStyles = makeStyles({\n root: typographyStyles.display,\n});\n"],"names":["displayClassNames","useDisplayStyles","root","makeStyles","typographyStyles","display"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAKaA,iBAAAA;eAAAA;;IAOAC,gBAAAA;eAAAA;;;uBAZc;4BAGM;AAE1B,MAAMD,oBAA+C;IAC1DE,MAAM;AACR;AAKO,MAAMD,mBAAmBE,IAAAA,iBAAAA,EAAW;IACzCD,MAAME,4BAAAA,CAAiBC,OAAO;AAChC"}
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ function _export(target, all) {
6
+ for(var name in all)Object.defineProperty(target, name, {
7
+ enumerable: true,
8
+ get: all[name]
9
+ });
10
+ }
11
+ _export(exports, {
12
+ largeTitleClassNames: function() {
13
+ return largeTitleClassNames;
14
+ },
15
+ useLargeTitleStyles: function() {
16
+ return useLargeTitleStyles;
17
+ }
18
+ });
19
+ const _react = require("@griffel/react");
20
+ const _reacttheme = require("@fluentui/react-theme");
21
+ const largeTitleClassNames = {
22
+ root: 'fui-LargeTitle'
23
+ };
24
+ const useLargeTitleStyles = (0, _react.makeStyles)({
25
+ root: _reacttheme.typographyStyles.largeTitle
26
+ });
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/presets/LargeTitle/useLargeTitleStyles.styles.ts"],"sourcesContent":["import { makeStyles } from '@griffel/react';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const largeTitleClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-LargeTitle',\n};\n\n/**\n * Styles for the root slot\n */\nexport const useLargeTitleStyles = makeStyles({\n root: typographyStyles.largeTitle,\n});\n"],"names":["largeTitleClassNames","useLargeTitleStyles","root","makeStyles","typographyStyles","largeTitle"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAKaA,oBAAAA;eAAAA;;IAOAC,mBAAAA;eAAAA;;;uBAZc;4BAGM;AAE1B,MAAMD,uBAAkD;IAC7DE,MAAM;AACR;AAKO,MAAMD,sBAAsBE,IAAAA,iBAAAA,EAAW;IAC5CD,MAAME,4BAAAA,CAAiBC,UAAU;AACnC"}
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ function _export(target, all) {
6
+ for(var name in all)Object.defineProperty(target, name, {
7
+ enumerable: true,
8
+ get: all[name]
9
+ });
10
+ }
11
+ _export(exports, {
12
+ subtitle1ClassNames: function() {
13
+ return subtitle1ClassNames;
14
+ },
15
+ useSubtitle1Styles: function() {
16
+ return useSubtitle1Styles;
17
+ }
18
+ });
19
+ const _react = require("@griffel/react");
20
+ const _reacttheme = require("@fluentui/react-theme");
21
+ const subtitle1ClassNames = {
22
+ root: 'fui-Subtitle1'
23
+ };
24
+ const useSubtitle1Styles = (0, _react.makeStyles)({
25
+ root: _reacttheme.typographyStyles.subtitle1
26
+ });
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/presets/Subtitle1/useSubtitle1Styles.styles.ts"],"sourcesContent":["import { makeStyles } from '@griffel/react';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const subtitle1ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Subtitle1',\n};\n\n/**\n * Styles for the root slot\n */\nexport const useSubtitle1Styles = makeStyles({\n root: typographyStyles.subtitle1,\n});\n"],"names":["subtitle1ClassNames","useSubtitle1Styles","root","makeStyles","typographyStyles","subtitle1"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAKaA,mBAAAA;eAAAA;;IAOAC,kBAAAA;eAAAA;;;uBAZc;4BAGM;AAE1B,MAAMD,sBAAiD;IAC5DE,MAAM;AACR;AAKO,MAAMD,qBAAqBE,IAAAA,iBAAAA,EAAW;IAC3CD,MAAME,4BAAAA,CAAiBC,SAAS;AAClC"}
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ function _export(target, all) {
6
+ for(var name in all)Object.defineProperty(target, name, {
7
+ enumerable: true,
8
+ get: all[name]
9
+ });
10
+ }
11
+ _export(exports, {
12
+ subtitle2ClassNames: function() {
13
+ return subtitle2ClassNames;
14
+ },
15
+ useSubtitle2Styles: function() {
16
+ return useSubtitle2Styles;
17
+ }
18
+ });
19
+ const _react = require("@griffel/react");
20
+ const _reacttheme = require("@fluentui/react-theme");
21
+ const subtitle2ClassNames = {
22
+ root: 'fui-Subtitle2'
23
+ };
24
+ const useSubtitle2Styles = (0, _react.makeStyles)({
25
+ root: _reacttheme.typographyStyles.subtitle2
26
+ });
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/presets/Subtitle2/useSubtitle2Styles.styles.ts"],"sourcesContent":["import { makeStyles } from '@griffel/react';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const subtitle2ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Subtitle2',\n};\n\n/**\n * Styles for the root slot\n */\nexport const useSubtitle2Styles = makeStyles({\n root: typographyStyles.subtitle2,\n});\n"],"names":["subtitle2ClassNames","useSubtitle2Styles","root","makeStyles","typographyStyles","subtitle2"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAKaA,mBAAAA;eAAAA;;IAOAC,kBAAAA;eAAAA;;;uBAZc;4BAGM;AAE1B,MAAMD,sBAAiD;IAC5DE,MAAM;AACR;AAKO,MAAMD,qBAAqBE,IAAAA,iBAAAA,EAAW;IAC3CD,MAAME,4BAAAA,CAAiBC,SAAS;AAClC"}
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ function _export(target, all) {
6
+ for(var name in all)Object.defineProperty(target, name, {
7
+ enumerable: true,
8
+ get: all[name]
9
+ });
10
+ }
11
+ _export(exports, {
12
+ subtitle2StrongerClassNames: function() {
13
+ return subtitle2StrongerClassNames;
14
+ },
15
+ useSubtitle2StrongerStyles: function() {
16
+ return useSubtitle2StrongerStyles;
17
+ }
18
+ });
19
+ const _react = require("@griffel/react");
20
+ const _reacttheme = require("@fluentui/react-theme");
21
+ const subtitle2StrongerClassNames = {
22
+ root: 'fui-Subtitle2Stronger'
23
+ };
24
+ const useSubtitle2StrongerStyles = (0, _react.makeStyles)({
25
+ root: _reacttheme.typographyStyles.subtitle2Stronger
26
+ });
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/presets/Subtitle2Stronger/useSubtitle2Stronger.styles.ts"],"sourcesContent":["import { makeStyles } from '@griffel/react';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const subtitle2StrongerClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Subtitle2Stronger',\n};\n\n/**\n * Styles for the root slot\n */\nexport const useSubtitle2StrongerStyles = makeStyles({\n root: typographyStyles.subtitle2Stronger,\n});\n"],"names":["subtitle2StrongerClassNames","useSubtitle2StrongerStyles","root","makeStyles","typographyStyles","subtitle2Stronger"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAKaA,2BAAAA;eAAAA;;IAOAC,0BAAAA;eAAAA;;;uBAZc;4BAGM;AAE1B,MAAMD,8BAAyD;IACpEE,MAAM;AACR;AAKO,MAAMD,6BAA6BE,IAAAA,iBAAAA,EAAW;IACnDD,MAAME,4BAAAA,CAAiBC,iBAAiB;AAC1C"}
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ function _export(target, all) {
6
+ for(var name in all)Object.defineProperty(target, name, {
7
+ enumerable: true,
8
+ get: all[name]
9
+ });
10
+ }
11
+ _export(exports, {
12
+ title1ClassNames: function() {
13
+ return title1ClassNames;
14
+ },
15
+ useTitle1Styles: function() {
16
+ return useTitle1Styles;
17
+ }
18
+ });
19
+ const _react = require("@griffel/react");
20
+ const _reacttheme = require("@fluentui/react-theme");
21
+ const title1ClassNames = {
22
+ root: 'fui-Title1'
23
+ };
24
+ const useTitle1Styles = (0, _react.makeStyles)({
25
+ root: _reacttheme.typographyStyles.title1
26
+ });
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/presets/Title1/useTitle1Styles.styles.ts"],"sourcesContent":["import { makeStyles } from '@griffel/react';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const title1ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Title1',\n};\n\n/**\n * Styles for the root slot\n */\nexport const useTitle1Styles = makeStyles({\n root: typographyStyles.title1,\n});\n"],"names":["title1ClassNames","useTitle1Styles","root","makeStyles","typographyStyles","title1"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAKaA,gBAAAA;eAAAA;;IAOAC,eAAAA;eAAAA;;;uBAZc;4BAGM;AAE1B,MAAMD,mBAA8C;IACzDE,MAAM;AACR;AAKO,MAAMD,kBAAkBE,IAAAA,iBAAAA,EAAW;IACxCD,MAAME,4BAAAA,CAAiBC,MAAM;AAC/B"}
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ function _export(target, all) {
6
+ for(var name in all)Object.defineProperty(target, name, {
7
+ enumerable: true,
8
+ get: all[name]
9
+ });
10
+ }
11
+ _export(exports, {
12
+ title2ClassNames: function() {
13
+ return title2ClassNames;
14
+ },
15
+ useTitle2Styles: function() {
16
+ return useTitle2Styles;
17
+ }
18
+ });
19
+ const _react = require("@griffel/react");
20
+ const _reacttheme = require("@fluentui/react-theme");
21
+ const title2ClassNames = {
22
+ root: 'fui-Title2'
23
+ };
24
+ const useTitle2Styles = (0, _react.makeStyles)({
25
+ root: _reacttheme.typographyStyles.title2
26
+ });
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/presets/Title2/useTitle2Styles.styles.ts"],"sourcesContent":["import { makeStyles } from '@griffel/react';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const title2ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Title2',\n};\n\n/**\n * Styles for the root slot\n */\nexport const useTitle2Styles = makeStyles({\n root: typographyStyles.title2,\n});\n"],"names":["title2ClassNames","useTitle2Styles","root","makeStyles","typographyStyles","title2"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAKaA,gBAAAA;eAAAA;;IAOAC,eAAAA;eAAAA;;;uBAZc;4BAGM;AAE1B,MAAMD,mBAA8C;IACzDE,MAAM;AACR;AAKO,MAAMD,kBAAkBE,IAAAA,iBAAAA,EAAW;IACxCD,MAAME,4BAAAA,CAAiBC,MAAM;AAC/B"}
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ function _export(target, all) {
6
+ for(var name in all)Object.defineProperty(target, name, {
7
+ enumerable: true,
8
+ get: all[name]
9
+ });
10
+ }
11
+ _export(exports, {
12
+ title3ClassNames: function() {
13
+ return title3ClassNames;
14
+ },
15
+ useTitle3Styles: function() {
16
+ return useTitle3Styles;
17
+ }
18
+ });
19
+ const _react = require("@griffel/react");
20
+ const _reacttheme = require("@fluentui/react-theme");
21
+ const title3ClassNames = {
22
+ root: 'fui-Title3'
23
+ };
24
+ const useTitle3Styles = (0, _react.makeStyles)({
25
+ root: _reacttheme.typographyStyles.title3
26
+ });
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/presets/Title3/useTitle3Styles.styles.ts"],"sourcesContent":["import { makeStyles } from '@griffel/react';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const title3ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Title3',\n};\n\n/**\n * Styles for the root slot\n */\nexport const useTitle3Styles = makeStyles({\n root: typographyStyles.title3,\n});\n"],"names":["title3ClassNames","useTitle3Styles","root","makeStyles","typographyStyles","title3"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAKaA,gBAAAA;eAAAA;;IAOAC,eAAAA;eAAAA;;;uBAZc;4BAGM;AAE1B,MAAMD,mBAA8C;IACzDE,MAAM;AACR;AAKO,MAAMD,kBAAkBE,IAAAA,iBAAAA,EAAW;IACxCD,MAAME,4BAAAA,CAAiBC,MAAM;AAC/B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui/react-text",
3
- "version": "0.0.0-nightly-20250703-0405.1",
3
+ "version": "0.0.0-nightly-20250703-1103.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",
@@ -13,15 +13,15 @@
13
13
  "license": "MIT",
14
14
  "devDependencies": {
15
15
  "@fluentui/eslint-plugin": "*",
16
- "@fluentui/react-conformance": "0.0.0-nightly-20250703-0405.1",
17
- "@fluentui/react-conformance-griffel": "0.0.0-nightly-20250703-0405.1",
16
+ "@fluentui/react-conformance": "0.0.0-nightly-20250703-1103.1",
17
+ "@fluentui/react-conformance-griffel": "0.0.0-nightly-20250703-1103.1",
18
18
  "@fluentui/scripts-api-extractor": "*"
19
19
  },
20
20
  "dependencies": {
21
- "@fluentui/react-shared-contexts": "0.0.0-nightly-20250703-0405.1",
22
- "@fluentui/react-theme": "0.0.0-nightly-20250703-0405.1",
23
- "@fluentui/react-utilities": "0.0.0-nightly-20250703-0405.1",
24
- "@fluentui/react-jsx-runtime": "0.0.0-nightly-20250703-0405.1",
21
+ "@fluentui/react-shared-contexts": "0.0.0-nightly-20250703-1103.1",
22
+ "@fluentui/react-theme": "0.0.0-nightly-20250703-1103.1",
23
+ "@fluentui/react-utilities": "0.0.0-nightly-20250703-1103.1",
24
+ "@fluentui/react-jsx-runtime": "0.0.0-nightly-20250703-1103.1",
25
25
  "@griffel/react": "^1.5.22",
26
26
  "@swc/helpers": "^0.5.1"
27
27
  },