@draftbit/ui 48.5.6 → 48.5.7-efd08d.2
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/LICENSE +21 -0
- package/README.md +38 -38
- package/lib/typescript/src/index.d.ts +995 -995
- package/lib/typescript/src/index.js +39 -39
- package/lib/typescript/tsconfig.tsbuildinfo +1 -1
- package/package.json +65 -64
- package/src/index.js +40 -0
- package/src/index.js.map +1 -0
- package/src/index.tsx +138 -138
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2020 Draftbit
|
|
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 all
|
|
13
|
+
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 THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
# @draftbit/ui
|
|
2
|
-
|
|
3
|
-
The user interface library that powers [Draftbit](https://draftbit.com) Apps.
|
|
4
|
-
|
|
5
|
-
`@draftbit/ui` is based on [React Native Paper](https://github.com/callstack/react-native-paper) but allows us to extend
|
|
6
|
-
components to empower our users with more features ⚡️
|
|
7
|
-
|
|
8
|
-
## Differences between React Native Paper and Jigsaw
|
|
9
|
-
|
|
10
|
-
- Embedded themes. Jigsaw has a very robust theming system that is directly
|
|
11
|
-
integrated into our builder. React Native Paper is based on Material Design
|
|
12
|
-
where ours is more generalized for both iOS and Android. That doesn't make it
|
|
13
|
-
any better or worse, it just means ours is directly integrated into our
|
|
14
|
-
product and by controlling the library we can make changes as often as we need
|
|
15
|
-
|
|
16
|
-
- Different components & use cases. React Native Paper is really great for
|
|
17
|
-
building Material-style apps where we use Jigsaw to build any type of app.
|
|
18
|
-
You'll find a different series of components for different use cases.
|
|
19
|
-
|
|
20
|
-
We love React Native Paper and even plan on supporting it one day as a different
|
|
21
|
-
component library, Jigsaw just allows us to deeply embed components, props,
|
|
22
|
-
themes directly into the Draftbit platform
|
|
23
|
-
|
|
24
|
-
## Installation
|
|
25
|
-
|
|
26
|
-
```console
|
|
27
|
-
npm install @draftbit/ui
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
## Contributing
|
|
31
|
-
|
|
32
|
-
This package is developed in a monorepository. See the
|
|
33
|
-
[root readme](https://github.com/draftbit/react-native-jigsaw) for details on
|
|
34
|
-
contributing.
|
|
35
|
-
|
|
36
|
-
## License
|
|
37
|
-
|
|
38
|
-
MIT
|
|
1
|
+
# @draftbit/ui
|
|
2
|
+
|
|
3
|
+
The user interface library that powers [Draftbit](https://draftbit.com) Apps.
|
|
4
|
+
|
|
5
|
+
`@draftbit/ui` is based on [React Native Paper](https://github.com/callstack/react-native-paper) but allows us to extend
|
|
6
|
+
components to empower our users with more features ⚡️
|
|
7
|
+
|
|
8
|
+
## Differences between React Native Paper and Jigsaw
|
|
9
|
+
|
|
10
|
+
- Embedded themes. Jigsaw has a very robust theming system that is directly
|
|
11
|
+
integrated into our builder. React Native Paper is based on Material Design
|
|
12
|
+
where ours is more generalized for both iOS and Android. That doesn't make it
|
|
13
|
+
any better or worse, it just means ours is directly integrated into our
|
|
14
|
+
product and by controlling the library we can make changes as often as we need
|
|
15
|
+
|
|
16
|
+
- Different components & use cases. React Native Paper is really great for
|
|
17
|
+
building Material-style apps where we use Jigsaw to build any type of app.
|
|
18
|
+
You'll find a different series of components for different use cases.
|
|
19
|
+
|
|
20
|
+
We love React Native Paper and even plan on supporting it one day as a different
|
|
21
|
+
component library, Jigsaw just allows us to deeply embed components, props,
|
|
22
|
+
themes directly into the Draftbit platform
|
|
23
|
+
|
|
24
|
+
## Installation
|
|
25
|
+
|
|
26
|
+
```console
|
|
27
|
+
npm install @draftbit/ui
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## Contributing
|
|
31
|
+
|
|
32
|
+
This package is developed in a monorepository. See the
|
|
33
|
+
[root readme](https://github.com/draftbit/react-native-jigsaw) for details on
|
|
34
|
+
contributing.
|
|
35
|
+
|
|
36
|
+
## License
|
|
37
|
+
|
|
38
|
+
MIT
|