@fluentui-react-native/themed-stylesheet 1.4.1 → 1.4.3
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 +52 -1
- package/CHANGELOG.md +19 -2
- package/lib/themedStyleSheet.d.ts +2 -2
- package/lib/themedStyleSheet.d.ts.map +1 -1
- package/lib/themedStyleSheet.js.map +1 -1
- package/lib-commonjs/themedStyleSheet.d.ts +2 -2
- package/lib-commonjs/themedStyleSheet.d.ts.map +1 -1
- package/lib-commonjs/themedStyleSheet.js.map +1 -1
- package/package.json +15 -9
- package/src/themedStyleSheet.ts +3 -1
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,58 @@
|
|
|
2
2
|
"name": "@fluentui-react-native/themed-stylesheet",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "Fri,
|
|
5
|
+
"date": "Fri, 24 Feb 2023 20:36:25 GMT",
|
|
6
|
+
"tag": "@fluentui-react-native/themed-stylesheet_v1.4.3",
|
|
7
|
+
"version": "1.4.3",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "78454019+lyzhan7@users.noreply.github.com",
|
|
12
|
+
"package": "@fluentui-react-native/themed-stylesheet",
|
|
13
|
+
"commit": "743bd1507af336a62946361f3fe3c800ae5bd4c2",
|
|
14
|
+
"comment": "Order imports"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"date": "Wed, 01 Feb 2023 22:33:17 GMT",
|
|
21
|
+
"tag": "@fluentui-react-native/themed-stylesheet_v1.4.2",
|
|
22
|
+
"version": "1.4.2",
|
|
23
|
+
"comments": {
|
|
24
|
+
"patch": [
|
|
25
|
+
{
|
|
26
|
+
"author": "30809111+acoates-ms@users.noreply.github.com",
|
|
27
|
+
"package": "@fluentui-react-native/themed-stylesheet",
|
|
28
|
+
"commit": "2d0138c80d7512b905fcf32583760bec2b911910",
|
|
29
|
+
"comment": "Enable @typescript-eslint/consistent-type-imports"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"author": "beachball",
|
|
33
|
+
"package": "@fluentui-react-native/themed-stylesheet",
|
|
34
|
+
"comment": "Bump @fluentui-react-native/memo-cache to v1.1.8",
|
|
35
|
+
"commit": "2d0138c80d7512b905fcf32583760bec2b911910"
|
|
36
|
+
}
|
|
37
|
+
]
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"date": "Mon, 30 Jan 2023 15:17:32 GMT",
|
|
42
|
+
"tag": "@fluentui-react-native/themed-stylesheet_v1.4.1",
|
|
43
|
+
"version": "1.4.1",
|
|
44
|
+
"comments": {
|
|
45
|
+
"none": [
|
|
46
|
+
{
|
|
47
|
+
"author": "4123478+tido64@users.noreply.github.com",
|
|
48
|
+
"package": "@fluentui-react-native/themed-stylesheet",
|
|
49
|
+
"commit": "4de4c2b37c835ebd9af015ff767f9dd68452f786",
|
|
50
|
+
"comment": "Migrate to align-deps"
|
|
51
|
+
}
|
|
52
|
+
]
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"date": "Fri, 30 Sep 2022 00:54:37 GMT",
|
|
6
57
|
"tag": "@fluentui-react-native/themed-stylesheet_v1.4.1",
|
|
7
58
|
"version": "1.4.1",
|
|
8
59
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,29 @@
|
|
|
1
1
|
# Change Log - @fluentui-react-native/themed-stylesheet
|
|
2
2
|
|
|
3
|
-
This log was last generated on Fri,
|
|
3
|
+
This log was last generated on Fri, 24 Feb 2023 20:36:25 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 1.4.3
|
|
8
|
+
|
|
9
|
+
Fri, 24 Feb 2023 20:36:25 GMT
|
|
10
|
+
|
|
11
|
+
### Patches
|
|
12
|
+
|
|
13
|
+
- Order imports (78454019+lyzhan7@users.noreply.github.com)
|
|
14
|
+
|
|
15
|
+
## 1.4.2
|
|
16
|
+
|
|
17
|
+
Wed, 01 Feb 2023 22:33:17 GMT
|
|
18
|
+
|
|
19
|
+
### Patches
|
|
20
|
+
|
|
21
|
+
- Enable @typescript-eslint/consistent-type-imports (30809111+acoates-ms@users.noreply.github.com)
|
|
22
|
+
- Bump @fluentui-react-native/memo-cache to v1.1.8
|
|
23
|
+
|
|
7
24
|
## 1.4.1
|
|
8
25
|
|
|
9
|
-
Fri, 30 Sep 2022 00:
|
|
26
|
+
Fri, 30 Sep 2022 00:54:37 GMT
|
|
10
27
|
|
|
11
28
|
### Patches
|
|
12
29
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ViewStyle, TextStyle, ImageStyle } from 'react-native';
|
|
1
|
+
import type { ViewStyle, TextStyle, ImageStyle } from 'react-native';
|
|
2
2
|
/**
|
|
3
3
|
* Signature for inputs and outputs for StyleSheet.create. This is a collection of named styles which can
|
|
4
4
|
* be used as inputs for the style property on components and matches what StyleSheet.create accepts
|
|
5
5
|
*/
|
|
6
|
-
export
|
|
6
|
+
export type NamedStyles<T> = {
|
|
7
7
|
[P in keyof T]: ViewStyle | TextStyle | ImageStyle;
|
|
8
8
|
};
|
|
9
9
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"themedStyleSheet.d.ts","sourceRoot":"","sources":["../src/themedStyleSheet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,UAAU,
|
|
1
|
+
{"version":3,"file":"themedStyleSheet.d.ts","sourceRoot":"","sources":["../src/themedStyleSheet.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAKrE;;;GAGG;AAEH,MAAM,MAAM,WAAW,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,SAAS,GAAG,SAAS,GAAG,UAAU;CAAE,CAAC;AAEpF;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAEH,wBAAgB,gBAAgB,CAAC,OAAO,SAAS,WAAW,CAAC,OAAO,CAAC,EAAE,MAAM,SAAS,MAAM,EAC1F,SAAS,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,WAAW,CAAC,OAAO,CAAC,GACjD,CAAC,KAAK,EAAE,MAAM,KAAK,WAAW,CAAC,OAAO,CAAC,CAQzC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"themedStyleSheet.js","sourceRoot":"","sources":["../src/themedStyleSheet.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"themedStyleSheet.js","sourceRoot":"","sources":["../src/themedStyleSheet.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,OAAO,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AASjE;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,wDAAwD;AACxD,MAAM,UAAU,gBAAgB,CAC9B,SAAkD;IAElD,iDAAiD;IACjD,IAAM,KAAK,GAAG,YAAY,EAAE,CAAC;IAE7B,wCAAwC;IACxC,OAAO,UAAC,KAAa;QACnB,OAAO,KAAK,CAAC,cAAM,OAAA,UAAU,CAAC,MAAM,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,EAAnC,CAAmC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IACtE,CAAC,CAAC;AACJ,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ViewStyle, TextStyle, ImageStyle } from 'react-native';
|
|
1
|
+
import type { ViewStyle, TextStyle, ImageStyle } from 'react-native';
|
|
2
2
|
/**
|
|
3
3
|
* Signature for inputs and outputs for StyleSheet.create. This is a collection of named styles which can
|
|
4
4
|
* be used as inputs for the style property on components and matches what StyleSheet.create accepts
|
|
5
5
|
*/
|
|
6
|
-
export
|
|
6
|
+
export type NamedStyles<T> = {
|
|
7
7
|
[P in keyof T]: ViewStyle | TextStyle | ImageStyle;
|
|
8
8
|
};
|
|
9
9
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"themedStyleSheet.d.ts","sourceRoot":"","sources":["../src/themedStyleSheet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,UAAU,
|
|
1
|
+
{"version":3,"file":"themedStyleSheet.d.ts","sourceRoot":"","sources":["../src/themedStyleSheet.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAKrE;;;GAGG;AAEH,MAAM,MAAM,WAAW,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,SAAS,GAAG,SAAS,GAAG,UAAU;CAAE,CAAC;AAEpF;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAEH,wBAAgB,gBAAgB,CAAC,OAAO,SAAS,WAAW,CAAC,OAAO,CAAC,EAAE,MAAM,SAAS,MAAM,EAC1F,SAAS,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,WAAW,CAAC,OAAO,CAAC,GACjD,CAAC,KAAK,EAAE,MAAM,KAAK,WAAW,CAAC,OAAO,CAAC,CAQzC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"themedStyleSheet.js","sourceRoot":"","sources":["../src/themedStyleSheet.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"themedStyleSheet.js","sourceRoot":"","sources":["../src/themedStyleSheet.ts"],"names":[],"mappings":";;;AACA,6CAA0C;AAE1C,gEAAiE;AASjE;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,wDAAwD;AACxD,SAAgB,gBAAgB,CAC9B,SAAkD;IAElD,iDAAiD;IACjD,IAAM,KAAK,GAAG,IAAA,yBAAY,GAAE,CAAC;IAE7B,wCAAwC;IACxC,OAAO,UAAC,KAAa;QACnB,OAAO,KAAK,CAAC,cAAM,OAAA,yBAAU,CAAC,MAAM,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,EAAnC,CAAmC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IACtE,CAAC,CAAC;AACJ,CAAC;AAVD,4CAUC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui-react-native/themed-stylesheet",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.3",
|
|
4
4
|
"description": "Helper for using react-native StyleSheets with themes",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"author": "",
|
|
28
28
|
"license": "MIT",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@fluentui-react-native/memo-cache": "^1.1.
|
|
30
|
+
"@fluentui-react-native/memo-cache": "^1.1.8"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@fluentui-react-native/eslint-config-rules": "^0.1.1",
|
|
@@ -41,13 +41,19 @@
|
|
|
41
41
|
"react-native": "^0.68.0"
|
|
42
42
|
},
|
|
43
43
|
"rnx-kit": {
|
|
44
|
-
"reactNativeVersion": "^0.68",
|
|
45
|
-
"reactNativeDevVersion": "^0.68",
|
|
46
44
|
"kitType": "library",
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
45
|
+
"alignDeps": {
|
|
46
|
+
"presets": [
|
|
47
|
+
"microsoft/react-native"
|
|
48
|
+
],
|
|
49
|
+
"requirements": [
|
|
50
|
+
"react-native@0.68"
|
|
51
|
+
],
|
|
52
|
+
"capabilities": [
|
|
53
|
+
"core",
|
|
54
|
+
"core-android",
|
|
55
|
+
"core-ios"
|
|
56
|
+
]
|
|
57
|
+
}
|
|
52
58
|
}
|
|
53
59
|
}
|
package/src/themedStyleSheet.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import { ViewStyle, TextStyle, ImageStyle
|
|
1
|
+
import type { ViewStyle, TextStyle, ImageStyle } from 'react-native';
|
|
2
|
+
import { StyleSheet } from 'react-native';
|
|
3
|
+
|
|
2
4
|
import { getMemoCache } from '@fluentui-react-native/memo-cache';
|
|
3
5
|
|
|
4
6
|
/**
|