@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.
- package/.storybook/main.ts +0 -10
- package/.storybook/vitest.setup.ts +0 -8
- package/.turbo/turbo-lint$colon$fix.log +10 -10
- package/CHANGELOG.md +6 -0
- package/build/components/Accordion/Accordion.d.ts +1 -1
- package/docs/changelog.mdx +6 -0
- package/package.json +5 -5
- package/src/components/Rating/Rating.figma.tsx +1 -1
- package/vitest.config.js +3 -0
package/.storybook/main.ts
CHANGED
|
@@ -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 |
|
|
48
|
-
react-hooks/
|
|
49
|
-
no-global-assign |
|
|
50
|
-
react-hooks/
|
|
51
|
-
no-
|
|
52
|
-
@typescript-eslint/
|
|
53
|
-
no-
|
|
54
|
-
no-unexpected-multiline |
|
|
55
|
-
|
|
56
|
-
|
|
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/
|
|
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
|
};
|
package/docs/changelog.mdx
CHANGED
|
@@ -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.
|
|
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.
|
|
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.
|
|
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
|
|
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