oolib 2.55.0 → 2.55.2

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.
@@ -75,19 +75,21 @@ var HomeCover = function (_a) {
75
75
  }
76
76
  var interval, timeout;
77
77
  interval = setInterval(function () {
78
- setCoverImageIdx(function (prev) {
79
- return __assign(__assign({}, prev), { currLayer: prev.currLayer === "layer1" ? "layer2" : "layer1" });
80
- });
81
- timeout = setTimeout(function () {
78
+ if (_CoverImages.length >= 4) {
82
79
  setCoverImageIdx(function (prev) {
83
- var _a;
84
- var layerToSwitch = prev.currLayer === "layer1" ? "layer2" : "layer1";
85
- return __assign(__assign({}, prev), (_a = {}, _a[layerToSwitch] = [
86
- (prev[layerToSwitch][0] + 4) % _CoverImages.length,
87
- (prev[layerToSwitch][1] + 4) % _CoverImages.length,
88
- ], _a));
80
+ return __assign(__assign({}, prev), { currLayer: prev.currLayer === "layer1" ? "layer2" : "layer1" });
89
81
  });
90
- }, 300); // the interval here shoudl be the same as the css transition interval
82
+ timeout = setTimeout(function () {
83
+ setCoverImageIdx(function (prev) {
84
+ var _a;
85
+ var layerToSwitch = prev.currLayer === "layer1" ? "layer2" : "layer1";
86
+ return __assign(__assign({}, prev), (_a = {}, _a[layerToSwitch] = [
87
+ (prev[layerToSwitch][0] + 4) % _CoverImages.length,
88
+ (prev[layerToSwitch][1] + 4) % _CoverImages.length,
89
+ ], _a));
90
+ });
91
+ }, 300); // the interval here shoudl be the same as the css transition interval
92
+ }
91
93
  }, 3000);
92
94
  //resize title container if text is bleeding out due to long word
93
95
  return function () {
@@ -122,7 +124,12 @@ var HomeCover = function (_a) {
122
124
  paddingBottom: i + 1 !== (0, toArray_1.toArray)(desc).length ? "1rem" : 0,
123
125
  } }, d)); }),
124
126
  customComp && customComp,
