react-native-atomic-ui 1.0.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 (73) hide show
  1. package/CHANGELOG.md +145 -0
  2. package/README.md +485 -0
  3. package/dist/advanced/date-picker/index.d.ts +22 -0
  4. package/dist/advanced/date-picker/index.d.ts.map +1 -0
  5. package/dist/advanced/date-picker/index.js +31 -0
  6. package/dist/advanced/date-picker/index.js.map +7 -0
  7. package/dist/advanced/date-picker/index.mjs +10 -0
  8. package/dist/advanced/date-picker/index.mjs.map +7 -0
  9. package/dist/advanced/file-picker/index.d.ts +21 -0
  10. package/dist/advanced/file-picker/index.d.ts.map +1 -0
  11. package/dist/advanced/file-picker/index.js +31 -0
  12. package/dist/advanced/file-picker/index.js.map +7 -0
  13. package/dist/advanced/file-picker/index.mjs +10 -0
  14. package/dist/advanced/file-picker/index.mjs.map +7 -0
  15. package/dist/advanced/picker/index.d.ts +27 -0
  16. package/dist/advanced/picker/index.d.ts.map +1 -0
  17. package/dist/advanced/picker/index.js +37 -0
  18. package/dist/advanced/picker/index.js.map +7 -0
  19. package/dist/advanced/picker/index.mjs +16 -0
  20. package/dist/advanced/picker/index.mjs.map +7 -0
  21. package/dist/advanced/rich-text/index.d.ts +29 -0
  22. package/dist/advanced/rich-text/index.d.ts.map +1 -0
  23. package/dist/advanced/rich-text/index.js +37 -0
  24. package/dist/advanced/rich-text/index.js.map +7 -0
  25. package/dist/advanced/rich-text/index.mjs +16 -0
  26. package/dist/advanced/rich-text/index.mjs.map +7 -0
  27. package/dist/chunk-IOIXIQ2F.mjs +177 -0
  28. package/dist/chunk-IOIXIQ2F.mjs.map +7 -0
  29. package/dist/chunk-NUUZYCND.mjs +318 -0
  30. package/dist/chunk-NUUZYCND.mjs.map +7 -0
  31. package/dist/components/index.d.ts +4 -0
  32. package/dist/components/index.d.ts.map +1 -0
  33. package/dist/components/index.js +485 -0
  34. package/dist/components/index.js.map +7 -0
  35. package/dist/components/index.mjs +48 -0
  36. package/dist/components/index.mjs.map +7 -0
  37. package/dist/components/inputs/Button.d.ts +7 -0
  38. package/dist/components/inputs/Button.d.ts.map +1 -0
  39. package/dist/components/inputs/Button.js +105 -0
  40. package/dist/components/inputs/Button.js.map +1 -0
  41. package/dist/components/layouts/Box.d.ts +18 -0
  42. package/dist/components/layouts/Box.d.ts.map +1 -0
  43. package/dist/components/layouts/Box.js +72 -0
  44. package/dist/components/layouts/Box.js.map +1 -0
  45. package/dist/components/typography/Text.d.ts +26 -0
  46. package/dist/components/typography/Text.d.ts.map +1 -0
  47. package/dist/components/typography/Text.js +70 -0
  48. package/dist/components/typography/Text.js.map +1 -0
  49. package/dist/index.d.ts +4 -0
  50. package/dist/index.d.ts.map +1 -0
  51. package/dist/index.js +515 -0
  52. package/dist/index.js.map +7 -0
  53. package/dist/index.mjs +57 -0
  54. package/dist/index.mjs.map +7 -0
  55. package/dist/theme/index.d.ts +19 -0
  56. package/dist/theme/index.d.ts.map +1 -0
  57. package/dist/theme/index.js +207 -0
  58. package/dist/theme/index.js.map +7 -0
  59. package/dist/theme/index.mjs +13 -0
  60. package/dist/theme/index.mjs.map +7 -0
  61. package/dist/theme/themes.d.ts +4 -0
  62. package/dist/theme/themes.d.ts.map +1 -0
  63. package/dist/theme/themes.js +127 -0
  64. package/dist/theme/themes.js.map +1 -0
  65. package/dist/types/index.d.ts +117 -0
  66. package/dist/types/index.d.ts.map +1 -0
  67. package/dist/types/index.js +2 -0
  68. package/dist/types/index.js.map +1 -0
  69. package/dist/utilities/math.d.ts +13 -0
  70. package/dist/utilities/math.d.ts.map +1 -0
  71. package/dist/utilities/math.js +27 -0
  72. package/dist/utilities/math.js.map +1 -0
  73. package/package.json +132 -0
