@indra-inter/neobrutalism-components 0.1.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.
Files changed (154) hide show
  1. package/README.md +1330 -0
  2. package/dist/module/assets/avatar-profile.png +0 -0
  3. package/dist/module/components/accordion/accordion.js +203 -0
  4. package/dist/module/components/accordion/accordion.js.map +1 -0
  5. package/dist/module/components/app-bar/app-bar.js +140 -0
  6. package/dist/module/components/app-bar/app-bar.js.map +1 -0
  7. package/dist/module/components/avatar/avatar.js +184 -0
  8. package/dist/module/components/avatar/avatar.js.map +1 -0
  9. package/dist/module/components/badge/badge.js +133 -0
  10. package/dist/module/components/badge/badge.js.map +1 -0
  11. package/dist/module/components/bottom-navigation/bottom-navigation.js +166 -0
  12. package/dist/module/components/bottom-navigation/bottom-navigation.js.map +1 -0
  13. package/dist/module/components/bottom-sheet/bottom-sheet.js +285 -0
  14. package/dist/module/components/bottom-sheet/bottom-sheet.js.map +1 -0
  15. package/dist/module/components/button/button.js +253 -0
  16. package/dist/module/components/button/button.js.map +1 -0
  17. package/dist/module/components/calendar/calendar.js +458 -0
  18. package/dist/module/components/calendar/calendar.js.map +1 -0
  19. package/dist/module/components/call-item/call-item.js +128 -0
  20. package/dist/module/components/call-item/call-item.js.map +1 -0
  21. package/dist/module/components/card/card.js +189 -0
  22. package/dist/module/components/card/card.js.map +1 -0
  23. package/dist/module/components/chat-list-item/chat-list-item.js +212 -0
  24. package/dist/module/components/chat-list-item/chat-list-item.js.map +1 -0
  25. package/dist/module/components/checkbox/checkbox.js +141 -0
  26. package/dist/module/components/checkbox/checkbox.js.map +1 -0
  27. package/dist/module/components/dialog/dialog.js +342 -0
  28. package/dist/module/components/dialog/dialog.js.map +1 -0
  29. package/dist/module/components/divider/divider.js +41 -0
  30. package/dist/module/components/divider/divider.js.map +1 -0
  31. package/dist/module/components/dropdown/dropdown-menu.js +214 -0
  32. package/dist/module/components/dropdown/dropdown-menu.js.map +1 -0
  33. package/dist/module/components/dropdown/dropdown.js +616 -0
  34. package/dist/module/components/dropdown/dropdown.js.map +1 -0
  35. package/dist/module/components/dropdown/types.js +4 -0
  36. package/dist/module/components/dropdown/types.js.map +1 -0
  37. package/dist/module/components/icon-button/icon-button.js +140 -0
  38. package/dist/module/components/icon-button/icon-button.js.map +1 -0
  39. package/dist/module/components/input/currency-input.js +60 -0
  40. package/dist/module/components/input/currency-input.js.map +1 -0
  41. package/dist/module/components/input/input.js +281 -0
  42. package/dist/module/components/input/input.js.map +1 -0
  43. package/dist/module/components/input/otp-input.js +196 -0
  44. package/dist/module/components/input/otp-input.js.map +1 -0
  45. package/dist/module/components/input/password-input.js +74 -0
  46. package/dist/module/components/input/password-input.js.map +1 -0
  47. package/dist/module/components/input/phone-input.js +68 -0
  48. package/dist/module/components/input/phone-input.js.map +1 -0
  49. package/dist/module/components/input/url-input.js +43 -0
  50. package/dist/module/components/input/url-input.js.map +1 -0
  51. package/dist/module/components/list-item/list-item.js +148 -0
  52. package/dist/module/components/list-item/list-item.js.map +1 -0
  53. package/dist/module/components/pin-code-field/pin-code-field.js +164 -0
  54. package/dist/module/components/pin-code-field/pin-code-field.js.map +1 -0
  55. package/dist/module/components/progress/progress.js +261 -0
  56. package/dist/module/components/progress/progress.js.map +1 -0
  57. package/dist/module/components/radio/radio.js +135 -0
  58. package/dist/module/components/radio/radio.js.map +1 -0
  59. package/dist/module/components/skeleton/skeleton.js +328 -0
  60. package/dist/module/components/skeleton/skeleton.js.map +1 -0
  61. package/dist/module/components/switch/switch.js +170 -0
  62. package/dist/module/components/switch/switch.js.map +1 -0
  63. package/dist/module/components/tabs/tabs.js +197 -0
  64. package/dist/module/components/tabs/tabs.js.map +1 -0
  65. package/dist/module/components/toast/toast-provider.js +117 -0
  66. package/dist/module/components/toast/toast-provider.js.map +1 -0
  67. package/dist/module/components/toast/toast.js +154 -0
  68. package/dist/module/components/toast/toast.js.map +1 -0
  69. package/dist/module/index.js +38 -0
  70. package/dist/module/index.js.map +1 -0
  71. package/dist/module/package.json +1 -0
  72. package/dist/module/theme/design-tokens.generated.js +379 -0
  73. package/dist/module/theme/design-tokens.generated.js.map +1 -0
  74. package/dist/module/theme/theme-provider.js +20 -0
  75. package/dist/module/theme/theme-provider.js.map +1 -0
  76. package/dist/module/theme/theme.js +56 -0
  77. package/dist/module/theme/theme.js.map +1 -0
  78. package/dist/typescript/components/accordion/accordion.d.ts +40 -0
  79. package/dist/typescript/components/accordion/accordion.d.ts.map +1 -0
  80. package/dist/typescript/components/app-bar/app-bar.d.ts +34 -0
  81. package/dist/typescript/components/app-bar/app-bar.d.ts.map +1 -0
  82. package/dist/typescript/components/avatar/avatar.d.ts +17 -0
  83. package/dist/typescript/components/avatar/avatar.d.ts.map +1 -0
  84. package/dist/typescript/components/badge/badge.d.ts +20 -0
  85. package/dist/typescript/components/badge/badge.d.ts.map +1 -0
  86. package/dist/typescript/components/bottom-navigation/bottom-navigation.d.ts +28 -0
  87. package/dist/typescript/components/bottom-navigation/bottom-navigation.d.ts.map +1 -0
  88. package/dist/typescript/components/bottom-sheet/bottom-sheet.d.ts +38 -0
  89. package/dist/typescript/components/bottom-sheet/bottom-sheet.d.ts.map +1 -0
  90. package/dist/typescript/components/button/button.d.ts +21 -0
  91. package/dist/typescript/components/button/button.d.ts.map +1 -0
  92. package/dist/typescript/components/calendar/calendar.d.ts +41 -0
  93. package/dist/typescript/components/calendar/calendar.d.ts.map +1 -0
  94. package/dist/typescript/components/call-item/call-item.d.ts +21 -0
  95. package/dist/typescript/components/call-item/call-item.d.ts.map +1 -0
  96. package/dist/typescript/components/card/card.d.ts +37 -0
  97. package/dist/typescript/components/card/card.d.ts.map +1 -0
  98. package/dist/typescript/components/chat-list-item/chat-list-item.d.ts +37 -0
  99. package/dist/typescript/components/chat-list-item/chat-list-item.d.ts.map +1 -0
  100. package/dist/typescript/components/checkbox/checkbox.d.ts +15 -0
  101. package/dist/typescript/components/checkbox/checkbox.d.ts.map +1 -0
  102. package/dist/typescript/components/dialog/dialog.d.ts +34 -0
  103. package/dist/typescript/components/dialog/dialog.d.ts.map +1 -0
  104. package/dist/typescript/components/divider/divider.d.ts +10 -0
  105. package/dist/typescript/components/divider/divider.d.ts.map +1 -0
  106. package/dist/typescript/components/dropdown/dropdown-menu.d.ts +27 -0
  107. package/dist/typescript/components/dropdown/dropdown-menu.d.ts.map +1 -0
  108. package/dist/typescript/components/dropdown/dropdown.d.ts +4 -0
  109. package/dist/typescript/components/dropdown/dropdown.d.ts.map +1 -0
  110. package/dist/typescript/components/dropdown/types.d.ts +52 -0
  111. package/dist/typescript/components/dropdown/types.d.ts.map +1 -0
  112. package/dist/typescript/components/icon-button/icon-button.d.ts +20 -0
  113. package/dist/typescript/components/icon-button/icon-button.d.ts.map +1 -0
  114. package/dist/typescript/components/input/currency-input.d.ts +10 -0
  115. package/dist/typescript/components/input/currency-input.d.ts.map +1 -0
  116. package/dist/typescript/components/input/input.d.ts +32 -0
  117. package/dist/typescript/components/input/input.d.ts.map +1 -0
  118. package/dist/typescript/components/input/otp-input.d.ts +23 -0
  119. package/dist/typescript/components/input/otp-input.d.ts.map +1 -0
  120. package/dist/typescript/components/input/password-input.d.ts +14 -0
  121. package/dist/typescript/components/input/password-input.d.ts.map +1 -0
  122. package/dist/typescript/components/input/phone-input.d.ts +13 -0
  123. package/dist/typescript/components/input/phone-input.d.ts.map +1 -0
  124. package/dist/typescript/components/input/url-input.d.ts +10 -0
  125. package/dist/typescript/components/input/url-input.d.ts.map +1 -0
  126. package/dist/typescript/components/list-item/list-item.d.ts +30 -0
  127. package/dist/typescript/components/list-item/list-item.d.ts.map +1 -0
  128. package/dist/typescript/components/pin-code-field/pin-code-field.d.ts +25 -0
  129. package/dist/typescript/components/pin-code-field/pin-code-field.d.ts.map +1 -0
  130. package/dist/typescript/components/progress/progress.d.ts +18 -0
  131. package/dist/typescript/components/progress/progress.d.ts.map +1 -0
  132. package/dist/typescript/components/radio/radio.d.ts +12 -0
  133. package/dist/typescript/components/radio/radio.d.ts.map +1 -0
  134. package/dist/typescript/components/skeleton/skeleton.d.ts +16 -0
  135. package/dist/typescript/components/skeleton/skeleton.d.ts.map +1 -0
  136. package/dist/typescript/components/switch/switch.d.ts +12 -0
  137. package/dist/typescript/components/switch/switch.d.ts.map +1 -0
  138. package/dist/typescript/components/tabs/tabs.d.ts +37 -0
  139. package/dist/typescript/components/tabs/tabs.d.ts.map +1 -0
  140. package/dist/typescript/components/toast/toast-provider.d.ts +22 -0
  141. package/dist/typescript/components/toast/toast-provider.d.ts.map +1 -0
  142. package/dist/typescript/components/toast/toast.d.ts +15 -0
  143. package/dist/typescript/components/toast/toast.d.ts.map +1 -0
  144. package/dist/typescript/index.d.ts +36 -0
  145. package/dist/typescript/index.d.ts.map +1 -0
  146. package/dist/typescript/package.json +1 -0
  147. package/dist/typescript/theme/design-tokens.generated.d.ts +375 -0
  148. package/dist/typescript/theme/design-tokens.generated.d.ts.map +1 -0
  149. package/dist/typescript/theme/theme-provider.d.ts +8 -0
  150. package/dist/typescript/theme/theme-provider.d.ts.map +1 -0
  151. package/dist/typescript/theme/theme.d.ts +52 -0
  152. package/dist/typescript/theme/theme.d.ts.map +1 -0
  153. package/package.json +88 -0
  154. package/tokens.css +132 -0
