@apolitical/component-library 7.0.3-ac.3 → 7.0.3-ac.5
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/form/components/rich-text-editor/components/context/index.d.ts +2 -1
- package/form/components/rich-text-editor/components/context/{context.d.ts → rich-text-editor-context.d.ts} +0 -6
- package/form/components/rich-text-editor/components/context/toolbar-context.d.ts +12 -0
- package/form/components/rich-text-editor/components/toolbar/toolbar.d.ts +3 -3
- package/form/components/rich-text-editor/rich-text-editor.types.d.ts +8 -2
- package/general/tooltip/tooltip.d.ts +2 -2
- package/index.js +55 -55
- package/index.mjs +7380 -7345
- package/package.json +1 -1
- package/user/member/components/connection-cta.d.ts +6 -6
- package/user/member/member.types.d.ts +5 -5
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { IMemberComponentProps } from '../member.types';
|
|
2
2
|
export interface IConnectionCtaProps {
|
|
3
3
|
functions: {
|
|
4
|
-
onAccept?: () => void
|
|
5
|
-
onDecline?: () => void
|
|
6
|
-
onCancel?: () => void
|
|
7
|
-
onRemove?: () => void
|
|
8
|
-
onRequest?: () => void
|
|
4
|
+
onAccept?: () => Promise<boolean | void>;
|
|
5
|
+
onDecline?: () => Promise<boolean | void>;
|
|
6
|
+
onCancel?: () => Promise<boolean | void>;
|
|
7
|
+
onRemove?: () => Promise<boolean | void>;
|
|
8
|
+
onRequest?: () => Promise<boolean | void>;
|
|
9
9
|
};
|
|
10
10
|
connection: IMemberComponentProps['connection'];
|
|
11
11
|
meta?: {
|
|
12
12
|
topLevelButton?: boolean;
|
|
13
13
|
};
|
|
14
14
|
}
|
|
15
|
-
export declare const ConnectionCta: ({ functions, connection, meta: { topLevelButton }, }: IConnectionCtaProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export declare const ConnectionCta: ({ functions, connection, meta: { topLevelButton }, ...props }: IConnectionCtaProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -82,11 +82,11 @@ export interface IMemberComponentProps {
|
|
|
82
82
|
/** Props for the profile modal */
|
|
83
83
|
profile?: IProfileFormProps;
|
|
84
84
|
connections?: {
|
|
85
|
-
onAccept?: () => void
|
|
86
|
-
onDecline?: () => void
|
|
87
|
-
onCancel?: () => void
|
|
88
|
-
onRemove?: () => void
|
|
89
|
-
onRequest?: () => void
|
|
85
|
+
onAccept?: () => Promise<boolean | void>;
|
|
86
|
+
onDecline?: () => Promise<boolean | void>;
|
|
87
|
+
onCancel?: () => Promise<boolean | void>;
|
|
88
|
+
onRemove?: () => Promise<boolean | void>;
|
|
89
|
+
onRequest?: () => Promise<boolean | void>;
|
|
90
90
|
};
|
|
91
91
|
};
|
|
92
92
|
/** The optional test ID for Jest */
|