@mui-toolpad-extended-tuni/calendar 3.0.0 → 3.0.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.
package/README.md CHANGED
@@ -36,18 +36,18 @@ The calendar microservice automatically registers itself when imported:
36
36
 
37
37
  ```tsx
38
38
  import { BrowserRouter } from 'react-router-dom';
39
- import { LMSProvider, Microservices } from 'mui-toolpad-extended-tuni';
39
+ import { ToolpadProvider, Microservices } from 'mui-toolpad-extended-tuni';
40
40
  import { CalendarMicroservice } from '@mui-toolpad-extended-tuni/calendar';
41
41
 
42
42
  function App() {
43
43
  return (
44
44
  <BrowserRouter>
45
- <LMSProvider>
45
+ <ToolpadProvider>
46
46
  <Microservices>
47
47
  <CalendarMicroservice />
48
48
  {/* Other microservices */}
49
49
  </Microservices>
50
- </LMSProvider>
50
+ </ToolpadProvider>
51
51
  </BrowserRouter>
52
52
  );
53
53
  }
@@ -134,14 +134,14 @@ Simply include both microservices - the integration happens automatically:
134
134
 
135
135
  ```tsx
136
136
  import { BrowserRouter } from 'react-router-dom';
137
- import { LMSProvider, Microservices } from 'mui-toolpad-extended-tuni';
137
+ import { ToolpadProvider, Microservices } from 'mui-toolpad-extended-tuni';
138
138
  import { CourseMicroservice } from '@mui-toolpad-extended-tuni/courses';
139
139
  import { CalendarMicroservice } from '@mui-toolpad-extended-tuni/calendar';
140
140
 
141
141
  function App() {
142
142
  return (
143
143
  <BrowserRouter>
144
- <LMSProvider>
144
+ <ToolpadProvider>
145
145
  <Microservices>
146
146
  {/* CourseEventPublisher automatically publishes course events */}
147
147
  <CourseMicroservice />
@@ -149,7 +149,7 @@ function App() {
149
149
  {/* CalendarEventAggregator automatically subscribes and displays events */}
150
150
  <CalendarMicroservice />
151
151
  </Microservices>
152
- </LMSProvider>
152
+ </ToolpadProvider>
153
153
  </BrowserRouter>
154
154
  );
155
155
  }
@@ -15,7 +15,7 @@ interface CalendarMicroserviceProps {
15
15
  * Calendar receives events from EventBus, not directly from Courses.
16
16
  * Courses publishes events via CourseEventPublisher, Calendar subscribes via CalendarEventAggregator.
17
17
  *
18
- * This component should be used in App.tsx, not LMSProvider.tsx, to maintain
18
+ * This component should be used in App.tsx, not ToolpadProvider.tsx, to maintain
19
19
  * proper separation of concerns and avoid tight coupling.
20
20
  *
21
21
  * @example