@@ -0,0 +1,485 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+
30
+ // src/components/index.ts
31
+ var components_exports = {};
32
+ __export(components_exports, {
33
+ Body1: () => Body1,
34
+ Body2: () => Body2,
35
+ Body3: () => Body3,
36
+ Body4: () => Body4,
37
+ Body5: () => Body5,
38
+ Body6: () => Body6,
39
+ Box: () => Box,
40
+ Button: () => Button,
41
+ Caption: () => Caption,
42
+ Column: () => Column,
43
+ H1: () => H1,
44
+ H2: () => H2,
45
+ H3: () => H3,
46
+ H4: () => H4,
47
+ H5: () => H5,
48
+ H6: () => H6,
49
+ Overline: () => Overline,
50
+ Row: () => Row,
51
+ SubTitle1: () => SubTitle1,
52
+ SubTitle2: () => SubTitle2,
53
+ Text: () => Text
54
+ });
55
+ module.exports = __toCommonJS(components_exports);
56
+
57
+ // src/components/layouts/Box.tsx
58
+ var import_react2 = __toESM(require("react"));
59
+ var import_react_native2 = require("react-native");
60
+
61
+ // src/theme/index.tsx
62
+ var import_react = __toESM(require("react"));
63
+ var import_react_native = require("react-native");
64
+
65
+ // src/theme/themes.ts
66
+ var baseTheme = {
67
+ spacing: {
68
+ xs: 4,
69
+ sm: 8,
70
+ md: 16,
71
+ lg: 24,
72
+ xl: 32,
73
+ xxl: 48
74
+ },
75
+ borderRadius: {
76
+ xs: 2,
77
+ sm: 4,
78
+ md: 8,
79
+ lg: 12,
80
+ full: 9999
81
+ }
82
+ };
83
+ var lightTheme = {
84
+ colors: {
85
+ primary: "#007AFF",
86
+ secondary: "#5AC8FA",
87
+ background: "#FFFFFF",
88
+ surface: "#F5F5F5",
89
+ text: "#000000",
90
+ textSecondary: "#666666",
91
+ textTertiary: "#999999",
92
+ border: "#CCCCCC",
93
+ borderLight: "#E8E8E8",
94
+ error: "#FF3B30",
95
+ success: "#34C759",
96
+ warning: "#FF9500",
97
+ info: "#5AC8FA",
98
+ transparent: "transparent",
99
+ white: "#FFFFFF",
100
+ black: "#000000",
101
+ disabled: "#D0D0D0"
102
+ },
103
+ typography: {
104
+ h1: { fontSize: 48, fontWeight: "700", lineHeight: 56 },
105
+ h2: { fontSize: 40, fontWeight: "700", lineHeight: 48 },
106
+ h3: { fontSize: 34, fontWeight: "700", lineHeight: 41 },
107
+ h4: { fontSize: 28, fontWeight: "700", lineHeight: 34 },
108
+ h5: { fontSize: 22, fontWeight: "600", lineHeight: 28 },
109
+ h6: { fontSize: 18, fontWeight: "600", lineHeight: 24 },
110
+ body1: { fontSize: 16, fontWeight: "400", lineHeight: 24 },
111
+ body2: { fontSize: 15, fontWeight: "400", lineHeight: 22 },
112
+ body3: { fontSize: 14, fontWeight: "400", lineHeight: 20 },
113
+ body4: { fontSize: 13, fontWeight: "400", lineHeight: 18 },
114
+ body5: { fontSize: 12, fontWeight: "400", lineHeight: 16 },
115
+ body6: { fontSize: 11, fontWeight: "400", lineHeight: 15 },
116
+ subtitle1: { fontSize: 14, fontWeight: "600", lineHeight: 20 },
117
+ subtitle2: { fontSize: 12, fontWeight: "600", lineHeight: 16 },
118
+ caption: { fontSize: 12, fontWeight: "400", lineHeight: 16 },
119
+ overline: { fontSize: 10, fontWeight: "600", lineHeight: 14 }
120
+ },
121
+ ...baseTheme,
122
+ shadows: {
123
+ light: {
124
+ shadowColor: "#000",
125
+ shadowOffset: { width: 0, height: 1 },
126
+ shadowOpacity: 0.1,
127
+ shadowRadius: 2,
128
+ elevation: 2
129
+ },
130
+ medium: {
131
+ shadowColor: "#000",
132
+ shadowOffset: { width: 0, height: 4 },
133
+ shadowOpacity: 0.15,
134
+ shadowRadius: 8,
135
+ elevation: 4
136
+ },
137
+ heavy: {
138
+ shadowColor: "#000",
139
+ shadowOffset: { width: 0, height: 8 },
140
+ shadowOpacity: 0.2,
141
+ shadowRadius: 16,
142
+ elevation: 8
143
+ }
144
+ }
145
+ };
146
+ var darkTheme = {
147
+ colors: {
148
+ primary: "#0A84FF",
149
+ secondary: "#30B0C5",
150
+ background: "#1C1C1E",
151
+ surface: "#2C2C2E",
152
+ text: "#FFFFFF",
153
+ textSecondary: "#A0A0A0",
154
+ textTertiary: "#808080",
155
+ border: "#454546",
156
+ borderLight: "#3A3A3C",
157
+ error: "#FF453A",
158
+ success: "#30C759",
159
+ warning: "#FF9500",
160
+ info: "#30B0C5",
161
+ transparent: "transparent",
162
+ white: "#FFFFFF",
163
+ black: "#000000",
164
+ disabled: "#636366"
165
+ },
166
+ typography: lightTheme.typography,
167
+ ...baseTheme,
168
+ shadows: {
169
+ light: {
170
+ shadowColor: "#000",
171
+ shadowOffset: { width: 0, height: 1 },
172
+ shadowOpacity: 0.3,
173
+ shadowRadius: 2,
174
+ elevation: 2
175
+ },
176
+ medium: {
177
+ shadowColor: "#000",
178
+ shadowOffset: { width: 0, height: 4 },
179
+ shadowOpacity: 0.4,
180
+ shadowRadius: 8,
181
+ elevation: 4
182
+ },
183
+ heavy: {
184
+ shadowColor: "#000",
185
+ shadowOffset: { width: 0, height: 8 },
186
+ shadowOpacity: 0.5,
187
+ shadowRadius: 16,
188
+ elevation: 8
189
+ }
190
+ }
191
+ };
192
+
193
+ // src/theme/index.tsx
194
+ var ThemeContext = (0, import_react.createContext)(null);
195
+ function useTheme() {
196
+ const context = (0, import_react.useContext)(ThemeContext);
197
+ if (!context) {
198
+ throw new Error("useTheme must be used within a ThemeProvider");
199
+ }
200
+ return context;
201
+ }
202
+
203
+ // src/components/layouts/Box.tsx
204
+ function Box({
205
+ children,
206
+ padding,
207
+ paddingHorizontal,
208
+ paddingVertical,
209
+ margin,
210
+ marginHorizontal,
211
+ marginVertical,
212
+ gap,
213
+ backgroundColor,
214
+ borderRadius,
215
+ style,
216
+ testID
217
+ }) {
218
+ const { theme } = useTheme();
219
+ const boxStyle = [
220
+ padding && { padding: theme.spacing[padding] },
221
+ paddingHorizontal && { paddingHorizontal: theme.spacing[paddingHorizontal] },
222
+ paddingVertical && { paddingVertical: theme.spacing[paddingVertical] },
223
+ margin && { margin: theme.spacing[margin] },
224
+ marginHorizontal && { marginHorizontal: theme.spacing[marginHorizontal] },
225
+ marginVertical && { marginVertical: theme.spacing[marginVertical] },
226
+ gap && { gap: theme.spacing[gap] },
227
+ backgroundColor && { backgroundColor },
228
+ borderRadius && { borderRadius: theme.borderRadius[borderRadius] },
229
+ style
230
+ ];
231
+ return /* @__PURE__ */ import_react2.default.createElement(import_react_native2.View, { style: boxStyle, testID }, children);
232
+ }
233
+ function Row({
234
+ children,
235
+ padding,
236
+ paddingHorizontal,
237
+ paddingVertical,
238
+ margin,
239
+ marginHorizontal,
240
+ marginVertical,
241
+ gap,
242
+ backgroundColor,
243
+ borderRadius,
244
+ style,
245
+ testID
246
+ }) {
247
+ const { theme } = useTheme();
248
+ const rowStyle = [
249
+ { flexDirection: "row", alignItems: "center" },
250
+ padding && { padding: theme.spacing[padding] },
251
+ paddingHorizontal && { paddingHorizontal: theme.spacing[paddingHorizontal] },
252
+ paddingVertical && { paddingVertical: theme.spacing[paddingVertical] },
253
+ margin && { margin: theme.spacing[margin] },
254
+ marginHorizontal && { marginHorizontal: theme.spacing[marginHorizontal] },
255
+ marginVertical && { marginVertical: theme.spacing[marginVertical] },
256
+ gap && { gap: theme.spacing[gap] },
257
+ backgroundColor && { backgroundColor },
258
+ borderRadius && { borderRadius: theme.borderRadius[borderRadius] },
259
+ style
260
+ ];
261
+ return /* @__PURE__ */ import_react2.default.createElement(import_react_native2.View, { style: rowStyle, testID }, children);
262
+ }
263
+ function Column({
264
+ children,
265
+ padding,
266
+ paddingHorizontal,
267
+ paddingVertical,
268
+ margin,
269
+ marginHorizontal,
270
+ marginVertical,
271
+ gap,
272
+ backgroundColor,
273
+ borderRadius,
274
+ style,
275
+ testID
276
+ }) {
277
+ const { theme } = useTheme();
278
+ const columnStyle = [
279
+ { flexDirection: "column" },
280
+ padding && { padding: theme.spacing[padding] },
281
+ paddingHorizontal && { paddingHorizontal: theme.spacing[paddingHorizontal] },
282
+ paddingVertical && { paddingVertical: theme.spacing[paddingVertical] },
283
+ margin && { margin: theme.spacing[margin] },
284
+ marginHorizontal && { marginHorizontal: theme.spacing[marginHorizontal] },
285
+ marginVertical && { marginVertical: theme.spacing[marginVertical] },
286
+ gap && { gap: theme.spacing[gap] },
287
+ backgroundColor && { backgroundColor },
288
+ borderRadius && { borderRadius: theme.borderRadius[borderRadius] },
289
+ style
290
+ ];
291
+ return /* @__PURE__ */ import_react2.default.createElement(import_react_native2.View, { style: columnStyle, testID }, children);
292
+ }
293
+
294
+ // src/components/typography/Text.tsx
295
+ var import_react3 = __toESM(require("react"));
296
+ var import_react_native3 = require("react-native");
297
+ function Text({
298
+ children,
299
+ variant = "body1",
300
+ color,
301
+ textAlign,
302
+ style,
303
+ testID
304
+ }) {
305
+ const { theme } = useTheme();
306
+ const textStyle = [
307
+ theme.typography[variant],
308
+ { color: color || theme.colors.text },
309
+ textAlign && { textAlign },
310
+ style
311
+ ];
312
+ return /* @__PURE__ */ import_react3.default.createElement(import_react_native3.Text, { style: textStyle, testID }, children);
313
+ }
314
+ function H1(props) {
315
+ return /* @__PURE__ */ import_react3.default.createElement(Text, { ...props, variant: "h1" });
316
+ }
317
+ function H2(props) {
318
+ return /* @__PURE__ */ import_react3.default.createElement(Text, { ...props, variant: "h2" });
319
+ }
320
+ function H3(props) {
321
+ return /* @__PURE__ */ import_react3.default.createElement(Text, { ...props, variant: "h3" });
322
+ }
323
+ function H4(props) {
324
+ return /* @__PURE__ */ import_react3.default.createElement(Text, { ...props, variant: "h4" });
325
+ }
326
+ function H5(props) {
327
+ return /* @__PURE__ */ import_react3.default.createElement(Text, { ...props, variant: "h5" });
328
+ }
329
+ function H6(props) {
330
+ return /* @__PURE__ */ import_react3.default.createElement(Text, { ...props, variant: "h6" });
331
+ }
332
+ function Body1(props) {
333
+ return /* @__PURE__ */ import_react3.default.createElement(Text, { ...props, variant: "body1" });
334
+ }
335
+ function Body2(props) {
336
+ return /* @__PURE__ */ import_react3.default.createElement(Text, { ...props, variant: "body2" });
337
+ }
338
+ function Body3(props) {
339
+ return /* @__PURE__ */ import_react3.default.createElement(Text, { ...props, variant: "body3" });
340
+ }
341
+ function Body4(props) {
342
+ return /* @__PURE__ */ import_react3.default.createElement(Text, { ...props, variant: "body4" });
343
+ }
344
+ function Body5(props) {
345
+ return /* @__PURE__ */ import_react3.default.createElement(Text, { ...props, variant: "body5" });
346
+ }
347
+ function Body6(props) {
348
+ return /* @__PURE__ */ import_react3.default.createElement(Text, { ...props, variant: "body6" });
349
+ }
350
+ function SubTitle1(props) {
351
+ return /* @__PURE__ */ import_react3.default.createElement(Text, { ...props, variant: "subtitle1" });
352
+ }
353
+ function SubTitle2(props) {
354
+ return /* @__PURE__ */ import_react3.default.createElement(Text, { ...props, variant: "subtitle2" });
355
+ }
356
+ function Caption(props) {
357
+ return /* @__PURE__ */ import_react3.default.createElement(Text, { ...props, variant: "caption" });
358
+ }
359
+ function Overline(props) {
360
+ return /* @__PURE__ */ import_react3.default.createElement(Text, { ...props, variant: "overline" });
361
+ }
362
+
363
+ // src/components/inputs/Button.tsx
364
+ var import_react4 = __toESM(require("react"));
365
+ var import_react_native4 = require("react-native");
366
+ function Button({
367
+ label,
368
+ onPress,
369
+ variant = "primary",
370
+ size = "medium",
371
+ disabled = false,
372
+ loading = false,
373
+ icon,
374
+ style,
375
+ testID
376
+ }) {
377
+ const { theme } = useTheme();
378
+ const getVariantStyle = () => {
379
+ switch (variant) {
380
+ case "primary":
381
+ return {
382
+ backgroundColor: theme.colors.primary,
383
+ borderColor: theme.colors.primary
384
+ };
385
+ case "secondary":
386
+ return {
387
+ backgroundColor: theme.colors.secondary,
388
+ borderColor: theme.colors.secondary
389
+ };
390
+ case "danger":
391
+ return {
392
+ backgroundColor: theme.colors.error,
393
+ borderColor: theme.colors.error
394
+ };
395
+ case "ghost":
396
+ return {
397
+ backgroundColor: "transparent",
398
+ borderColor: theme.colors.primary,
399
+ borderWidth: 1
400
+ };
401
+ default:
402
+ return {
403
+ backgroundColor: theme.colors.primary,
404
+ borderColor: theme.colors.primary
405
+ };
406
+ }
407
+ };
408
+ const getSizeStyle = () => {
409
+ switch (size) {
410
+ case "small":
411
+ return {
412
+ paddingHorizontal: theme.spacing.md,
413
+ paddingVertical: theme.spacing.sm,
414
+ minHeight: 32
415
+ };
416
+ case "large":
417
+ return {
418
+ paddingHorizontal: theme.spacing.lg,
419
+ paddingVertical: theme.spacing.md,
420
+ minHeight: 56
421
+ };
422
+ case "medium":
423
+ default:
424
+ return {
425
+ paddingHorizontal: theme.spacing.lg,
426
+ paddingVertical: theme.spacing.md,
427
+ minHeight: 48
428
+ };
429
+ }
430
+ };
431
+ const buttonStyle = [
432
+ styles.button,
433
+ {
434
+ ...getVariantStyle(),
435
+ ...getSizeStyle(),
436
+ borderRadius: theme.borderRadius.md,
437
+ opacity: disabled || loading ? 0.5 : 1
438
+ },
439
+ style
440
+ ];
441
+ const textColor = variant === "ghost" ? theme.colors.primary : theme.colors.white;
442
+ return /* @__PURE__ */ import_react4.default.createElement(
443
+ import_react_native4.TouchableOpacity,
444
+ {
445
+ style: buttonStyle,
446
+ onPress,
447
+ disabled: disabled || loading,
448
+ testID
449
+ },
450
+ /* @__PURE__ */ import_react4.default.createElement(import_react_native4.View, { style: styles.content }, loading ? /* @__PURE__ */ import_react4.default.createElement(
451
+ import_react_native4.ActivityIndicator,
452
+ {
453
+ color: textColor,
454
+ size: size === "small" ? "small" : "large"
455
+ }
456
+ ) : /* @__PURE__ */ import_react4.default.createElement(import_react4.default.Fragment, null, icon && /* @__PURE__ */ import_react4.default.createElement(import_react_native4.View, { style: styles.icon }, icon), /* @__PURE__ */ import_react4.default.createElement(
457
+ Text,
458
+ {
459
+ variant: size === "small" ? "body3" : "body1",
460
+ color: textColor,
461
+ style: styles.label
462
+ },
463
+ label
464
+ )))
465
+ );
466
+ }
467
+ var styles = import_react_native4.StyleSheet.create({
468
+ button: {
469
+ justifyContent: "center",
470
+ alignItems: "center",
471
+ flexDirection: "row"
472
+ },
473
+ content: {
474
+ flexDirection: "row",
475
+ alignItems: "center",
476
+ justifyContent: "center"
477
+ },
478
+ icon: {
479
+ marginRight: 8
480
+ },
481
+ label: {
482
+ fontWeight: "600"
483
+ }
484
+ });
485
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/components/index.ts", "../../src/components/layouts/Box.tsx", "../../src/theme/index.tsx", "../../src/theme/themes.ts", "../../src/components/typography/Text.tsx", "../../src/components/inputs/Button.tsx"],
4
+ "sourcesContent": ["// Layouts\nexport { Box, Row, Column } from './layouts/Box';\n\n// Typography\nexport {\n Text,\n H1,\n H2,\n H3,\n H4,\n H5,\n H6,\n Body1,\n Body2,\n Body3,\n Body4,\n Body5,\n Body6,\n SubTitle1,\n SubTitle2,\n Caption,\n Overline,\n} from './typography/Text';\n\n// Inputs\nexport { Button } from './inputs/Button';\n", "import React from 'react';\nimport { View, ViewProps } from 'react-native';\nimport { useTheme } from '@theme/index';\nimport type { BoxProps } from '../../types/index';\n\n/**\n * Box - Base layout component with flexbox support\n * Serves as the foundation for building custom layouts\n */\nexport function Box({\n children,\n padding,\n paddingHorizontal,\n paddingVertical,\n margin,\n marginHorizontal,\n marginVertical,\n gap,\n backgroundColor,\n borderRadius,\n style,\n testID,\n}: BoxProps) {\n const { theme } = useTheme();\n\n const boxStyle: ViewProps['style'] = [\n padding && { padding: theme.spacing[padding] },\n paddingHorizontal && { paddingHorizontal: theme.spacing[paddingHorizontal] },\n paddingVertical && { paddingVertical: theme.spacing[paddingVertical] },\n margin && { margin: theme.spacing[margin] },\n marginHorizontal && { marginHorizontal: theme.spacing[marginHorizontal] },\n marginVertical && { marginVertical: theme.spacing[marginVertical] },\n gap && { gap: theme.spacing[gap] },\n backgroundColor && { backgroundColor },\n borderRadius && { borderRadius: theme.borderRadius[borderRadius] },\n style,\n ];\n\n return (\n <View style={boxStyle} testID={testID}>\n {children}\n </View>\n );\n}\n\n/**\n * Row - Horizontal flex container\n * Equivalent to flexDirection: 'row'\n */\nexport function Row({\n children,\n padding,\n paddingHorizontal,\n paddingVertical,\n margin,\n marginHorizontal,\n marginVertical,\n gap,\n backgroundColor,\n borderRadius,\n style,\n testID,\n}: BoxProps) {\n const { theme } = useTheme();\n\n const rowStyle: ViewProps['style'] = [\n { flexDirection: 'row', alignItems: 'center' },\n padding && { padding: theme.spacing[padding] },\n paddingHorizontal && { paddingHorizontal: theme.spacing[paddingHorizontal] },\n paddingVertical && { paddingVertical: theme.spacing[paddingVertical] },\n margin && { margin: theme.spacing[margin] },\n marginHorizontal && { marginHorizontal: theme.spacing[marginHorizontal] },\n marginVertical && { marginVertical: theme.spacing[marginVertical] },\n gap && { gap: theme.spacing[gap] },\n backgroundColor && { backgroundColor },\n borderRadius && { borderRadius: theme.borderRadius[borderRadius] },\n style,\n ];\n\n return (\n <View style={rowStyle} testID={testID}>\n {children}\n </View>\n );\n}\n\n/**\n * Column - Vertical flex container\n * Equivalent to flexDirection: 'column'\n */\nexport function Column({\n children,\n padding,\n paddingHorizontal,\n paddingVertical,\n margin,\n marginHorizontal,\n marginVertical,\n gap,\n backgroundColor,\n borderRadius,\n style,\n testID,\n}: BoxProps) {\n const { theme } = useTheme();\n\n const columnStyle: ViewProps['style'] = [\n { flexDirection: 'column' },\n padding && { padding: theme.spacing[padding] },\n paddingHorizontal && { paddingHorizontal: theme.spacing[paddingHorizontal] },\n paddingVertical && { paddingVertical: theme.spacing[paddingVertical] },\n margin && { margin: theme.spacing[margin] },\n marginHorizontal && { marginHorizontal: theme.spacing[marginHorizontal] },\n marginVertical && { marginVertical: theme.spacing[marginVertical] },\n gap && { gap: theme.spacing[gap] },\n backgroundColor && { backgroundColor },\n borderRadius && { borderRadius: theme.borderRadius[borderRadius] },\n style,\n ];\n\n return (\n <View style={columnStyle} testID={testID}>\n {children}\n </View>\n );\n}\n", "import React, { createContext, useState, useContext, useEffect } from 'react';\nimport { useColorScheme } from 'react-native';\nimport type { ThemeContextValue } from '../types/index';\nimport { lightTheme, darkTheme } from './themes';\n\nconst ThemeContext = createContext<ThemeContextValue | null>(null);\n\nexport interface ThemeProviderProps {\n children: React.ReactNode;\n defaultTheme?: 'light' | 'dark' | 'system';\n}\n\n/**\n * Context-based Theme Provider\n * Provides theme context without requiring Redux\n */\nexport function ThemeProvider({\n children,\n defaultTheme = 'system',\n}: ThemeProviderProps) {\n const systemColorScheme = useColorScheme();\n const isSystemDark = systemColorScheme === 'dark';\n\n const [isDark, setIsDark] = useState<boolean>(() => {\n if (defaultTheme === 'system') {\n return isSystemDark;\n }\n return defaultTheme === 'dark';\n });\n\n // Update when system preference changes\n useEffect(() => {\n if (defaultTheme === 'system') {\n setIsDark(isSystemDark);\n }\n }, [isSystemDark, defaultTheme]);\n\n const theme = isDark ? darkTheme : lightTheme;\n\n const toggleTheme = () => {\n setIsDark((prev) => !prev);\n };\n\n const value: ThemeContextValue = {\n isDark,\n theme,\n toggleTheme,\n };\n\n return (\n <ThemeContext.Provider value={value}>{children}</ThemeContext.Provider>\n );\n}\n\n/**\n * Hook to access theme context in components\n * Must be used within ThemeProvider\n */\nexport function useTheme(): ThemeContextValue {\n const context = useContext(ThemeContext);\n if (!context) {\n throw new Error('useTheme must be used within a ThemeProvider');\n }\n return context;\n}\n\nexport { lightTheme, darkTheme } from './themes';\nexport type { Theme, ThemeContextValue } from '../types/index';\n", "import type { Theme } from '../types/index';\n\nconst baseTheme = {\n spacing: {\n xs: 4,\n sm: 8,\n md: 16,\n lg: 24,\n xl: 32,\n xxl: 48,\n },\n borderRadius: {\n xs: 2,\n sm: 4,\n md: 8,\n lg: 12,\n full: 9999,\n },\n};\n\nexport const lightTheme: Theme = {\n colors: {\n primary: '#007AFF',\n secondary: '#5AC8FA',\n background: '#FFFFFF',\n surface: '#F5F5F5',\n text: '#000000',\n textSecondary: '#666666',\n textTertiary: '#999999',\n border: '#CCCCCC',\n borderLight: '#E8E8E8',\n error: '#FF3B30',\n success: '#34C759',\n warning: '#FF9500',\n info: '#5AC8FA',\n transparent: 'transparent',\n white: '#FFFFFF',\n black: '#000000',\n disabled: '#D0D0D0',\n },\n typography: {\n h1: { fontSize: 48, fontWeight: '700', lineHeight: 56 },\n h2: { fontSize: 40, fontWeight: '700', lineHeight: 48 },\n h3: { fontSize: 34, fontWeight: '700', lineHeight: 41 },\n h4: { fontSize: 28, fontWeight: '700', lineHeight: 34 },\n h5: { fontSize: 22, fontWeight: '600', lineHeight: 28 },\n h6: { fontSize: 18, fontWeight: '600', lineHeight: 24 },\n body1: { fontSize: 16, fontWeight: '400', lineHeight: 24 },\n body2: { fontSize: 15, fontWeight: '400', lineHeight: 22 },\n body3: { fontSize: 14, fontWeight: '400', lineHeight: 20 },\n body4: { fontSize: 13, fontWeight: '400', lineHeight: 18 },\n body5: { fontSize: 12, fontWeight: '400', lineHeight: 16 },\n body6: { fontSize: 11, fontWeight: '400', lineHeight: 15 },\n subtitle1: { fontSize: 14, fontWeight: '600', lineHeight: 20 },\n subtitle2: { fontSize: 12, fontWeight: '600', lineHeight: 16 },\n caption: { fontSize: 12, fontWeight: '400', lineHeight: 16 },\n overline: { fontSize: 10, fontWeight: '600', lineHeight: 14 },\n },\n ...baseTheme,\n shadows: {\n light: {\n shadowColor: '#000',\n shadowOffset: { width: 0, height: 1 },\n shadowOpacity: 0.1,\n shadowRadius: 2,\n elevation: 2,\n },\n medium: {\n shadowColor: '#000',\n shadowOffset: { width: 0, height: 4 },\n shadowOpacity: 0.15,\n shadowRadius: 8,\n elevation: 4,\n },\n heavy: {\n shadowColor: '#000',\n shadowOffset: { width: 0, height: 8 },\n shadowOpacity: 0.2,\n shadowRadius: 16,\n elevation: 8,\n },\n },\n};\n\nexport const darkTheme: Theme = {\n colors: {\n primary: '#0A84FF',\n secondary: '#30B0C5',\n background: '#1C1C1E',\n surface: '#2C2C2E',\n text: '#FFFFFF',\n textSecondary: '#A0A0A0',\n textTertiary: '#808080',\n border: '#454546',\n borderLight: '#3A3A3C',\n error: '#FF453A',\n success: '#30C759',\n warning: '#FF9500',\n info: '#30B0C5',\n transparent: 'transparent',\n white: '#FFFFFF',\n black: '#000000',\n disabled: '#636366',\n },\n typography: lightTheme.typography,\n ...baseTheme,\n shadows: {\n light: {\n shadowColor: '#000',\n shadowOffset: { width: 0, height: 1 },\n shadowOpacity: 0.3,\n shadowRadius: 2,\n elevation: 2,\n },\n medium: {\n shadowColor: '#000',\n shadowOffset: { width: 0, height: 4 },\n shadowOpacity: 0.4,\n shadowRadius: 8,\n elevation: 4,\n },\n heavy: {\n shadowColor: '#000',\n shadowOffset: { width: 0, height: 8 },\n shadowOpacity: 0.5,\n shadowRadius: 16,\n elevation: 8,\n },\n },\n};\n", "import React from 'react';\nimport { Text as RNText, TextProps as RNTextProps } from 'react-native';\nimport { useTheme } from '@theme/index';\nimport type { TextProps } from '../../types/index';\n\n/**\n * Base Text component with theme support\n */\nexport function Text({\n children,\n variant = 'body1',\n color,\n textAlign,\n style,\n testID,\n}: TextProps) {\n const { theme } = useTheme();\n\n const textStyle: RNTextProps['style'] = [\n theme.typography[variant],\n { color: color || theme.colors.text },\n textAlign && { textAlign },\n style,\n ];\n\n return (\n <RNText style={textStyle} testID={testID}>\n {children}\n </RNText>\n );\n}\n\n/**\n * Typography components - Convenience components for common sizes\n */\n\nexport function H1(props: TextProps) {\n return <Text {...props} variant=\"h1\" />;\n}\n\nexport function H2(props: TextProps) {\n return <Text {...props} variant=\"h2\" />;\n}\n\nexport function H3(props: TextProps) {\n return <Text {...props} variant=\"h3\" />;\n}\n\nexport function H4(props: TextProps) {\n return <Text {...props} variant=\"h4\" />;\n}\n\nexport function H5(props: TextProps) {\n return <Text {...props} variant=\"h5\" />;\n}\n\nexport function H6(props: TextProps) {\n return <Text {...props} variant=\"h6\" />;\n}\n\nexport function Body1(props: TextProps) {\n return <Text {...props} variant=\"body1\" />;\n}\n\nexport function Body2(props: TextProps) {\n return <Text {...props} variant=\"body2\" />;\n}\n\nexport function Body3(props: TextProps) {\n return <Text {...props} variant=\"body3\" />;\n}\n\nexport function Body4(props: TextProps) {\n return <Text {...props} variant=\"body4\" />;\n}\n\nexport function Body5(props: TextProps) {\n return <Text {...props} variant=\"body5\" />;\n}\n\nexport function Body6(props: TextProps) {\n return <Text {...props} variant=\"body6\" />;\n}\n\nexport function SubTitle1(props: TextProps) {\n return <Text {...props} variant=\"subtitle1\" />;\n}\n\nexport function SubTitle2(props: TextProps) {\n return <Text {...props} variant=\"subtitle2\" />;\n}\n\nexport function Caption(props: TextProps) {\n return <Text {...props} variant=\"caption\" />;\n}\n\nexport function Overline(props: TextProps) {\n return <Text {...props} variant=\"overline\" />;\n}\n", "import React from 'react';\nimport {\n TouchableOpacity,\n View,\n StyleSheet,\n ActivityIndicator,\n} from 'react-native';\nimport { useTheme } from '@theme/index';\nimport type { ButtonProps } from '../../types/index';\nimport { Text } from '../typography/Text';\n\n/**\n * Button component with multiple variants and sizes\n */\nexport function Button({\n label,\n onPress,\n variant = 'primary',\n size = 'medium',\n disabled = false,\n loading = false,\n icon,\n style,\n testID,\n}: ButtonProps) {\n const { theme } = useTheme();\n\n // Get variant colors\n const getVariantStyle = () => {\n switch (variant) {\n case 'primary':\n return {\n backgroundColor: theme.colors.primary,\n borderColor: theme.colors.primary,\n };\n case 'secondary':\n return {\n backgroundColor: theme.colors.secondary,\n borderColor: theme.colors.secondary,\n };\n case 'danger':\n return {\n backgroundColor: theme.colors.error,\n borderColor: theme.colors.error,\n };\n case 'ghost':\n return {\n backgroundColor: 'transparent',\n borderColor: theme.colors.primary,\n borderWidth: 1,\n };\n default:\n return {\n backgroundColor: theme.colors.primary,\n borderColor: theme.colors.primary,\n };\n }\n };\n\n // Get size dimensions\n const getSizeStyle = () => {\n switch (size) {\n case 'small':\n return {\n paddingHorizontal: theme.spacing.md,\n paddingVertical: theme.spacing.sm,\n minHeight: 32,\n };\n case 'large':\n return {\n paddingHorizontal: theme.spacing.lg,\n paddingVertical: theme.spacing.md,\n minHeight: 56,\n };\n case 'medium':\n default:\n return {\n paddingHorizontal: theme.spacing.lg,\n paddingVertical: theme.spacing.md,\n minHeight: 48,\n };\n }\n };\n\n const buttonStyle = [\n styles.button,\n {\n ...getVariantStyle(),\n ...getSizeStyle(),\n borderRadius: theme.borderRadius.md,\n opacity: disabled || loading ? 0.5 : 1,\n },\n style,\n ];\n\n const textColor = variant === 'ghost' ? theme.colors.primary : theme.colors.white;\n\n return (\n <TouchableOpacity\n style={buttonStyle}\n onPress={onPress}\n disabled={disabled || loading}\n testID={testID}\n >\n <View style={styles.content}>\n {loading ? (\n <ActivityIndicator\n color={textColor}\n size={size === 'small' ? 'small' : 'large'}\n />\n ) : (\n <>\n {icon && <View style={styles.icon}>{icon}</View>}\n <Text\n variant={size === 'small' ? 'body3' : 'body1'}\n color={textColor}\n style={styles.label}\n >\n {label}\n </Text>\n </>\n )}\n </View>\n </TouchableOpacity>\n );\n}\n\nconst styles = StyleSheet.create({\n button: {\n justifyContent: 'center',\n alignItems: 'center',\n flexDirection: 'row',\n },\n content: {\n flexDirection: 'row',\n alignItems: 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,IAAK,GACzC,8BAAAA,QAAA;AAAA,MAAC;AAAA;AAAA,QACC,SAAS,SAAS,UAAU,UAAU;AAAA,QACtC,OAAO;AAAA,QACP,OAAO,OAAO;AAAA;AAAA,MAEb;AAAA,IACH,CACF,CAEJ;AAAA,EACF;AAEJ;AAEA,IAAM,SAAS,gCAAW,OAAO;AAAA,EAC/B,QAAQ;AAAA,IACN,gBAAgB;AAAA,IAChB,YAAY;AAAA,IACZ,eAAe;AAAA,EACjB;AAAA,EACA,SAAS;AAAA,IACP,eAAe;AAAA,IACf,YAAY;AAAA,IACZ,gBAAgB;AAAA,EAClB;AAAA,EACA,MAAM;AAAA,IACJ,aAAa;AAAA,EACf;AAAA,EACA,OAAO;AAAA,IACL,YAAY;AAAA,EACd;AACF,CAAC;",
6
+ "names": ["import_react", "import_react_native", "React", "import_react", "import_react_native", "React", "RNText", "import_react", "import_react_native", "React"]
7
+ }
@@ -0,0 +1,48 @@
1
+ import {
2
+ Body1,
3
+ Body2,
4
+ Body3,
5
+ Body4,
6
+ Body5,
7
+ Body6,
8
+ Box,
9
+ Button,
10
+ Caption,
11
+ Column,
12
+ H1,
13
+ H2,
14
+ H3,
15
+ H4,
16
+ H5,
17
+ H6,
18
+ Overline,
19
+ Row,
20
+ SubTitle1,
21
+ SubTitle2,
22
+ Text
23
+ } from "../chunk-NUUZYCND.mjs";
24
+ import "../chunk-IOIXIQ2F.mjs";
25
+ export {
26
+ Body1,
27
+ Body2,
28
+ Body3,
29
+ Body4,
30
+ Body5,
31
+ Body6,
32
+ Box,
33
+ Button,
34
+ Caption,
35
+ Column,
36
+ H1,
37
+ H2,
38
+ H3,
39
+ H4,
40
+ H5,
41
+ H6,
42
+ Overline,
43
+ Row,
44
+ SubTitle1,
45
+ SubTitle2,
46
+ Text
47
+ };
48
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": [],
4
+ "sourcesContent": [],
5
+ "mappings": "",
6
+ "names": []
7
+ }
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import type { ButtonProps } from '../../types/index';
3
+ /**
4
+ * Button component with multiple variants and sizes
5
+ */
6
+ export declare function Button({ label, onPress, variant, size, disabled, loading, icon, style, testID, }: ButtonProps): React.JSX.Element;
7
+ //# sourceMappingURL=Button.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAGrD;;GAEG;AACH,wBAAgB,MAAM,CAAC,EACrB,KAAK,EACL,OAAO,EACP,OAAmB,EACnB,IAAe,EACf,QAAgB,EAChB,OAAe,EACf,IAAI,EACJ,KAAK,EACL,MAAM,GACP,EAAE,WAAW,qBAqGb"}