@utilitywarehouse/hearth-react-native 0.29.0 → 0.29.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
1
 
2
- > @utilitywarehouse/hearth-react-native@0.29.0 build /home/runner/work/hearth/hearth/packages/react-native
2
+ > @utilitywarehouse/hearth-react-native@0.29.1 build /home/runner/work/hearth/hearth/packages/react-native
3
3
  > tsc
4
4
 
@@ -1,5 +1,5 @@
1
1
 
2
- > @utilitywarehouse/hearth-react-native@0.29.0 lint /home/runner/work/hearth/hearth/packages/react-native
2
+ > @utilitywarehouse/hearth-react-native@0.29.1 lint /home/runner/work/hearth/hearth/packages/react-native
3
3
  > TIMING=1 eslint .
4
4
 
5
5
 
@@ -51,15 +51,15 @@
51
51
 
52
52
  ✖ 22 problems (0 errors, 22 warnings)
53
53
 
54
- Rule | Time (ms) | Relative
55
- :-----------------------------------------|----------:|--------:
56
- @typescript-eslint/no-unused-vars | 1560.145 | 62.1%
57
- react-hooks/exhaustive-deps | 117.093 | 4.7%
58
- no-global-assign | 95.045 | 3.8%
59
- react-hooks/rules-of-hooks | 70.847 | 2.8%
60
- no-misleading-character-class | 41.174 | 1.6%
61
- @typescript-eslint/ban-ts-comment | 40.449 | 1.6%
62
- no-unexpected-multiline | 38.671 | 1.5%
63
- no-useless-escape | 35.996 | 1.4%
64
- @typescript-eslint/no-unused-expressions | 34.583 | 1.4%
65
- @typescript-eslint/triple-slash-reference | 33.557 | 1.3%
54
+ Rule | Time (ms) | Relative
55
+ :-------------------------------------------------|----------:|--------:
56
+ @typescript-eslint/no-unused-vars | 1543.146 | 60.0%
57
+ react-hooks/exhaustive-deps | 137.989 | 5.4%
58
+ no-global-assign | 91.047 | 3.5%
59
+ react-hooks/rules-of-hooks | 90.077 | 3.5%
60
+ @typescript-eslint/no-unnecessary-type-constraint | 40.362 | 1.6%
61
+ no-loss-of-precision | 40.140 | 1.6%
62
+ no-unexpected-multiline | 37.188 | 1.4%
63
+ no-regex-spaces | 35.566 | 1.4%
64
+ @typescript-eslint/ban-ts-comment | 34.241 | 1.3%
65
+ no-fallthrough | 31.788 | 1.2%
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # @utilitywarehouse/hearth-react-native
2
2
 
3
+ ## 0.29.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1062](https://github.com/utilitywarehouse/hearth/pull/1062) [`0da3ffe`](https://github.com/utilitywarehouse/hearth/commit/0da3ffe12691a4287694ae9fcb2290d459e3c041) Thanks [@jordmccord](https://github.com/jordmccord)! - 🐛 [FIX]: Respect the selected `NavModal` background style
8
+
9
+ Fixed an issue where `NavModal` always rendered its inner content with the default surface background, which prevented the `background="brand"` treatment from being applied correctly.
10
+
11
+ **Components affected**:
12
+ - `NavModal`
13
+
14
+ **Developer changes**:
15
+
16
+ No changes are required.
17
+
3
18
  ## 0.29.0
4
19
 
5
20
  ### Minor Changes
@@ -152,7 +152,9 @@ const styles = StyleSheet.create((theme, rt) => ({
152
152
  flex: 1,
153
153
  variants: {
154
154
  background: {
155
- primary: {},
155
+ primary: {
156
+ backgroundColor: theme.color.surface.neutral.strong,
157
+ },
156
158
  brand: {
157
159
  backgroundColor: theme.color.background.brand,
158
160
  },
@@ -161,11 +163,9 @@ const styles = StyleSheet.create((theme, rt) => ({
161
163
  modal: {
162
164
  borderTopLeftRadius: theme.components.modal.borderRadius,
163
165
  borderTopRightRadius: theme.components.modal.borderRadius,
164
- backgroundColor: theme.color.surface.neutral.strong,
165
166
  padding: theme.components.bottomSheet.padding,
166
167
  },
167
168
  fullScreen: {
168
- backgroundColor: theme.color.surface.neutral.strong,
169
169
  padding: theme.components.bottomSheet.padding,
170
170
  },
171
171
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@utilitywarehouse/hearth-react-native",
3
- "version": "0.29.0",
3
+ "version": "0.29.1",
4
4
  "description": "Utility Warehouse React Native UI library",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -60,8 +60,8 @@
60
60
  "@utilitywarehouse/hearth-fonts": "^0.0.4",
61
61
  "@utilitywarehouse/hearth-react-icons": "^0.8.0",
62
62
  "@utilitywarehouse/hearth-react-native-icons": "^0.8.0",
63
- "@utilitywarehouse/hearth-svg-assets": "^0.5.0",
64
- "@utilitywarehouse/hearth-tokens": "^0.2.4"
63
+ "@utilitywarehouse/hearth-tokens": "^0.2.4",
64
+ "@utilitywarehouse/hearth-svg-assets": "^0.5.0"
65
65
  },
66
66
  "peerDependencies": {
67
67
  "@gorhom/bottom-sheet": ">=5.0.0",
@@ -336,7 +336,9 @@ const styles = StyleSheet.create((theme, rt) => ({
336
336
  flex: 1,
337
337
  variants: {
338
338
  background: {
339
- primary: {},
339
+ primary: {
340
+ backgroundColor: theme.color.surface.neutral.strong,
341
+ },
340
342
  brand: {
341
343
  backgroundColor: theme.color.background.brand,
342
344
  },
@@ -345,11 +347,9 @@ const styles = StyleSheet.create((theme, rt) => ({
345
347
  modal: {
346
348
  borderTopLeftRadius: theme.components.modal.borderRadius,
347
349
  borderTopRightRadius: theme.components.modal.borderRadius,
348
- backgroundColor: theme.color.surface.neutral.strong,
349
350
  padding: theme.components.bottomSheet.padding,
350
351
  },
351
352
  fullScreen: {
352
- backgroundColor: theme.color.surface.neutral.strong,
353
353
  padding: theme.components.bottomSheet.padding,
354
354
  },
355
355
  },