@apolitical/component-library 1.3.3 → 1.4.0
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.js +55 -144
- package/index.mjs +10803 -23594
- 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/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/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
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
locale?: string;
|
|
4
|
-
}
|
|
5
|
-
declare const CookieBannerWrapper: ({ locale, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
export default CookieBannerWrapper;
|
|
1
|
+
declare const CookieBanner: () => import("react/jsx-runtime").JSX.Element | null;
|
|
2
|
+
export default CookieBanner;
|
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
locale?: string;
|
|
4
|
-
}
|
|
5
|
-
declare const FooterWrapper: ({ locale, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
export default FooterWrapper;
|
|
1
|
+
declare const Footer: () => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export default Footer;
|
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
locale?: string;
|
|
4
|
-
}
|
|
5
|
-
declare const HeaderWrapper: ({ locale, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
export default HeaderWrapper;
|
|
1
|
+
declare const Header: () => import("react/jsx-runtime").JSX.Element | null;
|
|
2
|
+
export default Header;
|
|
@@ -14,5 +14,5 @@ interface Props {
|
|
|
14
14
|
/** The language for the text */
|
|
15
15
|
locale?: string;
|
|
16
16
|
}
|
|
17
|
-
declare const _default: React.MemoExoticComponent<({
|
|
17
|
+
declare const _default: React.MemoExoticComponent<({ progress, steps, className }: Props) => import("react/jsx-runtime").JSX.Element>;
|
|
18
18
|
export default _default;
|
|
@@ -9,5 +9,5 @@ interface Props {
|
|
|
9
9
|
/** The language for the text */
|
|
10
10
|
locale?: string;
|
|
11
11
|
}
|
|
12
|
-
declare const _default: React.MemoExoticComponent<({
|
|
12
|
+
declare const _default: React.MemoExoticComponent<({ progress, text, className }: Props) => import("react/jsx-runtime").JSX.Element>;
|
|
13
13
|
export default _default;
|
|
@@ -24,5 +24,5 @@ interface Props {
|
|
|
24
24
|
/** The language to use */
|
|
25
25
|
locale?: string;
|
|
26
26
|
}
|
|
27
|
-
declare const
|
|
28
|
-
export default
|
|
27
|
+
declare const Filters: ({ options, allOption, allowMultiple, onChange, className }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
export default Filters;
|
|
@@ -24,5 +24,5 @@ interface Props {
|
|
|
24
24
|
/** The language to use */
|
|
25
25
|
locale?: string;
|
|
26
26
|
}
|
|
27
|
-
declare const
|
|
28
|
-
export default
|
|
27
|
+
declare const LoadMore: ({ page, length, limit, loadNextPage, icon, messages, className, gtmContext, }: Props) => import("react/jsx-runtime").JSX.Element | null;
|
|
28
|
+
export default LoadMore;
|
|
@@ -8,5 +8,5 @@ interface Props {
|
|
|
8
8
|
/** The language to use */
|
|
9
9
|
locale?: string;
|
|
10
10
|
}
|
|
11
|
-
declare const
|
|
12
|
-
export default
|
|
11
|
+
declare const Logo: ({ variant, version, className, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export default Logo;
|
|
@@ -16,5 +16,5 @@ interface Props {
|
|
|
16
16
|
/** The language to use */
|
|
17
17
|
locale?: string;
|
|
18
18
|
}
|
|
19
|
-
declare const
|
|
20
|
-
export default
|
|
19
|
+
declare const Tags: ({ tags, color, forceOneLine, canHaveLinks, className, gtmType, gtmContext, }: Props) => import("react/jsx-runtime").JSX.Element | null;
|
|
20
|
+
export default Tags;
|
package/package.json
CHANGED
|
@@ -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;
|