@fluentui/react-text 0.0.0-nightly-20221228-0425.1 → 0.0.0-nightly-20221230-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.
Files changed (109) hide show
  1. package/CHANGELOG.json +9 -9
  2. package/CHANGELOG.md +7 -7
  3. package/lib/components/Body1/Body1.js +0 -3
  4. package/lib/components/Body1/Body1.js.map +1 -1
  5. package/lib/components/Caption1/Caption1.js +0 -3
  6. package/lib/components/Caption1/Caption1.js.map +1 -1
  7. package/lib/components/Caption2/Caption2.js +0 -3
  8. package/lib/components/Caption2/Caption2.js.map +1 -1
  9. package/lib/components/Display/Display.js +0 -3
  10. package/lib/components/Display/Display.js.map +1 -1
  11. package/lib/components/LargeTitle/LargeTitle.js +0 -3
  12. package/lib/components/LargeTitle/LargeTitle.js.map +1 -1
  13. package/lib/components/Subtitle1/Subtitle1.js +0 -3
  14. package/lib/components/Subtitle1/Subtitle1.js.map +1 -1
  15. package/lib/components/Subtitle2/Subtitle2.js +0 -3
  16. package/lib/components/Subtitle2/Subtitle2.js.map +1 -1
  17. package/lib/components/Text/Text.js +3 -2
  18. package/lib/components/Text/Text.js.map +1 -1
  19. package/lib/components/Text/renderText.js +2 -2
  20. package/lib/components/Text/renderText.js.map +1 -1
  21. package/lib/components/Text/useText.js +0 -2
  22. package/lib/components/Text/useText.js.map +1 -1
  23. package/lib/components/Text/useTextStyles.js +0 -3
  24. package/lib/components/Text/useTextStyles.js.map +1 -1
  25. package/lib/components/Title1/Title1.js +0 -3
  26. package/lib/components/Title1/Title1.js.map +1 -1
  27. package/lib/components/Title2/Title2.js +0 -3
  28. package/lib/components/Title2/Title2.js.map +1 -1
  29. package/lib/components/Title3/Title3.js +0 -3
  30. package/lib/components/Title3/Title3.js.map +1 -1
  31. package/lib/components/wrapper.js.map +1 -1
  32. package/lib-commonjs/Body1.js +0 -2
  33. package/lib-commonjs/Body1.js.map +1 -1
  34. package/lib-commonjs/Caption1.js +0 -2
  35. package/lib-commonjs/Caption1.js.map +1 -1
  36. package/lib-commonjs/Caption2.js +0 -2
  37. package/lib-commonjs/Caption2.js.map +1 -1
  38. package/lib-commonjs/Display.js +0 -2
  39. package/lib-commonjs/Display.js.map +1 -1
  40. package/lib-commonjs/LargeTitle.js +0 -2
  41. package/lib-commonjs/LargeTitle.js.map +1 -1
  42. package/lib-commonjs/Subtitle1.js +0 -2
  43. package/lib-commonjs/Subtitle1.js.map +1 -1
  44. package/lib-commonjs/Subtitle2.js +0 -2
  45. package/lib-commonjs/Subtitle2.js.map +1 -1
  46. package/lib-commonjs/Text.js +0 -2
  47. package/lib-commonjs/Text.js.map +1 -1
  48. package/lib-commonjs/Title1.js +0 -2
  49. package/lib-commonjs/Title1.js.map +1 -1
  50. package/lib-commonjs/Title2.js +0 -2
  51. package/lib-commonjs/Title2.js.map +1 -1
  52. package/lib-commonjs/Title3.js +0 -2
  53. package/lib-commonjs/Title3.js.map +1 -1
  54. package/lib-commonjs/components/Body1/Body1.js +0 -7
  55. package/lib-commonjs/components/Body1/Body1.js.map +1 -1
  56. package/lib-commonjs/components/Body1/index.js +0 -2
  57. package/lib-commonjs/components/Body1/index.js.map +1 -1
  58. package/lib-commonjs/components/Caption1/Caption1.js +0 -7
  59. package/lib-commonjs/components/Caption1/Caption1.js.map +1 -1
  60. package/lib-commonjs/components/Caption1/index.js +0 -2
  61. package/lib-commonjs/components/Caption1/index.js.map +1 -1
  62. package/lib-commonjs/components/Caption2/Caption2.js +0 -7
  63. package/lib-commonjs/components/Caption2/Caption2.js.map +1 -1
  64. package/lib-commonjs/components/Caption2/index.js +0 -2
  65. package/lib-commonjs/components/Caption2/index.js.map +1 -1
  66. package/lib-commonjs/components/Display/Display.js +0 -7
  67. package/lib-commonjs/components/Display/Display.js.map +1 -1
  68. package/lib-commonjs/components/Display/index.js +0 -2
  69. package/lib-commonjs/components/Display/index.js.map +1 -1
  70. package/lib-commonjs/components/LargeTitle/LargeTitle.js +0 -7
  71. package/lib-commonjs/components/LargeTitle/LargeTitle.js.map +1 -1
  72. package/lib-commonjs/components/LargeTitle/index.js +0 -2
  73. package/lib-commonjs/components/LargeTitle/index.js.map +1 -1
  74. package/lib-commonjs/components/Subtitle1/Subtitle1.js +0 -7
  75. package/lib-commonjs/components/Subtitle1/Subtitle1.js.map +1 -1
  76. package/lib-commonjs/components/Subtitle1/index.js +0 -2
  77. package/lib-commonjs/components/Subtitle1/index.js.map +1 -1
  78. package/lib-commonjs/components/Subtitle2/Subtitle2.js +0 -7
  79. package/lib-commonjs/components/Subtitle2/Subtitle2.js.map +1 -1
  80. package/lib-commonjs/components/Subtitle2/index.js +0 -2
  81. package/lib-commonjs/components/Subtitle2/index.js.map +1 -1
  82. package/lib-commonjs/components/Text/Text.js +3 -7
  83. package/lib-commonjs/components/Text/Text.js.map +1 -1
  84. package/lib-commonjs/components/Text/Text.types.js.map +1 -1
  85. package/lib-commonjs/components/Text/index.js +0 -6
  86. package/lib-commonjs/components/Text/index.js.map +1 -1
  87. package/lib-commonjs/components/Text/renderText.js +2 -6
  88. package/lib-commonjs/components/Text/renderText.js.map +1 -1
  89. package/lib-commonjs/components/Text/useText.js +0 -5
  90. package/lib-commonjs/components/Text/useText.js.map +1 -1
  91. package/lib-commonjs/components/Text/useTextStyles.js +0 -7
  92. package/lib-commonjs/components/Text/useTextStyles.js.map +1 -1
  93. package/lib-commonjs/components/Title1/Title1.js +0 -7
  94. package/lib-commonjs/components/Title1/Title1.js.map +1 -1
  95. package/lib-commonjs/components/Title1/index.js +0 -2
  96. package/lib-commonjs/components/Title1/index.js.map +1 -1
  97. package/lib-commonjs/components/Title2/Title2.js +0 -7
  98. package/lib-commonjs/components/Title2/Title2.js.map +1 -1
  99. package/lib-commonjs/components/Title2/index.js +0 -2
  100. package/lib-commonjs/components/Title2/index.js.map +1 -1
  101. package/lib-commonjs/components/Title3/Title3.js +0 -7
  102. package/lib-commonjs/components/Title3/Title3.js.map +1 -1
  103. package/lib-commonjs/components/Title3/index.js +0 -2
  104. package/lib-commonjs/components/Title3/index.js.map +1 -1
  105. package/lib-commonjs/components/wrapper.js +0 -5
  106. package/lib-commonjs/components/wrapper.js.map +1 -1
  107. package/lib-commonjs/index.js +0 -22
  108. package/lib-commonjs/index.js.map +1 -1
  109. package/package.json +5 -5
@@ -4,23 +4,19 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.renderText_unstable = void 0;
7
-
8
7
  const React = /*#__PURE__*/require("react");
9
-
10
8
  const react_utilities_1 = /*#__PURE__*/require("@fluentui/react-utilities");
11
9
  /**
12
10
  * Render the final JSX of Text
13
11
  */
