@triptease/tt-navbar 0.0.28 → 0.0.30
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/src/styles.js +10 -1
- package/dist/src/styles.js.map +1 -1
- package/dist/web/Routes.js +1 -1
- package/dist/web/TtNavbar.js +11 -2
- package/dist/web/TtNavbar.js.map +2 -2
- package/dist/web/index.js +11 -2
- package/dist/web/index.js.map +2 -2
- package/dist/web/styles.js +11 -2
- package/dist/web/styles.js.map +2 -2
- package/dist/web/triptease-logo.js +1 -1
- package/dist/web/tt-navbar.js +11 -2
- package/dist/web/tt-navbar.js.map +2 -2
- package/dist/web/urlMappings.js +1 -1
- package/package.json +1 -1
- package/src/styles.ts +10 -1
package/dist/web/urlMappings.js
CHANGED
package/package.json
CHANGED
package/src/styles.ts
CHANGED
|
@@ -15,12 +15,17 @@ const visuallyHiddenCss = css`
|
|
|
15
15
|
|
|
16
16
|
export const styles = css`
|
|
17
17
|
:host {
|
|
18
|
-
--nav-bar-width:
|
|
18
|
+
--nav-bar-width: 250px;
|
|
19
19
|
|
|
20
20
|
display: block;
|
|
21
21
|
height: 100vh;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
+
:host:has(.sidebar-closed) {
|
|
25
|
+
--nav-bar-width: fit-content;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
|
|
24
29
|
* {
|
|
25
30
|
box-sizing: border-box;
|
|
26
31
|
}
|
|
@@ -142,6 +147,10 @@ export const styles = css`
|
|
|
142
147
|
|
|
143
148
|
nav.sidebar-closed {
|
|
144
149
|
width: fit-content;
|
|
150
|
+
|
|
151
|
+
:host {
|
|
152
|
+
--nav-bar-width: fit-content;
|
|
153
|
+
}
|
|
145
154
|
}
|
|
146
155
|
|
|
147
156
|
details {
|