@fluentui/react-text 9.4.20 → 9.4.22
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 +25 -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 +3 -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 +2 -0
- package/lib/components/Text/useTextStyles.styles.js.map +1 -1
- package/lib/components/presets/Body1/Body1.js.map +1 -1
- package/lib/components/presets/Body1/index.js.map +1 -1
- package/lib/components/presets/Body1Strong/Body1Strong.js.map +1 -1
- package/lib/components/presets/Body1Strong/index.js.map +1 -1
- package/lib/components/presets/Body1Stronger/Body1Stronger.js.map +1 -1
- package/lib/components/presets/Body1Stronger/index.js.map +1 -1
- package/lib/components/presets/Body2/Body2.js.map +1 -1
- package/lib/components/presets/Body2/index.js.map +1 -1
- package/lib/components/presets/Caption1/Caption1.js.map +1 -1
- package/lib/components/presets/Caption1/index.js.map +1 -1
- package/lib/components/presets/Caption1Strong/Caption1Strong.js.map +1 -1
- package/lib/components/presets/Caption1Strong/index.js.map +1 -1
- package/lib/components/presets/Caption1Stronger/Caption1Stronger.js.map +1 -1
- package/lib/components/presets/Caption1Stronger/index.js.map +1 -1
- package/lib/components/presets/Caption2/Caption2.js.map +1 -1
- package/lib/components/presets/Caption2/index.js.map +1 -1
- package/lib/components/presets/Caption2Strong/Caption2Strong.js.map +1 -1
- package/lib/components/presets/Caption2Strong/index.js.map +1 -1
- package/lib/components/presets/Display/Display.js.map +1 -1
- package/lib/components/presets/Display/index.js.map +1 -1
- package/lib/components/presets/LargeTitle/LargeTitle.js.map +1 -1
- package/lib/components/presets/LargeTitle/index.js.map +1 -1
- package/lib/components/presets/Subtitle1/Subtitle1.js.map +1 -1
- package/lib/components/presets/Subtitle1/index.js.map +1 -1
- package/lib/components/presets/Subtitle2/Subtitle2.js.map +1 -1
- package/lib/components/presets/Subtitle2/index.js.map +1 -1
- package/lib/components/presets/Subtitle2Stronger/Subtitle2Stronger.js.map +1 -1
- package/lib/components/presets/Subtitle2Stronger/index.js.map +1 -1
- package/lib/components/presets/Title1/Title1.js.map +1 -1
- package/lib/components/presets/Title1/index.js.map +1 -1
- package/lib/components/presets/Title2/Title2.js.map +1 -1
- package/lib/components/presets/Title2/index.js.map +1 -1
- package/lib/components/presets/Title3/Title3.js.map +1 -1
- package/lib/components/presets/Title3/index.js.map +1 -1
- package/lib/components/presets/createPreset.js +1 -0
- 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 +3 -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 -0
- package/lib-commonjs/components/Text/useTextStyles.styles.js.map +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.map +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.map +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.map +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.map +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.map +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.map +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.map +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.map +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.map +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.map +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.map +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.map +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.map +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.map +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.map +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.map +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.map +1 -1
- package/lib-commonjs/components/presets/createPreset.js +1 -0
- package/lib-commonjs/components/presets/createPreset.js.map +1 -1
- package/lib-commonjs/index.js +58 -58
- package/lib-commonjs/index.js.map +1 -1
- package/package.json +4 -4
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["Caption1.
|
1
|
+
{"version":3,"sources":["Caption1.ts"],"sourcesContent":["export * from './components/presets/Caption1/index';\n"],"names":[],"rangeMappings":";;;;;","mappings":";;;;;uBAAc"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["Caption1Strong.
|
1
|
+
{"version":3,"sources":["Caption1Strong.ts"],"sourcesContent":["export * from './components/presets/Caption1Strong/index';\n"],"names":[],"rangeMappings":";;;;;","mappings":";;;;;uBAAc"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["Caption1Stronger.
|
1
|
+
{"version":3,"sources":["Caption1Stronger.ts"],"sourcesContent":["export * from './components/presets/Caption1Stronger/index';\n"],"names":[],"rangeMappings":";;;;;","mappings":";;;;;uBAAc"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["Caption2.
|
1
|
+
{"version":3,"sources":["Caption2.ts"],"sourcesContent":["export * from './components/presets/Caption2/index';\n"],"names":[],"rangeMappings":";;;;;","mappings":";;;;;uBAAc"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["Caption2Strong.
|
1
|
+
{"version":3,"sources":["Caption2Strong.ts"],"sourcesContent":["export * from './components/presets/Caption2Strong/index';\n"],"names":[],"rangeMappings":";;;;;","mappings":";;;;;uBAAc"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["Display.
|
1
|
+
{"version":3,"sources":["Display.ts"],"sourcesContent":["export * from './components/presets/Display/index';\n"],"names":[],"rangeMappings":";;;;;","mappings":";;;;;uBAAc"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["LargeTitle.
|
1
|
+
{"version":3,"sources":["LargeTitle.ts"],"sourcesContent":["export * from './components/presets/LargeTitle/index';\n"],"names":[],"rangeMappings":";;;;;","mappings":";;;;;uBAAc"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["Subtitle1.
|
1
|
+
{"version":3,"sources":["Subtitle1.ts"],"sourcesContent":["export * from './components/presets/Subtitle1/index';\n"],"names":[],"rangeMappings":";;;;;","mappings":";;;;;uBAAc"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["Subtitle2.
|
1
|
+
{"version":3,"sources":["Subtitle2.ts"],"sourcesContent":["export * from './components/presets/Subtitle2/index';\n"],"names":[],"rangeMappings":";;;;;","mappings":";;;;;uBAAc"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["Subtitle2Stronger.
|
1
|
+
{"version":3,"sources":["Subtitle2Stronger.ts"],"sourcesContent":["export * from './components/presets/Subtitle2Stronger/index';\n"],"names":[],"rangeMappings":";;;;;","mappings":";;;;;uBAAc"}
|
package/lib-commonjs/Text.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["Text.
|
1
|
+
{"version":3,"sources":["Text.ts"],"sourcesContent":["export * from './components/Text/index';\n"],"names":[],"rangeMappings":";;;;;","mappings":";;;;;uBAAc"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["Title1.
|
1
|
+
{"version":3,"sources":["Title1.ts"],"sourcesContent":["export * from './components/presets/Title1/index';\n"],"names":[],"rangeMappings":";;;;;","mappings":";;;;;uBAAc"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["Title2.
|
1
|
+
{"version":3,"sources":["Title2.ts"],"sourcesContent":["export * from './components/presets/Title2/index';\n"],"names":[],"rangeMappings":";;;;;","mappings":";;;;;uBAAc"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["Title3.
|
1
|
+
{"version":3,"sources":["Title3.ts"],"sourcesContent":["export * from './components/presets/Title3/index';\n"],"names":[],"rangeMappings":";;;;;","mappings":";;;;;uBAAc"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["Text.
|
1
|
+
{"version":3,"sources":["Text.tsx"],"sourcesContent":["import * as React from 'react';\nimport { useText_unstable } from './useText';\nimport { renderText_unstable } from './renderText';\nimport { useTextStyles_unstable } from './useTextStyles.styles';\nimport type { TextProps } from './Text.types';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n\n/**\n * Typography and styling abstraction component used to ensure consistency of text.\n */\nexport const Text: ForwardRefComponent<TextProps> = React.forwardRef((props, ref) => {\n const state = useText_unstable(props, ref);\n\n useTextStyles_unstable(state);\n\n useCustomStyleHook_unstable('useTextStyles_unstable')(state);\n\n return renderText_unstable(state);\n // Work around some small mismatches in inferred types which don't matter in practice\n}) as ForwardRefComponent<TextProps>;\n\nText.displayName = 'Text';\n"],"names":["Text","React","forwardRef","props","ref","state","useText_unstable","useTextStyles_unstable","useCustomStyleHook_unstable","renderText_unstable","displayName"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;+BAWaA;;;eAAAA;;;;iEAXU;yBACU;4BACG;qCACG;qCAGK;AAKrC,MAAMA,OAAAA,WAAAA,GAAuCC,OAAMC,UAAU,CAAC,CAACC,OAAOC;IAC3E,MAAMC,QAAQC,IAAAA,yBAAAA,EAAiBH,OAAOC;IAEtCG,IAAAA,2CAAAA,EAAuBF;IAEvBG,IAAAA,gDAAAA,EAA4B,0BAA0BH;IAEtD,OAAOI,IAAAA,+BAAAA,EAAoBJ;AAC3B,qFAAqF;AACvF;AAEAL,KAAKU,WAAW,GAAG"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":""}
|
1
|
+
{"version":3,"sources":["Text.types.ts"],"sourcesContent":["import type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';\n\n/**\n * Text slots\n */\nexport type TextSlots = {\n root: Slot<'span', 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'pre' | 'strong' | 'b' | 'em' | 'i'>;\n};\n\n/**\n * Text Props\n */\nexport type TextProps = ComponentProps<TextSlots> & {\n /**\n * Aligns text based on the parent container.\n *\n * @default start\n */\n align?: 'start' | 'center' | 'end' | 'justify';\n\n /**\n * Applies a block display for the content.\n *\n * @default false\n */\n block?: boolean;\n\n /**\n * Applies the font family to the content.\n *\n * @default base\n */\n font?: 'base' | 'monospace' | 'numeric';\n\n /**\n * Applies the italic font style to the content.\n *\n * @default false\n */\n italic?: boolean;\n\n /**\n * Applies font size and line height based on the theme typography tokens.\n *\n * @default 300\n */\n size?: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000;\n\n /**\n * Applies the strikethrough text decoration to the content.\n *\n * @default false\n */\n strikethrough?: boolean;\n\n /**\n * Truncate overflowing text for block displays.\n *\n * @default false\n */\n\n truncate?: boolean;\n\n /**\n * Applies the underline text decoration to the content.\n *\n * @default false\n */\n underline?: boolean;\n\n /**\n * Applies font weight to the content.\n *\n * @default regular\n */\n weight?: 'regular' | 'medium' | 'semibold' | 'bold';\n\n /**\n * Wraps the text content on white spaces.\n *\n * @default true\n */\n wrap?: boolean;\n};\n\n/**\n * TextPreset Props\n */\nexport type TextPresetProps = Omit<TextProps, 'font' | 'size' | 'weight'>;\n\n/**\n * State used in rendering Text\n */\nexport type TextState = ComponentState<TextSlots> &\n Required<\n Pick<\n TextProps,\n 'align' | 'block' | 'font' | 'italic' | 'size' | 'strikethrough' | 'truncate' | 'underline' | 'weight' | 'wrap'\n >\n >;\n"],"names":[],"rangeMappings":";;","mappings":"AA0FA;;CAEC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.
|
1
|
+
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './Text';\nexport * from './Text.types';\nexport * from './renderText';\nexport * from './useText';\nexport * from './useTextStyles.styles';\n"],"names":[],"rangeMappings":";;;;;;;;;","mappings":";;;;;uBAAc;uBACA;uBACA;uBACA;uBACA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["renderText.
|
1
|
+
{"version":3,"sources":["renderText.tsx"],"sourcesContent":["/** @jsxRuntime automatic */\n/** @jsxImportSource @fluentui/react-jsx-runtime */\n\nimport { assertSlots } from '@fluentui/react-utilities';\nimport type { TextSlots, TextState } from './Text.types';\n\n/**\n * Render the final JSX of Text\n */\nexport const renderText_unstable = (state: TextState) => {\n assertSlots<TextSlots>(state);\n\n return <state.root />;\n};\n"],"names":["renderText_unstable","state","assertSlots","_jsx","root"],"rangeMappings":";;;;;;;;;;;;;;;","mappings":";;;;+BASaA;;;eAAAA;;;4BARb;gCAE4B;AAMrB,MAAMA,sBAAsB,CAACC;IAClCC,IAAAA,2BAAAA,EAAuBD;IAEvB,OAAA,WAAA,GAAOE,IAAAA,eAAA,EAACF,MAAMG,IAAI,EAAA,CAAA;AACpB"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["useText.
|
1
|
+
{"version":3,"sources":["useText.ts"],"sourcesContent":["import * as React from 'react';\nimport { getIntrinsicElementProps, slot } from '@fluentui/react-utilities';\nimport type { TextProps, TextState } from './Text.types';\n\n/**\n * Create the state required to render Text.\n *\n * The returned state can be modified with hooks such as useTextStyles_unstable,\n * before being passed to renderText_unstable.\n *\n * @param props - props from this instance of Text\n * @param ref - reference to root HTMLElement of Text\n */\nexport const useText_unstable = (props: TextProps, ref: React.Ref<HTMLElement>): TextState => {\n const { wrap, truncate, block, italic, underline, strikethrough, size, font, weight, align } = props;\n\n const state: TextState = {\n align: align ?? 'start',\n block: block ?? false,\n font: font ?? 'base',\n italic: italic ?? false,\n size: size ?? 300,\n strikethrough: strikethrough ?? false,\n truncate: truncate ?? false,\n underline: underline ?? false,\n weight: weight ?? 'regular',\n wrap: wrap ?? true,\n\n components: { root: 'span' },\n\n root: slot.always(\n getIntrinsicElementProps('span', {\n // FIXME:\n // `ref` is wrongly assigned to be `HTMLElement` instead of `HTMLHeadingElement & HTMLPreElement`\n // but since it would be a breaking change to fix it, we are casting ref to it's proper type\n ref: ref as React.Ref<HTMLHeadingElement & HTMLPreElement>,\n ...props,\n }),\n { elementType: 'span' },\n ),\n };\n\n return state;\n};\n"],"names":["useText_unstable","props","ref","wrap","truncate","block","italic","underline","strikethrough","size","font","weight","align","state","components","root","slot","always","getIntrinsicElementProps","elementType"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;+BAaaA;;;eAAAA;;;;iEAbU;gCACwB;AAYxC,MAAMA,mBAAmB,CAACC,OAAkBC;IACjD,MAAM,EAAEC,IAAI,EAAEC,QAAQ,EAAEC,KAAK,EAAEC,MAAM,EAAEC,SAAS,EAAEC,aAAa,EAAEC,IAAI,EAAEC,IAAI,EAAEC,MAAM,EAAEC,KAAK,EAAE,GAAGX;IAE/F,MAAMY,QAAmB;QACvBD,OAAOA,UAAAA,QAAAA,UAAAA,KAAAA,IAAAA,QAAS;QAChBP,OAAOA,UAAAA,QAAAA,UAAAA,KAAAA,IAAAA,QAAS;QAChBK,MAAMA,SAAAA,QAAAA,SAAAA,KAAAA,IAAAA,OAAQ;QACdJ,QAAQA,WAAAA,QAAAA,WAAAA,KAAAA,IAAAA,SAAU;QAClBG,MAAMA,SAAAA,QAAAA,SAAAA,KAAAA,IAAAA,OAAQ;QACdD,eAAeA,kBAAAA,QAAAA,kBAAAA,KAAAA,IAAAA,gBAAiB;QAChCJ,UAAUA,aAAAA,QAAAA,aAAAA,KAAAA,IAAAA,WAAY;QACtBG,WAAWA,cAAAA,QAAAA,cAAAA,KAAAA,IAAAA,YAAa;QACxBI,QAAQA,WAAAA,QAAAA,WAAAA,KAAAA,IAAAA,SAAU;QAClBR,MAAMA,SAAAA,QAAAA,SAAAA,KAAAA,IAAAA,OAAQ;QAEdW,YAAY;YAAEC,MAAM;QAAO;QAE3BA,MAAMC,oBAAAA,CAAKC,MAAM,CACfC,IAAAA,wCAAAA,EAAyB,QAAQ;YAC/B,SAAS;YACT,iGAAiG;YACjG,4FAA4F;YAC5FhB,KAAKA;YACL,GAAGD,KAAK;QACV,IACA;YAAEkB,aAAa;QAAO;IAE1B;IAEA,OAAON;AACT"}
|
@@ -178,6 +178,7 @@ const textClassNames = {
|
|
178
178
|
]
|
179
179
|
});
|
180
180
|
const useTextStyles_unstable = (state)=>{
|
181
|
+
'use no memo';
|
181
182
|
const styles = useStyles();
|
182
183
|
state.root.className = (0, _react.mergeClasses)(textClassNames.root, styles.root, state.wrap === false && styles.nowrap, state.truncate && styles.truncate, state.block && styles.block, state.italic && styles.italic, state.underline && styles.underline, state.strikethrough && styles.strikethrough, state.underline && state.strikethrough && styles.strikethroughUnderline, state.size === 100 && styles.base100, state.size === 200 && styles.base200, state.size === 400 && styles.base400, state.size === 500 && styles.base500, state.size === 600 && styles.base600, state.size === 700 && styles.hero700, state.size === 800 && styles.hero800, state.size === 900 && styles.hero900, state.size === 1000 && styles.hero1000, state.font === 'monospace' && styles.monospace, state.font === 'numeric' && styles.numeric, state.weight === 'medium' && styles.weightMedium, state.weight === 'semibold' && styles.weightSemibold, state.weight === 'bold' && styles.weightBold, state.align === 'center' && styles.alignCenter, state.align === 'end' && styles.alignEnd, state.align === 'justify' && styles.alignJustify, state.root.className);
|
183
184
|
return state;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["useTextStyles.styles.js"],"sourcesContent":["import {
|
1
|
+
{"version":3,"sources":["useTextStyles.styles.js"],"sourcesContent":["import { makeStyles, mergeClasses } from '@griffel/react';\nimport { tokens } from '@fluentui/react-theme';\nexport const textClassNames = {\n root: 'fui-Text'\n};\n/**\n * Styles for the root slot\n */ const useStyles = makeStyles({\n root: {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeBase300,\n lineHeight: tokens.lineHeightBase300,\n fontWeight: tokens.fontWeightRegular,\n textAlign: 'start',\n display: 'inline',\n whiteSpace: 'normal',\n overflow: 'visible',\n textOverflow: 'clip'\n },\n nowrap: {\n whiteSpace: 'nowrap',\n overflow: 'hidden'\n },\n truncate: {\n textOverflow: 'ellipsis'\n },\n block: {\n display: 'block'\n },\n italic: {\n fontStyle: 'italic'\n },\n underline: {\n textDecorationLine: 'underline'\n },\n strikethrough: {\n textDecorationLine: 'line-through'\n },\n strikethroughUnderline: {\n textDecorationLine: 'line-through underline'\n },\n base100: {\n fontSize: tokens.fontSizeBase100,\n lineHeight: tokens.lineHeightBase100\n },\n base200: {\n fontSize: tokens.fontSizeBase200,\n lineHeight: tokens.lineHeightBase200\n },\n base400: {\n fontSize: tokens.fontSizeBase400,\n lineHeight: tokens.lineHeightBase400\n },\n base500: {\n fontSize: tokens.fontSizeBase500,\n lineHeight: tokens.lineHeightBase500\n },\n base600: {\n fontSize: tokens.fontSizeBase600,\n lineHeight: tokens.lineHeightBase600\n },\n hero700: {\n fontSize: tokens.fontSizeHero700,\n lineHeight: tokens.lineHeightHero700\n },\n hero800: {\n fontSize: tokens.fontSizeHero800,\n lineHeight: tokens.lineHeightHero800\n },\n hero900: {\n fontSize: tokens.fontSizeHero900,\n lineHeight: tokens.lineHeightHero900\n },\n hero1000: {\n fontSize: tokens.fontSizeHero1000,\n lineHeight: tokens.lineHeightHero1000\n },\n monospace: {\n fontFamily: tokens.fontFamilyMonospace\n },\n numeric: {\n fontFamily: tokens.fontFamilyNumeric\n },\n weightMedium: {\n fontWeight: tokens.fontWeightMedium\n },\n weightSemibold: {\n fontWeight: tokens.fontWeightSemibold\n },\n weightBold: {\n fontWeight: tokens.fontWeightBold\n },\n alignCenter: {\n textAlign: 'center'\n },\n alignEnd: {\n textAlign: 'end'\n },\n alignJustify: {\n textAlign: 'justify'\n }\n});\n/**\n * Apply styling to the Text slots based on the state\n */ export const useTextStyles_unstable = (state)=>{\n 'use no memo';\n const styles = useStyles();\n state.root.className = mergeClasses(textClassNames.root, styles.root, state.wrap === false && styles.nowrap, state.truncate && styles.truncate, state.block && styles.block, state.italic && styles.italic, state.underline && styles.underline, state.strikethrough && styles.strikethrough, state.underline && state.strikethrough && styles.strikethroughUnderline, state.size === 100 && styles.base100, state.size === 200 && styles.base200, state.size === 400 && styles.base400, state.size === 500 && styles.base500, state.size === 600 && styles.base600, state.size === 700 && styles.hero700, state.size === 800 && styles.hero800, state.size === 900 && styles.hero900, state.size === 1000 && styles.hero1000, state.font === 'monospace' && styles.monospace, state.font === 'numeric' && styles.numeric, state.weight === 'medium' && styles.weightMedium, state.weight === 'semibold' && styles.weightSemibold, state.weight === 'bold' && styles.weightBold, state.align === 'center' && styles.alignCenter, state.align === 'end' && styles.alignEnd, state.align === 'justify' && styles.alignJustify, state.root.className);\n return state;\n};\n"],"names":["textClassNames","useTextStyles_unstable","root","useStyles","__styles","Bahqtrf","Be2twd7","Bg96gwp","Bhrd7zp","fsow6f","mc9l5x","Huce71","B68tc82","Bmxbyg5","Bpg54ce","ygn44y","nowrap","truncate","block","italic","B80ckks","underline","w71qe1","strikethrough","strikethroughUnderline","base100","base200","base400","base500","base600","hero700","hero800","hero900","hero1000","monospace","numeric","weightMedium","weightSemibold","weightBold","alignCenter","alignEnd","alignJustify","d","p","state","styles","className","mergeClasses","wrap","size","font","weight","align"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":"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"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["Body1.
|
1
|
+
{"version":3,"sources":["Body1.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { body1ClassNames, useBody1Styles } from './useBody1Styles.styles';\n\n/**\n * Text preset component for the Body1 typography variant\n */\nexport const Body1: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useBody1Styles,\n className: body1ClassNames.root,\n displayName: 'Body1',\n});\n"],"names":["Body1","createPreset","useStyles","useBody1Styles","className","body1ClassNames","root","displayName"],"rangeMappings":";;;;;;;;;;;;;;;;","mappings":";;;;+BAQaA;;;eAAAA;;;8BAPgB;sCAEmB;AAKzC,MAAMA,QAA4CC,IAAAA,0BAAAA,EAAa;IACpEC,WAAWC,oCAAAA;IACXC,WAAWC,qCAAAA,CAAgBC,IAAI;IAC/BC,aAAa;AACf"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.
|
1
|
+
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './Body1';\nexport { body1ClassNames } from './useBody1Styles.styles';\n"],"names":["body1ClassNames"],"rangeMappings":";;;;;;;;;;;;","mappings":";;;;+BACSA;;;eAAAA,qCAAe;;;;uBADV;sCACkB"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["useBody1Styles.styles.js"],"sourcesContent":["import {
|
1
|
+
{"version":3,"sources":["useBody1Styles.styles.js"],"sourcesContent":["import { makeStyles } from '@griffel/react';\nimport { typographyStyles } from '@fluentui/react-theme';\nexport const body1ClassNames = {\n root: 'fui-Body1'\n};\n/**\n * Styles for the root slot\n */ export const useBody1Styles = makeStyles({\n root: typographyStyles.body1\n});\n"],"names":["body1ClassNames","useBody1Styles","root","__styles","Bahqtrf","Be2twd7","Bhrd7zp","Bg96gwp","d"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAEaA,eAAe;eAAfA;;IAKIC,cAAc;eAAdA;;;uBAPU;AAEpB,MAAMD,kBAAkB;IAC3BE,MAAM;AACV;AAGW,MAAMD,iBAAc,WAAA,GAAGE,IAAAA,eAAA,EAAA;IAAAD,MAAA;QAAAE,SAAA;QAAAC,SAAA;QAAAC,SAAA;QAAAC,SAAA;IAAA;AAAA,GAAA;IAAAC,GAAA;QAAA;QAAA;QAAA;QAAA;KAAA;AAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["Body1Strong.
|
1
|
+
{"version":3,"sources":["Body1Strong.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { body1StrongClassNames, useBody1StrongStyles } from './useBody1StrongStyles.styles';\n\n/**\n * Text preset component for the Body1Strong typography variant\n */\nexport const Body1Strong: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useBody1StrongStyles,\n className: body1StrongClassNames.root,\n displayName: 'Body1Strong',\n});\n"],"names":["Body1Strong","createPreset","useStyles","useBody1StrongStyles","className","body1StrongClassNames","root","displayName"],"rangeMappings":";;;;;;;;;;;;;;;;","mappings":";;;;+BAQaA;;;eAAAA;;;8BAPgB;4CAE+B;AAKrD,MAAMA,cAAkDC,IAAAA,0BAAAA,EAAa;IAC1EC,WAAWC,gDAAAA;IACXC,WAAWC,iDAAAA,CAAsBC,IAAI;IACrCC,aAAa;AACf"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.
|
1
|
+
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './Body1Strong';\nexport { body1StrongClassNames } from './useBody1StrongStyles.styles';\n"],"names":["body1StrongClassNames"],"rangeMappings":";;;;;;;;;;;;","mappings":";;;;+BACSA;;;eAAAA,iDAAqB;;;;uBADhB;4CACwB"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["useBody1StrongStyles.styles.js"],"sourcesContent":["import {
|
1
|
+
{"version":3,"sources":["useBody1StrongStyles.styles.js"],"sourcesContent":["import { makeStyles } from '@griffel/react';\nimport { typographyStyles } from '@fluentui/react-theme';\nexport const body1StrongClassNames = {\n root: 'fui-Body1Strong'\n};\n/**\n * Styles for the root slot\n */ export const useBody1StrongStyles = makeStyles({\n root: typographyStyles.body1Strong\n});\n"],"names":["body1StrongClassNames","useBody1StrongStyles","root","__styles","Bahqtrf","Be2twd7","Bhrd7zp","Bg96gwp","d"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAEaA,qBAAqB;eAArBA;;IAKIC,oBAAoB;eAApBA;;;uBAPU;AAEpB,MAAMD,wBAAwB;IACjCE,MAAM;AACV;AAGW,MAAMD,uBAAoB,WAAA,GAAGE,IAAAA,eAAA,EAAA;IAAAD,MAAA;QAAAE,SAAA;QAAAC,SAAA;QAAAC,SAAA;QAAAC,SAAA;IAAA;AAAA,GAAA;IAAAC,GAAA;QAAA;QAAA;QAAA;QAAA;KAAA;AAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["Body1Stronger.
|
1
|
+
{"version":3,"sources":["Body1Stronger.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { body1StrongerClassNames, useBody1StrongerStyles } from './useBody1StrongerStyles.styles';\n\n/**\n * Text preset component for the Body1Stronger typography variant\n */\nexport const Body1Stronger: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useBody1StrongerStyles,\n className: body1StrongerClassNames.root,\n displayName: 'Body1Stronger',\n});\n"],"names":["Body1Stronger","createPreset","useStyles","useBody1StrongerStyles","className","body1StrongerClassNames","root","displayName"],"rangeMappings":";;;;;;;;;;;;;;;;","mappings":";;;;+BAQaA;;;eAAAA;;;8BAPgB;8CAEmC;AAKzD,MAAMA,gBAAoDC,IAAAA,0BAAAA,EAAa;IAC5EC,WAAWC,oDAAAA;IACXC,WAAWC,qDAAAA,CAAwBC,IAAI;IACvCC,aAAa;AACf"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.
|
1
|
+
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './Body1Stronger';\nexport { body1StrongerClassNames } from './useBody1StrongerStyles.styles';\n"],"names":["body1StrongerClassNames"],"rangeMappings":";;;;;;;;;;;;","mappings":";;;;+BACSA;;;eAAAA,qDAAuB;;;;uBADlB;8CAC0B"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["useBody1StrongerStyles.styles.js"],"sourcesContent":["import {
|
1
|
+
{"version":3,"sources":["useBody1StrongerStyles.styles.js"],"sourcesContent":["import { makeStyles } from '@griffel/react';\nimport { typographyStyles } from '@fluentui/react-theme';\nexport const body1StrongerClassNames = {\n root: 'fui-Body1Stronger'\n};\n/**\n * Styles for the root slot\n */ export const useBody1StrongerStyles = makeStyles({\n root: typographyStyles.body1Stronger\n});\n"],"names":["body1StrongerClassNames","useBody1StrongerStyles","root","__styles","Bahqtrf","Be2twd7","Bhrd7zp","Bg96gwp","d"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAEaA,uBAAuB;eAAvBA;;IAKIC,sBAAsB;eAAtBA;;;uBAPU;AAEpB,MAAMD,0BAA0B;IACnCE,MAAM;AACV;AAGW,MAAMD,yBAAsB,WAAA,GAAGE,IAAAA,eAAA,EAAA;IAAAD,MAAA;QAAAE,SAAA;QAAAC,SAAA;QAAAC,SAAA;QAAAC,SAAA;IAAA;AAAA,GAAA;IAAAC,GAAA;QAAA;QAAA;QAAA;QAAA;KAAA;AAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["Body2.
|
1
|
+
{"version":3,"sources":["Body2.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { body2ClassNames, useBody2Styles } from './useBody2Styles.styles';\n\n/**\n * Text preset component for the Body2 typography variant\n */\nexport const Body2: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useBody2Styles,\n className: body2ClassNames.root,\n displayName: 'Body2',\n});\n"],"names":["Body2","createPreset","useStyles","useBody2Styles","className","body2ClassNames","root","displayName"],"rangeMappings":";;;;;;;;;;;;;;;;","mappings":";;;;+BAQaA;;;eAAAA;;;8BAPgB;sCAEmB;AAKzC,MAAMA,QAA4CC,IAAAA,0BAAAA,EAAa;IACpEC,WAAWC,oCAAAA;IACXC,WAAWC,qCAAAA,CAAgBC,IAAI;IAC/BC,aAAa;AACf"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.
|
1
|
+
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './Body2';\nexport { body2ClassNames } from './useBody2Styles.styles';\n"],"names":["body2ClassNames"],"rangeMappings":";;;;;;;;;;;;","mappings":";;;;+BACSA;;;eAAAA,qCAAe;;;;uBADV;sCACkB"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["useBody2Styles.styles.js"],"sourcesContent":["import {
|
1
|
+
{"version":3,"sources":["useBody2Styles.styles.js"],"sourcesContent":["import { makeStyles } from '@griffel/react';\nimport { typographyStyles } from '@fluentui/react-theme';\nexport const body2ClassNames = {\n root: 'fui-Body2'\n};\n/**\n * Styles for the root slot\n */ export const useBody2Styles = makeStyles({\n root: typographyStyles.body2\n});\n"],"names":["body2ClassNames","useBody2Styles","root","__styles","Bahqtrf","Be2twd7","Bhrd7zp","Bg96gwp","d"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAEaA,eAAe;eAAfA;;IAKIC,cAAc;eAAdA;;;uBAPU;AAEpB,MAAMD,kBAAkB;IAC3BE,MAAM;AACV;AAGW,MAAMD,iBAAc,WAAA,GAAGE,IAAAA,eAAA,EAAA;IAAAD,MAAA;QAAAE,SAAA;QAAAC,SAAA;QAAAC,SAAA;QAAAC,SAAA;IAAA;AAAA,GAAA;IAAAC,GAAA;QAAA;QAAA;QAAA;QAAA;KAAA;AAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["Caption1.
|
1
|
+
{"version":3,"sources":["Caption1.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { caption1ClassNames, useCaption1Styles } from './useCaption1Styles.styles';\n\n/**\n * Text preset component for the Caption1 typography variant\n */\nexport const Caption1: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useCaption1Styles,\n className: caption1ClassNames.root,\n displayName: 'Caption1',\n});\n"],"names":["Caption1","createPreset","useStyles","useCaption1Styles","className","caption1ClassNames","root","displayName"],"rangeMappings":";;;;;;;;;;;;;;;;","mappings":";;;;+BAQaA;;;eAAAA;;;8BAPgB;yCAEyB;AAK/C,MAAMA,WAA+CC,IAAAA,0BAAAA,EAAa;IACvEC,WAAWC,0CAAAA;IACXC,WAAWC,2CAAAA,CAAmBC,IAAI;IAClCC,aAAa;AACf"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.
|
1
|
+
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './Caption1';\nexport { caption1ClassNames } from './useCaption1Styles.styles';\n"],"names":["caption1ClassNames"],"rangeMappings":";;;;;;;;;;;;","mappings":";;;;+BACSA;;;eAAAA,2CAAkB;;;;uBADb;yCACqB"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["useCaption1Styles.styles.js"],"sourcesContent":["import {
|
1
|
+
{"version":3,"sources":["useCaption1Styles.styles.js"],"sourcesContent":["import { makeStyles } from '@griffel/react';\nimport { typographyStyles } from '@fluentui/react-theme';\nexport const caption1ClassNames = {\n root: 'fui-Caption1'\n};\n/**\n * Styles for the root slot\n */ export const useCaption1Styles = makeStyles({\n root: typographyStyles.caption1\n});\n"],"names":["caption1ClassNames","useCaption1Styles","root","__styles","Bahqtrf","Be2twd7","Bhrd7zp","Bg96gwp","d"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAEaA,kBAAkB;eAAlBA;;IAKIC,iBAAiB;eAAjBA;;;uBAPU;AAEpB,MAAMD,qBAAqB;IAC9BE,MAAM;AACV;AAGW,MAAMD,oBAAiB,WAAA,GAAGE,IAAAA,eAAA,EAAA;IAAAD,MAAA;QAAAE,SAAA;QAAAC,SAAA;QAAAC,SAAA;QAAAC,SAAA;IAAA;AAAA,GAAA;IAAAC,GAAA;QAAA;QAAA;QAAA;QAAA;KAAA;AAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["Caption1Strong.
|
1
|
+
{"version":3,"sources":["Caption1Strong.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { caption1StrongClassNames, useCaption1StrongStyles } from './useCaption1StrongStyles.styles';\n\n/**\n * Text preset component for the Caption1Strong typography variant\n */\nexport const Caption1Strong: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useCaption1StrongStyles,\n className: caption1StrongClassNames.root,\n displayName: 'Caption1Strong',\n});\n"],"names":["Caption1Strong","createPreset","useStyles","useCaption1StrongStyles","className","caption1StrongClassNames","root","displayName"],"rangeMappings":";;;;;;;;;;;;;;;;","mappings":";;;;+BAQaA;;;eAAAA;;;8BAPgB;+CAEqC;AAK3D,MAAMA,iBAAqDC,IAAAA,0BAAAA,EAAa;IAC7EC,WAAWC,sDAAAA;IACXC,WAAWC,uDAAAA,CAAyBC,IAAI;IACxCC,aAAa;AACf"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.
|
1
|
+
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './Caption1Strong';\nexport { caption1StrongClassNames } from './useCaption1StrongStyles.styles';\n"],"names":["caption1StrongClassNames"],"rangeMappings":";;;;;;;;;;;;","mappings":";;;;+BACSA;;;eAAAA,uDAAwB;;;;uBADnB;+CAC2B"}
|
package/lib-commonjs/components/presets/Caption1Strong/useCaption1StrongStyles.styles.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["useCaption1StrongStyles.styles.js"],"sourcesContent":["import {
|
1
|
+
{"version":3,"sources":["useCaption1StrongStyles.styles.js"],"sourcesContent":["import { makeStyles } from '@griffel/react';\nimport { typographyStyles } from '@fluentui/react-theme';\nexport const caption1StrongClassNames = {\n root: 'fui-Caption1Strong'\n};\n/**\n * Styles for the root slot\n */ export const useCaption1StrongStyles = makeStyles({\n root: typographyStyles.caption1Strong\n});\n"],"names":["caption1StrongClassNames","useCaption1StrongStyles","root","__styles","Bahqtrf","Be2twd7","Bhrd7zp","Bg96gwp","d"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAEaA,wBAAwB;eAAxBA;;IAKIC,uBAAuB;eAAvBA;;;uBAPU;AAEpB,MAAMD,2BAA2B;IACpCE,MAAM;AACV;AAGW,MAAMD,0BAAuB,WAAA,GAAGE,IAAAA,eAAA,EAAA;IAAAD,MAAA;QAAAE,SAAA;QAAAC,SAAA;QAAAC,SAAA;QAAAC,SAAA;IAAA;AAAA,GAAA;IAAAC,GAAA;QAAA;QAAA;QAAA;QAAA;KAAA;AAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["Caption1Stronger.
|
1
|
+
{"version":3,"sources":["Caption1Stronger.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { caption1StrongerClassNames, useCaption1StrongerStyles } from './useCaption1Stronger.styles';\n\n/**\n * Text preset component for the Caption1Stronger typography variant\n */\nexport const Caption1Stronger: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useCaption1StrongerStyles,\n className: caption1StrongerClassNames.root,\n displayName: 'Caption1Stronger',\n});\n"],"names":["Caption1Stronger","createPreset","useStyles","useCaption1StrongerStyles","className","caption1StrongerClassNames","root","displayName"],"rangeMappings":";;;;;;;;;;;;;;;;","mappings":";;;;+BAQaA;;;eAAAA;;;8BAPgB;2CAEyC;AAK/D,MAAMA,mBAAuDC,IAAAA,0BAAAA,EAAa;IAC/EC,WAAWC,oDAAAA;IACXC,WAAWC,qDAAAA,CAA2BC,IAAI;IAC1CC,aAAa;AACf"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.
|
1
|
+
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './Caption1Stronger';\nexport { caption1StrongerClassNames } from './useCaption1Stronger.styles';\n"],"names":["caption1StrongerClassNames"],"rangeMappings":";;;;;;;;;;;;","mappings":";;;;+BACSA;;;eAAAA,qDAA0B;;;;uBADrB;2CAC6B"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["useCaption1Stronger.styles.js"],"sourcesContent":["import {
|
1
|
+
{"version":3,"sources":["useCaption1Stronger.styles.js"],"sourcesContent":["import { makeStyles } from '@griffel/react';\nimport { typographyStyles } from '@fluentui/react-theme';\nexport const caption1StrongerClassNames = {\n root: 'fui-Caption1Stronger'\n};\n/**\n * Styles for the root slot\n */ export const useCaption1StrongerStyles = makeStyles({\n root: typographyStyles.caption1Stronger\n});\n"],"names":["caption1StrongerClassNames","useCaption1StrongerStyles","root","__styles","Bahqtrf","Be2twd7","Bhrd7zp","Bg96gwp","d"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAEaA,0BAA0B;eAA1BA;;IAKIC,yBAAyB;eAAzBA;;;uBAPU;AAEpB,MAAMD,6BAA6B;IACtCE,MAAM;AACV;AAGW,MAAMD,4BAAyB,WAAA,GAAGE,IAAAA,eAAA,EAAA;IAAAD,MAAA;QAAAE,SAAA;QAAAC,SAAA;QAAAC,SAAA;QAAAC,SAAA;IAAA;AAAA,GAAA;IAAAC,GAAA;QAAA;QAAA;QAAA;QAAA;KAAA;AAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["Caption2.
|
1
|
+
{"version":3,"sources":["Caption2.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { caption2ClassNames, useCaption2Styles } from './useCaption2Styles.styles';\n\n/**\n * Text preset component for the Caption2 typography variant\n */\nexport const Caption2: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useCaption2Styles,\n className: caption2ClassNames.root,\n displayName: 'Caption2',\n});\n"],"names":["Caption2","createPreset","useStyles","useCaption2Styles","className","caption2ClassNames","root","displayName"],"rangeMappings":";;;;;;;;;;;;;;;;","mappings":";;;;+BAQaA;;;eAAAA;;;8BAPgB;yCAEyB;AAK/C,MAAMA,WAA+CC,IAAAA,0BAAAA,EAAa;IACvEC,WAAWC,0CAAAA;IACXC,WAAWC,2CAAAA,CAAmBC,IAAI;IAClCC,aAAa;AACf"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.
|
1
|
+
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './Caption2';\nexport { caption2ClassNames } from './useCaption2Styles.styles';\n"],"names":["caption2ClassNames"],"rangeMappings":";;;;;;;;;;;;","mappings":";;;;+BACSA;;;eAAAA,2CAAkB;;;;uBADb;yCACqB"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["useCaption2Styles.styles.js"],"sourcesContent":["import {
|
1
|
+
{"version":3,"sources":["useCaption2Styles.styles.js"],"sourcesContent":["import { makeStyles } from '@griffel/react';\nimport { typographyStyles } from '@fluentui/react-theme';\nexport const caption2ClassNames = {\n root: 'fui-Caption2'\n};\n/**\n * Styles for the root slot\n */ export const useCaption2Styles = makeStyles({\n root: typographyStyles.caption2\n});\n"],"names":["caption2ClassNames","useCaption2Styles","root","__styles","Bahqtrf","Be2twd7","Bhrd7zp","Bg96gwp","d"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAEaA,kBAAkB;eAAlBA;;IAKIC,iBAAiB;eAAjBA;;;uBAPU;AAEpB,MAAMD,qBAAqB;IAC9BE,MAAM;AACV;AAGW,MAAMD,oBAAiB,WAAA,GAAGE,IAAAA,eAAA,EAAA;IAAAD,MAAA;QAAAE,SAAA;QAAAC,SAAA;QAAAC,SAAA;QAAAC,SAAA;IAAA;AAAA,GAAA;IAAAC,GAAA;QAAA;QAAA;QAAA;QAAA;KAAA;AAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["Caption2Strong.
|
1
|
+
{"version":3,"sources":["Caption2Strong.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { createPreset } from '../createPreset';\n\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { caption2StrongClassNames, useCaption2StrongStyles } from './useCaption2StrongStyles.styles';\n\n/**\n * Text preset component for the Caption2Strong typography variant\n */\nexport const Caption2Strong: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useCaption2StrongStyles,\n className: caption2StrongClassNames.root,\n displayName: 'Caption2Strong',\n});\n"],"names":["Caption2Strong","createPreset","useStyles","useCaption2StrongStyles","className","caption2StrongClassNames","root","displayName"],"rangeMappings":";;;;;;;;;;;;;;;;","mappings":";;;;+BASaA;;;eAAAA;;;8BARgB;+CAGqC;AAK3D,MAAMA,iBAAqDC,IAAAA,0BAAAA,EAAa;IAC7EC,WAAWC,sDAAAA;IACXC,WAAWC,uDAAAA,CAAyBC,IAAI;IACxCC,aAAa;AACf"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.
|
1
|
+
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './Caption2Strong';\nexport { caption2StrongClassNames } from './useCaption2StrongStyles.styles';\n"],"names":["caption2StrongClassNames"],"rangeMappings":";;;;;;;;;;;;","mappings":";;;;+BACSA;;;eAAAA,uDAAwB;;;;uBADnB;+CAC2B"}
|
package/lib-commonjs/components/presets/Caption2Strong/useCaption2StrongStyles.styles.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["useCaption2StrongStyles.styles.js"],"sourcesContent":["import {
|
1
|
+
{"version":3,"sources":["useCaption2StrongStyles.styles.js"],"sourcesContent":["import { makeStyles } from '@griffel/react';\nimport { typographyStyles } from '@fluentui/react-theme';\nexport const caption2StrongClassNames = {\n root: 'fui-Caption2Strong'\n};\n/**\n * Styles for the root slot\n */ export const useCaption2StrongStyles = makeStyles({\n root: typographyStyles.caption2Strong\n});\n"],"names":["caption2StrongClassNames","useCaption2StrongStyles","root","__styles","Bahqtrf","Be2twd7","Bhrd7zp","Bg96gwp","d"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAEaA,wBAAwB;eAAxBA;;IAKIC,uBAAuB;eAAvBA;;;uBAPU;AAEpB,MAAMD,2BAA2B;IACpCE,MAAM;AACV;AAGW,MAAMD,0BAAuB,WAAA,GAAGE,IAAAA,eAAA,EAAA;IAAAD,MAAA;QAAAE,SAAA;QAAAC,SAAA;QAAAC,SAAA;QAAAC,SAAA;IAAA;AAAA,GAAA;IAAAC,GAAA;QAAA;QAAA;QAAA;QAAA;KAAA;AAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["Display.
|
1
|
+
{"version":3,"sources":["Display.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { displayClassNames, useDisplayStyles } from './useDisplayStyles.styles';\n\n/**\n * Text preset component for the Display typography variant\n */\nexport const Display: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useDisplayStyles,\n className: displayClassNames.root,\n displayName: 'Display',\n});\n"],"names":["Display","createPreset","useStyles","useDisplayStyles","className","displayClassNames","root","displayName"],"rangeMappings":";;;;;;;;;;;;;;;;","mappings":";;;;+BAQaA;;;eAAAA;;;8BAPgB;wCAEuB;AAK7C,MAAMA,UAA8CC,IAAAA,0BAAAA,EAAa;IACtEC,WAAWC,wCAAAA;IACXC,WAAWC,yCAAAA,CAAkBC,IAAI;IACjCC,aAAa;AACf"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.
|
1
|
+
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './Display';\nexport { displayClassNames } from './useDisplayStyles.styles';\n"],"names":["displayClassNames"],"rangeMappings":";;;;;;;;;;;;","mappings":";;;;+BACSA;;;eAAAA,yCAAiB;;;;uBADZ;wCACoB"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["useDisplayStyles.styles.js"],"sourcesContent":["import {
|
1
|
+
{"version":3,"sources":["useDisplayStyles.styles.js"],"sourcesContent":["import { makeStyles } from '@griffel/react';\nimport { typographyStyles } from '@fluentui/react-theme';\nexport const displayClassNames = {\n root: 'fui-Display'\n};\n/**\n * Styles for the root slot\n */ export const useDisplayStyles = makeStyles({\n root: typographyStyles.display\n});\n"],"names":["displayClassNames","useDisplayStyles","root","__styles","Bahqtrf","Be2twd7","Bhrd7zp","Bg96gwp","d"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAEaA,iBAAiB;eAAjBA;;IAKIC,gBAAgB;eAAhBA;;;uBAPU;AAEpB,MAAMD,oBAAoB;IAC7BE,MAAM;AACV;AAGW,MAAMD,mBAAgB,WAAA,GAAGE,IAAAA,eAAA,EAAA;IAAAD,MAAA;QAAAE,SAAA;QAAAC,SAAA;QAAAC,SAAA;QAAAC,SAAA;IAAA;AAAA,GAAA;IAAAC,GAAA;QAAA;QAAA;QAAA;QAAA;KAAA;AAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["LargeTitle.
|
1
|
+
{"version":3,"sources":["LargeTitle.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { largeTitleClassNames, useLargeTitleStyles } from './useLargeTitleStyles.styles';\n\n/**\n * Text preset component for the Large Title typography variant\n */\nexport const LargeTitle: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useLargeTitleStyles,\n className: largeTitleClassNames.root,\n displayName: 'LargeTitle',\n});\n"],"names":["LargeTitle","createPreset","useStyles","useLargeTitleStyles","className","largeTitleClassNames","root","displayName"],"rangeMappings":";;;;;;;;;;;;;;;;","mappings":";;;;+BAQaA;;;eAAAA;;;8BAPgB;2CAE6B;AAKnD,MAAMA,aAAiDC,IAAAA,0BAAAA,EAAa;IACzEC,WAAWC,8CAAAA;IACXC,WAAWC,+CAAAA,CAAqBC,IAAI;IACpCC,aAAa;AACf"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.
|
1
|
+
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './LargeTitle';\nexport { largeTitleClassNames } from './useLargeTitleStyles.styles';\n"],"names":["largeTitleClassNames"],"rangeMappings":";;;;;;;;;;;;","mappings":";;;;+BACSA;;;eAAAA,+CAAoB;;;;uBADf;2CACuB"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["useLargeTitleStyles.styles.js"],"sourcesContent":["import {
|
1
|
+
{"version":3,"sources":["useLargeTitleStyles.styles.js"],"sourcesContent":["import { makeStyles } from '@griffel/react';\nimport { typographyStyles } from '@fluentui/react-theme';\nexport const largeTitleClassNames = {\n root: 'fui-LargeTitle'\n};\n/**\n * Styles for the root slot\n */ export const useLargeTitleStyles = makeStyles({\n root: typographyStyles.largeTitle\n});\n"],"names":["largeTitleClassNames","useLargeTitleStyles","root","__styles","Bahqtrf","Be2twd7","Bhrd7zp","Bg96gwp","d"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAEaA,oBAAoB;eAApBA;;IAKIC,mBAAmB;eAAnBA;;;uBAPU;AAEpB,MAAMD,uBAAuB;IAChCE,MAAM;AACV;AAGW,MAAMD,sBAAmB,WAAA,GAAGE,IAAAA,eAAA,EAAA;IAAAD,MAAA;QAAAE,SAAA;QAAAC,SAAA;QAAAC,SAAA;QAAAC,SAAA;IAAA;AAAA,GAAA;IAAAC,GAAA;QAAA;QAAA;QAAA;QAAA;KAAA;AAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["Subtitle1.
|
1
|
+
{"version":3,"sources":["Subtitle1.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { subtitle1ClassNames, useSubtitle1Styles } from './useSubtitle1Styles.styles';\n\n/**\n * Text preset component for the Subtitle1 typography variant\n */\nexport const Subtitle1: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useSubtitle1Styles,\n className: subtitle1ClassNames.root,\n displayName: 'Subtitle1',\n});\n"],"names":["Subtitle1","createPreset","useStyles","useSubtitle1Styles","className","subtitle1ClassNames","root","displayName"],"rangeMappings":";;;;;;;;;;;;;;;;","mappings":";;;;+BAQaA;;;eAAAA;;;8BAPgB;0CAE2B;AAKjD,MAAMA,YAAgDC,IAAAA,0BAAAA,EAAa;IACxEC,WAAWC,4CAAAA;IACXC,WAAWC,6CAAAA,CAAoBC,IAAI;IACnCC,aAAa;AACf"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.
|
1
|
+
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './Subtitle1';\nexport { subtitle1ClassNames } from './useSubtitle1Styles.styles';\n"],"names":["subtitle1ClassNames"],"rangeMappings":";;;;;;;;;;;;","mappings":";;;;+BACSA;;;eAAAA,6CAAmB;;;;uBADd;0CACsB"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["useSubtitle1Styles.styles.js"],"sourcesContent":["import {
|
1
|
+
{"version":3,"sources":["useSubtitle1Styles.styles.js"],"sourcesContent":["import { makeStyles } from '@griffel/react';\nimport { typographyStyles } from '@fluentui/react-theme';\nexport const subtitle1ClassNames = {\n root: 'fui-Subtitle1'\n};\n/**\n * Styles for the root slot\n */ export const useSubtitle1Styles = makeStyles({\n root: typographyStyles.subtitle1\n});\n"],"names":["subtitle1ClassNames","useSubtitle1Styles","root","__styles","Bahqtrf","Be2twd7","Bhrd7zp","Bg96gwp","d"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAEaA,mBAAmB;eAAnBA;;IAKIC,kBAAkB;eAAlBA;;;uBAPU;AAEpB,MAAMD,sBAAsB;IAC/BE,MAAM;AACV;AAGW,MAAMD,qBAAkB,WAAA,GAAGE,IAAAA,eAAA,EAAA;IAAAD,MAAA;QAAAE,SAAA;QAAAC,SAAA;QAAAC,SAAA;QAAAC,SAAA;IAAA;AAAA,GAAA;IAAAC,GAAA;QAAA;QAAA;QAAA;QAAA;KAAA;AAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["Subtitle2.
|
1
|
+
{"version":3,"sources":["Subtitle2.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { subtitle2ClassNames, useSubtitle2Styles } from './useSubtitle2Styles.styles';\n\n/**\n * Text preset component for the Subtitle2 typography variant\n */\nexport const Subtitle2: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useSubtitle2Styles,\n className: subtitle2ClassNames.root,\n displayName: 'Subtitle2',\n});\n"],"names":["Subtitle2","createPreset","useStyles","useSubtitle2Styles","className","subtitle2ClassNames","root","displayName"],"rangeMappings":";;;;;;;;;;;;;;;;","mappings":";;;;+BAQaA;;;eAAAA;;;8BAPgB;0CAE2B;AAKjD,MAAMA,YAAgDC,IAAAA,0BAAAA,EAAa;IACxEC,WAAWC,4CAAAA;IACXC,WAAWC,6CAAAA,CAAoBC,IAAI;IACnCC,aAAa;AACf"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.
|
1
|
+
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './Subtitle2';\nexport { subtitle2ClassNames } from './useSubtitle2Styles.styles';\n"],"names":["subtitle2ClassNames"],"rangeMappings":";;;;;;;;;;;;","mappings":";;;;+BACSA;;;eAAAA,6CAAmB;;;;uBADd;0CACsB"}
|