1.0.173 • Published 2 days ago

@programmer_network/yail v1.0.173

Weekly downloads
-
License
ISC
Repository
github
Last release
2 days ago

Yail

lint-and-test-pr

🎨Yail's Storybook

Yail is the official UI library of Programmer Network, crafted for developers who prioritize simplicity and efficiency. Embracing a minimalist approach, Yail is now open-sourced to share its straightforward and effective design ethos with the broader community. Here’s what makes Yail stand out:

  • Minimalistic Design: Yail focuses on the essentials to deliver a user-friendly experience free from unnecessary complexity.
  • Tailored with Tailwind-CSS: Integrating Tailwind-CSS, Yail offers intuitive styling options, enabling you to create visually appealing web projects effortlessly.
  • Ease of Maintenance: We prioritize hassle-free maintenance, making Yail as easy to manage as it is to implement.

Originally developed for Programmer Network, we decided to open source Yail due to the growing interest from the community. Whether you're working on small-scale projects or large applications, Yail provides the tools for building elegant, responsive, and accessible UIs with minimal overhead.

For an in-depth look at what Yail offers, the Storybook is a good starting point. It documents the current set of UI components and their usage patterns. You can visit our 🖌️Storybook to review the implemented features and components.

Yail is yet another interface library used by Programmer Network 💻🤓.

Prerequisites

Before you begin, ensure you have met the following requirements:

  • Node.js: Use nvm to switch to the version specified in the .nvmrc file. To ensure you're using the correct version of Node.js for this project, run nvm use in the project directory.
  • pnpm: Install pnpm globally with npm install -g pnpm.

Getting Started

Usage

Installation

To integrate Yail into your project, install it using your preferred package manager. For example, with pnpm, you can add it as follows:

pnpm add @programmer_network/yail

Incorporating Components into Your Project

After installation, you can start using Yail components in your React project.

To ensure proper styling with Tailwind CSS, include the CSS file generated by Yail in your project.

@import "@programmer_network/yail/dist/style.css";

Here's how you can import a component:

import { Button } from "@programmer_network/yail";

Exploring Components with Storybook

Yail provides a comprehensive component showcase through Storybook. To explore these components, start the Storybook server:

pnpm storybook

Contributing to Yail

We welcome contributions to Yail! Here's how you can set up the project locally for development.

Setting Up the Development Environment

Clone the Repository

First, clone the repository to your local machine:

git clone https://github.com/Programmer-Network/yail.git
cd yail

Install Dependencies

Use pnpm to install all necessary dependencies:

pnpm install

Running the Development Server

To start the development server, run:

pnpm dev

This command will launch Vite's development server. You can then make changes to the library, and Vite will automatically reload these changes.

View your changes inside storybook:

pnpm storybook

Running Tests

Yail uses Vitest for testing. To run tests, use the following commands:

Run all tests:

pnpm test

Run tests in watch mode:

pnpm test:watch

Linting and Code Formatting

To ensure code consistency, we use ESLint and Prettier. Run these before committing your changes:

To lint your code:

pnpm lint:fix

To format your code:

pnpm format

Creating a Pull Request

Once you've made your changes:

  1. Fork the repository.
  2. Create a new branch for your changes.
  3. Commit your changes and push them to your fork.
  4. Open a pull request against the main branch of the Programmer-Network/yail repository.

Please provide a clear description of the changes in your pull request.

Thank you for contributing to Yail!

1.0.173

2 days ago

1.0.172

6 days ago

1.0.171

6 days ago

1.0.170

6 days ago

1.0.169

7 days ago

1.0.168

7 days ago

1.0.167

11 days ago

1.0.166

11 days ago

1.0.165

12 days ago

1.0.164

13 days ago

1.0.161

14 days ago

1.0.163

14 days ago

1.0.162

14 days ago

1.0.160

14 days ago

1.0.158

14 days ago

1.0.159

14 days ago

1.0.156

15 days ago

1.0.155

15 days ago

1.0.157

15 days ago

1.0.154

16 days ago

1.0.153

16 days ago

1.0.150

16 days ago

1.0.152

16 days ago

1.0.151

16 days ago

1.0.149

17 days ago

1.0.148

