@marktiderman/genesis-ui-native 2.3.1 → 2.4.1
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/dist/{chunk-H4Q7COTI.js → chunk-6TLBCRS6.js} +3 -3
- package/dist/{chunk-H4Q7COTI.js.map → chunk-6TLBCRS6.js.map} +1 -1
- package/dist/{chunk-W2UBJ56D.js → chunk-BPD5DCFP.js} +10 -2
- package/dist/chunk-BPD5DCFP.js.map +1 -0
- package/dist/{chunk-Q445I7WO.js → chunk-RARJGZA3.js} +51 -10
- package/dist/chunk-RARJGZA3.js.map +1 -0
- package/dist/components/index.d.ts +25 -3
- package/dist/components/index.js +2 -2
- package/dist/icons/lucide.d.ts +1 -1
- package/dist/icons/lucide.js +9 -1
- package/dist/icons/lucide.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -3
- package/dist/layouts/index.js +2 -2
- package/dist/{native-modules-BGO2MnFF.d.ts → native-modules-_Q5vIbd5.d.ts} +8 -0
- package/package.json +1 -1
- package/src/__tests__/native-modules-lists.test.tsx +1 -0
- package/src/components/__tests__/full-screen-modal.test.tsx +52 -0
- package/src/components/__tests__/sheet.test.tsx +27 -0
- package/src/components/full-screen-modal.tsx +70 -0
- package/src/components/index.ts +3 -0
- package/src/components/sheet.tsx +40 -10
- package/src/icon-names.ts +8 -0
- package/src/icons/lucide.ts +16 -0
- package/dist/chunk-Q445I7WO.js.map +0 -1
- package/dist/chunk-W2UBJ56D.js.map +0 -1
package/src/icons/lucide.ts
CHANGED
|
@@ -23,6 +23,7 @@ import {
|
|
|
23
23
|
CircleX,
|
|
24
24
|
Clock,
|
|
25
25
|
Copy,
|
|
26
|
+
Download,
|
|
26
27
|
Ellipsis,
|
|
27
28
|
ExternalLink,
|
|
28
29
|
File,
|
|
@@ -31,6 +32,7 @@ import {
|
|
|
31
32
|
House,
|
|
32
33
|
Image,
|
|
33
34
|
Info,
|
|
35
|
+
Maximize2,
|
|
34
36
|
Lock,
|
|
35
37
|
LogOut,
|
|
36
38
|
Mail,
|
|
@@ -47,13 +49,19 @@ import {
|
|
|
47
49
|
RefreshCw,
|
|
48
50
|
Reply,
|
|
49
51
|
Search,
|
|
52
|
+
Square,
|
|
53
|
+
SwitchCamera,
|
|
50
54
|
Settings,
|
|
51
55
|
Share,
|
|
56
|
+
Smile,
|
|
52
57
|
SquarePen,
|
|
53
58
|
Star,
|
|
54
59
|
Trash2,
|
|
55
60
|
TriangleAlert,
|
|
56
61
|
User,
|
|
62
|
+
Video,
|
|
63
|
+
Volume2,
|
|
64
|
+
VolumeX,
|
|
57
65
|
X,
|
|
58
66
|
} from "lucide-react-native";
|
|
59
67
|
import type { NativeIconName } from "../icon-names";
|
|
@@ -65,6 +73,7 @@ export const lucideIcons: Record<NativeIconName, GenesisIconComponent> = {
|
|
|
65
73
|
bell: Bell,
|
|
66
74
|
calendar: Calendar,
|
|
67
75
|
camera: Camera,
|
|
76
|
+
"camera-flip": SwitchCamera,
|
|
68
77
|
check: Check,
|
|
69
78
|
"chevron-down": ChevronDown,
|
|
70
79
|
"chevron-left": ChevronLeft,
|
|
@@ -74,8 +83,10 @@ export const lucideIcons: Record<NativeIconName, GenesisIconComponent> = {
|
|
|
74
83
|
close: X,
|
|
75
84
|
compose: SquarePen,
|
|
76
85
|
copy: Copy,
|
|
86
|
+
download: Download,
|
|
77
87
|
edit: Pencil,
|
|
78
88
|
error: CircleX,
|
|
89
|
+
expand: Maximize2,
|
|
79
90
|
"external-link": ExternalLink,
|
|
80
91
|
file: File,
|
|
81
92
|
filter: Funnel,
|
|
@@ -101,10 +112,15 @@ export const lucideIcons: Record<NativeIconName, GenesisIconComponent> = {
|
|
|
101
112
|
search: Search,
|
|
102
113
|
settings: Settings,
|
|
103
114
|
share: Share,
|
|
115
|
+
smile: Smile,
|
|
104
116
|
star: Star,
|
|
117
|
+
stop: Square,
|
|
105
118
|
success: CircleCheck,
|
|
106
119
|
trash: Trash2,
|
|
107
120
|
user: User,
|
|
121
|
+
video: Video,
|
|
122
|
+
volume: Volume2,
|
|
123
|
+
"volume-off": VolumeX,
|
|
108
124
|
warning: TriangleAlert,
|
|
109
125
|
// The cast widens lucide's declared `color: string` to `ColorValue`. On iOS
|
|
110
126
|
// NativeIcon passes theme roles as `PlatformColor` objects; lucide hands
|