@progress/kendo-themes-html 5.5.1-dev.0 → 5.6.0

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.
Files changed (79) hide show
  1. package/dist/calendar/calendar-cell.js +7 -1
  2. package/dist/calendar/calendar-cell.js.map +2 -2
  3. package/dist/calendar/calendar-footer.js +1 -2
  4. package/dist/calendar/calendar-footer.js.map +2 -2
  5. package/dist/calendar/calendar-table-head.js +42 -21
  6. package/dist/calendar/calendar-table-head.js.map +2 -2
  7. package/dist/calendar/calendar-table.js +42 -21
  8. package/dist/calendar/calendar-table.js.map +2 -2
  9. package/dist/calendar/calendar-view.js +42 -21
  10. package/dist/calendar/calendar-view.js.map +2 -2
  11. package/dist/calendar/calendar.js +42 -21
  12. package/dist/calendar/calendar.js.map +2 -2
  13. package/dist/calendar/tests/calendar-classic-jquery.js +32 -32
  14. package/dist/calendar/tests/calendar-classic-jquery.js.map +2 -2
  15. package/dist/calendar/tests/calendar-infinite-rtl.js +67 -67
  16. package/dist/calendar/tests/calendar-infinite-rtl.js.map +2 -2
  17. package/dist/calendar/tests/calendar-infinite.js +68 -68
  18. package/dist/calendar/tests/calendar-infinite.js.map +2 -2
  19. package/dist/calendar/tests/calendar-modern-angular.js +42 -21
  20. package/dist/calendar/tests/calendar-modern-angular.js.map +2 -2
  21. package/dist/calendar/tests/calendar-modern-jquery.js +42 -21
  22. package/dist/calendar/tests/calendar-modern-jquery.js.map +2 -2
  23. package/dist/datepicker/tests/datepicker-adaptive.js +779 -0
  24. package/dist/datepicker/tests/datepicker-adaptive.js.map +7 -0
  25. package/dist/datetime-selector/tests/datetime-selector.js +42 -21
  26. package/dist/datetime-selector/tests/datetime-selector.js.map +2 -2
  27. package/dist/dropdownlist/tests/dropdownlist-adaptive.js +488 -0
  28. package/dist/dropdownlist/tests/dropdownlist-adaptive.js.map +7 -0
  29. package/dist/multiviewcalendar/multiviewcalendar.js +44 -22
  30. package/dist/multiviewcalendar/multiviewcalendar.js.map +2 -2
  31. package/dist/multiviewcalendar/tests/multiviewcalendar-angular.js +44 -22
  32. package/dist/multiviewcalendar/tests/multiviewcalendar-angular.js.map +2 -2
  33. package/dist/multiviewcalendar/tests/multiviewcalendar-jquery.js +44 -22
  34. package/dist/multiviewcalendar/tests/multiviewcalendar-jquery.js.map +2 -2
  35. package/dist/multiviewcalendar/tests/multiviewcalendar-react.js +44 -22
  36. package/dist/multiviewcalendar/tests/multiviewcalendar-react.js.map +2 -2
  37. package/dist/multiviewcalendar/tests/multiviewcalendar-vertical-angular.js +44 -22
  38. package/dist/multiviewcalendar/tests/multiviewcalendar-vertical-angular.js.map +2 -2
  39. package/dist/multiviewcalendar/tests/multiviewcalendar-vertical-jquery.js +44 -22
  40. package/dist/multiviewcalendar/tests/multiviewcalendar-vertical-jquery.js.map +2 -2
  41. package/dist/multiviewcalendar/tests/multiviewcalendar-vertical-react.js +44 -22
  42. package/dist/multiviewcalendar/tests/multiviewcalendar-vertical-react.js.map +2 -2
  43. package/dist/progressbar/tests/circular-progressbar-angular.js +59 -0
  44. package/dist/progressbar/tests/circular-progressbar-angular.js.map +7 -0
  45. package/dist/signature/index.js +203 -0
  46. package/dist/signature/index.js.map +7 -0
  47. package/dist/signature/signature.js +203 -0
  48. package/dist/signature/signature.js.map +7 -0
  49. package/dist/signature/tests/signature-flat.js +127 -367
  50. package/dist/signature/tests/signature-flat.js.map +3 -3
  51. package/dist/signature/tests/signature-outline.js +127 -367
  52. package/dist/signature/tests/signature-outline.js.map +3 -3
  53. package/dist/signature/tests/signature.js +112 -367
  54. package/dist/signature/tests/signature.js.map +3 -3
  55. package/dist/time-selector/time-selector.js +294 -0
  56. package/dist/time-selector/time-selector.js.map +7 -0
  57. package/dist/timepicker/tests/timepicker-adaptive.js +363 -0
  58. package/dist/timepicker/tests/timepicker-adaptive.js.map +7 -0
  59. package/package.json +2 -2
  60. package/src/calendar/calendar-cell.tsx +10 -1
  61. package/src/calendar/calendar-footer.tsx +1 -1
  62. package/src/calendar/calendar-table.tsx +15 -13
  63. package/src/calendar/calendar-view.tsx +3 -0
  64. package/src/calendar/calendar.tsx +8 -1
  65. package/src/calendar/tests/calendar-classic-jquery.tsx +32 -32
  66. package/src/calendar/tests/calendar-infinite-rtl.tsx +67 -67
  67. package/src/calendar/tests/calendar-infinite.tsx +68 -68
  68. package/src/datepicker/tests/datepicker-adaptive.tsx +76 -0
  69. package/src/dropdownlist/tests/dropdownlist-adaptive.tsx +96 -0
  70. package/src/multiviewcalendar/multiviewcalendar.tsx +1 -0
  71. package/src/progressbar/tests/circular-progressbar-angular.tsx +35 -0
  72. package/src/signature/index.tsx +1 -0
  73. package/src/signature/signature.tsx +112 -0
  74. package/src/signature/tests/signature-flat.tsx +47 -433
  75. package/src/signature/tests/signature-outline.tsx +47 -433
  76. package/src/signature/tests/signature.tsx +47 -433
  77. package/src/time-selector/index.ts +1 -0
  78. package/src/time-selector/time-selector.tsx +186 -0
  79. package/src/timepicker/tests/timepicker-adaptive.tsx +76 -0
@@ -55,6 +55,9 @@
55
55
  active,
56
56
  selected,
57
57
  disabled,
58
+ rangeStart,
59
+ rangeMid,
60
+ rangeEnd,
58
61
  ...htmlAttributes
59
62
  } = this.props;
60
63
  const cellType = headerCell ? "th" : "td";
@@ -70,7 +73,10 @@
70
73
  "k-today": today,
71
74
  "k-weekend": weekend,
72
75
  "k-other-month": otherMonth,
73
- "k-alt": weekCell
76
+ "k-alt": weekCell,
77
+ "k-range-start": rangeStart,
78
+ "k-range-mid": rangeMid,
79
+ "k-range-end": rangeEnd
74
80
  }
75
81
  ];
