@apolitical/component-library 6.6.12-beta.0 → 6.6.13-ac.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.
@@ -1,3 +1,3 @@
1
- import type { IPublishArticleFormProps } from './publish-article-form.types';
1
+ import { type IPublishArticleFormProps } from './publish-article-form.types';
2
2
  declare const PublishArticleForm: ({ id, values, functions, meta, gtm, }: IPublishArticleFormProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default PublishArticleForm;
@@ -1,7 +1,22 @@
1
+ export declare enum ArticleTags {
2
+ CitiesAndLocalGovernment = "topic_CitiesAndLocalGovernment",
3
+ Climate = "topic_Climate",
4
+ DigitalAndData = "topic_DigitalAndData",
5
+ Education = "topic_Education",
6
+ EquityJusticeAndInclusion = "topic_EquityJusticeAndInclusion",
7
+ HealthAndSocialCare = "topic_HealthAndSocialCare",
8
+ Innovation = "topic_Innovation",
9
+ LeadershipAndSkills = "topic_LeadershipAndSkills",
10
+ LifeInGovernment = "topic_LifeInGovernment",
11
+ Policymaking = "topic_Policymaking",
12
+ TransportAndInfrastructure = "topic_TransportAndInfrastructure",
13
+ WorkingAndTheEconomy = "topic_WorkAndTheEconomy"
14
+ }
1
15
  export interface IPublishArticleFormValues {
2
16
  title: string;
3
17
  subtitle: string;
4
18
  body: string;
19
+ tags: ArticleTags[];
5
20
  }
6
21
  export interface IPublishArticleFormProps {
7
22
  /** A unique ID for the form */
@@ -14,6 +29,8 @@ export interface IPublishArticleFormProps {
14
29
  subtitle?: string;
15
30
  /** The body of the form */
16
31
  body?: string;
32
+ /** The tags of the form */
33
+ tags?: ArticleTags[];
17
34
  };
18
35
  /** The functions to handle the form */
19
36
  functions?: {
package/helpers/intl.d.ts CHANGED
@@ -293,6 +293,20 @@ export declare const checkIntlPathExists: (path: string, language?: {
293
293
  publishArticleForm_subtitle_placeholder: string;
294
294
  publishArticleForm_body_label: string;
295
295
  publishArticleForm_body_placeholder: string;
296
+ publishArticleForm_tags_label: string;
297
+ publishArticleForm__tags_topic_CitiesAndLocalGovernment: string;
298
+ publishArticleForm__tags_topic_Climate: string;
299
+ publishArticleForm__tags_topic_DigitalAndData: string;
300
+ publishArticleForm__tags_topic_Education: string;
301
+ publishArticleForm__tags_topic_EquityJusticeAndInclusion: string;
302
+ publishArticleForm__tags_topic_HealthAndSocialCare: string;
303
+ publishArticleForm__tags_topic_Innovation: string;
304
+ publishArticleForm__tags_topic_LeadershipAndSkills: string;
305
+ publishArticleForm__tags_topic_LifeInGovernment: string;
306
+ publishArticleForm__tags_topic_Policymaking: string;
307
+ publishArticleForm__tags_topic_TransportAndInfrastructure: string;
308
+ publishArticleForm__tags_topic_WorkAndTheEconomy: string;
309
+ publishArticleForm_tags_error: string;
296
310
  publishArticleForm_disclaimer: string;
297
311
  publishArticleForm_cta_submit: string;
298
312
  publishArticleForm_cta_submitting: string;