@campxdev/react-native-blueprint 0.1.11 → 0.1.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@campxdev/react-native-blueprint",
3
- "version": "0.1.11",
3
+ "version": "0.1.13",
4
4
  "description": "This is a react-native package for mobile apps",
5
5
  "main": "./lib/commonjs/index.js",
6
6
  "module": "./lib/module/index.js",
@@ -18,6 +18,436 @@
18
18
  },
19
19
  "default": "./lib/module/index.js"
20
20
  },
21
+ "./Accordion": {
22
+ "import": {
23
+ "types": "./lib/typescript/module/src/components/ui/Accordion.d.ts",
24
+ "default": "./lib/module/components/ui/Accordion.js"
25
+ },
26
+ "require": {
27
+ "types": "./lib/typescript/commonjs/src/components/ui/Accordion.d.ts",
28
+ "default": "./lib/commonjs/components/ui/Accordion.js"
29
+ }
30
+ },
31
+ "./Alert": {
32
+ "import": {
33
+ "types": "./lib/typescript/module/src/components/ui/Alert.d.ts",
34
+ "default": "./lib/module/components/ui/Alert.js"
35
+ },
36
+ "require": {
37
+ "types": "./lib/typescript/commonjs/src/components/ui/Alert.d.ts",
38
+ "default": "./lib/commonjs/components/ui/Alert.js"
39
+ }
40
+ },
41
+ "./Alert-Dialog": {
42
+ "import": {
43
+ "types": "./lib/typescript/module/src/components/ui/Alert-Dialog.d.ts",
44
+ "default": "./lib/module/components/ui/Alert-Dialog.js"
45
+ },
46
+ "require": {
47
+ "types": "./lib/typescript/commonjs/src/components/ui/Alert-Dialog.d.ts",
48
+ "default": "./lib/commonjs/components/ui/Alert-Dialog.js"
49
+ }
50
+ },
51
+ "./AppBar": {
52
+ "import": {
53
+ "types": "./lib/typescript/module/src/components/ui/AppBar.d.ts",
54
+ "default": "./lib/module/components/ui/AppBar.js"
55
+ },
56
+ "require": {
57
+ "types": "./lib/typescript/commonjs/src/components/ui/AppBar.d.ts",
58
+ "default": "./lib/commonjs/components/ui/AppBar.js"
59
+ }
60
+ },
61
+ "./Aspect-Ratio": {
62
+ "import": {
63
+ "types": "./lib/typescript/module/src/components/ui/Aspect-Ratio.d.ts",
64
+ "default": "./lib/module/components/ui/Aspect-Ratio.js"
65
+ },
66
+ "require": {
67
+ "types": "./lib/typescript/commonjs/src/components/ui/Aspect-Ratio.d.ts",
68
+ "default": "./lib/commonjs/components/ui/Aspect-Ratio.js"
69
+ }
70
+ },
71
+ "./Avatar": {
72
+ "import": {
73
+ "types": "./lib/typescript/module/src/components/ui/Avatar.d.ts",
74
+ "default": "./lib/module/components/ui/Avatar.js"
75
+ },
76
+ "require": {
77
+ "types": "./lib/typescript/commonjs/src/components/ui/Avatar.d.ts",
78
+ "default": "./lib/commonjs/components/ui/Avatar.js"
79
+ }
80
+ },
81
+ "./Badge": {
82
+ "import": {
83
+ "types": "./lib/typescript/module/src/components/ui/Badge.d.ts",
84
+ "default": "./lib/module/components/ui/Badge.js"
85
+ },
86
+ "require": {
87
+ "types": "./lib/typescript/commonjs/src/components/ui/Badge.d.ts",
88
+ "default": "./lib/commonjs/components/ui/Badge.js"
89
+ }
90
+ },
91
+ "./Bottom-Sheet": {
92
+ "import": {
93
+ "types": "./lib/typescript/module/src/components/ui/Bottom-Sheet.d.ts",
94
+ "default": "./lib/module/components/ui/Bottom-Sheet.js"
95
+ },
96
+ "require": {
97
+ "types": "./lib/typescript/commonjs/src/components/ui/Bottom-Sheet.d.ts",
98
+ "default": "./lib/commonjs/components/ui/Bottom-Sheet.js"
99
+ }
100
+ },
101
+ "./Button": {
102
+ "import": {
103
+ "types": "./lib/typescript/module/src/components/ui/Button.d.ts",
104
+ "default": "./lib/module/components/ui/Button.js"
105
+ },
106
+ "require": {
107
+ "types": "./lib/typescript/commonjs/src/components/ui/Button.d.ts",
108
+ "default": "./lib/commonjs/components/ui/Button.js"
109
+ }
110
+ },
111
+ "./Card": {
112
+ "import": {
113
+ "types": "./lib/typescript/module/src/components/ui/Card.d.ts",
114
+ "default": "./lib/module/components/ui/Card.js"
115
+ },
116
+ "require": {
117
+ "types": "./lib/typescript/commonjs/src/components/ui/Card.d.ts",
118
+ "default": "./lib/commonjs/components/ui/Card.js"
119
+ }
120
+ },
121
+ "./Checkbox": {
122
+ "import": {
123
+ "types": "./lib/typescript/module/src/components/ui/Checkbox.d.ts",
124
+ "default": "./lib/module/components/ui/Checkbox.js"
125
+ },
126
+ "require": {
127
+ "types": "./lib/typescript/commonjs/src/components/ui/Checkbox.d.ts",
128
+ "default": "./lib/commonjs/components/ui/Checkbox.js"
129
+ }
130
+ },
131
+ "./Collapsible": {
132
+ "import": {
133
+ "types": "./lib/typescript/module/src/components/ui/Collapsible.d.ts",
134
+ "default": "./lib/module/components/ui/Collapsible.js"
135
+ },
136
+ "require": {
137
+ "types": "./lib/typescript/commonjs/src/components/ui/Collapsible.d.ts",
138
+ "default": "./lib/commonjs/components/ui/Collapsible.js"
139
+ }
140
+ },
141
+ "./Context-Menu": {
142
+ "import": {
143
+ "types": "./lib/typescript/module/src/components/ui/Context-Menu.d.ts",
144
+ "default": "./lib/module/components/ui/Context-Menu.js"
145
+ },
146
+ "require": {
147
+ "types": "./lib/typescript/commonjs/src/components/ui/Context-Menu.d.ts",
148
+ "default": "./lib/commonjs/components/ui/Context-Menu.js"
149
+ }
150
+ },
151
+ "./Custom-Card": {
152
+ "import": {
153
+ "types": "./lib/typescript/module/src/components/ui/Custom-Card.d.ts",
154
+ "default": "./lib/module/components/ui/Custom-Card.js"
155
+ },
156
+ "require": {
157
+ "types": "./lib/typescript/commonjs/src/components/ui/Custom-Card.d.ts",
158
+ "default": "./lib/commonjs/components/ui/Custom-Card.js"
159
+ }
160
+ },
161
+ "./Dialog": {
162
+ "import": {
163
+ "types": "./lib/typescript/module/src/components/ui/Dialog.d.ts",
164
+ "default": "./lib/module/components/ui/Dialog.js"
165
+ },
166
+ "require": {
167
+ "types": "./lib/typescript/commonjs/src/components/ui/Dialog.d.ts",
168
+ "default": "./lib/commonjs/components/ui/Dialog.js"
169
+ }
170
+ },
171
+ "./Dropdown-Menu": {
172
+ "import": {
173
+ "types": "./lib/typescript/module/src/components/ui/Dropdown-Menu.d.ts",
174
+ "default": "./lib/module/components/ui/Dropdown-Menu.js"
175
+ },
176
+ "require": {
177
+ "types": "./lib/typescript/commonjs/src/components/ui/Dropdown-Menu.d.ts",
178
+ "default": "./lib/commonjs/components/ui/Dropdown-Menu.js"
179
+ }
180
+ },
181
+ "./Floating-Action": {
182
+ "import": {
183
+ "types": "./lib/typescript/module/src/components/ui/Floating-Action.d.ts",
184
+ "default": "./lib/module/components/ui/Floating-Action.js"
185
+ },
186
+ "require": {
187
+ "types": "./lib/typescript/commonjs/src/components/ui/Floating-Action.d.ts",
188
+ "default": "./lib/commonjs/components/ui/Floating-Action.js"
189
+ }
190
+ },
191
+ "./Greeting-Card": {
192
+ "import": {
193
+ "types": "./lib/typescript/module/src/components/ui/Greeting-Card.d.ts",
194
+ "default": "./lib/module/components/ui/Greeting-Card.js"
195
+ },
196
+ "require": {
197
+ "types": "./lib/typescript/commonjs/src/components/ui/Greeting-Card.d.ts",
198
+ "default": "./lib/commonjs/components/ui/Greeting-Card.js"
199
+ }
200
+ },
201
+ "./Hover-Card": {
202
+ "import": {
203
+ "types": "./lib/typescript/module/src/components/ui/Hover-Card.d.ts",
204
+ "default": "./lib/module/components/ui/Hover-Card.js"
205
+ },
206
+ "require": {
207
+ "types": "./lib/typescript/commonjs/src/components/ui/Hover-Card.d.ts",
208
+ "default": "./lib/commonjs/components/ui/Hover-Card.js"
209
+ }
210
+ },
211
+ "./Icon": {
212
+ "import": {
213
+ "types": "./lib/typescript/module/src/components/ui/Icon.d.ts",
214
+ "default": "./lib/module/components/ui/Icon.js"
215
+ },
216
+ "require": {
217
+ "types": "./lib/typescript/commonjs/src/components/ui/Icon.d.ts",
218
+ "default": "./lib/commonjs/components/ui/Icon.js"
219
+ }
220
+ },
221
+ "./Input": {
222
+ "import": {
223
+ "types": "./lib/typescript/module/src/components/ui/Input.d.ts",
224
+ "default": "./lib/module/components/ui/Input.js"
225
+ },
226
+ "require": {
227
+ "types": "./lib/typescript/commonjs/src/components/ui/Input.d.ts",
228
+ "default": "./lib/commonjs/components/ui/Input.js"
229
+ }
230
+ },
231
+ "./Label": {
232
+ "import": {
233
+ "types": "./lib/typescript/module/src/components/ui/Label.d.ts",
234
+ "default": "./lib/module/components/ui/Label.js"
235
+ },
236
+ "require": {
237
+ "types": "./lib/typescript/commonjs/src/components/ui/Label.d.ts",
238
+ "default": "./lib/commonjs/components/ui/Label.js"
239
+ }
240
+ },
241
+ "./Menubar": {
242
+ "import": {
243
+ "types": "./lib/typescript/module/src/components/ui/Menubar.d.ts",
244
+ "default": "./lib/module/components/ui/Menubar.js"
245
+ },
246
+ "require": {
247
+ "types": "./lib/typescript/commonjs/src/components/ui/Menubar.d.ts",
248
+ "default": "./lib/commonjs/components/ui/Menubar.js"
249
+ }
250
+ },
251
+ "./Native-Only-Animated-View": {
252
+ "import": {
253
+ "types": "./lib/typescript/module/src/components/ui/Native-Only-Animated-View.d.ts",
254
+ "default": "./lib/module/components/ui/Native-Only-Animated-View.js"
255
+ },
256
+ "require": {
257
+ "types": "./lib/typescript/commonjs/src/components/ui/Native-Only-Animated-View.d.ts",
258
+ "default": "./lib/commonjs/components/ui/Native-Only-Animated-View.js"
259
+ }
260
+ },
261
+ "./NavBar": {
262
+ "import": {
263
+ "types": "./lib/typescript/module/src/components/ui/NavBar.d.ts",
264
+ "default": "./lib/module/components/ui/NavBar.js"
265
+ },
266
+ "require": {
267
+ "types": "./lib/typescript/commonjs/src/components/ui/NavBar.d.ts",
268
+ "default": "./lib/commonjs/components/ui/NavBar.js"
269
+ }
270
+ },
271
+ "./Popover": {
272
+ "import": {
273
+ "types": "./lib/typescript/module/src/components/ui/Popover.d.ts",
274
+ "default": "./lib/module/components/ui/Popover.js"
275
+ },
276
+ "require": {
277
+ "types": "./lib/typescript/commonjs/src/components/ui/Popover.d.ts",
278
+ "default": "./lib/commonjs/components/ui/Popover.js"
279
+ }
280
+ },
281
+ "./Progress": {
282
+ "import": {
283
+ "types": "./lib/typescript/module/src/components/ui/Progress.d.ts",
284
+ "default": "./lib/module/components/ui/Progress.js"
285
+ },
286
+ "require": {
287
+ "types": "./lib/typescript/commonjs/src/components/ui/Progress.d.ts",
288
+ "default": "./lib/commonjs/components/ui/Progress.js"
289
+ }
290
+ },
291
+ "./Radio-Group": {
292
+ "import": {
293
+ "types": "./lib/typescript/module/src/components/ui/Radio-Group.d.ts",
294
+ "default": "./lib/module/components/ui/Radio-Group.js"
295
+ },
296
+ "require": {
297
+ "types": "./lib/typescript/commonjs/src/components/ui/Radio-Group.d.ts",
298
+ "default": "./lib/commonjs/components/ui/Radio-Group.js"
299
+ }
300
+ },
301
+ "./Select": {
302
+ "import": {
303
+ "types": "./lib/typescript/module/src/components/ui/Select.d.ts",
304
+ "default": "./lib/module/components/ui/Select.js"
305
+ },
306
+ "require": {
307
+ "types": "./lib/typescript/commonjs/src/components/ui/Select.d.ts",
308
+ "default": "./lib/commonjs/components/ui/Select.js"
309
+ }
310
+ },
311
+ "./Separator": {
312
+ "import": {
313
+ "types": "./lib/typescript/module/src/components/ui/Separator.d.ts",
314
+ "default": "./lib/module/components/ui/Separator.js"
315
+ },
316
+ "require": {
317
+ "types": "./lib/typescript/commonjs/src/components/ui/Separator.d.ts",
318
+ "default": "./lib/commonjs/components/ui/Separator.js"
319
+ }
320
+ },
321
+ "./SizedBox": {
322
+ "import": {
323
+ "types": "./lib/typescript/module/src/components/ui/SizedBox.d.ts",
324
+ "default": "./lib/module/components/ui/SizedBox.js"
325
+ },
326
+ "require": {
327
+ "types": "./lib/typescript/commonjs/src/components/ui/SizedBox.d.ts",
328
+ "default": "./lib/commonjs/components/ui/SizedBox.js"
329
+ }
330
+ },
331
+ "./Skeleton": {
332
+ "import": {
333
+ "types": "./lib/typescript/module/src/components/ui/Skeleton.d.ts",
334
+ "default": "./lib/module/components/ui/Skeleton.js"
335
+ },
336
+ "require": {
337
+ "types": "./lib/typescript/commonjs/src/components/ui/Skeleton.d.ts",
338
+ "default": "./lib/commonjs/components/ui/Skeleton.js"
339
+ }
340
+ },
341
+ "./Slider": {
342
+ "import": {
343
+ "types": "./lib/typescript/module/src/components/ui/Slider.d.ts",
344
+ "default": "./lib/module/components/ui/Slider.js"
345
+ },
346
+ "require": {
347
+ "types": "./lib/typescript/commonjs/src/components/ui/Slider.d.ts",
348
+ "default": "./lib/commonjs/components/ui/Slider.js"
349
+ }
350
+ },
351
+ "./Switch": {
352
+ "import": {
353
+ "types": "./lib/typescript/module/src/components/ui/Switch.d.ts",
354
+ "default": "./lib/module/components/ui/Switch.js"
355
+ },
356
+ "require": {
357
+ "types": "./lib/typescript/commonjs/src/components/ui/Switch.d.ts",
358
+ "default": "./lib/commonjs/components/ui/Switch.js"
359
+ }
360
+ },
361
+ "./Table": {
362
+ "import": {
363
+ "types": "./lib/typescript/module/src/components/ui/Table.d.ts",
364
+ "default": "./lib/module/components/ui/Table.js"
365
+ },
366
+ "require": {
367
+ "types": "./lib/typescript/commonjs/src/components/ui/Table.d.ts",
368
+ "default": "./lib/commonjs/components/ui/Table.js"
369
+ }
370
+ },
371
+ "./Tabs": {
372
+ "import": {
373
+ "types": "./lib/typescript/module/src/components/ui/Tabs.d.ts",
374
+ "default": "./lib/module/components/ui/Tabs.js"
375
+ },
376
+ "require": {
377
+ "types": "./lib/typescript/commonjs/src/components/ui/Tabs.d.ts",
378
+ "default": "./lib/commonjs/components/ui/Tabs.js"
379
+ }
380
+ },
381
+ "./Text": {
382
+ "import": {
383
+ "types": "./lib/typescript/module/src/components/ui/Text.d.ts",
384
+ "default": "./lib/module/components/ui/Text.js"
385
+ },
386
+ "require": {
387
+ "types": "./lib/typescript/commonjs/src/components/ui/Text.d.ts",
388
+ "default": "./lib/commonjs/components/ui/Text.js"
389
+ }
390
+ },
391
+ "./Textarea": {
392
+ "import": {
393
+ "types": "./lib/typescript/module/src/components/ui/Textarea.d.ts",
394
+ "default": "./lib/module/components/ui/Textarea.js"
395
+ },
396
+ "require": {
397
+ "types": "./lib/typescript/commonjs/src/components/ui/Textarea.d.ts",
398
+ "default": "./lib/commonjs/components/ui/Textarea.js"
399
+ }
400
+ },
401
+ "./Theme-Toggle": {
402
+ "import": {
403
+ "types": "./lib/typescript/module/src/components/ui/Theme-Toggle.d.ts",
404
+ "default": "./lib/module/components/ui/Theme-Toggle.js"
405
+ },
406
+ "require": {
407
+ "types": "./lib/typescript/commonjs/src/components/ui/Theme-Toggle.d.ts",
408
+ "default": "./lib/commonjs/components/ui/Theme-Toggle.js"
409
+ }
410
+ },
411
+ "./Toast": {
412
+ "import": {
413
+ "types": "./lib/typescript/module/src/components/ui/Toast.d.ts",
414
+ "default": "./lib/module/components/ui/Toast.js"
415
+ },
416
+ "require": {
417
+ "types": "./lib/typescript/commonjs/src/components/ui/Toast.d.ts",
418
+ "default": "./lib/commonjs/components/ui/Toast.js"
419
+ }
420
+ },
421
+ "./Toggle": {
422
+ "import": {
423
+ "types": "./lib/typescript/module/src/components/ui/Toggle.d.ts",
424
+ "default": "./lib/module/components/ui/Toggle.js"
425
+ },
426
+ "require": {
427
+ "types": "./lib/typescript/commonjs/src/components/ui/Toggle.d.ts",
428
+ "default": "./lib/commonjs/components/ui/Toggle.js"
429
+ }
430
+ },
431
+ "./Toggle-Group": {
432
+ "import": {
433
+ "types": "./lib/typescript/module/src/components/ui/Toggle-Group.d.ts",
434
+ "default": "./lib/module/components/ui/Toggle-Group.js"
435
+ },
436
+ "require": {
437
+ "types": "./lib/typescript/commonjs/src/components/ui/Toggle-Group.d.ts",
438
+ "default": "./lib/commonjs/components/ui/Toggle-Group.js"
439
+ }
440
+ },
441
+ "./Tooltip": {
442
+ "import": {
443
+ "types": "./lib/typescript/module/src/components/ui/Tooltip.d.ts",
444
+ "default": "./lib/module/components/ui/Tooltip.js"
445
+ },
446
+ "require": {
447
+ "types": "./lib/typescript/commonjs/src/components/ui/Tooltip.d.ts",
448
+ "default": "./lib/commonjs/components/ui/Tooltip.js"
449
+ }
450
+ },
21
451
  "./global.css": "./src/global.css",
