preload redacted and visibility hidden (#1584)

* preload redacted and visibility hidden

* remove comment

* update patchdb

Co-authored-by: Lucy Cifferello <12953208+elvece@users.noreply.github.com>
This commit is contained in:
Matt Hill
2022-06-29 09:13:52 -06:00
committed by GitHub
parent 4b0ff07d70
commit 005c46cb06
4 changed files with 76 additions and 73 deletions

View File

@@ -1,74 +1,79 @@
<!-- Ionicons --> <div style="display: none">
<ion-icon *ngFor="let icon of icons" [name]="icon"></ion-icon> <!-- Ionicons -->
<ion-icon *ngFor="let icon of icons" [name]="icon"></ion-icon>
<!-- 3rd party components --> <!-- 3rd party components -->
<qr-code value="hello"></qr-code> <qr-code value="hello"></qr-code>
<swiper> <swiper>
<ng-template swiperSlide>Slide 1</ng-template> <ng-template swiperSlide>Slide 1</ng-template>
</swiper> </swiper>
<!-- Ionic components --> <!-- Ionic components -->
<ion-action-sheet></ion-action-sheet> <ion-action-sheet></ion-action-sheet>
<ion-alert></ion-alert> <ion-alert></ion-alert>
<ion-back-button></ion-back-button> <ion-back-button></ion-back-button>
<ion-badge></ion-badge> <ion-badge></ion-badge>
<ion-button></ion-button> <ion-button></ion-button>
<ion-buttons></ion-buttons> <ion-buttons></ion-buttons>
<ion-card></ion-card> <ion-card></ion-card>
<ion-card-content></ion-card-content> <ion-card-content></ion-card-content>
<ion-card-header></ion-card-header> <ion-card-header></ion-card-header>
<ion-checkbox></ion-checkbox> <ion-checkbox></ion-checkbox>
<ion-content></ion-content> <ion-content></ion-content>
<ion-footer></ion-footer> <ion-footer></ion-footer>
<ion-grid></ion-grid> <ion-grid></ion-grid>
<ion-header></ion-header> <ion-header></ion-header>
<ion-popover></ion-popover> <ion-popover></ion-popover>
<ion-content> <ion-content>
<ion-refresher slot="fixed"></ion-refresher> <ion-refresher slot="fixed"></ion-refresher>
<ion-refresher-content pullingContent="lines"></ion-refresher-content> <ion-refresher-content pullingContent="lines"></ion-refresher-content>
<ion-infinite-scroll></ion-infinite-scroll> <ion-infinite-scroll></ion-infinite-scroll>
<ion-infinite-scroll-content <ion-infinite-scroll-content
loadingSpinner="lines" loadingSpinner="lines"
></ion-infinite-scroll-content> ></ion-infinite-scroll-content>
</ion-content> </ion-content>
<ion-input></ion-input> <ion-input></ion-input>
<ion-item></ion-item> <ion-item></ion-item>
<ion-item-divider></ion-item-divider> <ion-item-divider></ion-item-divider>
<ion-item-group></ion-item-group> <ion-item-group></ion-item-group>
<ion-label></ion-label> <ion-label></ion-label>
<ion-label style="font-weight: bold"></ion-label> <ion-label style="font-weight: bold"></ion-label>
<ion-list></ion-list> <ion-list></ion-list>
<ion-loading></ion-loading> <ion-loading></ion-loading>
<ion-modal></ion-modal> <ion-modal></ion-modal>
<ion-note></ion-note> <ion-note></ion-note>
<ion-radio></ion-radio> <ion-radio></ion-radio>
<ion-reorder></ion-reorder> <ion-reorder></ion-reorder>
<ion-row></ion-row> <ion-row></ion-row>
<ion-searchbar></ion-searchbar> <ion-searchbar></ion-searchbar>
<ion-segment></ion-segment> <ion-segment></ion-segment>
<ion-segment-button></ion-segment-button> <ion-segment-button></ion-segment-button>
<ion-select></ion-select> <ion-select></ion-select>
<ion-select-option></ion-select-option> <ion-select-option></ion-select-option>
<ion-spinner name="lines"></ion-spinner> <ion-spinner name="lines"></ion-spinner>
<ion-text></ion-text> <ion-text></ion-text>
<ion-text><strong>load bold font</strong></ion-text> <ion-text><strong>load bold font</strong></ion-text>
<ion-title></ion-title> <ion-title></ion-title>
<ion-toast></ion-toast> <ion-toast></ion-toast>
<ion-toggle></ion-toggle> <ion-toggle></ion-toggle>
<ion-toolbar></ion-toolbar> <ion-toolbar></ion-toolbar>
<ion-menu-button></ion-menu-button> <ion-menu-button></ion-menu-button>
<!-- fonts --> <!-- images -->
<p style="font-family: Montserrat">a</p> <img src="assets/img/logo.png" />
<p style="font-family: Montserrat; font-weight: bold">a</p> <img src="assets/img/icons/snek.png" />
<p style="font-family: Montserrat; font-weight: 100">a</p> <img src="assets/img/icons/wifi-1.png" />
<p style="font-family: Open Sans">a</p> <img src="assets/img/icons/wifi-2.png" />
<p style="font-family: Open Sans; font-weight: bold">a</p> <img src="assets/img/icons/wifi-3.png" />
<p style="font-family: Open Sans; font-weight: 100">a</p> </div>
<!-- images --> <div style="visibility: hidden; height: 0">
<img src="assets/img/logo.png" /> <!-- fonts -->
<img src="assets/img/icons/snek.png" /> <p style="font-family: Montserrat">a</p>
<img src="assets/img/icons/wifi-1.png" /> <p style="font-family: Montserrat; font-weight: bold">a</p>
<img src="assets/img/icons/wifi-2.png" /> <p style="font-family: Montserrat; font-weight: 100">a</p>
<img src="assets/img/icons/wifi-3.png" /> <p style="font-family: Open Sans">a</p>
<p style="font-family: Open Sans; font-weight: bold">a</p>
<p style="font-family: Open Sans; font-weight: 100">a</p>
<p style="font-family: Redacted">a</p>
</div>

View File

@@ -87,7 +87,6 @@ const ICONS = [
@Component({ @Component({
selector: 'section[appPreloader]', selector: 'section[appPreloader]',
templateUrl: 'preloader.component.html', templateUrl: 'preloader.component.html',
styles: [':host { display: none }'],
changeDetection: ChangeDetectionStrategy.OnPush, changeDetection: ChangeDetectionStrategy.OnPush,
}) })
export class PreloaderComponent { export class PreloaderComponent {

View File

@@ -85,7 +85,6 @@
> >
</ion-input> </ion-input>
</ng-template> </ng-template>
<!-- removing mask button until proper solution implemented -->
<ion-button <ion-button
*ngIf="spec.type === 'string' && spec.masked" *ngIf="spec.type === 'string' && spec.masked"
slot="end" slot="end"