@triptease/tt-navbar 0.0.43 → 0.0.45
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/NavbarController.js +1 -1
- package/dist/src/NavbarController.js.map +1 -1
- package/dist/src/styles.js +5 -4
- package/dist/src/styles.js.map +1 -1
- package/dist/web/NavbarController.js +2 -2
- package/dist/web/NavbarController.js.map +2 -2
- package/dist/web/Routes.js +1 -1
- package/dist/web/TtNavbar.js +15 -11
- package/dist/web/TtNavbar.js.map +2 -2
- package/dist/web/global.d.js +1 -1
- package/dist/web/index.js +15 -11
- package/dist/web/index.js.map +2 -2
- package/dist/web/styles.js +6 -5
- package/dist/web/styles.js.map +2 -2
- package/dist/web/triptease-logo.js +1 -1
- package/dist/web/tt-navbar.js +15 -11
- package/dist/web/tt-navbar.js.map +2 -2
- package/dist/web/urlMappings.js +1 -1
- package/package.json +2 -2
- package/src/NavbarController.ts +1 -1
- package/src/styles.ts +5 -4
package/dist/web/urlMappings.js
CHANGED
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Webcomponent tt-navbar following open-wc recommendations",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "tt-navbar",
|
|
6
|
-
"version": "0.0.
|
|
6
|
+
"version": "0.0.45",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"main": "dist/src/index.js",
|
|
9
9
|
"module": "dist/src/index.js",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"@clerk/clerk-js": "^5.102.1",
|
|
31
31
|
"@clerk/types": "^4.95.1",
|
|
32
32
|
"@triptease/icons": "^1.1.1",
|
|
33
|
-
"@triptease/tt-combobox": "^5.
|
|
33
|
+
"@triptease/tt-combobox": "^5.4.0",
|
|
34
34
|
"lit": "^3.1.4"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
package/src/NavbarController.ts
CHANGED
|
@@ -47,7 +47,7 @@ export class NavbarController implements ReactiveController {
|
|
|
47
47
|
this._isOpen = !this._isOpen;
|
|
48
48
|
|
|
49
49
|
if (window.Clerk) {
|
|
50
|
-
|
|
50
|
+
window.Clerk.user?.update({
|
|
51
51
|
unsafeMetadata: {
|
|
52
52
|
...window.Clerk.user?.unsafeMetadata,
|
|
53
53
|
preferences: {
|
package/src/styles.ts
CHANGED
|
@@ -31,6 +31,7 @@ export const styles = css`
|
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
nav {
|
|
34
|
+
--menu-font-size: var(--font-size-200);
|
|
34
35
|
max-width: var(--nav-bar-width);
|
|
35
36
|
width: var(--nav-bar-width);
|
|
36
37
|
min-height: 100vh;
|
|
@@ -100,7 +101,7 @@ export const styles = css`
|
|
|
100
101
|
width: 100%;
|
|
101
102
|
|
|
102
103
|
.external-link {
|
|
103
|
-
font-size: var(--font-size
|
|
104
|
+
font-size: var(--menu-font-size);
|
|
104
105
|
line-height: var(--font-line-height-100);
|
|
105
106
|
|
|
106
107
|
.icon {
|
|
@@ -133,7 +134,7 @@ export const styles = css`
|
|
|
133
134
|
|
|
134
135
|
.nav-item {
|
|
135
136
|
display: flex;
|
|
136
|
-
font-size: var(--font-size
|
|
137
|
+
font-size: var(--menu-font-size);
|
|
137
138
|
line-height: var(--font-line-height-100);
|
|
138
139
|
gap: var(--space-scale-1-5);
|
|
139
140
|
border-radius: var(--border-radius-100);
|
|
@@ -157,7 +158,7 @@ export const styles = css`
|
|
|
157
158
|
border-radius: var(--border-radius-100);
|
|
158
159
|
|
|
159
160
|
summary {
|
|
160
|
-
font-size: var(--font-size
|
|
161
|
+
font-size: var(--menu-font-size);
|
|
161
162
|
line-height: var(--font-line-height-100);
|
|
162
163
|
position: relative;
|
|
163
164
|
display: flex;
|
|
@@ -218,7 +219,7 @@ export const styles = css`
|
|
|
218
219
|
padding-top: 10px;
|
|
219
220
|
padding-bottom: 10px;
|
|
220
221
|
color: var(--color-text-inverted-400);
|
|
221
|
-
font-size: var(--font-size
|
|
222
|
+
font-size: var(--menu-font-size);
|
|
222
223
|
line-height: var(--font-line-height-100);
|
|
223
224
|
text-decoration: none;
|
|
224
225
|
|