mr-ui icon indicating copy to clipboard operation
mr-ui copied to clipboard

mr-ui next

Open tristen opened this issue 3 years ago • 1 comments

Project goals

  1. Audit what's used already and remove unused components / props on existing. (See document)
  2. Rewrite as functional components that use hooks
  3. Add type safety by writing components in TypeScript
  4. Update and improve where needed tests using react-testing-library
  5. Replace much of the internal functionality maintained with Radix

Work so far

Rewritten with Radix

  • [x] UnderlineTabs 👉 Tab
  • [x] ControlledAccordion 👉 Accordion
  • [x] Modal
  • [x] Tooltip
  • [x] ControlSwitch
  • [x] Icon
  • [x] Popover
  • [x] ControlCheckboxSet
  • [x] ControlLabel
  • [x] ControlRadioSet
  • [x] ControlRange
  • [x] ControlToggleSet
  • [x] ControlSelect
  • [x] LoaderFull
  • [x] LoaderLocal
  • [x] MinimumDurationLoader
  • [x] IconText

Rewritten

  • [x] Button
  • [x] ControlWrapper
  • [x] Utilities
  • [x] ChevronousText
  • [x] CodeSnippet
  • [x] ControlAlert
  • [x] ControlFile
  • [x] ControlText
  • [x] ControlTextarea
  • [x] Copiable
  • [x] CopyButton
  • [x] Form
  • [x] FormSubmit

Removed

  • [x] AccordionItem
  • [x] ControlledAccordion
  • [x] TabList
  • [x] UnderlineTabs
  • [x] PopoverTrigger
  • [x] Badge
  • [x] ControlCard
  • [x] ControlLegend
  • [x] GoLink
  • [x] Heading
  • [x] NewTabLink

tristen avatar Jun 23 '22 20:06 tristen

Modifying the title. It looks like mr-ui never pulled itself out of 2.0.0-beta.2 https://github.com/mapbox/mr-ui/blob/6a9074563941dec6ac7a0c4728f777bd34a8adf9/package.json#L4 so this should likely be a 2.0.0 release.

tristen avatar Jul 06 '22 02:07 tristen