@utilitywarehouse/hearth-react-native 0.32.4 → 0.32.5

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.
@@ -71,16 +71,6 @@ const config = {
71
71
  ...config.optimizeDeps,
72
72
  exclude: [...(config.optimizeDeps?.exclude || []), '@utilitywarehouse/hearth-svg-assets'],
73
73
  },
74
- build: {
75
- ...config.build,
76
- rolldownOptions: {
77
- ...config.build?.rolldownOptions,
78
- external: [
79
- ...(config.build?.rolldownOptions?.external || []),
80
- '@react-stately/utils',
81
- ],
82
- },
83
- },
84
74
  };
85
75
  },
86
76
  };
@@ -1,4 +1,3 @@
1
- import { setProjectAnnotations } from '@storybook/react-native-web-vite';
2
1
  import { vi } from 'vitest';
3
2
 
4
3
  // react-native-unistyles/mocks relies on Jest globals.
@@ -30,10 +29,3 @@ StyleSheet.configure({
30
29
  adaptiveThemes: false,
31
30
  },
32
31
  });
33
-
34
- const a11yAddonAnnotations = await import('@storybook/addon-a11y/preview');
35
- const projectAnnotations = await import('./preview');
36
-
37
- // This is an important step to apply the right configuration when testing your stories.
38
- // More info at: https://storybook.js.org/docs/api/portable-stories/portable-stories-vitest#setprojectannotations
39
- setProjectAnnotations([a11yAddonAnnotations as any, projectAnnotations as any]);
@@ -44,13 +44,13 @@ $ TIMING=1 eslint --fix .
44
44
 
45
45
  Rule | Time (ms) | Relative
46
46
  :----------------------------------------|----------:|--------:
47
- @typescript-eslint/no-unused-vars | 2115.502 | 60.0%
48
- react-hooks/rules-of-hooks | 141.299 | 4.0%
49
- no-global-assign | 128.266 | 3.6%
50
- react-hooks/exhaustive-deps | 107.897 | 3.1%
51
- no-misleading-character-class | 72.815 | 2.1%
52
- @typescript-eslint/ban-ts-comment | 70.843 | 2.0%
53
- no-loss-of-precision | 55.192 | 1.6%
54
- no-unexpected-multiline | 52.206 | 1.5%
55
- no-regex-spaces | 50.033 | 1.4%
56
- @typescript-eslint/no-unused-expressions | 49.226 | 1.4%
47
+ @typescript-eslint/no-unused-vars | 1547.609 | 55.9%
48
+ react-hooks/exhaustive-deps | 169.235 | 6.1%
49
+ no-global-assign | 113.807 | 4.1%
50
+ react-hooks/rules-of-hooks | 96.673 | 3.5%
51
+ no-useless-escape | 62.311 | 2.2%
52
+ @typescript-eslint/no-unused-expressions | 60.700 | 2.2%
53
+ no-misleading-character-class | 59.072 | 2.1%
54
+ no-unexpected-multiline | 53.691 | 1.9%
55
+ @typescript-eslint/ban-ts-comment | 42.984 | 1.6%
56
+ no-loss-of-precision | 41.540 | 1.5%
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @utilitywarehouse/hearth-react-native
2
2
 
