torch-glare-mcp 1.3.1 → 1.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/components/data-views-layout.md +16 -1
- package/docs/components/drawer.md +527 -668
- package/package.json +2 -2
|
@@ -11,7 +11,22 @@ keywords: [data-views, layout, table, kanban, inbox, tree, multi-view, filter, s
|
|
|
11
11
|
|
|
12
12
|
## Installation
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
```bash
|
|
15
|
+
npx torch-glare@latest add DataViews
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
The CLI transitively installs everything DataViews imports — the sibling views,
|
|
19
|
+
the `DataViewCard` layout, the `useDataViewsState` hook, the `dataViews` utils,
|
|
20
|
+
and the `TreeFolder` component — plus the 3rd-party deps it uses
|
|
21
|
+
(`@radix-ui/react-slider`, `react-day-picker`, `lucide-react`, `vaul`).
|
|
22
|
+
|
|
23
|
+
> **Badge version:** DataViews uses the current Badge API
|
|
24
|
+
> (`color` / `badgeStyle` / `showIcon`). If your project vendored an older
|
|
25
|
+
> `Badge.tsx` (with `variant` / `isSelected`), refresh it with
|
|
26
|
+
> `npx torch-glare@latest add Badge --force` and migrate call sites
|
|
27
|
+
> (`variant=` → `color=`, `isSelected`+`onUnselect` → `isClosable`+`onClose`).
|
|
28
|
+
> The Badge also needs `mapping-color-system-v4` tokens
|
|
29
|
+
> (`--background-presentation-badge-{color}-{subtle|solid}`) in your CSS.
|
|
15
30
|
|
|
16
31
|
## Import
|
|
17
32
|
|