From f35b0670761b72b907594080a03cac283079c997 Mon Sep 17 00:00:00 2001
From: Niggl
Date: Sat, 29 Aug 2020 13:55:43 +0200
Subject: [PATCH] Now based on mailtoui
---
.csslintrc | 5 +
.eslintignore | 1 +
.eslintrc | 23 +
.eslintrc.json | 19 -
.gitignore | 9 +-
README.md | 71 +-
babel.config.js | 13 -
dist/mailgo.min.js | 1 -
dist/mailtoui-min.js | 8 +
gulpfile.js | 138 +
i18n/i18n.json | 32 -
mailgo.d.ts | 52 -
package-lock.json | 9195 +++++++++++++++++++++++++++++++++++
package.json | 91 +-
sample.html | 28 -
src/css/component-min.css | 1 +
src/html/component-min.html | 1 +
src/html/component.html | 49 +
src/js/mailtoui.js | 1138 +++++
src/mailgo.scss | 281 --
src/mailgo.ts | 990 ----
src/scss/component.scss | 305 ++
tsconfig.json | 19 -
webpack.config.js | 45 -
webpack/mailgo.dist.ts | 8 -
webpack/mailgo.lib.ts | 2 -
yarn.lock | 4855 ------------------
27 files changed, 10984 insertions(+), 6396 deletions(-)
create mode 100644 .csslintrc
create mode 100644 .eslintignore
create mode 100644 .eslintrc
delete mode 100644 .eslintrc.json
delete mode 100644 babel.config.js
delete mode 100644 dist/mailgo.min.js
create mode 100644 dist/mailtoui-min.js
create mode 100644 gulpfile.js
delete mode 100644 i18n/i18n.json
delete mode 100644 mailgo.d.ts
create mode 100644 package-lock.json
delete mode 100644 sample.html
create mode 100644 src/css/component-min.css
create mode 100644 src/html/component-min.html
create mode 100644 src/html/component.html
create mode 100644 src/js/mailtoui.js
delete mode 100644 src/mailgo.scss
delete mode 100644 src/mailgo.ts
create mode 100644 src/scss/component.scss
delete mode 100644 tsconfig.json
delete mode 100644 webpack.config.js
delete mode 100644 webpack/mailgo.dist.ts
delete mode 100644 webpack/mailgo.lib.ts
delete mode 100644 yarn.lock
diff --git a/.csslintrc b/.csslintrc
new file mode 100644
index 0000000..830ea91
--- /dev/null
+++ b/.csslintrc
@@ -0,0 +1,5 @@
+{
+ "box-model": false,
+ "box-sizing": false,
+ "outline-none": false
+}
diff --git a/.eslintignore b/.eslintignore
new file mode 100644
index 0000000..9b1c8b1
--- /dev/null
+++ b/.eslintignore
@@ -0,0 +1 @@
+/dist
diff --git a/.eslintrc b/.eslintrc
new file mode 100644
index 0000000..40a8060
--- /dev/null
+++ b/.eslintrc
@@ -0,0 +1,23 @@
+{
+ "parserOptions": {
+ "ecmaVersion": 8,
+ "sourceType": "module"
+ },
+ "plugins": ["prettier"],
+ "extends": ["plugin:prettier/recommended"],
+ "rules": {
+ "prettier/prettier": [
+ "error",
+ {
+ "semi": true,
+ "singleQuote": true,
+ "printWidth": 125,
+ "tabWidth": 4,
+ "useTabs": false,
+ "trailingComma": "none",
+ "bracketSpacing": true,
+ "parser": "flow"
+ }
+ ]
+ }
+}
diff --git a/.eslintrc.json b/.eslintrc.json
deleted file mode 100644
index f6bd46b..0000000
--- a/.eslintrc.json
+++ /dev/null
@@ -1,19 +0,0 @@
-{
- "env": {
- "browser": true,
- "es2020": true
- },
- "extends": [
- "airbnb-base"
- ],
- "parser": "@typescript-eslint/parser",
- "parserOptions": {
- "ecmaVersion": 2020,
- "sourceType": "module"
- },
- "plugins": [
- "@typescript-eslint"
- ],
- "rules": {
- }
-}
diff --git a/.gitignore b/.gitignore
index 6ebed66..e8f5506 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,7 @@
-node_modules
+/node_modules
.DS_Store
-.cache
-yarn.lock
\ No newline at end of file
+.eslintrc.json
+.vscode
+serve
+compile
+publish
diff --git a/README.md b/README.md
index 2b78c88..7eeab11 100644
--- a/README.md
+++ b/README.md
@@ -1,22 +1,59 @@
-# 📧 mailymaily
+
+
+
+
+
-## Usage
-### CC
-`data-cc-address` and `data-cc-domain` to recreate cc: `data-cc-address@data-cc-domain`
-### BCC
-`data-bcc-address` and `data-bcc-domain` to recreate bcc: `data-bcc-address@data-bcc-domain`
-### Subject
-`data-subject` for the subject of the email
-### Body
-`data-body` for the body of the email
+A simple way to enhance your mailto links with a convenient user interface.
-## Dev
-### Dependencies
-```
-yarn
+
+
+
+
+
+
+
+## Introduction
+
+MailtoUI is a JavaScript library that enhances your mailto links with a convenient user interface. It gives your users the flexibility to compose a new message using a browser-based email client or their default local email app.
+
+MailtoUI is ideal for static sites or any other site where you don't want to spend time setting up a "Contact Us" form solution.
+
+## Quick Setup
+
+### STEP 1
+
+Add MailtoUI via CDN to the bottom of your page, just before the closing `
+ ...
+ ...
+
+