@sme.up/ketchup 11.0.0-SNAPSHOT-20241017151034 → 11.0.0-SNAPSHOT-20241018090121

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.
@@ -34,16 +34,16 @@ export declare enum KupCalendarOptions {
34
34
  STYLE = "style"
35
35
  }
36
36
  /**
37
- * Calendar columns prop
37
+ * Calendar column.
38
38
  */
39
- export type KupCalendarColumnsProp = {
40
- [key in KupCalendarOptions]: boolean;
41
- };
39
+ export interface KupCalendarColumn extends KupDataColumn {
40
+ calendarOption: KupCalendarOptions;
41
+ }
42
42
  /**
43
43
  * Dataset of the calendar.
44
44
  */
45
45
  export interface KupCalendarData {
46
- columns: KupDataColumn[];
46
+ columns: KupCalendarColumn[];
47
47
  rows: KupDataRow[];
48
48
  }
49
49
  /**
@@ -1,6 +1,6 @@
1
1
  import { EventEmitter } from '../../stencil-public-runtime';
2
2
  import { GenericObject } from '../../types/GenericTypes';
3
- import { KupCalendarColumnsProp, KupCalendarData, KupCalendarDateClickEventPayload, KupCalendarEventClickEventPayload, KupCalendarEventDropEventPayload, KupCalendarViewChangeEventPayload, KupCalendarViewTypes } from './kup-calendar-declarations';
3
+ import { KupCalendarData, KupCalendarDateClickEventPayload, KupCalendarEventClickEventPayload, KupCalendarEventDropEventPayload, KupCalendarViewChangeEventPayload, KupCalendarViewTypes } from './kup-calendar-declarations';
4
4
  export declare class KupCalendar {
5
5
  /**
6
6
  * References the root HTML element of the component (<kup-calendar>).
@@ -22,11 +22,6 @@ export declare class KupCalendar {
22
22
  * @default null
23
23
  */
24
24
  data: KupCalendarData;
25
- /**
26
- * Sets the data to be used to render each event in the calendar
27
- * @default {KupCalendarOptions:false}
28
- */
29
- calendarColumns: KupCalendarColumnsProp;
30
25
  /**
31
26
  * When disabled, the navigation toolbar won't be displayed.
32
27
  * @default false
@@ -18,7 +18,7 @@ import { KupStore } from "./components/kup-state/kup-store";
18
18
  import { FButtonAlign, FButtonProps, FButtonStyling } from "./f-components/f-button/f-button-declarations";
19
19
  import { KupButtonClickEventPayload } from "./components/kup-button/kup-button-declarations";
20
20
  import { KupButtonListClickEventPayload, KupButtonListNode } from "./components/kup-button-list/kup-button-list-declarations";
21
- import { KupCalendarColumnsProp, KupCalendarData, KupCalendarDateClickEventPayload, KupCalendarEventClickEventPayload, KupCalendarEventDropEventPayload, KupCalendarViewChangeEventPayload, KupCalendarViewTypes } from "./components/kup-calendar/kup-calendar-declarations";
21
+ import { KupCalendarData, KupCalendarDateClickEventPayload, KupCalendarEventClickEventPayload, KupCalendarEventDropEventPayload, KupCalendarViewChangeEventPayload, KupCalendarViewTypes } from "./components/kup-calendar/kup-calendar-declarations";
22
22
  import { KupCardClickPayload, KupCardData, KupCardEventPayload, KupCardFamily } from "./components/kup-card/kup-card-declarations";
23
23
  import { KupCardListClickEventPayload, KupCardListData } from "./components/kup-card-list/kup-card-list-declarations";
24
24
  import { FCellPadding } from "./f-components/f-cell/f-cell-declarations";
@@ -75,7 +75,7 @@ export { KupStore } from "./components/kup-state/kup-store";
75
75
  export { FButtonAlign, FButtonProps, FButtonStyling } from "./f-components/f-button/f-button-declarations";
76
76
  export { KupButtonClickEventPayload } from "./components/kup-button/kup-button-declarations";
77
77
  export { KupButtonListClickEventPayload, KupButtonListNode } from "./components/kup-button-list/kup-button-list-declarations";
78
- export { KupCalendarColumnsProp, KupCalendarData, KupCalendarDateClickEventPayload, KupCalendarEventClickEventPayload, KupCalendarEventDropEventPayload, KupCalendarViewChangeEventPayload, KupCalendarViewTypes } from "./components/kup-calendar/kup-calendar-declarations";
78
+ export { KupCalendarData, KupCalendarDateClickEventPayload, KupCalendarEventClickEventPayload, KupCalendarEventDropEventPayload, KupCalendarViewChangeEventPayload, KupCalendarViewTypes } from "./components/kup-calendar/kup-calendar-declarations";
79
79
  export { KupCardClickPayload, KupCardData, KupCardEventPayload, KupCardFamily } from "./components/kup-card/kup-card-declarations";
80
80
  export { KupCardListClickEventPayload, KupCardListData } from "./components/kup-card-list/kup-card-list-declarations";
81
81
  export { FCellPadding } from "./f-components/f-cell/f-cell-declarations";
@@ -700,11 +700,6 @@ export namespace Components {
700
700
  "styling": FButtonStyling;
701
701
  }
702
702
  interface KupCalendar {
703
- /**
704
- * Sets the data to be used to render each event in the calendar
705
- * @default {KupCalendarOptions:false}
706
- */
707
- "calendarColumns": KupCalendarColumnsProp;
708
703
  /**
709
704
  * Sets the initial date of the calendar. Must be in ISO format (YYYY-MM-DD).
710
705
  * @default null
@@ -6312,11 +6307,6 @@ declare namespace LocalJSX {
6312
6307
  "styling"?: FButtonStyling;
6313
6308
  }
6314
6309
  interface KupCalendar {
6315
- /**
6316
- * Sets the data to be used to render each event in the calendar
6317
- * @default {KupCalendarOptions:false}
6318
- */
6319
- "calendarColumns"?: KupCalendarColumnsProp;
6320
6310
  /**
6321
6311
  * Sets the initial date of the calendar. Must be in ISO format (YYYY-MM-DD).
6322
6312
  * @default null
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sme.up/ketchup",
3
- "version": "11.0.0-SNAPSHOT-20241017151034",
3
+ "version": "11.0.0-SNAPSHOT-20241018090121",
4
4
  "keywords": [
5
5
  "smeup",
6
6
  "KetchUP",