@galaxy-ds/core 1.1.63 → 1.1.64
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/dist/Themes/Desktop/pallette.d.ts +1 -0
- package/dist/Themes/Web/pallette.d.ts +1 -0
- package/dist/index.esm.js +152 -114
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +152 -114
- package/dist/index.js.map +1 -1
- package/dist/package.json +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -5680,7 +5680,7 @@ var Jss =
|
|
|
5680
5680
|
function () {
|
|
5681
5681
|
function Jss(options) {
|
|
5682
5682
|
this.id = instanceCounter++;
|
|
5683
|
-
this.version = "10.8.
|
|
5683
|
+
this.version = "10.8.2";
|
|
5684
5684
|
this.plugins = new PluginsRegistry();
|
|
5685
5685
|
this.options = {
|
|
5686
5686
|
id: {
|
|
@@ -33767,7 +33767,7 @@ var typography$1 = {
|
|
|
33767
33767
|
h4: {
|
|
33768
33768
|
fontFamily: ['Open Sans', 'Helvetica', 'Arial'].join(','),
|
|
33769
33769
|
fontWeight: 500,
|
|
33770
|
-
fontSize: '
|
|
33770
|
+
fontSize: '16px',
|
|
33771
33771
|
lineHeight: '1.5rem',
|
|
33772
33772
|
letterSpacing: '0',
|
|
33773
33773
|
},
|
|
@@ -34303,7 +34303,7 @@ var FormHeader = React__default.forwardRef(function (props, ref) {
|
|
|
34303
34303
|
React__default.createElement("div", { className: clsx(classes.root, 'gds-header_accent') },
|
|
34304
34304
|
React__default.createElement(LawconnectIcon, { size: "260" })),
|
|
34305
34305
|
React__default.createElement(Box$2, { className: clsx(classes.root, 'gds-header_detail') },
|
|
34306
|
-
React__default.createElement(Grid$2, { item: true, xs: 5 }, props.platformWeb ? (React__default.createElement(Typography, { color: "default", variant: "body2", upperCase: true }, props.title)) : (React__default.createElement(Typography, {
|
|
34306
|
+
React__default.createElement(Grid$2, { item: true, xs: 5, className: clsx("gds-toolbar-title") }, props.platformWeb ? (React__default.createElement(Typography, { color: "default", variant: "body2", upperCase: true }, props.title)) : (React__default.createElement(Typography, { variant: "h4", upperCase: true }, props.title))),
|
|
34307
34307
|
React__default.createElement(Grid$2, { item: true, xs: 7 },
|
|
34308
34308
|
React__default.createElement(Grid$2, { container: true, alignItems: "center", justifyContent: "flex-end", className: clsx(classes.root, 'gds-header_info') },
|
|
34309
34309
|
props.from ? (React__default.createElement(Typography, { align: "right", variant: "body2" }, props.from)) : null,
|
|
@@ -35776,9 +35776,9 @@ var HeaderToolbar = function (_a) {
|
|
|
35776
35776
|
var classes = useStyles$a({ bgColor: bgColor, bgImageURL: bgImageURL, right: right, bgPosition: bgPosition, bgSize: bgSize, titleVisibility: titleVisibility, divider: divider });
|
|
35777
35777
|
return (React__default.createElement(Toolbar$2, { className: clsx('gds-header-toolbar', classes.bgWrapper, (_b = {}, _b['with-title'] = titleVisibility, _b)) },
|
|
35778
35778
|
React__default.createElement(Box$2, { className: clsx(classes.toolbarWrap) },
|
|
35779
|
-
React__default.createElement(Box$2, { className: clsx(classes.toolbarContainer) },
|
|
35779
|
+
React__default.createElement(Box$2, { className: clsx(classes.toolbarContainer, "gds-toolbar-title") },
|
|
35780
35780
|
title && (tooltip ? (React__default.createElement(Tooltip, { title: title, placement: "bottom-start" },
|
|
35781
|
-
React__default.createElement(Typography, { gutterBottom: true, variant: "
|
|
35781
|
+
React__default.createElement(Typography, { gutterBottom: true, variant: "h4", noWrap: true, upperCase: true }, title))) : (React__default.createElement(Typography, { gutterBottom: true, variant: "h4", noWrap: true, upperCase: true }, title))),
|
|
35782
35782
|
left),
|
|
35783
35783
|
right && (React__default.createElement(Box$2, { className: clsx("gds-buttons-w-divider", classes.containerDivider) }, right)))));
|
|
35784
35784
|
};
|
|
@@ -36503,10 +36503,10 @@ var startOfDay$1 = /*#__PURE__*/Object.freeze({
|
|
|
36503
36503
|
/**
|
|
36504
36504
|
* @name isSameDay
|
|
36505
36505
|
* @category Day Helpers
|
|
36506
|
-
* @summary Are the given dates in the same day?
|
|
36506
|
+
* @summary Are the given dates in the same day (and year and month)?
|
|
36507
36507
|
*
|
|
36508
36508
|
* @description
|
|
36509
|
-
* Are the given dates in the same day?
|
|
36509
|
+
* Are the given dates in the same day (and year and month)?
|
|
36510
36510
|
*
|
|
36511
36511
|
* ### v2.0.0 breaking changes:
|
|
36512
36512
|
*
|
|
@@ -36514,13 +36514,23 @@ var startOfDay$1 = /*#__PURE__*/Object.freeze({
|
|
|
36514
36514
|
*
|
|
36515
36515
|
* @param {Date|Number} dateLeft - the first date to check
|
|
36516
36516
|
* @param {Date|Number} dateRight - the second date to check
|
|
36517
|
-
* @returns {Boolean} the dates are in the same day
|
|
36517
|
+
* @returns {Boolean} the dates are in the same day (and year and month)
|
|
36518
36518
|
* @throws {TypeError} 2 arguments required
|
|
36519
36519
|
*
|
|
36520
36520
|
* @example
|
|
36521
36521
|
* // Are 4 September 06:00:00 and 4 September 18:00:00 in the same day?
|
|
36522
36522
|
* var result = isSameDay(new Date(2014, 8, 4, 6, 0), new Date(2014, 8, 4, 18, 0))
|
|
36523
36523
|
* //=> true
|
|
36524
|
+
*
|
|
36525
|
+
* @example
|
|
36526
|
+
* // Are 4 September and 4 October in the same day?
|
|
36527
|
+
* var result = isSameDay(new Date(2014, 8, 4), new Date(2014, 9, 4))
|
|
36528
|
+
* //=> false
|
|
36529
|
+
*
|
|
36530
|
+
* @example
|
|
36531
|
+
* // Are 4 September, 2014 and 4 September, 2015 in the same day?
|
|
36532
|
+
* var result = isSameDay(new Date(2014, 8, 4), new Date(2015, 8, 4))
|
|
36533
|
+
* //=> false
|
|
36524
36534
|
*/
|
|
36525
36535
|
|
|
36526
36536
|
function isSameDay(dirtyDateLeft, dirtyDateRight) {
|
|
@@ -36817,7 +36827,7 @@ function buildLocalizeFn(args) {
|
|
|
36817
36827
|
valuesArray = args.values[_width] || args.values[_defaultWidth];
|
|
36818
36828
|
}
|
|
36819
36829
|
|
|
36820
|
-
var index = args.argumentCallback ? args.argumentCallback(dirtyIndex) : dirtyIndex; // @ts-ignore: For some reason TypeScript just don't want to match it, no matter how hard we try. I
|
|
36830
|
+
var index = args.argumentCallback ? args.argumentCallback(dirtyIndex) : dirtyIndex; // @ts-ignore: For some reason TypeScript just don't want to match it, no matter how hard we try. I challenge you to try to remove it!
|
|
36821
36831
|
|
|
36822
36832
|
return valuesArray[index];
|
|
36823
36833
|
};
|
|
@@ -37236,101 +37246,6 @@ function subMilliseconds(dirtyDate, dirtyAmount) {
|
|
|
37236
37246
|
return addMilliseconds(dirtyDate, -amount);
|
|
37237
37247
|
}
|
|
37238
37248
|
|
|
37239
|
-
function addLeadingZeros(number, targetLength) {
|
|
37240
|
-
var sign = number < 0 ? '-' : '';
|
|
37241
|
-
var output = Math.abs(number).toString();
|
|
37242
|
-
|
|
37243
|
-
while (output.length < targetLength) {
|
|
37244
|
-
output = '0' + output;
|
|
37245
|
-
}
|
|
37246
|
-
|
|
37247
|
-
return sign + output;
|
|
37248
|
-
}
|
|
37249
|
-
|
|
37250
|
-
/*
|
|
37251
|
-
* | | Unit | | Unit |
|
|
37252
|
-
* |-----|--------------------------------|-----|--------------------------------|
|
|
37253
|
-
* | a | AM, PM | A* | |
|
|
37254
|
-
* | d | Day of month | D | |
|
|
37255
|
-
* | h | Hour [1-12] | H | Hour [0-23] |
|
|
37256
|
-
* | m | Minute | M | Month |
|
|
37257
|
-
* | s | Second | S | Fraction of second |
|
|
37258
|
-
* | y | Year (abs) | Y | |
|
|
37259
|
-
*
|
|
37260
|
-
* Letters marked by * are not implemented but reserved by Unicode standard.
|
|
37261
|
-
*/
|
|
37262
|
-
|
|
37263
|
-
var formatters$2 = {
|
|
37264
|
-
// Year
|
|
37265
|
-
y: function (date, token) {
|
|
37266
|
-
// From http://www.unicode.org/reports/tr35/tr35-31/tr35-dates.html#Date_Format_tokens
|
|
37267
|
-
// | Year | y | yy | yyy | yyyy | yyyyy |
|
|
37268
|
-
// |----------|-------|----|-------|-------|-------|
|
|
37269
|
-
// | AD 1 | 1 | 01 | 001 | 0001 | 00001 |
|
|
37270
|
-
// | AD 12 | 12 | 12 | 012 | 0012 | 00012 |
|
|
37271
|
-
// | AD 123 | 123 | 23 | 123 | 0123 | 00123 |
|
|
37272
|
-
// | AD 1234 | 1234 | 34 | 1234 | 1234 | 01234 |
|
|
37273
|
-
// | AD 12345 | 12345 | 45 | 12345 | 12345 | 12345 |
|
|
37274
|
-
var signedYear = date.getUTCFullYear(); // Returns 1 for 1 BC (which is year 0 in JavaScript)
|
|
37275
|
-
|
|
37276
|
-
var year = signedYear > 0 ? signedYear : 1 - signedYear;
|
|
37277
|
-
return addLeadingZeros(token === 'yy' ? year % 100 : year, token.length);
|
|
37278
|
-
},
|
|
37279
|
-
// Month
|
|
37280
|
-
M: function (date, token) {
|
|
37281
|
-
var month = date.getUTCMonth();
|
|
37282
|
-
return token === 'M' ? String(month + 1) : addLeadingZeros(month + 1, 2);
|
|
37283
|
-
},
|
|
37284
|
-
// Day of the month
|
|
37285
|
-
d: function (date, token) {
|
|
37286
|
-
return addLeadingZeros(date.getUTCDate(), token.length);
|
|
37287
|
-
},
|
|
37288
|
-
// AM or PM
|
|
37289
|
-
a: function (date, token) {
|
|
37290
|
-
var dayPeriodEnumValue = date.getUTCHours() / 12 >= 1 ? 'pm' : 'am';
|
|
37291
|
-
|
|
37292
|
-
switch (token) {
|
|
37293
|
-
case 'a':
|
|
37294
|
-
case 'aa':
|
|
37295
|
-
return dayPeriodEnumValue.toUpperCase();
|
|
37296
|
-
|
|
37297
|
-
case 'aaa':
|
|
37298
|
-
return dayPeriodEnumValue;
|
|
37299
|
-
|
|
37300
|
-
case 'aaaaa':
|
|
37301
|
-
return dayPeriodEnumValue[0];
|
|
37302
|
-
|
|
37303
|
-
case 'aaaa':
|
|
37304
|
-
default:
|
|
37305
|
-
return dayPeriodEnumValue === 'am' ? 'a.m.' : 'p.m.';
|
|
37306
|
-
}
|
|
37307
|
-
},
|
|
37308
|
-
// Hour [1-12]
|
|
37309
|
-
h: function (date, token) {
|
|
37310
|
-
return addLeadingZeros(date.getUTCHours() % 12 || 12, token.length);
|
|
37311
|
-
},
|
|
37312
|
-
// Hour [0-23]
|
|
37313
|
-
H: function (date, token) {
|
|
37314
|
-
return addLeadingZeros(date.getUTCHours(), token.length);
|
|
37315
|
-
},
|
|
37316
|
-
// Minute
|
|
37317
|
-
m: function (date, token) {
|
|
37318
|
-
return addLeadingZeros(date.getUTCMinutes(), token.length);
|
|
37319
|
-
},
|
|
37320
|
-
// Second
|
|
37321
|
-
s: function (date, token) {
|
|
37322
|
-
return addLeadingZeros(date.getUTCSeconds(), token.length);
|
|
37323
|
-
},
|
|
37324
|
-
// Fraction of second
|
|
37325
|
-
S: function (date, token) {
|
|
37326
|
-
var numberOfDigits = token.length;
|
|
37327
|
-
var milliseconds = date.getUTCMilliseconds();
|
|
37328
|
-
var fractionalSeconds = Math.floor(milliseconds * Math.pow(10, numberOfDigits - 3));
|
|
37329
|
-
return addLeadingZeros(fractionalSeconds, token.length);
|
|
37330
|
-
}
|
|
37331
|
-
};
|
|
37332
|
-
var lightFormatters = formatters$2;
|
|
37333
|
-
|
|
37334
37249
|
var MILLISECONDS_IN_DAY$1 = 86400000; // This function will be a part of public API when UTC function will be implemented.
|
|
37335
37250
|
// See issue: https://github.com/date-fns/date-fns/issues/376
|
|
37336
37251
|
|
|
@@ -37433,7 +37348,7 @@ function startOfUTCWeek(dirtyDate, dirtyOptions) {
|
|
|
37433
37348
|
|
|
37434
37349
|
function getUTCWeekYear(dirtyDate, dirtyOptions) {
|
|
37435
37350
|
requiredArgs(1, arguments);
|
|
37436
|
-
var date = toDate(dirtyDate
|
|
37351
|
+
var date = toDate(dirtyDate);
|
|
37437
37352
|
var year = date.getUTCFullYear();
|
|
37438
37353
|
var options = dirtyOptions || {};
|
|
37439
37354
|
var locale = options.locale;
|
|
@@ -37493,6 +37408,101 @@ function getUTCWeek(dirtyDate, options) {
|
|
|
37493
37408
|
return Math.round(diff / MILLISECONDS_IN_WEEK) + 1;
|
|
37494
37409
|
}
|
|
37495
37410
|
|
|
37411
|
+
function addLeadingZeros(number, targetLength) {
|
|
37412
|
+
var sign = number < 0 ? '-' : '';
|
|
37413
|
+
var output = Math.abs(number).toString();
|
|
37414
|
+
|
|
37415
|
+
while (output.length < targetLength) {
|
|
37416
|
+
output = '0' + output;
|
|
37417
|
+
}
|
|
37418
|
+
|
|
37419
|
+
return sign + output;
|
|
37420
|
+
}
|
|
37421
|
+
|
|
37422
|
+
/*
|
|
37423
|
+
* | | Unit | | Unit |
|
|
37424
|
+
* |-----|--------------------------------|-----|--------------------------------|
|
|
37425
|
+
* | a | AM, PM | A* | |
|
|
37426
|
+
* | d | Day of month | D | |
|
|
37427
|
+
* | h | Hour [1-12] | H | Hour [0-23] |
|
|
37428
|
+
* | m | Minute | M | Month |
|
|
37429
|
+
* | s | Second | S | Fraction of second |
|
|
37430
|
+
* | y | Year (abs) | Y | |
|
|
37431
|
+
*
|
|
37432
|
+
* Letters marked by * are not implemented but reserved by Unicode standard.
|
|
37433
|
+
*/
|
|
37434
|
+
|
|
37435
|
+
var formatters$2 = {
|
|
37436
|
+
// Year
|
|
37437
|
+
y: function (date, token) {
|
|
37438
|
+
// From http://www.unicode.org/reports/tr35/tr35-31/tr35-dates.html#Date_Format_tokens
|
|
37439
|
+
// | Year | y | yy | yyy | yyyy | yyyyy |
|
|
37440
|
+
// |----------|-------|----|-------|-------|-------|
|
|
37441
|
+
// | AD 1 | 1 | 01 | 001 | 0001 | 00001 |
|
|
37442
|
+
// | AD 12 | 12 | 12 | 012 | 0012 | 00012 |
|
|
37443
|
+
// | AD 123 | 123 | 23 | 123 | 0123 | 00123 |
|
|
37444
|
+
// | AD 1234 | 1234 | 34 | 1234 | 1234 | 01234 |
|
|
37445
|
+
// | AD 12345 | 12345 | 45 | 12345 | 12345 | 12345 |
|
|
37446
|
+
var signedYear = date.getUTCFullYear(); // Returns 1 for 1 BC (which is year 0 in JavaScript)
|
|
37447
|
+
|
|
37448
|
+
var year = signedYear > 0 ? signedYear : 1 - signedYear;
|
|
37449
|
+
return addLeadingZeros(token === 'yy' ? year % 100 : year, token.length);
|
|
37450
|
+
},
|
|
37451
|
+
// Month
|
|
37452
|
+
M: function (date, token) {
|
|
37453
|
+
var month = date.getUTCMonth();
|
|
37454
|
+
return token === 'M' ? String(month + 1) : addLeadingZeros(month + 1, 2);
|
|
37455
|
+
},
|
|
37456
|
+
// Day of the month
|
|
37457
|
+
d: function (date, token) {
|
|
37458
|
+
return addLeadingZeros(date.getUTCDate(), token.length);
|
|
37459
|
+
},
|
|
37460
|
+
// AM or PM
|
|
37461
|
+
a: function (date, token) {
|
|
37462
|
+
var dayPeriodEnumValue = date.getUTCHours() / 12 >= 1 ? 'pm' : 'am';
|
|
37463
|
+
|
|
37464
|
+
switch (token) {
|
|
37465
|
+
case 'a':
|
|
37466
|
+
case 'aa':
|
|
37467
|
+
return dayPeriodEnumValue.toUpperCase();
|
|
37468
|
+
|
|
37469
|
+
case 'aaa':
|
|
37470
|
+
return dayPeriodEnumValue;
|
|
37471
|
+
|
|
37472
|
+
case 'aaaaa':
|
|
37473
|
+
return dayPeriodEnumValue[0];
|
|
37474
|
+
|
|
37475
|
+
case 'aaaa':
|
|
37476
|
+
default:
|
|
37477
|
+
return dayPeriodEnumValue === 'am' ? 'a.m.' : 'p.m.';
|
|
37478
|
+
}
|
|
37479
|
+
},
|
|
37480
|
+
// Hour [1-12]
|
|
37481
|
+
h: function (date, token) {
|
|
37482
|
+
return addLeadingZeros(date.getUTCHours() % 12 || 12, token.length);
|
|
37483
|
+
},
|
|
37484
|
+
// Hour [0-23]
|
|
37485
|
+
H: function (date, token) {
|
|
37486
|
+
return addLeadingZeros(date.getUTCHours(), token.length);
|
|
37487
|
+
},
|
|
37488
|
+
// Minute
|
|
37489
|
+
m: function (date, token) {
|
|
37490
|
+
return addLeadingZeros(date.getUTCMinutes(), token.length);
|
|
37491
|
+
},
|
|
37492
|
+
// Second
|
|
37493
|
+
s: function (date, token) {
|
|
37494
|
+
return addLeadingZeros(date.getUTCSeconds(), token.length);
|
|
37495
|
+
},
|
|
37496
|
+
// Fraction of second
|
|
37497
|
+
S: function (date, token) {
|
|
37498
|
+
var numberOfDigits = token.length;
|
|
37499
|
+
var milliseconds = date.getUTCMilliseconds();
|
|
37500
|
+
var fractionalSeconds = Math.floor(milliseconds * Math.pow(10, numberOfDigits - 3));
|
|
37501
|
+
return addLeadingZeros(fractionalSeconds, token.length);
|
|
37502
|
+
}
|
|
37503
|
+
};
|
|
37504
|
+
var lightFormatters = formatters$2;
|
|
37505
|
+
|
|
37496
37506
|
var dayPeriodEnum = {
|
|
37497
37507
|
am: 'am',
|
|
37498
37508
|
pm: 'pm',
|
|
@@ -38404,7 +38414,7 @@ function timeLongFormatter(pattern, formatLong) {
|
|
|
38404
38414
|
}
|
|
38405
38415
|
|
|
38406
38416
|
function dateTimeLongFormatter(pattern, formatLong) {
|
|
38407
|
-
var matchResult = pattern.match(/(P+)(p+)?/);
|
|
38417
|
+
var matchResult = pattern.match(/(P+)(p+)?/) || [];
|
|
38408
38418
|
var datePattern = matchResult[1];
|
|
38409
38419
|
var timePattern = matchResult[2];
|
|
38410
38420
|
|
|
@@ -38752,7 +38762,7 @@ var unescapedLatinCharacterRegExp$1 = /[a-zA-Z]/;
|
|
|
38752
38762
|
* 8. `YY` and `YYYY` tokens represent week-numbering years but they are often confused with years.
|
|
38753
38763
|
* You should enable `options.useAdditionalWeekYearTokens` to use them. See: https://git.io/fxCyr
|
|
38754
38764
|
*
|
|
38755
|
-
* 9. `D` and `DD` tokens represent days of the year but they are
|
|
38765
|
+
* 9. `D` and `DD` tokens represent days of the year but they are often confused with days of the month.
|
|
38756
38766
|
* You should enable `options.useAdditionalDayOfYearTokens` to use them. See: https://git.io/fxCyr
|
|
38757
38767
|
*
|
|
38758
38768
|
* ### v2.0.0 breaking changes:
|
|
@@ -41389,7 +41399,7 @@ var parsers = {
|
|
|
41389
41399
|
date.setUTCHours(dayPeriodEnumToHours(value), 0, 0, 0);
|
|
41390
41400
|
return date;
|
|
41391
41401
|
},
|
|
41392
|
-
incompatibleTokens: ['b', 'B', 'H', '
|
|
41402
|
+
incompatibleTokens: ['b', 'B', 'H', 'k', 't', 'T']
|
|
41393
41403
|
},
|
|
41394
41404
|
// AM, PM, midnight
|
|
41395
41405
|
b: {
|
|
@@ -41431,7 +41441,7 @@ var parsers = {
|
|
|
41431
41441
|
date.setUTCHours(dayPeriodEnumToHours(value), 0, 0, 0);
|
|
41432
41442
|
return date;
|
|
41433
41443
|
},
|
|
41434
|
-
incompatibleTokens: ['a', 'B', 'H', '
|
|
41444
|
+
incompatibleTokens: ['a', 'B', 'H', 'k', 't', 'T']
|
|
41435
41445
|
},
|
|
41436
41446
|
// in the morning, in the afternoon, in the evening, at night
|
|
41437
41447
|
B: {
|
|
@@ -41567,7 +41577,7 @@ var parsers = {
|
|
|
41567
41577
|
|
|
41568
41578
|
return date;
|
|
41569
41579
|
},
|
|
41570
|
-
incompatibleTokens: ['
|
|
41580
|
+
incompatibleTokens: ['h', 'H', 'k', 't', 'T']
|
|
41571
41581
|
},
|
|
41572
41582
|
// Hour [1-24]
|
|
41573
41583
|
k: {
|
|
@@ -41925,7 +41935,7 @@ var unescapedLatinCharacterRegExp = /[a-zA-Z]/;
|
|
|
41925
41935
|
* | | | tt | ... | 2 |
|
|
41926
41936
|
* | Fraction of second | 30 | S | 0, 1, ..., 9 | |
|
|
41927
41937
|
* | | | SS | 00, 01, ..., 99 | |
|
|
41928
|
-
* | | | SSS | 000,
|
|
41938
|
+
* | | | SSS | 000, 001, ..., 999 | |
|
|
41929
41939
|
* | | | SSSS | ... | 2 |
|
|
41930
41940
|
* | Milliseconds timestamp | 20 | T | 512969520900 | |
|
|
41931
41941
|
* | | | TT | ... | 2 |
|
|
@@ -43534,10 +43544,10 @@ var differenceInDays$1 = /*#__PURE__*/Object.freeze({
|
|
|
43534
43544
|
/**
|
|
43535
43545
|
* @name isSameMonth
|
|
43536
43546
|
* @category Month Helpers
|
|
43537
|
-
* @summary Are the given dates in the same month?
|
|
43547
|
+
* @summary Are the given dates in the same month (and year)?
|
|
43538
43548
|
*
|
|
43539
43549
|
* @description
|
|
43540
|
-
* Are the given dates in the same month?
|
|
43550
|
+
* Are the given dates in the same month (and year)?
|
|
43541
43551
|
*
|
|
43542
43552
|
* ### v2.0.0 breaking changes:
|
|
43543
43553
|
*
|
|
@@ -43545,13 +43555,18 @@ var differenceInDays$1 = /*#__PURE__*/Object.freeze({
|
|
|
43545
43555
|
*
|
|
43546
43556
|
* @param {Date|Number} dateLeft - the first date to check
|
|
43547
43557
|
* @param {Date|Number} dateRight - the second date to check
|
|
43548
|
-
* @returns {Boolean} the dates are in the same month
|
|
43558
|
+
* @returns {Boolean} the dates are in the same month (and year)
|
|
43549
43559
|
* @throws {TypeError} 2 arguments required
|
|
43550
43560
|
*
|
|
43551
43561
|
* @example
|
|
43552
43562
|
* // Are 2 September 2014 and 25 September 2014 in the same month?
|
|
43553
43563
|
* var result = isSameMonth(new Date(2014, 8, 2), new Date(2014, 8, 25))
|
|
43554
43564
|
* //=> true
|
|
43565
|
+
*
|
|
43566
|
+
* @example
|
|
43567
|
+
* // Are 2 September 2014 and 25 September 2015 in the same month?
|
|
43568
|
+
* var result = isSameMonth(new Date(2014, 8, 2), new Date(2015, 8, 25))
|
|
43569
|
+
* //=> false
|
|
43555
43570
|
*/
|
|
43556
43571
|
|
|
43557
43572
|
function isSameMonth(dirtyDateLeft, dirtyDateRight) {
|
|
@@ -46892,6 +46907,20 @@ var themeWeb = createTheme({
|
|
|
46892
46907
|
padding: 0,
|
|
46893
46908
|
},
|
|
46894
46909
|
},
|
|
46910
|
+
MuiTypography: {
|
|
46911
|
+
root: {
|
|
46912
|
+
"&.MuiTypography-h4": {
|
|
46913
|
+
".gds-toolbar-title &": {
|
|
46914
|
+
textTransform: 'uppercase',
|
|
46915
|
+
color: pallettes$1.brand.primary.main + " !important",
|
|
46916
|
+
fontSize: typography$1.h4.fontSize,
|
|
46917
|
+
fontWeight: typography$1.h4.fontWeight,
|
|
46918
|
+
lineHeight: typography$1.h4.lineHeight,
|
|
46919
|
+
marginBottom: '24px',
|
|
46920
|
+
}
|
|
46921
|
+
}
|
|
46922
|
+
},
|
|
46923
|
+
},
|
|
46895
46924
|
MuiAppBar: {
|
|
46896
46925
|
root: {
|
|
46897
46926
|
color: common.brand.neutral.white,
|
|
@@ -48018,6 +48047,9 @@ var themeWeb = createTheme({
|
|
|
48018
48047
|
paddingRight: 16,
|
|
48019
48048
|
'& .gds-buttons-w-divider': {
|
|
48020
48049
|
paddingLeft: 16,
|
|
48050
|
+
"& button:last-child": {
|
|
48051
|
+
marginLeft: '16px'
|
|
48052
|
+
}
|
|
48021
48053
|
},
|
|
48022
48054
|
'& .MuiInputBase-root, & .MuiButtonBase-root': {
|
|
48023
48055
|
maxHeight: 32,
|
|
@@ -49256,6 +49288,12 @@ var themeDesktop = createTheme({
|
|
|
49256
49288
|
MuiTypography: {
|
|
49257
49289
|
root: {
|
|
49258
49290
|
color: pallettes.brand.text.main,
|
|
49291
|
+
"&.MuiTypography-h4": {
|
|
49292
|
+
".gds-toolbar-title &": {
|
|
49293
|
+
marginBottom: '24px',
|
|
49294
|
+
color: pallettes.brand.primary.light + " !important",
|
|
49295
|
+
}
|
|
49296
|
+
}
|
|
49259
49297
|
},
|
|
49260
49298
|
},
|
|
49261
49299
|
MuiTooltip: {
|