125
- CTALink && (react_1.default.createElement(Buttons_1.ButtonPrimary, { className: "HomeCover__cta", icon: "CaretRight", style: { position: "absolute", bottom: 0, right: 0, borderRadius: 0 }, onClick: function () {
127
+ CTALink && (react_1.default.createElement(Buttons_1.ButtonPrimary, { className: "HomeCover__cta", icon: "CaretRight", style: {
128
+ position: "absolute",
129
+ bottom: 0,
130
+ right: 0,
131
+ borderRadius: 0,
132
+ }, onClick: function () {
126
133
  history.push(CTALink);
127
134
  } })))),
128
135
  react_1.default.createElement(styled_1.StyledHomeCoverImgWrapper, { breakPoint: "none" },
@@ -52,9 +52,9 @@ export function PDFIcon(props: any): any;
52
52
  export function Attachment2(props: any): any;
53
53
  export function VideoEmbedIcon(props: any): any;
54
54
  export function AudioEmbedIcon(props: any): any;
55
- export function BrazilFlag(): any;
56
- export function ColombiaFlag(): any;
57
- export function MalaysiaFlag(): any;
58
- export function UKFlag(): any;
59
- export function USAFlag(): any;
60
- export function IndonesiaFlag(): any;
55
+ export function BrazilFlag(props: any): any;
56
+ export function ColombiaFlag(props: any): any;
57
+ export function MalaysiaFlag(props: any): any;
58
+ export function UKFlag(props: any): any;
59
+ export function USAFlag(props: any): any;
60
+ export function IndonesiaFlag(props: any): any;
@@ -345,8 +345,8 @@ var AudioEmbedIcon = function (props) {
345
345
  react_1.default.createElement("path", { d: "M17.609 5.406a6.625 6.625 0 011.953 4.689 6.626 6.626 0 01-1.953 4.688M15.319 6.5a4.99 4.99 0 011.485 3.595c0 1.367-.547 2.617-1.485 3.594", stroke: white, strokeLinecap: "round", strokeLinejoin: "round" })));
346
346
  };
347
347
  exports.AudioEmbedIcon = AudioEmbedIcon;
348
- var BrazilFlag = function () {
349
- return (react_1.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 36 36" },
348
+ var BrazilFlag = function (props) {
349
+ return (react_1.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: props.size || 30, height: props.size || 30, fill: "none", viewBox: "0 0 40 40" },
350
350
  react_1.default.createElement("path", { fill: "#009B3A", d: "M36 27a4 4 0 01-4 4H4a4 4 0 01-4-4V9a4 4 0 014-4h28a4 4 0 014 4v18z" }),
351
351
  react_1.default.createElement("path", { fill: "#FEDF01", d: "M32.728 18L18 29.124 3.272 18 18 6.875z" }),
352
352
  react_1.default.createElement("circle", { cx: "17.976", cy: "17.924", r: "6.458", fill: "#002776" }),
@@ -356,15 +356,15 @@ var BrazilFlag = function () {
356
356
  react_1.default.createElement("path", { fill: "#3B88C3", d: "M19 20.233h1v1h-1z" })));
357
357
  };
358
358
  exports.BrazilFlag = BrazilFlag;
359
- var ColombiaFlag = function () {
360
- return (react_1.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 36 36" },
359
+ var ColombiaFlag = function (props) {
360
+ return (react_1.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: props.size || 30, height: props.size || 30, fill: "none", viewBox: "0 0 40 40" },
361
361
  react_1.default.createElement("path", { fill: "#FBD116", d: "M32 5H4a4 4 0 00-4 4v9h36V9a4 4 0 00-4-4z" }),
362
362
  react_1.default.createElement("path", { fill: "#22408C", d: "M0 18h36v7H0z" }),
363
363
  react_1.default.createElement("path", { fill: "#CE2028", d: "M0 27a4 4 0 004 4h28a4 4 0 004-4v-2H0v2z" })));
364
364
  };
365
365
  exports.ColombiaFlag = ColombiaFlag;
366
- var MalaysiaFlag = function () {
367
- return (react_1.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 36 36" },
366
+ var MalaysiaFlag = function (props) {
367
+ return (react_1.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: props.size || 30, height: props.size || 30, fill: "none", viewBox: "0 0 40 40" },
368
368
  react_1.default.createElement("path", { fill: "#DD2E44", d: "M36 27a4 4 0 01-4 4H4a4 4 0 01-4-4V9a4 4 0 014-4h28a4 4 0 014 4v18z" }),
369
369
  react_1.default.createElement("path", { fill: "#EEE", d: "M.555 29h34.891A3.967 3.967 0 0036 27H0c0 .732.211 1.409.555 2zM0 23h36v2H0zm0-4h36v2H0zm0-4h36v2H0zm0-4h36v2H0zm.555-4A3.955 3.955 0 000 9h36c0-.732-.211-1.41-.555-2H.555z" }),
370
370
  react_1.default.createElement("path", { fill: "#010066", d: "M18 5H4a4 4 0 00-4 4v10h18V5z" }),
@@ -372,24 +372,24 @@ var MalaysiaFlag = function () {
372
372
  react_1.default.createElement("path", { fill: "#FFCC4D", d: "M12.922 8.829l.334 1.62 1.003-1.315-.402 1.604 1.475-.749-1.059 1.271 1.654-.035-1.505.686 1.505.686-1.654-.035 1.059 1.271-1.475-.749.402 1.605-1.003-1.316-.334 1.621-.334-1.621-1.003 1.316.402-1.605-1.475.749 1.058-1.271-1.653.035 1.505-.686-1.505-.686 1.653.035-1.058-1.271 1.475.749-.402-1.604 1.003 1.315z" })));
373
373
  };
374
374
  exports.MalaysiaFlag = MalaysiaFlag;
375
- var UKFlag = function () {
376
- return (react_1.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 36 36" },
375
+ var UKFlag = function (props) {
376
+ return (react_1.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: props.size || 30, height: props.size || 30, fill: "none", viewBox: "0 0 40 40" },
377
377
  react_1.default.createElement("path", { fill: "#00247D", d: "M0 9.059V13h5.628zM4.664 31H13v-5.837zM23 25.164V31h8.335zM0 23v3.941L5.63 23zM31.337 5H23v5.837zM36 26.942V23h-5.631zM36 13V9.059L30.371 13zM13 5H4.664L13 10.837z" }),
378
378
  react_1.default.createElement("path", { fill: "#CF1B2B", d: "M25.14 23l9.712 6.801a3.977 3.977 0 00.99-1.749L28.627 23H25.14zM13 23h-2.141l-9.711 6.8c.521.53 1.189.909 1.938 1.085L13 23.943V23zm10-10h2.141l9.711-6.8a3.988 3.988 0 00-1.937-1.085L23 12.057V13zm-12.141 0L1.148 6.2a3.994 3.994 0 00-.991 1.749L7.372 13h3.487z" }),
379
379
  react_1.default.createElement("path", { fill: "#EEE", d: "M36 21H21v10h2v-5.836L31.335 31H32a3.99 3.99 0 002.852-1.199L25.14 23h3.487l7.215 5.052c.093-.337.158-.686.158-1.052v-.058L30.369 23H36v-2zM0 21v2h5.63L0 26.941V27c0 1.091.439 2.078 1.148 2.8l9.711-6.8H13v.943l-9.914 6.941c.294.07.598.116.914.116h.664L13 25.163V31h2V21H0zM36 9a3.983 3.983 0 00-1.148-2.8L25.141 13H23v-.943l9.915-6.942A4.001 4.001 0 0032 5h-.663L23 10.837V5h-2v10h15v-2h-5.629L36 9.059V9zM13 5v5.837L4.664 5H4a3.985 3.985 0 00-2.852 1.2l9.711 6.8H7.372L.157 7.949A3.968 3.968 0 000 9v.059L5.628 13H0v2h15V5h-2z" }),
380
380
  react_1.default.createElement("path", { fill: "#CF1B2B", d: "M21 15V5h-6v10H0v6h15v10h6V21h15v-6z" })));
381
381
  };
382
382
  exports.UKFlag = UKFlag;
383
- var USAFlag = function () {
384
- return (react_1.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 36 36" },
383
+ var USAFlag = function (props) {
384
+ return (react_1.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: props.size || 30, height: props.size || 30, fill: "none", viewBox: "0 0 40 40" },
385
385
  react_1.default.createElement("path", { fill: "#B22334", d: "M35.445 7C34.752 5.809 33.477 5 32 5H18v2h17.445zM0 25h36v2H0zm18-8h18v2H18zm0-4h18v2H18zM0 21h36v2H0zm4 10h28c1.477 0 2.752-.809 3.445-2H.555c.693 1.191 1.968 2 3.445 2zM18 9h18v2H18z" }),
386
386
  react_1.default.createElement("path", { fill: "#EEE", d: "M.068 27.679c.017.093.036.186.059.277.026.101.058.198.092.296.089.259.197.509.333.743L.555 29h34.89l.002-.004a4.22 4.22 0 00.332-.741 3.75 3.75 0 00.152-.576c.041-.22.069-.446.069-.679H0c0 .233.028.458.068.679zM0 23h36v2H0zm0-4v2h36v-2H18zm18-4h18v2H18zm0-4h18v2H18zM0 9zm.555-2l-.003.005L.555 7zM.128 8.044c.025-.102.06-.199.092-.297a3.78 3.78 0 00-.092.297zM18 9h18c0-.233-.028-.459-.069-.68a3.606 3.606 0 00-.153-.576A4.21 4.21 0 0035.445 7H18v2z" }),
387
387
  react_1.default.createElement("path", { fill: "#3C3B6E", d: "M18 5H4a4 4 0 00-4 4v10h18V5z" }),
388
388
  react_1.default.createElement("path", { fill: "#FFF", d: "M2.001 7.726l.618.449-.236.725L3 8.452l.618.448-.236-.725L4 7.726h-.764L3 7l-.235.726zm2 2l.618.449-.236.725.617-.448.618.448-.236-.725L6 9.726h-.764L5 9l-.235.726zm4 0l.618.449-.236.725.617-.448.618.448-.236-.725.618-.449h-.764L9 9l-.235.726zm4 0l.618.449-.236.725.617-.448.618.448-.236-.725.618-.449h-.764L13 9l-.235.726zm-8 4l.618.449-.236.725.617-.448.618.448-.236-.725.618-.449h-.764L5 13l-.235.726zm4 0l.618.449-.236.725.617-.448.618.448-.236-.725.618-.449h-.764L9 13l-.235.726zm4 0l.618.449-.236.725.617-.448.618.448-.236-.725.618-.449h-.764L13 13l-.235.726zm-6-6l.618.449-.236.725L7 8.452l.618.448-.236-.725L8 7.726h-.764L7 7l-.235.726zm4 0l.618.449-.236.725.617-.448.618.448-.236-.725.618-.449h-.764L11 7l-.235.726zm4 0l.618.449-.236.725.617-.448.618.448-.236-.725.618-.449h-.764L15 7l-.235.726zm-12 4l.618.449-.236.725.617-.448.618.448-.236-.725.618-.449h-.764L3 11l-.235.726zM6.383 12.9L7 12.452l.618.448-.236-.725.618-.449h-.764L7 11l-.235.726h-.764l.618.449zm3.618-1.174l.618.449-.236.725.617-.448.618.448-.236-.725.618-.449h-.764L11 11l-.235.726zm4 0l.618.449-.236.725.617-.448.618.448-.236-.725.618-.449h-.764L15 11l-.235.726zm-12 4l.618.449-.236.725.617-.448.618.448-.236-.725.618-.449h-.764L3 15l-.235.726zM6.383 16.9L7 16.452l.618.448-.236-.725.618-.449h-.764L7 15l-.235.726h-.764l.618.449zm3.618-1.174l.618.449-.236.725.617-.448.618.448-.236-.725.618-.449h-.764L11 15l-.235.726zm4 0l.618.449-.236.725.617-.448.618.448-.236-.725.618-.449h-.764L15 15l-.235.726z" })));
389
389
  };
390
390
  exports.USAFlag = USAFlag;
391
- var IndonesiaFlag = function () {
392
- return (react_1.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 36 36" },
391
+ var IndonesiaFlag = function (props) {
392
+ return (react_1.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: props.size || 30, height: props.size || 30, fill: "none", viewBox: "0 0 40 40" },
393
393
  react_1.default.createElement("path", { fill: "#DC1F26", d: "M32 5H4a4 4 0 00-4 4v9h36V9a4 4 0 00-4-4z" }),
394
394
  react_1.default.createElement("path", { fill: "#EEE", d: "M36 27a4 4 0 01-4 4H4a4 4 0 01-4-4v-9h36v9z" })));
395
395
  };
@@ -6,7 +6,9 @@ export { injectHttps } from "../injectHttps";
6
6
  export { formatTextToCamelCase } from "../formatTextToCamelCase";
7
7
  export { formatCamelCaseToSentenceCase } from "../formatCamelCaseToSentenceCase";
8
8
  export { toArray } from "../toArray";
9
+ export { sortData } from "../sortData";
9
10
  export { useScroll } from "../customHooks/useScroll";
10
11
  export { usePopOutOfOverflowHiddenParent } from "../usePopOutOfOverflowHiddenParent";
11
12
  export { useHandleClickOutside } from "../customHooks/useHandleClickOutside";
12
13
  export { testJSON } from "../testJSON";
14
+ export { getDaysDiff } from "../momentjs/getDaysDiff";
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.testJSON = exports.useHandleClickOutside = exports.usePopOutOfOverflowHiddenParent = exports.useScroll = exports.toArray = exports.formatCamelCaseToSentenceCase = exports.formatTextToCamelCase = exports.injectHttps = exports.getBlockLabelProps = exports.deleteVal = exports.setVal = exports.getVal = void 0;
3
+ exports.getDaysDiff = exports.testJSON = exports.useHandleClickOutside = exports.usePopOutOfOverflowHiddenParent = exports.useScroll = exports.sortData = exports.toArray = exports.formatCamelCaseToSentenceCase = exports.formatTextToCamelCase = exports.injectHttps = exports.getBlockLabelProps = exports.deleteVal = exports.setVal = exports.getVal = void 0;
4
4
  //the holy setter, getter & deleter
5
5
  var getVal_1 = require("../getterSetterDeleter/getVal");
6
6
  Object.defineProperty(exports, "getVal", { enumerable: true, get: function () { return getVal_1.getVal; } });
@@ -19,6 +19,8 @@ var formatCamelCaseToSentenceCase_1 = require("../formatCamelCaseToSentenceCase"
19
19
  Object.defineProperty(exports, "formatCamelCaseToSentenceCase", { enumerable: true, get: function () { return formatCamelCaseToSentenceCase_1.formatCamelCaseToSentenceCase; } });
20
20
  var toArray_1 = require("../toArray");
21
21
  Object.defineProperty(exports, "toArray", { enumerable: true, get: function () { return toArray_1.toArray; } });
22
+ var sortData_1 = require("../sortData");
23
+ Object.defineProperty(exports, "sortData", { enumerable: true, get: function () { return sortData_1.sortData; } });
22
24
  //custom hooks
23
25
  var useScroll_1 = require("../customHooks/useScroll");
24
26
  Object.defineProperty(exports, "useScroll", { enumerable: true, get: function () { return useScroll_1.useScroll; } });
@@ -28,3 +30,6 @@ var useHandleClickOutside_1 = require("../customHooks/useHandleClickOutside");
28
30
  Object.defineProperty(exports, "useHandleClickOutside", { enumerable: true, get: function () { return useHandleClickOutside_1.useHandleClickOutside; } });
29
31
  var testJSON_1 = require("../testJSON");
30
32
  Object.defineProperty(exports, "testJSON", { enumerable: true, get: function () { return testJSON_1.testJSON; } });
33
+ //moment js
34
+ var getDaysDiff_1 = require("../momentjs/getDaysDiff");
35
+ Object.defineProperty(exports, "getDaysDiff", { enumerable: true, get: function () { return getDaysDiff_1.getDaysDiff; } });
@@ -0,0 +1,4 @@
1
+ export function getDaysDiff(inputDate: any, dateToCompare?: any): {
2
+ count: number;
3
+ dateIsPassed: boolean;
4
+ };
@@ -0,0 +1,21 @@
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
+ exports.getDaysDiff = void 0;
7
+ var moment_1 = __importDefault(require("moment"));
8
+ /**
9
+ *
10
+ * @param {*} inputDate format : YYYY MM DD
11
+ * @param {*} dateToCompare format : YYYY MM DD (optional)
12
+ * @returns
13
+ */
14
+ var getDaysDiff = function (inputDate, dateToCompare) {
15
+ if (dateToCompare === void 0) { dateToCompare = null; }
16
+ var now = dateToCompare ? (0, moment_1.default)(dateToCompare) : (0, moment_1.default)();
17
+ var inputMoment = (0, moment_1.default)(inputDate);
18
+ var daysDiff = now.diff(inputMoment, 'days', true);
19
+ return { count: daysDiff, dateIsPassed: daysDiff > 0 ? true : false };
20
+ };
21
+ exports.getDaysDiff = getDaysDiff;
@@ -0,0 +1,8 @@
1
+ export function sortData({ data, aPath: _aPath, bPath: _bPath, path, fn, sortBy }: {
2
+ data: any;
3
+ aPath: any;
4
+ bPath: any;
5
+ path: any;
6
+ fn?: string;
7
+ sortBy?: string;
8
+ }): any;
@@ -0,0 +1,63 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.sortData = void 0;
4
+ var lodash_1 = require("lodash");
5
+ var _EXPORTS_1 = require("./_EXPORTS");
6
+ /**
7
+ *
8
+ * @description available fn names:
9
+ * - numerical
10
+ * - alphabetical
11
+ * - date
12
+ * - boolean
13
+ *
14
+ *
15
+ */
16
+ var sortData = function (_a) {
17
+ var data = _a.data, _aPath = _a.aPath, _bPath = _a.bPath, path = _a.path, // either u define aPath & bPath separately, or a single path which will be used for both a & b
18
+ _b = _a.fn, // either u define aPath & bPath separately, or a single path which will be used for both a & b
19
+ fn = _b === void 0 ? 'date' : _b, _c = _a.sortBy, sortBy = _c === void 0 ? 'a' : _c;
20
+ var sortedData = (0, lodash_1.cloneDeep)(data);
21
+ sortedData.sort(function (a, b) {
22
+ var sortFnToUse = presetFns[fn];
23
+ var aPath = _aPath !== undefined ? _aPath : path;
24
+ var bPath = _bPath !== undefined ? _bPath : path;
25
+ return sortFnToUse(a, b, aPath, bPath, sortBy);
26
+ }); //a-b === ascending ; b-a === descending ; ref MDN
27
+ return sortedData;
28
+ };
29
+ exports.sortData = sortData;
30
+ var presetFns = {
31
+ numerical: function (a, b, aPath, bPath, sortBy) {
32
+ var aNum = (0, _EXPORTS_1.getVal)(a, aPath);
33
+ var bNum = (0, _EXPORTS_1.getVal)(b, bPath);
34
+ return sortBy === 'a' ? aNum - bNum : bNum - aNum;
35
+ },
36
+ alphabetical: function (a, b, aPath, bPath, sortBy) {
37
+ var aTitle = (0, _EXPORTS_1.getVal)(a, aPath) || 'zzzzzz'; //meaning, if undefined val, then send all the way to the end
38
+ var bTitle = (0, _EXPORTS_1.getVal)(b, bPath) || 'zzzzzz'; //meaning, if undefined val, then send all the way to the end
39
+ return sortBy
40
+ ? sortBy === 'a'
41
+ ? aTitle.localeCompare(bTitle)
42
+ : bTitle.localeCompare(aTitle)
43
+ : aTitle.localeCompare(bTitle);
44
+ },
45
+ date: function (a, b, aPath, bPath, sortBy) {
46
+ var aDate = (0, _EXPORTS_1.getVal)(a, aPath);
47
+ var bDate = (0, _EXPORTS_1.getVal)(b, bPath);
48
+ return sortBy
49
+ ? sortBy === 'a'
50
+ ? (0, _EXPORTS_1.getDaysDiff)(bDate, aDate).count
51
+ : (0, _EXPORTS_1.getDaysDiff)(aDate, bDate).count
52
+ : (0, _EXPORTS_1.getDaysDiff)(aDate, bDate).count;
53
+ },
54
+ boolean: function (a, b, aPath, bPath, sortBy) {
55
+ var aBool = (0, _EXPORTS_1.getVal)(a, aPath);
56
+ var bBool = (0, _EXPORTS_1.getVal)(b, bPath);
57
+ return sortBy
58
+ ? sortBy === 'a'
59
+ ? (aBool === bBool) ? 0 : aBool ? -1 : 1
60
+ : (bBool === aBool) ? 0 : bBool ? -1 : 1
61
+ : (aBool === bBool) ? 0 : aBool ? -1 : 1;
62
+ },
63
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oolib",
3
- "version": "2.55.0",
3
+ "version": "2.55.2",
4
4
  "description": " OKE Component Library",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -90,6 +90,7 @@
90
90
  "immutable": "^3.7.6",
91
91
  "lodash": "^4.17.21",
92
92
  "modularscale-js": "^3.0.1",
93
+ "moment": "^2.24.0",
93
94
  "phosphor-react": "^1.4.1"
94
95
  }
95
96
  }