@fluentui/react-text 0.0.0-nightly-20230131-0423.1 → 0.0.0-nightly-20230202-0421.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.json +30 -9
- package/CHANGELOG.md +17 -7
- 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-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/Body2.js.map +1 -0
- 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/presets/Body1/index.js.map +1 -0
- 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/presets/Body2/index.js.map +1 -0
- 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/presets/Title1/index.js.map +1 -0
- 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 +4 -4
- 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-commonjs/components/Body1/Body1.js.map +0 -1
- package/lib-commonjs/components/Body1/index.js.map +0 -1
- package/lib-commonjs/components/Caption1/Caption1.js.map +0 -1
- package/lib-commonjs/components/Caption1/index.js.map +0 -1
- package/lib-commonjs/components/Caption2/Caption2.js.map +0 -1
- package/lib-commonjs/components/Caption2/index.js.map +0 -1
- package/lib-commonjs/components/Display/Display.js.map +0 -1
- package/lib-commonjs/components/Display/index.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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui/react-text",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20230202-0421.1",
|
|
4
4
|
"description": "Text is a typography and styling abstraction component that can be used to ensure the consistency of all text across your application.",
|
|
5
5
|
"main": "lib-commonjs/index.js",
|
|
6
6
|
"module": "lib/index.js",
|
|
@@ -27,14 +27,14 @@
|
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@fluentui/eslint-plugin": "*",
|
|
29
29
|
"@fluentui/react-conformance": "*",
|
|
30
|
-
"@fluentui/react-conformance-griffel": "0.0.0-nightly-
|
|
30
|
+
"@fluentui/react-conformance-griffel": "0.0.0-nightly-20230202-0421.1",
|
|
31
31
|
"@fluentui/scripts-api-extractor": "*",
|
|
32
32
|
"@fluentui/scripts-tasks": "*"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@griffel/react": "^1.5.2",
|
|
36
|
-
"@fluentui/react-theme": "0.0.0-nightly-
|
|
37
|
-
"@fluentui/react-utilities": "0.0.0-nightly-
|
|
36
|
+
"@fluentui/react-theme": "0.0.0-nightly-20230202-0421.1",
|
|
37
|
+
"@fluentui/react-utilities": "0.0.0-nightly-20230202-0421.1",
|
|
38
38
|
"tslib": "^2.1.0"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"mappings":"AACA,yBAA2B,gBAAgB;AAC3C,SAASA,aAAa,QAA0B,YAAY;AAG5D,SAASC,gBAAgB,QAAQ,uBAAuB;AAExD,OAAO,MAAMC,eAAe,GAA8B;EACxDC,IAAI,EAAE;CACP;AAED;;;AAGA,MAAMC,SAAS,gBAAG;EAAA;IAAA;IAAA;IAAA;IAAA;EAAA;AAAA;EAAA;AAAA,EAEhB;AAEF;;;AAGA,OAAO,MAAMC,KAAK,gBAAwCL,aAAa,CAAC;EACtEI,SAAS;EACTE,SAAS,EAAEJ,eAAe,CAACC,IAAI;EAC/BI,WAAW,EAAE;CACd,CAAC","names":["createWrapper","typographyStyles","body1ClassNames","root","useStyles","Body1","className","displayName"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Body1/Body1.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createWrapper, TextWrapperProps } from '../wrapper';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport { TextSlots } from '../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const body1ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Body1',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.body1,\n});\n\n/**\n * Text wrapper component for the Body1 typography variant\n */\nexport const Body1: FunctionComponent<TextWrapperProps> = createWrapper({\n useStyles,\n className: body1ClassNames.root,\n displayName: 'Body1',\n});\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Body1/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC","sourcesContent":["export * from './Body1';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"mappings":"AACA,yBAA2B,gBAAgB;AAC3C,SAASA,aAAa,QAA0B,YAAY;AAG5D,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,gBAAwCL,aAAa,CAAC;EACzEI,SAAS;EACTE,SAAS,EAAEJ,kBAAkB,CAACC,IAAI;EAClCI,WAAW,EAAE;CACd,CAAC","names":["createWrapper","typographyStyles","caption1ClassNames","root","useStyles","Caption1","className","displayName"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Caption1/Caption1.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createWrapper, TextWrapperProps } from '../wrapper';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport { TextSlots } from '../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const caption1ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Caption1',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.caption1,\n});\n\n/**\n * Text wrapper component for the Caption1 typography variant\n */\nexport const Caption1: FunctionComponent<TextWrapperProps> = createWrapper({\n useStyles,\n className: caption1ClassNames.root,\n displayName: 'Caption1',\n});\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Caption1/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC","sourcesContent":["export * from './Caption1';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"mappings":"AACA,yBAA2B,gBAAgB;AAC3C,SAASA,aAAa,QAA0B,YAAY;AAG5D,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,gBAAwCL,aAAa,CAAC;EACzEI,SAAS;EACTE,SAAS,EAAEJ,kBAAkB,CAACC,IAAI;EAClCI,WAAW,EAAE;CACd,CAAC","names":["createWrapper","typographyStyles","caption2ClassNames","root","useStyles","Caption2","className","displayName"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Caption2/Caption2.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createWrapper, TextWrapperProps } from '../wrapper';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport { TextSlots } from '../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const 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 wrapper component for the Caption2 typography variant\n */\nexport const Caption2: FunctionComponent<TextWrapperProps> = createWrapper({\n useStyles,\n className: caption2ClassNames.root,\n displayName: 'Caption2',\n});\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Caption2/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC","sourcesContent":["export * from './Caption2';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"mappings":"AACA,yBAA2B,gBAAgB;AAC3C,SAASA,aAAa,QAA0B,YAAY;AAG5D,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,gBAAwCL,aAAa,CAAC;EACxEI,SAAS;EACTE,SAAS,EAAEJ,iBAAiB,CAACC,IAAI;EACjCI,WAAW,EAAE;CACd,CAAC","names":["createWrapper","typographyStyles","displayClassNames","root","useStyles","Display","className","displayName"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Display/Display.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createWrapper, TextWrapperProps } from '../wrapper';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport { TextSlots } from '../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const 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 wrapper component for the Display typography variant\n */\nexport const Display: FunctionComponent<TextWrapperProps> = createWrapper({\n useStyles,\n className: displayClassNames.root,\n displayName: 'Display',\n});\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Display/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC","sourcesContent":["export * from './Display';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"mappings":"AACA,yBAA2B,gBAAgB;AAC3C,SAASA,aAAa,QAA0B,YAAY;AAG5D,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,gBAAwCL,aAAa,CAAC;EAC3EI,SAAS;EACTE,SAAS,EAAEJ,oBAAoB,CAACC,IAAI;EACpCI,WAAW,EAAE;CACd,CAAC","names":["createWrapper","typographyStyles","largeTitleClassNames","root","useStyles","LargeTitle","className","displayName"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/LargeTitle/LargeTitle.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createWrapper, TextWrapperProps } from '../wrapper';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport { TextSlots } from '../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const 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 wrapper component for the Large Title typography variant\n */\nexport const LargeTitle: FunctionComponent<TextWrapperProps> = createWrapper({\n useStyles,\n className: largeTitleClassNames.root,\n displayName: 'LargeTitle',\n});\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/LargeTitle/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC","sourcesContent":["export * from './LargeTitle';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"mappings":"AACA,yBAA2B,gBAAgB;AAC3C,SAASA,aAAa,QAA0B,YAAY;AAG5D,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,gBAAwCL,aAAa,CAAC;EAC1EI,SAAS;EACTE,SAAS,EAAEJ,mBAAmB,CAACC,IAAI;EACnCI,WAAW,EAAE;CACd,CAAC","names":["createWrapper","typographyStyles","subtitle1ClassNames","root","useStyles","Subtitle1","className","displayName"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Subtitle1/Subtitle1.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createWrapper, TextWrapperProps } from '../wrapper';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport { TextSlots } from '../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const 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 wrapper component for the Subtitle1 typography variant\n */\nexport const Subtitle1: FunctionComponent<TextWrapperProps> = createWrapper({\n useStyles,\n className: subtitle1ClassNames.root,\n displayName: 'Subtitle1',\n});\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Subtitle1/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC","sourcesContent":["export * from './Subtitle1';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"mappings":"AACA,yBAA2B,gBAAgB;AAC3C,SAASA,aAAa,QAA0B,YAAY;AAG5D,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,gBAAwCL,aAAa,CAAC;EAC1EI,SAAS;EACTE,SAAS,EAAEJ,mBAAmB,CAACC,IAAI;EACnCI,WAAW,EAAE;CACd,CAAC","names":["createWrapper","typographyStyles","subtitle2ClassNames","root","useStyles","Subtitle2","className","displayName"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Subtitle2/Subtitle2.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createWrapper, TextWrapperProps } from '../wrapper';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport { TextSlots } from '../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const 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 wrapper component for the Subtitle2 typography variant\n */\nexport const Subtitle2: FunctionComponent<TextWrapperProps> = createWrapper({\n useStyles,\n className: subtitle2ClassNames.root,\n displayName: 'Subtitle2',\n});\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Subtitle2/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC","sourcesContent":["export * from './Subtitle2';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"mappings":"AACA,yBAA2B,gBAAgB;AAC3C,SAASA,aAAa,QAA0B,YAAY;AAG5D,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,gBAAwCL,aAAa,CAAC;EACvEI,SAAS;EACTE,SAAS,EAAEJ,gBAAgB,CAACC,IAAI;EAChCI,WAAW,EAAE;CACd,CAAC","names":["createWrapper","typographyStyles","title1ClassNames","root","useStyles","Title1","className","displayName"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Title1/Title1.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createWrapper, TextWrapperProps } from '../wrapper';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport { TextSlots } from '../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const title1ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Title1',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.title1,\n});\n\n/**\n * Text wrapper component for the Title 1 typography variant\n */\nexport const Title1: FunctionComponent<TextWrapperProps> = createWrapper({\n useStyles,\n className: title1ClassNames.root,\n displayName: 'Title1',\n});\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Title1/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC","sourcesContent":["export * from './Title1';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"mappings":"AACA,yBAA2B,gBAAgB;AAC3C,SAASA,aAAa,QAA0B,YAAY;AAG5D,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,gBAAwCL,aAAa,CAAC;EACvEI,SAAS;EACTE,SAAS,EAAEJ,gBAAgB,CAACC,IAAI;EAChCI,WAAW,EAAE;CACd,CAAC","names":["createWrapper","typographyStyles","title2ClassNames","root","useStyles","Title2","className","displayName"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Title2/Title2.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createWrapper, TextWrapperProps } from '../wrapper';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport { TextSlots } from '../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const title2ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Title2',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.title2,\n});\n\n/**\n * Text wrapper component for the Title 2 typography variant\n */\nexport const Title2: FunctionComponent<TextWrapperProps> = createWrapper({\n useStyles,\n className: title2ClassNames.root,\n displayName: 'Title2',\n});\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Title2/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC","sourcesContent":["export * from './Title2';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"mappings":"AACA,yBAA2B,gBAAgB;AAC3C,SAASA,aAAa,QAA0B,YAAY;AAG5D,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,gBAAwCL,aAAa,CAAC;EACvEI,SAAS;EACTE,SAAS,EAAEJ,gBAAgB,CAACC,IAAI;EAChCI,WAAW,EAAE;CACd,CAAC","names":["createWrapper","typographyStyles","title3ClassNames","root","useStyles","Title3","className","displayName"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Title3/Title3.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createWrapper, TextWrapperProps } from '../wrapper';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport { TextSlots } from '../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const title3ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Title3',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.title3,\n});\n\n/**\n * Text wrapper component for the Title 3 typography variant\n */\nexport const Title3: FunctionComponent<TextWrapperProps> = createWrapper({\n useStyles,\n className: title3ClassNames.root,\n displayName: 'Title3',\n});\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Title3/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC","sourcesContent":["export * from './Title3';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SAASC,YAAY,QAAQ,gBAAgB;AAC7C,SAASC,mBAAmB,EAAEC,gBAAgB,EAAEC,sBAAsB,QAAQ,SAAS;AAMvF,OAAM,SAAUC,aAAa,CAACC,OAI7B;EACC,MAAM;IAAEC,SAAS;IAAEC,SAAS;IAAEC;EAAW,CAAE,GAAGH,OAAO;EACrD,MAAMI,OAAO,gBAA0CV,KAAK,CAACW,UAAU,CAAC,CAACC,KAAK,EAAEC,GAAG,KAAI;IACrF,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","createWrapper","options","useStyles","className","displayName","Wrapper","forwardRef","props","ref","styles","state","root"],"sourceRoot":"","sources":["../../../../../../../../packages/react-components/react-text/src/components/wrapper.tsx"],"sourcesContent":["import * as React from 'react';\nimport { mergeClasses } from '@griffel/react';\nimport { renderText_unstable, useText_unstable, useTextStyles_unstable } from '../Text';\nimport type { TextProps } from '../Text';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\n\nexport type TextWrapperProps = Omit<TextProps, 'font' | 'size'>;\n\nexport function createWrapper(options: {\n className: string;\n displayName: string;\n useStyles: () => Record<'root', string>;\n}): React.FunctionComponent<TextWrapperProps> {\n const { useStyles, className, displayName } = options;\n const Wrapper: ForwardRefComponent<TextWrapperProps> = React.forwardRef((props, ref) => {\n const styles = useStyles();\n const state = useText_unstable(props as TextProps, ref);\n\n useTextStyles_unstable(state);\n\n state.root.className = mergeClasses(className, state.root.className, styles.root, props.className);\n\n return renderText_unstable(state);\n });\n Wrapper.displayName = displayName;\n\n return Wrapper;\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"mappings":";;;;;;AACA;AACA;AAGA;AAEaA,uBAAe,GAA8B;EACxDC,IAAI,EAAE;CACP;AAED;;;AAGA,MAAMC,SAAS,gBAAGC,gBAAU;EAAA;IAAA;IAAA;IAAA;IAAA;EAAA;AAAA;EAAA;AAAA,EAE1B;AAEF;;;AAGaH,aAAK,gBAAwCI,uBAAa,CAAC;EACtEF,SAAS;EACTG,SAAS,EAAEL,uBAAe,CAACC,IAAI;EAC/BK,WAAW,EAAE;CACd,CAAC","names":["exports","root","useStyles","react_1","wrapper_1","className","displayName"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Body1/Body1.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createWrapper, TextWrapperProps } from '../wrapper';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport { TextSlots } from '../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const body1ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Body1',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.body1,\n});\n\n/**\n * Text wrapper component for the Body1 typography variant\n */\nexport const Body1: FunctionComponent<TextWrapperProps> = createWrapper({\n useStyles,\n className: body1ClassNames.root,\n displayName: 'Body1',\n});\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"mappings":";;;;;;AAAAA","names":["tslib_1"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Body1/index.ts"],"sourcesContent":["export * from './Body1';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"mappings":";;;;;;AACA;AACA;AAGA;AAEaA,0BAAkB,GAA8B;EAC3DC,IAAI,EAAE;CACP;AAED;;;AAGA,MAAMC,SAAS,gBAAGC,gBAAU;EAAA;IAAA;IAAA;IAAA;IAAA;EAAA;AAAA;EAAA;AAAA,EAE1B;AAEF;;;AAGaH,gBAAQ,gBAAwCI,uBAAa,CAAC;EACzEF,SAAS;EACTG,SAAS,EAAEL,0BAAkB,CAACC,IAAI;EAClCK,WAAW,EAAE;CACd,CAAC","names":["exports","root","useStyles","react_1","wrapper_1","className","displayName"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Caption1/Caption1.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createWrapper, TextWrapperProps } from '../wrapper';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport { TextSlots } from '../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const caption1ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Caption1',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.caption1,\n});\n\n/**\n * Text wrapper component for the Caption1 typography variant\n */\nexport const Caption1: FunctionComponent<TextWrapperProps> = createWrapper({\n useStyles,\n className: caption1ClassNames.root,\n displayName: 'Caption1',\n});\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"mappings":";;;;;;AAAAA","names":["tslib_1"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Caption1/index.ts"],"sourcesContent":["export * from './Caption1';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"mappings":";;;;;;AACA;AACA;AAGA;AAEaA,0BAAkB,GAA8B;EAC3DC,IAAI,EAAE;CACP;AAED;;;AAGA,MAAMC,SAAS,gBAAGC,gBAAU;EAAA;IAAA;IAAA;IAAA;IAAA;EAAA;AAAA;EAAA;AAAA,EAE1B;AAEF;;;AAGaH,gBAAQ,gBAAwCI,uBAAa,CAAC;EACzEF,SAAS;EACTG,SAAS,EAAEL,0BAAkB,CAACC,IAAI;EAClCK,WAAW,EAAE;CACd,CAAC","names":["exports","root","useStyles","react_1","wrapper_1","className","displayName"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Caption2/Caption2.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createWrapper, TextWrapperProps } from '../wrapper';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport { TextSlots } from '../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const 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 wrapper component for the Caption2 typography variant\n */\nexport const Caption2: FunctionComponent<TextWrapperProps> = createWrapper({\n useStyles,\n className: caption2ClassNames.root,\n displayName: 'Caption2',\n});\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"mappings":";;;;;;AAAAA","names":["tslib_1"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Caption2/index.ts"],"sourcesContent":["export * from './Caption2';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"mappings":";;;;;;AACA;AACA;AAGA;AAEaA,yBAAiB,GAA8B;EAC1DC,IAAI,EAAE;CACP;AAED;;;AAGA,MAAMC,SAAS,gBAAGC,gBAAU;EAAA;IAAA;IAAA;IAAA;IAAA;EAAA;AAAA;EAAA;AAAA,EAE1B;AAEF;;;AAGaH,eAAO,gBAAwCI,uBAAa,CAAC;EACxEF,SAAS;EACTG,SAAS,EAAEL,yBAAiB,CAACC,IAAI;EACjCK,WAAW,EAAE;CACd,CAAC","names":["exports","root","useStyles","react_1","wrapper_1","className","displayName"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Display/Display.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createWrapper, TextWrapperProps } from '../wrapper';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport { TextSlots } from '../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const 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 wrapper component for the Display typography variant\n */\nexport const Display: FunctionComponent<TextWrapperProps> = createWrapper({\n useStyles,\n className: displayClassNames.root,\n displayName: 'Display',\n});\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"mappings":";;;;;;AAAAA","names":["tslib_1"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Display/index.ts"],"sourcesContent":["export * from './Display';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"mappings":";;;;;;AACA;AACA;AAGA;AAEaA,4BAAoB,GAA8B;EAC7DC,IAAI,EAAE;CACP;AAED;;;AAGA,MAAMC,SAAS,gBAAGC,gBAAU;EAAA;IAAA;IAAA;IAAA;IAAA;EAAA;AAAA;EAAA;AAAA,EAE1B;AAEF;;;AAGaH,kBAAU,gBAAwCI,uBAAa,CAAC;EAC3EF,SAAS;EACTG,SAAS,EAAEL,4BAAoB,CAACC,IAAI;EACpCK,WAAW,EAAE;CACd,CAAC","names":["exports","root","useStyles","react_1","wrapper_1","className","displayName"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/LargeTitle/LargeTitle.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createWrapper, TextWrapperProps } from '../wrapper';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport { TextSlots } from '../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const 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 wrapper component for the Large Title typography variant\n */\nexport const LargeTitle: FunctionComponent<TextWrapperProps> = createWrapper({\n useStyles,\n className: largeTitleClassNames.root,\n displayName: 'LargeTitle',\n});\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"mappings":";;;;;;AAAAA","names":["tslib_1"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/LargeTitle/index.ts"],"sourcesContent":["export * from './LargeTitle';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"mappings":";;;;;;AACA;AACA;AAGA;AAEaA,2BAAmB,GAA8B;EAC5DC,IAAI,EAAE;CACP;AAED;;;AAGA,MAAMC,SAAS,gBAAGC,gBAAU;EAAA;IAAA;IAAA;IAAA;IAAA;EAAA;AAAA;EAAA;AAAA,EAE1B;AAEF;;;AAGaH,iBAAS,gBAAwCI,uBAAa,CAAC;EAC1EF,SAAS;EACTG,SAAS,EAAEL,2BAAmB,CAACC,IAAI;EACnCK,WAAW,EAAE;CACd,CAAC","names":["exports","root","useStyles","react_1","wrapper_1","className","displayName"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Subtitle1/Subtitle1.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createWrapper, TextWrapperProps } from '../wrapper';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport { TextSlots } from '../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const 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 wrapper component for the Subtitle1 typography variant\n */\nexport const Subtitle1: FunctionComponent<TextWrapperProps> = createWrapper({\n useStyles,\n className: subtitle1ClassNames.root,\n displayName: 'Subtitle1',\n});\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"mappings":";;;;;;AAAAA","names":["tslib_1"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Subtitle1/index.ts"],"sourcesContent":["export * from './Subtitle1';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"mappings":";;;;;;AACA;AACA;AAGA;AAEaA,2BAAmB,GAA8B;EAC5DC,IAAI,EAAE;CACP;AAED;;;AAGA,MAAMC,SAAS,gBAAGC,gBAAU;EAAA;IAAA;IAAA;IAAA;IAAA;EAAA;AAAA;EAAA;AAAA,EAE1B;AAEF;;;AAGaH,iBAAS,gBAAwCI,uBAAa,CAAC;EAC1EF,SAAS;EACTG,SAAS,EAAEL,2BAAmB,CAACC,IAAI;EACnCK,WAAW,EAAE;CACd,CAAC","names":["exports","root","useStyles","react_1","wrapper_1","className","displayName"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Subtitle2/Subtitle2.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createWrapper, TextWrapperProps } from '../wrapper';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport { TextSlots } from '../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const 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 wrapper component for the Subtitle2 typography variant\n */\nexport const Subtitle2: FunctionComponent<TextWrapperProps> = createWrapper({\n useStyles,\n className: subtitle2ClassNames.root,\n displayName: 'Subtitle2',\n});\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"mappings":";;;;;;AAAAA","names":["tslib_1"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Subtitle2/index.ts"],"sourcesContent":["export * from './Subtitle2';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"mappings":";;;;;;AACA;AACA;AAGA;AAEaA,wBAAgB,GAA8B;EACzDC,IAAI,EAAE;CACP;AAED;;;AAGA,MAAMC,SAAS,gBAAGC,gBAAU;EAAA;IAAA;IAAA;IAAA;IAAA;EAAA;AAAA;EAAA;AAAA,EAE1B;AAEF;;;AAGaH,cAAM,gBAAwCI,uBAAa,CAAC;EACvEF,SAAS;EACTG,SAAS,EAAEL,wBAAgB,CAACC,IAAI;EAChCK,WAAW,EAAE;CACd,CAAC","names":["exports","root","useStyles","react_1","wrapper_1","className","displayName"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Title1/Title1.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createWrapper, TextWrapperProps } from '../wrapper';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport { TextSlots } from '../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const title1ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Title1',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.title1,\n});\n\n/**\n * Text wrapper component for the Title 1 typography variant\n */\nexport const Title1: FunctionComponent<TextWrapperProps> = createWrapper({\n useStyles,\n className: title1ClassNames.root,\n displayName: 'Title1',\n});\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"mappings":";;;;;;AAAAA","names":["tslib_1"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Title1/index.ts"],"sourcesContent":["export * from './Title1';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"mappings":";;;;;;AACA;AACA;AAGA;AAEaA,wBAAgB,GAA8B;EACzDC,IAAI,EAAE;CACP;AAED;;;AAGA,MAAMC,SAAS,gBAAGC,gBAAU;EAAA;IAAA;IAAA;IAAA;IAAA;EAAA;AAAA;EAAA;AAAA,EAE1B;AAEF;;;AAGaH,cAAM,gBAAwCI,uBAAa,CAAC;EACvEF,SAAS;EACTG,SAAS,EAAEL,wBAAgB,CAACC,IAAI;EAChCK,WAAW,EAAE;CACd,CAAC","names":["exports","root","useStyles","react_1","wrapper_1","className","displayName"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Title2/Title2.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createWrapper, TextWrapperProps } from '../wrapper';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport { TextSlots } from '../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const title2ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Title2',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.title2,\n});\n\n/**\n * Text wrapper component for the Title 2 typography variant\n */\nexport const Title2: FunctionComponent<TextWrapperProps> = createWrapper({\n useStyles,\n className: title2ClassNames.root,\n displayName: 'Title2',\n});\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"mappings":";;;;;;AAAAA","names":["tslib_1"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Title2/index.ts"],"sourcesContent":["export * from './Title2';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"mappings":";;;;;;AACA;AACA;AAGA;AAEaA,wBAAgB,GAA8B;EACzDC,IAAI,EAAE;CACP;AAED;;;AAGA,MAAMC,SAAS,gBAAGC,gBAAU;EAAA;IAAA;IAAA;IAAA;IAAA;EAAA;AAAA;EAAA;AAAA,EAE1B;AAEF;;;AAGaH,cAAM,gBAAwCI,uBAAa,CAAC;EACvEF,SAAS;EACTG,SAAS,EAAEL,wBAAgB,CAACC,IAAI;EAChCK,WAAW,EAAE;CACd,CAAC","names":["exports","root","useStyles","react_1","wrapper_1","className","displayName"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Title3/Title3.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createWrapper, TextWrapperProps } from '../wrapper';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport { TextSlots } from '../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const title3ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Title3',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.title3,\n});\n\n/**\n * Text wrapper component for the Title 3 typography variant\n */\nexport const Title3: FunctionComponent<TextWrapperProps> = createWrapper({\n useStyles,\n className: title3ClassNames.root,\n displayName: 'Title3',\n});\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"mappings":";;;;;;AAAAA","names":["tslib_1"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Title3/index.ts"],"sourcesContent":["export * from './Title3';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"mappings":";;;;;;AAAA;AACA;AACA;AAMA,SAAgBA,aAAa,CAACC,OAI7B;EACC,MAAM;IAAEC,SAAS;IAAEC,SAAS;IAAEC;EAAW,CAAE,GAAGH,OAAO;EACrD,MAAMI,OAAO,GAA0CC,KAAK,CAACC,UAAU,CAAC,CAACC,KAAK,EAAEC,GAAG,KAAI;IACrF,MAAMC,MAAM,GAAGR,SAAS,EAAE;IAC1B,MAAMS,KAAK,GAAGC,uBAAgB,CAACJ,KAAkB,EAAEC,GAAG,CAAC;IAEvDG,6BAAsB,CAACD,KAAK,CAAC;IAE7BA,KAAK,CAACE,IAAI,CAACV,SAAS,GAAGW,oBAAY,CAACX,SAAS,EAAEQ,KAAK,CAACE,IAAI,CAACV,SAAS,EAAEO,MAAM,CAACG,IAAI,EAAEL,KAAK,CAACL,SAAS,CAAC;IAElG,OAAOS,0BAAmB,CAACD,KAAK,CAAC;EACnC,CAAC,CAAC;EACFN,OAAO,CAACD,WAAW,GAAGA,WAAW;EAEjC,OAAOC,OAAO;AAChB;AAnBAU","names":["createWrapper","options","useStyles","className","displayName","Wrapper","React","forwardRef","props","ref","styles","state","Text_1","root","react_1","exports"],"sourceRoot":"","sources":["../../../../../../../../packages/react-components/react-text/src/components/wrapper.tsx"],"sourcesContent":["import * as React from 'react';\nimport { mergeClasses } from '@griffel/react';\nimport { renderText_unstable, useText_unstable, useTextStyles_unstable } from '../Text';\nimport type { TextProps } from '../Text';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\n\nexport type TextWrapperProps = Omit<TextProps, 'font' | 'size'>;\n\nexport function createWrapper(options: {\n className: string;\n displayName: string;\n useStyles: () => Record<'root', string>;\n}): React.FunctionComponent<TextWrapperProps> {\n const { useStyles, className, displayName } = options;\n const Wrapper: ForwardRefComponent<TextWrapperProps> = React.forwardRef((props, ref) => {\n const styles = useStyles();\n const state = useText_unstable(props as TextProps, ref);\n\n useTextStyles_unstable(state);\n\n state.root.className = mergeClasses(className, state.root.className, styles.root, props.className);\n\n return renderText_unstable(state);\n });\n Wrapper.displayName = displayName;\n\n return Wrapper;\n}\n"]}
|