22
452
  "./package.json": "./package.json"
23
453
  },
@@ -50,7 +480,6 @@
50
480
  "lint": "eslint \"**/*.{js,ts,tsx}\"",
51
481
  "clean": "del-cli lib",
52
482
  "clean:all": "rm -rf node_modules example/node_modules && yarn install",
53
- "postinstall": "patch-package",
54
483
  "prepare": "bob build",
55
484
  "release": "release-it --only-version",
56
485
  "publish-package": "./scripts/publish.sh"
@@ -1,43 +1,54 @@
1
- export * from './Accordion';
1
+ // ⚠️ IMPORTANT: This barrel export only includes components with minimal dependencies
2
+ // to avoid forcing consumers to install all @rn-primitives packages.
3
+ //
4
+ // For components requiring @rn-primitives, use tree-shakeable imports:
5
+ // import { Component } from '@campxdev/react-native-blueprint/Component'
6
+
7
+ // Core components - no @rn-primitives dependencies required
2
8
  export * from './Alert';
3
- export * from './Alert-Dialog';
4
9
  export * from './AppBar';
5
- export * from './Aspect-Ratio';
6
- export * from './Avatar';
7
10
  export * from './Badge';
8
- export * from './Bottom-Sheet';
9
11
  export * from './Button';
10
12
  export * from './Card';
