@fluentui-react-native/theme-types 0.44.5 → 0.44.6
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 -1
- package/CHANGELOG.md +20 -0
- package/README.md +1 -1
- package/lib/index.d.ts +2 -6
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/package.json +14 -4
- package/src/index.ts +22 -12
- package/lib/Color.types.d.ts +0 -1097
- package/lib/Color.types.d.ts.map +0 -1
- package/lib/Color.types.js +0 -15
- package/lib/Color.types.js.map +0 -1
- package/lib/Shadow.types.d.ts +0 -49
- package/lib/Shadow.types.d.ts.map +0 -1
- package/lib/Shadow.types.js +0 -2
- package/lib/Shadow.types.js.map +0 -1
- package/lib/Theme.types.d.ts +0 -65
- package/lib/Theme.types.d.ts.map +0 -1
- package/lib/Theme.types.js +0 -2
- package/lib/Theme.types.js.map +0 -1
- package/lib/Typography.types.d.ts +0 -168
- package/lib/Typography.types.d.ts.map +0 -1
- package/lib/Typography.types.js +0 -2
- package/lib/Typography.types.js.map +0 -1
- package/lib/context.d.ts +0 -5
- package/lib/context.d.ts.map +0 -1
- package/lib/context.js +0 -4
- package/lib/context.js.map +0 -1
- package/lib/palette.types.d.ts +0 -206
- package/lib/palette.types.d.ts.map +0 -1
- package/lib/palette.types.js +0 -2
- package/lib/palette.types.js.map +0 -1
- package/src/Color.types.ts +0 -1382
- package/src/Shadow.types.ts +0 -51
- package/src/Theme.types.ts +0 -73
- package/src/Typography.types.ts +0 -185
- package/src/context.ts +0 -6
- package/src/palette.types.ts +0 -257
package/lib/index.d.ts
CHANGED
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
export type { AliasColorTokens, Color, FabricWebPalette, Palette, PaletteBackgroundColors, PaletteTextColors, PartialPalette, ThemeColorDefinition, } from '
|
|
2
|
-
export
|
|
3
|
-
export type { AppearanceOptions, PartialTheme, Spacing, Theme, ThemeOptions } from './Theme.types';
|
|
4
|
-
export type { FontDynamicTypeRamp, FontFamilies, FontFamily, FontFamilyValue, FontSize, FontSizeValuePoints, FontSizes, FontWeight, FontWeightValue, FontWeights, PartialTypography, TextStyling, Typography, Variant, VariantValue, Variants, } from './Typography.types';
|
|
5
|
-
export { ThemeContext, useTheme } from './context';
|
|
6
|
-
export type { OfficePalette } from './palette.types';
|
|
1
|
+
export type { AliasColorTokens, AppearanceOptions, BaseShadowAliasTokens, Color, FabricWebPalette, FontDynamicTypeRamp, FontFamilies, FontFamily, FontFamilyValue, FontSize, FontSizeValuePoints, FontSizes, FontWeight, FontWeightValue, FontWeights, OfficePalette, Palette, PaletteBackgroundColors, PaletteTextColors, PartialPalette, PartialShadowDefinition, PartialTheme, PartialTypography, ShadowToken, ShadowValue, Spacing, TextStyling, Theme, ThemeColorDefinition, ThemeOptions, ThemeShadowDefinition, Typography, Variant, VariantValue, Variants, } from '@fluentui-react-native/design/theming';
|
|
2
|
+
export { ThemeContext, useTheme } from '@fluentui-react-native/design/theming';
|
|
7
3
|
//# sourceMappingURL=index.d.ts.map
|
package/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAIA,YAAY,EACV,gBAAgB,EAChB,iBAAiB,EACjB,qBAAqB,EACrB,KAAK,EACL,gBAAgB,EAChB,mBAAmB,EACnB,YAAY,EACZ,UAAU,EACV,eAAe,EACf,QAAQ,EACR,mBAAmB,EACnB,SAAS,EACT,UAAU,EACV,eAAe,EACf,WAAW,EACX,aAAa,EACb,OAAO,EACP,uBAAuB,EACvB,iBAAiB,EACjB,cAAc,EACd,uBAAuB,EACvB,YAAY,EACZ,iBAAiB,EACjB,WAAW,EACX,WAAW,EACX,OAAO,EACP,WAAW,EACX,KAAK,EACL,oBAAoB,EACpB,YAAY,EACZ,qBAAqB,EACrB,UAAU,EACV,OAAO,EACP,YAAY,EACZ,QAAQ,GACT,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,uCAAuC,CAAC"}
|
package/lib/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { ThemeContext, useTheme } from '
|
|
1
|
+
export { ThemeContext, useTheme } from '@fluentui-react-native/design/theming';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAyCA,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,uCAAuC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui-react-native/theme-types",
|
|
3
|
-
"version": "0.44.
|
|
3
|
+
"version": "0.44.6",
|
|
4
4
|
"description": "Typing only package for fluentui-react-native theme types",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -23,9 +23,8 @@
|
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
25
|
"scripts": {
|
|
26
|
-
"build": "
|
|
26
|
+
"build": "tsc -b",
|
|
27
27
|
"clean": "fluentui-scripts clean",
|
|
28
|
-
"depcheck": "fluentui-scripts depcheck",
|
|
29
28
|
"format": "fluentui-scripts format",
|
|
30
29
|
"lint": "fluentui-scripts lint",
|
|
31
30
|
"start": "fluentui-scripts dev",
|
|
@@ -33,6 +32,9 @@
|
|
|
33
32
|
"test": "fluentui-scripts jest",
|
|
34
33
|
"update-snapshots": "fluentui-scripts jest -u"
|
|
35
34
|
},
|
|
35
|
+
"dependencies": {
|
|
36
|
+
"@fluentui-react-native/design": "0.2.0"
|
|
37
|
+
},
|
|
36
38
|
"devDependencies": {
|
|
37
39
|
"@babel/core": "^7.20.0",
|
|
38
40
|
"@fluentui-react-native/scripts": "0.1.0",
|
|
@@ -47,11 +49,19 @@
|
|
|
47
49
|
"peerDependencies": {
|
|
48
50
|
"@types/react": "~18.2.0 || ~19.0.0 || ~19.1.4",
|
|
49
51
|
"react": "18.2.0 || 19.0.0 || 19.1.4",
|
|
50
|
-
"react-native": "^0.73.0 || ^0.74.0 || ^0.78.0 || ^0.81.6"
|
|
52
|
+
"react-native": "^0.73.0 || ^0.74.0 || ^0.78.0 || ^0.81.6",
|
|
53
|
+
"react-native-macos": "^0.73.0 || ^0.74.0 || ^0.78.0 || ^0.81.0",
|
|
54
|
+
"react-native-windows": "^0.73.0 || ^0.74.0 || ^0.78.0 || ^0.81.0"
|
|
51
55
|
},
|
|
52
56
|
"peerDependenciesMeta": {
|
|
53
57
|
"@types/react": {
|
|
54
58
|
"optional": true
|
|
59
|
+
},
|
|
60
|
+
"react-native-macos": {
|
|
61
|
+
"optional": true
|
|
62
|
+
},
|
|
63
|
+
"react-native-windows": {
|
|
64
|
+
"optional": true
|
|
55
65
|
}
|
|
56
66
|
},
|
|
57
67
|
"rnx-kit": {
|
package/src/index.ts
CHANGED
|
@@ -1,16 +1,13 @@
|
|
|
1
|
+
// This package is a compatibility shim. The theme type definitions now live in
|
|
2
|
+
// the `@fluentui-react-native/design` package and are exposed via its `/theming`
|
|
3
|
+
// submodule. These re-exports preserve the existing `@fluentui-react-native/theme-types`
|
|
4
|
+
// entry point for backwards compatibility.
|
|
1
5
|
export type {
|
|
2
6
|
AliasColorTokens,
|
|
7
|
+
AppearanceOptions,
|
|
8
|
+
BaseShadowAliasTokens,
|
|
3
9
|
Color,
|
|
4
10
|
FabricWebPalette,
|
|
5
|
-
Palette,
|
|
6
|
-
PaletteBackgroundColors,
|
|
7
|
-
PaletteTextColors,
|
|
8
|
-
PartialPalette,
|
|
9
|
-
ThemeColorDefinition,
|
|
10
|
-
} from './Color.types';
|
|
11
|
-
export type { ShadowValue, ShadowToken, BaseShadowAliasTokens, ThemeShadowDefinition, PartialShadowDefinition } from './Shadow.types';
|
|
12
|
-
export type { AppearanceOptions, PartialTheme, Spacing, Theme, ThemeOptions } from './Theme.types';
|
|
13
|
-
export type {
|
|
14
11
|
FontDynamicTypeRamp,
|
|
15
12
|
FontFamilies,
|
|
16
13
|
FontFamily,
|
|
@@ -21,12 +18,25 @@ export type {
|
|
|
21
18
|
FontWeight,
|
|
22
19
|
FontWeightValue,
|
|
23
20
|
FontWeights,
|
|
21
|
+
OfficePalette,
|
|
22
|
+
Palette,
|
|
23
|
+
PaletteBackgroundColors,
|
|
24
|
+
PaletteTextColors,
|
|
25
|
+
PartialPalette,
|
|
26
|
+
PartialShadowDefinition,
|
|
27
|
+
PartialTheme,
|
|
24
28
|
PartialTypography,
|
|
29
|
+
ShadowToken,
|
|
30
|
+
ShadowValue,
|
|
31
|
+
Spacing,
|
|
25
32
|
TextStyling,
|
|
33
|
+
Theme,
|
|
34
|
+
ThemeColorDefinition,
|
|
35
|
+
ThemeOptions,
|
|
36
|
+
ThemeShadowDefinition,
|
|
26
37
|
Typography,
|
|
27
38
|
Variant,
|
|
28
39
|
VariantValue,
|
|
29
40
|
Variants,
|
|
30
|
-
} from '
|
|
31
|
-
export { ThemeContext, useTheme } from '
|
|
32
|
-
export type { OfficePalette } from './palette.types';
|
|
41
|
+
} from '@fluentui-react-native/design/theming';
|
|
42
|
+
export { ThemeContext, useTheme } from '@fluentui-react-native/design/theming';
|