@space-uy/pulsar-ui 0.2.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 (155) hide show
  1. package/LICENSE +20 -0
  2. package/README.md +148 -0
  3. package/lib/module/components/Accordion.js +242 -0
  4. package/lib/module/components/Accordion.js.map +1 -0
  5. package/lib/module/components/BottomSheet.js +183 -0
  6. package/lib/module/components/BottomSheet.js.map +1 -0
  7. package/lib/module/components/Button.js +64 -0
  8. package/lib/module/components/Button.js.map +1 -0
  9. package/lib/module/components/ButtonContainer.js +118 -0
  10. package/lib/module/components/ButtonContainer.js.map +1 -0
  11. package/lib/module/components/CalendarPicker.js +374 -0
  12. package/lib/module/components/CalendarPicker.js.map +1 -0
  13. package/lib/module/components/Card.js +43 -0
  14. package/lib/module/components/Card.js.map +1 -0
  15. package/lib/module/components/Checkbox.js +122 -0
  16. package/lib/module/components/Checkbox.js.map +1 -0
  17. package/lib/module/components/Chip.js +50 -0
  18. package/lib/module/components/Chip.js.map +1 -0
  19. package/lib/module/components/CopyToClipboard.js +98 -0
  20. package/lib/module/components/CopyToClipboard.js.map +1 -0
  21. package/lib/module/components/Dialog.js +232 -0
  22. package/lib/module/components/Dialog.js.map +1 -0
  23. package/lib/module/components/Header.js +94 -0
  24. package/lib/module/components/Header.js.map +1 -0
  25. package/lib/module/components/Icon.js +22 -0
  26. package/lib/module/components/Icon.js.map +1 -0
  27. package/lib/module/components/IconButton.js +57 -0
  28. package/lib/module/components/IconButton.js.map +1 -0
  29. package/lib/module/components/Input.js +111 -0
  30. package/lib/module/components/Input.js.map +1 -0
  31. package/lib/module/components/InputContainer.js +104 -0
  32. package/lib/module/components/InputContainer.js.map +1 -0
  33. package/lib/module/components/LoadingIndicator.js +62 -0
  34. package/lib/module/components/LoadingIndicator.js.map +1 -0
  35. package/lib/module/components/OtpInput.js +85 -0
  36. package/lib/module/components/OtpInput.js.map +1 -0
  37. package/lib/module/components/OtpInputContainer.js +148 -0
  38. package/lib/module/components/OtpInputContainer.js.map +1 -0
  39. package/lib/module/components/Select.js +189 -0
  40. package/lib/module/components/Select.js.map +1 -0
  41. package/lib/module/components/Switch.js +74 -0
  42. package/lib/module/components/Switch.js.map +1 -0
  43. package/lib/module/components/Tabs.js +99 -0
  44. package/lib/module/components/Tabs.js.map +1 -0
  45. package/lib/module/components/Text.js +66 -0
  46. package/lib/module/components/Text.js.map +1 -0
  47. package/lib/module/components/TextArea.js +106 -0
  48. package/lib/module/components/TextArea.js.map +1 -0
  49. package/lib/module/hooks/useTheme.js +20 -0
  50. package/lib/module/hooks/useTheme.js.map +1 -0
  51. package/lib/module/index.js +27 -0
  52. package/lib/module/index.js.map +1 -0
  53. package/lib/module/package.json +1 -0
  54. package/lib/module/store/themeStore.js +50 -0
  55. package/lib/module/store/themeStore.js.map +1 -0
  56. package/lib/module/theme/colors.js +25 -0
  57. package/lib/module/theme/colors.js.map +1 -0
  58. package/lib/module/theme/meassures.js +10 -0
  59. package/lib/module/theme/meassures.js.map +1 -0
  60. package/lib/module/utils/stringUtils.js +12 -0
  61. package/lib/module/utils/stringUtils.js.map +1 -0
  62. package/lib/module/utils/uiUtils.js +63 -0
  63. package/lib/module/utils/uiUtils.js.map +1 -0
  64. package/lib/typescript/package.json +1 -0
  65. package/lib/typescript/src/components/Accordion.d.ts +22 -0
  66. package/lib/typescript/src/components/Accordion.d.ts.map +1 -0
  67. package/lib/typescript/src/components/BottomSheet.d.ts +13 -0
  68. package/lib/typescript/src/components/BottomSheet.d.ts.map +1 -0
  69. package/lib/typescript/src/components/Button.d.ts +16 -0
  70. package/lib/typescript/src/components/Button.d.ts.map +1 -0
  71. package/lib/typescript/src/components/ButtonContainer.d.ts +30 -0
  72. package/lib/typescript/src/components/ButtonContainer.d.ts.map +1 -0
  73. package/lib/typescript/src/components/CalendarPicker.d.ts +19 -0
  74. package/lib/typescript/src/components/CalendarPicker.d.ts.map +1 -0
  75. package/lib/typescript/src/components/Card.d.ts +7 -0
  76. package/lib/typescript/src/components/Card.d.ts.map +1 -0
  77. package/lib/typescript/src/components/Checkbox.d.ts +11 -0
  78. package/lib/typescript/src/components/Checkbox.d.ts.map +1 -0
  79. package/lib/typescript/src/components/Chip.d.ts +9 -0
  80. package/lib/typescript/src/components/Chip.d.ts.map +1 -0
  81. package/lib/typescript/src/components/CopyToClipboard.d.ts +12 -0
  82. package/lib/typescript/src/components/CopyToClipboard.d.ts.map +1 -0
  83. package/lib/typescript/src/components/Dialog.d.ts +40 -0
  84. package/lib/typescript/src/components/Dialog.d.ts.map +1 -0
  85. package/lib/typescript/src/components/Header.d.ts +18 -0
  86. package/lib/typescript/src/components/Header.d.ts.map +1 -0
  87. package/lib/typescript/src/components/Icon.d.ts +12 -0
  88. package/lib/typescript/src/components/Icon.d.ts.map +1 -0
  89. package/lib/typescript/src/components/IconButton.d.ts +13 -0
  90. package/lib/typescript/src/components/IconButton.d.ts.map +1 -0
  91. package/lib/typescript/src/components/Input.d.ts +17 -0
  92. package/lib/typescript/src/components/Input.d.ts.map +1 -0
  93. package/lib/typescript/src/components/InputContainer.d.ts +22 -0
  94. package/lib/typescript/src/components/InputContainer.d.ts.map +1 -0
  95. package/lib/typescript/src/components/LoadingIndicator.d.ts +9 -0
  96. package/lib/typescript/src/components/LoadingIndicator.d.ts.map +1 -0
  97. package/lib/typescript/src/components/OtpInput.d.ts +3 -0
  98. package/lib/typescript/src/components/OtpInput.d.ts.map +1 -0
  99. package/lib/typescript/src/components/OtpInputContainer.d.ts +17 -0
  100. package/lib/typescript/src/components/OtpInputContainer.d.ts.map +1 -0
  101. package/lib/typescript/src/components/Select.d.ts +20 -0
  102. package/lib/typescript/src/components/Select.d.ts.map +1 -0
  103. package/lib/typescript/src/components/Switch.d.ts +10 -0
  104. package/lib/typescript/src/components/Switch.d.ts.map +1 -0
  105. package/lib/typescript/src/components/Tabs.d.ts +14 -0
  106. package/lib/typescript/src/components/Tabs.d.ts.map +1 -0
  107. package/lib/typescript/src/components/Text.d.ts +7 -0
  108. package/lib/typescript/src/components/Text.d.ts.map +1 -0
  109. package/lib/typescript/src/components/TextArea.d.ts +16 -0
  110. package/lib/typescript/src/components/TextArea.d.ts.map +1 -0
  111. package/lib/typescript/src/hooks/useTheme.d.ts +9 -0
  112. package/lib/typescript/src/hooks/useTheme.d.ts.map +1 -0
  113. package/lib/typescript/src/index.d.ts +27 -0
  114. package/lib/typescript/src/index.d.ts.map +1 -0
  115. package/lib/typescript/src/store/themeStore.d.ts +32 -0
  116. package/lib/typescript/src/store/themeStore.d.ts.map +1 -0
  117. package/lib/typescript/src/theme/colors.d.ts +14 -0
  118. package/lib/typescript/src/theme/colors.d.ts.map +1 -0
  119. package/lib/typescript/src/theme/meassures.d.ts +9 -0
  120. package/lib/typescript/src/theme/meassures.d.ts.map +1 -0
  121. package/lib/typescript/src/utils/stringUtils.d.ts +7 -0
  122. package/lib/typescript/src/utils/stringUtils.d.ts.map +1 -0
  123. package/lib/typescript/src/utils/uiUtils.d.ts +21 -0
  124. package/lib/typescript/src/utils/uiUtils.d.ts.map +1 -0
  125. package/package.json +173 -0
  126. package/src/components/Accordion.tsx +284 -0
  127. package/src/components/BottomSheet.tsx +259 -0
  128. package/src/components/Button.tsx +85 -0
  129. package/src/components/ButtonContainer.tsx +161 -0
  130. package/src/components/CalendarPicker.tsx +428 -0
  131. package/src/components/Card.tsx +55 -0
  132. package/src/components/Checkbox.tsx +160 -0
  133. package/src/components/Chip.tsx +58 -0
  134. package/src/components/CopyToClipboard.tsx +108 -0
  135. package/src/components/Dialog.tsx +263 -0
  136. package/src/components/Header.tsx +100 -0
  137. package/src/components/Icon.tsx +27 -0
  138. package/src/components/IconButton.tsx +71 -0
  139. package/src/components/Input.tsx +144 -0
  140. package/src/components/InputContainer.tsx +134 -0
  141. package/src/components/LoadingIndicator.tsx +78 -0
  142. package/src/components/OtpInput.tsx +109 -0
  143. package/src/components/OtpInputContainer.tsx +196 -0
  144. package/src/components/Select.tsx +219 -0
  145. package/src/components/Switch.tsx +104 -0
  146. package/src/components/Tabs.tsx +117 -0
  147. package/src/components/Text.tsx +64 -0
  148. package/src/components/TextArea.tsx +141 -0
  149. package/src/hooks/useTheme.tsx +23 -0
  150. package/src/index.tsx +38 -0
  151. package/src/store/themeStore.ts +57 -0
  152. package/src/theme/colors.ts +35 -0
  153. package/src/theme/meassures.ts +7 -0
  154. package/src/utils/stringUtils.ts +16 -0
  155. package/src/utils/uiUtils.ts +70 -0
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+
3
+ import { create } from 'zustand';
4
+ import { darkColors, lightColors } from "../theme/colors.js";
5
+ const defaultTheme = {
6
+ colors: {
7
+ dark: darkColors,
8
+ light: lightColors
9
+ },
10
+ fonts: {
11
+ light: 'Inter_300Light',
12
+ regular: 'Inter_400Regular',
13
+ medium: 'Inter_500Medium',
14
+ bold: 'Inter_700Bold'
15
+ },
16
+ roundness: 6,
17
+ insets: {
18
+ top: 0,
19
+ left: 0,
20
+ right: 0,
21
+ bottom: 0
22
+ }
23
+ };
24
+ const themeStore = create((set, get) => ({
25
+ theme: defaultTheme,
26
+ colorScheme: 'light',
27
+ colors: lightColors,
28
+ setTheme: theme => {
29
+ const {
30
+ colorScheme
31
+ } = get();
32
+ const colors = colorScheme === 'dark' ? theme.colors.dark : theme.colors.light;
33
+ set({
34
+ theme,
35
+ colors
36
+ });
37
+ },
38
+ setColorScheme: colorScheme => {
39
+ const {
40
+ theme
41
+ } = get();
42
+ const colors = colorScheme === 'dark' ? theme.colors.dark : theme.colors.light;
43
+ set({
44
+ colorScheme,
45
+ colors
46
+ });
47
+ }
48
+ }));
49
+ export default themeStore;
50
+ //# sourceMappingURL=themeStore.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["create","darkColors","lightColors","defaultTheme","colors","dark","light","fonts","regular","medium","bold","roundness","insets","top","left","right","bottom","themeStore","set","get","theme","colorScheme","setTheme","setColorScheme"],"sourceRoot":"../../../src","sources":["store/themeStore.ts"],"mappings":";;AAAA,SAASA,M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 +1,25 @@
1
+ "use strict";
2
+
3
+ export const darkColors = {
4
+ primary: '#FAFAFA',
5
+ foregroundOnPrimary: '#09090B',
6
+ background: '#09090B',
7
+ altBackground: '#09090B',
8
+ foreground: '#FAFAFA',
9
+ altForeground: '#18181B',
10
+ border: '#27272A',
11
+ destructive: '#DC2626',
12
+ foregroundOnDestructive: '#FFFFFF'
13
+ };
14
+ export const lightColors = {
15
+ primary: '#09090B',
16
+ foregroundOnPrimary: '#FFFFFF',
17
+ background: '#FFFFFF',
18
+ altBackground: '#FFFFFF',
19
+ foreground: '#09090B',
20
+ altForeground: '#FAFAFA',
21
+ border: '#E4E4E7',
22
+ destructive: '#DC2626',
23
+ foregroundOnDestructive: '#FFFFFF'
24
+ };
25
+ //# sourceMappingURL=colors.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["darkColors","primary","foregroundOnPrimary","background","altBackground","foreground","altForeground","border","destructive","foregroundOnDestructive","lightColors"],"sourceRoot":"../../../src","sources":["theme/colors.ts"],"mappings":";;AAYA,OAAO,MAAMA,UAAwB,GAAG;EACtCC,OAAO,EAAE,SAAS;EAClBC,mBAAmB,EAAE,SAAS;EAC9BC,UAAU,EAAE,SAAS;EACrBC,aAAa,EAAE,SAAS;EACxBC,UAAU,EAAE,SAAS;EACrBC,aAAa,EAAE,SAAS;EACxBC,MAAM,EAAE,SAAS;EACjBC,WAAW,EAAE,SAAS;EACtBC,uBAAuB,EAAE;AAC3B,CAAC;AAED,OAAO,MAAMC,WAAyB,GAAG;EACvCT,OAAO,EAAE,SAAS;EAClBC,mBAAmB,EAAE,SAAS;EAC9BC,UAAU,EAAE,SAAS;EACrBC,aAAa,EAAE,SAAS;EACxBC,UAAU,EAAE,SAAS;EACrBC,aAAa,EAAE,SAAS;EACxBC,MAAM,EAAE,SAAS;EACjBC,WAAW,EAAE,SAAS;EACtBC,uBAAuB,EAAE;AAC3B,CAAC","ignoreList":[]}
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+
3
+ export default {
4
+ button: {
5
+ small: 24,
6
+ medium: 32,
7
+ large: 40
8
+ }
9
+ };
10
+ //# sourceMappingURL=meassures.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["button","small","medium","large"],"sourceRoot":"../../../src","sources":["theme/meassures.ts"],"mappings":";;AAAA,eAAe;EACbA,MAAM,EAAE;IACNC,KAAK,EAAE,EAAE;IACTC,MAAM,EAAE,EAAE;IACVC,KAAK,EAAE;EACT;AACF,CAAC","ignoreList":[]}
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+
3
+ /**
4
+ * Converts a date string in "yyyy-MM-dd" format to an ISO string
5
+ * @param dateString - Date string in "yyyy-MM-dd" format
6
+ * @returns ISO string representation of the date with time set to midnight
7
+ */
8
+ export const convertDateToISOString = dateString => {
9
+ const dateArray = dateString.split('-').map(Number);
10
+ return new Date(dateArray[0], dateArray[1] - 1, dateArray[2], 0, 0, 0).toISOString();
11
+ };
12
+ //# sourceMappingURL=stringUtils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["convertDateToISOString","dateString","dateArray","split","map","Number","Date","toISOString"],"sourceRoot":"../../../src","sources":["utils/stringUtils.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMA,sBAAsB,GAAIC,UAAkB,IAAK;EAC5D,MAAMC,SAAS,GAAGD,UAAU,CAACE,KAAK,CAAC,GAAG,CAAC,CAACC,GAAG,CAACC,MAAM,CAAC;EACnD,OAAO,IAAIC,IAAI,CACbJ,SAAS,CAAC,CAAC,CAAC,EACXA,SAAS,CAAC,CAAC,CAAC,GAAI,CAAC,EAClBA,SAAS,CAAC,CAAC,CAAC,EACZ,CAAC,EACD,CAAC,EACD,CACF,CAAC,CAACK,WAAW,CAAC,CAAC;AACjB,CAAC","ignoreList":[]}
@@ -0,0 +1,63 @@
1
+ "use strict";
2
+
3
+ /**
4
+ * Converts a hex color code to an rgba color string with the specified opacity
5
+ * @param hex - The hex color code (e.g. '#FF0000')
6
+ * @param opacity - The opacity value between 0 and 1
7
+ * @returns An rgba color string (e.g. 'rgba(255,0,0,0.5)')
8
+ */
9
+ export const convertHexToRgba = (hex, opacity) => {
10
+ const tempHex = hex.replace('#', '');
11
+ const red = parseInt(tempHex.substring(0, 2), 16);
12
+ const green = parseInt(tempHex.substring(2, 4), 16);
13
+ const blue = parseInt(tempHex.substring(4, 6), 16);
14
+ return `rgba(${red},${green},${blue},${opacity})`;
15
+ };
16
+
17
+ /**
18
+ * Calculates the contrast ratio between two colors according to WCAG guidelines
19
+ * @param color1 - The first color in hex format (e.g. '#FF0000')
20
+ * @param color2 - The second color in hex format (e.g. '#FFFFFF')
21
+ * @returns The contrast ratio as a number (higher values indicate better contrast)
22
+ */
23
+ export const getColorContrastRatio = (color1, color2) => {
24
+ // Convert hex colors to RGB
25
+ const getRGB = color => {
26
+ const hex = color.replace('#', '');
27
+ const r = parseInt(hex.substring(0, 2), 16);
28
+ const g = parseInt(hex.substring(2, 4), 16);
29
+ const b = parseInt(hex.substring(4, 6), 16);
30
+ return [r, g, b];
31
+ };
32
+
33
+ // Calculate relative luminance
34
+ const getRelativeLuminance = (r, g, b) => {
35
+ const mappedValues = [r, g, b].map(c => {
36
+ const s = c / 255;
37
+ return s <= 0.03928 ? s / 12.92 : Math.pow((s + 0.055) / 1.055, 2.4);
38
+ });
39
+ const [rs, gs, bs] = mappedValues;
40
+ return 0.2126 * rs + 0.7152 * gs + 0.0722 * bs;
41
+ };
42
+ const [r1, g1, b1] = getRGB(color1);
43
+ const [r2, g2, b2] = getRGB(color2);
44
+ const l1 = getRelativeLuminance(r1, g1, b1);
45
+ const l2 = getRelativeLuminance(r2, g2, b2);
46
+ const lighter = Math.max(l1, l2);
47
+ const darker = Math.min(l1, l2);
48
+ return (lighter + 0.05) / (darker + 0.05);
49
+ };
50
+
51
+ /**
52
+ * Determines whether black or white text would be more readable on a given background color
53
+ * @param backgroundColor - The background color in hex format (e.g. '#FF0000')
54
+ * @returns Either 'black' or 'white' depending on which provides better contrast
55
+ */
56
+ export const getAccessibleTextColor = backgroundColor => {
57
+ const blackContrast = getColorContrastRatio(backgroundColor, '#000000');
58
+ const whiteContrast = getColorContrastRatio(backgroundColor, '#FFFFFF');
59
+
60
+ // Return the color with higher contrast ratio
61
+ return blackContrast > whiteContrast ? 'black' : 'white';
62
+ };
63
+ //# sourceMappingURL=uiUtils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["convertHexToRgba","hex","opacity","tempHex","replace","red","parseInt","substring","green","blue","getColorContrastRatio","color1","color2","getRGB","color","r","g","b","getRelativeLuminance","mappedValues","map","c","s","Math","pow","rs","gs","bs","r1","g1","b1","r2","g2","b2","l1","l2","lighter","max","darker","min","getAccessibleTextColor","backgroundColor","blackContrast","whiteContrast"],"sourceRoot":"../../../src","sources":["utils/uiUtils.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMA,gBAAgB,GAAGA,CAACC,GAAW,EAAEC,OAAe,KAAa;EACxE,MAAMC,OAAO,GAAGF,GAAG,CAACG,OAAO,CAAC,GAAG,EAAE,EAAE,CAAC;EACpC,MAAMC,GAAG,GAAGC,QAAQ,CAACH,OAAO,CAACI,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC;EACjD,MAAMC,KAAK,GAAGF,QAAQ,CAACH,OAAO,CAACI,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC;EACnD,MAAME,IAAI,GAAGH,QAAQ,CAACH,OAAO,CAACI,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC;EAElD,OAAO,QAAQF,GAAG,IAAIG,KAAK,IAAIC,IAAI,IAAIP,OAAO,GAAG;AACnD,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMQ,qBAAqB,GAAGA,CACnCC,MAAc,EACdC,MAAc,KACH;EACX;EACA,MAAMC,MAAM,GAAIC,KAAa,IAA+B;IAC1D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EAAE,EAAEC,EAAE,EAAEC,EAAE,CAAC;EAC3C,MAAMK,EAAE,GAAGjB,oBAAoB,CAACa,EAAE,EAAEC,EAAE,EAAEC,EAAE,CAAC;EAE3C,MAAMG,OAAO,GAAGb,IAAI,CAACc,GAAG,CAACH,EAAE,EAAEC,EAAE,CAAC;EAChC,MAAMG,MAAM,GAAGf,IAAI,CAACgB,GAAG,CAACL,EAAE,EAAEC,EAAE,CAAC;EAE/B,OAAO,CAACC,OAAO,GAAG,IAAI,KAAKE,MAAM,GAAG,IAAI,CAAC;AAC3C,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,OAAO,MAAME,sBAAsB,GACjCC,eAAuB,IACD;EACtB,MAAMC,aAAa,GAAGhC,qBAAqB,CAAC+B,eAAe,EAAE,SAAS,CAAC;EACvE,MAAME,aAAa,GAAGjC,qBAAqB,CAAC+B,eAAe,EAAE,SAAS,CAAC;;EAEvE;EACA,OAAOC,aAAa,GAAGC,aAAa,GAAG,OAAO,GAAG,OAAO;AAC1D,CAAC","ignoreList":[]}
@@ -0,0 +1 @@
1
+ {"type":"module"}
@@ -0,0 +1,22 @@
1
+ import React from 'react';
2
+ import { type ViewStyle, type StyleProp } from 'react-native';
3
+ export type AccordionItemProps = {
4
+ title: string;
5
+ children: React.ReactNode;
6
+ isExpanded?: boolean;
7
+ onToggle?: () => void;
8
+ style?: StyleProp<ViewStyle>;
9
+ value?: string;
10
+ };
11
+ export type AccordionProps = {
12
+ type?: 'single' | 'multiple';
13
+ collapsible?: boolean;
14
+ defaultValue?: string | string[];
15
+ value?: string | string[];
16
+ onValueChange?: (value: string | string[]) => void;
17
+ children: React.ReactNode;
18
+ style?: StyleProp<ViewStyle>;
19
+ };
20
+ export declare function AccordionItem({ title, children, isExpanded, onToggle, style, }: AccordionItemProps): import("react/jsx-runtime").JSX.Element;
21
+ export default function Accordion({ type, collapsible, defaultValue, value: controlledValue, onValueChange, children, style, }: AccordionProps): import("react/jsx-runtime").JSX.Element;
22
+ //#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0 +1,13 @@
1
+ export type BottomSheetProps = {
2
+ show: () => void;
3
+ hide: () => void;
4
+ isActive: boolean;
5
+ };
6
+ declare const BottomSheet: import("react").ForwardRefExoticComponent<{
7
+ children?: import("react").ReactNode | undefined;
8
+ } & {
9
+ onBackdropPress?: () => void;
10
+ fullScreen?: boolean;
11
+ } & import("react").RefAttributes<BottomSheetProps>>;
12
+ export default BottomSheet;
13
+ //# sourceMappingURL=BottomSheet.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BottomSheet.d.ts","sourceRoot":"","sources":["../../../../src/components/BottomSheet.tsx"],"names":[],"mappings":"AAyCA,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,EAAE,MAAM,IAAI,CAAC;IACjB,IAAI,EAAE,MAAM,IAAI,CAAC;IACjB,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,QAAA,MAAM,WAAW;;;sBAVG,MAAM,IAAI;iBACf,OAAO;oDA+MrB,CAAC;AAaF,eAAe,WAAW,CAAC"}
@@ -0,0 +1,16 @@
1
+ import { type ViewStyle, type StyleProp } from 'react-native';
2
+ import { type ButtonVariant, type ButtonSize } from './ButtonContainer';
3
+ import { type IconName } from './Icon';
4
+ type Props = {
5
+ style?: StyleProp<ViewStyle>;
6
+ text: string;
7
+ variant?: keyof typeof ButtonVariant;
8
+ size?: keyof typeof ButtonSize;
9
+ loading?: boolean;
10
+ disabled?: boolean;
11
+ onPress?: () => void;
12
+ iconName?: IconName;
13
+ };
14
+ export default function Button({ text, style, variant, size, loading, disabled, onPress, iconName, }: Props): import("react/jsx-runtime").JSX.Element;
15
+ export {};
16
+ //# sourceMappingURL=Button.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/components/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAE1E,OAAwB,EACtB,KAAK,aAAa,EAClB,KAAK,UAAU,EAEhB,MAAM,mBAAmB,CAAC;AAG3B,OAAa,EAAE,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAE7C,KAAK,KAAK,GAAG;IACX,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,OAAO,aAAa,CAAC;IACrC,IAAI,CAAC,EAAE,MAAM,OAAO,UAAU,CAAC;IAC/B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,QAAQ,CAAC;CACrB,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,EAC7B,IAAI,EACJ,KAAK,EACL,OAAgB,EAChB,IAAc,EACd,OAAe,EACf,QAAgB,EAChB,OAAO,EACP,QAAQ,GACT,EAAE,KAAK,2CA2CP"}
@@ -0,0 +1,30 @@
1
+ import React from 'react';
2
+ import { type PressableProps, type StyleProp, type ViewStyle } from 'react-native';
3
+ import { type AnimatedStyle } from 'react-native-reanimated';
4
+ export declare enum ButtonVariant {
5
+ flat = "flat",
6
+ outline = "outline",
7
+ transparent = "transparent",
8
+ destructive = "destructive"
9
+ }
10
+ export declare enum ButtonSize {
11
+ small = "small",
12
+ medium = "medium",
13
+ large = "large"
14
+ }
15
+ export type ButtonColors = {
16
+ backgroundColor: string;
17
+ borderColor?: string;
18
+ textColor: string;
19
+ pressedBackgroundColor: string;
20
+ };
21
+ type Props = Omit<PressableProps, 'children'> & {
22
+ variant?: keyof typeof ButtonVariant;
23
+ size?: keyof typeof ButtonSize;
24
+ loading?: boolean;
25
+ renderContent: (colors: ButtonColors) => React.ReactNode;
26
+ contentContainerStyle?: StyleProp<AnimatedStyle<StyleProp<ViewStyle>>>;
27
+ };
28
+ export default function ButtonContainer({ disabled, variant, size, loading, renderContent, onPressIn, onPressOut, contentContainerStyle, ...rest }: Props): import("react/jsx-runtime").JSX.Element;
29
+ export {};
30
+ //# sourceMappingURL=ButtonContainer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ButtonContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/ButtonContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAClD,OAAO,EAKL,KAAK,cAAc,EACnB,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AACtB,OAAiB,EAMf,KAAK,aAAa,EACnB,MAAM,yBAAyB,CAAC;AAOjC,oBAAY,aAAa;IACvB,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,WAAW,gBAAgB;IAC3B,WAAW,gBAAgB;CAC5B;AAED,oBAAY,UAAU;IACpB,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,KAAK,UAAU;CAChB;AAED,MAAM,MAAM,YAAY,GAAG;IACzB,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,sBAAsB,EAAE,MAAM,CAAC;CAChC,CAAC;AAEF,KAAK,KAAK,GAAG,IAAI,CAAC,cAAc,EAAE,UAAU,CAAC,GAAG;IAC9C,OAAO,CAAC,EAAE,MAAM,OAAO,aAAa,CAAC;IACrC,IAAI,CAAC,EAAE,MAAM,OAAO,UAAU,CAAC;IAC/B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,aAAa,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,KAAK,CAAC,SAAS,CAAC;IACzD,qBAAqB,CAAC,EAAE,SAAS,CAAC,aAAa,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;CACxE,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,EACtC,QAAQ,EACR,OAAgB,EAChB,IAAc,EACd,OAAe,EACf,aAAa,EACb,SAAS,EACT,UAAU,EACV,qBAAqB,EACrB,GAAG,IAAI,EACR,EAAE,KAAK,2CA8FP"}
@@ -0,0 +1,19 @@
1
+ import { type StyleProp, type ViewStyle } from 'react-native';
2
+ type DateRange = {
3
+ fromDate?: string;
4
+ toDate?: string;
5
+ };
6
+ type Props = {
7
+ style?: StyleProp<ViewStyle>;
8
+ value?: DateRange;
9
+ onChange: (dateRange: DateRange) => void;
10
+ placeholder?: string;
11
+ label?: string;
12
+ disabled?: boolean;
13
+ error?: boolean;
14
+ hint?: string;
15
+ title?: string;
16
+ };
17
+ declare const CalendarPicker: ({ style, value, onChange, placeholder, label, disabled, error, hint, }: Props) => import("react/jsx-runtime").JSX.Element;
18
+ export default CalendarPicker;
19
+ //# sourceMappingURL=CalendarPicker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CalendarPicker.d.ts","sourceRoot":"","sources":["../../../../src/components/CalendarPicker.tsx"],"names":[],"mappings":"AAEA,OAAO,EAIL,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAqBtB,KAAK,SAAS,GAAG;IAAE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAExD,KAAK,KAAK,GAAG;IACX,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,QAAQ,EAAE,CAAC,SAAS,EAAE,SAAS,KAAK,IAAI,CAAC;IACzC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAoBF,QAAA,MAAM,cAAc,GAAI,wEASrB,KAAK,4CAsUP,CAAC;AA+BF,eAAe,cAAc,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { type PropsWithChildren } from 'react';
2
+ import { type StyleProp, type ViewStyle } from 'react-native';
3
+ export default function Card({ children, style, variant, }: PropsWithChildren<{
4
+ style?: StyleProp<ViewStyle>;
5
+ variant?: 'default' | 'alternative' | 'tinted';
6
+ }>): import("react/jsx-runtime").JSX.Element;
7
+ //# sourceMappingURL=Card.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../../src/components/Card.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAW,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AACxD,OAAO,EAAE,KAAK,SAAS,EAAoB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAKhF,MAAM,CAAC,OAAO,UAAU,IAAI,CAAC,EAC3B,QAAQ,EACR,KAAK,EACL,OAAmB,GACpB,EAAE,iBAAiB,CAAC;IACnB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,OAAO,CAAC,EAAE,SAAS,GAAG,aAAa,GAAG,QAAQ,CAAC;CAChD,CAAC,2CAoCD"}
@@ -0,0 +1,11 @@
1
+ import { type ViewStyle, type StyleProp } from 'react-native';
2
+ export type CheckboxProps = {
3
+ style?: StyleProp<ViewStyle>;
4
+ checked: boolean;
5
+ onCheckedChange: (checked: boolean) => void;
6
+ label: string;
7
+ disabled?: boolean;
8
+ description?: string;
9
+ };
10
+ export default function Checkbox({ style, checked, onCheckedChange, label, disabled, description, }: CheckboxProps): import("react/jsx-runtime").JSX.Element;
11
+ //# sourceMappingURL=Checkbox.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../../src/components/Checkbox.tsx"],"names":[],"mappings":"AACA,OAAO,EAKL,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAetB,MAAM,MAAM,aAAa,GAAG;IAC1B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,OAAO,EAAE,OAAO,CAAC;IACjB,eAAe,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAC5C,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,EAC/B,KAAK,EACL,OAAO,EACP,eAAe,EACf,KAAK,EACL,QAAgB,EAChB,WAAW,GACZ,EAAE,aAAa,2CAoGf"}
@@ -0,0 +1,9 @@
1
+ import { type PressableProps } from 'react-native';
2
+ type Props = PressableProps & {
3
+ text: string;
4
+ size?: 'normal' | 'small';
5
+ disabled?: boolean;
6
+ };
7
+ export default function Chip({ text, size, disabled, ...rest }: Props): import("react/jsx-runtime").JSX.Element;
8
+ export {};
9
+ //# sourceMappingURL=Chip.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["../../../../src/components/Chip.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA+B,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AAQhF,KAAK,KAAK,GAAG,cAAc,GAAG;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,IAAI,CAAC,EAC3B,IAAI,EACJ,IAAe,EACf,QAAgB,EAChB,GAAG,IAAI,EACR,EAAE,KAAK,2CA6BP"}
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ interface CopyToClipboardProps {
3
+ text: string;
4
+ children?: React.ReactNode;
5
+ onCopy?: () => void;
6
+ showFeedback?: boolean;
7
+ style?: any;
8
+ iconColor?: string;
9
+ }
10
+ export declare const CopyToClipboard: React.FC<CopyToClipboardProps>;
11
+ export {};
12
+ //# sourceMappingURL=CopyToClipboard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CopyToClipboard.d.ts","sourceRoot":"","sources":["../../../../src/components/CopyToClipboard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAMxC,UAAU,oBAAoB;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CA8D1D,CAAC"}
@@ -0,0 +1,40 @@
1
+ import { type PropsWithChildren, type ReactNode } from 'react';
2
+ import { type StyleProp, type ViewStyle } from 'react-native';
3
+ interface DialogProps extends PropsWithChildren {
4
+ visible: boolean;
5
+ onDismiss: () => void;
6
+ }
7
+ declare const Dialog: ({ children, visible, onDismiss }: DialogProps) => import("react/jsx-runtime").JSX.Element;
8
+ interface DialogHeaderProps extends PropsWithChildren {
9
+ style?: StyleProp<ViewStyle>;
10
+ }
11
+ declare const DialogHeader: ({ children, style }: DialogHeaderProps) => import("react/jsx-runtime").JSX.Element;
12
+ interface DialogTitleProps {
13
+ children: ReactNode;
14
+ style?: StyleProp<ViewStyle>;
15
+ }
16
+ declare const DialogTitle: ({ children, style }: DialogTitleProps) => import("react/jsx-runtime").JSX.Element;
17
+ interface DialogDescriptionProps {
18
+ children: ReactNode;
19
+ style?: StyleProp<ViewStyle>;
20
+ }
21
+ declare const DialogDescription: ({ children, style }: DialogDescriptionProps) => import("react/jsx-runtime").JSX.Element;
22
+ interface DialogFooterProps extends PropsWithChildren {
23
+ style?: StyleProp<ViewStyle>;
24
+ }
25
+ declare const DialogFooter: ({ children, style }: DialogFooterProps) => import("react/jsx-runtime").JSX.Element;
26
+ interface DialogActionProps {
27
+ onPress: () => void;
28
+ children: ReactNode;
29
+ variant?: 'flat' | 'outline';
30
+ destructive?: boolean;
31
+ }
32
+ declare const DialogAction: ({ onPress, children, variant, destructive, }: DialogActionProps) => import("react/jsx-runtime").JSX.Element;
33
+ interface DialogCancelProps {
34
+ onPress: () => void;
35
+ children: ReactNode;
36
+ }
37
+ declare const DialogCancel: ({ onPress, children }: DialogCancelProps) => import("react/jsx-runtime").JSX.Element;
38
+ export default Dialog;
39
+ export { DialogHeader, DialogTitle, DialogDescription, DialogFooter, DialogAction, DialogCancel, };
40
+ //# sourceMappingURL=Dialog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../../../src/components/Dialog.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,iBAAiB,EACtB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EAKL,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AActB,UAAU,WAAY,SAAQ,iBAAiB;IAC7C,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,MAAM,IAAI,CAAC;CACvB;AAED,QAAA,MAAM,MAAM,GAAI,kCAAkC,WAAW,4CAoE5D,CAAC;AAGF,UAAU,iBAAkB,SAAQ,iBAAiB;IACnD,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,QAAA,MAAM,YAAY,GAAI,qBAAqB,iBAAiB,4CAE3D,CAAC;AAGF,UAAU,gBAAgB;IACxB,QAAQ,EAAE,SAAS,CAAC;IACpB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,QAAA,MAAM,WAAW,GAAI,qBAAqB,gBAAgB,4CAMzD,CAAC;AAGF,UAAU,sBAAsB;IAC9B,QAAQ,EAAE,SAAS,CAAC;IACpB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,QAAA,MAAM,iBAAiB,GAAI,qBAAqB,sBAAsB,4CAerE,CAAC;AAGF,UAAU,iBAAkB,SAAQ,iBAAiB;IACnD,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,QAAA,MAAM,YAAY,GAAI,qBAAqB,iBAAiB,4CAE3D,CAAC;AAGF,UAAU,iBAAiB;IACzB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,EAAE,SAAS,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,QAAA,MAAM,YAAY,GAAI,8CAKnB,iBAAiB,4CAenB,CAAC;AAGF,UAAU,iBAAiB;IACzB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,QAAA,MAAM,YAAY,GAAI,uBAAuB,iBAAiB,4CAU7D,CAAC;AAkDF,eAAe,MAAM,CAAC;AACtB,OAAO,EACL,YAAY,EACZ,WAAW,EACX,iBAAiB,EACjB,YAAY,EACZ,YAAY,EACZ,YAAY,GACb,CAAC"}
@@ -0,0 +1,18 @@
1
+ import { type PropsWithChildren } from 'react';
2
+ import { type ViewStyle, type StyleProp } from 'react-native';
3
+ import { type IconName } from './Icon';
4
+ type HeaderButtonProps = {
5
+ iconName: IconName;
6
+ onPress?: () => void;
7
+ disabled?: boolean;
8
+ };
9
+ type Props = PropsWithChildren & {
10
+ title: string;
11
+ leftButton?: HeaderButtonProps;
12
+ rightButton?: HeaderButtonProps;
13
+ style?: StyleProp<ViewStyle>;
14
+ useInsets?: boolean;
15
+ };
16
+ export default function Header({ title, leftButton, rightButton, style, useInsets, children, }: Props): import("react/jsx-runtime").JSX.Element;
17
+ export {};
18
+ //# sourceMappingURL=Header.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../../../src/components/Header.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,EAAoB,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAIhF,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAMvC,KAAK,iBAAiB,GAAG;IACvB,QAAQ,EAAE,QAAQ,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,KAAK,KAAK,GAAG,iBAAiB,GAAG;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,iBAAiB,CAAC;IAC/B,WAAW,CAAC,EAAE,iBAAiB,CAAC;IAChC,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAIF,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,EAC7B,KAAK,EACL,UAAU,EACV,WAAW,EACX,KAAK,EACL,SAAgB,EAChB,QAAQ,GACT,EAAE,KAAK,2CAkDP"}
@@ -0,0 +1,12 @@
1
+ import type { StyleProp, ViewStyle } from 'react-native';
2
+ import { icons } from 'lucide-react-native';
3
+ export type IconName = keyof typeof icons;
4
+ type Props = {
5
+ style?: StyleProp<ViewStyle>;
6
+ name: IconName;
7
+ size?: number;
8
+ color?: string;
9
+ };
10
+ export default function Icon({ name, size, color, style }: Props): import("react/jsx-runtime").JSX.Element;
11
+ export {};
12
+ //# sourceMappingURL=Icon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../../src/components/Icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzD,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAI5C,MAAM,MAAM,QAAQ,GAAG,MAAM,OAAO,KAAK,CAAC;AAE1C,KAAK,KAAK,GAAG;IACX,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,IAAI,EAAE,QAAQ,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,IAAI,CAAC,EAAE,IAAI,EAAE,IAAS,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,KAAK,2CAYpE"}
@@ -0,0 +1,13 @@
1
+ import { type PressableProps, type StyleProp, type ViewStyle } from 'react-native';
2
+ import { type ButtonVariant, type ButtonSize } from './ButtonContainer';
3
+ import { type IconName } from './Icon';
4
+ type Props = PressableProps & {
5
+ iconName: IconName;
6
+ variant?: keyof typeof ButtonVariant;
7
+ size?: keyof typeof ButtonSize;
8
+ loading?: boolean;
9
+ style?: StyleProp<ViewStyle>;
10
+ };
11
+ export default function IconButton({ iconName, onPress, size, disabled, variant, loading, style, ...rest }: Props): import("react/jsx-runtime").JSX.Element;
12
+ export {};
13
+ //# sourceMappingURL=IconButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../../src/components/IconButton.tsx"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,cAAc,EACnB,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAEtB,OAAwB,EACtB,KAAK,aAAa,EAClB,KAAK,UAAU,EAEhB,MAAM,mBAAmB,CAAC;AAC3B,OAAa,EAAE,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAK7C,KAAK,KAAK,GAAG,cAAc,GAAG;IAC5B,QAAQ,EAAE,QAAQ,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,OAAO,aAAa,CAAC;IACrC,IAAI,CAAC,EAAE,MAAM,OAAO,UAAU,CAAC;IAC/B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC;AAIF,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EACjC,QAAQ,EACR,OAAO,EACP,IAAe,EACf,QAAgB,EAChB,OAAgB,EAChB,OAAe,EACf,KAAK,EACL,GAAG,IAAI,EACR,EAAE,KAAK,2CA6BP"}
@@ -0,0 +1,17 @@
1
+ import { type StyleProp, type ViewStyle, type TextInputProps } from 'react-native';
2
+ import { type IconName } from './Icon';
3
+ export type InputRef = {
4
+ focus: () => void;
5
+ blur: () => void;
6
+ };
7
+ export declare const Input: import("react").ForwardRefExoticComponent<TextInputProps & {
8
+ style?: StyleProp<ViewStyle>;
9
+ error?: boolean;
10
+ label?: string;
11
+ hint?: string;
12
+ iconName?: IconName;
13
+ variant?: "text" | "password";
14
+ clearable?: boolean;
15
+ } & import("react").RefAttributes<InputRef>>;
16
+ export default Input;
17
+ //# sourceMappingURL=Input.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../../src/components/Input.tsx"],"names":[],"mappings":"AACA,OAAO,EAGL,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,cAAc,EAIpB,MAAM,cAAc,CAAC;AAItB,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAgBvC,MAAM,MAAM,QAAQ,GAAG;IAAE,KAAK,EAAE,MAAM,IAAI,CAAC;IAAC,IAAI,EAAE,MAAM,IAAI,CAAA;CAAE,CAAC;AAE/D,eAAO,MAAM,KAAK;YAXR,SAAS,CAAC,SAAS,CAAC;YACpB,OAAO;YACP,MAAM;WACP,MAAM;eACF,QAAQ;cACT,MAAM,GAAG,UAAU;gBACjB,OAAO;4CA0GpB,CAAC;AAUF,eAAe,KAAK,CAAC"}
@@ -0,0 +1,22 @@
1
+ import { type PropsWithChildren } from 'react';
2
+ import { type StyleProp, type ViewStyle } from 'react-native';
3
+ import { type IconName } from './Icon';
4
+ type Props = PropsWithChildren & {
5
+ style?: StyleProp<ViewStyle>;
6
+ contentContainerStyle?: StyleProp<ViewStyle>;
7
+ error?: boolean;
8
+ hint?: string;
9
+ label?: string;
10
+ onPress: () => void;
11
+ focused?: boolean;
12
+ disabled?: boolean;
13
+ size?: 'small' | 'default';
14
+ height?: number;
15
+ iconName?: IconName;
16
+ };
17
+ export type InputRef = {
18
+ focus: () => void;
19
+ };
20
+ export default function InputContainer({ style, contentContainerStyle, error, hint, label, onPress, focused, children, size, disabled, height, iconName, }: Props): import("react/jsx-runtime").JSX.Element;
21
+ export {};
22
+ //# sourceMappingURL=InputContainer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InputContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/InputContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,iBAAiB,EAAsB,MAAM,OAAO,CAAC;AACnE,OAAO,EAIL,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAUtB,OAAa,EAAE,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAI7C,KAAK,KAAK,GAAG,iBAAiB,GAAG;IAC/B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,qBAAqB,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7C,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,QAAQ,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG;IAAE,KAAK,EAAE,MAAM,IAAI,CAAA;CAAE,CAAC;AAM7C,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EACrC,KAAK,EACL,qBAAqB,EACrB,KAAK,EACL,IAAI,EACJ,KAAK,EACL,OAAO,EACP,OAAO,EACP,QAAQ,EACR,IAAgB,EAChB,QAAQ,EACR,MAAM,EACN,QAAQ,GACT,EAAE,KAAK,2CAkEP"}
@@ -0,0 +1,9 @@
1
+ import { type StyleProp, type ViewStyle } from 'react-native';
2
+ type Props = {
3
+ style?: StyleProp<ViewStyle>;
4
+ color?: string;
5
+ size?: number;
6
+ };
7
+ export default function LoadingIndicator({ style, color, size }: Props): import("react/jsx-runtime").JSX.Element;
8
+ export {};
9
+ //# sourceMappingURL=LoadingIndicator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LoadingIndicator.d.ts","sourceRoot":"","sources":["../../../../src/components/LoadingIndicator.tsx"],"names":[],"mappings":"AACA,OAAO,EAKL,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAWtB,KAAK,KAAK,GAAG;IACX,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,IAAS,EAAE,EAAE,KAAK,2CAqC1E"}
@@ -0,0 +1,3 @@
1
+ import { TextInput, type TextInputProps } from 'react-native';
2
+ export declare const OtpInput: import("react").ForwardRefExoticComponent<TextInputProps & import("react").RefAttributes<TextInput>>;
3
+ //# sourceMappingURL=OtpInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OtpInput.d.ts","sourceRoot":"","sources":["../../../../src/components/OtpInput.tsx"],"names":[],"mappings":"AAOA,OAAO,EAGL,SAAS,EACT,KAAK,cAAc,EAEpB,MAAM,cAAc,CAAC;AAItB,eAAO,MAAM,QAAQ,sGA8EpB,CAAC"}
@@ -0,0 +1,17 @@
1
+ import { type ViewProps, type TextInputProps } from 'react-native';
2
+ export type OtpInputContainerRef = {
3
+ clear: () => void;
4
+ };
5
+ type OtpInputContainerProps = {
6
+ inputProps?: Omit<TextInputProps, 'style' | 'onChangeText' | 'onKeyPress' | 'autoComplete' | 'keyboardType' | 'autoFocus'>;
7
+ inputStyle?: TextInputProps['style'];
8
+ containerProps?: Omit<ViewProps, 'style'>;
9
+ containerStyle?: ViewProps['style'];
10
+ length?: number;
11
+ onFillEnded?: (otp: string) => void;
12
+ autoFocus?: boolean;
13
+ editable?: boolean;
14
+ };
15
+ export declare const OtpInputContainer: import("react").ForwardRefExoticComponent<OtpInputContainerProps & import("react").RefAttributes<OtpInputContainerRef>>;
16
+ export {};
17
+ //# sourceMappingURL=OtpInputContainer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OtpInputContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/OtpInputContainer.tsx"],"names":[],"mappings":"AAEA,OAAO,EAKL,KAAK,SAAS,EACd,KAAK,cAAc,EAEpB,MAAM,cAAc,CAAC;AAGtB,MAAM,MAAM,oBAAoB,GAAG;IACjC,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB,CAAC;AAEF,KAAK,sBAAsB,GAAG;IAC5B,UAAU,CAAC,EAAE,IAAI,CACf,cAAc,EACZ,OAAO,GACP,cAAc,GACd,YAAY,GACZ,cAAc,GACd,cAAc,GACd,WAAW,CACd,CAAC;IACF,UAAU,CAAC,EAAE,cAAc,CAAC,OAAO,CAAC,CAAC;IACrC,cAAc,CAAC,EAAE,IAAI,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;IAC1C,cAAc,CAAC,EAAE,SAAS,CAAC,OAAO,CAAC,CAAC;IACpC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,iBAAiB,yHAsJ7B,CAAC"}
@@ -0,0 +1,20 @@
1
+ import { type StyleProp, type ViewStyle } from 'react-native';
2
+ export type SelectOption = {
3
+ value: string;
4
+ label: string;
5
+ };
6
+ type Props = {
7
+ style?: StyleProp<ViewStyle>;
8
+ value?: SelectOption;
9
+ options: SelectOption[];
10
+ onChange: (option: SelectOption) => void;
11
+ title?: string;
12
+ placeholder?: string;
13
+ label?: string;
14
+ disabled?: boolean;
15
+ error?: boolean;
16
+ hint?: string;
17
+ };
18
+ export default function Select({ style, value, options, onChange, placeholder, label, disabled, error, hint, title, }: Props): import("react/jsx-runtime").JSX.Element;
19
+ export {};
20
+ //# sourceMappingURL=Select.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../../src/components/Select.tsx"],"names":[],"mappings":"AACA,OAAO,EAGL,KAAK,SAAS,EACd,KAAK,SAAS,EAEf,MAAM,cAAc,CAAC;AAkBtB,MAAM,MAAM,YAAY,GAAG;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,KAAK,KAAK,GAAG;IACX,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,KAAK,CAAC,EAAE,YAAY,CAAC;IACrB,OAAO,EAAE,YAAY,EAAE,CAAC;IACxB,QAAQ,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,IAAI,CAAC;IACzC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAwDF,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,EAC7B,KAAK,EACL,KAAK,EACL,OAAO,EACP,QAAQ,EACR,WAAsB,EACtB,KAAK,EACL,QAAgB,EAChB,KAAK,EACL,IAAI,EACJ,KAAK,GACN,EAAE,KAAK,2CA6FP"}