@umami/react-zen 0.239.0 → 0.241.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/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2022 Umami Software, Inc. <hello@umami.is>
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,61 +0,0 @@
1
- # zen
2
-
3
- **Zen** is a props-driven React component library built for speed. Build polished interfaces without writing HTML, CSS, or thinking about Tailwind classes.
4
-
5
- - **Props over classes** - Style through component props, not utility classes
6
- - **Design included** - Complete design system out of the box with dark mode
7
- - **Accessible** - Built on [React Aria](https://react-spectrum.adobe.com/react-aria/) primitives
8
- - **Powered by Tailwind** - Uses [Tailwind CSS](https://tailwindcss.com/) under the hood, but you never touch it
9
-
10
- [Documentation](https://zen.umami.is/)
11
-
12
- ## Installation
13
-
14
- ```shell
15
- npm install @umami/react-zen
16
- ```
17
-
18
- ## Usage
19
-
20
- ### Import styles
21
-
22
- ```javascript
23
- import '@umami/react-zen/styles.css';
24
- ```
25
-
26
- ### Build with components
27
-
28
- ```jsx
29
- import { Box, Column, Heading, Text, Button } from '@umami/react-zen';
30
-
31
- export default function Welcome() {
32
- return (
33
- <Box padding="6" border borderRadius="lg" shadow="lg">
34
- <Column alignItems="center" gap="6">
35
- <Heading size="3xl">Welcome</Heading>
36
- <Text color="muted">This is the zen way.</Text>
37
- <Button variant="primary">Enter</Button>
38
- </Column>
39
- </Box>
40
- );
41
- }
42
- ```
43
-
44
- No `className`. No CSS files. Just components and props.
45
-
46
- ## Why Zen?
47
-
48
- Building UI is slow. You have to think about markup, CSS organization, responsive breakpoints, accessibility, and design consistency.
49
-
50
- Zen eliminates that friction:
51
-
52
- | Traditional approach | zen approach |
53
- |---------------------|--------------|
54
- | Write HTML structure | Compose components |
55
- | Add Tailwind classes | Pass props |
56
- | Handle responsive manually | Use responsive objects |
57
- | Configure accessibility | Already done |
58
-
59
- ## License
60
-
61
- MIT