@telia/teddy 0.0.46 → 0.0.47

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.
@@ -29,17 +29,17 @@ const components_visuallyHidden_visuallyHidden = require("../../visually-hidden/
29
29
  const components_link_link = require("../../link/link.cjs");
30
30
  const components_list_index = require("../../list/index.cjs");
31
31
  const styles = {
32
- "teddy-global-navigation": "_teddy-global-navigation_xrrz1_1",
33
- "teddy-global-navigation__mobile-trigger": "_teddy-global-navigation__mobile-trigger_xrrz1_6",
34
- "teddy-global-navigation__mobile-header": "_teddy-global-navigation__mobile-header_xrrz1_9",
35
- "teddy-global-navigation__mobile": "_teddy-global-navigation__mobile_xrrz1_6",
36
- "teddy-global-navigation__link": "_teddy-global-navigation__link_xrrz1_26",
37
- "teddy-global-navigation__viewport": "_teddy-global-navigation__viewport_xrrz1_29",
38
- "teddy-global-navigation__item-wrapper": "_teddy-global-navigation__item-wrapper_xrrz1_32",
39
- "teddy-global-navigation__item-count": "_teddy-global-navigation__item-count_xrrz1_35",
40
- "teddy-global-navigation__viewport-wrapper": "_teddy-global-navigation__viewport-wrapper_xrrz1_43",
41
- "close-viewport": "_close-viewport_xrrz1_1",
42
- "teddy-global-navigation__top-menu-wrapper": "_teddy-global-navigation__top-menu-wrapper_xrrz1_54"
32
+ "teddy-global-navigation": "_teddy-global-navigation_dagdv_1",
33
+ "teddy-global-navigation__mobile-trigger": "_teddy-global-navigation__mobile-trigger_dagdv_6",
34
+ "teddy-global-navigation__mobile-header": "_teddy-global-navigation__mobile-header_dagdv_9",
35
+ "teddy-global-navigation__mobile": "_teddy-global-navigation__mobile_dagdv_6",
36
+ "teddy-global-navigation__link": "_teddy-global-navigation__link_dagdv_26",
37
+ "teddy-global-navigation__viewport": "_teddy-global-navigation__viewport_dagdv_29",
38
+ "teddy-global-navigation__item-wrapper": "_teddy-global-navigation__item-wrapper_dagdv_32",
39
+ "teddy-global-navigation__item-count": "_teddy-global-navigation__item-count_dagdv_35",
40
+ "teddy-global-navigation__viewport-wrapper": "_teddy-global-navigation__viewport-wrapper_dagdv_43",
41
+ "close-viewport": "_close-viewport_dagdv_1",
42
+ "teddy-global-navigation__top-menu-wrapper": "_teddy-global-navigation__top-menu-wrapper_dagdv_54"
43
43
  };
44
44
  function MyPages(props) {
45
45
  var _a, _b;
@@ -27,17 +27,17 @@ import { VisuallyHidden } from "../../visually-hidden/visually-hidden.js";
27
27
  import { Link } from "../../link/link.js";
28
28
  import { List } from "../../list/index.js";
29
29
  const styles = {
30
- "teddy-global-navigation": "_teddy-global-navigation_xrrz1_1",
31
- "teddy-global-navigation__mobile-trigger": "_teddy-global-navigation__mobile-trigger_xrrz1_6",
32
- "teddy-global-navigation__mobile-header": "_teddy-global-navigation__mobile-header_xrrz1_9",
33
- "teddy-global-navigation__mobile": "_teddy-global-navigation__mobile_xrrz1_6",
34
- "teddy-global-navigation__link": "_teddy-global-navigation__link_xrrz1_26",
35
- "teddy-global-navigation__viewport": "_teddy-global-navigation__viewport_xrrz1_29",
36
- "teddy-global-navigation__item-wrapper": "_teddy-global-navigation__item-wrapper_xrrz1_32",
37
- "teddy-global-navigation__item-count": "_teddy-global-navigation__item-count_xrrz1_35",
38
- "teddy-global-navigation__viewport-wrapper": "_teddy-global-navigation__viewport-wrapper_xrrz1_43",
39
- "close-viewport": "_close-viewport_xrrz1_1",
40
- "teddy-global-navigation__top-menu-wrapper": "_teddy-global-navigation__top-menu-wrapper_xrrz1_54"
30
+ "teddy-global-navigation": "_teddy-global-navigation_dagdv_1",
31
+ "teddy-global-navigation__mobile-trigger": "_teddy-global-navigation__mobile-trigger_dagdv_6",
32
+ "teddy-global-navigation__mobile-header": "_teddy-global-navigation__mobile-header_dagdv_9",
33
+ "teddy-global-navigation__mobile": "_teddy-global-navigation__mobile_dagdv_6",
34
+ "teddy-global-navigation__link": "_teddy-global-navigation__link_dagdv_26",
35
+ "teddy-global-navigation__viewport": "_teddy-global-navigation__viewport_dagdv_29",
36
+ "teddy-global-navigation__item-wrapper": "_teddy-global-navigation__item-wrapper_dagdv_32",
37
+ "teddy-global-navigation__item-count": "_teddy-global-navigation__item-count_dagdv_35",
38
+ "teddy-global-navigation__viewport-wrapper": "_teddy-global-navigation__viewport-wrapper_dagdv_43",
39
+ "close-viewport": "_close-viewport_dagdv_1",
40
+ "teddy-global-navigation__top-menu-wrapper": "_teddy-global-navigation__top-menu-wrapper_dagdv_54"
41
41
  };
42
42
  function MyPages(props) {
43
43
  var _a, _b;
@@ -110,8 +110,7 @@ const PRIVATE_LINKS = {
110
110
  },
111
111
  {
112
112
  name: "Hjelp Mobil",
113
- // link: '/mobil/hjelp/',
114
- link: "/kundeservice/mobil/",
113
+ link: "/mobil/hjelp/",
115
114
  appKey: APP_KEYS["open-pages"]
116
115
  }
117
116
  ]
@@ -158,8 +157,7 @@ const PRIVATE_LINKS = {
158
157
  },
159
158
  {
160
159
  name: "Hjelp TV",
161
- // link: '/tv/hjelp/',
162
- link: "/kundeservice/tv/",
160
+ link: "/tv/hjelp/",
163
161
  appKey: APP_KEYS["open-pages"]
164
162
  }
165
163
  ]
@@ -171,7 +169,7 @@ const PRIVATE_LINKS = {
171
169
  links: [
172
170
  {
173
171
  name: "Fast bredbånd",
174
- link: "/internett/bredband/",
172
+ link: "/internett/fast-bredband/",
175
173
  appKey: APP_KEYS["open-pages"]
176
174
  },
177
175
  {
@@ -201,51 +199,44 @@ const PRIVATE_LINKS = {
201
199
  },
202
200
  {
203
201
  name: "Hjelp Internett",
204
- // link: '/internett/hjelp/',
205
- link: "/kundeservice/internett/",
202
+ link: "/internett/hjelp/",
206
203
  appKey: APP_KEYS["open-pages"]
207
204
  }
208
205
  ]
209
206
  },
210
207
  {
211
208
  name: "Hjelp",
212
- // link: '/hjelp/',
213
- link: "/kundeservice/",
209
+ link: "/hjelp/",
214
210
  appKey: APP_KEYS["open-pages"],
215
211
  links: [
216
212
  {
217
213
  name: "Hjelp Mobil",
218
- link: "/kundeservice/mobil/",
219
- // link: '/mobil/hjelp/',
214
+ link: "/mobil/hjelp/",
220
215
  appKey: APP_KEYS["open-pages"]
221
216
  },
222
217
  {
223
- name: "Hjelp Internett",
224
- // link: '/internett/hjelp/',
225
- link: "/kundeservice/internett/",
218
+ name: "Hjelp TV",
219
+ link: "/tv/hjelp/",
226
220
  appKey: APP_KEYS["open-pages"]
227
221
  },
228
222
  {
229
- name: "Hjelp TV",
230
- // link: '/tv/hjelp/',
231
- link: "/kundeservice/tv/",
223
+ name: "Hjelp Internett",
224
+ link: "/internett/hjelp/",
232
225
  appKey: APP_KEYS["open-pages"]
233
226
  },
234
227
  {
235
228
  name: "Faktura",
236
- link: "/kundeservice/faktura/",
229
+ link: "/hjelp/faktura/",
237
230
  appKey: APP_KEYS["open-pages"]
238
231
  },
239
232
  {
240
233
  name: "Flytting",
241
- // link: '/hjelp/flytting/',
242
- link: "/kundeservice/flytting/",
234
+ link: "/hjelp/flytting/",
243
235
  appKey: APP_KEYS["open-pages"]
244
236
  },
245
237
  {
246
238
  name: "Finn butikk",
247
- // link: '/hjelp/butikker/',
248
- link: "/kundeservice/butikker-og-forhandlere/",
239
+ link: "/hjelp/butikker-og-forhandlere/",
249
240
  appKey: APP_KEYS["open-pages"]
250
241
  }
251
242
  // {
@@ -156,7 +156,7 @@ export declare const PRIVATE_LINKS: {
156
156
  readonly appKey: "open-pages";
157
157
  }, {
158
158
  readonly name: "Hjelp Mobil";
159
- readonly link: "/kundeservice/mobil/";
159
+ readonly link: "/mobil/hjelp/";
160
160
  readonly appKey: "open-pages";
161
161
  }];
162
162
  }, {
@@ -177,7 +177,7 @@ export declare const PRIVATE_LINKS: {
177
177
  readonly appKey: "open-pages";
178
178
  }, {
179
179
  readonly name: "Hjelp TV";
180
- readonly link: "/kundeservice/tv/";
180
+ readonly link: "/tv/hjelp/";
181
181
  readonly appKey: "open-pages";
182
182
  }];
183
183
  }, {
@@ -186,7 +186,7 @@ export declare const PRIVATE_LINKS: {
186
186
  readonly appKey: "open-pages";
187
187
  readonly links: readonly [{
188
188
  readonly name: "Fast bredbånd";
189
- readonly link: "/internett/bredband/";
189
+ readonly link: "/internett/fast-bredband/";
190
190
  readonly appKey: "open-pages";
191
191
  }, {
192
192
  readonly name: "Trådløst bredbånd";
@@ -210,36 +210,36 @@ export declare const PRIVATE_LINKS: {
210
210
  readonly appKey: "open-pages";
211
211
  }, {
212
212
  readonly name: "Hjelp Internett";
213
- readonly link: "/kundeservice/internett/";
213
+ readonly link: "/internett/hjelp/";
214
214
  readonly appKey: "open-pages";
215
215
  }];
216
216
  }, {
217
217
  readonly name: "Hjelp";
218
- readonly link: "/kundeservice/";
218
+ readonly link: "/hjelp/";
219
219
  readonly appKey: "open-pages";
220
220
  readonly links: readonly [{
221
221
  readonly name: "Hjelp Mobil";
222
- readonly link: "/kundeservice/mobil/";
222
+ readonly link: "/mobil/hjelp/";
223
223
  readonly appKey: "open-pages";
224
224
  }, {
225
- readonly name: "Hjelp Internett";
226
- readonly link: "/kundeservice/internett/";
225
+ readonly name: "Hjelp TV";
226
+ readonly link: "/tv/hjelp/";
227
227
  readonly appKey: "open-pages";
228
228
  }, {
229
- readonly name: "Hjelp TV";
230
- readonly link: "/kundeservice/tv/";
229
+ readonly name: "Hjelp Internett";
230
+ readonly link: "/internett/hjelp/";
231
231
  readonly appKey: "open-pages";
232
232
  }, {
233
233
  readonly name: "Faktura";
234
- readonly link: "/kundeservice/faktura/";
234
+ readonly link: "/hjelp/faktura/";
235
235
  readonly appKey: "open-pages";
236
236
  }, {
237
237
  readonly name: "Flytting";
238
- readonly link: "/kundeservice/flytting/";
238
+ readonly link: "/hjelp/flytting/";
239
239
  readonly appKey: "open-pages";
240
240
  }, {
241
241
  readonly name: "Finn butikk";
242
- readonly link: "/kundeservice/butikker-og-forhandlere/";
242
+ readonly link: "/hjelp/butikker-og-forhandlere/";
243
243
  readonly appKey: "open-pages";
244
244
  }];
245
245
  }];
@@ -354,7 +354,7 @@ export declare const LINKS: readonly [{
354
354
  readonly appKey: "open-pages";
355
355
  }, {
356
356
  readonly name: "Hjelp Mobil";
357
- readonly link: "/kundeservice/mobil/";
357
+ readonly link: "/mobil/hjelp/";
358
358
  readonly appKey: "open-pages";
359
359
  }];
360
360
  }, {
@@ -375,7 +375,7 @@ export declare const LINKS: readonly [{
375
375
  readonly appKey: "open-pages";
376
376
  }, {
377
377
  readonly name: "Hjelp TV";
378
- readonly link: "/kundeservice/tv/";
378
+ readonly link: "/tv/hjelp/";
379
379
  readonly appKey: "open-pages";
380
380
  }];
381
381
  }, {
@@ -384,7 +384,7 @@ export declare const LINKS: readonly [{
384
384
  readonly appKey: "open-pages";
385
385
  readonly links: readonly [{
386
386
  readonly name: "Fast bredbånd";
387
- readonly link: "/internett/bredband/";
387
+ readonly link: "/internett/fast-bredband/";
388
388
  readonly appKey: "open-pages";
389
389
  }, {
390
390
  readonly name: "Trådløst bredbånd";
@@ -408,36 +408,36 @@ export declare const LINKS: readonly [{
408
408
  readonly appKey: "open-pages";
409
409
  }, {
410
410
  readonly name: "Hjelp Internett";
411
- readonly link: "/kundeservice/internett/";
411
+ readonly link: "/internett/hjelp/";
412
412
  readonly appKey: "open-pages";
413
413
  }];
414
414
  }, {
415
415
  readonly name: "Hjelp";
416
- readonly link: "/kundeservice/";
416
+ readonly link: "/hjelp/";
417
417
  readonly appKey: "open-pages";
418
418
  readonly links: readonly [{
419
419
  readonly name: "Hjelp Mobil";
420
- readonly link: "/kundeservice/mobil/";
420
+ readonly link: "/mobil/hjelp/";
421
421
  readonly appKey: "open-pages";
422
422
  }, {
423
- readonly name: "Hjelp Internett";
424
- readonly link: "/kundeservice/internett/";
423
+ readonly name: "Hjelp TV";
424
+ readonly link: "/tv/hjelp/";
425
425
  readonly appKey: "open-pages";
426
426
  }, {
427
- readonly name: "Hjelp TV";
428
- readonly link: "/kundeservice/tv/";
427
+ readonly name: "Hjelp Internett";
428
+ readonly link: "/internett/hjelp/";
429
429
  readonly appKey: "open-pages";
430
430
  }, {
431
431
  readonly name: "Faktura";
432
- readonly link: "/kundeservice/faktura/";
432
+ readonly link: "/hjelp/faktura/";
433
433
  readonly appKey: "open-pages";
434
434
  }, {
435
435
  readonly name: "Flytting";
436
- readonly link: "/kundeservice/flytting/";
436
+ readonly link: "/hjelp/flytting/";
437
437
  readonly appKey: "open-pages";
438
438
  }, {
439
439
  readonly name: "Finn butikk";
440
- readonly link: "/kundeservice/butikker-og-forhandlere/";
440
+ readonly link: "/hjelp/butikker-og-forhandlere/";
441
441
  readonly appKey: "open-pages";
442
442
  }];
443
443
  }];
@@ -108,8 +108,7 @@ const PRIVATE_LINKS = {
108
108
  },
109
109
  {
110
110
  name: "Hjelp Mobil",
111
- // link: '/mobil/hjelp/',
112
- link: "/kundeservice/mobil/",
111
+ link: "/mobil/hjelp/",
113
112
  appKey: APP_KEYS["open-pages"]
114
113
  }
115
114
  ]
@@ -156,8 +155,7 @@ const PRIVATE_LINKS = {
156
155
  },
157
156
  {
158
157
  name: "Hjelp TV",
159
- // link: '/tv/hjelp/',
160
- link: "/kundeservice/tv/",
158
+ link: "/tv/hjelp/",
161
159
  appKey: APP_KEYS["open-pages"]
162
160
  }
163
161
  ]
@@ -169,7 +167,7 @@ const PRIVATE_LINKS = {
169
167
  links: [
170
168
  {
171
169
  name: "Fast bredbånd",
172
- link: "/internett/bredband/",
170
+ link: "/internett/fast-bredband/",
173
171
  appKey: APP_KEYS["open-pages"]
174
172
  },
175
173
  {
@@ -199,51 +197,44 @@ const PRIVATE_LINKS = {
199
197
  },
200
198
  {
201
199
  name: "Hjelp Internett",
202
- // link: '/internett/hjelp/',
203
- link: "/kundeservice/internett/",
200
+ link: "/internett/hjelp/",
204
201
  appKey: APP_KEYS["open-pages"]
205
202
  }
206
203
  ]
207
204
  },
208
205
  {
209
206
  name: "Hjelp",
210
- // link: '/hjelp/',
211
- link: "/kundeservice/",
207
+ link: "/hjelp/",
212
208
  appKey: APP_KEYS["open-pages"],
213
209
  links: [
214
210
  {
215
211
  name: "Hjelp Mobil",
216
- link: "/kundeservice/mobil/",
217
- // link: '/mobil/hjelp/',
212
+ link: "/mobil/hjelp/",
218
213
  appKey: APP_KEYS["open-pages"]
219
214
  },
220
215
  {
221
- name: "Hjelp Internett",
222
- // link: '/internett/hjelp/',
223
- link: "/kundeservice/internett/",
216
+ name: "Hjelp TV",
217
+ link: "/tv/hjelp/",
224
218
  appKey: APP_KEYS["open-pages"]
225
219
  },
226
220
  {
227
- name: "Hjelp TV",
228
- // link: '/tv/hjelp/',
229
- link: "/kundeservice/tv/",
221
+ name: "Hjelp Internett",
222
+ link: "/internett/hjelp/",
230
223
  appKey: APP_KEYS["open-pages"]
231
224
  },
232
225
  {
233
226
  name: "Faktura",
234
- link: "/kundeservice/faktura/",
227
+ link: "/hjelp/faktura/",
235
228
  appKey: APP_KEYS["open-pages"]
236
229
  },
237
230
  {
238
231
  name: "Flytting",
239
- // link: '/hjelp/flytting/',
240
- link: "/kundeservice/flytting/",
232
+ link: "/hjelp/flytting/",
241
233
  appKey: APP_KEYS["open-pages"]
242
234
  },
243
235
  {
244
236
  name: "Finn butikk",
245
- // link: '/hjelp/butikker/',
246
- link: "/kundeservice/butikker-og-forhandlere/",
237
+ link: "/hjelp/butikker-og-forhandlere/",
247
238
  appKey: APP_KEYS["open-pages"]
248
239
  }
249
240
  // {
package/dist/style.css CHANGED
@@ -3322,41 +3322,41 @@
3322
3322
  height: 0;
3323
3323
  }
3324
3324
  }
3325
- }._teddy-global-navigation_xrrz1_1 {
3325
+ }._teddy-global-navigation_dagdv_1 {
3326
3326
  position: sticky;
3327
3327
  inset: 0 0 auto 0;
3328
3328
  z-index: 39;
3329
3329
  }
3330
- ._teddy-global-navigation__mobile-trigger_xrrz1_6 {
3330
+ ._teddy-global-navigation__mobile-trigger_dagdv_6 {
3331
3331
  border-inline: var(--teddy-border-width-xs) solid var(--teddy-color-border-weak);
3332
3332
  }
3333
- ._teddy-global-navigation__mobile-header_xrrz1_9[data-state=open] {
3333
+ ._teddy-global-navigation__mobile-header_dagdv_9[data-state=open] {
3334
3334
  border-bottom: var(--teddy-border-width-xs) solid var(--teddy-color-border-weak);
3335
3335
  }
3336
- ._teddy-global-navigation__mobile_xrrz1_6 {
3336
+ ._teddy-global-navigation__mobile_dagdv_6 {
3337
3337
  padding: var(--teddy-spacing-25) var(--teddy-spacing-200);
3338
3338
  border-bottom: var(--teddy-border-width-sm) solid var(--teddy-color-border-weak);
3339
3339
  }
3340
- ._teddy-global-navigation__mobile_xrrz1_6::before {
3340
+ ._teddy-global-navigation__mobile_dagdv_6::before {
3341
3341
  content: "";
3342
3342
  display: block;
3343
3343
  width: var(--width-for-centering-element);
3344
3344
  }
3345
- ._teddy-global-navigation__mobile_xrrz1_6::after {
3345
+ ._teddy-global-navigation__mobile_dagdv_6::after {
3346
3346
  content: "";
3347
3347
  display: block;
3348
3348
  width: var(--width-for-centering-element);
3349
3349
  }
3350
- ._teddy-global-navigation__link_xrrz1_26 {
3350
+ ._teddy-global-navigation__link_dagdv_26 {
3351
3351
  text-decoration: none;
3352
3352
  }
3353
- ._teddy-global-navigation__viewport_xrrz1_29 {
3353
+ ._teddy-global-navigation__viewport_dagdv_29 {
3354
3354
  height: var(--radix-navigation-menu-viewport-height, calc(47px * var(--teddy-scale)));
3355
3355
  }
3356
- ._teddy-global-navigation__item-wrapper_xrrz1_32 {
3356
+ ._teddy-global-navigation__item-wrapper_dagdv_32 {
3357
3357
  position: relative;
3358
3358
  }
3359
- ._teddy-global-navigation__item-count_xrrz1_35 {
3359
+ ._teddy-global-navigation__item-count_dagdv_35 {
3360
3360
  display: flex;
3361
3361
  justify-content: center;
3362
3362
  align-items: center;
@@ -3364,29 +3364,29 @@
3364
3364
  left: 15px;
3365
3365
  top: -6px;
3366
3366
  }
3367
- ._teddy-global-navigation__viewport-wrapper_xrrz1_43 {
3367
+ ._teddy-global-navigation__viewport-wrapper_dagdv_43 {
3368
3368
  overflow: hidden;
3369
3369
  transition: max-height var(--teddy-motion-duration-controlled, 0) ease;
3370
3370
  }
3371
- ._teddy-global-navigation__viewport-wrapper_xrrz1_43[data-state=open] {
3372
- max-height: var(--teddy-top-menu-height);
3371
+ ._teddy-global-navigation__viewport-wrapper_dagdv_43[data-state=open] {
3372
+ max-height: var(--teddy-viewport-wrapper-height);
3373
3373
  }
3374
- ._teddy-global-navigation__viewport-wrapper_xrrz1_43[data-state=closed] {
3375
- animation: _close-viewport_xrrz1_1 var(--teddy-motion-duration-controlled, 0) ease;
3374
+ ._teddy-global-navigation__viewport-wrapper_dagdv_43[data-state=closed] {
3375
+ animation: _close-viewport_dagdv_1 var(--teddy-motion-duration-controlled, 0) ease;
3376
3376
  max-height: 0;
3377
3377
  }
3378
- ._teddy-global-navigation__top-menu-wrapper_xrrz1_54 {
3378
+ ._teddy-global-navigation__top-menu-wrapper_dagdv_54 {
3379
3379
  overflow: hidden;
3380
3380
  transition: max-height var(--teddy-motion-duration-controlled, 0) ease;
3381
3381
  }
3382
- ._teddy-global-navigation__top-menu-wrapper_xrrz1_54[data-state=open] {
3382
+ ._teddy-global-navigation__top-menu-wrapper_dagdv_54[data-state=open] {
3383
3383
  max-height: var(--teddy-top-menu-height, 47px);
3384
3384
  }
3385
- ._teddy-global-navigation__top-menu-wrapper_xrrz1_54[data-state=closed] {
3385
+ ._teddy-global-navigation__top-menu-wrapper_dagdv_54[data-state=closed] {
3386
3386
  max-height: 0;
3387
3387
  }
3388
3388
 
3389
- @keyframes _close-viewport_xrrz1_1 {
3389
+ @keyframes _close-viewport_dagdv_1 {
3390
3390
  0% {
3391
3391
  max-height: var(--teddy-viewport-wrapper-height);
3392
3392
  }
package/package.json CHANGED
@@ -20,7 +20,7 @@
20
20
  "pnpm": ">=8"
21
21
  },
22
22
  "private": false,
23
- "version": "0.0.46",
23
+ "version": "0.0.47",
24
24
  "sideEffects": [
25
25
  "**/*.css"
26
26
  ],