react-native-timer-picker 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 (33) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +2 -0
  3. package/dist/components/DurationPicker/DurationPicker.styles.d.ts +26 -0
  4. package/dist/components/DurationPicker/DurationPicker.styles.js +39 -0
  5. package/dist/components/DurationPicker/DurationScroll.d.ts +16 -0
  6. package/dist/components/DurationPicker/DurationScroll.js +121 -0
  7. package/dist/components/DurationPicker/index.d.ts +27 -0
  8. package/dist/components/DurationPicker/index.js +55 -0
  9. package/dist/components/DurationPickerModal.styles.d.ts +23 -0
  10. package/dist/components/DurationPickerModal.styles.js +40 -0
  11. package/dist/components/Modal/Modal.styles.d.ts +22 -0
  12. package/dist/components/Modal/Modal.styles.js +26 -0
  13. package/dist/components/Modal/index.d.ts +14 -0
  14. package/dist/components/Modal/index.js +121 -0
  15. package/dist/components/TimerPicker/DurationScroll.d.ts +16 -0
  16. package/dist/components/TimerPicker/DurationScroll.js +121 -0
  17. package/dist/components/TimerPicker/TimerPicker.styles.d.ts +26 -0
  18. package/dist/components/TimerPicker/TimerPicker.styles.js +40 -0
  19. package/dist/components/TimerPicker/index.d.ts +27 -0
  20. package/dist/components/TimerPicker/index.js +56 -0
  21. package/dist/components/TimerPickerModal.styles.d.ts +23 -0
  22. package/dist/components/TimerPickerModal.styles.js +41 -0
  23. package/dist/components/index.d.ts +28 -0
  24. package/dist/components/index.js +87 -0
  25. package/dist/index.d.ts +4 -0
  26. package/dist/index.js +10 -0
  27. package/dist/utils/colorToRgba.d.ts +4 -0
  28. package/dist/utils/colorToRgba.js +48 -0
  29. package/dist/utils/generateNumbers.d.ts +7 -0
  30. package/dist/utils/generateNumbers.js +27 -0
  31. package/dist/utils/padWithZero.d.ts +1 -0
  32. package/dist/utils/padWithZero.js +12 -0
  33. package/package.json +87 -0
package/package.json ADDED
@@ -0,0 +1,87 @@
1
+ {
2
+ "name": "react-native-timer-picker",
3
+ "description": "A simple, flexible, performant duration picker for Expo React Native apps 🔥 Great for timers, alarms and duration inputs ⏰🕰️⏳",
4
+ "author": {
5
+ "name": "Tim Roberts",
6
+ "url": "https://github.com/troberts-28"
7
+ },
8
+ "license": "MIT",
9
+ "version": "1.0.0",
10
+ "main": "dist/index.js",
11
+ "types": "dist/index.d.ts",
12
+ "scripts": {
13
+ "build": "tsc",
14
+ "build:dev": "tsc --noEmit",
15
+ "clean": "rm yarn.lock && rm -rf ./node_modules && yarn install",
16
+ "start": "cp -Rf src example && cd example && yarn install && npx expo start"
17
+ },
18
+ "homepage": "https://github.com/troberts-28/react-native-timer-picker",
19
+ "bugs": {
20
+ "url": "https://github.com/troberts-28/react-native-timer-picker/issues"
21
+ },
22
+ "repository": {
23
+ "name": "GitHub",
24
+ "type": "git",
25
+ "url": "git+https://github.com/troberts-28/react-native-timer-picker.git"
26
+ },
27
+ "publishConfig": {
28
+ "registry": "https://registry.npmjs.org/"
29
+ },
30
+ "files": [
31
+ "index.ts",
32
+ "dist",
33
+ "package.json",
34
+ "README.md",
35
+ "LICENSE"
36
+ ],
37
+ "keywords": [
38
+ "react",
39
+ "react-native",
40
+ "expo",
41
+ "duration",
42
+ "picker",
43
+ "time",
44
+ "timer",
45
+ "alarm",
46
+ "durationpicker",
47
+ "duration-picker",
48
+ "react-native-duration-picker",
49
+ "timepicker",
50
+ "time-picker",
51
+ "alarmpicker",
52
+ "alarm-picker",
53
+ "reacct-native-alarm-picker",
54
+ "timerpicker",
55
+ "timer-picker",
56
+ "expo-duration-picker",
57
+ "expo-time-picker",
58
+ "expo-timepicker",
59
+ "expo-durationpicker",
60
+ "expo-duration-picker",
61
+ "expo-time-picker",
62
+ "expo-timepicker",
63
+ "expo-durationpicker"
64
+ ],
65
+ "engines": {
66
+ "node": ">=16.0.0"
67
+ },
68
+ "private": false,
69
+ "typings": "./dist/index.d.ts",
70
+ "peerDependencies": {
71
+ "expo": ">=47.0.0",
72
+ "expo-linear-gradient": ">=12.0.1",
73
+ "react": ">=18.1.0",
74
+ "react-native": ">=0.70.8"
75
+ },
76
+ "devDependencies": {
77
+ "@babel/core": ">=7.20.0",
78
+ "@types/react": ">=18.0.27",
79
+ "@types/react-native": ">=0.70.6",
80
+ "@typescript-eslint/eslint-plugin": ">=5.49.0",
81
+ "@typescript-eslint/parser": ">=5.49.0",
82
+ "eslint": ">=8.44.0",
83
+ "eslint-plugin-react": ">=7.33.1",
84
+ "eslint-plugin-react-hooks": ">=4.6.0",
85
+ "typescript": ">=4.9.4"
86
+ }
87
+ }