@ultraviolet/icons 5.0.0-beta.5 → 5.0.0-beta.6
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 +3 -5
- package/package.json +6 -4
package/README.md
CHANGED
|
@@ -6,10 +6,8 @@ Ultraviolet Icons is a set of components based on SVG icons. It provides a set o
|
|
|
6
6
|
|
|
7
7
|
## Get Started
|
|
8
8
|
|
|
9
|
-
For icons to work you will need to install some extra dependencies, such as `@ultraviolet/themes` and `@emotion/react`.
|
|
10
|
-
|
|
11
9
|
```sh
|
|
12
|
-
$ pnpm add @ultraviolet/icons @ultraviolet/themes
|
|
10
|
+
$ pnpm add @ultraviolet/icons @ultraviolet/themes
|
|
13
11
|
```
|
|
14
12
|
|
|
15
13
|
You can then add `ThemeProvider` to your applications and use the provided theme from `@ultraviolet/themes` or use your own.
|
|
@@ -17,10 +15,10 @@ You can then add `ThemeProvider` to your applications and use the provided theme
|
|
|
17
15
|
```tsx
|
|
18
16
|
import { ThemeProvider } from '@emotion/react'
|
|
19
17
|
import { SdkGoProductIcon } from '@ultraviolet/icons/product'
|
|
20
|
-
import {
|
|
18
|
+
import { theme } from '@ultraviolet/themes'
|
|
21
19
|
|
|
22
20
|
const App = () => (
|
|
23
|
-
<ThemeProvider theme={
|
|
21
|
+
<ThemeProvider theme={theme}>
|
|
24
22
|
<SdkGoProductIcon size="medium" variant="primary"/>
|
|
25
23
|
</ThemeProvider>
|
|
26
24
|
)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ultraviolet/icons",
|
|
3
|
-
"version": "5.0.0-beta.
|
|
3
|
+
"version": "5.0.0-beta.6",
|
|
4
4
|
"description": "Ultraviolet Icons",
|
|
5
5
|
"homepage": "https://github.com/scaleway/ultraviolet#readme",
|
|
6
6
|
"repository": {
|
|
@@ -25,16 +25,18 @@
|
|
|
25
25
|
"darwin",
|
|
26
26
|
"linux"
|
|
27
27
|
],
|
|
28
|
-
"sideEffects": false,
|
|
29
28
|
"type": "module",
|
|
30
29
|
"module": "./dist/index.js",
|
|
31
30
|
"types": "./dist/index.d.ts",
|
|
32
31
|
"main": "./dist/index.cjs",
|
|
32
|
+
"sideEffects": [
|
|
33
|
+
"**/*.css",
|
|
34
|
+
"**/*.css.ts"
|
|
35
|
+
],
|
|
33
36
|
"exports": {
|
|
34
37
|
".": {
|
|
35
38
|
"types": "./dist/index.d.ts",
|
|
36
39
|
"require": "./dist/index.cjs",
|
|
37
|
-
"import": "./dist/index.js",
|
|
38
40
|
"default": "./dist/index.js"
|
|
39
41
|
},
|
|
40
42
|
"./*": {
|
|
@@ -113,7 +115,7 @@
|
|
|
113
115
|
"@vanilla-extract/css": "1.17.4",
|
|
114
116
|
"@vanilla-extract/dynamic": "2.1.5",
|
|
115
117
|
"@vanilla-extract/recipes": "0.5.7",
|
|
116
|
-
"@ultraviolet/themes": "3.0.0-beta.
|
|
118
|
+
"@ultraviolet/themes": "3.0.0-beta.2"
|
|
117
119
|
},
|
|
118
120
|
"scripts": {
|
|
119
121
|
"type:generate": "tsc --declaration -p tsconfig.build.json",
|