76
82
  if (headerCell) {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/calendar/calendar-cell.tsx", "../../src/utils/classNames.ts"],
4
- "sourcesContent": ["import * as React from 'react';\nimport { classNames } from '../utils';\n\n\nexport interface CalendarCellProps {\n className?: string;\n text?: string;\n headerCell?: boolean;\n today?: boolean;\n weekend?: boolean;\n otherMonth?: boolean;\n showOtherMonth?: boolean;\n weekCell?: boolean;\n hover?: boolean;\n focus?: boolean;\n active?: boolean;\n selected?: boolean\n disabled?: boolean;\n}\n\nexport class CalendarCell extends React.Component<CalendarCellProps> {\n\n render() {\n const {\n className,\n text,\n headerCell,\n today,\n weekend,\n otherMonth,\n showOtherMonth,\n weekCell,\n hover,\n focus,\n active,\n selected,\n disabled,\n ...htmlAttributes\n } = this.props;\n\n const cellType = headerCell ? 'th' : 'td';\n\n const calendarCellClasses = [\n className,\n `k-calendar-${cellType}`,\n {\n 'k-hover': hover,\n 'k-focus': focus,\n 'k-active': active,\n 'k-selected': selected,\n 'k-disabled': disabled,\n 'k-today': today,\n 'k-weekend': weekend,\n 'k-other-month': otherMonth,\n 'k-alt': weekCell,\n }\n ];\n\n if (headerCell) {\n return (\n <th {...htmlAttributes} className={classNames(calendarCellClasses)}>\n {text}\n </th>\n );\n }\n\n if (weekCell) {\n return (\n <td {...htmlAttributes} className={classNames(calendarCellClasses)}>\n {text}\n </td>\n );\n }\n\n return (\n <td {...htmlAttributes} className={classNames(calendarCellClasses)}>\n {otherMonth && !showOtherMonth\n ? ''\n : <span className=\"k-link\">{text}</span>\n }\n </td>\n );\n\n }\n}\n", "/* eslint-disable no-return-assign */\nexport const classNames = (...args): string => {\n const result = {};\n\n const addLeafKeys = (arg) => {\n (typeof arg === 'object'\n ? Object.keys(arg).forEach((key) => {\n result[key] = arg[key];\n })\n : (result[arg] = true)\n );\n };\n\n const addKeys = (list) =>\n list\n .filter((arg) => arg !== true && Boolean(arg))\n .map((arg: any) =>\n (Array.isArray(arg) ? addKeys(arg) : addLeafKeys(arg))\n );\n\n addKeys(args);\n\n return Object.keys(result)\n .map((key) => (result[key] && key) || null)\n .filter((el) => el !== null)\n .join(' ');\n};\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,cAAuB;;;ACChB,MAAM,aAAa,IAAI,SAAiB;AAC3C,UAAM,SAAS,CAAC;AAEhB,UAAM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AAAA,MAER;AAEA,aACI,oCAAC;AAAA,QAAI,GAAG;AAAA,QAAgB,WAAW,WAAW,mBAAmB;AAAA,SAC5D,cAAc,CAAC,iBACV,KACA,oCAAC;AAAA,QAAK,WAAU;AAAA,SAAU,IAAK,CAEzC;AAAA,IAGR;AAAA,EACJ;",
4
+ "sourcesContent": ["import * as React from 'react';\nimport { classNames } from '../utils';\n\n\nexport interface CalendarCellProps {\n className?: string;\n text?: string;\n headerCell?: boolean;\n today?: boolean;\n weekend?: boolean;\n otherMonth?: boolean;\n showOtherMonth?: boolean;\n weekCell?: boolean;\n hover?: boolean;\n focus?: boolean;\n active?: boolean;\n selected?: boolean;\n disabled?: boolean;\n rangeStart?: boolean;\n rangeMid?: boolean;\n rangeEnd?: boolean;\n}\n\nexport class CalendarCell extends React.Component<CalendarCellProps> {\n\n render() {\n const {\n className,\n text,\n headerCell,\n today,\n weekend,\n otherMonth,\n showOtherMonth,\n weekCell,\n hover,\n focus,\n active,\n selected,\n disabled,\n rangeStart,\n rangeMid,\n rangeEnd,\n ...htmlAttributes\n } = this.props;\n\n const cellType = headerCell ? 'th' : 'td';\n\n const calendarCellClasses = [\n className,\n `k-calendar-${cellType}`,\n {\n 'k-hover': hover,\n 'k-focus': focus,\n 'k-active': active,\n 'k-selected': selected,\n 'k-disabled': disabled,\n 'k-today': today,\n 'k-weekend': weekend,\n 'k-other-month': otherMonth,\n 'k-alt': weekCell,\n 'k-range-start': rangeStart,\n 'k-range-mid': rangeMid,\n 'k-range-end': rangeEnd\n }\n ];\n\n if (headerCell) {\n return (\n <th {...htmlAttributes} className={classNames(calendarCellClasses)}>\n {text}\n </th>\n );\n }\n\n if (weekCell) {\n return (\n <td {...htmlAttributes} className={classNames(calendarCellClasses)}>\n {text}\n </td>\n );\n }\n\n return (\n <td {...htmlAttributes} className={classNames(calendarCellClasses)}>\n {otherMonth && !showOtherMonth\n ? ''\n : <span className=\"k-link\">{text}</span>\n }\n </td>\n );\n\n }\n}\n", "/* eslint-disable no-return-assign */\nexport const classNames = (...args): string => {\n const result = {};\n\n const addLeafKeys = (arg) => {\n (typeof arg === 'object'\n ? Object.keys(arg).forEach((key) => {\n result[key] = arg[key];\n })\n : (result[arg] = true)\n );\n };\n\n const addKeys = (list) =>\n list\n .filter((arg) => arg !== true && Boolean(arg))\n .map((arg: any) =>\n (Array.isArray(arg) ? addKeys(arg) : addLeafKeys(arg))\n );\n\n addKeys(args);\n\n return Object.keys(result)\n .map((key) => (result[key] && key) || null)\n .filter((el) => el !== null)\n .join(' ');\n};\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,cAAuB;;;ACChB,MAAM,aAAa,IAAI,SAAiB;AAC3C,UAAM,SAAS,CAAC;AAEhB,UAAM,cAAc,CAAC,QAAQ;AACzB,MAAC,OAAO,QAAQ,WACV,OAAO,KAAK,GAAG,EAAE,QAAQ,CAAC,QAAQ;AAChC,eAAO,OAAO,IAAI;AAAA,MACtB,CAAC,IACE,OAAO,OAAO;AAAA,IAEzB;AAEA,UAAM,UAAU,CAAC,SACb,KACK,OAAO,CAAC,QAAQ,QAAQ,QAAQ,QAAQ,GAAG,CAAC,EAC5C,IAAI,CAAC,QACD,MAAM,QAAQ,GAAG,IAAI,QAAQ,GAAG,IAAI,YAAY,GAAG,CACxD;AAER,YAAQ,IAAI;AAEZ,WAAO,OAAO,KAAK,MAAM,EACpB,IAAI,CAAC,QAAS,OAAO,QAAQ,OAAQ,IAAI,EACzC,OAAO,CAAC,OAAO,OAAO,IAAI,EAC1B,KAAK,GAAG;AAAA,EACjB;;;ADHO,MAAM,eAAN,cAAiC,gBAA6B;AAAA,IAEjE,SAAS;AACL,YAAM;AAAA,QACF;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,WACG;AAAA,UACH,KAAK;AAET,YAAM,WAAW,aAAa,OAAO;AAErC,YAAM,sBAAsB;AAAA,QACxB;AAAA,QACA,cAAc;AAAA,QACd;AAAA,UACI,WAAW;AAAA,UACX,WAAW;AAAA,UACX,YAAY;AAAA,UACZ,cAAc;AAAA,UACd,cAAc;AAAA,UACd,WAAW;AAAA,UACX,aAAa;AAAA,UACb,iBAAiB;AAAA,UACjB,SAAS;AAAA,UACT,iBAAiB;AAAA,UACjB,eAAe;AAAA,UACf,eAAe;AAAA,QACnB;AAAA,MACJ;AAEA,UAAI,YAAY;AACZ,eACI,oCAAC;AAAA,UAAI,GAAG;AAAA,UAAgB,WAAW,WAAW,mBAAmB;AAAA,WAC5D,IACL;AAAA,MAER;AAEA,UAAI,UAAU;AACV,eACI,oCAAC;AAAA,UAAI,GAAG;AAAA,UAAgB,WAAW,WAAW,mBAAmB;AAAA,WAC5D,IACL;AAAA,MAER;AAEA,aACI,oCAAC;AAAA,QAAI,GAAG;AAAA,QAAgB,WAAW,WAAW,mBAAmB;AAAA,SAC5D,cAAc,CAAC,iBACV,KACA,oCAAC;AAAA,QAAK,WAAU;AAAA,SAAU,IAAK,CAEzC;AAAA,IAGR;AAAA,EACJ;",
6
6
  "names": []
7
7
  }
@@ -49,8 +49,7 @@
49
49
  ...htmlAttributes,
50
50
  className: classNames(className, "k-calendar-footer")
51
51
  }, /* @__PURE__ */ React.createElement("a", {
52
- href: "#",
53
- className: "k-link k-nav-today"
52
+ className: "k-nav-today"
54
53
  }, "Monday, October 29, 2021"));
55
54
  }
56
55
  };
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/calendar/calendar-footer.tsx", "../../src/utils/classNames.ts"],
4
- "sourcesContent": ["import * as React from 'react';\nimport { classNames } from '../utils';\n\n\nexport interface CalendarFooterProps {\n className?: string;\n}\n\nexport class CalendarFooter extends React.Component<CalendarFooterProps> {\n\n render() {\n const {\n className,\n ...htmlAttributes\n } = this.props;\n\n return (\n <div\n {...htmlAttributes}\n className={classNames(\n className,\n 'k-calendar-footer'\n )}>\n <a href=\"#\" className=\"k-link k-nav-today\">Monday, October 29, 2021</a>\n </div>\n );\n }\n}\n", "/* eslint-disable no-return-assign */\nexport const classNames = (...args): string => {\n const result = {};\n\n const addLeafKeys = (arg) => {\n (typeof arg === 'object'\n ? Object.keys(arg).forEach((key) => {\n result[key] = arg[key];\n })\n : (result[arg] = true)\n );\n };\n\n const addKeys = (list) =>\n list\n .filter((arg) => arg !== true && Boolean(arg))\n .map((arg: any) =>\n (Array.isArray(arg) ? addKeys(arg) : addLeafKeys(arg))\n );\n\n addKeys(args);\n\n return Object.keys(result)\n .map((key) => (result[key] && key) || null)\n .filter((el) => el !== null)\n .join(' ');\n};\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,cAAuB;;;ACChB,MAAM,aAAa,IAAI,SAAiB;AAC3C,UAAM,SAAS,CAAC;AAEhB,UAAM,cAAc,CAAC,QAAQ;AACzB,MAAC,OAAO,QAAQ,WACV,OAAO,KAAK,GAAG,EAAE,QAAQ,CAAC,QAAQ;AAChC,eAAO,OAAO,IAAI;AAAA,MACtB,CAAC,IACE,OAAO,OAAO;AAAA,IAEzB;AAEA,UAAM,UAAU,CAAC,SACb,KACK,OAAO,CAAC,QAAQ,QAAQ,QAAQ,QAAQ,GAAG,CAAC,EAC5C,IAAI,CAAC,QACD,MAAM,QAAQ,GAAG,IAAI,QAAQ,GAAG,IAAI,YAAY,GAAG,CACxD;AAER,YAAQ,IAAI;AAEZ,WAAO,OAAO,KAAK,MAAM,EACpB,IAAI,CAAC,QAAS,OAAO,QAAQ,OAAQ,IAAI,EACzC,OAAO,CAAC,OAAO,OAAO,IAAI,EAC1B,KAAK,GAAG;AAAA,EACjB;;;ADlBO,MAAM,iBAAN,cAAmC,gBAA+B;AAAA,IAErE,SAAS;AACL,YAAM;AAAA,QACF;AAAA,WACG;AAAA,UACH,KAAK;AAET,aACI,oCAAC;AAAA,QACI,GAAG;AAAA,QACJ,WAAW,WACP,WACA,mBACJ;AAAA,SACA,oCAAC;AAAA,QAAE,MAAK;AAAA,QAAI,WAAU;AAAA,SAAqB,0BAAwB,CACvE;AAAA,IAER;AAAA,EACJ;",
4
+ "sourcesContent": ["import * as React from 'react';\nimport { classNames } from '../utils';\n\n\nexport interface CalendarFooterProps {\n className?: string;\n}\n\nexport class CalendarFooter extends React.Component<CalendarFooterProps> {\n\n render() {\n const {\n className,\n ...htmlAttributes\n } = this.props;\n\n return (\n <div\n {...htmlAttributes}\n className={classNames(\n className,\n 'k-calendar-footer'\n )}>\n <a className=\"k-nav-today\">Monday, October 29, 2021</a>\n </div>\n );\n }\n}\n", "/* eslint-disable no-return-assign */\nexport const classNames = (...args): string => {\n const result = {};\n\n const addLeafKeys = (arg) => {\n (typeof arg === 'object'\n ? Object.keys(arg).forEach((key) => {\n result[key] = arg[key];\n })\n : (result[arg] = true)\n );\n };\n\n const addKeys = (list) =>\n list\n .filter((arg) => arg !== true && Boolean(arg))\n .map((arg: any) =>\n (Array.isArray(arg) ? addKeys(arg) : addLeafKeys(arg))\n );\n\n addKeys(args);\n\n return Object.keys(result)\n .map((key) => (result[key] && key) || null)\n .filter((el) => el !== null)\n .join(' ');\n};\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,cAAuB;;;ACChB,MAAM,aAAa,IAAI,SAAiB;AAC3C,UAAM,SAAS,CAAC;AAEhB,UAAM,cAAc,CAAC,QAAQ;AACzB,MAAC,OAAO,QAAQ,WACV,OAAO,KAAK,GAAG,EAAE,QAAQ,CAAC,QAAQ;AAChC,eAAO,OAAO,IAAI;AAAA,MACtB,CAAC,IACE,OAAO,OAAO;AAAA,IAEzB;AAEA,UAAM,UAAU,CAAC,SACb,KACK,OAAO,CAAC,QAAQ,QAAQ,QAAQ,QAAQ,GAAG,CAAC,EAC5C,IAAI,CAAC,QACD,MAAM,QAAQ,GAAG,IAAI,QAAQ,GAAG,IAAI,YAAY,GAAG,CACxD;AAER,YAAQ,IAAI;AAEZ,WAAO,OAAO,KAAK,MAAM,EACpB,IAAI,CAAC,QAAS,OAAO,QAAQ,OAAQ,IAAI,EACzC,OAAO,CAAC,OAAO,OAAO,IAAI,EAC1B,KAAK,GAAG;AAAA,EACjB;;;ADlBO,MAAM,iBAAN,cAAmC,gBAA+B;AAAA,IAErE,SAAS;AACL,YAAM;AAAA,QACF;AAAA,WACG;AAAA,UACH,KAAK;AAET,aACI,oCAAC;AAAA,QACI,GAAG;AAAA,QACJ,WAAW,WACP,WACA,mBACJ;AAAA,SACA,oCAAC;AAAA,QAAE,WAAU;AAAA,SAAc,0BAAwB,CACvD;AAAA,IAER;AAAA,EACJ;",
6
6
  "names": []
7
7
  }
@@ -68,6 +68,7 @@
68
68
  render() {
69
69
  const {
70
70
  className,
71
+ size,
71
72
  orientation,
72
73
  calendarView,
73
74
  calendarHeaderText,
@@ -76,11 +77,13 @@
76
77
  showOtherMonth,
77
78
  showCalendarCaption,
78
79
  showCalendarFooter,
80
+ selectedRange,
79
81
  ...htmlAttributes
80
82
  } = this.props;
81
83
  return /* @__PURE__ */ React.createElement("div", {
82
84
  ...htmlAttributes,
83
85
  className: classNames(className, "k-calendar", {
86
+ [`k-calendar-${kendoThemeMaps.sizeMap[size] || size}`]: size,
84
87
  "k-week-number": showWeek
85
88
  })
86
89
  }, /* @__PURE__ */ React.createElement(CalendarHeader, {
@@ -93,11 +96,13 @@
93
96
  orientation,
94
97
  showWeek,
95
98
  showOtherMonth,
96
- showCalendarCaption
99
+ showCalendarCaption,
100
+ selectedRange
97
101
  }), showCalendarFooter && /* @__PURE__ */ React.createElement(CalendarFooter, null));
98
102
  }
99
103
  };
