@redvars/peacock 4.3.4 → 4.5.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 (242) hide show
  1. package/dist/{BaseField-DPyW5Zm5.js → BaseField-BbOj212R.js} +3 -3
  2. package/dist/{BaseField-DPyW5Zm5.js.map → BaseField-BbOj212R.js.map} +1 -1
  3. package/dist/{BaseInput-FhjvfMjF.js → BaseInput-Cv03GZLu.js} +2 -2
  4. package/dist/{BaseInput-FhjvfMjF.js.map → BaseInput-Cv03GZLu.js.map} +1 -1
  5. package/dist/ai-badge.js +2 -2
  6. package/dist/ai-summary.js +2 -2
  7. package/dist/alert.js +2 -2
  8. package/dist/anchor-nav.js +2 -2
  9. package/dist/app-shell.js +2 -2
  10. package/dist/assistant-panel.js +2 -2
  11. package/dist/assistant-step.js +2 -2
  12. package/dist/assistant-steps.js +2 -2
  13. package/dist/avatar-group.js +2 -2
  14. package/dist/banner.js +2 -2
  15. package/dist/{base-progress-D8-x6XS4.js → base-progress-CqsyiVOV.js} +2 -2
  16. package/dist/{base-progress-D8-x6XS4.js.map → base-progress-CqsyiVOV.js.map} +1 -1
  17. package/dist/bottom-sheet.js +2 -2
  18. package/dist/breadcrumb.js +2 -2
  19. package/dist/calendar-column-view.js +648 -30
  20. package/dist/calendar-column-view.js.map +1 -1
  21. package/dist/calendar-drag-IXMPZrTN.js +344 -0
  22. package/dist/calendar-drag-IXMPZrTN.js.map +1 -0
  23. package/dist/{calendar-event-_OYdAT3c.js → calendar-event-BQChlMXy.js} +15 -4
  24. package/dist/calendar-event-BQChlMXy.js.map +1 -0
  25. package/dist/calendar-header-DVrfThwr.js +59 -0
  26. package/dist/calendar-header-DVrfThwr.js.map +1 -0
  27. package/dist/calendar-month-view.js +311 -21
  28. package/dist/calendar-month-view.js.map +1 -1
  29. package/dist/calendar-timeline.js +1877 -0
  30. package/dist/calendar-timeline.js.map +1 -0
  31. package/dist/calendar.js +224 -62
  32. package/dist/calendar.js.map +1 -1
  33. package/dist/{canvas-base-CjxNdEsR.js → canvas-base-BjiU3Ecl.js} +2 -2
  34. package/dist/{canvas-base-CjxNdEsR.js.map → canvas-base-BjiU3Ecl.js.map} +1 -1
  35. package/dist/carousel.js +2 -2
  36. package/dist/{cartesian-chart-D30aTNVm.js → cartesian-chart-iE3cmeGF.js} +2 -2
  37. package/dist/{cartesian-chart-D30aTNVm.js.map → cartesian-chart-iE3cmeGF.js.map} +1 -1
  38. package/dist/{cb-group-base-BhWC78b0.js → cb-group-base-CWctDJvy.js} +2 -2
  39. package/dist/{cb-group-base-BhWC78b0.js.map → cb-group-base-CWctDJvy.js.map} +1 -1
  40. package/dist/cb-group.js +3 -3
  41. package/dist/cb-rule.js +3 -3
  42. package/dist/chart-area.js +4 -4
  43. package/dist/chart-bar.js +4 -4
  44. package/dist/{chart-base-D2kPte5J.js → chart-base-CDyVDmz7.js} +2 -2
  45. package/dist/{chart-base-D2kPte5J.js.map → chart-base-CDyVDmz7.js.map} +1 -1
  46. package/dist/chart-doughnut.js +3 -3
  47. package/dist/chart-line.js +4 -4
  48. package/dist/chart-pie.js +3 -3
  49. package/dist/chat-event.js +2 -2
  50. package/dist/chat-message.js +2 -2
  51. package/dist/chat-thread.js +2 -2
  52. package/dist/checkbox-group.js +3 -3
  53. package/dist/checkbox.js +3 -3
  54. package/dist/chip-set.js +2 -2
  55. package/dist/chip.js +2 -2
  56. package/dist/circular-progress.js +3 -3
  57. package/dist/citation.js +2 -2
  58. package/dist/code-editor.js +3 -3
  59. package/dist/code-highlighter.js +2 -2
  60. package/dist/color-field.js +4 -4
  61. package/dist/color-picker.js +2 -2
  62. package/dist/command-palette.js +2 -2
  63. package/dist/comment-composer.js +4 -4
  64. package/dist/condition-builder.js +3 -3
  65. package/dist/confirm-dialog.js +2 -2
  66. package/dist/copy-button.js +2 -2
  67. package/dist/currency-field.js +4 -4
  68. package/dist/custom-elements-jsdocs.json +52 -129
  69. package/dist/custom-elements.json +3109 -5
  70. package/dist/{date-vFrYT1S9.js → date-cfPx3alz.js} +20 -3
  71. package/dist/date-cfPx3alz.js.map +1 -0
  72. package/dist/date-field.js +8 -8
  73. package/dist/date-picker.js +4 -4
  74. package/dist/date-range-field.js +8 -8
  75. package/dist/datetime-field.js +7 -7
  76. package/dist/dependency-map.js +3 -3
  77. package/dist/description-item.js +2 -2
  78. package/dist/description-list.js +2 -2
  79. package/dist/{diagram-BFGq2POp.js → diagram-D2aM93kf.js} +2 -2
  80. package/dist/{diagram-BFGq2POp.js.map → diagram-D2aM93kf.js.map} +1 -1
  81. package/dist/diagram-controls.js +2 -2
  82. package/dist/diagram-minimap.js +2 -2
  83. package/dist/diagram.js +4 -4
  84. package/dist/diff-viewer.js +2 -2
  85. package/dist/discussion-activity.js +2 -2
  86. package/dist/discussion-comment.js +2 -2
  87. package/dist/discussion.js +4 -4
  88. package/dist/{document-editor-CC7MTHMO.js → document-editor-BS6al7Hq.js} +2 -2
  89. package/dist/{document-editor-CC7MTHMO.js.map → document-editor-BS6al7Hq.js.map} +1 -1
  90. package/dist/document-editor.js +3 -3
  91. package/dist/draft-card.js +2 -2
  92. package/dist/erd.js +3 -3
  93. package/dist/{event-manager-CWAWPOUE.js → event-manager-KGMT2x2Q.js} +10 -8
  94. package/dist/event-manager-KGMT2x2Q.js.map +1 -0
  95. package/dist/file-upload.js +3 -3
  96. package/dist/filter-bar.js +4 -4
  97. package/dist/flow.js +4 -4
  98. package/dist/form.js +2 -2
  99. package/dist/{generative-view-DoT9YwHL.js → generative-view-DsSOPf26.js} +2 -2
  100. package/dist/{generative-view-DoT9YwHL.js.map → generative-view-DsSOPf26.js.map} +1 -1
  101. package/dist/generative-view.js +3 -3
  102. package/dist/html-editor.js +4 -4
  103. package/dist/{i18n-controller-Co6pasNo.js → i18n-controller-BTeChxE0.js} +2 -2
  104. package/dist/{i18n-controller-Co6pasNo.js.map → i18n-controller-BTeChxE0.js.map} +1 -1
  105. package/dist/image.js +2 -2
  106. package/dist/index.js +26 -23
  107. package/dist/index.js.map +1 -1
  108. package/dist/inline-edit.js +2 -2
  109. package/dist/input.js +3 -3
  110. package/dist/json-viewer.js +2 -2
  111. package/dist/kanban.js +2 -2
  112. package/dist/kbd.js +2 -2
  113. package/dist/linear-progress.js +3 -3
  114. package/dist/listbox.js +2 -2
  115. package/dist/loader-full.js +13 -13
  116. package/dist/loader.js +17 -13
  117. package/dist/loader.js.map +1 -1
  118. package/dist/markdown-editor.js +4 -4
  119. package/dist/mention-input.js +4 -4
  120. package/dist/modal.js +2 -2
  121. package/dist/navigation-bar.js +2 -2
  122. package/dist/navigation-drawer.js +2 -2
  123. package/dist/navigation-rail.js +2 -2
  124. package/dist/notification-center.js +2 -2
  125. package/dist/number-field.js +4 -4
  126. package/dist/page-header.js +2 -2
  127. package/dist/pagination.js +2 -2
  128. package/dist/password-field.js +4 -4
  129. package/dist/password-rules.js +2 -2
  130. package/dist/phone-field.js +4 -4
  131. package/dist/{picker-field-BliKNENo.js → picker-field-DmXYPvbF.js} +3 -3
  132. package/dist/{picker-field-BliKNENo.js.map → picker-field-DmXYPvbF.js.map} +1 -1
  133. package/dist/pin-input.js +4 -4
  134. package/dist/presence-indicator.js +2 -2
  135. package/dist/prompt-input.js +4 -4
  136. package/dist/radio.js +3 -3
  137. package/dist/{range-utils-BoKOhxVX.js → range-utils-DZe96GnO.js} +2 -2
  138. package/dist/{range-utils-BoKOhxVX.js.map → range-utils-DZe96GnO.js.map} +1 -1
  139. package/dist/rating.js +3 -3
  140. package/dist/redvars-loader.js +2 -2
  141. package/dist/relative-time.js +2 -2
  142. package/dist/resizable-panels.js +2 -2
  143. package/dist/{rich-text-input-YeqK1or-.js → rich-text-input-BCZ46UF8.js} +3 -3
  144. package/dist/{rich-text-input-YeqK1or-.js.map → rich-text-input-BCZ46UF8.js.map} +1 -1
  145. package/dist/{schema-CuHBNpzo.js → schema-D0PCeIEA.js} +2 -2
  146. package/dist/{schema-CuHBNpzo.js.map → schema-D0PCeIEA.js.map} +1 -1
  147. package/dist/search.js +3 -3
  148. package/dist/select.js +4 -4
  149. package/dist/side-sheet.js +2 -2
  150. package/dist/signature-pad.js +3 -3
  151. package/dist/site-header.js +2 -2
  152. package/dist/slider.js +3 -3
  153. package/dist/snackbar.js +2 -2
  154. package/dist/sparkline.js +2 -2
  155. package/dist/split-button.js +2 -2
  156. package/dist/src/__internal/i18n/strings.d.ts +20 -0
  157. package/dist/src/__internal/utils/date.d.ts +5 -0
  158. package/dist/src/calendar/base-event.d.ts +5 -0
  159. package/dist/src/calendar/calendar-column-view.d.ts +65 -1
  160. package/dist/src/calendar/calendar-drag.d.ts +91 -0
  161. package/dist/src/calendar/calendar-header.d.ts +28 -0
  162. package/dist/src/calendar/calendar-month-view.d.ts +39 -1
  163. package/dist/src/calendar/calendar.d.ts +83 -6
  164. package/dist/src/calendar/index.d.ts +2 -2
  165. package/dist/src/calendar/types.d.ts +32 -0
  166. package/dist/src/calendar/utils.d.ts +53 -0
  167. package/dist/src/calendar-timeline/calendar-timeline.d.ts +287 -0
  168. package/dist/src/calendar-timeline/index.d.ts +3 -0
  169. package/dist/src/calendar-timeline/layout.d.ts +39 -0
  170. package/dist/src/calendar-timeline/types.d.ts +60 -0
  171. package/dist/src/index.d.ts +4 -2
  172. package/dist/src/workflow/workflow-model.d.ts +12 -3
  173. package/dist/stat.js +2 -2
  174. package/dist/status-indicator.js +2 -2
  175. package/dist/step.js +2 -2
  176. package/dist/stepper.js +2 -2
  177. package/dist/{strings-DYwXSSu_.js → strings-DeiQWMd9.js} +22 -1
  178. package/dist/strings-DeiQWMd9.js.map +1 -0
  179. package/dist/svg.js +2 -2
  180. package/dist/switch.js +3 -3
  181. package/dist/table.js +2 -2
  182. package/dist/test/calendar-timeline.test.d.ts +1 -0
  183. package/dist/textarea.js +4 -4
  184. package/dist/time-field.js +7 -7
  185. package/dist/time-picker.js +4 -4
  186. package/dist/timeline-item.js +2 -2
  187. package/dist/timeline.js +2 -2
  188. package/dist/{toggle-base-B-HOnUIy.js → toggle-base-BtjRAZ5z.js} +2 -2
  189. package/dist/{toggle-base-B-HOnUIy.js.map → toggle-base-BtjRAZ5z.js.map} +1 -1
  190. package/dist/tour.js +2 -2
  191. package/dist/transfer-list.js +3 -3
  192. package/dist/tree-chart.js +3 -3
  193. package/dist/tree-item.js +2 -2
  194. package/dist/tree.js +2 -2
  195. package/dist/tsconfig.tsbuildinfo +1 -1
  196. package/dist/typing-indicator.js +2 -2
  197. package/dist/url-field.js +4 -4
  198. package/dist/user-menu.js +2 -2
  199. package/dist/{utils-D92ldd1V.js → utils-DcvLgexs.js} +116 -19
  200. package/dist/utils-DcvLgexs.js.map +1 -0
  201. package/dist/{video-u-Vs7M9g.js → video-DPjOBk6I.js} +2 -2
  202. package/dist/{video-u-Vs7M9g.js.map → video-DPjOBk6I.js.map} +1 -1
  203. package/dist/video.js +3 -3
  204. package/dist/virtual-list.js +2 -2
  205. package/dist/workflow-model-CauduOG2.js.map +1 -1
  206. package/dist/workflow-timeline.js +2 -2
  207. package/dist/workflow.js +16 -5
  208. package/dist/workflow.js.map +1 -1
  209. package/dist/workspace-switcher.js +2 -2
  210. package/package.json +1 -1
  211. package/readme.md +1 -0
  212. package/src/__internal/i18n/strings.ts +29 -0
  213. package/src/__internal/utils/date.ts +19 -0
  214. package/src/calendar/_calendar-header.scss +33 -0
  215. package/src/calendar/base-event.ts +19 -2
  216. package/src/calendar/calendar-column-view.scss +174 -2
  217. package/src/calendar/calendar-column-view.ts +665 -37
  218. package/src/calendar/calendar-drag.ts +403 -0
  219. package/src/calendar/calendar-header.ts +78 -0
  220. package/src/calendar/calendar-month-view.scss +89 -0
  221. package/src/calendar/calendar-month-view.ts +289 -23
  222. package/src/calendar/calendar.scss +2 -27
  223. package/src/calendar/calendar.ts +264 -62
  224. package/src/calendar/event-manager.ts +11 -7
  225. package/src/calendar/index.ts +8 -2
  226. package/src/calendar/types.ts +35 -0
  227. package/src/calendar/utils.ts +160 -20
  228. package/src/calendar-timeline/calendar-timeline.scss +554 -0
  229. package/src/calendar-timeline/calendar-timeline.ts +1528 -0
  230. package/src/calendar-timeline/index.ts +14 -0
  231. package/src/calendar-timeline/layout.ts +129 -0
  232. package/src/calendar-timeline/types.ts +65 -0
  233. package/src/index.ts +18 -0
  234. package/src/loader.ts +4 -0
  235. package/src/workflow/workflow-model.ts +12 -3
  236. package/src/workflow/workflow.scss +5 -0
  237. package/src/workflow/workflow.ts +10 -2
  238. package/dist/calendar-event-_OYdAT3c.js.map +0 -1
  239. package/dist/date-vFrYT1S9.js.map +0 -1
  240. package/dist/event-manager-CWAWPOUE.js.map +0 -1
  241. package/dist/strings-DYwXSSu_.js.map +0 -1
  242. package/dist/utils-D92ldd1V.js.map +0 -1
