@confidencesystemsinc/sdk 2.0.15 → 2.0.17
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/components/playbook/ConfidencePlaybook.d.ts +3 -3
- package/dist/context/expand-context.d.ts +1 -2
- package/dist/index.cjs +23 -23
- package/dist/index.js +1526 -1507
- package/dist/utils/cookies.d.ts +5 -33
- package/package.json +1 -1
|
@@ -27,7 +27,7 @@ export declare const ConfidencePlaybook: {
|
|
|
27
27
|
playbookMode: "list" | "card";
|
|
28
28
|
playbookStyle?: ConfidencePlaybookStyleConfiguration;
|
|
29
29
|
username: string | undefined;
|
|
30
|
-
/** Whether the playbook starts expanded. Defaults to true.
|
|
30
|
+
/** Whether the playbook starts expanded. Defaults to true. */
|
|
31
31
|
defaultExpanded?: boolean;
|
|
32
32
|
}): import("react/jsx-runtime").JSX.Element;
|
|
33
33
|
Context: ({ children, }: {
|
|
@@ -48,7 +48,7 @@ export declare const ConfidencePlaybook: {
|
|
|
48
48
|
playbookStyle?: ConfidencePlaybookStyleConfiguration;
|
|
49
49
|
persistKey?: string;
|
|
50
50
|
playbookInstanceId?: number | null;
|
|
51
|
-
/** Whether the playbook starts expanded. Defaults to true.
|
|
51
|
+
/** Whether the playbook starts expanded. Defaults to true. */
|
|
52
52
|
defaultExpanded?: boolean;
|
|
53
53
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
54
54
|
WithInstantiateButton: ({ playbookId, playbookMode, playbookStyle, btnLabel, btnColor, persistKey, onSetUsername, onSetPlaybookInstanceId, playbookInstanceId: externalPlaybookInstanceId, username: externalUsername, defaultExpanded, renderPlaybook, }: {
|
|
@@ -63,7 +63,7 @@ export declare const ConfidencePlaybook: {
|
|
|
63
63
|
onSetPlaybookInstanceId?: (playbookInstanceId: number) => void;
|
|
64
64
|
playbookInstanceId?: number | null;
|
|
65
65
|
username?: string;
|
|
66
|
-
/** Whether the playbook starts expanded. Defaults to true.
|
|
66
|
+
/** Whether the playbook starts expanded. Defaults to true. */
|
|
67
67
|
defaultExpanded?: boolean;
|
|
68
68
|
/** When set (e.g. embedded layout), only the playbook node is wrapped; the instantiate button stays a sibling outside that wrapper. */
|
|
69
69
|
renderPlaybook?: (playbook: ReactNode | null) => ReactNode;
|
|
@@ -9,10 +9,9 @@ export type ExpandProviderValue = {
|
|
|
9
9
|
};
|
|
10
10
|
type ExpandProviderProps = {
|
|
11
11
|
children: ReactNode;
|
|
12
|
-
playbookInstanceId?: string | number;
|
|
13
12
|
defaultExpanded?: boolean;
|
|
14
13
|
value?: ExpandProviderValue;
|
|
15
14
|
};
|
|
16
|
-
export declare const ExpandProvider: ({ children, value,
|
|
15
|
+
export declare const ExpandProvider: ({ children, value, defaultExpanded, }: ExpandProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
16
|
export declare const useExpandContext: () => ExpandContextValue;
|
|
18
17
|
export {};
|