diff --git a/changelog.md b/changelog.md index 058b93416..c5f88ee16 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,9 @@ 2024-10-11 - 6d028db15ec82666c290476cc656467c1e95b9aa - LinkWithPill.vue, link-with-pill.spec.ts, ProfilePicture.vue, ProfilePic.vue, profile-pic.spec.ts, ListSkeleton.story.vue - add onclick event to prevent default behaviour of link and execute a function +2024-10-03 - 15c4f9e5f2459055c23bae0bdc1afa6590321950 - Icon/icons.ts - Added preboarding feature related icons list + +2024-09-26 - a459c2c09ae2ddb76a3c38fe5cf26b3e98eb7c98 - composables/useFormValidation.ts - Fix form validation error not removed when field is toggled + 2024-09-12 - 80222890b5422b9913bc84a4e8dff1831b7272f9 - Icon/icons.ts - Add oxd-outline-drip-dry icon 2024-08-02 - 2529c40ce428a16f6ef2f062b13797ac856a95c9 - components/ListTable/ListTable.vue - Fix rows flashing while loading issue diff --git a/components/src/composables/useFormValidation.ts b/components/src/composables/useFormValidation.ts index 14d85dbde..b8d730b90 100644 --- a/components/src/composables/useFormValidation.ts +++ b/components/src/composables/useFormValidation.ts @@ -65,6 +65,7 @@ export default function useFormValidation() { }), ) .then(results => { + formState.errorbag = []; results.map(errorField => { addError(errorField); }); diff --git a/components/src/core/components/Icon/icons.ts b/components/src/core/components/Icon/icons.ts index f477e3e8a..b56b4c443 100644 --- a/components/src/core/components/Icon/icons.ts +++ b/components/src/core/components/Icon/icons.ts @@ -1700,6 +1700,191 @@ export const oxdOutlineDripDry: icon = { `, }; +export const oxdfiles: icon = { + name: 'oxd-files', + value: ` + + + + + + + +`, +}; + +export const oxdDependents: icon = { + name: 'oxd-dependents', + value: ` + + + + + + + + +`, +}; + +export const oxdMemeberships: icon = { + name: 'oxd-memeberships', + value: ` + +`, +}; + +export const oxdNewHire: icon = { + name: 'oxd-new-hire', + value: ` + +`, +}; + +export const oxdOfficeWorker: icon = { + name: 'oxd-office-worker', + value: ` + + + + + +`, +}; + +export const oxdPreBoardingNew: icon = { + name: 'oxd-pre-boarding-new', + value: ` + + + + +`, +}; + +export const oxdPersonal: icon = { + name:'oxd-personal', + value: ` + + + +`, +}; + +export const oxdQualification: icon = { + name: 'oxd-qualification', + value: ` + + + + +`, +}; + +export const oxdRefer: icon = { + name: 'oxd-refer', + value: ` + + + + +`, +}; + +export const oxdReferees: icon = { + name: 'oxd-referees', + value: ` + + + + +`, +}; + +export const oxdBackToCandidateProfile: icon = { + name: 'oxd-back-to-candidate-profile', + value: ` + + + + + + + + + + + + + +`, +}; + +export const oxdContacts: icon = { + name: 'oxd-contacts', + value: ` + + + + + + + + + + +`, +}; + +export const oxdEmergencyContacts: icon = { + name: 'oxd-emergency contacts', + value: ` + + + + + + + + + +`, +}; + +export const oxdJoinEmail: icon = { + name: 'oxd-join-email', + value: ` + +`, +}; + +export const oxdMigration: icon = { + name: 'oxd-migration', + value: ` + + + +`, +}; + +export const oxdSelfIntro: icon = { + name: 'oxd-self-intro', + value: ` + + + + +`, +}; + +export const oxdWelcomeEmail: icon = { + name: 'oxd-welcome-email', + value: ` + + +`, +}; + const icons: Icons = { 'oxd-likes': oxdLikes, 'oxd-birthday': oxdBirthday, @@ -1892,6 +2077,23 @@ const icons: Icons = { 'oxd-email': oxdEmail, 'oxd-document-text-3': oxdDocumentText3, 'oxd-outline-drip-dry': oxdOutlineDripDry, + 'oxd-files': oxdfiles, + 'oxd-dependents': oxdDependents, + 'oxd-memeberships': oxdMemeberships, + 'oxd-new-hire': oxdNewHire, + 'oxd-office-worker': oxdOfficeWorker, + 'oxd-pre-boarding-new': oxdPreBoardingNew, + 'oxd-personal': oxdPersonal, + 'oxd-qualification':oxdQualification, + 'oxd-refer': oxdRefer, + 'oxd-referees': oxdReferees, + 'oxd-back-to-candidate-profile': oxdBackToCandidateProfile, + 'oxd-contacts': oxdContacts, + 'oxd-emergency contacts': oxdEmergencyContacts, + 'oxd-join-email': oxdJoinEmail, + 'oxd-migration': oxdMigration, + 'oxd-self-intro': oxdSelfIntro, + 'oxd-welcome-email':oxdWelcomeEmail }; export default icons;