@apolitical/component-library 4.5.0-beta.6 → 4.5.0-beta.8
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/accessibility/visually-hidden/visually-hidden.d.ts +4 -0
- package/discussion/feeds/activities-feed/cache/hooks/create/create.hook.d.ts +1 -0
- package/form/components/character-limit/character-limit.d.ts +3 -1
- package/form/components/email-helper-text-box/email-helper-text-box.d.ts +3 -1
- package/form/components/form/components/fields/checkbox/checkbox.d.ts +1 -0
- package/form/components/form/components/fields/input/input.d.ts +1 -0
- package/form/components/form/components/fields/password/password.d.ts +1 -1
- package/form/components/form/form.types.d.ts +2 -0
- package/helpers/intl.d.ts +1 -0
- package/index.js +22 -22
- package/index.mjs +1302 -1244
- package/package.json +1 -1
- package/style.css +1 -1
- package/text/helper-text-box/helper-text-box.d.ts +3 -1
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export type HelperTextBoxTypes = 'default' | 'warning' | 'error' | 'success';
|
|
3
3
|
interface Props {
|
|
4
|
+
/** The ID of the helper textbox */
|
|
5
|
+
id?: string;
|
|
4
6
|
/** The style of box being rendered */
|
|
5
7
|
type?: HelperTextBoxTypes;
|
|
6
8
|
/** Additional classes to add to the box */
|
|
@@ -10,5 +12,5 @@ interface Props {
|
|
|
10
12
|
/** The content to display in the box */
|
|
11
13
|
children: React.ReactNode | JSX.Element | string;
|
|
12
14
|
}
|
|
13
|
-
declare const HelperTextBox: ({ type, className, heading, children, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
declare const HelperTextBox: ({ type, className, heading, children, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
14
16
|
export default HelperTextBox;
|