@apolitical/component-library 5.5.3-jc.0 → 5.5.4-SW.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/form/components/form/form.types.d.ts +1 -1
- package/form/types/password-form/index.d.ts +1 -2
- package/form/types/password-form/password-form.d.ts +15 -3
- package/form/types/profile-form/profile-form.d.ts +8 -2
- package/general/progress-tracker/index.d.ts +1 -1
- package/general/progress-tracker/progress-tracker.d.ts +2 -2
- package/index.js +21 -21
- package/index.mjs +589 -574
- package/package.json +1 -1
- package/text/pill/index.d.ts +0 -1
- package/text/pill/pill.d.ts +2 -2
- package/text/status-banner/index.d.ts +0 -1
- package/text/status-banner/status-banner.d.ts +2 -2
package/package.json
CHANGED
package/text/pill/index.d.ts
CHANGED
package/text/pill/pill.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
2
|
+
interface Props {
|
|
3
3
|
/** The element to render the pill as; defaults to span. */
|
|
4
4
|
element?: 'span' | 'li';
|
|
5
5
|
/** The size of the pill */
|
|
@@ -17,7 +17,7 @@ export interface IPillProps {
|
|
|
17
17
|
/** Optional test ID */
|
|
18
18
|
'data-testid'?: string;
|
|
19
19
|
}
|
|
20
|
-
declare const Pill: ({ size, variant, className, icon, tooltip, children, element, ...props }:
|
|
20
|
+
declare const Pill: ({ size, variant, className, icon, tooltip, children, element, ...props }: Props) => React.DetailedReactHTMLElement<{
|
|
21
21
|
className: string;
|
|
22
22
|
}, HTMLElement>;
|
|
23
23
|
export default Pill;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
2
|
+
interface Props {
|
|
3
3
|
/** The element that will render around the content */
|
|
4
4
|
element?: 'span' | 'small' | 'strong' | 'em' | 'p' | 'li';
|
|
5
5
|
/** The content to be hidden from screen readers */
|
|
@@ -11,7 +11,7 @@ export interface IStatusBannerProps {
|
|
|
11
11
|
/** Test ID for Jest tests */
|
|
12
12
|
'data-testid'?: string;
|
|
13
13
|
}
|
|
14
|
-
declare const StatusBanner: ({ element, children, className, ...props }:
|
|
14
|
+
declare const StatusBanner: ({ element, children, className, ...props }: Props) => React.DetailedReactHTMLElement<{
|
|
15
15
|
className: string;
|
|
16
16
|
'aria-live': "assertive";
|
|
17
17
|
/** Optional ID, for errors */
|