@progress/kendo-themes-html 14.4.1-dev.0 → 14.4.1-dev.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.
Files changed (226) hide show
  1. package/dist/cjs/agent-response/agent-step.js +1 -1
  2. package/dist/cjs/agent-response/chain-of-thought.spec.js +1 -1
  3. package/dist/cjs/agent-response/reasoning.spec.js +1 -1
  4. package/dist/cjs/agent-response/templates/chain-of-thought-expanded.js +1 -1
  5. package/dist/cjs/agent-response/templates/chain-of-thought-normal.js +1 -1
  6. package/dist/cjs/agent-response/templates/reasoning-expanded.js +1 -1
  7. package/dist/cjs/agent-response/templates/reasoning-normal.js +1 -1
  8. package/dist/cjs/agent-response/templates/tool-call-expanded.js +1 -1
  9. package/dist/cjs/agent-response/templates/tool-call-normal.js +1 -1
  10. package/dist/cjs/agent-response/thought.spec.js +1 -1
  11. package/dist/cjs/agent-response/tool-call.spec.js +1 -1
  12. package/dist/cjs/chart-wizard/templates/chart-wizard-data.js +1 -1
  13. package/dist/cjs/chart-wizard/templates/chart-wizard-format.js +1 -1
  14. package/dist/cjs/chart-wizard/templates/chart-wizard-normal.js +1 -1
  15. package/dist/cjs/citation/citation-popover-view.spec.js +1 -0
  16. package/dist/cjs/citation/citation-popover.spec.js +1 -1
  17. package/dist/cjs/citation/templates/citation-opened.js +1 -1
  18. package/dist/cjs/datepicker/datepicker.spec.js +1 -1
  19. package/dist/cjs/datepicker/demos/datepicker.js +1 -1
  20. package/dist/cjs/datepicker/templates/datepicker-adaptive.js +1 -1
  21. package/dist/cjs/datepicker/templates/datepicker-disabled.js +1 -1
  22. package/dist/cjs/datepicker/templates/datepicker-invalid.js +1 -1
  23. package/dist/cjs/datepicker/templates/datepicker-normal.js +1 -1
  24. package/dist/cjs/datepicker/templates/datepicker-popup.js +1 -1
  25. package/dist/cjs/filter/demos/filter.js +1 -1
  26. package/dist/cjs/filter/templates/filter-normal.js +1 -1
  27. package/dist/cjs/filter/templates/filter-preview.js +1 -1
  28. package/dist/cjs/form/demos/form.js +1 -1
  29. package/dist/cjs/form/form-field.js +1 -1
  30. package/dist/cjs/form/form.spec.js +1 -1
  31. package/dist/cjs/form/templates/form-grid-layout.js +1 -1
  32. package/dist/cjs/form/templates/form-horizontal.js +1 -1
  33. package/dist/cjs/form/templates/form-normal.js +1 -1
  34. package/dist/cjs/form/templates/form-with-hints.js +1 -1
  35. package/dist/cjs/grid/templates/grid-hierarchy.js +1 -1
  36. package/dist/cjs/imageeditor/templates/imageeditor-crop.js +1 -1
  37. package/dist/cjs/imageeditor/templates/imageeditor-normal.js +1 -1
  38. package/dist/cjs/imageeditor/templates/imageeditor-resize.js +1 -1
  39. package/dist/cjs/index.js +8 -8
  40. package/dist/cjs/pivotgrid/demos/pivotgrid.js +1 -1
  41. package/dist/cjs/pivotgrid/templates/pivotgrid-normal.js +1 -1
  42. package/dist/cjs/pivotgrid/templates/pivotgrid-with-configurator-disabled-actions.js +1 -1
  43. package/dist/cjs/pivotgrid/templates/pivotgrid-with-configurator-opened.js +1 -1
  44. package/dist/cjs/pivotgrid/templates/pivotgrid-with-configurator.js +1 -1
  45. package/dist/cjs/scheduler/demos/scheduler.js +1 -1
  46. package/dist/cjs/scheduler/scheduler-cell.spec.js +1 -1
  47. package/dist/cjs/scheduler/scheduler-event.spec.js +1 -1
  48. package/dist/cjs/scheduler/scheduler-toolbar.spec.js +1 -1
  49. package/dist/cjs/scheduler/templates/scheduler-agenda.js +1 -1
  50. package/dist/cjs/scheduler/templates/scheduler-day.js +1 -1
  51. package/dist/cjs/scheduler/templates/scheduler-flex-agenda.js +1 -1
  52. package/dist/cjs/scheduler/templates/scheduler-flex-day.js +1 -1
  53. package/dist/cjs/scheduler/templates/scheduler-flex-horizontal-grouping.js +1 -1
  54. package/dist/cjs/scheduler/templates/scheduler-flex-month.js +1 -1
  55. package/dist/cjs/scheduler/templates/scheduler-flex-timeline.js +1 -1
  56. package/dist/cjs/scheduler/templates/scheduler-flex-vertical-grouping.js +1 -1
  57. package/dist/cjs/scheduler/templates/scheduler-flex-week.js +1 -1
  58. package/dist/cjs/scheduler/templates/scheduler-flex-year.js +1 -1
  59. package/dist/cjs/scheduler/templates/scheduler-horizontal-grouping.js +1 -1
  60. package/dist/cjs/scheduler/templates/scheduler-month.js +1 -1
  61. package/dist/cjs/scheduler/templates/scheduler-timeline.js +1 -1
  62. package/dist/cjs/scheduler/templates/scheduler-vertical-grouping.js +1 -1
  63. package/dist/cjs/scheduler/templates/scheduler-week.js +1 -1
  64. package/dist/cjs/taskboard/demos/taskboard.js +1 -1
  65. package/dist/cjs/taskboard/taskboard.spec.js +1 -1
  66. package/dist/cjs/taskboard/templates/taskboard-normal.js +1 -1
  67. package/dist/cjs/taskboard/templates/taskboard-pane.js +1 -1
  68. package/dist/cjs/timepicker/demos/timepicker.js +1 -1
  69. package/dist/cjs/timepicker/templates/timepicker-adaptive.js +1 -1
  70. package/dist/cjs/timepicker/templates/timepicker-disabled.js +1 -1
  71. package/dist/cjs/timepicker/templates/timepicker-invalid.js +1 -1
  72. package/dist/cjs/timepicker/templates/timepicker-normal.js +1 -1
  73. package/dist/cjs/timepicker/templates/timepicker-popup.js +1 -1
  74. package/dist/cjs/timepicker/timepicker.spec.js +1 -1
  75. package/dist/esm/agent-response/agent-step.mjs +1 -1
  76. package/dist/esm/agent-response/chain-of-thought.spec.mjs +1 -1
  77. package/dist/esm/agent-response/reasoning.spec.mjs +1 -1
  78. package/dist/esm/agent-response/templates/chain-of-thought-expanded.mjs +1 -1
  79. package/dist/esm/agent-response/templates/chain-of-thought-normal.mjs +1 -1
  80. package/dist/esm/agent-response/templates/reasoning-expanded.mjs +1 -1
  81. package/dist/esm/agent-response/templates/reasoning-normal.mjs +1 -1
  82. package/dist/esm/agent-response/templates/tool-call-expanded.mjs +1 -1
  83. package/dist/esm/agent-response/templates/tool-call-normal.mjs +1 -1
  84. package/dist/esm/agent-response/thought.spec.mjs +1 -1
  85. package/dist/esm/agent-response/tool-call.spec.mjs +1 -1
  86. package/dist/esm/chart-wizard/templates/chart-wizard-data.mjs +1 -1
  87. package/dist/esm/chart-wizard/templates/chart-wizard-format.mjs +1 -1
  88. package/dist/esm/chart-wizard/templates/chart-wizard-normal.mjs +1 -1
  89. package/dist/esm/citation/citation-popover-view.spec.mjs +1 -0
  90. package/dist/esm/citation/citation-popover.spec.mjs +1 -1
  91. package/dist/esm/citation/templates/citation-opened.mjs +1 -1
  92. package/dist/esm/datepicker/datepicker.spec.mjs +1 -1
  93. package/dist/esm/datepicker/demos/datepicker.mjs +1 -1
  94. package/dist/esm/datepicker/templates/datepicker-adaptive.mjs +1 -1
  95. package/dist/esm/datepicker/templates/datepicker-disabled.mjs +1 -1
  96. package/dist/esm/datepicker/templates/datepicker-invalid.mjs +1 -1
  97. package/dist/esm/datepicker/templates/datepicker-normal.mjs +1 -1
  98. package/dist/esm/datepicker/templates/datepicker-popup.mjs +1 -1
  99. package/dist/esm/filter/demos/filter.mjs +1 -1
  100. package/dist/esm/filter/templates/filter-normal.mjs +1 -1
  101. package/dist/esm/filter/templates/filter-preview.mjs +1 -1
  102. package/dist/esm/form/demos/form.mjs +1 -1
  103. package/dist/esm/form/form-field.mjs +1 -1
  104. package/dist/esm/form/form.spec.mjs +1 -1
  105. package/dist/esm/form/templates/form-grid-layout.mjs +1 -1
  106. package/dist/esm/form/templates/form-horizontal.mjs +1 -1
  107. package/dist/esm/form/templates/form-normal.mjs +1 -1
  108. package/dist/esm/form/templates/form-with-hints.mjs +1 -1
  109. package/dist/esm/grid/templates/grid-hierarchy.mjs +1 -1
  110. package/dist/esm/imageeditor/templates/imageeditor-crop.mjs +1 -1
  111. package/dist/esm/imageeditor/templates/imageeditor-normal.mjs +1 -1
  112. package/dist/esm/imageeditor/templates/imageeditor-resize.mjs +1 -1
  113. package/dist/esm/index.mjs +8 -8
  114. package/dist/esm/pivotgrid/demos/pivotgrid.mjs +1 -1
  115. package/dist/esm/pivotgrid/templates/pivotgrid-normal.mjs +1 -1
  116. package/dist/esm/pivotgrid/templates/pivotgrid-with-configurator-disabled-actions.mjs +1 -1
  117. package/dist/esm/pivotgrid/templates/pivotgrid-with-configurator-opened.mjs +1 -1
  118. package/dist/esm/pivotgrid/templates/pivotgrid-with-configurator.mjs +1 -1
  119. package/dist/esm/scheduler/demos/scheduler.mjs +1 -1
  120. package/dist/esm/scheduler/scheduler-cell.spec.mjs +1 -1
  121. package/dist/esm/scheduler/scheduler-event.spec.mjs +1 -1
  122. package/dist/esm/scheduler/scheduler-toolbar.spec.mjs +1 -1
  123. package/dist/esm/scheduler/templates/scheduler-agenda.mjs +1 -1
  124. package/dist/esm/scheduler/templates/scheduler-day.mjs +1 -1
  125. package/dist/esm/scheduler/templates/scheduler-flex-agenda.mjs +1 -1
  126. package/dist/esm/scheduler/templates/scheduler-flex-day.mjs +1 -1
  127. package/dist/esm/scheduler/templates/scheduler-flex-horizontal-grouping.mjs +1 -1
  128. package/dist/esm/scheduler/templates/scheduler-flex-month.mjs +1 -1
  129. package/dist/esm/scheduler/templates/scheduler-flex-timeline.mjs +1 -1
  130. package/dist/esm/scheduler/templates/scheduler-flex-vertical-grouping.mjs +1 -1
  131. package/dist/esm/scheduler/templates/scheduler-flex-week.mjs +1 -1
  132. package/dist/esm/scheduler/templates/scheduler-flex-year.mjs +1 -1
  133. package/dist/esm/scheduler/templates/scheduler-horizontal-grouping.mjs +1 -1
  134. package/dist/esm/scheduler/templates/scheduler-month.mjs +1 -1
  135. package/dist/esm/scheduler/templates/scheduler-timeline.mjs +1 -1
  136. package/dist/esm/scheduler/templates/scheduler-vertical-grouping.mjs +1 -1
  137. package/dist/esm/scheduler/templates/scheduler-week.mjs +1 -1
  138. package/dist/esm/taskboard/demos/taskboard.mjs +1 -1
  139. package/dist/esm/taskboard/taskboard.spec.mjs +1 -1
  140. package/dist/esm/taskboard/templates/taskboard-normal.mjs +1 -1
  141. package/dist/esm/taskboard/templates/taskboard-pane.mjs +1 -1
  142. package/dist/esm/timepicker/demos/timepicker.mjs +1 -1
  143. package/dist/esm/timepicker/templates/timepicker-adaptive.mjs +1 -1
  144. package/dist/esm/timepicker/templates/timepicker-disabled.mjs +1 -1
  145. package/dist/esm/timepicker/templates/timepicker-invalid.mjs +1 -1
  146. package/dist/esm/timepicker/templates/timepicker-normal.mjs +1 -1
  147. package/dist/esm/timepicker/templates/timepicker-popup.mjs +1 -1
  148. package/dist/esm/timepicker/timepicker.spec.mjs +1 -1
  149. package/dist/types/agent-response/agent-step.d.ts +0 -2
  150. package/dist/types/agent-response/thought.spec.d.ts +0 -2
  151. package/dist/types/citation/citation-popover-view.spec.d.ts +18 -0
  152. package/dist/types/citation/citation-popover.spec.d.ts +0 -1
  153. package/dist/types/citation/index.d.ts +1 -0
  154. package/dist/types/datepicker/datepicker.spec.d.ts +1 -0
  155. package/dist/types/form/form-field.d.ts +1 -1
  156. package/dist/types/scheduler/scheduler-cell.spec.d.ts +1 -0
  157. package/dist/types/scheduler/scheduler-event.spec.d.ts +9 -3
  158. package/dist/types/scheduler/scheduler.spec.d.ts +19 -2
  159. package/dist/types/timepicker/timepicker.spec.d.ts +1 -0
  160. package/package.json +1 -1
  161. package/src/agent-response/agent-step.tsx +1 -9
  162. package/src/agent-response/templates/chain-of-thought-expanded.tsx +1 -1
  163. package/src/agent-response/templates/chain-of-thought-normal.tsx +1 -1
  164. package/src/agent-response/templates/reasoning-expanded.tsx +1 -1
  165. package/src/agent-response/templates/reasoning-normal.tsx +1 -1
  166. package/src/agent-response/templates/tool-call-expanded.tsx +1 -1
  167. package/src/agent-response/templates/tool-call-normal.tsx +1 -1
  168. package/src/agent-response/tests/chain-of-thought.tsx +3 -3
  169. package/src/agent-response/tests/reasoning.tsx +2 -2
  170. package/src/agent-response/tests/tool-call.tsx +19 -35
  171. package/src/agent-response/thought.spec.tsx +1 -9
  172. package/src/citation/citation-popover-view.spec.tsx +54 -0
  173. package/src/citation/citation-popover.spec.tsx +5 -7
  174. package/src/citation/index.ts +1 -0
  175. package/src/citation/templates/citation-opened.tsx +3 -6
  176. package/src/citation/tests/citation.tsx +19 -19
  177. package/src/datepicker/datepicker.spec.tsx +5 -2
  178. package/src/form/form-field.tsx +1 -1
  179. package/src/form/form.spec.tsx +4 -2
  180. package/src/grid/templates/grid-hierarchy.tsx +1 -1
  181. package/src/scheduler/scheduler-cell.spec.tsx +13 -6
  182. package/src/scheduler/scheduler-event.spec.tsx +108 -88
  183. package/src/scheduler/scheduler-toolbar.spec.tsx +7 -8
  184. package/src/scheduler/scheduler.spec.tsx +19 -2
  185. package/src/scheduler/templates/scheduler-agenda.tsx +9 -7
  186. package/src/scheduler/templates/scheduler-day.tsx +3 -6
  187. package/src/scheduler/templates/scheduler-flex-agenda.tsx +8 -6
  188. package/src/scheduler/templates/scheduler-flex-day.tsx +10 -11
  189. package/src/scheduler/templates/scheduler-flex-horizontal-grouping.tsx +6 -12
  190. package/src/scheduler/templates/scheduler-flex-month.tsx +13 -35
  191. package/src/scheduler/templates/scheduler-flex-timeline.tsx +8 -6
  192. package/src/scheduler/templates/scheduler-flex-vertical-grouping.tsx +4 -10
  193. package/src/scheduler/templates/scheduler-flex-week.tsx +15 -13
  194. package/src/scheduler/templates/scheduler-flex-year.tsx +9 -5
  195. package/src/scheduler/templates/scheduler-horizontal-grouping.tsx +5 -11
  196. package/src/scheduler/templates/scheduler-month.tsx +14 -35
  197. package/src/scheduler/templates/scheduler-timeline.tsx +9 -7
  198. package/src/scheduler/templates/scheduler-vertical-grouping.tsx +2 -2
  199. package/src/scheduler/templates/scheduler-week.tsx +19 -26
  200. package/src/scheduler/tests/scheduler-adaptive-agenda.tsx +17 -12
  201. package/src/scheduler/tests/scheduler-adaptive-day-resource-group.tsx +18 -27
  202. package/src/scheduler/tests/scheduler-adaptive-day.tsx +18 -27
  203. package/src/scheduler/tests/scheduler-adaptive-edit-no-height.tsx +9 -3
  204. package/src/scheduler/tests/scheduler-adaptive-edit-time-zones.tsx +10 -4
  205. package/src/scheduler/tests/scheduler-adaptive-edit.tsx +9 -3
  206. package/src/scheduler/tests/scheduler-adaptive-month.tsx +21 -28
  207. package/src/scheduler/tests/scheduler-agenda-view.tsx +7 -0
  208. package/src/scheduler/tests/scheduler-current-time-marker.tsx +28 -34
  209. package/src/scheduler/tests/scheduler-day-view.tsx +7 -0
  210. package/src/scheduler/tests/scheduler-edit-event-dialog.tsx +144 -0
  211. package/src/scheduler/tests/scheduler-events-popover.tsx +122 -0
  212. package/src/scheduler/tests/scheduler-events-responsive.tsx +71 -0
  213. package/src/scheduler/tests/scheduler-events.tsx +503 -508
  214. package/src/scheduler/tests/scheduler-month-view.tsx +7 -0
  215. package/src/scheduler/tests/scheduler-new-event-dialog.tsx +191 -0
  216. package/src/scheduler/tests/scheduler-quick-actions-popover.tsx +114 -0
  217. package/src/scheduler/tests/scheduler-react-timeline-multi.tsx +568 -673
  218. package/src/scheduler/tests/scheduler-recurrence-dialog.tsx +437 -0
  219. package/src/scheduler/tests/scheduler-timeline-view.tsx +7 -0
  220. package/src/scheduler/tests/scheduler-toolbar-responsive.tsx +226 -0
  221. package/src/scheduler/tests/scheduler-week-view.tsx +7 -0
  222. package/src/scheduler/tests/scheduler-year-view.tsx +3 -0
  223. package/src/timepicker/timepicker.spec.tsx +5 -2
  224. package/src/scheduler/tests/scheduler-edit-dialog.tsx +0 -103
  225. package/src/scheduler/tests/scheduler-editing-weekly.tsx +0 -128
  226. package/src/scheduler/tests/scheduler-tooltip.tsx +0 -82
