dash-ui-kit 1.0.2 → 1.0.3
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 +9 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -10,21 +10,24 @@ You can see all the created components in the storybook - https://alexeytriplea.
|
|
|
10
10
|
|
|
11
11
|
### Installation
|
|
12
12
|
|
|
13
|
+
from npm
|
|
13
14
|
```bash
|
|
14
|
-
npm
|
|
15
|
+
npm i dash-ui-kit
|
|
15
16
|
```
|
|
16
17
|
|
|
18
|
+
|
|
19
|
+
|
|
17
20
|
### Setup with Tailwind CSS v4
|
|
18
21
|
|
|
19
22
|
```css
|
|
20
23
|
/* main.css */
|
|
21
24
|
@import "tailwindcss";
|
|
22
|
-
@import "dash-ui/theme";
|
|
23
|
-
@import "dash-ui/styles";
|
|
25
|
+
@import "dash-ui-kit/theme";
|
|
26
|
+
@import "dash-ui-kit/styles";
|
|
24
27
|
```
|
|
25
28
|
|
|
26
29
|
```jsx
|
|
27
|
-
import { Button } from 'dash-ui/react';
|
|
30
|
+
import { Button } from 'dash-ui-kit/react';
|
|
28
31
|
|
|
29
32
|
<Button colorScheme="brand">Button</Button>
|
|
30
33
|
```
|
|
@@ -51,7 +54,7 @@ import { Button } from 'dash-ui/react';
|
|
|
51
54
|
### Button Component
|
|
52
55
|
|
|
53
56
|
```jsx
|
|
54
|
-
import { Button } from 'dash-ui/react';
|
|
57
|
+
import { Button } from 'dash-ui-kit/react';
|
|
55
58
|
|
|
56
59
|
// Color schemes
|
|
57
60
|
<Button colorScheme="brand">Brand Button</Button>
|
|
@@ -71,7 +74,7 @@ import { Button } from 'dash-ui/react';
|
|
|
71
74
|
### Text Component
|
|
72
75
|
|
|
73
76
|
```jsx
|
|
74
|
-
import { Text } from 'dash-ui/react';
|
|
77
|
+
import { Text } from 'dash-ui-kit/react';
|
|
75
78
|
|
|
76
79
|
<Text size="xl" weight="bold" color="blue">
|
|
77
80
|
Styled Text
|