From 6b5d1db43c8b1eb2241fcb9a5bfe3b36ec8fbaa7 Mon Sep 17 00:00:00 2001 From: Noel De Martin Date: Thu, 24 Feb 2022 17:23:22 +0100 Subject: [PATCH] MOBILE-3982 core: Refactor collapsible-header --- src/addons/calendar/pages/event/event.html | 3 +- .../components/tabs-outlet/tabs-outlet.ts | 14 +- src/core/directives/collapsible-header.ts | 603 +++++++++--------- src/core/directives/format-text.ts | 19 + .../module-info/core-course-module-info.html | 2 +- .../module-summary/module-summary.scss | 2 +- .../components/single-activity.scss | 2 +- .../features/course/pages/index/index.html | 4 +- src/core/features/course/pages/index/index.ts | 4 +- src/core/singletons/components-registry.ts | 53 ++ src/theme/components/collapsible-header.scss | 86 +++ src/theme/globals.mixins.scss | 17 +- src/theme/theme.base.scss | 82 --- src/theme/theme.scss | 1 + 14 files changed, 489 insertions(+), 403 deletions(-) create mode 100644 src/core/singletons/components-registry.ts create mode 100644 src/theme/components/collapsible-header.scss diff --git a/src/addons/calendar/pages/event/event.html b/src/addons/calendar/pages/event/event.html index ae1306688..39364fbc8 100644 --- a/src/addons/calendar/pages/event/event.html +++ b/src/addons/calendar/pages/event/event.html @@ -40,8 +40,7 @@ - +