Skip to content

Commit

Permalink
fix: fixing imports + story for hrefs (#614)
Browse files Browse the repository at this point in the history
  • Loading branch information
nielslyngsoe authored Oct 17, 2023
1 parent ac11819 commit 4bfb6a1
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
34 changes: 34 additions & 0 deletions packages/uui-tabs/lib/uui-tabs.story.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,40 @@ export const Navbar: Story = () => html`
</div>
`;

export const UsingHref: Story = () => html`
<h3>Href links</h3>
<div
style="
height: 60px;
font-size: 16px;
--uui-tab-text: var(--uui-color-surface-alt);
--uui-tab-text-hover: var(--uui-color-surface);
--uui-tab-text-active: var(--uui-color-current);
--uui-tab-background: var(--uui-color-default);
">
<uui-tab-group>
<uui-tab label="content" href="http://www.umbraco.com/#content">
Content
</uui-tab>
<uui-tab label="Packages" href="http://www.umbraco.com/#package" active>
Packages
</uui-tab>
<uui-tab label="Media" href="http://www.umbraco.com/#media">
Media
</uui-tab>
<uui-tab label="Settings" href="http://www.umbraco.com/#settings">
Settings
</uui-tab>
<uui-tab label="Translations" href="http://www.umbraco.com/#translations">
Translations
</uui-tab>
<uui-tab label="Users" href="http://www.umbraco.com/#users">
Users
</uui-tab>
</uui-tab-group>
</div>
`;

export const WithIcons: Story = props => html`
<h3>Tabs with Icons</h3>
<uui-icon-registry-essential>
Expand Down
9 changes: 9 additions & 0 deletions packages/uui-tabs/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,15 @@
"references": [
{
"path": "../uui-base"
},
{
"path": "../uui-button"
},
{
"path": "../uui-popover-container"
},
{
"path": "../uui-symbol-more"
}
]
}

0 comments on commit 4bfb6a1

Please sign in to comment.