@fewangsit/wangsvue-fats 1.0.0-alpha.89 → 1.0.0-alpha.90

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.
@@ -72,6 +72,10 @@ export type DetailType =
72
72
  | DetailJSONContent
73
73
  | DetailBadge;
74
74
 
75
+ export type DetailAnyRecord = Record<string, any>;
76
+
77
+ export type SlotDetailType = string | DetailAnyRecord;
78
+
75
79
  export type KeyValue = Record<string, string | DetailType>;
76
80
 
77
81
  export type TimelineItem = {
@@ -111,7 +115,10 @@ export type TimelineSlots = {
111
115
  *
112
116
  * Use this slot if you want to configure your own detail value in each timeline
113
117
  */
114
- detail(slotProps: { key: string; value: string | DetailType }): VNode[];
118
+ detail(slotProps: {
119
+ key: string;
120
+ value: SlotDetailType; // Type DetailAnyRecord only used when using slot since you can use your own object structure
121
+ }): VNode[];
115
122
  };
116
123
 
117
124
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fewangsit/wangsvue-fats",
3
- "version": "1.0.0-alpha.89",
3
+ "version": "1.0.0-alpha.90",
4
4
  "author": "Wangsit FE Developer",
5
5
  "description": "Fixed Asset Tagsamurai VueJS Component Library",
6
6
  "type": "module",