@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 CHANGED
@@ -1,11 +1,36 @@
1
1
  # @artivism/ui
2
2
 
3
- React components for Artivism.
3
+ React UI component library for the Artivism Design System.
4
4
 
5
5
  ## Installation
6
6
 
7
- npm install @artivism/ui
7
+ ```bash
8
+ npm install @artivism/ui @artivism/tokens
9
+ ```
8
10
 
9
11
  ## Usage
10
12
 
11
- import { Button } from "@artivism/ui";
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
- type BadgeProps = React.ComponentProps<typeof Badge>;
14
-
15
- export { Badge, type BadgeProps, badgeVariants };
13
+ export { Badge, badgeVariants };
package/dist/badge.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Badge,
3
3
  badgeVariants
4
- } from "./chunk-LSGIYX2Z.mjs";
4
+ } from "./chunk-QDAUID6F.mjs";
5
5
  import "./chunk-SZOFVBTZ.mjs";
6
6
  export {
7
7
  Badge,
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
- type ButtonProps = React.ComponentProps<typeof Button>;
15
-
16
- export { Button, type ButtonProps, buttonVariants };
14
+ export { Button, buttonVariants };
package/dist/button.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Button,
3
3
  buttonVariants
4
- } from "./chunk-HUOOVZOV.mjs";
4
+ } from "./chunk-5UN4BIWL.mjs";
5
5
  import "./chunk-SZOFVBTZ.mjs";
6
6
  export {
7
7
  Button,
package/dist/card.mjs CHANGED
@@ -6,7 +6,7 @@ import {
6
6
  CardFooter,
7
7
  CardHeader,
8
8
  CardTitle
9
- } from "./chunk-LNBDAIPM.mjs";
9
+ } from "./chunk-ND6WBJT3.mjs";
10
10
  import "./chunk-SZOFVBTZ.mjs";
11
11
  export {
12
12
  Card,
@@ -3,6 +3,7 @@ import {
3
3
  } from "./chunk-SZOFVBTZ.mjs";
4
4
 
5
5
  // src/button.tsx
6
+ import "react";
6
7
  import { Slot } from "@radix-ui/react-slot";
7
8
  import { cva } from "class-variance-authority";
8
9
  import { jsx } from "react/jsx-runtime";
@@ -3,6 +3,7 @@ import {
3
3
  } from "./chunk-SZOFVBTZ.mjs";
4
4
 
5
5
  // src/input.tsx
6
+ import "react";
6
7
  import { jsx } from "react/jsx-runtime";
7
8
  function Input({ className, type, ...props }) {
8
9
  return /* @__PURE__ */ jsx(
@@ -3,6 +3,7 @@ import {
3
3
  } from "./chunk-SZOFVBTZ.mjs";
4
4
 
5
5
  // src/card.tsx
6
+ import "react";
6
7
  import { jsx } from "react/jsx-runtime";
7
8
  function Card({ className, ...props }) {
8
9
  return /* @__PURE__ */ jsx(
@@ -3,6 +3,7 @@ import {
3
3
  } from "./chunk-SZOFVBTZ.mjs";
4
4
 
5
5
  // src/badge.tsx
6
+ import "react";
6
7
  import { Slot } from "@radix-ui/react-slot";
7
8
  import { cva } from "class-variance-authority";
8
9
  import { jsx } from "react/jsx-runtime";