-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(plex): actualiza demostracion de componentes
- Loading branch information
Showing
9 changed files
with
294 additions
and
417 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import { Component } from '@angular/core'; | ||
|
||
@Component({ | ||
selector: 'plex-group-demo', | ||
templateUrl: 'group.html', | ||
}) | ||
export class DemoGroupComponent { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
<plex-layout main="8"> | ||
<plex-layout-main> | ||
<plex-title titulo="plex-group"> </plex-title> | ||
<p class="lead">El componente <em>plex-group</em> se utiliza para incorporar los títulos que definen cada pantalla o sección.</p> | ||
|
||
<plex-title titulo="Atributo SIZE" size="sm"></plex-title> | ||
<p>El atributo size es opcional y su valor por defecto es 'lg'.</p> | ||
<section class="my-4"> | ||
<div class="d-flex flex-column justify-content-start w-100 outline-dashed-default"> | ||
<div class="row mt-2" align="center"> | ||
<div class="col-12 col-md-6"> | ||
<plex-title titulo="Titulo 'sm'" size="sm"></plex-title> | ||
<p class="lead">size="sm"</p> | ||
</div> | ||
<div class="col-12 col-md-6"> | ||
<plex-title titulo="Titulo 'md'" size="md"></plex-title> | ||
<p class="lead">size="md"</p> | ||
</div> | ||
</div> | ||
<div class="row mt-2" align="center"> | ||
<div class="col-12 col-md-6"> | ||
<plex-title titulo="Titulo 'lg'" size="lg"></plex-title> | ||
<p class="lead">size="lg"</p> | ||
</div> | ||
<div class="col-12 col-md-6"> | ||
<plex-title titulo="Titulo 'xl'" size="xl"></plex-title> | ||
<p class="lead">size="xl"</p> | ||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
|
||
<plex-title titulo="Contenido" size="sm"></plex-title> | ||
<p>Puede agregar componentes Plex u otro elemento al titulo para visualizar información o disparar acciones.</p> | ||
<section class="mt-4"> | ||
<div class="d-flex flex-column justify-content-start w-100 outline-dashed-default"> | ||
<div class="row mt-2" align="center"> | ||
<div class="col-12 col-md-6"> | ||
<plex-title titulo="Titulo con botón'" size="sm"> | ||
<plex-button type="warning" label="Disparar acción" size="sm"></plex-button> | ||
</plex-title> | ||
</div> | ||
<div class="col-12 col-md-6"> | ||
<plex-title titulo="Titulo con plex-help" size="md"> | ||
<plex-help type="help" titulo="Ayuda de este panel" size="sm"> | ||
<div class="ml-4 mb-4" *plHelp> | ||
<label>Organización:</label> | ||
prestacion.solicitud.organizacion.nombre | ||
</div> | ||
</plex-help> | ||
</plex-title> | ||
</div> | ||
</div> | ||
<div class="row mt-4" align="center"> | ||
<div class="col-12 col-md-6"> | ||
<plex-title titulo="Titulo con Badge + Icono" size="md"> | ||
<plex-badge size="sm" type="warning" class="mr-1">TEMPORAL | ||
<plex-button icon="clock" size="sm"></plex-button> | ||
</plex-badge> | ||
</plex-title> | ||
</div> | ||
<div class="col-12 col-md-6"> | ||
<plex-title titulo="Titulo con badge" size="md"> | ||
<plex-badge size="sm" type="warning" class="mr-1">warning</plex-badge> | ||
<plex-badge size="sm" type="info">info</plex-badge> | ||
</plex-title> | ||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
</plex-layout-main> | ||
<plex-layout-sidebar type="invert"> | ||
<plex-title titulo="Atributo type"></plex-title> | ||
<p>El atributo type es opcional y su valor por defecto es 'info'.</p> | ||
<section class="mt-4"> | ||
<div class="d-flex flex-column justify-content-start w-100"> | ||
<div class="row mt-2" align="center"> | ||
<div class="col-12"> | ||
<plex-title titulo="Titulo de ejemplo" size="md" type="info"></plex-title> | ||
<p>type="info"</p> | ||
</div> | ||
<div class="col-12"> | ||
<plex-title titulo="Titulo de ejemplo" size="md" type="warning"></plex-title> | ||
<p>type="warning"</p> | ||
</div> | ||
<div class="col-12"> | ||
<plex-title titulo="Titulo de ejemplo" size="md" type="success"></plex-title> | ||
<p>type="success"</p> | ||
</div> | ||
<div class="col-12"> | ||
<plex-title titulo="Titulo de ejemplo" size="md" type="danger"></plex-title> | ||
<p>type="danger"</p> | ||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
</plex-layout-sidebar> | ||
</plex-layout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,70 @@ | ||
<plex-layout> | ||
<plex-layout main="8"> | ||
<plex-layout-main> | ||
<ng-container *ngFor="let icon of adi"> | ||
<plex-title titulo="plex-icon"> </plex-title> | ||
<p class="lead">El componente <em>plex-icon</em> se utiliza para agrupar botones, badges y texto de manera ordenada.</p> | ||
<p>Listado de íconos disponibles en <a target="_blank" | ||
href="https://www.andes.gob.ar/andes-font-icon/">https://www.andes.gob.ar/andes-font-icon/</a>.</p> | ||
|
||
<span> | ||
<plex-icon [name]="icon" type="info"></plex-icon> | ||
</span> | ||
|
||
</ng-container> | ||
<section class="d-flex flex-row justify-content-between w-100 mt-4"> | ||
<div class="d-flex flex-column justify-content-start w-100"> | ||
<plex-title titulo="Atributo SIZE" size="sm"></plex-title> | ||
|
||
<div class="row mt-4" align="center"> | ||
<div class="col"> | ||
<plex-icon name="emoticon" size="xs"></plex-icon> | ||
<p class="lead">xs</p> | ||
</div> | ||
<div class="col"> | ||
<plex-icon name="emoticon" size="sm"></plex-icon> | ||
<p class="lead">sm</p> | ||
</div> | ||
<div class="col"> | ||
<plex-icon name="emoticon" size="md"></plex-icon> | ||
<p class="lead">md</p> | ||
</div> | ||
<div class="col"> | ||
<plex-icon name="emoticon" size="lg"></plex-icon> | ||
<p class="lead">lg</p> | ||
</div> | ||
<div class="col"> | ||
<plex-icon name="emoticon" size="xl"></plex-icon> | ||
<p class="lead">xl</p> | ||
</div> | ||
<div class="col"> | ||
<plex-icon name="emoticon" size="xxl"></plex-icon> | ||
<p class="lead">xxl</p> | ||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
</plex-layout-main> | ||
<plex-layout-sidebar type="invert"> | ||
<plex-title titulo="Atributo type"></plex-title> | ||
<section class="d-flex flex-row justify-content-between w-100 mt-4"> | ||
<div class="d-flex flex-column justify-content-start w-100"> | ||
<div class="row mt-2" align="center"> | ||
<div class="col"> | ||
<plex-icon name="emoticon" size="lg"></plex-icon> | ||
<p>light</p> | ||
</div> | ||
<div class="col"> | ||
<plex-icon name="emoticon" size="lg" type="success"></plex-icon> | ||
<p>success</p> | ||
</div> | ||
<div class="col"> | ||
<plex-icon name="emoticon" size="lg" type="warning"></plex-icon> | ||
<p>warning</p> | ||
</div> | ||
<div class="col"> | ||
<plex-icon name="emoticon" size="lg" type="info"></plex-icon> | ||
<p>info</p> | ||
</div> | ||
<div class="col"> | ||
<plex-icon name="emoticon" size="lg" type="danger"></plex-icon> | ||
<p>danger</p> | ||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
</plex-layout-sidebar> | ||
</plex-layout> |
Oops, something went wrong.