mr-ui
mr-ui copied to clipboard
UI components for Mapbox projects
Closes https://github.com/mapbox/mr-ui/issues/156
### Project goals 1. Audit what's used already and remove unused components / props on existing. ([See document](https://docs.google.com/document/d/1x-fCsbmvcsYV2Y49cC2eFiV_XonECpOnkYAkGBtcNIM/edit)) 2. Rewrite as functional components that use hooks 3. Add type safety...
The code snippet component's current default style works well for self-contained pages like the mapbox.com install pages:  However, the hightlight style is perhaps too subtle for some other use...
An input with the following details: - Full width by default. - Two sizes: small and large. - Text-colored search icon on the left. - Placeholder is *required*. - Optionally...
Depending on the size of the code snippet, the first live (copyable) chunk may be out of view. It would be helpful to scroll to the first live chunk so...
Having experimented with a few different options, here's the outline of a styling pattern that I think could fit our purposes: - Opinionated defaults. - Standard variants are easy to...
We *can* get more information out of these types (from react-docgen). We just need to put a little work into extracting it and rendering it legibly. That would save us...
Handwriting those docs in a Markdown file seems kind of silly, if avoidable.
When you put a select next to a button, all the `Button` sizes add either too much padding or not enough so that the two elements do not line up:...
We recently had a bug where we disabled the `FormSubmit` component (using its `disabled` prop), but the `Form` could still be submitted with the Enter key. To avoid this situation,...