@artivism/ui 0.1.2 → 0.3.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/README.md +28 -3
- package/dist/badge.d.mts +1 -3
- package/dist/badge.mjs +1 -1
- package/dist/button.d.mts +1 -3
- package/dist/button.mjs +1 -1
- package/dist/card.mjs +1 -1
- package/dist/{chunk-HUOOVZOV.mjs → chunk-5UN4BIWL.mjs} +1 -0
- package/dist/{chunk-GRHBB7TD.mjs → chunk-LB6V47ZD.mjs} +1 -0
- package/dist/{chunk-LNBDAIPM.mjs → chunk-ND6WBJT3.mjs} +1 -0
- package/dist/{chunk-LSGIYX2Z.mjs → chunk-QDAUID6F.mjs} +1 -0
- package/dist/index.d.mts +567 -13
- package/dist/index.mjs +5485 -5
- package/dist/input.mjs +1 -1
- package/package.json +87 -31
package/README.md
CHANGED
|
@@ -1,11 +1,36 @@
|
|
|
1
1
|
# @artivism/ui
|
|
2
2
|
|
|
3
|
-
React
|
|
3
|
+
React UI component library for the Artivism Design System.
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
```bash
|
|
8
|
+
npm install @artivism/ui @artivism/tokens
|
|
9
|
+
```
|
|
8
10
|
|
|
9
11
|
## Usage
|
|
10
12
|
|
|
11
|
-
|
|
13
|
+
```tsx
|
|
14
|
+
import { Button } from "@artivism/ui/button"
|
|
15
|
+
import { Card } from "@artivism/ui/card"
|
|
16
|
+
|
|
17
|
+
export default function App() {
|
|
18
|
+
return (
|
|
19
|
+
<Card>
|
|
20
|
+
<Button>Click me</Button>
|
|
21
|
+
</Card>
|
|
22
|
+
)
|
|
23
|
+
}
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Components
|
|
27
|
+
|
|
28
|
+
54 production-ready components including: Accordion, Alert, Alert Dialog, Avatar, Badge, Breadcrumb, Button, Calendar, Card, Carousel, Checkbox, Collapsible, Command, Context Menu, Dialog, Drawer, Dropdown Menu, Form, Input, Label, Select, Table, Tabs, Tooltip, and many more.
|
|
29
|
+
|
|
30
|
+
## Documentation
|
|
31
|
+
|
|
32
|
+
Visit [design.artivism.it](https://design.artivism.it) for full documentation.
|
|
33
|
+
|
|
34
|
+
## License
|
|
35
|
+
|
|
36
|
+
MIT
|
package/dist/badge.d.mts
CHANGED
|
@@ -10,6 +10,4 @@ declare function Badge({ className, variant, asChild, ...props }: React.Componen
|
|
|
10
10
|
asChild?: boolean;
|
|
11
11
|
}): react_jsx_runtime.JSX.Element;
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
export { Badge, type BadgeProps, badgeVariants };
|
|
13
|
+
export { Badge, badgeVariants };
|
package/dist/badge.mjs
CHANGED
package/dist/button.d.mts
CHANGED
|
@@ -11,6 +11,4 @@ declare function Button({ className, variant, size, asChild, ...props }: React.C
|
|
|
11
11
|
asChild?: boolean;
|
|
12
12
|
}): react_jsx_runtime.JSX.Element;
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
export { Button, type ButtonProps, buttonVariants };
|
|
14
|
+
export { Button, buttonVariants };
|
package/dist/button.mjs
CHANGED
package/dist/card.mjs
CHANGED