Q

Results 66 comments of Q

Rad!! I'll see what it takes to seamlessly integrate this: http://marcj.github.io/css-element-queries/

Looks like there's also this: https://github.com/marcj/css-element-queries

@MichaelArestad It looks like these libraries work quite differently (the 2 links I shared above). Is there a particular solution you had in mind? Also! Do you know how it's...

Oooo... I see. It was a ad-hoc implementation, rather than something with CSS compiling. It would be nice to have a... it just works. Kind of workflow :) https://github.com/marcj/css-element-queries Seems...

Note to self: (Apologies in advance, the following may not make sense...) * Create some sort of `useEQ()` hook + matching context pair * Ref the `HTMLElement` for responsiveness to...

We may also need to consolidate (or replace) the existing [`Menu` component](https://github.com/ItsJonQ/g2/tree/main/packages/components/src/Menu) with this new `List`.

A (potential) real world need for this component would be for the new Global Styles design: https://github.com/WordPress/gutenberg/issues/27473#issuecomment-796773866 ![110799320-54c95100-827b-11eb-9db0-e768a6d31a12](https://user-images.githubusercontent.com/2322354/111836154-3e9b4080-88cc-11eb-8379-12b466fa5b97.png) (Note: The List UI in the middle rendering)

We'll do this when we copy/paste the files into Gutenberg. Moving this to Phase 2.

The prototype code is located here: `packages/components/src/__fixtures__/GlobalStylesSidebarV2/` ### 🧭 Routes The idea behind the project structure is to construct it like a typical router-driven React application. This is powered by...

Just added a URL sync feature so that changes in the Sidebar screens (routes) is bookmarkable/sharable.