welcome-ui 0.32.1 → 1.0.0-beta.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/dist/Test.js +3 -0
- package/dist/Test.mjs +9 -0
- package/dist/WuiProvider.js +405 -0
- package/dist/WuiProvider.mjs +459 -0
- package/dist/index.js +18 -0
- package/dist/index.mjs +422 -0
- package/package.json +39 -126
- package/CHANGELOG.md +0 -1078
- package/LICENSE +0 -21
- package/README.md +0 -63
- package/dist/welcome-ui.cjs.js +0 -6961
- package/dist/welcome-ui.es.js +0 -6902
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
The MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2019 CORUSCANT (welcome to the jungle) - https://www.welcometothejungle.co
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in
|
|
13
|
-
all copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
-
THE SOFTWARE.
|
package/README.md
DELETED
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
# Welcome UI
|
|
2
|
-
|
|
3
|
-
<img src="assets/readme.png" width="500" />
|
|
4
|
-
|
|
5
|
-
Welcome to the _Welcome UI library_ create by [Welcome to the jungle](https://www.welcometothejungle.co), a customizable design system with react • styled-components • styled-system and reakit.
|
|
6
|
-
|
|
7
|
-
Here you'll find all the core components you need to create a delightful webapp.
|
|
8
|
-
|
|
9
|
-
🌴 [Discover all the components](http://welcome-ui.com)
|
|
10
|
-
|
|
11
|
-
---
|
|
12
|
-
|
|
13
|
-
[](https://www.npmjs.com/package/welcome-ui) [](https://github.com/WTTJ/welcome-ui/blob/master/LICENSE) [](https://www.npmjs.com/package/welcome-ui)   [](https://github.com/WTTJ/welcome-ui/blob/master/CONTRIBUTING.md) [](https://conventionalcommits.org)
|
|
14
|
-
|
|
15
|
-
---
|
|
16
|
-
|
|
17
|
-
## Install
|
|
18
|
-
|
|
19
|
-
```bash
|
|
20
|
-
npm install welcome-ui
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
or
|
|
24
|
-
|
|
25
|
-
```bash
|
|
26
|
-
yarn add welcome-ui
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
## Import library & Theme
|
|
30
|
-
|
|
31
|
-
You can find all the theme properties [here](http://welcome-ui.com/theming/theme-values).
|
|
32
|
-
|
|
33
|
-
```js
|
|
34
|
-
import React from 'react'
|
|
35
|
-
import { ThemeProvider } from '@xstyled/styled-components'
|
|
36
|
-
import { createTheme, GlobalStyle, Text } from 'welcome-ui'
|
|
37
|
-
|
|
38
|
-
const options = {
|
|
39
|
-
defaultFontFamily: 'Helvetica',
|
|
40
|
-
headingFontFamily: 'Georgia',
|
|
41
|
-
colors: {
|
|
42
|
-
primary: {
|
|
43
|
-
500: '#FF0000'
|
|
44
|
-
},
|
|
45
|
-
secondary: {
|
|
46
|
-
500: '#00FF00'
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
const theme = createTheme(options)
|
|
51
|
-
|
|
52
|
-
export default function Root() {
|
|
53
|
-
// Wrap your component with ThemeProvider
|
|
54
|
-
return (
|
|
55
|
-
<ThemeProvider theme={theme}>
|
|
56
|
-
<>
|
|
57
|
-
<GlobalStyle />
|
|
58
|
-
<Text variant="h1">Welcome!</Text>
|
|
59
|
-
</>
|
|
60
|
-
</ThemeProvider>
|
|
61
|
-
)
|
|
62
|
-
}
|
|
63
|
-
```
|