@fluentui/react-text 9.4.26 → 9.4.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -2
- package/lib/Body1.js.map +1 -1
- package/lib/Body1Strong.js.map +1 -1
- package/lib/Body1Stronger.js.map +1 -1
- package/lib/Body2.js.map +1 -1
- package/lib/Caption1.js.map +1 -1
- package/lib/Caption1Strong.js.map +1 -1
- package/lib/Caption1Stronger.js.map +1 -1
- package/lib/Caption2.js.map +1 -1
- package/lib/Caption2Strong.js.map +1 -1
- package/lib/Display.js.map +1 -1
- package/lib/LargeTitle.js.map +1 -1
- package/lib/Subtitle1.js.map +1 -1
- package/lib/Subtitle2.js.map +1 -1
- package/lib/Subtitle2Stronger.js.map +1 -1
- package/lib/Text.js.map +1 -1
- package/lib/Title1.js.map +1 -1
- package/lib/Title2.js.map +1 -1
- package/lib/Title3.js.map +1 -1
- package/lib/components/Text/Text.js.map +1 -1
- package/lib/components/Text/Text.types.js.map +1 -1
- package/lib/components/Text/index.js.map +1 -1
- package/lib/components/Text/renderText.js.map +1 -1
- package/lib/components/Text/useText.js.map +1 -1
- package/lib/components/Text/useTextStyles.styles.js +1 -2
- package/lib/components/presets/Body1/Body1.js.map +1 -1
- package/lib/components/presets/Body1/index.js.map +1 -1
- package/lib/components/presets/Body1/useBody1Styles.styles.js +1 -2
- package/lib/components/presets/Body1Strong/Body1Strong.js.map +1 -1
- package/lib/components/presets/Body1Strong/index.js.map +1 -1
- package/lib/components/presets/Body1Strong/useBody1StrongStyles.styles.js +1 -2
- package/lib/components/presets/Body1Stronger/Body1Stronger.js.map +1 -1
- package/lib/components/presets/Body1Stronger/index.js.map +1 -1
- package/lib/components/presets/Body1Stronger/useBody1StrongerStyles.styles.js +1 -2
- package/lib/components/presets/Body2/Body2.js.map +1 -1
- package/lib/components/presets/Body2/index.js.map +1 -1
- package/lib/components/presets/Body2/useBody2Styles.styles.js +1 -2
- package/lib/components/presets/Caption1/Caption1.js.map +1 -1
- package/lib/components/presets/Caption1/index.js.map +1 -1
- package/lib/components/presets/Caption1/useCaption1Styles.styles.js +1 -2
- package/lib/components/presets/Caption1Strong/Caption1Strong.js.map +1 -1
- package/lib/components/presets/Caption1Strong/index.js.map +1 -1
- package/lib/components/presets/Caption1Strong/useCaption1StrongStyles.styles.js +1 -2
- package/lib/components/presets/Caption1Stronger/Caption1Stronger.js.map +1 -1
- package/lib/components/presets/Caption1Stronger/index.js.map +1 -1
- package/lib/components/presets/Caption1Stronger/useCaption1Stronger.styles.js +1 -2
- package/lib/components/presets/Caption2/Caption2.js.map +1 -1
- package/lib/components/presets/Caption2/index.js.map +1 -1
- package/lib/components/presets/Caption2/useCaption2Styles.styles.js +1 -2
- package/lib/components/presets/Caption2Strong/Caption2Strong.js.map +1 -1
- package/lib/components/presets/Caption2Strong/index.js.map +1 -1
- package/lib/components/presets/Caption2Strong/useCaption2StrongStyles.styles.js +1 -2
- package/lib/components/presets/Display/Display.js.map +1 -1
- package/lib/components/presets/Display/index.js.map +1 -1
- package/lib/components/presets/Display/useDisplayStyles.styles.js +1 -2
- package/lib/components/presets/LargeTitle/LargeTitle.js.map +1 -1
- package/lib/components/presets/LargeTitle/index.js.map +1 -1
- package/lib/components/presets/LargeTitle/useLargeTitleStyles.styles.js +1 -2
- package/lib/components/presets/Subtitle1/Subtitle1.js.map +1 -1
- package/lib/components/presets/Subtitle1/index.js.map +1 -1
- package/lib/components/presets/Subtitle1/useSubtitle1Styles.styles.js +1 -2
- package/lib/components/presets/Subtitle2/Subtitle2.js.map +1 -1
- package/lib/components/presets/Subtitle2/index.js.map +1 -1
- package/lib/components/presets/Subtitle2/useSubtitle2Styles.styles.js +1 -2
- package/lib/components/presets/Subtitle2Stronger/Subtitle2Stronger.js.map +1 -1
- package/lib/components/presets/Subtitle2Stronger/index.js.map +1 -1
- package/lib/components/presets/Subtitle2Stronger/useSubtitle2Stronger.styles.js +1 -2
- package/lib/components/presets/Title1/Title1.js.map +1 -1
- package/lib/components/presets/Title1/index.js.map +1 -1
- package/lib/components/presets/Title1/useTitle1Styles.styles.js +1 -2
- package/lib/components/presets/Title2/Title2.js.map +1 -1
- package/lib/components/presets/Title2/index.js.map +1 -1
- package/lib/components/presets/Title2/useTitle2Styles.styles.js +1 -2
- package/lib/components/presets/Title3/Title3.js.map +1 -1
- package/lib/components/presets/Title3/index.js.map +1 -1
- package/lib/components/presets/Title3/useTitle3Styles.styles.js +1 -2
- package/lib/components/presets/createPreset.js.map +1 -1
- package/lib/index.js.map +1 -1
- package/lib-commonjs/Body1.js.map +1 -1
- package/lib-commonjs/Body1Strong.js.map +1 -1
- package/lib-commonjs/Body1Stronger.js.map +1 -1
- package/lib-commonjs/Body2.js.map +1 -1
- package/lib-commonjs/Caption1.js.map +1 -1
- package/lib-commonjs/Caption1Strong.js.map +1 -1
- package/lib-commonjs/Caption1Stronger.js.map +1 -1
- package/lib-commonjs/Caption2.js.map +1 -1
- package/lib-commonjs/Caption2Strong.js.map +1 -1
- package/lib-commonjs/Display.js.map +1 -1
- package/lib-commonjs/LargeTitle.js.map +1 -1
- package/lib-commonjs/Subtitle1.js.map +1 -1
- package/lib-commonjs/Subtitle2.js.map +1 -1
- package/lib-commonjs/Subtitle2Stronger.js.map +1 -1
- package/lib-commonjs/Text.js.map +1 -1
- package/lib-commonjs/Title1.js.map +1 -1
- package/lib-commonjs/Title2.js.map +1 -1
- package/lib-commonjs/Title3.js.map +1 -1
- package/lib-commonjs/components/Text/Text.js.map +1 -1
- package/lib-commonjs/components/Text/Text.types.js.map +1 -1
- package/lib-commonjs/components/Text/index.js.map +1 -1
- package/lib-commonjs/components/Text/renderText.js.map +1 -1
- package/lib-commonjs/components/Text/useText.js.map +1 -1
- package/lib-commonjs/components/Text/useTextStyles.styles.js +1 -1
- package/lib-commonjs/components/presets/Body1/Body1.js.map +1 -1
- package/lib-commonjs/components/presets/Body1/index.js.map +1 -1
- package/lib-commonjs/components/presets/Body1/useBody1Styles.styles.js +1 -1
- package/lib-commonjs/components/presets/Body1Strong/Body1Strong.js.map +1 -1
- package/lib-commonjs/components/presets/Body1Strong/index.js.map +1 -1
- package/lib-commonjs/components/presets/Body1Strong/useBody1StrongStyles.styles.js +1 -1
- package/lib-commonjs/components/presets/Body1Stronger/Body1Stronger.js.map +1 -1
- package/lib-commonjs/components/presets/Body1Stronger/index.js.map +1 -1
- package/lib-commonjs/components/presets/Body1Stronger/useBody1StrongerStyles.styles.js +1 -1
- package/lib-commonjs/components/presets/Body2/Body2.js.map +1 -1
- package/lib-commonjs/components/presets/Body2/index.js.map +1 -1
- package/lib-commonjs/components/presets/Body2/useBody2Styles.styles.js +1 -1
- package/lib-commonjs/components/presets/Caption1/Caption1.js.map +1 -1
- package/lib-commonjs/components/presets/Caption1/index.js.map +1 -1
- package/lib-commonjs/components/presets/Caption1/useCaption1Styles.styles.js +1 -1
- package/lib-commonjs/components/presets/Caption1Strong/Caption1Strong.js.map +1 -1
- package/lib-commonjs/components/presets/Caption1Strong/index.js.map +1 -1
- package/lib-commonjs/components/presets/Caption1Strong/useCaption1StrongStyles.styles.js +1 -1
- package/lib-commonjs/components/presets/Caption1Stronger/Caption1Stronger.js.map +1 -1
- package/lib-commonjs/components/presets/Caption1Stronger/index.js.map +1 -1
- package/lib-commonjs/components/presets/Caption1Stronger/useCaption1Stronger.styles.js +1 -1
- package/lib-commonjs/components/presets/Caption2/Caption2.js.map +1 -1
- package/lib-commonjs/components/presets/Caption2/index.js.map +1 -1
- package/lib-commonjs/components/presets/Caption2/useCaption2Styles.styles.js +1 -1
- package/lib-commonjs/components/presets/Caption2Strong/Caption2Strong.js.map +1 -1
- package/lib-commonjs/components/presets/Caption2Strong/index.js.map +1 -1
- package/lib-commonjs/components/presets/Caption2Strong/useCaption2StrongStyles.styles.js +1 -1
- package/lib-commonjs/components/presets/Display/Display.js.map +1 -1
- package/lib-commonjs/components/presets/Display/index.js.map +1 -1
- package/lib-commonjs/components/presets/Display/useDisplayStyles.styles.js +1 -1
- package/lib-commonjs/components/presets/LargeTitle/LargeTitle.js.map +1 -1
- package/lib-commonjs/components/presets/LargeTitle/index.js.map +1 -1
- package/lib-commonjs/components/presets/LargeTitle/useLargeTitleStyles.styles.js +1 -1
- package/lib-commonjs/components/presets/Subtitle1/Subtitle1.js.map +1 -1
- package/lib-commonjs/components/presets/Subtitle1/index.js.map +1 -1
- package/lib-commonjs/components/presets/Subtitle1/useSubtitle1Styles.styles.js +1 -1
- package/lib-commonjs/components/presets/Subtitle2/Subtitle2.js.map +1 -1
- package/lib-commonjs/components/presets/Subtitle2/index.js.map +1 -1
- package/lib-commonjs/components/presets/Subtitle2/useSubtitle2Styles.styles.js +1 -1
- package/lib-commonjs/components/presets/Subtitle2Stronger/Subtitle2Stronger.js.map +1 -1
- package/lib-commonjs/components/presets/Subtitle2Stronger/index.js.map +1 -1
- package/lib-commonjs/components/presets/Subtitle2Stronger/useSubtitle2Stronger.styles.js +1 -1
- package/lib-commonjs/components/presets/Title1/Title1.js.map +1 -1
- package/lib-commonjs/components/presets/Title1/index.js.map +1 -1
- package/lib-commonjs/components/presets/Title1/useTitle1Styles.styles.js +1 -1
- package/lib-commonjs/components/presets/Title2/Title2.js.map +1 -1
- package/lib-commonjs/components/presets/Title2/index.js.map +1 -1
- package/lib-commonjs/components/presets/Title2/useTitle2Styles.styles.js +1 -1
- package/lib-commonjs/components/presets/Title3/Title3.js.map +1 -1
- package/lib-commonjs/components/presets/Title3/index.js.map +1 -1
- package/lib-commonjs/components/presets/Title3/useTitle3Styles.styles.js +1 -1
- package/lib-commonjs/components/presets/createPreset.js.map +1 -1
- package/lib-commonjs/index.js.map +1 -1
- package/package.json +6 -21
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["Title2.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { title2ClassNames, useTitle2Styles } from './useTitle2Styles.styles';\n\n/**\n * Text preset component for the Title 2 typography variant\n */\nexport const Title2: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useTitle2Styles,\n className: title2ClassNames.root,\n displayName: 'Title2',\n});\n"],"names":["Title2","createPreset","useStyles","useTitle2Styles","className","title2ClassNames","root","displayName"],"rangeMappings":";;;;;;;;;;;;;;;;","mappings":";;;;+BAQaA;;;eAAAA;;;8BAPgB;uCAEqB;AAK3C,MAAMA,SAA6CC,IAAAA,0BAAAA,EAAa;IACrEC,WAAWC,sCAAAA;IACXC,WAAWC,uCAAAA,CAAiBC,IAAI;IAChCC,aAAa;AACf"}
|
1
|
+
{"version":3,"sources":["../src/components/presets/Title2/Title2.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { title2ClassNames, useTitle2Styles } from './useTitle2Styles.styles';\n\n/**\n * Text preset component for the Title 2 typography variant\n */\nexport const Title2: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useTitle2Styles,\n className: title2ClassNames.root,\n displayName: 'Title2',\n});\n"],"names":["Title2","createPreset","useStyles","useTitle2Styles","className","title2ClassNames","root","displayName"],"rangeMappings":";;;;;;;;;;;;;;;;","mappings":";;;;+BAQaA;;;eAAAA;;;8BAPgB;uCAEqB;AAK3C,MAAMA,SAA6CC,IAAAA,0BAAAA,EAAa;IACrEC,WAAWC,sCAAAA;IACXC,WAAWC,uCAAAA,CAAiBC,IAAI;IAChCC,aAAa;AACf"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './Title2';\nexport { title2ClassNames } from './useTitle2Styles.styles';\n"],"names":["title2ClassNames"],"rangeMappings":";;;;;;;;;;;;","mappings":";;;;+BACSA;;;eAAAA,uCAAgB;;;;uBADX;uCACmB"}
|
1
|
+
{"version":3,"sources":["../src/components/presets/Title2/index.ts"],"sourcesContent":["export * from './Title2';\nexport { title2ClassNames } from './useTitle2Styles.styles';\n"],"names":["title2ClassNames"],"rangeMappings":";;;;;;;;;;;;","mappings":";;;;+BACSA;;;eAAAA,uCAAgB;;;;uBADX;uCACmB"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["Title3.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { title3ClassNames, useTitle3Styles } from './useTitle3Styles.styles';\n\n/**\n * Text preset component for the Title 3 typography variant\n */\nexport const Title3: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useTitle3Styles,\n className: title3ClassNames.root,\n displayName: 'Title3',\n});\n"],"names":["Title3","createPreset","useStyles","useTitle3Styles","className","title3ClassNames","root","displayName"],"rangeMappings":";;;;;;;;;;;;;;;;","mappings":";;;;+BAQaA;;;eAAAA;;;8BAPgB;uCAEqB;AAK3C,MAAMA,SAA6CC,IAAAA,0BAAAA,EAAa;IACrEC,WAAWC,sCAAAA;IACXC,WAAWC,uCAAAA,CAAiBC,IAAI;IAChCC,aAAa;AACf"}
|
1
|
+
{"version":3,"sources":["../src/components/presets/Title3/Title3.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { title3ClassNames, useTitle3Styles } from './useTitle3Styles.styles';\n\n/**\n * Text preset component for the Title 3 typography variant\n */\nexport const Title3: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useTitle3Styles,\n className: title3ClassNames.root,\n displayName: 'Title3',\n});\n"],"names":["Title3","createPreset","useStyles","useTitle3Styles","className","title3ClassNames","root","displayName"],"rangeMappings":";;;;;;;;;;;;;;;;","mappings":";;;;+BAQaA;;;eAAAA;;;8BAPgB;uCAEqB;AAK3C,MAAMA,SAA6CC,IAAAA,0BAAAA,EAAa;IACrEC,WAAWC,sCAAAA;IACXC,WAAWC,uCAAAA,CAAiBC,IAAI;IAChCC,aAAa;AACf"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './Title3';\nexport { title3ClassNames } from './useTitle3Styles.styles';\n"],"names":["title3ClassNames"],"rangeMappings":";;;;;;;;;;;;","mappings":";;;;+BACSA;;;eAAAA,uCAAgB;;;;uBADX;uCACmB"}
|
1
|
+
{"version":3,"sources":["../src/components/presets/Title3/index.ts"],"sourcesContent":["export * from './Title3';\nexport { title3ClassNames } from './useTitle3Styles.styles';\n"],"names":["title3ClassNames"],"rangeMappings":";;;;;;;;;;;;","mappings":";;;;+BACSA;;;eAAAA,uCAAgB;;;;uBADX;uCACmB"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["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 'use no memo';\n\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"],"names":["createPreset","options","useStyles","className","displayName","Wrapper","React","forwardRef","props","ref","styles","state","useText_unstable","useTextStyles_unstable","root","mergeClasses","renderText_unstable"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;+BAMgBA;;;eAAAA;;;;iEANO;wBACM;sBACiD;AAIvE,SAASA,aAAaC,OAI5B;IACC,MAAM,EAAEC,SAAS,EAAEC,SAAS,EAAEC,WAAW,EAAE,GAAGH;IAC9C,MAAMI,wBAAgDC,OAAMC,UAAU,CAAC,CAACC,OAAOC;QAC7E;QAEA,MAAMC,SAASR;QACf,MAAMS,QAAQC,IAAAA,sBAAAA,EAAiBJ,OAAoBC;QAEnDI,IAAAA,4BAAAA,EAAuBF;QAEvBA,MAAMG,IAAI,CAACX,SAAS,GAAGY,IAAAA,oBAAAA,EAAaZ,WAAWQ,MAAMG,IAAI,CAACX,SAAS,EAAEO,OAAOI,IAAI,EAAEN,MAAML,SAAS;QAEjG,OAAOa,IAAAA,yBAAAA,EAAoBL;IAC7B;IACAN,QAAQD,WAAW,GAAGA;IAEtB,OAAOC;AACT"}
|
1
|
+
{"version":3,"sources":["../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 'use no memo';\n\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"],"names":["createPreset","options","useStyles","className","displayName","Wrapper","React","forwardRef","props","ref","styles","state","useText_unstable","useTextStyles_unstable","root","mergeClasses","renderText_unstable"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;+BAMgBA;;;eAAAA;;;;iEANO;wBACM;sBACiD;AAIvE,SAASA,aAAaC,OAI5B;IACC,MAAM,EAAEC,SAAS,EAAEC,SAAS,EAAEC,WAAW,EAAE,GAAGH;IAC9C,MAAMI,wBAAgDC,OAAMC,UAAU,CAAC,CAACC,OAAOC;QAC7E;QAEA,MAAMC,SAASR;QACf,MAAMS,QAAQC,IAAAA,sBAAAA,EAAiBJ,OAAoBC;QAEnDI,IAAAA,4BAAAA,EAAuBF;QAEvBA,MAAMG,IAAI,CAACX,SAAS,GAAGY,IAAAA,oBAAAA,EAAaZ,WAAWQ,MAAMG,IAAI,CAACX,SAAS,EAAEO,OAAOI,IAAI,EAAEN,MAAML,SAAS;QAEjG,OAAOa,IAAAA,yBAAAA,EAAoBL;IAC7B;IACAN,QAAQD,WAAW,GAAGA;IAEtB,OAAOC;AACT"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.ts"],"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"],"names":["Body1","Body1Strong","Body1Stronger","Body2","Caption1","Caption1Strong","Caption1Stronger","Caption2","Caption2Strong","Display","LargeTitle","Subtitle1","Subtitle2","Subtitle2Stronger","Text","Title1","Title2","Title3","body1ClassNames","body1StrongClassNames","body1StrongerClassNames","body2ClassNames","caption1ClassNames","caption1StrongClassNames","caption1StrongerClassNames","caption2ClassNames","caption2StrongClassNames","displayClassNames","largeTitleClassNames","renderText_unstable","subtitle1ClassNames","subtitle2ClassNames","subtitle2StrongerClassNames","textClassNames","title1ClassNames","title2ClassNames","title3ClassNames","useTextStyles_unstable","useText_unstable"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAESA,KAAK;eAALA,YAAK;;IACLC,WAAW;eAAXA,wBAAW;;IACXC,aAAa;eAAbA,4BAAa;;IACbC,KAAK;eAALA,YAAK;;IACLC,QAAQ;eAARA,kBAAQ;;IACRC,cAAc;eAAdA,8BAAc;;IACdC,gBAAgB;eAAhBA,kCAAgB;;IAChBC,QAAQ;eAARA,kBAAQ;;IACRC,cAAc;eAAdA,8BAAc;;IACdC,OAAO;eAAPA,gBAAO;;IACPC,UAAU;eAAVA,sBAAU;;IACVC,SAAS;eAATA,oBAAS;;IACTC,SAAS;eAATA,oBAAS;;IACTC,iBAAiB;eAAjBA,oCAAiB;;IAfjBC,IAAI;eAAJA,UAAI;;IAgBJC,MAAM;eAANA,cAAM;;IACNC,MAAM;eAANA,cAAM;;IACNC,MAAM;eAANA,cAAM;;IAhBCC,eAAe;eAAfA,sBAAe;;IACTC,qBAAqB;eAArBA,kCAAqB;;IACnBC,uBAAuB;eAAvBA,sCAAuB;;IAC/BC,eAAe;eAAfA,sBAAe;;IACZC,kBAAkB;eAAlBA,4BAAkB;;IACZC,wBAAwB;eAAxBA,wCAAwB;;IACtBC,0BAA0B;eAA1BA,4CAA0B;;IAClCC,kBAAkB;eAAlBA,4BAAkB;;IACZC,wBAAwB;eAAxBA,wCAAwB;;IAC/BC,iBAAiB;eAAjBA,0BAAiB;;IACdC,oBAAoB;eAApBA,gCAAoB;;IAZ1BC,mBAAmB;eAAnBA,yBAAmB;;IAadC,mBAAmB;eAAnBA,8BAAmB;;IACnBC,mBAAmB;eAAnBA,8BAAmB;;IACXC,2BAA2B;eAA3BA,8CAA2B;;IAfnBC,cAAc;eAAdA,oBAAc;;IAgBjCC,gBAAgB;eAAhBA,wBAAgB;;IAChBC,gBAAgB;eAAhBA,wBAAgB;;IAChBC,gBAAgB;eAAhBA,wBAAgB;;IAlBmBC,sBAAsB;eAAtBA,4BAAsB;;IAAEC,gBAAgB;eAAhBA,sBAAgB;;;sBAAQ;uBAE7D;6BACY;+BACI;uBAChB;0BACM;gCACY;kCACI;0BAChB;gCACY;yBACd;4BACM;2BACF;2BACA;mCACgB;wBACtB;wBACA;wBACA"}
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"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"],"names":["Body1","Body1Strong","Body1Stronger","Body2","Caption1","Caption1Strong","Caption1Stronger","Caption2","Caption2Strong","Display","LargeTitle","Subtitle1","Subtitle2","Subtitle2Stronger","Text","Title1","Title2","Title3","body1ClassNames","body1StrongClassNames","body1StrongerClassNames","body2ClassNames","caption1ClassNames","caption1StrongClassNames","caption1StrongerClassNames","caption2ClassNames","caption2StrongClassNames","displayClassNames","largeTitleClassNames","renderText_unstable","subtitle1ClassNames","subtitle2ClassNames","subtitle2StrongerClassNames","textClassNames","title1ClassNames","title2ClassNames","title3ClassNames","useTextStyles_unstable","useText_unstable"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAESA,KAAK;eAALA,YAAK;;IACLC,WAAW;eAAXA,wBAAW;;IACXC,aAAa;eAAbA,4BAAa;;IACbC,KAAK;eAALA,YAAK;;IACLC,QAAQ;eAARA,kBAAQ;;IACRC,cAAc;eAAdA,8BAAc;;IACdC,gBAAgB;eAAhBA,kCAAgB;;IAChBC,QAAQ;eAARA,kBAAQ;;IACRC,cAAc;eAAdA,8BAAc;;IACdC,OAAO;eAAPA,gBAAO;;IACPC,UAAU;eAAVA,sBAAU;;IACVC,SAAS;eAATA,oBAAS;;IACTC,SAAS;eAATA,oBAAS;;IACTC,iBAAiB;eAAjBA,oCAAiB;;IAfjBC,IAAI;eAAJA,UAAI;;IAgBJC,MAAM;eAANA,cAAM;;IACNC,MAAM;eAANA,cAAM;;IACNC,MAAM;eAANA,cAAM;;IAhBCC,eAAe;eAAfA,sBAAe;;IACTC,qBAAqB;eAArBA,kCAAqB;;IACnBC,uBAAuB;eAAvBA,sCAAuB;;IAC/BC,eAAe;eAAfA,sBAAe;;IACZC,kBAAkB;eAAlBA,4BAAkB;;IACZC,wBAAwB;eAAxBA,wCAAwB;;IACtBC,0BAA0B;eAA1BA,4CAA0B;;IAClCC,kBAAkB;eAAlBA,4BAAkB;;IACZC,wBAAwB;eAAxBA,wCAAwB;;IAC/BC,iBAAiB;eAAjBA,0BAAiB;;IACdC,oBAAoB;eAApBA,gCAAoB;;IAZ1BC,mBAAmB;eAAnBA,yBAAmB;;IAadC,mBAAmB;eAAnBA,8BAAmB;;IACnBC,mBAAmB;eAAnBA,8BAAmB;;IACXC,2BAA2B;eAA3BA,8CAA2B;;IAfnBC,cAAc;eAAdA,oBAAc;;IAgBjCC,gBAAgB;eAAhBA,wBAAgB;;IAChBC,gBAAgB;eAAhBA,wBAAgB;;IAChBC,gBAAgB;eAAhBA,wBAAgB;;IAlBmBC,sBAAsB;eAAtBA,4BAAsB;;IAAEC,gBAAgB;eAAhBA,sBAAgB;;;sBAAQ;uBAE7D;6BACY;+BACI;uBAChB;0BACM;gCACY;kCACI;0BAChB;gCACY;yBACd;4BACM;2BACF;2BACA;mCACgB;wBACtB;wBACA;wBACA"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@fluentui/react-text",
|
3
|
-
"version": "9.4.
|
3
|
+
"version": "9.4.27",
|
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",
|
@@ -11,32 +11,17 @@
|
|
11
11
|
"url": "https://github.com/microsoft/fluentui"
|
12
12
|
},
|
13
13
|
"license": "MIT",
|
14
|
-
"scripts": {
|
15
|
-
"build": "just-scripts build",
|
16
|
-
"bundle-size": "monosize measure",
|
17
|
-
"clean": "just-scripts clean",
|
18
|
-
"code-style": "just-scripts code-style",
|
19
|
-
"just": "just-scripts",
|
20
|
-
"lint": "just-scripts lint",
|
21
|
-
"start": "yarn storybook",
|
22
|
-
"test": "jest --passWithNoTests",
|
23
|
-
"storybook": "yarn --cwd ../stories storybook",
|
24
|
-
"type-check": "just-scripts type-check",
|
25
|
-
"generate-api": "just-scripts generate-api",
|
26
|
-
"verify-packaging": "just-scripts verify-packaging"
|
27
|
-
},
|
28
14
|
"devDependencies": {
|
29
15
|
"@fluentui/eslint-plugin": "*",
|
30
16
|
"@fluentui/react-conformance": "*",
|
31
17
|
"@fluentui/react-conformance-griffel": "*",
|
32
|
-
"@fluentui/scripts-api-extractor": "*"
|
33
|
-
"@fluentui/scripts-tasks": "*"
|
18
|
+
"@fluentui/scripts-api-extractor": "*"
|
34
19
|
},
|
35
20
|
"dependencies": {
|
36
|
-
"@fluentui/react-shared-contexts": "^9.
|
37
|
-
"@fluentui/react-theme": "^9.1.
|
38
|
-
"@fluentui/react-utilities": "^9.18.
|
39
|
-
"@fluentui/react-jsx-runtime": "^9.0.
|
21
|
+
"@fluentui/react-shared-contexts": "^9.21.0",
|
22
|
+
"@fluentui/react-theme": "^9.1.22",
|
23
|
+
"@fluentui/react-utilities": "^9.18.17",
|
24
|
+
"@fluentui/react-jsx-runtime": "^9.0.46",
|
40
25
|
"@griffel/react": "^1.5.22",
|
41
26
|
"@swc/helpers": "^0.5.1"
|
42
27
|
},
|