Skip to content

Commit

Permalink
Add first version
Browse files Browse the repository at this point in the history
  • Loading branch information
marcw committed Apr 10, 2021
1 parent 651f417 commit 236f05b
Show file tree
Hide file tree
Showing 463 changed files with 1,609 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
yarn.lock
composer.lock
node_modules
.phpunit.result.cache

/vendor/
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
all:
yarn
mkdir -p resources/heroicons
cp -r node_modules/heroicons/outline resources/heroicons/
cp -r node_modules/heroicons/solid resources/heroicons/
cp node_modules/heroicons/LICENSE resources/heroicons/
19 changes: 18 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,18 @@
# twig-heroicons
# Twig Heroicons

This package provides an Heroicons integration for Twig.

## Install

Use composer:

```bash
composer require marcw/twig-heroicons

```

## Use

## License

This library is MIT licensed.
28 changes: 28 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"name": "marcw/twig-heroicons",
"description": "Unofficial Twig integration for Heroicons",
"type": "library",
"license": "MIT",
"autoload": {
"psr-4": {
"MarcW\\Heroicons\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"MarcW\\Heroicons\\Tests\\": "tests/"
}
},
"authors": [
{
"name": "Marc Weistroff",
"email": "marc@weistroff.net"
}
],
"require": {
"twig/twig": "^3.3"
},
"require-dev": {
"phpunit/phpunit": "^9.5"
}
}
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"devDependencies": {
"heroicons": "^1.0.0"
}
}
8 changes: 8 additions & 0 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" backupStaticAttributes="false" colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="false" bootstrap="vendor/autoload.php" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
<testsuites>
<testsuite name="twig-heroicons Test Suite">
<directory>./tests/</directory>
</testsuite>
</testsuites>
</phpunit>
21 changes: 21 additions & 0 deletions resources/heroicons/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2020 Refactoring UI Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

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, 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.
5 changes: 5 additions & 0 deletions resources/heroicons/outline/academic-cap.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions resources/heroicons/outline/adjustments.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions resources/heroicons/outline/annotation.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions resources/heroicons/outline/archive.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions resources/heroicons/outline/arrow-circle-down.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions resources/heroicons/outline/arrow-circle-left.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions resources/heroicons/outline/arrow-circle-right.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions resources/heroicons/outline/arrow-circle-up.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions resources/heroicons/outline/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.
3 changes: 3 additions & 0 deletions resources/heroicons/outline/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.
3 changes: 3 additions & 0 deletions resources/heroicons/outline/arrow-narrow-down.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions resources/heroicons/outline/arrow-narrow-left.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions resources/heroicons/outline/arrow-narrow-right.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions resources/heroicons/outline/arrow-narrow-up.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions resources/heroicons/outline/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.
3 changes: 3 additions & 0 deletions resources/heroicons/outline/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.
3 changes: 3 additions & 0 deletions resources/heroicons/outline/arrows-expand.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions resources/heroicons/outline/at-symbol.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions resources/heroicons/outline/backspace.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions resources/heroicons/outline/badge-check.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions resources/heroicons/outline/ban.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions resources/heroicons/outline/beaker.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions resources/heroicons/outline/bell.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions resources/heroicons/outline/book-open.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions resources/heroicons/outline/bookmark-alt.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions resources/heroicons/outline/bookmark.svg
3 changes: 3 additions & 0 deletions resources/heroicons/outline/briefcase.svg
3 changes: 3 additions & 0 deletions resources/heroicons/outline/cake.svg
3 changes: 3 additions & 0 deletions resources/heroicons/outline/calculator.svg
3 changes: 3 additions & 0 deletions resources/heroicons/outline/calendar.svg
4 changes: 4 additions & 0 deletions resources/heroicons/outline/camera.svg
3 changes: 3 additions & 0 deletions resources/heroicons/outline/cash.svg
3 changes: 3 additions & 0 deletions resources/heroicons/outline/chart-bar.svg
4 changes: 4 additions & 0 deletions resources/heroicons/outline/chart-pie.svg
3 changes: 3 additions & 0 deletions resources/heroicons/outline/chart-square-bar.svg
3 changes: 3 additions & 0 deletions resources/heroicons/outline/chat-alt-2.svg
3 changes: 3 additions & 0 deletions resources/heroicons/outline/chat-alt.svg
3 changes: 3 additions & 0 deletions resources/heroicons/outline/chat.svg
3 changes: 3 additions & 0 deletions resources/heroicons/outline/check-circle.svg
3 changes: 3 additions & 0 deletions resources/heroicons/outline/check.svg
3 changes: 3 additions & 0 deletions resources/heroicons/outline/chevron-double-down.svg
3 changes: 3 additions & 0 deletions resources/heroicons/outline/chevron-double-left.svg
3 changes: 3 additions & 0 deletions resources/heroicons/outline/chevron-double-right.svg
3 changes: 3 additions & 0 deletions resources/heroicons/outline/chevron-double-up.svg
3 changes: 3 additions & 0 deletions resources/heroicons/outline/chevron-down.svg
3 changes: 3 additions & 0 deletions resources/heroicons/outline/chevron-left.svg
3 changes: 3 additions & 0 deletions resources/heroicons/outline/chevron-right.svg
3 changes: 3 additions & 0 deletions resources/heroicons/outline/chevron-up.svg
3 changes: 3 additions & 0 deletions resources/heroicons/outline/chip.svg
3 changes: 3 additions & 0 deletions resources/heroicons/outline/clipboard-check.svg
3 changes: 3 additions & 0 deletions resources/heroicons/outline/clipboard-copy.svg
3 changes: 3 additions & 0 deletions resources/heroicons/outline/clipboard-list.svg
3 changes: 3 additions & 0 deletions resources/heroicons/outline/clipboard.svg
3 changes: 3 additions & 0 deletions resources/heroicons/outline/clock.svg
3 changes: 3 additions & 0 deletions resources/heroicons/outline/cloud-download.svg
3 changes: 3 additions & 0 deletions resources/heroicons/outline/cloud-upload.svg
3 changes: 3 additions & 0 deletions resources/heroicons/outline/cloud.svg
Loading

0 comments on commit 236f05b

Please sign in to comment.