@apolitical/component-library 1.2.0 → 1.3.0-beta.1
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/communities/community-details/community-details.d.ts +7 -0
- package/communities/community-details/index.d.ts +1 -0
- package/communities/index.d.ts +2 -0
- package/communities/join-button/index.d.ts +2 -0
- package/communities/join-button/join-button.d.ts +15 -0
- package/index.js +68 -68
- package/index.mjs +6218 -6186
- package/layout/full-width/full-width.d.ts +8 -0
- package/layout/full-width/index.d.ts +1 -0
- package/layout/index.d.ts +1 -0
- package/package.json +1 -1
- package/style.css +1 -1
- package/styles/base/buttons/_icons.scss +1 -1
- package/styles/variables/colors/_theme.scss +6 -0
- package/text/empty-state-box/empty-state-box.d.ts +8 -10
- package/text/highlighted-text-box/highlighted-text-box.d.ts +1 -1
- package/user/contributors/contributors.d.ts +26 -0
- package/user/contributors/index.d.ts +1 -0
- package/user/index.d.ts +1 -0
- package/user/member/index.d.ts +2 -0
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IJoinButtonProps } from './../join-button';
|
|
2
|
+
interface Props extends IJoinButtonProps {
|
|
3
|
+
/** Additional classes */
|
|
4
|
+
className?: string;
|
|
5
|
+
}
|
|
6
|
+
declare const CommunityDetailsWrapper: ({ locale, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default CommunityDetailsWrapper;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as CommunityDetails } from './community-details';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface IJoinButtonProps {
|
|
2
|
+
/** If the user is a member of the community */
|
|
3
|
+
isMember?: boolean;
|
|
4
|
+
/** The function to call when the user clicks the button */
|
|
5
|
+
functions?: {
|
|
6
|
+
/** The function to request to join */
|
|
7
|
+
join?: () => void;
|
|
8
|
+
/** The function to leave the community */
|
|
9
|
+
leave?: () => void;
|
|
10
|
+
};
|
|
11
|
+
/** The language to use */
|
|
12
|
+
locale?: string;
|
|
13
|
+
}
|
|
14
|
+
declare const JoinButtonWrapper: ({ locale, ...props }: IJoinButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export default JoinButtonWrapper;
|