@telia/teddy 0.0.36 → 0.0.38
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/components/badge/badge.cjs +10 -10
- package/dist/components/badge/badge.js +10 -10
- package/dist/components/card/card-button.cjs +42 -0
- package/dist/components/card/card-button.d.ts +35 -0
- package/dist/components/card/card-button.js +42 -0
- package/dist/components/card/card-content.cjs +15 -0
- package/dist/components/card/card-content.d.ts +6 -0
- package/dist/components/card/card-content.js +15 -0
- package/dist/components/card/card-footer.cjs +15 -0
- package/dist/components/card/card-footer.d.ts +6 -0
- package/dist/components/card/card-footer.js +15 -0
- package/dist/components/card/card-heading.cjs +25 -0
- package/dist/components/card/card-heading.d.ts +6 -0
- package/dist/components/card/card-heading.js +25 -0
- package/dist/components/card/card-illustration.cjs +22 -0
- package/dist/components/card/card-illustration.d.ts +15 -0
- package/dist/components/card/card-illustration.js +22 -0
- package/dist/components/card/card-line.cjs +13 -0
- package/dist/components/card/card-line.d.ts +5 -0
- package/dist/components/card/card-line.js +13 -0
- package/dist/components/card/card-link.cjs +18 -0
- package/dist/components/card/card-link.d.ts +11 -0
- package/dist/components/card/card-link.js +18 -0
- package/dist/components/card/card-slot.cjs +36 -0
- package/dist/components/card/card-slot.d.ts +8 -0
- package/dist/components/card/card-slot.js +36 -0
- package/dist/components/card/card.cjs +56 -173
- package/dist/components/card/card.d.ts +16 -98
- package/dist/components/card/card.js +57 -174
- package/dist/components/card/index.cjs +28 -1
- package/dist/components/card/index.d.ts +64 -2
- package/dist/components/card/index.js +28 -1
- package/dist/components/card/utils.cjs +4 -0
- package/dist/components/card/utils.d.ts +2 -0
- package/dist/components/card/utils.js +4 -0
- package/dist/components/date-picker/css.cjs +59 -0
- package/dist/components/date-picker/css.d.ts +1 -0
- package/dist/components/date-picker/css.js +59 -0
- package/dist/components/date-picker/date-picker-day.cjs +67 -0
- package/dist/components/date-picker/date-picker-day.d.ts +13 -0
- package/dist/components/date-picker/date-picker-day.js +67 -0
- package/dist/components/date-picker/date-picker-input.cjs +89 -0
- package/dist/components/date-picker/date-picker-input.d.ts +27 -0
- package/dist/components/date-picker/date-picker-input.js +90 -0
- package/dist/components/date-picker/date-picker-localization.cjs +31 -0
- package/dist/components/date-picker/date-picker-localization.d.ts +20 -0
- package/dist/components/date-picker/date-picker-localization.js +32 -0
- package/dist/components/date-picker/date-picker-month.cjs +42 -0
- package/dist/components/date-picker/date-picker-month.d.ts +20 -0
- package/dist/components/date-picker/date-picker-month.js +43 -0
- package/dist/components/date-picker/date-picker-navigation-key.cjs +15 -0
- package/dist/components/date-picker/date-picker-navigation-key.d.ts +14 -0
- package/dist/components/date-picker/date-picker-navigation-key.js +16 -0
- package/dist/components/date-picker/date-picker-props.cjs +1 -0
- package/dist/components/date-picker/date-picker-props.d.ts +23 -0
- package/dist/components/date-picker/date-picker-props.js +1 -0
- package/dist/components/date-picker/date-picker-unique-id.cjs +4 -0
- package/dist/components/date-picker/date-picker-unique-id.d.ts +1 -0
- package/dist/components/date-picker/date-picker-unique-id.js +4 -0
- package/dist/components/date-picker/date-picker-year-print.cjs +61 -0
- package/dist/components/date-picker/date-picker-year-print.d.ts +12 -0
- package/dist/components/date-picker/date-picker-year-print.js +61 -0
- package/dist/components/date-picker/date-picker-year.cjs +36 -0
- package/dist/components/date-picker/date-picker-year.d.ts +16 -0
- package/dist/components/date-picker/date-picker-year.js +37 -0
- package/dist/components/date-picker/date-picker.cjs +597 -0
- package/dist/components/date-picker/date-picker.d.ts +5 -0
- package/dist/components/date-picker/date-picker.js +597 -0
- package/dist/components/date-picker/date-utils.cjs +340 -0
- package/dist/components/date-picker/date-utils.d.ts +29 -0
- package/dist/components/date-picker/date-utils.js +340 -0
- package/dist/components/date-picker/date-year-range.cjs +1 -0
- package/dist/components/date-picker/date-year-range.d.ts +4 -0
- package/dist/components/date-picker/date-year-range.js +1 -0
- package/dist/components/date-picker/dialog-utils.cjs +36 -0
- package/dist/components/date-picker/dialog-utils.d.ts +3 -0
- package/dist/components/date-picker/dialog-utils.js +36 -0
- package/dist/components/date-picker/index.cjs +4 -0
- package/dist/components/date-picker/index.d.ts +2 -0
- package/dist/components/date-picker/index.js +4 -0
- package/dist/components/drawer/drawer-close.cjs +1 -1
- package/dist/components/drawer/drawer-close.js +1 -1
- package/dist/components/drawer/drawer-content.cjs +2 -2
- package/dist/components/drawer/drawer-content.js +2 -2
- package/dist/components/drawer/drawer-description.cjs +1 -1
- package/dist/components/drawer/drawer-description.js +1 -1
- package/dist/components/drawer/drawer-footer.cjs +1 -1
- package/dist/components/drawer/drawer-footer.js +1 -1
- package/dist/components/drawer/drawer-overlay.cjs +1 -1
- package/dist/components/drawer/drawer-overlay.js +1 -1
- package/dist/components/drawer/drawer-title.cjs +1 -1
- package/dist/components/drawer/drawer-title.js +1 -1
- package/dist/components/expandable-card/expandable-card-root.cjs +15 -15
- package/dist/components/expandable-card/expandable-card-root.js +15 -15
- package/dist/components/image/image.cjs +1 -1
- package/dist/components/image/image.js +1 -1
- package/dist/components/index.cjs +4 -2
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +3 -1
- package/dist/components/modal/modal.cjs +4 -4
- package/dist/components/modal/modal.js +4 -4
- package/dist/components/navigation-menu/global-navigation/global-navigation-desktop-simplified.cjs +9 -0
- package/dist/components/navigation-menu/global-navigation/global-navigation-desktop-simplified.d.ts +8 -0
- package/dist/components/navigation-menu/global-navigation/global-navigation-desktop-simplified.js +9 -0
- package/dist/components/navigation-menu/global-navigation/global-navigation-mobile-simplified.cjs +12 -0
- package/dist/components/navigation-menu/global-navigation/global-navigation-mobile-simplified.d.ts +7 -0
- package/dist/components/navigation-menu/global-navigation/global-navigation-mobile-simplified.js +12 -0
- package/dist/components/navigation-menu/global-navigation/global-navigation-my-pages.cjs +57 -7
- package/dist/components/navigation-menu/global-navigation/global-navigation-my-pages.js +58 -8
- package/dist/components/navigation-menu/global-navigation/global-navigation-root.d.ts +2 -1
- package/dist/components/navigation-menu/global-navigation/global-navigation-root.js +2 -2
- package/dist/components/navigation-menu/global-navigation/utils.cjs +127 -126
- package/dist/components/navigation-menu/global-navigation/utils.d.ts +227 -219
- package/dist/components/navigation-menu/global-navigation/utils.js +127 -126
- package/dist/components/notification/notification.cjs +2 -2
- package/dist/components/notification/notification.d.ts +7 -4
- package/dist/components/notification/notification.js +1 -1
- package/dist/drawer.module-BNPErv-x.js +16 -0
- package/dist/drawer.module-CTowTFmf.cjs +15 -0
- package/dist/main.cjs +4 -2
- package/dist/main.js +3 -1
- package/dist/style.css +690 -227
- package/package.json +1 -1
- package/dist/drawer.module-BPXo6-Q2.js +0 -15
- package/dist/drawer.module-_pUdp_M1.cjs +0 -14
|
@@ -40,21 +40,21 @@ const MY_PAGE_LINKS = {
|
|
|
40
40
|
};
|
|
41
41
|
const MY_BUSINESS_LINKS = {
|
|
42
42
|
name: "Min bedrift",
|
|
43
|
-
link: "https://beta.minbedrift.telia.no
|
|
43
|
+
link: "https://beta.minbedrift.telia.no",
|
|
44
44
|
appKey: APP_KEYS["my-business"],
|
|
45
45
|
links: [],
|
|
46
46
|
icon: "home"
|
|
47
47
|
};
|
|
48
48
|
const MY_PORTAL_LINKS = {
|
|
49
49
|
name: "Min portal",
|
|
50
|
-
link: "https://minportal.telia.no
|
|
50
|
+
link: "https://minportal.telia.no",
|
|
51
51
|
appKey: APP_KEYS["my-portal"],
|
|
52
52
|
links: [],
|
|
53
53
|
icon: "end-user"
|
|
54
54
|
};
|
|
55
55
|
const BUSINESS_NET_LINKS = {
|
|
56
56
|
name: "Bedriftsnett",
|
|
57
|
-
link: "https://sb.telia.no
|
|
57
|
+
link: "https://sb.telia.no",
|
|
58
58
|
appKey: APP_KEYS["business-net"],
|
|
59
59
|
links: [],
|
|
60
60
|
icon: "doc"
|
|
@@ -73,101 +73,149 @@ const PRIVATE_LINKS = {
|
|
|
73
73
|
},
|
|
74
74
|
{
|
|
75
75
|
name: "Mobil",
|
|
76
|
-
link: "/mobil",
|
|
76
|
+
link: "/mobil/",
|
|
77
77
|
appKey: APP_KEYS["open-pages"],
|
|
78
78
|
links: [
|
|
79
79
|
{
|
|
80
|
-
name: "
|
|
81
|
-
link: "/mobil/
|
|
80
|
+
name: "Mobilabonnement",
|
|
81
|
+
link: "/mobil/mobilabonnement/",
|
|
82
82
|
appKey: APP_KEYS["open-pages"]
|
|
83
83
|
},
|
|
84
84
|
{
|
|
85
|
-
name: "
|
|
86
|
-
link: "/mobil/
|
|
87
|
-
appKey: APP_KEYS["
|
|
85
|
+
name: "Mobiltelefoner",
|
|
86
|
+
link: "/mobil/mobiltelefoner/",
|
|
87
|
+
appKey: APP_KEYS["web-shop"]
|
|
88
88
|
},
|
|
89
89
|
{
|
|
90
|
-
name: "
|
|
91
|
-
link: "/mobil/
|
|
90
|
+
name: "Smartklokker",
|
|
91
|
+
link: "/mobil/smartklokker/",
|
|
92
92
|
appKey: APP_KEYS["web-shop"]
|
|
93
93
|
},
|
|
94
94
|
{
|
|
95
|
-
name: "
|
|
96
|
-
link: "/mobil/
|
|
97
|
-
appKey: APP_KEYS["
|
|
95
|
+
name: "Nettbrett",
|
|
96
|
+
link: "/mobil/nettbrett/",
|
|
97
|
+
appKey: APP_KEYS["web-shop"]
|
|
98
98
|
},
|
|
99
99
|
{
|
|
100
100
|
name: "Tilbehør",
|
|
101
|
-
link: "/mobil/tilbehor",
|
|
101
|
+
link: "/mobil/tilbehor/",
|
|
102
102
|
appKey: APP_KEYS["web-shop"]
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
name: "Påfyll kontantkort",
|
|
106
|
+
link: "/mobil/mobilabonnement/kontantkort/lade/",
|
|
107
|
+
appKey: APP_KEYS["open-pages"]
|
|
103
108
|
}
|
|
104
109
|
]
|
|
105
110
|
},
|
|
106
111
|
{
|
|
107
112
|
name: "TV",
|
|
108
|
-
link: "/tv",
|
|
113
|
+
link: "/tv/",
|
|
109
114
|
appKey: APP_KEYS["open-pages"],
|
|
110
115
|
links: [
|
|
111
116
|
{
|
|
112
|
-
name: "
|
|
113
|
-
link: "
|
|
117
|
+
name: "Se Telia Play",
|
|
118
|
+
link: "https://www.teliaplay.no",
|
|
114
119
|
appKey: APP_KEYS["open-pages"]
|
|
115
120
|
},
|
|
116
121
|
{
|
|
117
|
-
name: "
|
|
118
|
-
link: "/tv/
|
|
122
|
+
name: "Strømmetjenester",
|
|
123
|
+
link: "/tv/strommetjenester/",
|
|
119
124
|
appKey: APP_KEYS["open-pages"]
|
|
120
125
|
},
|
|
121
126
|
{
|
|
122
|
-
name: "
|
|
123
|
-
link: "/tv/
|
|
127
|
+
name: "TV-kanaler",
|
|
128
|
+
link: "/tv/tv-kanaler-og-kanalpakker/",
|
|
129
|
+
appKey: APP_KEYS["open-pages"]
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
name: "Premiumtjenester",
|
|
133
|
+
link: "/tv/premiumtjenester/",
|
|
134
|
+
appKey: APP_KEYS["open-pages"]
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
name: "Filmer",
|
|
138
|
+
link: "/tv/filmleie-og-filmkjop/",
|
|
139
|
+
appKey: APP_KEYS["open-pages"]
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
name: "TV-bokser",
|
|
143
|
+
link: "/tv/tv-bokser/",
|
|
124
144
|
appKey: APP_KEYS["open-pages"]
|
|
125
145
|
}
|
|
126
146
|
]
|
|
127
147
|
},
|
|
128
148
|
{
|
|
129
149
|
name: "Internett",
|
|
130
|
-
link: "/internett",
|
|
150
|
+
link: "/internett/",
|
|
131
151
|
appKey: APP_KEYS["open-pages"],
|
|
132
152
|
links: [
|
|
133
153
|
{
|
|
134
|
-
name: "
|
|
135
|
-
link: "/internett/
|
|
154
|
+
name: "Fast bredbånd",
|
|
155
|
+
link: "/internett/bredband/",
|
|
136
156
|
appKey: APP_KEYS["open-pages"]
|
|
137
157
|
},
|
|
138
158
|
{
|
|
139
|
-
name: "
|
|
140
|
-
link: "/internett/
|
|
159
|
+
name: "Trådløst bredbånd",
|
|
160
|
+
link: "/internett/tradlost-bredband/",
|
|
141
161
|
appKey: APP_KEYS["open-pages"]
|
|
142
162
|
},
|
|
143
163
|
{
|
|
144
|
-
name: "
|
|
145
|
-
link: "/internett/
|
|
164
|
+
name: "Mobilt bredbånd",
|
|
165
|
+
link: "/internett/mobilt-bredband/",
|
|
166
|
+
appKey: APP_KEYS["web-shop"]
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
name: "WiFi og hjemmenett",
|
|
170
|
+
link: "/internett/wifi/",
|
|
146
171
|
appKey: APP_KEYS["open-pages"]
|
|
147
172
|
},
|
|
148
173
|
{
|
|
149
|
-
name: "
|
|
150
|
-
link: "/
|
|
151
|
-
appKey: APP_KEYS["
|
|
174
|
+
name: "Driftsmeldinger",
|
|
175
|
+
link: "/hjelp/driftsmeldinger/",
|
|
176
|
+
appKey: APP_KEYS["open-pages"]
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
name: "Speedtest",
|
|
180
|
+
link: "/internett/speedtest/",
|
|
181
|
+
appKey: APP_KEYS["open-pages"]
|
|
152
182
|
}
|
|
153
183
|
]
|
|
154
184
|
},
|
|
155
185
|
{
|
|
156
186
|
name: "Hjelp",
|
|
157
|
-
link: "/hjelp",
|
|
187
|
+
link: "/hjelp/",
|
|
158
188
|
appKey: APP_KEYS["open-pages"],
|
|
159
189
|
links: [
|
|
160
190
|
{
|
|
161
|
-
name: "
|
|
162
|
-
link: "/hjelp/
|
|
163
|
-
appKey: APP_KEYS["open-pages"]
|
|
164
|
-
|
|
191
|
+
name: "Hjelp Mobil",
|
|
192
|
+
link: "/mobil/hjelp/",
|
|
193
|
+
appKey: APP_KEYS["open-pages"]
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
name: "Hjelp Internett",
|
|
197
|
+
link: "/internett/hjelp/",
|
|
198
|
+
appKey: APP_KEYS["open-pages"]
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
name: "Hjelp TV",
|
|
202
|
+
link: "/tv/hjelp/",
|
|
203
|
+
appKey: APP_KEYS["open-pages"]
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
name: "Flytting",
|
|
207
|
+
link: "/hjelp/flytting/",
|
|
208
|
+
appKey: APP_KEYS["open-pages"]
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
name: "Finn butikk",
|
|
212
|
+
link: "/hjelp/butikker/",
|
|
213
|
+
appKey: APP_KEYS["open-pages"]
|
|
165
214
|
},
|
|
166
215
|
{
|
|
167
216
|
name: "Kontakt oss",
|
|
168
|
-
link: "/hjelp/kontakt-oss",
|
|
169
|
-
appKey: APP_KEYS["open-pages"]
|
|
170
|
-
links: []
|
|
217
|
+
link: "/hjelp/kontakt-oss/",
|
|
218
|
+
appKey: APP_KEYS["open-pages"]
|
|
171
219
|
}
|
|
172
220
|
]
|
|
173
221
|
}
|
|
@@ -175,130 +223,83 @@ const PRIVATE_LINKS = {
|
|
|
175
223
|
};
|
|
176
224
|
const BUSINESS_LINKS = {
|
|
177
225
|
name: "Bedrift",
|
|
178
|
-
link: "/bedrift",
|
|
226
|
+
link: "/bedrift/",
|
|
179
227
|
links: [
|
|
180
228
|
{
|
|
181
229
|
name: "Logo",
|
|
182
|
-
link: "/bedrift",
|
|
230
|
+
link: "/bedrift/",
|
|
183
231
|
appKey: APP_KEYS["open-pages"],
|
|
184
232
|
links: []
|
|
185
233
|
},
|
|
186
234
|
{
|
|
187
235
|
name: "Produkter og tjenester",
|
|
188
|
-
link: "/bedrift/produkt-og-tjenester",
|
|
236
|
+
link: "/bedrift/produkt-og-tjenester/",
|
|
189
237
|
appKey: APP_KEYS["open-pages"],
|
|
190
|
-
links: [
|
|
191
|
-
{
|
|
192
|
-
name: "Tjenester",
|
|
193
|
-
link: "/bedrift/tjenester",
|
|
194
|
-
appKey: APP_KEYS["open-pages"]
|
|
195
|
-
},
|
|
196
|
-
{
|
|
197
|
-
name: "Mobil",
|
|
198
|
-
link: "/bedrift/mobil",
|
|
199
|
-
appKey: APP_KEYS["open-pages"]
|
|
200
|
-
},
|
|
201
|
-
{
|
|
202
|
-
name: "Internett",
|
|
203
|
-
link: "/bedrift/internett",
|
|
204
|
-
appKey: APP_KEYS["open-pages"]
|
|
205
|
-
},
|
|
206
|
-
{
|
|
207
|
-
name: "Tilbehør",
|
|
208
|
-
link: "/bedrift/tilbehor",
|
|
209
|
-
appKey: APP_KEYS["web-shop"]
|
|
210
|
-
}
|
|
211
|
-
]
|
|
238
|
+
links: []
|
|
212
239
|
},
|
|
213
240
|
{
|
|
214
241
|
name: "Innovasjon og startup",
|
|
215
|
-
link: "/bedrift/innovasjon-og-startup",
|
|
242
|
+
link: "/bedrift/innovasjon-og-startup/",
|
|
216
243
|
appKey: APP_KEYS["open-pages"],
|
|
244
|
+
links: []
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
name: "Nettbutikk",
|
|
248
|
+
link: "/bedrift/nettbutikk/",
|
|
249
|
+
appKey: APP_KEYS["web-shop"],
|
|
217
250
|
links: [
|
|
218
251
|
{
|
|
219
|
-
name: "
|
|
220
|
-
link: "/bedrift/
|
|
221
|
-
appKey: APP_KEYS["
|
|
252
|
+
name: "Mobiltelefoner",
|
|
253
|
+
link: "/bedrift/mobiltelefoner/",
|
|
254
|
+
appKey: APP_KEYS["web-shop"]
|
|
222
255
|
},
|
|
223
256
|
{
|
|
224
|
-
name: "
|
|
225
|
-
link: "/bedrift/
|
|
226
|
-
appKey: APP_KEYS["
|
|
257
|
+
name: "Mobilabonnement",
|
|
258
|
+
link: "/bedrift/mobilabonnement/",
|
|
259
|
+
appKey: APP_KEYS["web-shop"]
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
name: "Mobilt Bredbånd",
|
|
263
|
+
link: "/bedrift/mobilt-bredband/",
|
|
264
|
+
appKey: APP_KEYS["web-shop"]
|
|
227
265
|
}
|
|
228
266
|
]
|
|
229
267
|
},
|
|
230
268
|
{
|
|
231
|
-
name: "
|
|
232
|
-
link: "/bedrift/
|
|
269
|
+
name: "Kundeservice",
|
|
270
|
+
link: "/bedrift/kundeservice/",
|
|
233
271
|
appKey: APP_KEYS["open-pages"],
|
|
234
|
-
links: [
|
|
235
|
-
{
|
|
236
|
-
name: "FAQ",
|
|
237
|
-
link: "/bedrift/hjelp/faq",
|
|
238
|
-
appKey: APP_KEYS["open-pages"]
|
|
239
|
-
},
|
|
240
|
-
{
|
|
241
|
-
name: "Kontakt oss",
|
|
242
|
-
link: "/bedrift/hjelp/kontakt-oss",
|
|
243
|
-
appKey: APP_KEYS["open-pages"]
|
|
244
|
-
}
|
|
245
|
-
]
|
|
272
|
+
links: []
|
|
246
273
|
}
|
|
247
274
|
]
|
|
248
275
|
};
|
|
249
276
|
const MDU_LINKS = {
|
|
250
277
|
name: "Borettslag",
|
|
251
|
-
link: "/borettslag",
|
|
278
|
+
link: "/borettslag/",
|
|
252
279
|
links: [
|
|
253
280
|
{
|
|
254
281
|
name: "Logo",
|
|
255
|
-
link: "/borettslag",
|
|
282
|
+
link: "/borettslag/",
|
|
256
283
|
appKey: APP_KEYS["open-pages"],
|
|
257
284
|
links: []
|
|
258
285
|
},
|
|
259
286
|
{
|
|
260
|
-
name: "
|
|
261
|
-
link: "/borettslag/
|
|
287
|
+
name: "Beboer",
|
|
288
|
+
link: "/borettslag/beboer/",
|
|
262
289
|
appKey: APP_KEYS["open-pages"],
|
|
263
|
-
links: [
|
|
264
|
-
{
|
|
265
|
-
name: "Tjenester",
|
|
266
|
-
link: "/borettslag/tjenester",
|
|
267
|
-
appKey: APP_KEYS["open-pages"]
|
|
268
|
-
},
|
|
269
|
-
{
|
|
270
|
-
name: "Mobil",
|
|
271
|
-
link: "/borettslag/mobil",
|
|
272
|
-
appKey: APP_KEYS["open-pages"]
|
|
273
|
-
},
|
|
274
|
-
{
|
|
275
|
-
name: "Internett",
|
|
276
|
-
link: "/borettslag/internett",
|
|
277
|
-
appKey: APP_KEYS["open-pages"]
|
|
278
|
-
},
|
|
279
|
-
{
|
|
280
|
-
name: "Tilbehør",
|
|
281
|
-
link: "/borettslag/tilbehor",
|
|
282
|
-
appKey: APP_KEYS["web-shop"]
|
|
283
|
-
}
|
|
284
|
-
]
|
|
290
|
+
links: []
|
|
285
291
|
},
|
|
286
292
|
{
|
|
287
|
-
name: "
|
|
288
|
-
link: "/borettslag/
|
|
293
|
+
name: "Styre",
|
|
294
|
+
link: "/borettslag/styre/",
|
|
289
295
|
appKey: APP_KEYS["open-pages"],
|
|
290
|
-
links: [
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
name: "Kontakt oss",
|
|
298
|
-
link: "/borettslag/hjelp/kontakt-oss",
|
|
299
|
-
appKey: APP_KEYS["open-pages"]
|
|
300
|
-
}
|
|
301
|
-
]
|
|
296
|
+
links: []
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
name: "Utbygger",
|
|
300
|
+
link: "/borettslag/utbygger/",
|
|
301
|
+
appKey: APP_KEYS["open-pages"],
|
|
302
|
+
links: []
|
|
302
303
|
}
|
|
303
304
|
]
|
|
304
305
|
};
|
|
@@ -10,7 +10,7 @@ const components_button_button = require("../button/button.cjs");
|
|
|
10
10
|
require("../../assets/sprite.269ba410-teddy.svg");
|
|
11
11
|
const components_icon_icon = require("../icon/icon.cjs");
|
|
12
12
|
const components_heading_heading = require("../heading/heading.cjs");
|
|
13
|
-
const
|
|
13
|
+
const components_card_index = require("../card/index.cjs");
|
|
14
14
|
function _interopNamespaceDefault(e) {
|
|
15
15
|
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
16
16
|
if (e) {
|
|
@@ -48,7 +48,7 @@ const Root = React.forwardRef(
|
|
|
48
48
|
defaultProp: defaultOpen,
|
|
49
49
|
onChange: onOpenChange
|
|
50
50
|
});
|
|
51
|
-
return /* @__PURE__ */ jsxRuntime.jsx(NotificationContext.Provider, { value: { variant }, children: /* @__PURE__ */ jsxRuntime.jsx(Collapsible__namespace.Root, { open, onOpenChange: setOpen, asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(Collapsible__namespace.Content, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
51
|
+
return /* @__PURE__ */ jsxRuntime.jsx(NotificationContext.Provider, { value: { variant }, children: /* @__PURE__ */ jsxRuntime.jsx(Collapsible__namespace.Root, { open, onOpenChange: setOpen, asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(Collapsible__namespace.Content, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(components_card_index.Card, { variant: "white", as: void 0, bordered: true, ...props, ref: forwardRef, className: classes }) }) }) });
|
|
52
52
|
}
|
|
53
53
|
);
|
|
54
54
|
Root.displayName = "Notification";
|
|
@@ -8,7 +8,7 @@ import { Card } from '../card';
|
|
|
8
8
|
/** -------------------------------------------------------------------------------------------------
|
|
9
9
|
* Root
|
|
10
10
|
* -----------------------------------------------------------------------------------------------*/
|
|
11
|
-
type RootProps = Omit<React.ComponentPropsWithoutRef<typeof Card
|
|
11
|
+
type RootProps = Omit<React.ComponentPropsWithoutRef<typeof Card>, 'variant' | 'as'> & {
|
|
12
12
|
variant?: 'success' | 'error' | 'warning' | 'information';
|
|
13
13
|
open?: boolean;
|
|
14
14
|
defaultOpen?: boolean;
|
|
@@ -45,7 +45,8 @@ declare const Notification: React.ForwardRefExoticComponent<Omit<Omit<Omit<Omit<
|
|
|
45
45
|
bordered?: boolean | undefined;
|
|
46
46
|
shadow?: boolean | undefined;
|
|
47
47
|
backgroundImageSrc?: string | undefined;
|
|
48
|
-
|
|
48
|
+
imageGradient?: ("dark" | "light" | "default") | undefined;
|
|
49
|
+
layout?: import('../card/card').Layout | undefined;
|
|
49
50
|
} & React.RefAttributes<HTMLDivElement>, "ref"> | Omit<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('../../utils/generate-styling/flex').FlexChildren & import('../../utils/generate-styling/grid').GridChildren & import('../../utils/generate-styling/position').PositionProps & import('../../utils/generate-styling/inset').InsetProps & import('../../utils/generate-styling/margin').MarginProps & import('../../utils/generate-styling/padding').PaddingProps & import('../../utils/generate-styling/width').WidthProps & import('../../utils/generate-styling/height').HeightProps & import('../../utils/generate-styling/color').ColorProps & {
|
|
50
51
|
display?: import('../../utils/generate-styling').DisplayChildren | undefined;
|
|
51
52
|
} & import('../../utils/generate-styling/gap').GapProps & {
|
|
@@ -60,7 +61,8 @@ declare const Notification: React.ForwardRefExoticComponent<Omit<Omit<Omit<Omit<
|
|
|
60
61
|
bordered?: boolean | undefined;
|
|
61
62
|
shadow?: boolean | undefined;
|
|
62
63
|
backgroundImageSrc?: string | undefined;
|
|
63
|
-
|
|
64
|
+
imageGradient?: ("dark" | "light" | "default") | undefined;
|
|
65
|
+
layout?: import('../card/card').Layout | undefined;
|
|
64
66
|
} & React.RefAttributes<HTMLDivElement>, "ref"> | Omit<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('../../utils/generate-styling/flex').FlexChildren & import('../../utils/generate-styling/grid').GridChildren & import('../../utils/generate-styling/position').PositionProps & import('../../utils/generate-styling/inset').InsetProps & import('../../utils/generate-styling/margin').MarginProps & import('../../utils/generate-styling/padding').PaddingProps & import('../../utils/generate-styling/width').WidthProps & import('../../utils/generate-styling/height').HeightProps & import('../../utils/generate-styling/color').ColorProps & {
|
|
65
67
|
display?: import('../../utils/generate-styling').DisplayChildren | undefined;
|
|
66
68
|
} & import('../../utils/generate-styling/gap').GapProps & {
|
|
@@ -75,7 +77,8 @@ declare const Notification: React.ForwardRefExoticComponent<Omit<Omit<Omit<Omit<
|
|
|
75
77
|
bordered?: boolean | undefined;
|
|
76
78
|
shadow?: boolean | undefined;
|
|
77
79
|
backgroundImageSrc?: string | undefined;
|
|
78
|
-
|
|
80
|
+
imageGradient?: ("dark" | "light" | "default") | undefined;
|
|
81
|
+
layout?: import('../card/card').Layout | undefined;
|
|
79
82
|
} & React.RefAttributes<HTMLDivElement>, "ref">, "as" | "variant"> & {
|
|
80
83
|
variant?: "error" | "warning" | "success" | "information" | undefined;
|
|
81
84
|
open?: boolean | undefined;
|
|
@@ -8,7 +8,7 @@ import { Button } from "../button/button.js";
|
|
|
8
8
|
import "../../assets/sprite.269ba410-teddy.svg";
|
|
9
9
|
import { Icon as Icon$1 } from "../icon/icon.js";
|
|
10
10
|
import { Heading as Heading$1 } from "../heading/heading.js";
|
|
11
|
-
import { Card } from "../card/
|
|
11
|
+
import { Card } from "../card/index.js";
|
|
12
12
|
const styles = {
|
|
13
13
|
"teddy-notification": "_teddy-notification_1ref8_3",
|
|
14
14
|
"teddy-notification__dismiss": "_teddy-notification__dismiss_1ref8_12",
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const styles = {
|
|
2
|
+
"teddy-drawer__overlay": "_teddy-drawer__overlay_ugum0_26",
|
|
3
|
+
"teddy-overlay-no-op": "_teddy-overlay-no-op_ugum0_1",
|
|
4
|
+
"teddy-fade-in": "_teddy-fade-in_ugum0_1",
|
|
5
|
+
"teddy-fade-out": "_teddy-fade-out_ugum0_1",
|
|
6
|
+
"teddy-drawer__overlay--container": "_teddy-drawer__overlay--container_ugum0_59",
|
|
7
|
+
"teddy-drawer__content": "_teddy-drawer__content_ugum0_65",
|
|
8
|
+
"teddy-drawer__title": "_teddy-drawer__title_ugum0_69",
|
|
9
|
+
"drawer-content-show": "_drawer-content-show_ugum0_1",
|
|
10
|
+
"drawer-content-hide": "_drawer-content-hide_ugum0_1",
|
|
11
|
+
"teddy-drawer__content--lg": "_teddy-drawer__content--lg_ugum0_99",
|
|
12
|
+
"teddy-drawer__close--floating": "_teddy-drawer__close--floating_ugum0_104"
|
|
13
|
+
};
|
|
14
|
+
export {
|
|
15
|
+
styles as s
|
|
16
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const styles = {
|
|
3
|
+
"teddy-drawer__overlay": "_teddy-drawer__overlay_ugum0_26",
|
|
4
|
+
"teddy-overlay-no-op": "_teddy-overlay-no-op_ugum0_1",
|
|
5
|
+
"teddy-fade-in": "_teddy-fade-in_ugum0_1",
|
|
6
|
+
"teddy-fade-out": "_teddy-fade-out_ugum0_1",
|
|
7
|
+
"teddy-drawer__overlay--container": "_teddy-drawer__overlay--container_ugum0_59",
|
|
8
|
+
"teddy-drawer__content": "_teddy-drawer__content_ugum0_65",
|
|
9
|
+
"teddy-drawer__title": "_teddy-drawer__title_ugum0_69",
|
|
10
|
+
"drawer-content-show": "_drawer-content-show_ugum0_1",
|
|
11
|
+
"drawer-content-hide": "_drawer-content-hide_ugum0_1",
|
|
12
|
+
"teddy-drawer__content--lg": "_teddy-drawer__content--lg_ugum0_99",
|
|
13
|
+
"teddy-drawer__close--floating": "_teddy-drawer__close--floating_ugum0_104"
|
|
14
|
+
};
|
|
15
|
+
exports.styles = styles;
|
package/dist/main.cjs
CHANGED
|
@@ -12,12 +12,13 @@ const components_tabs_index = require("./components/tabs/index.cjs");
|
|
|
12
12
|
const components_drawer_index = require("./components/drawer/index.cjs");
|
|
13
13
|
const components_image_image = require("./components/image/image.cjs");
|
|
14
14
|
const components_chip_index = require("./components/chip/index.cjs");
|
|
15
|
+
const components_datePicker_datePicker = require("./components/date-picker/date-picker.cjs");
|
|
15
16
|
const components_modal_modal = require("./components/modal/modal.cjs");
|
|
16
17
|
const components_notification_notification = require("./components/notification/notification.cjs");
|
|
17
18
|
const components_radioGroup_index = require("./components/radio-group/index.cjs");
|
|
18
19
|
const components_box_box = require("./components/box/box.cjs");
|
|
19
20
|
const components_flex_flex = require("./components/flex/flex.cjs");
|
|
20
|
-
const
|
|
21
|
+
const components_card_index = require("./components/card/index.cjs");
|
|
21
22
|
const components_grid_grid = require("./components/grid/grid.cjs");
|
|
22
23
|
const components_navigationMenu_navigationMenu = require("./components/navigation-menu/navigation-menu.cjs");
|
|
23
24
|
const components_navigationMenu_globalNavigation_globalNavigationMyPages = require("./components/navigation-menu/global-navigation/global-navigation-my-pages.cjs");
|
|
@@ -61,12 +62,13 @@ exports.Tabs = components_tabs_index.Tabs;
|
|
|
61
62
|
exports.Drawer = components_drawer_index.Drawer;
|
|
62
63
|
exports.Image = components_image_image.Image;
|
|
63
64
|
exports.Chip = components_chip_index.Chip;
|
|
65
|
+
exports.DatePicker = components_datePicker_datePicker.DatePicker;
|
|
64
66
|
exports.Modal = components_modal_modal.Modal;
|
|
65
67
|
exports.Notification = components_notification_notification.Notification;
|
|
66
68
|
exports.RadioGroup = components_radioGroup_index.RadioGroup;
|
|
67
69
|
exports.Box = components_box_box.Box;
|
|
68
70
|
exports.Flex = components_flex_flex.Flex;
|
|
69
|
-
exports.Card =
|
|
71
|
+
exports.Card = components_card_index.Card;
|
|
70
72
|
exports.Grid = components_grid_grid.Grid;
|
|
71
73
|
exports.NavigationMenu = components_navigationMenu_navigationMenu.NavigationMenu;
|
|
72
74
|
exports.GlobalNavigation = components_navigationMenu_globalNavigation_globalNavigationMyPages.GlobalNavigation;
|
package/dist/main.js
CHANGED
|
@@ -10,12 +10,13 @@ import { Tabs } from "./components/tabs/index.js";
|
|
|
10
10
|
import { Drawer } from "./components/drawer/index.js";
|
|
11
11
|
import { Image } from "./components/image/image.js";
|
|
12
12
|
import { Chip } from "./components/chip/index.js";
|
|
13
|
+
import { DatePicker } from "./components/date-picker/date-picker.js";
|
|
13
14
|
import { Modal } from "./components/modal/modal.js";
|
|
14
15
|
import { Notification } from "./components/notification/notification.js";
|
|
15
16
|
import { RadioGroup } from "./components/radio-group/index.js";
|
|
16
17
|
import { Box } from "./components/box/box.js";
|
|
17
18
|
import { Flex } from "./components/flex/flex.js";
|
|
18
|
-
import { Card } from "./components/card/
|
|
19
|
+
import { Card } from "./components/card/index.js";
|
|
19
20
|
import { Grid } from "./components/grid/grid.js";
|
|
20
21
|
import { NavigationMenu } from "./components/navigation-menu/navigation-menu.js";
|
|
21
22
|
import { G } from "./components/navigation-menu/global-navigation/global-navigation-my-pages.js";
|
|
@@ -58,6 +59,7 @@ export {
|
|
|
58
59
|
Chip,
|
|
59
60
|
ColorDot,
|
|
60
61
|
CounterBadge,
|
|
62
|
+
DatePicker,
|
|
61
63
|
Drawer,
|
|
62
64
|
ExpandableCard,
|
|
63
65
|
FieldErrorText,
|