@fluentui/react-text 9.1.14 → 9.2.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.json +22 -1
- package/CHANGELOG.md +12 -2
- package/dist/index.d.ts +75 -23
- package/lib/Body1.js +1 -1
- package/lib/Body1.js.map +1 -1
- package/lib/Body1Strong.js +2 -0
- package/lib/Body1Strong.js.map +1 -0
- package/lib/Body1Stronger.js +2 -0
- package/lib/Body1Stronger.js.map +1 -0
- package/lib/Body2.js +2 -0
- package/lib/Body2.js.map +1 -0
- package/lib/Caption1.js +1 -1
- package/lib/Caption1.js.map +1 -1
- package/lib/Caption1Strong.js +2 -0
- package/lib/Caption1Strong.js.map +1 -0
- package/lib/Caption1Stronger.js +2 -0
- package/lib/Caption1Stronger.js.map +1 -0
- package/lib/Caption2.js +1 -1
- package/lib/Caption2.js.map +1 -1
- package/lib/Caption2Strong.js +2 -0
- package/lib/Caption2Strong.js.map +1 -0
- package/lib/Display.js +1 -1
- package/lib/Display.js.map +1 -1
- package/lib/LargeTitle.js +1 -1
- package/lib/LargeTitle.js.map +1 -1
- package/lib/Subtitle1.js +1 -1
- package/lib/Subtitle1.js.map +1 -1
- package/lib/Subtitle2.js +1 -1
- package/lib/Subtitle2.js.map +1 -1
- package/lib/Subtitle2Stronger.js +2 -0
- package/lib/Subtitle2Stronger.js.map +1 -0
- package/lib/Title1.js +1 -1
- package/lib/Title1.js.map +1 -1
- package/lib/Title2.js +1 -1
- package/lib/Title2.js.map +1 -1
- package/lib/Title3.js +1 -1
- package/lib/Title3.js.map +1 -1
- package/lib/components/Text/Text.types.js.map +1 -1
- package/lib/components/{Body1 → presets/Body1}/Body1.js +3 -3
- package/lib/components/presets/Body1/Body1.js.map +1 -0
- package/lib/components/{Body1 → presets/Body1}/index.js +0 -0
- package/lib/components/presets/Body1/index.js.map +1 -0
- package/lib/components/presets/Body1Strong/Body1Strong.js +28 -0
- package/lib/components/presets/Body1Strong/Body1Strong.js.map +1 -0
- package/lib/components/presets/Body1Strong/index.js +2 -0
- package/lib/components/presets/Body1Strong/index.js.map +1 -0
- package/lib/components/presets/Body1Stronger/Body1Stronger.js +28 -0
- package/lib/components/presets/Body1Stronger/Body1Stronger.js.map +1 -0
- package/lib/components/presets/Body1Stronger/index.js +2 -0
- package/lib/components/presets/Body1Stronger/index.js.map +1 -0
- package/lib/components/presets/Body2/Body2.js +28 -0
- package/lib/components/presets/Body2/Body2.js.map +1 -0
- package/lib/components/presets/Body2/index.js +2 -0
- package/lib/components/presets/Body2/index.js.map +1 -0
- package/lib/components/{Caption1 → presets/Caption1}/Caption1.js +3 -3
- package/lib/components/presets/Caption1/Caption1.js.map +1 -0
- package/lib/components/{Caption1 → presets/Caption1}/index.js +0 -0
- package/lib/components/presets/Caption1/index.js.map +1 -0
- package/lib/components/presets/Caption1Strong/Caption1Strong.js +28 -0
- package/lib/components/presets/Caption1Strong/Caption1Strong.js.map +1 -0
- package/lib/components/presets/Caption1Strong/index.js +2 -0
- package/lib/components/presets/Caption1Strong/index.js.map +1 -0
- package/lib/components/presets/Caption1Stronger/Caption1Stronger.js +28 -0
- package/lib/components/presets/Caption1Stronger/Caption1Stronger.js.map +1 -0
- package/lib/components/presets/Caption1Stronger/index.js +2 -0
- package/lib/components/presets/Caption1Stronger/index.js.map +1 -0
- package/lib/components/{Caption2 → presets/Caption2}/Caption2.js +3 -3
- package/lib/components/presets/Caption2/Caption2.js.map +1 -0
- package/lib/components/{Caption2 → presets/Caption2}/index.js +0 -0
- package/lib/components/presets/Caption2/index.js.map +1 -0
- package/lib/components/presets/Caption2Strong/Caption2Strong.js +28 -0
- package/lib/components/presets/Caption2Strong/Caption2Strong.js.map +1 -0
- package/lib/components/presets/Caption2Strong/index.js +2 -0
- package/lib/components/presets/Caption2Strong/index.js.map +1 -0
- package/lib/components/{Display → presets/Display}/Display.js +3 -3
- package/lib/components/presets/Display/Display.js.map +1 -0
- package/lib/components/{Display → presets/Display}/index.js +0 -0
- package/lib/components/presets/Display/index.js.map +1 -0
- package/lib/components/{LargeTitle → presets/LargeTitle}/LargeTitle.js +3 -3
- package/lib/components/presets/LargeTitle/LargeTitle.js.map +1 -0
- package/lib/components/{LargeTitle → presets/LargeTitle}/index.js +0 -0
- package/lib/components/presets/LargeTitle/index.js.map +1 -0
- package/lib/components/{Subtitle1 → presets/Subtitle1}/Subtitle1.js +3 -3
- package/lib/components/presets/Subtitle1/Subtitle1.js.map +1 -0
- package/lib/components/{Subtitle1 → presets/Subtitle1}/index.js +0 -0
- package/lib/components/presets/Subtitle1/index.js.map +1 -0
- package/lib/components/{Subtitle2 → presets/Subtitle2}/Subtitle2.js +3 -3
- package/lib/components/presets/Subtitle2/Subtitle2.js.map +1 -0
- package/lib/components/{Subtitle2 → presets/Subtitle2}/index.js +0 -0
- package/lib/components/presets/Subtitle2/index.js.map +1 -0
- package/lib/components/presets/Subtitle2Stronger/Subtitle2Stronger.js +28 -0
- package/lib/components/presets/Subtitle2Stronger/Subtitle2Stronger.js.map +1 -0
- package/lib/components/presets/Subtitle2Stronger/index.js +2 -0
- package/lib/components/presets/Subtitle2Stronger/index.js.map +1 -0
- package/lib/components/{Title1 → presets/Title1}/Title1.js +3 -3
- package/lib/components/presets/Title1/Title1.js.map +1 -0
- package/lib/components/{Title1 → presets/Title1}/index.js +0 -0
- package/lib/components/presets/Title1/index.js.map +1 -0
- package/lib/components/{Title2 → presets/Title2}/Title2.js +3 -3
- package/lib/components/presets/Title2/Title2.js.map +1 -0
- package/lib/components/{Title2 → presets/Title2}/index.js +0 -0
- package/lib/components/presets/Title2/index.js.map +1 -0
- package/lib/components/{Title3 → presets/Title3}/Title3.js +3 -3
- package/lib/components/presets/Title3/Title3.js.map +1 -0
- package/lib/components/{Title3 → presets/Title3}/index.js +0 -0
- package/lib/components/presets/Title3/index.js.map +1 -0
- package/lib/components/{wrapper.js → presets/createPreset.js} +2 -2
- package/lib/components/presets/createPreset.js.map +1 -0
- package/lib/index.js +12 -5
- package/lib/index.js.map +1 -1
- package/lib-amd/Body1.js +1 -1
- package/lib-amd/Body1.js.map +1 -1
- package/lib-amd/Body1Strong.js +6 -0
- package/lib-amd/Body1Strong.js.map +1 -0
- package/lib-amd/Body1Stronger.js +6 -0
- package/lib-amd/Body1Stronger.js.map +1 -0
- package/lib-amd/Body2.js +6 -0
- package/lib-amd/Body2.js.map +1 -0
- package/lib-amd/Caption1.js +1 -1
- package/lib-amd/Caption1.js.map +1 -1
- package/lib-amd/Caption1Strong.js +6 -0
- package/lib-amd/Caption1Strong.js.map +1 -0
- package/lib-amd/Caption1Stronger.js +6 -0
- package/lib-amd/Caption1Stronger.js.map +1 -0
- package/lib-amd/Caption2.js +1 -1
- package/lib-amd/Caption2.js.map +1 -1
- package/lib-amd/Caption2Strong.js +6 -0
- package/lib-amd/Caption2Strong.js.map +1 -0
- package/lib-amd/Display.js +1 -1
- package/lib-amd/Display.js.map +1 -1
- package/lib-amd/LargeTitle.js +1 -1
- package/lib-amd/LargeTitle.js.map +1 -1
- package/lib-amd/Subtitle1.js +1 -1
- package/lib-amd/Subtitle1.js.map +1 -1
- package/lib-amd/Subtitle2.js +1 -1
- package/lib-amd/Subtitle2.js.map +1 -1
- package/lib-amd/Subtitle2Stronger.js +6 -0
- package/lib-amd/Subtitle2Stronger.js.map +1 -0
- package/lib-amd/Title1.js +1 -1
- package/lib-amd/Title1.js.map +1 -1
- package/lib-amd/Title2.js +1 -1
- package/lib-amd/Title2.js.map +1 -1
- package/lib-amd/Title3.js +1 -1
- package/lib-amd/Title3.js.map +1 -1
- package/lib-amd/components/Text/Text.types.js.map +1 -1
- package/lib-amd/components/{Body1 → presets/Body1}/Body1.js +3 -3
- package/lib-amd/components/presets/Body1/Body1.js.map +1 -0
- package/lib-amd/components/{Body1 → presets/Body1}/index.js +0 -0
- package/lib-amd/components/presets/Body1/index.js.map +1 -0
- package/lib-amd/components/presets/Body1Strong/Body1Strong.js +23 -0
- package/lib-amd/components/presets/Body1Strong/Body1Strong.js.map +1 -0
- package/lib-amd/components/presets/Body1Strong/index.js +6 -0
- package/lib-amd/components/presets/Body1Strong/index.js.map +1 -0
- package/lib-amd/components/presets/Body1Stronger/Body1Stronger.js +23 -0
- package/lib-amd/components/presets/Body1Stronger/Body1Stronger.js.map +1 -0
- package/lib-amd/components/presets/Body1Stronger/index.js +6 -0
- package/lib-amd/components/presets/Body1Stronger/index.js.map +1 -0
- package/lib-amd/components/presets/Body2/Body2.js +23 -0
- package/lib-amd/components/presets/Body2/Body2.js.map +1 -0
- package/lib-amd/components/presets/Body2/index.js +6 -0
- package/lib-amd/components/presets/Body2/index.js.map +1 -0
- package/lib-amd/components/{Caption1 → presets/Caption1}/Caption1.js +3 -3
- package/lib-amd/components/presets/Caption1/Caption1.js.map +1 -0
- package/lib-amd/components/{Caption1 → presets/Caption1}/index.js +0 -0
- package/lib-amd/components/presets/Caption1/index.js.map +1 -0
- package/lib-amd/components/presets/Caption1Strong/Caption1Strong.js +23 -0
- package/lib-amd/components/presets/Caption1Strong/Caption1Strong.js.map +1 -0
- package/lib-amd/components/presets/Caption1Strong/index.js +6 -0
- package/lib-amd/components/presets/Caption1Strong/index.js.map +1 -0
- package/lib-amd/components/presets/Caption1Stronger/Caption1Stronger.js +23 -0
- package/lib-amd/components/presets/Caption1Stronger/Caption1Stronger.js.map +1 -0
- package/lib-amd/components/presets/Caption1Stronger/index.js +6 -0
- package/lib-amd/components/presets/Caption1Stronger/index.js.map +1 -0
- package/lib-amd/components/{Caption2 → presets/Caption2}/Caption2.js +3 -3
- package/lib-amd/components/presets/Caption2/Caption2.js.map +1 -0
- package/lib-amd/components/{Caption2 → presets/Caption2}/index.js +0 -0
- package/lib-amd/components/presets/Caption2/index.js.map +1 -0
- package/lib-amd/components/presets/Caption2Strong/Caption2Strong.js +23 -0
- package/lib-amd/components/presets/Caption2Strong/Caption2Strong.js.map +1 -0
- package/lib-amd/components/presets/Caption2Strong/index.js +6 -0
- package/lib-amd/components/presets/Caption2Strong/index.js.map +1 -0
- package/lib-amd/components/{Display → presets/Display}/Display.js +3 -3
- package/lib-amd/components/presets/Display/Display.js.map +1 -0
- package/lib-amd/components/{Display → presets/Display}/index.js +0 -0
- package/lib-amd/components/presets/Display/index.js.map +1 -0
- package/lib-amd/components/{LargeTitle → presets/LargeTitle}/LargeTitle.js +3 -3
- package/lib-amd/components/presets/LargeTitle/LargeTitle.js.map +1 -0
- package/lib-amd/components/{LargeTitle → presets/LargeTitle}/index.js +0 -0
- package/lib-amd/components/presets/LargeTitle/index.js.map +1 -0
- package/lib-amd/components/{Subtitle1 → presets/Subtitle1}/Subtitle1.js +3 -3
- package/lib-amd/components/presets/Subtitle1/Subtitle1.js.map +1 -0
- package/lib-amd/components/{Subtitle1 → presets/Subtitle1}/index.js +0 -0
- package/lib-amd/components/presets/Subtitle1/index.js.map +1 -0
- package/lib-amd/components/{Subtitle2 → presets/Subtitle2}/Subtitle2.js +3 -3
- package/lib-amd/components/presets/Subtitle2/Subtitle2.js.map +1 -0
- package/lib-amd/components/{Subtitle2 → presets/Subtitle2}/index.js +0 -0
- package/lib-amd/components/presets/Subtitle2/index.js.map +1 -0
- package/lib-amd/components/presets/Subtitle2Stronger/Subtitle2Stronger.js +23 -0
- package/lib-amd/components/presets/Subtitle2Stronger/Subtitle2Stronger.js.map +1 -0
- package/lib-amd/components/presets/Subtitle2Stronger/index.js +6 -0
- package/lib-amd/components/presets/Subtitle2Stronger/index.js.map +1 -0
- package/lib-amd/components/{Title1 → presets/Title1}/Title1.js +3 -3
- package/lib-amd/components/presets/Title1/Title1.js.map +1 -0
- package/lib-amd/components/{Title1 → presets/Title1}/index.js +0 -0
- package/lib-amd/components/presets/Title1/index.js.map +1 -0
- package/lib-amd/components/{Title2 → presets/Title2}/Title2.js +3 -3
- package/lib-amd/components/presets/Title2/Title2.js.map +1 -0
- package/lib-amd/components/{Title2 → presets/Title2}/index.js +0 -0
- package/lib-amd/components/presets/Title2/index.js.map +1 -0
- package/lib-amd/components/{Title3 → presets/Title3}/Title3.js +3 -3
- package/lib-amd/components/presets/Title3/Title3.js.map +1 -0
- package/lib-amd/components/{Title3 → presets/Title3}/index.js +0 -0
- package/lib-amd/components/presets/Title3/index.js.map +1 -0
- package/lib-amd/components/{wrapper.js → presets/createPreset.js} +4 -4
- package/lib-amd/components/presets/createPreset.js.map +1 -0
- package/lib-amd/index.js +26 -12
- package/lib-amd/index.js.map +1 -1
- package/lib-commonjs/Body1.js +1 -1
- package/lib-commonjs/Body1.js.map +1 -1
- package/lib-commonjs/Body1Strong.js +8 -0
- package/lib-commonjs/Body1Strong.js.map +1 -0
- package/lib-commonjs/Body1Stronger.js +8 -0
- package/lib-commonjs/Body1Stronger.js.map +1 -0
- package/lib-commonjs/Body2.js +8 -0
- package/lib-commonjs/{components/Caption2/index.js.map → Body2.js.map} +1 -1
- package/lib-commonjs/Caption1.js +1 -1
- package/lib-commonjs/Caption1.js.map +1 -1
- package/lib-commonjs/Caption1Strong.js +8 -0
- package/lib-commonjs/Caption1Strong.js.map +1 -0
- package/lib-commonjs/Caption1Stronger.js +8 -0
- package/lib-commonjs/Caption1Stronger.js.map +1 -0
- package/lib-commonjs/Caption2.js +1 -1
- package/lib-commonjs/Caption2.js.map +1 -1
- package/lib-commonjs/Caption2Strong.js +8 -0
- package/lib-commonjs/Caption2Strong.js.map +1 -0
- package/lib-commonjs/Display.js +1 -1
- package/lib-commonjs/Display.js.map +1 -1
- package/lib-commonjs/LargeTitle.js +1 -1
- package/lib-commonjs/LargeTitle.js.map +1 -1
- package/lib-commonjs/Subtitle1.js +1 -1
- package/lib-commonjs/Subtitle1.js.map +1 -1
- package/lib-commonjs/Subtitle2.js +1 -1
- package/lib-commonjs/Subtitle2.js.map +1 -1
- package/lib-commonjs/Subtitle2Stronger.js +8 -0
- package/lib-commonjs/Subtitle2Stronger.js.map +1 -0
- package/lib-commonjs/Title1.js +1 -1
- package/lib-commonjs/Title1.js.map +1 -1
- package/lib-commonjs/Title2.js +1 -1
- package/lib-commonjs/Title2.js.map +1 -1
- package/lib-commonjs/Title3.js +1 -1
- package/lib-commonjs/Title3.js.map +1 -1
- package/lib-commonjs/components/{Body1 → presets/Body1}/Body1.js +3 -3
- package/lib-commonjs/components/presets/Body1/Body1.js.map +1 -0
- package/lib-commonjs/components/{Body1 → presets/Body1}/index.js +0 -0
- package/lib-commonjs/components/{Body1 → presets/Body1}/index.js.map +1 -1
- package/lib-commonjs/components/presets/Body1Strong/Body1Strong.js +34 -0
- package/lib-commonjs/components/presets/Body1Strong/Body1Strong.js.map +1 -0
- package/lib-commonjs/components/presets/Body1Strong/index.js +8 -0
- package/lib-commonjs/components/presets/Body1Strong/index.js.map +1 -0
- package/lib-commonjs/components/presets/Body1Stronger/Body1Stronger.js +34 -0
- package/lib-commonjs/components/presets/Body1Stronger/Body1Stronger.js.map +1 -0
- package/lib-commonjs/components/presets/Body1Stronger/index.js +8 -0
- package/lib-commonjs/components/presets/Body1Stronger/index.js.map +1 -0
- package/lib-commonjs/components/presets/Body2/Body2.js +34 -0
- package/lib-commonjs/components/presets/Body2/Body2.js.map +1 -0
- package/lib-commonjs/components/presets/Body2/index.js +8 -0
- package/lib-commonjs/components/{Caption1 → presets/Body2}/index.js.map +1 -1
- package/lib-commonjs/components/{Caption1 → presets/Caption1}/Caption1.js +3 -3
- package/lib-commonjs/components/presets/Caption1/Caption1.js.map +1 -0
- package/lib-commonjs/components/{Caption1 → presets/Caption1}/index.js +0 -0
- package/lib-commonjs/components/presets/Caption1/index.js.map +1 -0
- package/lib-commonjs/components/presets/Caption1Strong/Caption1Strong.js +34 -0
- package/lib-commonjs/components/presets/Caption1Strong/Caption1Strong.js.map +1 -0
- package/lib-commonjs/components/presets/Caption1Strong/index.js +8 -0
- package/lib-commonjs/components/presets/Caption1Strong/index.js.map +1 -0
- package/lib-commonjs/components/presets/Caption1Stronger/Caption1Stronger.js +34 -0
- package/lib-commonjs/components/presets/Caption1Stronger/Caption1Stronger.js.map +1 -0
- package/lib-commonjs/components/presets/Caption1Stronger/index.js +8 -0
- package/lib-commonjs/components/presets/Caption1Stronger/index.js.map +1 -0
- package/lib-commonjs/components/{Caption2 → presets/Caption2}/Caption2.js +3 -3
- package/lib-commonjs/components/presets/Caption2/Caption2.js.map +1 -0
- package/lib-commonjs/components/{Caption2 → presets/Caption2}/index.js +0 -0
- package/lib-commonjs/components/presets/Caption2/index.js.map +1 -0
- package/lib-commonjs/components/presets/Caption2Strong/Caption2Strong.js +34 -0
- package/lib-commonjs/components/presets/Caption2Strong/Caption2Strong.js.map +1 -0
- package/lib-commonjs/components/presets/Caption2Strong/index.js +8 -0
- package/lib-commonjs/components/presets/Caption2Strong/index.js.map +1 -0
- package/lib-commonjs/components/{Display → presets/Display}/Display.js +3 -3
- package/lib-commonjs/components/presets/Display/Display.js.map +1 -0
- package/lib-commonjs/components/{Display → presets/Display}/index.js +0 -0
- package/lib-commonjs/components/presets/Display/index.js.map +1 -0
- package/lib-commonjs/components/{LargeTitle → presets/LargeTitle}/LargeTitle.js +3 -3
- package/lib-commonjs/components/presets/LargeTitle/LargeTitle.js.map +1 -0
- package/lib-commonjs/components/{LargeTitle → presets/LargeTitle}/index.js +0 -0
- package/lib-commonjs/components/presets/LargeTitle/index.js.map +1 -0
- package/lib-commonjs/components/{Subtitle1 → presets/Subtitle1}/Subtitle1.js +3 -3
- package/lib-commonjs/components/presets/Subtitle1/Subtitle1.js.map +1 -0
- package/lib-commonjs/components/{Subtitle1 → presets/Subtitle1}/index.js +0 -0
- package/lib-commonjs/components/presets/Subtitle1/index.js.map +1 -0
- package/lib-commonjs/components/{Subtitle2 → presets/Subtitle2}/Subtitle2.js +3 -3
- package/lib-commonjs/components/presets/Subtitle2/Subtitle2.js.map +1 -0
- package/lib-commonjs/components/{Subtitle2 → presets/Subtitle2}/index.js +0 -0
- package/lib-commonjs/components/presets/Subtitle2/index.js.map +1 -0
- package/lib-commonjs/components/presets/Subtitle2Stronger/Subtitle2Stronger.js +34 -0
- package/lib-commonjs/components/presets/Subtitle2Stronger/Subtitle2Stronger.js.map +1 -0
- package/lib-commonjs/components/presets/Subtitle2Stronger/index.js +8 -0
- package/lib-commonjs/components/presets/Subtitle2Stronger/index.js.map +1 -0
- package/lib-commonjs/components/{Title1 → presets/Title1}/Title1.js +3 -3
- package/lib-commonjs/components/presets/Title1/Title1.js.map +1 -0
- package/lib-commonjs/components/{Title1 → presets/Title1}/index.js +0 -0
- package/lib-commonjs/components/{Display → presets/Title1}/index.js.map +1 -1
- package/lib-commonjs/components/{Title2 → presets/Title2}/Title2.js +3 -3
- package/lib-commonjs/components/presets/Title2/Title2.js.map +1 -0
- package/lib-commonjs/components/{Title2 → presets/Title2}/index.js +0 -0
- package/lib-commonjs/components/presets/Title2/index.js.map +1 -0
- package/lib-commonjs/components/{Title3 → presets/Title3}/Title3.js +3 -3
- package/lib-commonjs/components/presets/Title3/Title3.js.map +1 -0
- package/lib-commonjs/components/{Title3 → presets/Title3}/index.js +0 -0
- package/lib-commonjs/components/presets/Title3/index.js.map +1 -0
- package/lib-commonjs/components/{wrapper.js → presets/createPreset.js} +4 -4
- package/lib-commonjs/components/presets/createPreset.js.map +1 -0
- package/lib-commonjs/index.js +132 -41
- package/lib-commonjs/index.js.map +1 -1
- package/package.json +2 -2
- package/lib/components/Body1/Body1.js.map +0 -1
- package/lib/components/Body1/index.js.map +0 -1
- package/lib/components/Caption1/Caption1.js.map +0 -1
- package/lib/components/Caption1/index.js.map +0 -1
- package/lib/components/Caption2/Caption2.js.map +0 -1
- package/lib/components/Caption2/index.js.map +0 -1
- package/lib/components/Display/Display.js.map +0 -1
- package/lib/components/Display/index.js.map +0 -1
- package/lib/components/LargeTitle/LargeTitle.js.map +0 -1
- package/lib/components/LargeTitle/index.js.map +0 -1
- package/lib/components/Subtitle1/Subtitle1.js.map +0 -1
- package/lib/components/Subtitle1/index.js.map +0 -1
- package/lib/components/Subtitle2/Subtitle2.js.map +0 -1
- package/lib/components/Subtitle2/index.js.map +0 -1
- package/lib/components/Title1/Title1.js.map +0 -1
- package/lib/components/Title1/index.js.map +0 -1
- package/lib/components/Title2/Title2.js.map +0 -1
- package/lib/components/Title2/index.js.map +0 -1
- package/lib/components/Title3/Title3.js.map +0 -1
- package/lib/components/Title3/index.js.map +0 -1
- package/lib/components/wrapper.js.map +0 -1
- package/lib-amd/components/Body1/Body1.js.map +0 -1
- package/lib-amd/components/Body1/index.js.map +0 -1
- package/lib-amd/components/Caption1/Caption1.js.map +0 -1
- package/lib-amd/components/Caption1/index.js.map +0 -1
- package/lib-amd/components/Caption2/Caption2.js.map +0 -1
- package/lib-amd/components/Caption2/index.js.map +0 -1
- package/lib-amd/components/Display/Display.js.map +0 -1
- package/lib-amd/components/Display/index.js.map +0 -1
- package/lib-amd/components/LargeTitle/LargeTitle.js.map +0 -1
- package/lib-amd/components/LargeTitle/index.js.map +0 -1
- package/lib-amd/components/Subtitle1/Subtitle1.js.map +0 -1
- package/lib-amd/components/Subtitle1/index.js.map +0 -1
- package/lib-amd/components/Subtitle2/Subtitle2.js.map +0 -1
- package/lib-amd/components/Subtitle2/index.js.map +0 -1
- package/lib-amd/components/Title1/Title1.js.map +0 -1
- package/lib-amd/components/Title1/index.js.map +0 -1
- package/lib-amd/components/Title2/Title2.js.map +0 -1
- package/lib-amd/components/Title2/index.js.map +0 -1
- package/lib-amd/components/Title3/Title3.js.map +0 -1
- package/lib-amd/components/Title3/index.js.map +0 -1
- package/lib-amd/components/wrapper.js.map +0 -1
- package/lib-commonjs/components/Body1/Body1.js.map +0 -1
- package/lib-commonjs/components/Caption1/Caption1.js.map +0 -1
- package/lib-commonjs/components/Caption2/Caption2.js.map +0 -1
- package/lib-commonjs/components/Display/Display.js.map +0 -1
- package/lib-commonjs/components/LargeTitle/LargeTitle.js.map +0 -1
- package/lib-commonjs/components/LargeTitle/index.js.map +0 -1
- package/lib-commonjs/components/Subtitle1/Subtitle1.js.map +0 -1
- package/lib-commonjs/components/Subtitle1/index.js.map +0 -1
- package/lib-commonjs/components/Subtitle2/Subtitle2.js.map +0 -1
- package/lib-commonjs/components/Subtitle2/index.js.map +0 -1
- package/lib-commonjs/components/Title1/Title1.js.map +0 -1
- package/lib-commonjs/components/Title1/index.js.map +0 -1
- package/lib-commonjs/components/Title2/Title2.js.map +0 -1
- package/lib-commonjs/components/Title2/index.js.map +0 -1
- package/lib-commonjs/components/Title3/Title3.js.map +0 -1
- package/lib-commonjs/components/Title3/index.js.map +0 -1
- package/lib-commonjs/components/wrapper.js.map +0 -1
@@ -0,0 +1,28 @@
|
|
1
|
+
import { __styles } from '@griffel/react';
|
2
|
+
import { createPreset } from '../createPreset';
|
3
|
+
import { typographyStyles } from '@fluentui/react-theme';
|
4
|
+
export const caption1StrongClassNames = {
|
5
|
+
root: 'fui-Caption1Strong'
|
6
|
+
};
|
7
|
+
/**
|
8
|
+
* Styles for the root slot
|
9
|
+
*/
|
10
|
+
const useStyles = /*#__PURE__*/__styles({
|
11
|
+
root: {
|
12
|
+
Bahqtrf: "fk6fouc",
|
13
|
+
Be2twd7: "fy9rknc",
|
14
|
+
Bhrd7zp: "fl43uef",
|
15
|
+
Bg96gwp: "fwrc4pm"
|
16
|
+
}
|
17
|
+
}, {
|
18
|
+
d: [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fy9rknc{font-size:var(--fontSizeBase200);}", ".fl43uef{font-weight:var(--fontWeightSemibold);}", ".fwrc4pm{line-height:var(--lineHeightBase200);}"]
|
19
|
+
});
|
20
|
+
/**
|
21
|
+
* Text preset component for the Caption1Strong typography variant
|
22
|
+
*/
|
23
|
+
export const Caption1Strong = /*#__PURE__*/createPreset({
|
24
|
+
useStyles,
|
25
|
+
className: caption1StrongClassNames.root,
|
26
|
+
displayName: 'Caption1Strong'
|
27
|
+
});
|
28
|
+
//# sourceMappingURL=Caption1Strong.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"mappings":"AACA,yBAA2B,gBAAgB;AAC3C,SAASA,YAAY,QAAQ,iBAAiB;AAG9C,SAASC,gBAAgB,QAAQ,uBAAuB;AAExD,OAAO,MAAMC,wBAAwB,GAA8B;EACjEC,IAAI,EAAE;CACP;AAED;;;AAGA,MAAMC,SAAS,gBAAG;EAAA;IAAA;IAAA;IAAA;IAAA;EAAA;AAAA;EAAA;AAAA,EAEhB;AAEF;;;AAGA,OAAO,MAAMC,cAAc,gBAAuCL,YAAY,CAAC;EAC7EI,SAAS;EACTE,SAAS,EAAEJ,wBAAwB,CAACC,IAAI;EACxCI,WAAW,EAAE;CACd,CAAC","names":["createPreset","typographyStyles","caption1StrongClassNames","root","useStyles","Caption1Strong","className","displayName"],"sourceRoot":"../src/","sources":["packages/react-components/react-text/src/components/presets/Caption1Strong/Caption1Strong.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createPreset } from '../createPreset';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots, TextPresetProps } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const caption1StrongClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Caption1Strong',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.caption1Strong,\n});\n\n/**\n * Text preset component for the Caption1Strong typography variant\n */\nexport const Caption1Strong: FunctionComponent<TextPresetProps> = createPreset({\n useStyles,\n className: caption1StrongClassNames.root,\n displayName: 'Caption1Strong',\n});\n"]}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../src/","sources":["packages/react-components/react-text/src/components/presets/Caption1Strong/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC","sourcesContent":["export * from './Caption1Strong';\n"]}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
import { __styles } from '@griffel/react';
|
2
|
+
import { createPreset } from '../createPreset';
|
3
|
+
import { typographyStyles } from '@fluentui/react-theme';
|
4
|
+
export const caption1StrongerClassNames = {
|
5
|
+
root: 'fui-Caption1Stronger'
|
6
|
+
};
|
7
|
+
/**
|
8
|
+
* Styles for the root slot
|
9
|
+
*/
|
10
|
+
const useStyles = /*#__PURE__*/__styles({
|
11
|
+
root: {
|
12
|
+
Bahqtrf: "fk6fouc",
|
13
|
+
Be2twd7: "fy9rknc",
|
14
|
+
Bhrd7zp: "flh3ekv",
|
15
|
+
Bg96gwp: "fwrc4pm"
|
16
|
+
}
|
17
|
+
}, {
|
18
|
+
d: [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fy9rknc{font-size:var(--fontSizeBase200);}", ".flh3ekv{font-weight:var(--fontWeightBold);}", ".fwrc4pm{line-height:var(--lineHeightBase200);}"]
|
19
|
+
});
|
20
|
+
/**
|
21
|
+
* Text preset component for the Caption1Stronger typography variant
|
22
|
+
*/
|
23
|
+
export const Caption1Stronger = /*#__PURE__*/createPreset({
|
24
|
+
useStyles,
|
25
|
+
className: caption1StrongerClassNames.root,
|
26
|
+
displayName: 'Caption1Stronger'
|
27
|
+
});
|
28
|
+
//# sourceMappingURL=Caption1Stronger.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"mappings":"AACA,yBAA2B,gBAAgB;AAC3C,SAASA,YAAY,QAAQ,iBAAiB;AAG9C,SAASC,gBAAgB,QAAQ,uBAAuB;AAExD,OAAO,MAAMC,0BAA0B,GAA8B;EACnEC,IAAI,EAAE;CACP;AAED;;;AAGA,MAAMC,SAAS,gBAAG;EAAA;IAAA;IAAA;IAAA;IAAA;EAAA;AAAA;EAAA;AAAA,EAEhB;AAEF;;;AAGA,OAAO,MAAMC,gBAAgB,gBAAuCL,YAAY,CAAC;EAC/EI,SAAS;EACTE,SAAS,EAAEJ,0BAA0B,CAACC,IAAI;EAC1CI,WAAW,EAAE;CACd,CAAC","names":["createPreset","typographyStyles","caption1StrongerClassNames","root","useStyles","Caption1Stronger","className","displayName"],"sourceRoot":"../src/","sources":["packages/react-components/react-text/src/components/presets/Caption1Stronger/Caption1Stronger.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createPreset } from '../createPreset';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots, TextPresetProps } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const caption1StrongerClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Caption1Stronger',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.caption1Stronger,\n});\n\n/**\n * Text preset component for the Caption1Stronger typography variant\n */\nexport const Caption1Stronger: FunctionComponent<TextPresetProps> = createPreset({\n useStyles,\n className: caption1StrongerClassNames.root,\n displayName: 'Caption1Stronger',\n});\n"]}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../src/","sources":["packages/react-components/react-text/src/components/presets/Caption1Stronger/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC","sourcesContent":["export * from './Caption1Stronger';\n"]}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { __styles } from '@griffel/react';
|
2
|
-
import {
|
2
|
+
import { createPreset } from '../createPreset';
|
3
3
|
import { typographyStyles } from '@fluentui/react-theme';
|
4
4
|
export const caption2ClassNames = {
|
5
5
|
root: 'fui-Caption2'
|
@@ -18,9 +18,9 @@ const useStyles = /*#__PURE__*/__styles({
|
|
18
18
|
d: [".fk6fouc{font-family:var(--fontFamilyBase);}", ".f13mqy1h{font-size:var(--fontSizeBase100);}", ".figsok6{font-weight:var(--fontWeightRegular);}", ".fcpl73t{line-height:var(--lineHeightBase100);}"]
|
19
19
|
});
|
20
20
|
/**
|
21
|
-
* Text
|
21
|
+
* Text preset component for the Caption2 typography variant
|
22
22
|
*/
|
23
|
-
export const Caption2 = /*#__PURE__*/
|
23
|
+
export const Caption2 = /*#__PURE__*/createPreset({
|
24
24
|
useStyles,
|
25
25
|
className: caption2ClassNames.root,
|
26
26
|
displayName: 'Caption2'
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"mappings":"AACA,yBAA2B,gBAAgB;AAC3C,SAASA,YAAY,QAAQ,iBAAiB;AAG9C,SAASC,gBAAgB,QAAQ,uBAAuB;AAExD,OAAO,MAAMC,kBAAkB,GAA8B;EAC3DC,IAAI,EAAE;CACP;AAED;;;AAGA,MAAMC,SAAS,gBAAG;EAAA;IAAA;IAAA;IAAA;IAAA;EAAA;AAAA;EAAA;AAAA,EAEhB;AAEF;;;AAGA,OAAO,MAAMC,QAAQ,gBAAuCL,YAAY,CAAC;EACvEI,SAAS;EACTE,SAAS,EAAEJ,kBAAkB,CAACC,IAAI;EAClCI,WAAW,EAAE;CACd,CAAC","names":["createPreset","typographyStyles","caption2ClassNames","root","useStyles","Caption2","className","displayName"],"sourceRoot":"../src/","sources":["packages/react-components/react-text/src/components/presets/Caption2/Caption2.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createPreset } from '../createPreset';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots, TextPresetProps } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const caption2ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Caption2',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.caption2,\n});\n\n/**\n * Text preset component for the Caption2 typography variant\n */\nexport const Caption2: FunctionComponent<TextPresetProps> = createPreset({\n useStyles,\n className: caption2ClassNames.root,\n displayName: 'Caption2',\n});\n"]}
|
File without changes
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../src/","sources":["packages/react-components/react-text/src/components/presets/Caption2/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC","sourcesContent":["export * from './Caption2';\n"]}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
import { __styles } from '@griffel/react';
|
2
|
+
import { createPreset } from '../createPreset';
|
3
|
+
import { typographyStyles } from '@fluentui/react-theme';
|
4
|
+
export const caption2StrongClassNames = {
|
5
|
+
root: 'fui-Caption2Strong'
|
6
|
+
};
|
7
|
+
/**
|
8
|
+
* Styles for the root slot
|
9
|
+
*/
|
10
|
+
const useStyles = /*#__PURE__*/__styles({
|
11
|
+
root: {
|
12
|
+
Bahqtrf: "fk6fouc",
|
13
|
+
Be2twd7: "f13mqy1h",
|
14
|
+
Bhrd7zp: "fl43uef",
|
15
|
+
Bg96gwp: "fcpl73t"
|
16
|
+
}
|
17
|
+
}, {
|
18
|
+
d: [".fk6fouc{font-family:var(--fontFamilyBase);}", ".f13mqy1h{font-size:var(--fontSizeBase100);}", ".fl43uef{font-weight:var(--fontWeightSemibold);}", ".fcpl73t{line-height:var(--lineHeightBase100);}"]
|
19
|
+
});
|
20
|
+
/**
|
21
|
+
* Text preset component for the Caption2Strong typography variant
|
22
|
+
*/
|
23
|
+
export const Caption2Strong = /*#__PURE__*/createPreset({
|
24
|
+
useStyles,
|
25
|
+
className: caption2StrongClassNames.root,
|
26
|
+
displayName: 'Caption2Strong'
|
27
|
+
});
|
28
|
+
//# sourceMappingURL=Caption2Strong.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"mappings":"AACA,yBAA2B,gBAAgB;AAC3C,SAASA,YAAY,QAAQ,iBAAiB;AAG9C,SAASC,gBAAgB,QAAQ,uBAAuB;AAExD,OAAO,MAAMC,wBAAwB,GAA8B;EACjEC,IAAI,EAAE;CACP;AAED;;;AAGA,MAAMC,SAAS,gBAAG;EAAA;IAAA;IAAA;IAAA;IAAA;EAAA;AAAA;EAAA;AAAA,EAEhB;AAEF;;;AAGA,OAAO,MAAMC,cAAc,gBAAuCL,YAAY,CAAC;EAC7EI,SAAS;EACTE,SAAS,EAAEJ,wBAAwB,CAACC,IAAI;EACxCI,WAAW,EAAE;CACd,CAAC","names":["createPreset","typographyStyles","caption2StrongClassNames","root","useStyles","Caption2Strong","className","displayName"],"sourceRoot":"../src/","sources":["packages/react-components/react-text/src/components/presets/Caption2Strong/Caption2Strong.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createPreset } from '../createPreset';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots, TextPresetProps } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const caption2StrongClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Caption2Strong',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.caption2Strong,\n});\n\n/**\n * Text preset component for the Caption2Strong typography variant\n */\nexport const Caption2Strong: FunctionComponent<TextPresetProps> = createPreset({\n useStyles,\n className: caption2StrongClassNames.root,\n displayName: 'Caption2Strong',\n});\n"]}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../src/","sources":["packages/react-components/react-text/src/components/presets/Caption2Strong/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC","sourcesContent":["export * from './Caption2Strong';\n"]}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { __styles } from '@griffel/react';
|
2
|
-
import {
|
2
|
+
import { createPreset } from '../createPreset';
|
3
3
|
import { typographyStyles } from '@fluentui/react-theme';
|
4
4
|
export const displayClassNames = {
|
5
5
|
root: 'fui-Display'
|
@@ -18,9 +18,9 @@ const useStyles = /*#__PURE__*/__styles({
|
|
18
18
|
d: [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fpyltcb{font-size:var(--fontSizeHero1000);}", ".fl43uef{font-weight:var(--fontWeightSemibold);}", ".f1ivgwrt{line-height:var(--lineHeightHero1000);}"]
|
19
19
|
});
|
20
20
|
/**
|
21
|
-
* Text
|
21
|
+
* Text preset component for the Display typography variant
|
22
22
|
*/
|
23
|
-
export const Display = /*#__PURE__*/
|
23
|
+
export const Display = /*#__PURE__*/createPreset({
|
24
24
|
useStyles,
|
25
25
|
className: displayClassNames.root,
|
26
26
|
displayName: 'Display'
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"mappings":"AACA,yBAA2B,gBAAgB;AAC3C,SAASA,YAAY,QAAQ,iBAAiB;AAG9C,SAASC,gBAAgB,QAAQ,uBAAuB;AAExD,OAAO,MAAMC,iBAAiB,GAA8B;EAC1DC,IAAI,EAAE;CACP;AAED;;;AAGA,MAAMC,SAAS,gBAAG;EAAA;IAAA;IAAA;IAAA;IAAA;EAAA;AAAA;EAAA;AAAA,EAEhB;AAEF;;;AAGA,OAAO,MAAMC,OAAO,gBAAuCL,YAAY,CAAC;EACtEI,SAAS;EACTE,SAAS,EAAEJ,iBAAiB,CAACC,IAAI;EACjCI,WAAW,EAAE;CACd,CAAC","names":["createPreset","typographyStyles","displayClassNames","root","useStyles","Display","className","displayName"],"sourceRoot":"../src/","sources":["packages/react-components/react-text/src/components/presets/Display/Display.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createPreset } from '../createPreset';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots, TextPresetProps } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const displayClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Display',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.display,\n});\n\n/**\n * Text preset component for the Display typography variant\n */\nexport const Display: FunctionComponent<TextPresetProps> = createPreset({\n useStyles,\n className: displayClassNames.root,\n displayName: 'Display',\n});\n"]}
|
File without changes
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../src/","sources":["packages/react-components/react-text/src/components/presets/Display/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC","sourcesContent":["export * from './Display';\n"]}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { __styles } from '@griffel/react';
|
2
|
-
import {
|
2
|
+
import { createPreset } from '../createPreset';
|
3
3
|
import { typographyStyles } from '@fluentui/react-theme';
|
4
4
|
export const largeTitleClassNames = {
|
5
5
|
root: 'fui-LargeTitle'
|
@@ -18,9 +18,9 @@ const useStyles = /*#__PURE__*/__styles({
|
|
18
18
|
d: [".fk6fouc{font-family:var(--fontFamilyBase);}", ".f15afnhw{font-size:var(--fontSizeHero900);}", ".fl43uef{font-weight:var(--fontWeightSemibold);}", ".fr3w3wp{line-height:var(--lineHeightHero900);}"]
|
19
19
|
});
|
20
20
|
/**
|
21
|
-
* Text
|
21
|
+
* Text preset component for the Large Title typography variant
|
22
22
|
*/
|
23
|
-
export const LargeTitle = /*#__PURE__*/
|
23
|
+
export const LargeTitle = /*#__PURE__*/createPreset({
|
24
24
|
useStyles,
|
25
25
|
className: largeTitleClassNames.root,
|
26
26
|
displayName: 'LargeTitle'
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"mappings":"AACA,yBAA2B,gBAAgB;AAC3C,SAASA,YAAY,QAAQ,iBAAiB;AAG9C,SAASC,gBAAgB,QAAQ,uBAAuB;AAExD,OAAO,MAAMC,oBAAoB,GAA8B;EAC7DC,IAAI,EAAE;CACP;AAED;;;AAGA,MAAMC,SAAS,gBAAG;EAAA;IAAA;IAAA;IAAA;IAAA;EAAA;AAAA;EAAA;AAAA,EAEhB;AAEF;;;AAGA,OAAO,MAAMC,UAAU,gBAAuCL,YAAY,CAAC;EACzEI,SAAS;EACTE,SAAS,EAAEJ,oBAAoB,CAACC,IAAI;EACpCI,WAAW,EAAE;CACd,CAAC","names":["createPreset","typographyStyles","largeTitleClassNames","root","useStyles","LargeTitle","className","displayName"],"sourceRoot":"../src/","sources":["packages/react-components/react-text/src/components/presets/LargeTitle/LargeTitle.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createPreset } from '../createPreset';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots, TextPresetProps } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const largeTitleClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-LargeTitle',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.largeTitle,\n});\n\n/**\n * Text preset component for the Large Title typography variant\n */\nexport const LargeTitle: FunctionComponent<TextPresetProps> = createPreset({\n useStyles,\n className: largeTitleClassNames.root,\n displayName: 'LargeTitle',\n});\n"]}
|
File without changes
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../src/","sources":["packages/react-components/react-text/src/components/presets/LargeTitle/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC","sourcesContent":["export * from './LargeTitle';\n"]}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { __styles } from '@griffel/react';
|
2
|
-
import {
|
2
|
+
import { createPreset } from '../createPreset';
|
3
3
|
import { typographyStyles } from '@fluentui/react-theme';
|
4
4
|
export const subtitle1ClassNames = {
|
5
5
|
root: 'fui-Subtitle1'
|
@@ -18,9 +18,9 @@ const useStyles = /*#__PURE__*/__styles({
|
|
18
18
|
d: [".fk6fouc{font-family:var(--fontFamilyBase);}", ".f1pp30po{font-size:var(--fontSizeBase500);}", ".fl43uef{font-weight:var(--fontWeightSemibold);}", ".f106mvju{line-height:var(--lineHeightBase500);}"]
|
19
19
|
});
|
20
20
|
/**
|
21
|
-
* Text
|
21
|
+
* Text preset component for the Subtitle1 typography variant
|
22
22
|
*/
|
23
|
-
export const Subtitle1 = /*#__PURE__*/
|
23
|
+
export const Subtitle1 = /*#__PURE__*/createPreset({
|
24
24
|
useStyles,
|
25
25
|
className: subtitle1ClassNames.root,
|
26
26
|
displayName: 'Subtitle1'
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"mappings":"AACA,yBAA2B,gBAAgB;AAC3C,SAASA,YAAY,QAAQ,iBAAiB;AAG9C,SAASC,gBAAgB,QAAQ,uBAAuB;AAExD,OAAO,MAAMC,mBAAmB,GAA8B;EAC5DC,IAAI,EAAE;CACP;AAED;;;AAGA,MAAMC,SAAS,gBAAG;EAAA;IAAA;IAAA;IAAA;IAAA;EAAA;AAAA;EAAA;AAAA,EAEhB;AAEF;;;AAGA,OAAO,MAAMC,SAAS,gBAAuCL,YAAY,CAAC;EACxEI,SAAS;EACTE,SAAS,EAAEJ,mBAAmB,CAACC,IAAI;EACnCI,WAAW,EAAE;CACd,CAAC","names":["createPreset","typographyStyles","subtitle1ClassNames","root","useStyles","Subtitle1","className","displayName"],"sourceRoot":"../src/","sources":["packages/react-components/react-text/src/components/presets/Subtitle1/Subtitle1.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createPreset } from '../createPreset';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots, TextPresetProps } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const subtitle1ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Subtitle1',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.subtitle1,\n});\n\n/**\n * Text preset component for the Subtitle1 typography variant\n */\nexport const Subtitle1: FunctionComponent<TextPresetProps> = createPreset({\n useStyles,\n className: subtitle1ClassNames.root,\n displayName: 'Subtitle1',\n});\n"]}
|
File without changes
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../src/","sources":["packages/react-components/react-text/src/components/presets/Subtitle1/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC","sourcesContent":["export * from './Subtitle1';\n"]}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { __styles } from '@griffel/react';
|
2
|
-
import {
|
2
|
+
import { createPreset } from '../createPreset';
|
3
3
|
import { typographyStyles } from '@fluentui/react-theme';
|
4
4
|
export const subtitle2ClassNames = {
|
5
5
|
root: 'fui-Subtitle2'
|
@@ -18,9 +18,9 @@ const useStyles = /*#__PURE__*/__styles({
|
|
18
18
|
d: [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fod5ikn{font-size:var(--fontSizeBase400);}", ".fl43uef{font-weight:var(--fontWeightSemibold);}", ".faaz57k{line-height:var(--lineHeightBase400);}"]
|
19
19
|
});
|
20
20
|
/**
|
21
|
-
* Text
|
21
|
+
* Text preset component for the Subtitle2 typography variant
|
22
22
|
*/
|
23
|
-
export const Subtitle2 = /*#__PURE__*/
|
23
|
+
export const Subtitle2 = /*#__PURE__*/createPreset({
|
24
24
|
useStyles,
|
25
25
|
className: subtitle2ClassNames.root,
|
26
26
|
displayName: 'Subtitle2'
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"mappings":"AACA,yBAA2B,gBAAgB;AAC3C,SAASA,YAAY,QAAQ,iBAAiB;AAG9C,SAASC,gBAAgB,QAAQ,uBAAuB;AAExD,OAAO,MAAMC,mBAAmB,GAA8B;EAC5DC,IAAI,EAAE;CACP;AAED;;;AAGA,MAAMC,SAAS,gBAAG;EAAA;IAAA;IAAA;IAAA;IAAA;EAAA;AAAA;EAAA;AAAA,EAEhB;AAEF;;;AAGA,OAAO,MAAMC,SAAS,gBAAuCL,YAAY,CAAC;EACxEI,SAAS;EACTE,SAAS,EAAEJ,mBAAmB,CAACC,IAAI;EACnCI,WAAW,EAAE;CACd,CAAC","names":["createPreset","typographyStyles","subtitle2ClassNames","root","useStyles","Subtitle2","className","displayName"],"sourceRoot":"../src/","sources":["packages/react-components/react-text/src/components/presets/Subtitle2/Subtitle2.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createPreset } from '../createPreset';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots, TextPresetProps } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const subtitle2ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Subtitle2',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.subtitle2,\n});\n\n/**\n * Text preset component for the Subtitle2 typography variant\n */\nexport const Subtitle2: FunctionComponent<TextPresetProps> = createPreset({\n useStyles,\n className: subtitle2ClassNames.root,\n displayName: 'Subtitle2',\n});\n"]}
|
File without changes
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../src/","sources":["packages/react-components/react-text/src/components/presets/Subtitle2/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC","sourcesContent":["export * from './Subtitle2';\n"]}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
import { __styles } from '@griffel/react';
|
2
|
+
import { createPreset } from '../createPreset';
|
3
|
+
import { typographyStyles } from '@fluentui/react-theme';
|
4
|
+
export const subtitle2StrongerClassNames = {
|
5
|
+
root: 'fui-Subtitle2Stronger'
|
6
|
+
};
|
7
|
+
/**
|
8
|
+
* Styles for the root slot
|
9
|
+
*/
|
10
|
+
const useStyles = /*#__PURE__*/__styles({
|
11
|
+
root: {
|
12
|
+
Bahqtrf: "fk6fouc",
|
13
|
+
Be2twd7: "fod5ikn",
|
14
|
+
Bhrd7zp: "flh3ekv",
|
15
|
+
Bg96gwp: "faaz57k"
|
16
|
+
}
|
17
|
+
}, {
|
18
|
+
d: [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fod5ikn{font-size:var(--fontSizeBase400);}", ".flh3ekv{font-weight:var(--fontWeightBold);}", ".faaz57k{line-height:var(--lineHeightBase400);}"]
|
19
|
+
});
|
20
|
+
/**
|
21
|
+
* Text preset component for the Subtitle2Stronger typography variant
|
22
|
+
*/
|
23
|
+
export const Subtitle2Stronger = /*#__PURE__*/createPreset({
|
24
|
+
useStyles,
|
25
|
+
className: subtitle2StrongerClassNames.root,
|
26
|
+
displayName: 'Subtitle2Stronger'
|
27
|
+
});
|
28
|
+
//# sourceMappingURL=Subtitle2Stronger.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"mappings":"AACA,yBAA2B,gBAAgB;AAC3C,SAASA,YAAY,QAAQ,iBAAiB;AAG9C,SAASC,gBAAgB,QAAQ,uBAAuB;AAExD,OAAO,MAAMC,2BAA2B,GAA8B;EACpEC,IAAI,EAAE;CACP;AAED;;;AAGA,MAAMC,SAAS,gBAAG;EAAA;IAAA;IAAA;IAAA;IAAA;EAAA;AAAA;EAAA;AAAA,EAEhB;AAEF;;;AAGA,OAAO,MAAMC,iBAAiB,gBAAuCL,YAAY,CAAC;EAChFI,SAAS;EACTE,SAAS,EAAEJ,2BAA2B,CAACC,IAAI;EAC3CI,WAAW,EAAE;CACd,CAAC","names":["createPreset","typographyStyles","subtitle2StrongerClassNames","root","useStyles","Subtitle2Stronger","className","displayName"],"sourceRoot":"../src/","sources":["packages/react-components/react-text/src/components/presets/Subtitle2Stronger/Subtitle2Stronger.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createPreset } from '../createPreset';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots, TextPresetProps } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const subtitle2StrongerClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Subtitle2Stronger',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.subtitle2Stronger,\n});\n\n/**\n * Text preset component for the Subtitle2Stronger typography variant\n */\nexport const Subtitle2Stronger: FunctionComponent<TextPresetProps> = createPreset({\n useStyles,\n className: subtitle2StrongerClassNames.root,\n displayName: 'Subtitle2Stronger',\n});\n"]}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../src/","sources":["packages/react-components/react-text/src/components/presets/Subtitle2Stronger/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC","sourcesContent":["export * from './Subtitle2Stronger';\n"]}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { __styles } from '@griffel/react';
|
2
|
-
import {
|
2
|
+
import { createPreset } from '../createPreset';
|
3
3
|
import { typographyStyles } from '@fluentui/react-theme';
|
4
4
|
export const title1ClassNames = {
|
5
5
|
root: 'fui-Title1'
|
@@ -18,9 +18,9 @@ const useStyles = /*#__PURE__*/__styles({
|
|
18
18
|
d: [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fccw675{font-size:var(--fontSizeHero800);}", ".fl43uef{font-weight:var(--fontWeightSemibold);}", ".f1ebx5kk{line-height:var(--lineHeightHero800);}"]
|
19
19
|
});
|
20
20
|
/**
|
21
|
-
* Text
|
21
|
+
* Text preset component for the Title 1 typography variant
|
22
22
|
*/
|
23
|
-
export const Title1 = /*#__PURE__*/
|
23
|
+
export const Title1 = /*#__PURE__*/createPreset({
|
24
24
|
useStyles,
|
25
25
|
className: title1ClassNames.root,
|
26
26
|
displayName: 'Title1'
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"mappings":"AACA,yBAA2B,gBAAgB;AAC3C,SAASA,YAAY,QAAQ,iBAAiB;AAG9C,SAASC,gBAAgB,QAAQ,uBAAuB;AAExD,OAAO,MAAMC,gBAAgB,GAA8B;EACzDC,IAAI,EAAE;CACP;AAED;;;AAGA,MAAMC,SAAS,gBAAG;EAAA;IAAA;IAAA;IAAA;IAAA;EAAA;AAAA;EAAA;AAAA,EAEhB;AAEF;;;AAGA,OAAO,MAAMC,MAAM,gBAAuCL,YAAY,CAAC;EACrEI,SAAS;EACTE,SAAS,EAAEJ,gBAAgB,CAACC,IAAI;EAChCI,WAAW,EAAE;CACd,CAAC","names":["createPreset","typographyStyles","title1ClassNames","root","useStyles","Title1","className","displayName"],"sourceRoot":"../src/","sources":["packages/react-components/react-text/src/components/presets/Title1/Title1.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createPreset } from '../createPreset';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots, TextPresetProps } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const title1ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Title1',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.title1,\n});\n\n/**\n * Text preset component for the Title 1 typography variant\n */\nexport const Title1: FunctionComponent<TextPresetProps> = createPreset({\n useStyles,\n className: title1ClassNames.root,\n displayName: 'Title1',\n});\n"]}
|
File without changes
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../src/","sources":["packages/react-components/react-text/src/components/presets/Title1/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC","sourcesContent":["export * from './Title1';\n"]}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { __styles } from '@griffel/react';
|
2
|
-
import {
|
2
|
+
import { createPreset } from '../createPreset';
|
3
3
|
import { typographyStyles } from '@fluentui/react-theme';
|
4
4
|
export const title2ClassNames = {
|
5
5
|
root: 'fui-Title2'
|
@@ -18,9 +18,9 @@ const useStyles = /*#__PURE__*/__styles({
|
|
18
18
|
d: [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fojgt09{font-size:var(--fontSizeHero700);}", ".fl43uef{font-weight:var(--fontWeightSemibold);}", ".fcen8rp{line-height:var(--lineHeightHero700);}"]
|
19
19
|
});
|
20
20
|
/**
|
21
|
-
* Text
|
21
|
+
* Text preset component for the Title 2 typography variant
|
22
22
|
*/
|
23
|
-
export const Title2 = /*#__PURE__*/
|
23
|
+
export const Title2 = /*#__PURE__*/createPreset({
|
24
24
|
useStyles,
|
25
25
|
className: title2ClassNames.root,
|
26
26
|
displayName: 'Title2'
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"mappings":"AACA,yBAA2B,gBAAgB;AAC3C,SAASA,YAAY,QAAQ,iBAAiB;AAG9C,SAASC,gBAAgB,QAAQ,uBAAuB;AAExD,OAAO,MAAMC,gBAAgB,GAA8B;EACzDC,IAAI,EAAE;CACP;AAED;;;AAGA,MAAMC,SAAS,gBAAG;EAAA;IAAA;IAAA;IAAA;IAAA;EAAA;AAAA;EAAA;AAAA,EAEhB;AAEF;;;AAGA,OAAO,MAAMC,MAAM,gBAAuCL,YAAY,CAAC;EACrEI,SAAS;EACTE,SAAS,EAAEJ,gBAAgB,CAACC,IAAI;EAChCI,WAAW,EAAE;CACd,CAAC","names":["createPreset","typographyStyles","title2ClassNames","root","useStyles","Title2","className","displayName"],"sourceRoot":"../src/","sources":["packages/react-components/react-text/src/components/presets/Title2/Title2.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createPreset } from '../createPreset';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots, TextPresetProps } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const title2ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Title2',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.title2,\n});\n\n/**\n * Text preset component for the Title 2 typography variant\n */\nexport const Title2: FunctionComponent<TextPresetProps> = createPreset({\n useStyles,\n className: title2ClassNames.root,\n displayName: 'Title2',\n});\n"]}
|
File without changes
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../src/","sources":["packages/react-components/react-text/src/components/presets/Title2/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC","sourcesContent":["export * from './Title2';\n"]}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { __styles } from '@griffel/react';
|
2
|
-
import {
|
2
|
+
import { createPreset } from '../createPreset';
|
3
3
|
import { typographyStyles } from '@fluentui/react-theme';
|
4
4
|
export const title3ClassNames = {
|
5
5
|
root: 'fui-Title3'
|
@@ -18,9 +18,9 @@ const useStyles = /*#__PURE__*/__styles({
|
|
18
18
|
d: [".fk6fouc{font-family:var(--fontFamilyBase);}", ".f1x0m3f5{font-size:var(--fontSizeBase600);}", ".fl43uef{font-weight:var(--fontWeightSemibold);}", ".fb86gi6{line-height:var(--lineHeightBase600);}"]
|
19
19
|
});
|
20
20
|
/**
|
21
|
-
* Text
|
21
|
+
* Text preset component for the Title 3 typography variant
|
22
22
|
*/
|
23
|
-
export const Title3 = /*#__PURE__*/
|
23
|
+
export const Title3 = /*#__PURE__*/createPreset({
|
24
24
|
useStyles,
|
25
25
|
className: title3ClassNames.root,
|
26
26
|
displayName: 'Title3'
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"mappings":"AACA,yBAA2B,gBAAgB;AAC3C,SAASA,YAAY,QAAQ,iBAAiB;AAG9C,SAASC,gBAAgB,QAAQ,uBAAuB;AAExD,OAAO,MAAMC,gBAAgB,GAA8B;EACzDC,IAAI,EAAE;CACP;AAED;;;AAGA,MAAMC,SAAS,gBAAG;EAAA;IAAA;IAAA;IAAA;IAAA;EAAA;AAAA;EAAA;AAAA,EAEhB;AAEF;;;AAGA,OAAO,MAAMC,MAAM,gBAAuCL,YAAY,CAAC;EACrEI,SAAS;EACTE,SAAS,EAAEJ,gBAAgB,CAACC,IAAI;EAChCI,WAAW,EAAE;CACd,CAAC","names":["createPreset","typographyStyles","title3ClassNames","root","useStyles","Title3","className","displayName"],"sourceRoot":"../src/","sources":["packages/react-components/react-text/src/components/presets/Title3/Title3.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createPreset } from '../createPreset';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots, TextPresetProps } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const title3ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Title3',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.title3,\n});\n\n/**\n * Text preset component for the Title 3 typography variant\n */\nexport const Title3: FunctionComponent<TextPresetProps> = createPreset({\n useStyles,\n className: title3ClassNames.root,\n displayName: 'Title3',\n});\n"]}
|
File without changes
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../src/","sources":["packages/react-components/react-text/src/components/presets/Title3/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC","sourcesContent":["export * from './Title3';\n"]}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import * as React from 'react';
|
2
2
|
import { mergeClasses } from '@griffel/react';
|
3
3
|
import { renderText_unstable, useText_unstable, useTextStyles_unstable } from '../Text';
|
4
|
-
export function
|
4
|
+
export function createPreset(options) {
|
5
5
|
const {
|
6
6
|
useStyles,
|
7
7
|
className,
|
@@ -17,4 +17,4 @@ export function createWrapper(options) {
|
|
17
17
|
Wrapper.displayName = displayName;
|
18
18
|
return Wrapper;
|
19
19
|
}
|
20
|
-
//# sourceMappingURL=
|
20
|
+
//# sourceMappingURL=createPreset.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SAASC,YAAY,QAAQ,gBAAgB;AAC7C,SAASC,mBAAmB,EAAEC,gBAAgB,EAAEC,sBAAsB,QAAQ,SAAS;AAIvF,OAAM,SAAUC,YAAY,CAACC,OAI5B;EACC,MAAM;IAAEC,SAAS;IAAEC,SAAS;IAAEC;EAAW,CAAE,GAAGH,OAAO;EACrD,MAAMI,OAAO,gBAAyCV,KAAK,CAACW,UAAU,CAAC,CAACC,KAAK,EAAEC,GAAG,KAAI;IACpF,MAAMC,MAAM,GAAGP,SAAS,EAAE;IAC1B,MAAMQ,KAAK,GAAGZ,gBAAgB,CAACS,KAAkB,EAAEC,GAAG,CAAC;IAEvDT,sBAAsB,CAACW,KAAK,CAAC;IAE7BA,KAAK,CAACC,IAAI,CAACR,SAAS,GAAGP,YAAY,CAACO,SAAS,EAAEO,KAAK,CAACC,IAAI,CAACR,SAAS,EAAEM,MAAM,CAACE,IAAI,EAAEJ,KAAK,CAACJ,SAAS,CAAC;IAElG,OAAON,mBAAmB,CAACa,KAAK,CAAC;EACnC,CAAC,CAAC;EACFL,OAAO,CAACD,WAAW,GAAGA,WAAW;EAEjC,OAAOC,OAAO;AAChB","names":["React","mergeClasses","renderText_unstable","useText_unstable","useTextStyles_unstable","createPreset","options","useStyles","className","displayName","Wrapper","forwardRef","props","ref","styles","state","root"],"sourceRoot":"../src/","sources":["packages/react-components/react-text/src/components/presets/createPreset.ts"],"sourcesContent":["import * as React from 'react';\nimport { mergeClasses } from '@griffel/react';\nimport { renderText_unstable, useText_unstable, useTextStyles_unstable } from '../Text';\nimport type { TextProps, TextPresetProps } from '../Text';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\n\nexport function createPreset(options: {\n className: string;\n displayName: string;\n useStyles: () => Record<'root', string>;\n}): React.FunctionComponent<TextPresetProps> {\n const { useStyles, className, displayName } = options;\n const Wrapper: ForwardRefComponent<TextPresetProps> = React.forwardRef((props, ref) => {\n const styles = useStyles();\n const state = useText_unstable(props as TextProps, ref);\n\n useTextStyles_unstable(state);\n\n state.root.className = mergeClasses(className, state.root.className, styles.root, props.className);\n\n return renderText_unstable(state);\n });\n Wrapper.displayName = displayName;\n\n return Wrapper;\n}\n"]}
|
package/lib/index.js
CHANGED
@@ -1,12 +1,19 @@
|
|
1
1
|
export { Text, renderText_unstable, textClassNames, useTextStyles_unstable, useText_unstable } from './Text';
|
2
|
+
export { Body1, body1ClassNames } from './Body1';
|
3
|
+
export { Body1Strong, body1StrongClassNames } from './Body1Strong';
|
4
|
+
export { Body1Stronger, body1StrongerClassNames } from './Body1Stronger';
|
5
|
+
export { Body2, body2ClassNames } from './Body2';
|
6
|
+
export { Caption1, caption1ClassNames } from './Caption1';
|
7
|
+
export { Caption1Strong, caption1StrongClassNames } from './Caption1Strong';
|
8
|
+
export { Caption1Stronger, caption1StrongerClassNames } from './Caption1Stronger';
|
9
|
+
export { Caption2, caption2ClassNames } from './Caption2';
|
10
|
+
export { Caption2Strong, caption2StrongClassNames } from './Caption2Strong';
|
2
11
|
export { Display, displayClassNames } from './Display';
|
3
12
|
export { LargeTitle, largeTitleClassNames } from './LargeTitle';
|
13
|
+
export { Subtitle1, subtitle1ClassNames } from './Subtitle1';
|
14
|
+
export { Subtitle2, subtitle2ClassNames } from './Subtitle2';
|
15
|
+
export { Subtitle2Stronger, subtitle2StrongerClassNames } from './Subtitle2Stronger';
|
4
16
|
export { Title1, title1ClassNames } from './Title1';
|
5
17
|
export { Title2, title2ClassNames } from './Title2';
|
6
18
|
export { Title3, title3ClassNames } from './Title3';
|
7
|
-
export { Subtitle1, subtitle1ClassNames } from './Subtitle1';
|
8
|
-
export { Subtitle2, subtitle2ClassNames } from './Subtitle2';
|
9
|
-
export { Body1, body1ClassNames } from './Body1';
|
10
|
-
export { Caption1, caption1ClassNames } from './Caption1';
|
11
|
-
export { Caption2, caption2ClassNames } from './Caption2';
|
12
19
|
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"../src/","sources":["packages/react-components/react-text/src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,mBAAmB,EAAE,cAAc,EAAE,sBAAsB,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAE7G,OAAO,EAAE,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../src/","sources":["packages/react-components/react-text/src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,mBAAmB,EAAE,cAAc,EAAE,sBAAsB,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAE7G,OAAO,EAAE,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,uBAAuB,EAAE,MAAM,iBAAiB,CAAC;AACzE,OAAO,EAAE,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AACjD,OAAO,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAE,wBAAwB,EAAE,MAAM,kBAAkB,CAAC;AAC5E,OAAO,EAAE,gBAAgB,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAClF,OAAO,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAE,wBAAwB,EAAE,MAAM,kBAAkB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAC7D,OAAO,EAAE,iBAAiB,EAAE,2BAA2B,EAAE,MAAM,qBAAqB,CAAC;AACrF,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC","sourcesContent":["export { Text, renderText_unstable, textClassNames, useTextStyles_unstable, useText_unstable } from './Text';\nexport type { TextProps, TextSlots, TextState, TextPresetProps } from './Text';\nexport { Body1, body1ClassNames } from './Body1';\nexport { Body1Strong, body1StrongClassNames } from './Body1Strong';\nexport { Body1Stronger, body1StrongerClassNames } from './Body1Stronger';\nexport { Body2, body2ClassNames } from './Body2';\nexport { Caption1, caption1ClassNames } from './Caption1';\nexport { Caption1Strong, caption1StrongClassNames } from './Caption1Strong';\nexport { Caption1Stronger, caption1StrongerClassNames } from './Caption1Stronger';\nexport { Caption2, caption2ClassNames } from './Caption2';\nexport { Caption2Strong, caption2StrongClassNames } from './Caption2Strong';\nexport { Display, displayClassNames } from './Display';\nexport { LargeTitle, largeTitleClassNames } from './LargeTitle';\nexport { Subtitle1, subtitle1ClassNames } from './Subtitle1';\nexport { Subtitle2, subtitle2ClassNames } from './Subtitle2';\nexport { Subtitle2Stronger, subtitle2StrongerClassNames } from './Subtitle2Stronger';\nexport { Title1, title1ClassNames } from './Title1';\nexport { Title2, title2ClassNames } from './Title2';\nexport { Title3, title3ClassNames } from './Title3';\n"]}
|
package/lib-amd/Body1.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
define(["require", "exports", "tslib", "./components/Body1/index"], function (require, exports, tslib_1, index_1) {
|
1
|
+
define(["require", "exports", "tslib", "./components/presets/Body1/index"], function (require, exports, tslib_1, index_1) {
|
2
2
|
"use strict";
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
4
4
|
tslib_1.__exportStar(index_1, exports);
|
package/lib-amd/Body1.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Body1.js","sourceRoot":"","sources":["../../../../../../../packages/react-components/react-text/src/Body1.ts"],"names":[],"mappings":";;;IAAA,
|
1
|
+
{"version":3,"file":"Body1.js","sourceRoot":"","sources":["../../../../../../../packages/react-components/react-text/src/Body1.ts"],"names":[],"mappings":";;;IAAA,uCAAiD","sourcesContent":["export * from './components/presets/Body1/index';\n"]}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
define(["require", "exports", "tslib", "./components/presets/Body1Strong/index"], function (require, exports, tslib_1, index_1) {
|
2
|
+
"use strict";
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
4
|
+
tslib_1.__exportStar(index_1, exports);
|
5
|
+
});
|
6
|
+
//# sourceMappingURL=Body1Strong.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Body1Strong.js","sourceRoot":"","sources":["../../../../../../../packages/react-components/react-text/src/Body1Strong.ts"],"names":[],"mappings":";;;IAAA,uCAAuD","sourcesContent":["export * from './components/presets/Body1Strong/index';\n"]}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
define(["require", "exports", "tslib", "./components/presets/Body1Stronger/index"], function (require, exports, tslib_1, index_1) {
|
2
|
+
"use strict";
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
4
|
+
tslib_1.__exportStar(index_1, exports);
|
5
|
+
});
|
6
|
+
//# sourceMappingURL=Body1Stronger.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Body1Stronger.js","sourceRoot":"","sources":["../../../../../../../packages/react-components/react-text/src/Body1Stronger.ts"],"names":[],"mappings":";;;IAAA,uCAAyD","sourcesContent":["export * from './components/presets/Body1Stronger/index';\n"]}
|
package/lib-amd/Body2.js
ADDED
@@ -0,0 +1,6 @@
|
|
1
|
+
define(["require", "exports", "tslib", "./components/presets/Body2/index"], function (require, exports, tslib_1, index_1) {
|
2
|
+
"use strict";
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
4
|
+
tslib_1.__exportStar(index_1, exports);
|
5
|
+
});
|
6
|
+
//# sourceMappingURL=Body2.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Body2.js","sourceRoot":"","sources":["../../../../../../../packages/react-components/react-text/src/Body2.ts"],"names":[],"mappings":";;;IAAA,uCAAiD","sourcesContent":["export * from './components/presets/Body2/index';\n"]}
|
package/lib-amd/Caption1.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
define(["require", "exports", "tslib", "./components/Caption1/index"], function (require, exports, tslib_1, index_1) {
|
1
|
+
define(["require", "exports", "tslib", "./components/presets/Caption1/index"], function (require, exports, tslib_1, index_1) {
|
2
2
|
"use strict";
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
4
4
|
tslib_1.__exportStar(index_1, exports);
|
package/lib-amd/Caption1.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Caption1.js","sourceRoot":"","sources":["../../../../../../../packages/react-components/react-text/src/Caption1.ts"],"names":[],"mappings":";;;IAAA,
|
1
|
+
{"version":3,"file":"Caption1.js","sourceRoot":"","sources":["../../../../../../../packages/react-components/react-text/src/Caption1.ts"],"names":[],"mappings":";;;IAAA,uCAAoD","sourcesContent":["export * from './components/presets/Caption1/index';\n"]}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
define(["require", "exports", "tslib", "./components/presets/Caption1Strong/index"], function (require, exports, tslib_1, index_1) {
|
2
|
+
"use strict";
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
4
|
+
tslib_1.__exportStar(index_1, exports);
|
5
|
+
});
|
6
|
+
//# sourceMappingURL=Caption1Strong.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Caption1Strong.js","sourceRoot":"","sources":["../../../../../../../packages/react-components/react-text/src/Caption1Strong.ts"],"names":[],"mappings":";;;IAAA,uCAA0D","sourcesContent":["export * from './components/presets/Caption1Strong/index';\n"]}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
define(["require", "exports", "tslib", "./components/presets/Caption1Stronger/index"], function (require, exports, tslib_1, index_1) {
|
2
|
+
"use strict";
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
4
|
+
tslib_1.__exportStar(index_1, exports);
|
5
|
+
});
|
6
|
+
//# sourceMappingURL=Caption1Stronger.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Caption1Stronger.js","sourceRoot":"","sources":["../../../../../../../packages/react-components/react-text/src/Caption1Stronger.ts"],"names":[],"mappings":";;;IAAA,uCAA4D","sourcesContent":["export * from './components/presets/Caption1Stronger/index';\n"]}
|