Skip to content

Commit

Permalink
Icon 1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Awilum committed Aug 25, 2020
1 parent 88144d7 commit 7c00f54
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 13 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
<a name="1.3.0"></a>
# [1.3.0](https://github.com/flextype-plugins/form-icon/compare/v1.2.0...v1.3.0) (2020-08-25)

### Features

* **core** update code base for new Flextype 0.9.11

<a name="1.2.0"></a>
# [1.2.0](https://github.com/flextype-plugins/form-admin/compare/v1.1.2...v1.2.0) (2020-08-19)
# [1.2.0](https://github.com/flextype-plugins/icon/compare/v1.1.2...v1.2.0) (2020-08-19)

### Features

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<h1 align="center">Icon Plugin for <a href="http://flextype.org/">Flextype</a></h1>

<p align="center">
<a href="https://github.com/flextype-plugins/icon/releases"><img alt="Version" src="https://img.shields.io/github/release/flextype-plugins/icon/icon.svg?label=version&color=black"></a> <a href="https://github.com/flextype-plugins/icon"><img src="https://img.shields.io/badge/license-MIT-blue.svg?color=black" alt="License"></a> <a href="https://github.com/flextype-plugins/icon"><img src="https://img.shields.io/github/downloads/flextype-plugins/icon/total.svg?color=black" alt="Total downloads"></a> <a href="https://github.com/flextype/flextype"><img src="https://img.shields.io/badge/Flextype-0.9.10-green.svg?color=black" alt="Flextype"></a> <a href=""><img src="https://img.shields.io/discord/423097982498635778.svg?logo=discord&color=black&label=Discord%20Chat" alt="Discord"></a>
<a href="https://github.com/flextype-plugins/icon/releases"><img alt="Version" src="https://img.shields.io/github/release/flextype-plugins/icon/icon.svg?label=version&color=black"></a> <a href="https://github.com/flextype-plugins/icon"><img src="https://img.shields.io/badge/license-MIT-blue.svg?color=black" alt="License"></a> <a href="https://github.com/flextype-plugins/icon"><img src="https://img.shields.io/github/downloads/flextype-plugins/icon/total.svg?color=black" alt="Total downloads"></a> <a href="https://github.com/flextype/flextype"><img src="https://img.shields.io/badge/Flextype-0.9.11-green.svg?color=black" alt="Flextype"></a> <a href=""><img src="https://img.shields.io/discord/423097982498635778.svg?logo=discord&color=black&label=Discord%20Chat" alt="Discord"></a>
</p>

Icon plugin to present [Font Awesome](https://fontawesome.com/) icons set for Flextype.
Expand All @@ -14,7 +14,7 @@ The following dependencies need to be installed for Icon Plugin.

| Item | Version | Download |
|---|---|---|
| [flextype](https://github.com/flextype/flextype) | 0.9.10 | [download](https://github.com/flextype/flextype/releases) |
| [flextype](https://github.com/flextype/flextype) | 0.9.11 | [download](https://github.com/flextype/flextype/releases) |
| [twig](https://github.com/flextype-plugins/twig) | >=1.0.0 | [download](https://github.com/flextype-plugins/twig/releases) |

## Installation
Expand Down
8 changes: 2 additions & 6 deletions app/Models/Icon.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,13 @@

class Icon
{
/**
* Flextype Application
*/
protected $flextype;

/**
* __construct
*/
public function __construct($flextype)
public function __construct()
{
$this->flextype = $flextype;

}

public static function icon($value = null) : string
Expand Down
2 changes: 1 addition & 1 deletion dependencies.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
use Flextype\Plugin\Icon\Twig\IconTwigExtension;

// Add Icon Twig Extension
$flextype->container('twig')->addExtension(new IconTwigExtension($flextype));
flextype('twig')->addExtension(new IconTwigExtension());
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Icon",
"version": "1.2.0",
"version": "1.3.0",
"description": "Icon plugin to present Font Awesome icons set for Flextype.",
"homepage": "https://flextype.org",
"author": "Sergey Romanenko",
Expand Down
4 changes: 2 additions & 2 deletions plugin.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Icon
version: 1.2.0
version: 1.3.0
description: Icon plugin to present Font Awesome icons set for Flextype.
icon: fab fa-font-awesome-flag
author:
Expand All @@ -11,5 +11,5 @@ bugs: https://github.com/flextype-plugins/icon/issues
license: MIT

dependencies:
flextype: 0.9.10
flextype: 0.9.11
twig: '>=1.0.0'

0 comments on commit 7c00f54

Please sign in to comment.