@ds-autonomie/react-native 0.1.0 → 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 (37) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/dist/chunks/chunk.2HOUMFYI.js +94 -0
  3. package/dist/chunks/{chunk.NNC6C337.js → chunk.B2JV2E47.js} +3 -3
  4. package/dist/chunks/chunk.H2AL2E3A.js +47 -0
  5. package/dist/chunks/chunk.MCKLJGG3.js +70 -0
  6. package/dist/chunks/{chunk.4EJ4MEUR.js → chunk.OQSCGAEY.js} +4 -2
  7. package/dist/chunks/chunk.QOZS5EA3.js +111 -0
  8. package/dist/chunks/chunk.RNOZ5AW4.js +71 -0
  9. package/dist/chunks/chunk.YWEWQ2LT.js +39 -0
  10. package/dist/components/button/Button.d.ts +65 -0
  11. package/dist/components/button/Button.js +68 -0
  12. package/dist/components/button/Button.styles.d.ts +38 -0
  13. package/dist/components/button/Button.styles.js +14 -0
  14. package/dist/components/checkbox/Checkbox.d.ts +55 -0
  15. package/dist/components/checkbox/Checkbox.js +71 -0
  16. package/dist/components/checkbox/Checkbox.styles.d.ts +38 -0
  17. package/dist/components/checkbox/Checkbox.styles.js +8 -0
  18. package/dist/components/icon/Icon.d.ts +10 -4
  19. package/dist/components/icon/Icon.js +1 -1
  20. package/dist/components/radio/Radio.d.ts +55 -0
  21. package/dist/components/radio/Radio.js +59 -0
  22. package/dist/components/radio/Radio.styles.d.ts +30 -0
  23. package/dist/components/radio/Radio.styles.js +8 -0
  24. package/dist/components/search/SearchField.d.ts +14 -0
  25. package/dist/components/search/SearchField.js +72 -0
  26. package/dist/components/search/SearchField.styles.d.ts +42 -0
  27. package/dist/components/search/SearchField.styles.js +10 -0
  28. package/dist/components/text-input/TextInput.d.ts +54 -0
  29. package/dist/components/text-input/TextInput.js +8 -0
  30. package/dist/components/text-input/TextInput.styles.d.ts +86 -0
  31. package/dist/components/text-input/TextInput.styles.js +10 -0
  32. package/dist/components/toggle/Toggle.js +2 -2
  33. package/dist/index.d.ts +2 -1
  34. package/dist/index.js +7 -2
  35. package/dist/styles/fonts.d.ts +17 -0
  36. package/dist/utils/device.d.ts +2 -0
  37. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,8 +1,12 @@
1
+ import {
2
+ TextInput
3
+ } from "./chunks/chunk.2HOUMFYI.js";
4
+ import "./chunks/chunk.QOZS5EA3.js";
1
5
  import {
2
6
  Toggle
3
- } from "./chunks/chunk.NNC6C337.js";
4
- import "./chunks/chunk.4EJ4MEUR.js";
7
+ } from "./chunks/chunk.B2JV2E47.js";
5
8
  import "./chunks/chunk.CZ5Y2AVH.js";
9
+ import "./chunks/chunk.OQSCGAEY.js";
6
10
 
7
11
  // src/utils/useFonts.ts
8
12
  import { useFonts as useExpoFonts } from "expo-font";
@@ -10,6 +14,7 @@ function useFonts(map) {
10
14
  return useExpoFonts(map);
11
15
  }
12
16
  export {
17
+ TextInput,
13
18
  Toggle,
14
19
  useFonts
15
20
  };
@@ -0,0 +1,17 @@
1
+ export declare const fonts: {
2
+ bodyLarge: {
3
+ fontSize: number;
4
+ fontFamily: string;
5
+ letterSpacing: number;
6
+ };
7
+ bodyMedium: {
8
+ fontSize: number;
9
+ fontFamily: string;
10
+ letterSpacing: number;
11
+ };
12
+ bodySmall: {
13
+ fontSize: number;
14
+ fontFamily: string;
15
+ letterSpacing: number;
16
+ };
17
+ };
@@ -0,0 +1,2 @@
1
+ export declare const isIOS: boolean;
2
+ export declare const isAndroid: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ds-autonomie/react-native",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "author": "CNSA",
5
5
  "license": "MIT",
6
6
  "type": "module",