@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.
- package/CHANGELOG.md +10 -0
- package/dist/chunks/chunk.2HOUMFYI.js +94 -0
- package/dist/chunks/{chunk.NNC6C337.js → chunk.B2JV2E47.js} +3 -3
- package/dist/chunks/chunk.H2AL2E3A.js +47 -0
- package/dist/chunks/chunk.MCKLJGG3.js +70 -0
- package/dist/chunks/{chunk.4EJ4MEUR.js → chunk.OQSCGAEY.js} +4 -2
- package/dist/chunks/chunk.QOZS5EA3.js +111 -0
- package/dist/chunks/chunk.RNOZ5AW4.js +71 -0
- package/dist/chunks/chunk.YWEWQ2LT.js +39 -0
- package/dist/components/button/Button.d.ts +65 -0
- package/dist/components/button/Button.js +68 -0
- package/dist/components/button/Button.styles.d.ts +38 -0
- package/dist/components/button/Button.styles.js +14 -0
- package/dist/components/checkbox/Checkbox.d.ts +55 -0
- package/dist/components/checkbox/Checkbox.js +71 -0
- package/dist/components/checkbox/Checkbox.styles.d.ts +38 -0
- package/dist/components/checkbox/Checkbox.styles.js +8 -0
- package/dist/components/icon/Icon.d.ts +10 -4
- package/dist/components/icon/Icon.js +1 -1
- package/dist/components/radio/Radio.d.ts +55 -0
- package/dist/components/radio/Radio.js +59 -0
- package/dist/components/radio/Radio.styles.d.ts +30 -0
- package/dist/components/radio/Radio.styles.js +8 -0
- package/dist/components/search/SearchField.d.ts +14 -0
- package/dist/components/search/SearchField.js +72 -0
- package/dist/components/search/SearchField.styles.d.ts +42 -0
- package/dist/components/search/SearchField.styles.js +10 -0
- package/dist/components/text-input/TextInput.d.ts +54 -0
- package/dist/components/text-input/TextInput.js +8 -0
- package/dist/components/text-input/TextInput.styles.d.ts +86 -0
- package/dist/components/text-input/TextInput.styles.js +10 -0
- package/dist/components/toggle/Toggle.js +2 -2
- package/dist/index.d.ts +2 -1
- package/dist/index.js +7 -2
- package/dist/styles/fonts.d.ts +17 -0
- package/dist/utils/device.d.ts +2 -0
- 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.
|
|
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
|
+
};
|