@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.
Files changed (64) hide show
  1. package/.cache/tsconfig.tsbuildinfo +1 -0
  2. package/CHANGELOG.md +48 -0
  3. package/jest.config.cjs +1 -0
  4. package/lib/Text.d.ts.map +1 -1
  5. package/lib/Text.js.map +1 -1
  6. package/lib/__tests__/Text.test.js.map +1 -1
  7. package/lib/deprecated/Text.d.ts.map +1 -1
  8. package/package.json +26 -31
  9. package/tsconfig.json +35 -3
  10. package/babel.config.js +0 -1
  11. package/eslint.config.js +0 -3
  12. package/jest.config.js +0 -2
  13. package/lib-commonjs/Text.d.ts +0 -4
  14. package/lib-commonjs/Text.d.ts.map +0 -1
  15. package/lib-commonjs/Text.js +0 -110
  16. package/lib-commonjs/Text.js.map +0 -1
  17. package/lib-commonjs/Text.types.d.ts +0 -98
  18. package/lib-commonjs/Text.types.d.ts.map +0 -1
  19. package/lib-commonjs/Text.types.js +0 -5
  20. package/lib-commonjs/Text.types.js.map +0 -1
  21. package/lib-commonjs/TextTokens.d.ts +0 -3
  22. package/lib-commonjs/TextTokens.d.ts.map +0 -1
  23. package/lib-commonjs/TextTokens.js +0 -10
  24. package/lib-commonjs/TextTokens.js.map +0 -1
  25. package/lib-commonjs/Variants.android.d.ts +0 -18
  26. package/lib-commonjs/Variants.android.d.ts.map +0 -1
  27. package/lib-commonjs/Variants.android.js +0 -46
  28. package/lib-commonjs/Variants.android.js.map +0 -1
  29. package/lib-commonjs/Variants.d.ts +0 -18
  30. package/lib-commonjs/Variants.d.ts.map +0 -1
  31. package/lib-commonjs/Variants.ios.d.ts +0 -18
  32. package/lib-commonjs/Variants.ios.d.ts.map +0 -1
  33. package/lib-commonjs/Variants.ios.js +0 -46
  34. package/lib-commonjs/Variants.ios.js.map +0 -1
  35. package/lib-commonjs/Variants.js +0 -23
  36. package/lib-commonjs/Variants.js.map +0 -1
  37. package/lib-commonjs/Variants.win32.d.ts +0 -18
  38. package/lib-commonjs/Variants.win32.d.ts.map +0 -1
  39. package/lib-commonjs/Variants.win32.js +0 -48
  40. package/lib-commonjs/Variants.win32.js.map +0 -1
  41. package/lib-commonjs/Variants.windows.d.ts +0 -18
  42. package/lib-commonjs/Variants.windows.d.ts.map +0 -1
  43. package/lib-commonjs/Variants.windows.js +0 -48
  44. package/lib-commonjs/Variants.windows.js.map +0 -1
  45. package/lib-commonjs/__tests__/Text.test.d.ts +0 -2
  46. package/lib-commonjs/__tests__/Text.test.d.ts.map +0 -1
  47. package/lib-commonjs/__tests__/Text.test.js +0 -79
  48. package/lib-commonjs/__tests__/Text.test.js.map +0 -1
  49. package/lib-commonjs/deprecated/Text.d.ts +0 -5
  50. package/lib-commonjs/deprecated/Text.d.ts.map +0 -1
  51. package/lib-commonjs/deprecated/Text.js +0 -21
  52. package/lib-commonjs/deprecated/Text.js.map +0 -1
  53. package/lib-commonjs/deprecated/Text.settings.d.ts +0 -4
  54. package/lib-commonjs/deprecated/Text.settings.d.ts.map +0 -1
  55. package/lib-commonjs/deprecated/Text.settings.js +0 -27
  56. package/lib-commonjs/deprecated/Text.settings.js.map +0 -1
  57. package/lib-commonjs/deprecated/Text.types.d.ts +0 -17
  58. package/lib-commonjs/deprecated/Text.types.d.ts.map +0 -1
  59. package/lib-commonjs/deprecated/Text.types.js +0 -5
  60. package/lib-commonjs/deprecated/Text.types.js.map +0 -1
  61. package/lib-commonjs/index.d.ts +0 -8
  62. package/lib-commonjs/index.d.ts.map +0 -1
  63. package/lib-commonjs/index.js +0 -31
  64. package/lib-commonjs/index.js.map +0 -1
