@apolitical/component-library 4.1.0-beta.9 → 4.1.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/discussion/components/form/form.d.ts +3 -1
- package/helpers/intl.d.ts +1 -0
- package/index.js +40 -40
- package/index.mjs +4856 -5013
- package/package.json +1 -1
- package/style.css +1 -1
- package/styles/base/_accessibility.scss +5 -0
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { DiscussionCreateContentFunction, IDiscussionContent } from './../../discussion';
|
|
2
2
|
export interface IDiscussionForm {
|
|
3
|
+
/** A unique ID for the form */
|
|
4
|
+
id?: string;
|
|
3
5
|
/** Information about the content being created/edited */
|
|
4
6
|
content: IDiscussionContent;
|
|
5
7
|
/** If the user has permission to interact with the form, e.g. if they're a member of the community */
|
|
@@ -47,5 +49,5 @@ export interface IDiscussionForm {
|
|
|
47
49
|
/** The language to use for the text */
|
|
48
50
|
locale?: string;
|
|
49
51
|
}
|
|
50
|
-
declare const Form: ({ content, userHasPermissions, meta, placeholder, maxLength, forceShow, functions, gtmContext, }: IDiscussionForm) => import("react/jsx-runtime").JSX.Element;
|
|
52
|
+
declare const Form: ({ id, content, userHasPermissions, meta, placeholder, maxLength, forceShow, functions, gtmContext, }: IDiscussionForm) => import("react/jsx-runtime").JSX.Element;
|
|
51
53
|
export default Form;
|
package/helpers/intl.d.ts
CHANGED
|
@@ -302,6 +302,7 @@ export declare const checkIntlPathExists: (path: string, language?: {
|
|
|
302
302
|
footer_legal_terms: string;
|
|
303
303
|
footer_legal_cookie: string;
|
|
304
304
|
footer_legal_accessibility: string;
|
|
305
|
+
footer_legal_ai: string;
|
|
305
306
|
footer_legal_dataProtection: string;
|
|
306
307
|
footer_legal_euDataProtection: string;
|
|
307
308
|
footer_contact: string;
|