From 5e270cd1d0864895b2fb7e28e675267370d97035 Mon Sep 17 00:00:00 2001 From: Armin Ster Date: Thu, 27 Oct 2022 16:39:46 +0200 Subject: [PATCH] refactor: snippet edit modal --- src/app/app.module.ts | 6 ++ .../snippet-modal.component.html | 78 ++++++++++++++----- .../snippet-modal.component.scss | 10 +-- .../snippet-modal/snippet-modal.component.ts | 10 ++- src/styles.scss | 4 + 5 files changed, 80 insertions(+), 28 deletions(-) diff --git a/src/app/app.module.ts b/src/app/app.module.ts index a01597deb..4bd5db13d 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -1,7 +1,10 @@ import { ButtonComponent, + ChipComponent, IconComponent, InputDirective, + MenuComponent as AnglifyMenuComponent, + SelectComponent, SlotDirective, TextAreaComponent, TextFieldComponent, @@ -205,6 +208,9 @@ export function apiConfigFactory(): Configuration { TextAreaComponent, SlotDirective, TooltipDirective, + SelectComponent, + AnglifyMenuComponent, + ChipComponent, ], providers: [ { diff --git a/src/app/modals/snippet-modal/snippet-modal.component.html b/src/app/modals/snippet-modal/snippet-modal.component.html index 2cd16265a..028b0b0ef 100644 --- a/src/app/modals/snippet-modal/snippet-modal.component.html +++ b/src/app/modals/snippet-modal/snippet-modal.component.html @@ -1,10 +1,9 @@