Files
medusa-store/packages/design-system/ui
Kasper Fabricius Kristensen 147c0e5a35 feat(ui,dashboard): Add DataTable block (#10024)
**What**
- Adds opinionated DataTable block to `@medusajs/ui` 
- Adds new DataTable to `@medusajs/dashboard` that uses the above mentioned block as the primitive.

The PR also replaces the table on /customer-groups and the variants table on /products/:id with the new DataTable, to provide an example of it's usage. The previous DataTable component has been renamed to `_DataTable` and has been deprecated.

**Note**
This PR has a lot of LOC. 5,346 of these changes are the fr.json file, which wasn't formatted correctly before. When adding the new translations needed for this PR the file was formatted which caused each line to change to have the proper indentation.

Resolves CMRC-333
2025-01-20 13:26:12 +00:00
..
2025-01-07 13:31:40 +01:00

Medusa logo

Medusa UI

Documentation | Website

Medusa's admin component library.

Medusa is released under the MIT license. Discord Chat Follow @medusajs

Getting Started

Installation

yarn add @medusajs/ui

Usage

import { Button } from "@medusajs/ui"

const App = () => <Button variant="primary">Hello World</Button>

Documentation

You can find the documentation for Medusa UI on the documentation site.