@galaxy-ds/core 1.1.60 → 1.1.63
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/MenuItem/MenuItem.types.d.ts +1 -0
- package/dist/Radio/Radio.d.ts +2 -2
- package/dist/Radio/Radio.types.d.ts +2 -1
- package/dist/Themes/Desktop/pallette.d.ts +0 -1
- package/dist/Themes/Web/pallette.d.ts +0 -1
- package/dist/index.esm.js +122 -131
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +122 -131
- package/dist/index.js.map +1 -1
- package/dist/package.json +1 -1
- package/package.json +1 -1
package/dist/Radio/Radio.d.ts
CHANGED
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.0";
|
|
5684
5684
|
this.plugins = new PluginsRegistry();
|
|
5685
5685
|
this.options = {
|
|
5686
5686
|
id: {
|
|
@@ -33434,7 +33434,7 @@ var Avatar = function (props) {
|
|
|
33434
33434
|
colorProp = "avatarDefault";
|
|
33435
33435
|
}
|
|
33436
33436
|
return (React__default.createElement(React__default.Fragment, null, tooltip ?
|
|
33437
|
-
React__default.createElement(Tooltip$2, { title: tooltip, placement: placement },
|
|
33437
|
+
React__default.createElement(Tooltip$2, { arrow: true, title: tooltip, placement: placement },
|
|
33438
33438
|
React__default.createElement(MuiAvatar, __assign$1({}, rest, { variant: "circular", className: clsx(sizeProp, colorProp) })))
|
|
33439
33439
|
:
|
|
33440
33440
|
React__default.createElement(MuiAvatar, __assign$1({}, rest, { variant: "circular", className: clsx(sizeProp, colorProp) }))));
|
|
@@ -34208,10 +34208,10 @@ var useStyles$n = makeStyles(function (theme) {
|
|
|
34208
34208
|
});
|
|
34209
34209
|
});
|
|
34210
34210
|
var MenuItem = React__default.forwardRef(function (props, ref) {
|
|
34211
|
-
var children = props.children, startAdornment = props.startAdornment, value = props.value, system = props.system, border = props.border, rest = __rest(props, ["children", "startAdornment", "value", "system", "border"]);
|
|
34211
|
+
var children = props.children, startAdornment = props.startAdornment, value = props.value, system = props.system, border = props.border, checked = props.checked, rest = __rest(props, ["children", "startAdornment", "value", "system", "border", "checked"]);
|
|
34212
34212
|
var classes = useStyles$n();
|
|
34213
34213
|
return (React__default.createElement("div", { className: classes.root },
|
|
34214
|
-
React__default.createElement(MuiMenuItem, __assign$1({ ref: ref }, rest, { button: true, className: clsx(classes.root, system ? "gds-menu-item-system" : "", startAdornment ? "gds-menu-item-icon" : "") }),
|
|
34214
|
+
React__default.createElement(MuiMenuItem, __assign$1({ ref: ref }, rest, { button: true, className: clsx(classes.root, checked ? "gds-menu-item-checked" : "", system ? "gds-menu-item-system" : "", startAdornment ? "gds-menu-item-icon" : "") }),
|
|
34215
34215
|
startAdornment ? (React__default.createElement(ListItemIcon, null, startAdornment)) : null,
|
|
34216
34216
|
children,
|
|
34217
34217
|
" ",
|
|
@@ -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?
|
|
36507
36507
|
*
|
|
36508
36508
|
* @description
|
|
36509
|
-
* Are the given dates in the same day
|
|
36509
|
+
* Are the given dates in the same day?
|
|
36510
36510
|
*
|
|
36511
36511
|
* ### v2.0.0 breaking changes:
|
|
36512
36512
|
*
|
|
@@ -36514,23 +36514,13 @@ 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
|
|
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
|
|
36534
36524
|
*/
|
|
36535
36525
|
|
|
36536
36526
|
function isSameDay(dirtyDateLeft, dirtyDateRight) {
|
|
@@ -36827,7 +36817,7 @@ function buildLocalizeFn(args) {
|
|
|
36827
36817
|
valuesArray = args.values[_width] || args.values[_defaultWidth];
|
|
36828
36818
|
}
|
|
36829
36819
|
|
|
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
|
|
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 challange you to try to remove it!
|
|
36831
36821
|
|
|
36832
36822
|
return valuesArray[index];
|
|
36833
36823
|
};
|
|
@@ -37246,6 +37236,101 @@ function subMilliseconds(dirtyDate, dirtyAmount) {
|
|
|
37246
37236
|
return addMilliseconds(dirtyDate, -amount);
|
|
37247
37237
|
}
|
|
37248
37238
|
|
|
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
|
+
|
|
37249
37334
|
var MILLISECONDS_IN_DAY$1 = 86400000; // This function will be a part of public API when UTC function will be implemented.
|
|
37250
37335
|
// See issue: https://github.com/date-fns/date-fns/issues/376
|
|
37251
37336
|
|
|
@@ -37348,7 +37433,7 @@ function startOfUTCWeek(dirtyDate, dirtyOptions) {
|
|
|
37348
37433
|
|
|
37349
37434
|
function getUTCWeekYear(dirtyDate, dirtyOptions) {
|
|
37350
37435
|
requiredArgs(1, arguments);
|
|
37351
|
-
var date = toDate(dirtyDate);
|
|
37436
|
+
var date = toDate(dirtyDate, dirtyOptions);
|
|
37352
37437
|
var year = date.getUTCFullYear();
|
|
37353
37438
|
var options = dirtyOptions || {};
|
|
37354
37439
|
var locale = options.locale;
|
|
@@ -37408,101 +37493,6 @@ function getUTCWeek(dirtyDate, options) {
|
|
|
37408
37493
|
return Math.round(diff / MILLISECONDS_IN_WEEK) + 1;
|
|
37409
37494
|
}
|
|
37410
37495
|
|
|
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
|
-
|
|
37506
37496
|
var dayPeriodEnum = {
|
|
37507
37497
|
am: 'am',
|
|
37508
37498
|
pm: 'pm',
|
|
@@ -38414,7 +38404,7 @@ function timeLongFormatter(pattern, formatLong) {
|
|
|
38414
38404
|
}
|
|
38415
38405
|
|
|
38416
38406
|
function dateTimeLongFormatter(pattern, formatLong) {
|
|
38417
|
-
var matchResult = pattern.match(/(P+)(p+)?/)
|
|
38407
|
+
var matchResult = pattern.match(/(P+)(p+)?/);
|
|
38418
38408
|
var datePattern = matchResult[1];
|
|
38419
38409
|
var timePattern = matchResult[2];
|
|
38420
38410
|
|
|
@@ -38762,7 +38752,7 @@ var unescapedLatinCharacterRegExp$1 = /[a-zA-Z]/;
|
|
|
38762
38752
|
* 8. `YY` and `YYYY` tokens represent week-numbering years but they are often confused with years.
|
|
38763
38753
|
* You should enable `options.useAdditionalWeekYearTokens` to use them. See: https://git.io/fxCyr
|
|
38764
38754
|
*
|
|
38765
|
-
* 9. `D` and `DD` tokens represent days of the year but they are
|
|
38755
|
+
* 9. `D` and `DD` tokens represent days of the year but they are ofthen confused with days of the month.
|
|
38766
38756
|
* You should enable `options.useAdditionalDayOfYearTokens` to use them. See: https://git.io/fxCyr
|
|
38767
38757
|
*
|
|
38768
38758
|
* ### v2.0.0 breaking changes:
|
|
@@ -41399,7 +41389,7 @@ var parsers = {
|
|
|
41399
41389
|
date.setUTCHours(dayPeriodEnumToHours(value), 0, 0, 0);
|
|
41400
41390
|
return date;
|
|
41401
41391
|
},
|
|
41402
|
-
incompatibleTokens: ['b', 'B', 'H', 'k', 't', 'T']
|
|
41392
|
+
incompatibleTokens: ['b', 'B', 'H', 'K', 'k', 't', 'T']
|
|
41403
41393
|
},
|
|
41404
41394
|
// AM, PM, midnight
|
|
41405
41395
|
b: {
|
|
@@ -41441,7 +41431,7 @@ var parsers = {
|
|
|
41441
41431
|
date.setUTCHours(dayPeriodEnumToHours(value), 0, 0, 0);
|
|
41442
41432
|
return date;
|
|
41443
41433
|
},
|
|
41444
|
-
incompatibleTokens: ['a', 'B', 'H', 'k', 't', 'T']
|
|
41434
|
+
incompatibleTokens: ['a', 'B', 'H', 'K', 'k', 't', 'T']
|
|
41445
41435
|
},
|
|
41446
41436
|
// in the morning, in the afternoon, in the evening, at night
|
|
41447
41437
|
B: {
|
|
@@ -41577,7 +41567,7 @@ var parsers = {
|
|
|
41577
41567
|
|
|
41578
41568
|
return date;
|
|
41579
41569
|
},
|
|
41580
|
-
incompatibleTokens: ['h', 'H', 'k', 't', 'T']
|
|
41570
|
+
incompatibleTokens: ['a', 'b', 'h', 'H', 'k', 't', 'T']
|
|
41581
41571
|
},
|
|
41582
41572
|
// Hour [1-24]
|
|
41583
41573
|
k: {
|
|
@@ -41935,7 +41925,7 @@ var unescapedLatinCharacterRegExp = /[a-zA-Z]/;
|
|
|
41935
41925
|
* | | | tt | ... | 2 |
|
|
41936
41926
|
* | Fraction of second | 30 | S | 0, 1, ..., 9 | |
|
|
41937
41927
|
* | | | SS | 00, 01, ..., 99 | |
|
|
41938
|
-
* | | | SSS | 000,
|
|
41928
|
+
* | | | SSS | 000, 0001, ..., 999 | |
|
|
41939
41929
|
* | | | SSSS | ... | 2 |
|
|
41940
41930
|
* | Milliseconds timestamp | 20 | T | 512969520900 | |
|
|
41941
41931
|
* | | | TT | ... | 2 |
|
|
@@ -43544,10 +43534,10 @@ var differenceInDays$1 = /*#__PURE__*/Object.freeze({
|
|
|
43544
43534
|
/**
|
|
43545
43535
|
* @name isSameMonth
|
|
43546
43536
|
* @category Month Helpers
|
|
43547
|
-
* @summary Are the given dates in the same month
|
|
43537
|
+
* @summary Are the given dates in the same month?
|
|
43548
43538
|
*
|
|
43549
43539
|
* @description
|
|
43550
|
-
* Are the given dates in the same month
|
|
43540
|
+
* Are the given dates in the same month?
|
|
43551
43541
|
*
|
|
43552
43542
|
* ### v2.0.0 breaking changes:
|
|
43553
43543
|
*
|
|
@@ -43555,18 +43545,13 @@ var differenceInDays$1 = /*#__PURE__*/Object.freeze({
|
|
|
43555
43545
|
*
|
|
43556
43546
|
* @param {Date|Number} dateLeft - the first date to check
|
|
43557
43547
|
* @param {Date|Number} dateRight - the second date to check
|
|
43558
|
-
* @returns {Boolean} the dates are in the same month
|
|
43548
|
+
* @returns {Boolean} the dates are in the same month
|
|
43559
43549
|
* @throws {TypeError} 2 arguments required
|
|
43560
43550
|
*
|
|
43561
43551
|
* @example
|
|
43562
43552
|
* // Are 2 September 2014 and 25 September 2014 in the same month?
|
|
43563
43553
|
* var result = isSameMonth(new Date(2014, 8, 2), new Date(2014, 8, 25))
|
|
43564
43554
|
* //=> 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
|
|
43570
43555
|
*/
|
|
43571
43556
|
|
|
43572
43557
|
function isSameMonth(dirtyDateLeft, dirtyDateRight) {
|
|
@@ -47655,6 +47640,7 @@ var themeWeb = createTheme({
|
|
|
47655
47640
|
lineHeight: 1.5715,
|
|
47656
47641
|
letterSpacing: '0.01rem',
|
|
47657
47642
|
padding: '.25rem 1.25rem',
|
|
47643
|
+
'&.gds-startIcon': {},
|
|
47658
47644
|
'&:hover': {
|
|
47659
47645
|
backgroundColor: pallettes$1.brand.primary.transparent,
|
|
47660
47646
|
color: pallettes$1.brand.primary.main,
|
|
@@ -47676,11 +47662,13 @@ var themeWeb = createTheme({
|
|
|
47676
47662
|
backgroundColor: pallettes$1.brand.primary.main,
|
|
47677
47663
|
color: pallettes$1.grey['50'],
|
|
47678
47664
|
},
|
|
47679
|
-
|
|
47680
|
-
paddingLeft: 32,
|
|
47665
|
+
'&.gds-menu-item-checked': {
|
|
47681
47666
|
"&:not($selected) svg": {
|
|
47682
47667
|
color: pallettes$1.pallette.action.selected,
|
|
47683
47668
|
},
|
|
47669
|
+
},
|
|
47670
|
+
"&.gds-menu-item-icon": {
|
|
47671
|
+
paddingLeft: 32,
|
|
47684
47672
|
"& .MuiListItemIcon-root": {
|
|
47685
47673
|
position: 'absolute',
|
|
47686
47674
|
left: 8,
|
|
@@ -47707,6 +47695,9 @@ var themeWeb = createTheme({
|
|
|
47707
47695
|
},
|
|
47708
47696
|
},
|
|
47709
47697
|
},
|
|
47698
|
+
"& .MuiCheckbox-root": {
|
|
47699
|
+
marginRight: "12px"
|
|
47700
|
+
},
|
|
47710
47701
|
'&.gds-drawer-menu-item': {
|
|
47711
47702
|
backgroundColor: 'transparent',
|
|
47712
47703
|
color: pallettes$1.grey['200'],
|
|
@@ -49285,7 +49276,7 @@ var themeDesktop = createTheme({
|
|
|
49285
49276
|
margin: '5px 0 !important',
|
|
49286
49277
|
},
|
|
49287
49278
|
arrow: {
|
|
49288
|
-
|
|
49279
|
+
color: pallettes.grey[50],
|
|
49289
49280
|
},
|
|
49290
49281
|
},
|
|
49291
49282
|
MuiSvgIcon: {
|