@hero-design/rn 8.91.0 → 8.91.1
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/.turbo/turbo-build.log +2 -2
- package/CHANGELOG.md +7 -0
- package/es/index.js +2 -2
- package/lib/index.js +2 -2
- package/package.json +1 -1
- package/src/components/Success/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +2 -2
- package/src/theme/components/attachment.ts +1 -1
- package/src/theme/components/success.ts +1 -1
- package/stats/8.91.1/rn-stats.html +4842 -0
- package/types/theme/components/attachment.d.ts +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(node:
|
|
1
|
+
(node:3055) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time
|
|
2
2
|
(Use `node --trace-warnings ...` to show where the warning was created)
|
|
3
3
|
[36m
|
|
4
4
|
[1msrc/index.ts[22m → [1mlib/index.js, es/index.js[22m...[39m
|
|
@@ -10,4 +10,4 @@
|
|
|
10
10
|
[7m [0m [91m ~~~~~~~~~~~~~~~~~~~[0m
|
|
11
11
|
[39m
|
|
12
12
|
[1m[33m(!) [plugin node-resolve] preferring built-in module 'events' over local alternative at '/home/runner/work/hero-design/hero-design/node_modules/events/events.js', pass 'preferBuiltins: false' to disable this behavior or 'preferBuiltins: true' to disable this warning.or passing a function to 'preferBuiltins' to provide more fine-grained control over which built-in modules to prefer.[39m[22m
|
|
13
|
-
[32mcreated [1mlib/index.js, es/index.js[22m in [
|
|
13
|
+
[32mcreated [1mlib/index.js, es/index.js[22m in [1m52.1s[22m[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @hero-design/rn
|
|
2
2
|
|
|
3
|
+
## 8.91.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#3692](https://github.com/Thinkei/hero-design/pull/3692) [`55b61687842b3d6b7415195bab1e70fa272da600`](https://github.com/Thinkei/hero-design/commit/55b61687842b3d6b7415195bab1e70fa272da600) Thanks [@ttkien](https://github.com/ttkien)! - [Attachment] change highlightedBackground to decorativeSecondarySurface
|
|
8
|
+
[Success] change fullscreen background to defaultGlobalSurface
|
|
9
|
+
|
|
3
10
|
## 8.91.0
|
|
4
11
|
|
|
5
12
|
### Minor Changes
|
package/es/index.js
CHANGED
|
@@ -2387,7 +2387,7 @@ var getAlertTheme = function getAlertTheme(theme) {
|
|
|
2387
2387
|
|
|
2388
2388
|
var getAttachmentTheme = function getAttachmentTheme(theme) {
|
|
2389
2389
|
var colors = {
|
|
2390
|
-
highlightedBackground: theme.colors.
|
|
2390
|
+
highlightedBackground: theme.colors.decorativeSecondarySurface
|
|
2391
2391
|
};
|
|
2392
2392
|
var sizes = {
|
|
2393
2393
|
imageHeight: theme.sizes.xxxlarge,
|
|
@@ -3539,7 +3539,7 @@ var getSuccessTheme = function getSuccessTheme(theme) {
|
|
|
3539
3539
|
var colors = {
|
|
3540
3540
|
title: theme.colors.onDefaultGlobalSurface,
|
|
3541
3541
|
description: theme.colors.mutedOnDefaultGlobalSurface,
|
|
3542
|
-
fullScreenBackground: theme.colors.
|
|
3542
|
+
fullScreenBackground: theme.colors.defaultGlobalSurface,
|
|
3543
3543
|
inPageBackground: theme.colors.neutralGlobalSurface
|
|
3544
3544
|
};
|
|
3545
3545
|
var fontSizes = {
|
package/lib/index.js
CHANGED
|
@@ -2415,7 +2415,7 @@ var getAlertTheme = function getAlertTheme(theme) {
|
|
|
2415
2415
|
|
|
2416
2416
|
var getAttachmentTheme = function getAttachmentTheme(theme) {
|
|
2417
2417
|
var colors = {
|
|
2418
|
-
highlightedBackground: theme.colors.
|
|
2418
|
+
highlightedBackground: theme.colors.decorativeSecondarySurface
|
|
2419
2419
|
};
|
|
2420
2420
|
var sizes = {
|
|
2421
2421
|
imageHeight: theme.sizes.xxxlarge,
|
|
@@ -3567,7 +3567,7 @@ var getSuccessTheme = function getSuccessTheme(theme) {
|
|
|
3567
3567
|
var colors = {
|
|
3568
3568
|
title: theme.colors.onDefaultGlobalSurface,
|
|
3569
3569
|
description: theme.colors.mutedOnDefaultGlobalSurface,
|
|
3570
|
-
fullScreenBackground: theme.colors.
|
|
3570
|
+
fullScreenBackground: theme.colors.defaultGlobalSurface,
|
|
3571
3571
|
inPageBackground: theme.colors.neutralGlobalSurface
|
|
3572
3572
|
};
|
|
3573
3573
|
var fontSizes = {
|
package/package.json
CHANGED
|
@@ -64,7 +64,7 @@ exports[`theme returns correct theme object 1`] = `
|
|
|
64
64
|
},
|
|
65
65
|
"attachment": {
|
|
66
66
|
"colors": {
|
|
67
|
-
"highlightedBackground":
|
|
67
|
+
"highlightedBackground": undefined,
|
|
68
68
|
},
|
|
69
69
|
"radii": {
|
|
70
70
|
"container": 8,
|
|
@@ -1106,7 +1106,7 @@ exports[`theme returns correct theme object 1`] = `
|
|
|
1106
1106
|
"success": {
|
|
1107
1107
|
"colors": {
|
|
1108
1108
|
"description": "#4d6265",
|
|
1109
|
-
"fullScreenBackground": "#
|
|
1109
|
+
"fullScreenBackground": "#ffffff",
|
|
1110
1110
|
"inPageBackground": "#f6f6f7",
|
|
1111
1111
|
"title": "#001f23",
|
|
1112
1112
|
},
|
|
@@ -2,7 +2,7 @@ import type { GlobalTheme } from '../global';
|
|
|
2
2
|
|
|
3
3
|
const getAttachmentTheme = (theme: GlobalTheme) => {
|
|
4
4
|
const colors = {
|
|
5
|
-
highlightedBackground: theme.colors.
|
|
5
|
+
highlightedBackground: theme.colors.decorativeSecondarySurface,
|
|
6
6
|
};
|
|
7
7
|
|
|
8
8
|
const sizes = {
|
|
@@ -20,7 +20,7 @@ const getSuccessTheme = (theme: GlobalTheme) => {
|
|
|
20
20
|
const colors = {
|
|
21
21
|
title: theme.colors.onDefaultGlobalSurface,
|
|
22
22
|
description: theme.colors.mutedOnDefaultGlobalSurface,
|
|
23
|
-
fullScreenBackground: theme.colors.
|
|
23
|
+
fullScreenBackground: theme.colors.defaultGlobalSurface,
|
|
24
24
|
inPageBackground: theme.colors.neutralGlobalSurface,
|
|
25
25
|
};
|
|
26
26
|
|