Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Core container/sheet components #12

Open
2 of 5 tasks
HadrienGardeur opened this issue Oct 15, 2024 · 0 comments
Open
2 of 5 tasks

Core container/sheet components #12

HadrienGardeur opened this issue Oct 15, 2024 · 0 comments
Assignees
Milestone

Comments

@HadrienGardeur
Copy link
Member

HadrienGardeur commented Oct 15, 2024

Most of our affordances will use a shared container component with:

  • a sticky header containing:
    • a title
    • actions as defined in Support for actions #11, including actions that could open a menu component
    • with the close action showing up as one of them
  • and a scrollable body

In this Epic, we'll implement this component in all of its variants which include:

To decide which variant gets used, we'll rely on windows size classes, as defined in #28.

We'll use our current user settings to illustrate all of this behavior:

  • with "Display settings" as a title
  • and the following actions:
    • overflow menu (hidden for the compact size class):
      • docked left
      • docked right
      • modal
    • close

For this affordance:

  • we'll default to a draggable bottom sheet for the compact size class, that can be dragged up to turn into a full screen sheet
  • while the medium and expanded size classes will default to the modal sheet

For the purpose of illustrating all of our components, we'll temporarily allow this affordance to be docked as well.

@HadrienGardeur HadrienGardeur added this to the Full Layout milestone Oct 15, 2024
@HadrienGardeur HadrienGardeur moved this from Draft to Todo in Readium Playground Oct 15, 2024
@HadrienGardeur HadrienGardeur changed the title Core container component Core container/sheet component Oct 20, 2024
@HadrienGardeur HadrienGardeur changed the title Core container/sheet component Core container/sheet components Dec 4, 2024
@JayPanoz JayPanoz moved this from Todo to In Progress in Readium Playground Dec 18, 2024
@JayPanoz JayPanoz mentioned this issue Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In Progress
Development

No branches or pull requests

2 participants