@hero-design/rn 8.34.2-alpha.0 → 8.35.0-alpha.0
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/.turbo/turbo-build.log +1 -1
- package/.turbo/turbo-lint.log +18 -7
- package/es/index.js +11417 -2305
- package/lib/index.js +11418 -2305
- package/package.json +6 -6
- package/rollup.config.js +3 -7
- package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/index.spec.tsx.snap +9 -9
- package/src/components/FAB/ActionGroup/FABModal.tsx +63 -0
- package/src/components/FAB/ActionGroup/FABModalContentWrapper.tsx +31 -0
- package/src/components/FAB/ActionGroup/ModalPresenter/ModalPresenter.tsx +133 -0
- package/src/components/FAB/ActionGroup/ModalPresenter/index.tsx +13 -0
- package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
- package/src/components/FAB/ActionGroup/index.tsx +49 -47
- package/src/components/FAB/FAB.tsx +1 -0
- package/src/components/FAB/StyledFAB.tsx +20 -16
- package/src/components/FAB/__tests__/StyledFAB.spec.tsx +11 -1
- package/src/components/FAB/__tests__/__snapshots__/StyledFAB.spec.tsx.snap +57 -0
- package/src/components/List/StyledListItem.tsx +1 -1
- package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +4 -0
- package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +2 -0
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +2 -1
- package/src/theme/components/fab.ts +1 -0
- package/src/theme/components/list.ts +1 -1
- package/src/theme/global/colors/__tests__/__snapshots__/work.spec.ts.snap +4 -4
- package/src/theme/global/colors/work.ts +4 -4
- package/types/components/FAB/ActionGroup/FABModal.d.ts +21 -0
- package/types/components/FAB/ActionGroup/FABModalContentWrapper.d.ts +18 -0
- package/types/components/FAB/ActionGroup/FABProvider.d.ts +5 -0
- package/types/components/FAB/ActionGroup/ModalPresenter/ModalPresenter.d.ts +34 -0
- package/types/components/FAB/ActionGroup/ModalPresenter/index.d.ts +3 -0
- package/types/components/FAB/StyledFAB.d.ts +2 -0
- package/types/theme/components/fab.d.ts +1 -0
- package/types/theme/components/list.d.ts +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -4,5 +4,5 @@ $ rollup -c
|
|
|
4
4
|
[1msrc/index.ts[22m → [1mlib/index.js, es/index.js[22m...[39m
|
|
5
5
|
[1m[33m(!) Plugin replace: @rollup/plugin-replace: 'preventAssignment' currently defaults to false. It is recommended to set this option to `true`, as the next major version will default this option to `true`.[39m[22m
|
|
6
6
|
[1m[33m(!) Plugin node-resolve: preferring built-in module 'events' over local alternative at '/Volumes/Data/Projects/hero-design/node_modules/events/events.js', pass 'preferBuiltins: false' to disable this behavior or 'preferBuiltins: true' to disable this warning[39m[22m
|
|
7
|
-
[32mcreated [1mlib/index.js, es/index.js[22m in [1m32.
|
|
7
|
+
[32mcreated [1mlib/index.js, es/index.js[22m in [1m32.7s[22m[39m
|
|
8
8
|
$ tsc --noEmit false --emitDeclarationOnly --project tsconfig.prod.json
|
package/.turbo/turbo-lint.log
CHANGED
|
@@ -35,10 +35,10 @@ $ eslint src --ext .js,.jsx,.ts,.tsx --ignore-path ../../.gitignore
|
|
|
35
35
|
73:6 warning React Hook useCallback has a missing dependency: 'onLayout'. Either include it or remove the dependency array. If 'onLayout' changes too often, find the parent component that defines it and wrap that definition in useCallback react-hooks/exhaustive-deps
|
|
36
36
|
|
|
37
37
|
/Volumes/Data/Projects/hero-design/packages/rn/src/components/DatePicker/DatePickerAndroid.tsx
|
|
38
|
-
|
|
38
|
+
56:25 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
39
39
|
|
|
40
40
|
/Volumes/Data/Projects/hero-design/packages/rn/src/components/DatePicker/DatePickerIOS.tsx
|
|
41
|
-
|
|
41
|
+
96:27 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
42
42
|
|
|
43
43
|
/Volumes/Data/Projects/hero-design/packages/rn/src/components/Drawer/DragableDrawer/index.tsx
|
|
44
44
|
78:6 warning React Hook useEffect has a missing dependency: 'pan'. Either include it or remove the dependency array react-hooks/exhaustive-deps
|
|
@@ -49,11 +49,22 @@ $ eslint src --ext .js,.jsx,.ts,.tsx --ignore-path ../../.gitignore
|
|
|
49
49
|
/Volumes/Data/Projects/hero-design/packages/rn/src/components/Drawer/index.tsx
|
|
50
50
|
69:6 warning React Hook useEffect has a missing dependency: 'animatedValue'. Either include it or remove the dependency array react-hooks/exhaustive-deps
|
|
51
51
|
|
|
52
|
+
/Volumes/Data/Projects/hero-design/packages/rn/src/components/FAB/__tests__/StyledFAB.spec.tsx
|
|
53
|
+
19:18 error Value must be omitted for boolean attributes react/jsx-boolean-value
|
|
54
|
+
|
|
55
|
+
/Volumes/Data/Projects/hero-design/packages/rn/src/components/FAB/__tests__/index.spec.tsx
|
|
56
|
+
79:7 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
|
|
57
|
+
82:7 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
|
|
58
|
+
85:7 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
|
|
59
|
+
|
|
52
60
|
/Volumes/Data/Projects/hero-design/packages/rn/src/components/Icon/utils.ts
|
|
53
61
|
3:24 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
54
62
|
|
|
63
|
+
/Volumes/Data/Projects/hero-design/packages/rn/src/components/Modal/index.tsx
|
|
64
|
+
102:6 warning React Hook React.useEffect has missing dependencies: 'animationType', 'modalHandler', 'onShow', and 'visible'. Either include them or remove the dependency array. If 'onShow' changes too often, find the parent component that defines it and wrap that definition in useCallback react-hooks/exhaustive-deps
|
|
65
|
+
|
|
55
66
|
/Volumes/Data/Projects/hero-design/packages/rn/src/components/PageControl/index.tsx
|
|
56
|
-
|
|
67
|
+
39:6 warning React Hook React.useEffect has a missing dependency: 'animatedValue'. Either include it or remove the dependency array react-hooks/exhaustive-deps
|
|
57
68
|
|
|
58
69
|
/Volumes/Data/Projects/hero-design/packages/rn/src/components/PinInput/index.tsx
|
|
59
70
|
146:8 warning React Hook useEffect has missing dependencies: 'autoFocus' and 'focus'. Either include them or remove the dependency array react-hooks/exhaustive-deps
|
|
@@ -83,9 +94,6 @@ $ eslint src --ext .js,.jsx,.ts,.tsx --ignore-path ../../.gitignore
|
|
|
83
94
|
/Volumes/Data/Projects/hero-design/packages/rn/src/components/RichTextEditor/utils/rnWebView.ts
|
|
84
95
|
11:9 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
85
96
|
|
|
86
|
-
/Volumes/Data/Projects/hero-design/packages/rn/src/components/Select/MultiSelect/index.tsx
|
|
87
|
-
87:6 warning React Hook useEffect has a missing dependency: 'value'. Either include it or remove the dependency array. If 'setSelectingValue' needs the current value of 'value', you can also switch to useReducer instead of useState and read 'value' in the reducer react-hooks/exhaustive-deps
|
|
88
|
-
|
|
89
97
|
/Volumes/Data/Projects/hero-design/packages/rn/src/components/Skeleton/index.tsx
|
|
90
98
|
88:6 warning React Hook useEffect has a missing dependency: 'animatedValue'. Either include it or remove the dependency array react-hooks/exhaustive-deps
|
|
91
99
|
104:6 warning React Hook useCallback has missing dependencies: 'onLayout' and 'shouldStartAnimation'. Either include them or remove the dependency array. If 'onLayout' changes too often, find the parent component that defines it and wrap that definition in useCallback react-hooks/exhaustive-deps
|
|
@@ -148,5 +156,8 @@ $ eslint src --ext .js,.jsx,.ts,.tsx --ignore-path ../../.gitignore
|
|
|
148
156
|
/Volumes/Data/Projects/hero-design/packages/rn/src/utils/hooks.ts
|
|
149
157
|
26:7 warning Unexpected console statement no-console
|
|
150
158
|
|
|
151
|
-
✖
|
|
159
|
+
✖ 72 problems (1 error, 71 warnings)
|
|
160
|
+
1 error and 0 warnings potentially fixable with the `--fix` option.
|
|
152
161
|
|
|
162
|
+
error Command failed with exit code 1.
|
|
163
|
+
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
|