3
+ ## 0.32.5
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1261](https://github.com/utilitywarehouse/hearth/pull/1261) [`745df73`](https://github.com/utilitywarehouse/hearth/commit/745df73a245dfe89d07aae5bac14256a4ff89e0a) Thanks [@robphoenix](https://github.com/robphoenix)! - 🧹 [HOUSEKEEPING]: Update dependencies
8
+
3
9
  ## 0.32.4
4
10
 
5
11
  ### Patch Changes
@@ -5,7 +5,7 @@ export declare const AccordionTrigger: import("react").ForwardRefExoticComponent
5
5
  states?: {
6
6
  active?: boolean;
7
7
  };
8
- }, "children"> & import("@gluestack-ui/accordion/lib/typescript/types").IAccordionTriggerProps & import("react").RefAttributes<import("react-native/types").PressableProps & {
8
+ }, "children"> & import("@gluestack-ui/accordion/lib/types").IAccordionTriggerProps & import("react").RefAttributes<import("react-native/types").PressableProps & {
9
9
  states?: {
10
10
  active?: boolean;
11
11
  };
@@ -9,6 +9,12 @@ import { BackToTopButton, NextPrevPage } from './components';
9
9
  The changelog for the Hearth React Native library. Here you can find all the changes, improvements, and bug fixes for each version.
10
10
 
11
11
 
12
+ ## 0.32.5
13
+
14
+ ### Patch Changes
15
+
16
+ - [#1261](https://github.com/utilitywarehouse/hearth/pull/1261) [`745df73`](https://github.com/utilitywarehouse/hearth/commit/745df73a245dfe89d07aae5bac14256a4ff89e0a) Thanks [@robphoenix](https://github.com/robphoenix)! - 🧹 [HOUSEKEEPING]: Update dependencies
17
+
12
18
  ## 0.32.4
13
19
 
14
20
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@utilitywarehouse/hearth-react-native",
3
- "version": "0.32.4",
3
+ "version": "0.32.5",
4
4
  "description": "Utility Warehouse React Native UI library",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -8,7 +8,7 @@
8
8
  "type": "module",
9
9
  "sideEffects": false,
10
10
  "dependencies": {
11
- "@gluestack-ui/accordion": "1.0.7",
11
+ "@gluestack-ui/accordion": "1.0.14",
12
12
  "@gluestack-ui/alert": "0.1.15",
13
13
  "@gluestack-ui/button": "1.0.7",
14
14
  "@gluestack-ui/checkbox": "0.1.32",
@@ -22,6 +22,7 @@
22
22
  "@gluestack-ui/switch": "0.1.22",
23
23
  "@gluestack-ui/textarea": "0.1.23",
24
24
  "@quidone/react-native-wheel-picker": "^1.6.1",
25
+ "@react-stately/utils": "^3.12.1",
25
26
  "dayjs": "^1.11.13",
26
27
  "nanoid": "3.3.11"
27
28
  },
@@ -30,7 +31,6 @@
30
31
  "@chromatic-com/storybook": "^4.1.3",
31
32
  "@figma/code-connect": "^1.3.12",
32
33
  "@gorhom/bottom-sheet": "5.2.6",
33
- "@react-stately/utils": "^3.12.0",
34
34
  "@storybook/addon-a11y": "^10.2.1",
35
35
  "@storybook/addon-docs": "^10.2.1",
36
36
  "@storybook/addon-vitest": "^10.2.1",
@@ -67,7 +67,7 @@
67
67
  "@utilitywarehouse/hearth-react-icons": "^0.8.2",
68
68
  "@utilitywarehouse/hearth-react-native-icons": "^0.8.1",
69
69
  "@utilitywarehouse/hearth-svg-assets": "^0.6.2",
70
- "@utilitywarehouse/hearth-tokens": "^0.2.4"
70
+ "@utilitywarehouse/hearth-tokens": "^0.3.0"
71
71
  },
72
72
  "peerDependencies": {
73
73
  "@gorhom/bottom-sheet": ">=5.0.0",
@@ -82,7 +82,7 @@
82
82
  "react-native-web": ">=0.19"
83
83
  },
84
84
  "scripts": {
85
- "clean": "rm -rf node_modules rm -rf build .turbo",
85
+ "clean": "rm -rf node_modules build .turbo",
86
86
  "generateColours": "node ./scripts/generateColours.js",
87
87
  "copyTokens": "node ./scripts/copyTokens.js",
88
88
  "copy:changelog": "node ./scripts/copyChangelog.js",
@@ -23,7 +23,7 @@ figma.connect(
23
23
  Rating,
24
24
  'https://www.figma.com/design/6NKZXZhFSExXrcbBgc6zTR/Hearth-Components---Tokens?node-id=10620-4185',
25
25
  {
26
- variant: { Variant: 'Emojis' },
26
+ // variant: { Variant: 'Emojis' },
27
27
  props: {
28
28
  value: figma.enum('Rating', {
29
29
  '0 Star': 0,
package/vitest.config.js CHANGED
@@ -8,6 +8,9 @@ const dirname =
8
8
 
9
9
  // More info at: https://storybook.js.org/docs/next/writing-tests/integrations/vitest-addon
10
10
  export default defineConfig({
11
+ optimizeDeps: {
12
+ include: ['@react-stately/utils'],
13
+ },
11
14
  test: {
12
15
  projects: [
13
16
  {