fluent-styles 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 (133) hide show
  1. package/README.md +77 -0
  2. package/lib/commonjs/assets/img/doctor.png +0 -0
  3. package/lib/commonjs/index.js +248 -0
  4. package/lib/commonjs/index.js.map +1 -0
  5. package/lib/commonjs/package/badge/index.js +159 -0
  6. package/lib/commonjs/package/badge/index.js.map +1 -0
  7. package/lib/commonjs/package/button/index.js +96 -0
  8. package/lib/commonjs/package/button/index.js.map +1 -0
  9. package/lib/commonjs/package/card/index.js +32 -0
  10. package/lib/commonjs/package/card/index.js.map +1 -0
  11. package/lib/commonjs/package/checkBox/index.js +84 -0
  12. package/lib/commonjs/package/checkBox/index.js.map +1 -0
  13. package/lib/commonjs/package/cycle/index.js +28 -0
  14. package/lib/commonjs/package/cycle/index.js.map +1 -0
  15. package/lib/commonjs/package/dialog/index.js +192 -0
  16. package/lib/commonjs/package/dialog/index.js.map +1 -0
  17. package/lib/commonjs/package/dropdown/index.js +116 -0
  18. package/lib/commonjs/package/dropdown/index.js.map +1 -0
  19. package/lib/commonjs/package/form/index.js +184 -0
  20. package/lib/commonjs/package/form/index.js.map +1 -0
  21. package/lib/commonjs/package/header/index.js +89 -0
  22. package/lib/commonjs/package/header/index.js.map +1 -0
  23. package/lib/commonjs/package/image/index.js +123 -0
  24. package/lib/commonjs/package/image/index.js.map +1 -0
  25. package/lib/commonjs/package/radioButton/index.js +84 -0
  26. package/lib/commonjs/package/radioButton/index.js.map +1 -0
  27. package/lib/commonjs/package/safeAreaView/index.js +16 -0
  28. package/lib/commonjs/package/safeAreaView/index.js.map +1 -0
  29. package/lib/commonjs/package/scrollView/index.js +16 -0
  30. package/lib/commonjs/package/scrollView/index.js.map +1 -0
  31. package/lib/commonjs/package/separator/index.js +33 -0
  32. package/lib/commonjs/package/separator/index.js.map +1 -0
  33. package/lib/commonjs/package/spacer/index.js +18 -0
  34. package/lib/commonjs/package/spacer/index.js.map +1 -0
  35. package/lib/commonjs/package/spinner/index.js +43 -0
  36. package/lib/commonjs/package/spinner/index.js.map +1 -0
  37. package/lib/commonjs/package/stack/__test__/index.test.js +91 -0
  38. package/lib/commonjs/package/stack/__test__/index.test.js.map +1 -0
  39. package/lib/commonjs/package/stack/index.js +41 -0
  40. package/lib/commonjs/package/stack/index.js.map +1 -0
  41. package/lib/commonjs/package/styled/__test__/index.test.js +161 -0
  42. package/lib/commonjs/package/styled/__test__/index.test.js.map +1 -0
  43. package/lib/commonjs/package/styled/index.js +42 -0
  44. package/lib/commonjs/package/styled/index.js.map +1 -0
  45. package/lib/commonjs/package/switch/index.js +43 -0
  46. package/lib/commonjs/package/switch/index.js.map +1 -0
  47. package/lib/commonjs/package/text/index.js +73 -0
  48. package/lib/commonjs/package/text/index.js.map +1 -0
  49. package/lib/commonjs/package/theme.js +384 -0
  50. package/lib/commonjs/package/theme.js.map +1 -0
  51. package/lib/commonjs/package/utils/index.js +130 -0
  52. package/lib/commonjs/package/utils/index.js.map +1 -0
  53. package/lib/commonjs/styled.code-workspace +9 -0
  54. package/lib/module/assets/img/doctor.png +0 -0
  55. package/lib/module/index.js +23 -0
  56. package/lib/module/index.js.map +1 -0
  57. package/lib/module/package/badge/index.js +151 -0
  58. package/lib/module/package/badge/index.js.map +1 -0
  59. package/lib/module/package/button/index.js +89 -0
  60. package/lib/module/package/button/index.js.map +1 -0
  61. package/lib/module/package/card/index.js +25 -0
  62. package/lib/module/package/card/index.js.map +1 -0
  63. package/lib/module/package/checkBox/index.js +75 -0
  64. package/lib/module/package/checkBox/index.js.map +1 -0
  65. package/lib/module/package/cycle/index.js +21 -0
  66. package/lib/module/package/cycle/index.js.map +1 -0
  67. package/lib/module/package/dialog/index.js +182 -0
  68. package/lib/module/package/dialog/index.js.map +1 -0
  69. package/lib/module/package/dropdown/index.js +106 -0
  70. package/lib/module/package/dropdown/index.js.map +1 -0
  71. package/lib/module/package/form/index.js +176 -0
  72. package/lib/module/package/form/index.js.map +1 -0
  73. package/lib/module/package/header/index.js +83 -0
  74. package/lib/module/package/header/index.js.map +1 -0
  75. package/lib/module/package/image/index.js +115 -0
  76. package/lib/module/package/image/index.js.map +1 -0
  77. package/lib/module/package/radioButton/index.js +75 -0
  78. package/lib/module/package/radioButton/index.js.map +1 -0
  79. package/lib/module/package/safeAreaView/index.js +11 -0
  80. package/lib/module/package/safeAreaView/index.js.map +1 -0
  81. package/lib/module/package/scrollView/index.js +11 -0
  82. package/lib/module/package/scrollView/index.js.map +1 -0
  83. package/lib/module/package/separator/index.js +26 -0
  84. package/lib/module/package/separator/index.js.map +1 -0
  85. package/lib/module/package/spacer/index.js +11 -0
  86. package/lib/module/package/spacer/index.js.map +1 -0
  87. package/lib/module/package/spinner/index.js +36 -0
  88. package/lib/module/package/spinner/index.js.map +1 -0
  89. package/lib/module/package/stack/__test__/index.test.js +89 -0
  90. package/lib/module/package/stack/__test__/index.test.js.map +1 -0
  91. package/lib/module/package/stack/index.js +36 -0
  92. package/lib/module/package/stack/index.js.map +1 -0
  93. package/lib/module/package/styled/__test__/index.test.js +158 -0
  94. package/lib/module/package/styled/__test__/index.test.js.map +1 -0
  95. package/lib/module/package/styled/index.js +35 -0
  96. package/lib/module/package/styled/index.js.map +1 -0
  97. package/lib/module/package/switch/index.js +36 -0
  98. package/lib/module/package/switch/index.js.map +1 -0
  99. package/lib/module/package/text/index.js +68 -0
  100. package/lib/module/package/text/index.js.map +1 -0
  101. package/lib/module/package/theme.js +379 -0
  102. package/lib/module/package/theme.js.map +1 -0
  103. package/lib/module/package/utils/index.js +120 -0
  104. package/lib/module/package/utils/index.js.map +1 -0
  105. package/lib/module/styled.code-workspace +9 -0
  106. package/package.json +85 -0
  107. package/src/assets/img/doctor.png +0 -0
  108. package/src/index.js +23 -0
  109. package/src/package/badge/index.jsx +133 -0
  110. package/src/package/button/index.jsx +80 -0
  111. package/src/package/card/index.jsx +38 -0
  112. package/src/package/checkBox/index.jsx +80 -0
  113. package/src/package/cycle/index.jsx +23 -0
  114. package/src/package/dialog/index.jsx +214 -0
  115. package/src/package/dropdown/index.jsx +102 -0
  116. package/src/package/form/index.jsx +145 -0
  117. package/src/package/header/index.jsx +92 -0
  118. package/src/package/image/index.jsx +93 -0
  119. package/src/package/radioButton/index.jsx +81 -0
  120. package/src/package/safeAreaView/index.jsx +12 -0
  121. package/src/package/scrollView/index.jsx +12 -0
  122. package/src/package/separator/index.jsx +26 -0
  123. package/src/package/spacer/index.jsx +13 -0
  124. package/src/package/spinner/index.jsx +33 -0
  125. package/src/package/stack/__test__/index.test.js +68 -0
  126. package/src/package/stack/index.jsx +37 -0
  127. package/src/package/styled/__test__/index.test.js +132 -0
  128. package/src/package/styled/index.js +32 -0
  129. package/src/package/switch/index.jsx +33 -0
  130. package/src/package/text/index.jsx +61 -0
  131. package/src/package/theme.js +376 -0
  132. package/src/package/utils/index.js +108 -0
  133. package/src/styled.code-workspace +9 -0
