oolib 2.237.1 → 2.237.3

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: "center",
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",
@@ -162,6 +162,7 @@ export namespace icons {
162
162
  export { Textbox };
163
163
  export { Cursor };
164
164
  export { LockSimple };
165
+ export { LockSimpleOpen };
165
166
  export { FlowArrow };
166
167
  export { PresentationChart };
167
168
  export { ArrowCounterClockwise };
@@ -169,6 +170,7 @@ export namespace icons {
169
170
  export { Flask };
170
171
  export { Shuffle };
171
172
  export { Bookmark };
173
+ export { Plugs };
172
174
  export { OkeGoogleIcon };
173
175
  export { LetterH };
174
176
  export { IndexIcon };
@@ -401,6 +403,7 @@ import { RobotIcon as Robot } from "@phosphor-icons/react";
401
403
  import { TextboxIcon as Textbox } from "@phosphor-icons/react";
402
404
  import { CursorIcon as Cursor } from "@phosphor-icons/react";
403
405
  import { LockSimpleIcon as LockSimple } from "@phosphor-icons/react";
406
+ import { LockSimpleOpenIcon as LockSimpleOpen } from "@phosphor-icons/react";
404
407
  import { FlowArrowIcon as FlowArrow } from "@phosphor-icons/react";
405
408
  import { PresentationChartIcon as PresentationChart } from "@phosphor-icons/react";
406
409
  import { ArrowCounterClockwiseIcon as ArrowCounterClockwise } from "@phosphor-icons/react";
@@ -408,6 +411,7 @@ import { SelectionIcon as Selection } from "@phosphor-icons/react";
408
411
  import { FlaskIcon as Flask } from "@phosphor-icons/react";
409
412
  import { ShuffleIcon as Shuffle } from "@phosphor-icons/react";
410
413
  import { BookmarkIcon as Bookmark } from "@phosphor-icons/react";
414
+ import { PlugsIcon as Plugs } from "@phosphor-icons/react";
411
415
  import { OkeGoogleIcon } from "./custom";
412
416
  import { LetterH } from "./custom";
413
417
  import { IndexIcon } from "./custom";
@@ -167,6 +167,7 @@ exports.icons = {
167
167
  Textbox: react_1.TextboxIcon,
168
168
  Cursor: react_1.CursorIcon,
169
169
  LockSimple: react_1.LockSimpleIcon,
170
+ LockSimpleOpen: react_1.LockSimpleOpenIcon,
170
171
  FlowArrow: react_1.FlowArrowIcon,
171
172
  PresentationChart: react_1.PresentationChartIcon,
172
173
  ArrowCounterClockwise: react_1.ArrowCounterClockwiseIcon,
@@ -174,6 +175,7 @@ exports.icons = {
174
175
  Flask: react_1.FlaskIcon,
175
176
  Shuffle: react_1.ShuffleIcon,
176
177
  Bookmark: react_1.BookmarkIcon,
178
+ Plugs: react_1.PlugsIcon,
177
179
  //custom icons
178
180
  OkeGoogleIcon: custom_1.OkeGoogleIcon,
179
181
  LetterH: custom_1.LetterH,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oolib",
3
- "version": "2.237.1",
3
+ "version": "2.237.3",
4
4
  "description": " OKE Component Library",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",