Skip to content

Commit

Permalink
Run format prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
bjarnef committed Oct 6, 2023
1 parent ec6f753 commit 3128d35
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions packages/uui-visually-hidden/lib/uui-visually-hidden.element.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { css, html, LitElement } from 'lit';
*/
@defineElement('uui-visually-hidden')
export class UUIVisuallyHiddenElement extends LitElement {
static styles = [
static styles = [
css`
:host(:not(:focus-within)) {
position: absolute !important;
Expand All @@ -22,13 +22,13 @@ export class UUIVisuallyHiddenElement extends LitElement {
`,
];

render() {
return html`<slot></slot>`;
}
render() {
return html`<slot></slot>`;
}
}

declare global {
interface HTMLElementTagNameMap {
'uui-visually-hidden': UUIVisuallyHiddenElement ;
'uui-visually-hidden': UUIVisuallyHiddenElement;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ export const SkipNavigation: Story = {
},
},
},
};
};
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ describe('UUIVisuallyHiddenElement', () => {
it('passes the a11y audit', async () => {
await expect(element).shadowDom.to.be.accessible();
});
});
});
2 changes: 1 addition & 1 deletion packages/uui-visually-hidden/rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { UUIProdConfig } from '../rollup-package.config.mjs';

export default UUIProdConfig({
entryPoints: ['index']
entryPoints: ['index'],
});
2 changes: 1 addition & 1 deletion packages/uui/lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,4 @@ export * from '@umbraco-ui/uui-toast-notification-container/lib';
export * from '@umbraco-ui/uui-toast-notification-layout/lib';
export * from '@umbraco-ui/uui-toast-notification/lib';
export * from '@umbraco-ui/uui-toggle/lib';
export * from '@umbraco-ui/uui-visually-hidden/lib';
export * from '@umbraco-ui/uui-visually-hidden/lib';

0 comments on commit 3128d35

Please sign in to comment.