Royal-Navy / design-system

Build web applications that meet the Royal Navy service standards
https://storybook.design-system.navy.digital.mod.uk
Apache License 2.0
104 stars 32 forks source link

Build Classification Bar #2629

Closed hxltrhuxze closed 1 month ago

hxltrhuxze commented 2 years ago

The Classification bar is being created to satisfy the requirement outlined in #2603.

Due to the impact of the banners on screen real estate, only classifications of OS and above should be displayed to the user.

Masthead

The Masthead has the classification placed above it, and its position will not change regardless of the screen size (e.g. mobile vs desktop):

Screenshot 2021-09-03 16 03 44@2x

Visual treatment

Sidebar

The Sidebar has the classification at the top, however the width is scoped to that of the sidebar itself. When the sidebar is collapsed, the classification should also condense itself. On reduced screen sizes, the banner should revert to the top of the page, matching the Masthead.

Screenshot 2021-09-03 16 03 58@2x

Visual treatment

github-actions[bot] commented 2 years ago

This issue has been marked as stale because it has been open for 60 days with no activity

wrengames commented 6 months ago

Is this planned for release to the react-component-library package soon?

m7kvqbe1 commented 4 months ago

Is this planned for release to the react-component-library package soon?

@wrengames

This is indeed on our radar. I can't give you an ETA just yet though.

wrengames commented 1 month ago

Thanks for getting this sorted 😊