14
-
15
-
16
12
  const renderText_unstable = state => {
17
13
  const {
18
14
  slots,
19
15
  slotProps
20
16
  } = react_utilities_1.getSlots(state);
21
- return React.createElement(slots.root, { ...slotProps.root
17
+ return React.createElement(slots.root, {
18
+ ...slotProps.root
22
19
  });
23
20
  };
24
-
25
21
  exports.renderText_unstable = renderText_unstable;
26
22
  //# sourceMappingURL=renderText.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../../../../../packages/react-components/react-text/src/components/Text/renderText.tsx"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,MAAA,iBAAA,gBAAA,OAAA,CAAA,2BAAA,CAAA;AAGA;;AAEG;;;AACI,MAAM,mBAAmB,GAAI,KAAD,IAAqB;EACtD,MAAM;IAAE,KAAF;IAAS;EAAT,IAAuB,iBAAA,CAAA,QAAA,CAAoB,KAApB,CAA7B;EAEA,OAAO,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,EAAA,GAAK,SAAS,CAAC;EAAf,CAAX,CAAP;AACD,CAJM;;AAAM,OAAA,CAAA,mBAAA,GAAmB,mBAAnB","sourcesContent":["import * as React from 'react';\nimport { getSlots } from '@fluentui/react-utilities';\nimport type { TextSlots, TextState } from './Text.types';\n\n/**\n * Render the final JSX of Text\n */\nexport const renderText_unstable = (state: TextState) => {\n const { slots, slotProps } = getSlots<TextSlots>(state);\n\n return <slots.root {...slotProps.root} />;\n};\n"],"sourceRoot":""}
1
+ {"version":3,"mappings":";;;;;;AAAA;AACA;AAGA;;;AAGO,MAAMA,mBAAmB,GAAIC,KAAgB,IAAI;EACtD,MAAM;IAAEC,KAAK;IAAEC;EAAS,CAAE,GAAGC,0BAAQ,CAAYH,KAAK,CAAC;EAEvD,OAAOI,oBAACH,KAAK,CAACI,IAAI;IAAA,GAAKH,SAAS,CAACG;EAAI,EAAI;AAC3C,CAAC;AAJYC,2BAAmB","names":["renderText_unstable","state","slots","slotProps","react_utilities_1","React","root","exports"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Text/renderText.tsx"],"sourcesContent":["import * as React from 'react';\nimport { getSlots } from '@fluentui/react-utilities';\nimport type { TextSlots, TextState } from './Text.types';\n\n/**\n * Render the final JSX of Text\n */\nexport const renderText_unstable = (state: TextState) => {\n const { slots, slotProps } = getSlots<TextSlots>(state);\n\n return <slots.root {...slotProps.root} />;\n};\n"]}
@@ -4,7 +4,6 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.useText_unstable = void 0;
7
-
8
7
  const react_utilities_1 = /*#__PURE__*/require("@fluentui/react-utilities");
9
8
  /**
10
9
  * Create the state required to render Text.
@@ -15,11 +14,8 @@ const react_utilities_1 = /*#__PURE__*/require("@fluentui/react-utilities");
15
14
  * @param props - props from this instance of Text
16
15
  * @param ref - reference to root HTMLElement of Text
17
16
  */
18
-
19
-
20
17
  const useText_unstable = (props, ref) => {
21
18
  var _a;
22
-
23
19
  const {
24
20
  wrap,
25
21
  truncate,
@@ -55,6 +51,5 @@ const useText_unstable = (props, ref) => {
55
51
  };
56
52
  return state;
57
53
  };
58
-
59
54
  exports.useText_unstable = useText_unstable;
60
55
  //# sourceMappingURL=useText.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../../../../../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A,GAAa,KARD;IASvB,MAAM,EAAE,MAAM,KAAA,IAAN,IAAA,MAAM,KAAA,KAAA,CAAN,GAAA,MAAA,GAAU,SATK;IAUvB,IAAI,EAAE,IAAI,KAAA,IAAJ,IAAA,IAAI,KAAA,KAAA,CAAJ,GAAA,IAAA,GAAQ,IAVS;IAYvB,UAAU,EAAE;MAAE,IAAI,EAAE;IAAR,CAZW;IAcvB,IAAI,EAAE,iBAAA,CAAA,qBAAA,CAAsB,EAAtB,EAA0B;MAC9B,GAD8B;MAE9B,GAAG,KAF2B;MAG9B;IAH8B,CAA1B;EAdiB,CAAzB;EAqBA,OAAO,KAAP;AACD,CA1BM;;AAAM,OAAA,CAAA,gBAAA,GAAgB,gBAAhB","sourcesContent":["import * as React from 'react';\nimport { getNativeElementProps } from '@fluentui/react-utilities';\nimport type { TextProps, TextState } from './Text.types';\n\n/**\n * Create the state required to render Text.\n *\n * The returned state can be modified with hooks such as useTextStyles_unstable,\n * before being passed to renderText_unstable.\n *\n * @param props - props from this instance of Text\n * @param ref - reference to root HTMLElement of Text\n */\nexport const useText_unstable = (props: TextProps, ref: React.Ref<HTMLElement>): TextState => {\n const { wrap, truncate, block, italic, underline, strikethrough, size, font, weight, align } = props;\n const as = props.as ?? 'span';\n\n const state: TextState = {\n align: align ?? 'start',\n block: block ?? false,\n font: font ?? 'base',\n italic: italic ?? false,\n size: size ?? 300,\n strikethrough: strikethrough ?? false,\n truncate: truncate ?? false,\n underline: underline ?? false,\n weight: weight ?? 'regular',\n wrap: wrap ?? true,\n\n components: { root: 'span' },\n\n root: getNativeElementProps(as, {\n ref,\n ...props,\n as,\n }),\n };\n\n return state;\n};\n"],"sourceRoot":""}
1
+ {"version":3,"mappings":";;;;;;AACA;AAGA;;;;;;;;;AASO,MAAMA,gBAAgB,GAAG,CAACC,KAAgB,EAAEC,GAA2B,KAAe;;EAC3F,MAAM;IAAEC,IAAI;IAAEC,QAAQ;IAAEC,KAAK;IAAEC,MAAM;IAAEC,SAAS;IAAEC,aAAa;IAAEC,IAAI;IAAEC,IAAI;IAAEC,MAAM;IAAEC;EAAK,CAAE,GAAGX,KAAK;EACpG,MAAMY,EAAE,GAAG,WAAK,CAACA,EAAE,mCAAI,MAAM;EAE7B,MAAMC,KAAK,GAAc;IACvBF,KAAK,EAAEA,KAAK,aAALA,KAAK,cAALA,KAAK,GAAI,OAAO;IACvBP,KAAK,EAAEA,KAAK,aAALA,KAAK,cAALA,KAAK,GAAI,KAAK;IACrBK,IAAI,EAAEA,IAAI,aAAJA,IAAI,cAAJA,IAAI,GAAI,MAAM;IACpBJ,MAAM,EAAEA,MAAM,aAANA,MAAM,cAANA,MAAM,GAAI,KAAK;IACvBG,IAAI,EAAEA,IAAI,aAAJA,IAAI,cAAJA,IAAI,GAAI,GAAG;IACjBD,aAAa,EAAEA,aAAa,aAAbA,aAAa,cAAbA,aAAa,GAAI,KAAK;IACrCJ,QAAQ,EAAEA,QAAQ,aAARA,QAAQ,cAARA,QAAQ,GAAI,KAAK;IAC3BG,SAAS,EAAEA,SAAS,aAATA,SAAS,cAATA,SAAS,GAAI,KAAK;IAC7BI,MAAM,EAAEA,MAAM,aAANA,MAAM,cAANA,MAAM,GAAI,SAAS;IAC3BR,IAAI,EAAEA,IAAI,aAAJA,IAAI,cAAJA,IAAI,GAAI,IAAI;IAElBY,UAAU,EAAE;MAAEC,IAAI,EAAE;IAAM,CAAE;IAE5BA,IAAI,EAAEC,uCAAqB,CAACJ,EAAE,EAAE;MAC9BX,GAAG;MACH,GAAGD,KAAK;MACRY;KACD;GACF;EAED,OAAOC,KAAK;AACd,CAAC;AA1BYI,wBAAgB","names":["useText_unstable","props","ref","wrap","truncate","block","italic","underline","strikethrough","size","font","weight","align","as","state","components","root","react_utilities_1","exports"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Text/useText.ts"],"sourcesContent":["import * as React from 'react';\nimport { getNativeElementProps } from '@fluentui/react-utilities';\nimport type { TextProps, TextState } from './Text.types';\n\n/**\n * Create the state required to render Text.\n *\n * The returned state can be modified with hooks such as useTextStyles_unstable,\n * before being passed to renderText_unstable.\n *\n * @param props - props from this instance of Text\n * @param ref - reference to root HTMLElement of Text\n */\nexport const useText_unstable = (props: TextProps, ref: React.Ref<HTMLElement>): TextState => {\n const { wrap, truncate, block, italic, underline, strikethrough, size, font, weight, align } = props;\n const as = props.as ?? 'span';\n\n const state: TextState = {\n align: align ?? 'start',\n block: block ?? false,\n font: font ?? 'base',\n italic: italic ?? false,\n size: size ?? 300,\n strikethrough: strikethrough ?? false,\n truncate: truncate ?? false,\n underline: underline ?? false,\n weight: weight ?? 'regular',\n wrap: wrap ?? true,\n\n components: { root: 'span' },\n\n root: getNativeElementProps(as, {\n ref,\n ...props,\n as,\n }),\n };\n\n return state;\n};\n"]}
@@ -4,18 +4,14 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.useTextStyles_unstable = exports.textClassNames = void 0;
7
-
8
7
  const react_1 = /*#__PURE__*/require("@griffel/react");
9
-
10
8
  const react_theme_1 = /*#__PURE__*/require("@fluentui/react-theme");
11
-
12
9
  exports.textClassNames = {
13
10
  root: 'fui-Text'
14
11
  };
15
12
  /**
16
13
  * Styles for the root slot
17
14
  */
18
-
19
15
  const useStyles = /*#__PURE__*/react_1.__styles({
20
16
  "root": {
21
17
  "Bahqtrf": "fk6fouc",
@@ -118,13 +114,10 @@ const useStyles = /*#__PURE__*/react_1.__styles({
118
114
  /**
119
115
  * Apply styling to the Text slots based on the state
120
116
  */
121
-
122
-
123
117
  const useTextStyles_unstable = state => {
124
118
  const styles = useStyles();
125
119
  state.root.className = react_1.mergeClasses(exports.textClassNames.root, styles.root, state.wrap === false && styles.nowrap, state.truncate && styles.truncate, state.block && styles.block, state.italic && styles.italic, state.underline && styles.underline, state.strikethrough && styles.strikethrough, state.underline && state.strikethrough && styles.strikethroughUnderline, state.size === 100 && styles.base100, state.size === 200 && styles.base200, state.size === 400 && styles.base400, state.size === 500 && styles.base500, state.size === 600 && styles.base600, state.size === 700 && styles.hero700, state.size === 800 && styles.hero800, state.size === 900 && styles.hero900, state.size === 1000 && styles.hero1000, state.font === 'monospace' && styles.monospace, state.font === 'numeric' && styles.numeric, state.weight === 'medium' && styles.weightMedium, state.weight === 'semibold' && styles.weightSemibold, state.weight === 'bold' && styles.weightBold, state.align === 'center' && styles.alignCenter, state.align === 'end' && styles.alignEnd, state.align === 'justify' && styles.alignJustify, state.root.className);
126
120
  return state;
127
121
  };
128
-
129
122
  exports.useTextStyles_unstable = useTextStyles_unstable;
130
123
  //# sourceMappingURL=useTextStyles.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../../../../../packages/react-components/react-text/src/components/Text/useTextStyles.ts"],"names":[],"mappings":";;;;;;;AAAA,MAAA,OAAA,gBAAA,OAAA,CAAA,gBAAA,CAAA;;AACA,MAAA,aAAA,gBAAA,OAAA,CAAA,uBAAA,CAAA;;AAIa,OAAA,CAAA,cAAA,GAA4C;EACvD,IAAI,EAAE;AADiD,CAA5C;AAIb;;AAEG;;AACH,MAAM,SAAS,gBAAG,OAAA,SAAA;EAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;EAAA;EAAA;IAAA;IAAA;IAAA;EAAA;EAAA;IAAA;EAAA;EAAA;IAAA;EAAA;EAAA;IAAA;EAAA;EAAA;IAAA;EAAA;EAAA;IAAA;EAAA;EAAA;IAAA;EAAA;EAAA;IAAA;IAAA;EAAA;EAAA;IAAA;IAAA;EAAA;EAAA;IAAA;IAAA;EAAA;EAAA;IAAA;IAAA;EAAA;EAAA;IAAA;IAAA;EAAA;EAAA;IAAA;IAAA;EAAA;EAAA;IAAA;IAAA;EAAA;EAAA;IAAA;IAAA;EAAA;EAAA;IAAA;IAAA;EAAA;EAAA;IAAA;EAAA;EAAA;IAAA;EAAA;EAAA;IAAA;EAAA;EAAA;IAAA;EAAA;EAAA;IAAA;EAAA;EAAA;IAAA;EAAA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EAmBrB,KAAK,CAAC,IAAN,KAAe,WAAf,IAA8B,MAAM,CAAC,SAnBhB,EAoBrB,KAAK,CAAC,IAAN,KAAe,SAAf,IAA4B,MAAM,CAAC,OApBd,EAqBrB,KAAK,CAAC,MAAN,KAAiB,QAAjB,IAA6B,MAAM,CAAC,YArBf,EAsBrB,KAAK,CAAC,MAAN,KAAiB,UAAjB,IAA+B,MAAM,CAAC,cAtBjB,EAuBrB,KAAK,CAAC,MAAN,KAAiB,MAAjB,IAA2B,MAAM,CAAC,UAvBb,EAwBrB,KAAK,CAAC,KAAN,KAAgB,QAAhB,IAA4B,MAAM,CAAC,WAxBd,EAyBrB,KAAK,CAAC,KAAN,KAAgB,KAAhB,IAAyB,MAAM,CAAC,QAzBX,EA0BrB,KAAK,CAAC,KAAN,KAAgB,SAAhB,IAA6B,MAAM,CAAC,YA1Bf,EA2BrB,KAAK,CAAC,IAAN,CAAW,SA3BU,CAAvB;EA8BA,OAAO,KAAP;AACD,CAlCM;;AAAM,OAAA,CAAA,sBAAA,GAAsB,sBAAtB","sourcesContent":["import { makeStyles, mergeClasses, shorthands } from '@griffel/react';\nimport { tokens } from '@fluentui/react-theme';\nimport type { TextSlots, TextState } from './Text.types';\nimport { SlotClassNames } from '@fluentui/react-utilities';\n\nexport const textClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Text',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeBase300,\n lineHeight: tokens.lineHeightBase300,\n fontWeight: tokens.fontWeightRegular,\n textAlign: 'start',\n display: 'inline',\n whiteSpace: 'normal',\n ...shorthands.overflow('visible'),\n textOverflow: 'clip',\n },\n nowrap: {\n whiteSpace: 'nowrap',\n ...shorthands.overflow('hidden'),\n },\n truncate: {\n textOverflow: 'ellipsis',\n },\n block: {\n display: 'block',\n },\n italic: {\n fontStyle: 'italic',\n },\n underline: {\n textDecorationLine: 'underline',\n },\n strikethrough: {\n textDecorationLine: 'line-through',\n },\n strikethroughUnderline: {\n textDecorationLine: 'line-through underline',\n },\n base100: {\n fontSize: tokens.fontSizeBase100,\n lineHeight: tokens.lineHeightBase100,\n },\n base200: {\n fontSize: tokens.fontSizeBase200,\n lineHeight: tokens.lineHeightBase200,\n },\n base400: {\n fontSize: tokens.fontSizeBase400,\n lineHeight: tokens.lineHeightBase400,\n },\n base500: {\n fontSize: tokens.fontSizeBase500,\n lineHeight: tokens.lineHeightBase500,\n },\n base600: {\n fontSize: tokens.fontSizeBase600,\n lineHeight: tokens.lineHeightBase600,\n },\n hero700: {\n fontSize: tokens.fontSizeHero700,\n lineHeight: tokens.lineHeightHero700,\n },\n hero800: {\n fontSize: tokens.fontSizeHero800,\n lineHeight: tokens.lineHeightHero800,\n },\n hero900: {\n fontSize: tokens.fontSizeHero900,\n lineHeight: tokens.lineHeightHero900,\n },\n hero1000: {\n fontSize: tokens.fontSizeHero1000,\n lineHeight: tokens.lineHeightHero1000,\n },\n monospace: {\n fontFamily: tokens.fontFamilyMonospace,\n },\n numeric: {\n fontFamily: tokens.fontFamilyNumeric,\n },\n weightMedium: {\n fontWeight: tokens.fontWeightMedium,\n },\n weightSemibold: {\n fontWeight: tokens.fontWeightSemibold,\n },\n weightBold: {\n fontWeight: tokens.fontWeightBold,\n },\n alignCenter: {\n textAlign: 'center',\n },\n alignEnd: {\n textAlign: 'end',\n },\n alignJustify: {\n textAlign: 'justify',\n },\n});\n\n/**\n * Apply styling to the Text slots based on the state\n */\nexport const useTextStyles_unstable = (state: TextState): TextState => {\n const styles = useStyles();\n\n state.root.className = mergeClasses(\n textClassNames.root,\n styles.root,\n state.wrap === false && styles.nowrap,\n state.truncate && styles.truncate,\n state.block && styles.block,\n state.italic && styles.italic,\n state.underline && styles.underline,\n state.strikethrough && styles.strikethrough,\n state.underline && state.strikethrough && styles.strikethroughUnderline,\n state.size === 100 && styles.base100,\n state.size === 200 && styles.base200,\n state.size === 400 && styles.base400,\n state.size === 500 && styles.base500,\n state.size === 600 && styles.base600,\n state.size === 700 && styles.hero700,\n state.size === 800 && styles.hero800,\n state.size === 900 && styles.hero900,\n state.size === 1000 && styles.hero1000,\n state.font === 'monospace' && styles.monospace,\n state.font === 'numeric' && styles.numeric,\n state.weight === 'medium' && styles.weightMedium,\n state.weight === 'semibold' && styles.weightSemibold,\n state.weight === 'bold' && styles.weightBold,\n state.align === 'center' && styles.alignCenter,\n state.align === 'end' && styles.alignEnd,\n state.align === 'justify' && styles.alignJustify,\n state.root.className,\n );\n\n return state;\n};\n"],"sourceRoot":""}
1
+ {"version":3,"mappings":";;;;;;AAAA;AACA;AAIaA,sBAAc,GAA8B;EACvDC,IAAI,EAAE;CACP;AAED;;;AAGA,MAAMC,SAAS,gBAAGC,gBAAU;EAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;EAAA;EAAA;IAAA;IAAA;IAAA;EAAA;EAAA;IAAA;EAAA;EAAA;IAAA;EAAA;EAAA;IAAA;EAAA;EAAA;IAAA;EAAA;EAAA;IAAA;EAAA;EAAA;IAAA;EAAA;EAAA;IAAA;IAAA;EAAA;EAAA;IAAA;IAAA;EAAA;EAAA;IAAA;IAAA;EAAA;EAAA;IAAA;IAAA;EAAA;EAAA;IAAA;IAAA;EAAA;EAAA;IAAA;IAAA;EAAA;EAAA;IAAA;IAAA;EAAA;EAAA;IAAA;IAAA;EAAA;EAAA;IAAA;IAAA;EAAA;EAAA;IAAA;EAAA;EAAA;IAAA;EAAA;EAAA;IAAA;EAAA;EAAA;IAAA;EAAA;EAAA;IAAA;EAAA;EAAA;IAAA;EAAA;EAAA;IAAA;EAAA;EAAA;IAAA;EAAA;AAAA;EAAA;AAAA,EA8F1B;AAEF;;;AAGO,MAAMC,sBAAsB,GAAIC,KAAgB,IAAe;EACpE,MAAMC,MAAM,GAAGJ,SAAS,EAAE;EAE1BG,KAAK,CAACJ,IAAI,CAACM,SAAS,GAAGJ,oBAAY,CAC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EAChDzB,KAAK,CAACwB,MAAM,KAAK,UAAU,IAAIvB,MAAM,CAACyB,cAAc,EACpD1B,KAAK,CAACwB,MAAM,KAAK,MAAM,IAAIvB,MAAM,CAAC0B,UAAU,EAC5C3B,KAAK,CAAC4B,KAAK,KAAK,QAAQ,IAAI3B,MAAM,CAAC4B,WAAW,EAC9C7B,KAAK,CAAC4B,KAAK,KAAK,KAAK,IAAI3B,MAAM,CAAC6B,QAAQ,EACxC9B,KAAK,CAAC4B,KAAK,KAAK,SAAS,IAAI3B,MAAM,CAAC8B,YAAY,EAChD/B,KAAK,CAACJ,IAAI,CAACM,SAAS,CACrB;EAED,OAAOF,KAAK;AACd,CAAC;AAlCYL,8BAAsB","names":["exports","root","useStyles","react_1","useTextStyles_unstable","state","styles","className","wrap","nowrap","truncate","block","italic","underline","strikethrough","strikethroughUnderline","size","base100","base200","base400","base500","base600","hero700","hero800","hero900","hero1000","font","monospace","numeric","weight","weightMedium","weightSemibold","weightBold","align","alignCenter","alignEnd","alignJustify"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Text/useTextStyles.ts"],"sourcesContent":["import { makeStyles, mergeClasses, shorthands } from '@griffel/react';\nimport { tokens } from '@fluentui/react-theme';\nimport type { TextSlots, TextState } from './Text.types';\nimport { SlotClassNames } from '@fluentui/react-utilities';\n\nexport const textClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Text',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeBase300,\n lineHeight: tokens.lineHeightBase300,\n fontWeight: tokens.fontWeightRegular,\n textAlign: 'start',\n display: 'inline',\n whiteSpace: 'normal',\n ...shorthands.overflow('visible'),\n textOverflow: 'clip',\n },\n nowrap: {\n whiteSpace: 'nowrap',\n ...shorthands.overflow('hidden'),\n },\n truncate: {\n textOverflow: 'ellipsis',\n },\n block: {\n display: 'block',\n },\n italic: {\n fontStyle: 'italic',\n },\n underline: {\n textDecorationLine: 'underline',\n },\n strikethrough: {\n textDecorationLine: 'line-through',\n },\n strikethroughUnderline: {\n textDecorationLine: 'line-through underline',\n },\n base100: {\n fontSize: tokens.fontSizeBase100,\n lineHeight: tokens.lineHeightBase100,\n },\n base200: {\n fontSize: tokens.fontSizeBase200,\n lineHeight: tokens.lineHeightBase200,\n },\n base400: {\n fontSize: tokens.fontSizeBase400,\n lineHeight: tokens.lineHeightBase400,\n },\n base500: {\n fontSize: tokens.fontSizeBase500,\n lineHeight: tokens.lineHeightBase500,\n },\n base600: {\n fontSize: tokens.fontSizeBase600,\n lineHeight: tokens.lineHeightBase600,\n },\n hero700: {\n fontSize: tokens.fontSizeHero700,\n lineHeight: tokens.lineHeightHero700,\n },\n hero800: {\n fontSize: tokens.fontSizeHero800,\n lineHeight: tokens.lineHeightHero800,\n },\n hero900: {\n fontSize: tokens.fontSizeHero900,\n lineHeight: tokens.lineHeightHero900,\n },\n hero1000: {\n fontSize: tokens.fontSizeHero1000,\n lineHeight: tokens.lineHeightHero1000,\n },\n monospace: {\n fontFamily: tokens.fontFamilyMonospace,\n },\n numeric: {\n fontFamily: tokens.fontFamilyNumeric,\n },\n weightMedium: {\n fontWeight: tokens.fontWeightMedium,\n },\n weightSemibold: {\n fontWeight: tokens.fontWeightSemibold,\n },\n weightBold: {\n fontWeight: tokens.fontWeightBold,\n },\n alignCenter: {\n textAlign: 'center',\n },\n alignEnd: {\n textAlign: 'end',\n },\n alignJustify: {\n textAlign: 'justify',\n },\n});\n\n/**\n * Apply styling to the Text slots based on the state\n */\nexport const useTextStyles_unstable = (state: TextState): TextState => {\n const styles = useStyles();\n\n state.root.className = mergeClasses(\n textClassNames.root,\n styles.root,\n state.wrap === false && styles.nowrap,\n state.truncate && styles.truncate,\n state.block && styles.block,\n state.italic && styles.italic,\n state.underline && styles.underline,\n state.strikethrough && styles.strikethrough,\n state.underline && state.strikethrough && styles.strikethroughUnderline,\n state.size === 100 && styles.base100,\n state.size === 200 && styles.base200,\n state.size === 400 && styles.base400,\n state.size === 500 && styles.base500,\n state.size === 600 && styles.base600,\n state.size === 700 && styles.hero700,\n state.size === 800 && styles.hero800,\n state.size === 900 && styles.hero900,\n state.size === 1000 && styles.hero1000,\n state.font === 'monospace' && styles.monospace,\n state.font === 'numeric' && styles.numeric,\n state.weight === 'medium' && styles.weightMedium,\n state.weight === 'semibold' && styles.weightSemibold,\n state.weight === 'bold' && styles.weightBold,\n state.align === 'center' && styles.alignCenter,\n state.align === 'end' && styles.alignEnd,\n state.align === 'justify' && styles.alignJustify,\n state.root.className,\n );\n\n return state;\n};\n"]}
@@ -4,20 +4,15 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.Title1 = exports.title1ClassNames = void 0;
7
-
8
7
  const react_1 = /*#__PURE__*/require("@griffel/react");
9
-
10
8
  const wrapper_1 = /*#__PURE__*/require("../wrapper");
11
-
12
9
  const react_theme_1 = /*#__PURE__*/require("@fluentui/react-theme");
13
-
14
10
  exports.title1ClassNames = {
15
11
  root: 'fui-Title1'
16
12
  };
17
13
  /**
18
14
  * Styles for the root slot
19
15
  */
20
-
21
16
  const useStyles = /*#__PURE__*/react_1.__styles({
22
17
  "root": {
23
18
  "Bahqtrf": "fk6fouc",
@@ -31,8 +26,6 @@ const useStyles = /*#__PURE__*/react_1.__styles({
31
26
  /**
32
27
  * Text wrapper component for the Title 1 typography variant
33
28
  */
34
-
35
-
36
29
  exports.Title1 = /*#__PURE__*/wrapper_1.createWrapper({
37
30
  useStyles,
38
31
  className: exports.title1ClassNames.root,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../../../../../packages/react-components/react-text/src/components/Title1/Title1.tsx"],"names":[],"mappings":";;;;;;;AACA,MAAA,OAAA,gBAAA,OAAA,CAAA,gBAAA,CAAA;;AACA,MAAA,SAAA,gBAAA,OAAA,CAAA,YAAA,CAAA;;AAGA,MAAA,aAAA,gBAAA,OAAA,CAAA,uBAAA,CAAA;;AAEa,OAAA,CAAA,gBAAA,GAA8C;EACzD,IAAI,EAAE;AADmD,CAA9C;AAIb;;AAEG;;AACH,MAAM,SAAS,gBAAG,OAAA,SAAA;EAAA;IAAA;IAAA;IAAA;IAAA;EAAA;AAAA;EAAA;AAAA,EAAlB;AAIA;;AAEG;;;AACU,OAAA,CAAA,MAAA,gBAA8C,SAAA,CAAA,aAAA,CAAc;EACvE,SADuE;EAEvE,SAAS,EAAE,OAAA,CAAA,gBAAA,CAAiB,IAF2C;EAGvE,WAAW,EAAE;AAH0D,CAAd,CAA9C","sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createWrapper, TextWrapperProps } from '../wrapper';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport { 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 */\nconst useStyles = makeStyles({\n root: typographyStyles.title1,\n});\n\n/**\n * Text wrapper component for the Title 1 typography variant\n */\nexport const Title1: FunctionComponent<TextWrapperProps> = createWrapper({\n useStyles,\n className: title1ClassNames.root,\n displayName: 'Title1',\n});\n"],"sourceRoot":""}
1
+ {"version":3,"mappings":";;;;;;AACA;AACA;AAGA;AAEaA,wBAAgB,GAA8B;EACzDC,IAAI,EAAE;CACP;AAED;;;AAGA,MAAMC,SAAS,gBAAGC,gBAAU;EAAA;IAAA;IAAA;IAAA;IAAA;EAAA;AAAA;EAAA;AAAA,EAE1B;AAEF;;;AAGaH,cAAM,gBAAwCI,uBAAa,CAAC;EACvEF,SAAS;EACTG,SAAS,EAAEL,wBAAgB,CAACC,IAAI;EAChCK,WAAW,EAAE;CACd,CAAC","names":["exports","root","useStyles","react_1","wrapper_1","className","displayName"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Title1/Title1.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createWrapper, TextWrapperProps } from '../wrapper';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport { 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 */\nconst useStyles = makeStyles({\n root: typographyStyles.title1,\n});\n\n/**\n * Text wrapper component for the Title 1 typography variant\n */\nexport const Title1: FunctionComponent<TextWrapperProps> = createWrapper({\n useStyles,\n className: title1ClassNames.root,\n displayName: 'Title1',\n});\n"]}
@@ -3,8 +3,6 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
-
7
6
  const tslib_1 = /*#__PURE__*/require("tslib");
8
-
9
7
  tslib_1.__exportStar(require("./Title1"), exports);
10
8
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../../../../../packages/react-components/react-text/src/components/Title1/index.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,UAAA,CAAA,EAAA,OAAA","sourcesContent":["export * from './Title1';\n"],"sourceRoot":""}
1
+ {"version":3,"mappings":";;;;;;AAAAA","names":["tslib_1"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Title1/index.ts"],"sourcesContent":["export * from './Title1';\n"]}
@@ -4,20 +4,15 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.Title2 = exports.title2ClassNames = void 0;
7
-
8
7
  const react_1 = /*#__PURE__*/require("@griffel/react");
9
-
10
8
  const wrapper_1 = /*#__PURE__*/require("../wrapper");
11
-
12
9
  const react_theme_1 = /*#__PURE__*/require("@fluentui/react-theme");
13
-
14
10
  exports.title2ClassNames = {
15
11
  root: 'fui-Title2'
16
12
  };
17
13
  /**
18
14
  * Styles for the root slot
19
15
  */
20
-
21
16
  const useStyles = /*#__PURE__*/react_1.__styles({
22
17
  "root": {
23
18
  "Bahqtrf": "fk6fouc",
@@ -31,8 +26,6 @@ const useStyles = /*#__PURE__*/react_1.__styles({
31
26
  /**
32
27
  * Text wrapper component for the Title 2 typography variant
33
28
  */
34
-
35
-
36
29
  exports.Title2 = /*#__PURE__*/wrapper_1.createWrapper({
37
30
  useStyles,
38
31
  className: exports.title2ClassNames.root,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../../../../../packages/react-components/react-text/src/components/Title2/Title2.tsx"],"names":[],"mappings":";;;;;;;AACA,MAAA,OAAA,gBAAA,OAAA,CAAA,gBAAA,CAAA;;AACA,MAAA,SAAA,gBAAA,OAAA,CAAA,YAAA,CAAA;;AAGA,MAAA,aAAA,gBAAA,OAAA,CAAA,uBAAA,CAAA;;AAEa,OAAA,CAAA,gBAAA,GAA8C;EACzD,IAAI,EAAE;AADmD,CAA9C;AAIb;;AAEG;;AACH,MAAM,SAAS,gBAAG,OAAA,SAAA;EAAA;IAAA;IAAA;IAAA;IAAA;EAAA;AAAA;EAAA;AAAA,EAAlB;AAIA;;AAEG;;;AACU,OAAA,CAAA,MAAA,gBAA8C,SAAA,CAAA,aAAA,CAAc;EACvE,SADuE;EAEvE,SAAS,EAAE,OAAA,CAAA,gBAAA,CAAiB,IAF2C;EAGvE,WAAW,EAAE;AAH0D,CAAd,CAA9C","sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createWrapper, TextWrapperProps } from '../wrapper';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport { 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 */\nconst useStyles = makeStyles({\n root: typographyStyles.title2,\n});\n\n/**\n * Text wrapper component for the Title 2 typography variant\n */\nexport const Title2: FunctionComponent<TextWrapperProps> = createWrapper({\n useStyles,\n className: title2ClassNames.root,\n displayName: 'Title2',\n});\n"],"sourceRoot":""}
1
+ {"version":3,"mappings":";;;;;;AACA;AACA;AAGA;AAEaA,wBAAgB,GAA8B;EACzDC,IAAI,EAAE;CACP;AAED;;;AAGA,MAAMC,SAAS,gBAAGC,gBAAU;EAAA;IAAA;IAAA;IAAA;IAAA;EAAA;AAAA;EAAA;AAAA,EAE1B;AAEF;;;AAGaH,cAAM,gBAAwCI,uBAAa,CAAC;EACvEF,SAAS;EACTG,SAAS,EAAEL,wBAAgB,CAACC,IAAI;EAChCK,WAAW,EAAE;CACd,CAAC","names":["exports","root","useStyles","react_1","wrapper_1","className","displayName"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Title2/Title2.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createWrapper, TextWrapperProps } from '../wrapper';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport { 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 */\nconst useStyles = makeStyles({\n root: typographyStyles.title2,\n});\n\n/**\n * Text wrapper component for the Title 2 typography variant\n */\nexport const Title2: FunctionComponent<TextWrapperProps> = createWrapper({\n useStyles,\n className: title2ClassNames.root,\n displayName: 'Title2',\n});\n"]}
@@ -3,8 +3,6 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
-
7
6
  const tslib_1 = /*#__PURE__*/require("tslib");
8
-
9
7
  tslib_1.__exportStar(require("./Title2"), exports);
10
8
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../../../../../packages/react-components/react-text/src/components/Title2/index.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,UAAA,CAAA,EAAA,OAAA","sourcesContent":["export * from './Title2';\n"],"sourceRoot":""}
1
+ {"version":3,"mappings":";;;;;;AAAAA","names":["tslib_1"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Title2/index.ts"],"sourcesContent":["export * from './Title2';\n"]}
@@ -4,20 +4,15 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.Title3 = exports.title3ClassNames = void 0;
7
-
8
7
  const react_1 = /*#__PURE__*/require("@griffel/react");
9
-
10
8
  const wrapper_1 = /*#__PURE__*/require("../wrapper");
11
-
12
9
  const react_theme_1 = /*#__PURE__*/require("@fluentui/react-theme");
13
-
14
10
  exports.title3ClassNames = {
15
11
  root: 'fui-Title3'
16
12
  };
17
13
  /**
18
14
  * Styles for the root slot
19
15
  */
20
-
21
16
  const useStyles = /*#__PURE__*/react_1.__styles({
22
17
  "root": {
23
18
  "Bahqtrf": "fk6fouc",
@@ -31,8 +26,6 @@ const useStyles = /*#__PURE__*/react_1.__styles({
31
26
  /**
32
27
  * Text wrapper component for the Title 3 typography variant
33
28
  */
34
-
35
-
36
29
  exports.Title3 = /*#__PURE__*/wrapper_1.createWrapper({
37
30
  useStyles,
38
31
  className: exports.title3ClassNames.root,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../../../../../packages/react-components/react-text/src/components/Title3/Title3.tsx"],"names":[],"mappings":";;;;;;;AACA,MAAA,OAAA,gBAAA,OAAA,CAAA,gBAAA,CAAA;;AACA,MAAA,SAAA,gBAAA,OAAA,CAAA,YAAA,CAAA;;AAGA,MAAA,aAAA,gBAAA,OAAA,CAAA,uBAAA,CAAA;;AAEa,OAAA,CAAA,gBAAA,GAA8C;EACzD,IAAI,EAAE;AADmD,CAA9C;AAIb;;AAEG;;AACH,MAAM,SAAS,gBAAG,OAAA,SAAA;EAAA;IAAA;IAAA;IAAA;IAAA;EAAA;AAAA;EAAA;AAAA,EAAlB;AAIA;;AAEG;;;AACU,OAAA,CAAA,MAAA,gBAA8C,SAAA,CAAA,aAAA,CAAc;EACvE,SADuE;EAEvE,SAAS,EAAE,OAAA,CAAA,gBAAA,CAAiB,IAF2C;EAGvE,WAAW,EAAE;AAH0D,CAAd,CAA9C","sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createWrapper, TextWrapperProps } from '../wrapper';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport { 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 */\nconst useStyles = makeStyles({\n root: typographyStyles.title3,\n});\n\n/**\n * Text wrapper component for the Title 3 typography variant\n */\nexport const Title3: FunctionComponent<TextWrapperProps> = createWrapper({\n useStyles,\n className: title3ClassNames.root,\n displayName: 'Title3',\n});\n"],"sourceRoot":""}
1
+ {"version":3,"mappings":";;;;;;AACA;AACA;AAGA;AAEaA,wBAAgB,GAA8B;EACzDC,IAAI,EAAE;CACP;AAED;;;AAGA,MAAMC,SAAS,gBAAGC,gBAAU;EAAA;IAAA;IAAA;IAAA;IAAA;EAAA;AAAA;EAAA;AAAA,EAE1B;AAEF;;;AAGaH,cAAM,gBAAwCI,uBAAa,CAAC;EACvEF,SAAS;EACTG,SAAS,EAAEL,wBAAgB,CAACC,IAAI;EAChCK,WAAW,EAAE;CACd,CAAC","names":["exports","root","useStyles","react_1","wrapper_1","className","displayName"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Title3/Title3.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createWrapper, TextWrapperProps } from '../wrapper';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport { 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 */\nconst useStyles = makeStyles({\n root: typographyStyles.title3,\n});\n\n/**\n * Text wrapper component for the Title 3 typography variant\n */\nexport const Title3: FunctionComponent<TextWrapperProps> = createWrapper({\n useStyles,\n className: title3ClassNames.root,\n displayName: 'Title3',\n});\n"]}
@@ -3,8 +3,6 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
-
7
6
  const tslib_1 = /*#__PURE__*/require("tslib");
8
-
9
7
  tslib_1.__exportStar(require("./Title3"), exports);
10
8
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../../../../../packages/react-components/react-text/src/components/Title3/index.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,UAAA,CAAA,EAAA,OAAA","sourcesContent":["export * from './Title3';\n"],"sourceRoot":""}
1
+ {"version":3,"mappings":";;;;;;AAAAA","names":["tslib_1"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Title3/index.ts"],"sourcesContent":["export * from './Title3';\n"]}
@@ -4,13 +4,9 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.createWrapper = void 0;
7
-
8
7
  const React = /*#__PURE__*/require("react");
9
-
10
8
  const react_1 = /*#__PURE__*/require("@griffel/react");
11
-
12
9
  const Text_1 = /*#__PURE__*/require("../Text");
13
-
14
10
  function createWrapper(options) {
15
11
  const {
16
12
  useStyles,
@@ -27,6 +23,5 @@ function createWrapper(options) {
27
23
  Wrapper.displayName = displayName;
28
24
  return Wrapper;
29
25
  }
30
-
31
26
  exports.createWrapper = createWrapper;
32
27
  //# sourceMappingURL=wrapper.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../../../../packages/react-components/react-text/src/components/wrapper.tsx"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,MAAA,OAAA,gBAAA,OAAA,CAAA,gBAAA,CAAA;;AACA,MAAA,MAAA,gBAAA,OAAA,CAAA,SAAA,CAAA;;AAMA,SAAgB,aAAhB,CAA8B,OAA9B,EAIC;EACC,MAAM;IAAE,SAAF;IAAa,SAAb;IAAwB;EAAxB,IAAwC,OAA9C;EACA,MAAM,OAAO,GAA0C,KAAK,CAAC,UAAN,CAAiB,CAAC,KAAD,EAAQ,GAAR,KAAe;IACrF,MAAM,MAAM,GAAG,SAAS,EAAxB;IACA,MAAM,KAAK,GAAG,MAAA,CAAA,gBAAA,CAAiB,KAAjB,EAAqC,GAArC,CAAd;IAEA,MAAA,CAAA,sBAAA,CAAuB,KAAvB;IAEA,KAAK,CAAC,IAAN,CAAW,SAAX,GAAuB,OAAA,CAAA,YAAA,CAAa,SAAb,EAAwB,KAAK,CAAC,IAAN,CAAW,SAAnC,EAA8C,MAAM,CAAC,IAArD,EAA2D,KAAK,CAAC,SAAjE,CAAvB;IAEA,OAAO,MAAA,CAAA,mBAAA,CAAoB,KAApB,CAAP;EACD,CATsD,CAAvD;EAUA,OAAO,CAAC,WAAR,GAAsB,WAAtB;EAEA,OAAO,OAAP;AACD;;AAnBD,OAAA,CAAA,aAAA,GAAA,aAAA","sourcesContent":["import * as React from 'react';\nimport { mergeClasses } from '@griffel/react';\nimport { renderText_unstable, useText_unstable, useTextStyles_unstable } from '../Text';\nimport type { TextProps } from '../Text';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\n\nexport type TextWrapperProps = Omit<TextProps, 'font' | 'size'>;\n\nexport function createWrapper(options: {\n className: string;\n displayName: string;\n useStyles: () => Record<'root', string>;\n}): React.FunctionComponent<TextWrapperProps> {\n const { useStyles, className, displayName } = options;\n const Wrapper: ForwardRefComponent<TextWrapperProps> = React.forwardRef((props, ref) => {\n const styles = useStyles();\n const state = useText_unstable(props as TextProps, ref);\n\n useTextStyles_unstable(state);\n\n state.root.className = mergeClasses(className, state.root.className, styles.root, props.className);\n\n return renderText_unstable(state);\n });\n Wrapper.displayName = displayName;\n\n return Wrapper;\n}\n"],"sourceRoot":""}
1
+ {"version":3,"mappings":";;;;;;AAAA;AACA;AACA;AAMA,SAAgBA,aAAa,CAACC,OAI7B;EACC,MAAM;IAAEC,SAAS;IAAEC,SAAS;IAAEC;EAAW,CAAE,GAAGH,OAAO;EACrD,MAAMI,OAAO,GAA0CC,KAAK,CAACC,UAAU,CAAC,CAACC,KAAK,EAAEC,GAAG,KAAI;IACrF,MAAMC,MAAM,GAAGR,SAAS,EAAE;IAC1B,MAAMS,KAAK,GAAGC,uBAAgB,CAACJ,KAAkB,EAAEC,GAAG,CAAC;IAEvDG,6BAAsB,CAACD,KAAK,CAAC;IAE7BA,KAAK,CAACE,IAAI,CAACV,SAAS,GAAGW,oBAAY,CAACX,SAAS,EAAEQ,KAAK,CAACE,IAAI,CAACV,SAAS,EAAEO,MAAM,CAACG,IAAI,EAAEL,KAAK,CAACL,SAAS,CAAC;IAElG,OAAOS,0BAAmB,CAACD,KAAK,CAAC;EACnC,CAAC,CAAC;EACFN,OAAO,CAACD,WAAW,GAAGA,WAAW;EAEjC,OAAOC,OAAO;AAChB;AAnBAU","names":["createWrapper","options","useStyles","className","displayName","Wrapper","React","forwardRef","props","ref","styles","state","Text_1","root","react_1","exports"],"sourceRoot":"","sources":["../../../../../../../../packages/react-components/react-text/src/components/wrapper.tsx"],"sourcesContent":["import * as React from 'react';\nimport { mergeClasses } from '@griffel/react';\nimport { renderText_unstable, useText_unstable, useTextStyles_unstable } from '../Text';\nimport type { TextProps } from '../Text';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\n\nexport type TextWrapperProps = Omit<TextProps, 'font' | 'size'>;\n\nexport function createWrapper(options: {\n className: string;\n displayName: string;\n useStyles: () => Record<'root', string>;\n}): React.FunctionComponent<TextWrapperProps> {\n const { useStyles, className, displayName } = options;\n const Wrapper: ForwardRefComponent<TextWrapperProps> = React.forwardRef((props, ref) => {\n const styles = useStyles();\n const state = useText_unstable(props as TextProps, ref);\n\n useTextStyles_unstable(state);\n\n state.root.className = mergeClasses(className, state.root.className, styles.root, props.className);\n\n return renderText_unstable(state);\n });\n Wrapper.displayName = displayName;\n\n return Wrapper;\n}\n"]}
@@ -4,9 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.caption2ClassNames = exports.Caption2 = exports.caption1ClassNames = exports.Caption1 = exports.body1ClassNames = exports.Body1 = exports.subtitle2ClassNames = exports.Subtitle2 = exports.subtitle1ClassNames = exports.Subtitle1 = exports.title3ClassNames = exports.Title3 = exports.title2ClassNames = exports.Title2 = exports.title1ClassNames = exports.Title1 = exports.largeTitleClassNames = exports.LargeTitle = exports.displayClassNames = exports.Display = exports.useText_unstable = exports.useTextStyles_unstable = exports.textClassNames = exports.renderText_unstable = exports.Text = void 0;
7
-
8
7
  var Text_1 = /*#__PURE__*/require("./Text");
9
-
10
8
  Object.defineProperty(exports, "Text", {
11
9
  enumerable: true,
12
10
  get: function () {
@@ -37,9 +35,7 @@ Object.defineProperty(exports, "useText_unstable", {
37
35
  return Text_1.useText_unstable;
38
36
  }
39
37
  });
40
-
41
38
  var Display_1 = /*#__PURE__*/require("./Display");
42
-
43
39
  Object.defineProperty(exports, "Display", {
44
40
  enumerable: true,
45
41
  get: function () {
@@ -52,9 +48,7 @@ Object.defineProperty(exports, "displayClassNames", {
52
48
  return Display_1.displayClassNames;
53
49
  }
54
50
  });
55
-
56
51
  var LargeTitle_1 = /*#__PURE__*/require("./LargeTitle");
57
-
58
52
  Object.defineProperty(exports, "LargeTitle", {
59
53
  enumerable: true,
60
54
  get: function () {
@@ -67,9 +61,7 @@ Object.defineProperty(exports, "largeTitleClassNames", {
67
61
  return LargeTitle_1.largeTitleClassNames;
68
62
  }
69
63
  });
70
-
71
64
  var Title1_1 = /*#__PURE__*/require("./Title1");
72
-
73
65
  Object.defineProperty(exports, "Title1", {
74
66
  enumerable: true,
75
67
  get: function () {
@@ -82,9 +74,7 @@ Object.defineProperty(exports, "title1ClassNames", {
82
74
  return Title1_1.title1ClassNames;
83
75
  }
84
76
  });
85
-
86
77
  var Title2_1 = /*#__PURE__*/require("./Title2");
87
-
88
78
  Object.defineProperty(exports, "Title2", {
89
79
  enumerable: true,
90
80
  get: function () {
@@ -97,9 +87,7 @@ Object.defineProperty(exports, "title2ClassNames", {
97
87
  return Title2_1.title2ClassNames;
98
88
  }
99
89
  });
100
-
101
90
  var Title3_1 = /*#__PURE__*/require("./Title3");
102
-
103
91
  Object.defineProperty(exports, "Title3", {
104
92
  enumerable: true,
105
93
  get: function () {
@@ -112,9 +100,7 @@ Object.defineProperty(exports, "title3ClassNames", {
112
100
  return Title3_1.title3ClassNames;
113
101
  }
114
102
  });
115
-
116
103
  var Subtitle1_1 = /*#__PURE__*/require("./Subtitle1");
117
-
118
104
  Object.defineProperty(exports, "Subtitle1", {
119
105
  enumerable: true,
120
106
  get: function () {
@@ -127,9 +113,7 @@ Object.defineProperty(exports, "subtitle1ClassNames", {
127
113
  return Subtitle1_1.subtitle1ClassNames;
128
114
  }
129
115
  });
130
-
131
116
  var Subtitle2_1 = /*#__PURE__*/require("./Subtitle2");
132
-
133
117
  Object.defineProperty(exports, "Subtitle2", {
134
118
  enumerable: true,
135
119
  get: function () {
@@ -142,9 +126,7 @@ Object.defineProperty(exports, "subtitle2ClassNames", {
142
126
  return Subtitle2_1.subtitle2ClassNames;
143
127
  }
144
128
  });
145
-
146
129
  var Body1_1 = /*#__PURE__*/require("./Body1");
147
-
148
130
  Object.defineProperty(exports, "Body1", {
149
131
  enumerable: true,
150
132
  get: function () {
@@ -157,9 +139,7 @@ Object.defineProperty(exports, "body1ClassNames", {
157
139
  return Body1_1.body1ClassNames;
158
140
  }
159
141
  });
160
-
161
142
  var Caption1_1 = /*#__PURE__*/require("./Caption1");
162
-
163
143
  Object.defineProperty(exports, "Caption1", {
164
144
  enumerable: true,
165
145
  get: function () {
@@ -172,9 +152,7 @@ Object.defineProperty(exports, "caption1ClassNames", {
172
152
  return Caption1_1.caption1ClassNames;
173
153
  }
174
154
  });
175
-
176
155
  var Caption2_1 = /*#__PURE__*/require("./Caption2");
177
-
178
156
  Object.defineProperty(exports, "Caption2", {
179
157
  enumerable: true,
180
158
  get: function () {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../../../packages/react-components/react-text/src/index.ts"],"names":[],"mappings":";;;;;;;AAAA,IAAA,MAAA,gBAAA,OAAA,CAAA,QAAA,CAAA;;AAAS,MAAA,CAAA,cAAA,CAAA,OAAA,EAAA,MAAA,EAAA;EAAA,UAAA,EAAA,IAAA;EAAA,GAAA,EAAA,YAAA;IAAA,OAAA,MAAA,CAAA,IAAA;EAAI;AAAJ,CAAA;AAAM,MAAA,CAAA,cAAA,CAAA,OAAA,EAAA,qBAAA,EAAA;EAAA,UAAA,EAAA,IAAA;EAAA,GAAA,EAAA,YAAA;IAAA,OAAA,MAAA,CAAA,mBAAA;EAAmB;AAAnB,CAAA;AAAqB,MAAA,CAAA,cAAA,CAAA,OAAA,EAAA,gBAAA,EAAA;EAAA,UAAA,EAAA,IAAA;EAAA,GAAA,EAAA,YAAA;IAAA,OAAA,MAAA,CAAA,cAAA;EAAc;AAAd,CAAA;AAAgB,MAAA,CAAA,cAAA,CAAA,OAAA,EAAA,wBAAA,EAAA;EAAA,UAAA,EAAA,IAAA;EAAA,GAAA,EAAA,YAAA;IAAA,OAAA,MAAA,CAAA,sBAAA;EAAsB;AAAtB,CAAA;AAAwB,MAAA,CAAA,cAAA,CAAA,OAAA,EAAA,kBAAA,EAAA;EAAA,UAAA,EAAA,IAAA;EAAA,GAAA,EAAA,YAAA;IAAA,OAAA,MAAA,CAAA,gBAAA;EAAgB;AAAhB,CAAA;;AAE5E,IAAA,SAAA,gBAAA,OAAA,CAAA,WAAA,CAAA;;AAAS,MAAA,CAAA,cAAA,CAAA,OAAA,EAAA,SAAA,EAAA;EAAA,UAAA,EAAA,IAAA;EAAA,GAAA,EAAA,YAAA;IAAA,OAAA,SAAA,CAAA,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AA,EAAA,YAAA;IAAA,OAAA,OAAA,CAAA,KAAA;EAAK;AAAL,CAAA;AAAO,MAAA,CAAA,cAAA,CAAA,OAAA,EAAA,iBAAA,EAAA;EAAA,UAAA,EAAA,IAAA;EAAA,GAAA,EAAA,YAAA;IAAA,OAAA,OAAA,CAAA,eAAA;EAAe;AAAf,CAAA;;AAChB,IAAA,UAAA,gBAAA,OAAA,CAAA,YAAA,CAAA;;AAAS,MAAA,CAAA,cAAA,CAAA,OAAA,EAAA,UAAA,EAAA;EAAA,UAAA,EAAA,IAAA;EAAA,GAAA,EAAA,YAAA;IAAA,OAAA,UAAA,CAAA,QAAA;EAAQ;AAAR,CAAA;AAAU,MAAA,CAAA,cAAA,CAAA,OAAA,EAAA,oBAAA,EAAA;EAAA,UAAA,EAAA,IAAA;EAAA,GAAA,EAAA,YAAA;IAAA,OAAA,UAAA,CAAA,kBAAA;EAAkB;AAAlB,CAAA;;AACnB,IAAA,UAAA,gBAAA,OAAA,CAAA,YAAA,CAAA;;AAAS,MAAA,CAAA,cAAA,CAAA,OAAA,EAAA,UAAA,EAAA;EAAA,UAAA,EAAA,IAAA;EAAA,GAAA,EAAA,YAAA;IAAA,OAAA,UAAA,CAAA,QAAA;EAAQ;AAAR,CAAA;AAAU,MAAA,CAAA,cAAA,CAAA,OAAA,EAAA,oBAAA,EAAA;EAAA,UAAA,EAAA,IAAA;EAAA,GAAA,EAAA,YAAA;IAAA,OAAA,UAAA,CAAA,kBAAA;EAAkB;AAAlB,CAAA","sourcesContent":["export { Text, renderText_unstable, textClassNames, useTextStyles_unstable, useText_unstable } from './Text';\nexport type { TextProps, TextSlots, TextState } from './Text';\nexport { Display, displayClassNames } from './Display';\nexport { LargeTitle, largeTitleClassNames } from './LargeTitle';\nexport { Title1, title1ClassNames } from './Title1';\nexport { Title2, title2ClassNames } from './Title2';\nexport { Title3, title3ClassNames } from './Title3';\nexport { Subtitle1, subtitle1ClassNames } from './Subtitle1';\nexport { Subtitle2, subtitle2ClassNames } from './Subtitle2';\nexport { Body1, body1ClassNames } from './Body1';\nexport { Caption1, caption1ClassNames } from './Caption1';\nexport { Caption2, caption2ClassNames } from './Caption2';\n"],"sourceRoot":""}
1
+ {"version":3,"mappings":";;;;;;AAAA;AAASA;EAAAC;EAAAC;IAAA,kBAAI;EAAA;AAAA;AAAEF;EAAAC;EAAAC;IAAA,iCAAmB;EAAA;AAAA;AAAEF;EAAAC;EAAAC;IAAA,4BAAc;EAAA;AAAA;AAAEF;EAAAC;EAAAC;IAAA,oCAAsB;EAAA;AAAA;AAAEF;EAAAC;EAAAC;IAAA,8BAAgB;EAAA;AAAA;AAE5F;AAASF;EAAAC;EAAAC;IAAA,wBAAO;EAAA;AAAA;AAAEF;EAAAC;EAAAC;IAAA,kCAAiB;EAAA;AAAA;AACnC;AAASF;EAAAC;EAAAC;IAAA,8BAAU;EAAA;AAAA;AAAEF;EAAAC;EAAAC;IAAA,wCAAoB;EAAA;AAAA;AACzC;AAASF;EAAAC;EAAAC;IAAA,sBAAM;EAAA;AAAA;AAAEF;EAAAC;EAAAC;IAAA,gCAAgB;EAAA;AAAA;AACjC;AAASF;EAAAC;EAAAC;IAAA,sBAAM;EAAA;AAAA;AAAEF;EAAAC;EAAAC;IAAA,gCAAgB;EAAA;AAAA;AACjC;AAASF;EAAAC;EAAAC;IAAA,sBAAM;EAAA;AAAA;AAAEF;EAAAC;EAAAC;IAAA,gCAAgB;EAAA;AAAA;AACjC;AAASF;EAAAC;EAAAC;IAAA,4BAAS;EAAA;AAAA;AAAEF;EAAAC;EAAAC;IAAA,sCAAmB;EAAA;AAAA;AACvC;AAASF;EAAAC;EAAAC;IAAA,4BAAS;EAAA;AAAA;AAAEF;EAAAC;EAAAC;IAAA,sCAAmB;EAAA;AAAA;AACvC;AAASF;EAAAC;EAAAC;IAAA,oBAAK;EAAA;AAAA;AAAEF;EAAAC;EAAAC;IAAA,8BAAe;EAAA;AAAA;AAC/B;AAASF;EAAAC;EAAAC;IAAA,0BAAQ;EAAA;AAAA;AAAEF;EAAAC;EAAAC;IAAA,oCAAkB;EAAA;AAAA;AACrC;AAASF;EAAAC;EAAAC;IAAA,0BAAQ;EAAA;AAAA;AAAEF;EAAAC;EAAAC;IAAA,oCAAkB;EAAA;AAAA","names":["Object","enumerable","get"],"sourceRoot":"","sources":["../../../../../../../packages/react-components/react-text/src/index.ts"],"sourcesContent":["export { Text, renderText_unstable, textClassNames, useTextStyles_unstable, useText_unstable } from './Text';\nexport type { TextProps, TextSlots, TextState } from './Text';\nexport { Display, displayClassNames } from './Display';\nexport { LargeTitle, largeTitleClassNames } from './LargeTitle';\nexport { Title1, title1ClassNames } from './Title1';\nexport { Title2, title2ClassNames } from './Title2';\nexport { Title3, title3ClassNames } from './Title3';\nexport { Subtitle1, subtitle1ClassNames } from './Subtitle1';\nexport { Subtitle2, subtitle2ClassNames } from './Subtitle2';\nexport { Body1, body1ClassNames } from './Body1';\nexport { Caption1, caption1ClassNames } from './Caption1';\nexport { Caption2, caption2ClassNames } from './Caption2';\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui/react-text",
3
- "version": "0.0.0-nightly-20221228-0425.1",
3
+ "version": "0.0.0-nightly-20221230-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,13 +27,13 @@
27
27
  "devDependencies": {
28
28
  "@fluentui/eslint-plugin": "*",
29
29
  "@fluentui/react-conformance": "*",
30
- "@fluentui/react-conformance-griffel": "0.0.0-nightly-20221228-0425.1",
31
- "@fluentui/scripts": "^1.0.0"
30
+ "@fluentui/react-conformance-griffel": "0.0.0-nightly-20221230-0421.1",
31
+ "@fluentui/scripts": "*"
32
32
  },
33
33
  "dependencies": {
34
34
  "@griffel/react": "^1.4.2",
35
- "@fluentui/react-theme": "0.0.0-nightly-20221228-0425.1",
36
- "@fluentui/react-utilities": "0.0.0-nightly-20221228-0425.1",
35
+ "@fluentui/react-theme": "0.0.0-nightly-20221230-0421.1",
36
+ "@fluentui/react-utilities": "0.0.0-nightly-20221230-0421.1",
37
37
  "tslib": "^2.1.0"
38
38
  },
39
39
  "peerDependencies": {