100
104
  Calendar.defaultProps = {
105
+ size: "medium",
101
106
  viewsCount: "1",
102
107
  orientation: "horizontal",
103
108
  calendarView: "month",
@@ -122,6 +127,9 @@
122
127
  active,
123
128
  selected,
124
129
  disabled,
130
+ rangeStart,
131
+ rangeMid,
132
+ rangeEnd,
125
133
  ...htmlAttributes
126
134
  } = this.props;
127
135
  const cellType = headerCell ? "th" : "td";
@@ -137,7 +145,10 @@
137
145
  "k-today": today,
138
146
  "k-weekend": weekend,
139
147
  "k-other-month": otherMonth,
140
- "k-alt": weekCell
148
+ "k-alt": weekCell,
149
+ "k-range-start": rangeStart,
150
+ "k-range-mid": rangeMid,
151
+ "k-range-end": rangeEnd
141
152
  }
142
153
  ];
143
154
  if (headerCell) {
@@ -294,8 +305,7 @@
294
305
  ...htmlAttributes,
295
306
  className: classNames(className, "k-calendar-footer")
296
307
  }, /* @__PURE__ */ React6.createElement("a", {
297
- href: "#",
298
- className: "k-link k-nav-today"
308
+ className: "k-nav-today"
299
309
  }, "Monday, October 29, 2021"));
300
310
  }
301
311
  };
@@ -310,6 +320,7 @@
310
320
  showOtherMonth,
311
321
  showWeek,
312
322
  showCalendarCaption,
323
+ selectedRange,
313
324
  ...htmlAttributes
314
325
  } = this.props;
315
326
  if (calendarView === "year") {
@@ -484,18 +495,22 @@
484
495
  text: "7",
485
496
  weekend: true
486
497
  }), /* @__PURE__ */ React7.createElement(CalendarCell, {
487
- text: "8"
498
+ text: "8",
499
+ hover: true
488
500
  }), /* @__PURE__ */ React7.createElement(CalendarCell, {
489
501
  text: "9",
490
- hover: true
502
+ focus: true
491
503
  }), /* @__PURE__ */ React7.createElement(CalendarCell, {
492
504
  text: "10",
493
- focus: true
505
+ selected: true
494
506
  }), /* @__PURE__ */ React7.createElement(CalendarCell, {
495
507
  text: "11",
496
- selected: true
508
+ hover: true,
509
+ focus: true
497
510
  }), /* @__PURE__ */ React7.createElement(CalendarCell, {
498
- text: "12"
511
+ text: "12",
512
+ hover: true,
513
+ selected: true
499
514
  }), /* @__PURE__ */ React7.createElement(CalendarCell, {
500
515
  text: "13",
501
516
  weekend: true
@@ -511,14 +526,11 @@
511
526
  text: "15"
512
527
  }), /* @__PURE__ */ React7.createElement(CalendarCell, {
513
528
  text: "16",
514
- hover: true,
515
- focus: true
529
+ today: true
516
530
  }), /* @__PURE__ */ React7.createElement(CalendarCell, {
517
- text: "17",
518
- selected: true
531
+ text: "17"
519
532
  }), /* @__PURE__ */ React7.createElement(CalendarCell, {
520
- text: "18",
521
- selected: true
533
+ text: "18"
522
534
  }), /* @__PURE__ */ React7.createElement(CalendarCell, {
523
535
  text: "19"
524
536
  }), /* @__PURE__ */ React7.createElement(CalendarCell, {
@@ -539,12 +551,16 @@
539
551
  }), /* @__PURE__ */ React7.createElement(CalendarCell, {
540
552
  text: "24"
541
553
  }), /* @__PURE__ */ React7.createElement(CalendarCell, {
542
- text: "25"
554
+ text: "25",
555
+ rangeStart: selectedRange,
556
+ selected: selectedRange
543
557
  }), /* @__PURE__ */ React7.createElement(CalendarCell, {
544
- text: "26"
558
+ text: "26",
559
+ rangeMid: selectedRange
545
560
  }), /* @__PURE__ */ React7.createElement(CalendarCell, {
546
561
  text: "27",
547
- weekend: true
562
+ weekend: true,
563
+ rangeMid: selectedRange
548
564
  })), /* @__PURE__ */ React7.createElement("tr", {
549
565
  className: "k-calendar-tr"
550
566
  }, showWeek && /* @__PURE__ */ React7.createElement(CalendarCell, {
@@ -552,10 +568,13 @@
552
568
  weekCell: true
553
569
  }), /* @__PURE__ */ React7.createElement(CalendarCell, {
554
570
  text: "28",
555
- weekend: true
571
+ weekend: true,
572
+ rangeMid: selectedRange
556
573
  }), /* @__PURE__ */ React7.createElement(CalendarCell, {
557
574
  text: "29",
558
- today: true
575
+ rangeEnd: selectedRange,
576
+ focus: selectedRange,
577
+ selected: selectedRange
559
578
  }), /* @__PURE__ */ React7.createElement(CalendarCell, {
560
579
  text: "30"
561
580
  }), /* @__PURE__ */ React7.createElement(CalendarCell, {
@@ -624,6 +643,7 @@
624
643
  showWeek,
625
644
  showOtherMonth,
626
645
  showCalendarCaption,
646
+ selectedRange,
627
647
  ...htmlAttributes
628
648
  } = this.props;
629
649
  const views = Number(viewsCount);
@@ -637,7 +657,8 @@
637
657
  calendarView,
638
658
  showWeek,
639
659
  showOtherMonth,
640
- showCalendarCaption
660
+ showCalendarCaption,
661
+ selectedRange
641
662
  })));
642
663
  }
