x25 17.3.12 → 17.3.14
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/UI/NewFeature.d.ts +6 -0
- package/UI/NewFeature.js +11 -0
- package/UI/NewFeature.js.map +1 -0
- package/actions.js +1 -1
- package/package.json +1 -1
package/UI/NewFeature.js
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
var react_1 = __importDefault(require("react"));
|
|
7
|
+
var NewFeature = function (props) { return (react_1.default.createElement(react_1.default.Fragment, null,
|
|
8
|
+
react_1.default.createElement("span", { className: "badge badge-pill badge-warning ml-1" }, "Nou"),
|
|
9
|
+
react_1.default.createElement("span", { className: "text-muted ml-1 small" }, props.message))); };
|
|
10
|
+
exports.default = NewFeature;
|
|
11
|
+
//# sourceMappingURL=NewFeature.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NewFeature.js","sourceRoot":"","sources":["../../src/UI/NewFeature.tsx"],"names":[],"mappings":";;;;;AAAA,gDAA0B;AAM1B,IAAM,UAAU,GAAG,UAAC,KAAuB,IAAK,OAAA,CAC9C;IACE,wCAAM,SAAS,EAAC,qCAAqC,IAClD,KAAK,CACD;IACP,wCAAM,SAAS,EAAC,uBAAuB,IACpC,KAAK,CAAC,OAAO,CACT,CACN,CACJ,EAT+C,CAS/C,CAAC;AAEF,kBAAe,UAAU,CAAC"}
|
package/actions.js
CHANGED
|
@@ -30,7 +30,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
30
30
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
31
31
|
exports.hideCaptcha = exports.showCaptcha = exports.deleteNotification = exports.notifyError = exports.notifyWarning = exports.notify = void 0;
|
|
32
32
|
var react_notification_system_redux2_1 = __importDefault(require("react-notification-system-redux2"));
|
|
33
|
-
var autoDismissDelay =
|
|
33
|
+
var autoDismissDelay = 6, createNotification = function (level) { return function (title, options) { return react_notification_system_redux2_1.default.show(__assign({ title: title, position: "tc", autoDismiss: (options === null || options === void 0 ? void 0 : options.persistent) ? 0 : ((options === null || options === void 0 ? void 0 : options.seconds) ? options.seconds : autoDismissDelay) }, options), level); }; };
|
|
34
34
|
var deleteNotification = function (position) { return ({
|
|
35
35
|
type: "DELETE_NOTIFICATION",
|
|
36
36
|
payload: position,
|
package/package.json
CHANGED