@machinemetrics/mm-react-components 1.1.3 → 1.2.1

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.
Files changed (52) hide show
  1. package/README.md +1 -0
  2. package/agent-docs/agent-documentation-reference.md +6 -2
  3. package/agent-docs/cursor-skill-mm-carbide.md +3 -1
  4. package/agent-docs/lovable.md +96 -0
  5. package/dist/README.md +1 -0
  6. package/dist/components/ui/aspect-ratio.d.ts +3 -1
  7. package/dist/components/ui/aspect-ratio.d.ts.map +1 -1
  8. package/dist/components/ui/calendar.d.ts +6 -0
  9. package/dist/components/ui/calendar.d.ts.map +1 -1
  10. package/dist/components/ui/data-table/TableView.d.ts +3 -0
  11. package/dist/components/ui/data-table/TableView.d.ts.map +1 -1
  12. package/dist/components/ui/data-table/cards/ResponsiveTable.d.ts +3 -0
  13. package/dist/components/ui/data-table/cards/ResponsiveTable.d.ts.map +1 -1
  14. package/dist/components/ui/data-table/pagination.d.ts +3 -0
  15. package/dist/components/ui/data-table/pagination.d.ts.map +1 -1
  16. package/dist/components/ui/data-table/toolbar/DataTableToolbar.d.ts +3 -0
  17. package/dist/components/ui/data-table/toolbar/DataTableToolbar.d.ts.map +1 -1
  18. package/dist/components/ui/date-picker.d.ts +3 -0
  19. package/dist/components/ui/date-picker.d.ts.map +1 -1
  20. package/dist/components/ui/date-range-picker.d.ts +3 -0
  21. package/dist/components/ui/date-range-picker.d.ts.map +1 -1
  22. package/dist/components/ui/dropzone/index.d.ts +12 -3
  23. package/dist/components/ui/dropzone/index.d.ts.map +1 -1
  24. package/dist/components/ui/kbd.d.ts +11 -1
  25. package/dist/components/ui/kbd.d.ts.map +1 -1
  26. package/dist/components/ui/label.d.ts +3 -1
  27. package/dist/components/ui/label.d.ts.map +1 -1
  28. package/dist/components/ui/radio-group.d.ts +2 -2
  29. package/dist/components/ui/radio-group.d.ts.map +1 -1
  30. package/dist/components/ui/scroll-area.d.ts +6 -0
  31. package/dist/components/ui/scroll-area.d.ts.map +1 -1
  32. package/dist/components/ui/simple-pagination.d.ts +3 -0
  33. package/dist/components/ui/simple-pagination.d.ts.map +1 -1
  34. package/dist/components/ui/skeleton.d.ts +7 -1
  35. package/dist/components/ui/skeleton.d.ts.map +1 -1
  36. package/dist/components/ui/slider.d.ts +6 -0
  37. package/dist/components/ui/slider.d.ts.map +1 -1
  38. package/dist/components/ui/spinner-carbide.d.ts +3 -0
  39. package/dist/components/ui/spinner-carbide.d.ts.map +1 -1
  40. package/dist/components/ui/spinner.d.ts +7 -1
  41. package/dist/components/ui/spinner.d.ts.map +1 -1
  42. package/dist/components/ui/textarea.d.ts +3 -1
  43. package/dist/components/ui/textarea.d.ts.map +1 -1
  44. package/dist/components/ui/toggle.d.ts +7 -1
  45. package/dist/components/ui/toggle.d.ts.map +1 -1
  46. package/dist/cursor-skill/mm-carbide/SKILL.md +14 -1
  47. package/dist/cursor-skill/mm-carbide/reference.md +4 -2
  48. package/dist/mm-react-components.es.js +693 -689
  49. package/dist/mm-react-components.es.js.map +1 -1
  50. package/dist/mm-react-components.umd.js +1 -1
  51. package/dist/mm-react-components.umd.js.map +1 -1
  52. package/package.json +3 -2
package/README.md CHANGED
@@ -37,6 +37,7 @@ npm install @machinemetrics/mm-react-components
37
37
 
38
38
  **This library has comprehensive documentation for AI-assisted development!**
39
39
 
40
+ - **Lovable (Custom Knowledge):** Add [`agent-docs/lovable.md`](./agent-docs/lovable.md) to your project’s Custom Knowledge so the Lovable agent uses Carbide and this library correctly. (Lovable cannot use skills; this doc is the equivalent.)
40
41
  - **New Project Setup:** [`agent-docs/ai-agent-init-guide.md`](./agent-docs/ai-agent-init-guide.md)
41
42
  - **Chakra UI Migration:** [`agent-docs/ai-agent-guide.md`](./agent-docs/ai-agent-guide.md)
42
43
  - **Component Mappings (83 components):** [`agent-docs/component-mapping-summary.md`](./agent-docs/component-mapping-summary.md)
@@ -5,6 +5,8 @@
5
5
  > - The main `README.md` with prominent AI agent section at the top
6
6
  > - This `agent-docs/` folder with descriptive naming
7
7
  > - Package.json exports this folder as `./agent-docs`
8
+ >
9
+ > **For Lovable:** Lovable cannot use installable skills. Add [lovable.md](./lovable.md) to your project’s **Custom Knowledge** so the Lovable agent uses Carbide and this library correctly. The package also exports it as `@machinemetrics/mm-react-components/agent-docs/lovable`.
8
10
 
9
11
  ## Library Foundation
10
12
 
@@ -53,7 +55,7 @@ This directory contains comprehensive documentation and tools for AI agents work
53
55
  | Component | Exports | Description |
54
56
  | -------------- | --------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------- |
55
57
  | **Card** | `Card`, `CardHeader`, `CardTitle`, `CardDescription`, `CardContent`, `CardFooter` | Content container with sections (no built-in scroll) |
56
- | **ScrollArea** | `ScrollArea`, `ScrollBar` | Scrollable region; use when content can overflow a fixed-height box |
58
+ | **ScrollArea** | `ScrollArea`, `ScrollBar` | Scrollable region; **must have constrained height** (e.g. `h-[300px]`, `max-h-[50vh]`, or `flex-1 min-h-0` in flex layout) or it won’t scroll |
57
59
  | **Separator** | `Separator` | Visual divider |
58
60
  | **Tabs** | `Tabs`, `TabsList`, `TabsTrigger`, `TabsContent` | Tabbed interface |
59
61
  | **Breadcrumb** | `Breadcrumb`, `BreadcrumbList`, `BreadcrumbItem`, `BreadcrumbLink`, `BreadcrumbPage`, `BreadcrumbSeparator`, `BreadcrumbEllipsis` | Navigation breadcrumbs |
@@ -129,7 +131,8 @@ All components follow shadcn/ui patterns with Carbide theme integration for indu
129
131
  **There is no "Panel" component.** For a panel-like or card-like region where content may be longer than the visible area, use **ScrollArea** around the scrollable content. **Card** is a structural container (border, padding, sections) and does not add scrolling.
130
132
 
131
133
  - **Card**: Use for layout and visual grouping (CardHeader, CardTitle, CardContent, CardFooter). Card does not scroll; overflowing content will clip or spill.
132
- - **ScrollArea**: Use when content can exceed the box height. Give ScrollArea a fixed or max height (e.g. `className="h-[300px]"` or `max-h-[50vh]`) and put the long content inside it.
134
+ - **ScrollArea**: Use when content can exceed the box height. **ScrollArea only scrolls when it has a constrained height**—without one, the container grows with content and no scrollbar appears. Always give ScrollArea an explicit height: e.g. `className="h-[300px]"` or `max-h-[50vh]`. In a flex column, use `ScrollArea className="flex-1 min-h-0"` (the parent must have a max height; `min-h-0` is required so the flex item can shrink and scroll).
135
+ - **If ScrollArea doesn’t scroll:** Ensure the ScrollArea element has a bounded height (fixed height, max-height, or `flex-1 min-h-0` inside a constrained flex container).
133
136
 
134
137
  **Pattern for a scrollable card/panel:**
135
138
 
