react-native-timer-picker 1.2.9 → 1.2.11
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/README.md +2 -0
- package/dist/commonjs/index.js +42 -3
- package/dist/commonjs/index.js.map +1 -1
- package/dist/module/index.js +4 -2
- package/dist/module/index.js.map +1 -1
- package/dist/typescript/index.d.ts +4 -4
- package/package.json +1 -1
- package/src/index.ts +6 -6
package/README.md
CHANGED
|
@@ -33,6 +33,8 @@ Works with Expo and bare React Native apps.
|
|
|
33
33
|
|
|
34
34
|
## Demos 📱
|
|
35
35
|
|
|
36
|
+
**Try it out for yourself on [Expo Snack](https://snack.expo.dev/@nuumi/react-native-timer-picker-demo)!** Make sure to run it on iOS/Android to try it out properly.
|
|
37
|
+
|
|
36
38
|
<p>
|
|
37
39
|
<img src="demos/example1.gif" width="250" height="550" style="margin-right:50px"/>
|
|
38
40
|
<img src="demos/example2.gif" width="250" height="550"/>
|
package/dist/commonjs/index.js
CHANGED
|
@@ -3,6 +3,18 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
+
Object.defineProperty(exports, "CustomTimerPickerModalStyles", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function () {
|
|
9
|
+
return _TimerPickerModal.CustomTimerPickerModalStyles;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "CustomTimerPickerStyles", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () {
|
|
15
|
+
return _TimerPicker2.CustomTimerPickerStyles;
|
|
16
|
+
}
|
|
17
|
+
});
|
|
6
18
|
Object.defineProperty(exports, "TimerPicker", {
|
|
7
19
|
enumerable: true,
|
|
8
20
|
get: function () {
|
|
@@ -15,7 +27,34 @@ Object.defineProperty(exports, "TimerPickerModal", {
|
|
|
15
27
|
return _components.default;
|
|
16
28
|
}
|
|
17
29
|
});
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
function
|
|
30
|
+
Object.defineProperty(exports, "TimerPickerModalProps", {
|
|
31
|
+
enumerable: true,
|
|
32
|
+
get: function () {
|
|
33
|
+
return _components.TimerPickerModalProps;
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
Object.defineProperty(exports, "TimerPickerModalRef", {
|
|
37
|
+
enumerable: true,
|
|
38
|
+
get: function () {
|
|
39
|
+
return _components.TimerPickerModalRef;
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
Object.defineProperty(exports, "TimerPickerProps", {
|
|
43
|
+
enumerable: true,
|
|
44
|
+
get: function () {
|
|
45
|
+
return _TimerPicker.TimerPickerProps;
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
Object.defineProperty(exports, "TimerPickerRef", {
|
|
49
|
+
enumerable: true,
|
|
50
|
+
get: function () {
|
|
51
|
+
return _TimerPicker.TimerPickerRef;
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
var _components = _interopRequireWildcard(require("./components"));
|
|
55
|
+
var _TimerPicker = _interopRequireWildcard(require("./components/TimerPicker"));
|
|
56
|
+
var _TimerPickerModal = require("./components/TimerPickerModal.styles");
|
|
57
|
+
var _TimerPicker2 = require("./components/TimerPicker/TimerPicker.styles");
|
|
58
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
59
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
21
60
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_components","
|
|
1
|
+
{"version":3,"names":["_components","_interopRequireWildcard","require","_TimerPicker","_TimerPickerModal","_TimerPicker2","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set"],"sources":["index.ts"],"sourcesContent":["export {\n default as TimerPickerModal,\n TimerPickerModalProps,\n TimerPickerModalRef,\n} from \"./components\";\n\nexport {\n default as TimerPicker,\n TimerPickerProps,\n TimerPickerRef,\n} from \"./components/TimerPicker\";\n\nexport { CustomTimerPickerModalStyles } from \"./components/TimerPickerModal.styles\";\nexport { CustomTimerPickerStyles } from \"./components/TimerPicker/TimerPicker.styles\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,WAAA,GAAAC,uBAAA,CAAAC,OAAA;AAMA,IAAAC,YAAA,GAAAF,uBAAA,CAAAC,OAAA;AAMA,IAAAE,iBAAA,GAAAF,OAAA;AACA,IAAAG,aAAA,GAAAH,OAAA;AAAsF,SAAAI,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAN,wBAAAM,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAI,UAAA,SAAAJ,CAAA,eAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,WAAAK,OAAA,EAAAL,CAAA,QAAAG,CAAA,GAAAJ,wBAAA,CAAAG,CAAA,OAAAC,CAAA,IAAAA,CAAA,CAAAG,GAAA,CAAAN,CAAA,UAAAG,CAAA,CAAAI,GAAA,CAAAP,CAAA,OAAAQ,CAAA,KAAAC,SAAA,UAAAC,CAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA,WAAAC,CAAA,IAAAd,CAAA,oBAAAc,CAAA,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAjB,CAAA,EAAAc,CAAA,SAAAI,CAAA,GAAAR,CAAA,GAAAC,MAAA,CAAAE,wBAAA,CAAAb,CAAA,EAAAc,CAAA,UAAAI,CAAA,KAAAA,CAAA,CAAAX,GAAA,IAAAW,CAAA,CAAAC,GAAA,IAAAR,MAAA,CAAAC,cAAA,CAAAJ,CAAA,EAAAM,CAAA,EAAAI,CAAA,IAAAV,CAAA,CAAAM,CAAA,IAAAd,CAAA,CAAAc,CAAA,YAAAN,CAAA,CAAAH,OAAA,GAAAL,CAAA,EAAAG,CAAA,IAAAA,CAAA,CAAAgB,GAAA,CAAAnB,CAAA,EAAAQ,CAAA,GAAAA,CAAA"}
|
package/dist/module/index.js
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
export { default as TimerPickerModal } from "./components";
|
|
2
|
-
export { default as TimerPicker } from "./components/TimerPicker";
|
|
1
|
+
export { default as TimerPickerModal, TimerPickerModalProps, TimerPickerModalRef } from "./components";
|
|
2
|
+
export { default as TimerPicker, TimerPickerProps, TimerPickerRef } from "./components/TimerPicker";
|
|
3
|
+
export { CustomTimerPickerModalStyles } from "./components/TimerPickerModal.styles";
|
|
4
|
+
export { CustomTimerPickerStyles } from "./components/TimerPicker/TimerPicker.styles";
|
|
3
5
|
//# sourceMappingURL=index.js.map
|
package/dist/module/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["default","TimerPickerModal","TimerPicker"],"sources":["index.ts"],"sourcesContent":["export {\n default as TimerPickerModal,\n
|
|
1
|
+
{"version":3,"names":["default","TimerPickerModal","TimerPickerModalProps","TimerPickerModalRef","TimerPicker","TimerPickerProps","TimerPickerRef","CustomTimerPickerModalStyles","CustomTimerPickerStyles"],"sources":["index.ts"],"sourcesContent":["export {\n default as TimerPickerModal,\n TimerPickerModalProps,\n TimerPickerModalRef,\n} from \"./components\";\n\nexport {\n default as TimerPicker,\n TimerPickerProps,\n TimerPickerRef,\n} from \"./components/TimerPicker\";\n\nexport { CustomTimerPickerModalStyles } from \"./components/TimerPickerModal.styles\";\nexport { CustomTimerPickerStyles } from \"./components/TimerPicker/TimerPicker.styles\";\n"],"mappings":"AAAA,SACIA,OAAO,IAAIC,gBAAgB,EAC3BC,qBAAqB,EACrBC,mBAAmB,QAChB,cAAc;AAErB,SACIH,OAAO,IAAII,WAAW,EACtBC,gBAAgB,EAChBC,cAAc,QACX,0BAA0B;AAEjC,SAASC,4BAA4B,QAAQ,sCAAsC;AACnF,SAASC,uBAAuB,QAAQ,6CAA6C"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { default as TimerPickerModal,
|
|
2
|
-
export { default as TimerPicker,
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
1
|
+
export { default as TimerPickerModal, TimerPickerModalProps, TimerPickerModalRef, } from "./components";
|
|
2
|
+
export { default as TimerPicker, TimerPickerProps, TimerPickerRef, } from "./components/TimerPicker";
|
|
3
|
+
export { CustomTimerPickerModalStyles } from "./components/TimerPickerModal.styles";
|
|
4
|
+
export { CustomTimerPickerStyles } from "./components/TimerPicker/TimerPicker.styles";
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
export {
|
|
2
2
|
default as TimerPickerModal,
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
TimerPickerModalProps,
|
|
4
|
+
TimerPickerModalRef,
|
|
5
5
|
} from "./components";
|
|
6
6
|
|
|
7
7
|
export {
|
|
8
8
|
default as TimerPicker,
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
TimerPickerProps,
|
|
10
|
+
TimerPickerRef,
|
|
11
11
|
} from "./components/TimerPicker";
|
|
12
12
|
|
|
13
|
-
export {
|
|
14
|
-
export {
|
|
13
|
+
export { CustomTimerPickerModalStyles } from "./components/TimerPickerModal.styles";
|
|
14
|
+
export { CustomTimerPickerStyles } from "./components/TimerPicker/TimerPicker.styles";
|