@hero-design/rn 8.105.0 → 8.105.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:3326) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time
1
+ (node:3323) 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...
@@ -15,9 +15,9 @@ node_modules/d3-selection/src/selection/index.js -> node_modules/d3-selection/sr
15
15
     ~~~~~~~~~~~~~~~~~~~
16
16
  
17
17
  (!) [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.
18
- created lib/index.js, es/index.js in 1m 11.2s
18
+ created lib/index.js, es/index.js in 1m 15s
19
19
  
20
20
  /home/runner/work/hero-design/hero-design/packages/rn/src/locales/en_AU.ts, /home/runner/work/hero-design/hero-design/packages/rn/src/locales/en_CA.ts, /home/runner/work/hero-design/hero-design/packages/rn/src/locales/index.ts, /home/runner/work/hero-design/hero-design/packages/rn/src/locales/types.ts → ., ....
21
21
  (!) Generated empty chunks
22
22
  "locales/types" and "locales/types"
23
- created ., . in 22.8s
23
+ created ., . in 23.6s
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @hero-design/rn
2
2
 
3
+ ## 8.105.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#4133](https://github.com/Thinkei/hero-design/pull/4133) [`8e945d988d61e6417e05b1c3c2aa6dc381dfd723`](https://github.com/Thinkei/hero-design/commit/8e945d988d61e6417e05b1c3c2aa6dc381dfd723) Thanks [@ttkien](https://github.com/ttkien)! - [Badge] Fix mis-alignment Badge Count on iOS
8
+
9
+ - [#4142](https://github.com/Thinkei/hero-design/pull/4142) [`bdfe001823336624c8738fe07caf0fa1eba1cd86`](https://github.com/Thinkei/hero-design/commit/bdfe001823336624c8738fe07caf0fa1eba1cd86) Thanks [@dathuynh-eh](https://github.com/dathuynh-eh)! - Update thumb up icon
10
+
3
11
  ## 8.105.0
4
12
 
5
13
  ### Minor Changes
Binary file
package/es/index.js CHANGED
@@ -5580,7 +5580,7 @@ var getBadgeTheme = function getBadgeTheme(theme) {
5580
5580
  count: Platform.select({
5581
5581
  android: 14,
5582
5582
  // vertical alignment
5583
- "default": 18
5583
+ "default": theme.lineHeights.small
5584
5584
  })
5585
5585
  };
5586
5586
  var radii = {
package/lib/index.js CHANGED
@@ -5609,7 +5609,7 @@ var getBadgeTheme = function getBadgeTheme(theme) {
5609
5609
  count: reactNative.Platform.select({
5610
5610
  android: 14,
5611
5611
  // vertical alignment
5612
- "default": 18
5612
+ "default": theme.lineHeights.small
5613
5613
  })
5614
5614
  };
5615
5615
  var radii = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hero-design/rn",
3
- "version": "8.105.0",
3
+ "version": "8.105.1",
4
4
  "license": "MIT",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -65,7 +65,7 @@ exports[`BadgeCount displays 1 for content 1 1`] = `
65
65
  "color": "#ffffff",
66
66
  "fontSize": 8,
67
67
  "height": 16,
68
- "lineHeight": 18,
68
+ "lineHeight": 16,
69
69
  },
70
70
  undefined,
71
71
  ],
@@ -168,7 +168,7 @@ exports[`BadgeCount displays 12 for content 12 1`] = `
168
168
  "color": "#ffffff",
169
169
  "fontSize": 8,
170
170
  "height": 16,
171
- "lineHeight": 18,
171
+ "lineHeight": 16,
172
172
  },
173
173
  undefined,
174
174
  ],
@@ -271,7 +271,7 @@ exports[`BadgeCount displays 99+ for content 999 1`] = `
271
271
  "color": "#ffffff",
272
272
  "fontSize": 8,
273
273
  "height": 16,
274
- "lineHeight": 18,
274
+ "lineHeight": 16,
275
275
  },
276
276
  undefined,
277
277
  ],
@@ -170,7 +170,7 @@ exports[`theme returns correct theme object 1`] = `
170
170
  "small": "BeVietnamPro-SemiBold",
171
171
  },
172
172
  "lineHeights": {
173
- "count": 18,
173
+ "count": 16,
174
174
  "medium": 16,
175
175
  "small": 10,
176
176
  },
@@ -34,7 +34,7 @@ const getBadgeTheme = (theme: GlobalTheme) => {
34
34
  small: 10,
35
35
  count: Platform.select({
36
36
  android: 14, // vertical alignment
37
- default: 18,
37
+ default: theme.lineHeights.small,
38
38
  }),
39
39
  };
40
40