From 0da7bee896c6ab37590d21b8625e67ecaf9f27a1 Mon Sep 17 00:00:00 2001 From: Andrea Stagi Date: Thu, 8 Feb 2024 15:41:49 +0100 Subject: [PATCH] feat: add megamenu component --- .../dropdown/dropdown/dropdown.component.html | 2 +- .../dropdown/dropdown/dropdown.component.ts | 6 + .../navigation/header/header.component.html | 4 +- .../navigation/header/header.component.ts | 3 + .../megamenu/megamenu.component.html | 34 +++++ .../megamenu/megamenu.component.scss | 5 + .../navigation/megamenu/megamenu.component.ts | 30 +++++ .../src/lib/design-angular-kit.module.ts | 10 +- projects/design-angular-kit/src/public_api.ts | 1 + src/app/app-routing.module.ts | 120 ++++++++++-------- .../header-example.component.html | 95 ++++++++++++-- .../megamenu-cta-bottom.component.html | 93 ++++++++++++++ .../megamenu-cta-bottom.component.scss | 0 .../megamenu-cta-bottom.component.spec.ts | 22 ++++ .../megamenu-cta-bottom.component.ts | 8 ++ .../megamenu-cta-right.component.html | 77 +++++++++++ .../megamenu-cta-right.component.scss | 0 .../megamenu-cta-right.component.spec.ts | 22 ++++ .../megamenu-cta-right.component.ts | 8 ++ .../megamenu-example.component.html | 67 ++++++++++ .../megamenu-example.component.spec.ts | 22 ++++ .../megamenu-example.component.ts | 7 + .../megamenu-examples.component.spec.ts | 22 ++++ .../megamenu-examples.component.tpl | 40 ++++++ .../megamenu-examples.component.ts | 7 + .../megamenu-index.component.html | 12 ++ .../megamenu-index.component.ts | 15 +++ src/app/megamenu/megamenu-routing.module.ts | 11 ++ src/app/megamenu/megamenu.module.ts | 21 +++ src/assets/table-of-content.json | 4 + src/styles.scss | 2 +- 31 files changed, 700 insertions(+), 70 deletions(-) create mode 100644 projects/design-angular-kit/src/lib/components/navigation/megamenu/megamenu.component.html create mode 100644 projects/design-angular-kit/src/lib/components/navigation/megamenu/megamenu.component.scss create mode 100644 projects/design-angular-kit/src/lib/components/navigation/megamenu/megamenu.component.ts create mode 100644 src/app/megamenu/megamenu-cta-bottom/megamenu-cta-bottom.component.html create mode 100644 src/app/megamenu/megamenu-cta-bottom/megamenu-cta-bottom.component.scss create mode 100644 src/app/megamenu/megamenu-cta-bottom/megamenu-cta-bottom.component.spec.ts create mode 100644 src/app/megamenu/megamenu-cta-bottom/megamenu-cta-bottom.component.ts create mode 100644 src/app/megamenu/megamenu-cta-right/megamenu-cta-right.component.html create mode 100644 src/app/megamenu/megamenu-cta-right/megamenu-cta-right.component.scss create mode 100644 src/app/megamenu/megamenu-cta-right/megamenu-cta-right.component.spec.ts create mode 100644 src/app/megamenu/megamenu-cta-right/megamenu-cta-right.component.ts create mode 100644 src/app/megamenu/megamenu-example/megamenu-example.component.html create mode 100644 src/app/megamenu/megamenu-example/megamenu-example.component.spec.ts create mode 100644 src/app/megamenu/megamenu-example/megamenu-example.component.ts create mode 100644 src/app/megamenu/megamenu-examples/megamenu-examples.component.spec.ts create mode 100644 src/app/megamenu/megamenu-examples/megamenu-examples.component.tpl create mode 100644 src/app/megamenu/megamenu-examples/megamenu-examples.component.ts create mode 100644 src/app/megamenu/megamenu-index/megamenu-index.component.html create mode 100644 src/app/megamenu/megamenu-index/megamenu-index.component.ts create mode 100644 src/app/megamenu/megamenu-routing.module.ts create mode 100644 src/app/megamenu/megamenu.module.ts diff --git a/projects/design-angular-kit/src/lib/components/core/dropdown/dropdown/dropdown.component.html b/projects/design-angular-kit/src/lib/components/core/dropdown/dropdown/dropdown.component.html index cddf70d0..171461f5 100644 --- a/projects/design-angular-kit/src/lib/components/core/dropdown/dropdown/dropdown.component.html +++ b/projects/design-angular-kit/src/lib/components/core/dropdown/dropdown/dropdown.component.html @@ -1,4 +1,4 @@ -