@hero-design/rn 8.5.0-alpha.0 → 8.6.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 +9 -66
- package/.turbo/turbo-publish:npm.log +0 -0
- package/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/es/index.js +641 -719
- package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/lib/index.js +641 -718
- package/package.json +7 -5
- package/rollup.config.js +1 -0
- package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
- package/src/components/Icon/IconList.ts +1 -0
- package/src/components/Swipeable/StyledSwipeable.tsx +2 -14
- package/src/components/Swipeable/SwipeableAction.tsx +7 -15
- package/src/components/Swipeable/index.tsx +136 -531
- package/src/components/SwipeableV2/StyledSwipeable.tsx +14 -0
- package/src/components/SwipeableV2/__tests__/__snapshots__/index.spec.tsx.snap +161 -0
- package/src/components/SwipeableV2/__tests__/index.spec.tsx +48 -0
- package/src/components/SwipeableV2/index.tsx +364 -0
- package/src/index.ts +2 -0
- package/types/components/Icon/IconList.d.ts +1 -1
- package/types/components/Icon/index.d.ts +1 -1
- package/types/components/Icon/utils.d.ts +1 -1
- package/types/components/Select/BaseOptionList.d.ts +4 -8
- package/types/components/Select/MultiSelect/OptionList.d.ts +4 -7
- package/types/components/Select/SingleSelect/OptionList.d.ts +4 -4
- package/types/components/Select/SingleSelect/StyledSingleSelect.d.ts +1 -1
- package/types/components/Swipeable/StyledSwipeable.d.ts +2 -15
- package/types/components/Swipeable/SwipeableAction.d.ts +6 -10
- package/types/components/Swipeable/index.d.ts +41 -24
- package/types/components/SwipeableV2/StyledSwipeable.d.ts +15 -0
- package/types/components/SwipeableV2/index.d.ts +46 -0
- package/types/components/Toolbar/index.d.ts +3 -2
- package/types/index.d.ts +2 -1
- package/src/components/Swipeable/Buttons.tsx +0 -65
- package/types/components/Swipeable/Buttons.d.ts +0 -15
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,66 +1,9 @@
|
|
|
1
|
-
[
|
|
2
|
-
[
|
|
3
|
-
[
|
|
4
|
-
[
|
|
5
|
-
[
|
|
6
|
-
[
|
|
7
|
-
[
|
|
8
|
-
[
|
|
9
|
-
[
|
|
10
|
-
[33m@hero-design/rn:build: [0m[7m10[0m leftActions={
|
|
11
|
-
[33m@hero-design/rn:build: [0m[7m [0m [91m ~~~~~~~~~~~[0m
|
|
12
|
-
[33m@hero-design/rn:build: [0m
|
|
13
|
-
[33m@hero-design/rn:build: [0m [96msrc/components/Swipeable/index.tsx[0m:[93m26[0m:[93m3[0m
|
|
14
|
-
[33m@hero-design/rn:build: [0m [7m26[0m leftActions?: [typeof SwipeableAction][];
|
|
15
|
-
[33m@hero-design/rn:build: [0m [7m [0m [96m ~~~~~~~~~~~[0m
|
|
16
|
-
[33m@hero-design/rn:build: [0m The expected type comes from property 'leftActions' which is declared here on type 'IntrinsicAttributes & SwipeableProps'
|
|
17
|
-
[33m@hero-design/rn:build: [0m[39m
|
|
18
|
-
[33m@hero-design/rn:build: [0m[1m[33m(!) Plugin typescript: @rollup/plugin-typescript TS2322: Type '{ children: Element; intent: "primary"; }' is not assignable to type 'IntrinsicAttributes & SwipeableActionProps'.
|
|
19
|
-
[33m@hero-design/rn:build: [0m Property 'children' does not exist on type 'IntrinsicAttributes & SwipeableActionProps'.[39m[22m
|
|
20
|
-
[33m@hero-design/rn:build: [0m[1msrc/components/Swipeable/__tests__/index.spec.tsx: (11:12)[22m
|
|
21
|
-
[33m@hero-design/rn:build: [0m[90m
|
|
22
|
-
[33m@hero-design/rn:build: [0m[7m11[0m <Swipeable.Action intent="primary">
|
|
23
|
-
[33m@hero-design/rn:build: [0m[7m [0m [91m ~~~~~~~~~~~~~~~~[0m
|
|
24
|
-
[33m@hero-design/rn:build: [0m[39m
|
|
25
|
-
[33m@hero-design/rn:build: [0m[1m[33m(!) Plugin typescript: @rollup/plugin-typescript TS2322: Type 'Element' is not assignable to type '[({ intent, onPress, style, testID, label, icon, }: SwipeableActionProps) => Element][]'.[39m[22m
|
|
26
|
-
[33m@hero-design/rn:build: [0m[1msrc/components/Swipeable/__tests__/index.spec.tsx: (15:9)[22m
|
|
27
|
-
[33m@hero-design/rn:build: [0m[90m
|
|
28
|
-
[33m@hero-design/rn:build: [0m[7m15[0m rightActions={
|
|
29
|
-
[33m@hero-design/rn:build: [0m[7m [0m [91m ~~~~~~~~~~~~[0m
|
|
30
|
-
[33m@hero-design/rn:build: [0m
|
|
31
|
-
[33m@hero-design/rn:build: [0m [96msrc/components/Swipeable/index.tsx[0m:[93m27[0m:[93m3[0m
|
|
32
|
-
[33m@hero-design/rn:build: [0m [7m27[0m rightActions?: [typeof SwipeableAction][];
|
|
33
|
-
[33m@hero-design/rn:build: [0m [7m [0m [96m ~~~~~~~~~~~~[0m
|
|
34
|
-
[33m@hero-design/rn:build: [0m The expected type comes from property 'rightActions' which is declared here on type 'IntrinsicAttributes & SwipeableProps'
|
|
35
|
-
[33m@hero-design/rn:build: [0m[39m
|
|
36
|
-
[33m@hero-design/rn:build: [0m[1m[33m(!) Plugin typescript: @rollup/plugin-typescript TS2322: Type '{ children: Element; intent: "success"; }' is not assignable to type 'IntrinsicAttributes & SwipeableActionProps'.
|
|
37
|
-
[33m@hero-design/rn:build: [0m Property 'children' does not exist on type 'IntrinsicAttributes & SwipeableActionProps'.[39m[22m
|
|
38
|
-
[33m@hero-design/rn:build: [0m[1msrc/components/Swipeable/__tests__/index.spec.tsx: (17:14)[22m
|
|
39
|
-
[33m@hero-design/rn:build: [0m[90m
|
|
40
|
-
[33m@hero-design/rn:build: [0m[7m17[0m <Swipeable.Action intent="success">
|
|
41
|
-
[33m@hero-design/rn:build: [0m[7m [0m [91m ~~~~~~~~~~~~~~~~[0m
|
|
42
|
-
[33m@hero-design/rn:build: [0m[39m
|
|
43
|
-
[33m@hero-design/rn:build: [0m[1m[33m(!) Plugin typescript: @rollup/plugin-typescript TS2322: Type '{ children: Element; intent: "danger"; }' is not assignable to type 'IntrinsicAttributes & SwipeableActionProps'.
|
|
44
|
-
[33m@hero-design/rn:build: [0m Property 'children' does not exist on type 'IntrinsicAttributes & SwipeableActionProps'.[39m[22m
|
|
45
|
-
[33m@hero-design/rn:build: [0m[1msrc/components/Swipeable/__tests__/index.spec.tsx: (20:14)[22m
|
|
46
|
-
[33m@hero-design/rn:build: [0m[90m
|
|
47
|
-
[33m@hero-design/rn:build: [0m[7m20[0m <Swipeable.Action intent="danger">
|
|
48
|
-
[33m@hero-design/rn:build: [0m[7m [0m [91m ~~~~~~~~~~~~~~~~[0m
|
|
49
|
-
[33m@hero-design/rn:build: [0m[39m
|
|
50
|
-
[33m@hero-design/rn:build: [0m[1m[33m(!) Plugin typescript: @rollup/plugin-typescript TS2322: Type '{ children: Element; intent: any; }' is not assignable to type 'IntrinsicAttributes & SwipeableActionProps'.
|
|
51
|
-
[33m@hero-design/rn:build: [0m Property 'children' does not exist on type 'IntrinsicAttributes & SwipeableActionProps'.[39m[22m
|
|
52
|
-
[33m@hero-design/rn:build: [0m[1msrc/components/Swipeable/__tests__/SwipeableAction.spec.tsx: (15:8)[22m
|
|
53
|
-
[33m@hero-design/rn:build: [0m[90m
|
|
54
|
-
[33m@hero-design/rn:build: [0m[7m15[0m <SwipeableAction intent={intent}>
|
|
55
|
-
[33m@hero-design/rn:build: [0m[7m [0m [91m ~~~~~~~~~~~~~~~[0m
|
|
56
|
-
[33m@hero-design/rn:build: [0m[39m
|
|
57
|
-
[33m@hero-design/rn:build: [0m[1m[33m(!) Plugin typescript: @rollup/plugin-typescript TS2322: Type '{ children: Element; onPress: Mock<any, any>; }' is not assignable to type 'IntrinsicAttributes & SwipeableActionProps'.
|
|
58
|
-
[33m@hero-design/rn:build: [0m Property 'children' does not exist on type 'IntrinsicAttributes & SwipeableActionProps'.[39m[22m
|
|
59
|
-
[33m@hero-design/rn:build: [0m[1msrc/components/Swipeable/__tests__/SwipeableAction.spec.tsx: (29:8)[22m
|
|
60
|
-
[33m@hero-design/rn:build: [0m[90m
|
|
61
|
-
[33m@hero-design/rn:build: [0m[7m29[0m <SwipeableAction onPress={onPress}>
|
|
62
|
-
[33m@hero-design/rn:build: [0m[7m [0m [91m ~~~~~~~~~~~~~~~[0m
|
|
63
|
-
[33m@hero-design/rn:build: [0m[39m
|
|
64
|
-
[33m@hero-design/rn:build: [0m[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
|
|
65
|
-
[33m@hero-design/rn:build: [0m[32mcreated [1mlib/index.js, es/index.js[22m in [1m28.8s[22m[39m
|
|
66
|
-
[33m@hero-design/rn:build: [0m$ tsc --noEmit false --emitDeclarationOnly --project tsconfig.prod.json
|
|
1
|
+
[32m@hero-design/rn:build[0m: cache hit, replaying output [2m78cd11edb8437bed[0m
|
|
2
|
+
[32m@hero-design/rn:build: [0m$ yarn build:js && yarn build:types
|
|
3
|
+
[32m@hero-design/rn:build: [0m$ rollup -c
|
|
4
|
+
[32m@hero-design/rn:build: [0m[36m
|
|
5
|
+
[32m@hero-design/rn:build: [0m[1msrc/index.ts[22m → [1mlib/index.js, es/index.js[22m...[39m
|
|
6
|
+
[32m@hero-design/rn:build: [0m[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
|
|
7
|
+
[32m@hero-design/rn:build: [0m[1m[33m(!) Plugin node-resolve: preferring built-in module 'events' over local alternative at '/root/hero-design/node_modules/events/events.js', pass 'preferBuiltins: false' to disable this behavior or 'preferBuiltins: true' to disable this warning[39m[22m
|
|
8
|
+
[32m@hero-design/rn:build: [0m[32mcreated [1mlib/index.js, es/index.js[22m in [1m24.4s[22m[39m
|
|
9
|
+
[32m@hero-design/rn:build: [0m$ tsc --noEmit false --emitDeclarationOnly --project tsconfig.prod.json
|
|
File without changes
|
|
Binary file
|