Skip to content

Commit d521432

Browse files
committed
🤖 GITHUB ACTIONS format_prettier
1 parent ddd7d82 commit d521432

20 files changed

Lines changed: 232 additions & 103 deletions

‎SUPPORTED_BROWSERS.md‎

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
> This file is auto-generated from `.browserslistrc` during the prebuild step. Do not edit manually.
44
5-
| Browser | Minimum version |
6-
|---------|-----------------|
7-
| Android WebView | 142 or newer |
8-
| Apple Safari | 16.4 or newer |
9-
| Google Chrome | 115 or newer |
10-
| Microsoft Edge | 115 or newer |
11-
| Mozilla Firefox | 116 or newer |
12-
| Opera | 101 or newer |
13-
| Opera Mobile | 80 or newer |
14-
| Samsung Internet | 23 or newer |
5+
| Browser | Minimum version |
6+
| ---------------- | --------------- |
7+
| Android WebView | 142 or newer |
8+
| Apple Safari | 16.4 or newer |
9+
| Google Chrome | 115 or newer |
10+
| Microsoft Edge | 115 or newer |
11+
| Mozilla Firefox | 116 or newer |
12+
| Opera | 101 or newer |
13+
| Opera Mobile | 80 or newer |
14+
| Samsung Internet | 23 or newer |

‎projects/orcid-registry-ui/src/lib/components/permission-notifications/permission-notifications.component.html‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,16 @@
33
<orcid-action-surface
44
*ngFor="let notification of visibleNotifications; let index = index"
55
[icon]="notification.icon"
6-
[iconColor]="notification.iconColor ?? 'var(--orcid-color-state-notice-dark, #ff9c00)'"
6+
[iconColor]="
7+
notification.iconColor ??
8+
'var(--orcid-color-state-notice-dark, #ff9c00)'
9+
"
710
>
811
<span text [innerHTML]="getTrustedHtml(notification.text)"></span>
912
<div actions>
10-
<ng-container *ngFor="let action of notification.actions; let actionIndex = index">
13+
<ng-container
14+
*ngFor="let action of notification.actions; let actionIndex = index"
15+
>
1116
<ng-container [ngSwitch]="action.variant">
1217
<button
1318
*ngSwitchCase="'flat'"

‎projects/orcid-registry-ui/src/lib/components/permission-notifications/permission-notifications.component.scss‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,3 @@
2121
background-color: var(--orcid-color-brand-secondary-dark, #085c77);
2222
opacity: 0.6;
2323
}
24-

‎projects/orcid-ui-docs/src/app/docs-shell.component.html‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,7 @@ <h1 class="docs-logo">Orcid UI</h1>
4141
<a routerLink="/two-factor-auth-form" routerLinkActive="active">
4242
Two Factor Authentication Form
4343
</a>
44-
<a
45-
routerLink="/material-buttons-directives"
46-
routerLinkActive="active"
47-
>
44+
<a routerLink="/material-buttons-directives" routerLinkActive="active">
4845
Material Buttons Directives
4946
</a>
5047

‎projects/orcid-ui-docs/src/app/pages/action-surface-container-page.component.html‎

Lines changed: 36 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ <h5>Desktop</h5>
4040
information.</span
4141
>
4242
<div actions>
43-
<button mat-button orcidUnderlineButton>Read</button>
44-
<button mat-flat-button orcidBrandSecondaryDarkButton>
45-
Connect now
46-
</button>
43+
<button mat-button orcidUnderlineButton>Read</button>
44+
<button mat-flat-button orcidBrandSecondaryDarkButton>
45+
Connect now
46+
</button>
4747
</div>
4848
</orcid-action-surface>
4949

@@ -56,10 +56,10 @@ <h5>Desktop</h5>
5656
affiliation.</span
5757
>
5858
<div actions>
59-
<button mat-button orcidUnderlineButton>Read</button>
60-
<button mat-flat-button orcidBrandSecondaryDarkButton>
61-
Connect now
62-
</button>
59+
<button mat-button orcidUnderlineButton>Read</button>
60+
<button mat-flat-button orcidBrandSecondaryDarkButton>
61+
Connect now
62+
</button>
6363
</div>
6464
</orcid-action-surface>
6565
</orcid-action-surface-container>
@@ -82,8 +82,20 @@ <h5>Mobile</h5>
8282
information.</span
8383
>
8484
<div actions>
85-
<button mat-button orcidUnderlineButton class="orcid-underline-button">Read</button>
86-
<button mat-flat-button orcidBrandSecondaryDarkButton color="primary">Connect now</button>
85+
<button
86+
mat-button
87+
orcidUnderlineButton
88+
class="orcid-underline-button"
89+
>
90+
Read
91+
</button>
92+
<button
93+
mat-flat-button
94+
orcidBrandSecondaryDarkButton
95+
color="primary"
96+
>
97+
Connect now
98+
</button>
8799
</div>
88100
</orcid-action-surface>
89101