@@ -0,0 +1,437 @@
1
+ import { Button } from "../../button";
2
+ import { NumericTextbox } from "../../numerictextbox";
3
+ import { DatePicker } from "../../datepicker";
4
+ import { DropdownListNormal } from "../../dropdownlist";
5
+ import { Dialog } from "../../dialog";
6
+ import { Form, FormField, FormHint } from "../../form";
7
+ import { RadioButton, RadioGroup, RadioItem } from "../../radio";
8
+
9
+ const style = `
10
+ #test-area {
11
+ gap: 40px;
12
+ }
13
+ .k-dialog-wrapper {
14
+ position: relative;
15
+ }
16
+ .k-overlay {
17
+ display: none;
18
+ }
19
+ `;
20
+
21
+ export default () => (
22
+ <>
23
+ <style>{style}</style>
24
+ <div id="test-area" className="k-d-flex k-flex-wrap">
25
+ {/* ── Recurrence – Daily ─────────────────────────────────────────── */}
26
+ <section>
27
+ <span>Recurrence – Daily</span>
28
+ <Dialog
29
+ title="Recurrence"
30
+ actions={["x"]}
31
+ actionButtonsAlign="end"
32
+ actionButtons={
33
+ <>
34
+ <span className="k-spacer" />
35
+ <Button>Cancel</Button>
36
+ <Button themeColor="primary">
37
+ Save
38
+ </Button>
39
+ </>
40
+ }
41
+ style={{ width: "540px" }}
42
+ >
43
+ <Form tag="div" orientation="horizontal">
44
+ <FormField
45
+ orientation="horizontal"
46
+ label="Repeat every"
47
+ editor={
48
+ <div className="k-scheduler-recurrence-fields">
49
+ <NumericTextbox showClearButton={false} value="1" aria-label="Interval" />
50
+ <DropdownListNormal value="Day" aria-label="Frequency" />
51
+ </div>
52
+ }
53
+ />
54
+ <FormField
55
+ orientation="horizontal"
56
+ label="Ends"
57
+ editor={
58
+ <div className="k-scheduler-recurrence-fields">
59
+ <DropdownListNormal value="Never" aria-label="End condition" />
60
+ </div>
61
+ }
62
+ />
63
+
64
+ <FormField editor={<FormHint>Repeats every day.</FormHint>} />
65
+ </Form>
66
+ </Dialog>
67
+ </section>
68
+
69
+ {/* ── Recurrence – Daily – After N occurrences ──────────────────── */}
70
+ <section>
71
+ <span>Recurrence – Daily – After occurrences</span>
72
+ <Dialog
73
+ title="Recurrence"
74
+ actions={["x"]}
75
+ actionButtonsAlign="end"
76
+ actionButtons={
77
+ <>
78
+ <span className="k-spacer" />
79
+ <Button>Cancel</Button>
80
+ <Button themeColor="primary">
81
+ Save
82
+ </Button>
83
+ </>
84
+ }
85
+ style={{ width: "540px" }}
86
+ >
87
+ <Form tag="div" orientation="horizontal">
88
+ <FormField
89
+ orientation="horizontal"
90
+ label="Repeat every"
91
+ editor={
92
+ <div className="k-scheduler-recurrence-fields">
93
+ <NumericTextbox showClearButton={false} value="2" aria-label="Interval" />
94
+ <DropdownListNormal value="Day" aria-label="Frequency" />
95
+ </div>
96
+ }
97
+ />
98
+ <FormField
99
+ orientation="horizontal"
100
+ label="Ends"
101
+ editor={
102
+ <div className="k-scheduler-recurrence-fields">
103
+ <DropdownListNormal value="After" aria-label="End condition" />
104
+ <NumericTextbox showClearButton={false} value="10" aria-label="Occurrences" />
105
+ </div>
106
+ }
107
+ />
108
+ <FormField editor={<FormHint>Repeats every 2 days, after 10 time(s).</FormHint>} />
109
+ </Form>
110
+ </Dialog>
111
+ </section>
112
+
113
+ {/* ── Recurrence – Daily – On date ──────────────────────────────── */}
114
+ <section>
115
+ <span>Recurrence – Daily – On date</span>
116
+ <Dialog
117
+ title="Recurrence"
118
+ actions={["x"]}
119
+ actionButtonsAlign="end"
120
+ actionButtons={
121
+ <>
122
+ <span className="k-spacer" />
123
+ <Button>Cancel</Button>
124
+ <Button themeColor="primary">
125
+ Save
126
+ </Button>
127
+ </>
128
+ }
129
+ style={{ width: "540px" }}
130
+ >
131
+ <Form tag="div" orientation="horizontal">
132
+ <FormField
133
+ orientation="horizontal"
134
+ label="Repeat every"
135
+ editor={
136
+ <div className="k-scheduler-recurrence-fields">
137
+ <NumericTextbox showClearButton={false} value="1" aria-label="Interval" />
138
+ <DropdownListNormal value="Day" aria-label="Frequency" />
139
+ </div>
140
+ }
141
+ />
142
+ <FormField
143
+ orientation="horizontal"
144
+ label="Ends"
145
+ editor={
146
+ <div className="k-scheduler-recurrence-fields">
147
+ <DropdownListNormal value="On" aria-label="End condition" />
148
+ <DatePicker value="01/31/2026" aria-label="End date" />
149
+ </div>
150
+ }
151
+ />
152
+ <FormField editor={<FormHint>Repeats every day until Jan 31, 2026.</FormHint>} />
153
+ </Form>
154
+ </Dialog>
155
+ </section>
156
+
157
+ {/* ── Recurrence – Weekly ────────────────────────────────────────── */}
158
+ <section>
159
+ <span>Recurrence – Weekly</span>
160
+ <Dialog
161
+ title="Recurrence"
162
+ actions={["x"]}
163
+ actionButtonsAlign="end"
164
+ actionButtons={
165
+ <>
166
+ <span className="k-spacer" />
167
+ <Button>Cancel</Button>
168
+ <Button themeColor="primary">
169
+ Save
170
+ </Button>
171
+ </>
172
+ }
173
+ style={{ width: "540px" }}
174
+ >
175
+ <Form tag="div" orientation="horizontal">
176
+ <FormField
177
+ orientation="horizontal"
178
+ label="Repeat every"
179
+ editor={
180
+ <div className="k-scheduler-recurrence-fields">
181
+ <NumericTextbox showClearButton={false} value="1" aria-label="Interval" />
182
+ <DropdownListNormal value="Week" aria-label="Frequency" />
183
+ </div>
184
+ }
185
+ />
186
+ <FormField
187
+ orientation="horizontal"
188
+ label="Repeat on"
189
+ editor={
190
+ <div className="k-scheduler-weekday-picker" role="group" aria-label="Repeat on days">
191
+ <Button themeColor="primary" fillMode="flat" rounded="full" aria-label="Monday" aria-pressed="false" tabIndex={-1}>
192
+ M
193
+ </Button>
194
+ <Button selected themeColor="primary" fillMode="flat" rounded="full" aria-label="Tuesday" aria-pressed="true" tabIndex={0}>
195
+ T
196
+ </Button>
197
+ <Button themeColor="primary" fillMode="flat" rounded="full" aria-label="Wednesday" aria-pressed="false" tabIndex={-1}>
198
+ W
199
+ </Button>
200
+ <Button themeColor="primary" fillMode="flat" rounded="full" aria-label="Thursday" aria-pressed="false" tabIndex={-1}>
201
+ T
202
+ </Button>
203
+ <Button themeColor="primary" fillMode="flat" rounded="full" aria-label="Friday" aria-pressed="false" tabIndex={-1}>
204
+ F
205
+ </Button>
206
+ <Button themeColor="primary" fillMode="flat" rounded="full" aria-label="Saturday" aria-pressed="false" tabIndex={-1}>
207
+ S
208
+ </Button>
209
+ <Button themeColor="primary" fillMode="flat" rounded="full" aria-label="Sunday" aria-pressed="false" tabIndex={-1}>
210
+ S
211
+ </Button>
212
+ </div>
213
+ }
214
+ />
215
+ <FormField
216
+ orientation="horizontal"
217
+ label="Ends"
218
+ editor={
219
+ <div className="k-scheduler-recurrence-fields">
220
+ <DropdownListNormal value="Never" aria-label="End condition" />
221
+ </div>
222
+ }
223
+ />
224
+ <FormField editor={<FormHint>Repeats every week on Tuesday.</FormHint>} />
225
+ </Form>
226
+ </Dialog>
227
+ </section>
228
+
229
+ {/* ── Recurrence – Monthly ───────────────────────────────────────── */}
230
+ <section>
231
+ <span>Recurrence – Monthly</span>
232
+ <Dialog
233
+ title="Recurrence"
234
+ actions={["x"]}
235
+ actionButtonsAlign="end"
236
+ actionButtons={
237
+ <>
238
+ <span className="k-spacer" />
239
+ <Button>Cancel</Button>
240
+ <Button themeColor="primary">
241
+ Save
242
+ </Button>
243
+ </>
244
+ }
245
+ style={{ width: "540px" }}
246
+ >
247
+ <Form tag="div" orientation="horizontal">
248
+ <FormField
249
+ orientation="horizontal"
250
+ label="Repeat every"
251
+ editor={
252
+ <div className="k-scheduler-recurrence-fields">
253
+ <NumericTextbox showClearButton={false} value="1" aria-label="Interval" />
254
+ <DropdownListNormal value="Month" aria-label="Frequency" />
255
+ </div>
256
+ }
257
+ />
258
+ <FormField
259
+ orientation="horizontal"
260
+ label="Repeat on"
261
+ editor={
262
+ <RadioGroup>
263
+ <RadioItem>
264
+ <RadioButton id="recur-monthday" checked aria-label="Day of the week" />
265
+ <div className="k-scheduler-recurrence-fields">
266
+ <DropdownListNormal value="Second" aria-label="Position" />
267
+ <DropdownListNormal value="Weekend day" aria-label="Day type" />
268
+ </div>
269
+ </RadioItem>
270
+ <RadioItem>
271
+ <RadioButton id="recur-weekday" aria-label="Day of the month" />
272
+ <div className="k-scheduler-recurrence-fields">
273
+ <NumericTextbox showClearButton={false} value="31 day" aria-label="Day of month" />
274
+ </div>
275
+ </RadioItem>
276
+ </RadioGroup>
277
+ }
278
+ />
279
+ <FormField
280
+ orientation="horizontal"
281
+ label="Ends"
282
+ editor={
283
+ <div className="k-scheduler-recurrence-fields">
284
+ <DropdownListNormal value="Never" aria-label="End condition" />
285
+ </div>
286
+ }
287
+ />
288
+ <FormField editor={<FormHint>Repeats every month on the second weekend day.</FormHint>} />
289
+ </Form>
290
+ </Dialog>
291
+ </section>
292
+
293
+ {/* ── Recurrence – Yearly ────────────────────────────────────────── */}
294
+ <section>
295
+ <span>Recurrence – Yearly</span>
296
+ <Dialog
297
+ title="Recurrence"
298
+ actions={["x"]}
299
+ actionButtonsAlign="end"
300
+ actionButtons={
301
+ <>
302
+ <span className="k-spacer" />
303
+ <Button>Cancel</Button>
304
+ <Button themeColor="primary">
305
+ Save
306
+ </Button>
307
+ </>
308
+ }
309
+ style={{ width: "540px" }}
310
+ >
311
+ <Form tag="div" orientation="horizontal">
312
+ <FormField
313
+ orientation="horizontal"
314
+ label="Repeat every"
315
+ editor={
316
+ <div className="k-scheduler-recurrence-fields">
317
+ <NumericTextbox showClearButton={false} value="1" aria-label="Interval" />
318
+ <DropdownListNormal value="Year" aria-label="Frequency" />
319
+ </div>
320
+ }
321
+ />
322
+ <FormField
323
+ orientation="horizontal"
324
+ label="Repeat on"
325
+ editor={
326
+ <RadioGroup>
327
+ <RadioItem>
328
+ <RadioButton id="recur-yearly-monthday" checked aria-label="Day of the month" />
329
+ <div className="k-scheduler-recurrence-fields">
330
+ <DropdownListNormal value="October" aria-label="Month" />
331
+ <NumericTextbox showClearButton={false} value="1" aria-label="Day" />
332
+ </div>
333
+ </RadioItem>
334
+ <RadioItem>
335
+ <RadioButton id="recur-yearly-weekday" aria-label="Day of the week" />
336
+ <div className="k-scheduler-recurrence-fields">
337
+ <DropdownListNormal value="Second" aria-label="Position" />
338
+ <DropdownListNormal value="Weekend day" aria-label="Day type" />
339
+ <span className="k-scheduler-edit-form-row">
340
+ <span>of</span>
341
+ <DropdownListNormal value="October" aria-label="Month" />
342
+ </span>
343
+ </div>
344
+ </RadioItem>
345
+ </RadioGroup>
346
+ }
347
+ />
348
+ <FormField
349
+ orientation="horizontal"
350
+ label="Ends"
351
+ editor={
352
+ <div className="k-scheduler-recurrence-fields">
353
+ <DropdownListNormal value="Never" aria-label="End condition" />
354
+ </div>
355
+ }
356
+ />
357
+ <FormField editor={<FormHint>Repeats every year on October 1st.</FormHint>} />
358
+ </Form>
359
+ </Dialog>
360
+ </section>
361
+
362
+ {/* ── Recurrence – Weekly – Remove recurrence ────────────────────── */}
363
+ <section>
364
+ <span>Recurrence – Weekly – Remove recurrence</span>
365
+ <Dialog
366
+ title="Recurrence"
367
+ actions={["x"]}
368
+ actionButtonsAlign="end"
369
+ actionButtons={
370
+ <>
371
+ <Button fillMode="flat" themeColor="primary">
372
+ Remove recurrence
373
+ </Button>
374
+ <Button>Cancel</Button>
375
+ <Button themeColor="primary">
376
+ Save
377
+ </Button>
378
+ </>
379
+ }
380
+ style={{ width: "540px" }}
381
+ >
382
+ <Form tag="div" orientation="horizontal">
383
+ <FormField
384
+ orientation="horizontal"
385
+ label="Repeat every"
386
+ editor={
387
+ <div className="k-scheduler-recurrence-fields">
388
+ <NumericTextbox showClearButton={false} value="1" aria-label="Interval" />
389
+ <DropdownListNormal value="Week" aria-label="Frequency" />
390
+ </div>
391
+ }
392
+ />
393
+ <FormField
394
+ orientation="horizontal"
395
+ label="Repeat on"
396
+ editor={
397
+ <div className="k-scheduler-weekday-picker" role="group" aria-label="Repeat on days">
398
+ <Button themeColor="primary" fillMode="flat" rounded="full" aria-label="Monday" aria-pressed="false" tabIndex={-1}>
399
+ M
400
+ </Button>
401
+ <Button selected themeColor="primary" fillMode="flat" rounded="full" aria-label="Tuesday" aria-pressed="true" tabIndex={0}>
402
+ T
403
+ </Button>
404
+ <Button selected themeColor="primary" fillMode="flat" rounded="full" aria-label="Wednesday" aria-pressed="true" tabIndex={-1}>
405
+ W
406
+ </Button>
407
+ <Button selected themeColor="primary" fillMode="flat" rounded="full" aria-label="Thursday" aria-pressed="true" tabIndex={-1}>
408
+ T
409
+ </Button>
410
+ <Button themeColor="primary" fillMode="flat" rounded="full" aria-label="Friday" aria-pressed="false" tabIndex={-1}>
411
+ F
412
+ </Button>
413
+ <Button themeColor="primary" fillMode="flat" rounded="full" aria-label="Saturday" aria-pressed="false" tabIndex={-1}>
414
+ S
415
+ </Button>
416
+ <Button themeColor="primary" fillMode="flat" rounded="full" aria-label="Sunday" aria-pressed="false" tabIndex={-1}>
417
+ S
418
+ </Button>
419
+ </div>
420
+ }
421
+ />
422
+ <FormField
423
+ orientation="horizontal"
424
+ label="Ends"
425
+ editor={
426
+ <div className="k-scheduler-recurrence-fields">
427
+ <DropdownListNormal value="Never" aria-label="End condition" />
428
+ </div>
429
+ }
430
+ />
431
+ <FormField editor={<FormHint>Repeats every week on Tuesday, Wednesday and Thursday.</FormHint>} />
432
+ </Form>
433
+ </Dialog>
434
+ </section>
435
+ </div>
436
+ </>
437
+ );
@@ -1,7 +1,14 @@
1
1
  import { SchedulerTimeline, SchedulerFlexTimeline } from "../";