643
664
  };
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/calendar/calendar-table-head.tsx", "../../src/utils/classNames.ts", "../../src/utils/theme.ts", "../../src/calendar/calendar.tsx", "../../src/calendar/calendar-cell.tsx", "../../src/calendar/calendar-header.tsx", "../../src/button/button.tsx", "../../src/icon/icon.tsx", "../../src/calendar/calendar-footer.tsx", "../../src/calendar/calendar-table.tsx", "../../src/calendar/calendar-view.tsx"],
4
- "sourcesContent": ["import * as React from 'react';\nimport { classNames } from '../utils';\nimport { CalendarCell } from '../calendar';\n\nexport interface CalendarTableHeadProps {\n className?: string;\n showWeek?: boolean,\n}\n\nexport class CalendarTableHead extends React.Component<CalendarTableHeadProps> {\n\n\n render() {\n const {\n className,\n showWeek,\n ...htmlAttributes\n } = this.props;\n\n return (\n <thead\n {...htmlAttributes}\n className={classNames(\n className,\n 'k-calendar-thead'\n )}>\n <tr className=\"k-calendar-tr\">\n {showWeek && <CalendarCell weekCell headerCell /> }\n <CalendarCell text=\"Su\" headerCell />\n <CalendarCell text=\"Mo\" headerCell />\n <CalendarCell text=\"Tu\" headerCell />\n <CalendarCell text=\"We\" headerCell />\n <CalendarCell text=\"Th\" headerCell />\n <CalendarCell text=\"Fr\" headerCell />\n <CalendarCell text=\"Sa\" headerCell />\n </tr>\n </thead>\n );\n }\n}\n", "/* eslint-disable no-return-assign */\nexport const classNames = (...args): string => {\n const result = {};\n\n const addLeafKeys = (arg) => {\n (typeof arg === 'object'\n ? Object.keys(arg).forEach((key) => {\n result[key] = arg[key];\n })\n : (result[arg] = true)\n );\n };\n\n const addKeys = (list) =>\n list\n .filter((arg) => arg !== true && Boolean(arg))\n .map((arg: any) =>\n (Array.isArray(arg) ? addKeys(arg) : addLeafKeys(arg))\n );\n\n addKeys(args);\n\n return Object.keys(result)\n .map((key) => (result[key] && key) || null)\n .filter((el) => el !== null)\n .join(' ');\n};\n", "export interface KendoThemeMaps {\n sizeMap: Record<Exclude<any, null>, string>;\n roundedMap: Record<Exclude<any, null>, string>;\n calloutMap: Record<Exclude<any, null>, string>;\n orientationMap: Record<Exclude<any, null>, string>;\n}\n\nexport const kendoThemeMaps: KendoThemeMaps = {\n sizeMap: {\n small: 'sm',\n medium: 'md',\n large: 'lg'\n },\n roundedMap: {\n small: 'sm',\n medium: 'md',\n large: 'lg'\n },\n calloutMap: {\n top: 'n',\n bottom: 's',\n left: 'w',\n right: 'e'\n },\n orientationMap: {\n vertical: 'vstack',\n horizontal: 'hstack',\n },\n};\n", "import * as React from 'react';\nimport { classNames } from '../utils';\nimport { CalendarView, CalendarHeader, CalendarFooter } from '../calendar';\n\nexport interface CalendarProps {\n className?: string;\n orientation?: 'vertical' | 'horizontal';\n calendarView?: 'month' | 'year' | 'decade' | 'century';\n calendarHeaderText?: string;\n viewsCount?: string;\n showWeek?: boolean;\n showOtherMonth?: boolean;\n showCalendarCaption?: boolean;\n showCalendarFooter?: boolean;\n}\n\nexport class Calendar extends React.Component<CalendarProps> {\n\n static defaultProps = {\n viewsCount: '1',\n orientation: 'horizontal',\n calendarView: 'month',\n calendarHeaderText: 'October 2021',\n };\n\n render() {\n const {\n className,\n orientation,\n calendarView,\n calendarHeaderText,\n viewsCount,\n showWeek,\n showOtherMonth,\n showCalendarCaption,\n showCalendarFooter,\n ...htmlAttributes\n } = this.props;\n\n return (\n <div\n {...htmlAttributes}\n className={classNames(\n className,\n 'k-calendar',\n {\n 'k-week-number': showWeek,\n }\n )}>\n <CalendarHeader\n showToday={showCalendarFooter ? false : true }\n calendarHeaderText={calendarHeaderText}\n orientation={orientation}\n />\n\n <CalendarView\n calendarView={calendarView}\n viewsCount={viewsCount}\n orientation={orientation}\n showWeek={showWeek}\n showOtherMonth={showOtherMonth}\n showCalendarCaption={showCalendarCaption}\n />\n\n {showCalendarFooter && <CalendarFooter /> }\n </div>\n );\n }\n}\n", "import * as React from 'react';\nimport { classNames } from '../utils';\n\n\nexport interface CalendarCellProps {\n className?: string;\n text?: string;\n headerCell?: boolean;\n today?: boolean;\n weekend?: boolean;\n otherMonth?: boolean;\n showOtherMonth?: boolean;\n weekCell?: boolean;\n hover?: boolean;\n focus?: boolean;\n active?: boolean;\n selected?: boolean\n disabled?: boolean;\n}\n\nexport class CalendarCell extends React.Component<CalendarCellProps> {\n\n render() {\n const {\n className,\n text,\n headerCell,\n today,\n weekend,\n otherMonth,\n showOtherMonth,\n weekCell,\n hover,\n focus,\n active,\n selected,\n disabled,\n ...htmlAttributes\n } = this.props;\n\n const cellType = headerCell ? 'th' : 'td';\n\n const calendarCellClasses = [\n className,\n `k-calendar-${cellType}`,\n {\n 'k-hover': hover,\n 'k-focus': focus,\n 'k-active': active,\n 'k-selected': selected,\n 'k-disabled': disabled,\n 'k-today': today,\n 'k-weekend': weekend,\n 'k-other-month': otherMonth,\n 'k-alt': weekCell,\n }\n ];\n\n if (headerCell) {\n return (\n <th {...htmlAttributes} className={classNames(calendarCellClasses)}>\n {text}\n </th>\n );\n }\n\n if (weekCell) {\n return (\n <td {...htmlAttributes} className={classNames(calendarCellClasses)}>\n {text}\n </td>\n );\n }\n\n return (\n <td {...htmlAttributes} className={classNames(calendarCellClasses)}>\n {otherMonth && !showOtherMonth\n ? ''\n : <span className=\"k-link\">{text}</span>\n }\n </td>\n );\n\n }\n}\n", "import * as React from 'react';\nimport { classNames } from '../utils';\nimport { Button } from '../button';\n\nexport interface CalendarHeaderProps {\n className?: string;\n calendarHeaderText?: string;\n showToday?: boolean;\n orientation?: 'vertical' | 'horizontal';\n}\n\nexport class CalendarHeader extends React.Component<CalendarHeaderProps> {\n\n static defaultProps = {\n calendarHeaderText: 'October 2021',\n showToday: true,\n orientation: 'horizontal',\n };\n\n render() {\n const {\n className,\n calendarHeaderText,\n showToday,\n orientation,\n ...htmlAttributes\n } = this.props;\n\n return (\n <div\n {...htmlAttributes}\n className={classNames(\n className,\n 'k-calendar-header',\n {\n 'k-vstack': orientation === 'vertical',\n }\n )}>\n <Button className=\"k-calendar-title\" text={calendarHeaderText} fillMode=\"flat\"></Button>\n <span className=\"k-spacer\"></span>\n <span className=\"k-calendar-nav\">\n <Button className=\"k-nav-prev\" icon=\"arrow-chevron-left\" fillMode=\"flat\"></Button>\n {showToday && <span className=\"k-nav-today\">Today</span>}\n <Button className=\"k-nav-next\" icon=\"arrow-chevron-right\" fillMode=\"flat\"></Button>\n </span>\n </div>\n );\n }\n}\n", "import * as React from 'react';\nimport { classNames, kendoThemeMaps } from '../utils';\nimport { Icon } from '../icon/';\n\nexport interface ButtonProps {\n children?: React.ReactNode;\n className?: string;\n dir?: string;\n style?: React.CSSProperties;\n iconClassName?: string;\n text?: string;\n icon?: string;\n size?: null | 'small' | 'medium' | 'large';\n rounded: null | 'small' | 'medium' | 'large' | 'full';\n fillMode?: null | 'solid' | 'outline' | 'flat' | 'link' | 'clear';\n themeColor?: null | 'base' | 'primary' | 'secondary' | 'tertiary' | 'info' | 'success' | 'warning' | 'error' | 'dark' | 'light' | 'inverse';\n hover?: boolean;\n focus?: boolean;\n active?: boolean;\n selected?: boolean;\n disabled?: boolean;\n}\n\nexport class Button extends React.Component<ButtonProps> {\n\n static defaultProps = {\n size: 'medium',\n rounded: 'medium',\n fillMode: 'solid',\n themeColor: 'base'\n };\n\n render() {\n const {\n children,\n className,\n iconClassName,\n text,\n icon,\n size,\n rounded,\n fillMode,\n themeColor,\n hover,\n focus,\n active,\n selected,\n disabled,\n ...htmlAttributes\n } = this.props;\n\n const hasIcon = (icon !== undefined);\n const hasChildren = children !== undefined;\n\n return (\n <button\n style={this.props.style}\n {...htmlAttributes}\n dir={this.props.dir}\n className={classNames(\n className,\n 'k-button',\n {\n [`k-button-${kendoThemeMaps.sizeMap[size!] || size}`]: size,\n [`k-button-${fillMode}`]: fillMode,\n [`k-button-${fillMode}-${themeColor}`]: Boolean(fillMode && themeColor),\n [`k-rounded-${kendoThemeMaps.roundedMap[rounded!] || rounded}`]: rounded,\n 'k-icon-button': !hasChildren && hasIcon,\n 'k-hover': hover,\n 'k-focus': focus,\n 'k-active': active,\n 'k-selected': selected,\n 'k-disabled': disabled\n }\n )}>\n {icon && <Icon className={classNames(iconClassName, 'k-button-icon')} name={icon} />}\n\n {text || hasIcon\n ?\n <>\n {text && <span className=\"k-button-text\">{text}</span>}\n {children}\n </>\n : children && <span className=\"k-button-text\">{children}</span>\n }\n </button>\n );\n }\n}\n", "import * as React from 'react';\nimport { classNames } from '../utils';\n\nexport interface IconProps {\n className?: string;\n style?: React.CSSProperties;\n name?: string;\n}\n\nexport class Icon extends React.Component<IconProps> {\n\n render() {\n const {\n className,\n style,\n name\n } = this.props;\n\n return (\n <>\n { name &&\n <span\n className={classNames(\n className,\n 'k-icon',\n {\n [`k-i-${name}`]: name\n }\n )}\n style={style}>\n </span>\n }\n </>\n );\n }\n}\n", "import * as React from 'react';\nimport { classNames } from '../utils';\n\n\nexport interface CalendarFooterProps {\n className?: string;\n}\n\nexport class CalendarFooter extends React.Component<CalendarFooterProps> {\n\n render() {\n const {\n className,\n ...htmlAttributes\n } = this.props;\n\n return (\n <div\n {...htmlAttributes}\n className={classNames(\n className,\n 'k-calendar-footer'\n )}>\n <a href=\"#\" className=\"k-link k-nav-today\">Monday, October 29, 2021</a>\n </div>\n );\n }\n}\n", "import * as React from 'react';\nimport { classNames } from '../utils';\nimport { CalendarCell, CalendarTableHead } from '../calendar';\n\nexport interface CalendarTableProps {\n className?: string;\n calendarView?: 'month' | 'year' | 'decade' | 'century';\n showOtherMonth?: boolean;\n showWeek?: boolean;\n showCalendarCaption?: boolean;\n}\n\nexport class CalendarTable extends React.Component<CalendarTableProps> {\n\n\n render() {\n const {\n className,\n calendarView,\n showOtherMonth,\n showWeek,\n showCalendarCaption,\n ...htmlAttributes\n } = this.props;\n\n if (calendarView === 'year') {\n return (\n <table\n {...htmlAttributes}\n className={classNames(\n className,\n 'k-calendar-table',\n )}>\n {showCalendarCaption && <caption className=\"k-calendar-caption\">2022</caption> }\n <tbody className=\"k-calendar-tbody\">\n <tr className=\"k-calendar-tr\">\n <CalendarCell text=\"Jan\" />\n <CalendarCell text=\"Feb\" />\n <CalendarCell text=\"Mar\" />\n <CalendarCell text=\"Apr\" />\n </tr>\n <tr className=\"k-calendar-tr\">\n <CalendarCell text=\"May\" />\n <CalendarCell text=\"Jun\" hover />\n <CalendarCell text=\"Jul\" focus />\n <CalendarCell text=\"Au\" selected />\n </tr>\n <tr className=\"k-calendar-tr\">\n <CalendarCell text=\"Sep\" />\n <CalendarCell text=\"Oct\" today />\n <CalendarCell text=\"Nov\" />\n <CalendarCell text=\"Dec\" />\n </tr>\n </tbody>\n </table>\n );\n }\n\n if (calendarView === 'decade') {\n return (\n <table\n {...htmlAttributes}\n className={classNames(\n className,\n 'k-calendar-table',\n )}>\n {showCalendarCaption && <caption className=\"k-calendar-caption\">2020 - 2029</caption> }\n <tbody className=\"k-calendar-tbody\">\n <tr className=\"k-calendar-tr\">\n <CalendarCell className=\"k-out-of-range\" />\n <CalendarCell text=\"2020\" />\n <CalendarCell text=\"2021\" today />\n <CalendarCell text=\"2022\" />\n </tr>\n <tr className=\"k-calendar-tr\">\n <CalendarCell text=\"2023\" />\n <CalendarCell text=\"2024\" hover />\n <CalendarCell text=\"2025\" focus />\n <CalendarCell text=\"2026\" selected />\n </tr>\n <tr className=\"k-calendar-tr\">\n <CalendarCell text=\"2027\" />\n <CalendarCell text=\"2028\" />\n <CalendarCell text=\"2029\" />\n <CalendarCell className=\"k-out-of-range\" />\n </tr>\n </tbody>\n </table>\n );\n }\n\n if (calendarView === 'century') {\n return (\n <table\n {...htmlAttributes}\n className={classNames(\n className,\n 'k-calendar-table',\n )}>\n {showCalendarCaption && <caption className=\"k-calendar-caption\">2000 - 2099</caption> }\n <tbody className=\"k-calendar-tbody\">\n <tr className=\"k-calendar-tr\">\n <CalendarCell text=\"1990 - 1999\" />\n <CalendarCell text=\"2000 - 2009\" />\n <CalendarCell text=\"2010 - 2019\" today />\n <CalendarCell text=\"2020 - 2029\" />\n </tr>\n <tr className=\"k-calendar-tr\">\n <CalendarCell text=\"2030 - 2039\" />\n <CalendarCell text=\"2040 - 2049\" hover />\n <CalendarCell text=\"2050 - 2059\" focus />\n <CalendarCell text=\"2060 - 2069\" selected />\n </tr>\n <tr className=\"k-calendar-tr\">\n <CalendarCell text=\"2070 - 2079\" />\n <CalendarCell text=\"2080 - 2089\" />\n <CalendarCell text=\"2090 - 2099\" />\n <CalendarCell className=\"k-out-of-range\" />\n </tr>\n </tbody>\n </table>\n );\n }\n\n return (\n <table\n {...htmlAttributes}\n className={classNames(\n className,\n 'k-calendar-table',\n )}>\n {showCalendarCaption && <caption className=\"k-calendar-caption\">October 2021</caption> }\n <CalendarTableHead showWeek={showWeek} />\n <tbody className=\"k-calendar-tbody\">\n <tr className=\"k-calendar-tr\">\n {showWeek && <CalendarCell text=\"39\" weekCell /> }\n <CalendarCell text=\"30\" otherMonth showOtherMonth={showOtherMonth} />\n <CalendarCell text=\"1\" />\n <CalendarCell text=\"2\" />\n <CalendarCell text=\"3\" />\n <CalendarCell text=\"4\" />\n <CalendarCell text=\"5\" />\n <CalendarCell text=\"6\" weekend />\n </tr>\n <tr className=\"k-calendar-tr\">\n {showWeek && <CalendarCell text=\"40\" weekCell /> }\n <CalendarCell text=\"7\" weekend />\n <CalendarCell text=\"8\" />\n <CalendarCell text=\"9\" hover />\n <CalendarCell text=\"10\" focus />\n <CalendarCell text=\"11\" selected />\n <CalendarCell text=\"12\" />\n <CalendarCell text=\"13\" weekend />\n </tr>\n <tr className=\"k-calendar-tr\">\n {showWeek && <CalendarCell text=\"41\" weekCell /> }\n <CalendarCell text=\"14\" weekend />\n <CalendarCell text=\"15\" />\n <CalendarCell text=\"16\" hover focus />\n <CalendarCell text=\"17\" selected />\n <CalendarCell text=\"18\" selected />\n <CalendarCell text=\"19\" />\n <CalendarCell text=\"20\" weekend />\n </tr>\n <tr className=\"k-calendar-tr\">\n {showWeek && <CalendarCell text=\"42\" weekCell /> }\n <CalendarCell text=\"21\" weekend />\n <CalendarCell text=\"22\" />\n <CalendarCell text=\"23\" />\n <CalendarCell text=\"24\" />\n <CalendarCell text=\"25\" />\n <CalendarCell text=\"26\" />\n <CalendarCell text=\"27\" weekend />\n </tr>\n <tr className=\"k-calendar-tr\">\n {showWeek && <CalendarCell text=\"43\" weekCell /> }\n <CalendarCell text=\"28\" weekend />\n <CalendarCell text=\"29\" today />\n <CalendarCell text=\"30\" />\n <CalendarCell text=\"31\" />\n <CalendarCell text=\"1\" otherMonth showOtherMonth={showOtherMonth} />\n <CalendarCell text=\"2\" otherMonth showOtherMonth={showOtherMonth} />\n <CalendarCell text=\"3\" otherMonth weekend showOtherMonth={showOtherMonth} />\n </tr>\n <tr className=\"k-calendar-tr\">\n {showWeek && <CalendarCell text=\"44\" weekCell /> }\n <CalendarCell text=\"4\" otherMonth weekend showOtherMonth={showOtherMonth} />\n <CalendarCell text=\"5\" otherMonth showOtherMonth={showOtherMonth} />\n <CalendarCell text=\"6\" otherMonth showOtherMonth={showOtherMonth} />\n <CalendarCell text=\"7\" otherMonth showOtherMonth={showOtherMonth} />\n <CalendarCell text=\"8\" otherMonth showOtherMonth={showOtherMonth} />\n <CalendarCell text=\"9\" otherMonth showOtherMonth={showOtherMonth} />\n <CalendarCell text=\"10\" otherMonth weekend showOtherMonth={showOtherMonth} />\n </tr>\n </tbody>\n </table>\n );\n }\n}\n", "import * as React from 'react';\nimport { classNames, kendoThemeMaps } from '../utils';\nimport { CalendarTable } from '../calendar';\n\nexport interface CalendarViewProps {\n className?: string;\n orientation?: 'vertical' | 'horizontal',\n calendarView?: 'month' | 'year' | 'decade' | 'century';\n viewsCount?: string;\n showWeek?: boolean;\n showOtherMonth?: boolean;\n showCalendarCaption?: boolean;\n}\n\nexport class CalendarView extends React.Component<CalendarViewProps> {\n\n static defaultProps = {\n viewsCount: '1',\n orientation: 'horizontal',\n calendarView: 'month',\n };\n\n render() {\n const {\n className,\n orientation,\n calendarView,\n viewsCount,\n showWeek,\n showOtherMonth,\n showCalendarCaption,\n ...htmlAttributes\n } = this.props;\n\n const views = Number(viewsCount);\n\n return (\n <div\n {...htmlAttributes}\n className={classNames(\n className,\n 'k-calendar-view',\n `k-calendar-${calendarView}view`,\n 'k-align-items-start',\n 'k-justify-content-center',\n {\n [`k-${kendoThemeMaps.orientationMap[orientation!] || orientation}`]: orientation,\n }\n )}>\n\n { [ ...Array(views) ].map((_e, i) =>\n <CalendarTable key={i}\n calendarView={calendarView}\n showWeek={showWeek}\n showOtherMonth={showOtherMonth}\n showCalendarCaption={showCalendarCaption}\n />\n )}\n </div>\n );\n }\n}\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,eAAuB;;;ACChB,MAAM,aAAa,IAAI,SAAiB;AAC3C,UAAM,SAAS,CAAC;AAEhB,UAAM,cAAc,CAAC,QAAQ;AACzB,MAAC,OAAO,QAAQ,WACV,OAAO,KAAK,GAAG,EAAE,QAAQ,CAAC,QAAQ;AAChC,eAAO,OAAO,IAAI;AAAA,MACtB,CAAC,IACE,OAAO,OAAO;AAAA,IAEzB;AAEA,UAAM,UAAU,CAAC,SACb,KACK,OAAO,CAAC,QAAQ,QAAQ,QAAQ,QAAQ,GAAG,CAAC,EAC5C,IAAI,CAAC,QACD,MAAM,QAAQ,GAAG,IAAI,QAAQ,GAAG,IAAI,YAAY,GAAG,CACxD;AAER,YAAQ,IAAI;AAEZ,WAAO,OAAO,KAAK,MAAM,EACpB,IAAI,CAAC,QAAS,OAAO,QAAQ,OAAQ,IAAI,EACzC,OAAO,CAAC,OAAO,OAAO,IAAI,EAC1B,KAAK,GAAG;AAAA,EACjB;;;ACnBO,MAAM,iBAAiC;AAAA,IAC1C,SAAS;AAAA,MACL,OAAO;AAAA,MACP,QAAQ;AAAA,MACR,OAAO;AAAA,IACX;AAAA,IACA,YAAY;AAAA,MACR,OAAO;AAAA,MACP,QAAQ;AAAA,MACR,O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SAEE,CAAE,GAAG,MAAM,KAAK,CAAE,EAAE,IAAI,CAAC,IAAI,MAC3B,qCAAC;AAAA,QAAc,KAAK;AAAA,QAChB;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,OACJ,CACJ,CACJ;AAAA,IAER;AAAA,EACJ;AA7CI,EAFS,aAEF,eAAe;AAAA,IAClB,YAAY;AAAA,IACZ,aAAa;AAAA,IACb,cAAc;AAAA,EAClB;;;AVXG,MAAM,oBAAN,cAAsC,iBAAkC;AAAA,IAG3E,SAAS;AACL,YAAM;AAAA,QACF;AAAA,QACA;AAAA,WACG;AAAA,UACH,KAAK;AAET,aACI,qCAAC;AAAA,QACI,GAAG;AAAA,QACJ,WAAW,WACP,WACA,kBACJ;AAAA,SACA,qCAAC;AAAA,QAAG,WAAU;AAAA,SACT,YAAY,qCAAC;AAAA,QAAa,UAAQ;AAAA,QAAC,YAAU;AAAA,OAAC,GAC/C,qCAAC;AAAA,QAAa,MAAK;AAAA,QAAK,YAAU;AAAA,OAAC,GACnC,qCAAC;AAAA,QAAa,MAAK;AAAA,QAAK,YAAU;AAAA,OAAC,GACnC,qCAAC;AAAA,QAAa,MAAK;AAAA,QAAK,YAAU;AAAA,OAAC,GACnC,qCAAC;AAAA,QAAa,MAAK;AAAA,QAAK,YAAU;AAAA,OAAC,GACnC,qCAAC;AAAA,QAAa,MAAK;AAAA,QAAK,YAAU;AAAA,OAAC,GACnC,qCAAC;AAAA,QAAa,MAAK;AAAA,QAAK,YAAU;AAAA,OAAC,GACnC,qCAAC;AAAA,QAAa,MAAK;AAAA,QAAK,YAAU;AAAA,OAAC,CACvC,CACJ;AAAA,IAER;AAAA,EACJ;",
4
+ "sourcesContent": ["import * as React from 'react';\nimport { classNames } from '../utils';\nimport { CalendarCell } from '../calendar';\n\nexport interface CalendarTableHeadProps {\n className?: string;\n showWeek?: boolean,\n}\n\nexport class CalendarTableHead extends React.Component<CalendarTableHeadProps> {\n\n\n render() {\n const {\n className,\n showWeek,\n ...htmlAttributes\n } = this.props;\n\n return (\n <thead\n {...htmlAttributes}\n className={classNames(\n className,\n 'k-calendar-thead'\n )}>\n <tr className=\"k-calendar-tr\">\n {showWeek && <CalendarCell weekCell headerCell /> }\n <CalendarCell text=\"Su\" headerCell />\n <CalendarCell text=\"Mo\" headerCell />\n <CalendarCell text=\"Tu\" headerCell />\n <CalendarCell text=\"We\" headerCell />\n <CalendarCell text=\"Th\" headerCell />\n <CalendarCell text=\"Fr\" headerCell />\n <CalendarCell text=\"Sa\" headerCell />\n </tr>\n </thead>\n );\n }\n}\n", "/* eslint-disable no-return-assign */\nexport const classNames = (...args): string => {\n const result = {};\n\n const addLeafKeys = (arg) => {\n (typeof arg === 'object'\n ? Object.keys(arg).forEach((key) => {\n result[key] = arg[key];\n })\n : (result[arg] = true)\n );\n };\n\n const addKeys = (list) =>\n list\n .filter((arg) => arg !== true && Boolean(arg))\n .map((arg: any) =>\n (Array.isArray(arg) ? addKeys(arg) : addLeafKeys(arg))\n );\n\n addKeys(args);\n\n return Object.keys(result)\n .map((key) => (result[key] && key) || null)\n .filter((el) => el !== null)\n .join(' ');\n};\n", "export interface KendoThemeMaps {\n sizeMap: Record<Exclude<any, null>, string>;\n roundedMap: Record<Exclude<any, null>, string>;\n calloutMap: Record<Exclude<any, null>, string>;\n orientationMap: Record<Exclude<any, null>, string>;\n}\n\nexport const kendoThemeMaps: KendoThemeMaps = {\n sizeMap: {\n small: 'sm',\n medium: 'md',\n large: 'lg'\n },\n roundedMap: {\n small: 'sm',\n medium: 'md',\n large: 'lg'\n },\n calloutMap: {\n top: 'n',\n bottom: 's',\n left: 'w',\n right: 'e'\n },\n orientationMap: {\n vertical: 'vstack',\n horizontal: 'hstack',\n },\n};\n", "import * as React from 'react';\nimport { classNames, kendoThemeMaps } from '../utils';\nimport { CalendarView, CalendarHeader, CalendarFooter } from '../calendar';\n\nexport interface CalendarProps {\n className?: string;\n size?: null | 'small' | 'medium' | 'large';\n orientation?: 'vertical' | 'horizontal';\n calendarView?: 'month' | 'year' | 'decade' | 'century';\n calendarHeaderText?: string;\n viewsCount?: string;\n showWeek?: boolean;\n showOtherMonth?: boolean;\n showCalendarCaption?: boolean;\n showCalendarFooter?: boolean;\n selectedRange?: boolean;\n}\n\nexport class Calendar extends React.Component<CalendarProps> {\n\n static defaultProps = {\n size: 'medium',\n viewsCount: '1',\n orientation: 'horizontal',\n calendarView: 'month',\n calendarHeaderText: 'October 2021',\n };\n\n render() {\n const {\n className,\n size,\n orientation,\n calendarView,\n calendarHeaderText,\n viewsCount,\n showWeek,\n showOtherMonth,\n showCalendarCaption,\n showCalendarFooter,\n selectedRange,\n ...htmlAttributes\n } = this.props;\n\n return (\n <div\n {...htmlAttributes}\n className={classNames(\n className,\n 'k-calendar',\n {\n [`k-calendar-${kendoThemeMaps.sizeMap[size!] || size}`]: size,\n 'k-week-number': showWeek,\n }\n )}>\n <CalendarHeader\n showToday={showCalendarFooter ? false : true }\n calendarHeaderText={calendarHeaderText}\n orientation={orientation}\n />\n\n <CalendarView\n calendarView={calendarView}\n viewsCount={viewsCount}\n orientation={orientation}\n showWeek={showWeek}\n showOtherMonth={showOtherMonth}\n showCalendarCaption={showCalendarCaption}\n selectedRange={selectedRange}\n />\n\n {showCalendarFooter && <CalendarFooter /> }\n </div>\n );\n }\n}\n", "import * as React from 'react';\nimport { classNames } from '../utils';\n\n\nexport interface CalendarCellProps {\n className?: string;\n text?: string;\n headerCell?: boolean;\n today?: boolean;\n weekend?: boolean;\n otherMonth?: boolean;\n showOtherMonth?: boolean;\n weekCell?: boolean;\n hover?: boolean;\n focus?: boolean;\n active?: boolean;\n selected?: boolean;\n disabled?: boolean;\n rangeStart?: boolean;\n rangeMid?: boolean;\n rangeEnd?: boolean;\n}\n\nexport class CalendarCell extends React.Component<CalendarCellProps> {\n\n render() {\n const {\n className,\n text,\n headerCell,\n today,\n weekend,\n otherMonth,\n showOtherMonth,\n weekCell,\n hover,\n focus,\n active,\n selected,\n disabled,\n rangeStart,\n rangeMid,\n rangeEnd,\n ...htmlAttributes\n } = this.props;\n\n const cellType = headerCell ? 'th' : 'td';\n\n const calendarCellClasses = [\n className,\n `k-calendar-${cellType}`,\n {\n 'k-hover': hover,\n 'k-focus': focus,\n 'k-active': active,\n 'k-selected': selected,\n 'k-disabled': disabled,\n 'k-today': today,\n 'k-weekend': weekend,\n 'k-other-month': otherMonth,\n 'k-alt': weekCell,\n 'k-range-start': rangeStart,\n 'k-range-mid': rangeMid,\n 'k-range-end': rangeEnd\n }\n ];\n\n if (headerCell) {\n return (\n <th {...htmlAttributes} className={classNames(calendarCellClasses)}>\n {text}\n </th>\n );\n }\n\n if (weekCell) {\n return (\n <td {...htmlAttributes} className={classNames(calendarCellClasses)}>\n {text}\n </td>\n );\n }\n\n return (\n <td {...htmlAttributes} className={classNames(calendarCellClasses)}>\n {otherMonth && !showOtherMonth\n ? ''\n : <span className=\"k-link\">{text}</span>\n }\n </td>\n );\n\n }\n}\n", "import * as React from 'react';\nimport { classNames } from '../utils';\nimport { Button } from '../button';\n\nexport interface CalendarHeaderProps {\n className?: string;\n calendarHeaderText?: string;\n showToday?: boolean;\n orientation?: 'vertical' | 'horizontal';\n}\n\nexport class CalendarHeader extends React.Component<CalendarHeaderProps> {\n\n static defaultProps = {\n calendarHeaderText: 'October 2021',\n showToday: true,\n orientation: 'horizontal',\n };\n\n render() {\n const {\n className,\n calendarHeaderText,\n showToday,\n orientation,\n ...htmlAttributes\n } = this.props;\n\n return (\n <div\n {...htmlAttributes}\n className={classNames(\n className,\n 'k-calendar-header',\n {\n 'k-vstack': orientation === 'vertical',\n }\n )}>\n <Button className=\"k-calendar-title\" text={calendarHeaderText} fillMode=\"flat\"></Button>\n <span className=\"k-spacer\"></span>\n <span className=\"k-calendar-nav\">\n <Button className=\"k-nav-prev\" icon=\"arrow-chevron-left\" fillMode=\"flat\"></Button>\n {showToday && <span className=\"k-nav-today\">Today</span>}\n <Button className=\"k-nav-next\" icon=\"arrow-chevron-right\" fillMode=\"flat\"></Button>\n </span>\n </div>\n );\n }\n}\n", "import * as React from 'react';\nimport { classNames, kendoThemeMaps } from '../utils';\nimport { Icon } from '../icon/';\n\nexport interface ButtonProps {\n children?: React.ReactNode;\n className?: string;\n dir?: string;\n style?: React.CSSProperties;\n iconClassName?: string;\n text?: string;\n icon?: string;\n size?: null | 'small' | 'medium' | 'large';\n rounded: null | 'small' | 'medium' | 'large' | 'full';\n fillMode?: null | 'solid' | 'outline' | 'flat' | 'link' | 'clear';\n themeColor?: null | 'base' | 'primary' | 'secondary' | 'tertiary' | 'info' | 'success' | 'warning' | 'error' | 'dark' | 'light' | 'inverse';\n hover?: boolean;\n focus?: boolean;\n active?: boolean;\n selected?: boolean;\n disabled?: boolean;\n}\n\nexport class Button extends React.Component<ButtonProps> {\n\n static defaultProps = {\n size: 'medium',\n rounded: 'medium',\n fillMode: 'solid',\n themeColor: 'base'\n };\n\n render() {\n const {\n children,\n className,\n iconClassName,\n text,\n icon,\n size,\n rounded,\n fillMode,\n themeColor,\n hover,\n focus,\n active,\n selected,\n disabled,\n ...htmlAttributes\n } = this.props;\n\n const hasIcon = (icon !== undefined);\n const hasChildren = children !== undefined;\n\n return (\n <button\n style={this.props.style}\n {...htmlAttributes}\n dir={this.props.dir}\n className={classNames(\n className,\n 'k-button',\n {\n [`k-button-${kendoThemeMaps.sizeMap[size!] || size}`]: size,\n [`k-button-${fillMode}`]: fillMode,\n [`k-button-${fillMode}-${themeColor}`]: Boolean(fillMode && themeColor),\n [`k-rounded-${kendoThemeMaps.roundedMap[rounded!] || rounded}`]: rounded,\n 'k-icon-button': !hasChildren && hasIcon,\n 'k-hover': hover,\n 'k-focus': focus,\n 'k-active': active,\n 'k-selected': selected,\n 'k-disabled': disabled\n }\n )}>\n {icon && <Icon className={classNames(iconClassName, 'k-button-icon')} name={icon} />}\n\n {text || hasIcon\n ?\n <>\n {text && <span className=\"k-button-text\">{text}</span>}\n {children}\n </>\n : children && <span className=\"k-button-text\">{children}</span>\n }\n </button>\n );\n }\n}\n", "import * as React from 'react';\nimport { classNames } from '../utils';\n\nexport interface IconProps {\n className?: string;\n style?: React.CSSProperties;\n name?: string;\n}\n\nexport class Icon extends React.Component<IconProps> {\n\n render() {\n const {\n className,\n style,\n name\n } = this.props;\n\n return (\n <>\n { name &&\n <span\n className={classNames(\n className,\n 'k-icon',\n {\n [`k-i-${name}`]: name\n }\n )}\n style={style}>\n </span>\n }\n </>\n );\n }\n}\n", "import * as React from 'react';\nimport { classNames } from '../utils';\n\n\nexport interface CalendarFooterProps {\n className?: string;\n}\n\nexport class CalendarFooter extends React.Component<CalendarFooterProps> {\n\n render() {\n const {\n className,\n ...htmlAttributes\n } = this.props;\n\n return (\n <div\n {...htmlAttributes}\n className={classNames(\n className,\n 'k-calendar-footer'\n )}>\n <a className=\"k-nav-today\">Monday, October 29, 2021</a>\n </div>\n );\n }\n}\n", "import * as React from 'react';\nimport { classNames } from '../utils';\nimport { CalendarCell, CalendarTableHead } from '../calendar';\n\nexport interface CalendarTableProps {\n className?: string;\n calendarView?: 'month' | 'year' | 'decade' | 'century';\n showOtherMonth?: boolean;\n showWeek?: boolean;\n showCalendarCaption?: boolean;\n selectedRange?: boolean;\n}\n\nexport class CalendarTable extends React.Component<CalendarTableProps> {\n\n\n render() {\n const {\n className,\n calendarView,\n showOtherMonth,\n showWeek,\n showCalendarCaption,\n selectedRange,\n ...htmlAttributes\n } = this.props;\n\n if (calendarView === 'year') {\n return (\n <table\n {...htmlAttributes}\n className={classNames(\n className,\n 'k-calendar-table',\n )}>\n {showCalendarCaption && <caption className=\"k-calendar-caption\">2022</caption> }\n <tbody className=\"k-calendar-tbody\">\n <tr className=\"k-calendar-tr\">\n <CalendarCell text=\"Jan\" />\n <CalendarCell text=\"Feb\" />\n <CalendarCell text=\"Mar\" />\n <CalendarCell text=\"Apr\" />\n </tr>\n <tr className=\"k-calendar-tr\">\n <CalendarCell text=\"May\" />\n <CalendarCell text=\"Jun\" hover />\n <CalendarCell text=\"Jul\" focus />\n <CalendarCell text=\"Au\" selected />\n </tr>\n <tr className=\"k-calendar-tr\">\n <CalendarCell text=\"Sep\" />\n <CalendarCell text=\"Oct\" today />\n <CalendarCell text=\"Nov\" />\n <CalendarCell text=\"Dec\" />\n </tr>\n </tbody>\n </table>\n );\n }\n\n if (calendarView === 'decade') {\n return (\n <table\n {...htmlAttributes}\n className={classNames(\n className,\n 'k-calendar-table',\n )}>\n {showCalendarCaption && <caption className=\"k-calendar-caption\">2020 - 2029</caption> }\n <tbody className=\"k-calendar-tbody\">\n <tr className=\"k-calendar-tr\">\n <CalendarCell className=\"k-out-of-range\" />\n <CalendarCell text=\"2020\" />\n <CalendarCell text=\"2021\" today />\n <CalendarCell text=\"2022\" />\n </tr>\n <tr className=\"k-calendar-tr\">\n <CalendarCell text=\"2023\" />\n <CalendarCell text=\"2024\" hover />\n <CalendarCell text=\"2025\" focus />\n <CalendarCell text=\"2026\" selected />\n </tr>\n <tr className=\"k-calendar-tr\">\n <CalendarCell text=\"2027\" />\n <CalendarCell text=\"2028\" />\n <CalendarCell text=\"2029\" />\n <CalendarCell className=\"k-out-of-range\" />\n </tr>\n </tbody>\n </table>\n );\n }\n\n if (calendarView === 'century') {\n return (\n <table\n {...htmlAttributes}\n className={classNames(\n className,\n 'k-calendar-table',\n )}>\n {showCalendarCaption && <caption className=\"k-calendar-caption\">2000 - 2099</caption> }\n <tbody className=\"k-calendar-tbody\">\n <tr className=\"k-calendar-tr\">\n <CalendarCell text=\"1990 - 1999\" />\n <CalendarCell text=\"2000 - 2009\" />\n <CalendarCell text=\"2010 - 2019\" today />\n <CalendarCell text=\"2020 - 2029\" />\n </tr>\n <tr className=\"k-calendar-tr\">\n <CalendarCell text=\"2030 - 2039\" />\n <CalendarCell text=\"2040 - 2049\" hover />\n <CalendarCell text=\"2050 - 2059\" focus />\n <CalendarCell text=\"2060 - 2069\" selected />\n </tr>\n <tr className=\"k-calendar-tr\">\n <CalendarCell text=\"2070 - 2079\" />\n <CalendarCell text=\"2080 - 2089\" />\n <CalendarCell text=\"2090 - 2099\" />\n <CalendarCell className=\"k-out-of-range\" />\n </tr>\n </tbody>\n </table>\n );\n }\n\n return (\n <table\n {...htmlAttributes}\n className={classNames(\n className,\n 'k-calendar-table',\n )}>\n {showCalendarCaption && <caption className=\"k-calendar-caption\">October 2021</caption> }\n <CalendarTableHead showWeek={showWeek} />\n <tbody className=\"k-calendar-tbody\">\n <tr className=\"k-calendar-tr\">\n {showWeek && <CalendarCell text=\"39\" weekCell /> }\n <CalendarCell text=\"30\" otherMonth showOtherMonth={showOtherMonth} />\n <CalendarCell text=\"1\" />\n <CalendarCell text=\"2\" />\n <CalendarCell text=\"3\" />\n <CalendarCell text=\"4\" />\n <CalendarCell text=\"5\" />\n <CalendarCell text=\"6\" weekend />\n </tr>\n <tr className=\"k-calendar-tr\">\n {showWeek && <CalendarCell text=\"40\" weekCell /> }\n <CalendarCell text=\"7\" weekend />\n <CalendarCell text=\"8\" hover />\n <CalendarCell text=\"9\" focus />\n <CalendarCell text=\"10\" selected />\n <CalendarCell text=\"11\" hover focus />\n <CalendarCell text=\"12\" hover selected />\n <CalendarCell text=\"13\" weekend />\n </tr>\n <tr className=\"k-calendar-tr\">\n {showWeek && <CalendarCell text=\"41\" weekCell /> }\n <CalendarCell text=\"14\" weekend />\n <CalendarCell text=\"15\" />\n <CalendarCell text=\"16\" today />\n <CalendarCell text=\"17\" />\n <CalendarCell text=\"18\" />\n <CalendarCell text=\"19\" />\n <CalendarCell text=\"20\" weekend />\n </tr>\n <tr className=\"k-calendar-tr\">\n {showWeek && <CalendarCell text=\"42\" weekCell /> }\n <CalendarCell text=\"21\" weekend />\n <CalendarCell text=\"22\" />\n <CalendarCell text=\"23\" />\n <CalendarCell text=\"24\" />\n <CalendarCell text=\"25\" rangeStart={selectedRange} selected={selectedRange} />\n <CalendarCell text=\"26\" rangeMid={selectedRange} />\n <CalendarCell text=\"27\" weekend rangeMid={selectedRange} />\n </tr>\n <tr className=\"k-calendar-tr\">\n {showWeek && <CalendarCell text=\"43\" weekCell /> }\n <CalendarCell text=\"28\" weekend rangeMid={selectedRange} />\n <CalendarCell text=\"29\" rangeEnd={selectedRange} focus={selectedRange} selected={selectedRange} />\n <CalendarCell text=\"30\" />\n <CalendarCell text=\"31\" />\n <CalendarCell text=\"1\" otherMonth showOtherMonth={showOtherMonth} />\n <CalendarCell text=\"2\" otherMonth showOtherMonth={showOtherMonth} />\n <CalendarCell text=\"3\" otherMonth weekend showOtherMonth={showOtherMonth} />\n </tr>\n <tr className=\"k-calendar-tr\">\n {showWeek && <CalendarCell text=\"44\" weekCell /> }\n <CalendarCell text=\"4\" otherMonth weekend showOtherMonth={showOtherMonth} />\n <CalendarCell text=\"5\" otherMonth showOtherMonth={showOtherMonth} />\n <CalendarCell text=\"6\" otherMonth showOtherMonth={showOtherMonth} />\n <CalendarCell text=\"7\" otherMonth showOtherMonth={showOtherMonth} />\n <CalendarCell text=\"8\" otherMonth showOtherMonth={showOtherMonth} />\n <CalendarCell text=\"9\" otherMonth showOtherMonth={showOtherMonth} />\n <CalendarCell text=\"10\" otherMonth weekend showOtherMonth={showOtherMonth} />\n </tr>\n </tbody>\n </table>\n );\n }\n}\n", "import * as React from 'react';\nimport { classNames, kendoThemeMaps } from '../utils';\nimport { CalendarTable } from '../calendar';\n\nexport interface CalendarViewProps {\n className?: string;\n orientation?: 'vertical' | 'horizontal',\n calendarView?: 'month' | 'year' | 'decade' | 'century';\n viewsCount?: string;\n showWeek?: boolean;\n showOtherMonth?: boolean;\n showCalendarCaption?: boolean;\n selectedRange?: boolean;\n}\n\nexport class CalendarView extends React.Component<CalendarViewProps> {\n\n static defaultProps = {\n viewsCount: '1',\n orientation: 'horizontal',\n calendarView: 'month',\n };\n\n render() {\n const {\n className,\n orientation,\n calendarView,\n viewsCount,\n showWeek,\n showOtherMonth,\n showCalendarCaption,\n selectedRange,\n ...htmlAttributes\n } = this.props;\n\n const views = Number(viewsCount);\n\n return (\n <div\n {...htmlAttributes}\n className={classNames(\n className,\n 'k-calendar-view',\n `k-calendar-${calendarView}view`,\n 'k-align-items-start',\n 'k-justify-content-center',\n {\n [`k-${kendoThemeMaps.orientationMap[orientation!] || orientation}`]: orientation,\n }\n )}>\n\n { [ ...Array(views) ].map((_e, i) =>\n <CalendarTable key={i}\n calendarView={calendarView}\n showWeek={showWeek}\n showOtherMonth={showOtherMonth}\n showCalendarCaption={showCalendarCaption}\n selectedRange={selectedRange}\n />\n )}\n </div>\n );\n }\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,eAAuB;;;ACChB,MAAM,aAAa,IAAI,SAAiB;AAC3C,UAAM,SAAS,CAAC;AAEhB,UAAM,cAAc,CAAC,QAAQ;AACzB,MAAC,OAAO,QAAQ,WACV,OAAO,KAAK,GAAG,EAAE,QAAQ,CAAC,QAAQ;AAChC,eAAO,OAAO,IAAI;AAAA,MACtB,CAAC,IACE,OAAO,OAAO;AAAA,IAEzB;AAEA,UAAM,UAAU,CAAC,SACb,KACK,OAAO,CAAC,QAAQ,QAAQ,QAAQ,QAAQ,GAAG,CAAC,EAC5C,IAAI,CAAC,QACD,MAAM,QAAQ,GAAG,IAAI,QAAQ,GAAG,IAAI,YAAY,GAAG,CACxD;AAER,YAAQ,IAAI;AAEZ,WAAO,OAAO,KAAK,MAAM,EACpB,IAAI,CAAC,QAAS,OAAO,QAAQ,OAAQ,IAAI,EACzC,OAAO,CAAC,OAAO,OAAO,IAAI,EAC1B,KAAK,GAAG;AAAA,EACjB;;;ACnBO,MAAM,iBAAiC;AAAA,IAC1C,SAAS;AAAA,MACL,OAAO;AAAA,MACP,QAAQ;AAAA,MACR,OAAO;AAAA,IACX;AAAA,IACA,YAAY;AAAA,MACR,OAAO;AAAA,MACP,QAAQ;AAAA,MACR,OAAO;AAAA,IACX;AAAA,IACA,YAAY;AAAA,MACR,KAAK;AAAA,MACL,QAAQ;AAAA,MACR,MAAM;AAAA,MACN,OAAO;AAAA,IACX;AAAA,IACA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J;AAAA,IAER;AAAA,EACJ;",
6
6
  "names": []
7
7
  }
@@ -68,6 +68,7 @@
68
68
  render() {
69
69
  const {
70
70
  className,
71
+ size,
71
72
  orientation,
72
73
  calendarView,
73
74
  calendarHeaderText,
@@ -76,11 +77,13 @@
76
77
  showOtherMonth,
77
78
  showCalendarCaption,
78
79
  showCalendarFooter,
80
+ selectedRange,
79
81
  ...htmlAttributes
80
82
  } = this.props;
81
83
  return /* @__PURE__ */ React.createElement("div", {
82
84
  ...htmlAttributes,
83
85
  className: classNames(className, "k-calendar", {
86
+ [`k-calendar-${kendoThemeMaps.sizeMap[size] || size}`]: size,
84
87
  "k-week-number": showWeek
85
88
  })
86
89
  }, /* @__PURE__ */ React.createElement(CalendarHeader, {
@@ -93,11 +96,13 @@
93
96
  orientation,
94
97
  showWeek,
95
98
  showOtherMonth,
96
- showCalendarCaption
99
+ showCalendarCaption,
100
+ selectedRange
97
101
  }), showCalendarFooter && /* @__PURE__ */ React.createElement(CalendarFooter, null));
98
102
  }
99
103
  };
