@fluentui/react-text 9.74.7-experimental.cli-api.20261006-ccaa611d58.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 +29 -9
- 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 +12 -12
- package/dist/metadata/api/api-root.json +0 -1
- package/dist/metadata/index.json +0 -1
|
@@ -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"}
|
|
@@ -5,23 +5,23 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
function _export(target, all) {
|
|
6
6
|
for(var name in all)Object.defineProperty(target, name, {
|
|
7
7
|
enumerable: true,
|
|
8
|
-
get: all
|
|
8
|
+
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
9
9
|
});
|
|
10
10
|
}
|
|
11
11
|
_export(exports, {
|
|
12
|
-
Text
|
|
12
|
+
get Text () {
|
|
13
13
|
return _Text.Text;
|
|
14
14
|
},
|
|
15
|
-
renderText_unstable
|
|
15
|
+
get renderText_unstable () {
|
|
16
16
|
return _renderText.renderText_unstable;
|
|
17
17
|
},
|
|
18
|
-
textClassNames
|
|
18
|
+
get textClassNames () {
|
|
19
19
|
return _useTextStylesstyles.textClassNames;
|
|
20
20
|
},
|
|
21
|
-
useTextStyles_unstable
|
|
21
|
+
get useTextStyles_unstable () {
|
|
22
22
|
return _useTextStylesstyles.useTextStyles_unstable;
|
|
23
23
|
},
|
|
24
|
-
useText_unstable
|
|
24
|
+
get useText_unstable () {
|
|
25
25
|
return _useText.useText_unstable;
|
|
26
26
|
}
|
|
27
27
|
});
|
|
@@ -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":";;;;;;;;;;;;eAASA,UAAI;;;eAEJC,+BAAmB;;;eAEnBE,mCAAc;;;eAAEC,2CAAsB;;;eADtCF,yBAAgB;;;sBAHJ,YAAS;4BAEM,kBAAe;yBAClB,eAAY;qCACU,4BAAyB"}
|
|
@@ -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":";;;;;;;;;;;gCACA,gDAAiD,GAEjD,SAASA,WAAW,QAAQ,4BAA4B;AAOjD,MAAMC,sBAAsB,CAACC;QAClCF,2BAAAA,EAAuBE;IAEvB,OAAA,WAAA,OAAO,eAAA,EAACA,MAAMC,IAAI,EAAA,CAAA;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":";;;;+BAaaE;;;;;;gCAZkC,4BAA4B;AAYpE,yBAAyB,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,UAAAA,QAAAA,UAAAA,KAAAA,IAAAA,QAAS;QAChBP,KAAK,EAAEA,UAAAA,QAAAA,UAAAA,KAAAA,IAAAA,QAAS;QAChBK,IAAI,EAAEA,SAAAA,QAAAA,SAAAA,KAAAA,IAAAA,OAAQ;QACdJ,MAAM,EAAEA,WAAAA,QAAAA,WAAAA,KAAAA,IAAAA,SAAU;QAClBG,IAAI,EAAEA,SAAAA,QAAAA,SAAAA,KAAAA,IAAAA,OAAQ;QACdD,aAAa,EAAEA,kBAAAA,QAAAA,kBAAAA,KAAAA,IAAAA,gBAAiB;QAChCJ,QAAQ,EAAEA,aAAAA,QAAAA,aAAAA,KAAAA,IAAAA,WAAY;QACtBG,SAAS,EAAEA,cAAAA,QAAAA,cAAAA,KAAAA,IAAAA,YAAa;QACxBI,MAAM,EAAEA,WAAAA,QAAAA,WAAAA,KAAAA,IAAAA,SAAU;QAClBR,IAAI,EAAEA,SAAAA,QAAAA,SAAAA,KAAAA,IAAAA,OAAQ;QAEdW,YAAY;YAAEC,MAAM;QAAO;QAE3BA,MAAMhB,oBAAAA,CAAKiB,MAAM,KACflB,wCAAAA,EAAyB,QAAQ;YAC/B,SAAS;YACT,iGAAiG;YACjG,4FAA4F;YAC5FI,KAAKA;YACL,GAAGD,KAAK;QACV,IACA;YAAEgB,aAAa;QAAO;IAE1B;IAEA,OAAOJ;AACT,EAAE"}
|
|
@@ -6,14 +6,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
function _export(target, all) {
|
|
7
7
|
for(var name in all)Object.defineProperty(target, name, {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: all
|
|
9
|
+
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
10
10
|
});
|
|
11
11
|
}
|
|
12
12
|
_export(exports, {
|
|
13
|
-
textClassNames
|
|
13
|
+
get textClassNames () {
|
|
14
14
|
return textClassNames;
|
|
15
15
|
},
|
|
16
|
-
useTextStyles_unstable
|
|
16
|
+
get useTextStyles_unstable () {
|
|
17
17
|
return useTextStyles_unstable;
|
|
18
18
|
}
|
|
19
19
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["useTextStyles.styles.js"],"sourcesContent":["'use client';\nimport { makeStyles, mergeClasses } from \"@griffel/react\";\nimport { tokens } from \"@fluentui/react-theme\";\nexport const textClassNames = {\n root: 'fui-Text'\n};\n/**\n * Styles for the root slot\n */ const 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 * Apply styling to the Text slots based on the state\n */ export const useTextStyles_unstable = (state)=>{\n const styles = useStyles();\n // eslint-disable-next-line react-hooks/immutability\n state.root.className = mergeClasses(textClassNames.root, styles.root, state.wrap === false && styles.nowrap, state.truncate && styles.truncate, state.block && styles.block, state.italic && styles.italic, state.underline && styles.underline, state.strikethrough && styles.strikethrough, state.underline && state.strikethrough && styles.strikethroughUnderline, state.size === 100 && styles.base100, state.size === 200 && styles.base200, state.size === 400 && styles.base400, state.size === 500 && styles.base500, state.size === 600 && styles.base600, state.size === 700 && styles.hero700, state.size === 800 && styles.hero800, state.size === 900 && styles.hero900, state.size === 1000 && styles.hero1000, state.font === 'monospace' && styles.monospace, state.font === 'numeric' && styles.numeric, state.weight === 'medium' && styles.weightMedium, state.weight === 'semibold' && styles.weightSemibold, state.weight === 'bold' && styles.weightBold, state.align === 'center' && styles.alignCenter, state.align === 'end' && styles.alignEnd, state.align === 'justify' && styles.alignJustify, state.root.className);\n return state;\n};\n"],"names":["__styles","mergeClasses","tokens","textClassNames","root","useStyles","Bahqtrf","Be2twd7","Bg96gwp","Bhrd7zp","fsow6f","mc9l5x","Huce71","B68tc82","Bmxbyg5","Bpg54ce","ygn44y","nowrap","truncate","block","italic","B80ckks","underline","w71qe1","strikethrough","strikethroughUnderline","base100","base200","base400","base500","base600","hero700","hero800","hero900","hero1000","monospace","numeric","weightMedium","weightSemibold","weightBold","alignCenter","alignEnd","alignJustify","d","p","useTextStyles_unstable","state","styles","className","wrap","size","font","weight","align"],"mappings":"AAAA,YAAY;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"sources":["useTextStyles.styles.js"],"sourcesContent":["'use client';\nimport { makeStyles, mergeClasses } from \"@griffel/react\";\nimport { tokens } from \"@fluentui/react-theme\";\nexport const textClassNames = {\n root: 'fui-Text'\n};\n/**\n * Styles for the root slot\n */ const 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 * Apply styling to the Text slots based on the state\n */ export const useTextStyles_unstable = (state)=>{\n const styles = useStyles();\n // eslint-disable-next-line react-hooks/immutability\n state.root.className = mergeClasses(textClassNames.root, styles.root, state.wrap === false && styles.nowrap, state.truncate && styles.truncate, state.block && styles.block, state.italic && styles.italic, state.underline && styles.underline, state.strikethrough && styles.strikethrough, state.underline && state.strikethrough && styles.strikethroughUnderline, state.size === 100 && styles.base100, state.size === 200 && styles.base200, state.size === 400 && styles.base400, state.size === 500 && styles.base500, state.size === 600 && styles.base600, state.size === 700 && styles.hero700, state.size === 800 && styles.hero800, state.size === 900 && styles.hero900, state.size === 1000 && styles.hero1000, state.font === 'monospace' && styles.monospace, state.font === 'numeric' && styles.numeric, state.weight === 'medium' && styles.weightMedium, state.weight === 'semibold' && styles.weightSemibold, state.weight === 'bold' && styles.weightBold, state.align === 'center' && styles.alignCenter, state.align === 'end' && styles.alignEnd, state.align === 'justify' && styles.alignJustify, state.root.className);\n return state;\n};\n"],"names":["__styles","mergeClasses","tokens","textClassNames","root","useStyles","Bahqtrf","Be2twd7","Bg96gwp","Bhrd7zp","fsow6f","mc9l5x","Huce71","B68tc82","Bmxbyg5","Bpg54ce","ygn44y","nowrap","truncate","block","italic","B80ckks","underline","w71qe1","strikethrough","strikethroughUnderline","base100","base200","base400","base500","base600","hero700","hero800","hero900","hero1000","monospace","numeric","weightMedium","weightSemibold","weightBold","alignCenter","alignEnd","alignJustify","d","p","useTextStyles_unstable","state","styles","className","wrap","size","font","weight","align"],"mappings":"AAAA,YAAY;;;;;;;;;;;;QAGCG,cAAc;;;QAsGV0C,sBAAsB;;;;uBAxGE,gBAAgB;AAElD,uBAAuB;IAC1BzC,IAAI,EAAE;AACV,CAAC;AACD;;CAEA,GAAI,MAAMC,SAAS,GAAA,WAAA,OAAGL,eAAA,EAAA;IAAAI,IAAA,EAAA;QAAAE,OAAA,EAAA;QAAAC,OAAA,EAAA;QAAAC,OAAA,EAAA;QAAAC,OAAA,EAAA;QAAAC,MAAA,EAAA;QAAAC,MAAA,EAAA;QAAAC,MAAA,EAAA;QAAAC,OAAA,EAAA;QAAAC,OAAA,EAAA;QAAAC,OAAA,EAAA;QAAAC,MAAA,EAAA;IAAA;IAAAC,MAAA,EAAA;QAAAL,MAAA,EAAA;QAAAC,OAAA,EAAA;QAAAC,OAAA,EAAA;QAAAC,OAAA,EAAA;IAAA;IAAAG,QAAA,EAAA;QAAAF,MAAA,EAAA;IAAA;IAAAG,KAAA,EAAA;QAAAR,MAAA,EAAA;IAAA;IAAAS,MAAA,EAAA;QAAAC,OAAA,EAAA;IAAA;IAAAC,SAAA,EAAA;QAAAC,MAAA,EAAA;IAAA;IAAAC,aAAA,EAAA;QAAAD,MAAA,EAAA;IAAA;IAAAE,sBAAA,EAAA;QAAAF,MAAA,EAAA;IAAA;IAAAG,OAAA,EAAA;QAAAnB,OAAA,EAAA;QAAAC,OAAA,EAAA;IAAA;IAAAmB,OAAA,EAAA;QAAApB,OAAA,EAAA;QAAAC,OAAA,EAAA;IAAA;IAAAoB,OAAA,EAAA;QAAArB,OAAA,EAAA;QAAAC,OAAA,EAAA;IAAA;IAAAqB,OAAA,EAAA;QAAAtB,OAAA,EAAA;QAAAC,OAAA,EAAA;IAAA;IAAAsB,OAAA,EAAA;QAAAvB,OAAA,EAAA;QAAAC,OAAA,EAAA;IAAA;IAAAuB,OAAA,EAAA;QAAAxB,OAAA,EAAA;QAAAC,OAAA,EAAA;IAAA;IAAAwB,OAAA,EAAA;QAAAzB,OAAA,EAAA;QAAAC,OAAA,EAAA;IAAA;IAAAyB,OAAA,EAAA;QAAA1B,OAAA,EAAA;QAAAC,OAAA,EAAA;IAAA;IAAA0B,QAAA,EAAA;QAAA3B,OAAA,EAAA;QAAAC,OAAA,EAAA;IAAA;IAAA2B,SAAA,EAAA;QAAA7B,OAAA,EAAA;IAAA;IAAA8B,OAAA,EAAA;QAAA9B,OAAA,EAAA;IAAA;IAAA+B,YAAA,EAAA;QAAA5B,OAAA,EAAA;IAAA;IAAA6B,cAAA,EAAA;QAAA7B,OAAA,EAAA;IAAA;IAAA8B,UAAA,EAAA;QAAA9B,OAAA,EAAA;IAAA;IAAA+B,WAAA,EAAA;QAAA9B,MAAA,EAAA;IAAA;IAAA+B,QAAA,EAAA;QAAA/B,MAAA,EAAA;IAAA;IAAAgC,YAAA,EAAA;QAAAhC,MAAA,EAAA;IAAA;AAAA,GAAA;IAAAiC,CAAA,EAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;YAAA;YAAA;gBAAAC,CAAA,EAAA,CAAA;YAAA;SAAA;QAAA;QAAA;QAAA;YAAA;YAAA;gBAAAA,CAAA,EAAA,CAAA;YAAA;SAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;KAAA;AAAA,CA8FrB,CAAC;AAGS,gCAAgCE,KAAK,IAAG;IAC/C,MAAMC,MAAM,GAAG1C,SAAS,CAAC,CAAC;IAC1B,oDAAA;IACAyC,KAAK,CAAC1C,IAAI,CAAC4C,SAAS,OAAG/C,mBAAY,EAACE,cAAc,CAACC,IAAI,EAAE2C,MAAM,CAAC3C,IAAI,EAAE0C,KAAK,CAACG,IAAI,KAAK,KAAK,IAAIF,MAAM,CAAC9B,MAAM,EAAE6B,KAAK,CAAC5B,QAAQ,IAAI6B,MAAM,CAAC7B,QAAQ,EAAE4B,KAAK,CAAC3B,KAAK,IAAI4B,MAAM,CAAC5B,KAAK,EAAE2B,KAAK,CAAC1B,MAAM,IAAI2B,MAAM,CAAC3B,MAAM,EAAE0B,KAAK,CAACxB,SAAS,IAAIyB,MAAM,CAACzB,SAAS,EAAEwB,KAAK,CAACtB,aAAa,IAAIuB,MAAM,CAACvB,aAAa,EAAEsB,KAAK,CAACxB,SAAS,IAAIwB,KAAK,CAACtB,aAAa,IAAIuB,MAAM,CAACtB,sBAAsB,EAAEqB,KAAK,CAACI,IAAI,KAAK,GAAG,IAAIH,MAAM,CAACrB,OAAO,EAAEoB,KAAK,CAACI,IAAI,KAAK,GAAG,IAAIH,MAAM,CAACpB,OAAO,EAAEmB,KAAK,CAACI,IAAI,KAAK,GAAG,IAAIH,MAAM,CAACnB,OAAO,EAAEkB,KAAK,CAACI,IAAI,KAAK,GAAG,IAAIH,MAAM,CAAClB,OAAO,EAAEiB,KAAK,CAACI,IAAI,KAAK,GAAG,IAAIH,MAAM,CAACjB,OAAO,EAAEgB,KAAK,CAACI,IAAI,KAAK,GAAG,IAAIH,MAAM,CAAChB,OAAO,EAAEe,KAAK,CAACI,IAAI,KAAK,GAAG,IAAIH,MAAM,CAACf,OAAO,EAAEc,KAAK,CAACI,IAAI,KAAK,GAAG,IAAIH,MAAM,CAACd,OAAO,EAAEa,KAAK,CAACI,IAAI,KAAK,IAAI,IAAIH,MAAM,CAACb,QAAQ,EAAEY,KAAK,CAACK,IAAI,KAAK,WAAW,IAAIJ,MAAM,CAACZ,SAAS,EAAEW,KAAK,CAACK,IAAI,KAAK,SAAS,IAAIJ,MAAM,CAACX,OAAO,EAAEU,KAAK,CAACM,MAAM,KAAK,QAAQ,IAAIL,MAAM,CAACV,YAAY,EAAES,KAAK,CAACM,MAAM,KAAK,UAAU,IAAIL,MAAM,CAACT,cAAc,EAAEQ,KAAK,CAACM,MAAM,KAAK,MAAM,IAAIL,MAAM,CAACR,UAAU,EAAEO,KAAK,CAACO,KAAK,KAAK,QAAQ,IAAIN,MAAM,CAACP,WAAW,EAAEM,KAAK,CAACO,KAAK,KAAK,KAAK,IAAIN,MAAM,CAACN,QAAQ,EAAEK,KAAK,CAACO,KAAK,KAAK,SAAS,IAAIN,MAAM,CAACL,YAAY,EAAEI,KAAK,CAAC1C,IAAI,CAAC4C,SAAS,CAAC;IACllC,OAAOF,KAAK;AAChB,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3
|
+
value: true
|
|
4
|
+
});
|
|
5
|
+
function _export(target, all) {
|
|
6
|
+
for(var name in all)Object.defineProperty(target, name, {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
_export(exports, {
|
|
12
|
+
get textClassNames () {
|
|
13
|
+
return textClassNames;
|
|
14
|
+
},
|
|
15
|
+
get useTextStyles_unstable () {
|
|
16
|
+
return useTextStyles_unstable;
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
const _interop_require_default = require("@swc/helpers/_/_interop_require_default");
|
|
20
|
+
const _clsx = require("clsx");
|
|
21
|
+
const _Textmodulecss = /*#__PURE__*/ _interop_require_default._(require("./Text.module.css"));
|
|
22
|
+
const textClassNames = {
|
|
23
|
+
root: 'fui-Text'
|
|
24
|
+
};
|
|
25
|
+
const useTextStyles_unstable = (state)=>{
|
|
26
|
+
state.root.className = (0, _clsx.clsx)(textClassNames.root, _Textmodulecss.default.root, state.wrap === false && _Textmodulecss.default.nowrap, state.truncate && _Textmodulecss.default.truncate, state.block && _Textmodulecss.default.block, state.italic && _Textmodulecss.default.italic, state.underline && _Textmodulecss.default.underline, state.strikethrough && _Textmodulecss.default.strikethrough, _Textmodulecss.default[`size${state.size}`], _Textmodulecss.default[state.font], _Textmodulecss.default[state.weight], _Textmodulecss.default[state.align], state.root.className);
|
|
27
|
+
return state;
|
|
28
|
+
};
|
|
@@ -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":";;;;;;;;;;;QAKaE;;;;;;;;sBALQ,OAAO;wEAGT,oBAAoB;AAEhC,uBAAkD;IACvDC,MAAM;AACR,EAAE;AAEK,MAAMC,yBAAyB,CAACC;IACrCA,MAAMF,IAAI,CAACG,SAAS,OAAGN,UAAAA,EACrBE,eAAeC,IAAI,EACnBF,sBAAAA,CAAOE,IAAI,EACXE,MAAME,IAAI,KAAK,SAASN,sBAAAA,CAAOO,MAAM,EACrCH,MAAMI,QAAQ,IAAIR,sBAAAA,CAAOQ,QAAQ,EACjCJ,MAAMK,KAAK,IAAIT,sBAAAA,CAAOS,KAAK,EAC3BL,MAAMM,MAAM,IAAIV,sBAAAA,CAAOU,MAAM,EAC7BN,MAAMO,SAAS,IAAIX,sBAAAA,CAAOW,SAAS,EACnCP,MAAMQ,aAAa,IAAIZ,sBAAAA,CAAOY,aAAa,EAC3CZ,sBAAM,CAAC,CAAC,IAAI,EAAEI,MAAMS,IAAI,EAAE,CAAC,EAC3Bb,sBAAM,CAACI,MAAMU,IAAI,CAAC,EAClBd,sBAAM,CAACI,MAAMW,MAAM,CAAC,EACpBf,sBAAM,CAACI,MAAMY,KAAK,CAAC,EACnBZ,MAAMF,IAAI,CAACG,SAAS;IAEtB,OAAOD;AACT,EAAE"}
|
|
@@ -6,14 +6,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
function _export(target, all) {
|
|
7
7
|
for(var name in all)Object.defineProperty(target, name, {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: all
|
|
9
|
+
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
10
10
|
});
|
|
11
11
|
}
|
|
12
12
|
_export(exports, {
|
|
13
|
-
textClassNames
|
|
13
|
+
get textClassNames () {
|
|
14
14
|
return textClassNames;
|
|
15
15
|
},
|
|
16
|
-
useTextStyles_unstable
|
|
16
|
+
get useTextStyles_unstable () {
|
|
17
17
|
return useTextStyles_unstable;
|
|
18
18
|
}
|
|
19
19
|
});
|
|
@@ -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":"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"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3
|
+
value: true
|
|
4
|
+
});
|
|
5
|
+
function _export(target, all) {
|
|
6
|
+
for(var name in all)Object.defineProperty(target, name, {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
_export(exports, {
|
|
12
|
+
get textClassNames () {
|
|
13
|
+
return textClassNames;
|
|
14
|
+
},
|
|
15
|
+
get useTextStyles_unstable () {
|
|
16
|
+
return useTextStyles_unstable;
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
const _interop_require_default = require("@swc/helpers/_/_interop_require_default");
|
|
20
|
+
const _clsx = require("clsx");
|
|
21
|
+
const _Textmodulecss = /*#__PURE__*/ _interop_require_default._(require("./Text.module.css"));
|
|
22
|
+
const textClassNames = {
|
|
23
|
+
root: 'fui-Text'
|
|
24
|
+
};
|
|
25
|
+
const useTextStyles_unstable = (state)=>{
|
|
26
|
+
state.root.className = (0, _clsx.clsx)(textClassNames.root, _Textmodulecss.default.root, state.wrap === false && _Textmodulecss.default.nowrap, state.truncate && _Textmodulecss.default.truncate, state.block && _Textmodulecss.default.block, state.italic && _Textmodulecss.default.italic, state.underline && _Textmodulecss.default.underline, state.strikethrough && _Textmodulecss.default.strikethrough, _Textmodulecss.default[`size${state.size}`], _Textmodulecss.default[state.font], _Textmodulecss.default[state.weight], _Textmodulecss.default[state.align], state.root.className);
|
|
27
|
+
return state;
|
|
28
|
+
};
|
|
@@ -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":";;;;;;;;;;;QAKaE;;;;;;;;sBALQ,OAAO;wEAGT,oBAAoB;AAEhC,uBAAkD;IACvDC,MAAM;AACR,EAAE;AAEK,MAAMC,yBAAyB,CAACC;IACrCA,MAAMF,IAAI,CAACG,SAAS,OAAGN,UAAAA,EACrBE,eAAeC,IAAI,EACnBF,sBAAAA,CAAOE,IAAI,EACXE,MAAME,IAAI,KAAK,SAASN,sBAAAA,CAAOO,MAAM,EACrCH,MAAMI,QAAQ,IAAIR,sBAAAA,CAAOQ,QAAQ,EACjCJ,MAAMK,KAAK,IAAIT,sBAAAA,CAAOS,KAAK,EAC3BL,MAAMM,MAAM,IAAIV,sBAAAA,CAAOU,MAAM,EAC7BN,MAAMO,SAAS,IAAIX,sBAAAA,CAAOW,SAAS,EACnCP,MAAMQ,aAAa,IAAIZ,sBAAAA,CAAOY,aAAa,EAC3CZ,sBAAM,CAAC,CAAC,IAAI,EAAEI,MAAMS,IAAI,EAAE,CAAC,EAC3Bb,sBAAM,CAACI,MAAMU,IAAI,CAAC,EAClBd,sBAAM,CAACI,MAAMW,MAAM,CAAC,EACpBf,sBAAM,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/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;;;;;;;;;;;8BAG6B,qBAAkB;sCAEC,6BAA0B;AAKnE,MAAMG,YAAkDH,0BAAAA,EAAa;IAC1EI,WAAWF,oCAAAA;IACXG,WAAWJ,qCAAAA,CAAgBK,IAAI;IAC/BC,aAAa;AACf,GAAG"}
|
|
@@ -5,14 +5,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
function _export(target, all) {
|
|
6
6
|
for(var name in all)Object.defineProperty(target, name, {
|
|
7
7
|
enumerable: true,
|
|
8
|
-
get: all
|
|
8
|
+
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
9
9
|
});
|
|
10
10
|
}
|
|
11
11
|
_export(exports, {
|
|
12
|
-
Body1
|
|
12
|
+
get Body1 () {
|
|
13
13
|
return _Body1.Body1;
|
|
14
14
|
},
|
|
15
|
-
body1ClassNames
|
|
15
|
+
get body1ClassNames () {
|
|
16
16
|
return _useBody1Stylesstyles.body1ClassNames;
|
|
17
17
|
}
|
|
18
18
|
});
|
|
@@ -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":";;;;;;;;;;;;eAASA,YAAK;;;eACLC,qCAAe;;;uBADF,aAAU;sCACA,6BAA0B"}
|
|
@@ -6,14 +6,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
function _export(target, all) {
|
|
7
7
|
for(var name in all)Object.defineProperty(target, name, {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: all
|
|
9
|
+
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
10
10
|
});
|
|
11
11
|
}
|
|
12
12
|
_export(exports, {
|
|
13
|
-
body1ClassNames
|
|
13
|
+
get body1ClassNames () {
|
|
14
14
|
return body1ClassNames;
|
|
15
15
|
},
|
|
16
|
-
useBody1Styles
|
|
16
|
+
get useBody1Styles () {
|
|
17
17
|
return useBody1Styles;
|
|
18
18
|
}
|
|
19
19
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["useBody1Styles.styles.js"],"sourcesContent":["'use client';\nimport { makeStyles } from \"@griffel/react\";\nimport { typographyStyles } from \"@fluentui/react-theme\";\nexport const body1ClassNames = {\n root: 'fui-Body1'\n};\n/**\n * Styles for the root slot\n */ export const useBody1Styles = makeStyles({\n root: typographyStyles.body1\n});\n"],"names":["__styles","typographyStyles","body1ClassNames","root","useBody1Styles","Bahqtrf","Be2twd7","Bhrd7zp","Bg96gwp","d"],"mappings":"AAAA,YAAY
|
|
1
|
+
{"version":3,"sources":["useBody1Styles.styles.js"],"sourcesContent":["'use client';\nimport { makeStyles } from \"@griffel/react\";\nimport { typographyStyles } from \"@fluentui/react-theme\";\nexport const body1ClassNames = {\n root: 'fui-Body1'\n};\n/**\n * Styles for the root slot\n */ export const useBody1Styles = makeStyles({\n root: typographyStyles.body1\n});\n"],"names":["__styles","typographyStyles","body1ClassNames","root","useBody1Styles","Bahqtrf","Be2twd7","Bhrd7zp","Bg96gwp","d"],"mappings":"AAAA,YAAY;;;;;;;;;;;;;;;;;;;uBACe,gBAAgB;AAEpC,MAAME,eAAe,GAAG;IAC3BC,IAAI,EAAE;AACV,CAAC;AAGU,MAAMC,cAAc,GAAA,WAAA,OAAGJ,eAAA,EAAA;IAAAG,IAAA,EAAA;QAAAE,OAAA,EAAA;QAAAC,OAAA,EAAA;QAAAC,OAAA,EAAA;QAAAC,OAAA,EAAA;IAAA;AAAA,GAAA;IAAAC,CAAA,EAAA;QAAA;QAAA;QAAA;QAAA;KAAA;AAAA,CAEjC,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3
|
+
value: true
|
|
4
|
+
});
|
|
5
|
+
function _export(target, all) {
|
|
6
|
+
for(var name in all)Object.defineProperty(target, name, {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
_export(exports, {
|
|
12
|
+
get body1ClassNames () {
|
|
13
|
+
return body1ClassNames;
|
|
14
|
+
},
|
|
15
|
+
get useBody1Styles () {
|
|
16
|
+
return useBody1Styles;
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
const _interop_require_default = require("@swc/helpers/_/_interop_require_default");
|
|
20
|
+
const _TextPresetsmodulecss = /*#__PURE__*/ _interop_require_default._(require("../TextPresets.module.css"));
|
|
21
|
+
const body1ClassNames = {
|
|
22
|
+
root: 'fui-Body1'
|
|
23
|
+
};
|
|
24
|
+
const useBody1Styles = ()=>({
|
|
25
|
+
root: _TextPresetsmodulecss.default.body1
|
|
26
|
+
});
|
|
@@ -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":";;;;;;;;;;;;;;;;;;;+EAEmB,4BAA4B;AAExC,MAAMC,kBAA6C;IAAEC,MAAM;AAAY,EAAE;AACzE,MAAMC,iBAAiB,IAA+B,CAAA;QAAED,MAAMF,6BAAAA,CAAOI,KAAK;KAAC,CAAA,EAAG"}
|
|
@@ -6,14 +6,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
function _export(target, all) {
|
|
7
7
|
for(var name in all)Object.defineProperty(target, name, {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: all
|
|
9
|
+
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
10
10
|
});
|
|
11
11
|
}
|
|
12
12
|
_export(exports, {
|
|
13
|
-
body1ClassNames
|
|
13
|
+
get body1ClassNames () {
|
|
14
14
|
return body1ClassNames;
|
|
15
15
|
},
|
|
16
|
-
useBody1Styles
|
|
16
|
+
get useBody1Styles () {
|
|
17
17
|
return useBody1Styles;
|
|
18
18
|
}
|
|
19
19
|
});
|
|
@@ -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;;;;;;;;;;;;;;;;;;;uBAE2B,iBAAiB;4BAGX,wBAAwB;AAElD,MAAME,kBAA6C;IACxDC,MAAM;AACR,EAAE;AAKK,MAAMC,qBAAiBJ,iBAAAA,EAAW;IACvCG,MAAMF,4BAAAA,CAAiBI,KAAK;AAC9B,GAAG"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3
|
+
value: true
|
|
4
|
+
});
|
|
5
|
+
function _export(target, all) {
|
|
6
|
+
for(var name in all)Object.defineProperty(target, name, {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
_export(exports, {
|
|
12
|
+
get body1ClassNames () {
|
|
13
|
+
return body1ClassNames;
|
|
14
|
+
},
|
|
15
|
+
get useBody1Styles () {
|
|
16
|
+
return useBody1Styles;
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
const _interop_require_default = require("@swc/helpers/_/_interop_require_default");
|
|
20
|
+
const _TextPresetsmodulecss = /*#__PURE__*/ _interop_require_default._(require("../TextPresets.module.css"));
|
|
21
|
+
const body1ClassNames = {
|
|
22
|
+
root: 'fui-Body1'
|
|
23
|
+
};
|
|
24
|
+
const useBody1Styles = ()=>({
|
|
25
|
+
root: _TextPresetsmodulecss.default.body1
|
|
26
|
+
});
|
|
@@ -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":";;;;;;;;;;;;;;;;;;;+EAEmB,4BAA4B;AAExC,MAAMC,kBAA6C;IAAEC,MAAM;AAAY,EAAE;AACzE,MAAMC,iBAAiB,IAA+B,CAAA;QAAED,MAAMF,6BAAAA,CAAOI,KAAK;KAAC,CAAA,EAAG"}
|
|
@@ -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;;;;;;;;;;;8BAG6B,qBAAkB;4CAEa,mCAAgC;AAKrF,MAAMG,kBAAwDH,0BAAAA,EAAa;IAChFI,WAAWF,gDAAAA;IACXG,WAAWJ,iDAAAA,CAAsBK,IAAI;IACrCC,aAAa;AACf,GAAG"}
|
|
@@ -5,14 +5,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
function _export(target, all) {
|
|
6
6
|
for(var name in all)Object.defineProperty(target, name, {
|
|
7
7
|
enumerable: true,
|
|
8
|
-
get: all
|
|
8
|
+
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
9
9
|
});
|
|
10
10
|
}
|
|
11
11
|
_export(exports, {
|
|
12
|
-
Body1Strong
|
|
12
|
+
get Body1Strong () {
|
|
13
13
|
return _Body1Strong.Body1Strong;
|
|
14
14
|
},
|
|
15
|
-
body1StrongClassNames
|
|
15
|
+
get body1StrongClassNames () {
|
|
16
16
|
return _useBody1StrongStylesstyles.body1StrongClassNames;
|
|
17
17
|
}
|
|
18
18
|
});
|
|
@@ -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":";;;;;;;;;;;;eAASA,wBAAW;;;eACXC,iDAAqB;;;6BADF,mBAAgB;4CACN,mCAAgC"}
|
|
@@ -6,14 +6,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
function _export(target, all) {
|
|
7
7
|
for(var name in all)Object.defineProperty(target, name, {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: all
|
|
9
|
+
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
10
10
|
});
|
|
11
11
|
}
|
|
12
12
|
_export(exports, {
|
|
13
|
-
body1StrongClassNames
|
|
13
|
+
get body1StrongClassNames () {
|
|
14
14
|
return body1StrongClassNames;
|
|
15
15
|
},
|
|
16
|
-
useBody1StrongStyles
|
|
16
|
+
get useBody1StrongStyles () {
|
|
17
17
|
return useBody1StrongStyles;
|
|
18
18
|
}
|
|
19
19
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["useBody1StrongStyles.styles.js"],"sourcesContent":["'use client';\nimport { makeStyles } from \"@griffel/react\";\nimport { typographyStyles } from \"@fluentui/react-theme\";\nexport const body1StrongClassNames = {\n root: 'fui-Body1Strong'\n};\n/**\n * Styles for the root slot\n */ export const useBody1StrongStyles = makeStyles({\n root: typographyStyles.body1Strong\n});\n"],"names":["__styles","typographyStyles","body1StrongClassNames","root","useBody1StrongStyles","Bahqtrf","Be2twd7","Bhrd7zp","Bg96gwp","d"],"mappings":"AAAA,YAAY
|
|
1
|
+
{"version":3,"sources":["useBody1StrongStyles.styles.js"],"sourcesContent":["'use client';\nimport { makeStyles } from \"@griffel/react\";\nimport { typographyStyles } from \"@fluentui/react-theme\";\nexport const body1StrongClassNames = {\n root: 'fui-Body1Strong'\n};\n/**\n * Styles for the root slot\n */ export const useBody1StrongStyles = makeStyles({\n root: typographyStyles.body1Strong\n});\n"],"names":["__styles","typographyStyles","body1StrongClassNames","root","useBody1StrongStyles","Bahqtrf","Be2twd7","Bhrd7zp","Bg96gwp","d"],"mappings":"AAAA,YAAY;;;;;;;;;;;;;;;;;;;uBACe,gBAAgB;AAEpC,MAAME,qBAAqB,GAAG;IACjCC,IAAI,EAAE;AACV,CAAC;AAGU,MAAMC,oBAAoB,GAAA,WAAA,OAAGJ,eAAA,EAAA;IAAAG,IAAA,EAAA;QAAAE,OAAA,EAAA;QAAAC,OAAA,EAAA;QAAAC,OAAA,EAAA;QAAAC,OAAA,EAAA;IAAA;AAAA,GAAA;IAAAC,CAAA,EAAA;QAAA;QAAA;QAAA;QAAA;KAAA;AAAA,CAEvC,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3
|
+
value: true
|
|
4
|
+
});
|
|
5
|
+
function _export(target, all) {
|
|
6
|
+
for(var name in all)Object.defineProperty(target, name, {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
_export(exports, {
|
|
12
|
+
get body1StrongClassNames () {
|
|
13
|
+
return body1StrongClassNames;
|
|
14
|
+
},
|
|
15
|
+
get useBody1StrongStyles () {
|
|
16
|
+
return useBody1StrongStyles;
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
const _interop_require_default = require("@swc/helpers/_/_interop_require_default");
|
|
20
|
+
const _TextPresetsmodulecss = /*#__PURE__*/ _interop_require_default._(require("../TextPresets.module.css"));
|
|
21
|
+
const body1StrongClassNames = {
|
|
22
|
+
root: 'fui-Body1Strong'
|
|
23
|
+
};
|
|
24
|
+
const useBody1StrongStyles = ()=>({
|
|
25
|
+
root: _TextPresetsmodulecss.default.body1Strong
|
|
26
|
+
});
|
|
@@ -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":";;;;;;;;;;;;;;;;;;;+EAEmB,4BAA4B;AAExC,MAAMC,wBAAmD;IAAEC,MAAM;AAAkB,EAAE;AACrF,MAAMC,uBAAuB,IAA+B,CAAA;QAAED,MAAMF,6BAAAA,CAAOI,WAAW;KAAC,CAAA,EAAG"}
|
|
@@ -6,14 +6,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
function _export(target, all) {
|
|
7
7
|
for(var name in all)Object.defineProperty(target, name, {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: all
|
|
9
|
+
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
10
10
|
});
|
|
11
11
|
}
|
|
12
12
|
_export(exports, {
|
|
13
|
-
body1StrongClassNames
|
|
13
|
+
get body1StrongClassNames () {
|
|
14
14
|
return body1StrongClassNames;
|
|
15
15
|
},
|
|
16
|
-
useBody1StrongStyles
|
|
16
|
+
get useBody1StrongStyles () {
|
|
17
17
|
return useBody1StrongStyles;
|
|
18
18
|
}
|
|
19
19
|
});
|
|
@@ -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;;;;;;;;;;;;;;;;;;;uBAE2B,iBAAiB;4BAGX,wBAAwB;AAElD,MAAME,wBAAmD;IAC9DC,MAAM;AACR,EAAE;AAKK,MAAMC,2BAAuBJ,iBAAAA,EAAW;IAC7CG,MAAMF,4BAAAA,CAAiBI,WAAW;AACpC,GAAG"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3
|
+
value: true
|
|
4
|
+
});
|
|
5
|
+
function _export(target, all) {
|
|
6
|
+
for(var name in all)Object.defineProperty(target, name, {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
_export(exports, {
|
|
12
|
+
get body1StrongClassNames () {
|
|
13
|
+
return body1StrongClassNames;
|
|
14
|
+
},
|
|
15
|
+
get useBody1StrongStyles () {
|
|
16
|
+
return useBody1StrongStyles;
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
const _interop_require_default = require("@swc/helpers/_/_interop_require_default");
|
|
20
|
+
const _TextPresetsmodulecss = /*#__PURE__*/ _interop_require_default._(require("../TextPresets.module.css"));
|
|
21
|
+
const body1StrongClassNames = {
|
|
22
|
+
root: 'fui-Body1Strong'
|
|
23
|
+
};
|
|
24
|
+
const useBody1StrongStyles = ()=>({
|
|
25
|
+
root: _TextPresetsmodulecss.default.body1Strong
|
|
26
|
+
});
|
package/lib-commonjs/components/presets/Body1Strong/useBody1StrongStyles.styles.raw.css.cjs.map
ADDED
|
@@ -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":";;;;;;;;;;;;;;;;;;;+EAEmB,4BAA4B;AAExC,MAAMC,wBAAmD;IAAEC,MAAM;AAAkB,EAAE;AACrF,MAAMC,uBAAuB,IAA+B,CAAA;QAAED,MAAMF,6BAAAA,CAAOI,WAAW;KAAC,CAAA,EAAG"}
|
|
@@ -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;;;;;;;;;;;8BAG6B,qBAAkB;8CAEiB,qCAAkC;AAK3F,MAAMG,oBAA0DH,0BAAAA,EAAa;IAClFI,WAAWF,oDAAAA;IACXG,WAAWJ,qDAAAA,CAAwBK,IAAI;IACvCC,aAAa;AACf,GAAG"}
|