@rhavenside/custom-ui-library 1.0.0 → 1.0.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.
- package/README.md +8 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @rhavenside/custom-ui-library
|
|
2
2
|
|
|
3
3
|
Eine wiederverwendbare React UI-Komponenten-Bibliothek mit CSS-Variablen für vollständige Anpassbarkeit.
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
npm install
|
|
8
|
+
npm install @rhavenside/custom-ui-library
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
## Verwendung
|
|
@@ -13,21 +13,21 @@ npm install customs
|
|
|
13
13
|
### JavaScript Import
|
|
14
14
|
|
|
15
15
|
```javascript
|
|
16
|
-
import { Button, Input, Modal, Progress } from '
|
|
16
|
+
import { Button, Input, Modal, Progress } from '@rhavenside/custom-ui-library';
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
### CSS Import
|
|
20
20
|
|
|
21
21
|
```javascript
|
|
22
|
-
import '
|
|
22
|
+
import '@rhavenside/custom-ui-library/dist/style.css';
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
### Beispiel
|
|
26
26
|
|
|
27
27
|
```jsx
|
|
28
28
|
import React from 'react';
|
|
29
|
-
import { Button, Input, Modal } from '
|
|
30
|
-
import '
|
|
29
|
+
import { Button, Input, Modal } from '@rhavenside/custom-ui-library';
|
|
30
|
+
import '@rhavenside/custom-ui-library/dist/style.css';
|
|
31
31
|
|
|
32
32
|
function App() {
|
|
33
33
|
return (
|
|
@@ -227,8 +227,8 @@ Alle Komponenten verwenden CSS Custom Properties, die überschrieben werden kön
|
|
|
227
227
|
```
|
|
228
228
|
|
|
229
229
|
```javascript
|
|
230
|
-
import '
|
|
231
|
-
import './theme.css'; // Nach
|
|
230
|
+
import '@rhavenside/custom-ui-library/dist/style.css';
|
|
231
|
+
import './theme.css'; // Nach custom-ui-library importieren
|
|
232
232
|
```
|
|
233
233
|
|
|
234
234
|
### Kontextuelles Theme
|