@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.
@@ -1,4 +1,4 @@
1
- (node:3074) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time
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
  
4
4
  src/index.ts → lib/index.js, es/index.js...
@@ -10,4 +10,4 @@
10
10
     ~~~~~~~~~~~~~~~~~~~
11
11
  
12
12
  (!) [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.
13
- created lib/index.js, es/index.js in 51.7s
13
+ created lib/index.js, es/index.js in 52.1s
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.highlightedSurface
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.decorativePrimarySurface,
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.highlightedSurface
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.decorativePrimarySurface,
3570
+ fullScreenBackground: theme.colors.defaultGlobalSurface,
3571
3571
  inPageBackground: theme.colors.neutralGlobalSurface
3572
3572
  };
3573
3573
  var fontSizes = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hero-design/rn",
3
- "version": "8.91.0",
3
+ "version": "8.91.1",
4
4
  "license": "MIT",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -44,7 +44,7 @@ exports[`Success renders full screen success page correctly 1`] = `
44
44
  style={
45
45
  [
46
46
  {
47
- "backgroundColor": "#ccd2d3",
47
+ "backgroundColor": "#ffffff",
48
48
  "display": "flex",
49
49
  "flex": 1,
50
50
  "flexDirection": "column",
@@ -64,7 +64,7 @@ exports[`theme returns correct theme object 1`] = `
64
64
  },
65
65
  "attachment": {
66
66
  "colors": {
67
- "highlightedBackground": "#ece8ef",
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": "#ccd2d3",
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.highlightedSurface,
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.decorativePrimarySurface,
23
+ fullScreenBackground: theme.colors.defaultGlobalSurface,
24
24
  inPageBackground: theme.colors.neutralGlobalSurface,
25
25
  };
26
26