2
2
 
3
+ const style = `
4
+ #test-area {
5
+ max-width: 1080px;
6
+ }
7
+ `;
8
+
3
9
  export default () => (
4
10
  <>
11
+ <style>{style}</style>
5
12
  <div id="test-area" className="k-d-grid k-grid-cols-1">
6
13
  <span>Scheduler Table Layout</span>
7
14
  <SchedulerTimeline />
@@ -0,0 +1,226 @@
1
+ import { Button } from "../../button";
2
+ import { ButtonGroup } from "../../button-group";
3
+ import MenuButton from "../../menu-button/menu-button.spec";
4
+ import { SegmentedControl, SegmentedControlButton } from "../../segmented-control";
5
+ import { SchedulerToolbar } from "../scheduler-toolbar.spec";
6
+
7
+ const styles = `
8
+ #test-area {
9
+ gap: 20px;
10
+ max-width: unset;
11
+ grid-template-columns: 20px 1fr;
12
+ }
13
+
14
+ /* These styles are used to test the pager items hiding order threshold */
15
+ #test-area > .k-toolbar {
16
+ width: fit-content;
17
+ }
18
+ `;
19
+
20
+ export default () => (
21
+ <>
22
+ <style>{styles}</style>
23
+ <div id="test-area" className="k-d-grid">
24
+ <span className="k-colspan-2">Scheduler Toolbar — Day view</span>
25
+
26
+ <span>0</span>
27
+ <SchedulerToolbar>
28
+ <Button themeColor="primary" icon="plus" aria-label="Add new event">
29
+ New Event
30
+ </Button>
31
+ <ButtonGroup fillMode="flat">
32
+ <Button icon="chevron-left" fillMode="flat" aria-label="Navigate to previous period"></Button>
33
+ <Button icon="chevron-right" fillMode="flat" aria-label="Navigate to next period"></Button>
34
+ </ButtonGroup>
35
+ <Button icon="calendar" className="k-nav-current" fillMode="flat" aria-live="polite">
36
+ 3 February
37
+ </Button>
38
+ <Button fillMode="flat">Today</Button>
39
+ <span className="k-spacer"></span>
40
+ <SegmentedControl thumbStyles={{ width: "15%" }} className="k-scheduler-views">
41
+ <SegmentedControlButton selected>Day</SegmentedControlButton>
42
+ <SegmentedControlButton>Week</SegmentedControlButton>
43
+ <SegmentedControlButton>Month</SegmentedControlButton>
44
+ <SegmentedControlButton>Timeline</SegmentedControlButton>
45
+ <SegmentedControlButton>Agenda</SegmentedControlButton>
46
+ </SegmentedControl>
47
+ </SchedulerToolbar>
48
+
49
+ <span>1</span>
50
+ <SchedulerToolbar>
51
+ <Button themeColor="primary" icon="plus" aria-label="Add new event">
52
+ New Event
53
+ </Button>
54
+ <ButtonGroup fillMode="flat">
55
+ <Button icon="chevron-left" fillMode="flat" aria-label="Navigate to previous period"></Button>
56
+ <Button icon="chevron-right" fillMode="flat" aria-label="Navigate to next period"></Button>
57
+ </ButtonGroup>
58
+ <Button icon="calendar" className="k-nav-current" fillMode="flat" aria-live="polite">
59
+ 3 February
60
+ </Button>
61
+ <Button fillMode="flat">Today</Button>
62
+ <span className="k-spacer"></span>
63
+ <span className="k-separator"></span>
64
+ <MenuButton fillMode="flat">Day</MenuButton>
65
+ </SchedulerToolbar>
66
+
67
+ <span>2</span>
68
+ <SchedulerToolbar>
69
+ <Button themeColor="primary" icon="plus" aria-label="Add new event"></Button>
70
+ <ButtonGroup fillMode="flat">
71
+ <Button icon="chevron-left" fillMode="flat" aria-label="Navigate to previous period"></Button>
72
+ <Button icon="chevron-right" fillMode="flat" aria-label="Navigate to next period"></Button>
73
+ </ButtonGroup>
74
+ <Button icon="calendar" className="k-nav-current" fillMode="flat" aria-live="polite">
75
+ 3 Feb
76
+ </Button>
77
+ <span className="k-spacer"></span>
78
+ <MenuButton fillMode="flat">Day</MenuButton>
79
+ </SchedulerToolbar>
80
+
81
+ <span>3</span>
82
+ <SchedulerToolbar>
83
+ <Button themeColor="primary" icon="plus" aria-label="Add new event"></Button>
84
+ <Button icon="calendar" className="k-nav-current" fillMode="flat" aria-live="polite">
85
+ 3 Feb
86
+ </Button>
87
+ <span className="k-spacer"></span>
88
+ <MenuButton fillMode="flat">Day</MenuButton>
89
+ </SchedulerToolbar>
90
+
91
+ <span className="k-colspan-2">Scheduler Toolbar — Week view</span>
92
+
93
+ <span>0</span>
94
+ <SchedulerToolbar>
95
+ <Button themeColor="primary" icon="plus" aria-label="Add new event">
96
+ New Event
97
+ </Button>
98
+ <ButtonGroup fillMode="flat">
99
+ <Button icon="chevron-left" fillMode="flat" aria-label="Navigate to previous period"></Button>
100
+ <Button icon="chevron-right" fillMode="flat" aria-label="Navigate to next period"></Button>
101
+ </ButtonGroup>
102
+ <Button icon="calendar" className="k-nav-current" fillMode="flat" aria-live="polite">
103
+ 31 May – 6 June
104
+ </Button>
105
+ <Button fillMode="flat">Today</Button>
106
+ <span className="k-spacer"></span>
107
+ <SegmentedControl thumbStyles={{ width: "19%", left: "15%" }} className="k-scheduler-views">
108
+ <SegmentedControlButton>Day</SegmentedControlButton>
109
+ <SegmentedControlButton selected>Week</SegmentedControlButton>
110
+ <SegmentedControlButton>Month</SegmentedControlButton>
111
+ <SegmentedControlButton>Timeline</SegmentedControlButton>
112
+ <SegmentedControlButton>Agenda</SegmentedControlButton>
113
+ </SegmentedControl>
114
+ </SchedulerToolbar>
115
+
116
+ <span>1</span>
117
+ <SchedulerToolbar>
118
+ <Button themeColor="primary" icon="plus" aria-label="Add new event">
119
+ New Event
120
+ </Button>
121
+ <ButtonGroup fillMode="flat">
122
+ <Button icon="chevron-left" fillMode="flat" aria-label="Navigate to previous period"></Button>
123
+ <Button icon="chevron-right" fillMode="flat" aria-label="Navigate to next period"></Button>
124
+ </ButtonGroup>
125
+ <Button icon="calendar" className="k-nav-current" fillMode="flat" aria-live="polite">
126
+ 31 May – 6 June
127
+ </Button>
128
+ <Button fillMode="flat">Today</Button>
129
+ <span className="k-spacer"></span>
130
+ <span className="k-separator"></span>
131
+ <MenuButton fillMode="flat">Week</MenuButton>
132
+ </SchedulerToolbar>
133
+
134
+ <span>2</span>
135
+ <SchedulerToolbar>
136
+ <Button themeColor="primary" icon="plus" aria-label="Add new event"></Button>
137
+ <ButtonGroup fillMode="flat">
138
+ <Button icon="chevron-left" fillMode="flat" aria-label="Navigate to previous period"></Button>
139
+ <Button icon="chevron-right" fillMode="flat" aria-label="Navigate to next period"></Button>
140
+ </ButtonGroup>
141
+ <Button icon="calendar" className="k-nav-current" fillMode="flat" aria-live="polite">
142
+ 31 May
143
+ </Button>
144
+ <span className="k-spacer"></span>
145
+ <MenuButton fillMode="flat">Week</MenuButton>
146
+ </SchedulerToolbar>
147
+
148
+ <span>3</span>
149
+ <SchedulerToolbar>
150
+ <Button themeColor="primary" icon="plus" aria-label="Add new event"></Button>
151
+ <Button icon="calendar" className="k-nav-current" fillMode="flat" aria-live="polite">
152
+ 31 May
153
+ </Button>
154
+ <span className="k-spacer"></span>
155
+ <MenuButton fillMode="flat">Week</MenuButton>
156
+ </SchedulerToolbar>
157
+
158
+ <span className="k-colspan-2">Scheduler Toolbar — Month view</span>
159
+
160
+ <span>0</span>
161
+ <SchedulerToolbar>
162
+ <Button themeColor="primary" icon="plus" aria-label="Add new event">
163
+ New Event
164
+ </Button>
165
+ <ButtonGroup fillMode="flat">
166
+ <Button icon="chevron-left" fillMode="flat" aria-label="Navigate to previous period"></Button>
167
+ <Button icon="chevron-right" fillMode="flat" aria-label="Navigate to next period"></Button>
168
+ </ButtonGroup>
169
+ <Button icon="calendar" className="k-nav-current" fillMode="flat" aria-live="polite">
170
+ February 2026
171
+ </Button>
172
+ <Button fillMode="flat">Today</Button>
173
+ <span className="k-spacer"></span>
174
+ <SegmentedControl thumbStyles={{ width: "19%", left: "34%" }} className="k-scheduler-views">
175
+ <SegmentedControlButton>Day</SegmentedControlButton>
176
+ <SegmentedControlButton>Week</SegmentedControlButton>
177
+ <SegmentedControlButton selected>Month</SegmentedControlButton>
178
+ <SegmentedControlButton>Timeline</SegmentedControlButton>
179
+ <SegmentedControlButton>Agenda</SegmentedControlButton>
180
+ </SegmentedControl>
181
+ </SchedulerToolbar>
182
+
183
+ <span>1</span>
184
+ <SchedulerToolbar>
185
+ <Button themeColor="primary" icon="plus" aria-label="Add new event">
186
+ New Event
187
+ </Button>
188
+ <ButtonGroup fillMode="flat">
189
+ <Button icon="chevron-left" fillMode="flat" aria-label="Navigate to previous period"></Button>
190
+ <Button icon="chevron-right" fillMode="flat" aria-label="Navigate to next period"></Button>
191
+ </ButtonGroup>
192
+ <Button icon="calendar" className="k-nav-current" fillMode="flat" aria-live="polite">
193
+ February 2026
194
+ </Button>
195
+ <Button fillMode="flat">Today</Button>
196
+ <span className="k-spacer"></span>
197
+ <span className="k-separator"></span>
198
+ <MenuButton fillMode="flat">Month</MenuButton>
199
+ </SchedulerToolbar>
200
+
201
+ <span>2</span>
202
+ <SchedulerToolbar>
203
+ <Button themeColor="primary" icon="plus" aria-label="Add new event"></Button>
204
+ <ButtonGroup fillMode="flat">
205
+ <Button icon="chevron-left" fillMode="flat" aria-label="Navigate to previous period"></Button>
206
+ <Button icon="chevron-right" fillMode="flat" aria-label="Navigate to next period"></Button>
207
+ </ButtonGroup>
208
+ <Button icon="calendar" className="k-nav-current" fillMode="flat" aria-live="polite">
209
+ Feb 2026
210
+ </Button>
211
+ <span className="k-spacer"></span>
212
+ <MenuButton fillMode="flat">Month</MenuButton>
213
+ </SchedulerToolbar>
214
+
215
+ <span>3</span>
216
+ <SchedulerToolbar>
217
+ <Button themeColor="primary" icon="plus" aria-label="Add new event"></Button>
218
+ <Button icon="calendar" className="k-nav-current" fillMode="flat" aria-live="polite">
219
+ Feb 2026
220
+ </Button>
221
+ <span className="k-spacer"></span>
222
+ <MenuButton fillMode="flat">Month</MenuButton>
223
+ </SchedulerToolbar>
224
+ </div>
225
+ </>
226
+ );