@telia/teddy 0.0.37 → 0.0.39

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.
Files changed (100) hide show
  1. package/dist/components/card/card-button.cjs +42 -0
  2. package/dist/components/card/card-button.d.ts +35 -0
  3. package/dist/components/card/card-button.js +42 -0
  4. package/dist/components/card/card-content.cjs +15 -0
  5. package/dist/components/card/card-content.d.ts +6 -0
  6. package/dist/components/card/card-content.js +15 -0
  7. package/dist/components/card/card-footer.cjs +15 -0
  8. package/dist/components/card/card-footer.d.ts +6 -0
  9. package/dist/components/card/card-footer.js +15 -0
  10. package/dist/components/card/card-heading.cjs +25 -0
  11. package/dist/components/card/card-heading.d.ts +6 -0
  12. package/dist/components/card/card-heading.js +25 -0
  13. package/dist/components/card/card-illustration.cjs +22 -0
  14. package/dist/components/card/card-illustration.d.ts +15 -0
  15. package/dist/components/card/card-illustration.js +22 -0
  16. package/dist/components/card/card-line.cjs +13 -0
  17. package/dist/components/card/card-line.d.ts +5 -0
  18. package/dist/components/card/card-line.js +13 -0
  19. package/dist/components/card/card-link.cjs +18 -0
  20. package/dist/components/card/card-link.d.ts +11 -0
  21. package/dist/components/card/card-link.js +18 -0
  22. package/dist/components/card/card-slot.cjs +36 -0
  23. package/dist/components/card/card-slot.d.ts +8 -0
  24. package/dist/components/card/card-slot.js +36 -0
  25. package/dist/components/card/card.cjs +38 -171
  26. package/dist/components/card/card.d.ts +15 -99
  27. package/dist/components/card/card.js +39 -172
  28. package/dist/components/card/index.cjs +28 -1
  29. package/dist/components/card/index.d.ts +64 -2
  30. package/dist/components/card/index.js +28 -1
  31. package/dist/components/card/utils.cjs +4 -0
  32. package/dist/components/card/utils.d.ts +2 -0
  33. package/dist/components/card/utils.js +4 -0
  34. package/dist/components/date-picker/css.cjs +59 -0
  35. package/dist/components/date-picker/css.d.ts +1 -0
  36. package/dist/components/date-picker/css.js +59 -0
  37. package/dist/components/date-picker/date-picker-day.cjs +67 -0
  38. package/dist/components/date-picker/date-picker-day.d.ts +13 -0
  39. package/dist/components/date-picker/date-picker-day.js +67 -0
  40. package/dist/components/date-picker/date-picker-input.cjs +89 -0
  41. package/dist/components/date-picker/date-picker-input.d.ts +27 -0
  42. package/dist/components/date-picker/date-picker-input.js +90 -0
  43. package/dist/components/date-picker/date-picker-localization.cjs +31 -0
  44. package/dist/components/date-picker/date-picker-localization.d.ts +20 -0
  45. package/dist/components/date-picker/date-picker-localization.js +32 -0
  46. package/dist/components/date-picker/date-picker-month.cjs +42 -0
  47. package/dist/components/date-picker/date-picker-month.d.ts +20 -0
  48. package/dist/components/date-picker/date-picker-month.js +43 -0
  49. package/dist/components/date-picker/date-picker-navigation-key.cjs +15 -0
  50. package/dist/components/date-picker/date-picker-navigation-key.d.ts +14 -0
  51. package/dist/components/date-picker/date-picker-navigation-key.js +16 -0
  52. package/dist/components/date-picker/date-picker-props.cjs +1 -0
  53. package/dist/components/date-picker/date-picker-props.d.ts +23 -0
  54. package/dist/components/date-picker/date-picker-props.js +1 -0
  55. package/dist/components/date-picker/date-picker-unique-id.cjs +4 -0
  56. package/dist/components/date-picker/date-picker-unique-id.d.ts +1 -0
  57. package/dist/components/date-picker/date-picker-unique-id.js +4 -0
  58. package/dist/components/date-picker/date-picker-year-print.cjs +61 -0
  59. package/dist/components/date-picker/date-picker-year-print.d.ts +12 -0
  60. package/dist/components/date-picker/date-picker-year-print.js +61 -0
  61. package/dist/components/date-picker/date-picker-year.cjs +36 -0
  62. package/dist/components/date-picker/date-picker-year.d.ts +16 -0
  63. package/dist/components/date-picker/date-picker-year.js +37 -0
  64. package/dist/components/date-picker/date-picker.cjs +597 -0
  65. package/dist/components/date-picker/date-picker.d.ts +5 -0
  66. package/dist/components/date-picker/date-picker.js +597 -0
  67. package/dist/components/date-picker/date-utils.cjs +340 -0
  68. package/dist/components/date-picker/date-utils.d.ts +29 -0
  69. package/dist/components/date-picker/date-utils.js +340 -0
  70. package/dist/components/date-picker/date-year-range.cjs +1 -0
  71. package/dist/components/date-picker/date-year-range.d.ts +4 -0
  72. package/dist/components/date-picker/date-year-range.js +1 -0
  73. package/dist/components/date-picker/dialog-utils.cjs +36 -0
  74. package/dist/components/date-picker/dialog-utils.d.ts +3 -0
  75. package/dist/components/date-picker/dialog-utils.js +36 -0
  76. package/dist/components/date-picker/index.cjs +4 -0
  77. package/dist/components/date-picker/index.d.ts +2 -0
  78. package/dist/components/date-picker/index.js +4 -0
  79. package/dist/components/expandable-card/expandable-card-root.cjs +15 -15
  80. package/dist/components/expandable-card/expandable-card-root.js +15 -15
  81. package/dist/components/image/image.cjs +1 -1
  82. package/dist/components/image/image.js +1 -1
  83. package/dist/components/index.cjs +4 -2
  84. package/dist/components/index.d.ts +1 -0
  85. package/dist/components/index.js +3 -1
  86. package/dist/components/modal/modal.cjs +4 -4
  87. package/dist/components/modal/modal.js +4 -4
  88. package/dist/components/navigation-menu/global-navigation/global-navigation-my-pages.cjs +33 -18
  89. package/dist/components/navigation-menu/global-navigation/global-navigation-my-pages.js +34 -19
  90. package/dist/components/navigation-menu/global-navigation/global-navigation-root.d.ts +3 -1
  91. package/dist/components/navigation-menu/global-navigation/utils.cjs +152 -125
  92. package/dist/components/navigation-menu/global-navigation/utils.d.ts +229 -219
  93. package/dist/components/navigation-menu/global-navigation/utils.js +152 -125
  94. package/dist/components/notification/notification.cjs +2 -2
  95. package/dist/components/notification/notification.d.ts +7 -7
  96. package/dist/components/notification/notification.js +1 -1
  97. package/dist/main.cjs +4 -2
  98. package/dist/main.js +3 -1
  99. package/dist/style.css +637 -187
  100. package/package.json +1 -1
