@progress/kendo-themes-html 12.2.0-dev.2 → 12.2.0-dev.4

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 (22) hide show
  1. package/dist/cjs/index.js +2 -2
  2. package/dist/cjs/multiviewcalendar/templates/multiviewcalendar-century.js +1 -1
  3. package/dist/cjs/multiviewcalendar/templates/multiviewcalendar-decade.js +1 -1
  4. package/dist/cjs/multiviewcalendar/templates/multiviewcalendar-with-weeks.js +1 -1
  5. package/dist/cjs/multiviewcalendar/templates/multiviewcalendar-year.js +1 -1
  6. package/dist/esm/index.mjs +1 -1
  7. package/dist/esm/multiviewcalendar/templates/multiviewcalendar-century.mjs +1 -1
  8. package/dist/esm/multiviewcalendar/templates/multiviewcalendar-decade.mjs +1 -1
  9. package/dist/esm/multiviewcalendar/templates/multiviewcalendar-with-weeks.mjs +1 -1
  10. package/dist/esm/multiviewcalendar/templates/multiviewcalendar-year.mjs +1 -1
  11. package/dist/types/multiviewcalendar/templates/multiviewcalendar-century.d.ts +1 -1
  12. package/dist/types/multiviewcalendar/templates/multiviewcalendar-decade.d.ts +1 -1
  13. package/dist/types/multiviewcalendar/templates/multiviewcalendar-with-weeks.d.ts +1 -1
  14. package/dist/types/multiviewcalendar/templates/multiviewcalendar-year.d.ts +1 -1
  15. package/dist/types/multiviewcalendar/tests/multiviewcalendar-captions.d.ts +2 -0
  16. package/package.json +2 -2
  17. package/src/grid/tests/grid-filter-menu.tsx +1 -1
  18. package/src/multiviewcalendar/templates/multiviewcalendar-century.tsx +3 -3
  19. package/src/multiviewcalendar/templates/multiviewcalendar-decade.tsx +3 -3
  20. package/src/multiviewcalendar/templates/multiviewcalendar-with-weeks.tsx +3 -3
  21. package/src/multiviewcalendar/templates/multiviewcalendar-year.tsx +3 -3
  22. package/src/multiviewcalendar/tests/multiviewcalendar-captions.tsx +46 -0
@@ -1 +1 @@
1
- export declare const MultiViewCalendarCentury: ({ showOtherCentury, ...props }: any) => import("react/jsx-runtime").JSX.Element;
1
+ export declare const MultiViewCalendarCentury: ({ showCaptions, showOtherCentury, ...props }: any) => import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- export declare const MultiViewCalendarDecade: ({ showOtherDecade, ...props }: any) => import("react/jsx-runtime").JSX.Element;
1
+ export declare const MultiViewCalendarDecade: ({ showCaptions, showOtherDecade, ...props }: any) => import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- export declare const MultiViewCalendarWithWeeks: ({ showOtherMonth, ...other }: any) => import("react/jsx-runtime").JSX.Element;
1
+ export declare const MultiViewCalendarWithWeeks: ({ showCaptions, showOtherMonth, ...other }: any) => import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- export declare const MultiViewCalendarYear: (props: any) => import("react/jsx-runtime").JSX.Element;
1
+ export declare const MultiViewCalendarYear: ({ showCaptions, ...props }: any) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ declare const _default: () => import("react/jsx-runtime").JSX.Element;
2
+ export default _default;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@progress/kendo-themes-html",
3
3
  "description": "A collection of HTML helpers used for developing Kendo UI themes",
4
- "version": "12.2.0-dev.2",
4
+ "version": "12.2.0-dev.4",
5
5
  "author": "Progress",
6
6
  "license": "Apache-2.0",
7
7
  "keywords": [
@@ -61,5 +61,5 @@
61
61
  "react-dom": "^19.0.0",
62
62
  "ts-jest": "^29.2.0"
63
63
  },
64
- "gitHead": "918845c4b6e60435531f8b2fef5c0d0110b54c6d"
64
+ "gitHead": "a283a92613df9104316d448606ec801b4a9628c8"
65
65
  }
