oolib 2.237.2 → 2.237.4

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.
@@ -15,8 +15,24 @@ export function getEmptyStatesConfig({ preset, title, contentTypeTitle, commaSep
15
15
  };
16
16
  title: string;
17
17
  subtitle: any;
18
- imageSize?: undefined;
19
18
  button?: undefined;
19
+ imageSize?: undefined;
20
+ link?: undefined;
21
+ } | {
22
+ align: string;
23
+ image: {
24
+ src: string;
25
+ style: {
26
+ height: number;
27
+ opacity: number;
28
+ };
29
+ };
30
+ title: string;
31
+ subtitle: string;
32
+ button: {
33
+ text: string;
34
+ };
35
+ imageSize?: undefined;
20
36
  link?: undefined;
21
37
  } | {
22
38
  align: string;
@@ -37,8 +53,8 @@ export function getEmptyStatesConfig({ preset, title, contentTypeTitle, commaSep
37
53
  title: any;
38
54
  subtitle: string;
39
55
  image?: undefined;
40
- imageSize?: undefined;
41
56
  button?: undefined;
57
+ imageSize?: undefined;
42
58
  link?: undefined;
43
59
  } | {
44
60
  align: string;
@@ -67,8 +83,8 @@ export function getEmptyStatesConfig({ preset, title, contentTypeTitle, commaSep
67
83
  };
68
84
  title: string;
69
85
  subtitle: string;
70
- imageSize?: undefined;
71
86
  button?: undefined;
87
+ imageSize?: undefined;
72
88
  link?: undefined;
73
89
  } | {
74
90
  align: string;
@@ -84,8 +100,8 @@ export function getEmptyStatesConfig({ preset, title, contentTypeTitle, commaSep
84
100
  link: {
85
101
  text: string;
86
102
  };
87
- imageSize?: undefined;
88
103
  button?: undefined;
104
+ imageSize?: undefined;
89
105
  } | {
90
106
  align: string;
91
107
  image: {
@@ -97,7 +113,7 @@ export function getEmptyStatesConfig({ preset, title, contentTypeTitle, commaSep
97
113
  };
98
114
  title: string;
99
115
  subtitle: string;
100
- imageSize?: undefined;
101
116
  button?: undefined;
117
+ imageSize?: undefined;
102
118
  link?: undefined;
103
119
  };
@@ -30,6 +30,22 @@ var getEmptyStatesConfig = function (_a) {
30
30
  title: "No Content Added",
31
31
  subtitle: "Once you publish content on the platform, it shows up here. You can edit published content in future, when required. ",
32
32
  };
33
+ case "noDatasets":
34
+ return {
35
+ align: "left",
36
+ image: {
37
+ src: "contentListing",
38
+ style: {
39
+ height: 80,
40
+ opacity: 0.6,
41
+ },
42
+ },
43
+ title: "No datasets yet",
44
+ subtitle: "Import your first dataset to get started. Each dataset becomes a searchable, annotatable, AI-categorizable collection of documents.",
45
+ button: {
46
+ text: "Import New Dataset",
47
+ },
48
+ };
33
49
  case "singlePublishingListing":
34
50
  return {
35
51
  align: "center",
@@ -170,6 +170,7 @@ export namespace icons {
170
170
  export { Flask };
171
171
  export { Shuffle };
172
172
  export { Bookmark };
173
+ export { Plugs };
173
174
  export { OkeGoogleIcon };
174
175
  export { LetterH };
175
176
  export { IndexIcon };
@@ -410,6 +411,7 @@ import { SelectionIcon as Selection } from "@phosphor-icons/react";
410
411
  import { FlaskIcon as Flask } from "@phosphor-icons/react";
411
412
  import { ShuffleIcon as Shuffle } from "@phosphor-icons/react";
412
413
  import { BookmarkIcon as Bookmark } from "@phosphor-icons/react";
414
+ import { PlugsIcon as Plugs } from "@phosphor-icons/react";
413
415
  import { OkeGoogleIcon } from "./custom";
414
416
  import { LetterH } from "./custom";
415
417
  import { IndexIcon } from "./custom";
@@ -175,6 +175,7 @@ exports.icons = {
175
175
  Flask: react_1.FlaskIcon,
176
176
  Shuffle: react_1.ShuffleIcon,
177
177
  Bookmark: react_1.BookmarkIcon,
178
+ Plugs: react_1.PlugsIcon,
178
179
  //custom icons
179
180
  OkeGoogleIcon: custom_1.OkeGoogleIcon,
180
181
  LetterH: custom_1.LetterH,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oolib",
3
- "version": "2.237.2",
3
+ "version": "2.237.4",
4
4
  "description": " OKE Component Library",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",