@kodiak-finance/orderly-ui-notification 2.8.19 → 2.8.21-alpha.0
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/dist/index.d.mts +13 -2
- package/dist/index.d.ts +13 -2
- package/dist/index.js +486 -25
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +462 -6
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +8 -8
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
1
|
+
import React, { FC } from 'react';
|
|
2
2
|
import { API, AnnouncementType, RouterAdapter } from '@kodiak-finance/orderly-types';
|
|
3
3
|
|
|
4
4
|
declare const AnnouncementCenterUI: FC<{
|
|
@@ -42,4 +42,15 @@ declare const useAnnouncement: (options?: AnnouncementOptions) => {
|
|
|
42
42
|
showAnnouncement: boolean;
|
|
43
43
|
};
|
|
44
44
|
|
|
45
|
-
|
|
45
|
+
type AnnouncementBannerProps = {
|
|
46
|
+
dataSource: API.AnnouncementRow[];
|
|
47
|
+
maintenanceDialogInfo?: string;
|
|
48
|
+
showAnnouncement: boolean;
|
|
49
|
+
onClose: () => void;
|
|
50
|
+
onItemClick?: (url: string) => void;
|
|
51
|
+
className?: string;
|
|
52
|
+
style?: React.CSSProperties;
|
|
53
|
+
};
|
|
54
|
+
declare const AnnouncementBannerUI: React.FC<Readonly<AnnouncementBannerProps>>;
|
|
55
|
+
|
|
56
|
+
export { AnnouncementBannerUI, AnnouncementCenterPage, AnnouncementCenterUI, AnnouncementItem, NotificationUI, useAnnouncement };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
1
|
+
import React, { FC } from 'react';
|
|
2
2
|
import { API, AnnouncementType, RouterAdapter } from '@kodiak-finance/orderly-types';
|
|
3
3
|
|
|
4
4
|
declare const AnnouncementCenterUI: FC<{
|
|
@@ -42,4 +42,15 @@ declare const useAnnouncement: (options?: AnnouncementOptions) => {
|
|
|
42
42
|
showAnnouncement: boolean;
|
|
43
43
|
};
|
|
44
44
|
|
|
45
|
-
|
|
45
|
+
type AnnouncementBannerProps = {
|
|
46
|
+
dataSource: API.AnnouncementRow[];
|
|
47
|
+
maintenanceDialogInfo?: string;
|
|
48
|
+
showAnnouncement: boolean;
|
|
49
|
+
onClose: () => void;
|
|
50
|
+
onItemClick?: (url: string) => void;
|
|
51
|
+
className?: string;
|
|
52
|
+
style?: React.CSSProperties;
|
|
53
|
+
};
|
|
54
|
+
declare const AnnouncementBannerUI: React.FC<Readonly<AnnouncementBannerProps>>;
|
|
55
|
+
|
|
56
|
+
export { AnnouncementBannerUI, AnnouncementCenterPage, AnnouncementCenterUI, AnnouncementItem, NotificationUI, useAnnouncement };
|