@nevuto/components 0.17.0 → 0.17.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 (2) hide show
  1. package/README.md +41 -0
  2. package/package.json +7 -7
package/README.md ADDED
@@ -0,0 +1,41 @@
1
+ # @nevuto/components
2
+
3
+ React components of the Nevuto admin: buttons, inputs, tables, modals, navigation and more.
4
+
5
+ Part of Nevuto UI, the design system of the Nevuto admin. Apps embedded in the admin can use it to look like part of it.
6
+
7
+ ## Install
8
+
9
+ ```sh
10
+ npm i @nevuto/components
11
+ ```
12
+
13
+ Peer dependencies: react, react-dom.
14
+
15
+ ## Usage
16
+
17
+ ```tsx
18
+ import '@nevuto/tokens/css'
19
+ import '@nevuto/components/styles.css'
20
+ import { Button, Heading } from '@nevuto/components'
21
+
22
+ export function Example() {
23
+ return (
24
+ <>
25
+ <Heading as="h1">Campaigns</Heading>
26
+ <Button variant="inverted">New campaign</Button>
27
+ </>
28
+ )
29
+ }
30
+ ```
31
+
32
+ Load `@nevuto/tokens/css` once; the components read its CSS variables.
33
+
34
+ ## Links
35
+
36
+ - Nevuto UI docs: https://design.nevuto.com
37
+ - Building apps for Nevuto: https://nevuto.dev
38
+
39
+ ## License
40
+
41
+ MIT
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nevuto/components",
3
- "version": "0.17.0",
4
- "description": "Nevuto UI component library — ecommerce için custom React bileşenleri",
3
+ "version": "0.17.1",
4
+ "description": "React components of Nevuto UI, the design system of the Nevuto admin.",
5
5
  "license": "MIT",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.mjs",
@@ -21,9 +21,9 @@
21
21
  "*.css"
22
22
  ],
23
23
  "dependencies": {
24
- "@nevuto/tokens": "0.0.10",
25
- "@nevuto/icons": "0.1.1",
26
- "@nevuto/hooks": "0.0.2"
24
+ "@nevuto/icons": "0.1.2",
25
+ "@nevuto/hooks": "0.0.3",
26
+ "@nevuto/tokens": "0.0.11"
27
27
  },
28
28
  "peerDependencies": {
29
29
  "react": ">=18.0.0",
@@ -36,8 +36,8 @@
36
36
  "typescript": "^5.4.5",
37
37
  "vite": "^5.2.0",
38
38
  "vite-plugin-dts": "^5.0.2",
39
- "@nevuto/eslint-config": "0.0.1",
40
- "@nevuto/typescript-config": "0.0.1"
39
+ "@nevuto/typescript-config": "0.0.1",
40
+ "@nevuto/eslint-config": "0.0.1"
41
41
  },
42
42
  "scripts": {
43
43
  "build": "vite build",