@@ -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 windows
9
- exports.Caption2 = null; // Not supported on windows
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 windows
41
- exports.Title3 = null; // Not supported on windows
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.windows.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Variants.windows.js","sourceRoot":"","sources":["../src/Variants.windows.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,2BAA2B;AAClD,QAAA,QAAQ,GAAG,IAAI,CAAC,CAAC,2BAA2B;AAC5C,QAAA,KAAK,GAAG,WA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@@
1
- {"version":3,"file":"Text.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/Text.test.tsx"],"names":[],"mappings":""}
@@ -1,79 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || (function () {
19
- var ownKeys = function(o) {
20
- ownKeys = Object.getOwnPropertyNames || function (o) {
21
- var ar = [];
22
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
- return ar;
24
- };
25
- return ownKeys(o);
26
- };
27
- return function (mod) {
28
- if (mod && mod.__esModule) return mod;
29
- var result = {};
30
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
- __setModuleDefault(result, mod);
32
- return result;
33
- };
34
- })();
35
- Object.defineProperty(exports, "__esModule", { value: true });
36
- const jsx_runtime_1 = require("react/jsx-runtime");
37
- const react_1 = require("react");
38
- const renderer = __importStar(require("react-test-renderer"));
39
- const Text_1 = require("../Text");
40
- describe('Text component tests', () => {
41
- it('Text default', () => {
42
- let component;
43
- (0, react_1.act)(() => {
44
- component = renderer.create(jsx_runtime_1.jsx(Text_1.Text, { children: "Text default" }));
45
- });
46
- expect(component.toJSON()).toMatchSnapshot();
47
- });
48
- it('Text all props', () => {
49
- let component;
50
- (0, react_1.act)(() => {
51
- component = renderer.create(jsx_runtime_1.jsx(Text_1.Text, { variant: "bodyStandard", children: "All props" }));
52
- });
53
- expect(component.toJSON()).toMatchSnapshot();
54
- });
55
- it('Text all tokens', () => {
56
- const BoldText = Text_1.Text.customize({
57
- fontFamily: 'Wingdings',
58
- fontWeight: '900',
59
- fontSize: 20,
60
- });
61
- let component;
62
- (0, react_1.act)(() => {
63
- component = renderer.create(jsx_runtime_1.jsx(BoldText, { children: "All tokens" }));
64
- });
65
- expect(component.toJSON()).toMatchSnapshot();
66
- });
67
- it('Text variants render correctly with style', () => {
68
- const style = {
69
- marginBottom: 8,
70
- marginTop: 4,
71
- };
72
- let component;
73
- (0, react_1.act)(() => {
74
- component = renderer.create(jsx_runtime_1.jsx(Text_1.Text, { variant: "heroLargeSemibold", color: "blue", style: style, children: "Header Text" }));
75
- });
76
- expect(component.toJSON()).toMatchSnapshot();
77
- });
78
- });
79
- //# sourceMappingURL=Text.test.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Text.test.js","sourceRoot":"","sources":["../../src/__tests__/Text.test.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,iCAA4B;AAE5B,MAAY,QAAQ,gDAA4B;AAEhD,kCAA+B;AAE/B,QAAQ,CAAC,sBAAsB,EAAE,GAAG,EAAE,CAAC;IACrC,EAAE,CAAC,cAAc,EAAE,GAAG,EAAE,CAAC;QACvB,IAAI,SAAqC,CAAC;QAC1C,IAAA,WAAG,EAAC,GAAG,EAAE,CAAC;YACR,SAAS,GAAG,QAAQ,CAAC,MAAM,CAAC,kBAAC,WAAI,+BAAoB,CAAC,CAAC;QAAA,CACxD,CAAC,CAAC;QACH,MAAM,CAAC,SAAU,CAAC,MAAM,EAAE,CAAC,CAAC,eAAe,EAAE,CAAC;IAAA,CAC/C,CAAC,CAAC;IAEH,EAAE,CAAC,gBAAgB,EAAE,GAAG,EAAE,CAAC;QACzB,IAAI,SAAqC,CAAC;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 @@
1
- export declare const Text: import("@uifabricshared/foundation-compose").IComposeReturnType<import("./Text.types").ITextProps<import("@fluentui-react-native/adapters").ITextProps>, {
2
- root: import("@fluentui-react-native/adapters").ITextProps;
3
- }, import("@fluentui-react-native/tokens").FontStyleTokens & import("@fluentui-react-native/tokens").FontVariantTokens & import("@fluentui-react-native/tokens").FontDecorationTokens & import("@fluentui-react-native/tokens").IForegroundColorTokens & import("@fluentui-react-native/tokens").IBackgroundColorTokens, object, object>;
4
- export default Text;
5
- //# sourceMappingURL=Text.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../src/deprecated/Text.tsx"],"names":[],"mappings":"AAUA,eAAO,MAAM,IAAI;;wUASf,CAAC;AAEH,eAAe,IAAI,CAAC"}
@@ -1,21 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Text = void 0;
4
- const react_native_1 = require("react-native");
5
- const adapters_1 = require("@fluentui-react-native/adapters");
6
- const tokens_1 = require("@fluentui-react-native/tokens");
7
- const foundation_compose_1 = require("@uifabricshared/foundation-compose");
8
- const Text_settings_1 = require("./Text.settings");
9
- const Text_types_1 = require("./Text.types");
10
- exports.Text = (0, foundation_compose_1.compose)({
11
- displayName: Text_types_1.textName,
12
- settings: Text_settings_1.settings,
13
- slots: {
14
- root: { slotType: react_native_1.Text, filter: adapters_1.filterTextProps },
15
- },
16
- styles: {
17
- root: [tokens_1.textTokens, tokens_1.foregroundColorTokens],
18
- },
19
- });
20
- exports.default = exports.Text;
21
- //# sourceMappingURL=Text.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Text.js","sourceRoot":"","sources":["../../src/deprecated/Text.tsx"],"names":[],"mappings":";;;AAAA,+CAA8C;AAE9C,8DAAkE;AAClE,0DAAkF;AAClF,2EAA6D;AAE7D,mDAA2C;AAC3C,6CAAwC;AAG3B,QAAA,IAAI,GAAG,IAAA,4BAAO,EAAY;IACrC,WAAW,EAAE,qBAAQ;IACrB,QAAQ,EAAR,wBAAQ;IACR,KAAK,EAAE;QACL,IAAI,EAAE,EAAE,QAAQ,EAAE,mBAAM,EAAE,MAAM,EAAE,0BAAe,EAAE;KACpD;IACD,MAAM,EAAE;QACN,IAAI,EAAE,CAAC,mBAAU,EAAE,8BAAqB,CAAC;KAC1C;CACF,CAAC,CAAC;kBAEY,QAAA,IAAI"}
@@ -1,4 +0,0 @@
1
- import type { IComposeSettings } from '@uifabricshared/foundation-compose';
2
- import type { ITextType } from './Text.types';
3
- export declare const settings: IComposeSettings<ITextType>;
4
- //# sourceMappingURL=Text.settings.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Text.settings.d.ts","sourceRoot":"","sources":["../../src/deprecated/Text.settings.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAE3E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAG9C,eAAO,MAAM,QAAQ,EAAE,gBAAgB,CAAC,SAAS,CAqBhD,CAAC"}
@@ -1,27 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.settings = void 0;
4
- const Text_types_1 = require("./Text.types");
5
- exports.settings = [
6
- {
7
- tokens: {
8
- variant: 'secondaryStandard',
9
- color: 'bodyText',
10
- },
11
- root: {
12
- style: {
13
- margin: 0,
14
- },
15
- },
16
- _overrides: {
17
- disabled: {
18
- tokens: {
19
- color: 'disabledText',
20
- },
21
- },
22
- },
23
- _precedence: ['disabled'],
24
- },
25
- Text_types_1.textName,
26
- ];
27
- //# sourceMappingURL=Text.settings.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Text.settings.js","sourceRoot":"","sources":["../../src/deprecated/Text.settings.ts"],"names":[],"mappings":";;;AAKA,6CAAwC;AAE3B,QAAA,QAAQ,GAAgC;IACnD;QACE,MAAM,EAAE;YACN,OAAO,EAAE,mBAAmB;YAC5B,KAAK,EAAE,UAAU;SAClB;QACD,IAAI,EAAE;YACJ,KAAK,EAAE;gBACL,MAAM,EAAE,CAAC;aACG;SACf;QACD,UAAU,EAAE;YACV,QAAQ,EAAE;gBACR,MAAM,EAAE;oBACN,KAAK,EAAE,cAAc;iBACtB;aACF;SACF;QACD,WAAW,EAAE,CAAC,UAAU,CAAC;KAC1B;IACD,qBAAQ;CACT,CAAC"}
@@ -1,17 +0,0 @@
1
- import type { ITextProps as INativeTextProps } from '@fluentui-react-native/adapters';
2
- import type { FontTokens, FontVariantTokens, IForegroundColorTokens, IColorTokens } from '@fluentui-react-native/tokens';
3
- export declare const textName = "RNFText";
4
- /**
5
- * Properties for fabric native text field, these extend the default props for text
6
- */
7
- export type ITextProps<TBase = INativeTextProps> = TBase & FontVariantTokens & IForegroundColorTokens & {
8
- disabled?: boolean;
9
- };
10
- export type ITextType<TBase = INativeTextProps> = {
11
- props: ITextProps<TBase>;
12
- tokens: FontTokens & IColorTokens;
13
- slotProps: {
14
- root: TBase;
15
- };
16
- };
17
- //# sourceMappingURL=Text.types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Text.types.d.ts","sourceRoot":"","sources":["../../src/deprecated/Text.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,IAAI,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACtF,OAAO,KAAK,EAAE,UAAU,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAEzH,eAAO,MAAM,QAAQ,YAAY,CAAC;AAElC;;GAEG;AACH,MAAM,MAAM,UAAU,CAAC,KAAK,GAAG,gBAAgB,IAAI,KAAK,GACtD,iBAAiB,GACjB,sBAAsB,GAAG;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEJ,MAAM,MAAM,SAAS,CAAC,KAAK,GAAG,gBAAgB,IAAI;IAChD,KAAK,EAAE,UAAU,CAAC,KAAK,CAAC,CAAC;IACzB,MAAM,EAAE,UAAU,GAAG,YAAY,CAAC;IAClC,SAAS,EAAE;QACT,IAAI,EAAE,KAAK,CAAC;KACb,CAAC;CACH,CAAC"}
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.textName = void 0;
4
- exports.textName = 'RNFText';
5
- //# sourceMappingURL=Text.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Text.types.js","sourceRoot":"","sources":["../../src/deprecated/Text.types.ts"],"names":[],"mappings":";;;AAGa,QAAA,QAAQ,GAAG,SAAS,CAAC"}
@@ -1,8 +0,0 @@
1
- export { Text as TextV1 } from './Text';
2
- export type { TextProps, TextTokens } from './Text.types';
3
- export { textName as textNameV1 } from './Text.types';
4
- export { Caption1, Caption1Strong, Caption2, Body1, Body1Strong, Body2, Body2Strong, Subtitle1, Subtitle1Strong, Subtitle2, Subtitle2Strong, Title1, Title1Strong, Title2, Title3, LargeTitle, Display, } from './Variants';
5
- export { textName } from './deprecated/Text.types';
6
- export type { ITextProps, ITextType } from './deprecated/Text.types';
7
- export { Text } from './deprecated/Text';
8
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
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,SAAS,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1D,OAAO,EAAE,QAAQ,IAAI,UAAU,EAAE,MAAM,cAAc,CAAC;AACtD,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"}
@@ -1,31 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
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.textNameV1 = exports.TextV1 = void 0;
4
- const Text_1 = require("./Text");
5
- Object.defineProperty(exports, "TextV1", { enumerable: true, get: function () { return Text_1.Text; } });
6
- const Text_types_1 = require("./Text.types");
7
- Object.defineProperty(exports, "textNameV1", { enumerable: true, get: function () { return Text_types_1.textName; } });
8
- const Variants_1 = require("./Variants");
9
- Object.defineProperty(exports, "Caption1", { enumerable: true, get: function () { return Variants_1.Caption1; } });
10
- Object.defineProperty(exports, "Caption1Strong", { enumerable: true, get: function () { return Variants_1.Caption1Strong; } });
11
- Object.defineProperty(exports, "Caption2", { enumerable: true, get: function () { return Variants_1.Caption2; } });
12
- Object.defineProperty(exports, "Body1", { enumerable: true, get: function () { return Variants_1.Body1; } });
13
- Object.defineProperty(exports, "Body1Strong", { enumerable: true, get: function () { return Variants_1.Body1Strong; } });
14
- Object.defineProperty(exports, "Body2", { enumerable: true, get: function () { return Variants_1.Body2; } });
15
- Object.defineProperty(exports, "Body2Strong", { enumerable: true, get: function () { return Variants_1.Body2Strong; } });
16
- Object.defineProperty(exports, "Subtitle1", { enumerable: true, get: function () { return Variants_1.Subtitle1; } });
17
- Object.defineProperty(exports, "Subtitle1Strong", { enumerable: true, get: function () { return Variants_1.Subtitle1Strong; } });
18
- Object.defineProperty(exports, "Subtitle2", { enumerable: true, get: function () { return Variants_1.Subtitle2; } });
19
- Object.defineProperty(exports, "Subtitle2Strong", { enumerable: true, get: function () { return Variants_1.Subtitle2Strong; } });
20
- Object.defineProperty(exports, "Title1", { enumerable: true, get: function () { return Variants_1.Title1; } });
21
- Object.defineProperty(exports, "Title1Strong", { enumerable: true, get: function () { return Variants_1.Title1Strong; } });
22
- Object.defineProperty(exports, "Title2", { enumerable: true, get: function () { return Variants_1.Title2; } });
23
- Object.defineProperty(exports, "Title3", { enumerable: true, get: function () { return Variants_1.Title3; } });
24
- Object.defineProperty(exports, "LargeTitle", { enumerable: true, get: function () { return Variants_1.LargeTitle; } });
25
- Object.defineProperty(exports, "Display", { enumerable: true, get: function () { return Variants_1.Display; } });
26
- /* deprecated */
27
- const Text_types_2 = require("./deprecated/Text.types");
28
- Object.defineProperty(exports, "textName", { enumerable: true, get: function () { return Text_types_2.textName; } });
29
- const Text_2 = require("./deprecated/Text");
30
- Object.defineProperty(exports, "Text", { enumerable: true, get: function () { return Text_2.Text; } });
31
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,iCAAwC;AAA/B,8FAAA,IAAI,OAAU;AAEvB,6CAAsD;AAA7C,wGAAA,QAAQ,OAAc;AAC/B,yCAkBoB;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,wDAAmD;AAA1C,sGAAA,QAAQ,OAAA;AAEjB,4CAAyC;AAAhC,4FAAA,IAAI,OAAA"}