@fluentui/react-text 9.74.9-experimental.menu-disable-autofocus.20261008-e9914a95c6.0 → 9.75.0-experimental.css-modules.20261031-810ab07afb.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 +17 -8
- package/README.md +8 -0
- package/lib/components/Text/Text.js.map +1 -1
- package/lib/components/Text/Text.module.css +119 -0
- package/lib/components/Text/Text.types.js.map +1 -1
- package/lib/components/Text/index.js.map +1 -1
- package/lib/components/Text/renderText.js +2 -2
- package/lib/components/Text/renderText.js.map +1 -1
- package/lib/components/Text/useText.js.map +1 -1
- package/lib/components/Text/useTextStyles.styles.css.js +9 -0
- package/lib/components/Text/useTextStyles.styles.css.js.map +1 -0
- package/lib/components/Text/useTextStyles.styles.raw.css.js +9 -0
- package/lib/components/Text/useTextStyles.styles.raw.css.js.map +1 -0
- package/lib/components/Text/useTextStyles.styles.raw.js.map +1 -1
- package/lib/components/presets/Body1/Body1.js.map +1 -1
- package/lib/components/presets/Body1/index.js.map +1 -1
- package/lib/components/presets/Body1/useBody1Styles.styles.css.js +7 -0
- package/lib/components/presets/Body1/useBody1Styles.styles.css.js.map +1 -0
- package/lib/components/presets/Body1/useBody1Styles.styles.raw.css.js +7 -0
- package/lib/components/presets/Body1/useBody1Styles.styles.raw.css.js.map +1 -0
- package/lib/components/presets/Body1/useBody1Styles.styles.raw.js.map +1 -1
- package/lib/components/presets/Body1Strong/Body1Strong.js.map +1 -1
- package/lib/components/presets/Body1Strong/index.js.map +1 -1
- package/lib/components/presets/Body1Strong/useBody1StrongStyles.styles.css.js +7 -0
- package/lib/components/presets/Body1Strong/useBody1StrongStyles.styles.css.js.map +1 -0
- package/lib/components/presets/Body1Strong/useBody1StrongStyles.styles.raw.css.js +7 -0
- package/lib/components/presets/Body1Strong/useBody1StrongStyles.styles.raw.css.js.map +1 -0
- package/lib/components/presets/Body1Strong/useBody1StrongStyles.styles.raw.js.map +1 -1
- package/lib/components/presets/Body1Stronger/Body1Stronger.js.map +1 -1
- package/lib/components/presets/Body1Stronger/index.js.map +1 -1
- package/lib/components/presets/Body1Stronger/useBody1StrongerStyles.styles.css.js +7 -0
- package/lib/components/presets/Body1Stronger/useBody1StrongerStyles.styles.css.js.map +1 -0
- package/lib/components/presets/Body1Stronger/useBody1StrongerStyles.styles.raw.css.js +7 -0
- package/lib/components/presets/Body1Stronger/useBody1StrongerStyles.styles.raw.css.js.map +1 -0
- package/lib/components/presets/Body1Stronger/useBody1StrongerStyles.styles.raw.js.map +1 -1
- package/lib/components/presets/Body2/Body2.js.map +1 -1
- package/lib/components/presets/Body2/index.js.map +1 -1
- package/lib/components/presets/Body2/useBody2Styles.styles.css.js +7 -0
- package/lib/components/presets/Body2/useBody2Styles.styles.css.js.map +1 -0
- package/lib/components/presets/Body2/useBody2Styles.styles.raw.css.js +7 -0
- package/lib/components/presets/Body2/useBody2Styles.styles.raw.css.js.map +1 -0
- package/lib/components/presets/Body2/useBody2Styles.styles.raw.js.map +1 -1
- package/lib/components/presets/Caption1/Caption1.js.map +1 -1
- package/lib/components/presets/Caption1/index.js.map +1 -1
- package/lib/components/presets/Caption1/useCaption1Styles.styles.css.js +7 -0
- package/lib/components/presets/Caption1/useCaption1Styles.styles.css.js.map +1 -0
- package/lib/components/presets/Caption1/useCaption1Styles.styles.raw.css.js +7 -0
- package/lib/components/presets/Caption1/useCaption1Styles.styles.raw.css.js.map +1 -0
- package/lib/components/presets/Caption1/useCaption1Styles.styles.raw.js.map +1 -1
- package/lib/components/presets/Caption1Strong/Caption1Strong.js.map +1 -1
- package/lib/components/presets/Caption1Strong/index.js.map +1 -1
- package/lib/components/presets/Caption1Strong/useCaption1StrongStyles.styles.css.js +7 -0
- package/lib/components/presets/Caption1Strong/useCaption1StrongStyles.styles.css.js.map +1 -0
- package/lib/components/presets/Caption1Strong/useCaption1StrongStyles.styles.raw.css.js +7 -0
- package/lib/components/presets/Caption1Strong/useCaption1StrongStyles.styles.raw.css.js.map +1 -0
- package/lib/components/presets/Caption1Strong/useCaption1StrongStyles.styles.raw.js.map +1 -1
- package/lib/components/presets/Caption1Stronger/Caption1Stronger.js.map +1 -1
- package/lib/components/presets/Caption1Stronger/index.js.map +1 -1
- package/lib/components/presets/Caption1Stronger/useCaption1Stronger.styles.css.js +7 -0
- package/lib/components/presets/Caption1Stronger/useCaption1Stronger.styles.css.js.map +1 -0
- package/lib/components/presets/Caption1Stronger/useCaption1Stronger.styles.raw.css.js +7 -0
- package/lib/components/presets/Caption1Stronger/useCaption1Stronger.styles.raw.css.js.map +1 -0
- package/lib/components/presets/Caption1Stronger/useCaption1Stronger.styles.raw.js.map +1 -1
- package/lib/components/presets/Caption2/Caption2.js.map +1 -1
- package/lib/components/presets/Caption2/index.js.map +1 -1
- package/lib/components/presets/Caption2/useCaption2Styles.styles.css.js +7 -0
- package/lib/components/presets/Caption2/useCaption2Styles.styles.css.js.map +1 -0
- package/lib/components/presets/Caption2/useCaption2Styles.styles.raw.css.js +7 -0
- package/lib/components/presets/Caption2/useCaption2Styles.styles.raw.css.js.map +1 -0
- package/lib/components/presets/Caption2/useCaption2Styles.styles.raw.js.map +1 -1
- package/lib/components/presets/Caption2Strong/Caption2Strong.js.map +1 -1
- package/lib/components/presets/Caption2Strong/index.js.map +1 -1
- package/lib/components/presets/Caption2Strong/useCaption2StrongStyles.styles.css.js +7 -0
- package/lib/components/presets/Caption2Strong/useCaption2StrongStyles.styles.css.js.map +1 -0
- package/lib/components/presets/Caption2Strong/useCaption2StrongStyles.styles.raw.css.js +7 -0
- package/lib/components/presets/Caption2Strong/useCaption2StrongStyles.styles.raw.css.js.map +1 -0
- package/lib/components/presets/Caption2Strong/useCaption2StrongStyles.styles.raw.js.map +1 -1
- package/lib/components/presets/Display/Display.js.map +1 -1
- package/lib/components/presets/Display/index.js.map +1 -1
- package/lib/components/presets/Display/useDisplayStyles.styles.css.js +7 -0
- package/lib/components/presets/Display/useDisplayStyles.styles.css.js.map +1 -0
- package/lib/components/presets/Display/useDisplayStyles.styles.raw.css.js +7 -0
- package/lib/components/presets/Display/useDisplayStyles.styles.raw.css.js.map +1 -0
- package/lib/components/presets/Display/useDisplayStyles.styles.raw.js.map +1 -1
- package/lib/components/presets/LargeTitle/LargeTitle.js.map +1 -1
- package/lib/components/presets/LargeTitle/index.js.map +1 -1
- package/lib/components/presets/LargeTitle/useLargeTitleStyles.styles.css.js +7 -0
- package/lib/components/presets/LargeTitle/useLargeTitleStyles.styles.css.js.map +1 -0
- package/lib/components/presets/LargeTitle/useLargeTitleStyles.styles.raw.css.js +7 -0
- package/lib/components/presets/LargeTitle/useLargeTitleStyles.styles.raw.css.js.map +1 -0
- package/lib/components/presets/LargeTitle/useLargeTitleStyles.styles.raw.js.map +1 -1
- package/lib/components/presets/Subtitle1/Subtitle1.js.map +1 -1
- package/lib/components/presets/Subtitle1/index.js.map +1 -1
- package/lib/components/presets/Subtitle1/useSubtitle1Styles.styles.css.js +7 -0
- package/lib/components/presets/Subtitle1/useSubtitle1Styles.styles.css.js.map +1 -0
- package/lib/components/presets/Subtitle1/useSubtitle1Styles.styles.raw.css.js +7 -0
- package/lib/components/presets/Subtitle1/useSubtitle1Styles.styles.raw.css.js.map +1 -0
- package/lib/components/presets/Subtitle1/useSubtitle1Styles.styles.raw.js.map +1 -1
- package/lib/components/presets/Subtitle2/Subtitle2.js.map +1 -1
- package/lib/components/presets/Subtitle2/index.js.map +1 -1
- package/lib/components/presets/Subtitle2/useSubtitle2Styles.styles.css.js +7 -0
- package/lib/components/presets/Subtitle2/useSubtitle2Styles.styles.css.js.map +1 -0
- package/lib/components/presets/Subtitle2/useSubtitle2Styles.styles.raw.css.js +7 -0
- package/lib/components/presets/Subtitle2/useSubtitle2Styles.styles.raw.css.js.map +1 -0
- package/lib/components/presets/Subtitle2/useSubtitle2Styles.styles.raw.js.map +1 -1
- package/lib/components/presets/Subtitle2Stronger/Subtitle2Stronger.js.map +1 -1
- package/lib/components/presets/Subtitle2Stronger/index.js.map +1 -1
- package/lib/components/presets/Subtitle2Stronger/useSubtitle2Stronger.styles.css.js +7 -0
- package/lib/components/presets/Subtitle2Stronger/useSubtitle2Stronger.styles.css.js.map +1 -0
- package/lib/components/presets/Subtitle2Stronger/useSubtitle2Stronger.styles.raw.css.js +7 -0
- package/lib/components/presets/Subtitle2Stronger/useSubtitle2Stronger.styles.raw.css.js.map +1 -0
- package/lib/components/presets/Subtitle2Stronger/useSubtitle2Stronger.styles.raw.js.map +1 -1
- package/lib/components/presets/TextPresets.module.css +96 -0
- package/lib/components/presets/Title1/Title1.js.map +1 -1
- package/lib/components/presets/Title1/index.js.map +1 -1
- package/lib/components/presets/Title1/useTitle1Styles.styles.css.js +7 -0
- package/lib/components/presets/Title1/useTitle1Styles.styles.css.js.map +1 -0
- package/lib/components/presets/Title1/useTitle1Styles.styles.raw.css.js +7 -0
- package/lib/components/presets/Title1/useTitle1Styles.styles.raw.css.js.map +1 -0
- package/lib/components/presets/Title1/useTitle1Styles.styles.raw.js.map +1 -1
- package/lib/components/presets/Title2/Title2.js.map +1 -1
- package/lib/components/presets/Title2/index.js.map +1 -1
- package/lib/components/presets/Title2/useTitle2Styles.styles.css.js +7 -0
- package/lib/components/presets/Title2/useTitle2Styles.styles.css.js.map +1 -0
- package/lib/components/presets/Title2/useTitle2Styles.styles.raw.css.js +7 -0
- package/lib/components/presets/Title2/useTitle2Styles.styles.raw.css.js.map +1 -0
- package/lib/components/presets/Title2/useTitle2Styles.styles.raw.js.map +1 -1
- package/lib/components/presets/Title3/Title3.js.map +1 -1
- package/lib/components/presets/Title3/index.js.map +1 -1
- package/lib/components/presets/Title3/useTitle3Styles.styles.css.js +7 -0
- package/lib/components/presets/Title3/useTitle3Styles.styles.css.js.map +1 -0
- package/lib/components/presets/Title3/useTitle3Styles.styles.raw.css.js +7 -0
- package/lib/components/presets/Title3/useTitle3Styles.styles.raw.css.js.map +1 -0
- package/lib/components/presets/Title3/useTitle3Styles.styles.raw.js.map +1 -1
- package/lib/components/presets/createPreset.js.map +1 -1
- package/lib-commonjs/Body1.cjs +3 -3
- package/lib-commonjs/Body1Strong.cjs +3 -3
- package/lib-commonjs/Body1Stronger.cjs +3 -3
- package/lib-commonjs/Body2.cjs +3 -3
- package/lib-commonjs/Caption1.cjs +3 -3
- package/lib-commonjs/Caption1Strong.cjs +3 -3
- package/lib-commonjs/Caption1Stronger.cjs +3 -3
- package/lib-commonjs/Caption2.cjs +3 -3
- package/lib-commonjs/Caption2Strong.cjs +3 -3
- package/lib-commonjs/Display.cjs +3 -3
- package/lib-commonjs/LargeTitle.cjs +3 -3
- package/lib-commonjs/Subtitle1.cjs +3 -3
- package/lib-commonjs/Subtitle2.cjs +3 -3
- package/lib-commonjs/Subtitle2Stronger.cjs +3 -3
- package/lib-commonjs/Text.cjs +6 -6
- package/lib-commonjs/Title1.cjs +3 -3
- package/lib-commonjs/Title2.cjs +3 -3
- package/lib-commonjs/Title3.cjs +3 -3
- package/lib-commonjs/components/Text/Text.cjs.map +1 -1
- package/lib-commonjs/components/Text/Text.module.css +119 -0
- package/lib-commonjs/components/Text/Text.types.cjs.map +1 -1
- package/lib-commonjs/components/Text/index.cjs +6 -6
- package/lib-commonjs/components/Text/index.cjs.map +1 -1
- package/lib-commonjs/components/Text/renderText.cjs.map +1 -1
- package/lib-commonjs/components/Text/useText.cjs.map +1 -1
- package/lib-commonjs/components/Text/useTextStyles.styles.cjs +3 -3
- package/lib-commonjs/components/Text/useTextStyles.styles.cjs.map +1 -1
- package/lib-commonjs/components/Text/useTextStyles.styles.css.cjs +28 -0
- package/lib-commonjs/components/Text/useTextStyles.styles.css.cjs.map +1 -0
- package/lib-commonjs/components/Text/useTextStyles.styles.raw.cjs +3 -3
- package/lib-commonjs/components/Text/useTextStyles.styles.raw.cjs.map +1 -1
- package/lib-commonjs/components/Text/useTextStyles.styles.raw.css.cjs +28 -0
- package/lib-commonjs/components/Text/useTextStyles.styles.raw.css.cjs.map +1 -0
- package/lib-commonjs/components/presets/Body1/Body1.cjs.map +1 -1
- package/lib-commonjs/components/presets/Body1/index.cjs +3 -3
- package/lib-commonjs/components/presets/Body1/index.cjs.map +1 -1
- package/lib-commonjs/components/presets/Body1/useBody1Styles.styles.cjs +3 -3
- package/lib-commonjs/components/presets/Body1/useBody1Styles.styles.cjs.map +1 -1
- package/lib-commonjs/components/presets/Body1/useBody1Styles.styles.css.cjs +26 -0
- package/lib-commonjs/components/presets/Body1/useBody1Styles.styles.css.cjs.map +1 -0
- package/lib-commonjs/components/presets/Body1/useBody1Styles.styles.raw.cjs +3 -3
- package/lib-commonjs/components/presets/Body1/useBody1Styles.styles.raw.cjs.map +1 -1
- package/lib-commonjs/components/presets/Body1/useBody1Styles.styles.raw.css.cjs +26 -0
- package/lib-commonjs/components/presets/Body1/useBody1Styles.styles.raw.css.cjs.map +1 -0
- package/lib-commonjs/components/presets/Body1Strong/Body1Strong.cjs.map +1 -1
- package/lib-commonjs/components/presets/Body1Strong/index.cjs +3 -3
- package/lib-commonjs/components/presets/Body1Strong/index.cjs.map +1 -1
- package/lib-commonjs/components/presets/Body1Strong/useBody1StrongStyles.styles.cjs +3 -3
- package/lib-commonjs/components/presets/Body1Strong/useBody1StrongStyles.styles.cjs.map +1 -1
- package/lib-commonjs/components/presets/Body1Strong/useBody1StrongStyles.styles.css.cjs +26 -0
- package/lib-commonjs/components/presets/Body1Strong/useBody1StrongStyles.styles.css.cjs.map +1 -0
- package/lib-commonjs/components/presets/Body1Strong/useBody1StrongStyles.styles.raw.cjs +3 -3
- package/lib-commonjs/components/presets/Body1Strong/useBody1StrongStyles.styles.raw.cjs.map +1 -1
- package/lib-commonjs/components/presets/Body1Strong/useBody1StrongStyles.styles.raw.css.cjs +26 -0
- package/lib-commonjs/components/presets/Body1Strong/useBody1StrongStyles.styles.raw.css.cjs.map +1 -0
- package/lib-commonjs/components/presets/Body1Stronger/Body1Stronger.cjs.map +1 -1
- package/lib-commonjs/components/presets/Body1Stronger/index.cjs +3 -3
- package/lib-commonjs/components/presets/Body1Stronger/index.cjs.map +1 -1
- package/lib-commonjs/components/presets/Body1Stronger/useBody1StrongerStyles.styles.cjs +3 -3
- package/lib-commonjs/components/presets/Body1Stronger/useBody1StrongerStyles.styles.cjs.map +1 -1
- package/lib-commonjs/components/presets/Body1Stronger/useBody1StrongerStyles.styles.css.cjs +26 -0
- package/lib-commonjs/components/presets/Body1Stronger/useBody1StrongerStyles.styles.css.cjs.map +1 -0
- package/lib-commonjs/components/presets/Body1Stronger/useBody1StrongerStyles.styles.raw.cjs +3 -3
- package/lib-commonjs/components/presets/Body1Stronger/useBody1StrongerStyles.styles.raw.cjs.map +1 -1
- package/lib-commonjs/components/presets/Body1Stronger/useBody1StrongerStyles.styles.raw.css.cjs +26 -0
- package/lib-commonjs/components/presets/Body1Stronger/useBody1StrongerStyles.styles.raw.css.cjs.map +1 -0
- package/lib-commonjs/components/presets/Body2/Body2.cjs.map +1 -1
- package/lib-commonjs/components/presets/Body2/index.cjs +3 -3
- package/lib-commonjs/components/presets/Body2/index.cjs.map +1 -1
- package/lib-commonjs/components/presets/Body2/useBody2Styles.styles.cjs +3 -3
- package/lib-commonjs/components/presets/Body2/useBody2Styles.styles.cjs.map +1 -1
- package/lib-commonjs/components/presets/Body2/useBody2Styles.styles.css.cjs +26 -0
- package/lib-commonjs/components/presets/Body2/useBody2Styles.styles.css.cjs.map +1 -0
- package/lib-commonjs/components/presets/Body2/useBody2Styles.styles.raw.cjs +3 -3
- package/lib-commonjs/components/presets/Body2/useBody2Styles.styles.raw.cjs.map +1 -1
- package/lib-commonjs/components/presets/Body2/useBody2Styles.styles.raw.css.cjs +26 -0
- package/lib-commonjs/components/presets/Body2/useBody2Styles.styles.raw.css.cjs.map +1 -0
- package/lib-commonjs/components/presets/Caption1/Caption1.cjs.map +1 -1
- package/lib-commonjs/components/presets/Caption1/index.cjs +3 -3
- package/lib-commonjs/components/presets/Caption1/index.cjs.map +1 -1
- package/lib-commonjs/components/presets/Caption1/useCaption1Styles.styles.cjs +3 -3
- package/lib-commonjs/components/presets/Caption1/useCaption1Styles.styles.cjs.map +1 -1
- package/lib-commonjs/components/presets/Caption1/useCaption1Styles.styles.css.cjs +26 -0
- package/lib-commonjs/components/presets/Caption1/useCaption1Styles.styles.css.cjs.map +1 -0
- package/lib-commonjs/components/presets/Caption1/useCaption1Styles.styles.raw.cjs +3 -3
- package/lib-commonjs/components/presets/Caption1/useCaption1Styles.styles.raw.cjs.map +1 -1
- package/lib-commonjs/components/presets/Caption1/useCaption1Styles.styles.raw.css.cjs +26 -0
- package/lib-commonjs/components/presets/Caption1/useCaption1Styles.styles.raw.css.cjs.map +1 -0
- package/lib-commonjs/components/presets/Caption1Strong/Caption1Strong.cjs.map +1 -1
- package/lib-commonjs/components/presets/Caption1Strong/index.cjs +3 -3
- package/lib-commonjs/components/presets/Caption1Strong/index.cjs.map +1 -1
- package/lib-commonjs/components/presets/Caption1Strong/useCaption1StrongStyles.styles.cjs +3 -3
- package/lib-commonjs/components/presets/Caption1Strong/useCaption1StrongStyles.styles.cjs.map +1 -1
- package/lib-commonjs/components/presets/Caption1Strong/useCaption1StrongStyles.styles.css.cjs +26 -0
- package/lib-commonjs/components/presets/Caption1Strong/useCaption1StrongStyles.styles.css.cjs.map +1 -0
- package/lib-commonjs/components/presets/Caption1Strong/useCaption1StrongStyles.styles.raw.cjs +3 -3
- package/lib-commonjs/components/presets/Caption1Strong/useCaption1StrongStyles.styles.raw.cjs.map +1 -1
- package/lib-commonjs/components/presets/Caption1Strong/useCaption1StrongStyles.styles.raw.css.cjs +26 -0
- package/lib-commonjs/components/presets/Caption1Strong/useCaption1StrongStyles.styles.raw.css.cjs.map +1 -0
- package/lib-commonjs/components/presets/Caption1Stronger/Caption1Stronger.cjs.map +1 -1
- package/lib-commonjs/components/presets/Caption1Stronger/index.cjs +3 -3
- package/lib-commonjs/components/presets/Caption1Stronger/index.cjs.map +1 -1
- package/lib-commonjs/components/presets/Caption1Stronger/useCaption1Stronger.styles.cjs +3 -3
- package/lib-commonjs/components/presets/Caption1Stronger/useCaption1Stronger.styles.cjs.map +1 -1
- package/lib-commonjs/components/presets/Caption1Stronger/useCaption1Stronger.styles.css.cjs +26 -0
- package/lib-commonjs/components/presets/Caption1Stronger/useCaption1Stronger.styles.css.cjs.map +1 -0
- package/lib-commonjs/components/presets/Caption1Stronger/useCaption1Stronger.styles.raw.cjs +3 -3
- package/lib-commonjs/components/presets/Caption1Stronger/useCaption1Stronger.styles.raw.cjs.map +1 -1
- package/lib-commonjs/components/presets/Caption1Stronger/useCaption1Stronger.styles.raw.css.cjs +26 -0
- package/lib-commonjs/components/presets/Caption1Stronger/useCaption1Stronger.styles.raw.css.cjs.map +1 -0
- package/lib-commonjs/components/presets/Caption2/Caption2.cjs.map +1 -1
- package/lib-commonjs/components/presets/Caption2/index.cjs +3 -3
- package/lib-commonjs/components/presets/Caption2/index.cjs.map +1 -1
- package/lib-commonjs/components/presets/Caption2/useCaption2Styles.styles.cjs +3 -3
- package/lib-commonjs/components/presets/Caption2/useCaption2Styles.styles.cjs.map +1 -1
- package/lib-commonjs/components/presets/Caption2/useCaption2Styles.styles.css.cjs +26 -0
- package/lib-commonjs/components/presets/Caption2/useCaption2Styles.styles.css.cjs.map +1 -0
- package/lib-commonjs/components/presets/Caption2/useCaption2Styles.styles.raw.cjs +3 -3
- package/lib-commonjs/components/presets/Caption2/useCaption2Styles.styles.raw.cjs.map +1 -1
- package/lib-commonjs/components/presets/Caption2/useCaption2Styles.styles.raw.css.cjs +26 -0
- package/lib-commonjs/components/presets/Caption2/useCaption2Styles.styles.raw.css.cjs.map +1 -0
- package/lib-commonjs/components/presets/Caption2Strong/Caption2Strong.cjs.map +1 -1
- package/lib-commonjs/components/presets/Caption2Strong/index.cjs +3 -3
- package/lib-commonjs/components/presets/Caption2Strong/index.cjs.map +1 -1
- package/lib-commonjs/components/presets/Caption2Strong/useCaption2StrongStyles.styles.cjs +3 -3
- package/lib-commonjs/components/presets/Caption2Strong/useCaption2StrongStyles.styles.cjs.map +1 -1
- package/lib-commonjs/components/presets/Caption2Strong/useCaption2StrongStyles.styles.css.cjs +26 -0
- package/lib-commonjs/components/presets/Caption2Strong/useCaption2StrongStyles.styles.css.cjs.map +1 -0
- package/lib-commonjs/components/presets/Caption2Strong/useCaption2StrongStyles.styles.raw.cjs +3 -3
- package/lib-commonjs/components/presets/Caption2Strong/useCaption2StrongStyles.styles.raw.cjs.map +1 -1
- package/lib-commonjs/components/presets/Caption2Strong/useCaption2StrongStyles.styles.raw.css.cjs +26 -0
- package/lib-commonjs/components/presets/Caption2Strong/useCaption2StrongStyles.styles.raw.css.cjs.map +1 -0
- package/lib-commonjs/components/presets/Display/Display.cjs.map +1 -1
- package/lib-commonjs/components/presets/Display/index.cjs +3 -3
- package/lib-commonjs/components/presets/Display/index.cjs.map +1 -1
- package/lib-commonjs/components/presets/Display/useDisplayStyles.styles.cjs +3 -3
- package/lib-commonjs/components/presets/Display/useDisplayStyles.styles.cjs.map +1 -1
- package/lib-commonjs/components/presets/Display/useDisplayStyles.styles.css.cjs +26 -0
- package/lib-commonjs/components/presets/Display/useDisplayStyles.styles.css.cjs.map +1 -0
- package/lib-commonjs/components/presets/Display/useDisplayStyles.styles.raw.cjs +3 -3
- package/lib-commonjs/components/presets/Display/useDisplayStyles.styles.raw.cjs.map +1 -1
- package/lib-commonjs/components/presets/Display/useDisplayStyles.styles.raw.css.cjs +26 -0
- package/lib-commonjs/components/presets/Display/useDisplayStyles.styles.raw.css.cjs.map +1 -0
- package/lib-commonjs/components/presets/LargeTitle/LargeTitle.cjs.map +1 -1
- package/lib-commonjs/components/presets/LargeTitle/index.cjs +3 -3
- package/lib-commonjs/components/presets/LargeTitle/index.cjs.map +1 -1
- package/lib-commonjs/components/presets/LargeTitle/useLargeTitleStyles.styles.cjs +3 -3
- package/lib-commonjs/components/presets/LargeTitle/useLargeTitleStyles.styles.cjs.map +1 -1
- package/lib-commonjs/components/presets/LargeTitle/useLargeTitleStyles.styles.css.cjs +26 -0
- package/lib-commonjs/components/presets/LargeTitle/useLargeTitleStyles.styles.css.cjs.map +1 -0
- package/lib-commonjs/components/presets/LargeTitle/useLargeTitleStyles.styles.raw.cjs +3 -3
- package/lib-commonjs/components/presets/LargeTitle/useLargeTitleStyles.styles.raw.cjs.map +1 -1
- package/lib-commonjs/components/presets/LargeTitle/useLargeTitleStyles.styles.raw.css.cjs +26 -0
- package/lib-commonjs/components/presets/LargeTitle/useLargeTitleStyles.styles.raw.css.cjs.map +1 -0
- package/lib-commonjs/components/presets/Subtitle1/Subtitle1.cjs.map +1 -1
- package/lib-commonjs/components/presets/Subtitle1/index.cjs +3 -3
- package/lib-commonjs/components/presets/Subtitle1/index.cjs.map +1 -1
- package/lib-commonjs/components/presets/Subtitle1/useSubtitle1Styles.styles.cjs +3 -3
- package/lib-commonjs/components/presets/Subtitle1/useSubtitle1Styles.styles.cjs.map +1 -1
- package/lib-commonjs/components/presets/Subtitle1/useSubtitle1Styles.styles.css.cjs +26 -0
- package/lib-commonjs/components/presets/Subtitle1/useSubtitle1Styles.styles.css.cjs.map +1 -0
- package/lib-commonjs/components/presets/Subtitle1/useSubtitle1Styles.styles.raw.cjs +3 -3
- package/lib-commonjs/components/presets/Subtitle1/useSubtitle1Styles.styles.raw.cjs.map +1 -1
- package/lib-commonjs/components/presets/Subtitle1/useSubtitle1Styles.styles.raw.css.cjs +26 -0
- package/lib-commonjs/components/presets/Subtitle1/useSubtitle1Styles.styles.raw.css.cjs.map +1 -0
- package/lib-commonjs/components/presets/Subtitle2/Subtitle2.cjs.map +1 -1
- package/lib-commonjs/components/presets/Subtitle2/index.cjs +3 -3
- package/lib-commonjs/components/presets/Subtitle2/index.cjs.map +1 -1
- package/lib-commonjs/components/presets/Subtitle2/useSubtitle2Styles.styles.cjs +3 -3
- package/lib-commonjs/components/presets/Subtitle2/useSubtitle2Styles.styles.cjs.map +1 -1
- package/lib-commonjs/components/presets/Subtitle2/useSubtitle2Styles.styles.css.cjs +26 -0
- package/lib-commonjs/components/presets/Subtitle2/useSubtitle2Styles.styles.css.cjs.map +1 -0
- package/lib-commonjs/components/presets/Subtitle2/useSubtitle2Styles.styles.raw.cjs +3 -3
- package/lib-commonjs/components/presets/Subtitle2/useSubtitle2Styles.styles.raw.cjs.map +1 -1
- package/lib-commonjs/components/presets/Subtitle2/useSubtitle2Styles.styles.raw.css.cjs +26 -0
- package/lib-commonjs/components/presets/Subtitle2/useSubtitle2Styles.styles.raw.css.cjs.map +1 -0
- package/lib-commonjs/components/presets/Subtitle2Stronger/Subtitle2Stronger.cjs.map +1 -1
- package/lib-commonjs/components/presets/Subtitle2Stronger/index.cjs +3 -3
- package/lib-commonjs/components/presets/Subtitle2Stronger/index.cjs.map +1 -1
- package/lib-commonjs/components/presets/Subtitle2Stronger/useSubtitle2Stronger.styles.cjs +3 -3
- package/lib-commonjs/components/presets/Subtitle2Stronger/useSubtitle2Stronger.styles.cjs.map +1 -1
- package/lib-commonjs/components/presets/Subtitle2Stronger/useSubtitle2Stronger.styles.css.cjs +26 -0
- package/lib-commonjs/components/presets/Subtitle2Stronger/useSubtitle2Stronger.styles.css.cjs.map +1 -0
- package/lib-commonjs/components/presets/Subtitle2Stronger/useSubtitle2Stronger.styles.raw.cjs +3 -3
- package/lib-commonjs/components/presets/Subtitle2Stronger/useSubtitle2Stronger.styles.raw.cjs.map +1 -1
- package/lib-commonjs/components/presets/Subtitle2Stronger/useSubtitle2Stronger.styles.raw.css.cjs +26 -0
- package/lib-commonjs/components/presets/Subtitle2Stronger/useSubtitle2Stronger.styles.raw.css.cjs.map +1 -0
- package/lib-commonjs/components/presets/TextPresets.module.css +96 -0
- package/lib-commonjs/components/presets/Title1/Title1.cjs.map +1 -1
- package/lib-commonjs/components/presets/Title1/index.cjs +3 -3
- package/lib-commonjs/components/presets/Title1/index.cjs.map +1 -1
- package/lib-commonjs/components/presets/Title1/useTitle1Styles.styles.cjs +3 -3
- package/lib-commonjs/components/presets/Title1/useTitle1Styles.styles.cjs.map +1 -1
- package/lib-commonjs/components/presets/Title1/useTitle1Styles.styles.css.cjs +26 -0
- package/lib-commonjs/components/presets/Title1/useTitle1Styles.styles.css.cjs.map +1 -0
- package/lib-commonjs/components/presets/Title1/useTitle1Styles.styles.raw.cjs +3 -3
- package/lib-commonjs/components/presets/Title1/useTitle1Styles.styles.raw.cjs.map +1 -1
- package/lib-commonjs/components/presets/Title1/useTitle1Styles.styles.raw.css.cjs +26 -0
- package/lib-commonjs/components/presets/Title1/useTitle1Styles.styles.raw.css.cjs.map +1 -0
- package/lib-commonjs/components/presets/Title2/Title2.cjs.map +1 -1
- package/lib-commonjs/components/presets/Title2/index.cjs +3 -3
- package/lib-commonjs/components/presets/Title2/index.cjs.map +1 -1
- package/lib-commonjs/components/presets/Title2/useTitle2Styles.styles.cjs +3 -3
- package/lib-commonjs/components/presets/Title2/useTitle2Styles.styles.cjs.map +1 -1
- package/lib-commonjs/components/presets/Title2/useTitle2Styles.styles.css.cjs +26 -0
- package/lib-commonjs/components/presets/Title2/useTitle2Styles.styles.css.cjs.map +1 -0
- package/lib-commonjs/components/presets/Title2/useTitle2Styles.styles.raw.cjs +3 -3
- package/lib-commonjs/components/presets/Title2/useTitle2Styles.styles.raw.cjs.map +1 -1
- package/lib-commonjs/components/presets/Title2/useTitle2Styles.styles.raw.css.cjs +26 -0
- package/lib-commonjs/components/presets/Title2/useTitle2Styles.styles.raw.css.cjs.map +1 -0
- package/lib-commonjs/components/presets/Title3/Title3.cjs.map +1 -1
- package/lib-commonjs/components/presets/Title3/index.cjs +3 -3
- package/lib-commonjs/components/presets/Title3/index.cjs.map +1 -1
- package/lib-commonjs/components/presets/Title3/useTitle3Styles.styles.cjs +3 -3
- package/lib-commonjs/components/presets/Title3/useTitle3Styles.styles.cjs.map +1 -1
- package/lib-commonjs/components/presets/Title3/useTitle3Styles.styles.css.cjs +26 -0
- package/lib-commonjs/components/presets/Title3/useTitle3Styles.styles.css.cjs.map +1 -0
- package/lib-commonjs/components/presets/Title3/useTitle3Styles.styles.raw.cjs +3 -3
- package/lib-commonjs/components/presets/Title3/useTitle3Styles.styles.raw.cjs.map +1 -1
- package/lib-commonjs/components/presets/Title3/useTitle3Styles.styles.raw.css.cjs +26 -0
- package/lib-commonjs/components/presets/Title3/useTitle3Styles.styles.raw.css.cjs.map +1 -0
- package/lib-commonjs/components/presets/createPreset.cjs.map +1 -1
- package/lib-commonjs/index.cjs +40 -40
- package/lib-commonjs/index.cjs.map +1 -1
- package/package.json +10 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,20 +1,29 @@
|
|
|
1
1
|
# Change Log - @fluentui/react-text
|
|
2
2
|
|
|
3
|
-
<!-- This log was last generated on
|
|
3
|
+
<!-- This log was last generated on Sat, 31 Oct 2026 11:08:38 GMT and should not be manually modified. -->
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
-
## [9.
|
|
7
|
+
## [9.75.0-experimental.css-modules.20261031-810ab07afb.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.75.0-experimental.css-modules.20261031-810ab07afb.0)
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Sat, 31 Oct 2026 11:08:38 GMT
|
|
10
10
|
|
|
11
11
|
### Changes
|
|
12
12
|
|
|
13
|
-
- Release 9.
|
|
14
|
-
- Bump @fluentui/react-jsx-runtime to v9.
|
|
15
|
-
- Bump @fluentui/react-shared-contexts to v9.
|
|
16
|
-
- Bump @fluentui/react-theme to v9.
|
|
17
|
-
- Bump @fluentui/react-utilities to v9.
|
|
13
|
+
- Release 9.75.0-experimental.css-modules.20261031-810ab07afb ([commit](https://github.com/microsoft/fluentui/commit/undefined) by 257645319+office-ogx-auth-helper[bot]@users.noreply.github.com)
|
|
14
|
+
- Bump @fluentui/react-jsx-runtime to v9.75.0-experimental.css-modules.20261031-810ab07afb.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
15
|
+
- Bump @fluentui/react-shared-contexts to v9.75.0-experimental.css-modules.20261031-810ab07afb.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
16
|
+
- Bump @fluentui/react-theme to v9.75.0-experimental.css-modules.20261031-810ab07afb.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
17
|
+
- Bump @fluentui/react-utilities to v9.75.0-experimental.css-modules.20261031-810ab07afb.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
18
|
+
|
|
19
|
+
## [9.6.21](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.6.21)
|
|
20
|
+
|
|
21
|
+
Mon, 19 Oct 2026 16:49:01 GMT
|
|
22
|
+
|
|
23
|
+
### Patches
|
|
24
|
+
|
|
25
|
+
- Bump @fluentui/react-jsx-runtime to v9.4.7 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
26
|
+
- Bump @fluentui/react-utilities to v9.27.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
18
27
|
|
|
19
28
|
## [9.6.20](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.6.20)
|
|
20
29
|
|
package/README.md
CHANGED
|
@@ -95,3 +95,11 @@ For more information about the components, please refer to the [API documentatio
|
|
|
95
95
|
## Migration
|
|
96
96
|
|
|
97
97
|
For migration information, have a look at the [migration guide](./MIGRATION.md).
|
|
98
|
+
|
|
99
|
+
## CSS Modules alternative
|
|
100
|
+
|
|
101
|
+
Layered CSS Modules style hooks (`*.styles.css.ts`) are available as opt-in alternatives.
|
|
102
|
+
Configure the bundler to resolve `.styles` to `.styles.css.ts` before `.styles.ts`, and
|
|
103
|
+
`.styles.js` to `.styles.css.js` before `.styles.js`, and enable CSS Modules loading.
|
|
104
|
+
The default component imports continue to use Griffel. Browser styling parity, SSR,
|
|
105
|
+
and alternate-style VRT coverage must be validated before switching defaults.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
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"}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
@layer fluentui {
|
|
2
|
+
.root {
|
|
3
|
+
font-family: var(--fontFamilyBase);
|
|
4
|
+
font-size: var(--fontSizeBase300);
|
|
5
|
+
line-height: var(--lineHeightBase300);
|
|
6
|
+
font-weight: var(--fontWeightRegular);
|
|
7
|
+
text-align: start;
|
|
8
|
+
display: inline;
|
|
9
|
+
white-space: normal;
|
|
10
|
+
overflow: visible;
|
|
11
|
+
text-overflow: clip;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.nowrap {
|
|
15
|
+
white-space: nowrap;
|
|
16
|
+
overflow: hidden;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.truncate {
|
|
20
|
+
text-overflow: ellipsis;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.block {
|
|
24
|
+
display: block;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.italic {
|
|
28
|
+
font-style: italic;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.underline {
|
|
32
|
+
text-decoration-line: underline;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.strikethrough {
|
|
36
|
+
text-decoration-line: line-through;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.underline:where(.strikethrough) {
|
|
40
|
+
text-decoration-line: line-through underline;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.size100 {
|
|
44
|
+
font-size: var(--fontSizeBase100);
|
|
45
|
+
line-height: var(--lineHeightBase100);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.size200 {
|
|
49
|
+
font-size: var(--fontSizeBase200);
|
|
50
|
+
line-height: var(--lineHeightBase200);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.size400 {
|
|
54
|
+
font-size: var(--fontSizeBase400);
|
|
55
|
+
line-height: var(--lineHeightBase400);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.size500 {
|
|
59
|
+
font-size: var(--fontSizeBase500);
|
|
60
|
+
line-height: var(--lineHeightBase500);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.size600 {
|
|
64
|
+
font-size: var(--fontSizeBase600);
|
|
65
|
+
line-height: var(--lineHeightBase600);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.size700 {
|
|
69
|
+
font-size: var(--fontSizeHero700);
|
|
70
|
+
line-height: var(--lineHeightHero700);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.size800 {
|
|
74
|
+
font-size: var(--fontSizeHero800);
|
|
75
|
+
line-height: var(--lineHeightHero800);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.size900 {
|
|
79
|
+
font-size: var(--fontSizeHero900);
|
|
80
|
+
line-height: var(--lineHeightHero900);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.size1000 {
|
|
84
|
+
font-size: var(--fontSizeHero1000);
|
|
85
|
+
line-height: var(--lineHeightHero1000);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.monospace {
|
|
89
|
+
font-family: var(--fontFamilyMonospace);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.numeric {
|
|
93
|
+
font-family: var(--fontFamilyNumeric);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.medium {
|
|
97
|
+
font-weight: var(--fontWeightMedium);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.semibold {
|
|
101
|
+
font-weight: var(--fontWeightSemibold);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.bold {
|
|
105
|
+
font-weight: var(--fontWeightBold);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.center {
|
|
109
|
+
text-align: center;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.end {
|
|
113
|
+
text-align: end;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.justify {
|
|
117
|
+
text-align: justify;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/Text/Text.types.ts"],"sourcesContent":["import type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';\n\n/**\n * Text slots\n */\nexport type TextSlots = {\n root: Slot<'span', 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'pre' | 'strong' | 'b' | 'em' | 'i'>;\n};\n\n/**\n * Text Props\n */\nexport type TextProps = ComponentProps<TextSlots> & {\n /**\n * Aligns text based on the parent container.\n *\n * @default start\n */\n align?: 'start' | 'center' | 'end' | 'justify';\n\n /**\n * Applies a block display for the content.\n *\n * @default false\n */\n block?: boolean;\n\n /**\n * Applies the font family to the content.\n *\n * @default base\n */\n font?: 'base' | 'monospace' | 'numeric';\n\n /**\n * Applies the italic font style to the content.\n *\n * @default false\n */\n italic?: boolean;\n\n /**\n * Applies font size and line height based on the theme typography tokens.\n *\n * @default 300\n */\n size?: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000;\n\n /**\n * Applies the strikethrough text decoration to the content.\n *\n * @default false\n */\n strikethrough?: boolean;\n\n /**\n * Truncate overflowing text for block displays.\n *\n * @default false\n */\n\n truncate?: boolean;\n\n /**\n * Applies the underline text decoration to the content.\n *\n * @default false\n */\n underline?: boolean;\n\n /**\n * Applies font weight to the content.\n *\n * @default regular\n */\n weight?: 'regular' | 'medium' | 'semibold' | 'bold';\n\n /**\n * Wraps the text content on white spaces.\n *\n * @default true\n */\n wrap?: boolean;\n};\n\n/**\n * TextPreset Props\n */\nexport type TextPresetProps = Omit<TextProps, 'font' | 'size' | 'weight'>;\n\n/**\n * State used in rendering Text\n */\nexport type TextState = ComponentState<TextSlots> &\n Required<\n Pick<\n TextProps,\n 'align' | 'block' | 'font' | 'italic' | 'size' | 'strikethrough' | 'truncate' | 'underline' | 'weight' | 'wrap'\n >\n >;\n"],"names":[],"mappings":"AA0FA;;CAEC,GACD,WAMI"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
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
|
-
|
|
2
|
-
import { assertSlots } from "@fluentui/react-utilities";
|
|
1
|
+
import { jsx as _jsx } from "@fluentui/react-jsx-runtime/jsx-runtime";
|
|
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":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/Text/renderText.tsx"],"sourcesContent":["/** @jsxRuntime automatic */\n/** @jsxImportSource @fluentui/react-jsx-runtime */\n\nimport { assertSlots } from '@fluentui/react-utilities';\nimport type { JSXElement } 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): JSXElement => {\n assertSlots<TextSlots>(state);\n\n return <state.root />;\n};\n"],"names":["assertSlots","renderText_unstable","state","root"],"mappings":";AAAA,0BAA0B,GAC1B,iDAAiD,GAEjD,SAASA,WAAW,QAAQ,4BAA4B;AAIxD;;CAEC,GACD,OAAO,MAAMC,sBAAsB,CAACC;IAClCF,YAAuBE;IAEvB,qBAAO,KAACA,MAAMC,IAAI;AACpB,EAAE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
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,KAAK,EAAEA,kBAAAA,mBAAAA,QAAS;QAChBP,KAAK,EAAEA,kBAAAA,mBAAAA,QAAS;QAChBK,IAAI,EAAEA,iBAAAA,kBAAAA,OAAQ;QACdJ,MAAM,EAAEA,mBAAAA,oBAAAA,SAAU;QAClBG,IAAI,EAAEA,iBAAAA,kBAAAA,OAAQ;QACdD,aAAa,EAAEA,0BAAAA,2BAAAA,gBAAiB;QAChCJ,QAAQ,EAAEA,qBAAAA,sBAAAA,WAAY;QACtBG,SAAS,EAAEA,sBAAAA,uBAAAA,YAAa;QACxBI,MAAM,EAAEA,mBAAAA,oBAAAA,SAAU;QAClBR,IAAI,EAAEA,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"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { clsx } from "clsx";
|
|
2
|
+
import styles from "./Text.module.css";
|
|
3
|
+
export const textClassNames = {
|
|
4
|
+
root: 'fui-Text'
|
|
5
|
+
};
|
|
6
|
+
export const useTextStyles_unstable = (state)=>{
|
|
7
|
+
state.root.className = clsx(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, styles[`size${state.size}`], styles[state.font], styles[state.weight], styles[state.align], state.root.className);
|
|
8
|
+
return state;
|
|
9
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/components/Text/useTextStyles.styles.css.ts"],"sourcesContent":["import { clsx } from 'clsx';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots, TextState } from './Text.types';\nimport styles from './Text.module.css';\n\nexport const textClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Text',\n};\n\nexport const useTextStyles_unstable = (state: TextState): TextState => {\n state.root.className = clsx(\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 styles[`size${state.size}`],\n styles[state.font],\n styles[state.weight],\n styles[state.align],\n state.root.className,\n );\n return state;\n};\n"],"names":["clsx","styles","textClassNames","root","useTextStyles_unstable","state","className","wrap","nowrap","truncate","block","italic","underline","strikethrough","size","font","weight","align"],"mappings":"AAAA,SAASA,IAAI,QAAQ,OAAO;AAG5B,OAAOC,YAAY,oBAAoB;AAEvC,OAAO,MAAMC,iBAA4C;IACvDC,MAAM;AACR,EAAE;AAEF,OAAO,MAAMC,yBAAyB,CAACC;IACrCA,MAAMF,IAAI,CAACG,SAAS,GAAGN,KACrBE,eAAeC,IAAI,EACnBF,OAAOE,IAAI,EACXE,MAAME,IAAI,KAAK,SAASN,OAAOO,MAAM,EACrCH,MAAMI,QAAQ,IAAIR,OAAOQ,QAAQ,EACjCJ,MAAMK,KAAK,IAAIT,OAAOS,KAAK,EAC3BL,MAAMM,MAAM,IAAIV,OAAOU,MAAM,EAC7BN,MAAMO,SAAS,IAAIX,OAAOW,SAAS,EACnCP,MAAMQ,aAAa,IAAIZ,OAAOY,aAAa,EAC3CZ,MAAM,CAAC,CAAC,IAAI,EAAEI,MAAMS,IAAI,EAAE,CAAC,EAC3Bb,MAAM,CAACI,MAAMU,IAAI,CAAC,EAClBd,MAAM,CAACI,MAAMW,MAAM,CAAC,EACpBf,MAAM,CAACI,MAAMY,KAAK,CAAC,EACnBZ,MAAMF,IAAI,CAACG,SAAS;IAEtB,OAAOD;AACT,EAAE"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { clsx } from "clsx";
|
|
2
|
+
import styles from "./Text.module.css";
|
|
3
|
+
export const textClassNames = {
|
|
4
|
+
root: 'fui-Text'
|
|
5
|
+
};
|
|
6
|
+
export const useTextStyles_unstable = (state)=>{
|
|
7
|
+
state.root.className = clsx(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, styles[`size${state.size}`], styles[state.font], styles[state.weight], styles[state.align], state.root.className);
|
|
8
|
+
return state;
|
|
9
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/components/Text/useTextStyles.styles.css.ts"],"sourcesContent":["import { clsx } from 'clsx';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots, TextState } from './Text.types';\nimport styles from './Text.module.css';\n\nexport const textClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Text',\n};\n\nexport const useTextStyles_unstable = (state: TextState): TextState => {\n state.root.className = clsx(\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 styles[`size${state.size}`],\n styles[state.font],\n styles[state.weight],\n styles[state.align],\n state.root.className,\n );\n return state;\n};\n"],"names":["clsx","styles","textClassNames","root","useTextStyles_unstable","state","className","wrap","nowrap","truncate","block","italic","underline","strikethrough","size","font","weight","align"],"mappings":"AAAA,SAASA,IAAI,QAAQ,OAAO;AAG5B,OAAOC,YAAY,oBAAoB;AAEvC,OAAO,MAAMC,iBAA4C;IACvDC,MAAM;AACR,EAAE;AAEF,OAAO,MAAMC,yBAAyB,CAACC;IACrCA,MAAMF,IAAI,CAACG,SAAS,GAAGN,KACrBE,eAAeC,IAAI,EACnBF,OAAOE,IAAI,EACXE,MAAME,IAAI,KAAK,SAASN,OAAOO,MAAM,EACrCH,MAAMI,QAAQ,IAAIR,OAAOQ,QAAQ,EACjCJ,MAAMK,KAAK,IAAIT,OAAOS,KAAK,EAC3BL,MAAMM,MAAM,IAAIV,OAAOU,MAAM,EAC7BN,MAAMO,SAAS,IAAIX,OAAOW,SAAS,EACnCP,MAAMQ,aAAa,IAAIZ,OAAOY,aAAa,EAC3CZ,MAAM,CAAC,CAAC,IAAI,EAAEI,MAAMS,IAAI,EAAE,CAAC,EAC3Bb,MAAM,CAACI,MAAMU,IAAI,CAAC,EAClBd,MAAM,CAACI,MAAMW,MAAM,CAAC,EACpBf,MAAM,CAACI,MAAMY,KAAK,CAAC,EACnBZ,MAAMF,IAAI,CAACG,SAAS;IAEtB,OAAOD;AACT,EAAE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/Text/useTextStyles.styles.ts"],"sourcesContent":["'use client';\n\nimport { makeStyles, mergeClasses } from '@griffel/react';\nimport { tokens } from '@fluentui/react-theme';\nimport type { TextSlots, TextState } from './Text.types';\nimport type { 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 overflow: 'visible',\n textOverflow: 'clip',\n },\n nowrap: {\n whiteSpace: 'nowrap',\n 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 // eslint-disable-next-line react-hooks/immutability\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"],"names":["makeStyles","mergeClasses","tokens","textClassNames","root","useStyles","fontFamily","fontFamilyBase","fontSize","fontSizeBase300","lineHeight","lineHeightBase300","fontWeight","fontWeightRegular","textAlign","display","whiteSpace","overflow","textOverflow","nowrap","truncate","block","italic","fontStyle","underline","textDecorationLine","strikethrough","strikethroughUnderline","base100","fontSizeBase100","lineHeightBase100","base200","fontSizeBase200","lineHeightBase200","base400","fontSizeBase400","lineHeightBase400","base500","fontSizeBase500","lineHeightBase500","base600","fontSizeBase600","lineHeightBase600","hero700","fontSizeHero700","lineHeightHero700","hero800","fontSizeHero800","lineHeightHero800","hero900","fontSizeHero900","lineHeightHero900","hero1000","fontSizeHero1000","lineHeightHero1000","monospace","fontFamilyMonospace","numeric","fontFamilyNumeric","weightMedium","fontWeightMedium","weightSemibold","fontWeightSemibold","weightBold","fontWeightBold","alignCenter","alignEnd","alignJustify","useTextStyles_unstable","state","styles","className","wrap","size","font","weight","align"],"mappings":"AAAA;AAEA,SAASA,UAAU,EAAEC,YAAY,QAAQ,iBAAiB;AAC1D,SAASC,MAAM,QAAQ,wBAAwB;AAI/C,OAAO,MAAMC,iBAA4C;IACvDC,MAAM;AACR,EAAE;AAEF;;CAEC,GACD,MAAMC,YAAYL,WAAW;IAC3BI,MAAM;QACJE,YAAYJ,OAAOK,cAAc;QACjCC,UAAUN,OAAOO,eAAe;QAChCC,YAAYR,OAAOS,iBAAiB;QACpCC,YAAYV,OAAOW,iBAAiB;QACpCC,WAAW;QACXC,SAAS;QACTC,YAAY;QACZC,UAAU;QACVC,cAAc;IAChB;IACAC,QAAQ;QACNH,YAAY;QACZC,UAAU;IACZ;IACAG,UAAU;QACRF,cAAc;IAChB;IACAG,OAAO;QACLN,SAAS;IACX;IACAO,QAAQ;QACNC,WAAW;IACb;IACAC,WAAW;QACTC,oBAAoB;IACtB;IACAC,eAAe;QACbD,oBAAoB;IACtB;IACAE,wBAAwB;QACtBF,oBAAoB;IACtB;IACAG,SAAS;QACPpB,UAAUN,OAAO2B,eAAe;QAChCnB,YAAYR,OAAO4B,iBAAiB;IACtC;IACAC,SAAS;QACPvB,UAAUN,OAAO8B,eAAe;QAChCtB,YAAYR,OAAO+B,iBAAiB;IACtC;IACAC,SAAS;QACP1B,UAAUN,OAAOiC,eAAe;QAChCzB,YAAYR,OAAOkC,iBAAiB;IACtC;IACAC,SAAS;QACP7B,UAAUN,OAAOoC,eAAe;QAChC5B,YAAYR,OAAOqC,iBAAiB;IACtC;IACAC,SAAS;QACPhC,UAAUN,OAAOuC,eAAe;QAChC/B,YAAYR,OAAOwC,iBAAiB;IACtC;IACAC,SAAS;QACPnC,UAAUN,OAAO0C,eAAe;QAChClC,YAAYR,OAAO2C,iBAAiB;IACtC;IACAC,SAAS;QACPtC,UAAUN,OAAO6C,eAAe;QAChCrC,YAAYR,OAAO8C,iBAAiB;IACtC;IACAC,SAAS;QACPzC,UAAUN,OAAOgD,eAAe;QAChCxC,YAAYR,OAAOiD,iBAAiB;IACtC;IACAC,UAAU;QACR5C,UAAUN,OAAOmD,gBAAgB;QACjC3C,YAAYR,OAAOoD,kBAAkB;IACvC;IACAC,WAAW;QACTjD,YAAYJ,OAAOsD,mBAAmB;IACxC;IACAC,SAAS;QACPnD,YAAYJ,OAAOwD,iBAAiB;IACtC;IACAC,cAAc;QACZ/C,YAAYV,OAAO0D,gBAAgB;IACrC;IACAC,gBAAgB;QACdjD,YAAYV,OAAO4D,kBAAkB;IACvC;IACAC,YAAY;QACVnD,YAAYV,OAAO8D,cAAc;IACnC;IACAC,aAAa;QACXnD,WAAW;IACb;IACAoD,UAAU;QACRpD,WAAW;IACb;IACAqD,cAAc;QACZrD,WAAW;IACb;AACF;AAEA;;CAEC,GACD,OAAO,MAAMsD,yBAAyB,CAACC;IACrC,MAAMC,SAASjE;IAEf,oDAAoD;IACpDgE,MAAMjE,IAAI,CAACmE,SAAS,GAAGtE,aACrBE,eAAeC,IAAI,EACnBkE,OAAOlE,IAAI,EACXiE,MAAMG,IAAI,KAAK,SAASF,OAAOnD,MAAM,EACrCkD,MAAMjD,QAAQ,IAAIkD,OAAOlD,QAAQ,EACjCiD,MAAMhD,KAAK,IAAIiD,OAAOjD,KAAK,EAC3BgD,MAAM/C,MAAM,IAAIgD,OAAOhD,MAAM,EAC7B+C,MAAM7C,SAAS,IAAI8C,OAAO9C,SAAS,EACnC6C,MAAM3C,aAAa,IAAI4C,OAAO5C,aAAa,EAC3C2C,MAAM7C,SAAS,IAAI6C,MAAM3C,aAAa,IAAI4C,OAAO3C,sBAAsB,EACvE0C,MAAMI,IAAI,KAAK,OAAOH,OAAO1C,OAAO,EACpCyC,MAAMI,IAAI,KAAK,OAAOH,OAAOvC,OAAO,EACpCsC,MAAMI,IAAI,KAAK,OAAOH,OAAOpC,OAAO,EACpCmC,MAAMI,IAAI,KAAK,OAAOH,OAAOjC,OAAO,EACpCgC,MAAMI,IAAI,KAAK,OAAOH,OAAO9B,OAAO,EACpC6B,MAAMI,IAAI,KAAK,OAAOH,OAAO3B,OAAO,EACpC0B,MAAMI,IAAI,KAAK,OAAOH,OAAOxB,OAAO,EACpCuB,MAAMI,IAAI,KAAK,OAAOH,OAAOrB,OAAO,EACpCoB,MAAMI,IAAI,KAAK,QAAQH,OAAOlB,QAAQ,EACtCiB,MAAMK,IAAI,KAAK,eAAeJ,OAAOf,SAAS,EAC9Cc,MAAMK,IAAI,KAAK,aAAaJ,OAAOb,OAAO,EAC1CY,MAAMM,MAAM,KAAK,YAAYL,OAAOX,YAAY,EAChDU,MAAMM,MAAM,KAAK,cAAcL,OAAOT,cAAc,EACpDQ,MAAMM,MAAM,KAAK,UAAUL,OAAOP,UAAU,EAC5CM,MAAMO,KAAK,KAAK,YAAYN,OAAOL,WAAW,EAC9CI,MAAMO,KAAK,KAAK,SAASN,OAAOJ,QAAQ,EACxCG,MAAMO,KAAK,KAAK,aAAaN,OAAOH,YAAY,EAChDE,MAAMjE,IAAI,CAACmE,SAAS;IAGtB,OAAOF;AACT,EAAE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/presets/Body1/Body1.tsx"],"sourcesContent":["'use client';\n\nimport type * as React from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { body1ClassNames, useBody1Styles } from './useBody1Styles.styles';\n\n/**\n * Text preset component for the Body1 typography variant\n */\nexport const Body1: React.FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useBody1Styles,\n className: body1ClassNames.root,\n displayName: 'Body1',\n});\n"],"names":["createPreset","body1ClassNames","useBody1Styles","Body1","useStyles","className","root","displayName"],"mappings":"AAAA;AAGA,SAASA,YAAY,QAAQ,qBAAkB;AAE/C,SAASC,eAAe,EAAEC,cAAc,QAAQ,6BAA0B;AAE1E;;CAEC,GACD,OAAO,MAAMC,QAAkDH,aAAa;IAC1EI,WAAWF;IACXG,WAAWJ,gBAAgBK,IAAI;IAC/BC,aAAa;AACf,GAAG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/presets/Body1/index.ts"],"sourcesContent":["export { Body1 } from './Body1';\nexport { body1ClassNames } from './useBody1Styles.styles';\n"],"names":["Body1","body1ClassNames"],"mappings":"AAAA,SAASA,KAAK,QAAQ,aAAU;AAChC,SAASC,eAAe,QAAQ,6BAA0B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/presets/Body1/useBody1Styles.styles.css.ts"],"sourcesContent":["import type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } from '../../Text/Text.types';\nimport styles from '../TextPresets.module.css';\n\nexport const body1ClassNames: SlotClassNames<TextSlots> = { root: 'fui-Body1' };\nexport const useBody1Styles = (): Record<'root', string> => ({ root: styles.body1 });\n"],"names":["styles","body1ClassNames","root","useBody1Styles","body1"],"mappings":"AAEA,OAAOA,YAAY,4BAA4B;AAE/C,OAAO,MAAMC,kBAA6C;IAAEC,MAAM;AAAY,EAAE;AAChF,OAAO,MAAMC,iBAAiB,IAA+B,CAAA;QAAED,MAAMF,OAAOI,KAAK;IAAC,CAAA,EAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/presets/Body1/useBody1Styles.styles.css.ts"],"sourcesContent":["import type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } from '../../Text/Text.types';\nimport styles from '../TextPresets.module.css';\n\nexport const body1ClassNames: SlotClassNames<TextSlots> = { root: 'fui-Body1' };\nexport const useBody1Styles = (): Record<'root', string> => ({ root: styles.body1 });\n"],"names":["styles","body1ClassNames","root","useBody1Styles","body1"],"mappings":"AAEA,OAAOA,YAAY,4BAA4B;AAE/C,OAAO,MAAMC,kBAA6C;IAAEC,MAAM;AAAY,EAAE;AAChF,OAAO,MAAMC,iBAAiB,IAA+B,CAAA;QAAED,MAAMF,OAAOI,KAAK;IAAC,CAAA,EAAG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/presets/Body1/useBody1Styles.styles.ts"],"sourcesContent":["'use client';\n\nimport { makeStyles } from '@griffel/react';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const body1ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Body1',\n};\n\n/**\n * Styles for the root slot\n */\nexport const useBody1Styles = makeStyles({\n root: typographyStyles.body1,\n});\n"],"names":["makeStyles","typographyStyles","body1ClassNames","root","useBody1Styles","body1"],"mappings":"AAAA;AAEA,SAASA,UAAU,QAAQ,iBAAiB;AAG5C,SAASC,gBAAgB,QAAQ,wBAAwB;AAEzD,OAAO,MAAMC,kBAA6C;IACxDC,MAAM;AACR,EAAE;AAEF;;CAEC,GACD,OAAO,MAAMC,iBAAiBJ,WAAW;IACvCG,MAAMF,iBAAiBI,KAAK;AAC9B,GAAG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/presets/Body1Strong/Body1Strong.tsx"],"sourcesContent":["'use client';\n\nimport type * as React from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { body1StrongClassNames, useBody1StrongStyles } from './useBody1StrongStyles.styles';\n\n/**\n * Text preset component for the Body1Strong typography variant\n */\nexport const Body1Strong: React.FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useBody1StrongStyles,\n className: body1StrongClassNames.root,\n displayName: 'Body1Strong',\n});\n"],"names":["createPreset","body1StrongClassNames","useBody1StrongStyles","Body1Strong","useStyles","className","root","displayName"],"mappings":"AAAA;AAGA,SAASA,YAAY,QAAQ,qBAAkB;AAE/C,SAASC,qBAAqB,EAAEC,oBAAoB,QAAQ,mCAAgC;AAE5F;;CAEC,GACD,OAAO,MAAMC,cAAwDH,aAAa;IAChFI,WAAWF;IACXG,WAAWJ,sBAAsBK,IAAI;IACrCC,aAAa;AACf,GAAG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/presets/Body1Strong/index.ts"],"sourcesContent":["export { Body1Strong } from './Body1Strong';\nexport { body1StrongClassNames } from './useBody1StrongStyles.styles';\n"],"names":["Body1Strong","body1StrongClassNames"],"mappings":"AAAA,SAASA,WAAW,QAAQ,mBAAgB;AAC5C,SAASC,qBAAqB,QAAQ,mCAAgC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/presets/Body1Strong/useBody1StrongStyles.styles.css.ts"],"sourcesContent":["import type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } from '../../Text/Text.types';\nimport styles from '../TextPresets.module.css';\n\nexport const body1StrongClassNames: SlotClassNames<TextSlots> = { root: 'fui-Body1Strong' };\nexport const useBody1StrongStyles = (): Record<'root', string> => ({ root: styles.body1Strong });\n"],"names":["styles","body1StrongClassNames","root","useBody1StrongStyles","body1Strong"],"mappings":"AAEA,OAAOA,YAAY,4BAA4B;AAE/C,OAAO,MAAMC,wBAAmD;IAAEC,MAAM;AAAkB,EAAE;AAC5F,OAAO,MAAMC,uBAAuB,IAA+B,CAAA;QAAED,MAAMF,OAAOI,WAAW;IAAC,CAAA,EAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/presets/Body1Strong/useBody1StrongStyles.styles.css.ts"],"sourcesContent":["import type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } from '../../Text/Text.types';\nimport styles from '../TextPresets.module.css';\n\nexport const body1StrongClassNames: SlotClassNames<TextSlots> = { root: 'fui-Body1Strong' };\nexport const useBody1StrongStyles = (): Record<'root', string> => ({ root: styles.body1Strong });\n"],"names":["styles","body1StrongClassNames","root","useBody1StrongStyles","body1Strong"],"mappings":"AAEA,OAAOA,YAAY,4BAA4B;AAE/C,OAAO,MAAMC,wBAAmD;IAAEC,MAAM;AAAkB,EAAE;AAC5F,OAAO,MAAMC,uBAAuB,IAA+B,CAAA;QAAED,MAAMF,OAAOI,WAAW;IAAC,CAAA,EAAG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/presets/Body1Strong/useBody1StrongStyles.styles.ts"],"sourcesContent":["'use client';\n\nimport { makeStyles } from '@griffel/react';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const body1StrongClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Body1Strong',\n};\n\n/**\n * Styles for the root slot\n */\nexport const useBody1StrongStyles = makeStyles({\n root: typographyStyles.body1Strong,\n});\n"],"names":["makeStyles","typographyStyles","body1StrongClassNames","root","useBody1StrongStyles","body1Strong"],"mappings":"AAAA;AAEA,SAASA,UAAU,QAAQ,iBAAiB;AAG5C,SAASC,gBAAgB,QAAQ,wBAAwB;AAEzD,OAAO,MAAMC,wBAAmD;IAC9DC,MAAM;AACR,EAAE;AAEF;;CAEC,GACD,OAAO,MAAMC,uBAAuBJ,WAAW;IAC7CG,MAAMF,iBAAiBI,WAAW;AACpC,GAAG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/presets/Body1Stronger/Body1Stronger.tsx"],"sourcesContent":["'use client';\n\nimport type * as React from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { body1StrongerClassNames, useBody1StrongerStyles } from './useBody1StrongerStyles.styles';\n\n/**\n * Text preset component for the Body1Stronger typography variant\n */\nexport const Body1Stronger: React.FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useBody1StrongerStyles,\n className: body1StrongerClassNames.root,\n displayName: 'Body1Stronger',\n});\n"],"names":["createPreset","body1StrongerClassNames","useBody1StrongerStyles","Body1Stronger","useStyles","className","root","displayName"],"mappings":"AAAA;AAGA,SAASA,YAAY,QAAQ,qBAAkB;AAE/C,SAASC,uBAAuB,EAAEC,sBAAsB,QAAQ,qCAAkC;AAElG;;CAEC,GACD,OAAO,MAAMC,gBAA0DH,aAAa;IAClFI,WAAWF;IACXG,WAAWJ,wBAAwBK,IAAI;IACvCC,aAAa;AACf,GAAG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/presets/Body1Stronger/index.ts"],"sourcesContent":["export { Body1Stronger } from './Body1Stronger';\nexport { body1StrongerClassNames } from './useBody1StrongerStyles.styles';\n"],"names":["Body1Stronger","body1StrongerClassNames"],"mappings":"AAAA,SAASA,aAAa,QAAQ,qBAAkB;AAChD,SAASC,uBAAuB,QAAQ,qCAAkC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/presets/Body1Stronger/useBody1StrongerStyles.styles.css.ts"],"sourcesContent":["import type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } from '../../Text/Text.types';\nimport styles from '../TextPresets.module.css';\n\nexport const body1StrongerClassNames: SlotClassNames<TextSlots> = { root: 'fui-Body1Stronger' };\nexport const useBody1StrongerStyles = (): Record<'root', string> => ({ root: styles.body1Stronger });\n"],"names":["styles","body1StrongerClassNames","root","useBody1StrongerStyles","body1Stronger"],"mappings":"AAEA,OAAOA,YAAY,4BAA4B;AAE/C,OAAO,MAAMC,0BAAqD;IAAEC,MAAM;AAAoB,EAAE;AAChG,OAAO,MAAMC,yBAAyB,IAA+B,CAAA;QAAED,MAAMF,OAAOI,aAAa;IAAC,CAAA,EAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/presets/Body1Stronger/useBody1StrongerStyles.styles.css.ts"],"sourcesContent":["import type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } from '../../Text/Text.types';\nimport styles from '../TextPresets.module.css';\n\nexport const body1StrongerClassNames: SlotClassNames<TextSlots> = { root: 'fui-Body1Stronger' };\nexport const useBody1StrongerStyles = (): Record<'root', string> => ({ root: styles.body1Stronger });\n"],"names":["styles","body1StrongerClassNames","root","useBody1StrongerStyles","body1Stronger"],"mappings":"AAEA,OAAOA,YAAY,4BAA4B;AAE/C,OAAO,MAAMC,0BAAqD;IAAEC,MAAM;AAAoB,EAAE;AAChG,OAAO,MAAMC,yBAAyB,IAA+B,CAAA;QAAED,MAAMF,OAAOI,aAAa;IAAC,CAAA,EAAG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/presets/Body1Stronger/useBody1StrongerStyles.styles.ts"],"sourcesContent":["'use client';\n\nimport { makeStyles } from '@griffel/react';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const body1StrongerClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Body1Stronger',\n};\n\n/**\n * Styles for the root slot\n */\nexport const useBody1StrongerStyles = makeStyles({\n root: typographyStyles.body1Stronger,\n});\n"],"names":["makeStyles","typographyStyles","body1StrongerClassNames","root","useBody1StrongerStyles","body1Stronger"],"mappings":"AAAA;AAEA,SAASA,UAAU,QAAQ,iBAAiB;AAG5C,SAASC,gBAAgB,QAAQ,wBAAwB;AAEzD,OAAO,MAAMC,0BAAqD;IAChEC,MAAM;AACR,EAAE;AAEF;;CAEC,GACD,OAAO,MAAMC,yBAAyBJ,WAAW;IAC/CG,MAAMF,iBAAiBI,aAAa;AACtC,GAAG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/presets/Body2/Body2.tsx"],"sourcesContent":["'use client';\n\nimport type * as React from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { body2ClassNames, useBody2Styles } from './useBody2Styles.styles';\n\n/**\n * Text preset component for the Body2 typography variant\n */\nexport const Body2: React.FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useBody2Styles,\n className: body2ClassNames.root,\n displayName: 'Body2',\n});\n"],"names":["createPreset","body2ClassNames","useBody2Styles","Body2","useStyles","className","root","displayName"],"mappings":"AAAA;AAGA,SAASA,YAAY,QAAQ,qBAAkB;AAE/C,SAASC,eAAe,EAAEC,cAAc,QAAQ,6BAA0B;AAE1E;;CAEC,GACD,OAAO,MAAMC,QAAkDH,aAAa;IAC1EI,WAAWF;IACXG,WAAWJ,gBAAgBK,IAAI;IAC/BC,aAAa;AACf,GAAG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/presets/Body2/index.ts"],"sourcesContent":["export { Body2 } from './Body2';\nexport { body2ClassNames } from './useBody2Styles.styles';\n"],"names":["Body2","body2ClassNames"],"mappings":"AAAA,SAASA,KAAK,QAAQ,aAAU;AAChC,SAASC,eAAe,QAAQ,6BAA0B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/presets/Body2/useBody2Styles.styles.css.ts"],"sourcesContent":["import type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } from '../../Text/Text.types';\nimport styles from '../TextPresets.module.css';\n\nexport const body2ClassNames: SlotClassNames<TextSlots> = { root: 'fui-Body2' };\nexport const useBody2Styles = (): Record<'root', string> => ({ root: styles.body2 });\n"],"names":["styles","body2ClassNames","root","useBody2Styles","body2"],"mappings":"AAEA,OAAOA,YAAY,4BAA4B;AAE/C,OAAO,MAAMC,kBAA6C;IAAEC,MAAM;AAAY,EAAE;AAChF,OAAO,MAAMC,iBAAiB,IAA+B,CAAA;QAAED,MAAMF,OAAOI,KAAK;IAAC,CAAA,EAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/presets/Body2/useBody2Styles.styles.css.ts"],"sourcesContent":["import type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } from '../../Text/Text.types';\nimport styles from '../TextPresets.module.css';\n\nexport const body2ClassNames: SlotClassNames<TextSlots> = { root: 'fui-Body2' };\nexport const useBody2Styles = (): Record<'root', string> => ({ root: styles.body2 });\n"],"names":["styles","body2ClassNames","root","useBody2Styles","body2"],"mappings":"AAEA,OAAOA,YAAY,4BAA4B;AAE/C,OAAO,MAAMC,kBAA6C;IAAEC,MAAM;AAAY,EAAE;AAChF,OAAO,MAAMC,iBAAiB,IAA+B,CAAA;QAAED,MAAMF,OAAOI,KAAK;IAAC,CAAA,EAAG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/presets/Body2/useBody2Styles.styles.ts"],"sourcesContent":["'use client';\n\nimport { makeStyles } from '@griffel/react';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const body2ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Body2',\n};\n\n/**\n * Styles for the root slot\n */\nexport const useBody2Styles = makeStyles({\n root: typographyStyles.body2,\n});\n"],"names":["makeStyles","typographyStyles","body2ClassNames","root","useBody2Styles","body2"],"mappings":"AAAA;AAEA,SAASA,UAAU,QAAQ,iBAAiB;AAG5C,SAASC,gBAAgB,QAAQ,wBAAwB;AAEzD,OAAO,MAAMC,kBAA6C;IACxDC,MAAM;AACR,EAAE;AAEF;;CAEC,GACD,OAAO,MAAMC,iBAAiBJ,WAAW;IACvCG,MAAMF,iBAAiBI,KAAK;AAC9B,GAAG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/presets/Caption1/Caption1.tsx"],"sourcesContent":["'use client';\n\nimport type * as React from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { caption1ClassNames, useCaption1Styles } from './useCaption1Styles.styles';\n\n/**\n * Text preset component for the Caption1 typography variant\n */\nexport const Caption1: React.FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useCaption1Styles,\n className: caption1ClassNames.root,\n displayName: 'Caption1',\n});\n"],"names":["createPreset","caption1ClassNames","useCaption1Styles","Caption1","useStyles","className","root","displayName"],"mappings":"AAAA;AAGA,SAASA,YAAY,QAAQ,qBAAkB;AAE/C,SAASC,kBAAkB,EAAEC,iBAAiB,QAAQ,gCAA6B;AAEnF;;CAEC,GACD,OAAO,MAAMC,WAAqDH,aAAa;IAC7EI,WAAWF;IACXG,WAAWJ,mBAAmBK,IAAI;IAClCC,aAAa;AACf,GAAG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/presets/Caption1/index.ts"],"sourcesContent":["export { Caption1 } from './Caption1';\nexport { caption1ClassNames } from './useCaption1Styles.styles';\n"],"names":["Caption1","caption1ClassNames"],"mappings":"AAAA,SAASA,QAAQ,QAAQ,gBAAa;AACtC,SAASC,kBAAkB,QAAQ,gCAA6B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/presets/Caption1/useCaption1Styles.styles.css.ts"],"sourcesContent":["import type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } from '../../Text/Text.types';\nimport styles from '../TextPresets.module.css';\n\nexport const caption1ClassNames: SlotClassNames<TextSlots> = { root: 'fui-Caption1' };\nexport const useCaption1Styles = (): Record<'root', string> => ({ root: styles.caption1 });\n"],"names":["styles","caption1ClassNames","root","useCaption1Styles","caption1"],"mappings":"AAEA,OAAOA,YAAY,4BAA4B;AAE/C,OAAO,MAAMC,qBAAgD;IAAEC,MAAM;AAAe,EAAE;AACtF,OAAO,MAAMC,oBAAoB,IAA+B,CAAA;QAAED,MAAMF,OAAOI,QAAQ;IAAC,CAAA,EAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/presets/Caption1/useCaption1Styles.styles.css.ts"],"sourcesContent":["import type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } from '../../Text/Text.types';\nimport styles from '../TextPresets.module.css';\n\nexport const caption1ClassNames: SlotClassNames<TextSlots> = { root: 'fui-Caption1' };\nexport const useCaption1Styles = (): Record<'root', string> => ({ root: styles.caption1 });\n"],"names":["styles","caption1ClassNames","root","useCaption1Styles","caption1"],"mappings":"AAEA,OAAOA,YAAY,4BAA4B;AAE/C,OAAO,MAAMC,qBAAgD;IAAEC,MAAM;AAAe,EAAE;AACtF,OAAO,MAAMC,oBAAoB,IAA+B,CAAA;QAAED,MAAMF,OAAOI,QAAQ;IAAC,CAAA,EAAG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/presets/Caption1/useCaption1Styles.styles.ts"],"sourcesContent":["'use client';\n\nimport { makeStyles } from '@griffel/react';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const caption1ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Caption1',\n};\n\n/**\n * Styles for the root slot\n */\nexport const useCaption1Styles = makeStyles({\n root: typographyStyles.caption1,\n});\n"],"names":["makeStyles","typographyStyles","caption1ClassNames","root","useCaption1Styles","caption1"],"mappings":"AAAA;AAEA,SAASA,UAAU,QAAQ,iBAAiB;AAG5C,SAASC,gBAAgB,QAAQ,wBAAwB;AAEzD,OAAO,MAAMC,qBAAgD;IAC3DC,MAAM;AACR,EAAE;AAEF;;CAEC,GACD,OAAO,MAAMC,oBAAoBJ,WAAW;IAC1CG,MAAMF,iBAAiBI,QAAQ;AACjC,GAAG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/presets/Caption1Strong/Caption1Strong.tsx"],"sourcesContent":["'use client';\n\nimport type * as React from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { caption1StrongClassNames, useCaption1StrongStyles } from './useCaption1StrongStyles.styles';\n\n/**\n * Text preset component for the Caption1Strong typography variant\n */\nexport const Caption1Strong: React.FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useCaption1StrongStyles,\n className: caption1StrongClassNames.root,\n displayName: 'Caption1Strong',\n});\n"],"names":["createPreset","caption1StrongClassNames","useCaption1StrongStyles","Caption1Strong","useStyles","className","root","displayName"],"mappings":"AAAA;AAGA,SAASA,YAAY,QAAQ,qBAAkB;AAE/C,SAASC,wBAAwB,EAAEC,uBAAuB,QAAQ,sCAAmC;AAErG;;CAEC,GACD,OAAO,MAAMC,iBAA2DH,aAAa;IACnFI,WAAWF;IACXG,WAAWJ,yBAAyBK,IAAI;IACxCC,aAAa;AACf,GAAG"}
|