@hero-design/rn 8.3.4 → 8.5.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 +66 -9
- package/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/es/index.js +473 -133
- package/lib/index.js +473 -133
- package/package.json +5 -7
- package/rollup.config.js +0 -1
- package/src/components/Carousel/CarouselItem.tsx +3 -1
- package/src/components/Carousel/StyledCarousel.tsx +2 -0
- package/src/components/Carousel/__tests__/__snapshots__/index.spec.tsx.snap +18 -15
- package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
- package/src/components/Icon/IconList.ts +9 -0
- package/src/components/List/ListItem.tsx +1 -5
- package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +8 -8
- package/src/components/Select/BaseOptionList.tsx +5 -12
- package/src/components/Select/MultiSelect/OptionList.tsx +6 -6
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +3 -0
- package/src/components/Select/MultiSelect/index.tsx +9 -0
- package/src/components/Select/SingleSelect/OptionList.tsx +5 -3
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +24 -4
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +21 -3
- package/src/components/Select/SingleSelect/index.tsx +8 -0
- package/src/components/Swipeable/Buttons.tsx +65 -0
- package/src/components/Swipeable/StyledSwipeable.tsx +14 -2
- package/src/components/Swipeable/SwipeableAction.tsx +15 -7
- package/src/components/Swipeable/index.tsx +531 -136
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +1 -1
- package/src/theme/components/carousel.ts +1 -1
- package/types/components/Calendar/helpers.d.ts +2 -2
- package/types/components/Select/helpers.d.ts +1 -1
- package/types/components/Swipeable/Buttons.d.ts +15 -0
- package/types/components/Swipeable/StyledSwipeable.d.ts +15 -2
- package/types/components/Swipeable/SwipeableAction.d.ts +10 -6
- package/types/components/Swipeable/index.d.ts +24 -41
- package/types/components/Toolbar/index.d.ts +2 -3
- package/types/testHelpers/renderWithTheme.d.ts +1 -1
- package/.turbo/turbo-publish:npm.log +0 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,9 +1,66 @@
|
|
|
1
|
-
[
|
|
2
|
-
[
|
|
3
|
-
[
|
|
4
|
-
[
|
|
5
|
-
[
|
|
6
|
-
[
|
|
7
|
-
[
|
|
8
|
-
[
|
|
9
|
-
[
|
|
1
|
+
[33m@hero-design/rn:build[0m: cache hit, replaying output [2ma123b426f5e52ef8[0m
|
|
2
|
+
[33m@hero-design/rn:build: [0m$ yarn build:js && yarn build:types
|
|
3
|
+
[33m@hero-design/rn:build: [0m$ rollup -c
|
|
4
|
+
[33m@hero-design/rn:build: [0m[36m
|
|
5
|
+
[33m@hero-design/rn:build: [0m[1msrc/index.ts[22m → [1mlib/index.js, es/index.js[22m...[39m
|
|
6
|
+
[33m@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
|
+
[33m@hero-design/rn:build: [0m[1m[33m(!) Plugin typescript: @rollup/plugin-typescript TS2740: Type 'Element' is missing the following properties from type '[({ intent, onPress, style, testID, label, icon, }: SwipeableActionProps) => Element][]': length, pop, push, concat, and 29 more.[39m[22m
|
|
8
|
+
[33m@hero-design/rn:build: [0m[1msrc/components/Swipeable/__tests__/index.spec.tsx: (10:9)[22m
|
|
9
|
+
[33m@hero-design/rn:build: [0m[90m
|
|
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
|
|
Binary file
|