@isma91/react-scheduler 4.0.4 → 4.0.6

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": "@isma91/react-scheduler",
3
- "version": "4.0.4",
3
+ "version": "4.0.6",
4
4
  "description": "React scheduler component based on Material-UI & date-fns",
5
5
  "files": [
6
6
  "*"
@@ -45,6 +45,7 @@ export declare const defaultProps: (props: Partial<SchedulerProps>) => {
45
45
  showCurrentTimeBar: boolean;
46
46
  currentTimeBarColor?: string | undefined;
47
47
  forceInlineMultiDay: boolean;
48
+ displayHourRange?: boolean | undefined;
48
49
  translations: {
49
50
  moreEvents: string;
50
51
  loading: string;
@@ -176,6 +177,7 @@ export declare const initialStore: {
176
177
  showCurrentTimeBar: boolean;
177
178
  currentTimeBarColor?: string | undefined;
178
179
  forceInlineMultiDay: boolean;
180
+ displayHourRange?: boolean | undefined;
179
181
  translations: {
180
182
  moreEvents: string;
181
183
  loading: string;
package/types.d.ts CHANGED
@@ -362,6 +362,12 @@ export interface SchedulerProps {
362
362
  * @default false
363
363
  */
364
364
  forceInlineMultiDay?: boolean;
365
+ /**
366
+ * Controls visibility of the secondary information in Agenda list items.
367
+ * When false, hides the secondary text.
368
+ * @default true
369
+ */
370
+ displayHourRange?: boolean;
365
371
  }
366
372
  export interface SchedulerRef {
367
373
  el: HTMLDivElement;