@@ -49,7 +49,7 @@ export default () =>(
49
49
  <form className="k-filter-menu k-popup k-group k-reset">
50
50
  <div className="k-filter-menu-container">
51
51
  <div className="k-filter-help-text">Show items with value that:</div>
52
- <DropdownList value="Is greater than or equal to" />
52
+ <DropdownList value="An example of some very very very long filter operator" />
53
53
  <NumericTextbox />
54
54
  <DropdownList value="And" className="k-filter-and" />
55
55
  <DropdownList value="Is equal to" />
@@ -1,11 +1,11 @@
1
1
  import { MultiViewCalendar } from "..";
2
2
  import { CalendarTable, CalendarTableRow, CalendarCell } from "../../calendar";
3
3
 
4
- export const MultiViewCalendarCentury = ({ showOtherCentury, ...props }: any) => (
4
+ export const MultiViewCalendarCentury = ({ showCaptions ,showOtherCentury, ...props }: any) => (
5
5
  <MultiViewCalendar calendarView="century" calendarTitleText="1900 - 2099"
6
6
  children={
7
7
  <>
8
- <CalendarTable>
8
+ <CalendarTable calendarCaption={showCaptions && "1900 - 1999"}>
9
9
  <CalendarTableRow>
10
10
  <CalendarCell text="1890 - 1899" empty={!showOtherCentury}/>
11
11
  <CalendarCell text="1900 - 1909" />
@@ -25,7 +25,7 @@ export const MultiViewCalendarCentury = ({ showOtherCentury, ...props }: any) =>
25
25
  <CalendarCell text="2000 - 2009" empty={!showOtherCentury} />
26
26
  </CalendarTableRow>
27
27
  </CalendarTable>
28
- <CalendarTable>
28
+ <CalendarTable calendarCaption={showCaptions && "2000 - 2099"}>
29
29
  <CalendarTableRow>
30
30
  <CalendarCell text="1990 - 1999" empty={!showOtherCentury}/>
31
31
  <CalendarCell text="2000 - 2009" />
@@ -1,11 +1,11 @@
1
1
  import { MultiViewCalendar } from "..";
2
2
  import { CalendarTable, CalendarTableRow, CalendarCell } from "../../calendar";
3
3
 
4
- export const MultiViewCalendarDecade = ({ showOtherDecade, ...props }: any) => (
4
+ export const MultiViewCalendarDecade = ({ showCaptions, showOtherDecade, ...props }: any) => (
5
5
  <MultiViewCalendar calendarView="decade" calendarTitleText="2020 - 2039"
6
6
  children={
7
7
  <>
8
- <CalendarTable>
8
+ <CalendarTable calendarCaption={showCaptions && "2020 - 2029"}>
9
9
  <CalendarTableRow>
10
10
  <CalendarCell text="2019" empty={!showOtherDecade} />
11
11
  <CalendarCell text="2020" />
@@ -25,7 +25,7 @@ export const MultiViewCalendarDecade = ({ showOtherDecade, ...props }: any) => (
25
25
  <CalendarCell text="2030" empty={!showOtherDecade} />
26
26
  </CalendarTableRow>
27
27
  </CalendarTable>
28
- <CalendarTable>
28
+ <CalendarTable calendarCaption={showCaptions && "2030 - 2039"}>
29
29
  <CalendarTableRow>
30
30
  <CalendarCell text="2029" empty={!showOtherDecade} />
31
31
  <CalendarCell text="2030" />
@@ -1,11 +1,11 @@
1
1
  import { MultiViewCalendar } from "..";
2
2
  import { CalendarTable, CalendarTableRow, CalendarCell } from "../../calendar";
3
3
 
4
- export const MultiViewCalendarWithWeeks = ({ showOtherMonth, ...other }: any) => (
4
+ export const MultiViewCalendarWithWeeks = ({ showCaptions, showOtherMonth, ...other }: any) => (
5
5
  <MultiViewCalendar calendarView="month" showWeek
6
6
  children={
7
7
  <>
8
- <CalendarTable showTableHead showWeek>
8
+ <CalendarTable calendarCaption={showCaptions && "October 2021"} showTableHead showWeek>
9
9
  <CalendarTableRow>
10
10
  <CalendarCell text="39" weekCell />
11
11
  <CalendarCell text="26" showOtherMonth={showOtherMonth} empty={!showOtherMonth} weekend={showOtherMonth} />
@@ -67,7 +67,7 @@ export const MultiViewCalendarWithWeeks = ({ showOtherMonth, ...other }: any) =>
67
67
  <CalendarCell text="6" showOtherMonth={showOtherMonth} empty={!showOtherMonth} weekend={showOtherMonth} />
68
68
  </CalendarTableRow>
69
69
  </CalendarTable>
70
- <CalendarTable showTableHead showWeek>
70
+ <CalendarTable calendarCaption={showCaptions && "November 2021"} showTableHead showWeek>
71
71
  <CalendarTableRow>
72
72
  <CalendarCell text="45" weekCell />
73
73
  <CalendarCell text="31" showOtherMonth={showOtherMonth} empty={!showOtherMonth} weekend={showOtherMonth} />
@@ -1,11 +1,11 @@
1
1
  import { MultiViewCalendar } from "..";
2
2
  import { CalendarTable, CalendarTableRow, CalendarCell } from "../../calendar";
3
3
 
4
- export const MultiViewCalendarYear = (props: any) => (
4
+ export const MultiViewCalendarYear = ({ showCaptions, ...props }: any) => (
5
5
  <MultiViewCalendar calendarView="year" calendarTitleText="2021"
6
6
  children={
7
7
  <>
8
- <CalendarTable>
8
+ <CalendarTable calendarCaption={showCaptions && "2021"}>
9
9
  <CalendarTableRow>
10
10
  <CalendarCell text="Jan" />
11
11
  <CalendarCell text="Feb" />
@@ -25,7 +25,7 @@ export const MultiViewCalendarYear = (props: any) => (
25
25
  <CalendarCell text="Dec" />
26
26
  </CalendarTableRow>
27
27
  </CalendarTable>
28
- <CalendarTable>
28
+ <CalendarTable calendarCaption={showCaptions && "2022"}>
29
29
  <CalendarTableRow>
30
30
  <CalendarCell text="Jan" />
31
31
  <CalendarCell text="Feb" />
@@ -0,0 +1,46 @@
1
+ import { MultiViewCalendarNormal, MultiViewCalendarYear, MultiViewCalendarDecade, MultiViewCalendarCentury, MultiViewCalendarWithWeeks } from '../../multiviewcalendar';
2
+
3
+ const styles = `
4
+ #test-area {
5
+ max-width: 1240px;
6
+ }
7
+ `;
8
+
9
+ export default () => (
10
+ <>
11
+ <style>{styles}</style>
12
+ <div id="test-area" className="k-d-grid k-grid-cols-2 k-gap-4">
13
+
14
+ <section>
15
+ <div>Month View</div>
16
+ <MultiViewCalendarNormal showCaptions />
17
+ </section>
18
+
19
+ <section>
20
+ <div>Month View with Week Numbers</div>
21
+ <MultiViewCalendarWithWeeks showCaptions calendarTitleText="October 2021 - November 2021"/>
22
+ </section>
23
+
24
+ <section>
25
+ <div>Year View</div>
26
+ <MultiViewCalendarYear showCaptions />
27
+ </section>
28
+
29
+ <section>
30
+ <div>Decade View</div>
31
+ <MultiViewCalendarDecade showCaptions />
32
+ </section>
33
+
34
+ <section>
35
+ <div>Century View</div>
36
+ <MultiViewCalendarCentury showCaptions />
37
+ </section>
38
+
39
+ <section>
40
+ <div>With Footer</div>
41
+ <MultiViewCalendarNormal showCalendarFooter showCaptions />
42
+ </section>
43
+
44
+ </div>
45
+ </>
46
+ );