@rnw-community/fast-style 0.72.0 → 0.74.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/dist/cjs/flex/flex.d.ts +1 -1
- package/dist/cjs/font/font.d.ts +3 -3
- package/dist/cjs/font/font.d.ts.map +1 -1
- package/dist/cjs/font/font.js.map +1 -1
- package/dist/esm/flex/flex.d.ts +1 -1
- package/dist/esm/font/font.d.ts +3 -3
- package/dist/esm/font/font.d.ts.map +1 -1
- package/dist/esm/font/font.js.map +1 -1
- package/package.json +4 -4
package/dist/cjs/flex/flex.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FlexAlignItemsEnum } from '../enum/flex-align-items.enum';
|
|
2
2
|
import { FlexDirectionEnum } from '../enum/flex-direction.enum';
|
|
3
3
|
import { FlexJustifyContentEnum } from '../enum/flex-justify-content.enum';
|
|
4
|
-
export declare const Flex: import("@rnw-community/object-field-tree
|
|
4
|
+
export declare const Flex: import("@rnw-community/object-field-tree").CombineReturn3<{
|
|
5
5
|
flexDirection: FlexDirectionEnum;
|
|
6
6
|
justifyContent: FlexJustifyContentEnum;
|
|
7
7
|
alignItems: FlexAlignItemsEnum;
|
package/dist/cjs/font/font.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { type CombineReturn3 } from '@rnw-community/object-field-tree';
|
|
2
2
|
import type { Enum } from '@rnw-community/shared';
|
|
3
|
-
import type { TextStyle } from 'react-native';
|
|
4
|
-
export declare const getFont: <TFamily extends Enum
|
|
3
|
+
import type { ColorValue, TextStyle } from 'react-native';
|
|
4
|
+
export declare const getFont: <TFamily extends Enum<string | undefined>, TSize extends Enum, TColor extends Enum<ColorValue | undefined>>(fontFamilyObj: TFamily, fontSizeObj: TSize, fontColorObj: TColor, additionalStyle?: TextStyle) => CombineReturn3<TextStyle, TFamily, TSize, TColor>;
|
|
5
5
|
//# sourceMappingURL=font.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"font.d.ts","sourceRoot":"","sources":["../../../src/font/font.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"font.d.ts","sourceRoot":"","sources":["../../../src/font/font.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAW,MAAM,kCAAkC,CAAC;AAEhF,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE1D,eAAO,MAAM,OAAO,GAChB,OAAO,SAAS,IAAI,CAAC,MAAM,GAAG,SAAS,CAAC,EACxC,KAAK,SAAS,IAAI,EAClB,MAAM,SAAS,IAAI,CAAC,UAAU,GAAG,SAAS,CAAC,iBAE5B,OAAO,eACT,KAAK,gBACJ,MAAM,oBACH,SAAS,KAC3B,cAAc,CAAC,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,CAgBlD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"font.js","sourceRoot":"","sources":["../../../src/font/font.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"font.js","sourceRoot":"","sources":["../../../src/font/font.ts"],"names":[],"mappings":";;;AAAA,wEAAgF;AAKzE,MAAM,OAAO,GAAG,CAKnB,aAAsB,EACtB,WAAkB,EAClB,YAAoB,EACpB,kBAA6B,EAAE,EACkB,EAAE;IACnD,IAAI,MAAM,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,OAAO,IAAI,KAAK,QAAQ,CAAC,EAAE,CAAC;QACpE,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;IAC3D,CAAC;IAED,OAAO,IAAA,2BAAO,EACV,CAAC,UAAU,EAAE,QAAQ,EAAE,KAAK,EAAa,EAAE,CAAC,CAAC;QACzC,UAAU,EAAE,aAAa,CAAC,UAAU,CAAC;QACrC,QAAQ,EAAE,QAAQ,CAAC,WAAW,CAAC,QAAQ,CAAW,EAAE,EAAE,CAAC;QACvD,KAAK,EAAE,YAAY,CAAC,KAAK,CAAC;QAC1B,GAAG,eAAe;KACrB,CAAC,EACF,aAAa,EACb,WAAW,EACX,YAAY,CACf,CAAC;AACN,CAAC,CAAC;AAzBW,QAAA,OAAO,WAyBlB"}
|
package/dist/esm/flex/flex.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FlexAlignItemsEnum } from '../enum/flex-align-items.enum';
|
|
2
2
|
import { FlexDirectionEnum } from '../enum/flex-direction.enum';
|
|
3
3
|
import { FlexJustifyContentEnum } from '../enum/flex-justify-content.enum';
|
|
4
|
-
export declare const Flex: import("@rnw-community/object-field-tree
|
|
4
|
+
export declare const Flex: import("@rnw-community/object-field-tree").CombineReturn3<{
|
|
5
5
|
flexDirection: FlexDirectionEnum;
|
|
6
6
|
justifyContent: FlexJustifyContentEnum;
|
|
7
7
|
alignItems: FlexAlignItemsEnum;
|
package/dist/esm/font/font.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { type CombineReturn3 } from '@rnw-community/object-field-tree';
|
|
2
2
|
import type { Enum } from '@rnw-community/shared';
|
|
3
|
-
import type { TextStyle } from 'react-native';
|
|
4
|
-
export declare const getFont: <TFamily extends Enum
|
|
3
|
+
import type { ColorValue, TextStyle } from 'react-native';
|
|
4
|
+
export declare const getFont: <TFamily extends Enum<string | undefined>, TSize extends Enum, TColor extends Enum<ColorValue | undefined>>(fontFamilyObj: TFamily, fontSizeObj: TSize, fontColorObj: TColor, additionalStyle?: TextStyle) => CombineReturn3<TextStyle, TFamily, TSize, TColor>;
|
|
5
5
|
//# sourceMappingURL=font.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"font.d.ts","sourceRoot":"","sources":["../../../src/font/font.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"font.d.ts","sourceRoot":"","sources":["../../../src/font/font.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAW,MAAM,kCAAkC,CAAC;AAEhF,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE1D,eAAO,MAAM,OAAO,GAChB,OAAO,SAAS,IAAI,CAAC,MAAM,GAAG,SAAS,CAAC,EACxC,KAAK,SAAS,IAAI,EAClB,MAAM,SAAS,IAAI,CAAC,UAAU,GAAG,SAAS,CAAC,iBAE5B,OAAO,eACT,KAAK,gBACJ,MAAM,oBACH,SAAS,KAC3B,cAAc,CAAC,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,CAgBlD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"font.js","sourceRoot":"","sources":["../../../src/font/font.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"font.js","sourceRoot":"","sources":["../../../src/font/font.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,OAAO,EAAE,MAAM,kCAAkC,CAAC;AAKhF,MAAM,CAAC,MAAM,OAAO,GAAG,CAKnB,aAAsB,EACtB,WAAkB,EAClB,YAAoB,EACpB,kBAA6B,EAAE,EACkB,EAAE;IACnD,IAAI,MAAM,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,OAAO,IAAI,KAAK,QAAQ,CAAC,EAAE,CAAC;QACpE,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;IAC3D,CAAC;IAED,OAAO,OAAO,CACV,CAAC,UAAU,EAAE,QAAQ,EAAE,KAAK,EAAa,EAAE,CAAC,CAAC;QACzC,UAAU,EAAE,aAAa,CAAC,UAAU,CAAC;QACrC,QAAQ,EAAE,QAAQ,CAAC,WAAW,CAAC,QAAQ,CAAW,EAAE,EAAE,CAAC;QACvD,KAAK,EAAE,YAAY,CAAC,KAAK,CAAC;QAC1B,GAAG,eAAe;KACrB,CAAC,EACF,aAAa,EACb,WAAW,EACX,YAAY,CACf,CAAC;AACN,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rnw-community/fast-style",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.74.0",
|
|
4
4
|
"description": "Fast react native flex and font styling",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"object field tree",
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
"node": ">=18.0.0"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@rnw-community/object-field-tree": "0.
|
|
47
|
-
"@rnw-community/shared": "0.
|
|
46
|
+
"@rnw-community/object-field-tree": "0.74.0",
|
|
47
|
+
"@rnw-community/shared": "0.74.0"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
50
|
"react-native": "^0.72.3"
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"react-native": "^0.72.3"
|
|
54
54
|
},
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "6a0fc21b257d1cde19e38b0670b2c27610bc67bb"
|
|
56
56
|
}
|