Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
engram-design committed Feb 12, 2023
0 parents commit f23c519
Show file tree
Hide file tree
Showing 147 changed files with 21,806 additions and 0 deletions.
435 changes: 435 additions & 0 deletions .eslintrc.js

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# These are supported funding model platforms

github: verbb
56 changes: 56 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: Bug Report
description: Create a report to help us improve.
body:
- type: markdown
attributes:
value: |
Before you send through your bug report, please ensure you have taken these steps first:
✅ I‘ve searched open and closed issues.
- type: textarea
id: bug-description
attributes:
label: Describe the bug
description: Describe the bug and what behaviour you expect if the bug is fixed.
placeholder: "I have an issue where..."
validations:
required: true
- type: textarea
id: steps-to-reproduce
attributes:
label: Steps to reproduce
description: Detail how we can reproduce this issue.
value: |
1.
2.
validations:
required: true
- type: input
id: craft-version
attributes:
label: Craft CMS version
description: What version of Craft CMS you‘re using. **Do not write "latest"**.
validations:
required: true
- type: input
id: plugin-version
attributes:
label: Plugin version
description: What version of the plugin you‘re using. **Do not write "latest"**.
validations:
required: true
- type: input
id: multi-site
attributes:
label: Multi-site?
description: Whether your install is a multi-site.
placeholder: |
"Yes" or "No"
- type: textarea
id: additional-context
attributes:
label: Additional context
description: Provide any additional information you think might be useful. The more information you provide the easier it‘ll be for use to fix this bug!
placeholder: |
"I also have X plugin installed..." or "This only happens on production..."
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Craft Discord
url: https://craftcms.com/discord
about: Community discussion and support.
24 changes: 24 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Feature Request
description: Suggest an idea or enhancement.
labels: 'feature request'
body:
- type: textarea
id: feature-description
attributes:
label: What are you trying to do?
description: A description of what you want to happen.
placeholder: "I would like to see..."
validations:
required: true
- type: textarea
id: proposed-solution
attributes:
label: What's your proposed solution?
description: A description of how you think this could be solved, including any alternatives that you considered.
validations:
required: true
- type: textarea
id: additional-context
attributes:
label: Additional context
description: Add any other context or screenshots about the feature request here.
25 changes: 25 additions & 0 deletions .github/ISSUE_TEMPLATE/support_request.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Question
description: Ask a question about this plugin. DO NOT use this to submit bug reports.
labels: 'question'
body:
- type: markdown
attributes:
value: |
Before you send through your question, please ensure you have taken these steps first:
✅ I‘ve searched open and closed issues.
✅ This is not a bug report, just a general question.
- type: textarea
id: question
attributes:
label: Question
description: A question about the plugin or how it works.
placeholder: "Is it possible to do..."
validations:
required: true
- type: textarea
id: additional-context
attributes:
label: Additional context
description: Add any other context or screenshots about your question here.
31 changes: 31 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# CRAFT ENVIRONMENT
.env.php
.env.sh
.env

# COMPOSER
/vendor

