@fluentui-react-native/text 0.14.4 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.json +34 -1
- package/CHANGELOG.md +13 -2
- package/lib/Variants.d.ts +4 -0
- package/lib/Variants.d.ts.map +1 -1
- package/lib/Variants.ios.d.ts +18 -0
- package/lib/Variants.ios.d.ts.map +1 -0
- package/lib/Variants.ios.js +43 -0
- package/lib/Variants.ios.js.map +1 -0
- package/lib/Variants.js +4 -0
- package/lib/Variants.js.map +1 -1
- package/lib/Variants.win32.d.ts +4 -0
- package/lib/Variants.win32.d.ts.map +1 -1
- package/lib/Variants.win32.js +4 -0
- package/lib/Variants.win32.js.map +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib-commonjs/Variants.d.ts +4 -0
- package/lib-commonjs/Variants.d.ts.map +1 -1
- package/lib-commonjs/Variants.ios.d.ts +18 -0
- package/lib-commonjs/Variants.ios.d.ts.map +1 -0
- package/lib-commonjs/Variants.ios.js +46 -0
- package/lib-commonjs/Variants.ios.js.map +1 -0
- package/lib-commonjs/Variants.js +5 -1
- package/lib-commonjs/Variants.js.map +1 -1
- package/lib-commonjs/Variants.win32.d.ts +4 -0
- package/lib-commonjs/Variants.win32.d.ts.map +1 -1
- package/lib-commonjs/Variants.win32.js +5 -1
- package/lib-commonjs/Variants.win32.js.map +1 -1
- package/lib-commonjs/index.d.ts +1 -1
- package/lib-commonjs/index.d.ts.map +1 -1
- package/lib-commonjs/index.js +5 -1
- package/lib-commonjs/index.js.map +1 -1
- package/package.json +4 -4
- package/src/Variants.ios.ts +43 -0
- package/src/Variants.ts +4 -0
- package/src/Variants.win32.ts +4 -0
- package/src/__tests__/__snapshots__/Text.test.tsx.snap +6 -0
- package/src/index.ts +4 -0
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,40 @@
|
|
|
2
2
|
"name": "@fluentui-react-native/text",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Wed, 21 Sep 2022 20:58:28 GMT",
|
|
6
|
+
"tag": "@fluentui-react-native/text_v0.15.0",
|
|
7
|
+
"version": "0.15.0",
|
|
8
|
+
"comments": {
|
|
9
|
+
"minor": [
|
|
10
|
+
{
|
|
11
|
+
"author": "adam.gleitman@gmail.com",
|
|
12
|
+
"package": "@fluentui-react-native/text",
|
|
13
|
+
"commit": "6706e18d88a521539fdc717100516ec3ee4bb5e2",
|
|
14
|
+
"comment": "Add new iOS tokens"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"author": "beachball",
|
|
18
|
+
"package": "@fluentui-react-native/text",
|
|
19
|
+
"comment": "Bump @uifabricshared/foundation-compose to v1.12.5",
|
|
20
|
+
"commit": "6706e18d88a521539fdc717100516ec3ee4bb5e2"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"author": "beachball",
|
|
24
|
+
"package": "@fluentui-react-native/text",
|
|
25
|
+
"comment": "Bump @fluentui-react-native/framework to v0.8.4",
|
|
26
|
+
"commit": "6706e18d88a521539fdc717100516ec3ee4bb5e2"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"author": "beachball",
|
|
30
|
+
"package": "@fluentui-react-native/text",
|
|
31
|
+
"comment": "Bump @fluentui-react-native/tokens to v0.17.0",
|
|
32
|
+
"commit": "6706e18d88a521539fdc717100516ec3ee4bb5e2"
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"date": "Fri, 16 Sep 2022 01:53:06 GMT",
|
|
6
39
|
"tag": "@fluentui-react-native/text_v0.14.4",
|
|
7
40
|
"version": "0.14.4",
|
|
8
41
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,23 @@
|
|
|
1
1
|
# Change Log - @fluentui-react-native/text
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Wed, 21 Sep 2022 20:58:28 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 0.15.0
|
|
8
|
+
|
|
9
|
+
Wed, 21 Sep 2022 20:58:28 GMT
|
|
10
|
+
|
|
11
|
+
### Minor changes
|
|
12
|
+
|
|
13
|
+
- Add new iOS tokens (adam.gleitman@gmail.com)
|
|
14
|
+
- Bump @uifabricshared/foundation-compose to v1.12.5
|
|
15
|
+
- Bump @fluentui-react-native/framework to v0.8.4
|
|
16
|
+
- Bump @fluentui-react-native/tokens to v0.17.0
|
|
17
|
+
|
|
7
18
|
## 0.14.4
|
|
8
19
|
|
|
9
|
-
Fri, 16 Sep 2022 01:
|
|
20
|
+
Fri, 16 Sep 2022 01:53:06 GMT
|
|
10
21
|
|
|
11
22
|
### Patches
|
|
12
23
|
|
package/lib/Variants.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export declare const Caption1: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps<import("@fluentui-react-native/adapters").ITextProps>, 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("@fluentui-react-native/adapters").ITextProps>, 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("@fluentui-react-native/adapters").ITextProps>, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
2
4
|
export declare const Body1: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps<import("@fluentui-react-native/adapters").ITextProps>, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
3
5
|
export declare const Body1Strong: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps<import("@fluentui-react-native/adapters").ITextProps>, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
4
6
|
export declare const Body2: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps<import("@fluentui-react-native/adapters").ITextProps>, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
@@ -9,6 +11,8 @@ export declare const Subtitle2: import("@fluentui-react-native/use-tokens").Cust
|
|
|
9
11
|
export declare const Subtitle2Strong: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps<import("@fluentui-react-native/adapters").ITextProps>, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
10
12
|
export declare const Title1: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps<import("@fluentui-react-native/adapters").ITextProps>, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
11
13
|
export declare const Title1Strong: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps<import("@fluentui-react-native/adapters").ITextProps>, 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("@fluentui-react-native/adapters").ITextProps>, 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("@fluentui-react-native/adapters").ITextProps>, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
12
16
|
export declare const LargeTitle: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps<import("@fluentui-react-native/adapters").ITextProps>, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
13
17
|
export declare const Display: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps<import("@fluentui-react-native/adapters").ITextProps>, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
14
18
|
//# sourceMappingURL=Variants.d.ts.map
|
package/lib/Variants.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Variants.d.ts","sourceRoot":"","sources":["../src/Variants.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ,kPAAO,CAAC;AAC7B,eAAO,MAAM,KAAK,kPAAO,CAAC;AAC1B,eAAO,MAAM,WAAW,kPAAO,CAAC;AAChC,eAAO,MAAM,KAAK,kPAAO,CAAC;AAC1B,eAAO,MAAM,WAAW,kPAAO,CAAC;AAChC,eAAO,MAAM,SAAS,kPAAO,CAAC;AAC9B,eAAO,MAAM,eAAe,kPAAO,CAAC;AACpC,eAAO,MAAM,SAAS,kPAAO,CAAC;AAC9B,eAAO,MAAM,eAAe,kPAAO,CAAC;AACpC,eAAO,MAAM,MAAM,kPAAO,CAAC;AAC3B,eAAO,MAAM,YAAY,kPAAO,CAAC;AACjC,eAAO,MAAM,UAAU,kPAAO,CAAC;AAC/B,eAAO,MAAM,OAAO,kPAAO,CAAC"}
|
|
1
|
+
{"version":3,"file":"Variants.d.ts","sourceRoot":"","sources":["../src/Variants.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ,kPAAO,CAAC;AAC7B,eAAO,MAAM,cAAc,kPAAO,CAAC;AACnC,eAAO,MAAM,QAAQ,kPAAO,CAAC;AAC7B,eAAO,MAAM,KAAK,kPAAO,CAAC;AAC1B,eAAO,MAAM,WAAW,kPAAO,CAAC;AAChC,eAAO,MAAM,KAAK,kPAAO,CAAC;AAC1B,eAAO,MAAM,WAAW,kPAAO,CAAC;AAChC,eAAO,MAAM,SAAS,kPAAO,CAAC;AAC9B,eAAO,MAAM,eAAe,kPAAO,CAAC;AACpC,eAAO,MAAM,SAAS,kPAAO,CAAC;AAC9B,eAAO,MAAM,eAAe,kPAAO,CAAC;AACpC,eAAO,MAAM,MAAM,kPAAO,CAAC;AAC3B,eAAO,MAAM,YAAY,kPAAO,CAAC;AACjC,eAAO,MAAM,MAAM,kPAAO,CAAC;AAC3B,eAAO,MAAM,MAAM,kPAAO,CAAC;AAC3B,eAAO,MAAM,UAAU,kPAAO,CAAC;AAC/B,eAAO,MAAM,OAAO,kPAAO,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare const Caption1: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps<import("@fluentui-react-native/adapters").ITextProps>, 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("@fluentui-react-native/adapters").ITextProps>, 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("@fluentui-react-native/adapters").ITextProps>, 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("@fluentui-react-native/adapters").ITextProps>, 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("@fluentui-react-native/adapters").ITextProps>, 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("@fluentui-react-native/adapters").ITextProps>, 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("@fluentui-react-native/adapters").ITextProps>, 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("@fluentui-react-native/adapters").ITextProps>, 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("@fluentui-react-native/adapters").ITextProps>, 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("@fluentui-react-native/adapters").ITextProps>, 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("@fluentui-react-native/adapters").ITextProps>, 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("@fluentui-react-native/adapters").ITextProps>, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
18
|
+
//# sourceMappingURL=Variants.ios.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Variants.ios.d.ts","sourceRoot":"","sources":["../src/Variants.ios.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ,kPAEnB,CAAC;AACH,eAAO,MAAM,cAAc,kPAEzB,CAAC;AACH,eAAO,MAAM,QAAQ,kPAEnB,CAAC;AACH,eAAO,MAAM,KAAK,kPAEhB,CAAC;AACH,eAAO,MAAM,WAAW,kPAEtB,CAAC;AACH,eAAO,MAAM,KAAK,kPAEhB,CAAC;AACH,eAAO,MAAM,WAAW,kPAEtB,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,kPAEjB,CAAC;AACH,eAAO,MAAM,YAAY,KAAO,CAAC;AACjC,eAAO,MAAM,MAAM,kPAEjB,CAAC;AACH,eAAO,MAAM,MAAM,kPAEjB,CAAC;AACH,eAAO,MAAM,UAAU,kPAErB,CAAC;AACH,eAAO,MAAM,OAAO,kPAElB,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { Text } from './Text';
|
|
2
|
+
export var Caption1 = Text.customize({
|
|
3
|
+
variant: 'caption1',
|
|
4
|
+
});
|
|
5
|
+
export var Caption1Strong = Text.customize({
|
|
6
|
+
variant: 'caption1Strong',
|
|
7
|
+
});
|
|
8
|
+
export var Caption2 = Text.customize({
|
|
9
|
+
variant: 'caption2',
|
|
10
|
+
});
|
|
11
|
+
export var Body1 = Text.customize({
|
|
12
|
+
variant: 'body1',
|
|
13
|
+
});
|
|
14
|
+
export var Body1Strong = Text.customize({
|
|
15
|
+
variant: 'body1Strong',
|
|
16
|
+
});
|
|
17
|
+
export var Body2 = Text.customize({
|
|
18
|
+
variant: 'body2',
|
|
19
|
+
});
|
|
20
|
+
export var Body2Strong = Text.customize({
|
|
21
|
+
variant: 'body2Strong',
|
|
22
|
+
});
|
|
23
|
+
export var Subtitle1 = null; // Not supported on iOS
|
|
24
|
+
export var Subtitle1Strong = null; // Not supported on iOS
|
|
25
|
+
export var Subtitle2 = null; // Not supported on iOS
|
|
26
|
+
export var Subtitle2Strong = null; // Not supported on iOS
|
|
27
|
+
export var Title1 = Text.customize({
|
|
28
|
+
variant: 'title1',
|
|
29
|
+
});
|
|
30
|
+
export var Title1Strong = null; // Not supported on iOS
|
|
31
|
+
export var Title2 = Text.customize({
|
|
32
|
+
variant: 'title2',
|
|
33
|
+
});
|
|
34
|
+
export var Title3 = Text.customize({
|
|
35
|
+
variant: 'title3',
|
|
36
|
+
});
|
|
37
|
+
export var LargeTitle = Text.customize({
|
|
38
|
+
variant: 'largeTitle',
|
|
39
|
+
});
|
|
40
|
+
export var Display = Text.customize({
|
|
41
|
+
variant: 'display',
|
|
42
|
+
});
|
|
43
|
+
//# sourceMappingURL=Variants.ios.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Variants.ios.js","sourceRoot":"","sources":["../src/Variants.ios.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,MAAM,CAAC,IAAM,QAAQ,GAAG,IAAI,CAAC,SAAS,CAAC;IACrC,OAAO,EAAE,UAAU;CACpB,CAAC,CAAC;AACH,MAAM,CAAC,IAAM,cAAc,GAAG,IAAI,CAAC,SAAS,CAAC;IAC3C,OAAO,EAAE,gBAAgB;CAC1B,CAAC,CAAC;AACH,MAAM,CAAC,IAAM,QAAQ,GAAG,IAAI,CAAC,SAAS,CAAC;IACrC,OAAO,EAAE,UAAU;CACpB,CAAC,CAAC;AACH,MAAM,CAAC,IAAM,KAAK,GAAG,IAAI,CAAC,SAAS,CAAC;IAClC,OAAO,EAAE,OAAO;CACjB,CAAC,CAAC;AACH,MAAM,CAAC,IAAM,WAAW,GAAG,IAAI,CAAC,SAAS,CAAC;IACxC,OAAO,EAAE,aAAa;CACvB,CAAC,CAAC;AACH,MAAM,CAAC,IAAM,KAAK,GAAG,IAAI,CAAC,SAAS,CAAC;IAClC,OAAO,EAAE,OAAO;CACjB,CAAC,CAAC;AACH,MAAM,CAAC,IAAM,WAAW,GAAG,IAAI,CAAC,SAAS,CAAC;IACxC,OAAO,EAAE,aAAa;CACvB,CAAC,CAAC;AACH,MAAM,CAAC,IAAM,SAAS,GAAG,IAAI,CAAC,CAAC,uBAAuB;AACtD,MAAM,CAAC,IAAM,eAAe,GAAG,IAAI,CAAC,CAAC,uBAAuB;AAC5D,MAAM,CAAC,IAAM,SAAS,GAAG,IAAI,CAAC,CAAC,uBAAuB;AACtD,MAAM,CAAC,IAAM,eAAe,GAAG,IAAI,CAAC,CAAC,uBAAuB;AAC5D,MAAM,CAAC,IAAM,MAAM,GAAG,IAAI,CAAC,SAAS,CAAC;IACnC,OAAO,EAAE,QAAQ;CAClB,CAAC,CAAC;AACH,MAAM,CAAC,IAAM,YAAY,GAAG,IAAI,CAAC,CAAC,uBAAuB;AACzD,MAAM,CAAC,IAAM,MAAM,GAAG,IAAI,CAAC,SAAS,CAAC;IACnC,OAAO,EAAE,QAAQ;CAClB,CAAC,CAAC;AACH,MAAM,CAAC,IAAM,MAAM,GAAG,IAAI,CAAC,SAAS,CAAC;IACnC,OAAO,EAAE,QAAQ;CAClB,CAAC,CAAC;AACH,MAAM,CAAC,IAAM,UAAU,GAAG,IAAI,CAAC,SAAS,CAAC;IACvC,OAAO,EAAE,YAAY;CACtB,CAAC,CAAC;AACH,MAAM,CAAC,IAAM,OAAO,GAAG,IAAI,CAAC,SAAS,CAAC;IACpC,OAAO,EAAE,SAAS;CACnB,CAAC,CAAC"}
|
package/lib/Variants.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { Text } from './Text';
|
|
2
2
|
// stubbed out for other platforms for which variant alias tokens aren't defined
|
|
3
3
|
export var Caption1 = Text;
|
|
4
|
+
export var Caption1Strong = Text;
|
|
5
|
+
export var Caption2 = Text;
|
|
4
6
|
export var Body1 = Text;
|
|
5
7
|
export var Body1Strong = Text;
|
|
6
8
|
export var Body2 = Text;
|
|
@@ -11,6 +13,8 @@ export var Subtitle2 = Text;
|
|
|
11
13
|
export var Subtitle2Strong = Text;
|
|
12
14
|
export var Title1 = Text;
|
|
13
15
|
export var Title1Strong = Text;
|
|
16
|
+
export var Title2 = Text;
|
|
17
|
+
export var Title3 = Text;
|
|
14
18
|
export var LargeTitle = Text;
|
|
15
19
|
export var Display = Text;
|
|
16
20
|
//# sourceMappingURL=Variants.js.map
|
package/lib/Variants.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Variants.js","sourceRoot":"","sources":["../src/Variants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,gFAAgF;AAChF,MAAM,CAAC,IAAM,QAAQ,GAAG,IAAI,CAAC;AAC7B,MAAM,CAAC,IAAM,KAAK,GAAG,IAAI,CAAC;AAC1B,MAAM,CAAC,IAAM,WAAW,GAAG,IAAI,CAAC;AAChC,MAAM,CAAC,IAAM,KAAK,GAAG,IAAI,CAAC;AAC1B,MAAM,CAAC,IAAM,WAAW,GAAG,IAAI,CAAC;AAChC,MAAM,CAAC,IAAM,SAAS,GAAG,IAAI,CAAC;AAC9B,MAAM,CAAC,IAAM,eAAe,GAAG,IAAI,CAAC;AACpC,MAAM,CAAC,IAAM,SAAS,GAAG,IAAI,CAAC;AAC9B,MAAM,CAAC,IAAM,eAAe,GAAG,IAAI,CAAC;AACpC,MAAM,CAAC,IAAM,MAAM,GAAG,IAAI,CAAC;AAC3B,MAAM,CAAC,IAAM,YAAY,GAAG,IAAI,CAAC;AACjC,MAAM,CAAC,IAAM,UAAU,GAAG,IAAI,CAAC;AAC/B,MAAM,CAAC,IAAM,OAAO,GAAG,IAAI,CAAC"}
|
|
1
|
+
{"version":3,"file":"Variants.js","sourceRoot":"","sources":["../src/Variants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,gFAAgF;AAChF,MAAM,CAAC,IAAM,QAAQ,GAAG,IAAI,CAAC;AAC7B,MAAM,CAAC,IAAM,cAAc,GAAG,IAAI,CAAC;AACnC,MAAM,CAAC,IAAM,QAAQ,GAAG,IAAI,CAAC;AAC7B,MAAM,CAAC,IAAM,KAAK,GAAG,IAAI,CAAC;AAC1B,MAAM,CAAC,IAAM,WAAW,GAAG,IAAI,CAAC;AAChC,MAAM,CAAC,IAAM,KAAK,GAAG,IAAI,CAAC;AAC1B,MAAM,CAAC,IAAM,WAAW,GAAG,IAAI,CAAC;AAChC,MAAM,CAAC,IAAM,SAAS,GAAG,IAAI,CAAC;AAC9B,MAAM,CAAC,IAAM,eAAe,GAAG,IAAI,CAAC;AACpC,MAAM,CAAC,IAAM,SAAS,GAAG,IAAI,CAAC;AAC9B,MAAM,CAAC,IAAM,eAAe,GAAG,IAAI,CAAC;AACpC,MAAM,CAAC,IAAM,MAAM,GAAG,IAAI,CAAC;AAC3B,MAAM,CAAC,IAAM,YAAY,GAAG,IAAI,CAAC;AACjC,MAAM,CAAC,IAAM,MAAM,GAAG,IAAI,CAAC;AAC3B,MAAM,CAAC,IAAM,MAAM,GAAG,IAAI,CAAC;AAC3B,MAAM,CAAC,IAAM,UAAU,GAAG,IAAI,CAAC;AAC/B,MAAM,CAAC,IAAM,OAAO,GAAG,IAAI,CAAC"}
|
package/lib/Variants.win32.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export declare const Caption1: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps<import("@fluentui-react-native/adapters").ITextProps>, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
2
|
+
export declare const Caption1Strong: any;
|
|
3
|
+
export declare const Caption2: any;
|
|
2
4
|
export declare const Body1: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps<import("@fluentui-react-native/adapters").ITextProps>, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
3
5
|
export declare const Body1Strong: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps<import("@fluentui-react-native/adapters").ITextProps>, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
4
6
|
export declare const Body2: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps<import("@fluentui-react-native/adapters").ITextProps>, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
@@ -9,6 +11,8 @@ export declare const Subtitle2: import("@fluentui-react-native/use-tokens").Cust
|
|
|
9
11
|
export declare const Subtitle2Strong: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps<import("@fluentui-react-native/adapters").ITextProps>, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
10
12
|
export declare const Title1: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps<import("@fluentui-react-native/adapters").ITextProps>, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
11
13
|
export declare const Title1Strong: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps<import("@fluentui-react-native/adapters").ITextProps>, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
14
|
+
export declare const Title2: any;
|
|
15
|
+
export declare const Title3: any;
|
|
12
16
|
export declare const LargeTitle: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps<import("@fluentui-react-native/adapters").ITextProps>, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
13
17
|
export declare const Display: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps<import("@fluentui-react-native/adapters").ITextProps>, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
14
18
|
//# sourceMappingURL=Variants.win32.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Variants.win32.d.ts","sourceRoot":"","sources":["../src/Variants.win32.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ,kPAEnB,CAAC;AACH,eAAO,MAAM,KAAK,kPAEhB,CAAC;AACH,eAAO,MAAM,WAAW,kPAEtB,CAAC;AACH,eAAO,MAAM,KAAK,kPAEhB,CAAC;AACH,eAAO,MAAM,WAAW,kPAEtB,CAAC;AACH,eAAO,MAAM,SAAS,kPAEpB,CAAC;AACH,eAAO,MAAM,eAAe,kPAE1B,CAAC;AACH,eAAO,MAAM,SAAS,kPAEpB,CAAC;AACH,eAAO,MAAM,eAAe,kPAE1B,CAAC;AACH,eAAO,MAAM,MAAM,kPAEjB,CAAC;AACH,eAAO,MAAM,YAAY,kPAEvB,CAAC;AACH,eAAO,MAAM,UAAU,kPAErB,CAAC;AACH,eAAO,MAAM,OAAO,kPAElB,CAAC"}
|
|
1
|
+
{"version":3,"file":"Variants.win32.d.ts","sourceRoot":"","sources":["../src/Variants.win32.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ,kPAEnB,CAAC;AACH,eAAO,MAAM,cAAc,KAAO,CAAC;AACnC,eAAO,MAAM,QAAQ,KAAO,CAAC;AAC7B,eAAO,MAAM,KAAK,kPAEhB,CAAC;AACH,eAAO,MAAM,WAAW,kPAEtB,CAAC;AACH,eAAO,MAAM,KAAK,kPAEhB,CAAC;AACH,eAAO,MAAM,WAAW,kPAEtB,CAAC;AACH,eAAO,MAAM,SAAS,kPAEpB,CAAC;AACH,eAAO,MAAM,eAAe,kPAE1B,CAAC;AACH,eAAO,MAAM,SAAS,kPAEpB,CAAC;AACH,eAAO,MAAM,eAAe,kPAE1B,CAAC;AACH,eAAO,MAAM,MAAM,kPAEjB,CAAC;AACH,eAAO,MAAM,YAAY,kPAEvB,CAAC;AACH,eAAO,MAAM,MAAM,KAAO,CAAC;AAC3B,eAAO,MAAM,MAAM,KAAO,CAAC;AAC3B,eAAO,MAAM,UAAU,kPAErB,CAAC;AACH,eAAO,MAAM,OAAO,kPAElB,CAAC"}
|
package/lib/Variants.win32.js
CHANGED
|
@@ -2,6 +2,8 @@ import { Text } from './Text';
|
|
|
2
2
|
export var Caption1 = Text.customize({
|
|
3
3
|
variant: 'caption1',
|
|
4
4
|
});
|
|
5
|
+
export var Caption1Strong = null; // Not supported on Win32
|
|
6
|
+
export var Caption2 = null; // Not supported on Win32
|
|
5
7
|
export var Body1 = Text.customize({
|
|
6
8
|
variant: 'body1',
|
|
7
9
|
});
|
|
@@ -32,6 +34,8 @@ export var Title1 = Text.customize({
|
|
|
32
34
|
export var Title1Strong = Text.customize({
|
|
33
35
|
variant: 'title1Strong',
|
|
34
36
|
});
|
|
37
|
+
export var Title2 = null; // Not supported on Win32
|
|
38
|
+
export var Title3 = null; // Not supported on Win32
|
|
35
39
|
export var LargeTitle = Text.customize({
|
|
36
40
|
variant: 'largeTitle',
|
|
37
41
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Variants.win32.js","sourceRoot":"","sources":["../src/Variants.win32.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,MAAM,CAAC,IAAM,QAAQ,GAAG,IAAI,CAAC,SAAS,CAAC;IACrC,OAAO,EAAE,UAAU;CACpB,CAAC,CAAC;AACH,MAAM,CAAC,IAAM,KAAK,GAAG,IAAI,CAAC,SAAS,CAAC;IAClC,OAAO,EAAE,OAAO;CACjB,CAAC,CAAC;AACH,MAAM,CAAC,IAAM,WAAW,GAAG,IAAI,CAAC,SAAS,CAAC;IACxC,OAAO,EAAE,aAAa;CACvB,CAAC,CAAC;AACH,MAAM,CAAC,IAAM,KAAK,GAAG,IAAI,CAAC,SAAS,CAAC;IAClC,OAAO,EAAE,OAAO;CACjB,CAAC,CAAC;AACH,MAAM,CAAC,IAAM,WAAW,GAAG,IAAI,CAAC,SAAS,CAAC;IACxC,OAAO,EAAE,aAAa;CACvB,CAAC,CAAC;AACH,MAAM,CAAC,IAAM,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;IACtC,OAAO,EAAE,WAAW;CACrB,CAAC,CAAC;AACH,MAAM,CAAC,IAAM,eAAe,GAAG,IAAI,CAAC,S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';
|
|
2
2
|
export type { textName as textNameV1, TextProps, TextTokens } from './Text.types';
|
|
3
|
-
export { Caption1, Body1, Body1Strong, Body2, Body2Strong, Subtitle1, Subtitle1Strong, Subtitle2, Subtitle2Strong, Title1, Title1Strong, LargeTitle, Display, } from './Variants';
|
|
3
|
+
export { Caption1, Caption1Strong, Caption2, Body1, Body1Strong, Body2, Body2Strong, Subtitle1, Subtitle1Strong, Subtitle2, Subtitle2Strong, Title1, Title1Strong, Title2, Title3, LargeTitle, Display, } from './Variants';
|
|
4
4
|
export { textName } from './deprecated/Text.types';
|
|
5
5
|
export type { ITextProps, ITextType } from './deprecated/Text.types';
|
|
6
6
|
export { Text } from './deprecated/Text';
|
package/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,IAAI,MAAM,EAAE,MAAM,QAAQ,CAAC;AACxC,YAAY,EAAE,QAAQ,IAAI,UAAU,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAClF,OAAO,EACL,QAAQ,EACR,KAAK,EACL,WAAW,EACX,KAAK,EACL,WAAW,EACX,SAAS,EACT,eAAe,EACf,SAAS,EACT,eAAe,EACf,MAAM,EACN,YAAY,EACZ,UAAU,EACV,OAAO,GACR,MAAM,YAAY,CAAC;AAGpB,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACnD,YAAY,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,IAAI,MAAM,EAAE,MAAM,QAAQ,CAAC;AACxC,YAAY,EAAE,QAAQ,IAAI,UAAU,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAClF,OAAO,EACL,QAAQ,EACR,cAAc,EACd,QAAQ,EACR,KAAK,EACL,WAAW,EACX,KAAK,EACL,WAAW,EACX,SAAS,EACT,eAAe,EACf,SAAS,EACT,eAAe,EACf,MAAM,EACN,YAAY,EACZ,MAAM,EACN,MAAM,EACN,UAAU,EACV,OAAO,GACR,MAAM,YAAY,CAAC;AAGpB,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACnD,YAAY,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC"}
|
package/lib/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { Text as TextV1 } from './Text';
|
|
2
|
-
export { Caption1, Body1, Body1Strong, Body2, Body2Strong, Subtitle1, Subtitle1Strong, Subtitle2, Subtitle2Strong, Title1, Title1Strong, LargeTitle, Display, } from './Variants';
|
|
2
|
+
export { Caption1, Caption1Strong, Caption2, Body1, Body1Strong, Body2, Body2Strong, Subtitle1, Subtitle1Strong, Subtitle2, Subtitle2Strong, Title1, Title1Strong, Title2, Title3, LargeTitle, Display, } from './Variants';
|
|
3
3
|
/* deprecated */
|
|
4
4
|
export { textName } from './deprecated/Text.types';
|
|
5
5
|
export { Text } from './deprecated/Text';
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,IAAI,MAAM,EAAE,MAAM,QAAQ,CAAC;AAExC,OAAO,EACL,QAAQ,EACR,KAAK,EACL,WAAW,EACX,KAAK,EACL,WAAW,EACX,SAAS,EACT,eAAe,EACf,SAAS,EACT,eAAe,EACf,MAAM,EACN,YAAY,EACZ,UAAU,EACV,OAAO,GACR,MAAM,YAAY,CAAC;AAEpB,gBAAgB;AAChB,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAEnD,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,IAAI,MAAM,EAAE,MAAM,QAAQ,CAAC;AAExC,OAAO,EACL,QAAQ,EACR,cAAc,EACd,QAAQ,EACR,KAAK,EACL,WAAW,EACX,KAAK,EACL,WAAW,EACX,SAAS,EACT,eAAe,EACf,SAAS,EACT,eAAe,EACf,MAAM,EACN,YAAY,EACZ,MAAM,EACN,MAAM,EACN,UAAU,EACV,OAAO,GACR,MAAM,YAAY,CAAC;AAEpB,gBAAgB;AAChB,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAEnD,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export declare const Caption1: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps<import("@fluentui-react-native/adapters").ITextProps>, 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("@fluentui-react-native/adapters").ITextProps>, 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("@fluentui-react-native/adapters").ITextProps>, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
2
4
|
export declare const Body1: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps<import("@fluentui-react-native/adapters").ITextProps>, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
3
5
|
export declare const Body1Strong: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps<import("@fluentui-react-native/adapters").ITextProps>, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
4
6
|
export declare const Body2: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps<import("@fluentui-react-native/adapters").ITextProps>, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
@@ -9,6 +11,8 @@ export declare const Subtitle2: import("@fluentui-react-native/use-tokens").Cust
|
|
|
9
11
|
export declare const Subtitle2Strong: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps<import("@fluentui-react-native/adapters").ITextProps>, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
10
12
|
export declare const Title1: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps<import("@fluentui-react-native/adapters").ITextProps>, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
11
13
|
export declare const Title1Strong: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps<import("@fluentui-react-native/adapters").ITextProps>, 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("@fluentui-react-native/adapters").ITextProps>, 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("@fluentui-react-native/adapters").ITextProps>, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
12
16
|
export declare const LargeTitle: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps<import("@fluentui-react-native/adapters").ITextProps>, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
13
17
|
export declare const Display: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps<import("@fluentui-react-native/adapters").ITextProps>, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
14
18
|
//# sourceMappingURL=Variants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Variants.d.ts","sourceRoot":"","sources":["../src/Variants.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ,kPAAO,CAAC;AAC7B,eAAO,MAAM,KAAK,kPAAO,CAAC;AAC1B,eAAO,MAAM,WAAW,kPAAO,CAAC;AAChC,eAAO,MAAM,KAAK,kPAAO,CAAC;AAC1B,eAAO,MAAM,WAAW,kPAAO,CAAC;AAChC,eAAO,MAAM,SAAS,kPAAO,CAAC;AAC9B,eAAO,MAAM,eAAe,kPAAO,CAAC;AACpC,eAAO,MAAM,SAAS,kPAAO,CAAC;AAC9B,eAAO,MAAM,eAAe,kPAAO,CAAC;AACpC,eAAO,MAAM,MAAM,kPAAO,CAAC;AAC3B,eAAO,MAAM,YAAY,kPAAO,CAAC;AACjC,eAAO,MAAM,UAAU,kPAAO,CAAC;AAC/B,eAAO,MAAM,OAAO,kPAAO,CAAC"}
|
|
1
|
+
{"version":3,"file":"Variants.d.ts","sourceRoot":"","sources":["../src/Variants.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ,kPAAO,CAAC;AAC7B,eAAO,MAAM,cAAc,kPAAO,CAAC;AACnC,eAAO,MAAM,QAAQ,kPAAO,CAAC;AAC7B,eAAO,MAAM,KAAK,kPAAO,CAAC;AAC1B,eAAO,MAAM,WAAW,kPAAO,CAAC;AAChC,eAAO,MAAM,KAAK,kPAAO,CAAC;AAC1B,eAAO,MAAM,WAAW,kPAAO,CAAC;AAChC,eAAO,MAAM,SAAS,kPAAO,CAAC;AAC9B,eAAO,MAAM,eAAe,kPAAO,CAAC;AACpC,eAAO,MAAM,SAAS,kPAAO,CAAC;AAC9B,eAAO,MAAM,eAAe,kPAAO,CAAC;AACpC,eAAO,MAAM,MAAM,kPAAO,CAAC;AAC3B,eAAO,MAAM,YAAY,kPAAO,CAAC;AACjC,eAAO,MAAM,MAAM,kPAAO,CAAC;AAC3B,eAAO,MAAM,MAAM,kPAAO,CAAC;AAC3B,eAAO,MAAM,UAAU,kPAAO,CAAC;AAC/B,eAAO,MAAM,OAAO,kPAAO,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare const Caption1: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps<import("@fluentui-react-native/adapters").ITextProps>, 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("@fluentui-react-native/adapters").ITextProps>, 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("@fluentui-react-native/adapters").ITextProps>, 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("@fluentui-react-native/adapters").ITextProps>, 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("@fluentui-react-native/adapters").ITextProps>, 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("@fluentui-react-native/adapters").ITextProps>, 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("@fluentui-react-native/adapters").ITextProps>, 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("@fluentui-react-native/adapters").ITextProps>, 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("@fluentui-react-native/adapters").ITextProps>, 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("@fluentui-react-native/adapters").ITextProps>, 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("@fluentui-react-native/adapters").ITextProps>, 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("@fluentui-react-native/adapters").ITextProps>, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
18
|
+
//# sourceMappingURL=Variants.ios.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Variants.ios.d.ts","sourceRoot":"","sources":["../src/Variants.ios.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ,kPAEnB,CAAC;AACH,eAAO,MAAM,cAAc,kPAEzB,CAAC;AACH,eAAO,MAAM,QAAQ,kPAEnB,CAAC;AACH,eAAO,MAAM,KAAK,kPAEhB,CAAC;AACH,eAAO,MAAM,WAAW,kPAEtB,CAAC;AACH,eAAO,MAAM,KAAK,kPAEhB,CAAC;AACH,eAAO,MAAM,WAAW,kPAEtB,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,kPAEjB,CAAC;AACH,eAAO,MAAM,YAAY,KAAO,CAAC;AACjC,eAAO,MAAM,MAAM,kPAEjB,CAAC;AACH,eAAO,MAAM,MAAM,kPAEjB,CAAC;AACH,eAAO,MAAM,UAAU,kPAErB,CAAC;AACH,eAAO,MAAM,OAAO,kPAElB,CAAC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
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
|
+
var 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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Variants.ios.js","sourceRoot":"","sources":["../src/Variants.ios.ts"],"names":[],"mappings":";;;AAAA,+BAA8B;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,gBAAgB;CAC1B,CAAC,CAAC;AACU,QAAA,QAAQ,GAAG,WAAI,CAAC,SAAS,CAAC;IACrC,OAAO,EAAE,UAAU;CACpB,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,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,IAAI,CAAC,CAAC,uBAAuB;AACzC,QAAA,eAAe,GAAG,IAAI,CAAC,CAAC,uBAAuB;AAC/C,QAAA,SAAS,GAAG,IAAI,CAAC,CAAC,uBAAuB;AACzC,QAAA,eAAe,GAAG,IAAI,CAAC,CAAC,uBAAuB;AAC/C,QAAA,MAAM,GAAG,WAAI,CAAC,SAAS,CAAC;IACnC,OAAO,EAAE,QAAQ;CAClB,CAAC,CAAC;AACU,QAAA,YAAY,GAAG,IAAI,CAAC,CAAC,uBAAuB;AAC5C,QAAA,MAAM,GAAG,WAAI,CAAC,SAAS,CAAC;IACnC,OAAO,EAAE,QAAQ;CAClB,CAAC,CAAC;AACU,QAAA,MAAM,GAAG,WAAI,CAAC,SAAS,CAAC;IACnC,OAAO,EAAE,QAAQ;CAClB,CAAC,CAAC;AACU,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"}
|
package/lib-commonjs/Variants.js
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Display = exports.LargeTitle = exports.Title1Strong = exports.Title1 = exports.Subtitle2Strong = exports.Subtitle2 = exports.Subtitle1Strong = exports.Subtitle1 = exports.Body2Strong = exports.Body2 = exports.Body1Strong = exports.Body1 = exports.Caption1 = void 0;
|
|
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
4
|
var Text_1 = require("./Text");
|
|
5
5
|
// stubbed out for other platforms for which variant alias tokens aren't defined
|
|
6
6
|
exports.Caption1 = Text_1.Text;
|
|
7
|
+
exports.Caption1Strong = Text_1.Text;
|
|
8
|
+
exports.Caption2 = Text_1.Text;
|
|
7
9
|
exports.Body1 = Text_1.Text;
|
|
8
10
|
exports.Body1Strong = Text_1.Text;
|
|
9
11
|
exports.Body2 = Text_1.Text;
|
|
@@ -14,6 +16,8 @@ exports.Subtitle2 = Text_1.Text;
|
|
|
14
16
|
exports.Subtitle2Strong = Text_1.Text;
|
|
15
17
|
exports.Title1 = Text_1.Text;
|
|
16
18
|
exports.Title1Strong = Text_1.Text;
|
|
19
|
+
exports.Title2 = Text_1.Text;
|
|
20
|
+
exports.Title3 = Text_1.Text;
|
|
17
21
|
exports.LargeTitle = Text_1.Text;
|
|
18
22
|
exports.Display = Text_1.Text;
|
|
19
23
|
//# sourceMappingURL=Variants.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Variants.js","sourceRoot":"","sources":["../src/Variants.ts"],"names":[],"mappings":";;;AAAA,+BAA8B;AAE9B,gFAAgF;AACnE,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,UAAU,GAAG,WAAI,CAAC;AAClB,QAAA,OAAO,GAAG,WAAI,CAAC"}
|
|
1
|
+
{"version":3,"file":"Variants.js","sourceRoot":"","sources":["../src/Variants.ts"],"names":[],"mappings":";;;AAAA,+BAA8B;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,4 +1,6 @@
|
|
|
1
1
|
export declare const Caption1: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps<import("@fluentui-react-native/adapters").ITextProps>, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
2
|
+
export declare const Caption1Strong: any;
|
|
3
|
+
export declare const Caption2: any;
|
|
2
4
|
export declare const Body1: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps<import("@fluentui-react-native/adapters").ITextProps>, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
3
5
|
export declare const Body1Strong: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps<import("@fluentui-react-native/adapters").ITextProps>, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
4
6
|
export declare const Body2: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps<import("@fluentui-react-native/adapters").ITextProps>, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
@@ -9,6 +11,8 @@ export declare const Subtitle2: import("@fluentui-react-native/use-tokens").Cust
|
|
|
9
11
|
export declare const Subtitle2Strong: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps<import("@fluentui-react-native/adapters").ITextProps>, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
10
12
|
export declare const Title1: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps<import("@fluentui-react-native/adapters").ITextProps>, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
11
13
|
export declare const Title1Strong: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps<import("@fluentui-react-native/adapters").ITextProps>, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
14
|
+
export declare const Title2: any;
|
|
15
|
+
export declare const Title3: any;
|
|
12
16
|
export declare const LargeTitle: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps<import("@fluentui-react-native/adapters").ITextProps>, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
13
17
|
export declare const Display: import("@fluentui-react-native/use-tokens").CustomizableComponent<import("./Text.types").TextProps<import("@fluentui-react-native/adapters").ITextProps>, import("./Text.types").TextTokens, import("@fluentui-react-native/theme-types").Theme>;
|
|
14
18
|
//# sourceMappingURL=Variants.win32.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Variants.win32.d.ts","sourceRoot":"","sources":["../src/Variants.win32.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@ -1,10 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Display = exports.LargeTitle = exports.Title1Strong = exports.Title1 = exports.Subtitle2Strong = exports.Subtitle2 = exports.Subtitle1Strong = exports.Subtitle1 = exports.Body2Strong = exports.Body2 = exports.Body1Strong = exports.Body1 = exports.Caption1 = void 0;
|
|
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
4
|
var Text_1 = require("./Text");
|
|
5
5
|
exports.Caption1 = Text_1.Text.customize({
|
|
6
6
|
variant: 'caption1',
|
|
7
7
|
});
|
|
8
|
+
exports.Caption1Strong = null; // Not supported on Win32
|
|
9
|
+
exports.Caption2 = null; // Not supported on Win32
|
|
8
10
|
exports.Body1 = Text_1.Text.customize({
|
|
9
11
|
variant: 'body1',
|
|
10
12
|
});
|
|
@@ -35,6 +37,8 @@ exports.Title1 = Text_1.Text.customize({
|
|
|
35
37
|
exports.Title1Strong = Text_1.Text.customize({
|
|
36
38
|
variant: 'title1Strong',
|
|
37
39
|
});
|
|
40
|
+
exports.Title2 = null; // Not supported on Win32
|
|
41
|
+
exports.Title3 = null; // Not supported on Win32
|
|
38
42
|
exports.LargeTitle = Text_1.Text.customize({
|
|
39
43
|
variant: 'largeTitle',
|
|
40
44
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Variants.win32.js","sourceRoot":"","sources":["../src/Variants.win32.ts"],"names":[],"mappings":";;;AAAA,+BAA8B;AAEjB,QAAA,QAAQ,GAAG,WAAI,CAAC,SAAS,CAAC;IACrC,OAAO,EAAE,UAAU;CACpB,CAAC,CAAC;AACU,QAAA,KAAK,G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,GAAG,WAAI,CAAC,SAAS,CAAC;IACpC,OAAO,EAAE,SAAS;CACnB,CAAC,CAAC"}
|
package/lib-commonjs/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { Text as TextV1 } from './Text';
|
|
2
2
|
export type { textName as textNameV1, TextProps, TextTokens } from './Text.types';
|
|
3
|
-
export { Caption1, Body1, Body1Strong, Body2, Body2Strong, Subtitle1, Subtitle1Strong, Subtitle2, Subtitle2Strong, Title1, Title1Strong, LargeTitle, Display, } from './Variants';
|
|
3
|
+
export { Caption1, Caption1Strong, Caption2, Body1, Body1Strong, Body2, Body2Strong, Subtitle1, Subtitle1Strong, Subtitle2, Subtitle2Strong, Title1, Title1Strong, Title2, Title3, LargeTitle, Display, } from './Variants';
|
|
4
4
|
export { textName } from './deprecated/Text.types';
|
|
5
5
|
export type { ITextProps, ITextType } from './deprecated/Text.types';
|
|
6
6
|
export { Text } from './deprecated/Text';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,IAAI,MAAM,EAAE,MAAM,QAAQ,CAAC;AACxC,YAAY,EAAE,QAAQ,IAAI,UAAU,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAClF,OAAO,EACL,QAAQ,EACR,KAAK,EACL,WAAW,EACX,KAAK,EACL,WAAW,EACX,SAAS,EACT,eAAe,EACf,SAAS,EACT,eAAe,EACf,MAAM,EACN,YAAY,EACZ,UAAU,EACV,OAAO,GACR,MAAM,YAAY,CAAC;AAGpB,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACnD,YAAY,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,IAAI,MAAM,EAAE,MAAM,QAAQ,CAAC;AACxC,YAAY,EAAE,QAAQ,IAAI,UAAU,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAClF,OAAO,EACL,QAAQ,EACR,cAAc,EACd,QAAQ,EACR,KAAK,EACL,WAAW,EACX,KAAK,EACL,WAAW,EACX,SAAS,EACT,eAAe,EACf,SAAS,EACT,eAAe,EACf,MAAM,EACN,YAAY,EACZ,MAAM,EACN,MAAM,EACN,UAAU,EACV,OAAO,GACR,MAAM,YAAY,CAAC;AAGpB,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACnD,YAAY,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC"}
|
package/lib-commonjs/index.js
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Text = exports.textName = exports.Display = exports.LargeTitle = exports.Title1Strong = exports.Title1 = exports.Subtitle2Strong = exports.Subtitle2 = exports.Subtitle1Strong = exports.Subtitle1 = exports.Body2Strong = exports.Body2 = exports.Body1Strong = exports.Body1 = exports.Caption1 = exports.TextV1 = void 0;
|
|
3
|
+
exports.Text = exports.textName = 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 = exports.TextV1 = void 0;
|
|
4
4
|
var Text_1 = require("./Text");
|
|
5
5
|
Object.defineProperty(exports, "TextV1", { enumerable: true, get: function () { return Text_1.Text; } });
|
|
6
6
|
var Variants_1 = require("./Variants");
|
|
7
7
|
Object.defineProperty(exports, "Caption1", { enumerable: true, get: function () { return Variants_1.Caption1; } });
|
|
8
|
+
Object.defineProperty(exports, "Caption1Strong", { enumerable: true, get: function () { return Variants_1.Caption1Strong; } });
|
|
9
|
+
Object.defineProperty(exports, "Caption2", { enumerable: true, get: function () { return Variants_1.Caption2; } });
|
|
8
10
|
Object.defineProperty(exports, "Body1", { enumerable: true, get: function () { return Variants_1.Body1; } });
|
|
9
11
|
Object.defineProperty(exports, "Body1Strong", { enumerable: true, get: function () { return Variants_1.Body1Strong; } });
|
|
10
12
|
Object.defineProperty(exports, "Body2", { enumerable: true, get: function () { return Variants_1.Body2; } });
|
|
@@ -15,6 +17,8 @@ Object.defineProperty(exports, "Subtitle2", { enumerable: true, get: function ()
|
|
|
15
17
|
Object.defineProperty(exports, "Subtitle2Strong", { enumerable: true, get: function () { return Variants_1.Subtitle2Strong; } });
|
|
16
18
|
Object.defineProperty(exports, "Title1", { enumerable: true, get: function () { return Variants_1.Title1; } });
|
|
17
19
|
Object.defineProperty(exports, "Title1Strong", { enumerable: true, get: function () { return Variants_1.Title1Strong; } });
|
|
20
|
+
Object.defineProperty(exports, "Title2", { enumerable: true, get: function () { return Variants_1.Title2; } });
|
|
21
|
+
Object.defineProperty(exports, "Title3", { enumerable: true, get: function () { return Variants_1.Title3; } });
|
|
18
22
|
Object.defineProperty(exports, "LargeTitle", { enumerable: true, get: function () { return Variants_1.LargeTitle; } });
|
|
19
23
|
Object.defineProperty(exports, "Display", { enumerable: true, get: function () { return Variants_1.Display; } });
|
|
20
24
|
/* deprecated */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,+BAAwC;AAA/B,8FAAA,IAAI,OAAU;AAEvB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,+BAAwC;AAA/B,8FAAA,IAAI,OAAU;AAEvB,uCAkBoB;AAjBlB,oGAAA,QAAQ,OAAA;AACR,0GAAA,cAAc,OAAA;AACd,oGAAA,QAAQ,OAAA;AACR,iGAAA,KAAK,OAAA;AACL,uGAAA,WAAW,OAAA;AACX,iGAAA,KAAK,OAAA;AACL,uGAAA,WAAW,OAAA;AACX,qGAAA,SAAS,OAAA;AACT,2GAAA,eAAe,OAAA;AACf,qGAAA,SAAS,OAAA;AACT,2GAAA,eAAe,OAAA;AACf,kGAAA,MAAM,OAAA;AACN,wGAAA,YAAY,OAAA;AACZ,kGAAA,MAAM,OAAA;AACN,kGAAA,MAAM,OAAA;AACN,sGAAA,UAAU,OAAA;AACV,mGAAA,OAAO,OAAA;AAGT,gBAAgB;AAChB,sDAAmD;AAA1C,sGAAA,QAAQ,OAAA;AAEjB,0CAAyC;AAAhC,4FAAA,IAAI,OAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui-react-native/text",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.15.0",
|
|
4
4
|
"description": "A cross-platform Text component using the Fluent Design System",
|
|
5
5
|
"main": "lib-commonjs/index.js",
|
|
6
6
|
"module": "lib/index.js",
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
"directory": "packages/components/text"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@uifabricshared/foundation-compose": "^1.12.
|
|
25
|
+
"@uifabricshared/foundation-compose": "^1.12.5",
|
|
26
26
|
"@fluentui-react-native/adapters": ">=0.9.1 <1.0.0",
|
|
27
|
-
"@fluentui-react-native/framework": "0.8.
|
|
27
|
+
"@fluentui-react-native/framework": "0.8.4",
|
|
28
28
|
"@fluentui-react-native/theme-tokens": ">=0.19.0 <1.0.0",
|
|
29
|
-
"@fluentui-react-native/tokens": ">=0.
|
|
29
|
+
"@fluentui-react-native/tokens": ">=0.17.0 <1.0.0",
|
|
30
30
|
"tslib": "^2.3.1"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { Text } from './Text';
|
|
2
|
+
|
|
3
|
+
export const Caption1 = Text.customize({
|
|
4
|
+
variant: 'caption1',
|
|
5
|
+
});
|
|
6
|
+
export const Caption1Strong = Text.customize({
|
|
7
|
+
variant: 'caption1Strong',
|
|
8
|
+
});
|
|
9
|
+
export const Caption2 = Text.customize({
|
|
10
|
+
variant: 'caption2',
|
|
11
|
+
});
|
|
12
|
+
export const Body1 = Text.customize({
|
|
13
|
+
variant: 'body1',
|
|
14
|
+
});
|
|
15
|
+
export const Body1Strong = Text.customize({
|
|
16
|
+
variant: 'body1Strong',
|
|
17
|
+
});
|
|
18
|
+
export const Body2 = Text.customize({
|
|
19
|
+
variant: 'body2',
|
|
20
|
+
});
|
|
21
|
+
export const Body2Strong = Text.customize({
|
|
22
|
+
variant: 'body2Strong',
|
|
23
|
+
});
|
|
24
|
+
export const Subtitle1 = null; // Not supported on iOS
|
|
25
|
+
export const Subtitle1Strong = null; // Not supported on iOS
|
|
26
|
+
export const Subtitle2 = null; // Not supported on iOS
|
|
27
|
+
export const Subtitle2Strong = null; // Not supported on iOS
|
|
28
|
+
export const Title1 = Text.customize({
|
|
29
|
+
variant: 'title1',
|
|
30
|
+
});
|
|
31
|
+
export const Title1Strong = null; // Not supported on iOS
|
|
32
|
+
export const Title2 = Text.customize({
|
|
33
|
+
variant: 'title2',
|
|
34
|
+
});
|
|
35
|
+
export const Title3 = Text.customize({
|
|
36
|
+
variant: 'title3',
|
|
37
|
+
});
|
|
38
|
+
export const LargeTitle = Text.customize({
|
|
39
|
+
variant: 'largeTitle',
|
|
40
|
+
});
|
|
41
|
+
export const Display = Text.customize({
|
|
42
|
+
variant: 'display',
|
|
43
|
+
});
|
package/src/Variants.ts
CHANGED
|
@@ -2,6 +2,8 @@ import { Text } from './Text';
|
|
|
2
2
|
|
|
3
3
|
// stubbed out for other platforms for which variant alias tokens aren't defined
|
|
4
4
|
export const Caption1 = Text;
|
|
5
|
+
export const Caption1Strong = Text;
|
|
6
|
+
export const Caption2 = Text;
|
|
5
7
|
export const Body1 = Text;
|
|
6
8
|
export const Body1Strong = Text;
|
|
7
9
|
export const Body2 = Text;
|
|
@@ -12,5 +14,7 @@ export const Subtitle2 = Text;
|
|
|
12
14
|
export const Subtitle2Strong = Text;
|
|
13
15
|
export const Title1 = Text;
|
|
14
16
|
export const Title1Strong = Text;
|
|
17
|
+
export const Title2 = Text;
|
|
18
|
+
export const Title3 = Text;
|
|
15
19
|
export const LargeTitle = Text;
|
|
16
20
|
export const Display = Text;
|
package/src/Variants.win32.ts
CHANGED
|
@@ -3,6 +3,8 @@ import { Text } from './Text';
|
|
|
3
3
|
export const Caption1 = Text.customize({
|
|
4
4
|
variant: 'caption1',
|
|
5
5
|
});
|
|
6
|
+
export const Caption1Strong = null; // Not supported on Win32
|
|
7
|
+
export const Caption2 = null; // Not supported on Win32
|
|
6
8
|
export const Body1 = Text.customize({
|
|
7
9
|
variant: 'body1',
|
|
8
10
|
});
|
|
@@ -33,6 +35,8 @@ export const Title1 = Text.customize({
|
|
|
33
35
|
export const Title1Strong = Text.customize({
|
|
34
36
|
variant: 'title1Strong',
|
|
35
37
|
});
|
|
38
|
+
export const Title2 = null; // Not supported on Win32
|
|
39
|
+
export const Title3 = null; // Not supported on Win32
|
|
36
40
|
export const LargeTitle = Text.customize({
|
|
37
41
|
variant: 'largeTitle',
|
|
38
42
|
});
|
|
@@ -11,6 +11,8 @@ exports[`Text component tests Text all props 1`] = `
|
|
|
11
11
|
"fontSize": 14,
|
|
12
12
|
"fontStyle": undefined,
|
|
13
13
|
"fontWeight": "400",
|
|
14
|
+
"letterSpacing": undefined,
|
|
15
|
+
"lineHeight": undefined,
|
|
14
16
|
"margin": 0,
|
|
15
17
|
"textAlign": undefined,
|
|
16
18
|
"textDecorationLine": undefined,
|
|
@@ -32,6 +34,8 @@ exports[`Text component tests Text all tokens 1`] = `
|
|
|
32
34
|
"fontSize": 20,
|
|
33
35
|
"fontStyle": undefined,
|
|
34
36
|
"fontWeight": "900",
|
|
37
|
+
"letterSpacing": undefined,
|
|
38
|
+
"lineHeight": undefined,
|
|
35
39
|
"margin": 0,
|
|
36
40
|
"textAlign": undefined,
|
|
37
41
|
"textDecorationLine": undefined,
|
|
@@ -53,6 +57,8 @@ exports[`Text component tests Text default 1`] = `
|
|
|
53
57
|
"fontSize": 12,
|
|
54
58
|
"fontStyle": undefined,
|
|
55
59
|
"fontWeight": "400",
|
|
60
|
+
"letterSpacing": undefined,
|
|
61
|
+
"lineHeight": undefined,
|
|
56
62
|
"margin": 0,
|
|
57
63
|
"textAlign": undefined,
|
|
58
64
|
"textDecorationLine": undefined,
|
package/src/index.ts
CHANGED
|
@@ -2,6 +2,8 @@ export { Text as TextV1 } from './Text';
|
|
|
2
2
|
export type { textName as textNameV1, TextProps, TextTokens } from './Text.types';
|
|
3
3
|
export {
|
|
4
4
|
Caption1,
|
|
5
|
+
Caption1Strong,
|
|
6
|
+
Caption2,
|
|
5
7
|
Body1,
|
|
6
8
|
Body1Strong,
|
|
7
9
|
Body2,
|
|
@@ -12,6 +14,8 @@ export {
|
|
|
12
14
|
Subtitle2Strong,
|
|
13
15
|
Title1,
|
|
14
16
|
Title1Strong,
|
|
17
|
+
Title2,
|
|
18
|
+
Title3,
|
|
15
19
|
LargeTitle,
|
|
16
20
|
Display,
|
|
17
21
|
} from './Variants';
|