From a170f021ef91a7906266db39f39c96f7a99a6ee7 Mon Sep 17 00:00:00 2001 From: Beatrice Guerra Date: Mon, 11 Nov 2024 12:06:44 +0100 Subject: [PATCH 01/11] chore: update submodule --- src/carbonio-ui-commons | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/carbonio-ui-commons b/src/carbonio-ui-commons index 7c35e9db..e5098888 160000 --- a/src/carbonio-ui-commons +++ b/src/carbonio-ui-commons @@ -1 +1 @@ -Subproject commit 7c35e9db94ada0a8bfe69c0ca3a7047f276f4ad2 +Subproject commit e5098888b4625f1a6a5dd3871ffc7014e9b449e5 From fc1698c010c29dd067d91c42a0045bb908f97fd5 Mon Sep 17 00:00:00 2001 From: Beatrice Guerra Date: Tue, 12 Nov 2024 12:44:50 +0100 Subject: [PATCH 02/11] refactor: uppgrade styled-components to v6 Refs: CO-1609 --- .idea/runConfigurations/start.xml | 12 - .idea/zapp-calendar.iml | 4 +- package-lock.json | 352 ++++++-- package.json | 9 +- src/assets.d.ts | 6 + src/carbonio-ui-commons | 2 +- src/commons/color-select.jsx | 4 +- src/commons/date-picker-style.jsx | 2 +- src/commons/editor-generator.ts | 4 +- src/commons/globals.d.ts | 6 - src/commons/modal-footer.tsx | 145 +-- .../{modal-header.jsx => modal-header.tsx} | 23 +- src/commons/styled-components.tsx | 6 +- src/react-big-calendar-lib.d.ts | 10 + src/react-big-calendar.d.ts | 14 + src/settings/components/date-picker-style.jsx | 851 ------------------ src/settings/components/date-picker-style.tsx | 841 +++++++++++++++++ .../components/{utils.js => utils.ts} | 56 +- src/settings/permissions-settings-view.jsx | 2 +- src/view/calendar/custom-toolbar.tsx | 31 +- src/view/calendar/work-view.tsx | 4 +- src/view/editor/parts/editor-attendees.tsx | 6 +- src/view/editor/parts/editor-date-picker.tsx | 11 +- .../parts/editor-free-busy-selector.tsx | 2 +- .../parts/editor-resource-component.tsx | 37 +- src/view/editor/parts/editor-time-zone.tsx | 2 +- .../views/recurrence-end-options.tsx | 2 +- .../editor/parts/select-label-factory.tsx | 48 +- src/view/event-panel-view/attachment.tsx | 22 +- .../event-panel-view/event-panel-view.tsx | 3 +- src/view/move/new-calendar-modal.tsx | 11 +- .../search/parts/from-date-to-date-row.tsx | 4 +- src/view/search/types.d.ts | 6 - src/view/sidebar/edit-modal/edit-modal.tsx | 62 +- .../parts/edit-permission-modal.tsx | 2 +- .../edit-modal/parts/main-edit-modal.tsx | 17 +- src/view/sidebar/share-calendar-modal.tsx | 31 +- tsconfig.json | 5 +- 38 files changed, 1450 insertions(+), 1205 deletions(-) delete mode 100644 .idea/runConfigurations/start.xml create mode 100644 src/assets.d.ts delete mode 100644 src/commons/globals.d.ts rename src/commons/{modal-header.jsx => modal-header.tsx} (55%) create mode 100644 src/react-big-calendar-lib.d.ts create mode 100644 src/react-big-calendar.d.ts delete mode 100644 src/settings/components/date-picker-style.jsx create mode 100644 src/settings/components/date-picker-style.tsx rename src/settings/components/{utils.js => utils.ts} (91%) delete mode 100644 src/view/search/types.d.ts diff --git a/.idea/runConfigurations/start.xml b/.idea/runConfigurations/start.xml deleted file mode 100644 index 0ac61971..00000000 --- a/.idea/runConfigurations/start.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - -