@riligar/components-kit 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/LICENSE +21 -0
- package/README.md +74 -0
- package/dist/components-kit.css +2 -0
- package/dist/components-kit.css.map +1 -0
- package/dist/index.esm.js +1823 -0
- package/dist/index.esm.js.map +1 -0
- package/dist/index.js +1844 -0
- package/dist/index.js.map +1 -0
- package/package.json +55 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 RiLiGar
|
|
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
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
# Components Kit
|
|
2
|
+
|
|
3
|
+
<p align="center">
|
|
4
|
+
<a href="https://www.npmjs.com/package/@riligar/components-kit" target="_blank"><img src="https://img.shields.io/npm/v/@riligar/components-kit.svg" alt="npm version" /></a>
|
|
5
|
+
<a href="https://www.npmjs.com/package/@riligar/components-kit" target="_blank"><img src="https://img.shields.io/npm/dm/@riligar/components-kit.svg" alt="npm downloads" /></a>
|
|
6
|
+
<a href="https://www.npmjs.com/package/@riligar/components-kit" target="_blank"><img src="https://img.shields.io/npm/l/@riligar/components-kit.svg" alt="license" /></a>
|
|
7
|
+
</p>
|
|
8
|
+
|
|
9
|
+
A premium React component library built with Mantine and Zen Design principles.
|
|
10
|
+
|
|
11
|
+
## Installation
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
bun add @riligar/components-kit
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Setup
|
|
18
|
+
|
|
19
|
+
Ensure you have `@mantine/core` and `@mantine/hooks` installed. Import the global CSS in your application entry point:
|
|
20
|
+
|
|
21
|
+
```javascript
|
|
22
|
+
import "@riligar/components-kit/style.css";
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## Basic Usage
|
|
26
|
+
|
|
27
|
+
```jsx
|
|
28
|
+
import {
|
|
29
|
+
Hero,
|
|
30
|
+
FeatureSplit,
|
|
31
|
+
FeaturesGrid,
|
|
32
|
+
Pricing,
|
|
33
|
+
FAQ,
|
|
34
|
+
Footer,
|
|
35
|
+
} from "@riligar/components-kit";
|
|
36
|
+
|
|
37
|
+
function App() {
|
|
38
|
+
return (
|
|
39
|
+
<>
|
|
40
|
+
<Hero
|
|
41
|
+
title="O fim do código e dos plugins."
|
|
42
|
+
subtitle="Tecnologia RiLiGar"
|
|
43
|
+
description="Suas Landing Pages no ar em 2 minutos."
|
|
44
|
+
/>
|
|
45
|
+
{/* ... other components */}
|
|
46
|
+
<Footer />
|
|
47
|
+
</>
|
|
48
|
+
);
|
|
49
|
+
}
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
## Available Components
|
|
53
|
+
|
|
54
|
+
- **Layout & Structure**: `Header`, `Footer`, `Navbar`, `Layout`.
|
|
55
|
+
- **Marketing Sections**: `Hero`, `SocialProof`, `FeatureSplit`, `FeaturesGrid`, `Comparison`.
|
|
56
|
+
- **Conversion & Pricing**: `Pricing`, `FAQ`, `Testimonials`, `CTABanner`, `TrustBadge`.
|
|
57
|
+
- **Primitives**: `SectionHeader`, `MediaBlock`, `CTAButton`.
|
|
58
|
+
|
|
59
|
+
## Development
|
|
60
|
+
|
|
61
|
+
```bash
|
|
62
|
+
# Install dependencies
|
|
63
|
+
bun install
|
|
64
|
+
|
|
65
|
+
# Start development server (demo)
|
|
66
|
+
cd demo && bun run dev
|
|
67
|
+
|
|
68
|
+
# Build the library
|
|
69
|
+
bun run build
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
## License
|
|
73
|
+
|
|
74
|
+
MIT © RiLiGar
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");*,:after,:before{box-sizing:border-box}html{font-size:16px;scroll-behavior:smooth}:root{--mantine-font-family:"Montserrat",sans-serif;--fz-hero:clamp(2.5rem,8vw + 1rem,6rem);--fz-section-title:clamp(2rem,5vw + 1rem,3.5rem);--fz-big-metric:clamp(3rem,10vw + 1rem,7.5rem)}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;overflow-x:hidden}.mantine-Title-root{letter-spacing:-.04em!important}.mantine-Button-root{transition:transform .2s ease,filter .2s ease}.mantine-Button-root:hover{filter:brightness(1.1);transform:translateY(-1px)}.zen-border{border:1px solid var(--mantine-color-gray-2)}.zen-stage{padding-bottom:clamp(4rem,10vh,10rem);padding-top:clamp(4rem,10vh,10rem)}@media (max-width:48em){.hide-mobile-br br{display:none}}
|
|
2
|
+
/*# sourceMappingURL=components-kit.css.map */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["global.css"],"names":[],"mappings":"AAAA,+GAA+G,CAE/G,iBAGI,qBACJ,CAEA,KAGI,cAAe,CAFf,sBAGJ,CAEA,MACI,6CAA+C,CAG/C,uCAA0C,CAC1C,gDAAmD,CACnD,8CACJ,CAEA,KAEI,kCAAmC,CACnC,iCAAkC,CAFlC,iBAGJ,CAGA,oBACI,+BACJ,CAEA,qBACI,6CAGJ,CAEA,2BAEI,sBAAuB,CADvB,0BAEJ,CAGA,YACI,4CACJ,CAEA,WAEI,qCAAwC,CADxC,kCAEJ,CAEA,wBACI,mBACI,YACJ,CACJ","file":"components-kit.css","sourcesContent":["@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');\n\n*,\n*::before,\n*::after {\n box-sizing: border-box;\n}\n\nhtml {\n scroll-behavior: smooth;\n /* Fluid Typography Base */\n font-size: 16px;\n}\n\n:root {\n --mantine-font-family: 'Montserrat', sans-serif;\n\n /* Fluid Scale Tokens */\n --fz-hero: clamp(2.5rem, 8vw + 1rem, 6rem);\n --fz-section-title: clamp(2rem, 5vw + 1rem, 3.5rem);\n --fz-big-metric: clamp(3rem, 10vw + 1rem, 7.5rem);\n}\n\nbody {\n overflow-x: hidden;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n/* Zen Overrides for Mantine */\n.mantine-Title-root {\n letter-spacing: -0.04em !important;\n}\n\n.mantine-Button-root {\n transition:\n transform 0.2s ease,\n filter 0.2s ease;\n}\n\n.mantine-Button-root:hover {\n transform: translateY(-1px);\n filter: brightness(1.1);\n}\n\n/* Custom Utilities */\n.zen-border {\n border: 1px solid var(--mantine-color-gray-2);\n}\n\n.zen-stage {\n padding-top: clamp(4rem, 10vh, 10rem);\n padding-bottom: clamp(4rem, 10vh, 10rem);\n}\n\n@media (max-width: 48em) {\n .hide-mobile-br br {\n display: none;\n }\n}\n"]}
|