@apolitical/component-library 4.5.11-beta.2 → 4.5.11

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/index.mjs CHANGED
@@ -20778,7 +20778,8 @@ const oC = ({ functions: e, meta: t = {}, gtm: n }) => {
20778
20778
  type: "text",
20779
20779
  label: r.formatMessage({ id: `${a}jobTitle` }),
20780
20780
  placeholder: r.formatMessage({ id: `${a}jobTitle_placeholder` }),
20781
- value: i.jobTitle
20781
+ value: i.jobTitle,
20782
+ validation: [{ condition: "required" }]
20782
20783
  },
20783
20784
  {
20784
20785
  id: "organization",
@@ -20787,7 +20788,8 @@ const oC = ({ functions: e, meta: t = {}, gtm: n }) => {
20787
20788
  placeholder: r.formatMessage({
20788
20789
  id: `${a}organization_placeholder`
20789
20790
  }),
20790
- value: i.organization
20791
+ value: i.organization,
20792
+ validation: [{ condition: "required" }]
20791
20793
  },
20792
20794
  {
20793
20795
  id: "location",
@@ -20795,6 +20797,7 @@ const oC = ({ functions: e, meta: t = {}, gtm: n }) => {
20795
20797
  label: r.formatMessage({ id: `${a}location` }),
20796
20798
  placeholder: r.formatMessage({ id: `${a}location_placeholder` }),
20797
20799
  value: (f = i.location) == null ? void 0 : f.country,
20800
+ validation: [{ condition: "required" }],
20798
20801
  functions: {
20799
20802
  onChange: () => {
20800
20803
  },
@@ -21403,7 +21406,7 @@ const mC = ({
21403
21406
  ...r.props.functions,
21404
21407
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
21405
21408
  onSuccess: (b) => {
21406
- console.log("AMENDED"), r.props.functions.onSuccess && r.props.functions.onSuccess(b), p();
21409
+ r.props.functions.onSuccess && r.props.functions.onSuccess(b), p();
21407
21410
  },
21408
21411
  onCancel: () => {
21409
21412
  r.props.functions.onCancel && r.props.functions.onCancel(), p();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apolitical/component-library",
3
- "version": "4.5.11-beta.2",
3
+ "version": "4.5.11",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {