rudiment-ui 0.1.0
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/LICENSE +21 -0
- package/README.md +150 -0
- package/dist/components/Alert/Alert.d.ts +12 -0
- package/dist/components/Alert/Alert.d.ts.map +1 -0
- package/dist/components/Avatar/Avatar.d.ts +10 -0
- package/dist/components/Avatar/Avatar.d.ts.map +1 -0
- package/dist/components/Badge/Badge.d.ts +9 -0
- package/dist/components/Badge/Badge.d.ts.map +1 -0
- package/dist/components/Button/Button.d.ts +13 -0
- package/dist/components/Button/Button.d.ts.map +1 -0
- package/dist/components/Card/Card.d.ts +28 -0
- package/dist/components/Card/Card.d.ts.map +1 -0
- package/dist/components/Charts/BarChart/BarChart.d.ts +14 -0
- package/dist/components/Charts/BarChart/BarChart.d.ts.map +1 -0
- package/dist/components/Charts/DonutChart/DonutChart.d.ts +15 -0
- package/dist/components/Charts/DonutChart/DonutChart.d.ts.map +1 -0
- package/dist/components/Charts/LineChart/LineChart.d.ts +14 -0
- package/dist/components/Charts/LineChart/LineChart.d.ts.map +1 -0
- package/dist/components/Checkbox/Checkbox.d.ts +12 -0
- package/dist/components/Checkbox/Checkbox.d.ts.map +1 -0
- package/dist/components/Checkbox/CheckboxGroup.d.ts +13 -0
- package/dist/components/Checkbox/CheckboxGroup.d.ts.map +1 -0
- package/dist/components/CircularProgress/CircularProgress.d.ts +13 -0
- package/dist/components/CircularProgress/CircularProgress.d.ts.map +1 -0
- package/dist/components/Dialog/Dialog.d.ts +11 -0
- package/dist/components/Dialog/Dialog.d.ts.map +1 -0
- package/dist/components/Icon/Icon.d.ts +9 -0
- package/dist/components/Icon/Icon.d.ts.map +1 -0
- package/dist/components/IconButton/IconButton.d.ts +12 -0
- package/dist/components/IconButton/IconButton.d.ts.map +1 -0
- package/dist/components/Input/Input.d.ts +16 -0
- package/dist/components/Input/Input.d.ts.map +1 -0
- package/dist/components/Kanban/KanbanBoard.d.ts +29 -0
- package/dist/components/Kanban/KanbanBoard.d.ts.map +1 -0
- package/dist/components/Kanban/KanbanCard.d.ts +7 -0
- package/dist/components/Kanban/KanbanCard.d.ts.map +1 -0
- package/dist/components/Kanban/KanbanColumn.d.ts +10 -0
- package/dist/components/Kanban/KanbanColumn.d.ts.map +1 -0
- package/dist/components/Menu/Keyboard.d.ts +5 -0
- package/dist/components/Menu/Keyboard.d.ts.map +1 -0
- package/dist/components/Menu/Menu.d.ts +6 -0
- package/dist/components/Menu/Menu.d.ts.map +1 -0
- package/dist/components/Menu/MenuItem.d.ts +6 -0
- package/dist/components/Menu/MenuItem.d.ts.map +1 -0
- package/dist/components/Menu/MenuSection.d.ts +7 -0
- package/dist/components/Menu/MenuSection.d.ts.map +1 -0
- package/dist/components/Menu/MenuTrigger.d.ts +5 -0
- package/dist/components/Menu/MenuTrigger.d.ts.map +1 -0
- package/dist/components/NavItem/NavItem.d.ts +13 -0
- package/dist/components/NavItem/NavItem.d.ts.map +1 -0
- package/dist/components/ProgressBar/ProgressBar.d.ts +12 -0
- package/dist/components/ProgressBar/ProgressBar.d.ts.map +1 -0
- package/dist/components/RadioGroup/RadioGroup.d.ts +16 -0
- package/dist/components/RadioGroup/RadioGroup.d.ts.map +1 -0
- package/dist/components/Select/Select.d.ts +17 -0
- package/dist/components/Select/Select.d.ts.map +1 -0
- package/dist/components/StatCard/StatCard.d.ts +10 -0
- package/dist/components/StatCard/StatCard.d.ts.map +1 -0
- package/dist/components/Switch/Switch.d.ts +10 -0
- package/dist/components/Switch/Switch.d.ts.map +1 -0
- package/dist/components/Tag/Tag.d.ts +11 -0
- package/dist/components/Tag/Tag.d.ts.map +1 -0
- package/dist/components/Tooltip/Tooltip.d.ts +14 -0
- package/dist/components/Tooltip/Tooltip.d.ts.map +1 -0
- package/dist/hooks/useChartTheme.d.ts +14 -0
- package/dist/hooks/useChartTheme.d.ts.map +1 -0
- package/dist/hooks/useLoadingButton.d.ts +297 -0
- package/dist/hooks/useLoadingButton.d.ts.map +1 -0
- package/dist/index.css +1 -0
- package/dist/index.d.ts +89 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +1655 -0
- package/dist/layouts/Box/Box.d.ts +9 -0
- package/dist/layouts/Box/Box.d.ts.map +1 -0
- package/dist/layouts/Center/Center.d.ts +9 -0
- package/dist/layouts/Center/Center.d.ts.map +1 -0
- package/dist/layouts/Cluster/Cluster.d.ts +9 -0
- package/dist/layouts/Cluster/Cluster.d.ts.map +1 -0
- package/dist/layouts/Cover/Cover.d.ts +8 -0
- package/dist/layouts/Cover/Cover.d.ts.map +1 -0
- package/dist/layouts/Grid/Grid.d.ts +8 -0
- package/dist/layouts/Grid/Grid.d.ts.map +1 -0
- package/dist/layouts/Sidebar/Sidebar.d.ts +11 -0
- package/dist/layouts/Sidebar/Sidebar.d.ts.map +1 -0
- package/dist/layouts/Stack/Stack.d.ts +13 -0
- package/dist/layouts/Stack/Stack.d.ts.map +1 -0
- package/dist/layouts/Switcher/Switcher.d.ts +9 -0
- package/dist/layouts/Switcher/Switcher.d.ts.map +1 -0
- package/dist/typography/Heading/Heading.d.ts +8 -0
- package/dist/typography/Heading/Heading.d.ts.map +1 -0
- package/dist/typography/Prose/Prose.d.ts +8 -0
- package/dist/typography/Prose/Prose.d.ts.map +1 -0
- package/dist/typography/Text/Text.d.ts +8 -0
- package/dist/typography/Text/Text.d.ts.map +1 -0
- package/dist/utils/cn.d.ts +3 -0
- package/dist/utils/cn.d.ts.map +1 -0
- package/package.json +102 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Joshua Briley
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
# Rudiment UI
|
|
2
|
+
|
|
3
|
+
A complete, accessible React component library template built on [React Aria](https://react-spectrum.adobe.com/react-aria/), styled with [Tailwind CSS 4](https://tailwindcss.com/), and documented in [Storybook](https://storybook.js.org/).
|
|
4
|
+
|
|
5
|
+
Clone it. Swap the tokens. Ship your design system.
|
|
6
|
+
|
|
7
|
+
## What's included
|
|
8
|
+
|
|
9
|
+
| Category | Components |
|
|
10
|
+
|----------|-----------|
|
|
11
|
+
| **UI Components** | Button, Input, Checkbox, CheckboxGroup, Select, Dialog, Switch, RadioGroup, Tooltip, Alert, IconButton, Badge, Tag, Avatar, Card, Icon, NavItem, ProgressBar, StatCard, CircularProgress |
|
|
12
|
+
| **Charts** | BarChart, LineChart, DonutChart |
|
|
13
|
+
| **Kanban** | KanbanBoard, KanbanColumn, KanbanCard |
|
|
14
|
+
| **Typography** | Heading, Text, Prose |
|
|
15
|
+
| **Layout Primitives** | Box, Stack, Cluster, Grid, Sidebar, Center, Cover, Switcher |
|
|
16
|
+
| **Page Examples** | App Shell, App Header, App Footer, Settings Page, Sign-In Form, Marketing Hero, Sidebar Layout, Article Page, Simple Form, Empty State |
|
|
17
|
+
|
|
18
|
+
Also included: a three-tier design token architecture, six built-in themes (Default, Teal, and Cyberpunk in light and dark variants), motion tokens, a data visualization palette, surface tokens, a Vitest test suite with accessibility checks, and interactive Storybook documentation.
|
|
19
|
+
|
|
20
|
+
## Quick start
|
|
21
|
+
|
|
22
|
+
### As a template (recommended for your own design system)
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
# Clone the template
|
|
26
|
+
git clone https://github.com/Rudiment-UI/rudiment-ui.git my-design-system
|
|
27
|
+
cd my-design-system
|
|
28
|
+
|
|
29
|
+
# Install dependencies
|
|
30
|
+
npm install
|
|
31
|
+
|
|
32
|
+
# Start Storybook (development)
|
|
33
|
+
npm run dev
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
Open [http://localhost:6006](http://localhost:6006) to browse components and documentation.
|
|
37
|
+
|
|
38
|
+
### As a dependency
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
npm install rudiment-ui
|
|
42
|
+
# or straight from source
|
|
43
|
+
npm install github:Rudiment-UI/rudiment-ui
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
`react` and `react-dom` 19 are peer dependencies — install them alongside.
|
|
47
|
+
|
|
48
|
+
Import the stylesheet once at your app's entry point:
|
|
49
|
+
|
|
50
|
+
```tsx
|
|
51
|
+
import 'rudiment-ui/styles'
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
This ships the component styles plus all six themes. It does **not** include Tailwind — components are styled with plain CSS custom properties, so nothing resets your app's own styles.
|
|
55
|
+
|
|
56
|
+
Every export is marked `"use client"`, so the package can be imported directly into a Next.js App Router Server Component without a re-export barrel.
|
|
57
|
+
|
|
58
|
+
## Customizing for your brand
|
|
59
|
+
|
|
60
|
+
1. Edit primitive values in `tokens/tokens.json` (colors, spacing, typography)
|
|
61
|
+
2. Update semantic mappings in `tokens/semantic.json` (brand colors, theme values)
|
|
62
|
+
3. Adjust component-level tokens in `tokens/components.json` (per-component overrides)
|
|
63
|
+
4. Rebuild tokens: `npm run build:tokens`
|
|
64
|
+
5. Preview changes in Storybook: `npm run dev`
|
|
65
|
+
|
|
66
|
+
## Switching themes
|
|
67
|
+
|
|
68
|
+
Set `data-theme` on a root element. The default theme lives on `:root`, so **omit the attribute** for it — there is no `data-theme="light"`.
|
|
69
|
+
|
|
70
|
+
```html
|
|
71
|
+
<html data-theme="dark"> <!-- dark, teal, teal-dark, cyberpunk, cyberpunk-dark -->
|
|
72
|
+
<html> <!-- default -->
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
Themes are plain custom-property blocks, so consuming the package as a dependency and overriding a few tokens downstream also works:
|
|
76
|
+
|
|
77
|
+
```css
|
|
78
|
+
:root {
|
|
79
|
+
--token-component-button-primary-bg: #7c3aed;
|
|
80
|
+
}
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
## Using components
|
|
84
|
+
|
|
85
|
+
```tsx
|
|
86
|
+
import { Button, Input, Stack } from 'rudiment-ui'
|
|
87
|
+
import 'rudiment-ui/styles'
|
|
88
|
+
|
|
89
|
+
function LoginForm() {
|
|
90
|
+
return (
|
|
91
|
+
<Stack space="1.5rem">
|
|
92
|
+
<Input label="Email" type="email" />
|
|
93
|
+
<Input label="Password" type="password" />
|
|
94
|
+
<Button variant="primary">Sign in</Button>
|
|
95
|
+
</Stack>
|
|
96
|
+
)
|
|
97
|
+
}
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
## Available scripts
|
|
101
|
+
|
|
102
|
+
| Command | Description |
|
|
103
|
+
|---------|------------|
|
|
104
|
+
| `npm run dev` | Start Storybook dev server on port 6006 |
|
|
105
|
+
| `npm run build` | Build the component library for distribution |
|
|
106
|
+
| `npm run build-storybook` | Build a static Storybook site |
|
|
107
|
+
| `npm run build:tokens` | Generate CSS from design token JSON files |
|
|
108
|
+
| `npm run test` | Run the test suite |
|
|
109
|
+
| `npm run test:coverage` | Run tests with coverage report |
|
|
110
|
+
| `npm run test:watch` | Run tests in watch mode |
|
|
111
|
+
|
|
112
|
+
## Project structure
|
|
113
|
+
|
|
114
|
+
```
|
|
115
|
+
src/
|
|
116
|
+
├── components/ # Interactive UI components (Button, Input, Dialog, Charts, Kanban, etc.)
|
|
117
|
+
├── typography/ # Text components (Heading, Text, Prose)
|
|
118
|
+
├── layouts/ # Layout primitives (Stack, Grid, Sidebar, etc.)
|
|
119
|
+
├── hooks/ # Custom React hooks (useLoadingButton, useChartTheme)
|
|
120
|
+
├── utils/ # Utility functions (cn)
|
|
121
|
+
├── docs/ # Storybook MDX documentation pages
|
|
122
|
+
└── stories/ # Example page compositions
|
|
123
|
+
|
|
124
|
+
tokens/
|
|
125
|
+
├── tokens.json # Tier 1: Primitive design tokens (raw values)
|
|
126
|
+
├── semantic.json # Tier 2: Semantic tokens (purpose-driven aliases)
|
|
127
|
+
├── components.json # Tier 3: Component tokens (per-component overrides)
|
|
128
|
+
├── style-dictionary.config.mjs # Token build configuration
|
|
129
|
+
└── build/tokens.css # Generated CSS custom properties
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
## Architecture
|
|
133
|
+
|
|
134
|
+
- **React Aria** handles accessibility (ARIA attributes, keyboard navigation, focus management)
|
|
135
|
+
- **Tailwind CSS 4** provides utility-first styling
|
|
136
|
+
- **Style Dictionary 4** transforms design tokens into CSS custom properties
|
|
137
|
+
- **Storybook 10** provides the documentation and development environment
|
|
138
|
+
- **Vitest** with vitest-axe runs automated accessibility checks on every component
|
|
139
|
+
|
|
140
|
+
## Contributing
|
|
141
|
+
|
|
142
|
+
See [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines on adding new components, updating tokens, and the pull request process.
|
|
143
|
+
|
|
144
|
+
## Changelog
|
|
145
|
+
|
|
146
|
+
See [CHANGELOG.md](CHANGELOG.md) for release history.
|
|
147
|
+
|
|
148
|
+
## License
|
|
149
|
+
|
|
150
|
+
ISC
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface AlertProps {
|
|
2
|
+
variant: 'info' | 'success' | 'warning' | 'error';
|
|
3
|
+
title?: string;
|
|
4
|
+
icon?: string;
|
|
5
|
+
isPolite?: boolean;
|
|
6
|
+
dismissible?: boolean;
|
|
7
|
+
onDismiss?: () => void;
|
|
8
|
+
children: React.ReactNode;
|
|
9
|
+
className?: string;
|
|
10
|
+
}
|
|
11
|
+
export declare function Alert({ variant, title, icon, isPolite, dismissible, onDismiss, children, className, }: AlertProps): import("react/jsx-runtime").JSX.Element | null;
|
|
12
|
+
//# sourceMappingURL=Alert.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Alert.d.ts","sourceRoot":"","sources":["../../../src/components/Alert/Alert.tsx"],"names":[],"mappings":"AAGA,OAAO,aAAa,CAAA;AAEpB,MAAM,WAAW,UAAU;IACzB,OAAO,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAA;IACjD,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;IACtB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,wBAAgB,KAAK,CAAC,EACpB,OAAO,EACP,KAAK,EACL,IAAI,EACJ,QAAgB,EAChB,WAAmB,EACnB,SAAS,EACT,QAAQ,EACR,SAAS,GACV,EAAE,UAAU,kDAsCZ"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface AvatarProps {
|
|
2
|
+
src?: string;
|
|
3
|
+
alt?: string;
|
|
4
|
+
name?: string;
|
|
5
|
+
size?: 'sm' | 'md' | 'lg';
|
|
6
|
+
status?: 'success' | 'warning' | 'error' | 'info';
|
|
7
|
+
className?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare function Avatar({ src, alt, name, size, status, className, }: AvatarProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
//# sourceMappingURL=Avatar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../src/components/Avatar/Avatar.tsx"],"names":[],"mappings":"AAGA,OAAO,cAAc,CAAA;AAErB,MAAM,WAAW,WAAW;IAC1B,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;IACzB,MAAM,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,CAAA;IACjD,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAUD,wBAAgB,MAAM,CAAC,EACrB,GAAG,EACH,GAAG,EACH,IAAI,EACJ,IAAW,EACX,MAAM,EACN,SAAS,GACV,EAAE,WAAW,2CAqCb"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export interface BadgeProps {
|
|
2
|
+
variant?: 'default' | 'success' | 'warning' | 'error' | 'info';
|
|
3
|
+
size?: 'sm' | 'md';
|
|
4
|
+
dot?: boolean;
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
className?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare function Badge({ variant, size, dot, children, className, }: BadgeProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
//# sourceMappingURL=Badge.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../src/components/Badge/Badge.tsx"],"names":[],"mappings":"AACA,OAAO,aAAa,CAAA;AAEpB,MAAM,WAAW,UAAU;IACzB,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,CAAA;IAC9D,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;IAClB,GAAG,CAAC,EAAE,OAAO,CAAA;IACb,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,wBAAgB,KAAK,CAAC,EACpB,OAAmB,EACnB,IAAW,EACX,GAAW,EACX,QAAQ,EACR,SAAS,GACV,EAAE,UAAU,2CAcZ"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { AriaButtonProps } from 'react-aria';
|
|
3
|
+
export interface ButtonProps extends AriaButtonProps {
|
|
4
|
+
variant?: 'primary' | 'secondary' | 'destructive' | 'ghost';
|
|
5
|
+
size?: 'sm' | 'md' | 'lg';
|
|
6
|
+
isLoading?: boolean;
|
|
7
|
+
iconBefore?: string;
|
|
8
|
+
iconAfter?: string;
|
|
9
|
+
className?: string;
|
|
10
|
+
children: React.ReactNode;
|
|
11
|
+
}
|
|
12
|
+
export declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
13
|
+
//# sourceMappingURL=Button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/components/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;AAIjD,OAAO,cAAc,CAAA;AAErB,MAAM,WAAW,WAAY,SAAQ,eAAe;IAClD,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,aAAa,GAAG,OAAO,CAAA;IAC3D,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;IACzB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAC1B;AAED,eAAO,MAAM,MAAM,uFA4ClB,CAAA"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export interface CardProps {
|
|
2
|
+
variant?: 'default' | 'outlined' | 'elevated';
|
|
3
|
+
padding?: 'none' | 'sm' | 'md' | 'lg';
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
className?: string;
|
|
6
|
+
}
|
|
7
|
+
export interface CardHeaderProps {
|
|
8
|
+
children: React.ReactNode;
|
|
9
|
+
className?: string;
|
|
10
|
+
}
|
|
11
|
+
export interface CardBodyProps {
|
|
12
|
+
children: React.ReactNode;
|
|
13
|
+
className?: string;
|
|
14
|
+
}
|
|
15
|
+
export interface CardFooterProps {
|
|
16
|
+
children: React.ReactNode;
|
|
17
|
+
className?: string;
|
|
18
|
+
}
|
|
19
|
+
declare function CardHeader({ children, className }: CardHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
declare function CardBody({ children, className }: CardBodyProps): import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
declare function CardFooter({ children, className }: CardFooterProps): import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
export declare const Card: import('react').ForwardRefExoticComponent<CardProps & import('react').RefAttributes<HTMLDivElement>> & {
|
|
23
|
+
Header: typeof CardHeader;
|
|
24
|
+
Body: typeof CardBody;
|
|
25
|
+
Footer: typeof CardFooter;
|
|
26
|
+
};
|
|
27
|
+
export {};
|
|
28
|
+
//# sourceMappingURL=Card.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../src/components/Card/Card.tsx"],"names":[],"mappings":"AAEA,OAAO,YAAY,CAAA;AAEnB,MAAM,WAAW,SAAS;IACxB,OAAO,CAAC,EAAE,SAAS,GAAG,UAAU,GAAG,UAAU,CAAA;IAC7C,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;IACrC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,MAAM,WAAW,eAAe;IAC9B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,MAAM,WAAW,eAAe;IAC9B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAuBD,iBAAS,UAAU,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,eAAe,2CAI3D;AAED,iBAAS,QAAQ,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,aAAa,2CAIvD;AAED,iBAAS,UAAU,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,eAAe,2CAI3D;AAED,eAAO,MAAM,IAAI;;;;CAIf,CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface BarChartProps {
|
|
2
|
+
data: Array<Record<string, string | number>>;
|
|
3
|
+
dataKeys: string[];
|
|
4
|
+
indexKey: string;
|
|
5
|
+
layout?: 'vertical' | 'horizontal';
|
|
6
|
+
stacked?: boolean;
|
|
7
|
+
showLegend?: boolean;
|
|
8
|
+
showGrid?: boolean;
|
|
9
|
+
height?: number;
|
|
10
|
+
label: string;
|
|
11
|
+
className?: string;
|
|
12
|
+
}
|
|
13
|
+
export declare function BarChart({ data, dataKeys, indexKey, layout, stacked, showLegend, showGrid, height, label, className, }: BarChartProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
//# sourceMappingURL=BarChart.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BarChart.d.ts","sourceRoot":"","sources":["../../../../src/components/Charts/BarChart/BarChart.tsx"],"names":[],"mappings":"AAYA,OAAO,eAAe,CAAA;AAEtB,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC,CAAA;IAC5C,QAAQ,EAAE,MAAM,EAAE,CAAA;IAClB,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,CAAC,EAAE,UAAU,GAAG,YAAY,CAAA;IAClC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,wBAAgB,QAAQ,CAAC,EACvB,IAAI,EACJ,QAAQ,EACR,QAAQ,EACR,MAAmB,EACnB,OAAe,EACf,UAAiB,EACjB,QAAe,EACf,MAAY,EACZ,KAAK,EACL,SAAS,GACV,EAAE,aAAa,2CAiEf"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface DonutChartDatum {
|
|
2
|
+
name: string;
|
|
3
|
+
value: number;
|
|
4
|
+
}
|
|
5
|
+
export interface DonutChartProps {
|
|
6
|
+
data: DonutChartDatum[];
|
|
7
|
+
innerRadius?: number;
|
|
8
|
+
showLabels?: boolean;
|
|
9
|
+
showLegend?: boolean;
|
|
10
|
+
height?: number;
|
|
11
|
+
label: string;
|
|
12
|
+
className?: string;
|
|
13
|
+
}
|
|
14
|
+
export declare function DonutChart({ data, innerRadius, showLabels, showLegend, height, label, className, }: DonutChartProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
//# sourceMappingURL=DonutChart.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DonutChart.d.ts","sourceRoot":"","sources":["../../../../src/components/Charts/DonutChart/DonutChart.tsx"],"names":[],"mappings":"AAUA,OAAO,eAAe,CAAA;AAEtB,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,eAAe,EAAE,CAAA;IACvB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,wBAAgB,UAAU,CAAC,EACzB,IAAI,EACJ,WAAgB,EAChB,UAAkB,EAClB,UAAiB,EACjB,MAAY,EACZ,KAAK,EACL,SAAS,GACV,EAAE,eAAe,2CA8CjB"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface LineChartProps {
|
|
2
|
+
data: Array<Record<string, string | number>>;
|
|
3
|
+
dataKeys: string[];
|
|
4
|
+
indexKey: string;
|
|
5
|
+
curved?: boolean;
|
|
6
|
+
showDots?: boolean;
|
|
7
|
+
showGrid?: boolean;
|
|
8
|
+
showLegend?: boolean;
|
|
9
|
+
height?: number;
|
|
10
|
+
label: string;
|
|
11
|
+
className?: string;
|
|
12
|
+
}
|
|
13
|
+
export declare function LineChart({ data, dataKeys, indexKey, curved, showDots, showGrid, showLegend, height, label, className, }: LineChartProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
//# sourceMappingURL=LineChart.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LineChart.d.ts","sourceRoot":"","sources":["../../../../src/components/Charts/LineChart/LineChart.tsx"],"names":[],"mappings":"AAYA,OAAO,eAAe,CAAA;AAEtB,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC,CAAA;IAC5C,QAAQ,EAAE,MAAM,EAAE,CAAA;IAClB,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,wBAAgB,SAAS,CAAC,EACxB,IAAI,EACJ,QAAQ,EACR,QAAQ,EACR,MAAa,EACb,QAAe,EACf,QAAe,EACf,UAAiB,EACjB,MAAY,EACZ,KAAK,EACL,SAAS,GACV,EAAE,cAAc,2CA+ChB"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface CheckboxProps {
|
|
2
|
+
children: React.ReactNode;
|
|
3
|
+
isSelected?: boolean;
|
|
4
|
+
defaultSelected?: boolean;
|
|
5
|
+
isIndeterminate?: boolean;
|
|
6
|
+
onChange?: (isSelected: boolean) => void;
|
|
7
|
+
isDisabled?: boolean;
|
|
8
|
+
value?: string;
|
|
9
|
+
className?: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const Checkbox: import('react').ForwardRefExoticComponent<CheckboxProps & import('react').RefAttributes<HTMLInputElement>>;
|
|
12
|
+
//# sourceMappingURL=Checkbox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox/Checkbox.tsx"],"names":[],"mappings":"AAKA,OAAO,gBAAgB,CAAA;AAEvB,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,QAAQ,CAAC,EAAE,CAAC,UAAU,EAAE,OAAO,KAAK,IAAI,CAAA;IACxC,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,eAAO,MAAM,QAAQ,4GA4BpB,CAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface CheckboxGroupProps {
|
|
2
|
+
label: string;
|
|
3
|
+
description?: string;
|
|
4
|
+
value?: string[];
|
|
5
|
+
defaultValue?: string[];
|
|
6
|
+
onChange?: (value: string[]) => void;
|
|
7
|
+
isDisabled?: boolean;
|
|
8
|
+
errorMessage?: string;
|
|
9
|
+
children: React.ReactNode;
|
|
10
|
+
className?: string;
|
|
11
|
+
}
|
|
12
|
+
export declare function CheckboxGroup(props: CheckboxGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
//# sourceMappingURL=CheckboxGroup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CheckboxGroup.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox/CheckboxGroup.tsx"],"names":[],"mappings":"AAGA,OAAO,gBAAgB,CAAA;AAEvB,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,KAAK,CAAC,EAAE,MAAM,EAAE,CAAA;IAChB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAA;IACvB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,IAAI,CAAA;IACpC,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,2CA6BtD"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface CircularProgressProps {
|
|
2
|
+
value: number;
|
|
3
|
+
minValue?: number;
|
|
4
|
+
maxValue?: number;
|
|
5
|
+
label: string;
|
|
6
|
+
showValueLabel?: boolean;
|
|
7
|
+
variant?: 'default' | 'success' | 'warning' | 'error';
|
|
8
|
+
size?: 'sm' | 'md' | 'lg';
|
|
9
|
+
children?: React.ReactNode;
|
|
10
|
+
className?: string;
|
|
11
|
+
}
|
|
12
|
+
export declare function CircularProgress({ value, minValue, maxValue, label, showValueLabel, variant, size, children, className, }: CircularProgressProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
//# sourceMappingURL=CircularProgress.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CircularProgress.d.ts","sourceRoot":"","sources":["../../../src/components/CircularProgress/CircularProgress.tsx"],"names":[],"mappings":"AAEA,OAAO,yBAAyB,CAAA;AAEhC,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAA;IACrD,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;IACzB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAKD,wBAAgB,gBAAgB,CAAC,EAC/B,KAAK,EACL,QAAY,EACZ,QAAc,EACd,KAAK,EACL,cAAsB,EACtB,OAAmB,EACnB,IAAW,EACX,QAAQ,EACR,SAAS,GACV,EAAE,qBAAqB,2CA4DvB"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface DialogProps {
|
|
2
|
+
isOpen: boolean;
|
|
3
|
+
onClose: () => void;
|
|
4
|
+
title: string;
|
|
5
|
+
isDismissable?: boolean;
|
|
6
|
+
size?: 'sm' | 'md' | 'lg';
|
|
7
|
+
children: React.ReactNode;
|
|
8
|
+
className?: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const Dialog: import('react').ForwardRefExoticComponent<DialogProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
11
|
+
//# sourceMappingURL=Dialog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../../src/components/Dialog/Dialog.tsx"],"names":[],"mappings":"AAWA,OAAO,cAAc,CAAA;AAErB,MAAM,WAAW,WAAW;IAC1B,MAAM,EAAE,OAAO,CAAA;IACf,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,KAAK,EAAE,MAAM,CAAA;IACb,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;IACzB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,eAAO,MAAM,MAAM,wGAkEjB,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export interface IconProps {
|
|
2
|
+
icon: string;
|
|
3
|
+
size?: 'sm' | 'md' | 'lg' | number;
|
|
4
|
+
color?: string;
|
|
5
|
+
label?: string;
|
|
6
|
+
className?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const Icon: import('react').ForwardRefExoticComponent<IconProps & import('react').RefAttributes<HTMLSpanElement>>;
|
|
9
|
+
//# sourceMappingURL=Icon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../src/components/Icon/Icon.tsx"],"names":[],"mappings":"AAGA,OAAO,YAAY,CAAA;AAEnB,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,CAAA;IAClC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,eAAO,MAAM,IAAI,uGAuBhB,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { AriaButtonProps } from 'react-aria';
|
|
3
|
+
export interface IconButtonProps extends AriaButtonProps {
|
|
4
|
+
'aria-label': string;
|
|
5
|
+
variant?: 'primary' | 'secondary' | 'destructive' | 'ghost';
|
|
6
|
+
size?: 'sm' | 'md' | 'lg';
|
|
7
|
+
isLoading?: boolean;
|
|
8
|
+
className?: string;
|
|
9
|
+
children: React.ReactElement;
|
|
10
|
+
}
|
|
11
|
+
export declare const IconButton: React.ForwardRefExoticComponent<IconButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
12
|
+
//# sourceMappingURL=IconButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../src/components/IconButton/IconButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;AAGjD,OAAO,mBAAmB,CAAA;AAE1B,MAAM,WAAW,eAAgB,SAAQ,eAAe;IACtD,YAAY,EAAE,MAAM,CAAA;IACpB,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,aAAa,GAAG,OAAO,CAAA;IAC3D,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;IACzB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAA;CAC7B;AAED,eAAO,MAAM,UAAU,2FA8BtB,CAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface InputProps {
|
|
3
|
+
label: string;
|
|
4
|
+
type?: 'text' | 'email' | 'password' | 'url' | 'tel' | 'search' | 'number';
|
|
5
|
+
placeholder?: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
errorMessage?: string;
|
|
8
|
+
isRequired?: boolean;
|
|
9
|
+
isDisabled?: boolean;
|
|
10
|
+
value?: string;
|
|
11
|
+
defaultValue?: string;
|
|
12
|
+
onChange?: (value: string) => void;
|
|
13
|
+
className?: string;
|
|
14
|
+
}
|
|
15
|
+
export declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
|
|
16
|
+
//# sourceMappingURL=Input.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../src/components/Input/Input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,OAAO,aAAa,CAAA;AAEpB,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,UAAU,GAAG,KAAK,GAAG,KAAK,GAAG,QAAQ,GAAG,QAAQ,CAAA;IAC1E,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IAClC,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,eAAO,MAAM,KAAK,qFAyEjB,CAAA"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { KanbanColumn } from './KanbanColumn';
|
|
2
|
+
export interface KanbanItem {
|
|
3
|
+
id: string;
|
|
4
|
+
[key: string]: unknown;
|
|
5
|
+
}
|
|
6
|
+
export interface KanbanColumnData {
|
|
7
|
+
id: string;
|
|
8
|
+
title: string;
|
|
9
|
+
items: KanbanItem[];
|
|
10
|
+
}
|
|
11
|
+
export interface KanbanCardMoveEvent {
|
|
12
|
+
cardId: string;
|
|
13
|
+
fromColumnId: string;
|
|
14
|
+
toColumnId: string;
|
|
15
|
+
fromIndex: number;
|
|
16
|
+
toIndex: number;
|
|
17
|
+
}
|
|
18
|
+
export interface KanbanBoardProps {
|
|
19
|
+
columns: KanbanColumnData[];
|
|
20
|
+
onCardMove: (event: KanbanCardMoveEvent) => void;
|
|
21
|
+
renderCard: (item: KanbanItem) => React.ReactNode;
|
|
22
|
+
className?: string;
|
|
23
|
+
}
|
|
24
|
+
declare function KanbanBoardRoot({ columns, onCardMove, renderCard, className, }: KanbanBoardProps): import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
export declare const KanbanBoard: typeof KanbanBoardRoot & {
|
|
26
|
+
Column: typeof KanbanColumn;
|
|
27
|
+
};
|
|
28
|
+
export {};
|
|
29
|
+
//# sourceMappingURL=KanbanBoard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KanbanBoard.d.ts","sourceRoot":"","sources":["../../../src/components/Kanban/KanbanBoard.tsx"],"names":[],"mappings":"AAeA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,cAAc,CAAA;AAErB,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAA;IACV,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CACvB;AAED,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,UAAU,EAAE,CAAA;CACpB;AAED,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,MAAM,CAAA;IACd,YAAY,EAAE,MAAM,CAAA;IACpB,UAAU,EAAE,MAAM,CAAA;IAClB,SAAS,EAAE,MAAM,CAAA;IACjB,OAAO,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,gBAAgB,EAAE,CAAA;IAC3B,UAAU,EAAE,CAAC,KAAK,EAAE,mBAAmB,KAAK,IAAI,CAAA;IAChD,UAAU,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,KAAK,CAAC,SAAS,CAAA;IACjD,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AASD,iBAAS,eAAe,CAAC,EACvB,OAAO,EACP,UAAU,EACV,UAAU,EACV,SAAS,GACV,EAAE,gBAAgB,2CAyIlB;AAED,eAAO,MAAM,WAAW;;CAEtB,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export interface KanbanCardProps {
|
|
2
|
+
id: string;
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
className?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare function KanbanCard({ id, children, className }: KanbanCardProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
//# sourceMappingURL=KanbanCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KanbanCard.d.ts","sourceRoot":"","sources":["../../../src/components/Kanban/KanbanCard.tsx"],"names":[],"mappings":"AAIA,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAA;IACV,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,wBAAgB,UAAU,CAAC,EAAE,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,eAAe,2CAqDtE"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { KanbanItem } from './KanbanBoard';
|
|
2
|
+
export interface KanbanColumnProps {
|
|
3
|
+
id: string;
|
|
4
|
+
title: string;
|
|
5
|
+
items: KanbanItem[];
|
|
6
|
+
renderCard: (item: KanbanItem) => React.ReactNode;
|
|
7
|
+
className?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare function KanbanColumn({ id, title, items, renderCard, className, }: KanbanColumnProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
//# sourceMappingURL=KanbanColumn.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KanbanColumn.d.ts","sourceRoot":"","sources":["../../../src/components/Kanban/KanbanColumn.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAE/C,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,UAAU,EAAE,CAAA;IACnB,UAAU,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,KAAK,CAAC,SAAS,CAAA;IACjD,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,wBAAgB,YAAY,CAAC,EAC3B,EAAE,EACF,KAAK,EACL,KAAK,EACL,UAAU,EACV,SAAS,GACV,EAAE,iBAAiB,2CA2BnB"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import { Keyboard as AriaKeyboard } from 'react-aria-components';
|
|
3
|
+
export type KeyboardProps = ComponentProps<typeof AriaKeyboard>;
|
|
4
|
+
export declare function Keyboard({ className, ...props }: KeyboardProps): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
//# sourceMappingURL=Keyboard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Keyboard.d.ts","sourceRoot":"","sources":["../../../src/components/Menu/Keyboard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAC3C,OAAO,EAAE,QAAQ,IAAI,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAGhE,MAAM,MAAM,aAAa,GAAG,cAAc,CAAC,OAAO,YAAY,CAAC,CAAA;AAE/D,wBAAgB,QAAQ,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,aAAa,2CAO9D"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { MenuProps as AriaMenuProps } from 'react-aria-components';
|
|
2
|
+
export interface MenuProps<T extends object> extends AriaMenuProps<T> {
|
|
3
|
+
className?: string;
|
|
4
|
+
}
|
|
5
|
+
export declare function Menu<T extends object>({ className, ...props }: MenuProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
//# sourceMappingURL=Menu.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Menu.d.ts","sourceRoot":"","sources":["../../../src/components/Menu/Menu.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,SAAS,IAAI,aAAa,EAEhC,MAAM,uBAAuB,CAAA;AAE9B,OAAO,YAAY,CAAA;AAEnB,MAAM,WAAW,SAAS,CAAC,CAAC,SAAS,MAAM,CAAE,SAAQ,aAAa,CAAC,CAAC,CAAC;IACnE,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,wBAAgB,IAAI,CAAC,CAAC,SAAS,MAAM,EAAE,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,SAAS,CAAC,CAAC,CAAC,2CAS3E"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { MenuItemProps as AriaMenuItemProps } from 'react-aria-components';
|
|
2
|
+
export interface MenuItemProps extends AriaMenuItemProps {
|
|
3
|
+
isDestructive?: boolean;
|
|
4
|
+
}
|
|
5
|
+
export declare function MenuItem({ isDestructive, className, ...props }: MenuItemProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
//# sourceMappingURL=MenuItem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MenuItem.d.ts","sourceRoot":"","sources":["../../../src/components/Menu/MenuItem.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,aAAa,IAAI,iBAAiB,EACxC,MAAM,uBAAuB,CAAA;AAG9B,MAAM,WAAW,aAAc,SAAQ,iBAAiB;IACtD,aAAa,CAAC,EAAE,OAAO,CAAA;CACxB;AAED,wBAAgB,QAAQ,CAAC,EAAE,aAAa,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,aAAa,2CAc7E"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { MenuSectionProps as AriaMenuSectionProps } from 'react-aria-components';
|
|
2
|
+
export interface MenuSectionProps<T extends object> extends AriaMenuSectionProps<T> {
|
|
3
|
+
title?: string;
|
|
4
|
+
className?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare function MenuSection<T extends object>({ title, className, children, ...props }: MenuSectionProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
//# sourceMappingURL=MenuSection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MenuSection.d.ts","sourceRoot":"","sources":["../../../src/components/Menu/MenuSection.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,gBAAgB,IAAI,oBAAoB,EAG9C,MAAM,uBAAuB,CAAA;AAG9B,MAAM,WAAW,gBAAgB,CAAC,CAAC,SAAS,MAAM,CAChD,SAAQ,oBAAoB,CAAC,CAAC,CAAC;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,wBAAgB,WAAW,CAAC,CAAC,SAAS,MAAM,EAAE,EAC5C,KAAK,EACL,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,gBAAgB,CAAC,CAAC,CAAC,2CASrB"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { MenuTriggerProps as AriaMenuTriggerProps } from 'react-aria-components';
|
|
2
|
+
export interface MenuTriggerProps extends AriaMenuTriggerProps {
|
|
3
|
+
}
|
|
4
|
+
export declare function MenuTrigger(props: MenuTriggerProps): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
//# sourceMappingURL=MenuTrigger.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MenuTrigger.d.ts","sourceRoot":"","sources":["../../../src/components/Menu/MenuTrigger.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,gBAAgB,IAAI,oBAAoB,EAC9C,MAAM,uBAAuB,CAAA;AAE9B,MAAM,WAAW,gBAAiB,SAAQ,oBAAoB;CAAG;AAEjE,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,2CAElD"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface NavItemProps {
|
|
3
|
+
label: string;
|
|
4
|
+
icon?: string;
|
|
5
|
+
isActive?: boolean;
|
|
6
|
+
href?: string;
|
|
7
|
+
onPress?: () => void;
|
|
8
|
+
badge?: React.ReactNode;
|
|
9
|
+
isDisabled?: boolean;
|
|
10
|
+
className?: string;
|
|
11
|
+
}
|
|
12
|
+
export declare const NavItem: React.ForwardRefExoticComponent<NavItemProps & React.RefAttributes<HTMLElement>>;
|
|
13
|
+
//# sourceMappingURL=NavItem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NavItem.d.ts","sourceRoot":"","sources":["../../../src/components/NavItem/NavItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAKzC,OAAO,gBAAgB,CAAA;AAEvB,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACvB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAuED,eAAO,MAAM,OAAO,kFAiBnB,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface ProgressBarProps {
|
|
2
|
+
value: number;
|
|
3
|
+
minValue?: number;
|
|
4
|
+
maxValue?: number;
|
|
5
|
+
label: string;
|
|
6
|
+
showValueLabel?: boolean;
|
|
7
|
+
variant?: 'default' | 'success' | 'warning' | 'error';
|
|
8
|
+
size?: 'sm' | 'md';
|
|
9
|
+
className?: string;
|
|
10
|
+
}
|
|
11
|
+
export declare function ProgressBar({ value, minValue, maxValue, label, showValueLabel, variant, size, className, }: ProgressBarProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
//# sourceMappingURL=ProgressBar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProgressBar.d.ts","sourceRoot":"","sources":["../../../src/components/ProgressBar/ProgressBar.tsx"],"names":[],"mappings":"AAEA,OAAO,oBAAoB,CAAA;AAE3B,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAA;IACrD,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,wBAAgB,WAAW,CAAC,EAC1B,KAAK,EACL,QAAY,EACZ,QAAc,EACd,KAAK,EACL,cAAsB,EACtB,OAAmB,EACnB,IAAW,EACX,SAAS,GACV,EAAE,gBAAgB,2CAyClB"}
|