@mintplayer/react-bootstrap 19.9.0 → 19.10.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mintplayer/react-bootstrap",
3
- "version": "19.9.0",
3
+ "version": "19.10.0",
4
4
  "description": "React 19 wrappers around @mintplayer/web-components. Each sub-entry maps one-to-one with a WC sub-entry and exposes typed React components via @lit/react's createComponent.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -12,6 +12,9 @@ const a = t({
12
12
  onEventUpdate: "event-update",
13
13
  onEventDelete: "event-delete",
14
14
  onDateClick: "date-click",
15
+ // Fires for view switches AND internal date navigation (prev/next/today)
16
+ // — `date` carries the newly displayed date, so a controlled `date` prop
17
+ // stays in sync by updating state from this callback.
15
18
  onViewChange: "view-change",
16
19
  onSelectionChange: "selection-change"
17
20
  }
@@ -44,6 +44,7 @@ export declare const BsScheduler: import('@lit/react').ReactWebComponent<MpSched
44
44
  }>>;
45
45
  onViewChange: EventName<CustomEvent<{
46
46
  view: ViewType;
47
+ date: Date;
47
48
  }>>;
48
49
  onSelectionChange: EventName<CustomEvent<{
49
50
  range: TimeRange | null;