@galaxy-ds/core 1.1.62 → 1.1.65
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 +1 -0
- package/dist/Themes/Web/pallette.d.ts +1 -0
- package/dist/index.esm.js +162 -119
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +162 -119
- package/dist/index.js.map +1 -1
- package/dist/package.json +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5707,7 +5707,7 @@ var Jss =
|
|
|
5707
5707
|
function () {
|
|
5708
5708
|
function Jss(options) {
|
|
5709
5709
|
this.id = instanceCounter++;
|
|
5710
|
-
this.version = "10.8.
|
|
5710
|
+
this.version = "10.8.2";
|
|
5711
5711
|
this.plugins = new PluginsRegistry();
|
|
5712
5712
|
this.options = {
|
|
5713
5713
|
id: {
|
|
@@ -33794,7 +33794,7 @@ var typography$1 = {
|
|
|
33794
33794
|
h4: {
|
|
33795
33795
|
fontFamily: ['Open Sans', 'Helvetica', 'Arial'].join(','),
|
|
33796
33796
|
fontWeight: 500,
|
|
33797
|
-
fontSize: '
|
|
33797
|
+
fontSize: '16px',
|
|
33798
33798
|
lineHeight: '1.5rem',
|
|
33799
33799
|
letterSpacing: '0',
|
|
33800
33800
|
},
|
|
@@ -34235,10 +34235,10 @@ var useStyles$n = makeStyles(function (theme) {
|
|
|
34235
34235
|
});
|
|
34236
34236
|
});
|
|
34237
34237
|
var MenuItem = React__default["default"].forwardRef(function (props, ref) {
|
|
34238
|
-
var children = props.children, startAdornment = props.startAdornment, value = props.value, system = props.system, border = props.border, rest = __rest(props, ["children", "startAdornment", "value", "system", "border"]);
|
|
34238
|
+
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"]);
|
|
34239
34239
|
var classes = useStyles$n();
|
|
34240
34240
|
return (React__default["default"].createElement("div", { className: classes.root },
|
|
34241
|
-
React__default["default"].createElement(MuiMenuItem, __assign$1({ ref: ref }, rest, { button: true, className: clsx(classes.root, system ? "gds-menu-item-system" : "", startAdornment ? "gds-menu-item-icon" : "") }),
|
|
34241
|
+
React__default["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" : "") }),
|
|
34242
34242
|
startAdornment ? (React__default["default"].createElement(ListItemIcon, null, startAdornment)) : null,
|
|
34243
34243
|
children,
|
|
34244
34244
|
" ",
|
|
@@ -34330,7 +34330,7 @@ var FormHeader = React__default["default"].forwardRef(function (props, ref) {
|
|
|
34330
34330
|
React__default["default"].createElement("div", { className: clsx(classes.root, 'gds-header_accent') },
|
|
34331
34331
|
React__default["default"].createElement(LawconnectIcon, { size: "260" })),
|
|
34332
34332
|
React__default["default"].createElement(Box$2, { className: clsx(classes.root, 'gds-header_detail') },
|
|
34333
|
-
React__default["default"].createElement(Grid$2, { item: true, xs: 5 }, props.platformWeb ? (React__default["default"].createElement(Typography, { color: "default", variant: "body2", upperCase: true }, props.title)) : (React__default["default"].createElement(Typography, {
|
|
34333
|
+
React__default["default"].createElement(Grid$2, { item: true, xs: 5, className: clsx("gds-toolbar-title") }, props.platformWeb ? (React__default["default"].createElement(Typography, { color: "default", variant: "body2", upperCase: true }, props.title)) : (React__default["default"].createElement(Typography, { variant: "h4", upperCase: true }, props.title))),
|
|
34334
34334
|
React__default["default"].createElement(Grid$2, { item: true, xs: 7 },
|
|
34335
34335
|
React__default["default"].createElement(Grid$2, { container: true, alignItems: "center", justifyContent: "flex-end", className: clsx(classes.root, 'gds-header_info') },
|
|
34336
34336
|
props.from ? (React__default["default"].createElement(Typography, { align: "right", variant: "body2" }, props.from)) : null,
|
|
@@ -35795,6 +35795,9 @@ var useStyles$a = makeStyles(function (theme) {
|
|
|
35795
35795
|
justifyContent: "space-between",
|
|
35796
35796
|
alignItems: "flex-end",
|
|
35797
35797
|
}); },
|
|
35798
|
+
toolbarContent: {
|
|
35799
|
+
marginTop: '10px',
|
|
35800
|
+
}
|
|
35798
35801
|
});
|
|
35799
35802
|
});
|
|
35800
35803
|
var HeaderToolbar = function (_a) {
|
|
@@ -35803,10 +35806,10 @@ var HeaderToolbar = function (_a) {
|
|
|
35803
35806
|
var classes = useStyles$a({ bgColor: bgColor, bgImageURL: bgImageURL, right: right, bgPosition: bgPosition, bgSize: bgSize, titleVisibility: titleVisibility, divider: divider });
|
|
35804
35807
|
return (React__default["default"].createElement(Toolbar$2, { className: clsx('gds-header-toolbar', classes.bgWrapper, (_b = {}, _b['with-title'] = titleVisibility, _b)) },
|
|
35805
35808
|
React__default["default"].createElement(Box$2, { className: clsx(classes.toolbarWrap) },
|
|
35806
|
-
React__default["default"].createElement(Box$2, { className: clsx(classes.toolbarContainer) },
|
|
35809
|
+
React__default["default"].createElement(Box$2, { className: clsx(classes.toolbarContainer, "gds-toolbar-title") },
|
|
35807
35810
|
title && (tooltip ? (React__default["default"].createElement(Tooltip, { title: title, placement: "bottom-start" },
|
|
35808
|
-
React__default["default"].createElement(Typography, { gutterBottom: true, variant: "
|
|
35809
|
-
left),
|
|
35811
|
+
React__default["default"].createElement(Typography, { gutterBottom: true, variant: "h4", noWrap: true, upperCase: true }, title))) : (React__default["default"].createElement(Typography, { gutterBottom: true, variant: "h4", noWrap: true, upperCase: true }, title))),
|
|
35812
|
+
React__default["default"].createElement(Box$2, { className: clsx(classes.toolbarContent) }, left)),
|
|
35810
35813
|
right && (React__default["default"].createElement(Box$2, { className: clsx("gds-buttons-w-divider", classes.containerDivider) }, right)))));
|
|
35811
35814
|
};
|
|
35812
35815
|
|
|
@@ -36530,10 +36533,10 @@ var startOfDay$1 = /*#__PURE__*/Object.freeze({
|
|
|
36530
36533
|
/**
|
|
36531
36534
|
* @name isSameDay
|
|
36532
36535
|
* @category Day Helpers
|
|
36533
|
-
* @summary Are the given dates in the same day?
|
|
36536
|
+
* @summary Are the given dates in the same day (and year and month)?
|
|
36534
36537
|
*
|
|
36535
36538
|
* @description
|
|
36536
|
-
* Are the given dates in the same day?
|
|
36539
|
+
* Are the given dates in the same day (and year and month)?
|
|
36537
36540
|
*
|
|
36538
36541
|
* ### v2.0.0 breaking changes:
|
|
36539
36542
|
*
|
|
@@ -36541,13 +36544,23 @@ var startOfDay$1 = /*#__PURE__*/Object.freeze({
|
|
|
36541
36544
|
*
|
|
36542
36545
|
* @param {Date|Number} dateLeft - the first date to check
|
|
36543
36546
|
* @param {Date|Number} dateRight - the second date to check
|
|
36544
|
-
* @returns {Boolean} the dates are in the same day
|
|
36547
|
+
* @returns {Boolean} the dates are in the same day (and year and month)
|
|
36545
36548
|
* @throws {TypeError} 2 arguments required
|
|
36546
36549
|
*
|
|
36547
36550
|
* @example
|
|
36548
36551
|
* // Are 4 September 06:00:00 and 4 September 18:00:00 in the same day?
|
|
36549
36552
|
* var result = isSameDay(new Date(2014, 8, 4, 6, 0), new Date(2014, 8, 4, 18, 0))
|
|
36550
36553
|
* //=> true
|
|
36554
|
+
*
|
|
36555
|
+
* @example
|
|
36556
|
+
* // Are 4 September and 4 October in the same day?
|
|
36557
|
+
* var result = isSameDay(new Date(2014, 8, 4), new Date(2014, 9, 4))
|
|
36558
|
+
* //=> false
|
|
36559
|
+
*
|
|
36560
|
+
* @example
|
|
36561
|
+
* // Are 4 September, 2014 and 4 September, 2015 in the same day?
|
|
36562
|
+
* var result = isSameDay(new Date(2014, 8, 4), new Date(2015, 8, 4))
|
|
36563
|
+
* //=> false
|
|
36551
36564
|
*/
|
|
36552
36565
|
|
|
36553
36566
|
function isSameDay(dirtyDateLeft, dirtyDateRight) {
|
|
@@ -36844,7 +36857,7 @@ function buildLocalizeFn(args) {
|
|
|
36844
36857
|
valuesArray = args.values[_width] || args.values[_defaultWidth];
|
|
36845
36858
|
}
|
|
36846
36859
|
|
|
36847
|
-
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
|
|
36860
|
+
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!
|
|
36848
36861
|
|
|
36849
36862
|
return valuesArray[index];
|
|
36850
36863
|
};
|
|
@@ -37263,101 +37276,6 @@ function subMilliseconds(dirtyDate, dirtyAmount) {
|
|
|
37263
37276
|
return addMilliseconds(dirtyDate, -amount);
|
|
37264
37277
|
}
|
|
37265
37278
|
|
|
37266
|
-
function addLeadingZeros(number, targetLength) {
|
|
37267
|
-
var sign = number < 0 ? '-' : '';
|
|
37268
|
-
var output = Math.abs(number).toString();
|
|
37269
|
-
|
|
37270
|
-
while (output.length < targetLength) {
|
|
37271
|
-
output = '0' + output;
|
|
37272
|
-
}
|
|
37273
|
-
|
|
37274
|
-
return sign + output;
|
|
37275
|
-
}
|
|
37276
|
-
|
|
37277
|
-
/*
|
|
37278
|
-
* | | Unit | | Unit |
|
|
37279
|
-
* |-----|--------------------------------|-----|--------------------------------|
|
|
37280
|
-
* | a | AM, PM | A* | |
|
|
37281
|
-
* | d | Day of month | D | |
|
|
37282
|
-
* | h | Hour [1-12] | H | Hour [0-23] |
|
|
37283
|
-
* | m | Minute | M | Month |
|
|
37284
|
-
* | s | Second | S | Fraction of second |
|
|
37285
|
-
* | y | Year (abs) | Y | |
|
|
37286
|
-
*
|
|
37287
|
-
* Letters marked by * are not implemented but reserved by Unicode standard.
|
|
37288
|
-
*/
|
|
37289
|
-
|
|
37290
|
-
var formatters$2 = {
|
|
37291
|
-
// Year
|
|
37292
|
-
y: function (date, token) {
|
|
37293
|
-
// From http://www.unicode.org/reports/tr35/tr35-31/tr35-dates.html#Date_Format_tokens
|
|
37294
|
-
// | Year | y | yy | yyy | yyyy | yyyyy |
|
|
37295
|
-
// |----------|-------|----|-------|-------|-------|
|
|
37296
|
-
// | AD 1 | 1 | 01 | 001 | 0001 | 00001 |
|
|
37297
|
-
// | AD 12 | 12 | 12 | 012 | 0012 | 00012 |
|
|
37298
|
-
// | AD 123 | 123 | 23 | 123 | 0123 | 00123 |
|
|
37299
|
-
// | AD 1234 | 1234 | 34 | 1234 | 1234 | 01234 |
|
|
37300
|
-
// | AD 12345 | 12345 | 45 | 12345 | 12345 | 12345 |
|
|
37301
|
-
var signedYear = date.getUTCFullYear(); // Returns 1 for 1 BC (which is year 0 in JavaScript)
|
|
37302
|
-
|
|
37303
|
-
var year = signedYear > 0 ? signedYear : 1 - signedYear;
|
|
37304
|
-
return addLeadingZeros(token === 'yy' ? year % 100 : year, token.length);
|
|
37305
|
-
},
|
|
37306
|
-
// Month
|
|
37307
|
-
M: function (date, token) {
|
|
37308
|
-
var month = date.getUTCMonth();
|
|
37309
|
-
return token === 'M' ? String(month + 1) : addLeadingZeros(month + 1, 2);
|
|
37310
|
-
},
|
|
37311
|
-
// Day of the month
|
|
37312
|
-
d: function (date, token) {
|
|
37313
|
-
return addLeadingZeros(date.getUTCDate(), token.length);
|
|
37314
|
-
},
|
|
37315
|
-
// AM or PM
|
|
37316
|
-
a: function (date, token) {
|
|
37317
|
-
var dayPeriodEnumValue = date.getUTCHours() / 12 >= 1 ? 'pm' : 'am';
|
|
37318
|
-
|
|
37319
|
-
switch (token) {
|
|
37320
|
-
case 'a':
|
|
37321
|
-
case 'aa':
|
|
37322
|
-
return dayPeriodEnumValue.toUpperCase();
|
|
37323
|
-
|
|
37324
|
-
case 'aaa':
|
|
37325
|
-
return dayPeriodEnumValue;
|
|
37326
|
-
|
|
37327
|
-
case 'aaaaa':
|
|
37328
|
-
return dayPeriodEnumValue[0];
|
|
37329
|
-
|
|
37330
|
-
case 'aaaa':
|
|
37331
|
-
default:
|
|
37332
|
-
return dayPeriodEnumValue === 'am' ? 'a.m.' : 'p.m.';
|
|
37333
|
-
}
|
|
37334
|
-
},
|
|
37335
|
-
// Hour [1-12]
|
|
37336
|
-
h: function (date, token) {
|
|
37337
|
-
return addLeadingZeros(date.getUTCHours() % 12 || 12, token.length);
|
|
37338
|
-
},
|
|
37339
|
-
// Hour [0-23]
|
|
37340
|
-
H: function (date, token) {
|
|
37341
|
-
return addLeadingZeros(date.getUTCHours(), token.length);
|
|
37342
|
-
},
|
|
37343
|
-
// Minute
|
|
37344
|
-
m: function (date, token) {
|
|
37345
|
-
return addLeadingZeros(date.getUTCMinutes(), token.length);
|
|
37346
|
-
},
|
|
37347
|
-
// Second
|
|
37348
|
-
s: function (date, token) {
|
|
37349
|
-
return addLeadingZeros(date.getUTCSeconds(), token.length);
|
|
37350
|
-
},
|
|
37351
|
-
// Fraction of second
|
|
37352
|
-
S: function (date, token) {
|
|
37353
|
-
var numberOfDigits = token.length;
|
|
37354
|
-
var milliseconds = date.getUTCMilliseconds();
|
|
37355
|
-
var fractionalSeconds = Math.floor(milliseconds * Math.pow(10, numberOfDigits - 3));
|
|
37356
|
-
return addLeadingZeros(fractionalSeconds, token.length);
|
|
37357
|
-
}
|
|
37358
|
-
};
|
|
37359
|
-
var lightFormatters = formatters$2;
|
|
37360
|
-
|
|
37361
37279
|
var MILLISECONDS_IN_DAY$1 = 86400000; // This function will be a part of public API when UTC function will be implemented.
|
|
37362
37280
|
// See issue: https://github.com/date-fns/date-fns/issues/376
|
|
37363
37281
|
|
|
@@ -37460,7 +37378,7 @@ function startOfUTCWeek(dirtyDate, dirtyOptions) {
|
|
|
37460
37378
|
|
|
37461
37379
|
function getUTCWeekYear(dirtyDate, dirtyOptions) {
|
|
37462
37380
|
requiredArgs(1, arguments);
|
|
37463
|
-
var date = toDate(dirtyDate
|
|
37381
|
+
var date = toDate(dirtyDate);
|
|
37464
37382
|
var year = date.getUTCFullYear();
|
|
37465
37383
|
var options = dirtyOptions || {};
|
|
37466
37384
|
var locale = options.locale;
|
|
@@ -37520,6 +37438,101 @@ function getUTCWeek(dirtyDate, options) {
|
|
|
37520
37438
|
return Math.round(diff / MILLISECONDS_IN_WEEK) + 1;
|
|
37521
37439
|
}
|
|
37522
37440
|
|
|
37441
|
+
function addLeadingZeros(number, targetLength) {
|
|
37442
|
+
var sign = number < 0 ? '-' : '';
|
|
37443
|
+
var output = Math.abs(number).toString();
|
|
37444
|
+
|
|
37445
|
+
while (output.length < targetLength) {
|
|
37446
|
+
output = '0' + output;
|
|
37447
|
+
}
|
|
37448
|
+
|
|
37449
|
+
return sign + output;
|
|
37450
|
+
}
|
|
37451
|
+
|
|
37452
|
+
/*
|
|
37453
|
+
* | | Unit | | Unit |
|
|
37454
|
+
* |-----|--------------------------------|-----|--------------------------------|
|
|
37455
|
+
* | a | AM, PM | A* | |
|
|
37456
|
+
* | d | Day of month | D | |
|
|
37457
|
+
* | h | Hour [1-12] | H | Hour [0-23] |
|
|
37458
|
+
* | m | Minute | M | Month |
|
|
37459
|
+
* | s | Second | S | Fraction of second |
|
|
37460
|
+
* | y | Year (abs) | Y | |
|
|
37461
|
+
*
|
|
37462
|
+
* Letters marked by * are not implemented but reserved by Unicode standard.
|
|
37463
|
+
*/
|
|
37464
|
+
|
|
37465
|
+
var formatters$2 = {
|
|
37466
|
+
// Year
|
|
37467
|
+
y: function (date, token) {
|
|
37468
|
+
// From http://www.unicode.org/reports/tr35/tr35-31/tr35-dates.html#Date_Format_tokens
|
|
37469
|
+
// | Year | y | yy | yyy | yyyy | yyyyy |
|
|
37470
|
+
// |----------|-------|----|-------|-------|-------|
|
|
37471
|
+
// | AD 1 | 1 | 01 | 001 | 0001 | 00001 |
|
|
37472
|
+
// | AD 12 | 12 | 12 | 012 | 0012 | 00012 |
|
|
37473
|
+
// | AD 123 | 123 | 23 | 123 | 0123 | 00123 |
|
|
37474
|
+
// | AD 1234 | 1234 | 34 | 1234 | 1234 | 01234 |
|
|
37475
|
+
// | AD 12345 | 12345 | 45 | 12345 | 12345 | 12345 |
|
|
37476
|
+
var signedYear = date.getUTCFullYear(); // Returns 1 for 1 BC (which is year 0 in JavaScript)
|
|
37477
|
+
|
|
37478
|
+
var year = signedYear > 0 ? signedYear : 1 - signedYear;
|
|
37479
|
+
return addLeadingZeros(token === 'yy' ? year % 100 : year, token.length);
|
|
37480
|
+
},
|
|
37481
|
+
// Month
|
|
37482
|
+
M: function (date, token) {
|
|
37483
|
+
var month = date.getUTCMonth();
|
|
37484
|
+
return token === 'M' ? String(month + 1) : addLeadingZeros(month + 1, 2);
|
|
37485
|
+
},
|
|
37486
|
+
// Day of the month
|
|
37487
|
+
d: function (date, token) {
|
|
37488
|
+
return addLeadingZeros(date.getUTCDate(), token.length);
|
|
37489
|
+
},
|
|
37490
|
+
// AM or PM
|
|
37491
|
+
a: function (date, token) {
|
|
37492
|
+
var dayPeriodEnumValue = date.getUTCHours() / 12 >= 1 ? 'pm' : 'am';
|
|
37493
|
+
|
|
37494
|
+
switch (token) {
|
|
37495
|
+
case 'a':
|
|
37496
|
+
case 'aa':
|
|
37497
|
+
return dayPeriodEnumValue.toUpperCase();
|
|
37498
|
+
|
|
37499
|
+
case 'aaa':
|
|
37500
|
+
return dayPeriodEnumValue;
|
|
37501
|
+
|
|
37502
|
+
case 'aaaaa':
|
|
37503
|
+
return dayPeriodEnumValue[0];
|
|
37504
|
+
|
|
37505
|
+
case 'aaaa':
|
|
37506
|
+
default:
|
|
37507
|
+
return dayPeriodEnumValue === 'am' ? 'a.m.' : 'p.m.';
|
|
37508
|
+
}
|
|
37509
|
+
},
|
|
37510
|
+
// Hour [1-12]
|
|
37511
|
+
h: function (date, token) {
|
|
37512
|
+
return addLeadingZeros(date.getUTCHours() % 12 || 12, token.length);
|
|
37513
|
+
},
|
|
37514
|
+
// Hour [0-23]
|
|
37515
|
+
H: function (date, token) {
|
|
37516
|
+
return addLeadingZeros(date.getUTCHours(), token.length);
|
|
37517
|
+
},
|
|
37518
|
+
// Minute
|
|
37519
|
+
m: function (date, token) {
|
|
37520
|
+
return addLeadingZeros(date.getUTCMinutes(), token.length);
|
|
37521
|
+
},
|
|
37522
|
+
// Second
|
|
37523
|
+
s: function (date, token) {
|
|
37524
|
+
return addLeadingZeros(date.getUTCSeconds(), token.length);
|
|
37525
|
+
},
|
|
37526
|
+
// Fraction of second
|
|
37527
|
+
S: function (date, token) {
|
|
37528
|
+
var numberOfDigits = token.length;
|
|
37529
|
+
var milliseconds = date.getUTCMilliseconds();
|
|
37530
|
+
var fractionalSeconds = Math.floor(milliseconds * Math.pow(10, numberOfDigits - 3));
|
|
37531
|
+
return addLeadingZeros(fractionalSeconds, token.length);
|
|
37532
|
+
}
|
|
37533
|
+
};
|
|
37534
|
+
var lightFormatters = formatters$2;
|
|
37535
|
+
|
|
37523
37536
|
var dayPeriodEnum = {
|
|
37524
37537
|
am: 'am',
|
|
37525
37538
|
pm: 'pm',
|
|
@@ -38431,7 +38444,7 @@ function timeLongFormatter(pattern, formatLong) {
|
|
|
38431
38444
|
}
|
|
38432
38445
|
|
|
38433
38446
|
function dateTimeLongFormatter(pattern, formatLong) {
|
|
38434
|
-
var matchResult = pattern.match(/(P+)(p+)?/);
|
|
38447
|
+
var matchResult = pattern.match(/(P+)(p+)?/) || [];
|
|
38435
38448
|
var datePattern = matchResult[1];
|
|
38436
38449
|
var timePattern = matchResult[2];
|
|
38437
38450
|
|
|
@@ -38779,7 +38792,7 @@ var unescapedLatinCharacterRegExp$1 = /[a-zA-Z]/;
|
|
|
38779
38792
|
* 8. `YY` and `YYYY` tokens represent week-numbering years but they are often confused with years.
|
|
38780
38793
|
* You should enable `options.useAdditionalWeekYearTokens` to use them. See: https://git.io/fxCyr
|
|
38781
38794
|
*
|
|
38782
|
-
* 9. `D` and `DD` tokens represent days of the year but they are
|
|
38795
|
+
* 9. `D` and `DD` tokens represent days of the year but they are often confused with days of the month.
|
|
38783
38796
|
* You should enable `options.useAdditionalDayOfYearTokens` to use them. See: https://git.io/fxCyr
|
|
38784
38797
|
*
|
|
38785
38798
|
* ### v2.0.0 breaking changes:
|
|
@@ -41416,7 +41429,7 @@ var parsers = {
|
|
|
41416
41429
|
date.setUTCHours(dayPeriodEnumToHours(value), 0, 0, 0);
|
|
41417
41430
|
return date;
|
|
41418
41431
|
},
|
|
41419
|
-
incompatibleTokens: ['b', 'B', 'H', '
|
|
41432
|
+
incompatibleTokens: ['b', 'B', 'H', 'k', 't', 'T']
|
|
41420
41433
|
},
|
|
41421
41434
|
// AM, PM, midnight
|
|
41422
41435
|
b: {
|
|
@@ -41458,7 +41471,7 @@ var parsers = {
|
|
|
41458
41471
|
date.setUTCHours(dayPeriodEnumToHours(value), 0, 0, 0);
|
|
41459
41472
|
return date;
|
|
41460
41473
|
},
|
|
41461
|
-
incompatibleTokens: ['a', 'B', 'H', '
|
|
41474
|
+
incompatibleTokens: ['a', 'B', 'H', 'k', 't', 'T']
|
|
41462
41475
|
},
|
|
41463
41476
|
// in the morning, in the afternoon, in the evening, at night
|
|
41464
41477
|
B: {
|
|
@@ -41594,7 +41607,7 @@ var parsers = {
|
|
|
41594
41607
|
|
|
41595
41608
|
return date;
|
|
41596
41609
|
},
|
|
41597
|
-
incompatibleTokens: ['
|
|
41610
|
+
incompatibleTokens: ['h', 'H', 'k', 't', 'T']
|
|
41598
41611
|
},
|
|
41599
41612
|
// Hour [1-24]
|
|
41600
41613
|
k: {
|
|
@@ -41952,7 +41965,7 @@ var unescapedLatinCharacterRegExp = /[a-zA-Z]/;
|
|
|
41952
41965
|
* | | | tt | ... | 2 |
|
|
41953
41966
|
* | Fraction of second | 30 | S | 0, 1, ..., 9 | |
|
|
41954
41967
|
* | | | SS | 00, 01, ..., 99 | |
|
|
41955
|
-
* | | | SSS | 000,
|
|
41968
|
+
* | | | SSS | 000, 001, ..., 999 | |
|
|
41956
41969
|
* | | | SSSS | ... | 2 |
|
|
41957
41970
|
* | Milliseconds timestamp | 20 | T | 512969520900 | |
|
|
41958
41971
|
* | | | TT | ... | 2 |
|
|
@@ -43561,10 +43574,10 @@ var differenceInDays$1 = /*#__PURE__*/Object.freeze({
|
|
|
43561
43574
|
/**
|
|
43562
43575
|
* @name isSameMonth
|
|
43563
43576
|
* @category Month Helpers
|
|
43564
|
-
* @summary Are the given dates in the same month?
|
|
43577
|
+
* @summary Are the given dates in the same month (and year)?
|
|
43565
43578
|
*
|
|
43566
43579
|
* @description
|
|
43567
|
-
* Are the given dates in the same month?
|
|
43580
|
+
* Are the given dates in the same month (and year)?
|
|
43568
43581
|
*
|
|
43569
43582
|
* ### v2.0.0 breaking changes:
|
|
43570
43583
|
*
|
|
@@ -43572,13 +43585,18 @@ var differenceInDays$1 = /*#__PURE__*/Object.freeze({
|
|
|
43572
43585
|
*
|
|
43573
43586
|
* @param {Date|Number} dateLeft - the first date to check
|
|
43574
43587
|
* @param {Date|Number} dateRight - the second date to check
|
|
43575
|
-
* @returns {Boolean} the dates are in the same month
|
|
43588
|
+
* @returns {Boolean} the dates are in the same month (and year)
|
|
43576
43589
|
* @throws {TypeError} 2 arguments required
|
|
43577
43590
|
*
|
|
43578
43591
|
* @example
|
|
43579
43592
|
* // Are 2 September 2014 and 25 September 2014 in the same month?
|
|
43580
43593
|
* var result = isSameMonth(new Date(2014, 8, 2), new Date(2014, 8, 25))
|
|
43581
43594
|
* //=> true
|
|
43595
|
+
*
|
|
43596
|
+
* @example
|
|
43597
|
+
* // Are 2 September 2014 and 25 September 2015 in the same month?
|
|
43598
|
+
* var result = isSameMonth(new Date(2014, 8, 2), new Date(2015, 8, 25))
|
|
43599
|
+
* //=> false
|
|
43582
43600
|
*/
|
|
43583
43601
|
|
|
43584
43602
|
function isSameMonth(dirtyDateLeft, dirtyDateRight) {
|
|
@@ -46919,6 +46937,19 @@ var themeWeb = createTheme({
|
|
|
46919
46937
|
padding: 0,
|
|
46920
46938
|
},
|
|
46921
46939
|
},
|
|
46940
|
+
MuiTypography: {
|
|
46941
|
+
root: {
|
|
46942
|
+
"&.MuiTypography-h4": {
|
|
46943
|
+
".gds-toolbar-title &": {
|
|
46944
|
+
textTransform: 'uppercase',
|
|
46945
|
+
color: pallettes$1.brand.primary.main + " !important",
|
|
46946
|
+
fontSize: typography$1.h4.fontSize,
|
|
46947
|
+
fontWeight: typography$1.h4.fontWeight,
|
|
46948
|
+
lineHeight: typography$1.h4.lineHeight,
|
|
46949
|
+
}
|
|
46950
|
+
}
|
|
46951
|
+
},
|
|
46952
|
+
},
|
|
46922
46953
|
MuiAppBar: {
|
|
46923
46954
|
root: {
|
|
46924
46955
|
color: common.brand.neutral.white,
|
|
@@ -47667,6 +47698,7 @@ var themeWeb = createTheme({
|
|
|
47667
47698
|
lineHeight: 1.5715,
|
|
47668
47699
|
letterSpacing: '0.01rem',
|
|
47669
47700
|
padding: '.25rem 1.25rem',
|
|
47701
|
+
'&.gds-startIcon': {},
|
|
47670
47702
|
'&:hover': {
|
|
47671
47703
|
backgroundColor: pallettes$1.brand.primary.transparent,
|
|
47672
47704
|
color: pallettes$1.brand.primary.main,
|
|
@@ -47688,11 +47720,13 @@ var themeWeb = createTheme({
|
|
|
47688
47720
|
backgroundColor: pallettes$1.brand.primary.main,
|
|
47689
47721
|
color: pallettes$1.grey['50'],
|
|
47690
47722
|
},
|
|
47691
|
-
|
|
47692
|
-
paddingLeft: 32,
|
|
47723
|
+
'&.gds-menu-item-checked': {
|
|
47693
47724
|
"&:not($selected) svg": {
|
|
47694
47725
|
color: pallettes$1.pallette.action.selected,
|
|
47695
47726
|
},
|
|
47727
|
+
},
|
|
47728
|
+
"&.gds-menu-item-icon": {
|
|
47729
|
+
paddingLeft: 32,
|
|
47696
47730
|
"& .MuiListItemIcon-root": {
|
|
47697
47731
|
position: 'absolute',
|
|
47698
47732
|
left: 8,
|
|
@@ -48042,6 +48076,9 @@ var themeWeb = createTheme({
|
|
|
48042
48076
|
paddingRight: 16,
|
|
48043
48077
|
'& .gds-buttons-w-divider': {
|
|
48044
48078
|
paddingLeft: 16,
|
|
48079
|
+
"& button:last-child": {
|
|
48080
|
+
marginLeft: '16px'
|
|
48081
|
+
}
|
|
48045
48082
|
},
|
|
48046
48083
|
'& .MuiInputBase-root, & .MuiButtonBase-root': {
|
|
48047
48084
|
maxHeight: 32,
|
|
@@ -49280,6 +49317,12 @@ var themeDesktop = createTheme({
|
|
|
49280
49317
|
MuiTypography: {
|
|
49281
49318
|
root: {
|
|
49282
49319
|
color: pallettes.brand.text.main,
|
|
49320
|
+
"&.MuiTypography-h4": {
|
|
49321
|
+
".gds-toolbar-title &": {
|
|
49322
|
+
marginBottom: '0',
|
|
49323
|
+
color: pallettes.brand.primary.light + " !important",
|
|
49324
|
+
}
|
|
49325
|
+
}
|
|
49283
49326
|
},
|
|
49284
49327
|
},
|
|
49285
49328
|
MuiTooltip: {
|