Skip to content

Commit 896503f

Browse files
committed
minor housekeeping
Signed-off-by: Maximilian Inckmann <[email protected]>
1 parent fbc4f55 commit 896503f

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

packages/stencil-library/src/components.d.ts

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -77,25 +77,26 @@ export namespace Components {
7777
* @type {string}
7878
* @public
7979
*/
80-
"locale": string;
80+
"loc'locale'ring;
8181
/**
82-
'locale'Whether to show the flag of the region.
82+
* Whether to show the flag of the region.
8383
* @type {boolean}
8484
* @public
8585
* @default true
8686
*/
87-
"showFlag": boolean;
87+
"sho'showFlag'olean;
8888
}
89-
'showFlag'e PidActions {
89+
90+
interface PidActions {
9091
/**
9192
* Array of actions to display
9293
* @default []
9394
*/
9495
"actions": FoldableAction[];
95-
/**
96-
* Optional ID for the actions container for ARIA references
97-
*/
98-
'actionsId'?: string;
96+
/**
97+
* Optional ID for the actions container for ARIA references
98+
*/
99+
'actionsId'?: string;
99100
}
100101
/**
101102
* Component for creating collapsible/expandable content sections

packages/stencil-library/src/rendererModules/EmailType.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export class EmailType extends GenericIdentifierType {
2626
renderPreview(): FunctionalComponent<any> {
2727
// mail icon from: https://heroicons.com/ (MIT license)
2828
return (
29-
<span class={'items-center'}>
29+
<span class={'items-center gap-2 inline-flex font-mono text-sm text-blue-400'}>
3030
{this.value
3131
.split(new RegExp(/\s*,\s*/))
3232
.filter(email => email.length > 0)
@@ -36,7 +36,7 @@ export class EmailType extends GenericIdentifierType {
3636
href={'mailto:' + email}
3737
rel={'noopener noreferrer'}
3838
target="_blank"
39-
class={'items-center inline-flex font-mono text-sm text-blue-400 border border-slate-400 bg-white/60 rounded-md px-1 py-0.5'}
39+
class={'items-center inline-flex font-mono text-sm text-blue-400 border border-slate-400 rounded-md px-1 py-0.5'}
4040
>
4141
<svg xmlns="http://www.w3.org/2000/svg" fill="none" aria-hidden="true" viewBox="0 0 24 24" stroke-width="1" stroke="black" height="20px" class={'mr-2'}>
4242
<path
@@ -45,7 +45,7 @@ export class EmailType extends GenericIdentifierType {
4545
d="M21.75 6.75v10.5a2.25 2.25 0 0 1-2.25 2.25h-15a2.25 2.25 0 0 1-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0 0 19.5 4.5h-15a2.25 2.25 0 0 0-2.25 2.25m19.5 0v.243a2.25 2.25 0 0 1-1.07 1.916l-7.5 4.615a2.25 2.25 0 0 1-2.36 0L3.32 8.91a2.25 2.25 0 0 1-1.07-1.916V6.75"
4646
/>
4747
</svg>
48-
<span class={'ml-2'}>{email}</span>
48+
<span class={'ml-2 text-blue-400 hover:text-blue-500'}>{email}</span>
4949
</a>
5050
);
5151
})}

0 commit comments

Comments
 (0)