@northlight/ui 2.12.4 → 2.12.5

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.
@@ -4339,7 +4339,7 @@ const getQuickSelectOptions = (state, locale, fiscalStartMonth, fiscalStartDay)
4339
4339
  start: startOfMonth(thisDay),
4340
4340
  end: endOfMonth(thisDay)
4341
4341
  },
4342
- label: "This month"
4342
+ label: "This Month"
4343
4343
  };
4344
4344
  const lastMonth = {
4345
4345
  value: {
@@ -4416,6 +4416,16 @@ const getQuickSelectOptions = (state, locale, fiscalStartMonth, fiscalStartDay)
4416
4416
  },
4417
4417
  label: "Last Fiscal Year"
4418
4418
  };
4419
+ const yearToDate = {
4420
+ value: {
4421
+ start: startOfMonthWithDays(
4422
+ startOfYear(thisDay),
4423
+ { months: fiscalStartMonth, days: fiscalStartDay }
4424
+ ),
4425
+ end: thisDay
4426
+ },
4427
+ label: "Year to Date"
4428
+ };
4419
4429
  const F1 = {
4420
4430
  value: {
4421
4431
  start: startOfMonthWithDays(
@@ -4476,6 +4486,7 @@ const getQuickSelectOptions = (state, locale, fiscalStartMonth, fiscalStartDay)
4476
4486
  thisMonth,
4477
4487
  lastMonth,
4478
4488
  thisYear,
4489
+ yearToDate,
4479
4490
  lastYear,
4480
4491
  nextMonth,
4481
4492
  nextThreeMonths,