@apolitical/component-library 1.3.2 → 1.4.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 +2 -2
- package/communities/join-button/join-button.d.ts +2 -2
- package/context/index.d.ts +1 -0
- package/context/intl/index.d.ts +1 -0
- package/context/intl/intl.provider.d.ts +8 -0
- package/context/user/index.d.ts +2 -2
- package/context/user/user.context.d.ts +1 -2
- package/context/user/user.provider.d.ts +2 -2
- package/discussion/form/form.d.ts +2 -2
- package/discussion/likes/likes.d.ts +7 -2
- package/discussion/post/post.d.ts +2 -2
- package/form/components/email-helper-text-box/email-helper-text-box.d.ts +2 -2
- package/form/components/password-rules/password-rules.d.ts +1 -1
- package/form/components/rating/rating.d.ts +2 -2
- package/form/types/search-form/search-form.d.ts +2 -2
- package/helpers/index.d.ts +0 -2
- package/index.d.ts +3 -1
- package/index.js +55 -144
- package/index.mjs +10882 -23638
- package/layout/page-layout/components/cookie-banner/cookie-banner.d.ts +2 -6
- package/layout/page-layout/components/footer/footer.d.ts +2 -6
- package/layout/page-layout/components/header/header.d.ts +2 -6
- package/loaders/loading-block/loading-block.d.ts +1 -1
- package/loaders/progress-bar/progress-bar.d.ts +1 -1
- package/modals/index.d.ts +1 -0
- package/navigation/filters/filters.d.ts +2 -2
- package/navigation/load-more/load-more.d.ts +2 -2
- package/navigation/logo/logo.d.ts +2 -2
- package/navigation/tags/tags.d.ts +2 -2
- package/package.json +1 -1
- package/style.css +1 -1
- package/testing/index.d.ts +1 -0
- package/text/collapsible-section/collapsible-section.d.ts +2 -2
- package/text/hide-show-text-box/hide-show-text-box.d.ts +2 -2
- package/text/markdown-text/components/details/details.d.ts +2 -2
- package/text/markdown-text/components/iframe/iframe.d.ts +2 -2
- package/user/contributors/contributors.d.ts +6 -2
- package/user/member/member.d.ts +2 -2
- package/helpers/intl-wrapper.d.ts +0 -6
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './wrapper';
|
|
@@ -9,5 +9,5 @@ interface Props {
|
|
|
9
9
|
/** The language to use for the text */
|
|
10
10
|
locale?: string;
|
|
11
11
|
}
|
|
12
|
-
declare const
|
|
13
|
-
export default
|
|
12
|
+
declare const CollapsibleSection: ({ label, className, children }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export default CollapsibleSection;
|
|
@@ -12,5 +12,5 @@ interface Props {
|
|
|
12
12
|
text: string;
|
|
13
13
|
children?: React.ReactNode;
|
|
14
14
|
}
|
|
15
|
-
declare const
|
|
16
|
-
export default
|
|
15
|
+
declare const HideShowTextBox: ({ className, show, hide, text, children }: Props) => import("react/jsx-runtime").JSX.Element | null;
|
|
16
|
+
export default HideShowTextBox;
|
|
@@ -5,5 +5,5 @@ interface Props {
|
|
|
5
5
|
/** The language to use for the text */
|
|
6
6
|
locale?: string;
|
|
7
7
|
}
|
|
8
|
-
declare const
|
|
9
|
-
export default
|
|
8
|
+
declare const Details: ({ children }: Props) => import("react/jsx-runtime").JSX.Element | null;
|
|
9
|
+
export default Details;
|
|
@@ -4,5 +4,5 @@ interface Props {
|
|
|
4
4
|
/** The language to use for the text */
|
|
5
5
|
locale?: string;
|
|
6
6
|
}
|
|
7
|
-
declare const
|
|
8
|
-
export default
|
|
7
|
+
declare const IFrame: (props: Props) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default IFrame;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { MemberProps } from './../member';
|
|
2
3
|
interface Props {
|
|
3
4
|
/** The element that will render around the content */
|
|
@@ -22,5 +23,8 @@ interface Props {
|
|
|
22
23
|
/** The language to use */
|
|
23
24
|
locale?: string;
|
|
24
25
|
}
|
|
25
|
-
declare const
|
|
26
|
-
|
|
26
|
+
declare const Contributors: ({ element, contributors, styling: { showText, size, showGap, showPlaceholders }, cutoff, className }: Props) => React.DetailedReactHTMLElement<{
|
|
27
|
+
className: string;
|
|
28
|
+
children: import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
}, HTMLElement> | null;
|
|
30
|
+
export default Contributors;
|
package/user/member/member.d.ts
CHANGED
|
@@ -28,5 +28,5 @@ interface Props {
|
|
|
28
28
|
/** The language to use for the text */
|
|
29
29
|
locale?: string;
|
|
30
30
|
}
|
|
31
|
-
declare const
|
|
32
|
-
export default
|
|
31
|
+
declare const Member: ({ member: memberDetails, additionalContent, gtmContext, gtmType, className, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
32
|
+
export default Member;
|