@@ -2,10 +2,10 @@ import { i, _ as __decorate, I as IndividualComponent, a as i$1, b, A } from './
2
2
  import { n } from './property-B2TG3KEE.js';
3
3
  import { r } from './state-BCeDVCI9.js';
4
4
  import { e } from './class-map-NDIkZErE.js';
5
- import { I as I18nController } from './i18n-controller-Co6pasNo.js';
5
+ import { I as I18nController } from './i18n-controller-BTeChxE0.js';
6
6
  import { p as parseDatetime, f as formatAbsoluteTime, c as formatClockTime } from './relative-time-BNxqvEbg.js';
7
7
  import './directive-ZPhl09Yt.js';
8
- import './strings-DYwXSSu_.js';
8
+ import './strings-DeiQWMd9.js';
9
9
  import './locale-DEsJZCQG.js';
10
10
 
11
11
  var css_248z = i`@charset "UTF-8";
@@ -2,9 +2,9 @@ import { i, _ as __decorate, I as IndividualComponent, a as i$1, A, b } from './
2
2
  import { n } from './property-B2TG3KEE.js';
3
3
  import { r } from './state-BCeDVCI9.js';
4
4
  import { e } from './query-CHb9Ft_d.js';
5
- import { I as I18nController } from './i18n-controller-Co6pasNo.js';
5
+ import { I as I18nController } from './i18n-controller-BTeChxE0.js';
6
6
  import './base-Cl6v8-BZ.js';
7
- import './strings-DYwXSSu_.js';
7
+ import './strings-DeiQWMd9.js';
8
8
  import './locale-DEsJZCQG.js';
9
9
 
10
10
  var css_248z = i`* {
@@ -3,13 +3,13 @@ import { n } from './property-B2TG3KEE.js';
3
3
  import { e } from './query-CHb9Ft_d.js';
4
4
  import { e as e$1 } from './class-map-NDIkZErE.js';
5
5
  import { l } from './live-D_5OfuGD.js';
6
- import { I as I18nController } from './i18n-controller-Co6pasNo.js';
6
+ import { I as I18nController } from './i18n-controller-BTeChxE0.js';
7
7
  import { g as getFormValue, a as getFormState } from './form-associated-BHbg72PG.js';
8
- import { B as BaseInput } from './BaseInput-FhjvfMjF.js';
8
+ import { B as BaseInput } from './BaseInput-Cv03GZLu.js';
9
9
  import './base-Cl6v8-BZ.js';
10
10
  import './directive-ZPhl09Yt.js';
11
11
  import './directive-helpers-Bx3mu42O.js';
12
- import './strings-DYwXSSu_.js';
12
+ import './strings-DeiQWMd9.js';
13
13
  import './locale-DEsJZCQG.js';
14
14
  import './element-internals-QME0yEz4.js';
15
15
  import './state-BCeDVCI9.js';
package/dist/checkbox.js CHANGED
@@ -2,15 +2,15 @@ import { i, _ as __decorate, I as IndividualComponent, w, b } from './Individual
2
2
  import { n } from './property-B2TG3KEE.js';
3
3
  import { e } from './class-map-NDIkZErE.js';
4
4
  import { s as spread } from './spread-B5cgadZl.js';
5
- import { p as peacockString } from './strings-DYwXSSu_.js';
6
- import { T as ToggleBase } from './toggle-base-B-HOnUIy.js';
5
+ import { p as peacockString } from './strings-DeiQWMd9.js';
6
+ import { T as ToggleBase } from './toggle-base-BtjRAZ5z.js';
7
7
  import './directive-ZPhl09Yt.js';
8
8
  import './state-BCeDVCI9.js';
9
9
  import './query-CHb9Ft_d.js';
10
10
  import './base-Cl6v8-BZ.js';
11
11
  import './form-associated-BHbg72PG.js';
12
12
  import './element-internals-QME0yEz4.js';
13
- import './BaseInput-FhjvfMjF.js';
13
+ import './BaseInput-Cv03GZLu.js';
14
14
  import './suggestion-controller-7YRQqkaI.js';
15
15
  import './ai-controller-DR_Tg0sN.js';
16
16
  import './locale-DEsJZCQG.js';
package/dist/chip-set.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { i, _ as __decorate, I as IndividualComponent, b } from './IndividualComponent-BK7XZjE2.js';
2
2
  import { n } from './property-B2TG3KEE.js';
3
- import { B as BaseInput } from './BaseInput-FhjvfMjF.js';
3
+ import { B as BaseInput } from './BaseInput-Cv03GZLu.js';
4
4
  import { R as RovingFocusController } from './roving-focus-controller-fm95JkZJ.js';
5
5
  import { g as getFormValue } from './form-associated-BHbg72PG.js';
6
- import { p as peacockString } from './strings-DYwXSSu_.js';
6
+ import { p as peacockString } from './strings-DeiQWMd9.js';
7
7
  import './state-BCeDVCI9.js';
8
8
  import './element-internals-QME0yEz4.js';
9
9
  import './suggestion-controller-7YRQqkaI.js';
package/dist/chip.js CHANGED
@@ -13,11 +13,11 @@ import { a as mixinBaseButton } from './base-button-BJMGMcMv.js';
13
13
  import { m as mixinHyperlink } from './hyperlink-DycWPKwU.js';
14
14
  import { m as mixinDelegatesAria } from './delegate-Bw2wdPFP.js';
15
15
  import { m as mixinElementInternals } from './element-internals-QME0yEz4.js';
16
- import { I as I18nController } from './i18n-controller-Co6pasNo.js';
16
+ import { I as I18nController } from './i18n-controller-BTeChxE0.js';
17
17
  import './base-Cl6v8-BZ.js';
18
18
  import './directive-ZPhl09Yt.js';
19
19
  import './warn-once-BNxX1Y98.js';
20
- import './strings-DYwXSSu_.js';
20
+ import './strings-DeiQWMd9.js';
21
21
  import './locale-DEsJZCQG.js';
22
22
 
23
23
  var css_248z$1 = i`* {
@@ -1,11 +1,11 @@
1
1
  import { i, _ as __decorate, I as IndividualComponent, A, b } from './IndividualComponent-BK7XZjE2.js';
2
2
  import { e } from './class-map-NDIkZErE.js';
3
3
  import { o } from './style-map-CHOg6N_R.js';
4
- import { B as BaseProgress } from './base-progress-D8-x6XS4.js';
4
+ import { B as BaseProgress } from './base-progress-CqsyiVOV.js';
5
5
  import './directive-ZPhl09Yt.js';
6
6
  import './property-B2TG3KEE.js';
7
- import './i18n-controller-Co6pasNo.js';
8
- import './strings-DYwXSSu_.js';
7
+ import './i18n-controller-BTeChxE0.js';
8
+ import './strings-DeiQWMd9.js';
9
9
  import './locale-DEsJZCQG.js';
10
10
  import './delegate-Bw2wdPFP.js';
11
11
 
package/dist/citation.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { i, _ as __decorate, I as IndividualComponent, a as i$1, b, A } from './IndividualComponent-BK7XZjE2.js';
2
2
  import { n } from './property-B2TG3KEE.js';
3
3
  import { r } from './state-BCeDVCI9.js';
4
- import { I as I18nController } from './i18n-controller-Co6pasNo.js';
4
+ import { I as I18nController } from './i18n-controller-BTeChxE0.js';
5
5
  import { s as safeUrl } from './url-BFUh__RO.js';
6
- import './strings-DYwXSSu_.js';
6
+ import './strings-DeiQWMd9.js';
7
7
  import './locale-DEsJZCQG.js';
8
8
 
9
9
  var css_248z = i`* {
@@ -3,14 +3,14 @@ import { n } from './property-B2TG3KEE.js';
3
3
  import { r } from './state-BCeDVCI9.js';
4
4
  import { e } from './query-CHb9Ft_d.js';
5
5
  import { e as e$1 } from './class-map-NDIkZErE.js';
6
- import { I as I18nController } from './i18n-controller-Co6pasNo.js';
6
+ import { I as I18nController } from './i18n-controller-BTeChxE0.js';
7
7
  import { A as AiController } from './ai-controller-DR_Tg0sN.js';
8
- import { B as BaseInput } from './BaseInput-FhjvfMjF.js';
8
+ import { B as BaseInput } from './BaseInput-Cv03GZLu.js';
9
9
  import { o as observeThemeChange } from './observe-theme-change-CkSENG98.js';
10
10
  import { t as tokenColor } from './token-colors-DEO6rvEu.js';
11
11
  import './base-Cl6v8-BZ.js';
12
12
  import './directive-ZPhl09Yt.js';
13
- import './strings-DYwXSSu_.js';
13
+ import './strings-DeiQWMd9.js';
14
14
  import './locale-DEsJZCQG.js';
15
15
  import './element-internals-QME0yEz4.js';
16
16
  import './form-associated-BHbg72PG.js';
@@ -4,11 +4,11 @@ import { r } from './state-BCeDVCI9.js';
4
4
  import { e } from './query-CHb9Ft_d.js';
5
5
  import { e as e$1 } from './class-map-NDIkZErE.js';
6
6
  import { o } from './style-map-CHOg6N_R.js';
7
- import { I as I18nController } from './i18n-controller-Co6pasNo.js';
7
+ import { I as I18nController } from './i18n-controller-BTeChxE0.js';
8
8
  import { T as TOKEN_DEFAULTS } from './token-colors-DEO6rvEu.js';
9
9
  import './base-Cl6v8-BZ.js';
10
10
  import './directive-ZPhl09Yt.js';
11
- import './strings-DYwXSSu_.js';
11
+ import './strings-DeiQWMd9.js';
12
12
  import './locale-DEsJZCQG.js';
13
13
 
14
14
  /**
@@ -4,13 +4,13 @@ import { r } from './state-BCeDVCI9.js';
4
4
  import { e } from './query-CHb9Ft_d.js';
5
5
  import { o } from './style-map-CHOg6N_R.js';
6
6
  import { s as spread } from './spread-B5cgadZl.js';
7
- import { I as I18nController } from './i18n-controller-Co6pasNo.js';
8
- import { B as BaseField } from './BaseField-DPyW5Zm5.js';
7
+ import { I as I18nController } from './i18n-controller-BTeChxE0.js';
8
+ import { B as BaseField } from './BaseField-BbOj212R.js';
9
9
  import './base-Cl6v8-BZ.js';
10
10
  import './directive-ZPhl09Yt.js';
11
- import './strings-DYwXSSu_.js';
11
+ import './strings-DeiQWMd9.js';
12
12
  import './locale-DEsJZCQG.js';
13
- import './BaseInput-FhjvfMjF.js';
13
+ import './BaseInput-Cv03GZLu.js';
14
14
  import './element-internals-QME0yEz4.js';
15
15
  import './form-associated-BHbg72PG.js';
16
16
  import './suggestion-controller-7YRQqkaI.js';
@@ -3,10 +3,10 @@ import { n } from './property-B2TG3KEE.js';
3
3
  import { r } from './state-BCeDVCI9.js';
4
4
  import { e } from './query-CHb9Ft_d.js';
5
5
  import { o } from './style-map-CHOg6N_R.js';
6
- import { I as I18nController } from './i18n-controller-Co6pasNo.js';
6
+ import { I as I18nController } from './i18n-controller-BTeChxE0.js';
7
7
  import './base-Cl6v8-BZ.js';
8
8
  import './directive-ZPhl09Yt.js';
9
- import './strings-DYwXSSu_.js';
9
+ import './strings-DeiQWMd9.js';
10
10
  import './locale-DEsJZCQG.js';
11
11
 
12
12
  var css_248z = i`:host {
@@ -3,7 +3,7 @@ import { n } from './property-B2TG3KEE.js';
3
3
  import { r } from './state-BCeDVCI9.js';
4
4
  import { e } from './query-CHb9Ft_d.js';
5
5
  import { e as e$1 } from './class-map-NDIkZErE.js';
6
- import { I as I18nController } from './i18n-controller-Co6pasNo.js';
6
+ import { I as I18nController } from './i18n-controller-BTeChxE0.js';
7
7
  import { A as AiController } from './ai-controller-DR_Tg0sN.js';
8
8
  import { s as sparkle } from './sparkle-BmtM0vbq.js';
9
9
  import { i as isApplePlatform } from './platform-BUuoTAmr.js';
@@ -11,7 +11,7 @@ import { O as OverlayController } from './overlay-controller-BOk-kfil.js';
11
11
  import { c as css_248z$1 } from './modal-B78gUfEO.js';
12
12
  import './base-Cl6v8-BZ.js';
13
13
  import './directive-ZPhl09Yt.js';
14
- import './strings-DYwXSSu_.js';
14
+ import './strings-DeiQWMd9.js';
15
15
  import './locale-DEsJZCQG.js';
16
16
 
17
17
  var css_248z = i`/*
@@ -3,7 +3,7 @@ import { n } from './property-B2TG3KEE.js';
3
3
  import { r } from './state-BCeDVCI9.js';
4
4
  import { e } from './class-map-NDIkZErE.js';
5
5
  import { i as Extension } from './slash-controller-DAsDquPA.js';
6
- import { R as RichTextInput } from './rich-text-input-YeqK1or-.js';
6
+ import { R as RichTextInput } from './rich-text-input-BCZ46UF8.js';
7
7
  import { e as extractMentions } from './markdown-lexer-Bx4Vkpu6.js';
8
8
  import './directive-ZPhl09Yt.js';
9
9
  import './diff-CT416thw.js';
@@ -18,12 +18,12 @@ import './url-BFUh__RO.js';
18
18
  import './query-CHb9Ft_d.js';
19
19
  import './base-Cl6v8-BZ.js';
20
20
  import './style-map-CHOg6N_R.js';
21
- import './BaseInput-FhjvfMjF.js';
21
+ import './BaseInput-Cv03GZLu.js';
22
22
  import './element-internals-QME0yEz4.js';
23
23
  import './form-associated-BHbg72PG.js';
24
- import './strings-DYwXSSu_.js';
24
+ import './strings-DeiQWMd9.js';
25
25
  import './suggestion-controller-7YRQqkaI.js';
26
- import './i18n-controller-Co6pasNo.js';
26
+ import './i18n-controller-BTeChxE0.js';
27
27
 
28
28
  var css_248z = i`* {
29
29
  box-sizing: border-box;
@@ -2,7 +2,7 @@ import { i, _ as __decorate, I as IndividualComponent, A, b } from './Individual
2
2
  import { n } from './property-B2TG3KEE.js';
3
3
  import { A as AiController } from './ai-controller-DR_Tg0sN.js';
4
4
  import { s as sparkle } from './sparkle-BmtM0vbq.js';
5
- import { a as CbGroupBase } from './cb-group-base-BhWC78b0.js';
5
+ import { a as CbGroupBase } from './cb-group-base-CWctDJvy.js';
6
6
  import { c as css_248z$1 } from './cb-group-base-2Ps2CnBz.js';
7
7
  import './locale-DEsJZCQG.js';
8
8
  import './state-BCeDVCI9.js';
@@ -11,8 +11,8 @@ import './base-Cl6v8-BZ.js';
11
11
  import './class-map-NDIkZErE.js';
12
12
  import './directive-ZPhl09Yt.js';
13
13
  import './style-map-CHOg6N_R.js';
14
- import './i18n-controller-Co6pasNo.js';
15
- import './strings-DYwXSSu_.js';
14
+ import './i18n-controller-BTeChxE0.js';
15
+ import './strings-DeiQWMd9.js';
16
16
 
17
17
  var css_248z = i`.describe {
18
18
  display: flex;
@@ -3,12 +3,12 @@ import { n } from './property-B2TG3KEE.js';
3
3
  import { r } from './state-BCeDVCI9.js';
4
4
  import { e } from './query-CHb9Ft_d.js';
5
5
  import { e as e$1 } from './class-map-NDIkZErE.js';
6
- import { I as I18nController } from './i18n-controller-Co6pasNo.js';
6
+ import { I as I18nController } from './i18n-controller-BTeChxE0.js';
7
7
  import { O as OverlayController } from './overlay-controller-BOk-kfil.js';
8
8
  import { c as css_248z$1 } from './modal-B78gUfEO.js';
9
9
  import './base-Cl6v8-BZ.js';
10
10
  import './directive-ZPhl09Yt.js';
11
- import './strings-DYwXSSu_.js';
11
+ import './strings-DeiQWMd9.js';
12
12
  import './locale-DEsJZCQG.js';
13
13
 
14
14
  var css_248z = i`/*
@@ -1,9 +1,9 @@
1
1
  import { i, _ as __decorate, I as IndividualComponent, a as i$1, b } from './IndividualComponent-BK7XZjE2.js';
2
2
  import { n } from './property-B2TG3KEE.js';
3
3
  import { r } from './state-BCeDVCI9.js';
4
- import { I as I18nController } from './i18n-controller-Co6pasNo.js';
4
+ import { I as I18nController } from './i18n-controller-BTeChxE0.js';
5
5
  import { w as writeClipboardText, t as textToCopyFrom } from './clipboard-C7hBdUXP.js';
6
- import './strings-DYwXSSu_.js';
6
+ import './strings-DeiQWMd9.js';
7
7
  import './locale-DEsJZCQG.js';
8
8
 
9
9
  var css_248z = i`* {
@@ -3,14 +3,14 @@ import { n } from './property-B2TG3KEE.js';
3
3
  import { r } from './state-BCeDVCI9.js';
4
4
  import { e } from './query-CHb9Ft_d.js';
5
5
  import { s as spread } from './spread-B5cgadZl.js';
6
- import { I as I18nController } from './i18n-controller-Co6pasNo.js';
6
+ import { I as I18nController } from './i18n-controller-BTeChxE0.js';
7
7
  import { w as warnOnce } from './warn-once-BNxX1Y98.js';
8
- import { B as BaseField } from './BaseField-DPyW5Zm5.js';
8
+ import { B as BaseField } from './BaseField-BbOj212R.js';
9
9
  import './base-Cl6v8-BZ.js';
10
10
  import './directive-ZPhl09Yt.js';
11
- import './strings-DYwXSSu_.js';
11
+ import './strings-DeiQWMd9.js';
12
12
  import './locale-DEsJZCQG.js';
13
- import './BaseInput-FhjvfMjF.js';
13
+ import './BaseInput-Cv03GZLu.js';
14
14
  import './element-internals-QME0yEz4.js';
15
15
  import './form-associated-BHbg72PG.js';
16
16
  import './suggestion-controller-7YRQqkaI.js';
@@ -1909,142 +1909,32 @@
1909
1909
  "tag": "wc-calendar",
1910
1910
  "rawTag": "calendar",
1911
1911
  "summary": "A calendar that shows events by day, week or month, with controls to move between periods.",
1912
- "overview": "<p>Pass events as the <code>events</code> property; each has a <code>start</code>,\n<code>end</code>, <code>title</code> and optional palette <code>color</code>. The day and week\nviews lay timed events out in a column per day, with events lasting a day or more in a row\nabove; the month view shows six weeks. <code>available-views</code> sets the views offered in\nthe header's segmented buttons, and <code>view</code> the one shown.</p>\n<p>The header has a Today button, previous and next buttons and the current date, which is a\npolite live region. <code>previous()</code>, <code>next()</code> and <code>today()</code> do the\nsame from code; each fires <code>date-change</code>. The date shown is <code>date</code> (an ISO\nstring) or <code>contextDate</code> (a <code>Date</code>), kept in step. Choosing a day number\nin a column view switches to the day view and fires <code>view-change</code> and\n<code>date-change</code>.</p>\n<p>Events are buttons, chosen with a click, Enter or Space, which fire <code>event-click</code>.\nWith <code>events-readonly</code> they are shown but cannot be focused or clicked.\n<code>loading</code> shows a progress bar and marks the calendar busy. <code>first-day</code>\nsets the week start (else the locale's), <code>timezone</code> the zone the current time is\nshown in, and <code>locale</code> the language of names and times.</p>",
1912
+ "overview": "<p>Pass events as the <code>events</code> property; each has a <code>start</code>,\n<code>end</code>, <code>title</code> and optional palette <code>color</code>. <code>end</code> is\nexclusive: an all-day event on November 4 runs from midnight on the 4th to midnight on the 5th.\nThe day and week views lay timed events out in a column per day, with events lasting a day or\nmore in a row above; the month view shows six weeks. <code>available-views</code> sets the views\noffered in the header's segmented buttons, and <code>view</code> the one shown.</p>\n<p>The header has a Today button, previous and next buttons and the current date, which is a\npolite live region. <code>previous()</code>, <code>next()</code> and <code>today()</code> do the\nsame from code; each fires <code>date-change</code>. The date shown is <code>date</code> (an ISO\nstring) or <code>contextDate</code> (a <code>Date</code>), kept in step. Choosing a day number\nin a column view switches to the day view and fires <code>view-change</code> and\n<code>date-change</code>.</p>\n<p>Events are buttons, chosen with a click, Enter or Space, which fire <code>event-click</code>.\nWith <code>events-readonly</code> they are shown but cannot be focused or clicked.\n<code>loading</code> shows a progress bar and marks the calendar busy. <code>first-day</code>\nsets the week start (else the locale's), <code>timezone</code> the zone the current time is\nshown in, and <code>locale</code> the language of names and times.</p>\n<p>With <code>editable</code>, people drag events to move them and drag their edges to change\nwhen they start or end: timed events in steps of <code>minute-step</code> minutes, all-day events\nand every event in the month view by whole days. Each drop fires the cancelable\n<code>event-change</code>; unless it is canceled, the calendar replaces <code>events</code> with\na new array holding a copy of the event with its new times. To confirm a change with a server\nfirst, cancel the event and apply it later with <code>applyCalendarChange()</code>. An event with\n<code>editable: false</code> stays put, and <code>events-readonly</code> turns editing off. On\ntouch screens, hold an event briefly before dragging it. Escape cancels a drag.</p>\n<p>With <code>addable</code>, dragging across empty time, or clicking it, fires\n<code>event-add</code> with the range: a click gives <code>default-duration</code> minutes, and\nthe all-day row and the month view give whole days. The calendar does not add the event itself.\nIt marks the range as a new event until <code>events</code> changes, the person presses Escape\nor starts another drag, or <code>clearPlaceholder()</code> is called, for example when a dialog\nasking for the event's title is canceled. Each change is announced to screen readers. Dragging\nneeds a pointer, so offer another way to change an event's time too, such as the dialog that\n<code>event-click</code> opens.</p>",
1913
1913
  "cssprop": "--calendar-event-border-color - Left border color for calendar events.",
1914
- "fires": "date-change - The context date changed. Detail contains `{ date, value }`: the `Date` and its ISO string.",
1915
- "example": "```html\n<wc-calendar view=\"week\" date=\"2026-11-06\" style=\"height: 600px\"></wc-calendar>\n```",
1914
+ "fires": "event-add - Empty time was dragged across or clicked. Detail contains `{ start, end, allDay }`. Only with `addable`.",
1915
+ "example": "```html\n<wc-calendar id=\"planner\" view=\"week\" editable addable style=\"height: 600px\"></wc-calendar>\n<script>\n const planner = document.getElementById('planner');\n planner.events = [\n { id: 1, title: 'Standup', start: new Date(2026, 10, 4, 9), end: new Date(2026, 10, 4, 9, 30) },\n ];\n planner.addEventListener('event-change', event => console.log(event.detail));\n planner.addEventListener('event-add', ({ detail }) => {\n planner.events = [...planner.events, { id: Date.now(), title: 'New event', ...detail }];\n });\n</script>\n```",
1916
1916
  "customElement": {
1917
- "kind": "class",
1918
- "description": "",
1919
- "cssProperties": [
1920
- {
1921
- "description": "Border color used throughout the calendar grid.",
1922
- "name": "--calendar-border-color"
1923
- },
1924
- {
1925
- "description": "Background color for calendar events.",
1926
- "name": "--calendar-event-bg-color"
1927
- },
1928
- {
1929
- "description": "Left border color for calendar events.",
1930
- "name": "--calendar-event-border-color"
1931
- }
1932
- ],
1933
- "events": [
1934
- {
1935
- "name": "date-change",
1936
- "type": {
1937
- "text": "CustomEvent<{date: Date, value: string}>"
1938
- },
1939
- "description": "The context date changed. Detail contains `{ date, value }`: the `Date` and its ISO string."
1940
- },
1941
- {
1942
- "name": "view-change",
1943
- "type": {
1944
- "text": "CustomEvent<{view: string}>"
1945
- },
1946
- "description": "The view changed. Detail contains `{ view }`."
1947
- },
1948
- {
1949
- "name": "event-click",
1950
- "type": {
1951
- "text": "CustomEvent<{event: EventType}>"
1952
- },
1953
- "description": "An event was clicked, or chosen with Enter or Space. Detail contains `{ event }`. Not fired with `events-readonly`."
1917
+ "kind": "function",
1918
+ "return": {
1919
+ "type": {
1920
+ "text": "T[]"
1954
1921
  }
1955
- ],
1956
- "attributes": [
1922
+ },
1923
+ "parameters": [
1957
1924
  {
1958
1925
  "name": "events",
1959
1926
  "type": {
1960
- "text": "EventType[]"
1961
- },
1962
- "default": "[]",
1963
- "description": "Calendar events array.",
1964
- "fieldName": "events"
1965
- },
1966
- {
1967
- "name": "available-views",
1968
- "type": {
1969
- "text": "CalendarViewType[]"
1970
- },
1971
- "default": "[ { value: 'day', type: 'column', days: 1 }, { value: 'week', type: 'column', days: 7 }, { value: 'month', type: 'month' }, ]",
1972
- "description": "Available views configuration. A view without a `label` shows Peacock's `day`, `week` or\n`month` string for those values, else its `value`.",
1973
- "fieldName": "availableViews"
1974
- },
1975
- {
1976
- "name": "view",
1977
- "type": {
1978
- "text": "string"
1979
- },
1980
- "default": "'week'",
1981
- "description": "Current calendar view.",
1982
- "fieldName": "view"
1983
- },
1984
- {
1985
- "name": "date",
1986
- "type": {
1987
- "text": "string"
1988
- },
1989
- "default": "''",
1990
- "description": "The date the view shows, as an ISO string (`YYYY-MM-DD`). Kept in step with `contextDate`.\nDefaults to today.",
1991
- "fieldName": "date"
1992
- },
1993
- {
1994
- "name": "first-day",
1995
- "type": {
1996
- "text": "number | undefined"
1997
- },
1998
- "description": "First day of the week, `0` (Sunday) to `6` (Saturday). Defaults to the locale's week start.",
1999
- "fieldName": "firstDay"
2000
- },
2001
- {
2002
- "name": "events-readonly",
2003
- "type": {
2004
- "text": "boolean"
2005
- },
2006
- "default": "false",
2007
- "description": "Events are shown but cannot be clicked or focused, and `event-click` does not fire.",
2008
- "fieldName": "eventsReadonly"
2009
- },
2010
- {
2011
- "name": "loading",
2012
- "type": {
2013
- "text": "boolean"
2014
- },
2015
- "default": "false",
2016
- "description": "Shows a progress bar and marks the calendar busy while events load.",
2017
- "fieldName": "loading"
2018
- },
2019
- {
2020
- "name": "timezone",
2021
- "type": {
2022
- "text": "string"
2023
- },
2024
- "default": "''",
2025
- "description": "IANA time zone the current time is shown in, for example `America/New_York`. Defaults to the browser's.",
2026
- "fieldName": "timezone"
1927
+ "text": "readonly T[]"
1928
+ }
2027
1929
  },
2028
1930
  {
2029
- "name": "locale",
1931
+ "name": "change",
2030
1932
  "type": {
2031
- "text": "string"
2032
- },
2033
- "default": "''",
2034
- "description": "Locale for month and day names and times. Defaults to the nearest `lang`, then the browser\nlanguage.",
2035
- "fieldName": "locale"
1933
+ "text": "Pick<CalendarEventChangeDetail, 'event' | 'start' | 'end'>"
1934
+ }
2036
1935
  }
2037
1936
  ],
2038
- "superclass": {
2039
- "name": "LitElement",
2040
- "package": "lit"
2041
- },
2042
- "tagName": "wc-calendar",
2043
- "customElement": true,
2044
- "rawTag": {
2045
- "name": "calendar",
2046
- "description": ""
2047
- }
1937
+ "description": "Applies an `event-change` to an `events` array the way the calendar does, returning a new array\nin which the event is replaced by a copy with the new `start` and `end`. The event is found by\nidentity, else by `id`. The copy is made with object spread, so give the calendar plain objects,\nnot class instances. Use it to apply a change you canceled, for example once the server has\naccepted it."
2048
1938
  }
2049
1939
  },
2050
1940
  {
@@ -2052,16 +1942,49 @@
2052
1942
  "tag": "wc-calendar-column-view",
2053
1943
  "rawTag": "calendar-column-view",
2054
1944
  "summary": "The calendar's day and week view, with one column of timed events per day.",
2055
- "overview": "<p>Rendered by <code>wc-calendar</code>; not meant to be used on its own.</p>\n<p>The view is a region labelled with the dates it shows. Day numbers in the header are buttons\nthat open the day; events are buttons labelled with their title and time, or notes that cannot\nbe focused when <code>events-readonly</code> is set. Events lasting a day or more are shown in a\nrow above the hours.</p>",
2056
- "fires": "event-click - Internal, does not bubble; `wc-calendar` re-fires it. Detail contains `{ event }`."
1945
+ "overview": "<p>Rendered by <code>wc-calendar</code>; not meant to be used on its own.</p>\n<p>The view is a region labelled with the dates it shows. Day numbers in the header are buttons\nthat open the day; events are buttons labelled with their title and time, or notes that cannot\nbe focused when <code>events-readonly</code> is set. Events lasting a day or more are shown in a\nrow above the hours.</p>\n<p>With <code>editable</code>, events are dragged to move them and their edges to resize them;\nwith <code>addable</code>, dragging across empty time or clicking it asks for a new event.</p>",
1946
+ "fires": "event-add - Internal, does not bubble; a range of empty time was drawn or clicked. `wc-calendar` re-fires it."
2057
1947
  },
2058
1948
  {
2059
1949
  "label": "Calendar Month View",
2060
1950
  "tag": "wc-calendar-month-view",
2061
1951
  "rawTag": "calendar-month-view",
2062
1952
  "summary": "The calendar's month view, six weeks of days with the events on each.",
2063
- "overview": "<p>Rendered by <code>wc-calendar</code>; not meant to be used on its own.</p>\n<p>The month is a read-only ARIA grid labelled with the month and year: one row per week, one\ngridcell per day labelled with its full date. Each event is owned (<code>aria-owns</code>) by the\ncell of the day it starts on in that week. Events are buttons labelled with their title and\ntime, or notes that cannot be focused when <code>events-readonly</code> is set.</p>",
2064
- "fires": "event-click - Internal, does not bubble; `wc-calendar` re-fires it. Detail contains `{ event }`."
1953
+ "overview": "<p>Rendered by <code>wc-calendar</code>; not meant to be used on its own.</p>\n<p>The month is a read-only ARIA grid labelled with the month and year: one row per week, one\ngridcell per day labelled with its full date. Each event is owned (<code>aria-owns</code>) by the\ncell of the day it starts on in that week. Events are buttons labelled with their title and\ntime, or notes that cannot be focused when <code>events-readonly</code> is set.</p>\n<p>With <code>editable</code>, events are dragged to other days and all-day events resized by\ntheir edges; with <code>addable</code>, dragging across days or clicking one asks for an\nall-day event. The days a drag covers are highlighted.</p>",
1954
+ "fires": "event-add - Internal, does not bubble; days were drawn across or a day clicked. `wc-calendar` re-fires it."
1955
+ },
1956
+ {
1957
+ "label": "Calendar Timeline",
1958
+ "tag": "wc-calendar-timeline",
1959
+ "rawTag": "calendar-timeline",
1960
+ "summary": "Resources such as people, rooms or machines as rows against a horizontal time axis, with events that can be dragged between times and rows.",
1961
+ "overview": "<p>Pass the rows as <code>resources</code> (<code>{ id, title, supportingText? }</code>) and the\nevents as <code>events</code>: the calendar's event objects with a <code>resourceId</code>. An\nevent whose <code>resourceId</code> matches no resource is not shown, and <code>end</code> is\nexclusive, as in <code>wc-calendar</code>.</p>\n<p>Each entry of <code>available-views</code> is <code>{ value, label?, slot, days? }</code>:\n<code>slot</code> is what a column stands for, <code>hour</code> or <code>day</code>, and without\n<code>days</code> the view is a calendar month. The defaults are <code>day</code> (24 hour\ncolumns), <code>week</code> (7 day columns from the week's first day) and <code>month</code>. In\nhour views an event is drawn from its start to its end; in day views it covers the days it\ntouches. Events that overlap in a row stack in lanes. Columns share the width, never narrower\nthan <code>--calendar-timeline-hour-width</code> or <code>--calendar-timeline-day-width</code>, and a\nrange that does not fit scrolls sideways under a header and a resource column that stay in\nplace. A line marks the current time.</p>\n<p>The header, <code>date</code>, <code>contextDate</code>, <code>view</code>,\n<code>first-day</code>, <code>timezone</code>, <code>locale</code>, <code>previous()</code>,\n<code>next()</code> and <code>today()</code> work as in <code>wc-calendar</code>, so the two can\nshare a view switcher and a date.</p>\n<p>With <code>editable</code>, people drag an event to another time or another resource's row,\nand drag its edges to resize it: in steps of <code>minute-step</code> minutes in hour views, by\nwhole days in day views. Each drop fires the cancelable <code>event-change</code>, with the new\n<code>resourceId</code>; unless it is canceled, the timeline replaces <code>events</code> with a new\narray holding a copy of the event. To confirm a change with a server first, cancel the event and\napply it later with <code>applyCalendarTimelineChange()</code>. With <code>addable</code>, dragging\nacross empty time in a row, or clicking it, fires <code>event-add</code>; the range stays marked\nas a new event until <code>events</code> changes or <code>clearPlaceholder()</code> is called.\nAn event with <code>editable: false</code> stays put, and <code>events-readonly</code> turns\nediting off.</p>\n<p><code>group-by</code> names a resource field, such as <code>team</code>, to group the rows by.\nGroups keep the order they first appear in, and resources without the field form an\n\"(Empty)\" group. Each group has a header row whose button collapses or expands it and fires\n<code>group-toggle</code>; <code>collapsed-groups</code> holds the keys of the collapsed groups,\ntheir values as strings. A collapsed group's header shows its events as thin bars, so its busy\ntimes stay in sight. Events can be dragged between rows of different groups.</p>\n<p>The timeline is a table: a row per resource, with the resource's title as its row header and its\nevents in its cell. Events are buttons, named with their title, resource and time, that fire\n<code>event-click</code>. Changes are announced to screen readers. Dragging needs a pointer, so\noffer another way to change an event too, such as the dialog <code>event-click</code> opens.</p>",
1962
+ "cssprop": "--calendar-timeline-event-border-color - Start border color of events without a `color`.",
1963
+ "fires": "group-toggle - A group was collapsed or expanded with its header's button. Detail contains `{ group, expanded }`.",
1964
+ "example": "```html\n<wc-calendar-timeline id=\"rooms\" view=\"day\" resource-label=\"Rooms\" editable addable style=\"height: 24rem\"></wc-calendar-timeline>\n<script>\n const rooms = document.getElementById('rooms');\n rooms.resources = [\n { id: 'aspen', title: 'Aspen', supportingText: '8 seats' },\n { id: 'birch', title: 'Birch', supportingText: '4 seats' },\n ];\n rooms.events = [\n { id: 1, resourceId: 'aspen', title: 'Design review', start: new Date(2026, 10, 4, 9), end: new Date(2026, 10, 4, 10) },\n ];\n rooms.addEventListener('event-change', event => console.log(event.detail));\n</script>\n```",
1965
+ "customElement": {
1966
+ "kind": "function",
1967
+ "return": {
1968
+ "type": {
1969
+ "text": "T[]"
1970
+ }
1971
+ },
1972
+ "parameters": [
1973
+ {
1974
+ "name": "events",
1975
+ "type": {
1976
+ "text": "readonly T[]"
1977
+ }
1978
+ },
1979
+ {
1980
+ "name": "change",
1981
+ "type": {
1982
+ "text": "Pick<\n CalendarTimelineEventChangeDetail,\n 'event' | 'start' | 'end' | 'resourceId'\n >"
1983
+ }
1984
+ }
1985
+ ],
1986
+ "description": "Applies an `event-change` to an `events` array the way the timeline does, returning a new array in\nwhich the event is replaced by a copy with the new `start`, `end` and `resourceId`. The event is\nfound by identity, else by `id`. The copy is made with object spread, so give the timeline plain\nobjects. Use it to apply a change you canceled, for example once the server has accepted it."
1987
+ }
2065
1988
  },
2066
1989
  {
2067
1990
  "label": "Card",