@@ -97,8 +109,20 @@ <h5>Mobile</h5>
97109
affiliation.</span
98110
>
99111
<div actions>
100-
<button mat-button orcidUnderlineButton class="orcid-underline-button">Read</button>
101-
<button mat-flat-button orcidBrandSecondaryDarkButton color="primary">Connect now</button>
112+
<button
113+
mat-button
114+
orcidUnderlineButton
115+
class="orcid-underline-button"
116+
>
117+
Read
118+
</button>
119+
<button
120+
mat-flat-button
121+
orcidBrandSecondaryDarkButton
122+
color="primary"
123+
>
124+
Connect now
125+
</button>
102126
</div>
103127
</orcid-action-surface>
104128
</orcid-action-surface-container>

‎projects/orcid-ui-docs/src/app/pages/action-surface-page.component.html‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ <h5>Desktop</h5>
1818
iconColor="var(--orcid-color-state-notice-dark, #ff9c00)"
1919
>
2020
<span text>
21-
<strong>University of Oxford</strong> wants to add information to
22-
your ORCID record
21+
<strong>University of Oxford</strong> wants to add information
22+
to your ORCID record
2323
</span>
2424
<div actions>
2525
<button mat-button orcidUnderlineButton>Read</button>
@@ -39,8 +39,8 @@ <h5>Mobile</h5>
3939
iconColor="var(--orcid-color-state-notice-dark, #ff9c00)"
4040
>
4141
<span text>
42-
<strong>University of Oxford</strong> wants to add information to
43-
your ORCID record
42+
<strong>University of Oxford</strong> wants to add information
43+
to your ORCID record
4444
</span>
4545
<div actions class="mobile-actions">
4646
<button mat-button orcidUnderlineButton>Read</button>

‎projects/orcid-ui-docs/src/app/pages/material-buttons-directives-page.component.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ import {
116116
<h3>Underline Button Directive</h3>
117117
<p>
118118
The <code>orcidUnderlineButton</code> directive styles text buttons with
119-
an underline and brand secondary dark color. Commonly used for "Read"
120-
or secondary action buttons.
119+
an underline and brand secondary dark color. Commonly used for "Read" or
120+
secondary action buttons.
121121
</p>
122122
123123
<div class="example-group">

‎projects/orcid-ui-docs/src/app/pages/registry-permission-notifications-page.component.html‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,10 @@
3636
</div>
3737

3838
<div style="display: grid; gap: 12px">
39-
<mat-form-field appearance="outline" *ngFor="let item of notifications; let i = index">
39+
<mat-form-field
40+
appearance="outline"
41+
*ngFor="let item of notifications; let i = index"
42+
>
4043
<mat-label>Notification {{ i + 1 }} text</mat-label>
4144
<input matInput [(ngModel)]="item.text" />
4245
</mat-form-field>
@@ -70,7 +73,9 @@
7073
<ul>
7174
<li><code>title</code>: Header title string.</li>
7275
<li><code>subtitle</code>: Header subtitle string.</li>
73-
<li><code>notifications</code>: Up to three notifications with actions.</li>
76+
<li>
77+
<code>notifications</code>: Up to three notifications with actions.
78+
</li>
7479
</ul>
7580

7681
<h4>Outputs</h4>

‎projects/orcid-ui/src/lib/components/README.md‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,7 @@ All user-facing strings must be provided by the parent (e.g. from `$localize` in
6565

6666
```html
6767
<orcid-action-surface icon="work_outline">
68-
<span text>
69-
<strong>Org name</strong> message text from parent...
70-
</span>
68+
<span text> <strong>Org name</strong> message text from parent... </span>
7169
<div actions>
7270
<button mat-button>Action 1</button>
7371
<button mat-flat-button color="primary">Action 2</button>

‎projects/orcid-ui/src/lib/components/action-surface-container/action-surface-container.component.scss‎

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,12 @@
1919

2020
.action-surface-container__title {
2121
margin: 0;
22-
font-family: var(--orcid-font-family-sans, 'Noto Sans', -apple-system,
23-
sans-serif);
22+
font-family: var(
23+
--orcid-font-family-sans,
24+
'Noto Sans',
25+
-apple-system,
26+
sans-serif
27+
);
2428
font-size: 20px;
2529
line-height: 1.25;
2630
font-weight: var(--orcid-font-weight-bold, 700);
@@ -29,8 +33,12 @@
2933

3034
.action-surface-container__subtitle {
3135
margin: 0;
32-
font-family: var(--orcid-font-family-sans, 'Noto Sans', -apple-system,
33-
sans-serif);
36+
font-family: var(
37+
--orcid-font-family-sans,
38+
'Noto Sans',
39+
-apple-system,
40+
sans-serif
41+
);
3442
color: var(--orcid-color-text-muted, #555555);
3543
font-size: var(--orcid-font-size-body-small, 14px);
3644
font-weight: var(--orcid-font-weight-normal, 400);

0 commit comments

Comments
 (0)