@@ -19,10 +19,22 @@ This package contains [Laravel Blade Components](https://laravel.com/docs/7.x/bl
1919 - [ Installation] ( #installation )
2020 - [ Extract Plugins] ( #extract-plugins )
2121 - [ Configurations] ( #configurations )
22+ - [ Components] ( #components )
23+ - [ Widgets] ( #widgets )
24+ - [ ** INFO BOX** ] ( #info-box )
25+ - [ ** SMALL BOX** ] ( #small-box )
26+ - [ ** CARDS** ] ( #cards )
27+ - [ ** ALERT** ] ( #alert )
2228 - [ ** CALLOUT** ] ( #callout )
2329 - [ ** PROGRESS** ] ( #progress )
2430 - [ ** PROFILE FLAT** ] ( #profile-flat )
2531 - [ ** PROFILE WIDGET** ] ( #profile-widget )
32+ - [ ** MODAL** ] ( #modal )
33+ - [ ** DATATABLE** ] ( #datatable )
34+ - [ Form Components] ( #form-components )
35+ - [ INPUT] ( #input )
36+ - [ INPUT-FILE] ( #input-file )
37+ - [ INPUT-COLOR] ( #input-color )
2638 - [ INPUT-DATE] ( #input-date )
2739 - [ DATE-RANGE] ( #date-range )
2840 - [ INPUT-SWITCH] ( #input-switch )
@@ -185,12 +197,37 @@ Use this in the [jeroennoten/Laravel-AdminLTE](https://github.com/jeroennoten/La
185197| icon | The fontawesome icon class. Eg. `` fas fa-star `` , `` fas fa-user-plus `` | false | string |
186198| grad | Use gradient color? `` true/false `` | false | boolean |
187199| full | Use full INFO BOX? `` true/false `` | false | boolean |
200+ | progress | Show Progress bar? | false | int |
201+ | comment | Show comment? | false | string |
202+ | id | Dynamic Binding? | false | string |
188203
189204** EXAMPLE**
190205``` html
191206<x-dg-info-box bg =" success" title =" Yo title" text =" 123" icon =" fas fa-star" :full =" true" :grad =" true" />
192207```
193208
209+ ** DYNAMIC BINDINGS**
210+ Set `` id `` attibute, this will enable dynamic attributes for:
211+ | ID |
212+ | ----|
213+ | #{id}-title|
214+ | #{id}-text|
215+ | #{id}-progress|
216+ | #{id}-comment|
217+
218+ ** EXAMPLE**
219+ ``` html
220+ <x-dg-info-box bg =" success" title =" Users" text =" 100" icon =" fas fa-star" :full =" true" :grad =" true" id =" userbox" />
221+
222+ <script >
223+ $ (()=> {
224+ $ (' #userbox-title' ).text (' Users' );
225+ $ (' #userbox-text' ).text (' 102' );
226+ });
227+ </script >
228+ ```
229+
230+
194231#### ** SMALL BOX**
195232![ Small Box] ( assets/small-box.png )
196233
@@ -208,12 +245,33 @@ Use this in the [jeroennoten/Laravel-AdminLTE](https://github.com/jeroennoten/La
208245| url | The url to follow. | false | string |
209246| urlText | Text of the HyperLink. | false | string |
210247| loading | Set loading state `` true/false `` | false | boolean |
248+ | id | Dynamic Binding? | false | string |
211249
212250** EXAMPLE**
213251``` html
214252<x-dg-small-box title =" Small box" text =" 500" bg =" warning" url =" #" urlText =" See More" loading =" false" />
215253```
216254
255+ ** DYNAMIC BINDINGS**
256+ Set `` id `` attibute, this will enable dynamic attributes for:
257+ | ID |
258+ | ----|
259+ | #{id}-title|
260+ | #{id}-text|
261+ | #{id}-link|
262+
263+ ** EXAMPLE**
264+ ``` html
265+ <x-dg-small-box title =" Small box" text =" 500" bg =" warning" url =" #" urlText =" See More" loading =" false" $id =" userbox" />
266+
267+ <script >
268+ $ (()=> {
269+ $ (' #userbox-text' ).text (' 102' );
270+ $ (' #userbox-link' ).attr (' href' ,new .link );
271+ });
272+ </script >
273+ ```
274+
217275#### ** CARDS**
218276![ Cards] ( assets/cards.png )
219277
@@ -409,11 +467,6 @@ $(()=>{
409467| value | Input value | null | string |
410468| disabled | is disabled? | false | boolean |
411469| required | is required? | false | boolean |
412- | step | attr: step | null | string |
413- | max | attr: max | null | string |
414- | maxlength | attr: maxlength | null | string |
415- | pattern | attr: pattern | null | string |
416-
417470
418471#### INPUT-FILE
419472** REQUIRES**
0 commit comments