From 0f245d0bc1a62e4bcf2bd45635dfbde32980bfdb Mon Sep 17 00:00:00 2001 From: Melvin Beemer Date: Thu, 25 Feb 2021 13:38:10 +0700 Subject: [PATCH] Add support for the component and slot directives --- CHANGELOG.md | 4 ++++ Completions/Blade.xml | 4 ++++ Syntaxes/Blade.xml | 4 ++++ Tests/test.blade.php | 3 +++ extension.json | 2 +- 5 files changed, 16 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 619a3d9..8b532ca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## Version 0.7 + +- Added support for the @component and @slot directives + ## Version 0.6 - Added support for the @dd and @parent directives diff --git a/Completions/Blade.xml b/Completions/Blade.xml index 3f9bfa2..bcd76c9 100644 --- a/Completions/Blade.xml +++ b/Completions/Blade.xml @@ -49,6 +49,8 @@ + + @@ -97,5 +99,7 @@ + + diff --git a/Syntaxes/Blade.xml b/Syntaxes/Blade.xml index 5ef37c6..6cb4f0a 100644 --- a/Syntaxes/Blade.xml +++ b/Syntaxes/Blade.xml @@ -183,6 +183,8 @@ endstory endtask parent + endcomponent + endslot @@ -231,6 +233,8 @@ story task dd + component + slot diff --git a/Tests/test.blade.php b/Tests/test.blade.php index a104846..809ddb7 100644 --- a/Tests/test.blade.php +++ b/Tests/test.blade.php @@ -25,6 +25,9 @@ @auth($test) @empty
No articles.
diff --git a/extension.json b/extension.json index 5f2195f..43dacb5 100644 --- a/extension.json +++ b/extension.json @@ -3,7 +3,7 @@ "name": "Blade", "organization": "Melvin Beemer", "description": "Syntax highlighting and completion for Laravel Blade", - "version": "0.6", + "version": "0.7", "license": "MIT", "bugs": "https://github.com/melvinbeemer/Blade.novaextension/issues", "repository": "https://github.com/melvinbeemer/Blade.novaextension",