@triptease/tt-navbar 0.1.1 → 0.1.2
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/package.json +7 -3
- package/.editorconfig +0 -29
- package/CHANGELOG.md +0 -258
- package/demo/index.html +0 -33
- package/dist/web/Config.js +0 -14
- package/dist/web/Config.js.map +0 -7
- package/dist/web/Routes.js +0 -12
- package/dist/web/Routes.js.map +0 -7
- package/dist/web/TtNavbar.js +0 -2566
- package/dist/web/TtNavbar.js.map +0 -7
- package/dist/web/getInitialNavbarState.js +0 -31
- package/dist/web/getInitialNavbarState.js.map +0 -7
- package/dist/web/global.d.js +0 -4
- package/dist/web/global.d.js.map +0 -7
- package/dist/web/index.js +0 -2586
- package/dist/web/index.js.map +0 -7
- package/dist/web/styles.js +0 -908
- package/dist/web/styles.js.map +0 -7
- package/dist/web/triptease-logo.js +0 -18
- package/dist/web/triptease-logo.js.map +0 -7
- package/dist/web/tt-navbar.js +0 -2570
- package/dist/web/tt-navbar.js.map +0 -7
- package/dist/web/urlMappings.js +0 -40
- package/dist/web/urlMappings.js.map +0 -7
- package/src/Config.ts +0 -7
- package/src/Routes.ts +0 -5
- package/src/TtNavbar.ts +0 -458
- package/src/getInitialNavbarState.ts +0 -25
- package/src/global.d.ts +0 -16
- package/src/index.ts +0 -4
- package/src/styles.ts +0 -329
- package/src/triptease-logo.ts +0 -9
- package/src/tt-navbar.ts +0 -7
- package/src/urlMappings.ts +0 -35
- package/stories/tt-navbar.stories.ts +0 -86
- package/test/tt-navbar.test.ts +0 -441
- package/tsconfig.cjs.json +0 -9
- package/tsconfig.json +0 -9
- package/web-dev-server.config.js +0 -27
- package/web-test-runner.config.js +0 -41
package/package.json
CHANGED
|
@@ -3,8 +3,12 @@
|
|
|
3
3
|
"description": "Webcomponent tt-navbar following open-wc recommendations",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "tt-navbar",
|
|
6
|
-
"version": "0.1.
|
|
6
|
+
"version": "0.1.2",
|
|
7
7
|
"type": "module",
|
|
8
|
+
"files": [
|
|
9
|
+
"dist/esm",
|
|
10
|
+
"dist/cjs"
|
|
11
|
+
],
|
|
8
12
|
"main": "dist/esm/src/index.js",
|
|
9
13
|
"module": "dist/esm/src/index.js",
|
|
10
14
|
"exports": {
|
|
@@ -35,8 +39,8 @@
|
|
|
35
39
|
"dependencies": {
|
|
36
40
|
"@clerk/clerk-js": "^5.102.1",
|
|
37
41
|
"@clerk/types": "^4.95.1",
|
|
38
|
-
"@triptease/icons": "1.4.
|
|
39
|
-
"@triptease/tt-combobox": "5.7.
|
|
42
|
+
"@triptease/icons": "1.4.1",
|
|
43
|
+
"@triptease/tt-combobox": "5.7.2",
|
|
40
44
|
"lit": "^3.1.4"
|
|
41
45
|
},
|
|
42
46
|
"devDependencies": {
|
package/.editorconfig
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
# EditorConfig helps developers define and maintain consistent
|
|
2
|
-
# coding styles between different editors and IDEs
|
|
3
|
-
# editorconfig.org
|
|
4
|
-
|
|
5
|
-
root = true
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
[*]
|
|
9
|
-
|
|
10
|
-
# Change these settings to your own preference
|
|
11
|
-
indent_style = space
|
|
12
|
-
indent_size = 2
|
|
13
|
-
|
|
14
|
-
# We recommend you to keep these unchanged
|
|
15
|
-
end_of_line = lf
|
|
16
|
-
charset = utf-8
|
|
17
|
-
trim_trailing_whitespace = true
|
|
18
|
-
insert_final_newline = true
|
|
19
|
-
|
|
20
|
-
[*.md]
|
|
21
|
-
trim_trailing_whitespace = false
|
|
22
|
-
|
|
23
|
-
[*.json]
|
|
24
|
-
indent_size = 2
|
|
25
|
-
|
|
26
|
-
[*.{html,js,md}]
|
|
27
|
-
block_comment_start = /**
|
|
28
|
-
block_comment = *
|
|
29
|
-
block_comment_end = */
|
package/CHANGELOG.md
DELETED
|
@@ -1,258 +0,0 @@
|
|
|
1
|
-
# @triptease/tt-navbar
|
|
2
|
-
|
|
3
|
-
## 0.1.1
|
|
4
|
-
|
|
5
|
-
### Patch Changes
|
|
6
|
-
|
|
7
|
-
- Updating the prepublish command to use yarn build:node instead of tsc so that it compiles the imports down to use required for common js
|
|
8
|
-
- Updated dependencies
|
|
9
|
-
- @triptease/tt-combobox@5.7.1
|
|
10
|
-
|
|
11
|
-
## 0.1.0
|
|
12
|
-
|
|
13
|
-
### Minor Changes
|
|
14
|
-
|
|
15
|
-
- Add dual ESM/CJS output
|
|
16
|
-
|
|
17
|
-
### Patch Changes
|
|
18
|
-
|
|
19
|
-
- Updated dependencies
|
|
20
|
-
- @triptease/tt-combobox@5.7.0
|
|
21
|
-
- @triptease/icons@1.4.0
|
|
22
|
-
|
|
23
|
-
## 0.0.96
|
|
24
|
-
|
|
25
|
-
### Patch Changes
|
|
26
|
-
|
|
27
|
-
- Updated dependencies
|
|
28
|
-
- @triptease/tt-combobox@5.6.7
|
|
29
|
-
|
|
30
|
-
## 0.0.95
|
|
31
|
-
|
|
32
|
-
### Patch Changes
|
|
33
|
-
|
|
34
|
-
- Updated dependencies
|
|
35
|
-
- @triptease/icons@1.3.14
|
|
36
|
-
- @triptease/tt-combobox@5.6.6
|
|
37
|
-
|
|
38
|
-
## 0.0.94
|
|
39
|
-
|
|
40
|
-
### Patch Changes
|
|
41
|
-
|
|
42
|
-
- Internal change
|
|
43
|
-
|
|
44
|
-
## 0.0.93
|
|
45
|
-
|
|
46
|
-
### Patch Changes
|
|
47
|
-
|
|
48
|
-
- Internal code change
|
|
49
|
-
|
|
50
|
-
## 0.0.92
|
|
51
|
-
|
|
52
|
-
### Patch Changes
|
|
53
|
-
|
|
54
|
-
- Revert earlier refactor
|
|
55
|
-
|
|
56
|
-
## 0.0.91
|
|
57
|
-
|
|
58
|
-
### Patch Changes
|
|
59
|
-
|
|
60
|
-
- Refactor
|
|
61
|
-
|
|
62
|
-
## 0.0.90
|
|
63
|
-
|
|
64
|
-
### Patch Changes
|
|
65
|
-
|
|
66
|
-
- Updated dependencies
|
|
67
|
-
- @triptease/tt-combobox@5.6.5
|
|
68
|
-
|
|
69
|
-
## 0.0.89
|
|
70
|
-
|
|
71
|
-
### Patch Changes
|
|
72
|
-
|
|
73
|
-
- 44605f1: Add click handler for campaign manager url
|
|
74
|
-
|
|
75
|
-
## 0.0.88
|
|
76
|
-
|
|
77
|
-
### Patch Changes
|
|
78
|
-
|
|
79
|
-
- Updated dependencies
|
|
80
|
-
- @triptease/tt-combobox@5.6.4
|
|
81
|
-
|
|
82
|
-
## 0.0.87
|
|
83
|
-
|
|
84
|
-
### Patch Changes
|
|
85
|
-
|
|
86
|
-
- Updated dependencies
|
|
87
|
-
- @triptease/icons@1.3.13
|
|
88
|
-
- @triptease/tt-combobox@5.6.3
|
|
89
|
-
|
|
90
|
-
## 0.0.86
|
|
91
|
-
|
|
92
|
-
### Patch Changes
|
|
93
|
-
|
|
94
|
-
- Updated dependencies [9497296]
|
|
95
|
-
- @triptease/tt-combobox@5.6.2
|
|
96
|
-
|
|
97
|
-
## 0.0.85
|
|
98
|
-
|
|
99
|
-
### Patch Changes
|
|
100
|
-
|
|
101
|
-
- Updated dependencies
|
|
102
|
-
- @triptease/tt-combobox@5.6.1
|
|
103
|
-
|
|
104
|
-
## 0.0.84
|
|
105
|
-
|
|
106
|
-
### Patch Changes
|
|
107
|
-
|
|
108
|
-
- Updated dependencies
|
|
109
|
-
- Updated dependencies
|
|
110
|
-
- @triptease/tt-combobox@5.6.0
|
|
111
|
-
|
|
112
|
-
## 0.0.83
|
|
113
|
-
|
|
114
|
-
### Patch Changes
|
|
115
|
-
|
|
116
|
-
- Updated dependencies [ff30018]
|
|
117
|
-
- @triptease/icons@1.3.12
|
|
118
|
-
- @triptease/tt-combobox@5.5.18
|
|
119
|
-
|
|
120
|
-
## 0.0.82
|
|
121
|
-
|
|
122
|
-
### Patch Changes
|
|
123
|
-
|
|
124
|
-
- Streamlined TS Config, reusing a shared file to reduce duplication and resolve issues where test files were being included in the bundle
|
|
125
|
-
- Updated dependencies
|
|
126
|
-
- @triptease/tt-combobox@5.5.17
|
|
127
|
-
- @triptease/icons@1.3.11
|
|
128
|
-
|
|
129
|
-
## 0.0.81
|
|
130
|
-
|
|
131
|
-
### Patch Changes
|
|
132
|
-
|
|
133
|
-
- Updated dependencies [2d36888]
|
|
134
|
-
- @triptease/tt-combobox@5.5.16
|
|
135
|
-
|
|
136
|
-
## 0.0.80
|
|
137
|
-
|
|
138
|
-
### Patch Changes
|
|
139
|
-
|
|
140
|
-
- Fake release to force a fix
|
|
141
|
-
- Updated dependencies
|
|
142
|
-
- @triptease/icons@1.3.10
|
|
143
|
-
- @triptease/tt-combobox@5.5.15
|
|
144
|
-
|
|
145
|
-
## 0.0.79
|
|
146
|
-
|
|
147
|
-
### Patch Changes
|
|
148
|
-
|
|
149
|
-
- Updated dependencies
|
|
150
|
-
- @triptease/tt-combobox@5.5.14
|
|
151
|
-
|
|
152
|
-
## 0.0.78
|
|
153
|
-
|
|
154
|
-
### Patch Changes
|
|
155
|
-
|
|
156
|
-
- Updated dependencies [e08d7ee]
|
|
157
|
-
- Updated dependencies [c681d7d]
|
|
158
|
-
- @triptease/tt-combobox@5.5.13
|
|
159
|
-
|
|
160
|
-
## 0.0.77
|
|
161
|
-
|
|
162
|
-
### Patch Changes
|
|
163
|
-
|
|
164
|
-
- Updated dependencies [2d89b50]
|
|
165
|
-
- @triptease/tt-combobox@5.5.12
|
|
166
|
-
|
|
167
|
-
## 0.0.76
|
|
168
|
-
|
|
169
|
-
### Patch Changes
|
|
170
|
-
|
|
171
|
-
- Add missing url mappings for settings routes to higlight the corresponding menu
|
|
172
|
-
|
|
173
|
-
## 0.0.75
|
|
174
|
-
|
|
175
|
-
### Patch Changes
|
|
176
|
-
|
|
177
|
-
- 9dd491e: handles new routes where clientKey is the first part of the path as well maintain legacy paths
|
|
178
|
-
|
|
179
|
-
## 0.0.74
|
|
180
|
-
|
|
181
|
-
### Patch Changes
|
|
182
|
-
|
|
183
|
-
- Updated dependencies
|
|
184
|
-
- @triptease/icons@1.3.9
|
|
185
|
-
- @triptease/tt-combobox@5.5.11
|
|
186
|
-
|
|
187
|
-
## 0.0.73
|
|
188
|
-
|
|
189
|
-
### Patch Changes
|
|
190
|
-
|
|
191
|
-
- 7e3fd02: Contemplate the new paths in Tetris wher urls have the clientKey at the begining
|
|
192
|
-
|
|
193
|
-
## 0.0.72
|
|
194
|
-
|
|
195
|
-
### Patch Changes
|
|
196
|
-
|
|
197
|
-
- Updated dependencies [c52217a]
|
|
198
|
-
- @triptease/icons@1.3.8
|
|
199
|
-
- @triptease/tt-combobox@5.5.10
|
|
200
|
-
|
|
201
|
-
## 0.0.71
|
|
202
|
-
|
|
203
|
-
### Patch Changes
|
|
204
|
-
|
|
205
|
-
- Updated dependencies
|
|
206
|
-
- @triptease/icons@1.3.7
|
|
207
|
-
- @triptease/tt-combobox@5.5.9
|
|
208
|
-
|
|
209
|
-
## 0.0.70
|
|
210
|
-
|
|
211
|
-
### Patch Changes
|
|
212
|
-
|
|
213
|
-
- Updated dependencies
|
|
214
|
-
- @triptease/icons@1.3.6
|
|
215
|
-
- @triptease/tt-combobox@5.5.8
|
|
216
|
-
|
|
217
|
-
## 0.0.69
|
|
218
|
-
|
|
219
|
-
### Patch Changes
|
|
220
|
-
|
|
221
|
-
- Updated dependencies
|
|
222
|
-
- @triptease/icons@1.3.5
|
|
223
|
-
- @triptease/tt-combobox@5.5.7
|
|
224
|
-
|
|
225
|
-
## 0.0.68
|
|
226
|
-
|
|
227
|
-
### Patch Changes
|
|
228
|
-
|
|
229
|
-
- Resolve internal versioning problem (packages were being deployed using workspaces:\*)
|
|
230
|
-
- Updated dependencies
|
|
231
|
-
- @triptease/tt-combobox@5.5.6
|
|
232
|
-
|
|
233
|
-
## 0.0.67
|
|
234
|
-
|
|
235
|
-
### Patch Changes
|
|
236
|
-
|
|
237
|
-
- Fix packaging so that packages are dependent on published versions rather than workspace:\* versions.
|
|
238
|
-
- Updated dependencies
|
|
239
|
-
- @triptease/icons@1.3.4
|
|
240
|
-
- @triptease/tt-combobox@5.5.5
|
|
241
|
-
|
|
242
|
-
## 0.0.66
|
|
243
|
-
|
|
244
|
-
### Patch Changes
|
|
245
|
-
|
|
246
|
-
- Updated dependencies
|
|
247
|
-
- @triptease/icons@1.3.3
|
|
248
|
-
- @triptease/tt-combobox@5.5.4
|
|
249
|
-
|
|
250
|
-
## 0.0.65
|
|
251
|
-
|
|
252
|
-
### Patch Changes
|
|
253
|
-
|
|
254
|
-
- 3262c7c: Various tweaks due to running a refreshed ESLint config and better Typescript usage
|
|
255
|
-
- 465557b: Code formatting
|
|
256
|
-
- Updated dependencies [3262c7c]
|
|
257
|
-
- Updated dependencies [465557b]
|
|
258
|
-
- @triptease/tt-combobox@5.5.3
|
package/demo/index.html
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
<!doctype html>
|
|
2
|
-
<html lang="en-GB">
|
|
3
|
-
<head>
|
|
4
|
-
<link rel="stylesheet" href="https://cdn.design-system.triptease.io/triptease.css" />
|
|
5
|
-
<meta charset="utf-8" />
|
|
6
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
|
|
7
|
-
<style>
|
|
8
|
-
body {
|
|
9
|
-
background: #fafafa;
|
|
10
|
-
}
|
|
11
|
-
</style>
|
|
12
|
-
</head>
|
|
13
|
-
<body>
|
|
14
|
-
<div id="demo"></div>
|
|
15
|
-
|
|
16
|
-
<script type="module">
|
|
17
|
-
import { html, render } from 'lit';
|
|
18
|
-
import '../dist/src/tt-navbar.js';
|
|
19
|
-
|
|
20
|
-
render(
|
|
21
|
-
html`
|
|
22
|
-
<tt-navbar
|
|
23
|
-
client-key="__DEMO__"
|
|
24
|
-
campaign-manager-url=${'https://app.campaign-manager.triptease.io'}
|
|
25
|
-
.onClientChange=${console.log}
|
|
26
|
-
>
|
|
27
|
-
</tt-navbar>
|
|
28
|
-
`,
|
|
29
|
-
document.querySelector('#demo')
|
|
30
|
-
);
|
|
31
|
-
</script>
|
|
32
|
-
</body>
|
|
33
|
-
</html>
|
package/dist/web/Config.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @triptease/tt-navbar v0.1.1
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
// src/Config.ts
|
|
6
|
-
var Config = {
|
|
7
|
-
NavbarStateCookieName: "tt-navbar-state",
|
|
8
|
-
NavbarStateCookieOpenValue: "open",
|
|
9
|
-
NavbarStateCookieClosedValue: "closed"
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
Config
|
|
13
|
-
};
|
|
14
|
-
//# sourceMappingURL=Config.js.map
|
package/dist/web/Config.js.map
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/Config.ts"],
|
|
4
|
-
"sourcesContent": ["const Config = {\n NavbarStateCookieName: 'tt-navbar-state',\n NavbarStateCookieOpenValue: 'open' as const,\n NavbarStateCookieClosedValue: 'closed' as const,\n};\n\nexport { Config };\n"],
|
|
5
|
-
"mappings": ";;;;;AAAA,IAAM,SAAS;AAAA,EACb,uBAAuB;AAAA,EACvB,4BAA4B;AAAA,EAC5B,8BAA8B;AAChC;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
package/dist/web/Routes.js
DELETED
package/dist/web/Routes.js.map
DELETED