@fluentui/react-text 0.0.0-nightly-20230222-0421.1 → 0.0.0-nightly-20230223-2115.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/.swcrc +33 -0
- package/CHANGELOG.json +9 -9
- package/CHANGELOG.md +7 -7
- 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 +2 -3
- package/lib/components/Text/renderText.js.map +1 -1
- package/lib/components/Text/useText.js +12 -12
- package/lib/components/Text/useText.js.map +1 -1
- package/lib/components/Text/useTextStyles.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.map +1 -1
- package/lib/index.js.map +1 -1
- package/lib-commonjs/Body1.js +5 -4
- package/lib-commonjs/Body1.js.map +1 -1
- package/lib-commonjs/Body1Strong.js +5 -4
- package/lib-commonjs/Body1Strong.js.map +1 -1
- package/lib-commonjs/Body1Stronger.js +5 -4
- package/lib-commonjs/Body1Stronger.js.map +1 -1
- package/lib-commonjs/Body2.js +5 -4
- package/lib-commonjs/Body2.js.map +1 -1
- package/lib-commonjs/Caption1.js +5 -4
- package/lib-commonjs/Caption1.js.map +1 -1
- package/lib-commonjs/Caption1Strong.js +5 -4
- package/lib-commonjs/Caption1Strong.js.map +1 -1
- package/lib-commonjs/Caption1Stronger.js +5 -4
- package/lib-commonjs/Caption1Stronger.js.map +1 -1
- package/lib-commonjs/Caption2.js +5 -4
- package/lib-commonjs/Caption2.js.map +1 -1
- package/lib-commonjs/Caption2Strong.js +5 -4
- package/lib-commonjs/Caption2Strong.js.map +1 -1
- package/lib-commonjs/Display.js +5 -4
- package/lib-commonjs/Display.js.map +1 -1
- package/lib-commonjs/LargeTitle.js +5 -4
- package/lib-commonjs/LargeTitle.js.map +1 -1
- package/lib-commonjs/Subtitle1.js +5 -4
- package/lib-commonjs/Subtitle1.js.map +1 -1
- package/lib-commonjs/Subtitle2.js +5 -4
- package/lib-commonjs/Subtitle2.js.map +1 -1
- package/lib-commonjs/Subtitle2Stronger.js +5 -4
- package/lib-commonjs/Subtitle2Stronger.js.map +1 -1
- package/lib-commonjs/Text.js +5 -4
- package/lib-commonjs/Text.js.map +1 -1
- package/lib-commonjs/Title1.js +5 -4
- package/lib-commonjs/Title1.js.map +1 -1
- package/lib-commonjs/Title2.js +5 -4
- package/lib-commonjs/Title2.js.map +1 -1
- package/lib-commonjs/Title3.js +5 -4
- package/lib-commonjs/Title3.js.map +1 -1
- package/lib-commonjs/components/Text/Text.js +16 -16
- package/lib-commonjs/components/Text/Text.js.map +1 -1
- package/lib-commonjs/components/Text/Text.types.js +3 -2
- package/lib-commonjs/components/Text/Text.types.js.map +1 -1
- package/lib-commonjs/components/Text/index.js +9 -8
- package/lib-commonjs/components/Text/index.js.map +1 -1
- package/lib-commonjs/components/Text/renderText.js +15 -18
- package/lib-commonjs/components/Text/renderText.js.map +1 -1
- package/lib-commonjs/components/Text/useText.js +34 -51
- package/lib-commonjs/components/Text/useText.js.map +1 -1
- package/lib-commonjs/components/Text/useTextStyles.js +163 -114
- package/lib-commonjs/components/Text/useTextStyles.js.map +1 -1
- package/lib-commonjs/components/presets/Body1/Body1.js +34 -25
- package/lib-commonjs/components/presets/Body1/Body1.js.map +1 -1
- package/lib-commonjs/components/presets/Body1/index.js +5 -4
- package/lib-commonjs/components/presets/Body1/index.js.map +1 -1
- package/lib-commonjs/components/presets/Body1Strong/Body1Strong.js +34 -25
- package/lib-commonjs/components/presets/Body1Strong/Body1Strong.js.map +1 -1
- package/lib-commonjs/components/presets/Body1Strong/index.js +5 -4
- package/lib-commonjs/components/presets/Body1Strong/index.js.map +1 -1
- package/lib-commonjs/components/presets/Body1Stronger/Body1Stronger.js +34 -25
- package/lib-commonjs/components/presets/Body1Stronger/Body1Stronger.js.map +1 -1
- package/lib-commonjs/components/presets/Body1Stronger/index.js +5 -4
- package/lib-commonjs/components/presets/Body1Stronger/index.js.map +1 -1
- package/lib-commonjs/components/presets/Body2/Body2.js +34 -25
- package/lib-commonjs/components/presets/Body2/Body2.js.map +1 -1
- package/lib-commonjs/components/presets/Body2/index.js +5 -4
- package/lib-commonjs/components/presets/Body2/index.js.map +1 -1
- package/lib-commonjs/components/presets/Caption1/Caption1.js +34 -25
- package/lib-commonjs/components/presets/Caption1/Caption1.js.map +1 -1
- package/lib-commonjs/components/presets/Caption1/index.js +5 -4
- package/lib-commonjs/components/presets/Caption1/index.js.map +1 -1
- package/lib-commonjs/components/presets/Caption1Strong/Caption1Strong.js +34 -25
- package/lib-commonjs/components/presets/Caption1Strong/Caption1Strong.js.map +1 -1
- package/lib-commonjs/components/presets/Caption1Strong/index.js +5 -4
- package/lib-commonjs/components/presets/Caption1Strong/index.js.map +1 -1
- package/lib-commonjs/components/presets/Caption1Stronger/Caption1Stronger.js +34 -25
- package/lib-commonjs/components/presets/Caption1Stronger/Caption1Stronger.js.map +1 -1
- package/lib-commonjs/components/presets/Caption1Stronger/index.js +5 -4
- package/lib-commonjs/components/presets/Caption1Stronger/index.js.map +1 -1
- package/lib-commonjs/components/presets/Caption2/Caption2.js +34 -25
- package/lib-commonjs/components/presets/Caption2/Caption2.js.map +1 -1
- package/lib-commonjs/components/presets/Caption2/index.js +5 -4
- package/lib-commonjs/components/presets/Caption2/index.js.map +1 -1
- package/lib-commonjs/components/presets/Caption2Strong/Caption2Strong.js +34 -25
- package/lib-commonjs/components/presets/Caption2Strong/Caption2Strong.js.map +1 -1
- package/lib-commonjs/components/presets/Caption2Strong/index.js +5 -4
- package/lib-commonjs/components/presets/Caption2Strong/index.js.map +1 -1
- package/lib-commonjs/components/presets/Display/Display.js +34 -25
- package/lib-commonjs/components/presets/Display/Display.js.map +1 -1
- package/lib-commonjs/components/presets/Display/index.js +5 -4
- package/lib-commonjs/components/presets/Display/index.js.map +1 -1
- package/lib-commonjs/components/presets/LargeTitle/LargeTitle.js +34 -25
- package/lib-commonjs/components/presets/LargeTitle/LargeTitle.js.map +1 -1
- package/lib-commonjs/components/presets/LargeTitle/index.js +5 -4
- package/lib-commonjs/components/presets/LargeTitle/index.js.map +1 -1
- package/lib-commonjs/components/presets/Subtitle1/Subtitle1.js +34 -25
- package/lib-commonjs/components/presets/Subtitle1/Subtitle1.js.map +1 -1
- package/lib-commonjs/components/presets/Subtitle1/index.js +5 -4
- package/lib-commonjs/components/presets/Subtitle1/index.js.map +1 -1
- package/lib-commonjs/components/presets/Subtitle2/Subtitle2.js +34 -25
- package/lib-commonjs/components/presets/Subtitle2/Subtitle2.js.map +1 -1
- package/lib-commonjs/components/presets/Subtitle2/index.js +5 -4
- package/lib-commonjs/components/presets/Subtitle2/index.js.map +1 -1
- package/lib-commonjs/components/presets/Subtitle2Stronger/Subtitle2Stronger.js +34 -25
- package/lib-commonjs/components/presets/Subtitle2Stronger/Subtitle2Stronger.js.map +1 -1
- package/lib-commonjs/components/presets/Subtitle2Stronger/index.js +5 -4
- package/lib-commonjs/components/presets/Subtitle2Stronger/index.js.map +1 -1
- package/lib-commonjs/components/presets/Title1/Title1.js +34 -25
- package/lib-commonjs/components/presets/Title1/Title1.js.map +1 -1
- package/lib-commonjs/components/presets/Title1/index.js +5 -4
- package/lib-commonjs/components/presets/Title1/index.js.map +1 -1
- package/lib-commonjs/components/presets/Title2/Title2.js +34 -25
- package/lib-commonjs/components/presets/Title2/Title2.js.map +1 -1
- package/lib-commonjs/components/presets/Title2/index.js +5 -4
- package/lib-commonjs/components/presets/Title2/index.js.map +1 -1
- package/lib-commonjs/components/presets/Title3/Title3.js +34 -25
- package/lib-commonjs/components/presets/Title3/Title3.js.map +1 -1
- package/lib-commonjs/components/presets/Title3/index.js +5 -4
- package/lib-commonjs/components/presets/Title3/index.js.map +1 -1
- package/lib-commonjs/components/presets/createPreset.js +21 -22
- package/lib-commonjs/components/presets/createPreset.js.map +1 -1
- package/lib-commonjs/index.js +69 -256
- package/lib-commonjs/index.js.map +1 -1
- package/package.json +6 -6
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"mappings":"AACA,yBAA2B
|
1
|
+
{"version":3,"mappings":"AACA,yBAA2B;AAC3B,SAASA,YAAY,QAAQ;AAG7B,SAASC,gBAAgB,QAAQ;AAEjC,OAAO,MAAMC,uBAAkD;EAC7DC,MAAM;AACR;AAEA;;;AAGA,MAAMC,yBAAYC;EAAAA;IAAAA;IAAAA;IAAAA;IAAAA;EAAAA;AAAAA;EAAAA;AAAAA,EAElB;AAEA;;;AAGA,OAAO,MAAMC,0BAAiDN,aAAa;EACzEI;EACAG,WAAWL,qBAAqBC,IAAI;EACpCK,aAAa;AACf","names":["createPreset","typographyStyles","largeTitleClassNames","root","useStyles","makeStyles","LargeTitle","className","displayName"],"sources":["../../../../src/components/presets/LargeTitle/LargeTitle.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createPreset } from '../createPreset';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots, TextPresetProps } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const largeTitleClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-LargeTitle',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.largeTitle,\n});\n\n/**\n * Text preset component for the Large Title typography variant\n */\nexport const LargeTitle: FunctionComponent<TextPresetProps> = createPreset({\n useStyles,\n className: largeTitleClassNames.root,\n displayName: 'LargeTitle',\n});\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"mappings":"AAAA,cAAc","names":[],"sources":["../../../../src/components/presets/LargeTitle/index.ts"],"sourcesContent":["export * from './LargeTitle';\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"mappings":"AACA,yBAA2B
|
1
|
+
{"version":3,"mappings":"AACA,yBAA2B;AAC3B,SAASA,YAAY,QAAQ;AAG7B,SAASC,gBAAgB,QAAQ;AAEjC,OAAO,MAAMC,sBAAiD;EAC5DC,MAAM;AACR;AAEA;;;AAGA,MAAMC,yBAAYC;EAAAA;IAAAA;IAAAA;IAAAA;IAAAA;EAAAA;AAAAA;EAAAA;AAAAA,EAElB;AAEA;;;AAGA,OAAO,MAAMC,yBAAgDN,aAAa;EACxEI;EACAG,WAAWL,oBAAoBC,IAAI;EACnCK,aAAa;AACf","names":["createPreset","typographyStyles","subtitle1ClassNames","root","useStyles","makeStyles","Subtitle1","className","displayName"],"sources":["../../../../src/components/presets/Subtitle1/Subtitle1.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createPreset } from '../createPreset';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots, TextPresetProps } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const subtitle1ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Subtitle1',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.subtitle1,\n});\n\n/**\n * Text preset component for the Subtitle1 typography variant\n */\nexport const Subtitle1: FunctionComponent<TextPresetProps> = createPreset({\n useStyles,\n className: subtitle1ClassNames.root,\n displayName: 'Subtitle1',\n});\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"mappings":"AAAA,cAAc","names":[],"sources":["../../../../src/components/presets/Subtitle1/index.ts"],"sourcesContent":["export * from './Subtitle1';\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"mappings":"AACA,yBAA2B
|
1
|
+
{"version":3,"mappings":"AACA,yBAA2B;AAC3B,SAASA,YAAY,QAAQ;AAG7B,SAASC,gBAAgB,QAAQ;AAEjC,OAAO,MAAMC,sBAAiD;EAC5DC,MAAM;AACR;AAEA;;;AAGA,MAAMC,yBAAYC;EAAAA;IAAAA;IAAAA;IAAAA;IAAAA;EAAAA;AAAAA;EAAAA;AAAAA,EAElB;AAEA;;;AAGA,OAAO,MAAMC,yBAAgDN,aAAa;EACxEI;EACAG,WAAWL,oBAAoBC,IAAI;EACnCK,aAAa;AACf","names":["createPreset","typographyStyles","subtitle2ClassNames","root","useStyles","makeStyles","Subtitle2","className","displayName"],"sources":["../../../../src/components/presets/Subtitle2/Subtitle2.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createPreset } from '../createPreset';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots, TextPresetProps } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const subtitle2ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Subtitle2',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.subtitle2,\n});\n\n/**\n * Text preset component for the Subtitle2 typography variant\n */\nexport const Subtitle2: FunctionComponent<TextPresetProps> = createPreset({\n useStyles,\n className: subtitle2ClassNames.root,\n displayName: 'Subtitle2',\n});\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"mappings":"AAAA,cAAc","names":[],"sources":["../../../../src/components/presets/Subtitle2/index.ts"],"sourcesContent":["export * from './Subtitle2';\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"mappings":"AACA,yBAA2B
|
1
|
+
{"version":3,"mappings":"AACA,yBAA2B;AAC3B,SAASA,YAAY,QAAQ;AAG7B,SAASC,gBAAgB,QAAQ;AAEjC,OAAO,MAAMC,8BAAyD;EACpEC,MAAM;AACR;AAEA;;;AAGA,MAAMC,yBAAYC;EAAAA;IAAAA;IAAAA;IAAAA;IAAAA;EAAAA;AAAAA;EAAAA;AAAAA,EAElB;AAEA;;;AAGA,OAAO,MAAMC,iCAAwDN,aAAa;EAChFI;EACAG,WAAWL,4BAA4BC,IAAI;EAC3CK,aAAa;AACf","names":["createPreset","typographyStyles","subtitle2StrongerClassNames","root","useStyles","makeStyles","Subtitle2Stronger","className","displayName"],"sources":["../../../../src/components/presets/Subtitle2Stronger/Subtitle2Stronger.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createPreset } from '../createPreset';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots, TextPresetProps } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const subtitle2StrongerClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Subtitle2Stronger',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.subtitle2Stronger,\n});\n\n/**\n * Text preset component for the Subtitle2Stronger typography variant\n */\nexport const Subtitle2Stronger: FunctionComponent<TextPresetProps> = createPreset({\n useStyles,\n className: subtitle2StrongerClassNames.root,\n displayName: 'Subtitle2Stronger',\n});\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"mappings":"AAAA,cAAc","names":[],"sources":["../../../../src/components/presets/Subtitle2Stronger/index.ts"],"sourcesContent":["export * from './Subtitle2Stronger';\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"mappings":"AACA,yBAA2B
|
1
|
+
{"version":3,"mappings":"AACA,yBAA2B;AAC3B,SAASA,YAAY,QAAQ;AAG7B,SAASC,gBAAgB,QAAQ;AAEjC,OAAO,MAAMC,mBAA8C;EACzDC,MAAM;AACR;AAEA;;;AAGA,MAAMC,yBAAYC;EAAAA;IAAAA;IAAAA;IAAAA;IAAAA;EAAAA;AAAAA;EAAAA;AAAAA,EAElB;AAEA;;;AAGA,OAAO,MAAMC,sBAA6CN,aAAa;EACrEI;EACAG,WAAWL,iBAAiBC,IAAI;EAChCK,aAAa;AACf","names":["createPreset","typographyStyles","title1ClassNames","root","useStyles","makeStyles","Title1","className","displayName"],"sources":["../../../../src/components/presets/Title1/Title1.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createPreset } from '../createPreset';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots, TextPresetProps } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const title1ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Title1',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.title1,\n});\n\n/**\n * Text preset component for the Title 1 typography variant\n */\nexport const Title1: FunctionComponent<TextPresetProps> = createPreset({\n useStyles,\n className: title1ClassNames.root,\n displayName: 'Title1',\n});\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"mappings":"AAAA,cAAc","names":[],"sources":["../../../../src/components/presets/Title1/index.ts"],"sourcesContent":["export * from './Title1';\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"mappings":"AACA,yBAA2B
|
1
|
+
{"version":3,"mappings":"AACA,yBAA2B;AAC3B,SAASA,YAAY,QAAQ;AAG7B,SAASC,gBAAgB,QAAQ;AAEjC,OAAO,MAAMC,mBAA8C;EACzDC,MAAM;AACR;AAEA;;;AAGA,MAAMC,yBAAYC;EAAAA;IAAAA;IAAAA;IAAAA;IAAAA;EAAAA;AAAAA;EAAAA;AAAAA,EAElB;AAEA;;;AAGA,OAAO,MAAMC,sBAA6CN,aAAa;EACrEI;EACAG,WAAWL,iBAAiBC,IAAI;EAChCK,aAAa;AACf","names":["createPreset","typographyStyles","title2ClassNames","root","useStyles","makeStyles","Title2","className","displayName"],"sources":["../../../../src/components/presets/Title2/Title2.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createPreset } from '../createPreset';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots, TextPresetProps } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const title2ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Title2',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.title2,\n});\n\n/**\n * Text preset component for the Title 2 typography variant\n */\nexport const Title2: FunctionComponent<TextPresetProps> = createPreset({\n useStyles,\n className: title2ClassNames.root,\n displayName: 'Title2',\n});\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"mappings":"AAAA,cAAc","names":[],"sources":["../../../../src/components/presets/Title2/index.ts"],"sourcesContent":["export * from './Title2';\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"mappings":"AACA,yBAA2B
|
1
|
+
{"version":3,"mappings":"AACA,yBAA2B;AAC3B,SAASA,YAAY,QAAQ;AAG7B,SAASC,gBAAgB,QAAQ;AAEjC,OAAO,MAAMC,mBAA8C;EACzDC,MAAM;AACR;AAEA;;;AAGA,MAAMC,yBAAYC;EAAAA;IAAAA;IAAAA;IAAAA;IAAAA;EAAAA;AAAAA;EAAAA;AAAAA,EAElB;AAEA;;;AAGA,OAAO,MAAMC,sBAA6CN,aAAa;EACrEI;EACAG,WAAWL,iBAAiBC,IAAI;EAChCK,aAAa;AACf","names":["createPreset","typographyStyles","title3ClassNames","root","useStyles","makeStyles","Title3","className","displayName"],"sources":["../../../../src/components/presets/Title3/Title3.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createPreset } from '../createPreset';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots, TextPresetProps } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const title3ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Title3',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.title3,\n});\n\n/**\n * Text preset component for the Title 3 typography variant\n */\nexport const Title3: FunctionComponent<TextPresetProps> = createPreset({\n useStyles,\n className: title3ClassNames.root,\n displayName: 'Title3',\n});\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"mappings":"AAAA,cAAc","names":[],"sources":["../../../../src/components/presets/Title3/index.ts"],"sourcesContent":["export * from './Title3';\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"mappings":"AAAA,
|
1
|
+
{"version":3,"mappings":"AAAA,YAAYA,WAAW;AACvB,SAASC,YAAY,QAAQ;AAC7B,SAASC,mBAAmB,EAAEC,gBAAgB,EAAEC,sBAAsB,QAAQ;AAI9E,OAAO,SAASC,aAAaC,OAI5B,EAA4C;EAC3C,MAAM;IAAEC;IAAWC;IAAWC;EAAW,CAAE,GAAGH;EAC9C,MAAMI,uBAAgDV,MAAMW,UAAU,CAAC,CAACC,OAAOC,QAAQ;IACrF,MAAMC,SAASP;IACf,MAAMQ,QAAQZ,iBAAiBS,OAAoBC;IAEnDT,uBAAuBW;IAEvBA,MAAMC,IAAI,CAACR,SAAS,GAAGP,aAAaO,WAAWO,MAAMC,IAAI,CAACR,SAAS,EAAEM,OAAOE,IAAI,EAAEJ,MAAMJ,SAAS;IAEjG,OAAON,oBAAoBa;EAC7B;EACAL,QAAQD,WAAW,GAAGA;EAEtB,OAAOC;AACT","names":["React","mergeClasses","renderText_unstable","useText_unstable","useTextStyles_unstable","createPreset","options","useStyles","className","displayName","Wrapper","forwardRef","props","ref","styles","state","root"],"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 const styles = useStyles();\n const state = useText_unstable(props as TextProps, ref);\n\n useTextStyles_unstable(state);\n\n state.root.className = mergeClasses(className, state.root.className, styles.root, props.className);\n\n return renderText_unstable(state);\n });\n Wrapper.displayName = displayName;\n\n return Wrapper;\n}\n"]}
|
package/lib/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"mappings":"AAAA,SAASA,IAAI,EAAEC,mBAAmB,EAAEC,cAAc,EAAEC,sBAAsB,EAAEC,gBAAgB,QAAQ;AAEpG,SAASC,KAAK,EAAEC,eAAe,QAAQ;AACvC,SAASC,WAAW,EAAEC,qBAAqB,QAAQ;AACnD,SAASC,aAAa,EAAEC,uBAAuB,QAAQ;AACvD,SAASC,KAAK,EAAEC,eAAe,QAAQ;AACvC,SAASC,QAAQ,EAAEC,kBAAkB,QAAQ;AAC7C,SAASC,cAAc,EAAEC,wBAAwB,QAAQ;AACzD,SAASC,gBAAgB,EAAEC,0BAA0B,QAAQ;AAC7D,SAASC,QAAQ,EAAEC,kBAAkB,QAAQ;AAC7C,SAASC,cAAc,EAAEC,wBAAwB,QAAQ;AACzD,SAASC,OAAO,EAAEC,iBAAiB,QAAQ;AAC3C,SAASC,UAAU,EAAEC,oBAAoB,QAAQ;AACjD,SAASC,SAAS,EAAEC,mBAAmB,QAAQ;AAC/C,SAASC,SAAS,EAAEC,mBAAmB,QAAQ;AAC/C,SAASC,iBAAiB,EAAEC,2BAA2B,QAAQ;AAC/D,SAASC,MAAM,EAAEC,gBAAgB,QAAQ;AACzC,SAASC,MAAM,EAAEC,gBAAgB,QAAQ;AACzC,SAASC,MAAM,EAAEC,gBAAgB,QAAQ","names":["Text","renderText_unstable","textClassNames","useTextStyles_unstable","useText_unstable","Body1","body1ClassNames","Body1Strong","body1StrongClassNames","Body1Stronger","body1StrongerClassNames","Body2","body2ClassNames","Caption1","caption1ClassNames","Caption1Strong","caption1StrongClassNames","Caption1Stronger","caption1StrongerClassNames","Caption2","caption2ClassNames","Caption2Strong","caption2StrongClassNames","Display","displayClassNames","LargeTitle","largeTitleClassNames","Subtitle1","subtitle1ClassNames","Subtitle2","subtitle2ClassNames","Subtitle2Stronger","subtitle2StrongerClassNames","Title1","title1ClassNames","Title2","title2ClassNames","Title3","title3ClassNames"],"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"]}
|
package/lib-commonjs/Body1.js
CHANGED
@@ -1,8 +1,9 @@
|
|
1
1
|
"use strict";
|
2
|
-
|
3
2
|
Object.defineProperty(exports, "__esModule", {
|
4
|
-
|
3
|
+
value: true
|
5
4
|
});
|
6
|
-
const
|
7
|
-
|
5
|
+
const _exportStar = require("@swc/helpers/lib/_export_star.js").default;
|
6
|
+
_exportStar(require("./components/presets/Body1/index"), exports);
|
7
|
+
//# sourceMappingURL=Body1.js.map
|
8
|
+
|
8
9
|
//# sourceMappingURL=Body1.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"sources":["../lib/Body1.js"],"sourcesContent":["export * from './components/presets/Body1/index';\n//# sourceMappingURL=Body1.js.map"],"names":[],"mappings":";;;;;oBAAc;CACd,iCAAiC"}
|
@@ -1,8 +1,9 @@
|
|
1
1
|
"use strict";
|
2
|
-
|
3
2
|
Object.defineProperty(exports, "__esModule", {
|
4
|
-
|
3
|
+
value: true
|
5
4
|
});
|
6
|
-
const
|
7
|
-
|
5
|
+
const _exportStar = require("@swc/helpers/lib/_export_star.js").default;
|
6
|
+
_exportStar(require("./components/presets/Body1Strong/index"), exports);
|
7
|
+
//# sourceMappingURL=Body1Strong.js.map
|
8
|
+
|
8
9
|
//# sourceMappingURL=Body1Strong.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"sources":["../lib/Body1Strong.js"],"sourcesContent":["export * from './components/presets/Body1Strong/index';\n//# sourceMappingURL=Body1Strong.js.map"],"names":[],"mappings":";;;;;oBAAc;CACd,uCAAuC"}
|
@@ -1,8 +1,9 @@
|
|
1
1
|
"use strict";
|
2
|
-
|
3
2
|
Object.defineProperty(exports, "__esModule", {
|
4
|
-
|
3
|
+
value: true
|
5
4
|
});
|
6
|
-
const
|
7
|
-
|
5
|
+
const _exportStar = require("@swc/helpers/lib/_export_star.js").default;
|
6
|
+
_exportStar(require("./components/presets/Body1Stronger/index"), exports);
|
7
|
+
//# sourceMappingURL=Body1Stronger.js.map
|
8
|
+
|
8
9
|
//# sourceMappingURL=Body1Stronger.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"sources":["../lib/Body1Stronger.js"],"sourcesContent":["export * from './components/presets/Body1Stronger/index';\n//# sourceMappingURL=Body1Stronger.js.map"],"names":[],"mappings":";;;;;oBAAc;CACd,yCAAyC"}
|
package/lib-commonjs/Body2.js
CHANGED
@@ -1,8 +1,9 @@
|
|
1
1
|
"use strict";
|
2
|
-
|
3
2
|
Object.defineProperty(exports, "__esModule", {
|
4
|
-
|
3
|
+
value: true
|
5
4
|
});
|
6
|
-
const
|
7
|
-
|
5
|
+
const _exportStar = require("@swc/helpers/lib/_export_star.js").default;
|
6
|
+
_exportStar(require("./components/presets/Body2/index"), exports);
|
7
|
+
//# sourceMappingURL=Body2.js.map
|
8
|
+
|
8
9
|
//# sourceMappingURL=Body2.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"sources":["../lib/Body2.js"],"sourcesContent":["export * from './components/presets/Body2/index';\n//# sourceMappingURL=Body2.js.map"],"names":[],"mappings":";;;;;oBAAc;CACd,iCAAiC"}
|
package/lib-commonjs/Caption1.js
CHANGED
@@ -1,8 +1,9 @@
|
|
1
1
|
"use strict";
|
2
|
-
|
3
2
|
Object.defineProperty(exports, "__esModule", {
|
4
|
-
|
3
|
+
value: true
|
5
4
|
});
|
6
|
-
const
|
7
|
-
|
5
|
+
const _exportStar = require("@swc/helpers/lib/_export_star.js").default;
|
6
|
+
_exportStar(require("./components/presets/Caption1/index"), exports);
|
7
|
+
//# sourceMappingURL=Caption1.js.map
|
8
|
+
|
8
9
|
//# sourceMappingURL=Caption1.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"sources":["../lib/Caption1.js"],"sourcesContent":["export * from './components/presets/Caption1/index';\n//# sourceMappingURL=Caption1.js.map"],"names":[],"mappings":";;;;;oBAAc;CACd,oCAAoC"}
|
@@ -1,8 +1,9 @@
|
|
1
1
|
"use strict";
|
2
|
-
|
3
2
|
Object.defineProperty(exports, "__esModule", {
|
4
|
-
|
3
|
+
value: true
|
5
4
|
});
|
6
|
-
const
|
7
|
-
|
5
|
+
const _exportStar = require("@swc/helpers/lib/_export_star.js").default;
|
6
|
+
_exportStar(require("./components/presets/Caption1Strong/index"), exports);
|
7
|
+
//# sourceMappingURL=Caption1Strong.js.map
|
8
|
+
|
8
9
|
//# sourceMappingURL=Caption1Strong.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"sources":["../lib/Caption1Strong.js"],"sourcesContent":["export * from './components/presets/Caption1Strong/index';\n//# sourceMappingURL=Caption1Strong.js.map"],"names":[],"mappings":";;;;;oBAAc;CACd,0CAA0C"}
|
@@ -1,8 +1,9 @@
|
|
1
1
|
"use strict";
|
2
|
-
|
3
2
|
Object.defineProperty(exports, "__esModule", {
|
4
|
-
|
3
|
+
value: true
|
5
4
|
});
|
6
|
-
const
|
7
|
-
|
5
|
+
const _exportStar = require("@swc/helpers/lib/_export_star.js").default;
|
6
|
+
_exportStar(require("./components/presets/Caption1Stronger/index"), exports);
|
7
|
+
//# sourceMappingURL=Caption1Stronger.js.map
|
8
|
+
|
8
9
|
//# sourceMappingURL=Caption1Stronger.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"sources":["../lib/Caption1Stronger.js"],"sourcesContent":["export * from './components/presets/Caption1Stronger/index';\n//# sourceMappingURL=Caption1Stronger.js.map"],"names":[],"mappings":";;;;;oBAAc;CACd,4CAA4C"}
|
package/lib-commonjs/Caption2.js
CHANGED
@@ -1,8 +1,9 @@
|
|
1
1
|
"use strict";
|
2
|
-
|
3
2
|
Object.defineProperty(exports, "__esModule", {
|
4
|
-
|
3
|
+
value: true
|
5
4
|
});
|
6
|
-
const
|
7
|
-
|
5
|
+
const _exportStar = require("@swc/helpers/lib/_export_star.js").default;
|
6
|
+
_exportStar(require("./components/presets/Caption2/index"), exports);
|
7
|
+
//# sourceMappingURL=Caption2.js.map
|
8
|
+
|
8
9
|
//# sourceMappingURL=Caption2.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"sources":["../lib/Caption2.js"],"sourcesContent":["export * from './components/presets/Caption2/index';\n//# sourceMappingURL=Caption2.js.map"],"names":[],"mappings":";;;;;oBAAc;CACd,oCAAoC"}
|
@@ -1,8 +1,9 @@
|
|
1
1
|
"use strict";
|
2
|
-
|
3
2
|
Object.defineProperty(exports, "__esModule", {
|
4
|
-
|
3
|
+
value: true
|
5
4
|
});
|
6
|
-
const
|
7
|
-
|
5
|
+
const _exportStar = require("@swc/helpers/lib/_export_star.js").default;
|
6
|
+
_exportStar(require("./components/presets/Caption2Strong/index"), exports);
|
7
|
+
//# sourceMappingURL=Caption2Strong.js.map
|
8
|
+
|
8
9
|
//# sourceMappingURL=Caption2Strong.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"sources":["../lib/Caption2Strong.js"],"sourcesContent":["export * from './components/presets/Caption2Strong/index';\n//# sourceMappingURL=Caption2Strong.js.map"],"names":[],"mappings":";;;;;oBAAc;CACd,0CAA0C"}
|
package/lib-commonjs/Display.js
CHANGED
@@ -1,8 +1,9 @@
|
|
1
1
|
"use strict";
|
2
|
-
|
3
2
|
Object.defineProperty(exports, "__esModule", {
|
4
|
-
|
3
|
+
value: true
|
5
4
|
});
|
6
|
-
const
|
7
|
-
|
5
|
+
const _exportStar = require("@swc/helpers/lib/_export_star.js").default;
|
6
|
+
_exportStar(require("./components/presets/Display/index"), exports);
|
7
|
+
//# sourceMappingURL=Display.js.map
|
8
|
+
|
8
9
|
//# sourceMappingURL=Display.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"sources":["../lib/Display.js"],"sourcesContent":["export * from './components/presets/Display/index';\n//# sourceMappingURL=Display.js.map"],"names":[],"mappings":";;;;;oBAAc;CACd,mCAAmC"}
|
@@ -1,8 +1,9 @@
|
|
1
1
|
"use strict";
|
2
|
-
|
3
2
|
Object.defineProperty(exports, "__esModule", {
|
4
|
-
|
3
|
+
value: true
|
5
4
|
});
|
6
|
-
const
|
7
|
-
|
5
|
+
const _exportStar = require("@swc/helpers/lib/_export_star.js").default;
|
6
|
+
_exportStar(require("./components/presets/LargeTitle/index"), exports);
|
7
|
+
//# sourceMappingURL=LargeTitle.js.map
|
8
|
+
|
8
9
|
//# sourceMappingURL=LargeTitle.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"sources":["../lib/LargeTitle.js"],"sourcesContent":["export * from './components/presets/LargeTitle/index';\n//# sourceMappingURL=LargeTitle.js.map"],"names":[],"mappings":";;;;;oBAAc;CACd,sCAAsC"}
|
@@ -1,8 +1,9 @@
|
|
1
1
|
"use strict";
|
2
|
-
|
3
2
|
Object.defineProperty(exports, "__esModule", {
|
4
|
-
|
3
|
+
value: true
|
5
4
|
});
|
6
|
-
const
|
7
|
-
|
5
|
+
const _exportStar = require("@swc/helpers/lib/_export_star.js").default;
|
6
|
+
_exportStar(require("./components/presets/Subtitle1/index"), exports);
|
7
|
+
//# sourceMappingURL=Subtitle1.js.map
|
8
|
+
|
8
9
|
//# sourceMappingURL=Subtitle1.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"sources":["../lib/Subtitle1.js"],"sourcesContent":["export * from './components/presets/Subtitle1/index';\n//# sourceMappingURL=Subtitle1.js.map"],"names":[],"mappings":";;;;;oBAAc;CACd,qCAAqC"}
|
@@ -1,8 +1,9 @@
|
|
1
1
|
"use strict";
|
2
|
-
|
3
2
|
Object.defineProperty(exports, "__esModule", {
|
4
|
-
|
3
|
+
value: true
|
5
4
|
});
|
6
|
-
const
|
7
|
-
|
5
|
+
const _exportStar = require("@swc/helpers/lib/_export_star.js").default;
|
6
|
+
_exportStar(require("./components/presets/Subtitle2/index"), exports);
|
7
|
+
//# sourceMappingURL=Subtitle2.js.map
|
8
|
+
|
8
9
|
//# sourceMappingURL=Subtitle2.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"sources":["../lib/Subtitle2.js"],"sourcesContent":["export * from './components/presets/Subtitle2/index';\n//# sourceMappingURL=Subtitle2.js.map"],"names":[],"mappings":";;;;;oBAAc;CACd,qCAAqC"}
|
@@ -1,8 +1,9 @@
|
|
1
1
|
"use strict";
|
2
|
-
|
3
2
|
Object.defineProperty(exports, "__esModule", {
|
4
|
-
|
3
|
+
value: true
|
5
4
|
});
|
6
|
-
const
|
7
|
-
|
5
|
+
const _exportStar = require("@swc/helpers/lib/_export_star.js").default;
|
6
|
+
_exportStar(require("./components/presets/Subtitle2Stronger/index"), exports);
|
7
|
+
//# sourceMappingURL=Subtitle2Stronger.js.map
|
8
|
+
|
8
9
|
//# sourceMappingURL=Subtitle2Stronger.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"sources":["../lib/Subtitle2Stronger.js"],"sourcesContent":["export * from './components/presets/Subtitle2Stronger/index';\n//# sourceMappingURL=Subtitle2Stronger.js.map"],"names":[],"mappings":";;;;;oBAAc;CACd,6CAA6C"}
|
package/lib-commonjs/Text.js
CHANGED
@@ -1,8 +1,9 @@
|
|
1
1
|
"use strict";
|
2
|
-
|
3
2
|
Object.defineProperty(exports, "__esModule", {
|
4
|
-
|
3
|
+
value: true
|
5
4
|
});
|
6
|
-
const
|
7
|
-
|
5
|
+
const _exportStar = require("@swc/helpers/lib/_export_star.js").default;
|
6
|
+
_exportStar(require("./components/Text/index"), exports);
|
7
|
+
//# sourceMappingURL=Text.js.map
|
8
|
+
|
8
9
|
//# sourceMappingURL=Text.js.map
|
package/lib-commonjs/Text.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"sources":["../lib/Text.js"],"sourcesContent":["export * from './components/Text/index';\n//# sourceMappingURL=Text.js.map"],"names":[],"mappings":";;;;;oBAAc;CACd,gCAAgC"}
|
package/lib-commonjs/Title1.js
CHANGED
@@ -1,8 +1,9 @@
|
|
1
1
|
"use strict";
|
2
|
-
|
3
2
|
Object.defineProperty(exports, "__esModule", {
|
4
|
-
|
3
|
+
value: true
|
5
4
|
});
|
6
|
-
const
|
7
|
-
|
5
|
+
const _exportStar = require("@swc/helpers/lib/_export_star.js").default;
|
6
|
+
_exportStar(require("./components/presets/Title1/index"), exports);
|
7
|
+
//# sourceMappingURL=Title1.js.map
|
8
|
+
|
8
9
|
//# sourceMappingURL=Title1.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"sources":["../lib/Title1.js"],"sourcesContent":["export * from './components/presets/Title1/index';\n//# sourceMappingURL=Title1.js.map"],"names":[],"mappings":";;;;;oBAAc;CACd,kCAAkC"}
|
package/lib-commonjs/Title2.js
CHANGED
@@ -1,8 +1,9 @@
|
|
1
1
|
"use strict";
|
2
|
-
|
3
2
|
Object.defineProperty(exports, "__esModule", {
|
4
|
-
|
3
|
+
value: true
|
5
4
|
});
|
6
|
-
const
|
7
|
-
|
5
|
+
const _exportStar = require("@swc/helpers/lib/_export_star.js").default;
|
6
|
+
_exportStar(require("./components/presets/Title2/index"), exports);
|
7
|
+
//# sourceMappingURL=Title2.js.map
|
8
|
+
|
8
9
|
//# sourceMappingURL=Title2.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"sources":["../lib/Title2.js"],"sourcesContent":["export * from './components/presets/Title2/index';\n//# sourceMappingURL=Title2.js.map"],"names":[],"mappings":";;;;;oBAAc;CACd,kCAAkC"}
|
package/lib-commonjs/Title3.js
CHANGED
@@ -1,8 +1,9 @@
|
|
1
1
|
"use strict";
|
2
|
-
|
3
2
|
Object.defineProperty(exports, "__esModule", {
|
4
|
-
|
3
|
+
value: true
|
5
4
|
});
|
6
|
-
const
|
7
|
-
|
5
|
+
const _exportStar = require("@swc/helpers/lib/_export_star.js").default;
|
6
|
+
_exportStar(require("./components/presets/Title3/index"), exports);
|
7
|
+
//# sourceMappingURL=Title3.js.map
|
8
|
+
|
8
9
|
//# sourceMappingURL=Title3.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"sources":["../lib/Title3.js"],"sourcesContent":["export * from './components/presets/Title3/index';\n//# sourceMappingURL=Title3.js.map"],"names":[],"mappings":";;;;;oBAAc;CACd,kCAAkC"}
|
@@ -1,22 +1,22 @@
|
|
1
1
|
"use strict";
|
2
|
-
|
3
2
|
Object.defineProperty(exports, "__esModule", {
|
4
|
-
|
3
|
+
value: true
|
4
|
+
});
|
5
|
+
Object.defineProperty(exports, "Text", {
|
6
|
+
enumerable: true,
|
7
|
+
get: ()=>Text
|
5
8
|
});
|
6
|
-
|
7
|
-
const
|
8
|
-
const
|
9
|
-
const
|
10
|
-
const
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
useTextStyles_1.useTextStyles_unstable(state);
|
17
|
-
return renderText_1.renderText_unstable(state);
|
18
|
-
// Work around some small mismatches in inferred types which don't matter in practice
|
9
|
+
const _interopRequireWildcard = require("@swc/helpers/lib/_interop_require_wildcard.js").default;
|
10
|
+
const _react = /*#__PURE__*/ _interopRequireWildcard(require("react"));
|
11
|
+
const _useText = require("./useText");
|
12
|
+
const _renderText = require("./renderText");
|
13
|
+
const _useTextStyles = require("./useTextStyles");
|
14
|
+
const Text = /*#__PURE__*/ _react.forwardRef((props, ref)=>{
|
15
|
+
const state = (0, _useText.useText_unstable)(props, ref);
|
16
|
+
(0, _useTextStyles.useTextStyles_unstable)(state);
|
17
|
+
return (0, _renderText.renderText_unstable)(state);
|
18
|
+
// Work around some small mismatches in inferred types which don't matter in practice
|
19
19
|
});
|
20
|
+
Text.displayName = 'Text'; //# sourceMappingURL=Text.js.map
|
20
21
|
|
21
|
-
exports.Text.displayName = 'Text';
|
22
22
|
//# sourceMappingURL=Text.js.map
|