From 30e71393cff4e116c842c56bf35ef84bd659448d Mon Sep 17 00:00:00 2001 From: deshapriya Date: Thu, 7 Nov 2024 05:11:05 +0530 Subject: [PATCH 1/9] HT-554:Update OXD CheckBox Components --- components/src/core/components/Icon/icons.ts | 87 ++++++++++++++++++++ 1 file changed, 87 insertions(+) diff --git a/components/src/core/components/Icon/icons.ts b/components/src/core/components/Icon/icons.ts index ea9c430a..d018e181 100644 --- a/components/src/core/components/Icon/icons.ts +++ b/components/src/core/components/Icon/icons.ts @@ -2122,6 +2122,88 @@ export const oxdExternalLink: icon = { value: ``, }; +export const oxdOnLeave: icon = { + name: 'oxd-on-leave', + value: ` + + + +`, +}; + +export const oxdHoliday: icon = { + name: 'oxd-holiday', + value: ` + + + + + + + + +`, +}; + +export const oxdDisabledURL: icon = { + name: 'oxd-disabled-url', + value: ` + +`, +}; + +export const oxdGenerateLink: icon = { + name: 'oxd-generate-link', + value: ` + + + + + + +`, +}; + +export const oxdEnableUrl: icon = { + name: 'oxd-enable-url', + value: ` + + + +`, +}; + const icons: Icons = { 'oxd-likes': oxdLikes, 'oxd-birthday': oxdBirthday, @@ -2356,6 +2438,11 @@ const icons: Icons = { 'oxd-status': oxdStatus, 'oxd-required': oxdRequired, 'oxd-external-link': oxdExternalLink, + 'oxd-on-leave': oxdOnLeave, + 'oxd-holiday': oxdHoliday, + 'oxd-disabled-url': oxdDisabledURL, + 'oxd-generate-link': oxdGenerateLink, + 'oxd-enable-url': oxdEnableUrl, }; export default icons; From c7570028157c05bc10819e076784190cd8a2820e Mon Sep 17 00:00:00 2001 From: deshapriya Date: Thu, 7 Nov 2024 06:48:49 +0530 Subject: [PATCH 2/9] HT:554:Updating oxd checkbox and oxd select input components --- .../__snapshots__/checkbox.spec.ts.snap | 1 + .../core/components/Input/CheckboxGroup.vue | 12 ++++ .../core/components/Input/CheckboxInput.vue | 56 +++++++++++++++---- .../components/Input/Select/SelectInput.vue | 10 ++++ .../__snapshots__/checkbox-group.spec.ts.snap | 2 + .../__snapshots__/checkbox-input.spec.ts.snap | 2 + .../Input/__tests__/checkbox-input.spec.ts | 36 ++++++++++++ .../Input/__tests__/select-input.spec.ts | 43 ++++++++++++++ .../core/components/Input/checkbox-input.scss | 14 +++++ .../__snapshots__/list-table.spec.ts.snap | 6 ++ .../Pagination/__tests__/pagination.spec.ts | 4 +- .../components/Input/CheckboxInput.stories.js | 48 +++++++++++++++- .../ListTable/ListSkeleton.story.vue | 4 ++ 13 files changed, 226 insertions(+), 12 deletions(-) diff --git a/components/src/core/components/CardTable/Cell/__tests__/__snapshots__/checkbox.spec.ts.snap b/components/src/core/components/CardTable/Cell/__tests__/__snapshots__/checkbox.spec.ts.snap index 29dc790b..5c7c74dc 100644 --- a/components/src/core/components/CardTable/Cell/__tests__/__snapshots__/checkbox.spec.ts.snap +++ b/components/src/core/components/CardTable/Cell/__tests__/__snapshots__/checkbox.spec.ts.snap @@ -2,6 +2,7 @@ exports[`CardTable > Cell > Checkbox.vue should renders OXD CardTable > Cell > Checkbox Cell 1`] = `