@fluentui-react-native/text 0.25.1 → 0.25.4
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/.cache/tsconfig.tsbuildinfo +1 -0
- package/CHANGELOG.md +48 -0
- package/jest.config.cjs +1 -0
- package/lib/Text.d.ts.map +1 -1
- package/lib/Text.js.map +1 -1
- package/lib/__tests__/Text.test.js.map +1 -1
- package/lib/deprecated/Text.d.ts.map +1 -1
- package/package.json +26 -31
- package/tsconfig.json +35 -3
- package/babel.config.js +0 -1
- package/eslint.config.js +0 -3
- package/jest.config.js +0 -2
- package/lib-commonjs/Text.d.ts +0 -4
- package/lib-commonjs/Text.d.ts.map +0 -1
- package/lib-commonjs/Text.js +0 -110
- package/lib-commonjs/Text.js.map +0 -1
- package/lib-commonjs/Text.types.d.ts +0 -98
- package/lib-commonjs/Text.types.d.ts.map +0 -1
- package/lib-commonjs/Text.types.js +0 -5
- package/lib-commonjs/Text.types.js.map +0 -1
- package/lib-commonjs/TextTokens.d.ts +0 -3
- package/lib-commonjs/TextTokens.d.ts.map +0 -1
- package/lib-commonjs/TextTokens.js +0 -10
- package/lib-commonjs/TextTokens.js.map +0 -1
- package/lib-commonjs/Variants.android.d.ts +0 -18
- package/lib-commonjs/Variants.android.d.ts.map +0 -1
- package/lib-commonjs/Variants.android.js +0 -46
- package/lib-commonjs/Variants.android.js.map +0 -1
- package/lib-commonjs/Variants.d.ts +0 -18
- package/lib-commonjs/Variants.d.ts.map +0 -1
- package/lib-commonjs/Variants.ios.d.ts +0 -18
- package/lib-commonjs/Variants.ios.d.ts.map +0 -1
- package/lib-commonjs/Variants.ios.js +0 -46
- package/lib-commonjs/Variants.ios.js.map +0 -1
- package/lib-commonjs/Variants.js +0 -23
- package/lib-commonjs/Variants.js.map +0 -1
- package/lib-commonjs/Variants.win32.d.ts +0 -18
- package/lib-commonjs/Variants.win32.d.ts.map +0 -1
- package/lib-commonjs/Variants.win32.js +0 -48
- package/lib-commonjs/Variants.win32.js.map +0 -1
- package/lib-commonjs/Variants.windows.d.ts +0 -18
- package/lib-commonjs/Variants.windows.d.ts.map +0 -1
- package/lib-commonjs/Variants.windows.js +0 -48
- package/lib-commonjs/Variants.windows.js.map +0 -1
- package/lib-commonjs/__tests__/Text.test.d.ts +0 -2
- package/lib-commonjs/__tests__/Text.test.d.ts.map +0 -1
- package/lib-commonjs/__tests__/Text.test.js +0 -79
- package/lib-commonjs/__tests__/Text.test.js.map +0 -1
- package/lib-commonjs/deprecated/Text.d.ts +0 -5
- package/lib-commonjs/deprecated/Text.d.ts.map +0 -1
- package/lib-commonjs/deprecated/Text.js +0 -21
- package/lib-commonjs/deprecated/Text.js.map +0 -1
- package/lib-commonjs/deprecated/Text.settings.d.ts +0 -4
- package/lib-commonjs/deprecated/Text.settings.d.ts.map +0 -1
- package/lib-commonjs/deprecated/Text.settings.js +0 -27
- package/lib-commonjs/deprecated/Text.settings.js.map +0 -1
- package/lib-commonjs/deprecated/Text.types.d.ts +0 -17
- package/lib-commonjs/deprecated/Text.types.d.ts.map +0 -1
- package/lib-commonjs/deprecated/Text.types.js +0 -5
- package/lib-commonjs/deprecated/Text.types.js.map +0 -1
- package/lib-commonjs/index.d.ts +0 -8
- package/lib-commonjs/index.d.ts.map +0 -1
- package/lib-commonjs/index.js +0 -31
- package/lib-commonjs/index.js.map +0 -1
package/lib-commonjs/Text.js
DELETED
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.Text = void 0;
|
|
7
|
-
const jsx_runtime_1 = require("@fluentui-react-native/framework-base/jsx-runtime");
|
|
8
|
-
/** @jsxImportSource @fluentui-react-native/framework-base */
|
|
9
|
-
const react_1 = __importDefault(require("react"));
|
|
10
|
-
const react_native_1 = require("react-native");
|
|
11
|
-
const framework_1 = require("@fluentui-react-native/framework");
|
|
12
|
-
const interactive_hooks_1 = require("@fluentui-react-native/interactive-hooks");
|
|
13
|
-
const theme_tokens_1 = require("@fluentui-react-native/theme-tokens");
|
|
14
|
-
const Text_types_1 = require("./Text.types");
|
|
15
|
-
const TextTokens_1 = require("./TextTokens");
|
|
16
|
-
const emptyProps = {};
|
|
17
|
-
exports.Text = (0, framework_1.compressible)((props, useTokens) => {
|
|
18
|
-
if (props === undefined) {
|
|
19
|
-
props = emptyProps;
|
|
20
|
-
}
|
|
21
|
-
// split out color and variant from props
|
|
22
|
-
const { align = undefined, block, color, componentRef, font, italic, numberOfLines, onAccessibilityTap, onKeyUp, onKeyDown, keyUpEvents, keyDownEvents, onPress, size, strikethrough, style, truncate = false, underline, variant, weight, wrap = true, ...rest } = props;
|
|
23
|
-
const theme = (0, framework_1.useFluentTheme)();
|
|
24
|
-
// get the tokens from the theme
|
|
25
|
-
let [tokens, cache] = useTokens(theme);
|
|
26
|
-
const textAlign = react_native_1.I18nManager.isRTL
|
|
27
|
-
? align === 'start'
|
|
28
|
-
? 'right'
|
|
29
|
-
: align === 'end'
|
|
30
|
-
? 'left'
|
|
31
|
-
: align
|
|
32
|
-
: align === 'start'
|
|
33
|
-
? 'left'
|
|
34
|
-
: align === 'end'
|
|
35
|
-
? 'right'
|
|
36
|
-
: align;
|
|
37
|
-
const textOnPress = react_1.default.useCallback((e) => {
|
|
38
|
-
if (onPress) {
|
|
39
|
-
onPress(e);
|
|
40
|
-
}
|
|
41
|
-
e.stopPropagation();
|
|
42
|
-
}, [onPress]);
|
|
43
|
-
const keyProps = (0, interactive_hooks_1.useKeyProps)(textOnPress, ' ', 'Enter');
|
|
44
|
-
const onAccTap = react_1.default.useCallback((event) => {
|
|
45
|
-
onAccessibilityTap ? onAccessibilityTap() : onPress(event);
|
|
46
|
-
}, [onPress, onAccessibilityTap]);
|
|
47
|
-
// override tokens from props
|
|
48
|
-
[tokens, cache] = (0, framework_1.patchTokens)(tokens, cache, {
|
|
49
|
-
color,
|
|
50
|
-
variant,
|
|
51
|
-
fontFamily: font == 'base' ? 'primary' : font,
|
|
52
|
-
fontMaximumSize: tokens.maximumFontSize,
|
|
53
|
-
fontSize: theme_tokens_1.globalTokens.font['size' + size],
|
|
54
|
-
fontWeight: theme_tokens_1.globalTokens.font.weight[weight],
|
|
55
|
-
// leave it undefined for tokens to be set by user
|
|
56
|
-
fontStyle: italic ? 'italic' : undefined,
|
|
57
|
-
textAlign: textAlign,
|
|
58
|
-
textDecorationLine: underline && strikethrough ? 'underline line-through' : underline ? 'underline' : strikethrough ? 'line-through' : undefined,
|
|
59
|
-
});
|
|
60
|
-
// now build the text style from tokens that can be shared between different Text instances
|
|
61
|
-
const [tokenStyle] = cache(() => ({
|
|
62
|
-
margin: 0,
|
|
63
|
-
color: tokens.color,
|
|
64
|
-
fontStyle: tokens.fontStyle,
|
|
65
|
-
textAlign: tokens.textAlign,
|
|
66
|
-
textDecorationLine: tokens.textDecorationLine,
|
|
67
|
-
...framework_1.fontStyles.from(tokens, theme),
|
|
68
|
-
}), ['color', 'fontStyle', 'textAlign', 'textDecorationLine', ...framework_1.fontStyles.keys]);
|
|
69
|
-
// Safety measure: Dynamic Type is an iOS-specific thing
|
|
70
|
-
const dynamicTypeVariant = react_native_1.Platform.OS === 'ios' ? tokenStyle.dynamicTypeRamp : undefined;
|
|
71
|
-
let maxFontSizeScaleAdjustment = emptyProps;
|
|
72
|
-
// tokenStyle.fontSize can also be a string (e.g., "14px").
|
|
73
|
-
// Therefore, we only support scaling for number-based size values in order to avoid any messy calculations.
|
|
74
|
-
if (dynamicTypeVariant !== undefined && typeof tokenStyle.fontSize === 'number' && tokenStyle.maximumFontSize !== undefined) {
|
|
75
|
-
maxFontSizeScaleAdjustment = {
|
|
76
|
-
maxFontSizeMultiplier: tokenStyle.maximumFontSize / tokenStyle.fontSize,
|
|
77
|
-
};
|
|
78
|
-
}
|
|
79
|
-
const isWin32Platform = react_native_1.Platform.OS === 'win32';
|
|
80
|
-
const filteredProps = {
|
|
81
|
-
onKeyUp: isWin32Platform ? onKeyUp : undefined,
|
|
82
|
-
keyUpEvents: isWin32Platform ? keyUpEvents : undefined,
|
|
83
|
-
validKeysUp: undefined,
|
|
84
|
-
onKeyDown: isWin32Platform ? onKeyDown : undefined,
|
|
85
|
-
keyDownEvents: isWin32Platform ? keyDownEvents : undefined,
|
|
86
|
-
validKeysDown: undefined,
|
|
87
|
-
onAccessibilityTap: isWin32Platform ? onAccTap : undefined,
|
|
88
|
-
};
|
|
89
|
-
// return a continuation function that allows this text to be compressed
|
|
90
|
-
return (extra, children) => {
|
|
91
|
-
const mergedProps = {
|
|
92
|
-
...rest,
|
|
93
|
-
...keyProps,
|
|
94
|
-
...filteredProps,
|
|
95
|
-
...extra,
|
|
96
|
-
...maxFontSizeScaleAdjustment,
|
|
97
|
-
onPress,
|
|
98
|
-
numberOfLines: numberOfLines ?? (truncate || !wrap ? 1 : 0),
|
|
99
|
-
style: (0, framework_1.mergeStyles)(tokenStyle, props.style, extra?.style),
|
|
100
|
-
};
|
|
101
|
-
// RN TextStyle doesn't recognize these properties.
|
|
102
|
-
// Don't let them leak through or RN will complain about invalid props.
|
|
103
|
-
delete mergedProps.style.dynamicTypeRamp;
|
|
104
|
-
delete mergedProps.style.maximumFontSize;
|
|
105
|
-
return (jsx_runtime_1.jsx(react_native_1.Text, { ref: componentRef, ellipsizeMode: !wrap && !truncate ? 'clip' : 'tail', ...mergedProps, children: children }));
|
|
106
|
-
};
|
|
107
|
-
}, TextTokens_1.useTextTokens);
|
|
108
|
-
exports.Text.displayName = Text_types_1.textName;
|
|
109
|
-
exports.default = exports.Text;
|
|
110
|
-
//# sourceMappingURL=Text.js.map
|
package/lib-commonjs/Text.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Text.js","sourceRoot":"","sources":["../src/Text.tsx"],"names":[],"mappings":";;;;;;;AAAA,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aAAa,EAAE,SAAS;QACxB,kBAAkB,EAAE,eAAe,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS;KAC3D,CAAC;IAEF,wEAAwE;IACxE,OAAO,CAAC,KAAgB,EAAE,QAAyB,EAAE,EAAE,CAAC;QACtD,MAAM,WAAW,GAAG;YAClB,GAAG,IAAI;YACP,GAAG,QAAQ;YACX,GAAG,aAAa;YAChB,GAAG,KAAK;YACR,GAAG,0BAA0B;YAC7B,OAAO;YACP,aAAa,EAAE,aAAa,IAAI,CAAC,QAAQ,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;YAC3D,KAAK,EAAE,IAAA,uBAAW,EAAC,UAAU,EAAE,KAAK,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC;SAC1D,CAAC;QAEF,mDAAmD;QACnD,uEAAuE;QACvE,OAAQ,WAAW,CAAC,KAAoB,CAAC,eAAe,CAAC;QACzD,OAAQ,WAAW,CAAC,KAAoB,CAAC,eAAe,CAAC;QAEzD,OAAO,CACL,kBAAC,mBAAM,IAAC,GAAG,EAAE,YAAY,EAAE,aAAa,EAAE,CAAC,IAAI,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,KAAM,WAAW,YAC5F,QAAQ,GACF,CACV,CAAC;IAAA,CACH,CAAC;AAAA,CACH,EAAE,0BAAa,CAAC,CAAC;AAClB,QAAA,IAAI,CAAC,WAAW,GAAG,qBAAQ,CAAC;kBAEb,QAAA,IAAI"}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import type { ColorValue, Text, TextStyle } from 'react-native';
|
|
2
|
-
import type { ITextProps } from '@fluentui-react-native/adapters';
|
|
3
|
-
import type { FontTokens, FontVariantTokens, IForegroundColorTokens } from '@fluentui-react-native/framework';
|
|
4
|
-
export declare const textName = "Text";
|
|
5
|
-
/**
|
|
6
|
-
* Text tokens, these are the internally configurable values for Text elements. In particular these
|
|
7
|
-
* drive decisions on how to build the styles
|
|
8
|
-
*/
|
|
9
|
-
export type TextTokens = Omit<FontTokens, 'fontFamily'> & IForegroundColorTokens & Omit<TextStyle, 'fontSize' | 'fontWeight' | 'color'> & {
|
|
10
|
-
/**
|
|
11
|
-
* (iOS only) The Dynamic Type ramp that a Text element should follow as the user changes their
|
|
12
|
-
* preferred content size.
|
|
13
|
-
*/
|
|
14
|
-
dynamicTypeRamp?: TextProps['dynamicTypeRamp'];
|
|
15
|
-
/**
|
|
16
|
-
* (iOS only) The maximum font size that a Text element will grow to as the user changes their
|
|
17
|
-
* preferred content size.
|
|
18
|
-
*/
|
|
19
|
-
maximumFontSize?: number;
|
|
20
|
-
};
|
|
21
|
-
export type TextAlign = 'start' | 'center' | 'end' | 'justify';
|
|
22
|
-
export type TextFont = 'base' | 'monospace' | 'numeric';
|
|
23
|
-
export type TextSize = 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000;
|
|
24
|
-
export type TextWeight = 'regular' | 'medium' | 'semibold' | 'bold';
|
|
25
|
-
/**
|
|
26
|
-
* Text props, based off of the standard react-native TextProps with some new extensions
|
|
27
|
-
*/
|
|
28
|
-
export type TextProps<TBase = ITextProps> = TBase & FontVariantTokens & {
|
|
29
|
-
/**
|
|
30
|
-
* foreground text color
|
|
31
|
-
*/
|
|
32
|
-
color?: ColorValue;
|
|
33
|
-
/**
|
|
34
|
-
* Aligns text based on the parent container.
|
|
35
|
-
*
|
|
36
|
-
* @defaultValue start
|
|
37
|
-
*/
|
|
38
|
-
align?: TextAlign;
|
|
39
|
-
/**
|
|
40
|
-
* Applies a block display for the content.
|
|
41
|
-
*
|
|
42
|
-
* @defaultValue false
|
|
43
|
-
*/
|
|
44
|
-
block?: boolean;
|
|
45
|
-
/**
|
|
46
|
-
* A RefObject to the Text object. Use this to access the public methods and properties of the component.
|
|
47
|
-
*/
|
|
48
|
-
componentRef?: React.RefObject<Text>;
|
|
49
|
-
/**
|
|
50
|
-
* Applies the font family to the content.
|
|
51
|
-
*
|
|
52
|
-
* @defaultValue base
|
|
53
|
-
*/
|
|
54
|
-
font?: TextFont;
|
|
55
|
-
/**
|
|
56
|
-
* Applies the italic font style to the content.
|
|
57
|
-
*
|
|
58
|
-
* @defaultValue false
|
|
59
|
-
*/
|
|
60
|
-
italic?: boolean;
|
|
61
|
-
/**
|
|
62
|
-
* Applies the strikethrough text decoration to the content.
|
|
63
|
-
*
|
|
64
|
-
* @defaultValue false
|
|
65
|
-
*/
|
|
66
|
-
strikethrough?: boolean;
|
|
67
|
-
/**
|
|
68
|
-
* Applies font size and line height based on the theme tokens.
|
|
69
|
-
*
|
|
70
|
-
* @defaultValue 300
|
|
71
|
-
*/
|
|
72
|
-
size?: TextSize;
|
|
73
|
-
/**
|
|
74
|
-
* Truncate overflowing text for block displays.
|
|
75
|
-
*
|
|
76
|
-
* @defaultValue false
|
|
77
|
-
*/
|
|
78
|
-
truncate?: boolean;
|
|
79
|
-
/**
|
|
80
|
-
* Applies the underline text decoration to the content.
|
|
81
|
-
*
|
|
82
|
-
* @defaultValue false
|
|
83
|
-
*/
|
|
84
|
-
underline?: boolean;
|
|
85
|
-
/**
|
|
86
|
-
* Applies font weight to the content.
|
|
87
|
-
*
|
|
88
|
-
* @defaultValue regular
|
|
89
|
-
*/
|
|
90
|
-
weight?: TextWeight;
|
|
91
|
-
/**
|
|
92
|
-
* Wraps the text content on white spaces.
|
|
93
|
-
*
|
|
94
|
-
* @defaultValue true
|
|
95
|
-
*/
|
|
96
|
-
wrap?: boolean;
|
|
97
|
-
};
|
|
98
|
-
//# sourceMappingURL=Text.types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Text.types.d.ts","sourceRoot":"","sources":["../src/Text.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEhE,OAAO,KAAK,EAA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;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB;;;;OAIG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB;;;;OAIG;IACH,IAAI,CAAC,EAAE,QAAQ,CAAC;IAEhB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;;;OAIG;IACH,MAAM,CAAC,EAAE,UAAU,CAAC;IAEpB;;;;OAIG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Text.types.js","sourceRoot":"","sources":["../src/Text.types.ts"],"names":[],"mappings":";;;AAKa,QAAA,QAAQ,GAAG,MAAM,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TextTokens.d.ts","sourceRoot":"","sources":["../src/TextTokens.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG/C,eAAO,MAAM,aAAa,kEAMzB,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.useTextTokens = void 0;
|
|
4
|
-
const framework_1 = require("@fluentui-react-native/framework");
|
|
5
|
-
const Text_types_1 = require("./Text.types");
|
|
6
|
-
exports.useTextTokens = (0, framework_1.buildUseTokens)((t) => ({
|
|
7
|
-
variant: 'secondaryStandard',
|
|
8
|
-
color: t.colors.bodyText,
|
|
9
|
-
}), Text_types_1.textName);
|
|
10
|
-
//# sourceMappingURL=TextTokens.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TextTokens.js","sourceRoot":"","sources":["../src/TextTokens.ts"],"names":[],"mappings":";;;AAAA,gEAAkE;AAGlE,6CAAwC;AAE3B,QAAA,aAAa,GAAG,IAAA,0BAAc,EACzC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;IACN,OAAO,EAAE,mBAAmB;IAC5B,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC,QAAQ;CACzB,CAAC,EACF,qBAAQ,CACT,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export declare const Caption1: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
2
|
-
export declare const Caption1Strong: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
3
|
-
export declare const Caption2: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
4
|
-
export declare const Body1: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
5
|
-
export declare const Body1Strong: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
6
|
-
export declare const Body2: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
7
|
-
export declare const Body2Strong: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
8
|
-
export declare const Subtitle1: any;
|
|
9
|
-
export declare const Subtitle1Strong: any;
|
|
10
|
-
export declare const Subtitle2: any;
|
|
11
|
-
export declare const Subtitle2Strong: any;
|
|
12
|
-
export declare const Title1: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
13
|
-
export declare const Title1Strong: any;
|
|
14
|
-
export declare const Title2: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
15
|
-
export declare const Title3: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
16
|
-
export declare const LargeTitle: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
17
|
-
export declare const Display: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
18
|
-
//# sourceMappingURL=Variants.android.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Variants.android.d.ts","sourceRoot":"","sources":["../src/Variants.android.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ,4LAEZ,CAAC;AACV,eAAO,MAAM,cAAc,4LAElB,CAAC;AACV,eAAO,MAAM,QAAQ,4LAEZ,CAAC;AACV,eAAO,MAAM,KAAK,4LAET,CAAC;AACV,eAAO,MAAM,WAAW,4LAEf,CAAC;AACV,eAAO,MAAM,KAAK,4LAET,CAAC;AACV,eAAO,MAAM,WAAW,4LAEf,CAAC;AAEV,eAAO,MAAM,SAAS,KAAO,CAAC;AAC9B,eAAO,MAAM,eAAe,KAAO,CAAC;AACpC,eAAO,MAAM,SAAS,KAAO,CAAC;AAC9B,eAAO,MAAM,eAAe,KAAO,CAAC;AAEpC,eAAO,MAAM,MAAM,4LAEV,CAAC;AAEV,eAAO,MAAM,YAAY,KAAO,CAAC;AAEjC,eAAO,MAAM,MAAM,4LAEV,CAAC;AACV,eAAO,MAAM,MAAM,4LAEV,CAAC;AACV,eAAO,MAAM,UAAU,4LAEd,CAAC;AACV,eAAO,MAAM,OAAO,4LAEX,CAAC"}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Display = exports.LargeTitle = exports.Title3 = exports.Title2 = exports.Title1Strong = exports.Title1 = exports.Subtitle2Strong = exports.Subtitle2 = exports.Subtitle1Strong = exports.Subtitle1 = exports.Body2Strong = exports.Body2 = exports.Body1Strong = exports.Body1 = exports.Caption2 = exports.Caption1Strong = exports.Caption1 = void 0;
|
|
4
|
-
const Text_1 = require("./Text");
|
|
5
|
-
exports.Caption1 = Text_1.Text.customize({
|
|
6
|
-
variant: 'caption1',
|
|
7
|
-
});
|
|
8
|
-
exports.Caption1Strong = Text_1.Text.customize({
|
|
9
|
-
variant: 'caption1Strong',
|
|
10
|
-
});
|
|
11
|
-
exports.Caption2 = Text_1.Text.customize({
|
|
12
|
-
variant: 'caption2',
|
|
13
|
-
});
|
|
14
|
-
exports.Body1 = Text_1.Text.customize({
|
|
15
|
-
variant: 'body1',
|
|
16
|
-
});
|
|
17
|
-
exports.Body1Strong = Text_1.Text.customize({
|
|
18
|
-
variant: 'body1Strong',
|
|
19
|
-
});
|
|
20
|
-
exports.Body2 = Text_1.Text.customize({
|
|
21
|
-
variant: 'body2',
|
|
22
|
-
});
|
|
23
|
-
exports.Body2Strong = Text_1.Text.customize({
|
|
24
|
-
variant: 'body2Strong',
|
|
25
|
-
});
|
|
26
|
-
exports.Subtitle1 = null; // Not supported
|
|
27
|
-
exports.Subtitle1Strong = null; // Not supported
|
|
28
|
-
exports.Subtitle2 = null; // Not supported
|
|
29
|
-
exports.Subtitle2Strong = null; // Not supported
|
|
30
|
-
exports.Title1 = Text_1.Text.customize({
|
|
31
|
-
variant: 'title1',
|
|
32
|
-
});
|
|
33
|
-
exports.Title1Strong = null; // Not supported
|
|
34
|
-
exports.Title2 = Text_1.Text.customize({
|
|
35
|
-
variant: 'title2',
|
|
36
|
-
});
|
|
37
|
-
exports.Title3 = Text_1.Text.customize({
|
|
38
|
-
variant: 'title3',
|
|
39
|
-
});
|
|
40
|
-
exports.LargeTitle = Text_1.Text.customize({
|
|
41
|
-
variant: 'largeTitle',
|
|
42
|
-
});
|
|
43
|
-
exports.Display = Text_1.Text.customize({
|
|
44
|
-
variant: 'display',
|
|
45
|
-
});
|
|
46
|
-
//# sourceMappingURL=Variants.android.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Variants.android.js","sourceRoot":"","sources":["../src/Variants.android.ts"],"names":[],"mappings":";;;AAAA,iCAA8B;AAEjB,QAAA,QAAQ,GAAG,WAAI,CAAC,SAAS,CAAC;IACrC,OAAO,EAAE,UAAU;CACb,CAAC,CAAC;AACG,QAAA,cAAc,GAAG,WAAI,CAAC,SAAS,CAAC;IAC3C,OAAO,EAAE,gBAAgB;CACnB,CAAC,CAAC;AACG,QAAA,QAAQ,GAAG,WAAI,CAAC,SAAS,CAAC;IACrC,OAAO,EAAE,UAAU;CACb,CAAC,CAAC;AACG,QAAA,KAAK,GAAG,WAAI,CAAC,SAAS,CAAC;IAClC,OAAO,EAAE,OAAO;CACV,CAAC,CAAC;AACG,QAAA,WAAW,GAAG,WAAI,CAAC,SAAS,CAAC;IACxC,OAAO,EAAE,aAAa;CAChB,CAAC,CAAC;AACG,QAAA,KAAK,GAAG,WAAI,CAAC,SAAS,CAAC;IAClC,OAAO,EAAE,OAAO;CACV,CAAC,CAAC;AACG,QAAA,WAAW,GAAG,WAAI,CAAC,SAAS,CAAC;IACxC,OAAO,EAAE,aAAa;CAChB,CAAC,CAAC;AAEG,QAAA,SAAS,GAAG,IAAI,CAAC,CAAC,gBAAgB;AAClC,QAAA,eAAe,GAAG,IAAI,CAAC,CAAC,gBAAgB;AACxC,QAAA,SAAS,GAAG,IAAI,CAAC,CAAC,gBAAgB;AAClC,QAAA,eAAe,GAAG,IAAI,CAAC,CAAC,gBAAgB;AAExC,QAAA,MAAM,GAAG,WAAI,CAAC,SAAS,CAAC;IACnC,OAAO,EAAE,QAAQ;CACX,CAAC,CAAC;AAEG,QAAA,YAAY,GAAG,IAAI,CAAC,CAAC,gBAAgB;AAErC,QAAA,MAAM,GAAG,WAAI,CAAC,SAAS,CAAC;IACnC,OAAO,EAAE,QAAQ;CACX,CAAC,CAAC;AACG,QAAA,MAAM,GAAG,WAAI,CAAC,SAAS,CAAC;IACnC,OAAO,EAAE,QAAQ;CACX,CAAC,CAAC;AACG,QAAA,UAAU,GAAG,WAAI,CAAC,SAAS,CAAC;IACvC,OAAO,EAAE,YAAY;CACf,CAAC,CAAC;AACG,QAAA,OAAO,GAAG,WAAI,CAAC,SAAS,CAAC;IACpC,OAAO,EAAE,SAAS;CACZ,CAAC,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export declare const Caption1: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
2
|
-
export declare const Caption1Strong: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
3
|
-
export declare const Caption2: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
4
|
-
export declare const Body1: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
5
|
-
export declare const Body1Strong: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
6
|
-
export declare const Body2: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
7
|
-
export declare const Body2Strong: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
8
|
-
export declare const Subtitle1: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
9
|
-
export declare const Subtitle1Strong: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
10
|
-
export declare const Subtitle2: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
11
|
-
export declare const Subtitle2Strong: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
12
|
-
export declare const Title1: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
13
|
-
export declare const Title1Strong: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
14
|
-
export declare const Title2: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
15
|
-
export declare const Title3: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
16
|
-
export declare const LargeTitle: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
17
|
-
export declare const Display: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
18
|
-
//# sourceMappingURL=Variants.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Variants.d.ts","sourceRoot":"","sources":["../src/Variants.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ,4LAAO,CAAC;AAC7B,eAAO,MAAM,cAAc,4LAAO,CAAC;AACnC,eAAO,MAAM,QAAQ,4LAAO,CAAC;AAC7B,eAAO,MAAM,KAAK,4LAAO,CAAC;AAC1B,eAAO,MAAM,WAAW,4LAAO,CAAC;AAChC,eAAO,MAAM,KAAK,4LAAO,CAAC;AAC1B,eAAO,MAAM,WAAW,4LAAO,CAAC;AAChC,eAAO,MAAM,SAAS,4LAAO,CAAC;AAC9B,eAAO,MAAM,eAAe,4LAAO,CAAC;AACpC,eAAO,MAAM,SAAS,4LAAO,CAAC;AAC9B,eAAO,MAAM,eAAe,4LAAO,CAAC;AACpC,eAAO,MAAM,MAAM,4LAAO,CAAC;AAC3B,eAAO,MAAM,YAAY,4LAAO,CAAC;AACjC,eAAO,MAAM,MAAM,4LAAO,CAAC;AAC3B,eAAO,MAAM,MAAM,4LAAO,CAAC;AAC3B,eAAO,MAAM,UAAU,4LAAO,CAAC;AAC/B,eAAO,MAAM,OAAO,4LAAO,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export declare const Caption1: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
2
|
-
export declare const Caption1Strong: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
3
|
-
export declare const Caption2: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
4
|
-
export declare const Body1: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
5
|
-
export declare const Body1Strong: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
6
|
-
export declare const Body2: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
7
|
-
export declare const Body2Strong: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
8
|
-
export declare const Subtitle1: any;
|
|
9
|
-
export declare const Subtitle1Strong: any;
|
|
10
|
-
export declare const Subtitle2: any;
|
|
11
|
-
export declare const Subtitle2Strong: any;
|
|
12
|
-
export declare const Title1: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
13
|
-
export declare const Title1Strong: any;
|
|
14
|
-
export declare const Title2: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
15
|
-
export declare const Title3: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
16
|
-
export declare const LargeTitle: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
17
|
-
export declare const Display: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
18
|
-
//# sourceMappingURL=Variants.ios.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Variants.ios.d.ts","sourceRoot":"","sources":["../src/Variants.ios.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ,4LAEnB,CAAC;AACH,eAAO,MAAM,cAAc,4LAEzB,CAAC;AACH,eAAO,MAAM,QAAQ,4LAEnB,CAAC;AACH,eAAO,MAAM,KAAK,4LAEhB,CAAC;AACH,eAAO,MAAM,WAAW,4LAEtB,CAAC;AACH,eAAO,MAAM,KAAK,4LAEhB,CAAC;AACH,eAAO,MAAM,WAAW,4LAEtB,CAAC;AACH,eAAO,MAAM,SAAS,KAAO,CAAC;AAC9B,eAAO,MAAM,eAAe,KAAO,CAAC;AACpC,eAAO,MAAM,SAAS,KAAO,CAAC;AAC9B,eAAO,MAAM,eAAe,KAAO,CAAC;AACpC,eAAO,MAAM,MAAM,4LAEjB,CAAC;AACH,eAAO,MAAM,YAAY,KAAO,CAAC;AACjC,eAAO,MAAM,MAAM,4LAEjB,CAAC;AACH,eAAO,MAAM,MAAM,4LAEjB,CAAC;AACH,eAAO,MAAM,UAAU,4LAErB,CAAC;AACH,eAAO,MAAM,OAAO,4LAElB,CAAC"}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Display = exports.LargeTitle = exports.Title3 = exports.Title2 = exports.Title1Strong = exports.Title1 = exports.Subtitle2Strong = exports.Subtitle2 = exports.Subtitle1Strong = exports.Subtitle1 = exports.Body2Strong = exports.Body2 = exports.Body1Strong = exports.Body1 = exports.Caption2 = exports.Caption1Strong = exports.Caption1 = void 0;
|
|
4
|
-
const Text_1 = require("./Text");
|
|
5
|
-
exports.Caption1 = Text_1.Text.customize({
|
|
6
|
-
variant: 'caption1',
|
|
7
|
-
});
|
|
8
|
-
exports.Caption1Strong = Text_1.Text.customize({
|
|
9
|
-
variant: 'caption1Strong',
|
|
10
|
-
});
|
|
11
|
-
exports.Caption2 = Text_1.Text.customize({
|
|
12
|
-
variant: 'caption2',
|
|
13
|
-
});
|
|
14
|
-
exports.Body1 = Text_1.Text.customize({
|
|
15
|
-
variant: 'body1',
|
|
16
|
-
});
|
|
17
|
-
exports.Body1Strong = Text_1.Text.customize({
|
|
18
|
-
variant: 'body1Strong',
|
|
19
|
-
});
|
|
20
|
-
exports.Body2 = Text_1.Text.customize({
|
|
21
|
-
variant: 'body2',
|
|
22
|
-
});
|
|
23
|
-
exports.Body2Strong = Text_1.Text.customize({
|
|
24
|
-
variant: 'body2Strong',
|
|
25
|
-
});
|
|
26
|
-
exports.Subtitle1 = null; // Not supported on iOS
|
|
27
|
-
exports.Subtitle1Strong = null; // Not supported on iOS
|
|
28
|
-
exports.Subtitle2 = null; // Not supported on iOS
|
|
29
|
-
exports.Subtitle2Strong = null; // Not supported on iOS
|
|
30
|
-
exports.Title1 = Text_1.Text.customize({
|
|
31
|
-
variant: 'title1',
|
|
32
|
-
});
|
|
33
|
-
exports.Title1Strong = null; // Not supported on iOS
|
|
34
|
-
exports.Title2 = Text_1.Text.customize({
|
|
35
|
-
variant: 'title2',
|
|
36
|
-
});
|
|
37
|
-
exports.Title3 = Text_1.Text.customize({
|
|
38
|
-
variant: 'title3',
|
|
39
|
-
});
|
|
40
|
-
exports.LargeTitle = Text_1.Text.customize({
|
|
41
|
-
variant: 'largeTitle',
|
|
42
|
-
});
|
|
43
|
-
exports.Display = Text_1.Text.customize({
|
|
44
|
-
variant: 'display',
|
|
45
|
-
});
|
|
46
|
-
//# sourceMappingURL=Variants.ios.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Variants.ios.js","sourceRoot":"","sources":["../src/Variants.ios.ts"],"names":[],"mappings":";;;AAAA,iCAA8B;AAEjB,QAAA,QAAQ,GAAG,WAAI,CAAC,SAAS,CAAC;IACrC,OAAO,EAAE,UAAU;CACpB,CAAC,CAAC;AACU,QAAA,cAAc,GAAG,WAAI,CAAC,SAAS,CAAC;IAC3C,OAAO,EAAE,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
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Display = exports.LargeTitle = exports.Title3 = exports.Title2 = exports.Title1Strong = exports.Title1 = exports.Subtitle2Strong = exports.Subtitle2 = exports.Subtitle1Strong = exports.Subtitle1 = exports.Body2Strong = exports.Body2 = exports.Body1Strong = exports.Body1 = exports.Caption2 = exports.Caption1Strong = exports.Caption1 = void 0;
|
|
4
|
-
const Text_1 = require("./Text");
|
|
5
|
-
// stubbed out for other platforms for which variant alias tokens aren't defined
|
|
6
|
-
exports.Caption1 = Text_1.Text;
|
|
7
|
-
exports.Caption1Strong = Text_1.Text;
|
|
8
|
-
exports.Caption2 = Text_1.Text;
|
|
9
|
-
exports.Body1 = Text_1.Text;
|
|
10
|
-
exports.Body1Strong = Text_1.Text;
|
|
11
|
-
exports.Body2 = Text_1.Text;
|
|
12
|
-
exports.Body2Strong = Text_1.Text;
|
|
13
|
-
exports.Subtitle1 = Text_1.Text;
|
|
14
|
-
exports.Subtitle1Strong = Text_1.Text;
|
|
15
|
-
exports.Subtitle2 = Text_1.Text;
|
|
16
|
-
exports.Subtitle2Strong = Text_1.Text;
|
|
17
|
-
exports.Title1 = Text_1.Text;
|
|
18
|
-
exports.Title1Strong = Text_1.Text;
|
|
19
|
-
exports.Title2 = Text_1.Text;
|
|
20
|
-
exports.Title3 = Text_1.Text;
|
|
21
|
-
exports.LargeTitle = Text_1.Text;
|
|
22
|
-
exports.Display = Text_1.Text;
|
|
23
|
-
//# sourceMappingURL=Variants.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Variants.js","sourceRoot":"","sources":["../src/Variants.ts"],"names":[],"mappings":";;;AAAA,iCAA8B;AAE9B,gFAAgF;AACnE,QAAA,QAAQ,GAAG,WAAI,CAAC;AAChB,QAAA,cAAc,GAAG,WAAI,CAAC;AACtB,QAAA,QAAQ,GAAG,WAAI,CAAC;AAChB,QAAA,KAAK,GAAG,WAAI,CAAC;AACb,QAAA,WAAW,GAAG,WAAI,CAAC;AACnB,QAAA,KAAK,GAAG,WAAI,CAAC;AACb,QAAA,WAAW,GAAG,WAAI,CAAC;AACnB,QAAA,SAAS,GAAG,WAAI,CAAC;AACjB,QAAA,eAAe,GAAG,WAAI,CAAC;AACvB,QAAA,SAAS,GAAG,WAAI,CAAC;AACjB,QAAA,eAAe,GAAG,WAAI,CAAC;AACvB,QAAA,MAAM,GAAG,WAAI,CAAC;AACd,QAAA,YAAY,GAAG,WAAI,CAAC;AACpB,QAAA,MAAM,GAAG,WAAI,CAAC;AACd,QAAA,MAAM,GAAG,WAAI,CAAC;AACd,QAAA,UAAU,GAAG,WAAI,CAAC;AAClB,QAAA,OAAO,GAAG,WAAI,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export declare const Caption1: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
2
|
-
export declare const Caption1Strong: any;
|
|
3
|
-
export declare const Caption2: any;
|
|
4
|
-
export declare const Body1: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
5
|
-
export declare const Body1Strong: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
6
|
-
export declare const Body2: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
7
|
-
export declare const Body2Strong: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
8
|
-
export declare const Subtitle1: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
9
|
-
export declare const Subtitle1Strong: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
10
|
-
export declare const Subtitle2: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
11
|
-
export declare const Subtitle2Strong: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
12
|
-
export declare const Title1: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
13
|
-
export declare const Title1Strong: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
14
|
-
export declare const Title2: any;
|
|
15
|
-
export declare const Title3: any;
|
|
16
|
-
export declare const LargeTitle: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
17
|
-
export declare const Display: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
18
|
-
//# sourceMappingURL=Variants.win32.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Variants.win32.d.ts","sourceRoot":"","sources":["../src/Variants.win32.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ,4LAEnB,CAAC;AACH,eAAO,MAAM,cAAc,KAAO,CAAC;AACnC,eAAO,MAAM,QAAQ,KAAO,CAAC;AAC7B,eAAO,MAAM,KAAK,4LAEhB,CAAC;AACH,eAAO,MAAM,WAAW,4LAEtB,CAAC;AACH,eAAO,MAAM,KAAK,4LAEhB,CAAC;AACH,eAAO,MAAM,WAAW,4LAEtB,CAAC;AACH,eAAO,MAAM,SAAS,4LAEpB,CAAC;AACH,eAAO,MAAM,eAAe,4LAE1B,CAAC;AACH,eAAO,MAAM,SAAS,4LAEpB,CAAC;AACH,eAAO,MAAM,eAAe,4LAE1B,CAAC;AACH,eAAO,MAAM,MAAM,4LAEjB,CAAC;AACH,eAAO,MAAM,YAAY,4LAEvB,CAAC;AACH,eAAO,MAAM,MAAM,KAAO,CAAC;AAC3B,eAAO,MAAM,MAAM,KAAO,CAAC;AAC3B,eAAO,MAAM,UAAU,4LAErB,CAAC;AACH,eAAO,MAAM,OAAO,4LAElB,CAAC"}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Display = exports.LargeTitle = exports.Title3 = exports.Title2 = exports.Title1Strong = exports.Title1 = exports.Subtitle2Strong = exports.Subtitle2 = exports.Subtitle1Strong = exports.Subtitle1 = exports.Body2Strong = exports.Body2 = exports.Body1Strong = exports.Body1 = exports.Caption2 = exports.Caption1Strong = exports.Caption1 = void 0;
|
|
4
|
-
const Text_1 = require("./Text");
|
|
5
|
-
exports.Caption1 = Text_1.Text.customize({
|
|
6
|
-
variant: 'caption1',
|
|
7
|
-
});
|
|
8
|
-
exports.Caption1Strong = null; // Not supported on Win32
|
|
9
|
-
exports.Caption2 = null; // Not supported on Win32
|
|
10
|
-
exports.Body1 = Text_1.Text.customize({
|
|
11
|
-
variant: 'body1',
|
|
12
|
-
});
|
|
13
|
-
exports.Body1Strong = Text_1.Text.customize({
|
|
14
|
-
variant: 'body1Strong',
|
|
15
|
-
});
|
|
16
|
-
exports.Body2 = Text_1.Text.customize({
|
|
17
|
-
variant: 'body2',
|
|
18
|
-
});
|
|
19
|
-
exports.Body2Strong = Text_1.Text.customize({
|
|
20
|
-
variant: 'body2Strong',
|
|
21
|
-
});
|
|
22
|
-
exports.Subtitle1 = Text_1.Text.customize({
|
|
23
|
-
variant: 'subtitle1',
|
|
24
|
-
});
|
|
25
|
-
exports.Subtitle1Strong = Text_1.Text.customize({
|
|
26
|
-
variant: 'subtitle1Strong',
|
|
27
|
-
});
|
|
28
|
-
exports.Subtitle2 = Text_1.Text.customize({
|
|
29
|
-
variant: 'subtitle2',
|
|
30
|
-
});
|
|
31
|
-
exports.Subtitle2Strong = Text_1.Text.customize({
|
|
32
|
-
variant: 'subtitle2Strong',
|
|
33
|
-
});
|
|
34
|
-
exports.Title1 = Text_1.Text.customize({
|
|
35
|
-
variant: 'title1',
|
|
36
|
-
});
|
|
37
|
-
exports.Title1Strong = Text_1.Text.customize({
|
|
38
|
-
variant: 'title1Strong',
|
|
39
|
-
});
|
|
40
|
-
exports.Title2 = null; // Not supported on Win32
|
|
41
|
-
exports.Title3 = null; // Not supported on Win32
|
|
42
|
-
exports.LargeTitle = Text_1.Text.customize({
|
|
43
|
-
variant: 'largeTitle',
|
|
44
|
-
});
|
|
45
|
-
exports.Display = Text_1.Text.customize({
|
|
46
|
-
variant: 'display',
|
|
47
|
-
});
|
|
48
|
-
//# sourceMappingURL=Variants.win32.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Variants.win32.js","sourceRoot":"","sources":["../src/Variants.win32.ts"],"names":[],"mappings":";;;AAAA,iCAA8B;AAEjB,QAAA,QAAQ,GAAG,WAAI,CAAC,SAAS,CAAC;IACrC,OAAO,EAAE,UAAU;CACpB,CAAC,CAAC;AACU,QAAA,cAAc,GAAG,IAAI,CAAC,CAAC,yBAAyB;AAChD,QAAA,QAAQ,GAAG,IAAI,CAAC,CAAC,yBAAyB;AAC1C,QAAA,KAAK,GAAG,WAAI,CAAC,SAAS,CAAC;IAClC,OAAO,EAAE,OAAO;CACjB,CAAC,CAAC;AACU,QAAA,WAAW,GAAG,WAAI,CAAC,SAAS,CAAC;IACxC,OAAO,EAAE,aAAa;CACvB,CAAC,CAAC;AACU,QAAA,KAAK,GAAG,WAAI,CAAC,SAAS,CAAC;IAClC,OAAO,EAAE,OAAO;CACjB,CAAC,CAAC;AACU,QAAA,WAAW,GAAG,WAAI,CAAC,SAAS,CAAC;IACxC,OAAO,EAAE,aAAa;CACvB,CAAC,CAAC;AACU,QAAA,SAAS,GAAG,WAAI,CAAC,SAAS,CAAC;IACtC,OAAO,EAAE,WAAW;CACrB,CAAC,CAAC;AACU,QAAA,eAAe,GAAG,WAAI,CAAC,SAAS,CAAC;IAC5C,OAAO,EAAE,iBAAiB;CAC3B,CAAC,CAAC;AACU,QAAA,SAAS,GAAG,WAAI,CAAC,SAAS,CAAC;IACtC,OAAO,EAAE,WAAW;CACrB,CAAC,CAAC;AACU,QAAA,eAAe,GAAG,WAAI,CAAC,SAAS,CAAC;IAC5C,OAAO,EAAE,iBAAiB;CAC3B,CAAC,CAAC;AACU,QAAA,MAAM,GAAG,WAAI,CAAC,SAAS,CAAC;IACnC,OAAO,EAAE,QAAQ;CAClB,CAAC,CAAC;AACU,QAAA,YAAY,GAAG,WAAI,CAAC,SAAS,CAAC;IACzC,OAAO,EAAE,cAAc;CACxB,CAAC,CAAC;AACU,QAAA,MAAM,GAAG,IAAI,CAAC,CAAC,yBAAyB;AACxC,QAAA,MAAM,GAAG,IAAI,CAAC,CAAC,yBAAyB;AACxC,QAAA,UAAU,GAAG,WAAI,CAAC,SAAS,CAAC;IACvC,OAAO,EAAE,YAAY;CACtB,CAAC,CAAC;AACU,QAAA,OAAO,GAAG,WAAI,CAAC,SAAS,CAAC;IACpC,OAAO,EAAE,SAAS;CACnB,CAAC,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export declare const Caption1: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
2
|
-
export declare const Caption1Strong: any;
|
|
3
|
-
export declare const Caption2: any;
|
|
4
|
-
export declare const Body1: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
5
|
-
export declare const Body1Strong: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
6
|
-
export declare const Body2: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
7
|
-
export declare const Body2Strong: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
8
|
-
export declare const Subtitle1: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
9
|
-
export declare const Subtitle1Strong: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
10
|
-
export declare const Subtitle2: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
11
|
-
export declare const Subtitle2Strong: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
12
|
-
export declare const Title1: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
13
|
-
export declare const Title1Strong: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
14
|
-
export declare const Title2: any;
|
|
15
|
-
export declare const Title3: any;
|
|
16
|
-
export declare const LargeTitle: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
17
|
-
export declare const Display: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
18
|
-
//# sourceMappingURL=Variants.windows.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Variants.windows.d.ts","sourceRoot":"","sources":["../src/Variants.windows.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ,4LAEnB,CAAC;AACH,eAAO,MAAM,cAAc,KAAO,CAAC;AACnC,eAAO,MAAM,QAAQ,KAAO,CAAC;AAC7B,eAAO,MAAM,KAAK,4LAEhB,CAAC;AACH,eAAO,MAAM,WAAW,4LAEtB,CAAC;AACH,eAAO,MAAM,KAAK,4LAEhB,CAAC;AACH,eAAO,MAAM,WAAW,4LAEtB,CAAC;AACH,eAAO,MAAM,SAAS,4LAEpB,CAAC;AACH,eAAO,MAAM,eAAe,4LAE1B,CAAC;AACH,eAAO,MAAM,SAAS,4LAEpB,CAAC;AACH,eAAO,MAAM,eAAe,4LAE1B,CAAC;AACH,eAAO,MAAM,MAAM,4LAEjB,CAAC;AACH,eAAO,MAAM,YAAY,4LAEvB,CAAC;AACH,eAAO,MAAM,MAAM,KAAO,CAAC;AAC3B,eAAO,MAAM,MAAM,KAAO,CAAC;AAC3B,eAAO,MAAM,UAAU,4LAErB,CAAC;AACH,eAAO,MAAM,OAAO,4LAElB,CAAC"}
|