@fluentui/react-text 9.72.9-experimental.component-base-hooks.20260122-49fc330360.0 → 9.74.3-experimental.esm.20260709-49ee7a20cf.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +73 -9
- package/dist/index.d.cts +240 -0
- package/dist/index.d.ts +2 -2
- package/lib/Body1.js +1 -1
- package/lib/Body1.js.map +1 -1
- package/lib/Body1Strong.js +1 -1
- package/lib/Body1Strong.js.map +1 -1
- package/lib/Body1Stronger.js +1 -1
- package/lib/Body1Stronger.js.map +1 -1
- package/lib/Body2.js +1 -1
- package/lib/Body2.js.map +1 -1
- package/lib/Caption1.js +1 -1
- package/lib/Caption1.js.map +1 -1
- package/lib/Caption1Strong.js +1 -1
- package/lib/Caption1Strong.js.map +1 -1
- package/lib/Caption1Stronger.js +1 -1
- package/lib/Caption1Stronger.js.map +1 -1
- package/lib/Caption2.js +1 -1
- package/lib/Caption2.js.map +1 -1
- package/lib/Caption2Strong.js +1 -1
- package/lib/Caption2Strong.js.map +1 -1
- package/lib/Display.js +1 -1
- package/lib/Display.js.map +1 -1
- package/lib/LargeTitle.js +1 -1
- package/lib/LargeTitle.js.map +1 -1
- package/lib/Subtitle1.js +1 -1
- package/lib/Subtitle1.js.map +1 -1
- package/lib/Subtitle2.js +1 -1
- package/lib/Subtitle2.js.map +1 -1
- package/lib/Subtitle2Stronger.js +1 -1
- package/lib/Subtitle2Stronger.js.map +1 -1
- package/lib/Text.js +1 -1
- package/lib/Text.js.map +1 -1
- package/lib/Title1.js +1 -1
- package/lib/Title1.js.map +1 -1
- package/lib/Title2.js +1 -1
- package/lib/Title2.js.map +1 -1
- package/lib/Title3.js +1 -1
- package/lib/Title3.js.map +1 -1
- package/lib/components/Text/Text.js +5 -5
- package/lib/components/Text/Text.js.map +1 -1
- package/lib/components/Text/index.js +4 -4
- package/lib/components/Text/index.js.map +1 -1
- package/lib/components/Text/renderText.js +1 -1
- package/lib/components/Text/useText.js +1 -2
- package/lib/components/Text/useText.js.map +1 -1
- package/lib/components/Text/useTextStyles.styles.js +3 -4
- package/lib/components/Text/useTextStyles.styles.js.map +1 -1
- package/lib/components/Text/useTextStyles.styles.raw.js +3 -3
- package/lib/components/Text/useTextStyles.styles.raw.js.map +1 -1
- package/lib/components/presets/Body1/Body1.js +3 -3
- package/lib/components/presets/Body1/Body1.js.map +1 -1
- package/lib/components/presets/Body1/index.js +2 -2
- package/lib/components/presets/Body1/index.js.map +1 -1
- package/lib/components/presets/Body1/useBody1Styles.styles.js +4 -2
- package/lib/components/presets/Body1/useBody1Styles.styles.js.map +1 -1
- package/lib/components/presets/Body1/useBody1Styles.styles.raw.js +3 -2
- package/lib/components/presets/Body1/useBody1Styles.styles.raw.js.map +1 -1
- package/lib/components/presets/Body1Strong/Body1Strong.js +3 -3
- package/lib/components/presets/Body1Strong/Body1Strong.js.map +1 -1
- package/lib/components/presets/Body1Strong/index.js +2 -2
- package/lib/components/presets/Body1Strong/index.js.map +1 -1
- package/lib/components/presets/Body1Strong/useBody1StrongStyles.styles.js +4 -2
- package/lib/components/presets/Body1Strong/useBody1StrongStyles.styles.js.map +1 -1
- package/lib/components/presets/Body1Strong/useBody1StrongStyles.styles.raw.js +3 -2
- package/lib/components/presets/Body1Strong/useBody1StrongStyles.styles.raw.js.map +1 -1
- package/lib/components/presets/Body1Stronger/Body1Stronger.js +3 -3
- package/lib/components/presets/Body1Stronger/Body1Stronger.js.map +1 -1
- package/lib/components/presets/Body1Stronger/index.js +2 -2
- package/lib/components/presets/Body1Stronger/index.js.map +1 -1
- package/lib/components/presets/Body1Stronger/useBody1StrongerStyles.styles.js +4 -2
- package/lib/components/presets/Body1Stronger/useBody1StrongerStyles.styles.js.map +1 -1
- package/lib/components/presets/Body1Stronger/useBody1StrongerStyles.styles.raw.js +3 -2
- package/lib/components/presets/Body1Stronger/useBody1StrongerStyles.styles.raw.js.map +1 -1
- package/lib/components/presets/Body2/Body2.js +3 -3
- package/lib/components/presets/Body2/Body2.js.map +1 -1
- package/lib/components/presets/Body2/index.js +2 -2
- package/lib/components/presets/Body2/index.js.map +1 -1
- package/lib/components/presets/Body2/useBody2Styles.styles.js +4 -2
- package/lib/components/presets/Body2/useBody2Styles.styles.js.map +1 -1
- package/lib/components/presets/Body2/useBody2Styles.styles.raw.js +3 -2
- package/lib/components/presets/Body2/useBody2Styles.styles.raw.js.map +1 -1
- package/lib/components/presets/Caption1/Caption1.js +3 -3
- package/lib/components/presets/Caption1/Caption1.js.map +1 -1
- package/lib/components/presets/Caption1/index.js +2 -2
- package/lib/components/presets/Caption1/index.js.map +1 -1
- package/lib/components/presets/Caption1/useCaption1Styles.styles.js +4 -2
- package/lib/components/presets/Caption1/useCaption1Styles.styles.js.map +1 -1
- package/lib/components/presets/Caption1/useCaption1Styles.styles.raw.js +3 -2
- package/lib/components/presets/Caption1/useCaption1Styles.styles.raw.js.map +1 -1
- package/lib/components/presets/Caption1Strong/Caption1Strong.js +3 -3
- package/lib/components/presets/Caption1Strong/Caption1Strong.js.map +1 -1
- package/lib/components/presets/Caption1Strong/index.js +2 -2
- package/lib/components/presets/Caption1Strong/index.js.map +1 -1
- package/lib/components/presets/Caption1Strong/useCaption1StrongStyles.styles.js +4 -2
- package/lib/components/presets/Caption1Strong/useCaption1StrongStyles.styles.js.map +1 -1
- package/lib/components/presets/Caption1Strong/useCaption1StrongStyles.styles.raw.js +3 -2
- package/lib/components/presets/Caption1Strong/useCaption1StrongStyles.styles.raw.js.map +1 -1
- package/lib/components/presets/Caption1Stronger/Caption1Stronger.js +3 -3
- package/lib/components/presets/Caption1Stronger/Caption1Stronger.js.map +1 -1
- package/lib/components/presets/Caption1Stronger/index.js +2 -2
- package/lib/components/presets/Caption1Stronger/index.js.map +1 -1
- package/lib/components/presets/Caption1Stronger/useCaption1Stronger.styles.js +4 -2
- package/lib/components/presets/Caption1Stronger/useCaption1Stronger.styles.js.map +1 -1
- package/lib/components/presets/Caption1Stronger/useCaption1Stronger.styles.raw.js +3 -2
- package/lib/components/presets/Caption1Stronger/useCaption1Stronger.styles.raw.js.map +1 -1
- package/lib/components/presets/Caption2/Caption2.js +3 -3
- package/lib/components/presets/Caption2/Caption2.js.map +1 -1
- package/lib/components/presets/Caption2/index.js +2 -2
- package/lib/components/presets/Caption2/index.js.map +1 -1
- package/lib/components/presets/Caption2/useCaption2Styles.styles.js +4 -2
- package/lib/components/presets/Caption2/useCaption2Styles.styles.js.map +1 -1
- package/lib/components/presets/Caption2/useCaption2Styles.styles.raw.js +3 -2
- package/lib/components/presets/Caption2/useCaption2Styles.styles.raw.js.map +1 -1
- package/lib/components/presets/Caption2Strong/Caption2Strong.js +3 -3
- package/lib/components/presets/Caption2Strong/Caption2Strong.js.map +1 -1
- package/lib/components/presets/Caption2Strong/index.js +2 -2
- package/lib/components/presets/Caption2Strong/index.js.map +1 -1
- package/lib/components/presets/Caption2Strong/useCaption2StrongStyles.styles.js +4 -2
- package/lib/components/presets/Caption2Strong/useCaption2StrongStyles.styles.js.map +1 -1
- package/lib/components/presets/Caption2Strong/useCaption2StrongStyles.styles.raw.js +3 -2
- package/lib/components/presets/Caption2Strong/useCaption2StrongStyles.styles.raw.js.map +1 -1
- package/lib/components/presets/Display/Display.js +3 -3
- package/lib/components/presets/Display/Display.js.map +1 -1
- package/lib/components/presets/Display/index.js +2 -2
- package/lib/components/presets/Display/index.js.map +1 -1
- package/lib/components/presets/Display/useDisplayStyles.styles.js +4 -2
- package/lib/components/presets/Display/useDisplayStyles.styles.js.map +1 -1
- package/lib/components/presets/Display/useDisplayStyles.styles.raw.js +3 -2
- package/lib/components/presets/Display/useDisplayStyles.styles.raw.js.map +1 -1
- package/lib/components/presets/LargeTitle/LargeTitle.js +3 -3
- package/lib/components/presets/LargeTitle/LargeTitle.js.map +1 -1
- package/lib/components/presets/LargeTitle/index.js +2 -2
- package/lib/components/presets/LargeTitle/index.js.map +1 -1
- package/lib/components/presets/LargeTitle/useLargeTitleStyles.styles.js +4 -2
- package/lib/components/presets/LargeTitle/useLargeTitleStyles.styles.js.map +1 -1
- package/lib/components/presets/LargeTitle/useLargeTitleStyles.styles.raw.js +3 -2
- package/lib/components/presets/LargeTitle/useLargeTitleStyles.styles.raw.js.map +1 -1
- package/lib/components/presets/Subtitle1/Subtitle1.js +3 -3
- package/lib/components/presets/Subtitle1/Subtitle1.js.map +1 -1
- package/lib/components/presets/Subtitle1/index.js +2 -2
- package/lib/components/presets/Subtitle1/index.js.map +1 -1
- package/lib/components/presets/Subtitle1/useSubtitle1Styles.styles.js +4 -2
- package/lib/components/presets/Subtitle1/useSubtitle1Styles.styles.js.map +1 -1
- package/lib/components/presets/Subtitle1/useSubtitle1Styles.styles.raw.js +3 -2
- package/lib/components/presets/Subtitle1/useSubtitle1Styles.styles.raw.js.map +1 -1
- package/lib/components/presets/Subtitle2/Subtitle2.js +3 -3
- package/lib/components/presets/Subtitle2/Subtitle2.js.map +1 -1
- package/lib/components/presets/Subtitle2/index.js +2 -2
- package/lib/components/presets/Subtitle2/index.js.map +1 -1
- package/lib/components/presets/Subtitle2/useSubtitle2Styles.styles.js +4 -2
- package/lib/components/presets/Subtitle2/useSubtitle2Styles.styles.js.map +1 -1
- package/lib/components/presets/Subtitle2/useSubtitle2Styles.styles.raw.js +3 -2
- package/lib/components/presets/Subtitle2/useSubtitle2Styles.styles.raw.js.map +1 -1
- package/lib/components/presets/Subtitle2Stronger/Subtitle2Stronger.js +3 -3
- package/lib/components/presets/Subtitle2Stronger/Subtitle2Stronger.js.map +1 -1
- package/lib/components/presets/Subtitle2Stronger/index.js +2 -2
- package/lib/components/presets/Subtitle2Stronger/index.js.map +1 -1
- package/lib/components/presets/Subtitle2Stronger/useSubtitle2Stronger.styles.js +4 -2
- package/lib/components/presets/Subtitle2Stronger/useSubtitle2Stronger.styles.js.map +1 -1
- package/lib/components/presets/Subtitle2Stronger/useSubtitle2Stronger.styles.raw.js +3 -2
- package/lib/components/presets/Subtitle2Stronger/useSubtitle2Stronger.styles.raw.js.map +1 -1
- package/lib/components/presets/Title1/Title1.js +3 -3
- package/lib/components/presets/Title1/Title1.js.map +1 -1
- package/lib/components/presets/Title1/index.js +2 -2
- package/lib/components/presets/Title1/index.js.map +1 -1
- package/lib/components/presets/Title1/useTitle1Styles.styles.js +4 -2
- package/lib/components/presets/Title1/useTitle1Styles.styles.js.map +1 -1
- package/lib/components/presets/Title1/useTitle1Styles.styles.raw.js +3 -2
- package/lib/components/presets/Title1/useTitle1Styles.styles.raw.js.map +1 -1
- package/lib/components/presets/Title2/Title2.js +3 -3
- package/lib/components/presets/Title2/Title2.js.map +1 -1
- package/lib/components/presets/Title2/index.js +2 -2
- package/lib/components/presets/Title2/index.js.map +1 -1
- package/lib/components/presets/Title2/useTitle2Styles.styles.js +4 -2
- package/lib/components/presets/Title2/useTitle2Styles.styles.js.map +1 -1
- package/lib/components/presets/Title2/useTitle2Styles.styles.raw.js +3 -2
- package/lib/components/presets/Title2/useTitle2Styles.styles.raw.js.map +1 -1
- package/lib/components/presets/Title3/Title3.js +3 -3
- package/lib/components/presets/Title3/Title3.js.map +1 -1
- package/lib/components/presets/Title3/index.js +2 -2
- package/lib/components/presets/Title3/index.js.map +1 -1
- package/lib/components/presets/Title3/useTitle3Styles.styles.js +4 -2
- package/lib/components/presets/Title3/useTitle3Styles.styles.js.map +1 -1
- package/lib/components/presets/Title3/useTitle3Styles.styles.raw.js +3 -2
- package/lib/components/presets/Title3/useTitle3Styles.styles.raw.js.map +1 -1
- package/lib/components/presets/createPreset.js +3 -4
- package/lib/components/presets/createPreset.js.map +1 -1
- package/lib/index.js +18 -18
- package/lib/index.js.map +1 -1
- package/lib-commonjs/{Body1.js → Body1.cjs} +1 -1
- package/lib-commonjs/{Body1.js.map → Body1.cjs.map} +1 -1
- package/lib-commonjs/{Body1Strong.js → Body1Strong.cjs} +1 -1
- package/lib-commonjs/{Body1Strong.js.map → Body1Strong.cjs.map} +1 -1
- package/lib-commonjs/{Body1Stronger.js → Body1Stronger.cjs} +1 -1
- package/lib-commonjs/{Body1Stronger.js.map → Body1Stronger.cjs.map} +1 -1
- package/lib-commonjs/{Body2.js → Body2.cjs} +1 -1
- package/lib-commonjs/{Body2.js.map → Body2.cjs.map} +1 -1
- package/lib-commonjs/{Caption1.js → Caption1.cjs} +1 -1
- package/lib-commonjs/{Caption1.js.map → Caption1.cjs.map} +1 -1
- package/lib-commonjs/{Caption1Strong.js → Caption1Strong.cjs} +1 -1
- package/lib-commonjs/{Caption1Strong.js.map → Caption1Strong.cjs.map} +1 -1
- package/lib-commonjs/{Caption1Stronger.js → Caption1Stronger.cjs} +1 -1
- package/lib-commonjs/{Caption1Stronger.js.map → Caption1Stronger.cjs.map} +1 -1
- package/lib-commonjs/{Caption2.js → Caption2.cjs} +1 -1
- package/lib-commonjs/{Caption2.js.map → Caption2.cjs.map} +1 -1
- package/lib-commonjs/{Caption2Strong.js → Caption2Strong.cjs} +1 -1
- package/lib-commonjs/{Caption2Strong.js.map → Caption2Strong.cjs.map} +1 -1
- package/lib-commonjs/{Display.js → Display.cjs} +1 -1
- package/lib-commonjs/{Display.js.map → Display.cjs.map} +1 -1
- package/lib-commonjs/{LargeTitle.js → LargeTitle.cjs} +1 -1
- package/lib-commonjs/{LargeTitle.js.map → LargeTitle.cjs.map} +1 -1
- package/lib-commonjs/{Subtitle1.js → Subtitle1.cjs} +1 -1
- package/lib-commonjs/{Subtitle1.js.map → Subtitle1.cjs.map} +1 -1
- package/lib-commonjs/{Subtitle2.js → Subtitle2.cjs} +1 -1
- package/lib-commonjs/{Subtitle2.js.map → Subtitle2.cjs.map} +1 -1
- package/lib-commonjs/{Subtitle2Stronger.js → Subtitle2Stronger.cjs} +1 -1
- package/lib-commonjs/{Subtitle2Stronger.js.map → Subtitle2Stronger.cjs.map} +1 -1
- package/lib-commonjs/{Text.js → Text.cjs} +1 -1
- package/lib-commonjs/{Text.js.map → Text.cjs.map} +1 -1
- package/lib-commonjs/{Title1.js → Title1.cjs} +1 -1
- package/lib-commonjs/{Title1.js.map → Title1.cjs.map} +1 -1
- package/lib-commonjs/{Title2.js → Title2.cjs} +1 -1
- package/lib-commonjs/{Title2.js.map → Title2.cjs.map} +1 -1
- package/lib-commonjs/{Title3.js → Title3.cjs} +1 -1
- package/lib-commonjs/{Title3.js.map → Title3.cjs.map} +1 -1
- package/lib-commonjs/components/Text/{Text.js → Text.cjs} +3 -3
- package/lib-commonjs/components/Text/{Text.js.map → Text.cjs.map} +1 -1
- package/lib-commonjs/components/Text/{index.js → index.cjs} +4 -4
- package/lib-commonjs/components/Text/{index.js.map → index.cjs.map} +1 -1
- package/lib-commonjs/components/Text/{useText.js → useText.cjs} +0 -2
- package/lib-commonjs/components/Text/useText.cjs.map +1 -0
- package/lib-commonjs/components/Text/{useTextStyles.styles.js → useTextStyles.styles.cjs} +1 -1
- package/lib-commonjs/components/Text/useTextStyles.styles.cjs.map +1 -0
- package/lib-commonjs/components/Text/{useTextStyles.styles.raw.js → useTextStyles.styles.raw.cjs} +1 -1
- package/lib-commonjs/components/Text/useTextStyles.styles.raw.cjs.map +1 -0
- package/lib-commonjs/components/presets/Body1/{Body1.js → Body1.cjs} +3 -4
- package/lib-commonjs/components/presets/Body1/Body1.cjs.map +1 -0
- package/lib-commonjs/components/presets/Body1/{index.js → index.cjs} +2 -2
- package/lib-commonjs/components/presets/Body1/{index.js.map → index.cjs.map} +1 -1
- package/lib-commonjs/components/presets/Body1/{useBody1Styles.styles.js → useBody1Styles.styles.cjs} +1 -0
- package/lib-commonjs/components/presets/Body1/useBody1Styles.styles.cjs.map +1 -0
- package/lib-commonjs/components/presets/Body1/{useBody1Styles.styles.raw.js → useBody1Styles.styles.raw.cjs} +1 -0
- package/lib-commonjs/components/presets/Body1/useBody1Styles.styles.raw.cjs.map +1 -0
- package/lib-commonjs/components/presets/Body1Strong/{Body1Strong.js → Body1Strong.cjs} +3 -4
- package/lib-commonjs/components/presets/Body1Strong/Body1Strong.cjs.map +1 -0
- package/lib-commonjs/components/presets/Body1Strong/{index.js → index.cjs} +2 -2
- package/lib-commonjs/components/presets/Body1Strong/{index.js.map → index.cjs.map} +1 -1
- package/lib-commonjs/components/presets/Body1Strong/{useBody1StrongStyles.styles.js → useBody1StrongStyles.styles.cjs} +1 -0
- package/lib-commonjs/components/presets/Body1Strong/useBody1StrongStyles.styles.cjs.map +1 -0
- package/lib-commonjs/components/presets/Body1Strong/{useBody1StrongStyles.styles.raw.js → useBody1StrongStyles.styles.raw.cjs} +1 -0
- package/lib-commonjs/components/presets/Body1Strong/useBody1StrongStyles.styles.raw.cjs.map +1 -0
- package/lib-commonjs/components/presets/Body1Stronger/{Body1Stronger.js → Body1Stronger.cjs} +3 -4
- package/lib-commonjs/components/presets/Body1Stronger/Body1Stronger.cjs.map +1 -0
- package/lib-commonjs/components/presets/Body1Stronger/{index.js → index.cjs} +2 -2
- package/lib-commonjs/components/presets/Body1Stronger/{index.js.map → index.cjs.map} +1 -1
- package/lib-commonjs/components/presets/Body1Stronger/{useBody1StrongerStyles.styles.js → useBody1StrongerStyles.styles.cjs} +1 -0
- package/lib-commonjs/components/presets/Body1Stronger/useBody1StrongerStyles.styles.cjs.map +1 -0
- package/lib-commonjs/components/presets/Body1Stronger/{useBody1StrongerStyles.styles.raw.js → useBody1StrongerStyles.styles.raw.cjs} +1 -0
- package/lib-commonjs/components/presets/Body1Stronger/useBody1StrongerStyles.styles.raw.cjs.map +1 -0
- package/lib-commonjs/components/presets/Body2/{Body2.js → Body2.cjs} +3 -4
- package/lib-commonjs/components/presets/Body2/Body2.cjs.map +1 -0
- package/lib-commonjs/components/presets/Body2/{index.js → index.cjs} +2 -2
- package/lib-commonjs/components/presets/Body2/{index.js.map → index.cjs.map} +1 -1
- package/lib-commonjs/components/presets/Body2/{useBody2Styles.styles.js → useBody2Styles.styles.cjs} +1 -0
- package/lib-commonjs/components/presets/Body2/useBody2Styles.styles.cjs.map +1 -0
- package/lib-commonjs/components/presets/Body2/{useBody2Styles.styles.raw.js → useBody2Styles.styles.raw.cjs} +1 -0
- package/lib-commonjs/components/presets/Body2/useBody2Styles.styles.raw.cjs.map +1 -0
- package/lib-commonjs/components/presets/Caption1/{Caption1.js → Caption1.cjs} +3 -4
- package/lib-commonjs/components/presets/Caption1/Caption1.cjs.map +1 -0
- package/lib-commonjs/components/presets/Caption1/{index.js → index.cjs} +2 -2
- package/lib-commonjs/components/presets/Caption1/{index.js.map → index.cjs.map} +1 -1
- package/lib-commonjs/components/presets/Caption1/{useCaption1Styles.styles.js → useCaption1Styles.styles.cjs} +1 -0
- package/lib-commonjs/components/presets/Caption1/useCaption1Styles.styles.cjs.map +1 -0
- package/lib-commonjs/components/presets/Caption1/{useCaption1Styles.styles.raw.js → useCaption1Styles.styles.raw.cjs} +1 -0
- package/lib-commonjs/components/presets/Caption1/useCaption1Styles.styles.raw.cjs.map +1 -0
- package/lib-commonjs/components/presets/Caption1Strong/{Caption1Strong.js → Caption1Strong.cjs} +3 -4
- package/lib-commonjs/components/presets/Caption1Strong/Caption1Strong.cjs.map +1 -0
- package/lib-commonjs/components/presets/Caption1Strong/{index.js → index.cjs} +2 -2
- package/lib-commonjs/components/presets/Caption1Strong/{index.js.map → index.cjs.map} +1 -1
- package/lib-commonjs/components/presets/Caption1Strong/{useCaption1StrongStyles.styles.js → useCaption1StrongStyles.styles.cjs} +1 -0
- package/lib-commonjs/components/presets/Caption1Strong/useCaption1StrongStyles.styles.cjs.map +1 -0
- package/lib-commonjs/components/presets/Caption1Strong/{useCaption1StrongStyles.styles.raw.js → useCaption1StrongStyles.styles.raw.cjs} +1 -0
- package/lib-commonjs/components/presets/Caption1Strong/useCaption1StrongStyles.styles.raw.cjs.map +1 -0
- package/lib-commonjs/components/presets/Caption1Stronger/{Caption1Stronger.js → Caption1Stronger.cjs} +3 -4
- package/lib-commonjs/components/presets/Caption1Stronger/Caption1Stronger.cjs.map +1 -0
- package/lib-commonjs/components/presets/Caption1Stronger/{index.js → index.cjs} +2 -2
- package/lib-commonjs/components/presets/Caption1Stronger/{index.js.map → index.cjs.map} +1 -1
- package/lib-commonjs/components/presets/Caption1Stronger/{useCaption1Stronger.styles.js → useCaption1Stronger.styles.cjs} +1 -0
- package/lib-commonjs/components/presets/Caption1Stronger/useCaption1Stronger.styles.cjs.map +1 -0
- package/lib-commonjs/components/presets/Caption1Stronger/{useCaption1Stronger.styles.raw.js → useCaption1Stronger.styles.raw.cjs} +1 -0
- package/lib-commonjs/components/presets/Caption1Stronger/useCaption1Stronger.styles.raw.cjs.map +1 -0
- package/lib-commonjs/components/presets/Caption2/{Caption2.js → Caption2.cjs} +3 -4
- package/lib-commonjs/components/presets/Caption2/Caption2.cjs.map +1 -0
- package/lib-commonjs/components/presets/Caption2/{index.js → index.cjs} +2 -2
- package/lib-commonjs/components/presets/Caption2/{index.js.map → index.cjs.map} +1 -1
- package/lib-commonjs/components/presets/Caption2/{useCaption2Styles.styles.js → useCaption2Styles.styles.cjs} +1 -0
- package/lib-commonjs/components/presets/Caption2/useCaption2Styles.styles.cjs.map +1 -0
- package/lib-commonjs/components/presets/Caption2/{useCaption2Styles.styles.raw.js → useCaption2Styles.styles.raw.cjs} +1 -0
- package/lib-commonjs/components/presets/Caption2/useCaption2Styles.styles.raw.cjs.map +1 -0
- package/lib-commonjs/components/presets/Caption2Strong/{Caption2Strong.js → Caption2Strong.cjs} +3 -4
- package/lib-commonjs/components/presets/Caption2Strong/Caption2Strong.cjs.map +1 -0
- package/lib-commonjs/components/presets/Caption2Strong/{index.js → index.cjs} +2 -2
- package/lib-commonjs/components/presets/Caption2Strong/{index.js.map → index.cjs.map} +1 -1
- package/lib-commonjs/components/presets/Caption2Strong/{useCaption2StrongStyles.styles.js → useCaption2StrongStyles.styles.cjs} +1 -0
- package/lib-commonjs/components/presets/Caption2Strong/useCaption2StrongStyles.styles.cjs.map +1 -0
- package/lib-commonjs/components/presets/Caption2Strong/{useCaption2StrongStyles.styles.raw.js → useCaption2StrongStyles.styles.raw.cjs} +1 -0
- package/lib-commonjs/components/presets/Caption2Strong/useCaption2StrongStyles.styles.raw.cjs.map +1 -0
- package/lib-commonjs/components/presets/Display/{Display.js → Display.cjs} +3 -4
- package/lib-commonjs/components/presets/Display/Display.cjs.map +1 -0
- package/lib-commonjs/components/presets/Display/{index.js → index.cjs} +2 -2
- package/lib-commonjs/components/presets/Display/{index.js.map → index.cjs.map} +1 -1
- package/lib-commonjs/components/presets/Display/{useDisplayStyles.styles.js → useDisplayStyles.styles.cjs} +1 -0
- package/lib-commonjs/components/presets/Display/useDisplayStyles.styles.cjs.map +1 -0
- package/lib-commonjs/components/presets/Display/{useDisplayStyles.styles.raw.js → useDisplayStyles.styles.raw.cjs} +1 -0
- package/lib-commonjs/components/presets/Display/useDisplayStyles.styles.raw.cjs.map +1 -0
- package/lib-commonjs/components/presets/LargeTitle/{LargeTitle.js → LargeTitle.cjs} +3 -4
- package/lib-commonjs/components/presets/LargeTitle/LargeTitle.cjs.map +1 -0
- package/lib-commonjs/components/presets/LargeTitle/{index.js → index.cjs} +2 -2
- package/lib-commonjs/components/presets/LargeTitle/{index.js.map → index.cjs.map} +1 -1
- package/lib-commonjs/components/presets/LargeTitle/{useLargeTitleStyles.styles.js → useLargeTitleStyles.styles.cjs} +1 -0
- package/lib-commonjs/components/presets/LargeTitle/useLargeTitleStyles.styles.cjs.map +1 -0
- package/lib-commonjs/components/presets/LargeTitle/{useLargeTitleStyles.styles.raw.js → useLargeTitleStyles.styles.raw.cjs} +1 -0
- package/lib-commonjs/components/presets/LargeTitle/useLargeTitleStyles.styles.raw.cjs.map +1 -0
- package/lib-commonjs/components/presets/Subtitle1/{Subtitle1.js → Subtitle1.cjs} +3 -4
- package/lib-commonjs/components/presets/Subtitle1/Subtitle1.cjs.map +1 -0
- package/lib-commonjs/components/presets/Subtitle1/{index.js → index.cjs} +2 -2
- package/lib-commonjs/components/presets/Subtitle1/{index.js.map → index.cjs.map} +1 -1
- package/lib-commonjs/components/presets/Subtitle1/{useSubtitle1Styles.styles.js → useSubtitle1Styles.styles.cjs} +1 -0
- package/lib-commonjs/components/presets/Subtitle1/useSubtitle1Styles.styles.cjs.map +1 -0
- package/lib-commonjs/components/presets/Subtitle1/{useSubtitle1Styles.styles.raw.js → useSubtitle1Styles.styles.raw.cjs} +1 -0
- package/lib-commonjs/components/presets/Subtitle1/useSubtitle1Styles.styles.raw.cjs.map +1 -0
- package/lib-commonjs/components/presets/Subtitle2/{Subtitle2.js → Subtitle2.cjs} +3 -4
- package/lib-commonjs/components/presets/Subtitle2/Subtitle2.cjs.map +1 -0
- package/lib-commonjs/components/presets/Subtitle2/{index.js → index.cjs} +2 -2
- package/lib-commonjs/components/presets/Subtitle2/{index.js.map → index.cjs.map} +1 -1
- package/lib-commonjs/components/presets/Subtitle2/{useSubtitle2Styles.styles.js → useSubtitle2Styles.styles.cjs} +1 -0
- package/lib-commonjs/components/presets/Subtitle2/useSubtitle2Styles.styles.cjs.map +1 -0
- package/lib-commonjs/components/presets/Subtitle2/{useSubtitle2Styles.styles.raw.js → useSubtitle2Styles.styles.raw.cjs} +1 -0
- package/lib-commonjs/components/presets/Subtitle2/useSubtitle2Styles.styles.raw.cjs.map +1 -0
- package/lib-commonjs/components/presets/Subtitle2Stronger/{Subtitle2Stronger.js → Subtitle2Stronger.cjs} +3 -4
- package/lib-commonjs/components/presets/Subtitle2Stronger/Subtitle2Stronger.cjs.map +1 -0
- package/lib-commonjs/components/presets/Subtitle2Stronger/{index.js → index.cjs} +2 -2
- package/lib-commonjs/components/presets/Subtitle2Stronger/{index.js.map → index.cjs.map} +1 -1
- package/lib-commonjs/components/presets/Subtitle2Stronger/{useSubtitle2Stronger.styles.js → useSubtitle2Stronger.styles.cjs} +1 -0
- package/lib-commonjs/components/presets/Subtitle2Stronger/useSubtitle2Stronger.styles.cjs.map +1 -0
- package/lib-commonjs/components/presets/Subtitle2Stronger/{useSubtitle2Stronger.styles.raw.js → useSubtitle2Stronger.styles.raw.cjs} +1 -0
- package/lib-commonjs/components/presets/Subtitle2Stronger/useSubtitle2Stronger.styles.raw.cjs.map +1 -0
- package/lib-commonjs/components/presets/Title1/{Title1.js → Title1.cjs} +3 -4
- package/lib-commonjs/components/presets/Title1/Title1.cjs.map +1 -0
- package/lib-commonjs/components/presets/Title1/{index.js → index.cjs} +2 -2
- package/lib-commonjs/components/presets/Title1/{index.js.map → index.cjs.map} +1 -1
- package/lib-commonjs/components/presets/Title1/{useTitle1Styles.styles.js → useTitle1Styles.styles.cjs} +1 -0
- package/lib-commonjs/components/presets/Title1/useTitle1Styles.styles.cjs.map +1 -0
- package/lib-commonjs/components/presets/Title1/{useTitle1Styles.styles.raw.js → useTitle1Styles.styles.raw.cjs} +1 -0
- package/lib-commonjs/components/presets/Title1/useTitle1Styles.styles.raw.cjs.map +1 -0
- package/lib-commonjs/components/presets/Title2/{Title2.js → Title2.cjs} +3 -4
- package/lib-commonjs/components/presets/Title2/Title2.cjs.map +1 -0
- package/lib-commonjs/components/presets/Title2/{index.js → index.cjs} +2 -2
- package/lib-commonjs/components/presets/Title2/{index.js.map → index.cjs.map} +1 -1
- package/lib-commonjs/components/presets/Title2/{useTitle2Styles.styles.js → useTitle2Styles.styles.cjs} +1 -0
- package/lib-commonjs/components/presets/Title2/useTitle2Styles.styles.cjs.map +1 -0
- package/lib-commonjs/components/presets/Title2/{useTitle2Styles.styles.raw.js → useTitle2Styles.styles.raw.cjs} +1 -0
- package/lib-commonjs/components/presets/Title2/useTitle2Styles.styles.raw.cjs.map +1 -0
- package/lib-commonjs/components/presets/Title3/{Title3.js → Title3.cjs} +3 -4
- package/lib-commonjs/components/presets/Title3/Title3.cjs.map +1 -0
- package/lib-commonjs/components/presets/Title3/{index.js → index.cjs} +2 -2
- package/lib-commonjs/components/presets/Title3/{index.js.map → index.cjs.map} +1 -1
- package/lib-commonjs/components/presets/Title3/{useTitle3Styles.styles.js → useTitle3Styles.styles.cjs} +1 -0
- package/lib-commonjs/components/presets/Title3/useTitle3Styles.styles.cjs.map +1 -0
- package/lib-commonjs/components/presets/Title3/{useTitle3Styles.styles.raw.js → useTitle3Styles.styles.raw.cjs} +1 -0
- package/lib-commonjs/components/presets/Title3/useTitle3Styles.styles.raw.cjs.map +1 -0
- package/lib-commonjs/components/presets/{createPreset.js → createPreset.cjs} +4 -5
- package/lib-commonjs/components/presets/createPreset.cjs.map +1 -0
- package/lib-commonjs/{index.js → index.cjs} +18 -18
- package/lib-commonjs/{index.js.map → index.cjs.map} +1 -1
- package/package.json +16 -10
- package/lib-commonjs/components/Text/useText.js.map +0 -1
- package/lib-commonjs/components/Text/useTextStyles.styles.js.map +0 -1
- package/lib-commonjs/components/Text/useTextStyles.styles.raw.js.map +0 -1
- package/lib-commonjs/components/presets/Body1/Body1.js.map +0 -1
- package/lib-commonjs/components/presets/Body1/useBody1Styles.styles.js.map +0 -1
- package/lib-commonjs/components/presets/Body1/useBody1Styles.styles.raw.js.map +0 -1
- package/lib-commonjs/components/presets/Body1Strong/Body1Strong.js.map +0 -1
- package/lib-commonjs/components/presets/Body1Strong/useBody1StrongStyles.styles.js.map +0 -1
- package/lib-commonjs/components/presets/Body1Strong/useBody1StrongStyles.styles.raw.js.map +0 -1
- package/lib-commonjs/components/presets/Body1Stronger/Body1Stronger.js.map +0 -1
- package/lib-commonjs/components/presets/Body1Stronger/useBody1StrongerStyles.styles.js.map +0 -1
- package/lib-commonjs/components/presets/Body1Stronger/useBody1StrongerStyles.styles.raw.js.map +0 -1
- package/lib-commonjs/components/presets/Body2/Body2.js.map +0 -1
- package/lib-commonjs/components/presets/Body2/useBody2Styles.styles.js.map +0 -1
- package/lib-commonjs/components/presets/Body2/useBody2Styles.styles.raw.js.map +0 -1
- package/lib-commonjs/components/presets/Caption1/Caption1.js.map +0 -1
- package/lib-commonjs/components/presets/Caption1/useCaption1Styles.styles.js.map +0 -1
- package/lib-commonjs/components/presets/Caption1/useCaption1Styles.styles.raw.js.map +0 -1
- package/lib-commonjs/components/presets/Caption1Strong/Caption1Strong.js.map +0 -1
- package/lib-commonjs/components/presets/Caption1Strong/useCaption1StrongStyles.styles.js.map +0 -1
- package/lib-commonjs/components/presets/Caption1Strong/useCaption1StrongStyles.styles.raw.js.map +0 -1
- package/lib-commonjs/components/presets/Caption1Stronger/Caption1Stronger.js.map +0 -1
- package/lib-commonjs/components/presets/Caption1Stronger/useCaption1Stronger.styles.js.map +0 -1
- package/lib-commonjs/components/presets/Caption1Stronger/useCaption1Stronger.styles.raw.js.map +0 -1
- package/lib-commonjs/components/presets/Caption2/Caption2.js.map +0 -1
- package/lib-commonjs/components/presets/Caption2/useCaption2Styles.styles.js.map +0 -1
- package/lib-commonjs/components/presets/Caption2/useCaption2Styles.styles.raw.js.map +0 -1
- package/lib-commonjs/components/presets/Caption2Strong/Caption2Strong.js.map +0 -1
- package/lib-commonjs/components/presets/Caption2Strong/useCaption2StrongStyles.styles.js.map +0 -1
- package/lib-commonjs/components/presets/Caption2Strong/useCaption2StrongStyles.styles.raw.js.map +0 -1
- package/lib-commonjs/components/presets/Display/Display.js.map +0 -1
- package/lib-commonjs/components/presets/Display/useDisplayStyles.styles.js.map +0 -1
- package/lib-commonjs/components/presets/Display/useDisplayStyles.styles.raw.js.map +0 -1
- package/lib-commonjs/components/presets/LargeTitle/LargeTitle.js.map +0 -1
- package/lib-commonjs/components/presets/LargeTitle/useLargeTitleStyles.styles.js.map +0 -1
- package/lib-commonjs/components/presets/LargeTitle/useLargeTitleStyles.styles.raw.js.map +0 -1
- package/lib-commonjs/components/presets/Subtitle1/Subtitle1.js.map +0 -1
- package/lib-commonjs/components/presets/Subtitle1/useSubtitle1Styles.styles.js.map +0 -1
- package/lib-commonjs/components/presets/Subtitle1/useSubtitle1Styles.styles.raw.js.map +0 -1
- package/lib-commonjs/components/presets/Subtitle2/Subtitle2.js.map +0 -1
- package/lib-commonjs/components/presets/Subtitle2/useSubtitle2Styles.styles.js.map +0 -1
- package/lib-commonjs/components/presets/Subtitle2/useSubtitle2Styles.styles.raw.js.map +0 -1
- package/lib-commonjs/components/presets/Subtitle2Stronger/Subtitle2Stronger.js.map +0 -1
- package/lib-commonjs/components/presets/Subtitle2Stronger/useSubtitle2Stronger.styles.js.map +0 -1
- package/lib-commonjs/components/presets/Subtitle2Stronger/useSubtitle2Stronger.styles.raw.js.map +0 -1
- package/lib-commonjs/components/presets/Title1/Title1.js.map +0 -1
- package/lib-commonjs/components/presets/Title1/useTitle1Styles.styles.js.map +0 -1
- package/lib-commonjs/components/presets/Title1/useTitle1Styles.styles.raw.js.map +0 -1
- package/lib-commonjs/components/presets/Title2/Title2.js.map +0 -1
- package/lib-commonjs/components/presets/Title2/useTitle2Styles.styles.js.map +0 -1
- package/lib-commonjs/components/presets/Title2/useTitle2Styles.styles.raw.js.map +0 -1
- package/lib-commonjs/components/presets/Title3/Title3.js.map +0 -1
- package/lib-commonjs/components/presets/Title3/useTitle3Styles.styles.js.map +0 -1
- package/lib-commonjs/components/presets/Title3/useTitle3Styles.styles.raw.js.map +0 -1
- package/lib-commonjs/components/presets/createPreset.js.map +0 -1
- /package/lib-commonjs/components/Text/{Text.types.js → Text.types.cjs} +0 -0
- /package/lib-commonjs/components/Text/{Text.types.js.map → Text.types.cjs.map} +0 -0
- /package/lib-commonjs/components/Text/{renderText.js → renderText.cjs} +0 -0
- /package/lib-commonjs/components/Text/{renderText.js.map → renderText.cjs.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,21 +1,85 @@
|
|
|
1
1
|
# Change Log - @fluentui/react-text
|
|
2
2
|
|
|
3
|
-
This log was last generated on Thu,
|
|
3
|
+
This log was last generated on Thu, 09 Jul 2026 17:34:21 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
-
## [9.
|
|
7
|
+
## [9.74.3-experimental.esm.20260709-49ee7a20cf.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.74.3-experimental.esm.20260709-49ee7a20cf.0)
|
|
8
8
|
|
|
9
|
-
Thu,
|
|
10
|
-
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.6.
|
|
9
|
+
Thu, 09 Jul 2026 17:34:21 GMT
|
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.6.18..@fluentui/react-text_v9.74.3-experimental.esm.20260709-49ee7a20cf.0)
|
|
11
11
|
|
|
12
12
|
### Changes
|
|
13
13
|
|
|
14
|
-
- Release 9.
|
|
15
|
-
- Bump @fluentui/react-shared-contexts to v9.
|
|
16
|
-
- Bump @fluentui/react-theme to v9.
|
|
17
|
-
- Bump @fluentui/react-utilities to v9.
|
|
18
|
-
- Bump @fluentui/react-jsx-runtime to v9.
|
|
14
|
+
- Release 9.74.3-experimental.esm.20260709-49ee7a20cf ([commit](https://github.com/microsoft/fluentui/commit/not available) by fluentui-internal@service.microsoft.com)
|
|
15
|
+
- Bump @fluentui/react-shared-contexts to v9.74.3-experimental.esm.20260709-49ee7a20cf.0 ([commit](https://github.com/microsoft/fluentui/commit/175a26e0c520dd90a54578d1185a3b0b6c446e15) by beachball)
|
|
16
|
+
- Bump @fluentui/react-theme to v9.74.3-experimental.esm.20260709-49ee7a20cf.0 ([commit](https://github.com/microsoft/fluentui/commit/175a26e0c520dd90a54578d1185a3b0b6c446e15) by beachball)
|
|
17
|
+
- Bump @fluentui/react-utilities to v9.74.3-experimental.esm.20260709-49ee7a20cf.0 ([commit](https://github.com/microsoft/fluentui/commit/175a26e0c520dd90a54578d1185a3b0b6c446e15) by beachball)
|
|
18
|
+
- Bump @fluentui/react-jsx-runtime to v9.74.3-experimental.esm.20260709-49ee7a20cf.0 ([commit](https://github.com/microsoft/fluentui/commit/175a26e0c520dd90a54578d1185a3b0b6c446e15) by beachball)
|
|
19
|
+
|
|
20
|
+
## [9.6.18](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.6.18)
|
|
21
|
+
|
|
22
|
+
Wed, 24 Jun 2026 11:10:01 GMT
|
|
23
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.6.17..@fluentui/react-text_v9.6.18)
|
|
24
|
+
|
|
25
|
+
### Patches
|
|
26
|
+
|
|
27
|
+
- fix: remove redundant use no memo directives, and add justification to valid ones ([PR #36224](https://github.com/microsoft/fluentui/pull/36224) by martinhochel@microsoft.com)
|
|
28
|
+
- Bump @fluentui/react-utilities to v9.26.5 ([commit](https://github.com/microsoft/fluentui/commit/a4b871ca80c1f16f35ab4229def4fe02be7f30ea) by beachball)
|
|
29
|
+
- Bump @fluentui/react-jsx-runtime to v9.4.4 ([commit](https://github.com/microsoft/fluentui/commit/a4b871ca80c1f16f35ab4229def4fe02be7f30ea) by beachball)
|
|
30
|
+
|
|
31
|
+
## [9.6.17](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.6.17)
|
|
32
|
+
|
|
33
|
+
Tue, 26 May 2026 09:39:11 GMT
|
|
34
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.6.16..@fluentui/react-text_v9.6.17)
|
|
35
|
+
|
|
36
|
+
### Patches
|
|
37
|
+
|
|
38
|
+
- Bump @fluentui/react-utilities to v9.26.4 ([PR #36246](https://github.com/microsoft/fluentui/pull/36246) by beachball)
|
|
39
|
+
- Bump @fluentui/react-jsx-runtime to v9.4.3 ([PR #36246](https://github.com/microsoft/fluentui/pull/36246) by beachball)
|
|
40
|
+
|
|
41
|
+
## [9.6.16](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.6.16)
|
|
42
|
+
|
|
43
|
+
Thu, 23 Apr 2026 14:21:08 GMT
|
|
44
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.6.15..@fluentui/react-text_v9.6.16)
|
|
45
|
+
|
|
46
|
+
### Patches
|
|
47
|
+
|
|
48
|
+
- Bump @fluentui/react-utilities to v9.26.3 ([PR #36035](https://github.com/microsoft/fluentui/pull/36035) by beachball)
|
|
49
|
+
- Bump @fluentui/react-jsx-runtime to v9.4.2 ([PR #36035](https://github.com/microsoft/fluentui/pull/36035) by beachball)
|
|
50
|
+
|
|
51
|
+
## [9.6.15](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.6.15)
|
|
52
|
+
|
|
53
|
+
Wed, 25 Feb 2026 13:32:27 GMT
|
|
54
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.6.14..@fluentui/react-text_v9.6.15)
|
|
55
|
+
|
|
56
|
+
### Patches
|
|
57
|
+
|
|
58
|
+
- fix: add missing "use client" directive to client components and styles ([PR #35719](https://github.com/microsoft/fluentui/pull/35719) by dmytrokirpa@microsoft.com)
|
|
59
|
+
- Bump @fluentui/react-shared-contexts to v9.26.2 ([PR #35782](https://github.com/microsoft/fluentui/pull/35782) by beachball)
|
|
60
|
+
- Bump @fluentui/react-utilities to v9.26.2 ([PR #35782](https://github.com/microsoft/fluentui/pull/35782) by beachball)
|
|
61
|
+
- Bump @fluentui/react-jsx-runtime to v9.4.1 ([PR #35782](https://github.com/microsoft/fluentui/pull/35782) by beachball)
|
|
62
|
+
|
|
63
|
+
## [9.6.14](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.6.14)
|
|
64
|
+
|
|
65
|
+
Thu, 12 Feb 2026 10:46:15 GMT
|
|
66
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.6.13..@fluentui/react-text_v9.6.14)
|
|
67
|
+
|
|
68
|
+
### Patches
|
|
69
|
+
|
|
70
|
+
- Bump @fluentui/react-jsx-runtime to v9.4.0 ([PR #35743](https://github.com/microsoft/fluentui/pull/35743) by beachball)
|
|
71
|
+
|
|
72
|
+
## [9.6.13](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.6.13)
|
|
73
|
+
|
|
74
|
+
Thu, 22 Jan 2026 17:06:44 GMT
|
|
75
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.6.12..@fluentui/react-text_v9.6.13)
|
|
76
|
+
|
|
77
|
+
### Patches
|
|
78
|
+
|
|
79
|
+
- Bump @fluentui/react-shared-contexts to v9.26.1 ([PR #35574](https://github.com/microsoft/fluentui/pull/35574) by beachball)
|
|
80
|
+
- Bump @fluentui/react-theme to v9.2.1 ([PR #35574](https://github.com/microsoft/fluentui/pull/35574) by beachball)
|
|
81
|
+
- Bump @fluentui/react-utilities to v9.26.1 ([PR #35574](https://github.com/microsoft/fluentui/pull/35574) by beachball)
|
|
82
|
+
- Bump @fluentui/react-jsx-runtime to v9.3.5 ([PR #35574](https://github.com/microsoft/fluentui/pull/35574) by beachball)
|
|
19
83
|
|
|
20
84
|
## [9.6.12](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.6.12)
|
|
21
85
|
|
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,240 @@
|
|
|
1
|
+
import type { ComponentProps } from '@fluentui/react-utilities';
|
|
2
|
+
import type { ComponentState } from '@fluentui/react-utilities';
|
|
3
|
+
import type { ForwardRefComponent } from '@fluentui/react-utilities';
|
|
4
|
+
import type { JSXElement } from '@fluentui/react-utilities';
|
|
5
|
+
import type * as React_2 from 'react';
|
|
6
|
+
import type { Slot } from '@fluentui/react-utilities';
|
|
7
|
+
import type { SlotClassNames } from '@fluentui/react-utilities';
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Text preset component for the Body1 typography variant
|
|
11
|
+
*/
|
|
12
|
+
export declare const Body1: React_2.FunctionComponent<TextPresetProps>;
|
|
13
|
+
|
|
14
|
+
export declare const body1ClassNames: SlotClassNames<TextSlots>;
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Text preset component for the Body1Strong typography variant
|
|
18
|
+
*/
|
|
19
|
+
export declare const Body1Strong: React_2.FunctionComponent<TextPresetProps>;
|
|
20
|
+
|
|
21
|
+
export declare const body1StrongClassNames: SlotClassNames<TextSlots>;
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Text preset component for the Body1Stronger typography variant
|
|
25
|
+
*/
|
|
26
|
+
export declare const Body1Stronger: React_2.FunctionComponent<TextPresetProps>;
|
|
27
|
+
|
|
28
|
+
export declare const body1StrongerClassNames: SlotClassNames<TextSlots>;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Text preset component for the Body2 typography variant
|
|
32
|
+
*/
|
|
33
|
+
export declare const Body2: React_2.FunctionComponent<TextPresetProps>;
|
|
34
|
+
|
|
35
|
+
export declare const body2ClassNames: SlotClassNames<TextSlots>;
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Text preset component for the Caption1 typography variant
|
|
39
|
+
*/
|
|
40
|
+
export declare const Caption1: React_2.FunctionComponent<TextPresetProps>;
|
|
41
|
+
|
|
42
|
+
export declare const caption1ClassNames: SlotClassNames<TextSlots>;
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Text preset component for the Caption1Strong typography variant
|
|
46
|
+
*/
|
|
47
|
+
export declare const Caption1Strong: React_2.FunctionComponent<TextPresetProps>;
|
|
48
|
+
|
|
49
|
+
export declare const caption1StrongClassNames: SlotClassNames<TextSlots>;
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Text preset component for the Caption1Stronger typography variant
|
|
53
|
+
*/
|
|
54
|
+
export declare const Caption1Stronger: React_2.FunctionComponent<TextPresetProps>;
|
|
55
|
+
|
|
56
|
+
export declare const caption1StrongerClassNames: SlotClassNames<TextSlots>;
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Text preset component for the Caption2 typography variant
|
|
60
|
+
*/
|
|
61
|
+
export declare const Caption2: React_2.FunctionComponent<TextPresetProps>;
|
|
62
|
+
|
|
63
|
+
export declare const caption2ClassNames: SlotClassNames<TextSlots>;
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* Text preset component for the Caption2Strong typography variant
|
|
67
|
+
*/
|
|
68
|
+
export declare const Caption2Strong: React_2.FunctionComponent<TextPresetProps>;
|
|
69
|
+
|
|
70
|
+
export declare const caption2StrongClassNames: SlotClassNames<TextSlots>;
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Text preset component for the Display typography variant
|
|
74
|
+
*/
|
|
75
|
+
export declare const Display: React_2.FunctionComponent<TextPresetProps>;
|
|
76
|
+
|
|
77
|
+
export declare const displayClassNames: SlotClassNames<TextSlots>;
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* Text preset component for the Large Title typography variant
|
|
81
|
+
*/
|
|
82
|
+
export declare const LargeTitle: React_2.FunctionComponent<TextPresetProps>;
|
|
83
|
+
|
|
84
|
+
export declare const largeTitleClassNames: SlotClassNames<TextSlots>;
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Render the final JSX of Text
|
|
88
|
+
*/
|
|
89
|
+
export declare const renderText_unstable: (state: TextState) => JSXElement;
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* Text preset component for the Subtitle1 typography variant
|
|
93
|
+
*/
|
|
94
|
+
export declare const Subtitle1: React_2.FunctionComponent<TextPresetProps>;
|
|
95
|
+
|
|
96
|
+
export declare const subtitle1ClassNames: SlotClassNames<TextSlots>;
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* Text preset component for the Subtitle2 typography variant
|
|
100
|
+
*/
|
|
101
|
+
export declare const Subtitle2: React_2.FunctionComponent<TextPresetProps>;
|
|
102
|
+
|
|
103
|
+
export declare const subtitle2ClassNames: SlotClassNames<TextSlots>;
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* Text preset component for the Subtitle2Stronger typography variant
|
|
107
|
+
*/
|
|
108
|
+
export declare const Subtitle2Stronger: React_2.FunctionComponent<TextPresetProps>;
|
|
109
|
+
|
|
110
|
+
export declare const subtitle2StrongerClassNames: SlotClassNames<TextSlots>;
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* Typography and styling abstraction component used to ensure consistency of text.
|
|
114
|
+
*/
|
|
115
|
+
declare const Text_2: ForwardRefComponent<TextProps>;
|
|
116
|
+
export { Text_2 as Text }
|
|
117
|
+
|
|
118
|
+
export declare const textClassNames: SlotClassNames<TextSlots>;
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* TextPreset Props
|
|
122
|
+
*/
|
|
123
|
+
export declare type TextPresetProps = Omit<TextProps, 'font' | 'size' | 'weight'>;
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* Text Props
|
|
127
|
+
*/
|
|
128
|
+
export declare type TextProps = ComponentProps<TextSlots> & {
|
|
129
|
+
/**
|
|
130
|
+
* Aligns text based on the parent container.
|
|
131
|
+
*
|
|
132
|
+
* @default start
|
|
133
|
+
*/
|
|
134
|
+
align?: 'start' | 'center' | 'end' | 'justify';
|
|
135
|
+
/**
|
|
136
|
+
* Applies a block display for the content.
|
|
137
|
+
*
|
|
138
|
+
* @default false
|
|
139
|
+
*/
|
|
140
|
+
block?: boolean;
|
|
141
|
+
/**
|
|
142
|
+
* Applies the font family to the content.
|
|
143
|
+
*
|
|
144
|
+
* @default base
|
|
145
|
+
*/
|
|
146
|
+
font?: 'base' | 'monospace' | 'numeric';
|
|
147
|
+
/**
|
|
148
|
+
* Applies the italic font style to the content.
|
|
149
|
+
*
|
|
150
|
+
* @default false
|
|
151
|
+
*/
|
|
152
|
+
italic?: boolean;
|
|
153
|
+
/**
|
|
154
|
+
* Applies font size and line height based on the theme typography tokens.
|
|
155
|
+
*
|
|
156
|
+
* @default 300
|
|
157
|
+
*/
|
|
158
|
+
size?: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000;
|
|
159
|
+
/**
|
|
160
|
+
* Applies the strikethrough text decoration to the content.
|
|
161
|
+
*
|
|
162
|
+
* @default false
|
|
163
|
+
*/
|
|
164
|
+
strikethrough?: boolean;
|
|
165
|
+
/**
|
|
166
|
+
* Truncate overflowing text for block displays.
|
|
167
|
+
*
|
|
168
|
+
* @default false
|
|
169
|
+
*/
|
|
170
|
+
truncate?: boolean;
|
|
171
|
+
/**
|
|
172
|
+
* Applies the underline text decoration to the content.
|
|
173
|
+
*
|
|
174
|
+
* @default false
|
|
175
|
+
*/
|
|
176
|
+
underline?: boolean;
|
|
177
|
+
/**
|
|
178
|
+
* Applies font weight to the content.
|
|
179
|
+
*
|
|
180
|
+
* @default regular
|
|
181
|
+
*/
|
|
182
|
+
weight?: 'regular' | 'medium' | 'semibold' | 'bold';
|
|
183
|
+
/**
|
|
184
|
+
* Wraps the text content on white spaces.
|
|
185
|
+
*
|
|
186
|
+
* @default true
|
|
187
|
+
*/
|
|
188
|
+
wrap?: boolean;
|
|
189
|
+
};
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* Text slots
|
|
193
|
+
*/
|
|
194
|
+
export declare type TextSlots = {
|
|
195
|
+
root: Slot<'span', 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'pre' | 'strong' | 'b' | 'em' | 'i'>;
|
|
196
|
+
};
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* State used in rendering Text
|
|
200
|
+
*/
|
|
201
|
+
export declare type TextState = ComponentState<TextSlots> & Required<Pick<TextProps, 'align' | 'block' | 'font' | 'italic' | 'size' | 'strikethrough' | 'truncate' | 'underline' | 'weight' | 'wrap'>>;
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* Text preset component for the Title 1 typography variant
|
|
205
|
+
*/
|
|
206
|
+
export declare const Title1: React_2.FunctionComponent<TextPresetProps>;
|
|
207
|
+
|
|
208
|
+
export declare const title1ClassNames: SlotClassNames<TextSlots>;
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* Text preset component for the Title 2 typography variant
|
|
212
|
+
*/
|
|
213
|
+
export declare const Title2: React_2.FunctionComponent<TextPresetProps>;
|
|
214
|
+
|
|
215
|
+
export declare const title2ClassNames: SlotClassNames<TextSlots>;
|
|
216
|
+
|
|
217
|
+
/**
|
|
218
|
+
* Text preset component for the Title 3 typography variant
|
|
219
|
+
*/
|
|
220
|
+
export declare const Title3: React_2.FunctionComponent<TextPresetProps>;
|
|
221
|
+
|
|
222
|
+
export declare const title3ClassNames: SlotClassNames<TextSlots>;
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* Create the state required to render Text.
|
|
226
|
+
*
|
|
227
|
+
* The returned state can be modified with hooks such as useTextStyles_unstable,
|
|
228
|
+
* before being passed to renderText_unstable.
|
|
229
|
+
*
|
|
230
|
+
* @param props - props from this instance of Text
|
|
231
|
+
* @param ref - reference to root HTMLElement of Text
|
|
232
|
+
*/
|
|
233
|
+
export declare const useText_unstable: (props: TextProps, ref: React_2.Ref<HTMLElement>) => TextState;
|
|
234
|
+
|
|
235
|
+
/**
|
|
236
|
+
* Apply styling to the Text slots based on the state
|
|
237
|
+
*/
|
|
238
|
+
export declare const useTextStyles_unstable: (state: TextState) => TextState;
|
|
239
|
+
|
|
240
|
+
export { }
|
package/dist/index.d.ts
CHANGED
|
@@ -2,9 +2,9 @@ import type { ComponentProps } from '@fluentui/react-utilities';
|
|
|
2
2
|
import type { ComponentState } from '@fluentui/react-utilities';
|
|
3
3
|
import type { ForwardRefComponent } from '@fluentui/react-utilities';
|
|
4
4
|
import type { JSXElement } from '@fluentui/react-utilities';
|
|
5
|
-
import * as React_2 from 'react';
|
|
5
|
+
import type * as React_2 from 'react';
|
|
6
6
|
import type { Slot } from '@fluentui/react-utilities';
|
|
7
|
-
import { SlotClassNames } from '@fluentui/react-utilities';
|
|
7
|
+
import type { SlotClassNames } from '@fluentui/react-utilities';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Text preset component for the Body1 typography variant
|
package/lib/Body1.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Body1, body1ClassNames } from
|
|
1
|
+
export { Body1, body1ClassNames } from "./components/presets/Body1/index.js";
|
package/lib/Body1.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/Body1.ts"],"sourcesContent":["export { Body1, body1ClassNames } from './components/presets/Body1/index';\n"],"names":["Body1","body1ClassNames"],"mappings":"AAAA,SAASA,KAAK,EAAEC,eAAe,QAAQ,
|
|
1
|
+
{"version":3,"sources":["../src/Body1.ts"],"sourcesContent":["export { Body1, body1ClassNames } from './components/presets/Body1/index';\n"],"names":["Body1","body1ClassNames"],"mappings":"AAAA,SAASA,KAAK,EAAEC,eAAe,QAAQ,sCAAmC"}
|
package/lib/Body1Strong.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Body1Strong, body1StrongClassNames } from
|
|
1
|
+
export { Body1Strong, body1StrongClassNames } from "./components/presets/Body1Strong/index.js";
|
package/lib/Body1Strong.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/Body1Strong.ts"],"sourcesContent":["export { Body1Strong, body1StrongClassNames } from './components/presets/Body1Strong/index';\n"],"names":["Body1Strong","body1StrongClassNames"],"mappings":"AAAA,SAASA,WAAW,EAAEC,qBAAqB,QAAQ,
|
|
1
|
+
{"version":3,"sources":["../src/Body1Strong.ts"],"sourcesContent":["export { Body1Strong, body1StrongClassNames } from './components/presets/Body1Strong/index';\n"],"names":["Body1Strong","body1StrongClassNames"],"mappings":"AAAA,SAASA,WAAW,EAAEC,qBAAqB,QAAQ,4CAAyC"}
|
package/lib/Body1Stronger.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Body1Stronger, body1StrongerClassNames } from
|
|
1
|
+
export { Body1Stronger, body1StrongerClassNames } from "./components/presets/Body1Stronger/index.js";
|
package/lib/Body1Stronger.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/Body1Stronger.ts"],"sourcesContent":["export { Body1Stronger, body1StrongerClassNames } from './components/presets/Body1Stronger/index';\n"],"names":["Body1Stronger","body1StrongerClassNames"],"mappings":"AAAA,SAASA,aAAa,EAAEC,uBAAuB,QAAQ,
|
|
1
|
+
{"version":3,"sources":["../src/Body1Stronger.ts"],"sourcesContent":["export { Body1Stronger, body1StrongerClassNames } from './components/presets/Body1Stronger/index';\n"],"names":["Body1Stronger","body1StrongerClassNames"],"mappings":"AAAA,SAASA,aAAa,EAAEC,uBAAuB,QAAQ,8CAA2C"}
|
package/lib/Body2.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Body2, body2ClassNames } from
|
|
1
|
+
export { Body2, body2ClassNames } from "./components/presets/Body2/index.js";
|
package/lib/Body2.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/Body2.ts"],"sourcesContent":["export { Body2, body2ClassNames } from './components/presets/Body2/index';\n"],"names":["Body2","body2ClassNames"],"mappings":"AAAA,SAASA,KAAK,EAAEC,eAAe,QAAQ,
|
|
1
|
+
{"version":3,"sources":["../src/Body2.ts"],"sourcesContent":["export { Body2, body2ClassNames } from './components/presets/Body2/index';\n"],"names":["Body2","body2ClassNames"],"mappings":"AAAA,SAASA,KAAK,EAAEC,eAAe,QAAQ,sCAAmC"}
|
package/lib/Caption1.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Caption1, caption1ClassNames } from
|
|
1
|
+
export { Caption1, caption1ClassNames } from "./components/presets/Caption1/index.js";
|
package/lib/Caption1.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/Caption1.ts"],"sourcesContent":["export { Caption1, caption1ClassNames } from './components/presets/Caption1/index';\n"],"names":["Caption1","caption1ClassNames"],"mappings":"AAAA,SAASA,QAAQ,EAAEC,kBAAkB,QAAQ,
|
|
1
|
+
{"version":3,"sources":["../src/Caption1.ts"],"sourcesContent":["export { Caption1, caption1ClassNames } from './components/presets/Caption1/index';\n"],"names":["Caption1","caption1ClassNames"],"mappings":"AAAA,SAASA,QAAQ,EAAEC,kBAAkB,QAAQ,yCAAsC"}
|
package/lib/Caption1Strong.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Caption1Strong, caption1StrongClassNames } from
|
|
1
|
+
export { Caption1Strong, caption1StrongClassNames } from "./components/presets/Caption1Strong/index.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/Caption1Strong.ts"],"sourcesContent":["export { Caption1Strong, caption1StrongClassNames } from './components/presets/Caption1Strong/index';\n"],"names":["Caption1Strong","caption1StrongClassNames"],"mappings":"AAAA,SAASA,cAAc,EAAEC,wBAAwB,QAAQ
|
|
1
|
+
{"version":3,"sources":["../src/Caption1Strong.ts"],"sourcesContent":["export { Caption1Strong, caption1StrongClassNames } from './components/presets/Caption1Strong/index';\n"],"names":["Caption1Strong","caption1StrongClassNames"],"mappings":"AAAA,SAASA,cAAc,EAAEC,wBAAwB,QAAQ,+CAA4C"}
|
package/lib/Caption1Stronger.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Caption1Stronger, caption1StrongerClassNames } from
|
|
1
|
+
export { Caption1Stronger, caption1StrongerClassNames } from "./components/presets/Caption1Stronger/index.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/Caption1Stronger.ts"],"sourcesContent":["export { Caption1Stronger, caption1StrongerClassNames } from './components/presets/Caption1Stronger/index';\n"],"names":["Caption1Stronger","caption1StrongerClassNames"],"mappings":"AAAA,SAASA,gBAAgB,EAAEC,0BAA0B,QAAQ,
|
|
1
|
+
{"version":3,"sources":["../src/Caption1Stronger.ts"],"sourcesContent":["export { Caption1Stronger, caption1StrongerClassNames } from './components/presets/Caption1Stronger/index';\n"],"names":["Caption1Stronger","caption1StrongerClassNames"],"mappings":"AAAA,SAASA,gBAAgB,EAAEC,0BAA0B,QAAQ,iDAA8C"}
|
package/lib/Caption2.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Caption2, caption2ClassNames } from
|
|
1
|
+
export { Caption2, caption2ClassNames } from "./components/presets/Caption2/index.js";
|
package/lib/Caption2.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/Caption2.ts"],"sourcesContent":["export { Caption2, caption2ClassNames } from './components/presets/Caption2/index';\n"],"names":["Caption2","caption2ClassNames"],"mappings":"AAAA,SAASA,QAAQ,EAAEC,kBAAkB,QAAQ,
|
|
1
|
+
{"version":3,"sources":["../src/Caption2.ts"],"sourcesContent":["export { Caption2, caption2ClassNames } from './components/presets/Caption2/index';\n"],"names":["Caption2","caption2ClassNames"],"mappings":"AAAA,SAASA,QAAQ,EAAEC,kBAAkB,QAAQ,yCAAsC"}
|
package/lib/Caption2Strong.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Caption2Strong, caption2StrongClassNames } from
|
|
1
|
+
export { Caption2Strong, caption2StrongClassNames } from "./components/presets/Caption2Strong/index.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/Caption2Strong.ts"],"sourcesContent":["export { Caption2Strong, caption2StrongClassNames } from './components/presets/Caption2Strong/index';\n"],"names":["Caption2Strong","caption2StrongClassNames"],"mappings":"AAAA,SAASA,cAAc,EAAEC,wBAAwB,QAAQ
|
|
1
|
+
{"version":3,"sources":["../src/Caption2Strong.ts"],"sourcesContent":["export { Caption2Strong, caption2StrongClassNames } from './components/presets/Caption2Strong/index';\n"],"names":["Caption2Strong","caption2StrongClassNames"],"mappings":"AAAA,SAASA,cAAc,EAAEC,wBAAwB,QAAQ,+CAA4C"}
|
package/lib/Display.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Display, displayClassNames } from
|
|
1
|
+
export { Display, displayClassNames } from "./components/presets/Display/index.js";
|
package/lib/Display.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/Display.ts"],"sourcesContent":["export { Display, displayClassNames } from './components/presets/Display/index';\n"],"names":["Display","displayClassNames"],"mappings":"AAAA,SAASA,OAAO,EAAEC,iBAAiB,QAAQ,
|
|
1
|
+
{"version":3,"sources":["../src/Display.ts"],"sourcesContent":["export { Display, displayClassNames } from './components/presets/Display/index';\n"],"names":["Display","displayClassNames"],"mappings":"AAAA,SAASA,OAAO,EAAEC,iBAAiB,QAAQ,wCAAqC"}
|
package/lib/LargeTitle.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { LargeTitle, largeTitleClassNames } from
|
|
1
|
+
export { LargeTitle, largeTitleClassNames } from "./components/presets/LargeTitle/index.js";
|
package/lib/LargeTitle.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/LargeTitle.ts"],"sourcesContent":["export { LargeTitle, largeTitleClassNames } from './components/presets/LargeTitle/index';\n"],"names":["LargeTitle","largeTitleClassNames"],"mappings":"AAAA,SAASA,UAAU,EAAEC,oBAAoB,QAAQ,
|
|
1
|
+
{"version":3,"sources":["../src/LargeTitle.ts"],"sourcesContent":["export { LargeTitle, largeTitleClassNames } from './components/presets/LargeTitle/index';\n"],"names":["LargeTitle","largeTitleClassNames"],"mappings":"AAAA,SAASA,UAAU,EAAEC,oBAAoB,QAAQ,2CAAwC"}
|
package/lib/Subtitle1.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Subtitle1, subtitle1ClassNames } from
|
|
1
|
+
export { Subtitle1, subtitle1ClassNames } from "./components/presets/Subtitle1/index.js";
|
package/lib/Subtitle1.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/Subtitle1.ts"],"sourcesContent":["export { Subtitle1, subtitle1ClassNames } from './components/presets/Subtitle1/index';\n"],"names":["Subtitle1","subtitle1ClassNames"],"mappings":"AAAA,SAASA,SAAS,EAAEC,mBAAmB,QAAQ,
|
|
1
|
+
{"version":3,"sources":["../src/Subtitle1.ts"],"sourcesContent":["export { Subtitle1, subtitle1ClassNames } from './components/presets/Subtitle1/index';\n"],"names":["Subtitle1","subtitle1ClassNames"],"mappings":"AAAA,SAASA,SAAS,EAAEC,mBAAmB,QAAQ,0CAAuC"}
|
package/lib/Subtitle2.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Subtitle2, subtitle2ClassNames } from
|
|
1
|
+
export { Subtitle2, subtitle2ClassNames } from "./components/presets/Subtitle2/index.js";
|
package/lib/Subtitle2.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/Subtitle2.ts"],"sourcesContent":["export { Subtitle2, subtitle2ClassNames } from './components/presets/Subtitle2/index';\n"],"names":["Subtitle2","subtitle2ClassNames"],"mappings":"AAAA,SAASA,SAAS,EAAEC,mBAAmB,QAAQ,
|
|
1
|
+
{"version":3,"sources":["../src/Subtitle2.ts"],"sourcesContent":["export { Subtitle2, subtitle2ClassNames } from './components/presets/Subtitle2/index';\n"],"names":["Subtitle2","subtitle2ClassNames"],"mappings":"AAAA,SAASA,SAAS,EAAEC,mBAAmB,QAAQ,0CAAuC"}
|
package/lib/Subtitle2Stronger.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Subtitle2Stronger, subtitle2StrongerClassNames } from
|
|
1
|
+
export { Subtitle2Stronger, subtitle2StrongerClassNames } from "./components/presets/Subtitle2Stronger/index.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/Subtitle2Stronger.ts"],"sourcesContent":["export { Subtitle2Stronger, subtitle2StrongerClassNames } from './components/presets/Subtitle2Stronger/index';\n"],"names":["Subtitle2Stronger","subtitle2StrongerClassNames"],"mappings":"AAAA,SAASA,iBAAiB,EAAEC,2BAA2B,QAAQ
|
|
1
|
+
{"version":3,"sources":["../src/Subtitle2Stronger.ts"],"sourcesContent":["export { Subtitle2Stronger, subtitle2StrongerClassNames } from './components/presets/Subtitle2Stronger/index';\n"],"names":["Subtitle2Stronger","subtitle2StrongerClassNames"],"mappings":"AAAA,SAASA,iBAAiB,EAAEC,2BAA2B,QAAQ,kDAA+C"}
|
package/lib/Text.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Text, renderText_unstable, textClassNames, useTextStyles_unstable, useText_unstable } from
|
|
1
|
+
export { Text, renderText_unstable, textClassNames, useTextStyles_unstable, useText_unstable } from "./components/Text/index.js";
|
package/lib/Text.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/Text.ts"],"sourcesContent":["export type { TextPresetProps, TextProps, TextSlots, TextState } from './components/Text/index';\nexport {\n Text,\n renderText_unstable,\n textClassNames,\n useTextStyles_unstable,\n useText_unstable,\n} from './components/Text/index';\n"],"names":["Text","renderText_unstable","textClassNames","useTextStyles_unstable","useText_unstable"],"mappings":"AACA,SACEA,IAAI,EACJC,mBAAmB,EACnBC,cAAc,EACdC,sBAAsB,EACtBC,gBAAgB,QACX,
|
|
1
|
+
{"version":3,"sources":["../src/Text.ts"],"sourcesContent":["export type { TextPresetProps, TextProps, TextSlots, TextState } from './components/Text/index';\nexport {\n Text,\n renderText_unstable,\n textClassNames,\n useTextStyles_unstable,\n useText_unstable,\n} from './components/Text/index';\n"],"names":["Text","renderText_unstable","textClassNames","useTextStyles_unstable","useText_unstable"],"mappings":"AACA,SACEA,IAAI,EACJC,mBAAmB,EACnBC,cAAc,EACdC,sBAAsB,EACtBC,gBAAgB,QACX,6BAA0B"}
|
package/lib/Title1.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Title1, title1ClassNames } from
|
|
1
|
+
export { Title1, title1ClassNames } from "./components/presets/Title1/index.js";
|
package/lib/Title1.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/Title1.ts"],"sourcesContent":["export { Title1, title1ClassNames } from './components/presets/Title1/index';\n"],"names":["Title1","title1ClassNames"],"mappings":"AAAA,SAASA,MAAM,EAAEC,gBAAgB,QAAQ,
|
|
1
|
+
{"version":3,"sources":["../src/Title1.ts"],"sourcesContent":["export { Title1, title1ClassNames } from './components/presets/Title1/index';\n"],"names":["Title1","title1ClassNames"],"mappings":"AAAA,SAASA,MAAM,EAAEC,gBAAgB,QAAQ,uCAAoC"}
|
package/lib/Title2.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Title2, title2ClassNames } from
|
|
1
|
+
export { Title2, title2ClassNames } from "./components/presets/Title2/index.js";
|
package/lib/Title2.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/Title2.ts"],"sourcesContent":["export { Title2, title2ClassNames } from './components/presets/Title2/index';\n"],"names":["Title2","title2ClassNames"],"mappings":"AAAA,SAASA,MAAM,EAAEC,gBAAgB,QAAQ,
|
|
1
|
+
{"version":3,"sources":["../src/Title2.ts"],"sourcesContent":["export { Title2, title2ClassNames } from './components/presets/Title2/index';\n"],"names":["Title2","title2ClassNames"],"mappings":"AAAA,SAASA,MAAM,EAAEC,gBAAgB,QAAQ,uCAAoC"}
|
package/lib/Title3.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Title3, title3ClassNames } from
|
|
1
|
+
export { Title3, title3ClassNames } from "./components/presets/Title3/index.js";
|
package/lib/Title3.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/Title3.ts"],"sourcesContent":["export { Title3, title3ClassNames } from './components/presets/Title3/index';\n"],"names":["Title3","title3ClassNames"],"mappings":"AAAA,SAASA,MAAM,EAAEC,gBAAgB,QAAQ,
|
|
1
|
+
{"version":3,"sources":["../src/Title3.ts"],"sourcesContent":["export { Title3, title3ClassNames } from './components/presets/Title3/index';\n"],"names":["Title3","title3ClassNames"],"mappings":"AAAA,SAASA,MAAM,EAAEC,gBAAgB,QAAQ,uCAAoC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import * as React from
|
|
3
|
-
import { useText_unstable } from
|
|
4
|
-
import { renderText_unstable } from
|
|
5
|
-
import { useTextStyles_unstable } from
|
|
6
|
-
import { useCustomStyleHook_unstable } from
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import { useText_unstable } from "./useText.js";
|
|
4
|
+
import { renderText_unstable } from "./renderText.js";
|
|
5
|
+
import { useTextStyles_unstable } from "./useTextStyles.styles.js";
|
|
6
|
+
import { useCustomStyleHook_unstable } from "@fluentui/react-shared-contexts";
|
|
7
7
|
/**
|
|
8
8
|
* Typography and styling abstraction component used to ensure consistency of text.
|
|
9
9
|
*/ export const Text = /*#__PURE__*/ React.forwardRef((props, ref)=>{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/Text/Text.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { useText_unstable } from './useText';\nimport { renderText_unstable } from './renderText';\nimport { useTextStyles_unstable } from './useTextStyles.styles';\nimport type { TextProps } from './Text.types';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useCustomStyleHook_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 useCustomStyleHook_unstable('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"],"names":["React","useText_unstable","renderText_unstable","useTextStyles_unstable","useCustomStyleHook_unstable","Text","forwardRef","props","ref","state","displayName"],"mappings":"AAAA;AAEA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,gBAAgB,QAAQ,
|
|
1
|
+
{"version":3,"sources":["../src/components/Text/Text.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { useText_unstable } from './useText';\nimport { renderText_unstable } from './renderText';\nimport { useTextStyles_unstable } from './useTextStyles.styles';\nimport type { TextProps } from './Text.types';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useCustomStyleHook_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 useCustomStyleHook_unstable('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"],"names":["React","useText_unstable","renderText_unstable","useTextStyles_unstable","useCustomStyleHook_unstable","Text","forwardRef","props","ref","state","displayName"],"mappings":"AAAA;AAEA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,gBAAgB,QAAQ,eAAY;AAC7C,SAASC,mBAAmB,QAAQ,kBAAe;AACnD,SAASC,sBAAsB,QAAQ,4BAAyB;AAGhE,SAASC,2BAA2B,QAAQ,kCAAkC;AAE9E;;CAEC,GACD,OAAO,MAAMC,qBAAuCL,MAAMM,UAAU,CAAC,CAACC,OAAOC;IAC3E,MAAMC,QAAQR,iBAAiBM,OAAOC;IAEtCL,uBAAuBM;IAEvBL,4BAA4B,0BAA0BK;IAEtD,OAAOP,oBAAoBO;AAC3B,qFAAqF;AACvF,GAAqC;AAErCJ,KAAKK,WAAW,GAAG"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Text } from
|
|
2
|
-
export { renderText_unstable } from
|
|
3
|
-
export { useText_unstable } from
|
|
4
|
-
export { textClassNames, useTextStyles_unstable } from
|
|
1
|
+
export { Text } from "./Text.js";
|
|
2
|
+
export { renderText_unstable } from "./renderText.js";
|
|
3
|
+
export { useText_unstable } from "./useText.js";
|
|
4
|
+
export { textClassNames, useTextStyles_unstable } from "./useTextStyles.styles.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/Text/index.ts"],"sourcesContent":["export { Text } from './Text';\nexport type { TextPresetProps, TextProps, TextSlots, TextState } from './Text.types';\nexport { renderText_unstable } from './renderText';\nexport { useText_unstable } from './useText';\nexport { textClassNames, useTextStyles_unstable } from './useTextStyles.styles';\n"],"names":["Text","renderText_unstable","useText_unstable","textClassNames","useTextStyles_unstable"],"mappings":"AAAA,SAASA,IAAI,QAAQ,
|
|
1
|
+
{"version":3,"sources":["../src/components/Text/index.ts"],"sourcesContent":["export { Text } from './Text';\nexport type { TextPresetProps, TextProps, TextSlots, TextState } from './Text.types';\nexport { renderText_unstable } from './renderText';\nexport { useText_unstable } from './useText';\nexport { textClassNames, useTextStyles_unstable } from './useTextStyles.styles';\n"],"names":["Text","renderText_unstable","useText_unstable","textClassNames","useTextStyles_unstable"],"mappings":"AAAA,SAASA,IAAI,QAAQ,YAAS;AAE9B,SAASC,mBAAmB,QAAQ,kBAAe;AACnD,SAASC,gBAAgB,QAAQ,eAAY;AAC7C,SAASC,cAAc,EAAEC,sBAAsB,QAAQ,4BAAyB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx } from "@fluentui/react-jsx-runtime/jsx-runtime";
|
|
2
|
-
import { assertSlots } from
|
|
2
|
+
import { assertSlots } from "@fluentui/react-utilities";
|
|
3
3
|
/**
|
|
4
4
|
* Render the final JSX of Text
|
|
5
5
|
*/ export const renderText_unstable = (state)=>{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/Text/useText.ts"],"sourcesContent":["import * as React from 'react';\nimport { getIntrinsicElementProps, slot } 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\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: slot.always(\n getIntrinsicElementProps('span', {\n // FIXME:\n // `ref` is wrongly assigned to be `HTMLElement` instead of `HTMLHeadingElement & HTMLPreElement`\n // but since it would be a breaking change to fix it, we are casting ref to it's proper type\n ref: ref as React.Ref<HTMLHeadingElement & HTMLPreElement>,\n ...props,\n }),\n { elementType: 'span' },\n ),\n };\n\n return state;\n};\n"],"names":["
|
|
1
|
+
{"version":3,"sources":["../src/components/Text/useText.ts"],"sourcesContent":["import type * as React from 'react';\nimport { getIntrinsicElementProps, slot } 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\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: slot.always(\n getIntrinsicElementProps('span', {\n // FIXME:\n // `ref` is wrongly assigned to be `HTMLElement` instead of `HTMLHeadingElement & HTMLPreElement`\n // but since it would be a breaking change to fix it, we are casting ref to it's proper type\n ref: ref as React.Ref<HTMLHeadingElement & HTMLPreElement>,\n ...props,\n }),\n { elementType: 'span' },\n ),\n };\n\n return state;\n};\n"],"names":["getIntrinsicElementProps","slot","useText_unstable","props","ref","wrap","truncate","block","italic","underline","strikethrough","size","font","weight","align","state","components","root","always","elementType"],"mappings":"AACA,SAASA,wBAAwB,EAAEC,IAAI,QAAQ,4BAA4B;AAG3E;;;;;;;;CAQC,GACD,OAAO,MAAMC,mBAAmB,CAACC,OAAkBC;IACjD,MAAM,EAAEC,IAAI,EAAEC,QAAQ,EAAEC,KAAK,EAAEC,MAAM,EAAEC,SAAS,EAAEC,aAAa,EAAEC,IAAI,EAAEC,IAAI,EAAEC,MAAM,EAAEC,KAAK,EAAE,GAAGX;IAE/F,MAAMY,QAAmB;QACvBD,OAAOA,kBAAAA,mBAAAA,QAAS;QAChBP,OAAOA,kBAAAA,mBAAAA,QAAS;QAChBK,MAAMA,iBAAAA,kBAAAA,OAAQ;QACdJ,QAAQA,mBAAAA,oBAAAA,SAAU;QAClBG,MAAMA,iBAAAA,kBAAAA,OAAQ;QACdD,eAAeA,0BAAAA,2BAAAA,gBAAiB;QAChCJ,UAAUA,qBAAAA,sBAAAA,WAAY;QACtBG,WAAWA,sBAAAA,uBAAAA,YAAa;QACxBI,QAAQA,mBAAAA,oBAAAA,SAAU;QAClBR,MAAMA,iBAAAA,kBAAAA,OAAQ;QAEdW,YAAY;YAAEC,MAAM;QAAO;QAE3BA,MAAMhB,KAAKiB,MAAM,CACflB,yBAAyB,QAAQ;YAC/B,SAAS;YACT,iGAAiG;YACjG,4FAA4F;YAC5FI,KAAKA;YACL,GAAGD,KAAK;QACV,IACA;YAAEgB,aAAa;QAAO;IAE1B;IAEA,OAAOJ;AACT,EAAE"}
|