@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
|
@@ -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;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './modal';
|
|
@@ -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;
|