@@ -42,21 +42,21 @@ const MY_PAGE_LINKS = {
42
42
  };
43
43
  const MY_BUSINESS_LINKS = {
44
44
  name: "Min bedrift",
45
- link: "https://beta.minbedrift.telia.no/",
45
+ link: "https://beta.minbedrift.telia.no",
46
46
  appKey: APP_KEYS["my-business"],
47
47
  links: [],
48
48
  icon: "home"
49
49
  };
50
50
  const MY_PORTAL_LINKS = {
51
51
  name: "Min portal",
52
- link: "https://minportal.telia.no/",
52
+ link: "https://minportal.telia.no",
53
53
  appKey: APP_KEYS["my-portal"],
54
54
  links: [],
55
55
  icon: "end-user"
56
56
  };
57
57
  const BUSINESS_NET_LINKS = {
58
58
  name: "Bedriftsnett",
59
- link: "https://sb.telia.no/",
59
+ link: "https://sb.telia.no",
60
60
  appKey: APP_KEYS["business-net"],
61
61
  links: [],
62
62
  icon: "doc"
@@ -64,7 +64,7 @@ const BUSINESS_NET_LINKS = {
64
64
  const LOGGED_IN_LINKS_BUSINESS = [MY_BUSINESS_LINKS, MY_PORTAL_LINKS, BUSINESS_NET_LINKS];
65
65
  const LOGGED_IN_LINKS = [MY_PAGE_LINKS, ...LOGGED_IN_LINKS_BUSINESS];
66
66
  const PRIVATE_LINKS = {
67
- name: "Private",
67
+ name: "Privat",
68
68
  link: "/",
69
69
  links: [
70
70
  {
@@ -75,232 +75,259 @@ const PRIVATE_LINKS = {
75
75
  },
76
76
  {
77
77
  name: "Mobil",
78
- link: "/mobil",
78
+ link: "/mobil/",
79
79
  appKey: APP_KEYS["open-pages"],
80
80
  links: [
81
81
  {
82
- name: "Abonnement",
83
- link: "/mobil/abonnement",
82
+ name: "Mobilabonnement",
83
+ link: "/mobil/mobilabonnement/",
84
84
  appKey: APP_KEYS["open-pages"]
85
85
  },
86
86
  {
87
- name: "Kontantkort",
88
- link: "/mobil/kontantkort",
89
- appKey: APP_KEYS["open-pages"]
87
+ name: "Mobiltelefoner",
88
+ link: "/mobil/mobiltelefoner/",
89
+ appKey: APP_KEYS["web-shop"]
90
90
  },
91
91
  {
92
- name: "Mobiletelefoner",
93
- link: "/mobil/mobiletelefoner",
92
+ name: "Smartklokker",
93
+ link: "/mobil/smartklokker/",
94
94
  appKey: APP_KEYS["web-shop"]
95
95
  },
96
96
  {
97
- name: "Tjener",
98
- link: "/mobil/tjener",
99
- appKey: APP_KEYS["open-pages"]
97
+ name: "Nettbrett",
98
+ link: "/mobil/nettbrett/",
99
+ appKey: APP_KEYS["web-shop"]
100
100
  },
101
101
  {
102
102
  name: "Tilbehør",
103
- link: "/mobil/tilbehor",
103
+ link: "/mobil/tilbehor/",
104
104
  appKey: APP_KEYS["web-shop"]
105
+ },
106
+ {
107
+ name: "Påfyll kontantkort",
108
+ link: "/mobil/mobilabonnement/kontantkort/lade/",
109
+ appKey: APP_KEYS["open-pages"]
110
+ },
111
+ {
112
+ name: "Hjelp Mobil",
113
+ link: "/mobil/hjelp/",
114
+ appKey: APP_KEYS["open-pages"]
105
115
  }
106
116
  ]
107
117
  },
108
118
  {
109
119
  name: "TV",
110
- link: "/tv",
120
+ link: "/tv/",
111
121
  appKey: APP_KEYS["open-pages"],
112
122
  links: [
113
123
  {
114
- name: "Strømming",
115
- link: "/tv/stromming",
124
+ name: "Se Telia Play",
125
+ link: "https://www.teliaplay.no",
126
+ appKey: APP_KEYS["open-pages"]
127
+ },
128
+ {
129
+ name: "Innholdsoversikt",
130
+ link: "/tv/innholdsoversikt/",
116
131
  appKey: APP_KEYS["open-pages"]
117
132
  },
133
+ // {
134
+ // name: 'Strømmetjenester',
135
+ // link: '/tv/strommetjenester/',
136
+ // appKey: APP_KEYS['open-pages'],
137
+ // },
138
+ // {
139
+ // name: 'TV-kanaler',
140
+ // link: '/tv/tv-kanaler-og-kanalpakker/',
141
+ // appKey: APP_KEYS['open-pages'],
142
+ // },
143
+ // {
144
+ // name: 'Premiumtjenester',
145
+ // link: '/tv/premiumtjenester/',
146
+ // appKey: APP_KEYS['open-pages'],
147
+ // },
148
+ // {
149
+ // name: 'Filmer',
150
+ // link: '/tv/filmleie-og-filmkjop/',
151
+ // appKey: APP_KEYS['open-pages'],
152
+ // },
118
153
  {
119
- name: "Digital TV",
120
- link: "/tv/digital-tv",
154
+ name: "TV-bokser",
155
+ link: "/tv/tv-bokser/",
121
156
  appKey: APP_KEYS["open-pages"]
122
157
  },
123
158
  {
124
- name: "Tjener",
125
- link: "/tv/tjener",
159
+ name: "Hjelp TV",
160
+ link: "/tv/hjelp/",
126
161
  appKey: APP_KEYS["open-pages"]
127
162
  }
128
163
  ]
129
164
  },
130
165
  {
131
166
  name: "Internett",
132
- link: "/internett",
167
+ link: "/internett/",
133
168
  appKey: APP_KEYS["open-pages"],
134
169
  links: [
135
170
  {
136
- name: "Fiber",
137
- link: "/internett/fiber",
171
+ name: "Fast bredbånd",
172
+ link: "/internett/bredband/",
138
173
  appKey: APP_KEYS["open-pages"]
139
174
  },
140
175
  {
141
- name: "Mobilbredbånd",
142
- link: "/internett/mobilbredband",
176
+ name: "Trådløst bredbånd",
177
+ link: "/internett/tradlost-bredband/",
143
178
  appKey: APP_KEYS["open-pages"]
144
179
  },
145
180
  {
146
- name: "Tjener",
147
- link: "/internett/tjener",
181
+ name: "Mobilt bredbånd",
182
+ link: "/internett/mobilt-bredband/",
183
+ appKey: APP_KEYS["web-shop"]
184
+ },
185
+ {
186
+ name: "WiFi og hjemmenett",
187
+ link: "/internett/wifi/",
148
188
  appKey: APP_KEYS["open-pages"]
149
189
  },
150
190
  {
151
- name: "Tilbehør",
152
- link: "/internett/tilbehor",
153
- appKey: APP_KEYS["web-shop"]
191
+ name: "Driftsmeldinger",
192
+ link: "/hjelp/driftsmeldinger/",
193
+ appKey: APP_KEYS["open-pages"]
194
+ },
195
+ {
196
+ name: "Speedtest",
197
+ link: "/internett/speedtest/",
198
+ appKey: APP_KEYS["open-pages"]
199
+ },
200
+ {
201
+ name: "Hjelp Internett",
202
+ link: "/internett/hjelp/",
203
+ appKey: APP_KEYS["open-pages"]
154
204
  }
155
205
  ]
156
206
  },
157
207
  {
158
208
  name: "Hjelp",
159
- link: "/hjelp",
209
+ link: "/hjelp/",
160
210
  appKey: APP_KEYS["open-pages"],
161
211
  links: [
162
212
  {
163
- name: "FAQ",
164
- link: "/hjelp/faq",
165
- appKey: APP_KEYS["open-pages"],
166
- links: []
213
+ name: "Hjelp Mobil",
214
+ link: "/mobil/hjelp/",
215
+ appKey: APP_KEYS["open-pages"]
167
216
  },
168
217
  {
169
- name: "Kontakt oss",
170
- link: "/hjelp/kontakt-oss",
171
- appKey: APP_KEYS["open-pages"],
172
- links: []
218
+ name: "Hjelp Internett",
219
+ link: "/internett/hjelp/",
220
+ appKey: APP_KEYS["open-pages"]
221
+ },
222
+ {
223
+ name: "Hjelp TV",
224
+ link: "/tv/hjelp/",
225
+ appKey: APP_KEYS["open-pages"]
226
+ },
227
+ {
228
+ name: "Flytting",
229
+ link: "/hjelp/flytting/",
230
+ appKey: APP_KEYS["open-pages"]
231
+ },
232
+ {
233
+ name: "Finn butikk",
234
+ link: "/hjelp/butikker/",
235
+ appKey: APP_KEYS["open-pages"]
173
236
  }
237
+ // {
238
+ // name: 'Kontakt oss',
239
+ // link: '/hjelp/kontakt-oss/',
240
+ // appKey: APP_KEYS['open-pages'],
241
+ // },
174
242
  ]
175
243
  }
176
244
  ]
177
245
  };
178
246
  const BUSINESS_LINKS = {
179
247
  name: "Bedrift",
180
- link: "/bedrift",
248
+ link: "/bedrift/",
181
249
  links: [
182
250
  {
183
251
  name: "Logo",
184
- link: "/bedrift",
252
+ link: "/bedrift/",
185
253
  appKey: APP_KEYS["open-pages"],
186
254
  links: []
187
255
  },
188
256
  {
189
257
  name: "Produkter og tjenester",
190
- link: "/bedrift/produkt-og-tjenester",
258
+ link: "/bedrift/produkt-og-tjenester/",
191
259
  appKey: APP_KEYS["open-pages"],
260
+ links: []
261
+ },
262
+ {
263
+ name: "Innovasjon og startup",
264
+ link: "/bedrift/innovasjon-og-startup/",
265
+ appKey: APP_KEYS["open-pages"],
266
+ links: []
267
+ },
268
+ {
269
+ name: "Nettbutikk",
270
+ link: "/bedrift/mobilabonnement/",
271
+ appKey: APP_KEYS["web-shop"],
192
272
  links: [
193
273
  {
194
- name: "Tjenester",
195
- link: "/bedrift/tjenester",
196
- appKey: APP_KEYS["open-pages"]
197
- },
198
- {
199
- name: "Mobil",
200
- link: "/bedrift/mobil",
201
- appKey: APP_KEYS["open-pages"]
274
+ name: "Mobilabonnement",
275
+ link: "/bedrift/mobilabonnement/",
276
+ appKey: APP_KEYS["web-shop"]
202
277
  },
203
278
  {
204
- name: "Internett",
205
- link: "/bedrift/internett",
206
- appKey: APP_KEYS["open-pages"]
279
+ name: "Mobiltelefoner",
280
+ link: "/bedrift/mobiltelefoner/",
281
+ appKey: APP_KEYS["web-shop"]
207
282
  },
208
283
  {
209
- name: "Tilbehør",
210
- link: "/bedrift/tilbehor",
284
+ name: "Mobilt Bredbånd",
285
+ link: "/bedrift/mobilt-bredband/",
211
286
  appKey: APP_KEYS["web-shop"]
212
287
  }
213
288
  ]
214
289
  },
215
290
  {
216
- name: "Innovasjon og startup",
217
- link: "/bedrift/innovasjon-og-startup",
291
+ name: "Sikkerhet",
292
+ link: "/bedrift/sikkerhet/",
218
293
  appKey: APP_KEYS["open-pages"],
219
- links: [
220
- {
221
- name: "Innovasjon",
222
- link: "/bedrift/innovasjon",
223
- appKey: APP_KEYS["open-pages"]
224
- },
225
- {
226
- name: "Startup",
227
- link: "/bedrift/startup",
228
- appKey: APP_KEYS["open-pages"]
229
- }
230
- ]
294
+ links: []
231
295
  },
232
296
  {
233
297
  name: "Hjelp",
234
- link: "/bedrift/hjelp",
298
+ link: "/bedrift/kundeservice/",
235
299
  appKey: APP_KEYS["open-pages"],
236
- links: [
237
- {
238
- name: "FAQ",
239
- link: "/bedrift/hjelp/faq",
240
- appKey: APP_KEYS["open-pages"]
241
- },
242
- {
243
- name: "Kontakt oss",
244
- link: "/bedrift/hjelp/kontakt-oss",
245
- appKey: APP_KEYS["open-pages"]
246
- }
247
- ]
300
+ links: []
248
301
  }
249
302
  ]
250
303
  };
251
304
  const MDU_LINKS = {
252
305
  name: "Borettslag",
253
- link: "/borettslag",
306
+ link: "/borettslag/",
254
307
  links: [
255
308
  {
256
309
  name: "Logo",
257
- link: "/borettslag",
310
+ link: "/borettslag/",
258
311
  appKey: APP_KEYS["open-pages"],
259
312
  links: []
260
313
  },
261
314
  {
262
- name: "Produkter og tjenester",
263
- link: "/borettslag/produkt-og-tjenester",
315
+ name: "Beboer",
316
+ link: "/borettslag/beboer/",
264
317
  appKey: APP_KEYS["open-pages"],
265
- links: [
266
- {
267
- name: "Tjenester",
268
- link: "/borettslag/tjenester",
269
- appKey: APP_KEYS["open-pages"]
270
- },
271
- {
272
- name: "Mobil",
273
- link: "/borettslag/mobil",
274
- appKey: APP_KEYS["open-pages"]
275
- },
276
- {
277
- name: "Internett",
278
- link: "/borettslag/internett",
279
- appKey: APP_KEYS["open-pages"]
280
- },
281
- {
282
- name: "Tilbehør",
283
- link: "/borettslag/tilbehor",
284
- appKey: APP_KEYS["web-shop"]
285
- }
286
- ]
318
+ links: []
287
319
  },
288
320
  {
289
- name: "Hjelp",
290
- link: "/borettslag/hjelp",
321
+ name: "Styre",
322
+ link: "/borettslag/styre/",
291
323
  appKey: APP_KEYS["open-pages"],
292
- links: [
293
- {
294
- name: "FAQ",
295
- link: "/borettslag/hjelp/faq",
296
- appKey: APP_KEYS["open-pages"]
297
- },
298
- {
299
- name: "Kontakt oss",
300
- link: "/borettslag/hjelp/kontakt-oss",
301
- appKey: APP_KEYS["open-pages"]
302
- }
303
- ]
324
+ links: []
325
+ },
326
+ {
327
+ name: "Utbygger",
328
+ link: "/borettslag/utbygger/",
329
+ appKey: APP_KEYS["open-pages"],
330
+ links: []
304
331
  }
305
332
  ]
306
333
  };