aidos-ui 4.0.6 → 5.0.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 +7 -7
- package/dist/index.d.ts +194 -129
- package/dist/index.js +2842 -1843
- package/dist/index.js.map +1 -1
- package/dist/jsx-dev-runtime.d.ts +3 -1
- package/dist/jsx-dev-runtime.js +2 -1
- package/dist/jsx-dev-runtime.js.map +1 -1
- package/package.json +17 -9
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@ npm install aidos-ui
|
|
|
13
13
|
## Setup
|
|
14
14
|
|
|
15
15
|
```tsx
|
|
16
|
-
import { Providers, lightTheme, darkTheme } from
|
|
16
|
+
import { Providers, lightTheme, darkTheme } from "aidos-ui";
|
|
17
17
|
|
|
18
18
|
function App() {
|
|
19
19
|
return (
|
|
@@ -27,11 +27,11 @@ function App() {
|
|
|
27
27
|
For Next.js SSR, add `JSServerStyles` to your `_document.tsx`:
|
|
28
28
|
|
|
29
29
|
```tsx
|
|
30
|
-
import { JSServerStyles } from
|
|
30
|
+
import { JSServerStyles } from "aidos-ui";
|
|
31
31
|
|
|
32
32
|
<Head>
|
|
33
33
|
<JSServerStyles />
|
|
34
|
-
</Head
|
|
34
|
+
</Head>;
|
|
35
35
|
```
|
|
36
36
|
|
|
37
37
|
## Components
|
|
@@ -50,7 +50,7 @@ import { JSServerStyles } from 'aidos-ui';
|
|
|
50
50
|
|
|
51
51
|
**Feedback**: `ProgressBar`, `ProgressCircle`, `Badge`
|
|
52
52
|
|
|
53
|
-
**Other**: `Tabs`, `Calendar`, `
|
|
53
|
+
**Other**: `Tabs`, `Calendar`, `DateInput`, `Icon`, `DarkMode`
|
|
54
54
|
|
|
55
55
|
## Icons
|
|
56
56
|
|
|
@@ -63,8 +63,8 @@ npm install @iconify/react @iconify-json/fa
|
|
|
63
63
|
```
|
|
64
64
|
|
|
65
65
|
```tsx
|
|
66
|
-
import { addCollection } from
|
|
67
|
-
import faIcons from
|
|
66
|
+
import { addCollection } from "@iconify/react";
|
|
67
|
+
import faIcons from "@iconify-json/fa/icons.json";
|
|
68
68
|
|
|
69
69
|
// Call once during application initialization.
|
|
70
70
|
addCollection(faIcons);
|
|
@@ -77,7 +77,7 @@ Registering the collection bundles the icons with your application, so they no l
|
|
|
77
77
|
Components accept a `jss` prop for inline styles with automatic class generation:
|
|
78
78
|
|
|
79
79
|
```tsx
|
|
80
|
-
<Row jss={{ backgroundColor:
|
|
80
|
+
<Row jss={{ backgroundColor: "red", padding: 16 }} gap="medium">
|
|
81
81
|
<Button color="positive">Save</Button>
|
|
82
82
|
</Row>
|
|
83
83
|
```
|