@@ -0,0 +1,342 @@
1
+ "use strict";
2
+
3
+ import { Platform, StyleSheet, View } from 'react-native';
4
+ import * as DialogPrimitive from '@rn-primitives/dialog';
5
+ import { PortalHost } from '@rn-primitives/portal';
6
+ import { useSafeAreaInsets } from 'react-native-safe-area-context';
7
+ import { X } from 'lucide-react-native';
8
+ import { Button } from "../button/button.js";
9
+ import { useTheme } from "../../theme/theme-provider.js";
10
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
11
+ export function DialogProvider({
12
+ children
13
+ }) {
14
+ return /*#__PURE__*/_jsxs(View, {
15
+ style: styles.provider,
16
+ children: [children, /*#__PURE__*/_jsx(PortalHost, {})]
17
+ });
18
+ }
19
+ export function Dialog({
20
+ children,
21
+ onOpenChange,
22
+ open
23
+ }) {
24
+ const theme = useTheme();
25
+ const insets = useSafeAreaInsets();
26
+ const componentStyles = createStyles(theme);
27
+ return /*#__PURE__*/_jsx(DialogPrimitive.Root, {
28
+ onOpenChange: onOpenChange,
29
+ open: open,
30
+ children: /*#__PURE__*/_jsxs(DialogPrimitive.Portal, {
31
+ children: [/*#__PURE__*/_jsx(DialogPrimitive.Overlay, {
32
+ style: componentStyles.overlay,
33
+ testID: "dialog-overlay"
34
+ }), /*#__PURE__*/_jsx(View, {
35
+ pointerEvents: "box-none",
36
+ style: [componentStyles.viewport, {
37
+ paddingBottom: insets.bottom + theme.spacing.md,
38
+ paddingLeft: insets.left + theme.spacing.md,
39
+ paddingRight: insets.right + theme.spacing.md,
40
+ paddingTop: insets.top + theme.spacing.md
41
+ }],
42
+ children: /*#__PURE__*/_jsx(DialogSurface, {
43
+ theme: theme,
44
+ children: children
45
+ })
46
+ })]
47
+ })
48
+ });
49
+ }
50
+ export function DialogHeader({
51
+ closeLabel = 'Close dialog',
52
+ title,
53
+ titleNumberOfLines = 1
54
+ }) {
55
+ const theme = useTheme();
56
+ const componentStyles = createStyles(theme);
57
+ return /*#__PURE__*/_jsxs(View, {
58
+ style: componentStyles.header,
59
+ children: [/*#__PURE__*/_jsx(DialogPrimitive.Title, {
60
+ ellipsizeMode: "tail",
61
+ numberOfLines: titleNumberOfLines,
62
+ style: componentStyles.headerTitle,
63
+ children: title
64
+ }), /*#__PURE__*/_jsx(DialogPrimitive.Close, {
65
+ accessibilityLabel: closeLabel,
66
+ style: componentStyles.closeButton,
67
+ children: /*#__PURE__*/_jsx(X, {
68
+ color: theme.colors.secondaryForeground,
69
+ size: 16,
70
+ strokeWidth: 2
71
+ })
72
+ })]
73
+ });
74
+ }
75
+ export function DialogBody({
76
+ children,
77
+ style,
78
+ ...props
79
+ }) {
80
+ const componentStyles = createStyles(useTheme());
81
+ return /*#__PURE__*/_jsx(View, {
82
+ style: [componentStyles.body, style],
83
+ ...props,
84
+ children: children
85
+ });
86
+ }
87
+ export function DialogFooter({
88
+ children,
89
+ style,
90
+ ...props
91
+ }) {
92
+ const componentStyles = createStyles(useTheme());
93
+ return /*#__PURE__*/_jsx(View, {
94
+ style: [componentStyles.footer, style],
95
+ ...props,
96
+ children: children
97
+ });
98
+ }
99
+ export function ConfirmDialog({
100
+ actions,
101
+ cancelLabel = 'Cancel',
102
+ confirmLabel = 'Confirm',
103
+ description,
104
+ icon,
105
+ onCancel,
106
+ onConfirm,
107
+ onOpenChange,
108
+ open,
109
+ title
110
+ }) {
111
+ const theme = useTheme();
112
+ const insets = useSafeAreaInsets();
113
+ const componentStyles = createStyles(theme);
114
+ const handleCancel = () => {
115
+ onCancel?.();
116
+ onOpenChange(false);
117
+ };
118
+ return /*#__PURE__*/_jsx(DialogPrimitive.Root, {
119
+ onOpenChange: onOpenChange,
120
+ open: open,
121
+ children: /*#__PURE__*/_jsxs(DialogPrimitive.Portal, {
122
+ children: [/*#__PURE__*/_jsx(DialogPrimitive.Overlay, {
123
+ closeOnPress: false,
124
+ style: componentStyles.overlay,
125
+ testID: "confirm-dialog-overlay"
126
+ }), /*#__PURE__*/_jsx(View, {
127
+ pointerEvents: "box-none",
128
+ style: [componentStyles.viewport, {
129
+ paddingBottom: insets.bottom + theme.spacing.md,
130
+ paddingLeft: insets.left + theme.spacing.md,
131
+ paddingRight: insets.right + theme.spacing.md,
132
+ paddingTop: insets.top + theme.spacing.md
133
+ }],
134
+ children: /*#__PURE__*/_jsx(DialogSurface, {
135
+ testID: "confirm-dialog",
136
+ theme: theme,
137
+ children: /*#__PURE__*/_jsxs(View, {
138
+ style: componentStyles.confirmContent,
139
+ children: [/*#__PURE__*/_jsx(View, {
140
+ style: componentStyles.destructiveIconFrame,
141
+ children: icon ?? /*#__PURE__*/_jsx(X, {
142
+ color: theme.colors.destructive,
143
+ size: 54,
144
+ strokeWidth: 2
145
+ })
146
+ }), /*#__PURE__*/_jsxs(View, {
147
+ style: componentStyles.confirmText,
148
+ children: [/*#__PURE__*/_jsx(DialogPrimitive.Title, {
149
+ style: componentStyles.confirmTitle,
150
+ children: title
151
+ }), /*#__PURE__*/_jsx(DialogPrimitive.Description, {
152
+ style: componentStyles.confirmDescription,
153
+ children: description
154
+ })]
155
+ }), /*#__PURE__*/_jsx(View, {
156
+ style: [componentStyles.confirmActions, Boolean(actions) && componentStyles.customConfirmActions],
157
+ children: actions ?? /*#__PURE__*/_jsxs(_Fragment, {
158
+ children: [/*#__PURE__*/_jsx(Button, {
159
+ accessibilityLabel: cancelLabel,
160
+ containerStyle: componentStyles.confirmAction,
161
+ onPress: handleCancel,
162
+ variant: "ghost",
163
+ children: cancelLabel
164
+ }), /*#__PURE__*/_jsx(Button, {
165
+ accessibilityLabel: confirmLabel,
166
+ containerStyle: componentStyles.confirmAction,
167
+ onPress: onConfirm,
168
+ children: confirmLabel
169
+ })]
170
+ })
171
+ })]
172
+ })
173
+ })
174
+ })]
175
+ })
176
+ });
177
+ }
178
+ function DialogSurface({
179
+ children,
180
+ testID,
181
+ theme
182
+ }) {
183
+ const componentStyles = createStyles(theme);
184
+ const usesAndroidHardShadow = Platform.OS === 'android';
185
+ return /*#__PURE__*/_jsxs(View, {
186
+ style: usesAndroidHardShadow ? componentStyles.androidShadowContainer : componentStyles.iosShadowContainer,
187
+ children: [usesAndroidHardShadow && /*#__PURE__*/_jsx(View, {
188
+ pointerEvents: "none",
189
+ style: componentStyles.androidHardShadow,
190
+ testID: "dialog-hard-shadow"
191
+ }), /*#__PURE__*/_jsx(DialogPrimitive.Content, {
192
+ style: componentStyles.surface,
193
+ testID: testID,
194
+ children: children
195
+ })]
196
+ });
197
+ }
198
+ const styles = StyleSheet.create({
199
+ provider: {
200
+ flex: 1
201
+ }
202
+ });
203
+ function createStyles(theme) {
204
+ return StyleSheet.create({
205
+ overlay: {
206
+ ...StyleSheet.absoluteFill,
207
+ backgroundColor: 'rgba(0, 0, 0, 0.5)'
208
+ },
209
+ viewport: {
210
+ ...StyleSheet.absoluteFill,
211
+ alignItems: 'center',
212
+ justifyContent: 'center'
213
+ },
214
+ androidShadowContainer: {
215
+ maxWidth: 380,
216
+ paddingBottom: theme.shadow.offset,
217
+ paddingRight: theme.shadow.offset,
218
+ position: 'relative',
219
+ width: '100%'
220
+ },
221
+ androidHardShadow: {
222
+ backgroundColor: theme.shadow.color,
223
+ borderRadius: theme.border.radius,
224
+ bottom: 0,
225
+ left: theme.shadow.offset,
226
+ position: 'absolute',
227
+ right: 0,
228
+ top: theme.shadow.offset
229
+ },
230
+ surface: {
231
+ backgroundColor: theme.colors.surface,
232
+ borderColor: theme.border.color,
233
+ borderRadius: theme.border.radius,
234
+ borderWidth: theme.border.width,
235
+ maxWidth: 380,
236
+ overflow: 'hidden',
237
+ width: '100%'
238
+ },
239
+ iosShadowContainer: {
240
+ borderRadius: theme.border.radius,
241
+ maxWidth: 380,
242
+ marginBottom: theme.shadow.offset,
243
+ marginRight: theme.shadow.offset,
244
+ shadowColor: theme.shadow.color,
245
+ shadowOffset: {
246
+ width: theme.shadow.offset,
247
+ height: theme.shadow.offset
248
+ },
249
+ shadowOpacity: 1,
250
+ shadowRadius: 0,
251
+ width: '100%'
252
+ },
253
+ header: {
254
+ alignItems: 'center',
255
+ backgroundColor: theme.colors.primary,
256
+ borderBottomColor: theme.border.color,
257
+ borderBottomWidth: 3,
258
+ flexDirection: 'row',
259
+ gap: theme.spacing.md,
260
+ justifyContent: 'space-between',
261
+ paddingHorizontal: theme.spacing.lg,
262
+ paddingVertical: theme.spacing.lg
263
+ },
264
+ headerTitle: {
265
+ color: theme.colors.foreground,
266
+ flex: 1,
267
+ flexShrink: 1,
268
+ fontSize: theme.typography.lg,
269
+ fontWeight: '700',
270
+ lineHeight: 28
271
+ },
272
+ closeButton: {
273
+ alignItems: 'center',
274
+ backgroundColor: theme.colors.secondary,
275
+ borderColor: theme.border.color,
276
+ borderRadius: theme.border.radius,
277
+ borderWidth: theme.border.width,
278
+ height: 40,
279
+ justifyContent: 'center',
280
+ flexShrink: 0,
281
+ width: 40
282
+ },
283
+ body: {
284
+ gap: theme.spacing.md,
285
+ padding: theme.spacing.lg
286
+ },
287
+ footer: {
288
+ alignItems: 'center',
289
+ borderTopColor: theme.border.color,
290
+ borderTopWidth: 3,
291
+ flexDirection: 'row',
292
+ gap: theme.spacing.sm,
293
+ justifyContent: 'flex-end',
294
+ paddingHorizontal: theme.spacing.lg,
295
+ paddingVertical: theme.spacing.lg
296
+ },
297
+ confirmContent: {
298
+ alignItems: 'center',
299
+ gap: theme.spacing.lg,
300
+ padding: theme.spacing.lg
301
+ },
302
+ destructiveIconFrame: {
303
+ alignItems: 'center',
304
+ borderColor: theme.colors.destructive,
305
+ borderRadius: 999,
306
+ borderWidth: theme.border.width,
307
+ height: 58,
308
+ justifyContent: 'center',
309
+ width: 58
310
+ },
311
+ confirmText: {
312
+ alignItems: 'center',
313
+ gap: theme.spacing.xs,
314
+ width: '100%'
315
+ },
316
+ confirmTitle: {
317
+ color: theme.colors.foreground,
318
+ fontSize: theme.typography.lg,
319
+ fontWeight: '700',
320
+ lineHeight: 28,
321
+ textAlign: 'center'
322
+ },
323
+ confirmDescription: {
324
+ color: theme.colors.mutedForeground,
325
+ fontSize: theme.typography.md,
326
+ lineHeight: 24,
327
+ textAlign: 'center'
328
+ },
329
+ confirmActions: {
330
+ flexDirection: 'row',
331
+ gap: theme.spacing.md,
332
+ width: '100%'
333
+ },
334
+ customConfirmActions: {
335
+ justifyContent: 'flex-end'
336
+ },
337
+ confirmAction: {
338
+ flex: 1
339
+ }
340
+ });
341
+ }
342
+ //# sourceMappingURL=dialog.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["Platform","StyleSheet","View","DialogPrimitive","PortalHost","useSafeAreaInsets","X","Button","useTheme","jsx","_jsx","jsxs","_jsxs","Fragment","_Fragment","DialogProvider","children","style","styles","provider","Dialog","onOpenChange","open","theme","insets","componentStyles","createStyles","Root","Portal","Overlay","overlay","testID","pointerEvents","viewport","paddingBottom","bottom","spacing","md","paddingLeft","left","paddingRight","right","paddingTop","top","DialogSurface","DialogHeader","closeLabel","title","titleNumberOfLines","header","Title","ellipsizeMode","numberOfLines","headerTitle","Close","accessibilityLabel","closeButton","color","colors","secondaryForeground","size","strokeWidth","DialogBody","props","body","DialogFooter","footer","ConfirmDialog","actions","cancelLabel","confirmLabel","description","icon","onCancel","onConfirm","handleCancel","closeOnPress","confirmContent","destructiveIconFrame","destructive","confirmText","confirmTitle","Description","confirmDescription","confirmActions","Boolean","customConfirmActions","containerStyle","confirmAction","onPress","variant","usesAndroidHardShadow","OS","androidShadowContainer","iosShadowContainer","androidHardShadow","Content","surface","create","flex","absoluteFill","backgroundColor","alignItems","justifyContent","maxWidth","shadow","offset","position","width","borderRadius","border","radius","borderColor","borderWidth","overflow","marginBottom","marginRight","shadowColor","shadowOffset","height","shadowOpacity","shadowRadius","primary","borderBottomColor","borderBottomWidth","flexDirection","gap","paddingHorizontal","lg","paddingVertical","foreground","flexShrink","fontSize","typography","fontWeight","lineHeight","secondary","padding","borderTopColor","borderTopWidth","sm","xs","textAlign","mutedForeground"],"sourceRoot":"../../../../src","sources":["components/dialog/dialog.tsx"],"mappings":";;AACA,SACEA,QAAQ,EACRC,UAAU,EACVC,IAAI,QAIC,cAAc;AACrB,OAAO,KAAKC,eAAe,MAAM,uBAAuB;AACxD,SAASC,UAAU,QAAQ,uBAAuB;AAClD,SAASC,iBAAiB,QAAQ,gCAAgC;AAClE,SAASC,CAAC,QAAQ,qBAAqB;AAEvC,SAASC,MAAM,QAAQ,qBAAkB;AAEzC,SAASC,QAAQ,QAAQ,+BAA4B;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA,EAAAC,QAAA,IAAAC,SAAA;AA8BtD,OAAO,SAASC,cAAcA,CAAC;EAAEC;AAA4B,CAAC,EAAE;EAC9D,oBACEJ,KAAA,CAACV,IAAI;IAACe,KAAK,EAAEC,MAAM,CAACC,QAAS;IAAAH,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UAAU,EAAE,EAAE;MACdO,SAAS,EAAE;IACb,CAAC;IACD3D,kBAAkB,EAAE;MAClB1B,KAAK,EAAElC,KAAK,CAACmC,MAAM,CAACqF,eAAe;MACnCX,QAAQ,EAAE7G,KAAK,CAAC8G,UAAU,CAAChG,EAAE;MAC7BkG,UAAU,EAAE,EAAE;MACdO,SAAS,EAAE;IACb,CAAC;IACD1D,cAAc,EAAE;MACdyC,aAAa,EAAE,KAAK;MACpBC,GAAG,EAAEvG,KAAK,CAACa,OAAO,CAACC,EAAE;MACrBuE,KAAK,EAAE;IACT,CAAC;IACDtB,oBAAoB,EAAE;MACpBiB,cAAc,EAAE;IAClB,CAAC;IACDf,aAAa,EAAE;MACbW,IAAI,EAAE;IACR;EACF,CAAC,CAAC;AACJ","ignoreList":[]}
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+
3
+ import { StyleSheet, View } from 'react-native';
4
+ import { cssInterop } from 'nativewind';
5
+ import { useTheme } from "../../theme/theme-provider.js";
6
+ import { jsx as _jsx } from "react/jsx-runtime";
7
+ export function Divider({
8
+ inset = 'none',
9
+ style,
10
+ thickness = 1,
11
+ ...props
12
+ }) {
13
+ const theme = useTheme();
14
+ const styles = createStyles(theme);
15
+ return /*#__PURE__*/_jsx(View, {
16
+ accessibilityRole: "none",
17
+ style: [styles.divider, {
18
+ height: thickness,
19
+ marginHorizontal: resolveInset(inset, theme)
20
+ }, style],
21
+ ...props
22
+ });
23
+ }
24
+ cssInterop(Divider, {
25
+ className: 'style'
26
+ });
27
+ function resolveInset(inset, theme) {
28
+ if (inset === 'none') {
29
+ return 0;
30
+ }
31
+ return theme.spacing[inset];
32
+ }
33
+ function createStyles(theme) {
34
+ return StyleSheet.create({
35
+ divider: {
36
+ backgroundColor: theme.border.color,
37
+ width: 'auto'
38
+ }
39
+ });
40
+ }
41
+ //# sourceMappingURL=divider.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["StyleSheet","View","cssInterop","useTheme","jsx","_jsx","Divider","inset","style","thickness","props","theme","styles","createStyles","accessibilityRole","divider","height","marginHorizontal","resolveInset","className","spacing","create","backgroundColor","border","color","width"],"sourceRoot":"../../../../src","sources":["components/divider/divider.tsx"],"mappings":";;AAAA,SAASA,UAAU,EAAEC,IAAI,QAAwD,cAAc;AAC/F,SAASC,UAAU,QAAQ,YAAY;AAGvC,SAASC,QAAQ,QAAQ,+BAA4B;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAWtD,OAAO,SAASC,OAAOA,CAAC;EACtBC,KAAK,GAAG,MAAM;EACdC,KAAK;EACLC,SAAS,GAAG,CAAC;EACb,GAAGC;AACS,CAAC,EAAE;EACf,MAAMC,KAAK,GAAGR,QAAQ,CAAC,CAAC;EACxB,MAAMS,MAAM,GAAGC,YAAY,CAACF,KAAK,CAAC;EAElC,oBACEN,IAAA,CAACJ,IAAI;IACHa,iBAAiB,EAAC,MAAM;IACxBN,KAAK,EAAE,CACLI,MAAM,CAACG,OAAO,EACd;MACEC,MAAM,EAAEP,SAAS;MACjBQ,gBAAgB,EAAEC,YAAY,CAACX,KAAK,EAAEI,KAAK;IAC7C,CAAC,EACDH,KAAK,CACL;IAAA,GACEE;EAAK,CACV,CAAC;AAEN;AAEAR,UAAU,CAACI,OAAO,EAAE;EAAEa,SAAS,EAAE;AAAQ,CAAC,CAAC;AAE3C,SAASD,YAAYA,CAACX,KAAmB,EAAEI,KAAY,EAAU;EAC/D,IAAIJ,KAAK,KAAK,MAAM,EAAE;IACpB,OAAO,CAAC;EACV;EAEA,OAAOI,KAAK,CAACS,OAAO,CAACb,KAAK,CAAC;AAC7B;AAEA,SAASM,YAAYA,CAACF,KAAY,EAAE;EAClC,OAAOX,UAAU,CAACqB,MAAM,CAAC;IACvBN,OAAO,EAAE;MACPO,eAAe,EAAEX,KAAK,CAACY,MAAM,CAACC,KAAK;MACnCC,KAAK,EAAE;IACT;EACF,CAAC,CAAC;AACJ","ignoreList":[]}
@@ -0,0 +1,214 @@
1
+ "use strict";
2
+
3
+ import { Platform, StyleSheet, Text, View } from 'react-native';
4
+ import * as DropdownMenuPrimitive from '@rn-primitives/dropdown-menu';
5
+ import { useTheme } from "../../theme/theme-provider.js";
6
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
7
+ export function DropdownMenu({
8
+ align = 'start',
9
+ children,
10
+ items,
11
+ shadow = true,
12
+ shadowColor,
13
+ shadowOffset,
14
+ shadowVariant = 'default',
15
+ side = 'bottom',
16
+ sideOffset = 6,
17
+ variant = 'default'
18
+ }) {
19
+ const theme = useTheme();
20
+ const styles = createStyles(theme);
21
+ const isEmoji = variant === 'emoji';
22
+ const resolvedShadowColor = shadowColor ?? resolveShadowColor(shadowVariant, theme);
23
+ const resolvedShadowOffset = shadowOffset ?? theme.shadow.offset;
24
+ const usesAndroidHardShadow = Platform.OS === 'android' && shadow;
25
+ const usesPlatformShadow = Platform.OS !== 'android' && shadow;
26
+ return /*#__PURE__*/_jsxs(DropdownMenuPrimitive.Root, {
27
+ children: [/*#__PURE__*/_jsx(DropdownMenuPrimitive.Trigger, {
28
+ asChild: true,
29
+ children: children
30
+ }), /*#__PURE__*/_jsxs(DropdownMenuPrimitive.Portal, {
31
+ children: [/*#__PURE__*/_jsx(DropdownMenuPrimitive.Overlay, {
32
+ closeOnPress: true,
33
+ style: styles.overlay,
34
+ testID: "dropdown-menu-overlay"
35
+ }), /*#__PURE__*/_jsx(DropdownMenuPrimitive.Content, {
36
+ align: align,
37
+ side: side,
38
+ sideOffset: sideOffset,
39
+ style: isEmoji ? styles.emojiContentPosition : styles.defaultContentPosition,
40
+ children: /*#__PURE__*/_jsxs(View, {
41
+ style: [usesAndroidHardShadow && [styles.androidShadowContainer, {
42
+ paddingBottom: resolvedShadowOffset,
43
+ paddingRight: resolvedShadowOffset
44
+ }], usesPlatformShadow && [styles.iosShadowContainer, {
45
+ marginBottom: resolvedShadowOffset,
46
+ marginRight: resolvedShadowOffset,
47
+ shadowColor: resolvedShadowColor,
48
+ shadowOffset: {
49
+ height: resolvedShadowOffset,
50
+ width: resolvedShadowOffset
51
+ }
52
+ }]],
53
+ children: [usesAndroidHardShadow ? /*#__PURE__*/_jsx(View, {
54
+ pointerEvents: "none",
55
+ style: [styles.androidHardShadow, {
56
+ backgroundColor: resolvedShadowColor,
57
+ left: resolvedShadowOffset,
58
+ top: resolvedShadowOffset
59
+ }],
60
+ testID: "dropdown-menu-hard-shadow"
61
+ }) : null, /*#__PURE__*/_jsx(View, {
62
+ style: [styles.surface, isEmoji ? styles.emojiSurface : styles.defaultSurface],
63
+ children: /*#__PURE__*/_jsx(View, {
64
+ style: isEmoji ? styles.emojiContent : styles.defaultContent,
65
+ testID: isEmoji ? 'dropdown-menu-emoji-content' : undefined,
66
+ children: items.map(item => /*#__PURE__*/_jsx(DropdownMenuPrimitive.Item, {
67
+ accessibilityLabel: item.label,
68
+ disabled: item.disabled,
69
+ onPress: item.onPress,
70
+ style: [isEmoji ? styles.emojiItem : styles.item, item.destructive && styles.destructiveItem, item.disabled && styles.disabledItem],
71
+ textValue: item.label,
72
+ children: isEmoji ? item.leading ?? /*#__PURE__*/_jsx(Text, {
73
+ style: styles.emojiFallback,
74
+ children: item.label
75
+ }) : /*#__PURE__*/_jsxs(_Fragment, {
76
+ children: [item.leading ? /*#__PURE__*/_jsx(View, {
77
+ style: styles.leading,
78
+ children: item.leading
79
+ }) : null, /*#__PURE__*/_jsx(Text, {
80
+ style: [styles.itemLabel, item.destructive && styles.destructiveLabel, item.disabled && styles.disabledLabel],
81
+ children: item.label
82
+ })]
83
+ })
84
+ }, item.label))
85
+ })
86
+ })]
87
+ })
88
+ })]
89
+ })]
90
+ });
91
+ }
92
+ function resolveShadowColor(variant, theme) {
93
+ const colors = {
94
+ default: theme.shadow.color,
95
+ destructive: theme.colors.destructive,
96
+ info: theme.colors.info,
97
+ primary: theme.colors.primary,
98
+ secondary: theme.colors.secondary,
99
+ success: theme.colors.success,
100
+ warning: theme.colors.warning
101
+ };
102
+ return colors[variant];
103
+ }
104
+ function createStyles(theme) {
105
+ return StyleSheet.create({
106
+ androidHardShadow: {
107
+ backgroundColor: theme.shadow.color,
108
+ borderRadius: theme.border.radius,
109
+ bottom: 0,
110
+ left: theme.shadow.offset,
111
+ position: 'absolute',
112
+ right: 0,
113
+ top: theme.shadow.offset
114
+ },
115
+ androidShadowContainer: {
116
+ paddingBottom: theme.shadow.offset,
117
+ paddingRight: theme.shadow.offset,
118
+ position: 'relative'
119
+ },
120
+ defaultContent: {
121
+ gap: 6,
122
+ padding: 4
123
+ },
124
+ defaultContentPosition: {
125
+ width: 230
126
+ },
127
+ destructiveItem: {
128
+ backgroundColor: theme.colors.destructive
129
+ },
130
+ destructiveLabel: {
131
+ color: theme.colors.destructiveForeground
132
+ },
133
+ defaultSurface: {
134
+ width: 230
135
+ },
136
+ disabledItem: {
137
+ backgroundColor: theme.colors.disabled
138
+ },
139
+ disabledLabel: {
140
+ color: theme.colors.mutedForeground
141
+ },
142
+ emojiContent: {
143
+ alignItems: 'center',
144
+ flexDirection: 'row',
145
+ gap: 10,
146
+ paddingHorizontal: 8,
147
+ paddingVertical: 6
148
+ },
149
+ emojiContentPosition: {
150
+ maxWidth: 320
151
+ },
152
+ emojiFallback: {
153
+ color: theme.colors.foreground,
154
+ fontSize: 24,
155
+ lineHeight: 32
156
+ },
157
+ emojiItem: {
158
+ alignItems: 'center',
159
+ justifyContent: 'center',
160
+ minHeight: 32,
161
+ minWidth: 32
162
+ },
163
+ emojiSurface: {
164
+ alignSelf: 'flex-start'
165
+ },
166
+ iosShadowContainer: {
167
+ backgroundColor: theme.colors.surface,
168
+ borderRadius: theme.border.radius,
169
+ marginBottom: theme.shadow.offset,
170
+ marginRight: theme.shadow.offset,
171
+ shadowOffset: {
172
+ height: theme.shadow.offset,
173
+ width: theme.shadow.offset
174
+ },
175
+ shadowOpacity: 1,
176
+ shadowRadius: 0
177
+ },
178
+ item: {
179
+ alignItems: 'center',
180
+ flexDirection: 'row',
181
+ gap: 12,
182
+ minHeight: 48,
183
+ paddingHorizontal: 12,
184
+ paddingVertical: 10
185
+ },
186
+ itemLabel: {
187
+ color: theme.colors.foreground,
188
+ flex: 1,
189
+ fontSize: theme.typography.lg,
190
+ lineHeight: 28
191
+ },
192
+ leading: {
193
+ alignItems: 'center',
194
+ height: 24,
195
+ justifyContent: 'center',
196
+ width: 24
197
+ },
198
+ overlay: {
199
+ bottom: 0,
200
+ left: 0,
201
+ position: 'absolute',
202
+ right: 0,
203
+ top: 0
204
+ },
205
+ surface: {
206
+ backgroundColor: theme.colors.surface,
207
+ borderColor: theme.border.color,
208
+ borderRadius: theme.border.radius,
209
+ borderWidth: theme.border.width,
210
+ overflow: 'hidden'
211
+ }
212
+ });
213
+ }
214
+ //# sourceMappingURL=dropdown-menu.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["Platform","StyleSheet","Text","View","DropdownMenuPrimitive","useTheme","jsx","_jsx","Fragment","_Fragment","jsxs","_jsxs","DropdownMenu","align","children","items","shadow","shadowColor","shadowOffset","shadowVariant","side","sideOffset","variant","theme","styles","createStyles","isEmoji","resolvedShadowColor","resolveShadowColor","resolvedShadowOffset","offset","usesAndroidHardShadow","OS","usesPlatformShadow","Root","Trigger","asChild","Portal","Overlay","closeOnPress","style","overlay","testID","Content","emojiContentPosition","defaultContentPosition","androidShadowContainer","paddingBottom","paddingRight","iosShadowContainer","marginBottom","marginRight","height","width","pointerEvents","androidHardShadow","backgroundColor","left","top","surface","emojiSurface","defaultSurface","emojiContent","defaultContent","undefined","map","item","Item","accessibilityLabel","label","disabled","onPress","emojiItem","destructive","destructiveItem","disabledItem","textValue","leading","emojiFallback","itemLabel","destructiveLabel","disabledLabel","colors","default","color","info","primary","secondary","success","warning","create","borderRadius","border","radius","bottom","position","right","gap","padding","destructiveForeground","mutedForeground","alignItems","flexDirection","paddingHorizontal","paddingVertical","maxWidth","foreground","fontSize","lineHeight","justifyContent","minHeight","minWidth","alignSelf","shadowOpacity","shadowRadius","flex","typography","lg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