11
- export * from './Checkbox';
12
- export * from './Collapsible';
13
- export * from './Context-Menu';
14
13
  export * from './Custom-Card';
15
- export * from './Dialog';
16
- export * from './Dropdown-Menu';
17
14
  export * from './Floating-Action';
18
15
  export * from './Greeting-Card';
19
- export * from './Hover-Card';
20
16
  export * from './Icon';
21
17
  export * from './Input';
22
- export * from './Label';
23
- export * from './Menubar';
24
18
  export * from './Native-Only-Animated-View';
25
19
  export * from './NavBar';
26
- export * from './Popover';
27
- export * from './Progress';
28
- export * from './Radio-Group';
29
- export * from './Select';
30
20
  export * from './Separator';
31
21
  export * from './SizedBox';
32
22
  export * from './Skeleton';
33
- export * from './Slider';
34
- export * from './Switch';
35
23
  export * from './Table';
36
- export * from './Tabs';
37
24
  export * from './Text';
38
25
  export * from './Textarea';
39
26
  export * from './Theme-Toggle';
40
- export * from './Toast';
41
- export * from './Toggle';
42
- export * from './Toggle-Group';
43
- export * from './Tooltip';
27
+
28
+ // Components requiring @rn-primitives packages are NOT exported from the main barrel.
29
+ // Use individual imports for these components:
30
+ //
31
+ // import { Accordion } from '@campxdev/react-native-blueprint/Accordion';
32
+ // import { AlertDialog } from '@campxdev/react-native-blueprint/Alert-Dialog';
33
+ // import { AspectRatio } from '@campxdev/react-native-blueprint/Aspect-Ratio';
34
+ // import { Avatar } from '@campxdev/react-native-blueprint/Avatar';
35
+ // import { BottomSheet } from '@campxdev/react-native-blueprint/Bottom-Sheet';
36
+ // import { Checkbox } from '@campxdev/react-native-blueprint/Checkbox';
37
+ // import { Collapsible } from '@campxdev/react-native-blueprint/Collapsible';
38
+ // import { ContextMenu } from '@campxdev/react-native-blueprint/Context-Menu';
39
+ // import { Dialog } from '@campxdev/react-native-blueprint/Dialog';
40
+ // import { DropdownMenu } from '@campxdev/react-native-blueprint/Dropdown-Menu';
41
+ // import { HoverCard } from '@campxdev/react-native-blueprint/Hover-Card';
42
+ // import { Label } from '@campxdev/react-native-blueprint/Label';
43
+ // import { Menubar } from '@campxdev/react-native-blueprint/Menubar';
44
+ // import { Popover } from '@campxdev/react-native-blueprint/Popover';
45
+ // import { Progress } from '@campxdev/react-native-blueprint/Progress';
46
+ // import { RadioGroup } from '@campxdev/react-native-blueprint/Radio-Group';
47
+ // import { Select } from '@campxdev/react-native-blueprint/Select';
48
+ // import { Slider } from '@campxdev/react-native-blueprint/Slider';
49
+ // import { Switch } from '@campxdev/react-native-blueprint/Switch';
50
+ // import { Tabs } from '@campxdev/react-native-blueprint/Tabs';
51
+ // import { Toast } from '@campxdev/react-native-blueprint/Toast';
52
+ // import { Toggle } from '@campxdev/react-native-blueprint/Toggle';
53
+ // import { ToggleGroup } from '@campxdev/react-native-blueprint/Toggle-Group';
54
+ // import { Tooltip } from '@campxdev/react-native-blueprint/Tooltip';