# BUILD FILES
/bower_components/*
/node_modules/*
/build/*
/yarn-error.log

# MISC FILES
.cache
.DS_Store
.idea
.project
.settings
.map
*.esproj
*.sublime-workspace
*.sublime-project
*.tmproj
*.tmproject
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Changelog

## 1.0.0 - 2023-02-14

### Added
- Initial release
40 changes: 40 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
Copyright © Verbb

Permission is hereby granted to any person obtaining a copy of this software
(the “Software”) to use, copy, modify, merge, publish and/or distribute copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:

1. **Don’t plagiarize.** The above copyright notice and this license shall be
included in all copies or substantial portions of the Software.

2. **Don’t use the same license on more than one project.** Each licensed copy
of the Software shall be actively installed in no more than one production
environment at a time.

3. **Don’t mess with the licensing features.** Software features related to
licensing shall not be altered or circumvented in any way, including (but
not limited to) license validation, payment prompts, feature restrictions,
and update eligibility.

4. **Pay up.** Payment shall be made immediately upon receipt of any notice,
prompt, reminder, or other message indicating that a payment is owed.

5. **Follow the law.** All use of the Software shall not violate any applicable
law or regulation, nor infringe the rights of any other person or entity.

Failure to comply with the foregoing conditions will automatically and
immediately result in termination of the permission granted hereby. This
license does not include any right to receive updates to the Software or
technical support. Licensees bear all risk related to the quality and
performance of the Software and any modifications made or obtained to it,
including liability for actual and consequential harm, such as loss or
corruption of data, and any necessary service, repair, or correction.

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
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES, OR OTHER
LIABILITY, INCLUDING SPECIAL, INCIDENTAL AND CONSEQUENTIAL DAMAGES, 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.
41 changes: 41 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Hyper Plugin for Craft CMS
Hyper is a Craft CMS field for creating links, with a focus on user experience and flexibility.

## Features
- Create single or multiple links in just one field.
- Link to elements (Entries, Categories, etc), URLs, Email, and even Embed social media links.
- Built-in (optional) fields for link text, link title, suffix, Aria label, classes, attributes and more.
- Add any custom field to your link type. This could be additional text, an icon - even a Matrix field.
- Create multiple link types. e.g. a "Blog" link which can only select blog section entries, etc.
- Enable or disable the link types you require for a given field.
- Customise the link type field layout to include just the settings you need.
- Intelligent caching for element-based links to save database calls.
- Plenty of template helpers to make rendering links a breeze and extensible.
- GraphQL support for querying links.
- Feed Me support for importing links in elements like entries.
- One-click migrations for [Typed Link](https://github.com/sebastian-lenz/craft-linkfield), [Linkit](https://github.com/presseddigital/linkit) and [Link](https://github.com/flipboxfactory/craft-link) fields.
- Events to write your own link types, or extend existing ones.

## Link Types
- Asset
- Category
- Custom
- Email
- Embed (oembed)
- Entry
- Phone
- Site
- Url
- User

## Documentation
Visit the [Hyper Plugin page](https://verbb.io/craft-plugins/hyper) for all documentation, guides, pricing and developer resources.

## Support
Get in touch with us via the [Hyper Support page](https://verbb.io/craft-plugins/hyper/support) or by [creating a Github issue](https://github.com/verbb/hyper/issues)

<h2></h2>

<a href="https://verbb.io" target="_blank">
<img width="100" src="https://verbb.io/assets/img/verbb-pill.svg">
</a>
45 changes: 45 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"name": "verbb/hyper",
"description": "A user-friendly links field for Craft.",
"type": "craft-plugin",
"version": "1.0.0",
"keywords": [
"craft",
"cms",
"craftcms",
"craft-plugin",
"hyper"
],
"support": {
"email": "[email protected]",
"issues": "https://github.com/verbb/hyper/issues?state=open",
"source": "https://github.com/verbb/hyper",
"docs": "https://github.com/verbb/hyper",
"rss": "https://github.com/verbb/hyper/commits/v2.atom"
},
"license": "proprietary",
"authors": [
{
"name": "Verbb",
"homepage": "https://verbb.io"
}
],
"require": {
"php": "^8.0.2",
"craftcms/cms": "^4.0.0",
"embed/embed": "^3.0.0 || ^4.0.0",
"nystudio107/craft-plugin-vite": "^4.0.0-beta.4",
"verbb/base": "^2.0.0"
},
"autoload": {
"psr-4": {
"verbb\\hyper\\": "src/"
}
},
"extra": {
"name": "Hyper",
"handle": "hyper",
"changelogUrl": "https://raw.githubusercontent.com/verbb/hyper/craft-4/CHANGELOG.md",
"class": "verbb\\hyper\\Hyper"
}
}
Loading

0 comments on commit f23c519

Please sign in to comment.