@iroco/ui 1.12.0 → 1.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/NavBar.svelte +3 -1
- package/dist/Navigation.svelte +10 -11
- package/package.json +1 -1
package/dist/NavBar.svelte
CHANGED
package/dist/Navigation.svelte
CHANGED
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
baseUrl = '',
|
|
18
18
|
navigationItems,
|
|
19
19
|
type = 'topbar',
|
|
20
|
-
title =
|
|
21
|
-
version =
|
|
20
|
+
title = null,
|
|
21
|
+
version = null,
|
|
22
22
|
color = Color.green,
|
|
23
23
|
currentRoute = '/foo'
|
|
24
24
|
}: Props = $props();
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
<IrocoLogo {href} width="10em" height="10em" />
|
|
34
34
|
{:else}
|
|
35
35
|
<IconIrocoLogo {href} width="3em" height="3em" {color} />
|
|
36
|
-
<
|
|
36
|
+
<div class="navigation--mobile__title-container__title">{title}</div>
|
|
37
37
|
{/if}
|
|
38
38
|
</div>
|
|
39
39
|
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
<IrocoLogo {href} width="10em" height="10em" />
|
|
60
60
|
{:else}
|
|
61
61
|
<IconIrocoLogo {href} width="3em" height="3em" />
|
|
62
|
-
<
|
|
62
|
+
<div class="navigation__title-container__title">{title}</div>
|
|
63
63
|
{/if}
|
|
64
64
|
</div>
|
|
65
65
|
<NavBar {navigationItems} {currentRoute} {type} {version} />
|
|
@@ -237,7 +237,7 @@
|
|
|
237
237
|
align-items: center;
|
|
238
238
|
padding-left: 1em;
|
|
239
239
|
}
|
|
240
|
-
.navigation__title-
|
|
240
|
+
.navigation__title-container__title {
|
|
241
241
|
padding-left: 1em;
|
|
242
242
|
}
|
|
243
243
|
|
|
@@ -256,9 +256,6 @@
|
|
|
256
256
|
width: 100%;
|
|
257
257
|
border-bottom: 1px solid var(--color-border);
|
|
258
258
|
}
|
|
259
|
-
.navigation--mobile h1 {
|
|
260
|
-
font-size: 2em;
|
|
261
|
-
}
|
|
262
259
|
.navigation--mobile__button {
|
|
263
260
|
background-color: transparent;
|
|
264
261
|
border: none;
|
|
@@ -268,11 +265,13 @@
|
|
|
268
265
|
display: flex;
|
|
269
266
|
align-items: center;
|
|
270
267
|
}
|
|
271
|
-
.navigation--mobile__title-
|
|
268
|
+
.navigation--mobile__title-container__title {
|
|
272
269
|
padding-left: 0.5em;
|
|
273
270
|
}
|
|
274
271
|
}
|
|
275
|
-
.navigation__title-
|
|
276
|
-
.navigation
|
|
272
|
+
.navigation__title-container__title,
|
|
273
|
+
.navigation--mobile__title-container__title {
|
|
277
274
|
color: var(--color-text-light);
|
|
275
|
+
font-weight: bold;
|
|
276
|
+
font-size: 2em;
|
|
278
277
|
}</style>
|