@apolitical/component-library 3.3.1 → 3.3.3
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/helpers/intl.d.ts +2 -0
- package/index.js +16 -16
- package/index.mjs +678 -673
- package/package.json +1 -1
- package/style.css +1 -1
- package/text/markdown-text/components/center/center.d.ts +5 -0
- package/text/markdown-text/components/center/index.d.ts +1 -0
- package/text/markdown-text/components/index.d.ts +1 -0
- package/user/contributors/contributors.d.ts +3 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Center } from './center';
|
|
@@ -21,6 +21,8 @@ interface Props {
|
|
|
21
21
|
};
|
|
22
22
|
/** The number of contributors to show before we switch to showing a number */
|
|
23
23
|
cutoff?: number;
|
|
24
|
+
/** The text to render in the label when there are multiple contributors (only renders when `showText` is `true`) */
|
|
25
|
+
multipleText?: string;
|
|
24
26
|
/** Additional classes */
|
|
25
27
|
className?: string;
|
|
26
28
|
/** The language to use */
|
|
@@ -28,7 +30,7 @@ interface Props {
|
|
|
28
30
|
/** Optional test ID */
|
|
29
31
|
'data-testid'?: string;
|
|
30
32
|
}
|
|
31
|
-
declare const Contributors: ({ element, contributors: { total, data: contributors }, styling: { showText, size, showGap, showPlaceholders }, cutoff, className, ...props }: Props) => React.DetailedReactHTMLElement<{
|
|
33
|
+
declare const Contributors: ({ element, contributors: { total, data: contributors }, styling: { showText, size, showGap, showPlaceholders }, cutoff, multipleText, className, ...props }: Props) => React.DetailedReactHTMLElement<{
|
|
32
34
|
className: string;
|
|
33
35
|
children: import("react/jsx-runtime").JSX.Element;
|
|
34
36
|
/** The language to use */
|