@commercetools-uikit/calendar-utils 20.3.0 → 20.3.1
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.
|
@@ -421,29 +421,39 @@ var CalendarDay$1 = CalendarDay;
|
|
|
421
421
|
|
|
422
422
|
var messages = reactIntl.defineMessages({
|
|
423
423
|
todayTooltip: {
|
|
424
|
-
id:
|
|
425
|
-
|
|
426
|
-
|
|
424
|
+
id: "UIKit.CalendarHeader.todayTooltip",
|
|
425
|
+
defaultMessage: [{
|
|
426
|
+
"type": 0,
|
|
427
|
+
"value": "Today"
|
|
428
|
+
}]
|
|
427
429
|
},
|
|
428
430
|
previousMonthTooltip: {
|
|
429
|
-
id:
|
|
430
|
-
|
|
431
|
-
|
|
431
|
+
id: "UIKit.CalendarHeader.previousMonthTooltip",
|
|
432
|
+
defaultMessage: [{
|
|
433
|
+
"type": 0,
|
|
434
|
+
"value": "Previous month"
|
|
435
|
+
}]
|
|
432
436
|
},
|
|
433
437
|
nextMonthTooltip: {
|
|
434
|
-
id:
|
|
435
|
-
|
|
436
|
-
|
|
438
|
+
id: "UIKit.CalendarHeader.nextMonthTooltip",
|
|
439
|
+
defaultMessage: [{
|
|
440
|
+
"type": 0,
|
|
441
|
+
"value": "Next month"
|
|
442
|
+
}]
|
|
437
443
|
},
|
|
438
444
|
previousYearTooltip: {
|
|
439
|
-
id:
|
|
440
|
-
|
|
441
|
-
|
|
445
|
+
id: "UIKit.CalendarHeader.previousYearTooltip",
|
|
446
|
+
defaultMessage: [{
|
|
447
|
+
"type": 0,
|
|
448
|
+
"value": "Previous year"
|
|
449
|
+
}]
|
|
442
450
|
},
|
|
443
451
|
nextYearTooltip: {
|
|
444
|
-
id:
|
|
445
|
-
|
|
446
|
-
|
|
452
|
+
id: "UIKit.CalendarHeader.nextYearTooltip",
|
|
453
|
+
defaultMessage: [{
|
|
454
|
+
"type": 0,
|
|
455
|
+
"value": "Next year"
|
|
456
|
+
}]
|
|
447
457
|
}
|
|
448
458
|
});
|
|
449
459
|
|
|
@@ -589,7 +599,7 @@ let CalendarMenu = /*#__PURE__*/function (_Component) {
|
|
|
589
599
|
CalendarMenu.displayName = 'CalendarMenu';
|
|
590
600
|
|
|
591
601
|
// NOTE: This string will be replaced on build time with the package version.
|
|
592
|
-
var version = "20.3.
|
|
602
|
+
var version = "20.3.1";
|
|
593
603
|
|
|
594
604
|
exports.CalendarBody = CalendarBody$1;
|
|
595
605
|
exports.CalendarContent = CalendarContent$1;
|
|
@@ -403,29 +403,39 @@ var CalendarDay$1 = CalendarDay;
|
|
|
403
403
|
|
|
404
404
|
var messages = reactIntl.defineMessages({
|
|
405
405
|
todayTooltip: {
|
|
406
|
-
id:
|
|
407
|
-
|
|
408
|
-
|
|
406
|
+
id: "UIKit.CalendarHeader.todayTooltip",
|
|
407
|
+
defaultMessage: [{
|
|
408
|
+
"type": 0,
|
|
409
|
+
"value": "Today"
|
|
410
|
+
}]
|
|
409
411
|
},
|
|
410
412
|
previousMonthTooltip: {
|
|
411
|
-
id:
|
|
412
|
-
|
|
413
|
-
|
|
413
|
+
id: "UIKit.CalendarHeader.previousMonthTooltip",
|
|
414
|
+
defaultMessage: [{
|
|
415
|
+
"type": 0,
|
|
416
|
+
"value": "Previous month"
|
|
417
|
+
}]
|
|
414
418
|
},
|
|
415
419
|
nextMonthTooltip: {
|
|
416
|
-
id:
|
|
417
|
-
|
|
418
|
-
|
|
420
|
+
id: "UIKit.CalendarHeader.nextMonthTooltip",
|
|
421
|
+
defaultMessage: [{
|
|
422
|
+
"type": 0,
|
|
423
|
+
"value": "Next month"
|
|
424
|
+
}]
|
|
419
425
|
},
|
|
420
426
|
previousYearTooltip: {
|
|
421
|
-
id:
|
|
422
|
-
|
|
423
|
-
|
|
427
|
+
id: "UIKit.CalendarHeader.previousYearTooltip",
|
|
428
|
+
defaultMessage: [{
|
|
429
|
+
"type": 0,
|
|
430
|
+
"value": "Previous year"
|
|
431
|
+
}]
|
|
424
432
|
},
|
|
425
433
|
nextYearTooltip: {
|
|
426
|
-
id:
|
|
427
|
-
|
|
428
|
-
|
|
434
|
+
id: "UIKit.CalendarHeader.nextYearTooltip",
|
|
435
|
+
defaultMessage: [{
|
|
436
|
+
"type": 0,
|
|
437
|
+
"value": "Next year"
|
|
438
|
+
}]
|
|
429
439
|
}
|
|
430
440
|
});
|
|
431
441
|
|
|
@@ -558,7 +568,7 @@ let CalendarMenu = /*#__PURE__*/function (_Component) {
|
|
|
558
568
|
CalendarMenu.displayName = 'CalendarMenu';
|
|
559
569
|
|
|
560
570
|
// NOTE: This string will be replaced on build time with the package version.
|
|
561
|
-
var version = "20.3.
|
|
571
|
+
var version = "20.3.1";
|
|
562
572
|
|
|
563
573
|
exports.CalendarBody = CalendarBody$1;
|
|
564
574
|
exports.CalendarContent = CalendarContent$1;
|
|
@@ -391,29 +391,39 @@ var CalendarDay$1 = CalendarDay;
|
|
|
391
391
|
|
|
392
392
|
var messages = defineMessages({
|
|
393
393
|
todayTooltip: {
|
|
394
|
-
id:
|
|
395
|
-
|
|
396
|
-
|
|
394
|
+
id: "UIKit.CalendarHeader.todayTooltip",
|
|
395
|
+
defaultMessage: [{
|
|
396
|
+
"type": 0,
|
|
397
|
+
"value": "Today"
|
|
398
|
+
}]
|
|
397
399
|
},
|
|
398
400
|
previousMonthTooltip: {
|
|
399
|
-
id:
|
|
400
|
-
|
|
401
|
-
|
|
401
|
+
id: "UIKit.CalendarHeader.previousMonthTooltip",
|
|
402
|
+
defaultMessage: [{
|
|
403
|
+
"type": 0,
|
|
404
|
+
"value": "Previous month"
|
|
405
|
+
}]
|
|
402
406
|
},
|
|
403
407
|
nextMonthTooltip: {
|
|
404
|
-
id:
|
|
405
|
-
|
|
406
|
-
|
|
408
|
+
id: "UIKit.CalendarHeader.nextMonthTooltip",
|
|
409
|
+
defaultMessage: [{
|
|
410
|
+
"type": 0,
|
|
411
|
+
"value": "Next month"
|
|
412
|
+
}]
|
|
407
413
|
},
|
|
408
414
|
previousYearTooltip: {
|
|
409
|
-
id:
|
|
410
|
-
|
|
411
|
-
|
|
415
|
+
id: "UIKit.CalendarHeader.previousYearTooltip",
|
|
416
|
+
defaultMessage: [{
|
|
417
|
+
"type": 0,
|
|
418
|
+
"value": "Previous year"
|
|
419
|
+
}]
|
|
412
420
|
},
|
|
413
421
|
nextYearTooltip: {
|
|
414
|
-
id:
|
|
415
|
-
|
|
416
|
-
|
|
422
|
+
id: "UIKit.CalendarHeader.nextYearTooltip",
|
|
423
|
+
defaultMessage: [{
|
|
424
|
+
"type": 0,
|
|
425
|
+
"value": "Next year"
|
|
426
|
+
}]
|
|
417
427
|
}
|
|
418
428
|
});
|
|
419
429
|
|
|
@@ -559,6 +569,6 @@ let CalendarMenu = /*#__PURE__*/function (_Component) {
|
|
|
559
569
|
CalendarMenu.displayName = 'CalendarMenu';
|
|
560
570
|
|
|
561
571
|
// NOTE: This string will be replaced on build time with the package version.
|
|
562
|
-
var version = "20.3.
|
|
572
|
+
var version = "20.3.1";
|
|
563
573
|
|
|
564
574
|
export { CalendarBody$1 as CalendarBody, CalendarContent$1 as CalendarContent, CalendarDay$1 as CalendarDay, CalendarHeader$1 as CalendarHeader, CalendarMenu, changeMonth, createCalendarItems, createItemRangeToString, createItemToString, formatDate, formatRange, getCalendarDayLabel, getDateInMonth, getDaysInMonth, getExampleDateStrings, getIsDateInRange, getMonthCalendarLabel, getNextDay, getPaddingDayCount, getPreviousDay, getToday, getWeekdayNames, getYearCalendarLabel, isBetween, isSameDay, parseInputToDate, version };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-uikit/calendar-utils",
|
|
3
3
|
"description": "Utilities to work with values for a calendar.",
|
|
4
|
-
"version": "20.3.
|
|
4
|
+
"version": "20.3.1",
|
|
5
5
|
"bugs": "https://github.com/commercetools/ui-kit/issues",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -21,19 +21,19 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@babel/runtime": "^7.20.13",
|
|
23
23
|
"@babel/runtime-corejs3": "^7.20.13",
|
|
24
|
-
"@commercetools-uikit/accessible-button": "20.3.
|
|
25
|
-
"@commercetools-uikit/design-system": "20.3.
|
|
26
|
-
"@commercetools-uikit/hooks": "20.3.
|
|
27
|
-
"@commercetools-uikit/icons": "20.3.
|
|
28
|
-
"@commercetools-uikit/input-utils": "20.3.
|
|
29
|
-
"@commercetools-uikit/secondary-icon-button": "20.3.
|
|
30
|
-
"@commercetools-uikit/spacings-inline": "20.3.
|
|
31
|
-
"@commercetools-uikit/text": "20.3.
|
|
32
|
-
"@commercetools-uikit/tooltip": "20.3.
|
|
33
|
-
"@commercetools-uikit/utils": "20.3.
|
|
24
|
+
"@commercetools-uikit/accessible-button": "20.3.1",
|
|
25
|
+
"@commercetools-uikit/design-system": "20.3.1",
|
|
26
|
+
"@commercetools-uikit/hooks": "20.3.1",
|
|
27
|
+
"@commercetools-uikit/icons": "20.3.1",
|
|
28
|
+
"@commercetools-uikit/input-utils": "20.3.1",
|
|
29
|
+
"@commercetools-uikit/secondary-icon-button": "20.3.1",
|
|
30
|
+
"@commercetools-uikit/spacings-inline": "20.3.1",
|
|
31
|
+
"@commercetools-uikit/text": "20.3.1",
|
|
32
|
+
"@commercetools-uikit/tooltip": "20.3.1",
|
|
33
|
+
"@commercetools-uikit/utils": "20.3.1",
|
|
34
34
|
"@emotion/react": "^11.10.5",
|
|
35
35
|
"@emotion/styled": "^11.10.5",
|
|
36
|
-
"lodash": "4.17.
|
|
36
|
+
"lodash": "4.17.23",
|
|
37
37
|
"react-select": "5.10.2"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|