@@ -0,0 +1,384 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.theme = exports.palettes = exports.lightColors = exports.darkColors = void 0;
7
+ /* eslint-disable prettier/prettier */
8
+
9
+ const palettes = exports.palettes = {
10
+ white: '#FFFFFF',
11
+ black: '#000000',
12
+ lightText: '#FFFFFF',
13
+ darkText: '#000000',
14
+ transparent: 'rgba(0, 0, 0, 0)',
15
+ rose: {
16
+ 50: '#fff1f2',
17
+ 100: '#ffe4e6',
18
+ 200: '#fecdd3',
19
+ 300: '#fda4af',
20
+ 400: '#fb7185',
21
+ 500: '#f43f5e',
22
+ 600: '#e11d48',
23
+ 700: '#be123c',
24
+ 800: '#9f1239',
25
+ 900: '#881337'
26
+ },
27
+ pink: {
28
+ 50: '#fdf2f8',
29
+ 100: '#fce7f3',
30
+ 200: '#fbcfe8',
31
+ 300: '#f9a8d4',
32
+ 400: '#f472b6',
33
+ 500: '#ec4899',
34
+ 600: '#db2777',
35
+ 700: '#be185d',
36
+ 800: '#9d174d',
37
+ 900: '#831843'
38
+ },
39
+ fuchsia: {
40
+ 50: '#fdf4ff',
41
+ 100: '#fae8ff',
42
+ 200: '#f5d0fe',
43
+ 300: '#f0abfc',
44
+ 400: '#e879f9',
45
+ 500: '#d946ef',
46
+ 600: '#c026d3',
47
+ 700: '#a21caf',
48
+ 800: '#86198f',
49
+ 900: '#701a75'
50
+ },
51
+ purple: {
52
+ 50: '#faf5ff',
53
+ 100: '#f3e8ff',
54
+ 200: '#e9d5ff',
55
+ 300: '#d8b4fe',
56
+ 400: '#c084fc',
57
+ 500: '#a855f7',
58
+ 600: '#9333ea',
59
+ 700: '#7e22ce',
60
+ 800: '#6b21a8',
61
+ 900: '#581c87'
62
+ },
63
+ violet: {
64
+ 50: '#f5f3ff',
65
+ 100: '#ede9fe',
66
+ 200: '#ddd6fe',
67
+ 300: '#c4b5fd',
68
+ 400: '#a78bfa',
69
+ 500: '#8b5cf6',
70
+ 600: '#7c3aed',
71
+ 700: '#6d28d9',
72
+ 800: '#5b21b6',
73
+ 900: '#4c1d95'
74
+ },
75
+ indigo: {
76
+ 50: '#eef2ff',
77
+ 100: '#e0e7ff',
78
+ 200: '#c7d2fe',
79
+ 300: '#a5b4fc',
80
+ 400: '#818cf8',
81
+ 500: '#6366f1',
82
+ 600: '#4f46e5',
83
+ 700: '#4338ca',
84
+ 800: '#3730a3',
85
+ 900: '#312e81'
86
+ },
87
+ blue: {
88
+ 50: '#eff6ff',
89
+ 100: '#dbeafe',
90
+ 200: '#bfdbfe',
91
+ 300: '#93c5fd',
92
+ 400: '#60a5fa',
93
+ 500: '#3b82f6',
94
+ 600: '#2563eb',
95
+ 700: '#1d4ed8',
96
+ 800: '#1e40af',
97
+ 900: '#1e3a8a'
98
+ },
99
+ lightBlue: {
100
+ 50: '#f0f9ff',
101
+ 100: '#e0f2fe',
102
+ 200: '#bae6fd',
103
+ 300: '#7dd3fc',
104
+ 400: '#38bdf8',
105
+ 500: '#0ea5e9',
106
+ 600: '#0284c7',
107
+ 700: '#0369a1',
108
+ 800: '#075985',
109
+ 900: '#0c4a6e'
110
+ },
111
+ darkBlue: {
112
+ 50: '#dbf4ff',
113
+ 100: '#addbff',
114
+ 200: '#7cc2ff',
115
+ 300: '#4aa9ff',
116
+ 400: '#1a91ff',
117
+ 500: '#0077e6',
118
+ 600: '#005db4',
119
+ 700: '#004282',
120
+ 800: '#002851',
121
+ 900: '#000e21'
122
+ },
123
+ cyan: {
124
+ 50: '#ecfeff',
125
+ 100: '#cffafe',
126
+ 200: '#a5f3fc',
127
+ 300: '#67e8f9',
128
+ 400: '#22d3ee',
129
+ 500: '#06b6d4',
130
+ 600: '#0891b2',
131
+ 700: '#0e7490',
132
+ 800: '#155e75',
133
+ 900: '#164e63'
134
+ },
135
+ teal: {
136
+ 50: '#f0fdfa',
137
+ 100: '#ccfbf1',
138
+ 200: '#99f6e4',
139
+ 300: '#5eead4',
140
+ 400: '#2dd4bf',
141
+ 500: '#14b8a6',
142
+ 600: '#0d9488',
143
+ 700: '#0f766e',
144
+ 800: '#115e59',
145
+ 900: '#134e4a'
146
+ },
147
+ emerald: {
148
+ 50: '#ecfdf5',
149
+ 100: '#d1fae5',
150
+ 200: '#a7f3d0',
151
+ 300: '#6ee7b7',
152
+ 400: '#34d399',
153
+ 500: '#10b981',
154
+ 600: '#059669',
155
+ 700: '#047857',
156
+ 800: '#065f46',
157
+ 900: '#064e3b'
158
+ },
159
+ green: {
160
+ 50: '#f0fdf4',
161
+ 100: '#dcfce7',
162
+ 200: '#bbf7d0',
163
+ 300: '#86efac',
164
+ 400: '#4ade80',
165
+ 500: '#22c55e',
166
+ 600: '#16a34a',
167
+ 700: '#15803d',
168
+ 800: '#166534',
169
+ 900: '#14532d'
170
+ },
171
+ lime: {
172
+ 50: '#f7fee7',
173
+ 100: '#ecfccb',
174
+ 200: '#d9f99d',
175
+ 300: '#bef264',
176
+ 400: '#a3e635',
177
+ 500: '#84cc16',
178
+ 600: '#65a30d',
179
+ 700: '#4d7c0f',
180
+ 800: '#3f6212',
181
+ 900: '#365314'
182
+ },
183
+ yellow: {
184
+ 50: '#fefce8',
185
+ 100: '#fef9c3',
186
+ 200: '#fef08a',
187
+ 300: '#fde047',
188
+ 400: '#facc15',
189
+ 500: '#eab308',
190
+ 600: '#ca8a04',
191
+ 700: '#a16207',
192
+ 800: '#854d0e',
193
+ 900: '#713f12'
194
+ },
195
+ amber: {
196
+ 50: '#fffbeb',
197
+ 100: '#fef3c7',
198
+ 200: '#fde68a',
199
+ 300: '#fcd34d',
200
+ 400: '#fbbf24',
201
+ 500: '#f59e0b',
202
+ 600: '#d97706',
203
+ 700: '#b45309',
204
+ 800: '#92400e',
205
+ 900: '#78350f'
206
+ },
207
+ orange: {
208
+ 50: '#fff7ed',
209
+ 100: '#ffedd5',
210
+ 200: '#fed7aa',
211
+ 300: '#fdba74',
212
+ 400: '#fb923c',
213
+ 500: '#f97316',
214
+ 600: '#ea580c',
215
+ 700: '#c2410c',
216
+ 800: '#9a3412',
217
+ 900: '#7c2d12'
218
+ },
219
+ red: {
220
+ 50: '#fef2f2',
221
+ 100: '#fee2e2',
222
+ 200: '#fecaca',
223
+ 300: '#fca5a5',
224
+ 400: '#f87171',
225
+ 500: '#ef4444',
226
+ 600: '#dc2626',
227
+ 700: '#b91c1c',
228
+ 800: '#991b1b',
229
+ 900: '#7f1d1d'
230
+ },
231
+ warmGray: {
232
+ 50: '#fafaf9',
233
+ 100: '#f5f5f4',
234
+ 200: '#e7e5e4',
235
+ 300: '#d6d3d1',
236
+ 400: '#a8a29e',
237
+ 500: '#78716c',
238
+ 600: '#57534e',
239
+ 700: '#44403c',
240
+ 800: '#292524',
241
+ 900: '#1c1917'
242
+ },
243
+ trueGray: {
244
+ 50: '#fafafa',
245
+ 100: '#f5f5f5',
246
+ 200: '#e5e5e5',
247
+ 300: '#d4d4d4',
248
+ 400: '#a3a3a3',
249
+ 500: '#737373',
250
+ 600: '#525252',
251
+ 700: '#404040',
252
+ 800: '#262626',
253
+ 900: '#171717'
254
+ },
255
+ gray: {
256
+ 1: '#FFFFFF',
257
+ 50: '#fafafa',
258
+ 100: '#f4f4f5',
259
+ 200: '#e4e4e7',
260
+ 300: '#d4d4d8',
261
+ 400: '#a1a1aa',
262
+ 500: '#71717a',
263
+ 600: '#52525b',
264
+ 700: '#3f3f46',
265
+ 800: '#27272a',
266
+ 900: '#18181b'
267
+ },
268
+ coolGray: {
269
+ 50: '#f9fafb',
270
+ 100: '#f3f4f6',
271
+ 200: '#e5e7eb',
272
+ 300: '#d1d5db',
273
+ 400: '#9ca3af',
274
+ 500: '#6b7280',
275
+ 600: '#4b5563',
276
+ 700: '#374151',
277
+ 800: '#1f2937',
278
+ 900: '#111827'
279
+ },
280
+ blueGray: {
281
+ 50: '#f8fafc',
282
+ 100: '#f1f5f9',
283
+ 200: '#e2e8f0',
284
+ 300: '#cbd5e1',
285
+ 400: '#94a3b8',
286
+ 500: '#64748b',
287
+ 600: '#475569',
288
+ 700: '#334155',
289
+ 800: '#1e293b',
290
+ 900: '#0f172a'
291
+ },
292
+ dark: {
293
+ 50: '#18181b',
294
+ 100: '#27272a',
295
+ 200: '#3f3f46',
296
+ 300: '#52525b',
297
+ 400: '#71717a',
298
+ 500: '#a1a1aa',
299
+ 600: '#d4d4d8',
300
+ 700: '#e4e4e7',
301
+ 800: '#f4f4f5',
302
+ 900: '#fafafa'
303
+ }
304
+ };
305
+ const darkColors = exports.darkColors = {
306
+ button_hover: palettes.indigo[600],
307
+ button_primary: palettes.indigo[500],
308
+ cardBg: palettes.coolGray[800],
309
+ textColor: palettes.coolGray[50],
310
+ borderColor: palettes.coolGray[50],
311
+ shadowColor: palettes.coolGray[50],
312
+ hover: palettes.blue[800],
313
+ pressed: palettes.blue[900],
314
+ pressed_secondary: palettes.blue[400],
315
+ primary: palettes.blue[400]
316
+ };
317
+ const lightColors = exports.lightColors = {
318
+ primary: palettes.amber[500],
319
+ button_hover: palettes.indigo[700],
320
+ button_primary: palettes.indigo[600],
321
+ cardBg: palettes.coolGray[50],
322
+ textColor: palettes.coolGray[900],
323
+ borderColor: palettes.coolGray[900],
324
+ shadowColor: palettes.coolGray[900],
325
+ hover: palettes.blue[100],
326
+ pressed: palettes.blue[200],
327
+ pressed_secondary: palettes.blue[400]
328
+ };
329
+ const theme = exports.theme = {
330
+ colors: {
331
+ ...palettes,
332
+ ...lightColors
333
+ },
334
+ space: {
335
+ '0': 0,
336
+ '1': 1,
337
+ '2': 2,
338
+ '4': 4,
339
+ '8': 8,
340
+ '16': 16,
341
+ '32': 32,
342
+ '64': 64,
343
+ '128': 128
344
+ },
345
+ fontWeight: {
346
+ thin: '100',
347
+ extraLight: '200',
348
+ light: '300',
349
+ normal: '400',
350
+ medium: '500',
351
+ semiBold: '600',
352
+ bold: '700',
353
+ extraBold: '800',
354
+ black: '900'
355
+ },
356
+ fontSize: {
357
+ base: 8,
358
+ nano: 10,
359
+ micro: 12,
360
+ small: 14,
361
+ medium: 16,
362
+ normal: 18,
363
+ large: 20,
364
+ xlarge: 22,
365
+ xxlarge: 26,
366
+ xxxlarge: 30,
367
+ splash: 40
368
+ },
369
+ textAlign: {
370
+ left: {
371
+ textAlign: 'left'
372
+ },
373
+ right: {
374
+ textAlign: 'right'
375
+ },
376
+ center: {
377
+ textAlign: 'center'
378
+ },
379
+ justify: {
380
+ textAlign: 'justify'
381
+ }
382
+ }
383
+ };
384
+ //# sourceMappingURL=theme.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["palettes","exports","white","black","lightText","darkText","transparent","rose","pink","fuchsia","purple","violet","indigo","blue","lightBlue","darkBlue","cyan","teal","emerald","green","lime","yellow","amber","orange","red","warmGray","trueGray","gray","coolGray","blueGray","dark","darkColors","button_hover","button_primary","cardBg","textColor","borderColor","shadowColor","hover","pressed","pressed_secondary","primary","lightColors","theme","colors","space","fontWeight","thin","extraLight","light","normal","medium","semiBold","bold","extraBold","fontSize","base","nano","micro","small","large","xlarge","xxlarge","xxxlarge","splash","textAlign","left","right","center","justify"],"sources":["theme.js"],"sourcesContent":["/* eslint-disable prettier/prettier */\r\n\r\nconst palettes = {\r\n white: '#FFFFFF',\r\n black: '#000000',\r\n lightText: '#FFFFFF',\r\n darkText: '#000000',\r\n transparent: 'rgba(0, 0, 0, 0)',\r\n rose: {\r\n 50: '#fff1f2',\r\n 100: '#ffe4e6',\r\n 200: '#fecdd3',\r\n 300: '#fda4af',\r\n 400: '#fb7185',\r\n 500: '#f43f5e',\r\n 600: '#e11d48',\r\n 700: '#be123c',\r\n 800: '#9f1239',\r\n 900: '#881337'\r\n },\r\n pink: {\r\n 50: '#fdf2f8',\r\n 100: '#fce7f3',\r\n 200: '#fbcfe8',\r\n 300: '#f9a8d4',\r\n 400: '#f472b6',\r\n 500: '#ec4899',\r\n 600: '#db2777',\r\n 700: '#be185d',\r\n 800: '#9d174d',\r\n 900: '#831843'\r\n },\r\n fuchsia: {\r\n 50: '#fdf4ff',\r\n 100: '#fae8ff',\r\n 200: '#f5d0fe',\r\n 300: '#f0abfc',\r\n 400: '#e879f9',\r\n 500: '#d946ef',\r\n 600: '#c026d3',\r\n 700: '#a21caf',\r\n 800: '#86198f',\r\n 900: '#701a75'\r\n },\r\n purple: {\r\n 50: '#faf5ff',\r\n 100: '#f3e8ff',\r\n 200: '#e9d5ff',\r\n 300: '#d8b4fe',\r\n 400: '#c084fc',\r\n 500: '#a855f7',\r\n 600: '#9333ea',\r\n 700: '#7e22ce',\r\n 800: '#6b21a8',\r\n 900: '#581c87'\r\n },\r\n violet: {\r\n 50: '#f5f3ff',\r\n 100: '#ede9fe',\r\n 200: '#ddd6fe',\r\n 300: '#c4b5fd',\r\n 400: '#a78bfa',\r\n 500: '#8b5cf6',\r\n 600: '#7c3aed',\r\n 700: '#6d28d9',\r\n 800: '#5b21b6',\r\n 900: '#4c1d95'\r\n },\r\n indigo: {\r\n 50: '#eef2ff',\r\n 100: '#e0e7ff',\r\n 200: '#c7d2fe',\r\n 300: '#a5b4fc',\r\n 400: '#818cf8',\r\n 500: '#6366f1',\r\n 600: '#4f46e5',\r\n 700: '#4338ca',\r\n 800: '#3730a3',\r\n 900: '#312e81'\r\n },\r\n blue: {\r\n 50: '#eff6ff',\r\n 100: '#dbeafe',\r\n 200: '#bfdbfe',\r\n 300: '#93c5fd',\r\n 400: '#60a5fa',\r\n 500: '#3b82f6',\r\n 600: '#2563eb',\r\n 700: '#1d4ed8',\r\n 800: '#1e40af',\r\n 900: '#1e3a8a'\r\n },\r\n lightBlue: {\r\n 50: '#f0f9ff',\r\n 100: '#e0f2fe',\r\n 200: '#bae6fd',\r\n 300: '#7dd3fc',\r\n 400: '#38bdf8',\r\n 500: '#0ea5e9',\r\n 600: '#0284c7',\r\n 700: '#0369a1',\r\n 800: '#075985',\r\n 900: '#0c4a6e'\r\n },\r\n darkBlue: {\r\n 50: '#dbf4ff',\r\n 100: '#addbff',\r\n 200: '#7cc2ff',\r\n 300: '#4aa9ff',\r\n 400: '#1a91ff',\r\n 500: '#0077e6',\r\n 600: '#005db4',\r\n 700: '#004282',\r\n 800: '#002851',\r\n 900: '#000e21'\r\n },\r\n cyan: {\r\n 50: '#ecfeff',\r\n 100: '#cffafe',\r\n 200: '#a5f3fc',\r\n 300: '#67e8f9',\r\n 400: '#22d3ee',\r\n 500: '#06b6d4',\r\n 600: '#0891b2',\r\n 700: '#0e7490',\r\n 800: '#155e75',\r\n 900: '#164e63'\r\n },\r\n teal: {\r\n 50: '#f0fdfa',\r\n 100: '#ccfbf1',\r\n 200: '#99f6e4',\r\n 300: '#5eead4',\r\n 400: '#2dd4bf',\r\n 500: '#14b8a6',\r\n 600: '#0d9488',\r\n 700: '#0f766e',\r\n 800: '#115e59',\r\n 900: '#134e4a'\r\n },\r\n emerald: {\r\n 50: '#ecfdf5',\r\n 100: '#d1fae5',\r\n 200: '#a7f3d0',\r\n 300: '#6ee7b7',\r\n 400: '#34d399',\r\n 500: '#10b981',\r\n 600: '#059669',\r\n 700: '#047857',\r\n 800: '#065f46',\r\n 900: '#064e3b'\r\n },\r\n green: {\r\n 50: '#f0fdf4',\r\n 100: '#dcfce7',\r\n 200: '#bbf7d0',\r\n 300: '#86efac',\r\n 400: '#4ade80',\r\n 500: '#22c55e',\r\n 600: '#16a34a',\r\n 700: '#15803d',\r\n 800: '#166534',\r\n 900: '#14532d'\r\n },\r\n lime: {\r\n 50: '#f7fee7',\r\n 100: '#ecfccb',\r\n 200: '#d9f99d',\r\n 300: '#bef264',\r\n 400: '#a3e635',\r\n 500: '#84cc16',\r\n 600: '#65a30d',\r\n 700: '#4d7c0f',\r\n 800: '#3f6212',\r\n 900: '#365314'\r\n },\r\n yellow: {\r\n 50: '#fefce8',\r\n 100: '#fef9c3',\r\n 200: '#fef08a',\r\n 300: '#fde047',\r\n 400: '#facc15',\r\n 500: '#eab308',\r\n 600: '#ca8a04',\r\n 700: '#a16207',\r\n 800: '#854d0e',\r\n 900: '#713f12'\r\n },\r\n amber: {\r\n 50: '#fffbeb',\r\n 100: '#fef3c7',\r\n 200: '#fde68a',\r\n 300: '#fcd34d',\r\n 400: '#fbbf24',\r\n 500: '#f59e0b',\r\n 600: '#d97706',\r\n 700: '#b45309',\r\n 800: '#92400e',\r\n 900: '#78350f'\r\n },\r\n orange: {\r\n 50: '#fff7ed',\r\n 100: '#ffedd5',\r\n 200: '#fed7aa',\r\n 300: '#fdba74',\r\n 400: '#fb923c',\r\n 500: '#f97316',\r\n 600: '#ea580c',\r\n 700: '#c2410c',\r\n 800: '#9a3412',\r\n 900: '#7c2d12'\r\n },\r\n red: {\r\n 50: '#fef2f2',\r\n 100: '#fee2e2',\r\n 200: '#fecaca',\r\n 300: '#fca5a5',\r\n 400: '#f87171',\r\n 500: '#ef4444',\r\n 600: '#dc2626',\r\n 700: '#b91c1c',\r\n 800: '#991b1b',\r\n 900: '#7f1d1d'\r\n },\r\n warmGray: {\r\n 50: '#fafaf9',\r\n 100: '#f5f5f4',\r\n 200: '#e7e5e4',\r\n 300: '#d6d3d1',\r\n 400: '#a8a29e',\r\n 500: '#78716c',\r\n 600: '#57534e',\r\n 700: '#44403c',\r\n 800: '#292524',\r\n 900: '#1c1917'\r\n },\r\n trueGray: {\r\n 50: '#fafafa',\r\n 100: '#f5f5f5',\r\n 200: '#e5e5e5',\r\n 300: '#d4d4d4',\r\n 400: '#a3a3a3',\r\n 500: '#737373',\r\n 600: '#525252',\r\n 700: '#404040',\r\n 800: '#262626',\r\n 900: '#171717'\r\n },\r\n gray: {\r\n 1: '#FFFFFF',\r\n 50: '#fafafa',\r\n 100: '#f4f4f5',\r\n 200: '#e4e4e7',\r\n 300: '#d4d4d8',\r\n 400: '#a1a1aa',\r\n 500: '#71717a',\r\n 600: '#52525b',\r\n 700: '#3f3f46',\r\n 800: '#27272a',\r\n 900: '#18181b'\r\n },\r\n coolGray: {\r\n 50: '#f9fafb',\r\n 100: '#f3f4f6',\r\n 200: '#e5e7eb',\r\n 300: '#d1d5db',\r\n 400: '#9ca3af',\r\n 500: '#6b7280',\r\n 600: '#4b5563',\r\n 700: '#374151',\r\n 800: '#1f2937',\r\n 900: '#111827'\r\n },\r\n blueGray: {\r\n 50: '#f8fafc',\r\n 100: '#f1f5f9',\r\n 200: '#e2e8f0',\r\n 300: '#cbd5e1',\r\n 400: '#94a3b8',\r\n 500: '#64748b',\r\n 600: '#475569',\r\n 700: '#334155',\r\n 800: '#1e293b',\r\n 900: '#0f172a'\r\n },\r\n dark: {\r\n 50: '#18181b',\r\n 100: '#27272a',\r\n 200: '#3f3f46',\r\n 300: '#52525b',\r\n 400: '#71717a',\r\n 500: '#a1a1aa',\r\n 600: '#d4d4d8',\r\n 700: '#e4e4e7',\r\n 800: '#f4f4f5',\r\n 900: '#fafafa'\r\n }\r\n}\r\n\r\nconst darkColors = {\r\n button_hover: palettes.indigo[600],\r\n button_primary: palettes.indigo[500],\r\n cardBg: palettes.coolGray[800],\r\n textColor: palettes.coolGray[50],\r\n borderColor: palettes.coolGray[50],\r\n shadowColor: palettes.coolGray[50],\r\n hover: palettes.blue[800],\r\n pressed: palettes.blue[900],\r\n pressed_secondary: palettes.blue[400],\r\n\r\n primary: palettes.blue[400]\r\n}\r\n\r\nconst lightColors = {\r\n primary: palettes.amber[500],\r\n\r\n button_hover: palettes.indigo[700],\r\n button_primary: palettes.indigo[600],\r\n cardBg: palettes.coolGray[50],\r\n textColor: palettes.coolGray[900],\r\n borderColor: palettes.coolGray[900],\r\n shadowColor: palettes.coolGray[900],\r\n hover: palettes.blue[100],\r\n pressed: palettes.blue[200],\r\n pressed_secondary: palettes.blue[400]\r\n}\r\n\r\nconst theme = {\r\n colors: {\r\n ...palettes,\r\n ...lightColors\r\n },\r\n space: {\r\n '0': 0,\r\n '1': 1,\r\n '2': 2,\r\n '4': 4,\r\n '8': 8,\r\n '16': 16,\r\n '32': 32,\r\n '64': 64,\r\n '128': 128\r\n },\r\n fontWeight: {\r\n thin: '100',\r\n extraLight: '200',\r\n light: '300',\r\n normal: '400',\r\n medium: '500',\r\n semiBold: '600',\r\n bold: '700',\r\n extraBold: '800',\r\n black: '900'\r\n },\r\n fontSize: {\r\n base: 8,\r\n nano: 10,\r\n micro: 12,\r\n small: 14,\r\n medium: 16,\r\n normal: 18,\r\n large: 20,\r\n xlarge: 22,\r\n xxlarge: 26,\r\n xxxlarge: 30,\r\n splash: 40\r\n },\r\n textAlign: {\r\n left: { textAlign: 'left' },\r\n right: { textAlign: 'right' },\r\n center: { textAlign: 'center' },\r\n justify: { textAlign: 'justify' }\r\n }\r\n}\r\n\r\nexport { theme, lightColors, darkColors, palettes }\r\n"],"mappings":";;;;;;AAAA;;AAEA,MAAMA,QAAQ,GAAAC,OAAA,CAAAD,QAAA,GAAG;EACfE,KAAK,EAAE,SAAS;EAChBC,KAAK,EAAE,SAAS;EAChBC,SAAS,EAAE,SAAS;EACpBC,QAAQ,EAAE,SAAS;EACnBC,WAAW,EAAE,kBAAkB;EAC/BC,IAAI,EAAE;IACJ,EAAE,EAAE,SAAS;IACb,GAAG,EAAE,SAAS;IACd,GAAG,E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AAA,GAAG;EACZC,MAAM,EAAE;IACN,GAAG5C,QAAQ;IACX,GAAG0C;EACL,CAAC;EACDG,KAAK,EAAE;IACL,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,IAAI,EAAE,EAAE;IACR,IAAI,EAAE,EAAE;IACR,IAAI,EAAE,EAAE;IACR,KAAK,EAAE;EACT,CAAC;EACDC,UAAU,EAAE;IACVC,IAAI,EAAE,KAAK;IACXC,UAAU,EAAE,KAAK;IACjBC,KAAK,EAAE,KAAK;IACZC,MAAM,EAAE,KAAK;IACbC,MAAM,EAAE,KAAK;IACbC,QAAQ,EAAE,KAAK;IACfC,IAAI,EAAE,KAAK;IACXC,SAAS,EAAE,KAAK;IAChBnD,KAAK,EAAE;EACT,CAAC;EACDoD,QAAQ,EAAE;IACRC,IAAI,EAAE,CAAC;IACPC,IAAI,EAAE,EAAE;IACRC,KAAK,EAAE,EAAE;IACTC,KAAK,EAAE,EAAE;IACTR,MAAM,EAAE,EAAE;IACVD,MAAM,EAAE,EAAE;IACVU,KAAK,EAAE,EAAE;IACTC,MAAM,EAAE,EAAE;IACVC,OAAO,EAAE,EAAE;IACXC,QAAQ,EAAE,EAAE;IACZC,MAAM,EAAE;EACV,CAAC;EACDC,SAAS,EAAE;IACTC,IAAI,EAAE;MAAED,SAAS,EAAE;IAAO,CAAC;IAC3BE,KAAK,EAAE;MAAEF,SAAS,EAAE;IAAQ,CAAC;IAC7BG,MAAM,EAAE;MAAEH,SAAS,EAAE;IAAS,CAAC;IAC/BI,OAAO,EAAE;MAAEJ,SAAS,EAAE;IAAU;EAClC;AACF,CAAC","ignoreList":[]}
@@ -0,0 +1,130 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.windowWidth = exports.windowHeight = exports.shadow = exports.isValidString = exports.isValidNumber = exports.isValidColor = exports.isIOS = exports.isAndroid = exports.ErrorBoundary = void 0;
7
+ var _reactNative = require("react-native");
8
+ var _theme = require("../theme");
9
+ var _react = _interopRequireDefault(require("react"));
10
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
11
+ const isValidColor = value => /^#[0-9A-F]{6}$/i.test(value) || typeof value === 'string'; // Simple hex color validation, expand as needed
12
+ exports.isValidColor = isValidColor;
13
+ const isValidNumber = value => typeof value === 'number' && isFinite(value);
14
+ exports.isValidNumber = isValidNumber;
15
+ const isValidString = value => typeof value === 'string' && value.trim().length > 0;
16
+ exports.isValidString = isValidString;
17
+ const shadow = exports.shadow = {
18
+ light: _reactNative.Platform.select({
19
+ ios: {
20
+ shadowColor: _theme.theme.colors.gray[900],
21
+ shadowOffset: {
22
+ width: 0,
23
+ height: 1
24
+ },
25
+ shadowOpacity: 0.22,
26
+ shadowRadius: 2.22
27
+ },
28
+ android: {
29
+ elevation: 1
30
+ }
31
+ }),
32
+ lightMedium: _reactNative.Platform.select({
33
+ ios: {
34
+ shadowColor: _theme.theme.colors.gray[900],
35
+ shadowOffset: {
36
+ width: 0,
37
+ height: 2
38
+ },
39
+ shadowOpacity: 0.24,
40
+ shadowRadius: 2.84
41
+ },
42
+ android: {
43
+ elevation: 3
44
+ }
45
+ }),
46
+ medium: _reactNative.Platform.select({
47
+ ios: {
48
+ shadowColor: _theme.theme.colors.gray[900],
49
+ shadowOffset: {
50
+ width: 0,
51
+ height: 3
52
+ },
53
+ shadowOpacity: 0.29,
54
+ shadowRadius: 4.65
55
+ },
56
+ android: {
57
+ elevation: 7
58
+ }
59
+ }),
60
+ mediumDark: _reactNative.Platform.select({
61
+ ios: {
62
+ shadowColor: _theme.theme.colors.gray[900],
63
+ shadowOffset: {
64
+ width: 0,
65
+ height: 5
66
+ },
67
+ shadowOpacity: 0.36,
68
+ shadowRadius: 6.68
69
+ },
70
+ android: {
71
+ elevation: 10
72
+ }
73
+ }),
74
+ dark: _reactNative.Platform.select({
75
+ ios: {
76
+ shadowColor: _theme.theme.colors.gray[900],
77
+ shadowOffset: {
78
+ width: 0,
79
+ height: 7
80
+ },
81
+ shadowOpacity: 0.41,
82
+ shadowRadius: 9.11
83
+ },
84
+ android: {
85
+ elevation: 14
86
+ }
87
+ }),
88
+ veryDark: _reactNative.Platform.select({
89
+ ios: {
90
+ shadowColor: _theme.theme.colors.gray[900],
91
+ shadowOffset: {
92
+ width: 0,
93
+ height: 10
94
+ },
95
+ shadowOpacity: 0.5,
96
+ shadowRadius: 13.34
97
+ },
98
+ android: {
99
+ elevation: 20
100
+ }
101
+ })
102
+ };
103
+ class ErrorBoundary extends _react.default.Component {
104
+ constructor(props) {
105
+ super(props);
106
+ this.state = {
107
+ hasError: false
108
+ };
109
+ }
110
+ static getDerivedStateFromError(error) {
111
+ return {
112
+ hasError: true
113
+ };
114
+ }
115
+ componentDidCatch(error, info) {
116
+ console.log(error, info.componentStack);
117
+ }
118
+ render() {
119
+ if (this.state.hasError) {
120
+ return this.props.fallback;
121
+ }
122
+ return this.props.children;
123
+ }
124
+ }
125
+ exports.ErrorBoundary = ErrorBoundary;
126
+ const isIOS = exports.isIOS = _reactNative.Platform.OS === 'ios';
127
+ const isAndroid = exports.isAndroid = !isIOS;
128
+ const windowWidth = exports.windowWidth = _reactNative.Dimensions.get('window').width;
129
+ const windowHeight = exports.windowHeight = _reactNative.Dimensions.get('window').height;
130
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_reactNative","require","_theme","_react","_interopRequireDefault","e","__esModule","default","isValidColor","value","test","exports","isValidNumber","isFinite","isValidString","trim","length","shadow","light","Platform","select","ios","shadowColor","theme","colors","gray","shadowOffset","width","height","shadowOpacity","shadowRadius","android","elevation","lightMedium","medium","mediumDark","dark","veryDark","ErrorBoundary","React","Component","constructor","props","state","hasError","getDerivedStateFromError","error","componentDidCatch","info","console","log","componentStack","render","fallback","children","isIOS","OS","isAndroid","windowWidth","Dimensions","get","windowHeight"],"sources":["index.js"],"sourcesContent":["import { Platform, Dimensions } from 'react-native'\r\nimport { theme } from '../theme'\r\nimport React from 'react'\r\n\r\nexport const isValidColor = value =>\r\n\t/^#[0-9A-F]{6}$/i.test(value) || typeof value === 'string' // Simple hex color validation, expand as needed\r\nexport const isValidNumber = value => typeof value === 'number' && isFinite(value)\r\nexport const isValidString = value =>\r\n\ttypeof value === 'string' && value.trim().length > 0\r\n\r\nconst shadow = {\r\n light: Platform.select({\r\n ios: {\r\n shadowColor: theme.colors.gray[900],\r\n shadowOffset: { width: 0, height: 1 },\r\n shadowOpacity: 0.22,\r\n shadowRadius: 2.22\r\n },\r\n android: {\r\n elevation: 1\r\n }\r\n }),\r\n lightMedium: Platform.select({\r\n ios: {\r\n shadowColor: theme.colors.gray[900],\r\n shadowOffset: { width: 0, height: 2 },\r\n shadowOpacity: 0.24,\r\n shadowRadius: 2.84\r\n },\r\n android: {\r\n elevation: 3\r\n }\r\n }),\r\n medium: Platform.select({\r\n ios: {\r\n shadowColor: theme.colors.gray[900],\r\n shadowOffset: { width: 0, height: 3 },\r\n shadowOpacity: 0.29,\r\n shadowRadius: 4.65\r\n },\r\n android: {\r\n elevation: 7\r\n }\r\n }),\r\n mediumDark: Platform.select({\r\n ios: {\r\n shadowColor: theme.colors.gray[900],\r\n shadowOffset: { width: 0, height: 5 },\r\n shadowOpacity: 0.36,\r\n shadowRadius: 6.68\r\n },\r\n android: {\r\n elevation: 10\r\n }\r\n }),\r\n dark: Platform.select({\r\n ios: {\r\n shadowColor: theme.colors.gray[900],\r\n shadowOffset: { width: 0, height: 7 },\r\n shadowOpacity: 0.41,\r\n shadowRadius: 9.11\r\n },\r\n android: {\r\n elevation: 14\r\n }\r\n }),\r\n veryDark: Platform.select({\r\n ios: {\r\n shadowColor: theme.colors.gray[900],\r\n shadowOffset: { width: 0, height: 10 },\r\n shadowOpacity: 0.5,\r\n shadowRadius: 13.34\r\n },\r\n android: {\r\n elevation: 20\r\n }\r\n })\r\n}\r\n\r\nclass ErrorBoundary extends React.Component {\r\n constructor (props) {\r\n super(props)\r\n this.state = { hasError: false }\r\n }\r\n\r\n static getDerivedStateFromError (error) {\r\n return { hasError: true }\r\n }\r\n\r\n componentDidCatch (error, info) {\r\n console.log(error, info.componentStack)\r\n }\r\n\r\n render () {\r\n if (this.state.hasError) {\r\n return this.props.fallback\r\n }\r\n\r\n return this.props.children\r\n }\r\n}\r\n\r\nexport const isIOS = Platform.OS === 'ios'\r\nexport const isAndroid = !isIOS\r\nexport const windowWidth = Dimensions.get('window').width\r\nexport const windowHeight = Dimensions.get('window').height\r\n\r\nexport { shadow, ErrorBoundary }\r\n"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAC,sBAAA,CAAAH,OAAA;AAAyB,SAAAG,uBAAAC,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAElB,MAAMG,YAAY,GAAGC,KAAK,IAChC,iBAAiB,CAACC,IAAI,CAACD,KAAK,CAAC,IAAI,OAAOA,KAAK,KAAK,QAAQ,EAAC;AAAAE,OAAA,CAAAH,YAAA,GAAAA,YAAA;AACrD,MAAMI,aAAa,GAAGH,KAAK,IAAI,OAAOA,KAAK,KAAK,QAAQ,IAAII,QAAQ,CAACJ,KAAK,CAAC;AAAAE,OAAA,CAAAC,aAAA,GAAAA,aAAA;AAC3E,MAAME,aAAa,GAAGL,KAAK,IACjC,OAAOA,KAAK,KAAK,QAAQ,IAAIA,KAAK,CAACM,IAAI,CAAC,CAAC,CAACC,MAAM,GAAG,CAAC;AAAAL,OAAA,CAAAG,aAAA,GAAAA,aAAA;AAErD,MAAMG,MAAM,GAAAN,OAAA,CAAAM,MAAA,GAAG;EACbC,KAAK,EAAEC,qBAAQ,CAACC,MAAM,CAAC;IACrBC,GAAG,EAAE;MACHC,WAAW,EAAEC,YAAK,C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GAAAA,aAAA;AAEM,MAAMiB,KAAK,GAAA5C,OAAA,CAAA4C,KAAA,GAAGpC,qBAAQ,CAACqC,EAAE,KAAK,KAAK;AACnC,MAAMC,SAAS,GAAA9C,OAAA,CAAA8C,SAAA,GAAG,CAACF,KAAK;AACxB,MAAMG,WAAW,GAAA/C,OAAA,CAAA+C,WAAA,GAAGC,uBAAU,CAACC,GAAG,CAAC,QAAQ,CAAC,CAACjC,KAAK;AAClD,MAAMkC,YAAY,GAAAlD,OAAA,CAAAkD,YAAA,GAAGF,uBAAU,CAACC,GAAG,CAAC,QAAQ,CAAC,CAAChC,MAAM","ignoreList":[]}
@@ -0,0 +1,9 @@
1
+ {
2
+ "folders": [
3
+ {
4
+ "name": "styled",
5
+ "path": "../.."
6
+ }
7
+ ],
8
+ "settings": {}
9
+ }
Binary file
@@ -0,0 +1,23 @@
1
+ export * from "./package/styled";
2
+ export * from "./package/card";
3
+ export * from "./package/spacer";
4
+ export * from "./package/stack";
5
+ export * from "./package/text";
6
+ export * from "./package/button";
7
+ export * from "./package/badge";
8
+ export * from "./package/checkBox";
9
+ export * from "./package/dialog";
10
+ export * from "./package/dropdown";
11
+ export * from "./package/header";
12
+ export * from "./package/image";
13
+ export * from "./package/form";
14
+ export * from "./package/radioButton";
15
+ export * from "./package/safeAreaView";
16
+ export * from "./package/scrollView";
17
+ export * from "./package/separator";
18
+ export * from "./package/switch";
19
+ export * from "./package/spinner";
20
+ export * from "./package/cycle";
21
+ export * from "./package/theme";
22
+ export * from "./package/utils";
23
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sources":["index.js"],"sourcesContent":["export * from \"./package/styled\";\nexport * from \"./package/card\";\nexport * from \"./package/spacer\";\nexport * from \"./package/stack\";\nexport * from \"./package/text\";\nexport * from \"./package/button\";\nexport * from \"./package/badge\";\nexport * from \"./package/checkBox\";\nexport * from \"./package/dialog\";\nexport * from \"./package/dropdown\";\nexport * from \"./package/header\";\nexport * from \"./package/image\";\nexport * from \"./package/form\";\nexport * from \"./package/radioButton\";\nexport * from \"./package/safeAreaView\";\nexport * from \"./package/scrollView\";\nexport * from \"./package/separator\";\nexport * from \"./package/switch\";\nexport * from \"./package/spinner\";\nexport * from \"./package/cycle\";\nexport * from \"./package/theme\";\nexport * from \"./package/utils\";\n\n"],"mappings":"AAAA,cAAc,kBAAkB;AAChC,cAAc,gBAAgB;AAC9B,cAAc,kBAAkB;AAChC,cAAc,iBAAiB;AAC/B,cAAc,gBAAgB;AAC9B,cAAc,kBAAkB;AAChC,cAAc,iBAAiB;AAC/B,cAAc,oBAAoB;AAClC,cAAc,kBAAkB;AAChC,cAAc,oBAAoB;AAClC,cAAc,kBAAkB;AAChC,cAAc,iBAAiB;AAC/B,cAAc,gBAAgB;AAC9B,cAAc,uBAAuB;AACrC,cAAc,wBAAwB;AACtC,cAAc,sBAAsB;AACpC,cAAc,qBAAqB;AACnC,cAAc,kBAAkB;AAChC,cAAc,mBAAmB;AACjC,cAAc,iBAAiB;AAC/B,cAAc,iBAAiB;AAC/B,cAAc,iBAAiB","ignoreList":[]}