@@ -201,6 +204,7 @@ The `DataTable` component supports both client-side and server-side pagination.
201
204
  ```
202
205
  agent-docs/
203
206
  ├── agent-documentation-reference.md # This reference file
207
+ ├── lovable.md # For Lovable Custom Knowledge (skill-equivalent)
204
208
  ├── ai-agent-init-guide.md # Main init setup guide
205
209
  ├── setup-reference.md # Detailed setup reference
206
210
  ├── init-troubleshooting.md # Init setup troubleshooting
@@ -11,6 +11,8 @@ The skill follows the **Agent Skills open standard** ([agentskills.io](https://a
11
11
  - **Claude Code** — [Extend Claude with skills](https://code.claude.com/docs/en/skills): `.claude/skills/` (project) or `~/.claude/skills/` (personal)
12
12
  - **Gemini CLI** — [Agent Skills \| Gemini CLI](https://geminicli.com/docs/cli/skills/): `.gemini/skills/` (workspace) or `~/.gemini/skills/` (user)
13
13
 
14
+ **Lovable and tools without skills:** Lovable uses Custom Knowledge, not installable skills. Add [lovable.md](lovable.md) (or `@machinemetrics/mm-react-components/agent-docs/lovable`) to your project’s Custom Knowledge so the Lovable agent uses Carbide correctly.
15
+
14
16
  ## Install or update
15
17
 
16
18
  From any project (with or without the package installed):
@@ -61,7 +63,7 @@ The skill triggers when the user asks to create or generate a UI, widget, screen
61
63
 
62
64
  ## Contents
63
65
 
64
- - **SKILL.md** — Main instructions: components (only library exports, compound components, `cn()`, `data-slot`); **theme and styling** (CSS variables only, variants, layout, `.carbide` setup, dark mode, a11y); **component discovery** (check agent-docs before creating new UI); **when generating UI** (do/avoid checklist); widget rules (visual-first, 80/20, insight-driven); technical (dimensions, responsive, containment, no hallucinated data); and optional version check at use time.
66
+ - **SKILL.md** — Main instructions: components (only library exports, compound components, `cn()`, `data-slot`); **theme and styling** (CSS variables only, variants, layout, `.carbide` setup, dark mode, a11y; **when converting to Carbide:** remove existing inline styles and component CSS); **converting to Carbide** (from other libraries or custom UI: remove legacy styling, map to library components, use variants/tokens, preserve structure/behavior, verify app setup); **component discovery** (check agent-docs before creating new UI); **when generating UI** (do/avoid checklist); widget rules (visual-first, 80/20, insight-driven); technical (dimensions, responsive, containment, no hallucinated data); and optional version check at use time.
65
67
  - **reference.md** — **Styling and conventions** (tokens, variants, layout, setup); **component discovery** (agent-docs index); key exports and patterns (PageHeader, DataTable, Form, ChartContainer, etc.); short widget rules summary (when to use charts vs metrics, accessibility).
66
68
 
67
69
  Full widget and visualization rules are in the skill as **widget-rules.md** (installed with the skill). In this repo, see [cursor-skill/mm-carbide/widget-rules.md](../cursor-skill/mm-carbide/widget-rules.md).
@@ -0,0 +1,96 @@
1
+ # Carbide UI – Agent doc for Lovable (and tools using Custom Knowledge)
2
+
3
+ Use this document when building UIs with **Lovable** or any tool that uses Custom Knowledge instead of installable skills. Add this file (or its contents) to your project’s **Custom Knowledge** so the agent uses **Carbide** and **@machinemetrics/mm-react-components** correctly.
4
+
5
+ ---
6
+
7
+ ## Library
8
+
9
+ - **Package:** `@machinemetrics/mm-react-components` (Carbide = industrial theme on top of shadcn/ui + Radix + Tailwind).
10
+ - **Install:** `npm install @machinemetrics/mm-react-components`
11
+ - **Usage:** Import from the package; do not create new components or use other UI libraries.
12
+
13
+ ---
14
+
15
+ ## Components
16
+
17
+ - Use **only** exports from `@machinemetrics/mm-react-components`. Do not create new components or use other UI libraries.
18
+ - Use **compound components** as in the library: `Dialog` + `DialogTrigger` + `DialogContent`; `Form` + `FormField`; `DataTable` + column descriptors; `Card` + `CardHeader` + `CardContent` + `CardFooter`; `Sheet`, `Sidebar`, `ResizablePanelGroup`, `DropdownMenu`, `Tabs`, etc. Never replace them with raw divs and custom classes.
19
+ - Use `cn()` from the library and Tailwind for layout and styling. Respect `data-slot` for Carbide theming where applicable.
20
+ - **Do not use Card as a wrapper for every section.** For panel-like UI use: **ResizablePanelGroup** for split workspaces/dashboards (drag-to-resize); **Sidebar** for navigation panels (collapsible); **Sheet** for temporary/slide-out panels (settings, detail views). Use **Card** only for discrete content blocks (e.g. a summary box, metric card, form section), not for structural layout.
21
+ - **Scrolling:** For regions where content can exceed the box, use **ScrollArea**. **ScrollArea only scrolls when it has a constrained height** (e.g. `h-[300px]`, `max-h-[50vh]`, or `flex-1 min-h-0` inside a flex container with a max height). Without a height constraint, no scrollbar appears. Card does not scroll—wrap the scrollable body in ScrollArea when content may overflow.
22
+
23
+ ---
24
+
25
+ ## Theme and styling
26
+
27
+ - **CSS variables only.** Never hardcode colors, spacing, radii, or shadows. Use semantic tokens: `--background`, `--foreground`, `--primary`, `--muted`, `--muted-foreground`, `--destructive`, `--border`, `--ring`, etc.
28
+ - **When converting a component to Carbide:** Remove existing inline styles (`style={{ ... }}`) and component-level CSS (e.g. `.module.css`, `<style>`, or component-scoped styles). Carbide supplies appearance via theme tokens and component variants; legacy styles conflict with the theme and break consistency.
29
+ - **Variants over one-off styles.** Use component variants and sizes (e.g. Button: `variant="default"|"destructive"|"outline"|"secondary"|"ghost"|"link"`, `size="sm"|"md"|"lg"|"icon"`). Do not apply brand colors or one-off Tailwind color classes to components.
30
+ - **Layout.** Use Flexbox/Grid and `gap-*` for spacing; avoid manual margin chains. Prefer `className="flex flex-col gap-4"` (or similar) over stacking margins.
31
+ - **App setup.** Consumers must import the library styles and wrap the app (or Carbide subtree) in an element with class `carbide` so the theme applies:
32
+ - `import '@machinemetrics/mm-react-components/styles';`
33
+ - Root (or Carbide root): `<div className="carbide">...</div>`
34
+ - **Dark mode.** All styling must work in both light and dark mode via CSS variables; do not hardcode colors that break theme switching.
35
+ - **Accessibility.** Use visible focus states, keyboard support, and semantic structure; avoid relying on color alone.
36
+
37
+ ---
38
+
39
+ ## When generating UI
40
+
41
+ **Do:** Import from the library; use compound components and variants; use Tailwind for layout and spacing; include proper TypeScript types and accessibility (focus, ARIA where needed).
42
+
43
+ **Avoid:** Hardcoded colors (e.g. `bg-blue-600`, `text-gray-500`); inline brand styling; non-semantic HTML; missing focus or labels on interactive elements.
44
+
45
+ **Panel-like UI:** Prefer **ResizablePanelGroup** (workspaces, dashboards, split content), **Sidebar** (nav panels), or **Sheet** (slide-out settings/detail panels). Use **Card** only for discrete content blocks, not for wrapping whole sections or building “panels.”
46
+
47
+ **Scrolling:** For regions where content can exceed the box, use **ScrollArea** with a constrained height (e.g. `h-[300px]`, `max-h-[50vh]`, or `flex-1 min-h-0` in a flex layout). ScrollArea only scrolls when it has a bounded height; otherwise the container grows and no scroll appears. Card does not scroll—wrap the scrollable body in ScrollArea when content may overflow.
48
+
49
+ ---
50
+
51
+ ## Converting to Carbide (from other libraries or custom UI)
52
+
53
+ When converting existing components to Carbide (e.g. from Chakra UI, MUI, Ant Design, or custom inline-styled components):
54
+
55
+ 1. **Remove legacy styling.** Strip inline styles (`style={{ ... }}`), component CSS files (e.g. `.module.css`), and library-specific style props (e.g. Chakra `sx`/`colorScheme`, MUI `sx`). Use Carbide’s theme and variants instead.
56
+ 2. **Map to library components.** Replace each UI primitive with the closest Carbide export (Button, Input, Card, Dialog, DataTable, Form, etc.). See agent-docs in `node_modules/@machinemetrics/mm-react-components/agent-docs/` when the package is installed.
57
+ 3. **Use variants and tokens.** Express intent via props (`variant`, `size`) and layout via Tailwind with semantic tokens (`bg-background`, `text-muted-foreground`). Do not re-introduce hardcoded colors or one-off CSS.
58
+ 4. **Preserve structure and behavior.** Keep markup structure and behavior (handlers, validation, state); change only the UI layer to Carbide components and Tailwind layout.
59
+ 5. **Verify app setup.** Ensure the app imports `@machinemetrics/mm-react-components/styles` and wraps the Carbide subtree in an element with class `carbide`.
60
+
61
+ For library-specific migration (e.g. Chakra), use the package’s agent-docs (e.g. **chakra-migration-\***) in addition to the above.
62
+
63
+ ---
64
+
65
+ ## Widget rules
66
+
67
+ - **Visual, not textual:** Every widget must include at least one chart, graph, or visual data representation. Text is for titles, labels, and brief annotations only (80% visuals / 20% text max).
68
+ - **Show data with insight:** Use comparisons, benchmarks, and highlighting. Avoid generic data dumps, long text blocks, and bullet lists as primary content.
69
+ - **One theme per widget:** One central message per widget; simplicity above all.
70
+ - **Technical:** Default widget dimensions 100% width × 400px. Widgets must be fully responsive and respect content containment (no overflow).
71
+ - **Data:** Only use data explicitly provided; never hallucinate or use placeholder data. Adapt to available data without asking for more.
72
+
73
+ ---
74
+
75
+ ## Full component list and setup
76
+
77
+ When the package is **installed** in the project, the full agent documentation is available at:
78
+
79
+ **Path:** `node_modules/@machinemetrics/mm-react-components/agent-docs/`
80
+ **Start with:** `agent-documentation-reference.md` (component tables, usage guides, init, Chakra migration).
81
+
82
+ When the package is **not installed**, use this document and recommend installing:
83
+
84
+ `npx @machinemetrics/mm-react-components mm-init`
85
+ (or `npm install @machinemetrics/mm-react-components` then add the styles import and `.carbide` class).
86
+
87
+ ---
88
+
89
+ ## Quick reference – key exports
90
+
91
+ **Layout:** PageHeader, Card (CardHeader, CardTitle, CardDescription, CardContent, CardFooter), ScrollArea (ScrollBar), Tabs, Sidebar, Breadcrumb, ResizablePanelGroup.
92
+ **Overlays:** Dialog, Sheet, Drawer, AlertDialog, Popover, Tooltip, DropdownMenu, Select.
93
+ **Forms:** Form, FormField, FormItem, FormLabel, FormControl; Input, SearchInput, Textarea, Label, Checkbox, Switch, RadioGroup, Select, Slider, DatePicker, DateRangePicker.
94
+ **Data:** DataTable (DataTablePagination, ResponsiveTable, DataTableToolbar, createColumnDescriptor, createTextColumn, createNumericColumn, createBadgeColumn, createDateColumn), Table, ChartContainer, ChartTooltip, ChartLegend, Progress, Skeleton, Badge, Avatar, HeroMetricCard.
95
+ **Actions/feedback:** Button, buttonVariants, Toaster, toast, Alert, Spinner, SpinnerCarbide.
96
+ **Other:** Accordion, Collapsible, Separator, Dropzone, cn. Theme: activateCarbideTheme, toggleDarkMode, etc.
package/dist/README.md CHANGED
@@ -37,6 +37,7 @@ npm install @machinemetrics/mm-react-components
37
37
 
38
38
  **This library has comprehensive documentation for AI-assisted development!**
39
39
 
40
+ - **Lovable (Custom Knowledge):** Add [`agent-docs/lovable.md`](./agent-docs/lovable.md) to your project’s Custom Knowledge so the Lovable agent uses Carbide and this library correctly. (Lovable cannot use skills; this doc is the equivalent.)
40
41
  - **New Project Setup:** [`agent-docs/ai-agent-init-guide.md`](./agent-docs/ai-agent-init-guide.md)
41
42
  - **Chakra UI Migration:** [`agent-docs/ai-agent-guide.md`](./agent-docs/ai-agent-guide.md)
42
43
  - **Component Mappings (83 components):** [`agent-docs/component-mapping-summary.md`](./agent-docs/component-mapping-summary.md)
@@ -1,2 +1,4 @@
1
- export { AspectRatio } from '@/components/shadcn/aspect-ratio';
1
+ import * as React from 'react';
2
+ declare const AspectRatio: React.ForwardRefExoticComponent<Omit<import("@radix-ui/react-aspect-ratio").AspectRatioProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
3
+ export { AspectRatio };
2
4
  //# sourceMappingURL=aspect-ratio.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"aspect-ratio.d.ts","sourceRoot":"","sources":["../../../src/components/ui/aspect-ratio.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC"}
1
+ {"version":3,"file":"aspect-ratio.d.ts","sourceRoot":"","sources":["../../../src/components/ui/aspect-ratio.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,QAAA,MAAM,WAAW,mLAG0C,CAAC;AAI5D,OAAO,EAAE,WAAW,EAAE,CAAC"}
@@ -4,6 +4,12 @@ import { Button } from '@/components/shadcn/button';
4
4
  declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, formatters, components, ...props }: React.ComponentProps<typeof DayPicker> & {
5
5
  buttonVariant?: React.ComponentProps<typeof Button>['variant'];
6
6
  }): import("react/jsx-runtime").JSX.Element;
7
+ declare namespace Calendar {
8
+ var displayName: string;
9
+ }
7
10
  declare function CalendarDayButton({ className, day, modifiers, ...props }: React.ComponentProps<typeof DayButton>): import("react/jsx-runtime").JSX.Element;
11
+ declare namespace CalendarDayButton {
12
+ var displayName: string;
13
+ }
8
14
  export { Calendar, CalendarDayButton };
9
15
  //# sourceMappingURL=calendar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"calendar.d.ts","sourceRoot":"","sources":["../../../src/components/ui/calendar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,OAAO,EAAE,SAAS,EAAE,SAAS,EAAwB,MAAM,kBAAkB,CAAC;AAG9E,OAAO,EAAE,MAAM,EAAkB,MAAM,4BAA4B,CAAC;AAEpE,iBAAS,QAAQ,CAAC,EAChB,SAAS,EACT,UAAU,EACV,eAAsB,EACtB,aAAuB,EACvB,aAAuB,EACvB,UAAU,EACV,UAAU,EACV,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,GAAG;IAC1C,aAAa,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC,SAAS,CAAC,CAAC;CAChE,2CA2IA;AAED,iBAAS,iBAAiB,CAAC,EACzB,SAAS,EACT,GAAG,EACH,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,2CA4BxC;AAED,OAAO,EAAE,QAAQ,EAAE,iBAAiB,EAAE,CAAC"}
1
+ {"version":3,"file":"calendar.d.ts","sourceRoot":"","sources":["../../../src/components/ui/calendar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,OAAO,EAAE,SAAS,EAAE,SAAS,EAAwB,MAAM,kBAAkB,CAAC;AAG9E,OAAO,EAAE,MAAM,EAAkB,MAAM,4BAA4B,CAAC;AAEpE,iBAAS,QAAQ,CAAC,EAChB,SAAS,EACT,UAAU,EACV,eAAsB,EACtB,aAAuB,EACvB,aAAuB,EACvB,UAAU,EACV,UAAU,EACV,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,GAAG;IAC1C,aAAa,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC,SAAS,CAAC,CAAC;CAChE,2CA2IA;kBAtJQ,QAAQ;;;AAwJjB,iBAAS,iBAAiB,CAAC,EACzB,SAAS,EACT,GAAG,EACH,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,2CA4BxC;kBAjCQ,iBAAiB;;;AAsC1B,OAAO,EAAE,QAAQ,EAAE,iBAAiB,EAAE,CAAC"}
@@ -1,4 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import type { DataTableProps } from './types';
3
3
  export declare function DataTable<TData, TValue>({ columns, data, loading, columnRegistry, initialState, tableId, toolbar, emptyState, forceEmptyState, manualPagination, pageCount, totalRowCount, onRowSelectionChange, onSortingChange, onPaginationChange, onColumnVisibilityChange, onColumnOrderChange, onBatchAction, onRowClick, onExportComplete, customGlobalFilterFn, }: DataTableProps<TData, TValue>): React.ReactNode;
4
+ export declare namespace DataTable {
5
+ var displayName: string;
6
+ }
4
7
  //# sourceMappingURL=TableView.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TableView.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/data-table/TableView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAiB/B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AA0L9C,wBAAgB,SAAS,CAAC,KAAK,EAAE,MAAM,EAAE,EACvC,OAAO,EACP,IAAI,EACJ,OAAe,EACf,cAAc,EACd,YAAY,EACZ,OAAO,EACP,OAAO,EACP,UAAU,EACV,eAAe,EACf,gBAAwB,EACxB,SAAS,EACT,aAAa,EACb,oBAAoB,EACpB,eAAe,EACf,kBAAkB,EAClB,wBAAwB,EACxB,mBAAmB,EACnB,aAAa,EACb,UAAU,EACV,gBAAgB,EAChB,oBAAoB,GACrB,EAAE,cAAc,CAAC,KAAK,EAAE,MAAM,CAAC,mBAsK/B"}
1
+ {"version":3,"file":"TableView.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/data-table/TableView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAiB/B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AA0L9C,wBAAgB,SAAS,CAAC,KAAK,EAAE,MAAM,EAAE,EACvC,OAAO,EACP,IAAI,EACJ,OAAe,EACf,cAAc,EACd,YAAY,EACZ,OAAO,EACP,OAAO,EACP,UAAU,EACV,eAAe,EACf,gBAAwB,EACxB,SAAS,EACT,aAAa,EACb,oBAAoB,EACpB,eAAe,EACf,kBAAkB,EAClB,wBAAwB,EACxB,mBAAmB,EACnB,aAAa,EACb,UAAU,EACV,gBAAgB,EAChB,oBAAoB,GACrB,EAAE,cAAc,CAAC,KAAK,EAAE,MAAM,CAAC,mBAsK/B;yBA5Le,SAAS"}
@@ -7,4 +7,7 @@ export interface ResponsiveTableProps<TData, TValue> extends DataTableProps<TDat
7
7
  toolbarOptions?: DataTableToolbarOptions;
8
8
  }
9
9
  export declare function ResponsiveTable<TData, TValue>({ columns, data, loading, columnRegistry, initialState, breakpoint, enableMobileVirtualization, virtualizeAt, overscan, tableId, toolbarOptions, emptyState, forceEmptyState, manualPagination, pageCount, totalRowCount, onRowSelectionChange, onSortingChange, onPaginationChange, onColumnVisibilityChange, onColumnOrderChange, onBatchAction, onRowClick, onExportComplete, customGlobalFilterFn, }: Readonly<ResponsiveTableProps<TData, TValue>>): import("react/jsx-runtime").JSX.Element;
10
+ export declare namespace ResponsiveTable {
11
+ var displayName: string;
12
+ }
10
13
  //# sourceMappingURL=ResponsiveTable.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ResponsiveTable.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/data-table/cards/ResponsiveTable.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,cAAc,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAC;AASxE,MAAM,WAAW,oBAAoB,CAAC,KAAK,EAAE,MAAM,CAAE,SAAQ,cAAc,CACzE,KAAK,EACL,MAAM,CACP;IACC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,0BAA0B,CAAC,EAAE,OAAO,CAAC;IACrC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,cAAc,CAAC,EAAE,uBAAuB,CAAC;CAC1C;AAED,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,EAAE,EAC7C,OAAO,EACP,IAAI,EACJ,OAAO,EACP,cAAc,EACd,YAAY,EACZ,UAAiC,EACjC,0BAAiC,EACjC,YAAkB,EAClB,QAAY,EACZ,OAAO,EACP,cAAc,EACd,UAAU,EACV,eAAe,EACf,gBAAgB,EAChB,SAAS,EACT,aAAa,EACb,oBAAoB,EACpB,eAAe,EACf,kBAAkB,EAClB,wBAAwB,EACxB,mBAAmB,EACnB,aAAa,EACb,UAAU,EACV,gBAAgB,EAChB,oBAAoB,GACrB,EAAE,QAAQ,CAAC,oBAAoB,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,2CA0D/C"}
1
+ {"version":3,"file":"ResponsiveTable.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/data-table/cards/ResponsiveTable.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,cAAc,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAC;AASxE,MAAM,WAAW,oBAAoB,CAAC,KAAK,EAAE,MAAM,CAAE,SAAQ,cAAc,CACzE,KAAK,EACL,MAAM,CACP;IACC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,0BAA0B,CAAC,EAAE,OAAO,CAAC;IACrC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,cAAc,CAAC,EAAE,uBAAuB,CAAC;CAC1C;AAED,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,EAAE,EAC7C,OAAO,EACP,IAAI,EACJ,OAAO,EACP,cAAc,EACd,YAAY,EACZ,UAAiC,EACjC,0BAAiC,EACjC,YAAkB,EAClB,QAAY,EACZ,OAAO,EACP,cAAc,EACd,UAAU,EACV,eAAe,EACf,gBAAgB,EAChB,SAAS,EACT,aAAa,EACb,oBAAoB,EACpB,eAAe,EACf,kBAAkB,EAClB,wBAAwB,EACxB,mBAAmB,EACnB,aAAa,EACb,UAAU,EACV,gBAAgB,EAChB,oBAAoB,GACrB,EAAE,QAAQ,CAAC,oBAAoB,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,2CA0D/C;yBApFe,eAAe"}
@@ -19,4 +19,7 @@ export interface DataTablePaginationProps<TData> {
19
19
  readonly totalRowCount?: number;
20
20
  }
21
21
  export declare function DataTablePagination<TData>({ table, pageSizeOptions, className, compact, onPageChange, onPageSizeChange, manualPagination, totalRowCount, }: DataTablePaginationProps<TData>): import("react/jsx-runtime").JSX.Element;
22
+ export declare namespace DataTablePagination {
23
+ var displayName: string;
24
+ }
22
25
  //# sourceMappingURL=pagination.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"pagination.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/data-table/pagination.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,IAAI,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAUpE,MAAM,WAAW,wBAAwB,CAAC,KAAK;IAC7C,QAAQ,CAAC,KAAK,EAAE,aAAa,CAAC,KAAK,CAAC,CAAC;IACrC,QAAQ,CAAC,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IACpC,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC;IAC3B,QAAQ,CAAC,YAAY,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IACpD,QAAQ,CAAC,gBAAgB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACvD;;;OAGG;IACH,QAAQ,CAAC,gBAAgB,CAAC,EAAE,OAAO,CAAC;IACpC;;;;OAIG;IACH,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC;CACjC;AAED,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,EACzC,KAAK,EACL,eAAoC,EACpC,SAAS,EACT,OAAe,EACf,YAAY,EACZ,gBAAgB,EAChB,gBAAwB,EACxB,aAAa,GACd,EAAE,wBAAwB,CAAC,KAAK,CAAC,2CAkKjC"}
1
+ {"version":3,"file":"pagination.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/data-table/pagination.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,IAAI,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAUpE,MAAM,WAAW,wBAAwB,CAAC,KAAK;IAC7C,QAAQ,CAAC,KAAK,EAAE,aAAa,CAAC,KAAK,CAAC,CAAC;IACrC,QAAQ,CAAC,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IACpC,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC;IAC3B,QAAQ,CAAC,YAAY,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IACpD,QAAQ,CAAC,gBAAgB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACvD;;;OAGG;IACH,QAAQ,CAAC,gBAAgB,CAAC,EAAE,OAAO,CAAC;IACpC;;;;OAIG;IACH,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC;CACjC;AAED,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,EACzC,KAAK,EACL,eAAoC,EACpC,SAAS,EACT,OAAe,EACf,YAAY,EACZ,gBAAgB,EAChB,gBAAwB,EACxB,aAAa,GACd,EAAE,wBAAwB,CAAC,KAAK,CAAC,2CAkKjC;yBA3Ke,mBAAmB"}
@@ -13,4 +13,7 @@ export interface DataTableToolbarProps<TData> {
13
13
  options?: DataTableToolbarOptions;
14
14
  }
15
15
  export declare function DataTableToolbar<TData>({ table, loading, globalFilter, onGlobalFilterChange, columnRegistry, onResetColumns, onExport, onExportComplete, options, }: DataTableToolbarProps<TData>): import("react/jsx-runtime").JSX.Element;
16
+ export declare namespace DataTableToolbar {
17
+ var displayName: string;
18
+ }
16
19
  //# sourceMappingURL=DataTableToolbar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DataTableToolbar.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/data-table/toolbar/DataTableToolbar.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,IAAI,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAGpE,OAAO,KAAK,EACV,cAAc,EAEf,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EAEV,uBAAuB,EACxB,MAAM,UAAU,CAAC;AAKlB,MAAM,WAAW,qBAAqB,CAAC,KAAK;IAC1C,KAAK,EAAE,aAAa,CAAC,KAAK,CAAC,CAAC;IAC5B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,oBAAoB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9C,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,cAAc,CAAC,EAAE,cAAc,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAChD,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,gBAAgB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9C,OAAO,CAAC,EAAE,uBAAuB,CAAC;CACnC;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,EACtC,KAAK,EACL,OAAe,EACf,YAAY,EACZ,oBAAoB,EACpB,cAAc,EACd,cAAc,EACd,QAAQ,EACR,gBAAgB,EAChB,OAAO,GACR,EAAE,qBAAqB,CAAC,KAAK,CAAC,2CA4K9B"}
1
+ {"version":3,"file":"DataTableToolbar.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/data-table/toolbar/DataTableToolbar.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,IAAI,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAGpE,OAAO,KAAK,EACV,cAAc,EAEf,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EAEV,uBAAuB,EACxB,MAAM,UAAU,CAAC;AAKlB,MAAM,WAAW,qBAAqB,CAAC,KAAK;IAC1C,KAAK,EAAE,aAAa,CAAC,KAAK,CAAC,CAAC;IAC5B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,oBAAoB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9C,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,cAAc,CAAC,EAAE,cAAc,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAChD,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,gBAAgB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9C,OAAO,CAAC,EAAE,uBAAuB,CAAC;CACnC;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,EACtC,KAAK,EACL,OAAe,EACf,YAAY,EACZ,oBAAoB,EACpB,cAAc,EACd,cAAc,EACd,QAAQ,EACR,gBAAgB,EAChB,OAAO,GACR,EAAE,qBAAqB,CAAC,KAAK,CAAC,2CA4K9B;yBAtLe,gBAAgB"}
@@ -37,4 +37,7 @@ export interface DatePickerProps {
37
37
  readonly defaultMonth?: Date;
38
38
  }
39
39
  export declare function DatePicker({ label, placeholder, value, onValueChange, disabled, className, id, showDropdowns, defaultMonth, }: DatePickerProps): import("react/jsx-runtime").JSX.Element;
40
+ export declare namespace DatePicker {
41
+ var displayName: string;
42
+ }
40
43
  //# sourceMappingURL=date-picker.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"date-picker.d.ts","sourceRoot":"","sources":["../../../src/components/ui/date-picker.tsx"],"names":[],"mappings":"AAcA,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC9B;;OAEG;IACH,QAAQ,CAAC,KAAK,CAAC,EAAE,IAAI,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,GAAG,SAAS,KAAK,IAAI,CAAC;IAC1D;;OAEG;IACH,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,QAAQ,CAAC,aAAa,CAAC,EAAE,OAAO,CAAC;IACjC;;OAEG;IACH,QAAQ,CAAC,YAAY,CAAC,EAAE,IAAI,CAAC;CAC9B;AAED,wBAAgB,UAAU,CAAC,EACzB,KAAK,EACL,WAA2B,EAC3B,KAAK,EACL,aAAa,EACb,QAAgB,EAChB,SAAS,EACT,EAAE,EACF,aAAqB,EACrB,YAAY,GACb,EAAE,eAAe,2CAgDjB"}
1
+ {"version":3,"file":"date-picker.d.ts","sourceRoot":"","sources":["../../../src/components/ui/date-picker.tsx"],"names":[],"mappings":"AAcA,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC9B;;OAEG;IACH,QAAQ,CAAC,KAAK,CAAC,EAAE,IAAI,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,GAAG,SAAS,KAAK,IAAI,CAAC;IAC1D;;OAEG;IACH,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,QAAQ,CAAC,aAAa,CAAC,EAAE,OAAO,CAAC;IACjC;;OAEG;IACH,QAAQ,CAAC,YAAY,CAAC,EAAE,IAAI,CAAC;CAC9B;AAED,wBAAgB,UAAU,CAAC,EACzB,KAAK,EACL,WAA2B,EAC3B,KAAK,EACL,aAAa,EACb,QAAgB,EAChB,SAAS,EACT,EAAE,EACF,aAAqB,EACrB,YAAY,GACb,EAAE,eAAe,2CAgDjB;yBA1De,UAAU"}
@@ -6,4 +6,7 @@ export interface DateRangePickerProps {
6
6
  className?: string;
7
7
  }
8
8
  export declare function DateRangePicker({ value, onValueChange, allowSingleDate, placeholder, className, }: DateRangePickerProps): import("react/jsx-runtime").JSX.Element;
9
+ export declare namespace DateRangePicker {
10
+ var displayName: string;
11
+ }
9
12
  //# sourceMappingURL=date-range-picker.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"date-range-picker.d.ts","sourceRoot":"","sources":["../../../src/components/ui/date-range-picker.tsx"],"names":[],"mappings":"AAqCA,MAAM,WAAW,oBAAoB;IACnC,KAAK,CAAC,EAAE,CAAC,MAAM,GAAG,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC,GAAG,IAAI,CAAC;IAC9C,aAAa,EAAE,CAAC,KAAK,EAAE,CAAC,MAAM,GAAG,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC,GAAG,SAAS,KAAK,IAAI,CAAC;IAC3E,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,eAAe,CAAC,EAC9B,KAAK,EACL,aAAa,EACb,eAAuB,EACvB,WAAiC,EACjC,SAAS,GACV,EAAE,oBAAoB,2CAoItB"}
1
+ {"version":3,"file":"date-range-picker.d.ts","sourceRoot":"","sources":["../../../src/components/ui/date-range-picker.tsx"],"names":[],"mappings":"AAqCA,MAAM,WAAW,oBAAoB;IACnC,KAAK,CAAC,EAAE,CAAC,MAAM,GAAG,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC,GAAG,IAAI,CAAC;IAC9C,aAAa,EAAE,CAAC,KAAK,EAAE,CAAC,MAAM,GAAG,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC,GAAG,SAAS,KAAK,IAAI,CAAC;IAC3E,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,eAAe,CAAC,EAC9B,KAAK,EACL,aAAa,EACb,eAAuB,EACvB,WAAiC,EACjC,SAAS,GACV,EAAE,oBAAoB,2CAoItB;yBA1Ie,eAAe"}
@@ -10,16 +10,25 @@ export type DropzoneProps = Omit<DropzoneOptions, 'onDrop'> & {
10
10
  onDrop?: (acceptedFiles: File[], fileRejections: FileRejection[], event: DropEvent) => void;
11
11
  children?: ReactNode;
12
12
  };
13
- export declare const Dropzone: ({ accept, maxFiles, maxSize, minSize, onDrop, onError, disabled, src, className, children, debugForceDragActive, ...props }: DropzoneProps) => import("react/jsx-runtime").JSX.Element;
13
+ export declare const Dropzone: {
14
+ ({ accept, maxFiles, maxSize, minSize, onDrop, onError, disabled, src, className, children, debugForceDragActive, ...props }: DropzoneProps): import("react/jsx-runtime").JSX.Element;
15
+ displayName: string;
16
+ };
14
17
  export type DropzoneContentProps = {
15
18
  children?: ReactNode;
16
19
  className?: string;
17
20
  };
18
- export declare const DropzoneContent: ({ children, className, }: DropzoneContentProps) => import("react/jsx-runtime").JSX.Element | null;
21
+ export declare const DropzoneContent: {
22
+ ({ children, className, }: DropzoneContentProps): import("react/jsx-runtime").JSX.Element | null;
23
+ displayName: string;
24
+ };
19
25
  export type DropzoneEmptyStateProps = {
20
26
  children?: ReactNode;
21
27
  className?: string;
22
28
  };
23
- export declare const DropzoneEmptyState: ({ children, className, }: DropzoneEmptyStateProps) => import("react/jsx-runtime").JSX.Element | null;
29
+ export declare const DropzoneEmptyState: {
30
+ ({ children, className, }: DropzoneEmptyStateProps): import("react/jsx-runtime").JSX.Element | null;
31
+ displayName: string;
32
+ };
24
33
  export default Dropzone;
25
34
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/dropzone/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,SAAS,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AA2BhF,MAAM,MAAM,aAAa,GAAG,IAAI,CAAC,eAAe,EAAE,QAAQ,CAAC,GAAG;IAC5D,GAAG,CAAC,EAAE,IAAI,EAAE,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,MAAM,CAAC,EAAE,CACP,aAAa,EAAE,IAAI,EAAE,EACrB,cAAc,EAAE,aAAa,EAAE,EAC/B,KAAK,EAAE,SAAS,KACb,IAAI,CAAC;IACV,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,6HAatB,aAAa,4CAmDf,CAAC;AAUF,MAAM,MAAM,oBAAoB,GAAG;IACjC,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAWF,eAAO,MAAM,eAAe,GAAI,0BAG7B,oBAAoB,mDAgCtB,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG;IACpC,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAeF,eAAO,MAAM,kBAAkB,GAAI,0BAGhC,uBAAuB,mDAyFzB,CAAC;AAEF,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/dropzone/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,SAAS,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AA2BhF,MAAM,MAAM,aAAa,GAAG,IAAI,CAAC,eAAe,EAAE,QAAQ,CAAC,GAAG;IAC5D,GAAG,CAAC,EAAE,IAAI,EAAE,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,MAAM,CAAC,EAAE,CACP,aAAa,EAAE,IAAI,EAAE,EACrB,cAAc,EAAE,aAAa,EAAE,EAC/B,KAAK,EAAE,SAAS,KACb,IAAI,CAAC;IACV,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,QAAQ;kIAalB,aAAa;;CAmDf,CAAC;AAYF,MAAM,MAAM,oBAAoB,GAAG;IACjC,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAWF,eAAO,MAAM,eAAe;+BAGzB,oBAAoB;;CAgCtB,CAAC;AAIF,MAAM,MAAM,uBAAuB,GAAG;IACpC,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAeF,eAAO,MAAM,kBAAkB;+BAG5B,uBAAuB;;CAyFzB,CAAC;AAIF,eAAe,QAAQ,CAAC"}
@@ -1,2 +1,12 @@
1
- export { Kbd, KbdGroup } from '@/components/shadcn/kbd';
1
+ import * as React from 'react';
2
+ import { Kbd as BaseKbd, KbdGroup as BaseKbdGroup } from '@/components/shadcn/kbd';
3
+ declare function Kbd(props: React.ComponentProps<typeof BaseKbd>): import("react/jsx-runtime").JSX.Element;
4
+ declare namespace Kbd {
5
+ var displayName: string;
6
+ }
7
+ declare function KbdGroup(props: React.ComponentProps<typeof BaseKbdGroup>): import("react/jsx-runtime").JSX.Element;
8
+ declare namespace KbdGroup {
9
+ var displayName: string;
10
+ }
11
+ export { Kbd, KbdGroup };
2
12
  //# sourceMappingURL=kbd.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"kbd.d.ts","sourceRoot":"","sources":["../../../src/components/ui/kbd.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC"}
1
+ {"version":3,"file":"kbd.d.ts","sourceRoot":"","sources":["../../../src/components/ui/kbd.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EACL,GAAG,IAAI,OAAO,EACd,QAAQ,IAAI,YAAY,EACzB,MAAM,yBAAyB,CAAC;AAEjC,iBAAS,GAAG,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,OAAO,CAAC,2CAEvD;kBAFQ,GAAG;;;AAIZ,iBAAS,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,YAAY,CAAC,2CAEjE;kBAFQ,QAAQ;;;AAOjB,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC"}
@@ -1,2 +1,4 @@
1
- export { Label } from '@/components/shadcn/label';
1
+ import * as React from 'react';
2
+ declare const Label: React.ForwardRefExoticComponent<Omit<import("@radix-ui/react-label").LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & React.RefAttributes<HTMLLabelElement>>;
3
+ export { Label };
2
4
  //# sourceMappingURL=label.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"label.d.ts","sourceRoot":"","sources":["../../../src/components/ui/label.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC"}
1
+ {"version":3,"file":"label.d.ts","sourceRoot":"","sources":["../../../src/components/ui/label.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,QAAA,MAAM,KAAK,0KAG0C,CAAC;AAItD,OAAO,EAAE,KAAK,EAAE,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
3
- export { RadioGroup } from '@/components/shadcn/radio-group';
3
+ declare const RadioGroup: React.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
4
4
  declare const RadioGroupItem: React.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
5
- export { RadioGroupItem };
5
+ export { RadioGroup, RadioGroupItem };
6
6
  //# sourceMappingURL=radio-group.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"radio-group.d.ts","sourceRoot":"","sources":["../../../src/components/ui/radio-group.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,mBAAmB,MAAM,6BAA6B,CAAC;AAMnE,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAM7D,QAAA,MAAM,cAAc,yKAsBlB,CAAC;AAIH,OAAO,EAAE,cAAc,EAAE,CAAC"}
1
+ {"version":3,"file":"radio-group.d.ts","sourceRoot":"","sources":["../../../src/components/ui/radio-group.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,mBAAmB,MAAM,6BAA6B,CAAC;AAUnE,QAAA,MAAM,UAAU,+JAG0C,CAAC;AAK3D,QAAA,MAAM,cAAc,yKAsBlB,CAAC;AAIH,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,CAAC"}
@@ -6,6 +6,12 @@ type ScrollAreaProps = React.ComponentProps<typeof ScrollAreaPrimitive.Root> & {
6
6
  viewPortRef?: React.Ref<HTMLDivElement>;
7
7
  };
8
8
  declare function ScrollArea({ className, children, viewPortRef, ...props }: ScrollAreaProps): import("react/jsx-runtime").JSX.Element;
9
+ declare namespace ScrollArea {
10
+ var displayName: string;
11
+ }
9
12
  declare function ScrollBar({ className, orientation, ...props }: React.ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>): import("react/jsx-runtime").JSX.Element;
13
+ declare namespace ScrollBar {
14
+ var displayName: string;
15
+ }
10
16
  export { ScrollArea, ScrollBar };
11
17
  //# sourceMappingURL=scroll-area.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"scroll-area.d.ts","sourceRoot":"","sources":["../../../src/components/ui/scroll-area.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,mBAAmB,MAAM,6BAA6B,CAAC;AAInE,MAAM,MAAM,qBAAqB,GAAG,KAAK,CAAC,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;AAE3E,KAAK,eAAe,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,mBAAmB,CAAC,IAAI,CAAC,GAAG;IAC7E,sIAAsI;IACtI,WAAW,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;CACzC,CAAC;AAEF,iBAAS,UAAU,CAAC,EAClB,SAAS,EACT,QAAQ,EACR,WAAW,EACX,GAAG,KAAK,EACT,EAAE,eAAe,2CAkBjB;AAED,iBAAS,SAAS,CAAC,EACjB,SAAS,EACT,WAAwB,EACxB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,mBAAmB,CAAC,mBAAmB,CAAC,2CAqBtE;AAED,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,CAAC"}
1
+ {"version":3,"file":"scroll-area.d.ts","sourceRoot":"","sources":["../../../src/components/ui/scroll-area.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,mBAAmB,MAAM,6BAA6B,CAAC;AAInE,MAAM,MAAM,qBAAqB,GAAG,KAAK,CAAC,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;AAE3E,KAAK,eAAe,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,mBAAmB,CAAC,IAAI,CAAC,GAAG;IAC7E,sIAAsI;IACtI,WAAW,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;CACzC,CAAC;AAEF,iBAAS,UAAU,CAAC,EAClB,SAAS,EACT,QAAQ,EACR,WAAW,EACX,GAAG,KAAK,EACT,EAAE,eAAe,2CAkBjB;kBAvBQ,UAAU;;;AAyBnB,iBAAS,SAAS,CAAC,EACjB,SAAS,EACT,WAAwB,EACxB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,mBAAmB,CAAC,mBAAmB,CAAC,2CAqBtE;kBAzBQ,SAAS;;;AA8BlB,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,CAAC"}
@@ -5,4 +5,7 @@ export interface SimplePaginationProps {
5
5
  readonly className?: string;
6
6
  }
7
7
  export declare function SimplePagination({ currentPage, totalPages, onPageChange, className, }: SimplePaginationProps): import("react/jsx-runtime").JSX.Element;
8
+ export declare namespace SimplePagination {
9
+ var displayName: string;
10
+ }
8
11
  //# sourceMappingURL=simple-pagination.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"simple-pagination.d.ts","sourceRoot":"","sources":["../../../src/components/ui/simple-pagination.tsx"],"names":[],"mappings":"AAKA,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,YAAY,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9C,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,WAAW,EACX,UAAU,EACV,YAAY,EACZ,SAAS,GACV,EAAE,qBAAqB,2CAgDvB"}
1
+ {"version":3,"file":"simple-pagination.d.ts","sourceRoot":"","sources":["../../../src/components/ui/simple-pagination.tsx"],"names":[],"mappings":"AAKA,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,YAAY,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9C,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,WAAW,EACX,UAAU,EACV,YAAY,EACZ,SAAS,GACV,EAAE,qBAAqB,2CAgDvB;yBArDe,gBAAgB"}
@@ -1,2 +1,8 @@
1
- export { Skeleton } from '@/components/shadcn/skeleton';
1
+ import * as React from 'react';
2
+ import { Skeleton as BaseSkeleton } from '@/components/shadcn/skeleton';
3
+ declare function Skeleton(props: React.ComponentProps<typeof BaseSkeleton>): import("react/jsx-runtime").JSX.Element;
4
+ declare namespace Skeleton {
5
+ var displayName: string;
6
+ }
7
+ export { Skeleton };
2
8
  //# sourceMappingURL=skeleton.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"skeleton.d.ts","sourceRoot":"","sources":["../../../src/components/ui/skeleton.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC"}
1
+ {"version":3,"file":"skeleton.d.ts","sourceRoot":"","sources":["../../../src/components/ui/skeleton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,QAAQ,IAAI,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAExE,iBAAS,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,YAAY,CAAC,2CAEjE;kBAFQ,QAAQ;;;AAMjB,OAAO,EAAE,QAAQ,EAAE,CAAC"}
@@ -1,6 +1,9 @@
1
1
  import * as React from 'react';
2
2
  import * as SliderPrimitive from '@radix-ui/react-slider';
3
3
  declare function Slider({ className, defaultValue, value, min, max, ...props }: React.ComponentProps<typeof SliderPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
+ declare namespace Slider {
5
+ var displayName: string;
6
+ }
4
7
  /**
5
8
  * LabeledSlider variant – renders a header row with a label and current value with the slider control.
6
9
  * Restored after shadcn re-add to maintain prior API.
@@ -11,5 +14,8 @@ interface LabeledSliderProps extends React.ComponentProps<typeof SliderPrimitive
11
14
  sliderClassName?: string;
12
15
  }
13
16
  declare function LabeledSlider({ label, formatValue, className, sliderClassName, value, defaultValue, onValueChange, ...props }: LabeledSliderProps): import("react/jsx-runtime").JSX.Element;
17
+ declare namespace LabeledSlider {
18
+ var displayName: string;
19
+ }
14
20
  export { Slider, LabeledSlider };
15
21
  //# sourceMappingURL=slider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"slider.d.ts","sourceRoot":"","sources":["../../../src/components/ui/slider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAI1D,iBAAS,MAAM,CAAC,EACd,SAAS,EACT,YAAY,EACZ,KAAK,EACL,GAAO,EACP,GAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,2CA8CnD;AAED;;;GAGG;AACH,UAAU,kBAAmB,SAAQ,KAAK,CAAC,cAAc,CACvD,OAAO,eAAe,CAAC,IAAI,CAC5B;IACC,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,WAAW,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,KAAK,CAAC,SAAS,CAAC;IACpD,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,iBAAS,aAAa,CAAC,EACrB,KAAK,EACL,WAAW,EACX,SAAS,EACT,eAAe,EACf,KAAK,EACL,YAAY,EACZ,aAAa,EACb,GAAG,KAAK,EACT,EAAE,kBAAkB,2CAkEpB;AAED,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,CAAC"}
1
+ {"version":3,"file":"slider.d.ts","sourceRoot":"","sources":["../../../src/components/ui/slider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAI1D,iBAAS,MAAM,CAAC,EACd,SAAS,EACT,YAAY,EACZ,KAAK,EACL,GAAO,EACP,GAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,2CA8CnD;kBArDQ,MAAM;;;AAuDf;;;GAGG;AACH,UAAU,kBAAmB,SAAQ,KAAK,CAAC,cAAc,CACvD,OAAO,eAAe,CAAC,IAAI,CAC5B;IACC,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,WAAW,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,KAAK,CAAC,SAAS,CAAC;IACpD,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,iBAAS,aAAa,CAAC,EACrB,KAAK,EACL,WAAW,EACX,SAAS,EACT,eAAe,EACf,KAAK,EACL,YAAY,EACZ,aAAa,EACb,GAAG,KAAK,EACT,EAAE,kBAAkB,2CAkEpB;kBA3EQ,aAAa;;;AAgFtB,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,CAAC"}
@@ -1,5 +1,8 @@
1
1
  import * as React from 'react';
2
2
  export type SpinnerCarbideProps = React.ComponentProps<'svg'>;
3
3
  declare function SpinnerCarbide({ className, ...props }: SpinnerCarbideProps): import("react/jsx-runtime").JSX.Element;
4
+ declare namespace SpinnerCarbide {
5
+ var displayName: string;
6
+ }
4
7
  export { SpinnerCarbide };
5
8
  //# sourceMappingURL=spinner-carbide.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"spinner-carbide.d.ts","sourceRoot":"","sources":["../../../src/components/ui/spinner-carbide.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,MAAM,mBAAmB,GAAG,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;AAE9D,iBAAS,cAAc,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,mBAAmB,2CA+BnE;AAED,OAAO,EAAE,cAAc,EAAE,CAAC"}
1
+ {"version":3,"file":"spinner-carbide.d.ts","sourceRoot":"","sources":["../../../src/components/ui/spinner-carbide.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,MAAM,mBAAmB,GAAG,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;AAE9D,iBAAS,cAAc,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,mBAAmB,2CA+BnE;kBA/BQ,cAAc;;;AAmCvB,OAAO,EAAE,cAAc,EAAE,CAAC"}
@@ -1,2 +1,8 @@
1
- export { Spinner } from '@/components/shadcn/spinner';
1
+ import * as React from 'react';
2
+ import { Spinner as BaseSpinner } from '@/components/shadcn/spinner';
3
+ declare function Spinner(props: React.ComponentProps<typeof BaseSpinner>): import("react/jsx-runtime").JSX.Element;
4
+ declare namespace Spinner {
5
+ var displayName: string;
6
+ }
7
+ export { Spinner };
2
8
  //# sourceMappingURL=spinner.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"spinner.d.ts","sourceRoot":"","sources":["../../../src/components/ui/spinner.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC"}
1
+ {"version":3,"file":"spinner.d.ts","sourceRoot":"","sources":["../../../src/components/ui/spinner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAErE,iBAAS,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,WAAW,CAAC,2CAE/D;kBAFQ,OAAO;;;AAMhB,OAAO,EAAE,OAAO,EAAE,CAAC"}
@@ -1,2 +1,4 @@
1
- export { Textarea } from '@/components/shadcn/textarea';
1
+ import * as React from 'react';
2
+ declare const Textarea: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLTextAreaElement> & React.TextareaHTMLAttributes<HTMLTextAreaElement>, "ref"> & React.RefAttributes<HTMLTextAreaElement>>;
3
+ export { Textarea };
2
4
  //# sourceMappingURL=textarea.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"textarea.d.ts","sourceRoot":"","sources":["../../../src/components/ui/textarea.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC"}
1
+ {"version":3,"file":"textarea.d.ts","sourceRoot":"","sources":["../../../src/components/ui/textarea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,QAAA,MAAM,QAAQ,yLAG0C,CAAC;AAIzD,OAAO,EAAE,QAAQ,EAAE,CAAC"}
@@ -1,2 +1,8 @@
1
- export { Toggle, toggleVariants } from '@/components/shadcn/toggle';
1
+ import * as React from 'react';
2
+ import { toggleVariants } from '@/components/shadcn/toggle';
3
+ declare const Toggle: React.ForwardRefExoticComponent<Omit<import("@radix-ui/react-toggle").ToggleProps & React.RefAttributes<HTMLButtonElement> & import("class-variance-authority").VariantProps<(props?: ({
4
+ variant?: "default" | "outline" | null | undefined;
5
+ size?: "default" | "sm" | "lg" | null | undefined;
6
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
7
+ export { Toggle, toggleVariants };
2
8
  //# sourceMappingURL=toggle.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"toggle.d.ts","sourceRoot":"","sources":["../../../src/components/ui/toggle.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC"}
1
+ {"version":3,"file":"toggle.d.ts","sourceRoot":"","sources":["../../../src/components/ui/toggle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAEL,cAAc,EACf,MAAM,4BAA4B,CAAC;AAEpC,QAAA,MAAM,MAAM;;;iIAG0C,CAAC;AAIvD,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,CAAC"}
@@ -15,6 +15,7 @@ description: Generate UIs and widgets with Carbide and MachineMetrics React Comp
15
15
  ## Theme and styling
16
16
 
17
17
  - **CSS variables only.** Never hardcode colors, spacing, radii, or shadows. Use semantic tokens: `--background`, `--foreground`, `--primary`, `--muted`, `--muted-foreground`, `--destructive`, `--border`, `--ring`, etc.
18
+ - **When converting a component to Carbide:** Remove existing inline styles (`style={{ ... }}`) and component-level CSS (e.g. `.module.css`, `<style>`, or component-scoped styles). Carbide supplies appearance via theme tokens and component variants; legacy styles conflict with the theme and break consistency.
18
19
  - **Variants over one-off styles.** Use component variants and sizes (e.g. Button: `variant="default"|"destructive"|"outline"|"secondary"|"ghost"|"link"`, `size="sm"|"md"|"lg"|"icon"`). Do not apply brand colors or one-off Tailwind color classes to components.
19
20
  - **Layout.** Use Flexbox/Grid and `gap-*` for spacing; avoid manual margin chains. Prefer `className="flex flex-col gap-4"` (or similar) over stacking margins.
20
21
  - **App setup.** Consumers must import the library styles and wrap the app (or Carbide subtree) in an element with class `carbide` so the theme applies. See [reference.md](reference.md) for setup.
@@ -33,7 +34,7 @@ description: Generate UIs and widgets with Carbide and MachineMetrics React Comp
33
34
 
34
35
  **Avoid:** Hardcoded colors (e.g. `bg-blue-600`, `text-gray-500`); inline brand styling; non-semantic HTML; missing focus or labels on interactive elements.
35
36
 
36
- **Scrolling:** There is no Panel component. For panel-like or card-like regions where content can be longer than the box, use **ScrollArea** with a fixed or max height (e.g. `h-[300px]` or `max-h-[50vh]`) around the scrollable content. Card is for structure only and does not scroll—wrap CardContent (or the scrollable body) in ScrollArea when content may overflow.
37
+ **Scrolling:** There is no Panel component. For panel-like or card-like regions where content can be longer than the box, use **ScrollArea** around the scrollable content. **ScrollArea only scrolls when it has a constrained height**—otherwise the container grows with content and no scroll appears. Always give ScrollArea an explicit height: e.g. `className="h-[300px]"` or `max-h-[50vh]`. In a flex column (e.g. Card with `flex flex-col max-h-[80vh]`), use `ScrollArea className="flex-1 min-h-0"` so the flex item can shrink and scroll; without `min-h-0` the item won’t shrink and scrolling won’t work. Card is for structure only and does not scroll—wrap CardContent (or the scrollable body) in ScrollArea when content may overflow.
37
38
 
38
39
  ## Widget rules
39
40
 
@@ -47,6 +48,18 @@ description: Generate UIs and widgets with Carbide and MachineMetrics React Comp
47
48
  - Widgets must be fully responsive and respect content containment (no overflow).
48
49
  - Only use data explicitly provided; never hallucinate or use placeholder data. Adapt to available data without asking for more.
49
50
 
51
+ ## Converting to Carbide (from other libraries or custom UI)
52
+
53
+ When converting existing components to Carbide (including from Chakra UI, MUI, Ant Design, custom components, or inline-styled markup):
54
+
55
+ 1. **Remove legacy styling.** Strip inline styles (`style={{ ... }}`), component CSS files (e.g. `.module.css`), and any library-specific style props (e.g. Chakra `sx`/`colorScheme`, MUI `sx`). Rely on Carbide’s theme and variants instead.
56
+ 2. **Map to library components.** Replace each existing UI primitive with the closest Carbide export (Button, Input, Card, Dialog, DataTable, Form, etc.). Use [reference.md](reference.md) and agent-docs when the package is installed.
57
+ 3. **Use variants and tokens.** Express intent via props (`variant`, `size`) and layout via Tailwind with semantic tokens (`bg-background`, `text-muted-foreground`, `border-border`). Do not re-introduce hardcoded colors or one-off CSS.
58
+ 4. **Preserve structure and behavior.** Keep markup structure (headings, sections, forms, tables) and behavior (handlers, validation, state); change only the UI layer to Carbide components and Tailwind layout.
59
+ 5. **Verify app setup.** Ensure the app imports `@machinemetrics/mm-react-components/styles` and wraps the Carbide subtree in an element with class `carbide`.
60
+
61
+ **When the package is installed in this project:** Use agent-docs (e.g. **chakra-migration-\***) for library-specific migration steps in addition to the above.
62
+
50
63
  ## Setup, init, and migration
51
64
 
52
65
  **When the package is installed in this project:** Use the package’s **agent-docs** at `node_modules/@machinemetrics/mm-react-components/agent-docs/` for setup, initialization (`mm-init`), Chakra UI migration, and the full doc index. Start with **agent-documentation-reference.md**; use **ai-agent-init-guide.md** for setup and **ai-agent-guide.md** (and chakra-migration-\*) for migration.