From e09ed68345bb9e047f570dc5563d02dbe16a2e2f Mon Sep 17 00:00:00 2001 From: Ivan Donchev Date: Tue, 26 Nov 2024 13:04:20 +0200 Subject: [PATCH 1/7] feat: pinnable side panel --- .../stories/modal/side-panel.stories.ts | 15 ++++++ .../angular/src/modal/_modal.clarity.scss | 31 +++++++++++- projects/angular/src/modal/modal.html | 9 ++++ projects/angular/src/modal/modal.ts | 48 +++++++++++++++++-- projects/angular/src/modal/side-panel.ts | 33 ++++++++++++- .../src/utils/i18n/common-strings.default.ts | 1 + .../utils/i18n/common-strings.interface.ts | 5 ++ 7 files changed, 136 insertions(+), 6 deletions(-) diff --git a/.storybook/stories/modal/side-panel.stories.ts b/.storybook/stories/modal/side-panel.stories.ts index 094a1e6579..0aaf15d6a3 100644 --- a/.storybook/stories/modal/side-panel.stories.ts +++ b/.storybook/stories/modal/side-panel.stories.ts @@ -38,6 +38,7 @@ export default { clrSidePanelCloseButtonAriaLabel: commonStringsDefault.close, clrSidePanelLabelledById: '', clrSidePanelSize: 'md', + clrSidePanelPinnable: false, clrSidePanelSkipAnimation: false, // outputs clrSidePanelOpenChange: action('clrSidePanelOpenChange'), @@ -56,6 +57,7 @@ const SidePanelTemplate: StoryFn = args => ({