@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/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.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
|
},
|
|
@@ -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
|
" ",
|
|
@@ -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,
|
|
@@ -35768,6 +35768,9 @@ var useStyles$a = makeStyles(function (theme) {
|
|
|
35768
35768
|
justifyContent: "space-between",
|
|
35769
35769
|
alignItems: "flex-end",
|
|
35770
35770
|
}); },
|
|
35771
|
+
toolbarContent: {
|
|
35772
|
+
marginTop: '10px',
|
|
35773
|
+
}
|
|
35771
35774
|
});
|
|
35772
35775
|
});
|
|
35773
35776
|
var HeaderToolbar = function (_a) {
|
|
@@ -35776,10 +35779,10 @@ var HeaderToolbar = function (_a) {
|
|
|
35776
35779
|
var classes = useStyles$a({ bgColor: bgColor, bgImageURL: bgImageURL, right: right, bgPosition: bgPosition, bgSize: bgSize, titleVisibility: titleVisibility, divider: divider });
|
|
35777
35780
|
return (React__default.createElement(Toolbar$2, { className: clsx('gds-header-toolbar', classes.bgWrapper, (_b = {}, _b['with-title'] = titleVisibility, _b)) },
|
|
35778
35781
|
React__default.createElement(Box$2, { className: clsx(classes.toolbarWrap) },
|
|
35779
|
-
React__default.createElement(Box$2, { className: clsx(classes.toolbarContainer) },
|
|
35782
|
+
React__default.createElement(Box$2, { className: clsx(classes.toolbarContainer, "gds-toolbar-title") },
|
|
35780
35783
|
title && (tooltip ? (React__default.createElement(Tooltip, { title: title, placement: "bottom-start" },
|
|
35781
|
-
React__default.createElement(Typography, { gutterBottom: true, variant: "
|
|
35782
|
-
left),
|
|
35784
|
+
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))),
|
|
35785
|
+
React__default.createElement(Box$2, { className: clsx(classes.toolbarContent) }, left)),
|
|
35783
35786
|
right && (React__default.createElement(Box$2, { className: clsx("gds-buttons-w-divider", classes.containerDivider) }, right)))));
|
|
35784
35787
|
};
|
|
35785
35788
|
|
|
@@ -36503,10 +36506,10 @@ var startOfDay$1 = /*#__PURE__*/Object.freeze({
|
|
|
36503
36506
|
/**
|
|
36504
36507
|
* @name isSameDay
|
|
36505
36508
|
* @category Day Helpers
|
|
36506
|
-
* @summary Are the given dates in the same day?
|
|
36509
|
+
* @summary Are the given dates in the same day (and year and month)?
|
|
36507
36510
|
*
|
|
36508
36511
|
* @description
|
|
36509
|
-
* Are the given dates in the same day?
|
|
36512
|
+
* Are the given dates in the same day (and year and month)?
|
|
36510
36513
|
*
|
|
36511
36514
|
* ### v2.0.0 breaking changes:
|
|
36512
36515
|
*
|
|
@@ -36514,13 +36517,23 @@ var startOfDay$1 = /*#__PURE__*/Object.freeze({
|
|
|
36514
36517
|
*
|
|
36515
36518
|
* @param {Date|Number} dateLeft - the first date to check
|
|
36516
36519
|
* @param {Date|Number} dateRight - the second date to check
|
|
36517
|
-
* @returns {Boolean} the dates are in the same day
|
|
36520
|
+
* @returns {Boolean} the dates are in the same day (and year and month)
|
|
36518
36521
|
* @throws {TypeError} 2 arguments required
|
|
36519
36522
|
*
|
|
36520
36523
|
* @example
|
|
36521
36524
|
* // Are 4 September 06:00:00 and 4 September 18:00:00 in the same day?
|
|
36522
36525
|
* var result = isSameDay(new Date(2014, 8, 4, 6, 0), new Date(2014, 8, 4, 18, 0))
|
|
36523
36526
|
* //=> true
|
|
36527
|
+
*
|
|
36528
|
+
* @example
|
|
36529
|
+
* // Are 4 September and 4 October in the same day?
|
|
36530
|
+
* var result = isSameDay(new Date(2014, 8, 4), new Date(2014, 9, 4))
|
|
36531
|
+
* //=> false
|
|
36532
|
+
*
|
|
36533
|
+
* @example
|
|
36534
|
+
* // Are 4 September, 2014 and 4 September, 2015 in the same day?
|
|
36535
|
+
* var result = isSameDay(new Date(2014, 8, 4), new Date(2015, 8, 4))
|
|
36536
|
+
* //=> false
|
|
36524
36537
|
*/
|
|
36525
36538
|
|
|
36526
36539
|
function isSameDay(dirtyDateLeft, dirtyDateRight) {
|
|
@@ -36817,7 +36830,7 @@ function buildLocalizeFn(args) {
|
|
|
36817
36830
|
valuesArray = args.values[_width] || args.values[_defaultWidth];
|
|
36818
36831
|
}
|
|
36819
36832
|
|
|
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
|
|
36833
|
+
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
36834
|
|
|
36822
36835
|
return valuesArray[index];
|
|
36823
36836
|
};
|
|
@@ -37236,101 +37249,6 @@ function subMilliseconds(dirtyDate, dirtyAmount) {
|
|
|
37236
37249
|
return addMilliseconds(dirtyDate, -amount);
|
|
37237
37250
|
}
|
|
37238
37251
|
|
|
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
37252
|
var MILLISECONDS_IN_DAY$1 = 86400000; // This function will be a part of public API when UTC function will be implemented.
|
|
37335
37253
|
// See issue: https://github.com/date-fns/date-fns/issues/376
|
|
37336
37254
|
|
|
@@ -37433,7 +37351,7 @@ function startOfUTCWeek(dirtyDate, dirtyOptions) {
|
|
|
37433
37351
|
|
|
37434
37352
|
function getUTCWeekYear(dirtyDate, dirtyOptions) {
|
|
37435
37353
|
requiredArgs(1, arguments);
|
|
37436
|
-
var date = toDate(dirtyDate
|
|
37354
|
+
var date = toDate(dirtyDate);
|
|
37437
37355
|
var year = date.getUTCFullYear();
|
|
37438
37356
|
var options = dirtyOptions || {};
|
|
37439
37357
|
var locale = options.locale;
|
|
@@ -37493,6 +37411,101 @@ function getUTCWeek(dirtyDate, options) {
|
|
|
37493
37411
|
return Math.round(diff / MILLISECONDS_IN_WEEK) + 1;
|
|
37494
37412
|
}
|
|
37495
37413
|
|
|
37414
|
+
function addLeadingZeros(number, targetLength) {
|
|
37415
|
+
var sign = number < 0 ? '-' : '';
|
|
37416
|
+
var output = Math.abs(number).toString();
|
|
37417
|
+
|
|
37418
|
+
while (output.length < targetLength) {
|
|
37419
|
+
output = '0' + output;
|
|
37420
|
+
}
|
|
37421
|
+
|
|
37422
|
+
return sign + output;
|
|
37423
|
+
}
|
|
37424
|
+
|
|
37425
|
+
/*
|
|
37426
|
+
* | | Unit | | Unit |
|
|
37427
|
+
* |-----|--------------------------------|-----|--------------------------------|
|
|
37428
|
+
* | a | AM, PM | A* | |
|
|
37429
|
+
* | d | Day of month | D | |
|
|
37430
|
+
* | h | Hour [1-12] | H | Hour [0-23] |
|
|
37431
|
+
* | m | Minute | M | Month |
|
|
37432
|
+
* | s | Second | S | Fraction of second |
|
|
37433
|
+
* | y | Year (abs) | Y | |
|
|
37434
|
+
*
|
|
37435
|
+
* Letters marked by * are not implemented but reserved by Unicode standard.
|
|
37436
|
+
*/
|
|
37437
|
+
|
|
37438
|
+
var formatters$2 = {
|
|
37439
|
+
// Year
|
|
37440
|
+
y: function (date, token) {
|
|
37441
|
+
// From http://www.unicode.org/reports/tr35/tr35-31/tr35-dates.html#Date_Format_tokens
|
|
37442
|
+
// | Year | y | yy | yyy | yyyy | yyyyy |
|
|
37443
|
+
// |----------|-------|----|-------|-------|-------|
|
|
37444
|
+
// | AD 1 | 1 | 01 | 001 | 0001 | 00001 |
|
|
37445
|
+
// | AD 12 | 12 | 12 | 012 | 0012 | 00012 |
|
|
37446
|
+
// | AD 123 | 123 | 23 | 123 | 0123 | 00123 |
|
|
37447
|
+
// | AD 1234 | 1234 | 34 | 1234 | 1234 | 01234 |
|
|
37448
|
+
// | AD 12345 | 12345 | 45 | 12345 | 12345 | 12345 |
|
|
37449
|
+
var signedYear = date.getUTCFullYear(); // Returns 1 for 1 BC (which is year 0 in JavaScript)
|
|
37450
|
+
|
|
37451
|
+
var year = signedYear > 0 ? signedYear : 1 - signedYear;
|
|
37452
|
+
return addLeadingZeros(token === 'yy' ? year % 100 : year, token.length);
|
|
37453
|
+
},
|
|
37454
|
+
// Month
|
|
37455
|
+
M: function (date, token) {
|
|
37456
|
+
var month = date.getUTCMonth();
|
|
37457
|
+
return token === 'M' ? String(month + 1) : addLeadingZeros(month + 1, 2);
|
|
37458
|
+
},
|
|
37459
|
+
// Day of the month
|
|
37460
|
+
d: function (date, token) {
|
|
37461
|
+
return addLeadingZeros(date.getUTCDate(), token.length);
|
|
37462
|
+
},
|
|
37463
|
+
// AM or PM
|
|
37464
|
+
a: function (date, token) {
|
|
37465
|
+
var dayPeriodEnumValue = date.getUTCHours() / 12 >= 1 ? 'pm' : 'am';
|
|
37466
|
+
|
|
37467
|
+
switch (token) {
|
|
37468
|
+
case 'a':
|
|
37469
|
+
case 'aa':
|
|
37470
|
+
return dayPeriodEnumValue.toUpperCase();
|
|
37471
|
+
|
|
37472
|
+
case 'aaa':
|
|
37473
|
+
return dayPeriodEnumValue;
|
|
37474
|
+
|
|
37475
|
+
case 'aaaaa':
|
|
37476
|
+
return dayPeriodEnumValue[0];
|
|
37477
|
+
|
|
37478
|
+
case 'aaaa':
|
|
37479
|
+
default:
|
|
37480
|
+
return dayPeriodEnumValue === 'am' ? 'a.m.' : 'p.m.';
|
|
37481
|
+
}
|
|
37482
|
+
},
|
|
37483
|
+
// Hour [1-12]
|
|
37484
|
+
h: function (date, token) {
|
|
37485
|
+
return addLeadingZeros(date.getUTCHours() % 12 || 12, token.length);
|
|
37486
|
+
},
|
|
37487
|
+
// Hour [0-23]
|
|
37488
|
+
H: function (date, token) {
|
|
37489
|
+
return addLeadingZeros(date.getUTCHours(), token.length);
|
|
37490
|
+
},
|
|
37491
|
+
// Minute
|
|
37492
|
+
m: function (date, token) {
|
|
37493
|
+
return addLeadingZeros(date.getUTCMinutes(), token.length);
|
|
37494
|
+
},
|
|
37495
|
+
// Second
|
|
37496
|
+
s: function (date, token) {
|
|
37497
|
+
return addLeadingZeros(date.getUTCSeconds(), token.length);
|
|
37498
|
+
},
|
|
37499
|
+
// Fraction of second
|
|
37500
|
+
S: function (date, token) {
|
|
37501
|
+
var numberOfDigits = token.length;
|
|
37502
|
+
var milliseconds = date.getUTCMilliseconds();
|
|
37503
|
+
var fractionalSeconds = Math.floor(milliseconds * Math.pow(10, numberOfDigits - 3));
|
|
37504
|
+
return addLeadingZeros(fractionalSeconds, token.length);
|
|
37505
|
+
}
|
|
37506
|
+
};
|
|
37507
|
+
var lightFormatters = formatters$2;
|
|
37508
|
+
|
|
37496
37509
|
var dayPeriodEnum = {
|
|
37497
37510
|
am: 'am',
|
|
37498
37511
|
pm: 'pm',
|
|
@@ -38404,7 +38417,7 @@ function timeLongFormatter(pattern, formatLong) {
|
|
|
38404
38417
|
}
|
|
38405
38418
|
|
|
38406
38419
|
function dateTimeLongFormatter(pattern, formatLong) {
|
|
38407
|
-
var matchResult = pattern.match(/(P+)(p+)?/);
|
|
38420
|
+
var matchResult = pattern.match(/(P+)(p+)?/) || [];
|
|
38408
38421
|
var datePattern = matchResult[1];
|
|
38409
38422
|
var timePattern = matchResult[2];
|
|
38410
38423
|
|
|
@@ -38752,7 +38765,7 @@ var unescapedLatinCharacterRegExp$1 = /[a-zA-Z]/;
|
|
|
38752
38765
|
* 8. `YY` and `YYYY` tokens represent week-numbering years but they are often confused with years.
|
|
38753
38766
|
* You should enable `options.useAdditionalWeekYearTokens` to use them. See: https://git.io/fxCyr
|
|
38754
38767
|
*
|
|
38755
|
-
* 9. `D` and `DD` tokens represent days of the year but they are
|
|
38768
|
+
* 9. `D` and `DD` tokens represent days of the year but they are often confused with days of the month.
|
|
38756
38769
|
* You should enable `options.useAdditionalDayOfYearTokens` to use them. See: https://git.io/fxCyr
|
|
38757
38770
|
*
|
|
38758
38771
|
* ### v2.0.0 breaking changes:
|
|
@@ -41389,7 +41402,7 @@ var parsers = {
|
|
|
41389
41402
|
date.setUTCHours(dayPeriodEnumToHours(value), 0, 0, 0);
|
|
41390
41403
|
return date;
|
|
41391
41404
|
},
|
|
41392
|
-
incompatibleTokens: ['b', 'B', 'H', '
|
|
41405
|
+
incompatibleTokens: ['b', 'B', 'H', 'k', 't', 'T']
|
|
41393
41406
|
},
|
|
41394
41407
|
// AM, PM, midnight
|
|
41395
41408
|
b: {
|
|
@@ -41431,7 +41444,7 @@ var parsers = {
|
|
|
41431
41444
|
date.setUTCHours(dayPeriodEnumToHours(value), 0, 0, 0);
|
|
41432
41445
|
return date;
|
|
41433
41446
|
},
|
|
41434
|
-
incompatibleTokens: ['a', 'B', 'H', '
|
|
41447
|
+
incompatibleTokens: ['a', 'B', 'H', 'k', 't', 'T']
|
|
41435
41448
|
},
|
|
41436
41449
|
// in the morning, in the afternoon, in the evening, at night
|
|
41437
41450
|
B: {
|
|
@@ -41567,7 +41580,7 @@ var parsers = {
|
|
|
41567
41580
|
|
|
41568
41581
|
return date;
|
|
41569
41582
|
},
|
|
41570
|
-
incompatibleTokens: ['
|
|
41583
|
+
incompatibleTokens: ['h', 'H', 'k', 't', 'T']
|
|
41571
41584
|
},
|
|
41572
41585
|
// Hour [1-24]
|
|
41573
41586
|
k: {
|
|
@@ -41925,7 +41938,7 @@ var unescapedLatinCharacterRegExp = /[a-zA-Z]/;
|
|
|
41925
41938
|
* | | | tt | ... | 2 |
|
|
41926
41939
|
* | Fraction of second | 30 | S | 0, 1, ..., 9 | |
|
|
41927
41940
|
* | | | SS | 00, 01, ..., 99 | |
|
|
41928
|
-
* | | | SSS | 000,
|
|
41941
|
+
* | | | SSS | 000, 001, ..., 999 | |
|
|
41929
41942
|
* | | | SSSS | ... | 2 |
|
|
41930
41943
|
* | Milliseconds timestamp | 20 | T | 512969520900 | |
|
|
41931
41944
|
* | | | TT | ... | 2 |
|
|
@@ -43534,10 +43547,10 @@ var differenceInDays$1 = /*#__PURE__*/Object.freeze({
|
|
|
43534
43547
|
/**
|
|
43535
43548
|
* @name isSameMonth
|
|
43536
43549
|
* @category Month Helpers
|
|
43537
|
-
* @summary Are the given dates in the same month?
|
|
43550
|
+
* @summary Are the given dates in the same month (and year)?
|
|
43538
43551
|
*
|
|
43539
43552
|
* @description
|
|
43540
|
-
* Are the given dates in the same month?
|
|
43553
|
+
* Are the given dates in the same month (and year)?
|
|
43541
43554
|
*
|
|
43542
43555
|
* ### v2.0.0 breaking changes:
|
|
43543
43556
|
*
|
|
@@ -43545,13 +43558,18 @@ var differenceInDays$1 = /*#__PURE__*/Object.freeze({
|
|
|
43545
43558
|
*
|
|
43546
43559
|
* @param {Date|Number} dateLeft - the first date to check
|
|
43547
43560
|
* @param {Date|Number} dateRight - the second date to check
|
|
43548
|
-
* @returns {Boolean} the dates are in the same month
|
|
43561
|
+
* @returns {Boolean} the dates are in the same month (and year)
|
|
43549
43562
|
* @throws {TypeError} 2 arguments required
|
|
43550
43563
|
*
|
|
43551
43564
|
* @example
|
|
43552
43565
|
* // Are 2 September 2014 and 25 September 2014 in the same month?
|
|
43553
43566
|
* var result = isSameMonth(new Date(2014, 8, 2), new Date(2014, 8, 25))
|
|
43554
43567
|
* //=> true
|
|
43568
|
+
*
|
|
43569
|
+
* @example
|
|
43570
|
+
* // Are 2 September 2014 and 25 September 2015 in the same month?
|
|
43571
|
+
* var result = isSameMonth(new Date(2014, 8, 2), new Date(2015, 8, 25))
|
|
43572
|
+
* //=> false
|
|
43555
43573
|
*/
|
|
43556
43574
|
|
|
43557
43575
|
function isSameMonth(dirtyDateLeft, dirtyDateRight) {
|
|
@@ -46892,6 +46910,19 @@ var themeWeb = createTheme({
|
|
|
46892
46910
|
padding: 0,
|
|
46893
46911
|
},
|
|
46894
46912
|
},
|
|
46913
|
+
MuiTypography: {
|
|
46914
|
+
root: {
|
|
46915
|
+
"&.MuiTypography-h4": {
|
|
46916
|
+
".gds-toolbar-title &": {
|
|
46917
|
+
textTransform: 'uppercase',
|
|
46918
|
+
color: pallettes$1.brand.primary.main + " !important",
|
|
46919
|
+
fontSize: typography$1.h4.fontSize,
|
|
46920
|
+
fontWeight: typography$1.h4.fontWeight,
|
|
46921
|
+
lineHeight: typography$1.h4.lineHeight,
|
|
46922
|
+
}
|
|
46923
|
+
}
|
|
46924
|
+
},
|
|
46925
|
+
},
|
|
46895
46926
|
MuiAppBar: {
|
|
46896
46927
|
root: {
|
|
46897
46928
|
color: common.brand.neutral.white,
|
|
@@ -47640,6 +47671,7 @@ var themeWeb = createTheme({
|
|
|
47640
47671
|
lineHeight: 1.5715,
|
|
47641
47672
|
letterSpacing: '0.01rem',
|
|
47642
47673
|
padding: '.25rem 1.25rem',
|
|
47674
|
+
'&.gds-startIcon': {},
|
|
47643
47675
|
'&:hover': {
|
|
47644
47676
|
backgroundColor: pallettes$1.brand.primary.transparent,
|
|
47645
47677
|
color: pallettes$1.brand.primary.main,
|
|
@@ -47661,11 +47693,13 @@ var themeWeb = createTheme({
|
|
|
47661
47693
|
backgroundColor: pallettes$1.brand.primary.main,
|
|
47662
47694
|
color: pallettes$1.grey['50'],
|
|
47663
47695
|
},
|
|
47664
|
-
|
|
47665
|
-
paddingLeft: 32,
|
|
47696
|
+
'&.gds-menu-item-checked': {
|
|
47666
47697
|
"&:not($selected) svg": {
|
|
47667
47698
|
color: pallettes$1.pallette.action.selected,
|
|
47668
47699
|
},
|
|
47700
|
+
},
|
|
47701
|
+
"&.gds-menu-item-icon": {
|
|
47702
|
+
paddingLeft: 32,
|
|
47669
47703
|
"& .MuiListItemIcon-root": {
|
|
47670
47704
|
position: 'absolute',
|
|
47671
47705
|
left: 8,
|
|
@@ -48015,6 +48049,9 @@ var themeWeb = createTheme({
|
|
|
48015
48049
|
paddingRight: 16,
|
|
48016
48050
|
'& .gds-buttons-w-divider': {
|
|
48017
48051
|
paddingLeft: 16,
|
|
48052
|
+
"& button:last-child": {
|
|
48053
|
+
marginLeft: '16px'
|
|
48054
|
+
}
|
|
48018
48055
|
},
|
|
48019
48056
|
'& .MuiInputBase-root, & .MuiButtonBase-root': {
|
|
48020
48057
|
maxHeight: 32,
|
|
@@ -49253,6 +49290,12 @@ var themeDesktop = createTheme({
|
|
|
49253
49290
|
MuiTypography: {
|
|
49254
49291
|
root: {
|
|
49255
49292
|
color: pallettes.brand.text.main,
|
|
49293
|
+
"&.MuiTypography-h4": {
|
|
49294
|
+
".gds-toolbar-title &": {
|
|
49295
|
+
marginBottom: '0',
|
|
49296
|
+
color: pallettes.brand.primary.light + " !important",
|
|
49297
|
+
}
|
|
49298
|
+
}
|
|
49256
49299
|
},
|
|
49257
49300
|
},
|
|
49258
49301
|
MuiTooltip: {
|