100
104
  Calendar.defaultProps = {
105
+ size: "medium",
101
106
  viewsCount: "1",
102
107
  orientation: "horizontal",
103
108
  calendarView: "month",
@@ -122,6 +127,9 @@
122
127
  active,
123
128
  selected,
124
129
  disabled,
130
+ rangeStart,
131
+ rangeMid,
132
+ rangeEnd,
125
133
  ...htmlAttributes
126
134
  } = this.props;
127
135
  const cellType = headerCell ? "th" : "td";
@@ -137,7 +145,10 @@
137
145
  "k-today": today,
138
146
  "k-weekend": weekend,
139
147
  "k-other-month": otherMonth,
140
- "k-alt": weekCell
148
+ "k-alt": weekCell,
149
+ "k-range-start": rangeStart,
150
+ "k-range-mid": rangeMid,
151
+ "k-range-end": rangeEnd
141
152
  }
142
153
  ];
143
154
  if (headerCell) {
@@ -294,8 +305,7 @@
294
305
  ...htmlAttributes,
295
306
  className: classNames(className, "k-calendar-footer")
296
307
  }, /* @__PURE__ */ React6.createElement("a", {
297
- href: "#",
298
- className: "k-link k-nav-today"
308
+ className: "k-nav-today"
299
309
  }, "Monday, October 29, 2021"));
