@rotki/ui-library 1.0.0-beta.9 → 1.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 +8 -5
- package/dist/{RuiNavigationDrawer-8n-WtZE0.js → RuiNavigationDrawer-D_PHxQsg.js} +3242 -3208
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.es.js +1 -1
- package/dist/components/tabs/tab/RuiTab.vue.d.ts +3 -2
- package/dist/composables/dropdown-menu.d.ts +10 -2
- package/dist/consts/colors.d.ts +4 -0
- package/dist/index.es.js +2 -2
- package/dist/style.css +1 -1
- package/dist/web-types.json +5795 -0
- package/package.json +35 -31
package/README.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
A Vue component library and design system for rotki
|
|
4
4
|
|
|
5
|
+
[](https://www.npmjs.com/package/@rotki/ui-library)
|
|
6
|
+
[](https://github.com/rotki/ui-library/actions/workflows/ci.yml)
|
|
7
|
+
[](https://codecov.io/gh/rotki/ui-library)
|
|
8
|
+
|
|
5
9
|
## Getting started
|
|
6
10
|
|
|
7
11
|
### Installing the library
|
|
@@ -27,9 +31,8 @@ import '@fontsource/roboto/latin.css';
|
|
|
27
31
|
To use the library you must install the library plugin:
|
|
28
32
|
|
|
29
33
|
```typescript
|
|
30
|
-
import { createRui } from
|
|
34
|
+
import { createRui } from '@rotki/ui-library';
|
|
31
35
|
|
|
32
|
-
...
|
|
33
36
|
const RuiPlugin = createRui(options);
|
|
34
37
|
app.use(RuiPlugin);
|
|
35
38
|
```
|
|
@@ -79,9 +82,9 @@ import { Ri4kFill, Ri4kLine, createRui } from '@rotki/ui-library';
|
|
|
79
82
|
|
|
80
83
|
const RuiPlugin = createRui({
|
|
81
84
|
theme: {
|
|
82
|
-
icons: [Ri4kFill, Ri4kLine]
|
|
83
|
-
}
|
|
84
|
-
})
|
|
85
|
+
icons: [Ri4kFill, Ri4kLine],
|
|
86
|
+
},
|
|
87
|
+
});
|
|
85
88
|
app.use(RuiPlugin);
|
|
86
89
|
```
|
|
87
90
|
|