Skip to content

Commit

Permalink
Initial commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
gdotdesign committed Apr 13, 2021
0 parents commit 97e59a9
Show file tree
Hide file tree
Showing 307 changed files with 10,052 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: CI

on:
push:
branches:
- master
tags:
- "*"

pull_request:
branches:
- master

jobs:
build:
name: Build
runs-on: ubuntu-latest

steps:
- name: Download source
uses: actions/checkout@v2

- name: Install Mint
uses: fabasoad/[email protected]
with:
version: 0.12.0

- name: Install dependencies
run: mint install

- name: Run tests
run: mint test
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.mint
dist
25 changes: 25 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
## Contributing

Issues and pull requests of all sorts are welcome!

For bigger projects, please coordinate with [Gusztáv Szikszai](https://github.com/gdotdesign/) to make sure your changes get merged.

Please note that since I charge for Mint UI when companies are using it, this is a **commercial project** by me (Gusztáv Szikszai). By sending pull requests, you agree that I can use your code changes in a commercial context.

Furthermore, also note that you **cannot redistribute** this project. Please see [LICENSE.md](LICENSE.md) for what's allowed and what's not.

### Code setup

Clone the repo and run:

```console
mint install
```

To start a development server run:

```console
mint start
```

As a testbed, you can use the [website](https://github.com/mint-lang/mint-ui-website) project, or create temporary file with a `Main` component inside.
41 changes: 41 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Mint UI License

Depending on the type of your legal entity, you are granted permission to use Mint UI for your project. Individuals and small companies are allowed to use Mint UI create applications for free (even commercial), while a company license is required for for-profit organisations of a certain size. This two-tier system was designed to ensure funding for this project while still allowing the source code to be available and the program to be free for most. Read below for the exact terms of use.

- [Free license](#free-license)
- [Company license](#company-license)

## Free license

Copyright © 2021 [Gusztáv Szikszai](https://github.com/gdotdesign/)

### Eligibility

You are eligible to use Mint UI for free if you are:

- an individual
- a for-profit organisation with up to 3 employees
- a non-profit or not-for-profit organisation
- evaluating whether Mint UI is a good fit, and are not yet using it in a commercial way

### Allowed use cases

Permission is hereby granted, free of charge, to any person eligible for the "Free license", to use the software non-commercially or commercially for the purpose of creating applications and to modify the software to their own liking, for the purpose of fulfilling their custom use case or to contribute bug fixes or improvements back to Mint UI.

### Disallowed use cases

It is not allowed to copy or modify Mint UI code for the purpose of selling, renting, licensing, relicensing, sublicensing your own derivate of Mint UI.

### Warranty notice

The software is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and noninfringement. In no event shall the author or copyright holders be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the software or the use or other dealings in the software.

### Support

Support is provided on a best-we-can-do basis via Github Issues.

## Company license

You are required to obtain a company license to use Mint UI if you are not within the group of entities eligible for a free license. This license will enable you to use Mint UI for the allowed use cases specified in the free license, and give you access to prioritized support.

Visit [ui.mint-lang.com](https://ui.mint-lang.com/pricing) for pricing and to buy a license.
64 changes: 64 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# Mint UI

[![CI](https://github.com/mint-lang/mint-ui/actions/workflows/ci.yml/badge.svg)](https://github.com/mint-lang/mint-ui/actions/workflows/ci.yml)
[![Gitter chat](https://badges.gitter.im/gitterHQ/gitter.svg)](https://gitter.im/mint-lang/Lobby)
[![Discord](https://img.shields.io/discord/698214718241767445)](https://discord.gg/NXFUJs2)

A beautiful, fully featured, reliable UI component library for [Mint](https://www.mint-lang.com).

* 60+ ready to use, hand crafted components.
* Themable with CSS variables.
* Fully responsive.
* Data driven.

## Get started

To use Mint UI you need to install [Mint](https://www.mint-lang.com/install) first.

Create a new Mint application with:

```console
mint init my-app
```

add `mint-ui` to the `mint.json` file as a dependency:

```json
"dependencies": {
"mint-ui": {
"repository": "https://github.com/mint-lang/mint-ui",
"constraint": "1.0.0 <= v < 2.0.0"
}
}"
```

then install dependencies:

```console
$ mint install
Mint - Installing dependencies
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙ Constructing dependency tree...
✔ Cloned mint-ui(https://github.com/mint-lang/mint-ui)
✔ Cloned mint-color(https://github.com/mint-lang/mint-color)

⚙ Resolving dependency tree...
◈ mint-ui ➔ 1.0.0
◈ mint-color ➔ 0.4.0

⚙ Copying packages...
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
All done in 2.387s!"
```

## Documentation

Head to [**ui.mint-lang.com**](https://ui.mint-lang.com) to learn the in and outs of Mint UI!

## License

Be aware of that Mint UI has a special license and requires obtaining a company license in some cases. Read the [LICENSE](LICENSE.md) documentation for more information.

## Contributing

Please read [CONTRIBUTING.md](CONTRIBUTING.md) to learn about contributing to this project.
Empty file added Readme.md
Empty file.
Binary file added assets/fonts/nunito-v16-latin-ext_latin-700.woff
Binary file not shown.
Binary file added assets/fonts/nunito-v16-latin-ext_latin-700.woff2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions assets/icons/alert.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/icons/archive.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/icons/arrow-both.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/icons/arrow-down.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/icons/arrow-left.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/icons/arrow-right.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/icons/arrow-small-down.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/icons/arrow-small-left.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/icons/arrow-small-right.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/icons/arrow-small-up.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/icons/arrow-up.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/icons/beaker.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/icons/bell.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/icons/bold.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/icons/book.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/icons/bookmark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/icons/briefcase.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/icons/broadcast.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/icons/browser.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/icons/bug.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/icons/calendar.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/icons/cart.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/icons/check.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/icons/checklist.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/icons/chevron-down.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/icons/chevron-left.svg
1 change: 1 addition & 0 deletions assets/icons/chevron-right.svg
1 change: 1 addition & 0 deletions assets/icons/chevron-up.svg
1 change: 1 addition & 0 deletions assets/icons/circle-slash.svg
1 change: 1 addition & 0 deletions assets/icons/circuit-board.svg
1 change: 1 addition & 0 deletions assets/icons/clippy.svg
1 change: 1 addition & 0 deletions assets/icons/clock.svg
1 change: 1 addition & 0 deletions assets/icons/cloud-download.svg
1 change: 1 addition & 0 deletions assets/icons/cloud-upload.svg
1 change: 1 addition & 0 deletions assets/icons/code.svg
1 change: 1 addition & 0 deletions assets/icons/comment-discussion.svg
1 change: 1 addition & 0 deletions assets/icons/comment.svg
1 change: 1 addition & 0 deletions assets/icons/credit-card.svg
1 change: 1 addition & 0 deletions assets/icons/dash.svg
1 change: 1 addition & 0 deletions assets/icons/dashboard.svg
1 change: 1 addition & 0 deletions assets/icons/database.svg
Loading

0 comments on commit 97e59a9

Please sign in to comment.