@sentinel-core/sentinel 1.0.23 → 1.0.25
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { SentinelSagaMonitor } from '../saga/createSentinelSagaMonitor';
|
|
2
|
+
import { SentinelSagaMonitor, EffectRecord } from '../saga/createSentinelSagaMonitor';
|
|
3
3
|
type DialogMeta = {
|
|
4
4
|
componentName?: string;
|
|
5
5
|
sourceFile?: string;
|
|
@@ -31,10 +31,12 @@ type SentinelDialogContextType = {
|
|
|
31
31
|
dialogMeta: DialogMeta;
|
|
32
32
|
closeDialog: () => void;
|
|
33
33
|
};
|
|
34
|
-
export declare const SentinelProvider: ({ children, store: reduxStore, sagaMonitor, }: {
|
|
34
|
+
export declare const SentinelProvider: ({ children, store: reduxStore, sagaMonitor, serverState, serverSagaEffects, }: {
|
|
35
35
|
children: React.ReactNode;
|
|
36
36
|
store?: ReduxStore;
|
|
37
37
|
sagaMonitor?: SentinelSagaMonitor;
|
|
38
|
+
serverState?: unknown;
|
|
39
|
+
serverSagaEffects?: EffectRecord[];
|
|
38
40
|
}) => React.JSX.Element;
|
|
39
41
|
export declare const useSentinelInteraction: () => SentinelInteractionContextType;
|
|
40
42
|
export declare const useSentinelDialog: () => SentinelDialogContextType;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as AccordionPrimitive from "@huin-core/react-accordion";
|
|
3
|
+
declare const Accordion: React.ForwardRefExoticComponent<(AccordionPrimitive.AccordionSingleProps | AccordionPrimitive.AccordionMultipleProps) & React.RefAttributes<HTMLDivElement>>;
|
|
4
|
+
declare const AccordionItem: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
5
|
+
declare const AccordionHeader: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionHeaderProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
6
|
+
declare const AccordionTrigger: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
7
|
+
declare const AccordionContent: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
8
|
+
export { Accordion, AccordionItem, AccordionHeader, AccordionTrigger, AccordionContent, };
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { SentinelSagaMonitor } from '../../saga/createSentinelSagaMonitor';
|
|
3
|
-
export declare const SentinelToolbar: ({ sagaMonitor }: {
|
|
2
|
+
import { SentinelSagaMonitor, EffectRecord } from '../../saga/createSentinelSagaMonitor';
|
|
3
|
+
export declare const SentinelToolbar: ({ sagaMonitor, serverState, serverSagaEffects, }: {
|
|
4
4
|
sagaMonitor?: SentinelSagaMonitor;
|
|
5
|
+
serverState?: unknown;
|
|
6
|
+
serverSagaEffects?: EffectRecord[];
|
|
5
7
|
}) => React.JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sentinel-core/sentinel",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.25",
|
|
4
4
|
"description": "Runtime intelligence for your UI.",
|
|
5
5
|
"author": "firatorhan",
|
|
6
6
|
"private": false,
|
|
@@ -39,6 +39,7 @@
|
|
|
39
39
|
"preview": "vite preview"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
+
"@huin-core/react-accordion": "^1.0.6",
|
|
42
43
|
"@huin-core/react-checkbox": "^1.0.6",
|
|
43
44
|
"@huin-core/react-dialog": "^1.0.6",
|
|
44
45
|
"@huin-core/react-id": "^1.0.6",
|