Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixing imports for UUI-Tab + story for href property #614

Merged
merged 1 commit into from
Oct 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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"
}
]
}
Loading