300
310
  }
301
311
  };
@@ -354,6 +364,7 @@
354
364
  showWeek,
355
365
  showOtherMonth,
356
366
  showCalendarCaption,
367
+ selectedRange,
357
368
  ...htmlAttributes
358
369
  } = this.props;
359
370
  const views = Number(viewsCount);
@@ -367,7 +378,8 @@
367
378
  calendarView,
368
379
  showWeek,
369
380
  showOtherMonth,
370
- showCalendarCaption
381
+ showCalendarCaption,
382
+ selectedRange
371
383
  })));
372
384
  }
373
385
  };
@@ -386,6 +398,7 @@
386
398
  showOtherMonth,
387
399
  showWeek,
388
400
  showCalendarCaption,
401
+ selectedRange,
389
402
  ...htmlAttributes
390
403
  } = this.props;
391
404
  if (calendarView === "year") {
@@ -560,18 +573,22 @@
560
573
  text: "7",
561
574
  weekend: true
562
575
  }), /* @__PURE__ */ React9.createElement(CalendarCell, {
563
- text: "8"
576
+ text: "8",
577
+ hover: true
564
578
  }), /* @__PURE__ */ React9.createElement(CalendarCell, {
565
579
  text: "9",
566
- hover: true
580
+ focus: true
567
581
  }), /* @__PURE__ */ React9.createElement(CalendarCell, {
568
582
  text: "10",
569
- focus: true
583
+ selected: true
570
584
  }), /* @__PURE__ */ React9.createElement(CalendarCell, {
571
585
  text: "11",
572
- selected: true
586
+ hover: true,
587
+ focus: true
573
588
  }), /* @__PURE__ */ React9.createElement(CalendarCell, {
574
- text: "12"
589
+ text: "12",
590
+ hover: true,
591
+ selected: true
575
592
  }), /* @__PURE__ */ React9.createElement(CalendarCell, {
576
593
  text: "13",
577
594
  weekend: true
@@ -587,14 +604,11 @@
587
604
  text: "15"
588
605
  }), /* @__PURE__ */ React9.createElement(CalendarCell, {
589
606
  text: "16",
590
- hover: true,
591
- focus: true
607
+ today: true
592
608
  }), /* @__PURE__ */ React9.createElement(CalendarCell, {
593
- text: "17",
594
- selected: true
609
+ text: "17"
595
610
  }), /* @__PURE__ */ React9.createElement(CalendarCell, {
596
- text: "18",
597
- selected: true
611
+ text: "18"
598
612
  }), /* @__PURE__ */ React9.createElement(CalendarCell, {
599
613
  text: "19"
600
614
  }), /* @__PURE__ */ React9.createElement(CalendarCell, {
@@ -615,12 +629,16 @@
615
629
  }), /* @__PURE__ */ React9.createElement(CalendarCell, {
616
630
  text: "24"
617
631
  }), /* @__PURE__ */ React9.createElement(CalendarCell, {
618
- text: "25"
632
+ text: "25",
633
+ rangeStart: selectedRange,
634
+ selected: selectedRange
619
635
  }), /* @__PURE__ */ React9.createElement(CalendarCell, {
620
- text: "26"
636
+ text: "26",
637
+ rangeMid: selectedRange
621
638
  }), /* @__PURE__ */ React9.createElement(CalendarCell, {
622
639
  text: "27",
623
- weekend: true
640
+ weekend: true,
641
+ rangeMid: selectedRange
624
642
  })), /* @__PURE__ */ React9.createElement("tr", {
625
643
  className: "k-calendar-tr"
626
644
  }, showWeek && /* @__PURE__ */ React9.createElement(CalendarCell, {
@@ -628,10 +646,13 @@
628
646
  weekCell: true
629
647
  }), /* @__PURE__ */ React9.createElement(CalendarCell, {
630
648
  text: "28",
631
- weekend: true
649
+ weekend: true,
650
+ rangeMid: selectedRange
632
651
  }), /* @__PURE__ */ React9.createElement(CalendarCell, {
633
652
  text: "29",
634
- today: true
653
+ rangeEnd: selectedRange,
654
+ focus: selectedRange,
655
+ selected: selectedRange
635
656
  }), /* @__PURE__ */ React9.createElement(CalendarCell, {
636
657
  text: "30"
637
658
  }), /* @__PURE__ */ React9.createElement(CalendarCell, {