19 days ago

1.0.143

21 days ago

1.0.142

21 days ago

1.0.145

20 days ago

1.0.144

20 days ago

1.0.147

20 days ago

1.0.146

20 days ago

1.0.141

1 month ago

1.0.140

1 month ago

1.0.139

2 months ago

1.0.136

2 months ago

1.0.138

2 months ago

1.0.137

2 months ago

1.0.132

2 months ago

1.0.131

2 months ago

1.0.134

2 months ago

1.0.133

2 months ago

1.0.130

2 months ago

1.0.135

2 months ago

1.0.129

2 months ago

1.0.128

2 months ago

1.0.125

2 months ago

1.0.127

2 months ago

1.0.126

2 months ago

1.0.121

2 months ago

1.0.120

2 months ago

1.0.123

2 months ago

1.0.122

2 months ago

1.0.124

2 months ago

1.0.118

2 months ago

1.0.117

2 months ago

1.0.119

2 months ago

1.0.116

2 months ago

1.0.115

2 months ago

1.0.110

2 months ago

1.0.112

2 months ago

1.0.111

2 months ago

1.0.114

2 months ago

1.0.113

2 months ago

1.0.109

2 months ago

1.0.108

2 months ago

1.0.101

2 months ago

1.0.100

2 months ago

1.0.107

2 months ago

1.0.106

2 months ago

1.0.103

2 months ago

1.0.102

2 months ago

1.0.105

2 months ago

1.0.104

2 months ago

1.0.99

2 months ago

1.0.95

2 months ago

1.0.94

2 months ago

1.0.98

2 months ago

1.0.97

2 months ago

1.0.96

2 months ago

1.0.93

2 months ago

1.0.92

2 months ago

1.0.88

3 months ago

1.0.87

3 months ago

1.0.89

3 months ago

1.0.91

3 months ago

1.0.90

3 months ago

1.0.84

3 months ago

1.0.82

3 months ago

1.0.86

3 months ago

1.0.85

3 months ago

1.0.79

3 months ago

1.0.78

3 months ago

1.0.80

3 months ago

1.0.81

3 months ago

1.0.73

3 months ago

1.0.72

3 months ago

1.0.71

3 months ago

1.0.70

3 months ago

1.0.77

3 months ago

1.0.76

3 months ago

1.0.75

3 months ago

1.0.74

3 months ago

1.0.69

3 months ago

1.0.68

3 months ago

1.0.65

3 months ago

1.0.64

3 months ago

1.0.67

3 months ago

1.0.63

3 months ago

1.0.62

3 months ago

1.0.61

3 months ago

1.0.60

3 months ago

1.0.55

3 months ago

1.0.59

3 months ago

1.0.58

3 months ago

1.0.57

3 months ago

1.0.56

3 months ago

1.0.51

3 months ago

1.0.54

3 months ago

1.0.53

3 months ago

1.0.52

3 months ago

1.0.48

3 months ago

1.0.49

3 months ago

1.0.50

3 months ago

1.0.47

3 months ago

1.0.46

4 months ago

1.0.45

4 months ago

1.0.44

4 months ago

1.0.43

4 months ago

1.0.39

4 months ago

1.0.38

4 months ago

1.0.40

4 months ago

1.0.42

4 months ago

1.0.41

4 months ago

1.0.37

5 months ago

1.0.36

5 months ago

1.0.35

5 months ago

1.0.34

5 months ago

1.0.33

5 months ago

1.0.32

5 months ago

1.0.30

5 months ago

1.0.29

5 months ago

1.0.28

5 months ago

1.0.27

5 months ago

1.0.26

5 months ago

1.0.25

5 months ago

1.0.24

5 months ago

1.0.23

5 months ago

1.0.19

5 months ago

1.0.17

5 months ago

1.0.16

5 months ago

1.0.22

5 months ago

1.0.21

5 months ago

1.0.9

5 months ago

1.0.11

5 months ago

1.0.10

5 months ago

1.0.8

5 months ago

1.0.7

5 months ago

1.0.6

5 months ago

1.0.4

5 months ago

1.0.3

5 months ago

1.0.2

6 months ago

1.0.1

6 months ago

1.0.0

6 months ago