Skip to content

Commit 4bfb6a1

Browse files
authored
fix: fixing imports + story for hrefs (#614)
1 parent ac11819 commit 4bfb6a1

File tree

2 files changed

+43
-0
lines changed

2 files changed

+43
-0
lines changed

packages/uui-tabs/lib/uui-tabs.story.ts

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,40 @@ export const Navbar: Story = () => html`
9898
</div>
9999
`;
100100

101+
export const UsingHref: Story = () => html`
102+
<h3>Href links</h3>
103+
<div
104+
style="
105+
height: 60px;
106+
font-size: 16px;
107+
--uui-tab-text: var(--uui-color-surface-alt);
108+
--uui-tab-text-hover: var(--uui-color-surface);
109+
--uui-tab-text-active: var(--uui-color-current);
110+
--uui-tab-background: var(--uui-color-default);
111+
">
112+
<uui-tab-group>
113+
<uui-tab label="content" href="http://www.umbraco.com/#content">
114+
Content
115+
</uui-tab>
116+
<uui-tab label="Packages" href="http://www.umbraco.com/#package" active>
117+
Packages
118+
</uui-tab>
119+
<uui-tab label="Media" href="http://www.umbraco.com/#media">
120+
Media
121+
</uui-tab>
122+
<uui-tab label="Settings" href="http://www.umbraco.com/#settings">
123+
Settings
124+
</uui-tab>
125+
<uui-tab label="Translations" href="http://www.umbraco.com/#translations">
126+
Translations
127+
</uui-tab>
128+
<uui-tab label="Users" href="http://www.umbraco.com/#users">
129+
Users
130+
</uui-tab>
131+
</uui-tab-group>
132+
</div>
133+
`;
134+
101135
export const WithIcons: Story = props => html`
102136
<h3>Tabs with Icons</h3>
103137
<uui-icon-registry-essential>

packages/uui-tabs/tsconfig.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,15 @@
1212
"references": [
1313
{
1414
"path": "../uui-base"
15+
},
16+
{
17+
"path": "../uui-button"
18+
},
19+
{
20+
"path": "../uui-popover-container"
21+
},
22+
{
23+
"path": "../uui-symbol-more"
1524
}
1625
]
1726
}

0 commit comments

Comments
 (0)